@htmlbricks/hb-layout-desktop 0.64.0 → 0.65.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 CHANGED
@@ -1,4 +1,4 @@
1
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.64.0"};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");
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.1"};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
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 ar(e,t){pn(t,!0),Ci(e,zi);let n=R(t,"id",7,""),r=R(t,"footer",23,()=>({type:"auto",disable_expanding_small:!1})),i=R(t,"cookielawuri4more",7,""),s=R(t,"cookielawallowdecline",7,!1),a=R(t,"cookielawlanguage",7,""),l=R(t,"pagename",7,void 0),o=R(t,"cookielaw",7,void 0),f=R(t,"onescreen",7,void 0),c=R(t,"sidebar",7,void 0),h=R(t,"socials",7,void 0),u=R(t,"navlinks",7,void 0),d=R(t,"contacts",7,void 0),w=R(t,"columns",7,void 0),D=R(t,"usermenu",7,void 0),P=R(t,"i18nlang",7,void 0),we=R(t,"page_title",7,void 0),N=R(t,"policies",7,void 0),S=R(t,"company",7,void 0);Le({});let ht=q(""),lr=q(""),or=q(""),Gi=q(""),qe=q(!0),Zt=q("");li(()=>{E(qe)!==!0&&E(qe)!==!1&&Z(qe,!0),typeof r()=="string"&&r(JSON.parse(r())),r().type||(r().type="auto"),typeof f()=="string"?f()!=="no"?f(!0):f(!1):f()||f(!1),c()?typeof c()=="string"&&c(JSON.parse(c())):c({}),S()?typeof S()=="string"&&S(JSON.parse(S())):S(null),Z(Zt,f()?"display: flex;flex-direction: column; height: calc(100vh - 50px);":"display:block;",!0)});function Ne(v,ye){t.$$host.dispatchEvent(new CustomEvent(v,{detail:ye}))}dt.addComponent({repoName:"@htmlbricks/hb-footer",version:ct.version}),dt.addComponent({repoName:"@htmlbricks/hb-offcanvas",version:ct.version}),dt.addComponent({repoName:"@htmlbricks/hb-navbar",version:ct.version}),dt.addComponent({repoName:"@htmlbricks/hb-cookie-law-banner",version:ct.version}),dt.addComponent({repoName:"@htmlbricks/hb-sidebar-desktop",version:ct.version});function fr(v){console.log("burgerclick",v),Z(qe,v.isOpen,!0),Ne("offcanvasswitch",v)}var Ki={get id(){return n()},set id(v=""){n(v),C()},get footer(){return r()},set footer(v={type:"auto",disable_expanding_small:!1}){r(v),C()},get cookielawuri4more(){return i()},set cookielawuri4more(v=""){i(v),C()},get cookielawallowdecline(){return s()},set cookielawallowdecline(v=!1){s(v),C()},get cookielawlanguage(){return a()},set cookielawlanguage(v=""){a(v),C()},get pagename(){return l()},set pagename(v=void 0){l(v),C()},get cookielaw(){return o()},set cookielaw(v=void 0){o(v),C()},get onescreen(){return f()},set onescreen(v=void 0){f(v),C()},get sidebar(){return c()},set sidebar(v=void 0){c(v),C()},get socials(){return h()},set socials(v=void 0){h(v),C()},get navlinks(){return u()},set navlinks(v=void 0){u(v),C()},get contacts(){return d()},set contacts(v=void 0){d(v),C()},get columns(){return w()},set columns(v=void 0){w(v),C()},get usermenu(){return D()},set usermenu(v=void 0){D(v),C()},get i18nlang(){return P()},set i18nlang(v=void 0){P(v),C()},get page_title(){return we()},set page_title(v=void 0){we(v),C()},get policies(){return N()},set policies(v=void 0){N(v),C()},get company(){return S()},set company(v=void 0){S(v),C()}},ur=Ei(),Zi=ni(ur);{var Xi=v=>{var ye=Hi(),$=O(ye);_($,"id","navbar"),_($,"part","navbar"),p(()=>_($,"noburger",u()?.length?"":"no")),se($,E(lr)),p(()=>_($,"companybrandname",we()||S()?.siteName||"")),p(()=>_($,"usermenu",D()||"")),p(()=>_($,"switchopen",E(qe)?"yes":"no"));var Be=O($),vt=O(Be);{var Xt=T=>{var W=Ui();p(()=>Gt(W,"src",S().logoUri)),ee(T,W)};Fe(vt,T=>{S()?.logoUri&&T(Xt)})}var Qt=V(vt,2);{var en=T=>{var W=Rt();p(()=>er(W,c().title)),ee(T,W)};Fe(Qt,T=>{c()?.title&&T(en)})}A(Be);var Ue=V(Be,2),tn=O(Ue);Qe(tn,t,"nav-center-slot",{},null),A(Ue);var _t=V(Ue,2),nn=O(_t);Qe(nn,t,"nav-right-slot",{},null),A(_t),A($);var pt=V($,2),Ye=O(pt),He=O(Ye),Ce=O(He);_(Ce,"id","sidebarcontainer"),se(Ce,E(Gi)),p(()=>_(Ce,"navlinks",u()||"[]")),p(()=>_(Ce,"navpage",l()||"")),Ri(Ce,1,"svelte-164n5cr"),A(He),A(Ye);var et=V(Ye,2),tt=O(et),te=O(tt);Qe(te,t,"page",{},T=>{var W=Rt("page");ee(T,W)}),A(tt);var k=V(tt,2);{var U=T=>{var W=Yi();se(W,E(or)),p(()=>_(W,"language",a()||P())),p(()=>_(W,"allowdecline",s())),p(()=>_(W,"cookielawuri4more",i())),ee(T,W)};Fe(k,T=>{(o()||s()||a()||i())&&T(U)})}var ue=V(k,2);p(()=>_(ue,"policies",N())),p(()=>_(ue,"type",r().type==="auto"?f()?"small":"regular":r().type)),p(()=>_(ue,"disable_expanding_small",r().disable_expanding_small?"yes":"no")),_(ue,"part","footer"),p(()=>_(ue,"socials",h()?JSON.stringify(h()):"")),p(()=>_(ue,"contacts",d()?JSON.stringify(d()):"")),se(ue,`display:block;${E(ht)??""}`),p(()=>_(ue,"company",S()?JSON.stringify(S()):"")),p(()=>_(ue,"columns",w()||"")),A(et),A(pt),A(ye),p(()=>{se(et,E(Zt)),se(tt,f()?"flex: 2":"")}),be("navmenuswitch",$,T=>fr(T.detail)),be("navbarDropDownClick",$,T=>Ne("navbarDropDownClick",T.detail)),be("navbarSlotClick",$,T=>Ne("navbarSlotClick",T.detail)),be("pageChange",Ce,T=>Ne("pageChange",T.detail)),be("footerClick",ue,T=>Ne("footerClick",T.detail)),ee(v,ye)},Qi=v=>{var ye=Wi(),$=O(ye);_($,"id","navbar"),_($,"part","navbar"),p(()=>_($,"noburger",u()?.length?"":"no")),se($,E(lr)),p(()=>_($,"companybrandname",we()||S()?.siteName||"")),p(()=>_($,"usermenu",D()||"")),p(()=>_($,"switchopen",E(qe)?"yes":"no"));var Be=O($),vt=O(Be);{var Xt=k=>{var U=Vi();p(()=>Gt(U,"src",S().logoUri)),ee(k,U)};Fe(vt,k=>{S()?.logoUri&&k(Xt)})}var Qt=V(vt,2);{var en=k=>{var U=Rt();p(()=>er(U,c().title)),ee(k,U)};Fe(Qt,k=>{c()?.title&&k(en)})}A(Be);var Ue=V(Be,2),tn=O(Ue);Qe(tn,t,"nav-center-slot",{},null),A(Ue);var _t=V(Ue,2),nn=O(_t);Qe(nn,t,"nav-right-slot",{},null),A(_t),A($);var pt=V($,2),Ye=O(pt),He=O(Ye),Ce=O(He);Qe(Ce,t,"page",{},k=>{var U=Rt("page");ee(k,U)}),A(He);var et=V(He,2);{var tt=k=>{var U=Ji();se(U,E(or)),p(()=>_(U,"language",a()||P())),p(()=>_(U,"allowdecline",s())),p(()=>_(U,"cookielawuri4more",i())),ee(k,U)};Fe(et,k=>{(o()||s()||a()||i())&&k(tt)})}var te=V(et,2);p(()=>_(te,"policies",N())),p(()=>_(te,"type",r().type==="auto"?f()?"small":"regular":r().type)),p(()=>_(te,"disable_expanding_small",r().disable_expanding_small?"yes":"no")),_(te,"part","footer"),p(()=>_(te,"socials",h()?JSON.stringify(h()):"")),p(()=>_(te,"contacts",d()?JSON.stringify(d()):"")),se(te,`display:block;${E(ht)??""}`),p(()=>_(te,"company",S()?JSON.stringify(S()):"")),p(()=>_(te,"columns",w()||"")),A(Ye),A(pt),A(ye),p(()=>{se(Ye,E(Zt)),se(He,f()?"flex: 2":"")}),be("navmenuswitch",$,k=>fr(k.detail)),be("navbarDropDownClick",$,k=>Ne("navbarDropDownClick",k.detail)),be("navbarSlotClick",$,k=>Ne("navbarSlotClick",k.detail)),be("footerClick",te,k=>Ne("footerClick",k.detail)),ee(v,ye)};Fe(Zi,v=>{u()?.length&&E(qe)===!0?v(Xi):v(Qi,!1)})}return ee(e,ur),gn(Ki)}customElements.define("hb-layout-desktop",qi(ar,{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"],[],!0)),rn.Component=ar,Object.defineProperty(rn,Symbol.toStringTag,{value:"Module"})})(this["layout-desktop"]=this["layout-desktop"]||{});
4
4
  //# sourceMappingURL=main.iife.js.map
package/manifest.json CHANGED
@@ -870,5 +870,5 @@
870
870
  },
871
871
  "iifePath": "main.iife.js",
872
872
  "repoName": "@htmlbricks/hb-layout-desktop",
873
- "version": "0.64.0"
873
+ "version": "0.65.1"
874
874
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@htmlbricks/hb-layout-desktop",
3
- "version": "0.64.0",
3
+ "version": "0.65.1",
4
4
  "contributors": [],
5
5
  "description": "",
6
6
  "licenses": [