@htmlbricks/hb-product-comparison 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 +4 -4
- 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(wr){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const yr=1,xr=2,$r=4,zn=8,Tn=16,Sn=1,An=4,Cn=8,Rn=16,Pn=1,Nn=2,Er="[",St="[!",Zt="]",at={},B=Symbol(),Qt=!1;var kr=Array.isArray,In=Array.prototype.indexOf,er=Array.from,At=Object.keys,Ct=Object.defineProperty,We=Object.getOwnPropertyDescriptor,On=Object.prototype,Mn=Array.prototype,Dn=Object.getPrototypeOf,zr=Object.isExtensible;function Ln(e){for(var t=0;t<e.length;t++)e[t]()}function Tr(){var e,t,r=new Promise((n,s)=>{e=n,t=s});return{promise:r,resolve:e,reject:t}}const L=2,tr=4,rr=8,Ce=16,Re=32,qe=64,Rt=128,we=512,U=1024,Z=2048,Pe=4096,ie=8192,Ne=16384,Pt=32768,lt=65536,Sr=1<<17,nr=1<<18,Xe=1<<19,Fn=1<<20,Ze=32768,ir=1<<21,sr=1<<22,Be=1<<23,Nt=Symbol("$state"),Ar=Symbol("legacy props"),ot=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},It=3,Qe=8;function jn(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function qn(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function Bn(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function Un(e){throw new Error("https://svelte.dev/e/effect_orphan")}function Hn(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function Vn(){throw new Error("https://svelte.dev/e/hydration_failed")}function Yn(e){throw new Error("https://svelte.dev/e/props_invalid_value")}function Jn(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Kn(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function Gn(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function Wn(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function Ot(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function Xn(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let x=!1;function ye(e){x=e}let y;function F(e){if(e===null)throw Ot(),at;return y=e}function gt(){return F(he(y))}function k(e){if(x){if(he(y)!==null)throw Ot(),at;y=e}}function Zn(e=1){if(x){for(var t=e,r=y;t--;)r=he(r);y=r}}function Mt(e=!0){for(var t=0,r=y;;){if(r.nodeType===Qe){var n=r.data;if(n===Zt){if(t===0)return r;t-=1}else(n===Er||n===St)&&(t+=1)}var s=he(r);e&&r.remove(),r=s}}function Cr(e){if(!e||e.nodeType!==Qe)throw Ot(),at;return e.data}function Rr(e){return e===this.v}function Qn(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function Pr(e){return!Qn(e,this.v)}let ei=!1,ce=null;function ft(e){ce=e}function Nr(e,t=!1,r){ce={p:ce,i:!1,c:null,e:null,s:e,x:null,l:null}}function Ir(e){var t=ce,r=t.e;if(r!==null){t.e=null;for(var n of r)tn(n)}return e!==void 0&&(t.x=e),t.i=!0,ce=t.p,e??{}}function Or(){return!0}let et=[];function Mr(){var e=et;et=[],Ln(e)}function Dt(e){if(et.length===0&&!mt){var t=et;queueMicrotask(()=>{t===et&&Mr()})}et.push(e)}function ti(){for(;et.length>0;)Mr()}function Dr(e){var t=$;if(t===null)return m.f|=Be,e;if((t.f&Pt)===0){if((t.f&Rt)===0)throw e;t.b.error(e)}else ut(e,t)}function ut(e,t){for(;t!==null;){if((t.f&Rt)!==0)try{t.b.error(e);return}catch(r){e=r}t=t.parent}throw e}const Lt=new Set;let C=null,de=null,ve=[],Ft=null,ar=!1,mt=!1;class xe{committed=!1;current=new Map;previous=new Map;#t=new Set;#e=new Set;#r=0;#n=0;#o=null;#s=[];#i=[];skipped_effects=new Set;is_fork=!1;is_deferred(){return this.is_fork||this.#n>0}process(t){ve=[],this.apply();var r={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const n of t)this.#a(n,r);this.is_fork||this.#u(),this.is_deferred()?(this.#l(r.effects),this.#l(r.render_effects),this.#l(r.block_effects)):(C=null,Fr(r.render_effects),Fr(r.effects),this.#o?.resolve()),de=null}#a(t,r){t.f^=U;for(var n=t.first;n!==null;){var s=n.f,i=(s&(Re|qe))!==0,a=i&&(s&U)!==0,o=a||(s&ie)!==0||this.skipped_effects.has(n);if((n.f&Rt)!==0&&n.b?.is_pending()&&(r={parent:r,effect:n,effects:[],render_effects:[],block_effects:[]}),!o&&n.fn!==null){i?n.f^=U:(s&tr)!==0?r.effects.push(n):Et(n)&&((n.f&Ce)!==0&&r.block_effects.push(n),kt(n));var l=n.first;if(l!==null){n=l;continue}}var f=n.parent;for(n=n.next;n===null&&f!==null;)f===r.effect&&(this.#l(r.effects),this.#l(r.render_effects),this.#l(r.block_effects),r=r.parent),n=f.next,f=f.parent}}#l(t){for(const r of t)((r.f&Z)!==0?this.#s:this.#i).push(r),this.#f(r.deps),H(r,U)}#f(t){if(t!==null)for(const r of t)(r.f&L)===0||(r.f&Ze)===0||(r.f^=Ze,this.#f(r.deps))}capture(t,r){this.previous.has(t)||this.previous.set(t,r),(t.f&Be)===0&&(this.current.set(t,t.v),de?.set(t,t.v))}activate(){C=this,this.apply()}deactivate(){C===this&&(C=null,de=null)}flush(){if(this.activate(),ve.length>0){if(Lr(),C!==null&&C!==this)return}else this.#r===0&&this.process([]);this.deactivate()}discard(){for(const t of this.#e)t(this);this.#e.clear()}#u(){if(this.#n===0){for(const t of this.#t)t();this.#t.clear()}this.#r===0&&this.#c()}#c(){if(Lt.size>1){this.previous.clear();var t=de,r=!0,n={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const i of Lt){if(i===this){r=!1;continue}const a=[];for(const[l,f]of this.current){if(i.current.has(l))if(r&&f!==i.current.get(l))i.current.set(l,f);else continue;a.push(l)}if(a.length===0)continue;const o=[...i.current.keys()].filter(l=>!this.current.has(l));if(o.length>0){var s=ve;ve=[];const l=new Set,f=new Map;for(const v of a)jr(v,o,l,f);if(ve.length>0){C=i,i.apply();for(const v of ve)i.#a(v,n);i.deactivate()}ve=s}}C=null,de=t}this.committed=!0,Lt.delete(this)}increment(t){this.#r+=1,t&&(this.#n+=1)}decrement(t){this.#r-=1,t&&(this.#n-=1),this.revive()}revive(){for(const t of this.#s)H(t,Z),tt(t);for(const t of this.#i)H(t,Pe),tt(t);this.#s=[],this.#i=[],this.flush()}oncommit(t){this.#t.add(t)}ondiscard(t){this.#e.add(t)}settled(){return(this.#o??=Tr()).promise}static ensure(){if(C===null){const t=C=new xe;Lt.add(C),mt||xe.enqueue(()=>{C===t&&t.flush()})}return C}static enqueue(t){Dt(t)}apply(){}}function wt(e){var t=mt;mt=!0;try{for(var r;;){if(ti(),ve.length===0&&(C?.flush(),ve.length===0))return Ft=null,r;Lr()}}finally{mt=t}}function Lr(){var e=Je;ar=!0;var t=null;try{var r=0;for(Ut(!0);ve.length>0;){var n=xe.ensure();if(r++>1e3){var s,i;ri()}n.process(ve),Ue.clear()}}finally{ar=!1,Ut(e),Ft=null}}function ri(){try{Hn()}catch(e){ut(e,Ft)}}let Ie=null;function Fr(e){var t=e.length;if(t!==0){for(var r=0;r<t;){var n=e[r++];if((n.f&(Ne|ie))===0&&Et(n)&&(Ie=new Set,kt(n),n.deps===null&&n.first===null&&n.nodes_start===null&&(n.teardown===null&&n.ac===null?an(n):n.fn=null),Ie?.size>0)){Ue.clear();for(const s of Ie){if((s.f&(Ne|ie))!==0)continue;const i=[s];let a=s.parent;for(;a!==null;)Ie.has(a)&&(Ie.delete(a),i.push(a)),a=a.parent;for(let o=i.length-1;o>=0;o--){const l=i[o];(l.f&(Ne|ie))===0&&kt(l)}}Ie.clear()}}Ie=null}}function jr(e,t,r,n){if(!r.has(e)&&(r.add(e),e.reactions!==null))for(const s of e.reactions){const i=s.f;(i&L)!==0?jr(s,t,r,n):(i&(sr|Ce))!==0&&(i&Z)===0&&qr(s,t,n)&&(H(s,Z),tt(s))}}function qr(e,t,r){const n=r.get(e);if(n!==void 0)return n;if(e.deps!==null)for(const s of e.deps){if(t.includes(s))return!0;if((s.f&L)!==0&&qr(s,t,r))return r.set(s,!0),!0}return r.set(e,!1),!1}function tt(e){for(var t=Ft=e;t.parent!==null;){t=t.parent;var r=t.f;if(ar&&t===$&&(r&Ce)!==0&&(r&nr)===0)return;if((r&(qe|Re))!==0){if((r&U)===0)return;t.f^=U}}ve.push(t)}function ni(e){let t=0,r=rt(0),n;return()=>{qt()&&(u(r),rn(()=>(t===0&&(n=gn(()=>e(()=>xt(r)))),t+=1,()=>{Dt(()=>{t-=1,t===0&&(n?.(),n=void 0,xt(r))})})))}}var ii=lt|Xe|Rt;function si(e,t,r){new ai(e,t,r)}class ai{parent;#t=!1;#e;#r=x?y:null;#n;#o;#s;#i=null;#a=null;#l=null;#f=null;#u=null;#c=0;#d=0;#h=!1;#v=null;#m=ni(()=>(this.#v=rt(this.#c),()=>{this.#v=null}));constructor(t,r,n){this.#e=t,this.#n=r,this.#o=n,this.parent=$.b,this.#t=!!this.#n.pending,this.#s=Bt(()=>{if($.b=this,x){const i=this.#r;gt(),i.nodeType===Qe&&i.data===St?this.#y():this.#w()}else{var s=this.#p();try{this.#i=be(()=>n(s))}catch(i){this.error(i)}this.#d>0?this.#_():this.#t=!1}return()=>{this.#u?.remove()}},ii),x&&(this.#e=y)}#w(){try{this.#i=be(()=>this.#o(this.#e))}catch(t){this.error(t)}this.#t=!1}#y(){const t=this.#n.pending;t&&(this.#a=be(()=>t(this.#e)),xe.enqueue(()=>{var r=this.#p();this.#i=this.#b(()=>(xe.ensure(),be(()=>this.#o(r)))),this.#d>0?this.#_():(vt(this.#a,()=>{this.#a=null}),this.#t=!1)}))}#p(){var t=this.#e;return this.#t&&(this.#u=K(),this.#e.before(this.#u),t=this.#u),t}is_pending(){return this.#t||!!this.parent&&this.parent.is_pending()}has_pending_snippet(){return!!this.#n.pending}#b(t){var r=$,n=m,s=ce;ze(this.#s),Q(this.#s),ft(this.#s.ctx);try{return t()}catch(i){return Dr(i),null}finally{ze(r),Q(n),ft(s)}}#_(){const t=this.#n.pending;this.#i!==null&&(this.#f=document.createDocumentFragment(),this.#f.append(this.#u),fn(this.#i,this.#f)),this.#a===null&&(this.#a=be(()=>t(this.#e)))}#g(t){if(!this.has_pending_snippet()){this.parent&&this.parent.#g(t);return}this.#d+=t,this.#d===0&&(this.#t=!1,this.#a&&vt(this.#a,()=>{this.#a=null}),this.#f&&(this.#e.before(this.#f),this.#f=null))}update_pending_count(t){this.#g(t),this.#c+=t,this.#v&&ct(this.#v,this.#c)}get_effect_pending(){return this.#m(),u(this.#v)}error(t){var r=this.#n.onerror;let n=this.#n.failed;if(this.#h||!r&&!n)throw t;this.#i&&(G(this.#i),this.#i=null),this.#a&&(G(this.#a),this.#a=null),this.#l&&(G(this.#l),this.#l=null),x&&(F(this.#r),Zn(),F(Mt()));var s=!1,i=!1;const a=()=>{if(s){Xn();return}s=!0,i&&Wn(),xe.ensure(),this.#c=0,this.#l!==null&&vt(this.#l,()=>{this.#l=null}),this.#t=this.has_pending_snippet(),this.#i=this.#b(()=>(this.#h=!1,be(()=>this.#o(this.#e)))),this.#d>0?this.#_():this.#t=!1};var o=m;try{Q(null),i=!0,r?.(t,a),i=!1}catch(l){ut(l,this.#s&&this.#s.parent)}finally{Q(o)}n&&Dt(()=>{this.#l=this.#b(()=>{xe.ensure(),this.#h=!0;try{return be(()=>{n(this.#e,()=>t,()=>a)})}catch(l){return ut(l,this.#s.parent),null}finally{this.#h=!1}})})}}function li(e,t,r){for(var n=[],s=t.length,i=0;i<s;i++)dr(t[i].e,n,!0);ln(n,()=>{var a=n.length===0&&r!==null;if(a){var o=r,l=o.parentNode;Zr(l),l.append(o),e.items.clear(),$e(e,t[0].prev,t[s-1].next)}for(var f=0;f<s;f++){var v=t[f];a||(e.items.delete(v.k),$e(e,v.prev,v.next)),G(v.e,!a)}e.first===t[0]&&(e.first=t[0].prev)})}function yt(e,t,r,n,s,i=null){var a=e,o=new Map,l=null,f=(t&$r)!==0,v=(t&yr)!==0,b=(t&xr)!==0;if(f){var h=e;a=x?F(Ve(h)):h.appendChild(K())}x&>();var d=null,E=Br(()=>{var w=r();return kr(w)?w:w==null?[]:er(w)}),z,_=!0;function p(){oi(A,z,a,t,n),d!==null&&(z.length===0?(d.fragment?(a.before(d.fragment),d.fragment=null):vr(d.effect),c.first=d.effect):vt(d.effect,()=>{d=null}))}var c=Bt(()=>{z=u(E);var w=z.length;let te=!1;if(x){var le=Cr(a)===St;le!==(w===0)&&(a=Mt(),F(a),ye(!1),te=!0)}for(var D=new Set,T=C,X=null,Te=Qr(),j=0;j<w;j+=1){x&&y.nodeType===Qe&&y.data===Zt&&(a=y,te=!0,ye(!1));var ge=z[j],V=n(ge,j),N=_?null:o.get(V);N?(v&&ct(N.v,ge),b?ct(N.i,j):N.i=j,Te&&T.skipped_effects.delete(N.e)):(N=fi(_?a:null,X,ge,V,j,s,t,r),_&&(N.o=!0,X===null?l=N:X.next=N,X=N),o.set(V,N)),D.add(V)}if(w===0&&i&&!d)if(_)d={fragment:null,effect:be(()=>i(a))};else{var De=document.createDocumentFragment(),Le=K();De.append(Le),d={fragment:De,effect:be(()=>i(Le))}}if(x&&w>0&&F(Mt()),!_)if(Te){for(const[Ge,oe]of o)D.has(Ge)||T.skipped_effects.add(oe.e);T.oncommit(p),T.ondiscard(()=>{})}else p();te&&ye(!0),u(E)}),A={effect:c,items:o,first:l};_=!1,x&&(a=y)}function oi(e,t,r,n,s){var i=(n&zn)!==0,a=t.length,o=e.items,l=e.first,f,v=null,b,h=[],d=[],E,z,_,p;if(i)for(p=0;p<a;p+=1)E=t[p],z=s(E,p),_=o.get(z),_.a?.measure(),(b??=new Set).add(_);for(p=0;p<a;p+=1){if(E=t[p],z=s(E,p),_=o.get(z),e.first??=_,!_.o){_.o=!0;var c=v?v.next:l;$e(e,v,_),$e(e,_,c),lr(_,c,r),v=_,h=[],d=[],l=v.next;continue}if((_.e.f&ie)!==0&&(vr(_.e),i&&(_.a?.unfix(),(b??=new Set).delete(_))),_!==l){if(f!==void 0&&f.has(_)){if(h.length<d.length){var A=d[0],w;v=A.prev;var te=h[0],le=h[h.length-1];for(w=0;w<h.length;w+=1)lr(h[w],A,r);for(w=0;w<d.length;w+=1)f.delete(d[w]);$e(e,te.prev,le.next),$e(e,v,te),$e(e,le,A),l=A,v=le,p-=1,h=[],d=[]}else f.delete(_),lr(_,l,r),$e(e,_.prev,_.next),$e(e,_,v===null?e.first:v.next),$e(e,v,_),v=_;continue}for(h=[],d=[];l!==null&&l.k!==z;)(l.e.f&ie)===0&&(f??=new Set).add(l),d.push(l),l=l.next;if(l===null)continue;_=l}h.push(_),v=_,l=_.next}if(l!==null||f!==void 0){for(var D=f===void 0?[]:er(f);l!==null;)(l.e.f&ie)===0&&D.push(l),l=l.next;var T=D.length;if(T>0){var X=(n&$r)!==0&&a===0?r:null;if(i){for(p=0;p<T;p+=1)D[p].a?.measure();for(p=0;p<T;p+=1)D[p].a?.fix()}li(e,D,X)}}i&&Dt(()=>{if(b!==void 0)for(_ of b)_.a?.apply()})}function fi(e,t,r,n,s,i,a,o){var l=(a&yr)!==0,f=(a&Tn)===0,v=l?f?Yr(r,!1,!1):rt(r):r,b=(a&xr)===0?s:rt(s),h={i:b,v,k:n,a:null,e:null,o:!1,prev:t,next:null};try{if(e===null){var d=document.createDocumentFragment();d.append(e=K())}return h.e=be(()=>i(e,v,b,o)),t!==null&&(t.next=h),h}finally{}}function lr(e,t,r){for(var n=e.next?e.next.e.nodes_start:r,s=t?t.e.nodes_start:r,i=e.e.nodes_start;i!==null&&i!==n;){var a=he(i);s.before(i),i=a}}function $e(e,t,r){t===null?(e.first=r,e.effect.first=r&&r.e):(t.e.next&&(t.e.next.prev=null),t.next=r,t.e.next=r&&r.e),r===null?e.effect.last=t&&t.e:(r.e.prev&&(r.e.prev.next=null),r.prev=t,r.e.prev=t&&t.e)}function ui(e,t,r,n){const s=or;if(r.length===0&&e.length===0){n(t.map(s));return}var i=C,a=$,o=ci();function l(){Promise.all(r.map(f=>di(f))).then(f=>{o();try{n([...t.map(s),...f])}catch(v){(a.f&Ne)===0&&ut(v,a)}i?.deactivate(),jt()}).catch(f=>{ut(f,a)})}e.length>0?Promise.all(e).then(()=>{o();try{return l()}finally{i?.deactivate(),jt()}}):l()}function ci(){var e=$,t=m,r=ce,n=C;return function(i=!0){ze(e),Q(t),ft(r),i&&n?.activate()}}function jt(){ze(null),Q(null),ft(null)}function or(e){var t=L|Z,r=m!==null&&(m.f&L)!==0?m:null;return $!==null&&($.f|=Xe),{ctx:ce,deps:null,effects:null,equals:Rr,f:t,fn:e,reactions:null,rv:0,v:B,wv:0,parent:r??$,ac:null}}function di(e,t){let r=$;r===null&&jn();var n=r.b,s=void 0,i=rt(B),a=!m,o=new Map;return xi(()=>{var l=Tr();s=l.promise;try{Promise.resolve(e()).then(l.resolve,l.reject).then(()=>{f===C&&f.committed&&f.deactivate(),jt()})}catch(h){l.reject(h),jt()}var f=C;if(a){var v=!n.is_pending();n.update_pending_count(1),f.increment(v),o.get(f)?.reject(ot),o.delete(f),o.set(f,l)}const b=(h,d=void 0)=>{if(f.activate(),d)d!==ot&&(i.f|=Be,ct(i,d));else{(i.f&Be)!==0&&(i.f^=Be),ct(i,h);for(const[E,z]of o){if(o.delete(E),E===f)break;z.reject(ot)}}a&&(n.update_pending_count(-1),f.decrement(v))};l.promise.then(b,h=>b(null,h||"unknown"))}),pi(()=>{for(const l of o.values())l.reject(ot)}),new Promise(l=>{function f(v){function b(){v===s?l(i):f(s)}v.then(b,b)}f(s)})}function Br(e){const t=or(e);return t.equals=Pr,t}function Ur(e){var t=e.effects;if(t!==null){e.effects=null;for(var r=0;r<t.length;r+=1)G(t[r])}}function vi(e){for(var t=e.parent;t!==null;){if((t.f&L)===0)return(t.f&Ne)===0?t:null;t=t.parent}return null}function fr(e){var t,r=$;ze(vi(e));try{e.f&=~Ze,Ur(e),t=bn(e)}finally{ze(r)}return t}function Hr(e){var t=fr(e);if(e.equals(t)||(C?.is_fork||(e.v=t),e.wv=vn()),!nt)if(de!==null)qt()&&de.set(e,t);else{var r=(e.f&we)===0?Pe:U;H(e,r)}}let ur=new Set;const Ue=new Map;let Vr=!1;function rt(e,t){var r={f:0,v:e,reactions:null,equals:Rr,rv:0,wv:0};return r}function He(e,t){const r=rt(e);return ki(r),r}function Yr(e,t=!1,r=!0){const n=rt(e);return t||(n.equals=Pr),n}function Oe(e,t,r=!1){m!==null&&(!ke||(m.f&Sr)!==0)&&Or()&&(m.f&(L|Ce|sr|Sr))!==0&&!Me?.includes(e)&&Gn();let n=r?dt(t):t;return ct(e,n)}function ct(e,t){if(!e.equals(t)){var r=e.v;nt?Ue.set(e,t):Ue.set(e,r),e.v=t;var n=xe.ensure();n.capture(e,r),(e.f&L)!==0&&((e.f&Z)!==0&&fr(e),H(e,(e.f&we)!==0?U:Pe)),e.wv=vn(),Jr(e,Z),$!==null&&($.f&U)!==0&&($.f&(Re|qe))===0&&(_e===null?zi([e]):_e.push(e)),!n.is_fork&&ur.size>0&&!Vr&&hi()}return t}function hi(){Vr=!1;var e=Je;Ut(!0);const t=Array.from(ur);try{for(const r of t)(r.f&U)!==0&&H(r,Pe),Et(r)&&kt(r)}finally{Ut(e)}ur.clear()}function xt(e){Oe(e,e.v+1)}function Jr(e,t){var r=e.reactions;if(r!==null)for(var n=r.length,s=0;s<n;s++){var i=r[s],a=i.f,o=(a&Z)===0;if(o&&H(i,t),(a&L)!==0){var l=i;de?.delete(l),(a&Ze)===0&&(a&we&&(i.f|=Ze),Jr(l,Pe))}else o&&((a&Ce)!==0&&Ie!==null&&Ie.add(i),tt(i))}}function dt(e){if(typeof e!="object"||e===null||Nt in e)return e;const t=Dn(e);if(t!==On&&t!==Mn)return e;var r=new Map,n=kr(e),s=He(0),i=it,a=o=>{if(it===i)return o();var l=m,f=it;Q(null),dn(i);var v=o();return Q(l),dn(f),v};return n&&r.set("length",He(e.length)),new Proxy(e,{defineProperty(o,l,f){(!("value"in f)||f.configurable===!1||f.enumerable===!1||f.writable===!1)&&Jn();var v=r.get(l);return v===void 0?v=a(()=>{var b=He(f.value);return r.set(l,b),b}):Oe(v,f.value,!0),!0},deleteProperty(o,l){var f=r.get(l);if(f===void 0){if(l in o){const v=a(()=>He(B));r.set(l,v),xt(s)}}else Oe(f,B),xt(s);return!0},get(o,l,f){if(l===Nt)return e;var v=r.get(l),b=l in o;if(v===void 0&&(!b||We(o,l)?.writable)&&(v=a(()=>{var d=dt(b?o[l]:B),E=He(d);return E}),r.set(l,v)),v!==void 0){var h=u(v);return h===B?void 0:h}return Reflect.get(o,l,f)},getOwnPropertyDescriptor(o,l){var f=Reflect.getOwnPropertyDescriptor(o,l);if(f&&"value"in f){var v=r.get(l);v&&(f.value=u(v))}else if(f===void 0){var b=r.get(l),h=b?.v;if(b!==void 0&&h!==B)return{enumerable:!0,configurable:!0,value:h,writable:!0}}return f},has(o,l){if(l===Nt)return!0;var f=r.get(l),v=f!==void 0&&f.v!==B||Reflect.has(o,l);if(f!==void 0||$!==null&&(!v||We(o,l)?.writable)){f===void 0&&(f=a(()=>{var h=v?dt(o[l]):B,d=He(h);return d}),r.set(l,f));var b=u(f);if(b===B)return!1}return v},set(o,l,f,v){var b=r.get(l),h=l in o;if(n&&l==="length")for(var d=f;d<b.v;d+=1){var E=r.get(d+"");E!==void 0?Oe(E,B):d in o&&(E=a(()=>He(B)),r.set(d+"",E))}if(b===void 0)(!h||We(o,l)?.writable)&&(b=a(()=>He(void 0)),Oe(b,dt(f)),r.set(l,b));else{h=b.v!==B;var z=a(()=>dt(f));Oe(b,z)}var _=Reflect.getOwnPropertyDescriptor(o,l);if(_?.set&&_.set.call(v,f),!h){if(n&&typeof l=="string"){var p=r.get("length"),c=Number(l);Number.isInteger(c)&&c>=p.v&&Oe(p,c+1)}xt(s)}return!0},ownKeys(o){u(s);var l=Reflect.ownKeys(o).filter(b=>{var h=r.get(b);return h===void 0||h.v!==B});for(var[f,v]of r)v.v!==B&&!(f in o)&&l.push(f);return l},setPrototypeOf(){Kn()}})}var Kr,Gr,Wr,Xr;function cr(){if(Kr===void 0){Kr=window,Gr=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,r=Text.prototype;Wr=We(t,"firstChild").get,Xr=We(t,"nextSibling").get,zr(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),zr(r)&&(r.__t=void 0)}}function K(e=""){return document.createTextNode(e)}function Ve(e){return Wr.call(e)}function he(e){return Xr.call(e)}function S(e,t){if(!x)return Ve(e);var r=Ve(y);if(r===null)r=y.appendChild(K());else if(t&&r.nodeType!==It){var n=K();return r?.before(n),F(n),n}return F(r),r}function se(e,t=!1){if(!x){var r=Ve(e);return r instanceof Comment&&r.data===""?he(r):r}if(t&&y?.nodeType!==It){var n=K();return y?.before(n),F(n),n}return y}function M(e,t=1,r=!1){let n=x?y:e;for(var s;t--;)s=n,n=he(n);if(!x)return n;if(r&&n?.nodeType!==It){var i=K();return n===null?s?.after(i):n.before(i),F(i),i}return F(n),n}function Zr(e){e.textContent=""}function Qr(){return!1}function en(e){var t=m,r=$;Q(null),ze(null);try{return e()}finally{Q(t),ze(r)}}function bi(e){$===null&&(m===null&&Un(),Bn()),nt&&qn()}function _i(e,t){var r=t.last;r===null?t.last=t.first=e:(r.next=e,e.prev=r,t.last=e)}function Ee(e,t,r){var n=$;n!==null&&(n.f&ie)!==0&&(e|=ie);var s={ctx:ce,deps:null,nodes_start:null,nodes_end:null,f:e|Z|we,first:null,fn:t,last:null,next:null,parent:n,b:n&&n.b,prev:null,teardown:null,transitions:null,wv:0,ac:null};if(r)try{kt(s),s.f|=Pt}catch(o){throw G(s),o}else t!==null&&tt(s);var i=s;if(r&&i.deps===null&&i.teardown===null&&i.nodes_start===null&&i.first===i.last&&(i.f&Xe)===0&&(i=i.first,(e&Ce)!==0&&(e<)!==0&&i!==null&&(i.f|=lt)),i!==null&&(i.parent=n,n!==null&&_i(i,n),m!==null&&(m.f&L)!==0&&(e&qe)===0)){var a=m;(a.effects??=[]).push(i)}return s}function qt(){return m!==null&&!ke}function pi(e){const t=Ee(rr,null,!1);return H(t,U),t.teardown=e,t}function gi(e){bi();var t=$.f,r=!m&&(t&Re)!==0&&(t&Pt)===0;if(r){var n=ce;(n.e??=[]).push(e)}else return tn(e)}function tn(e){return Ee(tr|Fn,e,!1)}function mi(e){xe.ensure();const t=Ee(qe|Xe,e,!0);return()=>{G(t)}}function wi(e){xe.ensure();const t=Ee(qe|Xe,e,!0);return(r={})=>new Promise(n=>{r.outro?vt(t,()=>{G(t),n(void 0)}):(G(t),n(void 0))})}function yi(e){return Ee(tr,e,!1)}function xi(e){return Ee(sr|Xe,e,!0)}function rn(e,t=0){return Ee(rr|t,e,!0)}function Ye(e,t=[],r=[],n=[]){ui(n,t,r,s=>{Ee(rr,()=>e(...s.map(u)),!0)})}function Bt(e,t=0){var r=Ee(Ce|t,e,!0);return r}function be(e){return Ee(Re|Xe,e,!0)}function nn(e){var t=e.teardown;if(t!==null){const r=nt,n=m;un(!0),Q(null);try{t.call(null)}finally{un(r),Q(n)}}}function sn(e,t=!1){var r=e.first;for(e.first=e.last=null;r!==null;){const s=r.ac;s!==null&&en(()=>{s.abort(ot)});var n=r.next;(r.f&qe)!==0?r.parent=null:G(r,t),r=n}}function $i(e){for(var t=e.first;t!==null;){var r=t.next;(t.f&Re)===0&&G(t),t=r}}function G(e,t=!0){var r=!1;(t||(e.f&nr)!==0)&&e.nodes_start!==null&&e.nodes_end!==null&&(Ei(e.nodes_start,e.nodes_end),r=!0),sn(e,t&&!r),Ht(e,0),H(e,Ne);var n=e.transitions;if(n!==null)for(const i of n)i.stop();nn(e);var s=e.parent;s!==null&&s.first!==null&&an(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=e.ac=null}function Ei(e,t){for(;e!==null;){var r=e===t?null:he(e);e.remove(),e=r}}function an(e){var t=e.parent,r=e.prev,n=e.next;r!==null&&(r.next=n),n!==null&&(n.prev=r),t!==null&&(t.first===e&&(t.first=n),t.last===e&&(t.last=r))}function vt(e,t,r=!0){var n=[];dr(e,n,!0),ln(n,()=>{r&&G(e),t&&t()})}function ln(e,t){var r=e.length;if(r>0){var n=()=>--r||t();for(var s of e)s.out(n)}else t()}function dr(e,t,r){if((e.f&ie)===0){if(e.f^=ie,e.transitions!==null)for(const a of e.transitions)(a.is_global||r)&&t.push(a);for(var n=e.first;n!==null;){var s=n.next,i=(n.f<)!==0||(n.f&Re)!==0&&(e.f&Ce)!==0;dr(n,t,i?r:!1),n=s}}}function vr(e){on(e,!0)}function on(e,t){if((e.f&ie)!==0){e.f^=ie,(e.f&U)===0&&(H(e,Z),tt(e));for(var r=e.first;r!==null;){var n=r.next,s=(r.f<)!==0||(r.f&Re)!==0;on(r,s?t:!1),r=n}if(e.transitions!==null)for(const i of e.transitions)(i.is_global||t)&&i.in()}}function fn(e,t){for(var r=e.nodes_start,n=e.nodes_end;r!==null;){var s=r===n?null:he(r);t.append(r),r=s}}let Je=!1;function Ut(e){Je=e}let nt=!1;function un(e){nt=e}let m=null,ke=!1;function Q(e){m=e}let $=null;function ze(e){$=e}let Me=null;function ki(e){m!==null&&(Me===null?Me=[e]:Me.push(e))}let W=null,ae=0,_e=null;function zi(e){_e=e}let cn=1,$t=0,it=$t;function dn(e){it=e}function vn(){return++cn}function Et(e){var t=e.f;if((t&Z)!==0)return!0;if(t&L&&(e.f&=~Ze),(t&Pe)!==0){var r=e.deps;if(r!==null)for(var n=r.length,s=0;s<n;s++){var i=r[s];if(Et(i)&&Hr(i),i.wv>e.wv)return!0}(t&we)!==0&&de===null&&H(e,U)}return!1}function hn(e,t,r=!0){var n=e.reactions;if(n!==null&&!Me?.includes(e))for(var s=0;s<n.length;s++){var i=n[s];(i.f&L)!==0?hn(i,t,!1):t===i&&(r?H(i,Z):(i.f&U)!==0&&H(i,Pe),tt(i))}}function bn(e){var t=W,r=ae,n=_e,s=m,i=Me,a=ce,o=ke,l=it,f=e.f;W=null,ae=0,_e=null,m=(f&(Re|qe))===0?e:null,Me=null,ft(e.ctx),ke=!1,it=++$t,e.ac!==null&&(en(()=>{e.ac.abort(ot)}),e.ac=null);try{e.f|=ir;var v=e.fn,b=v(),h=e.deps;if(W!==null){var d;if(Ht(e,ae),h!==null&&ae>0)for(h.length=ae+W.length,d=0;d<W.length;d++)h[ae+d]=W[d];else e.deps=h=W;if(Je&&qt()&&(e.f&we)!==0)for(d=ae;d<h.length;d++)(h[d].reactions??=[]).push(e)}else h!==null&&ae<h.length&&(Ht(e,ae),h.length=ae);if(Or()&&_e!==null&&!ke&&h!==null&&(e.f&(L|Pe|Z))===0)for(d=0;d<_e.length;d++)hn(_e[d],e);return s!==null&&s!==e&&($t++,_e!==null&&(n===null?n=_e:n.push(..._e))),(e.f&Be)!==0&&(e.f^=Be),b}catch(E){return Dr(E)}finally{e.f^=ir,W=t,ae=r,_e=n,m=s,Me=i,ft(a),ke=o,it=l}}function Ti(e,t){let r=t.reactions;if(r!==null){var n=In.call(r,e);if(n!==-1){var s=r.length-1;s===0?r=t.reactions=null:(r[n]=r[s],r.pop())}}r===null&&(t.f&L)!==0&&(W===null||!W.includes(t))&&(H(t,Pe),(t.f&we)!==0&&(t.f^=we,t.f&=~Ze),Ur(t),Ht(t,0))}function Ht(e,t){var r=e.deps;if(r!==null)for(var n=t;n<r.length;n++)Ti(e,r[n])}function kt(e){var t=e.f;if((t&Ne)===0){H(e,U);var r=$,n=Je;$=e,Je=!0;try{(t&Ce)!==0?$i(e):sn(e),nn(e);var s=bn(e);e.teardown=typeof s=="function"?s:null,e.wv=cn;var i;Qt&&ei&&(e.f&Z)!==0&&e.deps}finally{Je=n,$=r}}}function u(e){var t=e.f,r=(t&L)!==0;if(m!==null&&!ke){var n=$!==null&&($.f&Ne)!==0;if(!n&&!Me?.includes(e)){var s=m.deps;if((m.f&ir)!==0)e.rv<$t&&(e.rv=$t,W===null&&s!==null&&s[ae]===e?ae++:W===null?W=[e]:W.includes(e)||W.push(e));else{(m.deps??=[]).push(e);var i=e.reactions;i===null?e.reactions=[m]:i.includes(m)||i.push(m)}}}if(nt){if(Ue.has(e))return Ue.get(e);if(r){var a=e,o=a.v;return((a.f&U)===0&&a.reactions!==null||pn(a))&&(o=fr(a)),Ue.set(a,o),o}}else r&&!de?.has(e)&&(a=e,Et(a)&&Hr(a),Je&&qt()&&(a.f&we)===0&&_n(a));if(de?.has(e))return de.get(e);if((e.f&Be)!==0)throw e.v;return e.v}function _n(e){if(e.deps!==null){e.f^=we;for(const t of e.deps)(t.reactions??=[]).push(e),(t.f&L)!==0&&(t.f&we)===0&&_n(t)}}function pn(e){if(e.v===B)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(Ue.has(t)||(t.f&L)!==0&&pn(t))return!0;return!1}function gn(e){var t=ke;try{return ke=!0,e()}finally{ke=t}}const Si=-7169;function H(e,t){e.f=e.f&Si|t}const mn=new Set,hr=new Set;function Ai(e){for(var t=0;t<e.length;t++)mn.add(e[t]);for(var r of hr)r(e)}let wn=null;function Vt(e){var t=this,r=t.ownerDocument,n=e.type,s=e.composedPath?.()||[],i=s[0]||e.target;wn=e;var a=0,o=wn===e&&e.__root;if(o){var l=s.indexOf(o);if(l!==-1&&(t===document||t===window)){e.__root=t;return}var f=s.indexOf(t);if(f===-1)return;l<=f&&(a=l)}if(i=s[a]||e.target,i!==t){Ct(e,"currentTarget",{configurable:!0,get(){return i||r}});var v=m,b=$;Q(null),ze(null);try{for(var h,d=[];i!==null;){var E=i.assignedSlot||i.parentNode||i.host||null;try{var z=i["__"+n];z!=null&&(!i.disabled||e.target===i)&&z.call(i,e)}catch(_){h?d.push(_):h=_}if(e.cancelBubble||E===t||E===null)break;i=E}if(h){for(let _ of d)queueMicrotask(()=>{throw _});throw h}}finally{e.__root=t,delete e.currentTarget,Q(v),ze(b)}}}function Ci(e){var t=document.createElement("template");return t.innerHTML=e.replaceAll("<!>","<!---->"),t.content}function Ke(e,t){var r=$;r.nodes_start===null&&(r.nodes_start=e,r.nodes_end=t)}function R(e,t){var r=(t&Pn)!==0,n=(t&Nn)!==0,s,i=!e.startsWith("<!>");return()=>{if(x)return Ke(y,null),y;s===void 0&&(s=Ci(i?e:"<!>"+e),r||(s=Ve(s)));var a=n||Gr?document.importNode(s,!0):s.cloneNode(!0);if(r){var o=Ve(a),l=a.lastChild;Ke(o,l)}else Ke(a,a);return a}}function ht(e=""){if(!x){var t=K(e+"");return Ke(t,t),t}var r=y;return r.nodeType!==It&&(r.before(r=K()),F(r)),Ke(r,r),r}function pe(){if(x)return Ke(y,null),y;var e=document.createDocumentFragment(),t=document.createComment(""),r=K();return e.append(t,r),Ke(t,r),e}function g(e,t){if(x){var r=$;((r.f&Pt)===0||r.nodes_end===null)&&(r.nodes_end=y),gt();return}e!==null&&e.before(t)}const Ri=["touchstart","touchmove"];function Pi(e){return Ri.includes(e)}function ee(e,t){var r=t==null?"":typeof t=="object"?t+"":t;r!==(e.__t??=e.nodeValue)&&(e.__t=r,e.nodeValue=r+"")}function yn(e,t){return xn(e,t)}function Ni(e,t){cr(),t.intro=t.intro??!1;const r=t.target,n=x,s=y;try{for(var i=Ve(r);i&&(i.nodeType!==Qe||i.data!==Er);)i=he(i);if(!i)throw at;ye(!0),F(i);const a=xn(e,{...t,anchor:i});return ye(!1),a}catch(a){if(a instanceof Error&&a.message.split(`
|
|
2
|
-
`).some(o=>o.startsWith("https://svelte.dev/e/")))throw a;return a!==at&&console.warn("Failed to hydrate: ",a),t.recover===!1&&Vn(),cr(),Zr(r),ye(!1),yn(e,t)}finally{ye(n),F(s)}}const bt=new Map;function xn(e,{target:t,anchor:r,props:n={},events:s,context:i,intro:a=!0}){cr();var o=new Set,l=b=>{for(var h=0;h<b.length;h++){var d=b[h];if(!o.has(d)){o.add(d);var E=Pi(d);t.addEventListener(d,Vt,{passive:E});var z=bt.get(d);z===void 0?(document.addEventListener(d,Vt,{passive:E}),bt.set(d,1)):bt.set(d,z+1)}}};l(er(mn)),hr.add(l);var f=void 0,v=wi(()=>{var b=r??t.appendChild(K());return si(b,{pending:()=>{}},h=>{if(i){Nr({});var d=ce;d.c=i}if(s&&(n.$$events=s),x&&Ke(h,null),f=e(h,n)||{},x&&($.nodes_end=y,y===null||y.nodeType!==Qe||y.data!==Zt))throw Ot(),at;i&&Ir()}),()=>{for(var h of o){t.removeEventListener(h,Vt);var d=bt.get(h);--d===0?(document.removeEventListener(h,Vt),bt.delete(h)):bt.set(h,d)}hr.delete(l),b!==r&&b.parentNode?.removeChild(b)}});return br.set(f,v),f}let br=new WeakMap;function Ii(e,t){const r=br.get(e);return r?(br.delete(e),r(t)):Promise.resolve()}class Oi{anchor;#t=new Map;#e=new Map;#r=new Map;#n=new Set;#o=!0;constructor(t,r=!0){this.anchor=t,this.#o=r}#s=()=>{var t=C;if(this.#t.has(t)){var r=this.#t.get(t),n=this.#e.get(r);if(n)vr(n),this.#n.delete(r);else{var s=this.#r.get(r);s&&(this.#e.set(r,s.effect),this.#r.delete(r),s.fragment.lastChild.remove(),this.anchor.before(s.fragment),n=s.effect)}for(const[i,a]of this.#t){if(this.#t.delete(i),i===t)break;const o=this.#r.get(a);o&&(G(o.effect),this.#r.delete(a))}for(const[i,a]of this.#e){if(i===r||this.#n.has(i))continue;const o=()=>{if(Array.from(this.#t.values()).includes(i)){var f=document.createDocumentFragment();fn(a,f),f.append(K()),this.#r.set(i,{effect:a,fragment:f})}else G(a);this.#n.delete(i),this.#e.delete(i)};this.#o||!n?(this.#n.add(i),vt(a,o,!1)):o()}}};#i=t=>{this.#t.delete(t);const r=Array.from(this.#t.values());for(const[n,s]of this.#r)r.includes(n)||(G(s.effect),this.#r.delete(n))};ensure(t,r){var n=C,s=Qr();if(r&&!this.#e.has(t)&&!this.#r.has(t))if(s){var i=document.createDocumentFragment(),a=K();i.append(a),this.#r.set(t,{effect:be(()=>r(a)),fragment:i})}else this.#e.set(t,be(()=>r(this.anchor)));if(this.#t.set(n,t),s){for(const[o,l]of this.#e)o===t?n.skipped_effects.delete(l):n.skipped_effects.add(l);for(const[o,l]of this.#r)o===t?n.skipped_effects.delete(l.effect):n.skipped_effects.add(l.effect);n.oncommit(this.#s),n.ondiscard(this.#i)}else x&&(this.anchor=y),this.#s()}}function P(e,t,r=!1){x&>();var n=new Oi(e),s=r?lt:0;function i(a,o){if(x){const f=Cr(e)===St;if(a===f){var l=Mt();F(l),n.anchor=l,ye(!1),n.ensure(a,o),ye(!0);return}}n.ensure(a,o)}Bt(()=>{var a=!1;t((o,l=!0)=>{a=!0,i(l,o)}),a||i(!1,null)},s)}function Mi(e,t,r,n,s){x&>();var i=t.$$slots?.[r],a=!1;i===!0&&(i=t[r],a=!0),i===void 0||i(e,a?()=>n:n)}function Di(e,t){let r=null,n=x;var s;if(x){r=y;for(var i=Ve(document.head);i!==null&&(i.nodeType!==Qe||i.data!==e);)i=he(i);if(i===null)ye(!1);else{var a=he(i);i.remove(),F(a)}}x||(s=document.head.appendChild(K()));try{Bt(()=>t(s),nr)}finally{n&&(ye(!0),F(r))}}function Li(e,t){yi(()=>{var r=e.getRootNode(),n=r.host?r:r.head??r.ownerDocument.head;if(!n.querySelector("#"+t.hash)){const s=document.createElement("style");s.id=t.hash,s.textContent=t.code,n.appendChild(s)}})}let Yt=!1;function Fi(e){var t=Yt;try{return Yt=!1,[e(),Yt]}finally{Yt=t}}function Jt(e,t,r,n){var s=(r&Cn)!==0,i=(r&Rn)!==0,a=n,o=!0,l=()=>(o&&(o=!1,a=i?gn(n):n),a),f;if(s){var v=Nt in e||Ar in e;f=We(e,t)?.set??(v&&t in e?c=>e[t]=c:void 0)}var b,h=!1;s?[b,h]=Fi(()=>e[t]):b=e[t],b===void 0&&n!==void 0&&(b=l(),f&&(Yn(),f(b)));var d;if(d=()=>{var c=e[t];return c===void 0?l():(o=!0,c)},(r&An)===0)return d;if(f){var E=e.$$legacy;return(function(c,A){return arguments.length>0?((!A||E||h)&&f(A?d():c),c):d()})}var z=!1,_=((r&Sn)!==0?or:Br)(()=>(z=!1,d()));s&&u(_);var p=$;return(function(c,A){if(arguments.length>0){const w=A?u(_):s?dt(c):c;return Oe(_,w),z=!0,a!==void 0&&(a=w),c}return nt&&z||(p.f&Ne)!==0?_.v:u(_)})}function ji(e){return new qi(e)}class qi{#t;#e;constructor(t){var r=new Map,n=(i,a)=>{var o=Yr(a,!1,!1);return r.set(i,o),o};const s=new Proxy({...t.props||{},$$events:{}},{get(i,a){return u(r.get(a)??n(a,Reflect.get(i,a)))},has(i,a){return a===Ar?!0:(u(r.get(a)??n(a,Reflect.get(i,a))),Reflect.has(i,a))},set(i,a,o){return Oe(r.get(a)??n(a,o),o),Reflect.set(i,a,o)}});this.#e=(t.hydrate?Ni:yn)(t.component,{target:t.target,anchor:t.anchor,props:s,context:t.context,intro:t.intro??!1,recover:t.recover}),(!t?.props?.$$host||t.sync===!1)&&wt(),this.#t=s.$$events;for(const i of Object.keys(this.#e))i==="$set"||i==="$destroy"||i==="$on"||Ct(this,i,{get(){return this.#e[i]},set(a){this.#e[i]=a},enumerable:!0});this.#e.$set=i=>{Object.assign(s,i)},this.#e.$destroy=()=>{Ii(this.#e)}}$set(t){this.#e.$set(t)}$on(t,r){this.#t[t]=this.#t[t]||[];const n=(...s)=>r.call(this,...s);return this.#t[t].push(n),()=>{this.#t[t]=this.#t[t].filter(s=>s!==n)}}$destroy(){this.#e.$destroy()}}let $n;typeof HTMLElement=="function"&&($n=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;constructor(e,t,r){super(),this.$$ctor=e,this.$$s=t,r&&this.attachShadow({mode:"open"})}addEventListener(e,t,r){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(t),this.$$c){const n=this.$$c.$on(e,t);this.$$l_u.set(t,n)}super.addEventListener(e,t,r)}removeEventListener(e,t,r){if(super.removeEventListener(e,t,r),this.$$c){const n=this.$$l_u.get(t);n&&(n(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let e=function(n){return s=>{const i=document.createElement("slot");n!=="default"&&(i.name=n),g(s,i)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},r=Bi(this);for(const n of this.$$s)n in r&&(n==="default"&&!this.$$d.children?(this.$$d.children=e(n),t.default=!0):t[n]=e(n));for(const n of this.attributes){const s=this.$$g_p(n.name);s in this.$$d||(this.$$d[s]=Kt(s,n.value,this.$$p_d,"toProp"))}for(const n in this.$$p_d)!(n in this.$$d)&&this[n]!==void 0&&(this.$$d[n]=this[n],delete this[n]);this.$$c=ji({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=mi(()=>{rn(()=>{this.$$r=!0;for(const n of At(this.$$c)){if(!this.$$p_d[n]?.reflect)continue;this.$$d[n]=this.$$c[n];const s=Kt(n,this.$$d[n],this.$$p_d,"toAttribute");s==null?this.removeAttribute(this.$$p_d[n].attribute||n):this.setAttribute(this.$$p_d[n].attribute||n,s)}this.$$r=!1})});for(const n in this.$$l)for(const s of this.$$l[n]){const i=this.$$c.$on(n,s);this.$$l_u.set(s,i)}this.$$l={}}}attributeChangedCallback(e,t,r){this.$$r||(e=this.$$g_p(e),this.$$d[e]=Kt(e,r,this.$$p_d,"toProp"),this.$$c?.$set({[e]:this.$$d[e]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$me(),this.$$c=void 0)})}$$g_p(e){return At(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function Kt(e,t,r,n){const s=r[e]?.type;if(t=s==="Boolean"&&typeof t!="boolean"?t!=null:t,!n||!r[e])return t;if(n==="toAttribute")switch(s){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t??null;default:return t}else switch(s){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function Bi(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}function Ui(e,t,r,n,s,i){let a=class extends $n{constructor(){super(e,r,s),this.$$p_d=t}static get observedAttributes(){return At(t).map(o=>(t[o].attribute||o).toLowerCase())}};return At(t).forEach(o=>{Ct(a.prototype,o,{get(){return this.$$c&&o in this.$$c?this.$$c[o]:this.$$d[o]},set(l){l=Kt(o,l,t),this.$$d[o]=l;var f=this.$$c;if(f){var v=We(f,o)?.get;v?f[o]=l:f.$set({[o]:l})}}})}),n.forEach(o=>{Ct(a.prototype,o,{get(){return this.$$c?.[o]}})}),e.element=a,a}var Hi=R('<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css" class="svelte-1fgep9z"/>'),Vi=R('<div class="header_promotion svelte-1fgep9z"><!></div>'),Yi=R('<span class="slashed svelte-1fgep9z"> </span>'),Ji=R('<div part="col" class="col svelte-1fgep9z"><div class="header_model svelte-1fgep9z"> </div> <div class="header_description svelte-1fgep9z"> </div> <!> <div class="header_price svelte-1fgep9z"><span class="header_price_currency svelte-1fgep9z"> <!></span> <span class="header_price_value svelte-1fgep9z"> </span></div> <div class="header_purchase_button svelte-1fgep9z"><button class="btn btn-primary svelte-1fgep9z">Acquista</button></div></div>'),Ki=R('<i class="bi-check svelte-1fgep9z"></i>'),Gi=R('<i class="bi-dash svelte-1fgep9z"></i>'),Wi=R('<i class="bi-x svelte-1fgep9z"></i>'),Xi=R('<i class="bi-star-fill svelte-1fgep9z"></i>'),Zi=R('<i class="bi-plus svelte-1fgep9z"></i>'),Qi=R('<div part="col" class="col svelte-1fgep9z"><!></div>'),es=R('<div part="row" class="row svelte-1fgep9z"><div part="col" class="col svelte-1fgep9z"> </div> <!></div>'),ts=R('<div class="header_promotion svelte-1fgep9z"><!></div>'),rs=R('<span class="slashed svelte-1fgep9z"> </span>'),ns=R('<i class="bi-check svelte-1fgep9z"></i>'),is=R('<i class="bi-dash svelte-1fgep9z"></i>'),ss=R('<i class="bi-x svelte-1fgep9z"></i>'),as=R('<i class="bi-star-fill svelte-1fgep9z"></i>'),ls=R('<i class="bi-plus svelte-1fgep9z"></i>'),os=R('<div part="col" class="mincol2 svelte-1fgep9z"> <!></div>'),fs=R('<div style="margin-bottom:100px;border-left:0.5px solid #dddddd;border-right:0.5px solid #dddddd;" class="svelte-1fgep9z"><div part="col" class="mincol svelte-1fgep9z"><div class="header_model svelte-1fgep9z"> </div> <div class="header_description svelte-1fgep9z"> </div> <!> <div class="header_price svelte-1fgep9z"><span class="header_price_currency svelte-1fgep9z"> <!></span> <span class="header_price_value svelte-1fgep9z"> </span></div> <div class="header_purchase_button svelte-1fgep9z"><button class="btn btn-primary svelte-1fgep9z">Acquista</button></div></div> <!></div>'),us=R('<div part="container" class="container d-none d-lg-block svelte-1fgep9z"><div class="row svelte-1fgep9z" part="row"><div part="col" class="col svelte-1fgep9z"><!></div> <!></div> <!></div> <div part="container" class="container d-lg-none svelte-1fgep9z"></div>',1);const cs={hash:"svelte-1fgep9z",code:`@charset "UTF-8";
|
|
1
|
+
(function(fr){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const $n=1,En=2,ur=4,zn=8,kn=16,Tn=1,Sn=4,An=8,Rn=16,Cn=1,Nn=2,cr="[",Ht="[!",dr="[?",qt="]",Qe={},q=Symbol(),Pn="http://www.w3.org/1999/xhtml",On=!1;var vr=Array.isArray,In=Array.prototype.indexOf,et=Array.prototype.includes,zt=Array.from,kt=Object.keys,Tt=Object.defineProperty,qe=Object.getOwnPropertyDescriptor,Mn=Object.prototype,Dn=Array.prototype,Fn=Object.getPrototypeOf,hr=Object.isExtensible;const Ln=()=>{};function jn(e){for(var t=0;t<e.length;t++)e[t]()}function pr(){var e,t,r=new Promise((n,i)=>{e=n,t=i});return{promise:r,resolve:e,reject:t}}const L=2,tt=4,St=8,_r=1<<24,Ae=16,he=32,Re=64,Vt=128,re=512,M=1024,U=2048,ge=4096,ee=8192,ne=16384,Ce=32768,br=1<<25,rt=65536,gr=1<<17,mr=1<<18,Ne=1<<19,Bn=1<<20,me=1<<25,Ve=65536,Yt=1<<21,Ut=1<<22,Pe=1<<23,At=Symbol("$state"),wr=Symbol("legacy props"),$e=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},dt=3,nt=8;function Hn(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function qn(e,t,r){throw new Error("https://svelte.dev/e/each_key_duplicate")}function Vn(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function Yn(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function Un(e){throw new Error("https://svelte.dev/e/effect_orphan")}function Gn(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function Jn(){throw new Error("https://svelte.dev/e/hydration_failed")}function Kn(e){throw new Error("https://svelte.dev/e/props_invalid_value")}function Wn(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Xn(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function Zn(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function Qn(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function Rt(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function ei(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let E=!1;function pe(e){E=e}let $;function V(e){if(e===null)throw Rt(),Qe;return $=e}function vt(){return V(se($))}function k(e){if(E){if(se($)!==null)throw Rt(),Qe;$=e}}function ti(e=1){if(E){for(var t=e,r=$;t--;)r=se(r);$=r}}function Ct(e=!0){for(var t=0,r=$;;){if(r.nodeType===nt){var n=r.data;if(n===qt){if(t===0)return r;t-=1}else(n===cr||n===Ht||n[0]==="["&&!isNaN(Number(n.slice(1))))&&(t+=1)}var i=se(r);e&&r.remove(),r=i}}function yr(e){if(!e||e.nodeType!==nt)throw Rt(),Qe;return e.data}function xr(e){return e===this.v}function ri(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function $r(e){return!ri(e,this.v)}let ni=!1,ie=null;function it(e){ie=e}function Er(e,t=!1,r){ie={p:ie,i:!1,c:null,e:null,s:e,x:null,r:x,l:null}}function zr(e){var t=ie,r=t.e;if(r!==null){t.e=null;for(var n of r)Xr(n)}return e!==void 0&&(t.x=e),t.i=!0,ie=t.p,e??{}}function kr(){return!0}let Ye=[];function Tr(){var e=Ye;Ye=[],jn(e)}function Ue(e){if(Ye.length===0&&!ht){var t=Ye;queueMicrotask(()=>{t===Ye&&Tr()})}Ye.push(e)}function ii(){for(;Ye.length>0;)Tr()}function Sr(e){var t=x;if(t===null)return y.f|=Pe,e;if((t.f&Ce)===0&&(t.f&tt)===0)throw e;Oe(e,t)}function Oe(e,t){for(;t!==null;){if((t.f&Vt)!==0){if((t.f&Ce)===0)throw e;try{t.b.error(e);return}catch(r){e=r}}t=t.parent}throw e}const si=-7169;function O(e,t){e.f=e.f&si|t}function Gt(e){(e.f&re)!==0||e.deps===null?O(e,M):O(e,ge)}function Ar(e){if(e!==null)for(const t of e)(t.f&L)===0||(t.f&Ve)===0||(t.f^=Ve,Ar(t.deps))}function Rr(e,t,r){(e.f&U)!==0?t.add(e):(e.f&ge)!==0&&r.add(e),Ar(e.deps),O(e,M)}let Nt=!1;function li(e){var t=Nt;try{return Nt=!1,[e(),Nt]}finally{Nt=t}}const Ie=new Set;let S=null,_e=null,Jt=null,ht=!1,Kt=!1,st=null,Pt=null;var Cr=0;let ai=1;class Ee{id=ai++;current=new Map;previous=new Map;#e=new Set;#r=new Set;#t=new Map;#i=new Map;#s=null;#n=[];#l=new Set;#a=new Set;#o=new Map;is_fork=!1;#c=!1;#f=new Set;#d(){return this.is_fork||this.#i.size>0}#h(){for(const n of this.#f)for(const i of n.#i.keys()){for(var t=!1,r=i;r.parent!==null;){if(this.#o.has(r)){t=!0;break}r=r.parent}if(!t)return!0}return!1}skip_effect(t){this.#o.has(t)||this.#o.set(t,{d:[],m:[]})}unskip_effect(t){var r=this.#o.get(t);if(r){this.#o.delete(t);for(var n of r.d)O(n,U),this.schedule(n);for(n of r.m)O(n,ge),this.schedule(n)}}#v(){if(Cr++>1e3&&(Ie.delete(this),oi()),!this.#d()){for(const a of this.#l)this.#a.delete(a),O(a,U),this.schedule(a);for(const a of this.#a)O(a,ge),this.schedule(a)}const t=this.#n;this.#n=[],this.apply();var r=st=[],n=[],i=Pt=[];for(const a of t)try{this.#u(a,r,n)}catch(o){throw Mr(a),o}if(S=null,i.length>0){var s=Ee.ensure();for(const a of i)s.schedule(a)}if(st=null,Pt=null,this.#d()||this.#h()){this.#p(n),this.#p(r);for(const[a,o]of this.#o)Ir(a,o)}else{this.#t.size===0&&Ie.delete(this),this.#l.clear(),this.#a.clear();for(const a of this.#e)a(this);this.#e.clear(),Nr(n),Nr(r),this.#s?.resolve()}var l=S;if(this.#n.length>0){const a=l??=this;a.#n.push(...this.#n.filter(o=>!a.#n.includes(o)))}l!==null&&(Ie.add(l),l.#v()),Ie.has(this)||this.#_()}#u(t,r,n){t.f^=M;for(var i=t.first;i!==null;){var s=i.f,l=(s&(he|Re))!==0,a=l&&(s&M)!==0,o=a||(s&ee)!==0||this.#o.has(i);if(!o&&i.fn!==null){l?i.f^=M:(s&tt)!==0?r.push(i):bt(i)&&((s&Ae)!==0&&this.#a.add(i),ot(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}}}#p(t){for(var r=0;r<t.length;r+=1)Rr(t[r],this.#l,this.#a)}capture(t,r,n=!1){r!==q&&!this.previous.has(t)&&this.previous.set(t,r),(t.f&Pe)===0&&(this.current.set(t,[t.v,n]),_e?.set(t,t.v))}activate(){S=this}deactivate(){S=null,_e=null}flush(){try{Kt=!0,S=this,this.#v()}finally{Cr=0,Jt=null,st=null,Pt=null,Kt=!1,S=null,_e=null,Me.clear()}}discard(){for(const t of this.#r)t(this);this.#r.clear(),Ie.delete(this)}#_(){for(const f of Ie){var t=f.id<this.id,r=[];for(const[u,[p,v]]of this.current){if(f.current.has(u)){var n=f.current.get(u)[0];if(t&&p!==n)f.current.set(u,[p,v]);else continue}r.push(u)}var i=[...f.current.keys()].filter(u=>!this.current.has(u));if(i.length===0)t&&f.discard();else if(r.length>0){f.activate();var s=new Set,l=new Map;for(var a of r)Pr(a,i,s,l);if(f.#n.length>0){f.apply();for(var o of f.#n)f.#u(o,[],[]);f.#n=[]}f.deactivate()}}for(const f of Ie)f.#f.has(this)&&(f.#f.delete(this),f.#f.size===0&&!f.#d()&&(f.activate(),f.#v()))}increment(t,r){let n=this.#t.get(r)??0;if(this.#t.set(r,n+1),t){let i=this.#i.get(r)??0;this.#i.set(r,i+1)}}decrement(t,r,n){let i=this.#t.get(r)??0;if(i===1?this.#t.delete(r):this.#t.set(r,i-1),t){let s=this.#i.get(r)??0;s===1?this.#i.delete(r):this.#i.set(r,s-1)}this.#c||n||(this.#c=!0,Ue(()=>{this.#c=!1,this.flush()}))}transfer_effects(t,r){for(const n of t)this.#l.add(n);for(const n of r)this.#a.add(n);t.clear(),r.clear()}oncommit(t){this.#e.add(t)}ondiscard(t){this.#r.add(t)}settled(){return(this.#s??=pr()).promise}static ensure(){if(S===null){const t=S=new Ee;Kt||(Ie.add(S),ht||Ue(()=>{S===t&&t.flush()}))}return S}apply(){{_e=null;return}}schedule(t){if(Jt=t,t.b?.is_pending&&(t.f&(tt|St|_r))!==0&&(t.f&Ce)===0){t.b.defer_effect(t);return}for(var r=t;r.parent!==null;){r=r.parent;var n=r.f;if(st!==null&&r===x&&(y===null||(y.f&L)===0))return;if((n&(Re|he))!==0){if((n&M)===0)return;r.f^=M}}this.#n.push(r)}}function pt(e){var t=ht;ht=!0;try{for(var r;;){if(ii(),S===null)return r;S.flush()}}finally{ht=t}}function oi(){try{Gn()}catch(e){Oe(e,Jt)}}let ze=null;function Nr(e){var t=e.length;if(t!==0){for(var r=0;r<t;){var n=e[r++];if((n.f&(ne|ee))===0&&bt(n)&&(ze=new Set,ot(n),n.deps===null&&n.first===null&&n.nodes===null&&n.teardown===null&&n.ac===null&&en(n),ze?.size>0)){Me.clear();for(const i of ze){if((i.f&(ne|ee))!==0)continue;const s=[i];let l=i.parent;for(;l!==null;)ze.has(l)&&(ze.delete(l),s.push(l)),l=l.parent;for(let a=s.length-1;a>=0;a--){const o=s[a];(o.f&(ne|ee))===0&&ot(o)}}ze.clear()}}ze=null}}function Pr(e,t,r,n){if(!r.has(e)&&(r.add(e),e.reactions!==null))for(const i of e.reactions){const s=i.f;(s&L)!==0?Pr(i,t,r,n):(s&(Ut|Ae))!==0&&(s&U)===0&&Or(i,t,n)&&(O(i,U),Wt(i))}}function Or(e,t,r){const n=r.get(e);if(n!==void 0)return n;if(e.deps!==null)for(const i of e.deps){if(et.call(t,i))return!0;if((i.f&L)!==0&&Or(i,t,r))return r.set(i,!0),!0}return r.set(e,!1),!1}function Wt(e){S.schedule(e)}function Ir(e,t){if(!((e.f&he)!==0&&(e.f&M)!==0)){(e.f&U)!==0?t.d.push(e):(e.f&ge)!==0&&t.m.push(e),O(e,M);for(var r=e.first;r!==null;)Ir(r,t),r=r.next}}function Mr(e){O(e,M);for(var t=e.first;t!==null;)Mr(t),t=t.next}function fi(e){let t=0,r=Ge(0),n;return()=>{tr()&&(c(r),Zr(()=>(t===0&&(n=vn(()=>e(()=>_t(r)))),t+=1,()=>{Ue(()=>{t-=1,t===0&&(n?.(),n=void 0,_t(r))})})))}}var ui=rt|Ne;function ci(e,t,r,n){new di(e,t,r,n)}class di{parent;is_pending=!1;transform_error;#e;#r=E?$:null;#t;#i;#s;#n=null;#l=null;#a=null;#o=null;#c=0;#f=0;#d=!1;#h=new Set;#v=new Set;#u=null;#p=fi(()=>(this.#u=Ge(this.#c),()=>{this.#u=null}));constructor(t,r,n,i){this.#e=t,this.#t=r,this.#i=s=>{var l=x;l.b=this,l.f|=Vt,n(s)},this.parent=x.b,this.transform_error=i??this.parent?.transform_error??(s=>s),this.#s=Dt(()=>{if(E){const s=this.#r;vt();const l=s.data===Ht;if(s.data.startsWith(dr)){const o=JSON.parse(s.data.slice(dr.length));this.#y(o)}else l?this.#x():this.#_()}else this.#m()},ui),E&&(this.#e=$)}#_(){try{this.#n=le(()=>this.#i(this.#e))}catch(t){this.error(t)}}#y(t){const r=this.#t.failed;r&&(this.#a=le(()=>{r(this.#e,()=>t,()=>()=>{})}))}#x(){const t=this.#t.pending;t&&(this.is_pending=!0,this.#l=le(()=>t(this.#e)),Ue(()=>{var r=this.#o=document.createDocumentFragment(),n=W();r.append(n),this.#n=this.#g(()=>le(()=>this.#i(n))),this.#f===0&&(this.#e.before(r),this.#o=null,Je(this.#l,()=>{this.#l=null}),this.#b(S))}))}#m(){try{if(this.is_pending=this.has_pending_snippet(),this.#f=0,this.#c=0,this.#n=le(()=>{this.#i(this.#e)}),this.#f>0){var t=this.#o=document.createDocumentFragment();ir(this.#n,t);const r=this.#t.pending;this.#l=le(()=>r(this.#e))}else this.#b(S)}catch(r){this.error(r)}}#b(t){this.is_pending=!1,t.transfer_effects(this.#h,this.#v)}defer_effect(t){Rr(t,this.#h,this.#v)}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!this.#t.pending}#g(t){var r=x,n=y,i=ie;ye(this.#s),ae(this.#s),it(this.#s.ctx);try{return Ee.ensure(),t()}catch(s){return Sr(s),null}finally{ye(r),ae(n),it(i)}}#w(t,r){if(!this.has_pending_snippet()){this.parent&&this.parent.#w(t,r);return}this.#f+=t,this.#f===0&&(this.#b(r),this.#l&&Je(this.#l,()=>{this.#l=null}),this.#o&&(this.#e.before(this.#o),this.#o=null))}update_pending_count(t,r){this.#w(t,r),this.#c+=t,!(!this.#u||this.#d)&&(this.#d=!0,Ue(()=>{this.#d=!1,this.#u&<(this.#u,this.#c)}))}get_effect_pending(){return this.#p(),c(this.#u)}error(t){var r=this.#t.onerror;let n=this.#t.failed;if(!r&&!n)throw t;this.#n&&(K(this.#n),this.#n=null),this.#l&&(K(this.#l),this.#l=null),this.#a&&(K(this.#a),this.#a=null),E&&(V(this.#r),ti(),V(Ct()));var i=!1,s=!1;const l=()=>{if(i){ei();return}i=!0,s&&Qn(),this.#a!==null&&Je(this.#a,()=>{this.#a=null}),this.#g(()=>{this.#m()})},a=o=>{try{s=!0,r?.(o,l),s=!1}catch(f){Oe(f,this.#s&&this.#s.parent)}n&&(this.#a=this.#g(()=>{try{return le(()=>{var f=x;f.b=this,f.f|=Vt,n(this.#e,()=>o,()=>l)})}catch(f){return Oe(f,this.#s.parent),null}}))};Ue(()=>{var o;try{o=this.transform_error(t)}catch(f){Oe(f,this.#s&&this.#s.parent);return}o!==null&&typeof o=="object"&&typeof o.then=="function"?o.then(a,f=>Oe(f,this.#s&&this.#s.parent)):a(o)})}}function vi(e,t,r,n){const i=It;var s=e.filter(v=>!v.settled);if(r.length===0&&s.length===0){n(t.map(i));return}var l=x,a=hi(),o=s.length===1?s[0].promise:s.length>1?Promise.all(s.map(v=>v.promise)):null;function f(v){a();try{n(v)}catch(b){(l.f&ne)===0&&Oe(b,l)}Ot()}if(r.length===0){o.then(()=>f(t.map(i)));return}var u=Dr();function p(){Promise.all(r.map(v=>pi(v))).then(v=>f([...t.map(i),...v])).catch(v=>Oe(v,l)).finally(()=>u())}o?o.then(()=>{a(),p(),Ot()}):p()}function hi(){var e=x,t=y,r=ie,n=S;return function(s=!0){ye(e),ae(t),it(r),s&&(e.f&ne)===0&&(n?.activate(),n?.apply())}}function Ot(e=!0){ye(null),ae(null),it(null),e&&S?.deactivate()}function Dr(){var e=x,t=e.b,r=S,n=t.is_rendered();return t.update_pending_count(1,r),r.increment(n,e),(i=!1)=>{t.update_pending_count(-1,r),r.decrement(n,e,i)}}function It(e){var t=L|U,r=y!==null&&(y.f&L)!==0?y:null;return x!==null&&(x.f|=Ne),{ctx:ie,deps:null,effects:null,equals:xr,f:t,fn:e,reactions:null,rv:0,v:q,wv:0,parent:r??x,ac:null}}function pi(e,t,r){let n=x;n===null&&Hn();var i=void 0,s=Ge(q),l=!y,a=new Map;return Ai(()=>{var o=x,f=pr();i=f.promise;try{Promise.resolve(e()).then(f.resolve,f.reject).finally(Ot)}catch(b){f.reject(b),Ot()}var u=S;if(l){if((o.f&Ce)!==0)var p=Dr();if(n.b.is_rendered())a.get(u)?.reject($e),a.delete(u);else{for(const b of a.values())b.reject($e);a.clear()}a.set(u,f)}const v=(b,g=void 0)=>{if(p){var w=g===$e;p(w)}if(!(g===$e||(o.f&ne)!==0)){if(u.activate(),g)s.f|=Pe,lt(s,g);else{(s.f&Pe)!==0&&(s.f^=Pe),lt(s,b);for(const[h,_]of a){if(a.delete(h),h===u)break;_.reject($e)}}u.deactivate()}};f.promise.then(v,b=>v(null,b||"unknown"))}),Ei(()=>{for(const o of a.values())o.reject($e)}),new Promise(o=>{function f(u){function p(){u===i?o(s):f(i)}u.then(p,p)}f(i)})}function _i(e){const t=It(e);return sn(t),t}function Fr(e){const t=It(e);return t.equals=$r,t}function bi(e){var t=e.effects;if(t!==null){e.effects=null;for(var r=0;r<t.length;r+=1)K(t[r])}}function gi(e){for(var t=e.parent;t!==null;){if((t.f&L)===0)return(t.f&ne)===0?t:null;t=t.parent}return null}function Xt(e){var t,r=x;ye(gi(e));try{e.f&=~Ve,bi(e),t=un(e)}finally{ye(r)}return t}function Lr(e){var t=e.v,r=Xt(e);if(!e.equals(r)&&(e.wv=on(),(!S?.is_fork||e.deps===null)&&(e.v=r,S?.capture(e,t,!0),e.deps===null))){O(e,M);return}je||(_e!==null?(tr()||S?.is_fork)&&_e.set(e,r):Gt(e))}function mi(e){if(e.effects!==null)for(const t of e.effects)(t.teardown||t.ac)&&(t.teardown?.(),t.ac?.abort($e),t.teardown=Ln,t.ac=null,gt(t,0),rr(t))}function jr(e){if(e.effects!==null)for(const t of e.effects)t.teardown&&ot(t)}let Zt=new Set;const Me=new Map;let Br=!1;function Ge(e,t){var r={f:0,v:e,reactions:null,equals:xr,rv:0,wv:0};return r}function De(e,t){const r=Ge(e);return sn(r),r}function Hr(e,t=!1,r=!0){const n=Ge(e);return t||(n.equals=$r),n}function ke(e,t,r=!1){y!==null&&(!be||(y.f&gr)!==0)&&kr()&&(y.f&(L|Ae|Ut|gr))!==0&&(oe===null||!et.call(oe,e))&&Zn();let n=r?at(t):t;return lt(e,n,Pt)}function lt(e,t,r=null){if(!e.equals(t)){var n=e.v;je?Me.set(e,t):Me.set(e,n),e.v=t;var i=Ee.ensure();if(i.capture(e,n),(e.f&L)!==0){const s=e;(e.f&U)!==0&&Xt(s),_e===null&&Gt(s)}e.wv=on(),qr(e,U,r),x!==null&&(x.f&M)!==0&&(x.f&(he|Re))===0&&(fe===null?Ni([e]):fe.push(e)),!i.is_fork&&Zt.size>0&&!Br&&wi()}return t}function wi(){Br=!1;for(const e of Zt)(e.f&M)!==0&&O(e,ge),bt(e)&&ot(e);Zt.clear()}function _t(e){ke(e,e.v+1)}function qr(e,t,r){var n=e.reactions;if(n!==null)for(var i=n.length,s=0;s<i;s++){var l=n[s],a=l.f,o=(a&U)===0;if(o&&O(l,t),(a&L)!==0){var f=l;_e?.delete(f),(a&Ve)===0&&(a&re&&(l.f|=Ve),qr(f,ge,r))}else if(o){var u=l;(a&Ae)!==0&&ze!==null&&ze.add(u),r!==null?r.push(u):Wt(u)}}}function at(e){if(typeof e!="object"||e===null||At in e)return e;const t=Fn(e);if(t!==Mn&&t!==Dn)return e;var r=new Map,n=vr(e),i=De(0),s=We,l=a=>{if(We===s)return a();var o=y,f=We;ae(null),an(s);var u=a();return ae(o),an(f),u};return n&&r.set("length",De(e.length)),new Proxy(e,{defineProperty(a,o,f){(!("value"in f)||f.configurable===!1||f.enumerable===!1||f.writable===!1)&&Wn();var u=r.get(o);return u===void 0?l(()=>{var p=De(f.value);return r.set(o,p),p}):ke(u,f.value,!0),!0},deleteProperty(a,o){var f=r.get(o);if(f===void 0){if(o in a){const u=l(()=>De(q));r.set(o,u),_t(i)}}else ke(f,q),_t(i);return!0},get(a,o,f){if(o===At)return e;var u=r.get(o),p=o in a;if(u===void 0&&(!p||qe(a,o)?.writable)&&(u=l(()=>{var b=at(p?a[o]:q),g=De(b);return g}),r.set(o,u)),u!==void 0){var v=c(u);return v===q?void 0:v}return Reflect.get(a,o,f)},getOwnPropertyDescriptor(a,o){var f=Reflect.getOwnPropertyDescriptor(a,o);if(f&&"value"in f){var u=r.get(o);u&&(f.value=c(u))}else if(f===void 0){var p=r.get(o),v=p?.v;if(p!==void 0&&v!==q)return{enumerable:!0,configurable:!0,value:v,writable:!0}}return f},has(a,o){if(o===At)return!0;var f=r.get(o),u=f!==void 0&&f.v!==q||Reflect.has(a,o);if(f!==void 0||x!==null&&(!u||qe(a,o)?.writable)){f===void 0&&(f=l(()=>{var v=u?at(a[o]):q,b=De(v);return b}),r.set(o,f));var p=c(f);if(p===q)return!1}return u},set(a,o,f,u){var p=r.get(o),v=o in a;if(n&&o==="length")for(var b=f;b<p.v;b+=1){var g=r.get(b+"");g!==void 0?ke(g,q):b in a&&(g=l(()=>De(q)),r.set(b+"",g))}if(p===void 0)(!v||qe(a,o)?.writable)&&(p=l(()=>De(void 0)),ke(p,at(f)),r.set(o,p));else{v=p.v!==q;var w=l(()=>at(f));ke(p,w)}var h=Reflect.getOwnPropertyDescriptor(a,o);if(h?.set&&h.set.call(u,f),!v){if(n&&typeof o=="string"){var _=r.get("length"),d=Number(o);Number.isInteger(d)&&d>=_.v&&ke(_,d+1)}_t(i)}return!0},ownKeys(a){c(i);var o=Reflect.ownKeys(a).filter(p=>{var v=r.get(p);return v===void 0||v.v!==q});for(var[f,u]of r)u.v!==q&&!(f in a)&&o.push(f);return o},setPrototypeOf(){Xn()}})}var Vr,Yr,Ur,Gr;function Qt(){if(Vr===void 0){Vr=window,Yr=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,r=Text.prototype;Ur=qe(t,"firstChild").get,Gr=qe(t,"nextSibling").get,hr(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),hr(r)&&(r.__t=void 0)}}function W(e=""){return document.createTextNode(e)}function Fe(e){return Ur.call(e)}function se(e){return Gr.call(e)}function A(e,t){if(!E)return Fe(e);var r=Fe($);if(r===null)r=$.appendChild(W());else if(t&&r.nodeType!==dt){var n=W();return r?.before(n),V(n),n}return t&&Mt(r),V(r),r}function yi(e,t=!1){if(!E){var r=Fe(e);return r instanceof Comment&&r.data===""?se(r):r}if(t){if($?.nodeType!==dt){var n=W();return $?.before(n),V(n),n}Mt($)}return $}function j(e,t=1,r=!1){let n=E?$:e;for(var i;t--;)i=n,n=se(n);if(!E)return n;if(r){if(n?.nodeType!==dt){var s=W();return n===null?i?.after(s):n.before(s),V(s),s}Mt(n)}return V(n),n}function Jr(e){e.textContent=""}function Kr(){return!1}function er(e,t,r){return document.createElementNS(Pn,e,void 0)}function Mt(e){if(e.nodeValue.length<65536)return;let t=e.nextSibling;for(;t!==null&&t.nodeType===dt;)t.remove(),e.nodeValue+=t.nodeValue,t=e.nextSibling}function Wr(e){var t=y,r=x;ae(null),ye(null);try{return e()}finally{ae(t),ye(r)}}function xi(e){x===null&&(y===null&&Un(),Yn()),je&&Vn()}function $i(e,t){var r=t.last;r===null?t.last=t.first=e:(r.next=e,e.prev=r,t.last=e)}function we(e,t){var r=x;r!==null&&(r.f&ee)!==0&&(e|=ee);var n={ctx:ie,deps:null,nodes:null,f:e|U|re,first:null,fn:t,last:null,next:null,parent:r,b:r&&r.b,prev:null,teardown:null,wv:0,ac:null},i=n;if((e&tt)!==0)st!==null?st.push(n):Ee.ensure().schedule(n);else if(t!==null){try{ot(n)}catch(l){throw K(n),l}i.deps===null&&i.teardown===null&&i.nodes===null&&i.first===i.last&&(i.f&Ne)===0&&(i=i.first,(e&Ae)!==0&&(e&rt)!==0&&i!==null&&(i.f|=rt))}if(i!==null&&(i.parent=r,r!==null&&$i(i,r),y!==null&&(y.f&L)!==0&&(e&Re)===0)){var s=y;(s.effects??=[]).push(i)}return n}function tr(){return y!==null&&!be}function Ei(e){const t=we(St,null);return O(t,M),t.teardown=e,t}function zi(e){xi();var t=x.f,r=!y&&(t&he)!==0&&(t&Ce)===0;if(r){var n=ie;(n.e??=[]).push(e)}else return Xr(e)}function Xr(e){return we(tt|Bn,e)}function ki(e){Ee.ensure();const t=we(Re|Ne,e);return()=>{K(t)}}function Ti(e){Ee.ensure();const t=we(Re|Ne,e);return(r={})=>new Promise(n=>{r.outro?Je(t,()=>{K(t),n(void 0)}):(K(t),n(void 0))})}function Si(e){return we(tt,e)}function Ai(e){return we(Ut|Ne,e)}function Zr(e,t=0){return we(St|t,e)}function Le(e,t=[],r=[],n=[]){vi(n,t,r,i=>{we(St,()=>e(...i.map(c)))})}function Dt(e,t=0){var r=we(Ae|t,e);return r}function le(e){return we(he|Ne,e)}function Qr(e){var t=e.teardown;if(t!==null){const r=je,n=y;nn(!0),ae(null);try{t.call(null)}finally{nn(r),ae(n)}}}function rr(e,t=!1){var r=e.first;for(e.first=e.last=null;r!==null;){const i=r.ac;i!==null&&Wr(()=>{i.abort($e)});var n=r.next;(r.f&Re)!==0?r.parent=null:K(r,t),r=n}}function Ri(e){for(var t=e.first;t!==null;){var r=t.next;(t.f&he)===0&&K(t),t=r}}function K(e,t=!0){var r=!1;(t||(e.f&mr)!==0)&&e.nodes!==null&&e.nodes.end!==null&&(Ci(e.nodes.start,e.nodes.end),r=!0),O(e,br),rr(e,t&&!r),gt(e,0);var n=e.nodes&&e.nodes.t;if(n!==null)for(const s of n)s.stop();Qr(e),e.f^=br,e.f|=ne;var i=e.parent;i!==null&&i.first!==null&&en(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes=e.ac=e.b=null}function Ci(e,t){for(;e!==null;){var r=e===t?null:se(e);e.remove(),e=r}}function en(e){var t=e.parent,r=e.prev,n=e.next;r!==null&&(r.next=n),n!==null&&(n.prev=r),t!==null&&(t.first===e&&(t.first=n),t.last===e&&(t.last=r))}function Je(e,t,r=!0){var n=[];tn(e,n,!0);var i=()=>{r&&K(e),t&&t()},s=n.length;if(s>0){var l=()=>--s||i();for(var a of n)a.out(l)}else i()}function tn(e,t,r){if((e.f&ee)===0){e.f^=ee;var n=e.nodes&&e.nodes.t;if(n!==null)for(const a of n)(a.is_global||r)&&t.push(a);for(var i=e.first;i!==null;){var s=i.next,l=(i.f&rt)!==0||(i.f&he)!==0&&(e.f&Ae)!==0;tn(i,t,l?r:!1),i=s}}}function nr(e){rn(e,!0)}function rn(e,t){if((e.f&ee)!==0){e.f^=ee,(e.f&M)===0&&(O(e,U),Ee.ensure().schedule(e));for(var r=e.first;r!==null;){var n=r.next,i=(r.f&rt)!==0||(r.f&he)!==0;rn(r,i?t:!1),r=n}var s=e.nodes&&e.nodes.t;if(s!==null)for(const l of s)(l.is_global||t)&&l.in()}}function ir(e,t){if(e.nodes)for(var r=e.nodes.start,n=e.nodes.end;r!==null;){var i=r===n?null:se(r);t.append(r),r=i}}let Ft=!1,je=!1;function nn(e){je=e}let y=null,be=!1;function ae(e){y=e}let x=null;function ye(e){x=e}let oe=null;function sn(e){y!==null&&(oe===null?oe=[e]:oe.push(e))}let X=null,te=0,fe=null;function Ni(e){fe=e}let ln=1,Ke=0,We=Ke;function an(e){We=e}function on(){return++ln}function bt(e){var t=e.f;if((t&U)!==0)return!0;if(t&L&&(e.f&=~Ve),(t&ge)!==0){for(var r=e.deps,n=r.length,i=0;i<n;i++){var s=r[i];if(bt(s)&&Lr(s),s.wv>e.wv)return!0}(t&re)!==0&&_e===null&&O(e,M)}return!1}function fn(e,t,r=!0){var n=e.reactions;if(n!==null&&!(oe!==null&&et.call(oe,e)))for(var i=0;i<n.length;i++){var s=n[i];(s.f&L)!==0?fn(s,t,!1):t===s&&(r?O(s,U):(s.f&M)!==0&&O(s,ge),Wt(s))}}function un(e){var t=X,r=te,n=fe,i=y,s=oe,l=ie,a=be,o=We,f=e.f;X=null,te=0,fe=null,y=(f&(he|Re))===0?e:null,oe=null,it(e.ctx),be=!1,We=++Ke,e.ac!==null&&(Wr(()=>{e.ac.abort($e)}),e.ac=null);try{e.f|=Yt;var u=e.fn,p=u();e.f|=Ce;var v=e.deps,b=S?.is_fork;if(X!==null){var g;if(b||gt(e,te),v!==null&&te>0)for(v.length=te+X.length,g=0;g<X.length;g++)v[te+g]=X[g];else e.deps=v=X;if(tr()&&(e.f&re)!==0)for(g=te;g<v.length;g++)(v[g].reactions??=[]).push(e)}else!b&&v!==null&&te<v.length&&(gt(e,te),v.length=te);if(kr()&&fe!==null&&!be&&v!==null&&(e.f&(L|ge|U))===0)for(g=0;g<fe.length;g++)fn(fe[g],e);if(i!==null&&i!==e){if(Ke++,i.deps!==null)for(let w=0;w<r;w+=1)i.deps[w].rv=Ke;if(t!==null)for(const w of t)w.rv=Ke;fe!==null&&(n===null?n=fe:n.push(...fe))}return(e.f&Pe)!==0&&(e.f^=Pe),p}catch(w){return Sr(w)}finally{e.f^=Yt,X=t,te=r,fe=n,y=i,oe=s,it(l),be=a,We=o}}function Pi(e,t){let r=t.reactions;if(r!==null){var n=In.call(r,e);if(n!==-1){var i=r.length-1;i===0?r=t.reactions=null:(r[n]=r[i],r.pop())}}if(r===null&&(t.f&L)!==0&&(X===null||!et.call(X,t))){var s=t;(s.f&re)!==0&&(s.f^=re,s.f&=~Ve),Gt(s),mi(s),gt(s,0)}}function gt(e,t){var r=e.deps;if(r!==null)for(var n=t;n<r.length;n++)Pi(e,r[n])}function ot(e){var t=e.f;if((t&ne)===0){O(e,M);var r=x,n=Ft;x=e,Ft=!0;try{(t&(Ae|_r))!==0?Ri(e):rr(e),Qr(e);var i=un(e);e.teardown=typeof i=="function"?i:null,e.wv=ln;var s;On&&ni&&(e.f&U)!==0&&e.deps}finally{Ft=n,x=r}}}function c(e){var t=e.f,r=(t&L)!==0;if(y!==null&&!be){var n=x!==null&&(x.f&ne)!==0;if(!n&&(oe===null||!et.call(oe,e))){var i=y.deps;if((y.f&Yt)!==0)e.rv<Ke&&(e.rv=Ke,X===null&&i!==null&&i[te]===e?te++:X===null?X=[e]:X.push(e));else{(y.deps??=[]).push(e);var s=e.reactions;s===null?e.reactions=[y]:et.call(s,y)||s.push(y)}}}if(je&&Me.has(e))return Me.get(e);if(r){var l=e;if(je){var a=l.v;return((l.f&M)===0&&l.reactions!==null||dn(l))&&(a=Xt(l)),Me.set(l,a),a}var o=(l.f&re)===0&&!be&&y!==null&&(Ft||(y.f&re)!==0),f=(l.f&Ce)===0;bt(l)&&(o&&(l.f|=re),Lr(l)),o&&!f&&(jr(l),cn(l))}if(_e?.has(e))return _e.get(e);if((e.f&Pe)!==0)throw e.v;return e.v}function cn(e){if(e.f|=re,e.deps!==null)for(const t of e.deps)(t.reactions??=[]).push(e),(t.f&L)!==0&&(t.f&re)===0&&(jr(t),cn(t))}function dn(e){if(e.v===q)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(Me.has(t)||(t.f&L)!==0&&dn(t))return!0;return!1}function vn(e){var t=be;try{return be=!0,e()}finally{be=t}}const mt=Symbol("events"),hn=new Set,sr=new Set;function pn(e,t,r){(t[mt]??={})[e]=r}function Oi(e){for(var t=0;t<e.length;t++)hn.add(e[t]);for(var r of sr)r(e)}let _n=null;function bn(e){var t=this,r=t.ownerDocument,n=e.type,i=e.composedPath?.()||[],s=i[0]||e.target;_n=e;var l=0,a=_n===e&&e[mt];if(a){var o=i.indexOf(a);if(o!==-1&&(t===document||t===window)){e[mt]=t;return}var f=i.indexOf(t);if(f===-1)return;o<=f&&(l=o)}if(s=i[l]||e.target,s!==t){Tt(e,"currentTarget",{configurable:!0,get(){return s||r}});var u=y,p=x;ae(null),ye(null);try{for(var v,b=[];s!==null;){var g=s.assignedSlot||s.parentNode||s.host||null;try{var w=s[mt]?.[n];w!=null&&(!s.disabled||e.target===s)&&w.call(s,e)}catch(h){v?b.push(h):v=h}if(e.cancelBubble||g===t||g===null)break;s=g}if(v){for(let h of b)queueMicrotask(()=>{throw h});throw v}}finally{e[mt]=t,delete e.currentTarget,ae(u),ye(p)}}}const Ii=globalThis?.window?.trustedTypes&&globalThis.window.trustedTypes.createPolicy("svelte-trusted-html",{createHTML:e=>e});function Mi(e){return Ii?.createHTML(e)??e}function Di(e){var t=er("template");return t.innerHTML=Mi(e.replaceAll("<!>","<!---->")),t.content}function ft(e,t){var r=x;r.nodes===null&&(r.nodes={start:e,end:t,a:null,t:null})}function P(e,t){var r=(t&Cn)!==0,n=(t&Nn)!==0,i,s=!e.startsWith("<!>");return()=>{if(E)return ft($,null),$;i===void 0&&(i=Di(s?e:"<!>"+e),r||(i=Fe(i)));var l=n||Yr?document.importNode(i,!0):i.cloneNode(!0);if(r){var a=Fe(l),o=l.lastChild;ft(a,o)}else ft(l,l);return l}}function ut(e=""){if(!E){var t=W(e+"");return ft(t,t),t}var r=$;return r.nodeType!==dt?(r.before(r=W()),V(r)):Mt(r),ft(r,r),r}function z(e,t){if(E){var r=x;((r.f&Ce)===0||r.nodes.end===null)&&(r.nodes.end=$),vt();return}e!==null&&e.before(t)}const Fi=["touchstart","touchmove"];function Li(e){return Fi.includes(e)}function Z(e,t){var r=t==null?"":typeof t=="object"?`${t}`:t;r!==(e.__t??=e.nodeValue)&&(e.__t=r,e.nodeValue=`${r}`)}function gn(e,t){return mn(e,t)}function ji(e,t){Qt(),t.intro=t.intro??!1;const r=t.target,n=E,i=$;try{for(var s=Fe(r);s&&(s.nodeType!==nt||s.data!==cr);)s=se(s);if(!s)throw Qe;pe(!0),V(s);const l=mn(e,{...t,anchor:s});return pe(!1),l}catch(l){if(l instanceof Error&&l.message.split(`
|
|
2
|
+
`).some(a=>a.startsWith("https://svelte.dev/e/")))throw l;return l!==Qe&&console.warn("Failed to hydrate: ",l),t.recover===!1&&Jn(),Qt(),Jr(r),pe(!1),gn(e,t)}finally{pe(n),V(i)}}const Lt=new Map;function mn(e,{target:t,anchor:r,props:n={},events:i,context:s,intro:l=!0,transformError:a}){Qt();var o=void 0,f=Ti(()=>{var u=r??t.appendChild(W());ci(u,{pending:()=>{}},b=>{Er({});var g=ie;if(s&&(g.c=s),i&&(n.$$events=i),E&&ft(b,null),o=e(b,n)||{},E&&(x.nodes.end=$,$===null||$.nodeType!==nt||$.data!==qt))throw Rt(),Qe;zr()},a);var p=new Set,v=b=>{for(var g=0;g<b.length;g++){var w=b[g];if(!p.has(w)){p.add(w);var h=Li(w);for(const m of[t,document]){var _=Lt.get(m);_===void 0&&(_=new Map,Lt.set(m,_));var d=_.get(w);d===void 0?(m.addEventListener(w,bn,{passive:h}),_.set(w,1)):_.set(w,d+1)}}}};return v(zt(hn)),sr.add(v),()=>{for(var b of p)for(const h of[t,document]){var g=Lt.get(h),w=g.get(b);--w==0?(h.removeEventListener(b,bn),g.delete(b),g.size===0&&Lt.delete(h)):g.set(b,w)}sr.delete(v),u!==r&&u.parentNode?.removeChild(u)}});return lr.set(o,f),o}let lr=new WeakMap;function Bi(e,t){const r=lr.get(e);return r?(lr.delete(e),r(t)):Promise.resolve()}class Hi{anchor;#e=new Map;#r=new Map;#t=new Map;#i=new Set;#s=!0;constructor(t,r=!0){this.anchor=t,this.#s=r}#n=t=>{if(this.#e.has(t)){var r=this.#e.get(t),n=this.#r.get(r);if(n)nr(n),this.#i.delete(r);else{var i=this.#t.get(r);i&&(this.#r.set(r,i.effect),this.#t.delete(r),i.fragment.lastChild.remove(),this.anchor.before(i.fragment),n=i.effect)}for(const[s,l]of this.#e){if(this.#e.delete(s),s===t)break;const a=this.#t.get(l);a&&(K(a.effect),this.#t.delete(l))}for(const[s,l]of this.#r){if(s===r||this.#i.has(s))continue;const a=()=>{if(Array.from(this.#e.values()).includes(s)){var f=document.createDocumentFragment();ir(l,f),f.append(W()),this.#t.set(s,{effect:l,fragment:f})}else K(l);this.#i.delete(s),this.#r.delete(s)};this.#s||!n?(this.#i.add(s),Je(l,a,!1)):a()}}};#l=t=>{this.#e.delete(t);const r=Array.from(this.#e.values());for(const[n,i]of this.#t)r.includes(n)||(K(i.effect),this.#t.delete(n))};ensure(t,r){var n=S,i=Kr();if(r&&!this.#r.has(t)&&!this.#t.has(t))if(i){var s=document.createDocumentFragment(),l=W();s.append(l),this.#t.set(t,{effect:le(()=>r(l)),fragment:s})}else this.#r.set(t,le(()=>r(this.anchor)));if(this.#e.set(n,t),i){for(const[a,o]of this.#r)a===t?n.unskip_effect(o):n.skip_effect(o);for(const[a,o]of this.#t)a===t?n.unskip_effect(o.effect):n.skip_effect(o.effect);n.oncommit(this.#n),n.ondiscard(this.#l)}else E&&(this.anchor=$),this.#n(n)}}function Be(e,t,r=!1){var n;E&&(n=$,vt());var i=new Hi(e),s=r?rt:0;function l(a,o){if(E){var f=yr(n);if(a!==parseInt(f.substring(1))){var u=Ct();V(u),i.anchor=u,pe(!1),i.ensure(a,o),pe(!0);return}}i.ensure(a,o)}Dt(()=>{var a=!1;t((o,f=0)=>{a=!0,l(f,o)}),a||l(-1,null)},s)}function qi(e,t,r){for(var n=[],i=t.length,s,l=t.length,a=0;a<i;a++){let p=t[a];Je(p,()=>{if(s){if(s.pending.delete(p),s.done.add(p),s.pending.size===0){var v=e.outrogroups;ar(e,zt(s.done)),v.delete(s),v.size===0&&(e.outrogroups=null)}}else l-=1},!1)}if(l===0){var o=n.length===0&&r!==null;if(o){var f=r,u=f.parentNode;Jr(u),u.append(f),e.items.clear()}ar(e,t,!o)}else s={pending:new Set(t),done:new Set},(e.outrogroups??=new Set).add(s)}function ar(e,t,r=!0){var n;if(e.pending.size>0){n=new Set;for(const l of e.pending.values())for(const a of l)n.add(e.items.get(a).e)}for(var i=0;i<t.length;i++){var s=t[i];if(n?.has(s)){s.f|=me;const l=document.createDocumentFragment();ir(s,l)}else K(t[i],r)}}var wn;function wt(e,t,r,n,i,s=null){var l=e,a=new Map,o=(t&ur)!==0;if(o){var f=e;l=E?V(Fe(f)):f.appendChild(W())}E&&vt();var u=null,p=Fr(()=>{var m=r();return vr(m)?m:m==null?[]:zt(m)}),v,b=new Map,g=!0;function w(m){(d.effect.f&ne)===0&&(d.pending.delete(m),d.fallback=u,Vi(d,v,l,t,n),u!==null&&(v.length===0?(u.f&me)===0?nr(u):(u.f^=me,xt(u,null,l)):Je(u,()=>{u=null})))}function h(m){d.pending.delete(m)}var _=Dt(()=>{v=c(p);var m=v.length;let T=!1;if(E){var ue=yr(l)===Ht;ue!==(m===0)&&(l=Ct(),V(l),pe(!1),T=!0)}for(var G=new Set,C=S,R=Kr(),Y=0;Y<m;Y+=1){E&&$.nodeType===nt&&$.data===qt&&(l=$,T=!0,pe(!1));var J=v[Y],Q=n(J,Y),D=g?null:a.get(Q);D?(D.v&<(D.v,J),D.i&<(D.i,Y),R&&C.unskip_effect(D.e)):(D=Yi(a,g?l:wn??=W(),J,Q,Y,i,t,r),g||(D.e.f|=me),a.set(Q,D)),G.add(Q)}if(m===0&&s&&!u&&(g?u=le(()=>s(l)):(u=le(()=>s(wn??=W())),u.f|=me)),m>G.size&&qn(),E&&m>0&&V(Ct()),!g)if(b.set(C,G),R){for(const[Te,Xe]of a)G.has(Te)||C.skip_effect(Xe.e);C.oncommit(w),C.ondiscard(h)}else w(C);T&&pe(!0),c(p)}),d={effect:_,items:a,pending:b,outrogroups:null,fallback:u};g=!1,E&&(l=$)}function yt(e){for(;e!==null&&(e.f&he)===0;)e=e.next;return e}function Vi(e,t,r,n,i){var s=(n&zn)!==0,l=t.length,a=e.items,o=yt(e.effect.first),f,u=null,p,v=[],b=[],g,w,h,_;if(s)for(_=0;_<l;_+=1)g=t[_],w=i(g,_),h=a.get(w).e,(h.f&me)===0&&(h.nodes?.a?.measure(),(p??=new Set).add(h));for(_=0;_<l;_+=1){if(g=t[_],w=i(g,_),h=a.get(w).e,e.outrogroups!==null)for(const J of e.outrogroups)J.pending.delete(h),J.done.delete(h);if((h.f&ee)!==0&&(nr(h),s&&(h.nodes?.a?.unfix(),(p??=new Set).delete(h))),(h.f&me)!==0)if(h.f^=me,h===o)xt(h,null,r);else{var d=u?u.next:o;h===e.effect.last&&(e.effect.last=h.prev),h.prev&&(h.prev.next=h.next),h.next&&(h.next.prev=h.prev),He(e,u,h),He(e,h,d),xt(h,d,r),u=h,v=[],b=[],o=yt(u.next);continue}if(h!==o){if(f!==void 0&&f.has(h)){if(v.length<b.length){var m=b[0],T;u=m.prev;var ue=v[0],G=v[v.length-1];for(T=0;T<v.length;T+=1)xt(v[T],m,r);for(T=0;T<b.length;T+=1)f.delete(b[T]);He(e,ue.prev,G.next),He(e,u,ue),He(e,G,m),o=m,u=G,_-=1,v=[],b=[]}else f.delete(h),xt(h,o,r),He(e,h.prev,h.next),He(e,h,u===null?e.effect.first:u.next),He(e,u,h),u=h;continue}for(v=[],b=[];o!==null&&o!==h;)(f??=new Set).add(o),b.push(o),o=yt(o.next);if(o===null)continue}(h.f&me)===0&&v.push(h),u=h,o=yt(h.next)}if(e.outrogroups!==null){for(const J of e.outrogroups)J.pending.size===0&&(ar(e,zt(J.done)),e.outrogroups?.delete(J));e.outrogroups.size===0&&(e.outrogroups=null)}if(o!==null||f!==void 0){var C=[];if(f!==void 0)for(h of f)(h.f&ee)===0&&C.push(h);for(;o!==null;)(o.f&ee)===0&&o!==e.fallback&&C.push(o),o=yt(o.next);var R=C.length;if(R>0){var Y=(n&ur)!==0&&l===0?r:null;if(s){for(_=0;_<R;_+=1)C[_].nodes?.a?.measure();for(_=0;_<R;_+=1)C[_].nodes?.a?.fix()}qi(e,C,Y)}}s&&Ue(()=>{if(p!==void 0)for(h of p)h.nodes?.a?.apply()})}function Yi(e,t,r,n,i,s,l,a){var o=(l&$n)!==0?(l&kn)===0?Hr(r,!1,!1):Ge(r):null,f=(l&En)!==0?Ge(i):null;return{v:o,i:f,e:le(()=>(s(t,o??r,f??i,a),()=>{e.delete(n)}))}}function xt(e,t,r){if(e.nodes)for(var n=e.nodes.start,i=e.nodes.end,s=t&&(t.f&me)===0?t.nodes.start:r;n!==null;){var l=se(n);if(s.before(n),n===i)return;n=l}}function He(e,t,r){t===null?e.effect.first=r:t.next=r,r===null?e.effect.last=t:r.prev=t}function Ui(e,t,r,n,i){E&&vt();var s=t.$$slots?.[r],l=!1;s===!0&&(s=t[r],l=!0),s===void 0||s(e,l?()=>n:n)}function Gi(e,t){let r=null,n=E;var i;if(E){r=$;for(var s=Fe(document.head);s!==null&&(s.nodeType!==nt||s.data!==e);)s=se(s);if(s===null)pe(!1);else{var l=se(s);s.remove(),V(l)}}E||(i=document.head.appendChild(W()));try{Dt(()=>t(i),mr|Ne)}finally{n&&(pe(!0),V(r))}}function Ji(e,t){Si(()=>{var r=e.getRootNode(),n=r.host?r:r.head??r.ownerDocument.head;if(!n.querySelector("#"+t.hash)){const i=er("style");i.id=t.hash,i.textContent=t.code,n.appendChild(i)}})}function jt(e,t,r,n){var i=(r&An)!==0,s=(r&Rn)!==0,l=n,a=!0,o=()=>(a&&(a=!1,l=s?vn(n):n),l);let f;if(i){var u=At in e||wr in e;f=qe(e,t)?.set??(u&&t in e?d=>e[t]=d:void 0)}var p,v=!1;i?[p,v]=li(()=>e[t]):p=e[t],p===void 0&&n!==void 0&&(p=o(),f&&(Kn(),f(p)));var b;if(b=()=>{var d=e[t];return d===void 0?o():(a=!0,d)},(r&Sn)===0)return b;if(f){var g=e.$$legacy;return(function(d,m){return arguments.length>0?((!m||g||v)&&f(m?b():d),d):b()})}var w=!1,h=((r&Tn)!==0?It:Fr)(()=>(w=!1,b()));i&&c(h);var _=x;return(function(d,m){if(arguments.length>0){const T=m?c(h):i?at(d):d;return ke(h,T),w=!0,l!==void 0&&(l=T),d}return je&&w||(_.f&ne)!==0?h.v:c(h)})}function Ki(e){return new Wi(e)}class Wi{#e;#r;constructor(t){var r=new Map,n=(s,l)=>{var a=Hr(l,!1,!1);return r.set(s,a),a};const i=new Proxy({...t.props||{},$$events:{}},{get(s,l){return c(r.get(l)??n(l,Reflect.get(s,l)))},has(s,l){return l===wr?!0:(c(r.get(l)??n(l,Reflect.get(s,l))),Reflect.has(s,l))},set(s,l,a){return ke(r.get(l)??n(l,a),a),Reflect.set(s,l,a)}});this.#r=(t.hydrate?ji: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)&&pt(),this.#e=i.$$events;for(const s of Object.keys(this.#r))s==="$set"||s==="$destroy"||s==="$on"||Tt(this,s,{get(){return this.#r[s]},set(l){this.#r[s]=l},enumerable:!0});this.#r.$set=s=>{Object.assign(i,s)},this.#r.$destroy=()=>{Bi(this.#r)}}$set(t){this.#r.$set(t)}$on(t,r){this.#e[t]=this.#e[t]||[];const n=(...i)=>r.call(this,...i);return this.#e[t].push(n),()=>{this.#e[t]=this.#e[t].filter(i=>i!==n)}}$destroy(){this.#r.$destroy()}}let yn;typeof HTMLElement=="function"&&(yn=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;$$shadowRoot=null;constructor(e,t,r){super(),this.$$ctor=e,this.$$s=t,r&&(this.$$shadowRoot=this.attachShadow(r))}addEventListener(e,t,r){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(t),this.$$c){const n=this.$$c.$on(e,t);this.$$l_u.set(t,n)}super.addEventListener(e,t,r)}removeEventListener(e,t,r){if(super.removeEventListener(e,t,r),this.$$c){const n=this.$$l_u.get(t);n&&(n(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let e=function(n){return i=>{const s=er("slot");n!=="default"&&(s.name=n),z(i,s)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},r=Xi(this);for(const n of this.$$s)n in r&&(n==="default"&&!this.$$d.children?(this.$$d.children=e(n),t.default=!0):t[n]=e(n));for(const n of this.attributes){const i=this.$$g_p(n.name);i in this.$$d||(this.$$d[i]=Bt(i,n.value,this.$$p_d,"toProp"))}for(const n in this.$$p_d)!(n in this.$$d)&&this[n]!==void 0&&(this.$$d[n]=this[n],delete this[n]);this.$$c=Ki({component:this.$$ctor,target:this.$$shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=ki(()=>{Zr(()=>{this.$$r=!0;for(const n of kt(this.$$c)){if(!this.$$p_d[n]?.reflect)continue;this.$$d[n]=this.$$c[n];const i=Bt(n,this.$$d[n],this.$$p_d,"toAttribute");i==null?this.removeAttribute(this.$$p_d[n].attribute||n):this.setAttribute(this.$$p_d[n].attribute||n,i)}this.$$r=!1})});for(const n in this.$$l)for(const i of this.$$l[n]){const s=this.$$c.$on(n,i);this.$$l_u.set(i,s)}this.$$l={}}}attributeChangedCallback(e,t,r){this.$$r||(e=this.$$g_p(e),this.$$d[e]=Bt(e,r,this.$$p_d,"toProp"),this.$$c?.$set({[e]:this.$$d[e]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$me(),this.$$c=void 0)})}$$g_p(e){return kt(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function Bt(e,t,r,n){const i=r[e]?.type;if(t=i==="Boolean"&&typeof t!="boolean"?t!=null:t,!n||!r[e])return t;if(n==="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 Xi(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}function Zi(e,t,r,n,i,s){let l=class extends yn{constructor(){super(e,r,i),this.$$p_d=t}static get observedAttributes(){return kt(t).map(a=>(t[a].attribute||a).toLowerCase())}};return kt(t).forEach(a=>{Tt(l.prototype,a,{get(){return this.$$c&&a in this.$$c?this.$$c[a]:this.$$d[a]},set(o){o=Bt(a,o,t),this.$$d[a]=o;var f=this.$$c;if(f){var u=qe(f,a)?.get;u?f[a]=o:f.$set({[a]:o})}}})}),n.forEach(a=>{Tt(l.prototype,a,{get(){return this.$$c?.[a]}})}),e.element=l,l}var Qi=P('<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css" class="svelte-1fgep9z"/>'),es=P('<div class="header_promotion svelte-1fgep9z"><!></div>'),ts=P('<span class="slashed svelte-1fgep9z"> </span>'),rs=P('<div part="col" class="col svelte-1fgep9z"><div class="header_model svelte-1fgep9z"> </div> <div class="header_description svelte-1fgep9z"> </div> <!> <div class="header_price svelte-1fgep9z"><span class="header_price_currency svelte-1fgep9z"> <!></span> <span class="header_price_value svelte-1fgep9z"> </span></div> <div class="header_purchase_button svelte-1fgep9z"><button class="btn btn-primary svelte-1fgep9z">Acquista</button></div></div>'),ns=P('<i class="bi-check svelte-1fgep9z"></i>'),is=P('<i class="bi-dash svelte-1fgep9z"></i>'),ss=P('<i class="bi-x svelte-1fgep9z"></i>'),ls=P('<i class="bi-star-fill svelte-1fgep9z"></i>'),as=P('<i class="bi-plus svelte-1fgep9z"></i>'),os=P('<div part="col" class="col svelte-1fgep9z"><!></div>'),fs=P('<div part="row" class="row svelte-1fgep9z"><div part="col" class="col svelte-1fgep9z"> </div> <!></div>'),us=P('<div class="header_promotion svelte-1fgep9z"><!></div>'),cs=P('<span class="slashed svelte-1fgep9z"> </span>'),ds=P('<i class="bi-check svelte-1fgep9z"></i>'),vs=P('<i class="bi-dash svelte-1fgep9z"></i>'),hs=P('<i class="bi-x svelte-1fgep9z"></i>'),ps=P('<i class="bi-star-fill svelte-1fgep9z"></i>'),_s=P('<i class="bi-plus svelte-1fgep9z"></i>'),bs=P('<div part="col" class="mincol2 svelte-1fgep9z"> <!></div>'),gs=P('<div style="margin-bottom:100px;border-left:0.5px solid #dddddd;border-right:0.5px solid #dddddd;" class="svelte-1fgep9z"><div part="col" class="mincol svelte-1fgep9z"><div class="header_model svelte-1fgep9z"> </div> <div class="header_description svelte-1fgep9z"> </div> <!> <div class="header_price svelte-1fgep9z"><span class="header_price_currency svelte-1fgep9z"> <!></span> <span class="header_price_value svelte-1fgep9z"> </span></div> <div class="header_purchase_button svelte-1fgep9z"><button class="btn btn-primary svelte-1fgep9z">Acquista</button></div></div> <!></div>'),ms=P('<div part="container" class="container d-none d-lg-block svelte-1fgep9z"><div class="row svelte-1fgep9z" part="row"><div part="col" class="col svelte-1fgep9z"><!></div> <!></div> <!></div> <div part="container" class="container d-lg-none svelte-1fgep9z"></div>',1);const ws={hash:"svelte-1fgep9z",code:`@charset "UTF-8";
|
|
3
3
|
@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");
|
|
4
4
|
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css");
|
|
5
5
|
/*!
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* Copyright 2011-2021 The Bootstrap Authors
|
|
8
8
|
* Copyright 2011-2021 Twitter, Inc.
|
|
9
9
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
10
|
-
|
|
10
|
+
*/.svelte-1fgep9z,
|
|
11
11
|
.svelte-1fgep9z::before,
|
|
12
12
|
.svelte-1fgep9z::after {box-sizing:border-box;}
|
|
13
13
|
@media (prefers-reduced-motion: no-preference) {:host {scroll-behavior:smooth;}
|
|
@@ -86,5 +86,5 @@ button.svelte-1fgep9z {margin:0;font-family:inherit;font-size:inherit;line-heigh
|
|
|
86
86
|
@media (min-width: 1200px) {
|
|
87
87
|
}
|
|
88
88
|
@media print {
|
|
89
|
-
}:host {font-family:"Roboto", sans-serif;display:block;margin:40px 0px 40px 0px;}.slashed.svelte-1fgep9z {text-decoration:line-through;}.header_price.svelte-1fgep9z {padding:20px;}.header_promotion.svelte-1fgep9z {font-weight:bold;line-height:30px;min-height:30px;margin:10px auto 10px auto;}.header_price_value.svelte-1fgep9z {font-size:3.5em;}.header_price_currency.svelte-1fgep9z {vertical-align:top;line-height:0.5em;font-size:1em;}.header_purchase_button.svelte-1fgep9z {margin-bottom:30px;}.header_model.svelte-1fgep9z {margin-top:20px;font-size:16px;text-transform:uppercase;line-height:16px;font-weight:bold;}.header_description.svelte-1fgep9z {font-size:12px;}.col.svelte-1fgep9z {min-height:40px;text-align:center;border-right:0.5px solid #dddddd;line-height:40px;border-bottom:0.5px solid #dddddd;}.mincol.svelte-1fgep9z {min-height:40px;text-align:center;border-top:0.5px solid #dddddd;border-bottom:0.5px solid #dddddd;line-height:40px;}.mincol2.svelte-1fgep9z {min-height:40px;text-align:center;border-bottom:0.5px solid #dddddd;line-height:40px;}.d-lg-block.svelte-1fgep9z {border-top:0.5px solid #dddddd;border-left:0.5px solid #dddddd;}`};function
|
|
89
|
+
}:host {font-family:"Roboto", sans-serif;display:block;margin:40px 0px 40px 0px;}.slashed.svelte-1fgep9z {text-decoration:line-through;}.header_price.svelte-1fgep9z {padding:20px;}.header_promotion.svelte-1fgep9z {font-weight:bold;line-height:30px;min-height:30px;margin:10px auto 10px auto;}.header_price_value.svelte-1fgep9z {font-size:3.5em;}.header_price_currency.svelte-1fgep9z {vertical-align:top;line-height:0.5em;font-size:1em;}.header_purchase_button.svelte-1fgep9z {margin-bottom:30px;}.header_model.svelte-1fgep9z {margin-top:20px;font-size:16px;text-transform:uppercase;line-height:16px;font-weight:bold;}.header_description.svelte-1fgep9z {font-size:12px;}.col.svelte-1fgep9z {min-height:40px;text-align:center;border-right:0.5px solid #dddddd;line-height:40px;border-bottom:0.5px solid #dddddd;}.mincol.svelte-1fgep9z {min-height:40px;text-align:center;border-top:0.5px solid #dddddd;border-bottom:0.5px solid #dddddd;line-height:40px;}.mincol2.svelte-1fgep9z {min-height:40px;text-align:center;border-bottom:0.5px solid #dddddd;line-height:40px;}.d-lg-block.svelte-1fgep9z {border-top:0.5px solid #dddddd;border-left:0.5px solid #dddddd;}`};function xn(e,t){Er(t,!0),Ji(e,ws);let r=jt(t,"id",7,""),n=jt(t,"headers",23,()=>[]),i=jt(t,"products",23,()=>[]),s=jt(t,"options",23,()=>({}));zi(()=>{typeof n()=="string"&&n(JSON.parse(n())),typeof i()=="string"&&i(JSON.parse(i())),typeof s()=="string"&&s(JSON.parse(s())),s().currency||(s().currency="€")});function l(_,d){t.$$host.dispatchEvent(new CustomEvent(_,{detail:d}))}function a(_){l("purchaseClick",{id:_})}var o={get id(){return r()},set id(_=""){r(_),pt()},get headers(){return n()},set headers(_=[]){n(_),pt()},get products(){return i()},set products(_=[]){i(_),pt()},get options(){return s()},set options(_={}){s(_),pt()}},f=ms();Gi("1fgep9z",_=>{var d=Qi();z(_,d)});var u=yi(f),p=A(u),v=A(p),b=A(v);Ui(b,t,"corner",{}),k(v);var g=j(v,2);wt(g,17,i,_=>_.id,(_,d)=>{var m=rs(),T=A(m),ue=A(T,!0);k(T);var G=j(T,2),C=A(G,!0);k(G);var R=j(G,2);{var Y=ce=>{var F=es(),I=A(F);{var Se=xe=>{var de=ut("preferred choice");z(xe,de)},ct=xe=>{var de=ut("on sale");z(xe,de)};Be(I,xe=>{s().preferredProductId&&c(d).id===s().preferredProductId?xe(Se):c(d).promotion?.originalPrice&&xe(ct,1)})}k(F),z(ce,F)},J=_i(()=>i()?.find?.(ce=>ce.promotion?.originalPrice||s().preferredProductId&&ce.id===s().preferredProductId));Be(R,ce=>{c(J)&&ce(Y)})}var Q=j(R,2),D=A(Q),Te=A(D),Xe=j(Te);{var $t=ce=>{var F=ts(),I=A(F,!0);k(F),Le(()=>Z(I,c(d).promotion.originalPrice)),z(ce,F)};Be(Xe,ce=>{c(d).promotion?.originalPrice&&ce($t)})}k(D);var Ze=j(D,2),N=A(Ze,!0);k(Ze),k(Q);var B=j(Q,2),or=A(B);k(B),k(m),Le(()=>{Z(ue,c(d).model),Z(C,c(d).description),Z(Te,`${s().currency??""} `),Z(N,c(d).price)}),pn("click",or,()=>{a(c(d).id)}),z(_,m)}),k(p);var w=j(p,2);wt(w,17,n,_=>_.id,(_,d)=>{var m=fs(),T=A(m),ue=A(T,!0);k(T);var G=j(T,2);wt(G,17,i,C=>C.id,(C,R)=>{var Y=os(),J=A(Y);{var Q=N=>{var B=ns();z(N,B)},D=N=>{var B=is();z(N,B)},Te=N=>{var B=ss();z(N,B)},Xe=N=>{var B=ls();z(N,B)},$t=N=>{var B=as();z(N,B)},Ze=N=>{var B=ut();Le(()=>Z(B,c(R).characteristics[c(d)?.id])),z(N,B)};Be(J,N=>{c(d).id&&c(R).characteristics&&c(R).characteristics[c(d).id]==="valid"?N(Q):c(d).id&&c(R).characteristics&&(!c(R).characteristics[c(d).id]||c(R).characteristics[c(d).id]==="disabled")?N(D,1):c(d).id&&c(R).characteristics&&c(R).characteristics[c(d).id]==="blocked"?N(Te,2):c(d).id&&c(R).characteristics&&c(R).characteristics[c(d).id]==="star"?N(Xe,3):c(d).id&&c(R).characteristics&&c(R).characteristics[c(d).id]==="plus"?N($t,4):c(d).id&&c(R).characteristics&&N(Ze,5)})}k(Y),z(C,Y)}),k(m),Le(()=>Z(ue,c(d).label)),z(_,m)}),k(u);var h=j(u,2);return wt(h,21,i,_=>_.id,(_,d)=>{var m=gs(),T=A(m),ue=A(T),G=A(ue,!0);k(ue);var C=j(ue,2),R=A(C,!0);k(C);var Y=j(C,2);{var J=F=>{var I=us(),Se=A(I);{var ct=de=>{var Et=ut("preferred choice");z(de,Et)},xe=de=>{var Et=ut("on sale");z(de,Et)};Be(Se,de=>{s().preferredProductId&&c(d).id===s().preferredProductId?de(ct):c(d).promotion?.originalPrice&&de(xe,1)})}k(I),z(F,I)};Be(Y,F=>{(s().preferredProductId&&c(d).id===s().preferredProductId||c(d).promotion?.originalPrice)&&F(J)})}var Q=j(Y,2),D=A(Q),Te=A(D),Xe=j(Te);{var $t=F=>{var I=cs(),Se=A(I,!0);k(I),Le(()=>Z(Se,c(d).promotion.originalPrice)),z(F,I)};Be(Xe,F=>{c(d).promotion?.originalPrice&&F($t)})}k(D);var Ze=j(D,2),N=A(Ze,!0);k(Ze),k(Q);var B=j(Q,2),or=A(B);k(B),k(T);var ce=j(T,2);wt(ce,17,n,F=>F.id,(F,I)=>{var Se=bs(),ct=A(Se),xe=j(ct);{var de=H=>{var ve=ds();z(H,ve)},Et=H=>{var ve=vs();z(H,ve)},ys=H=>{var ve=hs();z(H,ve)},xs=H=>{var ve=ps();z(H,ve)},$s=H=>{var ve=_s();z(H,ve)},Es=H=>{var ve=ut();Le(()=>Z(ve,c(d).characteristics[c(I).id])),z(H,ve)};Be(xe,H=>{c(d)&&c(d).characteristics&&c(d).characteristics[c(I).id]==="valid"?H(de):c(d)&&c(d).characteristics&&(!c(d).characteristics[c(I).id]||c(d).characteristics[c(I).id]==="disabled")?H(Et,1):c(d)&&c(d).characteristics&&c(d).characteristics[c(I).id]==="blocked"?H(ys,2):c(d)&&c(d).characteristics&&c(d).characteristics[c(I).id]==="star"?H(xs,3):c(d)&&c(d).characteristics&&c(d).characteristics[c(I).id]==="plus"?H($s,4):c(d)&&c(d).characteristics&&H(Es,5)})}k(Se),Le(()=>Z(ct,`${c(I).label??""} `)),z(F,Se)}),k(m),Le(()=>{Z(G,c(d).model),Z(R,c(d).description),Z(Te,`${s().currency??""} `),Z(N,c(d).price)}),pn("click",or,()=>{a(c(d).id)}),z(_,m)}),k(h),z(e,f),zr(o)}Oi(["click"]),customElements.define("hb-product-comparison",Zi(xn,{id:{},headers:{},products:{},options:{}},["corner"],[],{mode:"open"})),fr.Component=xn,Object.defineProperty(fr,Symbol.toStringTag,{value:"Module"})})(this["product-comparison"]=this["product-comparison"]||{});
|
|
90
90
|
//# sourceMappingURL=main.iife.js.map
|