@htmlbricks/hb-layout-mobile 0.65.23 → 0.66.0

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