@htmlbricks/hb-site-paragraph-with-image 0.66.3 → 0.66.4

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