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