@htmlbricks/hb-site-paragraph-with-image 0.66.6 → 0.66.8

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