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