@htmlbricks/hb-layout-desktop 0.65.23 → 0.66.1
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 +3 -3
- package/main.iife.js.map +1 -1
- package/manifest.json +2 -39
- package/package.json +1 -1
package/main.iife.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(rn){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const cr=1,dr=4,hr=8,vr=16,_r=1,pr=2,sn="[",Lt="[!",an="]",Ve={},M=Symbol(),gr="http://www.w3.org/1999/xhtml",Mt=!1;var mr=Array.isArray,br=Array.prototype.indexOf,wr=Array.from,gt=Object.keys,mt=Object.defineProperty,Ae=Object.getOwnPropertyDescriptor,yr=Object.getOwnPropertyDescriptors,$r=Object.prototype,Er=Array.prototype,ln=Object.getPrototypeOf,on=Object.isExtensible;function kr(e){for(var t=0;t<e.length;t++)e[t]()}function fn(){var e,t,n=new Promise((r,i)=>{e=r,t=i});return{promise:n,resolve:e,reject:t}}const L=2,It=4,Ft=8,ce=16,de=32,$e=64,bt=128,ne=512,I=1024,Y=2048,he=4096,ae=8192,ve=16384,wt=32768,Je=65536,un=1<<17,cn=1<<18,Oe=1<<19,Tr=1<<20,Re=32768,jt=1<<21,qt=1<<22,Ee=1<<23,yt=Symbol("$state"),dn=Symbol("legacy props"),Sr=Symbol(""),We=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},Bt=3,nt=8;function xr(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function Nr(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function Cr(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function Ar(e){throw new Error("https://svelte.dev/e/effect_orphan")}function Or(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function Rr(){throw new Error("https://svelte.dev/e/hydration_failed")}function Dr(e){throw new Error("https://svelte.dev/e/props_invalid_value")}function Pr(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Lr(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function Mr(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function Ir(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function $t(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function Fr(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let b=!1;function ke(e){b=e}let y;function re(e){if(e===null)throw $t(),Ve;return y=e}function Et(){return re(pe(y))}function A(e){if(b){if(pe(y)!==null)throw $t(),Ve;y=e}}function jr(e=1){if(b){for(var t=e,n=y;t--;)n=pe(n);y=n}}function hn(e=!0){for(var t=0,n=y;;){if(n.nodeType===nt){var r=n.data;if(r===an){if(t===0)return n;t-=1}else(r===sn||r===Lt)&&(t+=1)}var i=pe(n);e&&n.remove(),n=i}}function qr(e){if(!e||e.nodeType!==nt)throw $t(),Ve;return e.data}function vn(e){return e===this.v}function Br(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function _n(e){return!Br(e,this.v)}let Ur=!1,z=null;function ze(e){z=e}function pn(e,t=!1,n){z={p:z,i:!1,c:null,e:null,s:e,x:null,l:null}}function gn(e){var t=z,n=t.e;if(n!==null){t.e=null;for(var r of n)Pn(r)}return e!==void 0&&(t.x=e),t.i=!0,z=t.p,e??{}}function mn(){return!0}let De=[];function bn(){var e=De;De=[],kr(e)}function kt(e){if(De.length===0&&!rt){var t=De;queueMicrotask(()=>{t===De&&bn()})}De.push(e)}function Yr(){for(;De.length>0;)bn()}function wn(e){var t=m;if(t===null)return g.f|=Ee,e;if((t.f&wt)===0){if((t.f&bt)===0)throw e;t.b.error(e)}else Ge(e,t)}function Ge(e,t){for(;t!==null;){if((t.f&bt)!==0)try{t.b.error(e);return}catch(n){e=n}t=t.parent}throw e}const Tt=new Set;let x=null,G=null,K=[],St=null,Ut=!1,rt=!1;class ie{committed=!1;current=new Map;previous=new Map;#t=new Set;#e=new Set;#n=0;#r=0;#o=null;#s=[];#i=[];skipped_effects=new Set;is_fork=!1;is_deferred(){return this.is_fork||this.#r>0}process(t){K=[],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.#l(n.effects),this.#l(n.render_effects),this.#l(n.block_effects)):(x=null,$n(n.render_effects),$n(n.effects),this.#o?.resolve()),G=null}#a(t,n){t.f^=I;for(var r=t.first;r!==null;){var i=r.f,s=(i&(de|$e))!==0,a=s&&(i&I)!==0,l=a||(i&ae)!==0||this.skipped_effects.has(r);if((r.f&bt)!==0&&r.b?.is_pending()&&(n={parent:n,effect:r,effects:[],render_effects:[],block_effects:[]}),!l&&r.fn!==null){s?r.f^=I:(i&It)!==0?n.effects.push(r):ot(r)&&((r.f&ce)!==0&&n.block_effects.push(r),ft(r));var o=r.first;if(o!==null){r=o;continue}}var f=r.parent;for(r=r.next;r===null&&f!==null;)f===n.effect&&(this.#l(n.effects),this.#l(n.render_effects),this.#l(n.block_effects),n=n.parent),r=f.next,f=f.parent}}#l(t){for(const n of t)((n.f&Y)!==0?this.#s:this.#i).push(n),this.#f(n.deps),j(n,I)}#f(t){if(t!==null)for(const n of t)(n.f&L)===0||(n.f&Re)===0||(n.f^=Re,this.#f(n.deps))}capture(t,n){this.previous.has(t)||this.previous.set(t,n),(t.f&Ee)===0&&(this.current.set(t,t.v),G?.set(t,t.v))}activate(){x=this,this.apply()}deactivate(){x===this&&(x=null,G=null)}flush(){if(this.activate(),K.length>0){if(yn(),x!==null&&x!==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(Tt.size>1){this.previous.clear();var t=G,n=!0,r={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const s of Tt){if(s===this){n=!1;continue}const a=[];for(const[o,f]of this.current){if(s.current.has(o))if(n&&f!==s.current.get(o))s.current.set(o,f);else continue;a.push(o)}if(a.length===0)continue;const l=[...s.current.keys()].filter(o=>!this.current.has(o));if(l.length>0){var i=K;K=[];const o=new Set,f=new Map;for(const c of a)En(c,l,o,f);if(K.length>0){x=s,s.apply();for(const c of K)s.#a(c,r);s.deactivate()}K=i}}x=null,G=t}this.committed=!0,Tt.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)j(t,Y),Pe(t);for(const t of this.#i)j(t,he),Pe(t);this.#s=[],this.#i=[],this.flush()}oncommit(t){this.#t.add(t)}ondiscard(t){this.#e.add(t)}settled(){return(this.#o??=fn()).promise}static ensure(){if(x===null){const t=x=new ie;Tt.add(x),rt||ie.enqueue(()=>{x===t&&t.flush()})}return x}static enqueue(t){kt(t)}apply(){}}function C(e){var t=rt;rt=!0;try{for(var n;;){if(Yr(),K.length===0&&(x?.flush(),K.length===0))return St=null,n;yn()}}finally{rt=t}}function yn(){var e=Se;Ut=!0;var t=null;try{var n=0;for(At(!0);K.length>0;){var r=ie.ensure();if(n++>1e3){var i,s;Hr()}r.process(K),Te.clear()}}finally{Ut=!1,At(e),St=null}}function Hr(){try{Or()}catch(e){Ge(e,St)}}let _e=null;function $n(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if((r.f&(ve|ae))===0&&ot(r)&&(_e=new Set,ft(r),r.deps===null&&r.first===null&&r.nodes_start===null&&(r.teardown===null&&r.ac===null?jn(r):r.fn=null),_e?.size>0)){Te.clear();for(const i of _e){if((i.f&(ve|ae))!==0)continue;const s=[i];let a=i.parent;for(;a!==null;)_e.has(a)&&(_e.delete(a),s.push(a)),a=a.parent;for(let l=s.length-1;l>=0;l--){const o=s[l];(o.f&(ve|ae))===0&&ft(o)}}_e.clear()}}_e=null}}function En(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&L)!==0?En(i,t,n,r):(s&(qt|ce))!==0&&(s&Y)===0&&kn(i,t,r)&&(j(i,Y),Pe(i))}}function kn(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&L)!==0&&kn(i,t,n))return n.set(i,!0),!0}return n.set(e,!1),!1}function Pe(e){for(var t=St=e;t.parent!==null;){t=t.parent;var n=t.f;if(Ut&&t===m&&(n&ce)!==0&&(n&cn)===0)return;if((n&($e|de))!==0){if((n&I)===0)return;t.f^=I}}K.push(t)}function Vr(e){let t=0,n=it(0),r;return()=>{Ct()&&(E(n),Ln(()=>(t===0&&(r=Zn(()=>e(()=>st(n)))),t+=1,()=>{kt(()=>{t-=1,t===0&&(r?.(),r=void 0,st(n))})})))}}var Jr=Je|Oe|bt;function Wr(e,t,n){new zr(e,t,n)}class zr{parent;#t=!1;#e;#n=b?y:null;#r;#o;#s;#i=null;#a=null;#l=null;#f=null;#u=null;#c=0;#d=0;#v=!1;#h=null;#b=Vr(()=>(this.#h=it(this.#c),()=>{this.#h=null}));constructor(t,n,r){this.#e=t,this.#r=n,this.#o=r,this.parent=m.b,this.#t=!!this.#r.pending,this.#s=Mn(()=>{if(m.b=this,b){const s=this.#n;Et(),s.nodeType===nt&&s.data===Lt?this.#y():this.#w()}else{var i=this.#g();try{this.#i=ge(()=>r(i))}catch(s){this.error(s)}this.#d>0?this.#p():this.#t=!1}return()=>{this.#u?.remove()}},Jr),b&&(this.#e=y)}#w(){try{this.#i=ge(()=>this.#o(this.#e))}catch(t){this.error(t)}this.#t=!1}#y(){const t=this.#r.pending;t&&(this.#a=ge(()=>t(this.#e)),ie.enqueue(()=>{var n=this.#g();this.#i=this.#_(()=>(ie.ensure(),ge(()=>this.#o(n)))),this.#d>0?this.#p():(at(this.#a,()=>{this.#a=null}),this.#t=!1)}))}#g(){var t=this.#e;return this.#t&&(this.#u=le(),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=m,r=g,i=z;X(this.#s),F(this.#s),ze(this.#s.ctx);try{return t()}catch(s){return wn(s),null}finally{X(n),F(r),ze(i)}}#p(){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=ge(()=>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&&at(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&&Nt(this.#h,this.#c)}get_effect_pending(){return this.#b(),E(this.#h)}error(t){var n=this.#r.onerror;let r=this.#r.failed;if(this.#v||!n&&!r)throw t;this.#i&&(H(this.#i),this.#i=null),this.#a&&(H(this.#a),this.#a=null),this.#l&&(H(this.#l),this.#l=null),b&&(re(this.#n),jr(),re(hn()));var i=!1,s=!1;const a=()=>{if(i){Fr();return}i=!0,s&&Ir(),ie.ensure(),this.#c=0,this.#l!==null&&at(this.#l,()=>{this.#l=null}),this.#t=this.has_pending_snippet(),this.#i=this.#_(()=>(this.#v=!1,ge(()=>this.#o(this.#e)))),this.#d>0?this.#p():this.#t=!1};var l=g;try{F(null),s=!0,n?.(t,a),s=!1}catch(o){Ge(o,this.#s&&this.#s.parent)}finally{F(l)}r&&kt(()=>{this.#l=this.#_(()=>{ie.ensure(),this.#v=!0;try{return ge(()=>{r(this.#e,()=>t,()=>a)})}catch(o){return Ge(o,this.#s.parent),null}finally{this.#v=!1}})})}}function Gr(e,t,n,r){const i=Yt;if(n.length===0&&e.length===0){r(t.map(i));return}var s=x,a=m,l=Kr();function o(){Promise.all(n.map(f=>Zr(f))).then(f=>{l();try{r([...t.map(i),...f])}catch(c){(a.f&ve)===0&&Ge(c,a)}s?.deactivate(),xt()}).catch(f=>{Ge(f,a)})}e.length>0?Promise.all(e).then(()=>{l();try{return o()}finally{s?.deactivate(),xt()}}):o()}function Kr(){var e=m,t=g,n=z,r=x;return function(s=!0){X(e),F(t),ze(n),s&&r?.activate()}}function xt(){X(null),F(null),ze(null)}function Yt(e){var t=L|Y,n=g!==null&&(g.f&L)!==0?g:null;return m!==null&&(m.f|=Oe),{ctx:z,deps:null,effects:null,equals:vn,f:t,fn:e,reactions:null,rv:0,v:M,wv:0,parent:n??m,ac:null}}function Zr(e,t){let n=m;n===null&&xr();var r=n.b,i=void 0,s=it(M),a=!g,l=new Map;return ci(()=>{var o=fn();i=o.promise;try{Promise.resolve(e()).then(o.resolve,o.reject).then(()=>{f===x&&f.committed&&f.deactivate(),xt()})}catch(u){o.reject(u),xt()}var f=x;if(a){var c=!r.is_pending();r.update_pending_count(1),f.increment(c),l.get(f)?.reject(We),l.delete(f),l.set(f,o)}const h=(u,d=void 0)=>{if(f.activate(),d)d!==We&&(s.f|=Ee,Nt(s,d));else{(s.f&Ee)!==0&&(s.f^=Ee),Nt(s,u);for(const[w,D]of l){if(l.delete(w),w===f)break;D.reject(We)}}a&&(r.update_pending_count(-1),f.decrement(c))};o.promise.then(h,u=>h(null,u||"unknown"))}),Dn(()=>{for(const o of l.values())o.reject(We)}),new Promise(o=>{function f(c){function h(){c===i?o(s):f(i)}c.then(h,h)}f(i)})}function Xr(e){const t=Yt(e);return t.equals=_n,t}function Tn(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)H(t[n])}}function Qr(e){for(var t=e.parent;t!==null;){if((t.f&L)===0)return(t.f&ve)===0?t:null;t=t.parent}return null}function Ht(e){var t,n=m;X(Qr(e));try{e.f&=~Re,Tn(e),t=zn(e)}finally{X(n)}return t}function Sn(e){var t=Ht(e);if(e.equals(t)||(x?.is_fork||(e.v=t),e.wv=Jn()),!Me)if(G!==null)Ct()&&G.set(e,t);else{var n=(e.f&ne)===0?he:I;j(e,n)}}let Vt=new Set;const Te=new Map;let xn=!1;function it(e,t){var n={f:0,v:e,reactions:null,equals:vn,rv:0,wv:0};return n}function q(e,t){const n=it(e);return pi(n),n}function ei(e,t=!1,n=!0){const r=it(e);return t||(r.equals=_n),r}function Z(e,t,n=!1){g!==null&&(!fe||(g.f&un)!==0)&&mn()&&(g.f&(L|ce|qt|un))!==0&&!me?.includes(e)&&Mr();let r=n?Le(t):t;return Nt(e,r)}function Nt(e,t){if(!e.equals(t)){var n=e.v;Me?Te.set(e,t):Te.set(e,n),e.v=t;var r=ie.ensure();r.capture(e,n),(e.f&L)!==0&&((e.f&Y)!==0&&Ht(e),j(e,(e.f&ne)!==0?I:he)),e.wv=Jn(),Nn(e,Y),m!==null&&(m.f&I)!==0&&(m.f&(de|$e))===0&&(Q===null?gi([e]):Q.push(e)),!r.is_fork&&Vt.size>0&&!xn&&ti()}return t}function ti(){xn=!1;var e=Se;At(!0);const t=Array.from(Vt);try{for(const n of t)(n.f&I)!==0&&j(n,he),ot(n)&&ft(n)}finally{At(e)}Vt.clear()}function st(e){Z(e,e.v+1)}function Nn(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&Y)===0;if(l&&j(s,t),(a&L)!==0){var o=s;G?.delete(o),(a&Re)===0&&(a&ne&&(s.f|=Re),Nn(o,he))}else l&&((a&ce)!==0&&_e!==null&&_e.add(s),Pe(s))}}function Le(e){if(typeof e!="object"||e===null||yt in e)return e;const t=ln(e);if(t!==$r&&t!==Er)return e;var n=new Map,r=mr(e),i=q(0),s=Ie,a=l=>{if(Ie===s)return l();var o=g,f=Ie;F(null),Vn(s);var c=l();return F(o),Vn(f),c};return r&&n.set("length",q(e.length)),new Proxy(e,{defineProperty(l,o,f){(!("value"in f)||f.configurable===!1||f.enumerable===!1||f.writable===!1)&&Pr();var c=n.get(o);return c===void 0?c=a(()=>{var h=q(f.value);return n.set(o,h),h}):Z(c,f.value,!0),!0},deleteProperty(l,o){var f=n.get(o);if(f===void 0){if(o in l){const c=a(()=>q(M));n.set(o,c),st(i)}}else Z(f,M),st(i);return!0},get(l,o,f){if(o===yt)return e;var c=n.get(o),h=o in l;if(c===void 0&&(!h||Ae(l,o)?.writable)&&(c=a(()=>{var d=Le(h?l[o]:M),w=q(d);return w}),n.set(o,c)),c!==void 0){var u=E(c);return u===M?void 0:u}return Reflect.get(l,o,f)},getOwnPropertyDescriptor(l,o){var f=Reflect.getOwnPropertyDescriptor(l,o);if(f&&"value"in f){var c=n.get(o);c&&(f.value=E(c))}else if(f===void 0){var h=n.get(o),u=h?.v;if(h!==void 0&&u!==M)return{enumerable:!0,configurable:!0,value:u,writable:!0}}return f},has(l,o){if(o===yt)return!0;var f=n.get(o),c=f!==void 0&&f.v!==M||Reflect.has(l,o);if(f!==void 0||m!==null&&(!c||Ae(l,o)?.writable)){f===void 0&&(f=a(()=>{var u=c?Le(l[o]):M,d=q(u);return d}),n.set(o,f));var h=E(f);if(h===M)return!1}return c},set(l,o,f,c){var h=n.get(o),u=o in l;if(r&&o==="length")for(var d=f;d<h.v;d+=1){var w=n.get(d+"");w!==void 0?Z(w,M):d in l&&(w=a(()=>q(M)),n.set(d+"",w))}if(h===void 0)(!u||Ae(l,o)?.writable)&&(h=a(()=>q(void 0)),Z(h,Le(f)),n.set(o,h));else{u=h.v!==M;var D=a(()=>Le(f));Z(h,D)}var P=Reflect.getOwnPropertyDescriptor(l,o);if(P?.set&&P.set.call(c,f),!u){if(r&&typeof o=="string"){var we=n.get("length"),N=Number(o);Number.isInteger(N)&&N>=we.v&&Z(we,N+1)}st(i)}return!0},ownKeys(l){E(i);var o=Reflect.ownKeys(l).filter(h=>{var u=n.get(h);return u===void 0||u.v!==M});for(var[f,c]of n)c.v!==M&&!(f in l)&&o.push(f);return o},setPrototypeOf(){Lr()}})}var Cn,An,On,Rn;function Jt(){if(Cn===void 0){Cn=window,An=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;On=Ae(t,"firstChild").get,Rn=Ae(t,"nextSibling").get,on(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),on(n)&&(n.__t=void 0)}}function le(e=""){return document.createTextNode(e)}function Ke(e){return On.call(e)}function pe(e){return Rn.call(e)}function O(e,t){if(!b)return Ke(e);var n=Ke(y);return n===null&&(n=y.appendChild(le())),re(n),n}function ni(e,t=!1){if(!b){var n=Ke(e);return n instanceof Comment&&n.data===""?pe(n):n}if(t&&y?.nodeType!==Bt){var r=le();return y?.before(r),re(r),r}return y}function V(e,t=1,n=!1){let r=b?y:e;for(var i;t--;)i=r,r=pe(r);if(!b)return r;if(n&&r?.nodeType!==Bt){var s=le();return r===null?i?.after(s):r.before(s),re(s),s}return re(r),r}function ri(e){e.textContent=""}function ii(){return!1}function Wt(e){var t=g,n=m;F(null),X(null);try{return e()}finally{F(t),X(n)}}function si(e){m===null&&(g===null&&Ar(),Cr()),Me&&Nr()}function ai(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function oe(e,t,n){var r=m;r!==null&&(r.f&ae)!==0&&(e|=ae);var i={ctx:z,deps:null,nodes_start:null,nodes_end:null,f:e|Y|ne,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{ft(i),i.f|=wt}catch(l){throw H(i),l}else t!==null&&Pe(i);var s=i;if(n&&s.deps===null&&s.teardown===null&&s.nodes_start===null&&s.first===s.last&&(s.f&Oe)===0&&(s=s.first,(e&ce)!==0&&(e&Je)!==0&&s!==null&&(s.f|=Je)),s!==null&&(s.parent=r,r!==null&&ai(s,r),g!==null&&(g.f&L)!==0&&(e&$e)===0)){var a=g;(a.effects??=[]).push(s)}return i}function Ct(){return g!==null&&!fe}function Dn(e){const t=oe(Ft,null,!1);return j(t,I),t.teardown=e,t}function li(e){si();var t=m.f,n=!g&&(t&de)!==0&&(t&wt)===0;if(n){var r=z;(r.e??=[]).push(e)}else return Pn(e)}function Pn(e){return oe(It|Tr,e,!1)}function oi(e){ie.ensure();const t=oe($e|Oe,e,!0);return()=>{H(t)}}function fi(e){ie.ensure();const t=oe($e|Oe,e,!0);return(n={})=>new Promise(r=>{n.outro?at(t,()=>{H(t),r(void 0)}):(H(t),r(void 0))})}function ui(e){return oe(It,e,!1)}function ci(e){return oe(qt|Oe,e,!0)}function Ln(e,t=0){return oe(Ft|t,e,!0)}function p(e,t=[],n=[],r=[]){Gr(r,t,n,i=>{oe(Ft,()=>e(...i.map(E)),!0)})}function Mn(e,t=0){var n=oe(ce|t,e,!0);return n}function ge(e){return oe(de|Oe,e,!0)}function In(e){var t=e.teardown;if(t!==null){const n=Me,r=g;Yn(!0),F(null);try{t.call(null)}finally{Yn(n),F(r)}}}function Fn(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){const i=n.ac;i!==null&&Wt(()=>{i.abort(We)});var r=n.next;(n.f&$e)!==0?n.parent=null:H(n,t),n=r}}function di(e){for(var t=e.first;t!==null;){var n=t.next;(t.f&de)===0&&H(t),t=n}}function H(e,t=!0){var n=!1;(t||(e.f&cn)!==0)&&e.nodes_start!==null&&e.nodes_end!==null&&(hi(e.nodes_start,e.nodes_end),n=!0),Fn(e,t&&!n),Ot(e,0),j(e,ve);var r=e.transitions;if(r!==null)for(const s of r)s.stop();In(e);var i=e.parent;i!==null&&i.first!==null&&jn(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=e.ac=null}function hi(e,t){for(;e!==null;){var n=e===t?null:pe(e);e.remove(),e=n}}function jn(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 at(e,t,n=!0){var r=[];qn(e,r,!0),vi(r,()=>{n&&H(e),t&&t()})}function vi(e,t){var n=e.length;if(n>0){var r=()=>--n||t();for(var i of e)i.out(r)}else t()}function qn(e,t,n){if((e.f&ae)===0){if(e.f^=ae,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&Je)!==0||(r.f&de)!==0&&(e.f&ce)!==0;qn(r,t,s?n:!1),r=i}}}function _i(e){Bn(e,!0)}function Bn(e,t){if((e.f&ae)!==0){e.f^=ae,(e.f&I)===0&&(j(e,Y),Pe(e));for(var n=e.first;n!==null;){var r=n.next,i=(n.f&Je)!==0||(n.f&de)!==0;Bn(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:pe(n);t.append(n),n=i}}let Se=!1;function At(e){Se=e}let Me=!1;function Yn(e){Me=e}let g=null,fe=!1;function F(e){g=e}let m=null;function X(e){m=e}let me=null;function pi(e){g!==null&&(me===null?me=[e]:me.push(e))}let B=null,J=0,Q=null;function gi(e){Q=e}let Hn=1,lt=0,Ie=lt;function Vn(e){Ie=e}function Jn(){return++Hn}function ot(e){var t=e.f;if((t&Y)!==0)return!0;if(t&L&&(e.f&=~Re),(t&he)!==0){var n=e.deps;if(n!==null)for(var r=n.length,i=0;i<r;i++){var s=n[i];if(ot(s)&&Sn(s),s.wv>e.wv)return!0}(t&ne)!==0&&G===null&&j(e,I)}return!1}function Wn(e,t,n=!0){var r=e.reactions;if(r!==null&&!me?.includes(e))for(var i=0;i<r.length;i++){var s=r[i];(s.f&L)!==0?Wn(s,t,!1):t===s&&(n?j(s,Y):(s.f&I)!==0&&j(s,he),Pe(s))}}function zn(e){var t=B,n=J,r=Q,i=g,s=me,a=z,l=fe,o=Ie,f=e.f;B=null,J=0,Q=null,g=(f&(de|$e))===0?e:null,me=null,ze(e.ctx),fe=!1,Ie=++lt,e.ac!==null&&(Wt(()=>{e.ac.abort(We)}),e.ac=null);try{e.f|=jt;var c=e.fn,h=c(),u=e.deps;if(B!==null){var d;if(Ot(e,J),u!==null&&J>0)for(u.length=J+B.length,d=0;d<B.length;d++)u[J+d]=B[d];else e.deps=u=B;if(Se&&Ct()&&(e.f&ne)!==0)for(d=J;d<u.length;d++)(u[d].reactions??=[]).push(e)}else u!==null&&J<u.length&&(Ot(e,J),u.length=J);if(mn()&&Q!==null&&!fe&&u!==null&&(e.f&(L|he|Y))===0)for(d=0;d<Q.length;d++)Wn(Q[d],e);return i!==null&&i!==e&&(lt++,Q!==null&&(r===null?r=Q:r.push(...Q))),(e.f&Ee)!==0&&(e.f^=Ee),h}catch(w){return wn(w)}finally{e.f^=jt,B=t,J=n,Q=r,g=i,me=s,ze(a),fe=l,Ie=o}}function mi(e,t){let n=t.reactions;if(n!==null){var r=br.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&L)!==0&&(B===null||!B.includes(t))&&(j(t,he),(t.f&ne)!==0&&(t.f^=ne,t.f&=~Re),Tn(t),Ot(t,0))}function Ot(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)mi(e,n[r])}function ft(e){var t=e.f;if((t&ve)===0){j(e,I);var n=m,r=Se;m=e,Se=!0;try{(t&ce)!==0?di(e):Fn(e),In(e);var i=zn(e);e.teardown=typeof i=="function"?i:null,e.wv=Hn;var s;Mt&&Ur&&(e.f&Y)!==0&&e.deps}finally{Se=r,m=n}}}function E(e){var t=e.f,n=(t&L)!==0;if(g!==null&&!fe){var r=m!==null&&(m.f&ve)!==0;if(!r&&!me?.includes(e)){var i=g.deps;if((g.f&jt)!==0)e.rv<lt&&(e.rv=lt,B===null&&i!==null&&i[J]===e?J++:B===null?B=[e]:B.includes(e)||B.push(e));else{(g.deps??=[]).push(e);var s=e.reactions;s===null?e.reactions=[g]:s.includes(g)||s.push(g)}}}if(Me){if(Te.has(e))return Te.get(e);if(n){var a=e,l=a.v;return((a.f&I)===0&&a.reactions!==null||Kn(a))&&(l=Ht(a)),Te.set(a,l),l}}else n&&!G?.has(e)&&(a=e,ot(a)&&Sn(a),Se&&Ct()&&(a.f&ne)===0&&Gn(a));if(G?.has(e))return G.get(e);if((e.f&Ee)!==0)throw e.v;return e.v}function Gn(e){if(e.deps!==null){e.f^=ne;for(const t of e.deps)(t.reactions??=[]).push(e),(t.f&L)!==0&&(t.f&ne)===0&&Gn(t)}}function Kn(e){if(e.v===M)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(Te.has(t)||(t.f&L)!==0&&Kn(t))return!0;return!1}function Zn(e){var t=fe;try{return fe=!0,e()}finally{fe=t}}const bi=-7169;function j(e,t){e.f=e.f&bi|t}const wi=new Set,Xn=new Set;function yi(e,t,n,r={}){function i(s){if(r.capture||ut.call(t,s),!s.cancelBubble)return Wt(()=>n?.call(this,s))}return e.startsWith("pointer")||e.startsWith("touch")||e==="wheel"?kt(()=>{t.addEventListener(e,i,r)}):t.addEventListener(e,i,r),i}function be(e,t,n,r,i){var s={capture:r,passive:i},a=yi(e,t,n,s);(t===document.body||t===window||t===document||t instanceof HTMLMediaElement)&&Dn(()=>{t.removeEventListener(e,a,s)})}let Qn=null;function ut(e){var t=this,n=t.ownerDocument,r=e.type,i=e.composedPath?.()||[],s=i[0]||e.target;Qn=e;var a=0,l=Qn===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){mt(e,"currentTarget",{configurable:!0,get(){return s||n}});var c=g,h=m;F(null),X(null);try{for(var u,d=[];s!==null;){var w=s.assignedSlot||s.parentNode||s.host||null;try{var D=s["__"+r];D!=null&&(!s.disabled||e.target===s)&&D.call(s,e)}catch(P){u?d.push(P):u=P}if(e.cancelBubble||w===t||w===null)break;s=w}if(u){for(let P of d)queueMicrotask(()=>{throw P});throw u}}finally{e.__root=t,delete e.currentTarget,F(c),X(h)}}}function $i(e){var t=document.createElement("template");return t.innerHTML=e.replaceAll("<!>","<!---->"),t.content}function xe(e,t){var n=m;n.nodes_start===null&&(n.nodes_start=e,n.nodes_end=t)}function Ze(e,t){var n=(t&_r)!==0,r=(t&pr)!==0,i,s=!e.startsWith("<!>");return()=>{if(b)return xe(y,null),y;i===void 0&&(i=$i(s?e:"<!>"+e),n||(i=Ke(i)));var a=r||An?document.importNode(i,!0):i.cloneNode(!0);if(n){var l=Ke(a),o=a.lastChild;xe(l,o)}else xe(a,a);return a}}function Rt(e=""){if(!b){var t=le(e+"");return xe(t,t),t}var n=y;return n.nodeType!==Bt&&(n.before(n=le()),re(n)),xe(n,n),n}function Ei(){if(b)return xe(y,null),y;var e=document.createDocumentFragment(),t=document.createComment(""),n=le();return e.append(t,n),xe(t,n),e}function ee(e,t){if(b){var n=m;((n.f&wt)===0||n.nodes_end===null)&&(n.nodes_end=y),Et();return}e!==null&&e.before(t)}const ki=["touchstart","touchmove"];function Ti(e){return ki.includes(e)}function er(e,t){var n=t==null?"":typeof t=="object"?t+"":t;n!==(e.__t??=e.nodeValue)&&(e.__t=n,e.nodeValue=n+"")}function tr(e,t){return nr(e,t)}function Si(e,t){Jt(),t.intro=t.intro??!1;const n=t.target,r=b,i=y;try{for(var s=Ke(n);s&&(s.nodeType!==nt||s.data!==sn);)s=pe(s);if(!s)throw Ve;ke(!0),re(s);const a=nr(e,{...t,anchor:s});return ke(!1),a}catch(a){if(a instanceof Error&&a.message.split(`
|
|
2
|
-
`).some(l=>l.startsWith("https://svelte.dev/e/")))throw a;return a!==Ve&&console.warn("Failed to hydrate: ",a),t.recover===!1&&Rr(),Jt(),ri(n),ke(!1),tr(e,t)}finally{ke(r),re(i)}}const Xe=new Map;function nr(e,{target:t,anchor:n,props:r={},events:i,context:s,intro:a=!0}){Jt();var l=new Set,o=h=>{for(var u=0;u<h.length;u++){var d=h[u];if(!l.has(d)){l.add(d);var w=Ti(d);t.addEventListener(d,ut,{passive:w});var D=Xe.get(d);D===void 0?(document.addEventListener(d,ut,{passive:w}),Xe.set(d,1)):Xe.set(d,D+1)}}};o(wr(wi)),Xn.add(o);var f=void 0,c=fi(()=>{var h=n??t.appendChild(le());return Wr(h,{pending:()=>{}},u=>{if(s){pn({});var d=z;d.c=s}if(i&&(r.$$events=i),b&&xe(u,null),f=e(u,r)||{},b&&(m.nodes_end=y,y===null||y.nodeType!==nt||y.data!==an))throw $t(),Ve;s&&gn()}),()=>{for(var u of l){t.removeEventListener(u,ut);var d=Xe.get(u);--d===0?(document.removeEventListener(u,ut),Xe.delete(u)):Xe.set(u,d)}Xn.delete(o),h!==n&&h.parentNode?.removeChild(h)}});return zt.set(f,c),f}let zt=new WeakMap;function xi(e,t){const n=zt.get(e);return n?(zt.delete(e),n(t)):Promise.resolve()}class Ni{anchor;#t=new Map;#e=new Map;#n=new Map;#r=new Set;#o=!0;constructor(t,n=!0){this.anchor=t,this.#o=n}#s=()=>{var t=x;if(this.#t.has(t)){var n=this.#t.get(t),r=this.#e.get(n);if(r)_i(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 l=this.#n.get(a);l&&(H(l.effect),this.#n.delete(a))}for(const[s,a]of this.#e){if(s===n||this.#r.has(s))continue;const l=()=>{if(Array.from(this.#t.values()).includes(s)){var f=document.createDocumentFragment();Un(a,f),f.append(le()),this.#n.set(s,{effect:a,fragment:f})}else H(a);this.#r.delete(s),this.#e.delete(s)};this.#o||!r?(this.#r.add(s),at(a,l,!1)):l()}}};#i=t=>{this.#t.delete(t);const n=Array.from(this.#t.values());for(const[r,i]of this.#n)n.includes(r)||(H(i.effect),this.#n.delete(r))};ensure(t,n){var r=x,i=ii();if(n&&!this.#e.has(t)&&!this.#n.has(t))if(i){var s=document.createDocumentFragment(),a=le();s.append(a),this.#n.set(t,{effect:ge(()=>n(a)),fragment:s})}else this.#e.set(t,ge(()=>n(this.anchor)));if(this.#t.set(r,t),i){for(const[l,o]of this.#e)l===t?r.skipped_effects.delete(o):r.skipped_effects.add(o);for(const[l,o]of this.#n)l===t?r.skipped_effects.delete(o.effect):r.skipped_effects.add(o.effect);r.oncommit(this.#s),r.ondiscard(this.#i)}else b&&(this.anchor=y),this.#s()}}function Fe(e,t,n=!1){b&&Et();var r=new Ni(e),i=n?Je:0;function s(a,l){if(b){const f=qr(e)===Lt;if(a===f){var o=hn();re(o),r.anchor=o,ke(!1),r.ensure(a,l),ke(!0);return}}r.ensure(a,l)}Mn(()=>{var a=!1;t((l,o=!0)=>{a=!0,s(o,l)}),a||s(!1,null)},i)}function Qe(e,t,n,r,i){b&&Et();var s=t.$$slots?.[n],a=!1;s===!0&&(s=t[n==="default"?"children":n],a=!0),s===void 0?i!==null&&i(e):s(e,a?()=>r:r)}function Ci(e,t){ui(()=>{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;return r}function Oi(e,t){return e==null?null:String(e)}function Ri(e,t,n,r,i,s){var a=e.__className;if(b||a!==n||a===void 0){var l=Ai(n);(!b||l!==e.getAttribute("class"))&&(l==null?e.removeAttribute("class"):e.className=l),e.__className=n}return s}function se(e,t,n,r){var i=e.__style;if(b||i!==t){var s=Oi(t);(!b||s!==e.getAttribute("style"))&&(s==null?e.removeAttribute("style"):e.style.cssText=s),e.__style=t}return r}const Di=Symbol("is custom element"),Pi=Symbol("is html");function Gt(e,t,n,r){var i=Li(e);b&&(i[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName==="LINK")||i[t]!==(i[t]=n)&&(t==="loading"&&(e[Sr]=n),n==null?e.removeAttribute(t):typeof n!="string"&&rr(e).includes(t)?e[t]=n:e.setAttribute(t,n))}function _(e,t,n){var r=g,i=m;let s=b;b&&ke(!1),F(null),X(null);try{t!=="style"&&(Kt.has(e.getAttribute("is")||e.nodeName)||!customElements||customElements.get(e.getAttribute("is")||e.tagName.toLowerCase())?rr(e).includes(t):n&&typeof n=="object")?e[t]=n:Gt(e,t,n==null?n:String(n))}finally{F(r),X(i),s&&ke(!0)}}function Li(e){return e.__attributes??={[Di]:e.nodeName.includes("-"),[Pi]:e.namespaceURI===gr}}var Kt=new Map;function rr(e){var t=e.getAttribute("is")||e.nodeName,n=Kt.get(t);if(n)return n;Kt.set(t,n=[]);for(var r,i=e,s=Element.prototype;s!==i;){r=yr(i);for(var a in r)r[a].set&&n.push(a);i=ln(i)}return n}let Dt=!1;function Mi(e){var t=Dt;try{return Dt=!1,[e(),Dt]}finally{Dt=t}}function R(e,t,n,r){var i=(n&hr)!==0,s=(n&vr)!==0,a=r,l=!0,o=()=>(l&&(l=!1,a=s?Zn(r):r),a),f;if(i){var c=yt in e||dn in e;f=Ae(e,t)?.set??(c&&t in e?N=>e[t]=N:void 0)}var h,u=!1;i?[h,u]=Mi(()=>e[t]):h=e[t],h===void 0&&r!==void 0&&(h=o(),f&&(Dr(),f(h)));var d;if(d=()=>{var N=e[t];return N===void 0?o():(l=!0,N)},(n&dr)===0)return d;if(f){var w=e.$$legacy;return(function(N,S){return arguments.length>0?((!S||w||u)&&f(S?d():N),N):d()})}var D=!1,P=((n&cr)!==0?Yt:Xr)(()=>(D=!1,d()));i&&E(P);var we=m;return(function(N,S){if(arguments.length>0){const ht=S?E(P):i?Le(N):N;return Z(P,ht),D=!0,a!==void 0&&(a=ht),N}return Me&&D||(we.f&ve)!==0?P.v:E(P)})}function Ii(e){return new Fi(e)}class Fi{#t;#e;constructor(t){var n=new Map,r=(s,a)=>{var l=ei(a,!1,!1);return n.set(s,l),l};const i=new Proxy({...t.props||{},$$events:{}},{get(s,a){return E(n.get(a)??r(a,Reflect.get(s,a)))},has(s,a){return a===dn?!0:(E(n.get(a)??r(a,Reflect.get(s,a))),Reflect.has(s,a))},set(s,a,l){return Z(n.get(a)??r(a,l),l),Reflect.set(s,a,l)}});this.#e=(t.hydrate?Si:tr)(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)&&C(),this.#t=i.$$events;for(const s of Object.keys(this.#e))s==="$set"||s==="$destroy"||s==="$on"||mt(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=()=>{xi(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 ir;typeof HTMLElement=="function"&&(ir=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),ee(i,s)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},n=ji(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]=Pt(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=Ii({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=oi(()=>{Ln(()=>{this.$$r=!0;for(const r of gt(this.$$c)){if(!this.$$p_d[r]?.reflect)continue;this.$$d[r]=this.$$c[r];const i=Pt(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]=Pt(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 gt(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function Pt(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 ji(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}function qi(e,t,n,r,i,s){let a=class extends ir{constructor(){super(e,n,i),this.$$p_d=t}static get observedAttributes(){return gt(t).map(l=>(t[l].attribute||l).toLowerCase())}};return gt(t).forEach(l=>{mt(a.prototype,l,{get(){return this.$$c&&l in this.$$c?this.$$c[l]:this.$$d[l]},set(o){o=Pt(l,o,t),this.$$d[l]=o;var f=this.$$c;if(f){var c=Ae(f,l)?.get;c?f[l]=o:f.$set({[l]:o})}}})}),r.forEach(l=>{mt(a.prototype,l,{get(){return this.$$c?.[l]}})}),e.element=a,a}const ct={version:"0.65.23"};var je={},sr;function Bi(){if(sr)return je;sr=1,Object.defineProperty(je,"__esModule",{value:!0}),je.LanguageTranslator=void 0,je.getChildStyleToPass=e,je.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(u){return Object.keys(r).includes(u.name)}))===null||a===void 0)&&a.length))for(var o=function(u){var d=i?.filter(function(w){return w.name===u&&w.defaultValue!==r[u]});d&&(l+="".concat(u,":").concat(r[u],";"))},f=0,c=Object.keys(r);f<c.length;f++){var h=c[f];o(h)}}catch(u){console.error("error getting child style to pass",u)}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="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)&&(l=navigator.languages[0].split("-")[0].toLowerCase()),l},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 c=s?.[f];c?.[i]&&(o=c[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 je.LanguageTranslator=n,je}var dt=Bi(),Ui=Ze('<img alt="" style="max-height: 31px;vertical-align: middle;"/>'),Yi=Ze("<hb-cookie-law-banner></hb-cookie-law-banner>",2),Hi=Ze('<div id="desktop" class="svelte-164n5cr"><hb-navbar><span slot="left-slot"><!> <!></span> <span slot="center-slot"><!></span> <span slot="right-slot"><!></span></hb-navbar> <div id="layout_container" style="grid-template-columns: 240px auto;" class="svelte-164n5cr"><div id="layout_sidebar" class="svelte-164n5cr"><div id="inner_sidebar" class="svelte-164n5cr"><hb-sidebar-desktop></hb-sidebar-desktop></div></div> <div part="container"><div part="page" id="page" class="svelte-164n5cr"><!></div> <!> <hb-footer></hb-footer></div></div></div>',2),Vi=Ze('<img alt="" style="max-height: 31px;vertical-align: middle;"/>'),Ji=Ze("<hb-cookie-law-banner></hb-cookie-law-banner>",2),Wi=Ze('<div id="desktop_without_sidebar" class="svelte-164n5cr"><hb-navbar><span slot="left-slot"><!> <!></span> <span slot="center-slot"><!></span> <span slot="right-slot"><!></span></hb-navbar> <div><div part="container"><div part="page" id="page" class="svelte-164n5cr"><!></div> <!> <hb-footer></hb-footer></div></div></div>',2);const zi={hash:"svelte-164n5cr",code:`@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");
|
|
3
|
-
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css");:host {font-family:"Roboto", sans-serif;}#page.svelte-164n5cr {min-height:100%;}#desktop_without_sidebar.svelte-164n5cr {min-height:100vh;}#desktop.svelte-164n5cr {min-height:100vh;display:grid;grid-template-rows:max-content auto;}#layout_container.svelte-164n5cr {display:grid;}#layout_sidebar.svelte-164n5cr {width:240px;grid-row-start:1;grid-row-end:1;display:flex;position:relative;}#inner_sidebar.svelte-164n5cr {position:absolute;height:100%;}hb-sidebar-desktop.svelte-164n5cr {height:100%;}`};function
|
|
1
|
+
(function(an){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const wr=1,yr=4,$r=8,Er=16,kr=1,Tr=2,on="[",fn="[!",un="[?",cn="]",Je={},j=Symbol(),dn="http://www.w3.org/1999/xhtml",Nr=!1;var Sr=Array.isArray,xr=Array.prototype.indexOf,ze=Array.prototype.includes,Cr=Array.from,gt=Object.keys,mt=Object.defineProperty,Re=Object.getOwnPropertyDescriptor,Ar=Object.getOwnPropertyDescriptors,Or=Object.prototype,Rr=Array.prototype,hn=Object.getPrototypeOf,vn=Object.isExtensible;const Dr=()=>{};function Lr(e){for(var t=0;t<e.length;t++)e[t]()}function _n(){var e,t,n=new Promise((r,i)=>{e=r,t=i});return{promise:n,resolve:e,reject:t}}const L=2,We=4,bt=8,pn=1<<24,ye=16,le=32,$e=64,Lt=128,z=512,O=1024,B=2048,ae=4096,oe=8192,ne=16384,Ee=32768,gn=1<<25,Ge=65536,mn=1<<17,Pr=1<<18,De=1<<19,Mr=1<<20,Le=65536,Pt=1<<21,Mt=1<<22,ke=1<<23,wt=Symbol("$state"),bn=Symbol("legacy props"),Ir=Symbol(""),ve=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},Fr=!!globalThis.document?.contentType&&globalThis.document.contentType.includes("xml"),yt=3,$t=8;function jr(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function Br(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function qr(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function Ur(e){throw new Error("https://svelte.dev/e/effect_orphan")}function Hr(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function Yr(){throw new Error("https://svelte.dev/e/hydration_failed")}function Vr(e){throw new Error("https://svelte.dev/e/props_invalid_value")}function Jr(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function zr(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function Wr(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function Gr(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function Et(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function Kr(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let y=!1;function Te(e){y=e}let $;function re(e){if(e===null)throw Et(),Je;return $=e}function kt(){return re(ge($))}function P(e){if(y){if(ge($)!==null)throw Et(),Je;$=e}}function Xr(e=1){if(y){for(var t=e,n=$;t--;)n=ge(n);$=n}}function wn(e=!0){for(var t=0,n=$;;){if(n.nodeType===$t){var r=n.data;if(r===cn){if(t===0)return n;t-=1}else(r===on||r===fn||r[0]==="["&&!isNaN(Number(r.slice(1))))&&(t+=1)}var i=ge(n);e&&n.remove(),n=i}}function Zr(e){if(!e||e.nodeType!==$t)throw Et(),Je;return e.data}function yn(e){return e===this.v}function Qr(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function $n(e){return!Qr(e,this.v)}let ei=!1,W=null;function Ke(e){W=e}function En(e,t=!1,n){W={p:W,i:!1,c:null,e:null,s:e,x:null,r:b,l:null}}function kn(e){var t=W,n=t.e;if(n!==null){t.e=null;for(var r of n)Jn(r)}return e!==void 0&&(t.x=e),t.i=!0,W=t.p,e??{}}function Tn(){return!0}let Pe=[];function Nn(){var e=Pe;Pe=[],Lr(e)}function Me(e){if(Pe.length===0&&!lt){var t=Pe;queueMicrotask(()=>{t===Pe&&Nn()})}Pe.push(e)}function ti(){for(;Pe.length>0;)Nn()}function Sn(e){var t=b;if(t===null)return p.f|=ke,e;if((t.f&Ee)===0&&(t.f&We)===0)throw e;Ne(e,t)}function Ne(e,t){for(;t!==null;){if((t.f&Lt)!==0){if((t.f&Ee)===0)throw e;try{t.b.error(e);return}catch(n){e=n}}t=t.parent}throw e}const ni=-7169;function A(e,t){e.f=e.f&ni|t}function It(e){(e.f&z)!==0||e.deps===null?A(e,O):A(e,ae)}function xn(e){if(e!==null)for(const t of e)(t.f&L)===0||(t.f&Le)===0||(t.f^=Le,xn(t.deps))}function Cn(e,t,n){(e.f&B)!==0?t.add(e):(e.f&ae)!==0&&n.add(e),xn(e.deps),A(e,O)}let Tt=!1;function ri(e){var t=Tt;try{return Tt=!1,[e(),Tt]}finally{Tt=t}}const Se=new Set;let T=null,ie=null,Ft=null,lt=!1,jt=!1,Xe=null,Nt=null;var An=0;let ii=1;class _e{id=ii++;current=new Map;previous=new Map;#e=new Set;#n=new Set;#t=new Map;#i=new Map;#s=null;#r=[];#l=new Set;#a=new Set;#o=new Map;is_fork=!1;#c=!1;#f=new Set;#d(){return this.is_fork||this.#i.size>0}#v(){for(const r of this.#f)for(const i of r.#i.keys()){for(var t=!1,n=i;n.parent!==null;){if(this.#o.has(n)){t=!0;break}n=n.parent}if(!t)return!0}return!1}skip_effect(t){this.#o.has(t)||this.#o.set(t,{d:[],m:[]})}unskip_effect(t){var n=this.#o.get(t);if(n){this.#o.delete(t);for(var r of n.d)A(r,B),this.schedule(r);for(r of n.m)A(r,ae),this.schedule(r)}}#h(){if(An++>1e3&&(Se.delete(this),si()),!this.#d()){for(const a of this.#l)this.#a.delete(a),A(a,B),this.schedule(a);for(const a of this.#a)A(a,ae),this.schedule(a)}const t=this.#r;this.#r=[],this.apply();var n=Xe=[],r=[],i=Nt=[];for(const a of t)try{this.#u(a,n,r)}catch(f){throw Pn(a),f}if(T=null,i.length>0){var s=_e.ensure();for(const a of i)s.schedule(a)}if(Xe=null,Nt=null,this.#d()||this.#v()){this.#_(r),this.#_(n);for(const[a,f]of this.#o)Ln(a,f)}else{this.#t.size===0&&Se.delete(this),this.#l.clear(),this.#a.clear();for(const a of this.#e)a(this);this.#e.clear(),On(r),On(n),this.#s?.resolve()}var l=T;if(this.#r.length>0){const a=l??=this;a.#r.push(...this.#r.filter(f=>!a.#r.includes(f)))}l!==null&&(Se.add(l),l.#h()),Se.has(this)||this.#p()}#u(t,n,r){t.f^=O;for(var i=t.first;i!==null;){var s=i.f,l=(s&(le|$e))!==0,a=l&&(s&O)!==0,f=a||(s&oe)!==0||this.#o.has(i);if(!f&&i.fn!==null){l?i.f^=O:(s&We)!==0?n.push(i):ut(i)&&((s&ye)!==0&&this.#a.add(i),et(i));var o=i.first;if(o!==null){i=o;continue}}for(;i!==null;){var u=i.next;if(u!==null){i=u;break}i=i.parent}}}#_(t){for(var n=0;n<t.length;n+=1)Cn(t[n],this.#l,this.#a)}capture(t,n,r=!1){n!==j&&!this.previous.has(t)&&this.previous.set(t,n),(t.f&ke)===0&&(this.current.set(t,[t.v,r]),ie?.set(t,t.v))}activate(){T=this}deactivate(){T=null,ie=null}flush(){try{jt=!0,T=this,this.#h()}finally{An=0,Ft=null,Xe=null,Nt=null,jt=!1,T=null,ie=null,xe.clear()}}discard(){for(const t of this.#n)t(this);this.#n.clear(),Se.delete(this)}#p(){for(const o of Se){var t=o.id<this.id,n=[];for(const[u,[d,c]]of this.current){if(o.current.has(u)){var r=o.current.get(u)[0];if(t&&d!==r)o.current.set(u,[d,c]);else continue}n.push(u)}var i=[...o.current.keys()].filter(u=>!this.current.has(u));if(i.length===0)t&&o.discard();else if(n.length>0){o.activate();var s=new Set,l=new Map;for(var a of n)Rn(a,i,s,l);if(o.#r.length>0){o.apply();for(var f of o.#r)o.#u(f,[],[]);o.#r=[]}o.deactivate()}}for(const o of Se)o.#f.has(this)&&(o.#f.delete(this),o.#f.size===0&&!o.#d()&&(o.activate(),o.#h()))}increment(t,n){let r=this.#t.get(n)??0;if(this.#t.set(n,r+1),t){let i=this.#i.get(n)??0;this.#i.set(n,i+1)}}decrement(t,n,r){let i=this.#t.get(n)??0;if(i===1?this.#t.delete(n):this.#t.set(n,i-1),t){let s=this.#i.get(n)??0;s===1?this.#i.delete(n):this.#i.set(n,s-1)}this.#c||r||(this.#c=!0,Me(()=>{this.#c=!1,this.flush()}))}transfer_effects(t,n){for(const r of t)this.#l.add(r);for(const r of n)this.#a.add(r);t.clear(),n.clear()}oncommit(t){this.#e.add(t)}ondiscard(t){this.#n.add(t)}settled(){return(this.#s??=_n()).promise}static ensure(){if(T===null){const t=T=new _e;jt||(Se.add(T),lt||Me(()=>{T===t&&t.flush()}))}return T}apply(){{ie=null;return}}schedule(t){if(Ft=t,t.b?.is_pending&&(t.f&(We|bt|pn))!==0&&(t.f&Ee)===0){t.b.defer_effect(t);return}for(var n=t;n.parent!==null;){n=n.parent;var r=n.f;if(Xe!==null&&n===b&&(p===null||(p.f&L)===0))return;if((r&($e|le))!==0){if((r&O)===0)return;n.f^=O}}this.#r.push(n)}}function R(e){var t=lt;lt=!0;try{for(var n;;){if(ti(),T===null)return n;T.flush()}}finally{lt=t}}function si(){try{Hr()}catch(e){Ne(e,Ft)}}let pe=null;function On(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if((r.f&(ne|oe))===0&&ut(r)&&(pe=new Set,et(r),r.deps===null&&r.first===null&&r.nodes===null&&r.teardown===null&&r.ac===null&&Kn(r),pe?.size>0)){xe.clear();for(const i of pe){if((i.f&(ne|oe))!==0)continue;const s=[i];let l=i.parent;for(;l!==null;)pe.has(l)&&(pe.delete(l),s.push(l)),l=l.parent;for(let a=s.length-1;a>=0;a--){const f=s[a];(f.f&(ne|oe))===0&&et(f)}}pe.clear()}}pe=null}}function Rn(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&L)!==0?Rn(i,t,n,r):(s&(Mt|ye))!==0&&(s&B)===0&&Dn(i,t,r)&&(A(i,B),Bt(i))}}function Dn(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(ze.call(t,i))return!0;if((i.f&L)!==0&&Dn(i,t,n))return n.set(i,!0),!0}return n.set(e,!1),!1}function Bt(e){T.schedule(e)}function Ln(e,t){if(!((e.f&le)!==0&&(e.f&O)!==0)){(e.f&B)!==0?t.d.push(e):(e.f&ae)!==0&&t.m.push(e),A(e,O);for(var n=e.first;n!==null;)Ln(n,t),n=n.next}}function Pn(e){A(e,O);for(var t=e.first;t!==null;)Pn(t),t=t.next}function li(e){let t=0,n=at(0),r;return()=>{Wt()&&(D(n),zn(()=>(t===0&&(r=or(()=>e(()=>ot(n)))),t+=1,()=>{Me(()=>{t-=1,t===0&&(r?.(),r=void 0,ot(n))})})))}}var ai=Ge|De;function oi(e,t,n,r){new fi(e,t,n,r)}class fi{parent;is_pending=!1;transform_error;#e;#n=y?$:null;#t;#i;#s;#r=null;#l=null;#a=null;#o=null;#c=0;#f=0;#d=!1;#v=new Set;#h=new Set;#u=null;#_=li(()=>(this.#u=at(this.#c),()=>{this.#u=null}));constructor(t,n,r,i){this.#e=t,this.#t=n,this.#i=s=>{var l=b;l.b=this,l.f|=Lt,r(s)},this.parent=b.b,this.transform_error=i??this.parent?.transform_error??(s=>s),this.#s=Wn(()=>{if(y){const s=this.#n;kt();const l=s.data===fn;if(s.data.startsWith(un)){const f=JSON.parse(s.data.slice(un.length));this.#y(f)}else l?this.#$():this.#p()}else this.#b()},ai),y&&(this.#e=$)}#p(){try{this.#r=me(()=>this.#i(this.#e))}catch(t){this.error(t)}}#y(t){const n=this.#t.failed;n&&(this.#a=me(()=>{n(this.#e,()=>t,()=>()=>{})}))}#$(){const t=this.#t.pending;t&&(this.is_pending=!0,this.#l=me(()=>t(this.#e)),Me(()=>{var n=this.#o=document.createDocumentFragment(),r=ue();n.append(r),this.#r=this.#m(()=>me(()=>this.#i(r))),this.#f===0&&(this.#e.before(n),this.#o=null,ft(this.#l,()=>{this.#l=null}),this.#g(T))}))}#b(){try{if(this.is_pending=this.has_pending_snippet(),this.#f=0,this.#c=0,this.#r=me(()=>{this.#i(this.#e)}),this.#f>0){var t=this.#o=document.createDocumentFragment();Qn(this.#r,t);const n=this.#t.pending;this.#l=me(()=>n(this.#e))}else this.#g(T)}catch(n){this.error(n)}}#g(t){this.is_pending=!1,t.transfer_effects(this.#v,this.#h)}defer_effect(t){Cn(t,this.#v,this.#h)}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!this.#t.pending}#m(t){var n=b,r=p,i=W;K(this.#s),U(this.#s),Ke(this.#s.ctx);try{return _e.ensure(),t()}catch(s){return Sn(s),null}finally{K(n),U(r),Ke(i)}}#w(t,n){if(!this.has_pending_snippet()){this.parent&&this.parent.#w(t,n);return}this.#f+=t,this.#f===0&&(this.#g(n),this.#l&&ft(this.#l,()=>{this.#l=null}),this.#o&&(this.#e.before(this.#o),this.#o=null))}update_pending_count(t,n){this.#w(t,n),this.#c+=t,!(!this.#u||this.#d)&&(this.#d=!0,Me(()=>{this.#d=!1,this.#u&&xt(this.#u,this.#c)}))}get_effect_pending(){return this.#_(),D(this.#u)}error(t){var n=this.#t.onerror;let r=this.#t.failed;if(!n&&!r)throw t;this.#r&&(q(this.#r),this.#r=null),this.#l&&(q(this.#l),this.#l=null),this.#a&&(q(this.#a),this.#a=null),y&&(re(this.#n),Xr(),re(wn()));var i=!1,s=!1;const l=()=>{if(i){Kr();return}i=!0,s&&Gr(),this.#a!==null&&ft(this.#a,()=>{this.#a=null}),this.#m(()=>{this.#b()})},a=f=>{try{s=!0,n?.(f,l),s=!1}catch(o){Ne(o,this.#s&&this.#s.parent)}r&&(this.#a=this.#m(()=>{try{return me(()=>{var o=b;o.b=this,o.f|=Lt,r(this.#e,()=>f,()=>l)})}catch(o){return Ne(o,this.#s.parent),null}}))};Me(()=>{var f;try{f=this.transform_error(t)}catch(o){Ne(o,this.#s&&this.#s.parent);return}f!==null&&typeof f=="object"&&typeof f.then=="function"?f.then(a,o=>Ne(o,this.#s&&this.#s.parent)):a(f)})}}function ui(e,t,n,r){const i=qt;var s=e.filter(c=>!c.settled);if(n.length===0&&s.length===0){r(t.map(i));return}var l=b,a=ci(),f=s.length===1?s[0].promise:s.length>1?Promise.all(s.map(c=>c.promise)):null;function o(c){a();try{r(c)}catch(h){(l.f&ne)===0&&Ne(h,l)}St()}if(n.length===0){f.then(()=>o(t.map(i)));return}var u=Mn();function d(){Promise.all(n.map(c=>di(c))).then(c=>o([...t.map(i),...c])).catch(c=>Ne(c,l)).finally(()=>u())}f?f.then(()=>{a(),d(),St()}):d()}function ci(){var e=b,t=p,n=W,r=T;return function(s=!0){K(e),U(t),Ke(n),s&&(e.f&ne)===0&&(r?.activate(),r?.apply())}}function St(e=!0){K(null),U(null),Ke(null),e&&T?.deactivate()}function Mn(){var e=b,t=e.b,n=T,r=t.is_rendered();return t.update_pending_count(1,n),n.increment(r,e),(i=!1)=>{t.update_pending_count(-1,n),n.decrement(r,e,i)}}function qt(e){var t=L|B,n=p!==null&&(p.f&L)!==0?p:null;return b!==null&&(b.f|=De),{ctx:W,deps:null,effects:null,equals:yn,f:t,fn:e,reactions:null,rv:0,v:j,wv:0,parent:n??b,ac:null}}function di(e,t,n){let r=b;r===null&&jr();var i=void 0,s=at(j),l=!p,a=new Map;return xi(()=>{var f=b,o=_n();i=o.promise;try{Promise.resolve(e()).then(o.resolve,o.reject).finally(St)}catch(h){o.reject(h),St()}var u=T;if(l){if((f.f&Ee)!==0)var d=Mn();if(r.b.is_rendered())a.get(u)?.reject(ve),a.delete(u);else{for(const h of a.values())h.reject(ve);a.clear()}a.set(u,o)}const c=(h,v=void 0)=>{if(d){var w=v===ve;d(w)}if(!(v===ve||(f.f&ne)!==0)){if(u.activate(),v)s.f|=ke,xt(s,v);else{(s.f&ke)!==0&&(s.f^=ke),xt(s,h);for(const[E,F]of a){if(a.delete(E),E===u)break;F.reject(ve)}}u.deactivate()}};o.promise.then(c,h=>c(null,h||"unknown"))}),Vn(()=>{for(const f of a.values())f.reject(ve)}),new Promise(f=>{function o(u){function d(){u===i?f(s):o(i)}u.then(d,d)}o(i)})}function hi(e){const t=qt(e);return t.equals=$n,t}function vi(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)q(t[n])}}function _i(e){for(var t=e.parent;t!==null;){if((t.f&L)===0)return(t.f&ne)===0?t:null;t=t.parent}return null}function Ut(e){var t,n=b;K(_i(e));try{e.f&=~Le,vi(e),t=sr(e)}finally{K(n)}return t}function In(e){var t=e.v,n=Ut(e);if(!e.equals(n)&&(e.wv=rr(),(!T?.is_fork||e.deps===null)&&(e.v=n,T?.capture(e,t,!0),e.deps===null))){A(e,O);return}Ce||(ie!==null?(Wt()||T?.is_fork)&&ie.set(e,n):It(e))}function pi(e){if(e.effects!==null)for(const t of e.effects)(t.teardown||t.ac)&&(t.teardown?.(),t.ac?.abort(ve),t.teardown=Dr,t.ac=null,ct(t,0),Gt(t))}function Fn(e){if(e.effects!==null)for(const t of e.effects)t.teardown&&et(t)}let Ht=new Set;const xe=new Map;let jn=!1;function at(e,t){var n={f:0,v:e,reactions:null,equals:yn,rv:0,wv:0};return n}function fe(e,t){const n=at(e);return Ri(n),n}function gi(e,t=!1,n=!0){const r=at(e);return t||(r.equals=$n),r}function G(e,t,n=!1){p!==null&&(!se||(p.f&mn)!==0)&&Tn()&&(p.f&(L|ye|Mt|mn))!==0&&(X===null||!ze.call(X,e))&&Wr();let r=n?Ze(t):t;return xt(e,r,Nt)}function xt(e,t,n=null){if(!e.equals(t)){var r=e.v;Ce?xe.set(e,t):xe.set(e,r),e.v=t;var i=_e.ensure();if(i.capture(e,r),(e.f&L)!==0){const s=e;(e.f&B)!==0&&Ut(s),ie===null&&It(s)}e.wv=rr(),Bn(e,B,n),b!==null&&(b.f&O)!==0&&(b.f&(le|$e))===0&&(Z===null?Di([e]):Z.push(e)),!i.is_fork&&Ht.size>0&&!jn&&mi()}return t}function mi(){jn=!1;for(const e of Ht)(e.f&O)!==0&&A(e,ae),ut(e)&&et(e);Ht.clear()}function ot(e){G(e,e.v+1)}function Bn(e,t,n){var r=e.reactions;if(r!==null)for(var i=r.length,s=0;s<i;s++){var l=r[s],a=l.f,f=(a&B)===0;if(f&&A(l,t),(a&L)!==0){var o=l;ie?.delete(o),(a&Le)===0&&(a&z&&(l.f|=Le),Bn(o,ae,n))}else if(f){var u=l;(a&ye)!==0&&pe!==null&&pe.add(u),n!==null?n.push(u):Bt(u)}}}function Ze(e){if(typeof e!="object"||e===null||wt in e)return e;const t=hn(e);if(t!==Or&&t!==Rr)return e;var n=new Map,r=Sr(e),i=fe(0),s=Fe,l=a=>{if(Fe===s)return a();var f=p,o=Fe;U(null),nr(s);var u=a();return U(f),nr(o),u};return r&&n.set("length",fe(e.length)),new Proxy(e,{defineProperty(a,f,o){(!("value"in o)||o.configurable===!1||o.enumerable===!1||o.writable===!1)&&Jr();var u=n.get(f);return u===void 0?l(()=>{var d=fe(o.value);return n.set(f,d),d}):G(u,o.value,!0),!0},deleteProperty(a,f){var o=n.get(f);if(o===void 0){if(f in a){const u=l(()=>fe(j));n.set(f,u),ot(i)}}else G(o,j),ot(i);return!0},get(a,f,o){if(f===wt)return e;var u=n.get(f),d=f in a;if(u===void 0&&(!d||Re(a,f)?.writable)&&(u=l(()=>{var h=Ze(d?a[f]:j),v=fe(h);return v}),n.set(f,u)),u!==void 0){var c=D(u);return c===j?void 0:c}return Reflect.get(a,f,o)},getOwnPropertyDescriptor(a,f){var o=Reflect.getOwnPropertyDescriptor(a,f);if(o&&"value"in o){var u=n.get(f);u&&(o.value=D(u))}else if(o===void 0){var d=n.get(f),c=d?.v;if(d!==void 0&&c!==j)return{enumerable:!0,configurable:!0,value:c,writable:!0}}return o},has(a,f){if(f===wt)return!0;var o=n.get(f),u=o!==void 0&&o.v!==j||Reflect.has(a,f);if(o!==void 0||b!==null&&(!u||Re(a,f)?.writable)){o===void 0&&(o=l(()=>{var c=u?Ze(a[f]):j,h=fe(c);return h}),n.set(f,o));var d=D(o);if(d===j)return!1}return u},set(a,f,o,u){var d=n.get(f),c=f in a;if(r&&f==="length")for(var h=o;h<d.v;h+=1){var v=n.get(h+"");v!==void 0?G(v,j):h in a&&(v=l(()=>fe(j)),n.set(h+"",v))}if(d===void 0)(!c||Re(a,f)?.writable)&&(d=l(()=>fe(void 0)),G(d,Ze(o)),n.set(f,d));else{c=d.v!==j;var w=l(()=>Ze(o));G(d,w)}var E=Reflect.getOwnPropertyDescriptor(a,f);if(E?.set&&E.set.call(u,o),!c){if(r&&typeof f=="string"){var F=n.get("length"),x=Number(f);Number.isInteger(x)&&x>=F.v&&G(F,x+1)}ot(i)}return!0},ownKeys(a){D(i);var f=Reflect.ownKeys(a).filter(d=>{var c=n.get(d);return c===void 0||c.v!==j});for(var[o,u]of n)u.v!==j&&!(o in a)&&f.push(o);return f},setPrototypeOf(){zr()}})}var qn,Un,Hn,Yn;function Yt(){if(qn===void 0){qn=window,Un=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;Hn=Re(t,"firstChild").get,Yn=Re(t,"nextSibling").get,vn(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),vn(n)&&(n.__t=void 0)}}function ue(e=""){return document.createTextNode(e)}function Qe(e){return Hn.call(e)}function ge(e){return Yn.call(e)}function M(e,t){if(!y)return Qe(e);var n=Qe($);return n===null&&(n=$.appendChild(ue())),re(n),n}function bi(e,t=!1){if(!y){var n=Qe(e);return n instanceof Comment&&n.data===""?ge(n):n}if(t){if($?.nodeType!==yt){var r=ue();return $?.before(r),re(r),r}Jt($)}return $}function V(e,t=1,n=!1){let r=y?$:e;for(var i;t--;)i=r,r=ge(r);if(!y)return r;if(n){if(r?.nodeType!==yt){var s=ue();return r===null?i?.after(s):r.before(s),re(s),s}Jt(r)}return re(r),r}function wi(e){e.textContent=""}function yi(){return!1}function Vt(e,t,n){return document.createElementNS(dn,e,void 0)}function Jt(e){if(e.nodeValue.length<65536)return;let t=e.nextSibling;for(;t!==null&&t.nodeType===yt;)t.remove(),e.nodeValue+=t.nodeValue,t=e.nextSibling}function zt(e){var t=p,n=b;U(null),K(null);try{return e()}finally{U(t),K(n)}}function $i(e){b===null&&(p===null&&Ur(),qr()),Ce&&Br()}function Ei(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function ce(e,t){var n=b;n!==null&&(n.f&oe)!==0&&(e|=oe);var r={ctx:W,deps:null,nodes:null,f:e|B|z,first:null,fn:t,last:null,next:null,parent:n,b:n&&n.b,prev:null,teardown:null,wv:0,ac:null},i=r;if((e&We)!==0)Xe!==null?Xe.push(r):_e.ensure().schedule(r);else if(t!==null){try{et(r)}catch(l){throw q(r),l}i.deps===null&&i.teardown===null&&i.nodes===null&&i.first===i.last&&(i.f&De)===0&&(i=i.first,(e&ye)!==0&&(e&Ge)!==0&&i!==null&&(i.f|=Ge))}if(i!==null&&(i.parent=n,n!==null&&Ei(i,n),p!==null&&(p.f&L)!==0&&(e&$e)===0)){var s=p;(s.effects??=[]).push(i)}return r}function Wt(){return p!==null&&!se}function Vn(e){const t=ce(bt,null);return A(t,O),t.teardown=e,t}function ki(e){$i();var t=b.f,n=!p&&(t&le)!==0&&(t&Ee)===0;if(n){var r=W;(r.e??=[]).push(e)}else return Jn(e)}function Jn(e){return ce(We|Mr,e)}function Ti(e){_e.ensure();const t=ce($e|De,e);return()=>{q(t)}}function Ni(e){_e.ensure();const t=ce($e|De,e);return(n={})=>new Promise(r=>{n.outro?ft(t,()=>{q(t),r(void 0)}):(q(t),r(void 0))})}function Si(e){return ce(We,e)}function xi(e){return ce(Mt|De,e)}function zn(e,t=0){return ce(bt|t,e)}function m(e,t=[],n=[],r=[]){ui(r,t,n,i=>{ce(bt,()=>e(...i.map(D)))})}function Wn(e,t=0){var n=ce(ye|t,e);return n}function me(e){return ce(le|De,e)}function Gn(e){var t=e.teardown;if(t!==null){const n=Ce,r=p;er(!0),U(null);try{t.call(null)}finally{er(n),U(r)}}}function Gt(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){const i=n.ac;i!==null&&zt(()=>{i.abort(ve)});var r=n.next;(n.f&$e)!==0?n.parent=null:q(n,t),n=r}}function Ci(e){for(var t=e.first;t!==null;){var n=t.next;(t.f&le)===0&&q(t),t=n}}function q(e,t=!0){var n=!1;(t||(e.f&Pr)!==0)&&e.nodes!==null&&e.nodes.end!==null&&(Ai(e.nodes.start,e.nodes.end),n=!0),A(e,gn),Gt(e,t&&!n),ct(e,0);var r=e.nodes&&e.nodes.t;if(r!==null)for(const s of r)s.stop();Gn(e),e.f^=gn,e.f|=ne;var i=e.parent;i!==null&&i.first!==null&&Kn(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes=e.ac=e.b=null}function Ai(e,t){for(;e!==null;){var n=e===t?null:ge(e);e.remove(),e=n}}function Kn(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 ft(e,t,n=!0){var r=[];Xn(e,r,!0);var i=()=>{n&&q(e),t&&t()},s=r.length;if(s>0){var l=()=>--s||i();for(var a of r)a.out(l)}else i()}function Xn(e,t,n){if((e.f&oe)===0){e.f^=oe;var r=e.nodes&&e.nodes.t;if(r!==null)for(const a of r)(a.is_global||n)&&t.push(a);for(var i=e.first;i!==null;){var s=i.next,l=(i.f&Ge)!==0||(i.f&le)!==0&&(e.f&ye)!==0;Xn(i,t,l?n:!1),i=s}}}function Oi(e){Zn(e,!0)}function Zn(e,t){if((e.f&oe)!==0){e.f^=oe,(e.f&O)===0&&(A(e,B),_e.ensure().schedule(e));for(var n=e.first;n!==null;){var r=n.next,i=(n.f&Ge)!==0||(n.f&le)!==0;Zn(n,i?t:!1),n=r}var s=e.nodes&&e.nodes.t;if(s!==null)for(const l of s)(l.is_global||t)&&l.in()}}function Qn(e,t){if(e.nodes)for(var n=e.nodes.start,r=e.nodes.end;n!==null;){var i=n===r?null:ge(n);t.append(n),n=i}}let Ct=!1,Ce=!1;function er(e){Ce=e}let p=null,se=!1;function U(e){p=e}let b=null;function K(e){b=e}let X=null;function Ri(e){p!==null&&(X===null?X=[e]:X.push(e))}let H=null,J=0,Z=null;function Di(e){Z=e}let tr=1,Ie=0,Fe=Ie;function nr(e){Fe=e}function rr(){return++tr}function ut(e){var t=e.f;if((t&B)!==0)return!0;if(t&L&&(e.f&=~Le),(t&ae)!==0){for(var n=e.deps,r=n.length,i=0;i<r;i++){var s=n[i];if(ut(s)&&In(s),s.wv>e.wv)return!0}(t&z)!==0&&ie===null&&A(e,O)}return!1}function ir(e,t,n=!0){var r=e.reactions;if(r!==null&&!(X!==null&&ze.call(X,e)))for(var i=0;i<r.length;i++){var s=r[i];(s.f&L)!==0?ir(s,t,!1):t===s&&(n?A(s,B):(s.f&O)!==0&&A(s,ae),Bt(s))}}function sr(e){var t=H,n=J,r=Z,i=p,s=X,l=W,a=se,f=Fe,o=e.f;H=null,J=0,Z=null,p=(o&(le|$e))===0?e:null,X=null,Ke(e.ctx),se=!1,Fe=++Ie,e.ac!==null&&(zt(()=>{e.ac.abort(ve)}),e.ac=null);try{e.f|=Pt;var u=e.fn,d=u();e.f|=Ee;var c=e.deps,h=T?.is_fork;if(H!==null){var v;if(h||ct(e,J),c!==null&&J>0)for(c.length=J+H.length,v=0;v<H.length;v++)c[J+v]=H[v];else e.deps=c=H;if(Wt()&&(e.f&z)!==0)for(v=J;v<c.length;v++)(c[v].reactions??=[]).push(e)}else!h&&c!==null&&J<c.length&&(ct(e,J),c.length=J);if(Tn()&&Z!==null&&!se&&c!==null&&(e.f&(L|ae|B))===0)for(v=0;v<Z.length;v++)ir(Z[v],e);if(i!==null&&i!==e){if(Ie++,i.deps!==null)for(let w=0;w<n;w+=1)i.deps[w].rv=Ie;if(t!==null)for(const w of t)w.rv=Ie;Z!==null&&(r===null?r=Z:r.push(...Z))}return(e.f&ke)!==0&&(e.f^=ke),d}catch(w){return Sn(w)}finally{e.f^=Pt,H=t,J=n,Z=r,p=i,X=s,Ke(l),se=a,Fe=f}}function Li(e,t){let n=t.reactions;if(n!==null){var r=xr.call(n,e);if(r!==-1){var i=n.length-1;i===0?n=t.reactions=null:(n[r]=n[i],n.pop())}}if(n===null&&(t.f&L)!==0&&(H===null||!ze.call(H,t))){var s=t;(s.f&z)!==0&&(s.f^=z,s.f&=~Le),It(s),pi(s),ct(s,0)}}function ct(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)Li(e,n[r])}function et(e){var t=e.f;if((t&ne)===0){A(e,O);var n=b,r=Ct;b=e,Ct=!0;try{(t&(ye|pn))!==0?Ci(e):Gt(e),Gn(e);var i=sr(e);e.teardown=typeof i=="function"?i:null,e.wv=tr;var s;Nr&&ei&&(e.f&B)!==0&&e.deps}finally{Ct=r,b=n}}}function D(e){var t=e.f,n=(t&L)!==0;if(p!==null&&!se){var r=b!==null&&(b.f&ne)!==0;if(!r&&(X===null||!ze.call(X,e))){var i=p.deps;if((p.f&Pt)!==0)e.rv<Ie&&(e.rv=Ie,H===null&&i!==null&&i[J]===e?J++:H===null?H=[e]:H.push(e));else{(p.deps??=[]).push(e);var s=e.reactions;s===null?e.reactions=[p]:ze.call(s,p)||s.push(p)}}}if(Ce&&xe.has(e))return xe.get(e);if(n){var l=e;if(Ce){var a=l.v;return((l.f&O)===0&&l.reactions!==null||ar(l))&&(a=Ut(l)),xe.set(l,a),a}var f=(l.f&z)===0&&!se&&p!==null&&(Ct||(p.f&z)!==0),o=(l.f&Ee)===0;ut(l)&&(f&&(l.f|=z),In(l)),f&&!o&&(Fn(l),lr(l))}if(ie?.has(e))return ie.get(e);if((e.f&ke)!==0)throw e.v;return e.v}function lr(e){if(e.f|=z,e.deps!==null)for(const t of e.deps)(t.reactions??=[]).push(e),(t.f&L)!==0&&(t.f&z)===0&&(Fn(t),lr(t))}function ar(e){if(e.v===j)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(xe.has(t)||(t.f&L)!==0&&ar(t))return!0;return!1}function or(e){var t=se;try{return se=!0,e()}finally{se=t}}const At=Symbol("events"),Pi=new Set,fr=new Set;function Mi(e,t,n,r={}){function i(s){if(r.capture||Kt.call(t,s),!s.cancelBubble)return zt(()=>n?.call(this,s))}return e.startsWith("pointer")||e.startsWith("touch")||e==="wheel"?Me(()=>{t.addEventListener(e,i,r)}):t.addEventListener(e,i,r),i}function be(e,t,n,r,i){var s={capture:r,passive:i},l=Mi(e,t,n,s);(t===document.body||t===window||t===document||t instanceof HTMLMediaElement)&&Vn(()=>{t.removeEventListener(e,l,s)})}let ur=null;function Kt(e){var t=this,n=t.ownerDocument,r=e.type,i=e.composedPath?.()||[],s=i[0]||e.target;ur=e;var l=0,a=ur===e&&e[At];if(a){var f=i.indexOf(a);if(f!==-1&&(t===document||t===window)){e[At]=t;return}var o=i.indexOf(t);if(o===-1)return;f<=o&&(l=f)}if(s=i[l]||e.target,s!==t){mt(e,"currentTarget",{configurable:!0,get(){return s||n}});var u=p,d=b;U(null),K(null);try{for(var c,h=[];s!==null;){var v=s.assignedSlot||s.parentNode||s.host||null;try{var w=s[At]?.[r];w!=null&&(!s.disabled||e.target===s)&&w.call(s,e)}catch(E){c?h.push(E):c=E}if(e.cancelBubble||v===t||v===null)break;s=v}if(c){for(let E of h)queueMicrotask(()=>{throw E});throw c}}finally{e[At]=t,delete e.currentTarget,U(u),K(d)}}}const Ii=globalThis?.window?.trustedTypes&&globalThis.window.trustedTypes.createPolicy("svelte-trusted-html",{createHTML:e=>e});function Fi(e){return Ii?.createHTML(e)??e}function ji(e){var t=Vt("template");return t.innerHTML=Fi(e.replaceAll("<!>","<!---->")),t.content}function Ae(e,t){var n=b;n.nodes===null&&(n.nodes={start:e,end:t,a:null,t:null})}function tt(e,t){var n=(t&kr)!==0,r=(t&Tr)!==0,i,s=!e.startsWith("<!>");return()=>{if(y)return Ae($,null),$;i===void 0&&(i=ji(s?e:"<!>"+e),n||(i=Qe(i)));var l=r||Un?document.importNode(i,!0):i.cloneNode(!0);if(n){var a=Qe(l),f=l.lastChild;Ae(a,f)}else Ae(l,l);return l}}function Ot(e=""){if(!y){var t=ue(e+"");return Ae(t,t),t}var n=$;return n.nodeType!==yt?(n.before(n=ue()),re(n)):Jt(n),Ae(n,n),n}function Bi(){if(y)return Ae($,null),$;var e=document.createDocumentFragment(),t=document.createComment(""),n=ue();return e.append(t,n),Ae(t,n),e}function Q(e,t){if(y){var n=b;((n.f&Ee)===0||n.nodes.end===null)&&(n.nodes.end=$),kt();return}e!==null&&e.before(t)}const qi=["touchstart","touchmove"];function Ui(e){return qi.includes(e)}function cr(e,t){var n=t==null?"":typeof t=="object"?`${t}`:t;n!==(e.__t??=e.nodeValue)&&(e.__t=n,e.nodeValue=`${n}`)}function dr(e,t){return hr(e,t)}function Hi(e,t){Yt(),t.intro=t.intro??!1;const n=t.target,r=y,i=$;try{for(var s=Qe(n);s&&(s.nodeType!==$t||s.data!==on);)s=ge(s);if(!s)throw Je;Te(!0),re(s);const l=hr(e,{...t,anchor:s});return Te(!1),l}catch(l){if(l instanceof Error&&l.message.split(`
|
|
2
|
+
`).some(a=>a.startsWith("https://svelte.dev/e/")))throw l;return l!==Je&&console.warn("Failed to hydrate: ",l),t.recover===!1&&Yr(),Yt(),wi(n),Te(!1),dr(e,t)}finally{Te(r),re(i)}}const Rt=new Map;function hr(e,{target:t,anchor:n,props:r={},events:i,context:s,intro:l=!0,transformError:a}){Yt();var f=void 0,o=Ni(()=>{var u=n??t.appendChild(ue());oi(u,{pending:()=>{}},h=>{En({});var v=W;if(s&&(v.c=s),i&&(r.$$events=i),y&&Ae(h,null),f=e(h,r)||{},y&&(b.nodes.end=$,$===null||$.nodeType!==$t||$.data!==cn))throw Et(),Je;kn()},a);var d=new Set,c=h=>{for(var v=0;v<h.length;v++){var w=h[v];if(!d.has(w)){d.add(w);var E=Ui(w);for(const k of[t,document]){var F=Rt.get(k);F===void 0&&(F=new Map,Rt.set(k,F));var x=F.get(w);x===void 0?(k.addEventListener(w,Kt,{passive:E}),F.set(w,1)):F.set(w,x+1)}}}};return c(Cr(Pi)),fr.add(c),()=>{for(var h of d)for(const E of[t,document]){var v=Rt.get(E),w=v.get(h);--w==0?(E.removeEventListener(h,Kt),v.delete(h),v.size===0&&Rt.delete(E)):v.set(h,w)}fr.delete(c),u!==n&&u.parentNode?.removeChild(u)}});return Xt.set(f,o),f}let Xt=new WeakMap;function Yi(e,t){const n=Xt.get(e);return n?(Xt.delete(e),n(t)):Promise.resolve()}class Vi{anchor;#e=new Map;#n=new Map;#t=new Map;#i=new Set;#s=!0;constructor(t,n=!0){this.anchor=t,this.#s=n}#r=t=>{if(this.#e.has(t)){var n=this.#e.get(t),r=this.#n.get(n);if(r)Oi(r),this.#i.delete(n);else{var i=this.#t.get(n);i&&(this.#n.set(n,i.effect),this.#t.delete(n),i.fragment.lastChild.remove(),this.anchor.before(i.fragment),r=i.effect)}for(const[s,l]of this.#e){if(this.#e.delete(s),s===t)break;const a=this.#t.get(l);a&&(q(a.effect),this.#t.delete(l))}for(const[s,l]of this.#n){if(s===n||this.#i.has(s))continue;const a=()=>{if(Array.from(this.#e.values()).includes(s)){var o=document.createDocumentFragment();Qn(l,o),o.append(ue()),this.#t.set(s,{effect:l,fragment:o})}else q(l);this.#i.delete(s),this.#n.delete(s)};this.#s||!r?(this.#i.add(s),ft(l,a,!1)):a()}}};#l=t=>{this.#e.delete(t);const n=Array.from(this.#e.values());for(const[r,i]of this.#t)n.includes(r)||(q(i.effect),this.#t.delete(r))};ensure(t,n){var r=T,i=yi();if(n&&!this.#n.has(t)&&!this.#t.has(t))if(i){var s=document.createDocumentFragment(),l=ue();s.append(l),this.#t.set(t,{effect:me(()=>n(l)),fragment:s})}else this.#n.set(t,me(()=>n(this.anchor)));if(this.#e.set(r,t),i){for(const[a,f]of this.#n)a===t?r.unskip_effect(f):r.skip_effect(f);for(const[a,f]of this.#t)a===t?r.unskip_effect(f.effect):r.skip_effect(f.effect);r.oncommit(this.#r),r.ondiscard(this.#l)}else y&&(this.anchor=$),this.#r(r)}}function je(e,t,n=!1){var r;y&&(r=$,kt());var i=new Vi(e),s=n?Ge:0;function l(a,f){if(y){var o=Zr(r);if(a!==parseInt(o.substring(1))){var u=wn();re(u),i.anchor=u,Te(!1),i.ensure(a,f),Te(!0);return}}i.ensure(a,f)}Wn(()=>{var a=!1;t((f,o=0)=>{a=!0,l(o,f)}),a||l(-1,null)},s)}function nt(e,t,n,r,i){y&&kt();var s=t.$$slots?.[n],l=!1;s===!0&&(s=t[n==="default"?"children":n],l=!0),s===void 0?i!==null&&i(e):s(e,l?()=>r:r)}function Ji(e,t){Si(()=>{var n=e.getRootNode(),r=n.host?n:n.head??n.ownerDocument.head;if(!r.querySelector("#"+t.hash)){const i=Vt("style");i.id=t.hash,i.textContent=t.code,r.appendChild(i)}})}function zi(e,t,n){var r=""+e;return r}function Wi(e,t){return e==null?null:String(e)}function Gi(e,t,n,r,i,s){var l=e.__className;if(y||l!==n||l===void 0){var a=zi(n);(!y||a!==e.getAttribute("class"))&&(a==null?e.removeAttribute("class"):e.className=a),e.__className=n}return s}function rt(e,t,n,r){var i=e.__style;if(y||i!==t){var s=Wi(t);(!y||s!==e.getAttribute("style"))&&(s==null?e.removeAttribute("style"):e.style.cssText=s),e.__style=t}return r}const Ki=Symbol("is custom element"),Xi=Symbol("is html"),Zi=Fr?"link":"LINK";function Zt(e,t,n,r){var i=Qi(e);y&&(i[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName===Zi)||i[t]!==(i[t]=n)&&(t==="loading"&&(e[Ir]=n),n==null?e.removeAttribute(t):typeof n!="string"&&vr(e).includes(t)?e[t]=n:e.setAttribute(t,n))}function g(e,t,n){var r=p,i=b;let s=y;y&&Te(!1),U(null),K(null);try{t!=="style"&&(Qt.has(e.getAttribute("is")||e.nodeName)||!customElements||customElements.get(e.getAttribute("is")||e.nodeName.toLowerCase())?vr(e).includes(t):n&&typeof n=="object")?e[t]=n:Zt(e,t,n==null?n:String(n))}finally{U(r),K(i),s&&Te(!0)}}function Qi(e){return e.__attributes??={[Ki]:e.nodeName.includes("-"),[Xi]:e.namespaceURI===dn}}var Qt=new Map;function vr(e){var t=e.getAttribute("is")||e.nodeName,n=Qt.get(t);if(n)return n;Qt.set(t,n=[]);for(var r,i=e,s=Element.prototype;s!==i;){r=Ar(i);for(var l in r)r[l].set&&n.push(l);i=hn(i)}return n}function I(e,t,n,r){var i=(n&$r)!==0,s=(n&Er)!==0,l=r,a=!0,f=()=>(a&&(a=!1,l=s?or(r):r),l);let o;if(i){var u=wt in e||bn in e;o=Re(e,t)?.set??(u&&t in e?x=>e[t]=x:void 0)}var d,c=!1;i?[d,c]=ri(()=>e[t]):d=e[t],d===void 0&&r!==void 0&&(d=f(),o&&(Vr(),o(d)));var h;if(h=()=>{var x=e[t];return x===void 0?f():(a=!0,x)},(n&yr)===0)return h;if(o){var v=e.$$legacy;return(function(x,k){return arguments.length>0?((!k||v||c)&&o(k?h():x),x):h()})}var w=!1,E=((n&wr)!==0?qt:hi)(()=>(w=!1,h()));i&&D(E);var F=b;return(function(x,k){if(arguments.length>0){const de=k?D(E):i?Ze(x):x;return G(E,de),w=!0,l!==void 0&&(l=de),x}return Ce&&w||(F.f&ne)!==0?E.v:D(E)})}function es(e){return new ts(e)}class ts{#e;#n;constructor(t){var n=new Map,r=(s,l)=>{var a=gi(l,!1,!1);return n.set(s,a),a};const i=new Proxy({...t.props||{},$$events:{}},{get(s,l){return D(n.get(l)??r(l,Reflect.get(s,l)))},has(s,l){return l===bn?!0:(D(n.get(l)??r(l,Reflect.get(s,l))),Reflect.has(s,l))},set(s,l,a){return G(n.get(l)??r(l,a),a),Reflect.set(s,l,a)}});this.#n=(t.hydrate?Hi:dr)(t.component,{target:t.target,anchor:t.anchor,props:i,context:t.context,intro:t.intro??!1,recover:t.recover,transformError:t.transformError}),(!t?.props?.$$host||t.sync===!1)&&R(),this.#e=i.$$events;for(const s of Object.keys(this.#n))s==="$set"||s==="$destroy"||s==="$on"||mt(this,s,{get(){return this.#n[s]},set(l){this.#n[s]=l},enumerable:!0});this.#n.$set=s=>{Object.assign(i,s)},this.#n.$destroy=()=>{Yi(this.#n)}}$set(t){this.#n.$set(t)}$on(t,n){this.#e[t]=this.#e[t]||[];const r=(...i)=>n.call(this,...i);return this.#e[t].push(r),()=>{this.#e[t]=this.#e[t].filter(i=>i!==r)}}$destroy(){this.#n.$destroy()}}let _r;typeof HTMLElement=="function"&&(_r=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;$$shadowRoot=null;constructor(e,t,n){super(),this.$$ctor=e,this.$$s=t,n&&(this.$$shadowRoot=this.attachShadow(n))}addEventListener(e,t,n){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(t),this.$$c){const r=this.$$c.$on(e,t);this.$$l_u.set(t,r)}super.addEventListener(e,t,n)}removeEventListener(e,t,n){if(super.removeEventListener(e,t,n),this.$$c){const r=this.$$l_u.get(t);r&&(r(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let e=function(r){return i=>{const s=Vt("slot");r!=="default"&&(s.name=r),Q(i,s)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},n=ns(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]=Dt(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=es({component:this.$$ctor,target:this.$$shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=Ti(()=>{zn(()=>{this.$$r=!0;for(const r of gt(this.$$c)){if(!this.$$p_d[r]?.reflect)continue;this.$$d[r]=this.$$c[r];const i=Dt(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]=Dt(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 gt(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function Dt(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 ns(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}function rs(e,t,n,r,i,s){let l=class extends _r{constructor(){super(e,n,i),this.$$p_d=t}static get observedAttributes(){return gt(t).map(a=>(t[a].attribute||a).toLowerCase())}};return gt(t).forEach(a=>{mt(l.prototype,a,{get(){return this.$$c&&a in this.$$c?this.$$c[a]:this.$$d[a]},set(f){f=Dt(a,f,t),this.$$d[a]=f;var o=this.$$c;if(o){var u=Re(o,a)?.get;u?o[a]=f:o.$set({[a]:f})}}})}),r.forEach(a=>{mt(l.prototype,a,{get(){return this.$$c?.[a]}})}),e.element=l,l}const dt={version:"0.66.1"};var Be={},pr;function is(){if(pr)return Be;pr=1,Object.defineProperty(Be,"__esModule",{value:!0}),Be.LanguageTranslator=void 0,Be.getChildStyleToPass=e,Be.addComponent=t;function e(r,i){var s,l,a="";try{if(r&&i?.length&&(!((s=Object.keys(r))===null||s===void 0)&&s.length)&&(!((l=i?.filter(function(c){return Object.keys(r).includes(c.name)}))===null||l===void 0)&&l.length))for(var f=function(c){var h=i?.filter(function(v){return v.name===c&&v.defaultValue!==r[c]});h&&(a+="".concat(c,":").concat(r[c],";"))},o=0,u=Object.keys(r);o<u.length;o++){var d=u[o];f(d)}}catch(c){console.error("error getting child style to pass",c)}finally{return a}}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 l=r?.iifePath||"main.iife.js";if(!document.getElementById(s+"-script"))try{var a=document.createElement("script");if(a.id=s+"-script",a.src="https://cdn.jsdelivr.net/npm/".concat(r.repoName,"@").concat(r.version,"/").concat(l),r?.local)a.src="".concat(r.local);else if(location.href.includes("localhost:6006")){var f=s.split("-")[0];a.src="http://localhost:6006/webcomponents/".concat(s.replace(f+"-",""),"/").concat(l)}document.head.appendChild(a)}catch(o){console.warn(o)}}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,l){return r.formatDate(i,s,l||this.lang)},r.getDefaultLang=function(){var i,s,l,a="en";return navigator?.languages&&(!((l=(s=(i=navigator.languages[0])===null||i===void 0?void 0:i.split("-")[0])===null||s===void 0?void 0:s.toLowerCase())===null||l===void 0)&&l.length)&&(a=navigator.languages[0].split("-")[0].toLowerCase()),a},r.getDictionaryWord=function(i,s,l){var a;if(!i)throw new Error("no wordKey provided");if(!s)throw new Error("no dictionary provided");if(l&&(!((a=s[l])===null||a===void 0)&&a[i]))return s[l][i];var f="",o=r.getDefaultLang();if(!l||o!==l){var u=s?.[o];u?.[i]&&(f=u[i])}return f},r.formatDate=function(i,s,l){if(!i)throw new Error("no date provided");if(typeof i.getMonth!="function")throw new Error("wrong date format");var a=new Intl.DateTimeFormat(l||r.getDefaultLang(),s);return a.format(i)},r})();return Be.LanguageTranslator=n,Be}var ht=is(),ss=tt('<img alt="" style="max-height: 31px;vertical-align: middle;"/>'),ls=tt("<hb-cookie-law-banner></hb-cookie-law-banner>",2),as=tt('<div id="desktop" class="svelte-164n5cr"><hb-navbar><span slot="left-slot"><!> <!></span> <span slot="center-slot"><!></span> <span slot="right-slot"><!></span></hb-navbar> <div id="layout_container" style="grid-template-columns: 240px auto;" class="svelte-164n5cr"><div id="layout_sidebar" class="svelte-164n5cr"><div id="inner_sidebar" class="svelte-164n5cr"><hb-sidebar-desktop></hb-sidebar-desktop></div></div> <div part="container"><div part="page" id="page" class="svelte-164n5cr"><!></div> <!> <hb-footer></hb-footer></div></div></div>',2),os=tt('<img alt="" style="max-height: 31px;vertical-align: middle;"/>'),fs=tt("<hb-cookie-law-banner></hb-cookie-law-banner>",2),us=tt('<div id="desktop_without_sidebar" class="svelte-164n5cr"><hb-navbar><span slot="left-slot"><!> <!></span> <span slot="center-slot"><!></span> <span slot="right-slot"><!></span></hb-navbar> <div><div part="container"><div part="page" id="page" class="svelte-164n5cr"><!></div> <!> <hb-footer></hb-footer></div></div></div>',2);const cs={hash:"svelte-164n5cr",code:`@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");
|
|
3
|
+
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css");:host {font-family:"Roboto", sans-serif;}#page.svelte-164n5cr {min-height:100%;}#desktop_without_sidebar.svelte-164n5cr {min-height:100vh;}#desktop.svelte-164n5cr {min-height:100vh;display:grid;grid-template-rows:max-content auto;}#layout_container.svelte-164n5cr {display:grid;}#layout_sidebar.svelte-164n5cr {width:240px;grid-row-start:1;grid-row-end:1;display:flex;position:relative;}#inner_sidebar.svelte-164n5cr {position:absolute;height:100%;}hb-sidebar-desktop.svelte-164n5cr {height:100%;}`};function gr(e,t){En(t,!0),Ji(e,cs);let n=I(t,"id",7,""),r=I(t,"footer",23,()=>({type:"auto",disable_expanding_small:!1})),i=I(t,"cookielawuri4more",7,""),s=I(t,"cookielawallowdecline",7,!1),l=I(t,"cookielawlanguage",7,""),a=I(t,"pagename",7,void 0),f=I(t,"cookielaw",7,void 0),o=I(t,"onescreen",7,void 0),u=I(t,"sidebar",7,void 0),d=I(t,"socials",7,void 0),c=I(t,"navlinks",7,void 0),h=I(t,"contacts",7,void 0),v=I(t,"columns",7,void 0),w=I(t,"usermenu",7,void 0),E=I(t,"i18nlang",7,void 0),F=I(t,"page_title",7,void 0),x=I(t,"policies",7,void 0),k=I(t,"company",7,void 0),de=fe(!0),en=fe("");ki(()=>{D(de)!==!0&&D(de)!==!1&&G(de,!0),typeof r()=="string"&&r(JSON.parse(r())),r().type||(r().type="auto"),typeof o()=="string"?o()!=="no"?o(!0):o(!1):o()||o(!1),u()?typeof u()=="string"&&u(JSON.parse(u())):u({}),k()?typeof k()=="string"&&k(JSON.parse(k())):k(null),G(en,o()?"display: flex;flex-direction: column; height: calc(100vh - 50px);":"display:block;",!0)});function Oe(_,we){t.$$host.dispatchEvent(new CustomEvent(_,{detail:we}))}ht.addComponent({repoName:"@htmlbricks/hb-footer",version:dt.version}),ht.addComponent({repoName:"@htmlbricks/hb-offcanvas",version:dt.version}),ht.addComponent({repoName:"@htmlbricks/hb-navbar",version:dt.version}),ht.addComponent({repoName:"@htmlbricks/hb-cookie-law-banner",version:dt.version}),ht.addComponent({repoName:"@htmlbricks/hb-sidebar-desktop",version:dt.version});function mr(_){console.log("burgerclick",_),G(de,_.isOpen,!0),Oe("offcanvasswitch",_)}var ds={get id(){return n()},set id(_=""){n(_),R()},get footer(){return r()},set footer(_={type:"auto",disable_expanding_small:!1}){r(_),R()},get cookielawuri4more(){return i()},set cookielawuri4more(_=""){i(_),R()},get cookielawallowdecline(){return s()},set cookielawallowdecline(_=!1){s(_),R()},get cookielawlanguage(){return l()},set cookielawlanguage(_=""){l(_),R()},get pagename(){return a()},set pagename(_=void 0){a(_),R()},get cookielaw(){return f()},set cookielaw(_=void 0){f(_),R()},get onescreen(){return o()},set onescreen(_=void 0){o(_),R()},get sidebar(){return u()},set sidebar(_=void 0){u(_),R()},get socials(){return d()},set socials(_=void 0){d(_),R()},get navlinks(){return c()},set navlinks(_=void 0){c(_),R()},get contacts(){return h()},set contacts(_=void 0){h(_),R()},get columns(){return v()},set columns(_=void 0){v(_),R()},get usermenu(){return w()},set usermenu(_=void 0){w(_),R()},get i18nlang(){return E()},set i18nlang(_=void 0){E(_),R()},get page_title(){return F()},set page_title(_=void 0){F(_),R()},get policies(){return x()},set policies(_=void 0){x(_),R()},get company(){return k()},set company(_=void 0){k(_),R()}},br=Bi(),hs=bi(br);{var vs=_=>{var we=as(),N=M(we);g(N,"id","navbar"),g(N,"part","navbar"),m(()=>g(N,"noburger",c()?.length?"":"no")),m(()=>g(N,"companybrandname",F()||k()?.siteName||"")),m(()=>g(N,"usermenu",w()||"")),m(()=>g(N,"switchopen",D(de)?"yes":"no"));var qe=M(N),vt=M(qe);{var tn=C=>{var te=ss();m(()=>Zt(te,"src",k().logoUri)),Q(C,te)};je(vt,C=>{k()?.logoUri&&C(tn)})}var nn=V(vt,2);{var rn=C=>{var te=Ot();m(()=>cr(te,u().title)),Q(C,te)};je(nn,C=>{u()?.title&&C(rn)})}P(qe);var Ue=V(qe,2),sn=M(Ue);nt(sn,t,"nav-center-slot",{},null),P(Ue);var _t=V(Ue,2),ln=M(_t);nt(ln,t,"nav-right-slot",{},null),P(_t),P(N);var pt=V(N,2),He=M(pt),Ye=M(He),Ve=M(Ye);g(Ve,"id","sidebarcontainer"),m(()=>g(Ve,"navlinks",c()||"[]")),m(()=>g(Ve,"navpage",a()||"")),Gi(Ve,1,"svelte-164n5cr"),P(Ye),P(He);var it=V(He,2),st=M(it),ee=M(st);nt(ee,t,"page",{},C=>{var te=Ot("page");Q(C,te)}),P(st);var S=V(st,2);{var Y=C=>{var te=ls();m(()=>g(te,"language",l()||E())),m(()=>g(te,"allowdecline",s())),m(()=>g(te,"cookielawuri4more",i())),Q(C,te)};je(S,C=>{(f()||s()||l()||i())&&C(Y)})}var he=V(S,2);m(()=>g(he,"policies",x())),m(()=>g(he,"type",r().type==="auto"?o()?"small":"regular":r().type)),m(()=>g(he,"disable_expanding_small",r().disable_expanding_small?"yes":"no")),g(he,"part","footer"),m(()=>g(he,"socials",d()?JSON.stringify(d()):"")),m(()=>g(he,"contacts",h()?JSON.stringify(h()):"")),rt(he,"display:block;"),m(()=>g(he,"company",k()?JSON.stringify(k()):"")),m(()=>g(he,"columns",v()||"")),P(it),P(pt),P(we),m(()=>{rt(it,D(en)),rt(st,o()?"flex: 2":"")}),be("navmenuswitch",N,C=>mr(C.detail)),be("navbarDropDownClick",N,C=>Oe("navbarDropDownClick",C.detail)),be("navbarSlotClick",N,C=>Oe("navbarSlotClick",C.detail)),be("pageChange",Ve,C=>Oe("pageChange",C.detail)),be("footerClick",he,C=>Oe("footerClick",C.detail)),Q(_,we)},_s=_=>{var we=us(),N=M(we);g(N,"id","navbar"),g(N,"part","navbar"),m(()=>g(N,"noburger",c()?.length?"":"no")),m(()=>g(N,"companybrandname",F()||k()?.siteName||"")),m(()=>g(N,"usermenu",w()||"")),m(()=>g(N,"switchopen",D(de)?"yes":"no"));var qe=M(N),vt=M(qe);{var tn=S=>{var Y=os();m(()=>Zt(Y,"src",k().logoUri)),Q(S,Y)};je(vt,S=>{k()?.logoUri&&S(tn)})}var nn=V(vt,2);{var rn=S=>{var Y=Ot();m(()=>cr(Y,u().title)),Q(S,Y)};je(nn,S=>{u()?.title&&S(rn)})}P(qe);var Ue=V(qe,2),sn=M(Ue);nt(sn,t,"nav-center-slot",{},null),P(Ue);var _t=V(Ue,2),ln=M(_t);nt(ln,t,"nav-right-slot",{},null),P(_t),P(N);var pt=V(N,2),He=M(pt),Ye=M(He),Ve=M(Ye);nt(Ve,t,"page",{},S=>{var Y=Ot("page");Q(S,Y)}),P(Ye);var it=V(Ye,2);{var st=S=>{var Y=fs();m(()=>g(Y,"language",l()||E())),m(()=>g(Y,"allowdecline",s())),m(()=>g(Y,"cookielawuri4more",i())),Q(S,Y)};je(it,S=>{(f()||s()||l()||i())&&S(st)})}var ee=V(it,2);m(()=>g(ee,"policies",x())),m(()=>g(ee,"type",r().type==="auto"?o()?"small":"regular":r().type)),m(()=>g(ee,"disable_expanding_small",r().disable_expanding_small?"yes":"no")),g(ee,"part","footer"),m(()=>g(ee,"socials",d()?JSON.stringify(d()):"")),m(()=>g(ee,"contacts",h()?JSON.stringify(h()):"")),rt(ee,"display:block;"),m(()=>g(ee,"company",k()?JSON.stringify(k()):"")),m(()=>g(ee,"columns",v()||"")),P(He),P(pt),P(we),m(()=>{rt(He,D(en)),rt(Ye,o()?"flex: 2":"")}),be("navmenuswitch",N,S=>mr(S.detail)),be("navbarDropDownClick",N,S=>Oe("navbarDropDownClick",S.detail)),be("navbarSlotClick",N,S=>Oe("navbarSlotClick",S.detail)),be("footerClick",ee,S=>Oe("footerClick",S.detail)),Q(_,we)};je(hs,_=>{c()?.length&&D(de)===!0?_(vs):_(_s,-1)})}return Q(e,br),kn(ds)}customElements.define("hb-layout-desktop",rs(gr,{id:{},footer:{},cookielawuri4more:{},cookielawallowdecline:{},cookielawlanguage:{},pagename:{},cookielaw:{},onescreen:{},sidebar:{},socials:{},navlinks:{},contacts:{},columns:{},usermenu:{},i18nlang:{},page_title:{},policies:{},company:{}},["nav-center-slot","nav-right-slot","page"],[],{mode:"open"})),an.Component=gr,Object.defineProperty(an,Symbol.toStringTag,{value:"Module"})})(this["layout-desktop"]=this["layout-desktop"]||{});
|
|
4
4
|
//# sourceMappingURL=main.iife.js.map
|