@htmlbricks/hb-site-paragraph-with-image 0.66.0 → 0.66.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/main.iife.js +3 -3
- package/main.iife.js.map +1 -1
- package/manifest.json +1 -1
- package/package.json +1 -1
package/main.iife.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
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;}
|
|
1
|
+
(function(Ht){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const er=2,Vt="[",Yt="[!",Ut="[?",Wt="]",Le={},A=Symbol(),Gt="http://www.w3.org/1999/xhtml",tr=!1;var nr=Array.isArray,rr=Array.prototype.indexOf,Me=Array.prototype.includes,ir=Array.from,lt=Object.keys,ot=Object.defineProperty,Pe=Object.getOwnPropertyDescriptor,sr=Object.getOwnPropertyDescriptors,lr=Object.prototype,or=Array.prototype,Jt=Object.getPrototypeOf,Kt=Object.isExtensible;const ar=()=>{};function fr(e){for(var t=0;t<e.length;t++)e[t]()}function Xt(){var e,t,n=new Promise((r,i)=>{e=r,t=i});return{promise:n,resolve:e,reject:t}}const C=2,Ie=4,at=8,Zt=1<<24,be=16,Z=32,pe=64,wt=128,F=512,T=1024,O=2048,Q=4096,ee=8192,U=16384,ge=32768,Qt=1<<25,Fe=65536,en=1<<17,ur=1<<18,Ee=1<<19,cr=1<<20,ke=65536,yt=1<<21,$t=1<<22,me=1<<23,xt=Symbol("$state"),dr=Symbol("legacy props"),vr=Symbol(""),le=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},hr=!!globalThis.document?.contentType&&globalThis.document.contentType.includes("xml"),Ge=3,ft=8;function _r(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function br(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function pr(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function gr(e){throw new Error("https://svelte.dev/e/effect_orphan")}function mr(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function wr(){throw new Error("https://svelte.dev/e/hydration_failed")}function yr(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function $r(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function xr(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function Er(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function ut(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function kr(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let x=!1;function ze(e){x=e}let g;function z(e){if(e===null)throw ut(),Le;return g=e}function Et(){return z(ue(g))}function E(e){if(x){if(ue(g)!==null)throw ut(),Le;g=e}}function jr(e=1){if(x){for(var t=e,n=g;t--;)n=ue(n);g=n}}function tn(e=!0){for(var t=0,n=g;;){if(n.nodeType===ft){var r=n.data;if(r===Wt){if(t===0)return n;t-=1}else(r===Vt||r===Yt||r[0]==="["&&!isNaN(Number(r.slice(1))))&&(t+=1)}var i=ue(n);e&&n.remove(),n=i}}function Tr(e){if(!e||e.nodeType!==ft)throw ut(),Le;return e.data}function nn(e){return e===this.v}function Cr(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function Sr(e){return!Cr(e,this.v)}let Nr=!1,B=null;function Be(e){B=e}function rn(e,t=!1,n){B={p:B,i:!1,c:null,e:null,s:e,x:null,r:p,l:null}}function sn(e){var t=B,n=t.e;if(n!==null){t.e=null;for(var r of n)Cn(r)}return e!==void 0&&(t.x=e),t.i=!0,B=t.p,e??{}}function ln(){return!0}let je=[];function on(){var e=je;je=[],fr(e)}function qe(e){if(je.length===0&&!Je){var t=je;queueMicrotask(()=>{t===je&&on()})}je.push(e)}function Ar(){for(;je.length>0;)on()}function an(e){var t=p;if(t===null)return b.f|=me,e;if((t.f&ge)===0&&(t.f&Ie)===0)throw e;we(e,t)}function we(e,t){for(;t!==null;){if((t.f&wt)!==0){if((t.f&ge)===0)throw e;try{t.b.error(e);return}catch(n){e=n}}t=t.parent}throw e}const Rr=-7169;function k(e,t){e.f=e.f&Rr|t}function kt(e){(e.f&F)!==0||e.deps===null?k(e,T):k(e,Q)}function fn(e){if(e!==null)for(const t of e)(t.f&C)===0||(t.f&ke)===0||(t.f^=ke,fn(t.deps))}function un(e,t,n){(e.f&O)!==0?t.add(e):(e.f&Q)!==0&&n.add(e),fn(e.deps),k(e,T)}const ye=new Set;let $=null,W=null,jt=null,Je=!1,Tt=!1,He=null,ct=null;var cn=0;let Or=1;class oe{id=Or++;current=new Map;previous=new Map;#e=new Set;#n=new Set;#t=new Map;#i=new Map;#s=null;#r=[];#l=new Set;#o=new Set;#a=new Map;is_fork=!1;#c=!1;#f=new Set;#d(){return this.is_fork||this.#i.size>0}#h(){for(const r of this.#f)for(const i of r.#i.keys()){for(var t=!1,n=i;n.parent!==null;){if(this.#a.has(n)){t=!0;break}n=n.parent}if(!t)return!0}return!1}skip_effect(t){this.#a.has(t)||this.#a.set(t,{d:[],m:[]})}unskip_effect(t){var n=this.#a.get(t);if(n){this.#a.delete(t);for(var r of n.d)k(r,O),this.schedule(r);for(r of n.m)k(r,Q),this.schedule(r)}}#v(){if(cn++>1e3&&(ye.delete(this),Dr()),!this.#d()){for(const l of this.#l)this.#o.delete(l),k(l,O),this.schedule(l);for(const l of this.#o)k(l,Q),this.schedule(l)}const t=this.#r;this.#r=[],this.apply();var n=He=[],r=[],i=ct=[];for(const l of t)try{this.#u(l,n,r)}catch(f){throw bn(l),f}if($=null,i.length>0){var s=oe.ensure();for(const l of i)s.schedule(l)}if(He=null,ct=null,this.#d()||this.#h()){this.#_(r),this.#_(n);for(const[l,f]of this.#a)_n(l,f)}else{this.#t.size===0&&ye.delete(this),this.#l.clear(),this.#o.clear();for(const l of this.#e)l(this);this.#e.clear(),dn(r),dn(n),this.#s?.resolve()}var o=$;if(this.#r.length>0){const l=o??=this;l.#r.push(...this.#r.filter(f=>!l.#r.includes(f)))}o!==null&&(ye.add(o),o.#v()),ye.has(this)||this.#b()}#u(t,n,r){t.f^=T;for(var i=t.first;i!==null;){var s=i.f,o=(s&(Z|pe))!==0,l=o&&(s&T)!==0,f=l||(s&ee)!==0||this.#a.has(i);if(!f&&i.fn!==null){o?i.f^=T:(s&Ie)!==0?n.push(i):tt(i)&&((s&be)!==0&&this.#o.add(i),Ye(i));var a=i.first;if(a!==null){i=a;continue}}for(;i!==null;){var u=i.next;if(u!==null){i=u;break}i=i.parent}}}#_(t){for(var n=0;n<t.length;n+=1)un(t[n],this.#l,this.#o)}capture(t,n,r=!1){n!==A&&!this.previous.has(t)&&this.previous.set(t,n),(t.f&me)===0&&(this.current.set(t,[t.v,r]),W?.set(t,t.v))}activate(){$=this}deactivate(){$=null,W=null}flush(){try{Tt=!0,$=this,this.#v()}finally{cn=0,jt=null,He=null,ct=null,Tt=!1,$=null,W=null,$e.clear()}}discard(){for(const t of this.#n)t(this);this.#n.clear(),ye.delete(this)}#b(){for(const a of ye){var t=a.id<this.id,n=[];for(const[u,[v,c]]of this.current){if(a.current.has(u)){var r=a.current.get(u)[0];if(t&&v!==r)a.current.set(u,[v,c]);else continue}n.push(u)}var i=[...a.current.keys()].filter(u=>!this.current.has(u));if(i.length===0)t&&a.discard();else if(n.length>0){a.activate();var s=new Set,o=new Map;for(var l of n)vn(l,i,s,o);if(a.#r.length>0){a.apply();for(var f of a.#r)a.#u(f,[],[]);a.#r=[]}a.deactivate()}}for(const a of ye)a.#f.has(this)&&(a.#f.delete(this),a.#f.size===0&&!a.#d()&&(a.activate(),a.#v()))}increment(t,n){let r=this.#t.get(n)??0;if(this.#t.set(n,r+1),t){let i=this.#i.get(n)??0;this.#i.set(n,i+1)}}decrement(t,n,r){let i=this.#t.get(n)??0;if(i===1?this.#t.delete(n):this.#t.set(n,i-1),t){let s=this.#i.get(n)??0;s===1?this.#i.delete(n):this.#i.set(n,s-1)}this.#c||r||(this.#c=!0,qe(()=>{this.#c=!1,this.flush()}))}transfer_effects(t,n){for(const r of t)this.#l.add(r);for(const r of n)this.#o.add(r);t.clear(),n.clear()}oncommit(t){this.#e.add(t)}ondiscard(t){this.#n.add(t)}settled(){return(this.#s??=Xt()).promise}static ensure(){if($===null){const t=$=new oe;Tt||(ye.add($),Je||qe(()=>{$===t&&t.flush()}))}return $}apply(){{W=null;return}}schedule(t){if(jt=t,t.b?.is_pending&&(t.f&(Ie|at|Zt))!==0&&(t.f&ge)===0){t.b.defer_effect(t);return}for(var n=t;n.parent!==null;){n=n.parent;var r=n.f;if(He!==null&&n===p&&(b===null||(b.f&C)===0))return;if((r&(pe|Z))!==0){if((r&T)===0)return;n.f^=T}}this.#r.push(n)}}function Ve(e){var t=Je;Je=!0;try{for(var n;;){if(Ar(),$===null)return n;$.flush()}}finally{Je=t}}function Dr(){try{mr()}catch(e){we(e,jt)}}let ae=null;function dn(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if((r.f&(U|ee))===0&&tt(r)&&(ae=new Set,Ye(r),r.deps===null&&r.first===null&&r.nodes===null&&r.teardown===null&&r.ac===null&&Rn(r),ae?.size>0)){$e.clear();for(const i of ae){if((i.f&(U|ee))!==0)continue;const s=[i];let o=i.parent;for(;o!==null;)ae.has(o)&&(ae.delete(o),s.push(o)),o=o.parent;for(let l=s.length-1;l>=0;l--){const f=s[l];(f.f&(U|ee))===0&&Ye(f)}}ae.clear()}}ae=null}}function vn(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&C)!==0?vn(i,t,n,r):(s&($t|be))!==0&&(s&O)===0&&hn(i,t,r)&&(k(i,O),Ct(i))}}function hn(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(Me.call(t,i))return!0;if((i.f&C)!==0&&hn(i,t,n))return n.set(i,!0),!0}return n.set(e,!1),!1}function Ct(e){$.schedule(e)}function _n(e,t){if(!((e.f&Z)!==0&&(e.f&T)!==0)){(e.f&O)!==0?t.d.push(e):(e.f&Q)!==0&&t.m.push(e),k(e,T);for(var n=e.first;n!==null;)_n(n,t),n=n.next}}function bn(e){k(e,T);for(var t=e.first;t!==null;)bn(t),t=t.next}function Lr(e){let t=0,n=Ke(0),r;return()=>{Dt()&&(Y(n),Sn(()=>(t===0&&(r=ui(()=>e(()=>Xe(n)))),t+=1,()=>{qe(()=>{t-=1,t===0&&(r?.(),r=void 0,Xe(n))})})))}}var Mr=Fe|Ee;function Pr(e,t,n,r){new Ir(e,t,n,r)}class Ir{parent;is_pending=!1;transform_error;#e;#n=x?g:null;#t;#i;#s;#r=null;#l=null;#o=null;#a=null;#c=0;#f=0;#d=!1;#h=new Set;#v=new Set;#u=null;#_=Lr(()=>(this.#u=Ke(this.#c),()=>{this.#u=null}));constructor(t,n,r,i){this.#e=t,this.#t=n,this.#i=s=>{var o=p;o.b=this,o.f|=wt,r(s)},this.parent=p.b,this.transform_error=i??this.parent?.transform_error??(s=>s),this.#s=Nn(()=>{if(x){const s=this.#n;Et();const o=s.data===Yt;if(s.data.startsWith(Ut)){const f=JSON.parse(s.data.slice(Ut.length));this.#y(f)}else o?this.#$():this.#b()}else this.#m()},Mr),x&&(this.#e=g)}#b(){try{this.#r=de(()=>this.#i(this.#e))}catch(t){this.error(t)}}#y(t){const n=this.#t.failed;n&&(this.#o=de(()=>{n(this.#e,()=>t,()=>()=>{})}))}#$(){const t=this.#t.pending;t&&(this.is_pending=!0,this.#l=de(()=>t(this.#e)),qe(()=>{var n=this.#a=document.createDocumentFragment(),r=G();n.append(r),this.#r=this.#g(()=>de(()=>this.#i(r))),this.#f===0&&(this.#e.before(n),this.#a=null,et(this.#l,()=>{this.#l=null}),this.#p($))}))}#m(){try{if(this.is_pending=this.has_pending_snippet(),this.#f=0,this.#c=0,this.#r=de(()=>{this.#i(this.#e)}),this.#f>0){var t=this.#a=document.createDocumentFragment();Ln(this.#r,t);const n=this.#t.pending;this.#l=de(()=>n(this.#e))}else this.#p($)}catch(n){this.error(n)}}#p(t){this.is_pending=!1,t.transfer_effects(this.#h,this.#v)}defer_effect(t){un(t,this.#h,this.#v)}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!this.#t.pending}#g(t){var n=p,r=b,i=B;re(this.#s),q(this.#s),Be(this.#s.ctx);try{return oe.ensure(),t()}catch(s){return an(s),null}finally{re(n),q(r),Be(i)}}#w(t,n){if(!this.has_pending_snippet()){this.parent&&this.parent.#w(t,n);return}this.#f+=t,this.#f===0&&(this.#p(n),this.#l&&et(this.#l,()=>{this.#l=null}),this.#a&&(this.#e.before(this.#a),this.#a=null))}update_pending_count(t,n){this.#w(t,n),this.#c+=t,!(!this.#u||this.#d)&&(this.#d=!0,qe(()=>{this.#d=!1,this.#u&&vt(this.#u,this.#c)}))}get_effect_pending(){return this.#_(),Y(this.#u)}error(t){var n=this.#t.onerror;let r=this.#t.failed;if(!n&&!r)throw t;this.#r&&(L(this.#r),this.#r=null),this.#l&&(L(this.#l),this.#l=null),this.#o&&(L(this.#o),this.#o=null),x&&(z(this.#n),jr(),z(tn()));var i=!1,s=!1;const o=()=>{if(i){kr();return}i=!0,s&&Er(),this.#o!==null&&et(this.#o,()=>{this.#o=null}),this.#g(()=>{this.#m()})},l=f=>{try{s=!0,n?.(f,o),s=!1}catch(a){we(a,this.#s&&this.#s.parent)}r&&(this.#o=this.#g(()=>{try{return de(()=>{var a=p;a.b=this,a.f|=wt,r(this.#e,()=>f,()=>o)})}catch(a){return we(a,this.#s.parent),null}}))};qe(()=>{var f;try{f=this.transform_error(t)}catch(a){we(a,this.#s&&this.#s.parent);return}f!==null&&typeof f=="object"&&typeof f.then=="function"?f.then(l,a=>we(a,this.#s&&this.#s.parent)):l(f)})}}function Fr(e,t,n,r){const i=gn;var s=e.filter(c=>!c.settled);if(n.length===0&&s.length===0){r(t.map(i));return}var o=p,l=zr(),f=s.length===1?s[0].promise:s.length>1?Promise.all(s.map(c=>c.promise)):null;function a(c){l();try{r(c)}catch(_){(o.f&U)===0&&we(_,o)}dt()}if(n.length===0){f.then(()=>a(t.map(i)));return}var u=pn();function v(){Promise.all(n.map(c=>Br(c))).then(c=>a([...t.map(i),...c])).catch(c=>we(c,o)).finally(()=>u())}f?f.then(()=>{l(),v(),dt()}):v()}function zr(){var e=p,t=b,n=B,r=$;return function(s=!0){re(e),q(t),Be(n),s&&(e.f&U)===0&&(r?.activate(),r?.apply())}}function dt(e=!0){re(null),q(null),Be(null),e&&$?.deactivate()}function pn(){var e=p,t=e.b,n=$,r=t.is_rendered();return t.update_pending_count(1,n),n.increment(r,e),(i=!1)=>{t.update_pending_count(-1,n),n.decrement(r,e,i)}}function gn(e){var t=C|O,n=b!==null&&(b.f&C)!==0?b:null;return p!==null&&(p.f|=Ee),{ctx:B,deps:null,effects:null,equals:nn,f:t,fn:e,reactions:null,rv:0,v:A,wv:0,parent:n??p,ac:null}}function Br(e,t,n){let r=p;r===null&&_r();var i=void 0,s=Ke(A),o=!b,l=new Map;return ri(()=>{var f=p,a=Xt();i=a.promise;try{Promise.resolve(e()).then(a.resolve,a.reject).finally(dt)}catch(_){a.reject(_),dt()}var u=$;if(o){if((f.f&ge)!==0)var v=pn();if(r.b.is_rendered())l.get(u)?.reject(le),l.delete(u);else{for(const _ of l.values())_.reject(le);l.clear()}l.set(u,a)}const c=(_,d=void 0)=>{if(v){var h=d===le;v(h)}if(!(d===le||(f.f&U)!==0)){if(u.activate(),d)s.f|=me,vt(s,d);else{(s.f&me)!==0&&(s.f^=me),vt(s,_);for(const[y,N]of l){if(l.delete(y),y===u)break;N.reject(le)}}u.deactivate()}};a.promise.then(c,_=>c(null,_||"unknown"))}),Tn(()=>{for(const f of l.values())f.reject(le)}),new Promise(f=>{function a(u){function v(){u===i?f(s):a(i)}u.then(v,v)}a(i)})}function qr(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)L(t[n])}}function Hr(e){for(var t=e.parent;t!==null;){if((t.f&C)===0)return(t.f&U)===0?t:null;t=t.parent}return null}function St(e){var t,n=p;re(Hr(e));try{e.f&=~ke,qr(e),t=Bn(e)}finally{re(n)}return t}function mn(e){var t=e.v,n=St(e);if(!e.equals(n)&&(e.wv=Fn(),(!$?.is_fork||e.deps===null)&&(e.v=n,$?.capture(e,t,!0),e.deps===null))){k(e,T);return}xe||(W!==null?(Dt()||$?.is_fork)&&W.set(e,n):kt(e))}function Vr(e){if(e.effects!==null)for(const t of e.effects)(t.teardown||t.ac)&&(t.teardown?.(),t.ac?.abort(le),t.teardown=ar,t.ac=null,nt(t,0),Lt(t))}function wn(e){if(e.effects!==null)for(const t of e.effects)t.teardown&&Ye(t)}let Nt=new Set;const $e=new Map;let yn=!1;function Ke(e,t){var n={f:0,v:e,reactions:null,equals:nn,rv:0,wv:0};return n}function fe(e,t){const n=Ke(e);return oi(n),n}function Yr(e,t=!1,n=!0){const r=Ke(e);return t||(r.equals=Sr),r}function te(e,t,n=!1){b!==null&&(!J||(b.f&en)!==0)&&ln()&&(b.f&(C|be|$t|en))!==0&&(H===null||!Me.call(H,e))&&xr();let r=n?Ze(t):t;return vt(e,r,ct)}function vt(e,t,n=null){if(!e.equals(t)){var r=e.v;xe?$e.set(e,t):$e.set(e,r),e.v=t;var i=oe.ensure();if(i.capture(e,r),(e.f&C)!==0){const s=e;(e.f&O)!==0&&St(s),W===null&&kt(s)}e.wv=Fn(),$n(e,O,n),p!==null&&(p.f&T)!==0&&(p.f&(Z|pe))===0&&(V===null?ai([e]):V.push(e)),!i.is_fork&&Nt.size>0&&!yn&&Ur()}return t}function Ur(){yn=!1;for(const e of Nt)(e.f&T)!==0&&k(e,Q),tt(e)&&Ye(e);Nt.clear()}function Xe(e){te(e,e.v+1)}function $n(e,t,n){var r=e.reactions;if(r!==null)for(var i=r.length,s=0;s<i;s++){var o=r[s],l=o.f,f=(l&O)===0;if(f&&k(o,t),(l&C)!==0){var a=o;W?.delete(a),(l&ke)===0&&(l&F&&(o.f|=ke),$n(a,Q,n))}else if(f){var u=o;(l&be)!==0&&ae!==null&&ae.add(u),n!==null?n.push(u):Ct(u)}}}function Ze(e){if(typeof e!="object"||e===null||xt in e)return e;const t=Jt(e);if(t!==lr&&t!==or)return e;var n=new Map,r=nr(e),i=fe(0),s=Se,o=l=>{if(Se===s)return l();var f=b,a=Se;q(null),In(s);var u=l();return q(f),In(a),u};return r&&n.set("length",fe(e.length)),new Proxy(e,{defineProperty(l,f,a){(!("value"in a)||a.configurable===!1||a.enumerable===!1||a.writable===!1)&&yr();var u=n.get(f);return u===void 0?o(()=>{var v=fe(a.value);return n.set(f,v),v}):te(u,a.value,!0),!0},deleteProperty(l,f){var a=n.get(f);if(a===void 0){if(f in l){const u=o(()=>fe(A));n.set(f,u),Xe(i)}}else te(a,A),Xe(i);return!0},get(l,f,a){if(f===xt)return e;var u=n.get(f),v=f in l;if(u===void 0&&(!v||Pe(l,f)?.writable)&&(u=o(()=>{var _=Ze(v?l[f]:A),d=fe(_);return d}),n.set(f,u)),u!==void 0){var c=Y(u);return c===A?void 0:c}return Reflect.get(l,f,a)},getOwnPropertyDescriptor(l,f){var a=Reflect.getOwnPropertyDescriptor(l,f);if(a&&"value"in a){var u=n.get(f);u&&(a.value=Y(u))}else if(a===void 0){var v=n.get(f),c=v?.v;if(v!==void 0&&c!==A)return{enumerable:!0,configurable:!0,value:c,writable:!0}}return a},has(l,f){if(f===xt)return!0;var a=n.get(f),u=a!==void 0&&a.v!==A||Reflect.has(l,f);if(a!==void 0||p!==null&&(!u||Pe(l,f)?.writable)){a===void 0&&(a=o(()=>{var c=u?Ze(l[f]):A,_=fe(c);return _}),n.set(f,a));var v=Y(a);if(v===A)return!1}return u},set(l,f,a,u){var v=n.get(f),c=f in l;if(r&&f==="length")for(var _=a;_<v.v;_+=1){var d=n.get(_+"");d!==void 0?te(d,A):_ in l&&(d=o(()=>fe(A)),n.set(_+"",d))}if(v===void 0)(!c||Pe(l,f)?.writable)&&(v=o(()=>fe(void 0)),te(v,Ze(a)),n.set(f,v));else{c=v.v!==A;var h=o(()=>Ze(a));te(v,h)}var y=Reflect.getOwnPropertyDescriptor(l,f);if(y?.set&&y.set.call(u,a),!c){if(r&&typeof f=="string"){var N=n.get("length"),se=Number(f);Number.isInteger(se)&&se>=N.v&&te(N,se+1)}Xe(i)}return!0},ownKeys(l){Y(i);var f=Reflect.ownKeys(l).filter(v=>{var c=n.get(v);return c===void 0||c.v!==A});for(var[a,u]of n)u.v!==A&&!(a in l)&&f.push(a);return f},setPrototypeOf(){$r()}})}var xn,En,kn,jn;function At(){if(xn===void 0){xn=window,En=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;kn=Pe(t,"firstChild").get,jn=Pe(t,"nextSibling").get,Kt(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),Kt(n)&&(n.__t=void 0)}}function G(e=""){return document.createTextNode(e)}function Qe(e){return kn.call(e)}function ue(e){return jn.call(e)}function j(e,t){if(!x)return Qe(e);var n=Qe(g);if(n===null)n=g.appendChild(G());else if(t&&n.nodeType!==Ge){var r=G();return n?.before(r),z(r),r}return t&&ht(n),z(n),n}function Wr(e,t=!1){if(!x){var n=Qe(e);return n instanceof Comment&&n.data===""?ue(n):n}if(t){if(g?.nodeType!==Ge){var r=G();return g?.before(r),z(r),r}ht(g)}return g}function Te(e,t=1,n=!1){let r=x?g:e;for(var i;t--;)i=r,r=ue(r);if(!x)return r;if(n){if(r?.nodeType!==Ge){var s=G();return r===null?i?.after(s):r.before(s),z(s),s}ht(r)}return z(r),r}function Gr(e){e.textContent=""}function Jr(){return!1}function Rt(e,t,n){return document.createElementNS(Gt,e,void 0)}function ht(e){if(e.nodeValue.length<65536)return;let t=e.nextSibling;for(;t!==null&&t.nodeType===Ge;)t.remove(),e.nodeValue+=t.nodeValue,t=e.nextSibling}function Kr(e,t,n,r=!0){r&&n();for(var i of t)e.addEventListener(i,n);Tn(()=>{for(var s of t)e.removeEventListener(s,n)})}function Ot(e){var t=b,n=p;q(null),re(null);try{return e()}finally{q(t),re(n)}}function Xr(e){p===null&&(b===null&&gr(),pr()),xe&&br()}function Zr(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function ne(e,t){var n=p;n!==null&&(n.f&ee)!==0&&(e|=ee);var r={ctx:B,deps:null,nodes:null,f:e|O|F,first:null,fn:t,last:null,next:null,parent:n,b:n&&n.b,prev:null,teardown:null,wv:0,ac:null},i=r;if((e&Ie)!==0)He!==null?He.push(r):oe.ensure().schedule(r);else if(t!==null){try{Ye(r)}catch(o){throw L(r),o}i.deps===null&&i.teardown===null&&i.nodes===null&&i.first===i.last&&(i.f&Ee)===0&&(i=i.first,(e&be)!==0&&(e&Fe)!==0&&i!==null&&(i.f|=Fe))}if(i!==null&&(i.parent=n,n!==null&&Zr(i,n),b!==null&&(b.f&C)!==0&&(e&pe)===0)){var s=b;(s.effects??=[]).push(i)}return r}function Dt(){return b!==null&&!J}function Tn(e){const t=ne(at,null);return k(t,T),t.teardown=e,t}function Qr(e){Xr();var t=p.f,n=!b&&(t&Z)!==0&&(t&ge)===0;if(n){var r=B;(r.e??=[]).push(e)}else return Cn(e)}function Cn(e){return ne(Ie|cr,e)}function ei(e){oe.ensure();const t=ne(pe|Ee,e);return()=>{L(t)}}function ti(e){oe.ensure();const t=ne(pe|Ee,e);return(n={})=>new Promise(r=>{n.outro?et(t,()=>{L(t),r(void 0)}):(L(t),r(void 0))})}function ni(e){return ne(Ie,e)}function ri(e){return ne($t|Ee,e)}function Sn(e,t=0){return ne(at|t,e)}function ce(e,t=[],n=[],r=[]){Fr(r,t,n,i=>{ne(at,()=>e(...i.map(Y)))})}function Nn(e,t=0){var n=ne(be|t,e);return n}function de(e){return ne(Z|Ee,e)}function An(e){var t=e.teardown;if(t!==null){const n=xe,r=b;Mn(!0),q(null);try{t.call(null)}finally{Mn(n),q(r)}}}function Lt(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){const i=n.ac;i!==null&&Ot(()=>{i.abort(le)});var r=n.next;(n.f&pe)!==0?n.parent=null:L(n,t),n=r}}function ii(e){for(var t=e.first;t!==null;){var n=t.next;(t.f&Z)===0&&L(t),t=n}}function L(e,t=!0){var n=!1;(t||(e.f&ur)!==0)&&e.nodes!==null&&e.nodes.end!==null&&(si(e.nodes.start,e.nodes.end),n=!0),k(e,Qt),Lt(e,t&&!n),nt(e,0);var r=e.nodes&&e.nodes.t;if(r!==null)for(const s of r)s.stop();An(e),e.f^=Qt,e.f|=U;var i=e.parent;i!==null&&i.first!==null&&Rn(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes=e.ac=e.b=null}function si(e,t){for(;e!==null;){var n=e===t?null:ue(e);e.remove(),e=n}}function Rn(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 et(e,t,n=!0){var r=[];On(e,r,!0);var i=()=>{n&&L(e),t&&t()},s=r.length;if(s>0){var o=()=>--s||i();for(var l of r)l.out(o)}else i()}function On(e,t,n){if((e.f&ee)===0){e.f^=ee;var r=e.nodes&&e.nodes.t;if(r!==null)for(const l of r)(l.is_global||n)&&t.push(l);for(var i=e.first;i!==null;){var s=i.next,o=(i.f&Fe)!==0||(i.f&Z)!==0&&(e.f&be)!==0;On(i,t,o?n:!1),i=s}}}function li(e){Dn(e,!0)}function Dn(e,t){if((e.f&ee)!==0){e.f^=ee,(e.f&T)===0&&(k(e,O),oe.ensure().schedule(e));for(var n=e.first;n!==null;){var r=n.next,i=(n.f&Fe)!==0||(n.f&Z)!==0;Dn(n,i?t:!1),n=r}var s=e.nodes&&e.nodes.t;if(s!==null)for(const o of s)(o.is_global||t)&&o.in()}}function Ln(e,t){if(e.nodes)for(var n=e.nodes.start,r=e.nodes.end;n!==null;){var i=n===r?null:ue(n);t.append(n),n=i}}let _t=!1,xe=!1;function Mn(e){xe=e}let b=null,J=!1;function q(e){b=e}let p=null;function re(e){p=e}let H=null;function oi(e){b!==null&&(H===null?H=[e]:H.push(e))}let M=null,I=0,V=null;function ai(e){V=e}let Pn=1,Ce=0,Se=Ce;function In(e){Se=e}function Fn(){return++Pn}function tt(e){var t=e.f;if((t&O)!==0)return!0;if(t&C&&(e.f&=~ke),(t&Q)!==0){for(var n=e.deps,r=n.length,i=0;i<r;i++){var s=n[i];if(tt(s)&&mn(s),s.wv>e.wv)return!0}(t&F)!==0&&W===null&&k(e,T)}return!1}function zn(e,t,n=!0){var r=e.reactions;if(r!==null&&!(H!==null&&Me.call(H,e)))for(var i=0;i<r.length;i++){var s=r[i];(s.f&C)!==0?zn(s,t,!1):t===s&&(n?k(s,O):(s.f&T)!==0&&k(s,Q),Ct(s))}}function Bn(e){var t=M,n=I,r=V,i=b,s=H,o=B,l=J,f=Se,a=e.f;M=null,I=0,V=null,b=(a&(Z|pe))===0?e:null,H=null,Be(e.ctx),J=!1,Se=++Ce,e.ac!==null&&(Ot(()=>{e.ac.abort(le)}),e.ac=null);try{e.f|=yt;var u=e.fn,v=u();e.f|=ge;var c=e.deps,_=$?.is_fork;if(M!==null){var d;if(_||nt(e,I),c!==null&&I>0)for(c.length=I+M.length,d=0;d<M.length;d++)c[I+d]=M[d];else e.deps=c=M;if(Dt()&&(e.f&F)!==0)for(d=I;d<c.length;d++)(c[d].reactions??=[]).push(e)}else!_&&c!==null&&I<c.length&&(nt(e,I),c.length=I);if(ln()&&V!==null&&!J&&c!==null&&(e.f&(C|Q|O))===0)for(d=0;d<V.length;d++)zn(V[d],e);if(i!==null&&i!==e){if(Ce++,i.deps!==null)for(let h=0;h<n;h+=1)i.deps[h].rv=Ce;if(t!==null)for(const h of t)h.rv=Ce;V!==null&&(r===null?r=V:r.push(...V))}return(e.f&me)!==0&&(e.f^=me),v}catch(h){return an(h)}finally{e.f^=yt,M=t,I=n,V=r,b=i,H=s,Be(o),J=l,Se=f}}function fi(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())}}if(n===null&&(t.f&C)!==0&&(M===null||!Me.call(M,t))){var s=t;(s.f&F)!==0&&(s.f^=F,s.f&=~ke),kt(s),Vr(s),nt(s,0)}}function nt(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)fi(e,n[r])}function Ye(e){var t=e.f;if((t&U)===0){k(e,T);var n=p,r=_t;p=e,_t=!0;try{(t&(be|Zt))!==0?ii(e):Lt(e),An(e);var i=Bn(e);e.teardown=typeof i=="function"?i:null,e.wv=Pn;var s;tr&&Nr&&(e.f&O)!==0&&e.deps}finally{_t=r,p=n}}}function Y(e){var t=e.f,n=(t&C)!==0;if(b!==null&&!J){var r=p!==null&&(p.f&U)!==0;if(!r&&(H===null||!Me.call(H,e))){var i=b.deps;if((b.f&yt)!==0)e.rv<Ce&&(e.rv=Ce,M===null&&i!==null&&i[I]===e?I++:M===null?M=[e]:M.push(e));else{(b.deps??=[]).push(e);var s=e.reactions;s===null?e.reactions=[b]:Me.call(s,b)||s.push(b)}}}if(xe&&$e.has(e))return $e.get(e);if(n){var o=e;if(xe){var l=o.v;return((o.f&T)===0&&o.reactions!==null||Hn(o))&&(l=St(o)),$e.set(o,l),l}var f=(o.f&F)===0&&!J&&b!==null&&(_t||(b.f&F)!==0),a=(o.f&ge)===0;tt(o)&&(f&&(o.f|=F),mn(o)),f&&!a&&(wn(o),qn(o))}if(W?.has(e))return W.get(e);if((e.f&me)!==0)throw e.v;return e.v}function qn(e){if(e.f|=F,e.deps!==null)for(const t of e.deps)(t.reactions??=[]).push(e),(t.f&C)!==0&&(t.f&F)===0&&(wn(t),qn(t))}function Hn(e){if(e.v===A)return!0;if(e.deps===null)return!1;for(const t of e.deps)if($e.has(t)||(t.f&C)!==0&&Hn(t))return!0;return!1}function ui(e){var t=J;try{return J=!0,e()}finally{J=t}}const rt=Symbol("events"),Vn=new Set,Mt=new Set;function Yn(e,t,n){(t[rt]??={})[e]=n}function ci(e){for(var t=0;t<e.length;t++)Vn.add(e[t]);for(var n of Mt)n(e)}let Un=null;function Wn(e){var t=this,n=t.ownerDocument,r=e.type,i=e.composedPath?.()||[],s=i[0]||e.target;Un=e;var o=0,l=Un===e&&e[rt];if(l){var f=i.indexOf(l);if(f!==-1&&(t===document||t===window)){e[rt]=t;return}var a=i.indexOf(t);if(a===-1)return;f<=a&&(o=f)}if(s=i[o]||e.target,s!==t){ot(e,"currentTarget",{configurable:!0,get(){return s||n}});var u=b,v=p;q(null),re(null);try{for(var c,_=[];s!==null;){var d=s.assignedSlot||s.parentNode||s.host||null;try{var h=s[rt]?.[r];h!=null&&(!s.disabled||e.target===s)&&h.call(s,e)}catch(y){c?_.push(y):c=y}if(e.cancelBubble||d===t||d===null)break;s=d}if(c){for(let y of _)queueMicrotask(()=>{throw y});throw c}}finally{e[rt]=t,delete e.currentTarget,q(u),re(v)}}}const di=globalThis?.window?.trustedTypes&&globalThis.window.trustedTypes.createPolicy("svelte-trusted-html",{createHTML:e=>e});function vi(e){return di?.createHTML(e)??e}function hi(e){var t=Rt("template");return t.innerHTML=vi(e.replaceAll("<!>","<!---->")),t.content}function Ne(e,t){var n=p;n.nodes===null&&(n.nodes={start:e,end:t,a:null,t:null})}function K(e,t){var n=(t&er)!==0,r,i=!e.startsWith("<!>");return()=>{if(x)return Ne(g,null),g;r===void 0&&(r=hi(i?e:"<!>"+e),r=Qe(r));var s=n||En?document.importNode(r,!0):r.cloneNode(!0);return Ne(s,s),s}}function it(e=""){if(!x){var t=G(e+"");return Ne(t,t),t}var n=g;return n.nodeType!==Ge?(n.before(n=G()),z(n)):ht(n),Ne(n,n),n}function _i(){if(x)return Ne(g,null),g;var e=document.createDocumentFragment(),t=document.createComment(""),n=G();return e.append(t,n),Ne(t,n),e}function S(e,t){if(x){var n=p;((n.f&ge)===0||n.nodes.end===null)&&(n.nodes.end=g),Et();return}e!==null&&e.before(t)}const bi=["touchstart","touchmove"];function pi(e){return bi.includes(e)}function Ue(e,t){var n=t==null?"":typeof t=="object"?`${t}`:t;n!==(e.__t??=e.nodeValue)&&(e.__t=n,e.nodeValue=`${n}`)}function Gn(e,t){return Jn(e,t)}function gi(e,t){At(),t.intro=t.intro??!1;const n=t.target,r=x,i=g;try{for(var s=Qe(n);s&&(s.nodeType!==ft||s.data!==Vt);)s=ue(s);if(!s)throw Le;ze(!0),z(s);const o=Jn(e,{...t,anchor:s});return ze(!1),o}catch(o){if(o instanceof Error&&o.message.split(`
|
|
2
|
+
`).some(l=>l.startsWith("https://svelte.dev/e/")))throw o;return o!==Le&&console.warn("Failed to hydrate: ",o),t.recover===!1&&wr(),At(),Gr(n),ze(!1),Gn(e,t)}finally{ze(r),z(i)}}const bt=new Map;function Jn(e,{target:t,anchor:n,props:r={},events:i,context:s,intro:o=!0,transformError:l}){At();var f=void 0,a=ti(()=>{var u=n??t.appendChild(G());Pr(u,{pending:()=>{}},_=>{rn({});var d=B;if(s&&(d.c=s),i&&(r.$$events=i),x&&Ne(_,null),f=e(_,r)||{},x&&(p.nodes.end=g,g===null||g.nodeType!==ft||g.data!==Wt))throw ut(),Le;sn()},l);var v=new Set,c=_=>{for(var d=0;d<_.length;d++){var h=_[d];if(!v.has(h)){v.add(h);var y=pi(h);for(const ve of[t,document]){var N=bt.get(ve);N===void 0&&(N=new Map,bt.set(ve,N));var se=N.get(h);se===void 0?(ve.addEventListener(h,Wn,{passive:y}),N.set(h,1)):N.set(h,se+1)}}}};return c(ir(Vn)),Mt.add(c),()=>{for(var _ of v)for(const y of[t,document]){var d=bt.get(y),h=d.get(_);--h==0?(y.removeEventListener(_,Wn),d.delete(_),d.size===0&&bt.delete(y)):d.set(_,h)}Mt.delete(c),u!==n&&u.parentNode?.removeChild(u)}});return Pt.set(f,a),f}let Pt=new WeakMap;function mi(e,t){const n=Pt.get(e);return n?(Pt.delete(e),n(t)):Promise.resolve()}class wi{anchor;#e=new Map;#n=new Map;#t=new Map;#i=new Set;#s=!0;constructor(t,n=!0){this.anchor=t,this.#s=n}#r=t=>{if(this.#e.has(t)){var n=this.#e.get(t),r=this.#n.get(n);if(r)li(r),this.#i.delete(n);else{var i=this.#t.get(n);i&&(this.#n.set(n,i.effect),this.#t.delete(n),i.fragment.lastChild.remove(),this.anchor.before(i.fragment),r=i.effect)}for(const[s,o]of this.#e){if(this.#e.delete(s),s===t)break;const l=this.#t.get(o);l&&(L(l.effect),this.#t.delete(o))}for(const[s,o]of this.#n){if(s===n||this.#i.has(s))continue;const l=()=>{if(Array.from(this.#e.values()).includes(s)){var a=document.createDocumentFragment();Ln(o,a),a.append(G()),this.#t.set(s,{effect:o,fragment:a})}else L(o);this.#i.delete(s),this.#n.delete(s)};this.#s||!r?(this.#i.add(s),et(o,l,!1)):l()}}};#l=t=>{this.#e.delete(t);const n=Array.from(this.#e.values());for(const[r,i]of this.#t)n.includes(r)||(L(i.effect),this.#t.delete(r))};ensure(t,n){var r=$,i=Jr();if(n&&!this.#n.has(t)&&!this.#t.has(t))if(i){var s=document.createDocumentFragment(),o=G();s.append(o),this.#t.set(t,{effect:de(()=>n(o)),fragment:s})}else this.#n.set(t,de(()=>n(this.anchor)));if(this.#e.set(r,t),i){for(const[l,f]of this.#n)l===t?r.unskip_effect(f):r.skip_effect(f);for(const[l,f]of this.#t)l===t?r.unskip_effect(f.effect):r.skip_effect(f.effect);r.oncommit(this.#r),r.ondiscard(this.#l)}else x&&(this.anchor=g),this.#r(r)}}function ie(e,t,n=!1){var r;x&&(r=g,Et());var i=new wi(e),s=n?Fe:0;function o(l,f){if(x){var a=Tr(r);if(l!==parseInt(a.substring(1))){var u=tn();z(u),i.anchor=u,ze(!1),i.ensure(l,f),ze(!0);return}}i.ensure(l,f)}Nn(()=>{var l=!1;t((f,a=0)=>{l=!0,o(a,f)}),l||o(-1,null)},s)}function yi(e,t){ni(()=>{var n=e.getRootNode(),r=n.host?n:n.head??n.ownerDocument.head;if(!r.querySelector("#"+t.hash)){const i=Rt("style");i.id=t.hash,i.textContent=t.code,r.appendChild(i)}})}function $i(e,t){return e==null?null:String(e)}function pt(e,t,n,r){var i=e.__style;if(x||i!==t){var s=$i(t);(!x||s!==e.getAttribute("style"))&&(s==null?e.removeAttribute("style"):e.style.cssText=s),e.__style=t}return r}const xi=Symbol("is custom element"),Ei=Symbol("is html"),ki=hr?"link":"LINK";function We(e,t,n,r){var i=ji(e);x&&(i[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName===ki)||i[t]!==(i[t]=n)&&(t==="loading"&&(e[vr]=n),n==null?e.removeAttribute(t):typeof n!="string"&&Ti(e).includes(t)?e[t]=n:e.setAttribute(t,n))}function ji(e){return e.__attributes??={[xi]:e.nodeName.includes("-"),[Ei]:e.namespaceURI===Gt}}var Kn=new Map;function Ti(e){var t=e.getAttribute("is")||e.nodeName,n=Kn.get(t);if(n)return n;Kn.set(t,n=[]);for(var r,i=e,s=Element.prototype;s!==i;){r=sr(i);for(var o in r)r[o].set&&n.push(o);i=Jt(i)}return n}function Ci(e,t){Kr(window,["resize"],()=>Ot(()=>t(window[e])))}function st(e,t,n,r){var i=r,s=!0,o=()=>(s&&(s=!1,i=r),i),l;l=e[t],l===void 0&&r!==void 0&&(l=o());var f;f=()=>{var c=e[t];return c===void 0?o():(s=!0,c)};var a=!1,u=gn(()=>(a=!1,f())),v=p;return(function(c,_){if(arguments.length>0){const d=_?Y(u):c;return te(u,d),a=!0,i!==void 0&&(i=d),c}return xe&&a||(v.f&U)!==0?u.v:Y(u)})}function Si(e){return new Ni(e)}class Ni{#e;#n;constructor(t){var n=new Map,r=(s,o)=>{var l=Yr(o,!1,!1);return n.set(s,l),l};const i=new Proxy({...t.props||{},$$events:{}},{get(s,o){return Y(n.get(o)??r(o,Reflect.get(s,o)))},has(s,o){return o===dr?!0:(Y(n.get(o)??r(o,Reflect.get(s,o))),Reflect.has(s,o))},set(s,o,l){return te(n.get(o)??r(o,l),l),Reflect.set(s,o,l)}});this.#n=(t.hydrate?gi:Gn)(t.component,{target:t.target,anchor:t.anchor,props:i,context:t.context,intro:t.intro??!1,recover:t.recover,transformError:t.transformError}),(!t?.props?.$$host||t.sync===!1)&&Ve(),this.#e=i.$$events;for(const s of Object.keys(this.#n))s==="$set"||s==="$destroy"||s==="$on"||ot(this,s,{get(){return this.#n[s]},set(o){this.#n[s]=o},enumerable:!0});this.#n.$set=s=>{Object.assign(i,s)},this.#n.$destroy=()=>{mi(this.#n)}}$set(t){this.#n.$set(t)}$on(t,n){this.#e[t]=this.#e[t]||[];const r=(...i)=>n.call(this,...i);return this.#e[t].push(r),()=>{this.#e[t]=this.#e[t].filter(i=>i!==r)}}$destroy(){this.#n.$destroy()}}let Xn;typeof HTMLElement=="function"&&(Xn=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;$$shadowRoot=null;constructor(e,t,n){super(),this.$$ctor=e,this.$$s=t,n&&(this.$$shadowRoot=this.attachShadow(n))}addEventListener(e,t,n){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(t),this.$$c){const r=this.$$c.$on(e,t);this.$$l_u.set(t,r)}super.addEventListener(e,t,n)}removeEventListener(e,t,n){if(super.removeEventListener(e,t,n),this.$$c){const r=this.$$l_u.get(t);r&&(r(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let e=function(r){return i=>{const s=Rt("slot");r!=="default"&&(s.name=r),S(i,s)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},n=Ai(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]=gt(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=Si({component:this.$$ctor,target:this.$$shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=ei(()=>{Sn(()=>{this.$$r=!0;for(const r of lt(this.$$c)){if(!this.$$p_d[r]?.reflect)continue;this.$$d[r]=this.$$c[r];const i=gt(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]=gt(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 lt(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function gt(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 Ai(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}function Ri(e,t,n,r,i,s){let o=class extends Xn{constructor(){super(e,n,i),this.$$p_d=t}static get observedAttributes(){return lt(t).map(l=>(t[l].attribute||l).toLowerCase())}};return lt(t).forEach(l=>{ot(o.prototype,l,{get(){return this.$$c&&l in this.$$c?this.$$c[l]:this.$$d[l]},set(f){f=gt(l,f,t),this.$$d[l]=f;var a=this.$$c;if(a){var u=Pe(a,l)?.get;u?a[l]=f:a.$set({[l]:f})}}})}),r.forEach(l=>{ot(o.prototype,l,{get(){return this.$$c?.[l]}})}),e.element=o,o}var Ae={},Zn;function Oi(){if(Zn)return Ae;Zn=1,Object.defineProperty(Ae,"__esModule",{value:!0}),Ae.LanguageTranslator=void 0,Ae.getChildStyleToPass=e,Ae.addComponent=t;function e(r,i){var s,o,l="";try{if(r&&i?.length&&(!((s=Object.keys(r))===null||s===void 0)&&s.length)&&(!((o=i?.filter(function(c){return Object.keys(r).includes(c.name)}))===null||o===void 0)&&o.length))for(var f=function(c){var _=i?.filter(function(d){return d.name===c&&d.defaultValue!==r[c]});_&&(l+="".concat(c,":").concat(r[c],";"))},a=0,u=Object.keys(r);a<u.length;a++){var v=u[a];f(v)}}catch(c){console.error("error getting child style to pass",c)}finally{return l}}function t(r){var i,s=((i=r?.repoName.split("/"))===null||i===void 0?void 0:i[1])||r?.repoName;if(!s)throw new Error("wrong componentPath "+r?.repoName);if(!r?.version)throw new Error("wrong version "+r?.version);var o=r?.iifePath||"main.iife.js";if(!document.getElementById(s+"-script"))try{var l=document.createElement("script");if(l.id=s+"-script",l.src="https://cdn.jsdelivr.net/npm/".concat(r.repoName,"@").concat(r.version,"/").concat(o),r?.local)l.src="".concat(r.local);else if(location.href.includes("localhost:6006")){var f=s.split("-")[0];l.src="http://localhost:6006/webcomponents/".concat(s.replace(f+"-",""),"/").concat(o)}document.head.appendChild(l)}catch(a){console.warn(a)}}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,o){return r.formatDate(i,s,o||this.lang)},r.getDefaultLang=function(){var i,s,o,l="en";return navigator?.languages&&(!((o=(s=(i=navigator.languages[0])===null||i===void 0?void 0:i.split("-")[0])===null||s===void 0?void 0:s.toLowerCase())===null||o===void 0)&&o.length)&&(l=navigator.languages[0].split("-")[0].toLowerCase()),l},r.getDictionaryWord=function(i,s,o){var l;if(!i)throw new Error("no wordKey provided");if(!s)throw new Error("no dictionary provided");if(o&&(!((l=s[o])===null||l===void 0)&&l[i]))return s[o][i];var f="",a=r.getDefaultLang();if(!o||a!==o){var u=s?.[a];u?.[i]&&(f=u[i])}return f},r.formatDate=function(i,s,o){if(!i)throw new Error("no date provided");if(typeof i.getMonth!="function")throw new Error("wrong date format");var l=new Intl.DateTimeFormat(o||r.getDefaultLang(),s);return l.format(i)},r})();return Ae.LanguageTranslator=n,Ae}Oi();var Di=K('<p class="svelte-1f33vjl"><button part="mobile_link_button" class="btn btn-primary svelte-1f33vjl"> </button></p>'),Li=K('<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>'),Mi=K('<div part="mobile_image_content" id="mobile_image_content" class="svelte-1f33vjl"><img id="mobile_img" class="svelte-1f33vjl"/></div>'),Pi=K('<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>'),Ii=K('<div part="image_content" id="image_content" class="svelte-1f33vjl"><img id="desktop_img" class="svelte-1f33vjl"/></div>'),Fi=K('<div id="image_container" class="svelte-1f33vjl"><!></div>'),zi=K('<p class="svelte-1f33vjl"><button part="link_button" class="btn btn-primary svelte-1f33vjl"> </button></p>'),Bi=K('<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>'),qi=K('<div part="image_content" id="image_content" class="svelte-1f33vjl"><img id="desktop_img" class="svelte-1f33vjl"/></div>'),Hi=K('<div id="image_container" class="svelte-1f33vjl"><!></div>'),Vi=K('<div id="row_container" class="svelte-1f33vjl"><!> <div id="text_container" class="svelte-1f33vjl"><!></div> <!></div>');const Yi={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
|
|
@@ -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
|
|
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){rn(t,!0),yi(e,Yi);function n(h,y){t.$$host.dispatchEvent(new CustomEvent(h,{detail:y}))}let r=st(t,"id",7,""),i=st(t,"text_side",7,"right"),s=st(t,"text"),o=st(t,"half_space",7,!1),l=st(t,"img"),f=fe(0);Qr(()=>{i()!=="left"&&i("right"),(o()==="yes"||o()==="true"||o()===!0)&&o(!0),typeof l()=="string"&&l(JSON.parse(l())),typeof s()=="string"&&s(JSON.parse(s()))});function a(){if(!s().link?.key)return console.warn("no key");n("elClick",{key:s().link.key})}var u={get id(){return r()},set id(h=""){r(h),Ve()},get text_side(){return i()},set text_side(h="right"){i(h),Ve()},get text(){return s()},set text(h){s(h),Ve()},get half_space(){return o()},set half_space(h=!1){o(h),Ve()},get img(){return l()},set img(h){l(h),Ve()}},v=_i(),c=Wr(v);{var _=h=>{var y=Pi(),N=j(y),se=j(N);{var ve=m=>{var w=Li(),P=j(w),Re=j(P,!0);E(P);var X=Te(P,2),R=j(X,!0);E(X);var D=Te(X,2);{var he=Oe=>{var De=Di(),_e=j(De),qt=j(_e,!0);E(_e),E(De),ce(()=>{pt(_e,(s().link.bgColor?"background-color:"+s().link.bgColor+";border-color:"+s().link.bgColor+";":"")+(s().link.textColor?"color:"+s().link.textColor+";":"")),Ue(qt,s().link.label)}),Yn("click",_e,a),S(Oe,De)};ie(D,Oe=>{s().link?.label&&Oe(he)})}E(w),ce(()=>{Ue(Re,s().title),Ue(R,s().body)}),S(m,w)},It=m=>{var w=it("no title or body");S(m,w)};ie(se,m=>{s()?.body||s()?.title?m(ve):m(It,-1)})}E(N);var mt=Te(N,2),Ft=j(mt);{var zt=m=>{var w=Mi(),P=j(w);E(w),ce(()=>{We(P,"alt",l().alt),We(P,"src",l().src)}),S(m,w)},Bt=m=>{var w=it("no img");S(m,w)};ie(Ft,m=>{l()?.src?m(zt):m(Bt,-1)})}E(mt),E(y),S(h,y)},d=h=>{var y=Vi(),N=j(y);{var se=m=>{var w=Fi(),P=j(w);{var Re=R=>{var D=Ii(),he=j(D);E(D),ce(()=>{We(he,"alt",l().alt),We(he,"src",l().src)}),S(R,D)},X=R=>{var D=it("no img");S(R,D)};ie(P,R=>{l()?.src?R(Re):R(X,-1)})}E(w),ce(()=>pt(w,o()?"flex-grow: 5;":"flex-grow: 2;")),S(m,w)};ie(N,m=>{i()!=="left"&&m(se)})}var ve=Te(N,2),It=j(ve);{var mt=m=>{var w=Bi(),P=j(w),Re=j(P,!0);E(P);var X=Te(P,2),R=j(X,!0);E(X);var D=Te(X,2);{var he=Oe=>{var De=zi(),_e=j(De),qt=j(_e,!0);E(_e),E(De),ce(()=>{pt(_e,(s().link.bgColor?"background-color:"+s().link.bgColor+";border-color:"+s().link.bgColor+";":"")+(s().link.textColor?"color:"+s().link.textColor+";":"")),Ue(qt,s().link.label)}),Yn("click",_e,a),S(Oe,De)};ie(D,Oe=>{s().link?.label&&Oe(he)})}E(w),ce(()=>{Ue(Re,s().title),Ue(R,s().body)}),S(m,w)},Ft=m=>{var w=it("no title or body");S(m,w)};ie(It,m=>{s()?.body||s()?.title?m(mt):m(Ft,-1)})}E(ve);var zt=Te(ve,2);{var Bt=m=>{var w=Hi(),P=j(w);{var Re=R=>{var D=qi(),he=j(D);E(D),ce(()=>{We(he,"alt",l().alt),We(he,"src",l().src)}),S(R,D)},X=R=>{var D=it("no img");S(R,D)};ie(P,R=>{l()?.src?R(Re):R(X,-1)})}E(w),ce(()=>pt(w,o()?"flex-grow: 5;":"flex-grow: 2;")),S(m,w)};ie(zt,m=>{i()==="left"&&m(Bt)})}E(y),S(h,y)};ie(c,h=>{Y(f)<800?h(_):h(d,-1)})}return Ci("innerWidth",h=>te(f,h,!0)),S(e,v),sn(u)}ci(["click"]),customElements.define("hb-site-paragraph-with-image",Ri(Qn,{id:{},text_side:{},text:{},half_space:{},img:{}},[],[],{mode:"open"})),Ht.Component=Qn,Object.defineProperty(Ht,Symbol.toStringTag,{value:"Module"})})(this["site-paragraph-with-image"]=this["site-paragraph-with-image"]||{});
|
|
40
40
|
//# sourceMappingURL=main.iife.js.map
|