@sesamy/sesamy-components 2.33.0 → 2.34.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.
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
(function(ke,Ye){typeof exports=="object"&&typeof module<"u"?Ye(exports):typeof define=="function"&&define.amd?define(["exports"],Ye):(ke=typeof globalThis<"u"?globalThis:ke||self,Ye(ke["@sesamy/sesamy-components"]={}))})(this,(function(ke){"use strict";var fh=Object.defineProperty;var id=ke=>{throw TypeError(ke)};var hh=(ke,Ye,xt)=>Ye in ke?fh(ke,Ye,{enumerable:!0,configurable:!0,writable:!0,value:xt}):ke[Ye]=xt;var rt=(ke,Ye,xt)=>hh(ke,typeof Ye!="symbol"?Ye+"":Ye,xt),ns=(ke,Ye,xt)=>Ye.has(ke)||id("Cannot "+xt);var _=(ke,Ye,xt)=>(ns(ke,Ye,"read from private field"),xt?xt.call(ke):Ye.get(ke)),xe=(ke,Ye,xt)=>Ye.has(ke)?id("Cannot add the same private member more than once"):Ye instanceof WeakSet?Ye.add(ke):Ye.set(ke,xt),ve=(ke,Ye,xt,ro)=>(ns(ke,Ye,"write to private field"),ro?ro.call(ke,xt):Ye.set(ke,xt),xt),Pe=(ke,Ye,xt)=>(ns(ke,Ye,"access private method"),xt);var nd,ad,aa,dn,Ln,oa,ia,sa,Yr,la,Gt,Wa,Kr,_r,Mr,ca,Sn,Je,as,Qa,os,sd,ld,va,mh,eo,od,Bt,Za,lr,En,Rt,Wt,Nt,Zt,Pr,An,un,da,Ya,Ka,Jr,Yo,Xe,cd,dd,is,ud,ss,to,Qo,ls,cs,br,Ir,Yt,zn,Ja,Xa,Ko,Xr,cr;const Ye="2.33.0";typeof window<"u"&&((nd=window.__svelte??(window.__svelte={})).v??(nd.v=new Set)).add("5");const ro=1,fd=2,ds=4,hd=8,md=16,vd=1,pd=2,gd=4,_d=8,bd=16,yd=4,us=1,wd=2,fs="[",no="[!",hs="[?",ei="]",hn={},dt=Symbol("uninitialized"),ms="http://www.w3.org/1999/xhtml",vs="http://www.w3.org/2000/svg",xd="http://www.w3.org/1998/Math/MathML",kd="@attach",ps=!1;var ao=Array.isArray,Cd=Array.prototype.indexOf,oo=Array.prototype.includes,io=Array.from,so=Object.keys,pa=Object.defineProperty,Or=Object.getOwnPropertyDescriptor,gs=Object.getOwnPropertyDescriptors,$d=Object.prototype,Ld=Array.prototype,ti=Object.getPrototypeOf,_s=Object.isExtensible;function Pn(t){return typeof t=="function"}const In=()=>{};function bs(t){return typeof(t==null?void 0:t.then)=="function"}function Sd(t){return t()}function ri(t){for(var e=0;e<t.length;e++)t[e]()}function ys(){var t,e,r=new Promise((n,a)=>{t=n,e=a});return{promise:r,resolve:t,reject:e}}const kt=2,Rn=4,ga=8,ni=1<<24,Jt=16,Xt=32,wr=64,ai=128,oi=256,Qt=512,pt=1024,gt=2048,er=4096,zt=8192,Dt=16384,en=32768,lo=1<<25,Fr=65536,co=1<<17,Ed=1<<18,mn=1<<19,ws=1<<20,xr=1<<25,vn=65536,uo=1<<21,Nn=1<<22,tn=1<<23,kr=Symbol("$state"),xs=Symbol("component"),ii=Symbol("legacy props"),Ad=Symbol(""),fo=Symbol("attributes"),si=Symbol("class"),li=Symbol("style"),_a=Symbol("text"),ba=Symbol("form reset"),ya=new class extends Error{constructor(){super(...arguments);rt(this,"name","StaleReactionError");rt(this,"message","The reaction that called `getAbortSignal()` was re-run or destroyed")}},wa=!!((ad=globalThis.document)!=null&&ad.contentType)&&globalThis.document.contentType.includes("xml"),zd=1,xa=3,Dn=8;function Td(){console.warn("https://svelte.dev/e/derived_inert")}function ka(t){console.warn("https://svelte.dev/e/hydration_mismatch")}function Md(){console.warn("https://svelte.dev/e/select_multiple_invalid_value")}function Pd(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let le=!1;function Tt(t){le=t}let ge;function ut(t){if(t===null)throw ka(),hn;return ge=t}function Cr(){return ut(vr(ge))}function H(t){if(le){if(vr(ge)!==null)throw ka(),hn;ge=t}}function $t(t=1){if(le){for(var e=t,r=ge;e--;)r=vr(r);ge=r}}function Ca(t=!0){for(var e=0,r=ge;;){if(r.nodeType===Dn){var n=r.data;if(n===ei){if(e===0)return r;e-=1}else(n===fs||n===no||n[0]==="["&&!isNaN(Number(n.slice(1))))&&(e+=1)}var a=vr(r);t&&r.remove(),r=a}}function ks(t){if(!t||t.nodeType!==Dn)throw ka(),hn;return t.data}function Cs(t){return t===this.v}function Id(t,e){return t!=t?e==e:t!==e||t!==null&&typeof t=="object"||typeof t=="function"}function $s(t){return!Id(t,this.v)}function ho(){throw new Error("https://svelte.dev/e/invalid_default_snippet")}function Ls(t){throw new Error("https://svelte.dev/e/lifecycle_outside_component")}function Rd(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function Nd(t,e,r){throw new Error("https://svelte.dev/e/each_key_duplicate")}function Dd(t){throw new Error("https://svelte.dev/e/effect_in_teardown")}function Od(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function Fd(t){throw new Error("https://svelte.dev/e/effect_orphan")}function qd(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function jd(){throw new Error("https://svelte.dev/e/hydration_failed")}function Gd(t){throw new Error("https://svelte.dev/e/props_invalid_value")}function Hd(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Ud(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function Vd(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function Bd(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}let On=!1,Wd=!1;function Zd(){On=!0}let nt=null;function Fn(t){nt=t}function He(t,e=!1,r){nt={p:nt,i:!1,c:null,e:null,s:t,x:null,r:ye,l:On&&!e?{s:null,u:null,$:[]}:null}}function Ue(t){var e=nt,r=e.e;if(r!==null){e.e=null;for(var n of r)el(n)}return t!==void 0&&(e.x=t),e.i=!0,nt=e.p,ci(t)}function ci(t={}){return pa(t,xs,{value:!0}),t}function qn(){return!On||nt!==null&&nt.l===null}let pn=[];function Ss(){var t=pn;pn=[],ri(t)}function Ot(t){if(pn.length===0&&!Hn){var e=pn;queueMicrotask(()=>{e===pn&&Ss()})}pn.push(t)}function Yd(){for(;pn.length>0;)Ss()}const Kd=-7169;function it(t,e){t.f=t.f&Kd|e}function di(t){(t.f&Qt)!==0||t.deps===null?it(t,pt):it(t,er)}function Es(t){if(t!==null)for(const e of t)(e.f&kt)===0||(e.f&vn)===0||(e.f^=vn,Es(e.deps))}function As(t,e,r){(t.f>)!==0?e.add(t):(t.f&er)!==0&&r.add(t),Es(t.deps),it(t,pt)}let mo=!1;function Jd(t){var e=mo;try{return mo=!1,[t(),mo]}finally{mo=e}}function Xd(t,e){if(e){const r=document.body;t.autofocus=!0,Ot(()=>{document.activeElement===r&&t.focus()})}}let zs=!1;function Ts(){zs||(zs=!0,document.addEventListener("reset",t=>{Promise.resolve().then(()=>{var e;if(!t.defaultPrevented)for(const r of t.target.elements)(e=r[ba])==null||e.call(r)})},{capture:!0}))}function rn(t){var e=Re,r=ye;rr(null),nr(null);try{return t()}finally{rr(e),nr(r)}}function Ms(t,e,r,n=r){t.addEventListener(e,()=>rn(r));const a=t[ba];a?t[ba]=()=>{a(),n(!0)}:t[ba]=()=>n(!0),Ts()}function Ps(t,e,r,n){const a=qn()?jn:ui;var o=t.filter(v=>!v.settled),i=e.map(a);if(r.length===0&&o.length===0){n(i);return}var s=ye,l=Is(),d=o.length===1?o[0].promise:o.length>1?Promise.all(o.map(v=>v.promise)):null;function u(v){if((s.f&Dt)===0){l();try{n([...i,...v])}catch(m){Lr(m,s)}$a()}}var h=Rs();if(r.length===0){d.then(()=>u([])).finally(h);return}function f(){Promise.all(r.map(v=>Qd(v))).then(u).catch(v=>Lr(v,s)).finally(h)}d?d.then(()=>{l(),f(),$a()}):f()}function Is(){var t=ye,e=Re,r=nt,n=oe;return function(o=!0){nr(t),rr(e),Fn(r),o&&(t.f&Dt)===0&&(n==null||n.activate(),n==null||n.apply())}}function $a(t=!0){nr(null),rr(null),Fn(null),t&&(oe==null||oe.deactivate())}function Rs(){var t=ye,e=t.b,r=oe,n=!!(e!=null&&e.is_rendered());return e==null||e.update_pending_count(1,r),r.increment(n,t),()=>{e==null||e.update_pending_count(-1,r),r.decrement(n,t)}}function jn(t){var e=kt|gt;return ye!==null&&(ye.f|=mn),{ctx:nt,deps:null,effects:null,equals:Cs,f:e,fn:t,reactions:null,rv:0,v:dt,wv:0,parent:ye,ac:null}}const La=Symbol("obsolete");function Qd(t,e,r){let n=ye;n===null&&Rd();var a=void 0,o=jr(dt),i=!Re,s=new Set;return fu(()=>{var v,m;var l=ye,d=ys();a=d.promise;try{Promise.resolve(t()).then(d.resolve,g=>{g!==ya&&d.reject(g)}).finally($a)}catch(g){d.reject(g),$a()}var u=oe;if(i){if((l.f&en)!==0)var h=Rs();if((v=n.b)!=null&&v.is_rendered())(m=u.async_deriveds.get(l))==null||m.reject(La);else for(const g of s.values())g.reject(La);s.add(d),u.async_deriveds.set(l,d)}const f=(g,y=void 0)=>{h==null||h(),s.delete(d),y!==La&&(u.activate(),y?(o.f|=tn,Gr(o,y)):((o.f&tn)!==0&&(o.f^=tn),Gr(o,g)),u.deactivate())};d.promise.then(f,g=>f(null,g||"unknown"))}),_o(()=>{for(const l of s)l.reject(La)}),new Promise(l=>{function d(u){function h(){u===a?l(o):d(a)}u.then(h,h)}d(a)})}function Z(t){const e=jn(t);return ll(e),e}function ui(t){const e=jn(t);return e.equals=$s,e}function eu(t){var e=t.effects;if(e!==null){t.effects=null;for(var r=0;r<e.length;r+=1)Ct(e[r])}}function fi(t){var e,r=ye,n=t.parent;if(!Ur&&n!==null&&t.v!==dt&&(n.f&(Dt|zt))!==0)return Td(),t.v;nr(n);try{t.f&=~vn,eu(t),e=hl(t)}finally{nr(r)}return e}function Ns(t){var e=fi(t);if(!t.equals(e)&&(t.wv=ul(),(!(oe!=null&&oe.is_fork)||t.deps===null)&&(oe!==null?(oe.capture(t,e,!0),Sa==null||Sa.capture(t,e,!0)):t.v=e,t.deps===null))){it(t,pt);return}Ur||(Lt!==null?(bi()||oe!=null&&oe.is_fork)&&Lt.set(t,e):di(t))}function tu(t){var e;if(t.effects!==null)for(const r of t.effects)(r.teardown||r.ac)&&((e=r.teardown)==null||e.call(r),r.ac!==null&&rn(()=>{r.ac.abort(ya),r.ac=null}),r.fn!==null&&(r.teardown=In),Ma(r,0),yi(r))}function Ds(t){if(t.effects!==null)for(const e of t.effects)e.teardown&&e.fn!==null&&yn(e)}let hi=null,Gn=null,oe=null,Sa=null,Lt=null,mi=null,Hn=!1,vi=!1,Un=null,vo=null;var Os=0,vh=new Set;let ru=1;const Zo=class Zo{constructor(){xe(this,Je);rt(this,"id",ru++);xe(this,aa,!1);rt(this,"linked",!0);xe(this,dn,null);xe(this,Ln,null);rt(this,"async_deriveds",new Map);rt(this,"current",new Map);rt(this,"previous",new Map);xe(this,oa,new Set);xe(this,ia,new Set);xe(this,sa,0);xe(this,Yr,new Map);xe(this,la,null);xe(this,Gt,[]);xe(this,Wa,[]);xe(this,Kr,new Set);xe(this,_r,new Set);xe(this,Mr,new Map);xe(this,ca,new Set);rt(this,"is_fork",!1);xe(this,Sn,!1);Gn===null?hi=Gn=this:(ve(Gn,Ln,this),ve(this,dn,Gn)),Gn=this}skip_effect(e){_(this,Mr).has(e)||_(this,Mr).set(e,{d:[],m:[]}),_(this,ca).delete(e)}unskip_effect(e,r=n=>this.schedule(n)){var n=_(this,Mr).get(e);if(n){_(this,Mr).delete(e);for(var a of n.d)it(a,gt),r(a);for(a of n.m)it(a,er),r(a)}_(this,ca).add(e)}capture(e,r,n=!1){e.v!==dt&&!this.previous.has(e)&&this.previous.set(e,e.v),(e.f&tn)===0&&(this.current.set(e,[r,n]),Lt==null||Lt.set(e,r)),this.is_fork||(e.v=r)}activate(){oe=this}deactivate(){oe=null,Lt=null}flush(){try{vi=!0,oe=this,Pe(this,Je,Qa).call(this)}finally{Os=0,mi=null,Un=null,vo=null,vi=!1,oe=null,Lt=null,$r.clear()}}discard(){var e;for(const r of _(this,ia))r(this);_(this,ia).clear();for(const r of this.async_deriveds.values())r.reject(La);Pe(this,Je,eo).call(this),(e=_(this,la))==null||e.resolve()}register_created_effect(e){_(this,Wa).push(e)}increment(e,r){if(ve(this,sa,_(this,sa)+1),e){let n=_(this,Yr).get(r)??0;_(this,Yr).set(r,n+1)}}decrement(e,r){if(ve(this,sa,_(this,sa)-1),e){let n=_(this,Yr).get(r)??0;n===1?_(this,Yr).delete(r):_(this,Yr).set(r,n-1)}_(this,Sn)||(ve(this,Sn,!0),Ot(()=>{ve(this,Sn,!1),this.linked&&this.flush()}))}transfer_effects(e,r){for(const n of e)_(this,Kr).add(n);for(const n of r)_(this,_r).add(n);e.clear(),r.clear()}oncommit(e){_(this,oa).add(e)}ondiscard(e){_(this,ia).add(e)}settled(){return(_(this,la)??ve(this,la,ys())).promise}static ensure(){if(oe===null){const e=oe=new Zo;!vi&&!Hn&&Ot(()=>{_(e,aa)||e.flush()})}return oe}apply(){{Lt=null;return}}schedule(e){var a;if(mi=e,(a=e.b)!=null&&a.is_pending&&(e.f&(Rn|ga|ni))!==0&&(e.f&en)===0){e.b.defer_effect(e);return}for(var r=e;r.parent!==null;){r=r.parent;var n=r.f;if(Un!==null&&r===ye&&(Re===null||(Re.f&kt)===0))return;if((n&(wr|Xt))!==0){if((n&pt)===0)return;r.f^=pt}}_(this,Gt).push(r)}};aa=new WeakMap,dn=new WeakMap,Ln=new WeakMap,oa=new WeakMap,ia=new WeakMap,sa=new WeakMap,Yr=new WeakMap,la=new WeakMap,Gt=new WeakMap,Wa=new WeakMap,Kr=new WeakMap,_r=new WeakMap,Mr=new WeakMap,ca=new WeakMap,Sn=new WeakMap,Je=new WeakSet,as=function(){if(this.is_fork)return!0;for(const n of _(this,Yr).keys()){for(var e=n,r=!1;e.parent!==null;){if(_(this,Mr).has(e)){r=!0;break}e=e.parent}if(!r)return!0}return!1},Qa=function(){var l,d,u,h;ve(this,aa,!0),Os++>1e3&&(Pe(this,Je,eo).call(this),nu());for(const f of _(this,Kr))_(this,_r).delete(f),it(f,gt),this.schedule(f);for(const f of _(this,_r))it(f,er),this.schedule(f);const e=_(this,Gt);ve(this,Gt,[]),this.apply();var r=Un=[],n=[],a=vo=[];for(const f of e)try{Pe(this,Je,os).call(this,f,r,n)}catch(v){throw Gs(f),Pe(this,Je,as).call(this)||this.discard(),v}if(oe=null,a.length>0){var o=Zo.ensure();for(const f of a)o.schedule(f)}if(Un=null,vo=null,Pe(this,Je,as).call(this)){Pe(this,Je,va).call(this,n),Pe(this,Je,va).call(this,r);for(const[f,v]of _(this,Mr))js(f,v);a.length>0&&Pe(l=oe,Je,Qa).call(l);return}const i=Pe(this,Je,sd).call(this);if(i){Pe(this,Je,va).call(this,n),Pe(this,Je,va).call(this,r),Pe(d=i,Je,ld).call(d,this);return}_(this,Kr).clear(),_(this,_r).clear();for(const f of _(this,oa))f(this);_(this,oa).clear(),Sa=this,Fs(n),Fs(r),Sa=null,(u=_(this,la))==null||u.resolve();var s=oe;if(_(this,sa)===0&&(_(this,Gt).length===0||s!==null)&&Pe(this,Je,eo).call(this),_(this,Gt).length>0)if(s!==null){const f=s;_(f,Gt).push(..._(this,Gt).filter(v=>!_(f,Gt).includes(v)))}else s=this;s!==null&&($r.clear(),Pe(h=s,Je,Qa).call(h))},os=function(e,r,n){e.f^=pt;for(var a=e.first;a!==null;){var o=a.f,i=(o&(Xt|wr))!==0,s=i&&(o&pt)!==0,l=s||(o&zt)!==0||_(this,Mr).has(a);if(!l&&a.fn!==null){i?a.f^=pt:(o&Rn)!==0?r.push(a):Wn(a)&&((o&Jt)!==0&&_(this,_r).add(a),yn(a));var d=a.first;if(d!==null){a=d;continue}}for(;a!==null;){var u=a.next;if(u!==null){a=u;break}a=a.parent}}},sd=function(){for(var e=_(this,dn);e!==null;){if(!e.is_fork){for(const[r,[,n]]of this.current)if(e.current.has(r)&&!n)return e}e=_(e,dn)}return null},ld=function(e){var n;for(const[a,o]of e.current)!this.previous.has(a)&&e.previous.has(a)&&this.previous.set(a,e.previous.get(a)),this.current.set(a,o);for(const[a,o]of e.async_deriveds){const i=this.async_deriveds.get(a);i&&o.promise.then(i.resolve).catch(i.reject)}e.async_deriveds.clear(),this.transfer_effects(_(e,Kr),_(e,_r));const r=a=>{var o=a.reactions;if(o!==null&&!((a.f&kt)!==0&&(a.f&(gt|er))===0))for(const l of o){var i=l.f;if((i&kt)!==0)r(l);else{var s=l;i&(Nn|Jt)&&!this.async_deriveds.has(s)&&(_(this,_r).delete(s),it(s,gt),this.schedule(s))}}};for(const a of this.current.keys())r(a);this.oncommit(()=>e.discard()),Pe(n=e,Je,eo).call(n),oe=this,Pe(this,Je,Qa).call(this)},va=function(e){for(var r=0;r<e.length;r+=1)As(e[r],_(this,Kr),_(this,_r))},mh=function(){var h;for(let f=hi;f!==null;f=_(f,Ln)){var e=f.id<this.id,r=[];for(const[v,[m,g]]of this.current){if(f.current.has(v)){var n=f.current.get(v)[0];if(e&&m!==n)f.current.set(v,[m,g]);else continue}r.push(v)}if(e)for(const[v,m]of this.async_deriveds){const g=f.async_deriveds.get(v);g&&m.promise.then(g.resolve).catch(g.reject)}var a=[...f.current.keys()].filter(v=>!f.current.get(v)[1]);if(!(!_(f,aa)||a.length===0)){var o=a.filter(v=>!this.current.has(v));if(o.length===0)e&&f.discard();else if(r.length>0){if(e)for(const v of _(this,ca))f.unskip_effect(v,m=>{var g;(m.f&(Jt|Nn))!==0?f.schedule(m):Pe(g=f,Je,va).call(g,[m])});f.activate();var i=new Set,s=new Map;for(var l of r)qs(l,o,i,s);s=new Map;var d=[...f.current].filter(([v,m])=>{const g=this.current.get(v);return g?g[0]!==m[0]||g[1]!==m[1]:!0}).map(([v])=>v);if(d.length>0)for(const v of _(this,Wa))(v.f&(Dt|zt|co))===0&&pi(v,d,s)&&((v.f&(Nn|Jt))!==0?(it(v,gt),f.schedule(v)):_(f,Kr).add(v));if(_(f,Gt).length>0&&!_(f,Sn)){f.apply();for(var u of _(f,Gt))Pe(h=f,Je,os).call(h,u,[],[]);ve(f,Gt,[])}f.deactivate()}}}},eo=function(){if(this.linked){var e=_(this,dn),r=_(this,Ln);e===null?hi=r:ve(e,Ln,r),r===null?Gn=e:ve(r,dn,e),this.linked=!1}};let qr=Zo;function _t(t){var e=Hn;Hn=!0;try{for(var r;;){if(Yd(),oe===null)return r;oe.flush()}}finally{Hn=e}}function nu(){try{qd()}catch(t){Lr(t,mi)}}let hr=null;function Fs(t){var e=t.length;if(e!==0){for(var r=0;r<e;){var n=t[r++];if((n.f&(Dt|zt))===0&&Wn(n)&&(hr=new Set,yn(n),n.deps===null&&n.first===null&&n.nodes===null&&n.teardown===null&&n.ac===null&&al(n),(hr==null?void 0:hr.size)>0)){$r.clear();for(const a of hr){if((a.f&(Dt|zt))!==0)continue;const o=[a];let i=a.parent;for(;i!==null;)hr.has(i)&&(hr.delete(i),o.push(i)),i=i.parent;for(let s=o.length-1;s>=0;s--){const l=o[s];(l.f&(Dt|zt))===0&&yn(l)}}hr.clear()}}hr=null}}function qs(t,e,r,n){if(!r.has(t)&&(r.add(t),t.reactions!==null))for(const a of t.reactions){const o=a.f;(o&kt)!==0?qs(a,e,r,n):(o&(Nn|Jt))!==0&&(o>)===0&&pi(a,e,n)&&(it(a,gt),gi(a))}}function pi(t,e,r){const n=r.get(t);if(n!==void 0)return n;if(t.deps!==null)for(const a of t.deps){if(oo.call(e,a))return!0;if((a.f&kt)!==0&&pi(a,e,r))return r.set(a,!0),!0}return r.set(t,!1),!1}function gi(t){oe.schedule(t)}function js(t,e){if(!((t.f&Xt)!==0&&(t.f&pt)!==0)){(t.f>)!==0?e.d.push(t):(t.f&er)!==0&&e.m.push(t),it(t,pt);for(var r=t.first;r!==null;)js(r,e),r=r.next}}function Gs(t){it(t,pt);for(var e=t.first;e!==null;)Gs(e),e=e.next}let po=new Set;const $r=new Map;let Hs=!1;function jr(t,e){var r={f:0,v:t,reactions:null,equals:Cs,rv:0,wv:0};return r}function ce(t,e){const r=jr(t);return ll(r),r}function Ea(t,e=!1,r=!0){var a;const n=jr(t);return e||(n.equals=$s),On&&r&&nt!==null&&nt.l!==null&&((a=nt.l).s??(a.s=[])).push(n),n}function P(t,e,r=!1){Re!==null&&(!pr||(Re.f&co)!==0)&&qn()&&(Re.f&(kt|Jt|Nn|co))!==0&&(Sr===null||!Sr.has(t))&&Vd();let n=r?mr(e):e;return Gr(t,n,vo)}function Gr(t,e,r=null){if(!t.equals(e)){Ur?$r.set(t,e):$r.has(t)||$r.set(t,t.v);var n=qr.ensure();if(n.capture(t,e),(t.f&kt)!==0){const a=t;(t.f>)!==0&&fi(a),Lt===null&&di(a)}t.wv=ul(),Us(t,gt,r),qn()&&ye!==null&&(ye.f&pt)!==0&&(ye.f&(Xt|wr))===0&&(ar===null?mu([t]):ar.push(t)),!n.is_fork&&po.size>0&&!Hs&&au()}return e}function au(){Hs=!1;for(const t of po){(t.f&pt)!==0&&it(t,er);let e;try{e=Wn(t)}catch{e=!0}e&&yn(t)}po.clear()}function Aa(t){P(t,t.v+1)}function Us(t,e,r){var n=t.reactions;if(n!==null)for(var a=qn(),o=n.length,i=0;i<o;i++){var s=n[i],l=s.f;if(!(!a&&s===ye)){var d=(l>)===0;if(d&&it(s,e),(l&co)!==0)po.add(s);else if((l&kt)!==0){var u=s;Lt==null||Lt.delete(u),(l&vn)===0&&(l&Qt&&(ye===null||(ye.f&uo)===0)&&(s.f|=vn),Us(u,er,r))}else if(d){var h=s;(l&Jt)!==0&&hr!==null&&hr.add(h),r!==null?r.push(h):gi(h)}}}}function mr(t){if(typeof t!="object"||t===null||kr in t||xs in t)return t;const e=ti(t);if(e!==$d&&e!==Ld)return t;var r=new Map,n=ao(t),a=ce(0),o=bn,i=s=>{if(bn===o)return s();var l=Re,d=bn;rr(null),dl(o);var u=s();return rr(l),dl(d),u};return n&&r.set("length",ce(t.length)),new Proxy(t,{defineProperty(s,l,d){(!("value"in d)||d.configurable===!1||d.enumerable===!1||d.writable===!1)&&Hd();var u=r.get(l);return u===void 0?i(()=>{var h=ce(d.value);return r.set(l,h),h}):P(u,d.value,!0),!0},deleteProperty(s,l){var d=r.get(l);if(d===void 0){if(l in s){const u=i(()=>ce(dt));r.set(l,u),Aa(a)}}else P(d,dt),Aa(a);return!0},get(s,l,d){var v;if(l===kr)return t;var u=r.get(l),h=l in s;if(u===void 0&&(!h||(v=Or(s,l))!=null&&v.writable)&&(u=i(()=>{var m=mr(h?s[l]:dt),g=ce(m);return g}),r.set(l,u)),u!==void 0){var f=c(u);return f===dt?void 0:f}return Reflect.get(s,l,d)},getOwnPropertyDescriptor(s,l){var d=Reflect.getOwnPropertyDescriptor(s,l);if(d&&"value"in d){var u=r.get(l);u&&(d.value=c(u))}else if(d===void 0){var h=r.get(l),f=h==null?void 0:h.v;if(h!==void 0&&f!==dt)return{enumerable:!0,configurable:!0,value:f,writable:!0}}return d},has(s,l){var f;if(l===kr)return!0;var d=r.get(l),u=d!==void 0&&d.v!==dt||Reflect.has(s,l);if(d!==void 0||ye!==null&&(!u||(f=Or(s,l))!=null&&f.writable)){d===void 0&&(d=i(()=>{var v=u?mr(s[l]):dt,m=ce(v);return m}),r.set(l,d));var h=c(d);if(h===dt)return!1}return u},set(s,l,d,u){var F;var h=r.get(l),f=l in s;if(n&&l==="length")for(var v=d;v<h.v;v+=1){var m=r.get(v+"");m!==void 0?P(m,dt):v in s&&(m=i(()=>ce(dt)),r.set(v+"",m))}if(h===void 0)(!f||(F=Or(s,l))!=null&&F.writable)&&(h=i(()=>ce(void 0)),P(h,mr(d)),r.set(l,h));else{f=h.v!==dt;var g=i(()=>mr(d));P(h,g)}var y=Reflect.getOwnPropertyDescriptor(s,l);if(y!=null&&y.set&&y.set.call(u,d),!f){if(n&&typeof l=="string"){var C=r.get("length"),z=Number(l);Number.isInteger(z)&&z>=C.v&&P(C,z+1)}Aa(a)}return!0},ownKeys(s){c(a);var l=Reflect.ownKeys(s).filter(h=>{var f=r.get(h);return f===void 0||f.v!==dt});for(var[d,u]of r)u.v!==dt&&!(d in s)&&l.push(d);return l},setPrototypeOf(){Ud()}})}function Vs(t){try{if(t!==null&&typeof t=="object"&&kr in t)return t[kr]}catch{}return t}function Bs(t,e){return Object.is(Vs(t),Vs(e))}var Ws,Zs,Ys,Ks;function _i(){if(Ws===void 0){Ws=window,Zs=/Firefox/.test(navigator.userAgent);var t=Element.prototype,e=Node.prototype,r=Text.prototype;Ys=Or(e,"firstChild").get,Ks=Or(e,"nextSibling").get,_s(t)&&(t[si]=void 0,t[fo]=null,t[li]=void 0,t.__e=void 0),_s(r)&&(r[_a]=void 0)}}function Et(t=""){return document.createTextNode(t)}function bt(t){return Ys.call(t)}function vr(t){return Ks.call(t)}function Y(t,e){if(!le)return bt(t);var r=bt(ge);if(r===null)r=ge.appendChild(Et());else if(e&&r.nodeType!==xa){var n=Et();return r==null||r.before(n),ut(n),n}return e&&go(r),ut(r),r}function U(t,e=!1){if(!le){var r=bt(t);return r instanceof Comment&&r.data===""?vr(r):r}if(e){if((ge==null?void 0:ge.nodeType)!==xa){var n=Et();return ge==null||ge.before(n),ut(n),n}go(ge)}return ge}function Ie(t,e=!1){if(!le)return bt(t);var r=Y(t,e);return H(t),r}function E(t,e=1,r=!1){let n=le?ge:t;for(var a;e--;)a=n,n=vr(n);if(!le)return n;if(r){if((n==null?void 0:n.nodeType)!==xa){var o=Et();return n===null?a==null||a.after(o):n.before(o),ut(o),o}go(n)}return ut(n),n}function Js(t){t.textContent=""}function Xs(){return!1}function za(t,e,r){return e==null||e===ms?r?document.createElement(t,{is:r}):document.createElement(t):r?document.createElementNS(e,t,{is:r}):document.createElementNS(e,t)}function go(t){if(t.nodeValue.length<65536)return;let e=t.nextSibling;for(;e!==null&&e.nodeType===xa;)e.remove(),t.nodeValue+=e.nodeValue,e=t.nextSibling}function ou(t){var e=ye;if(e===null)return Re.f|=tn,t;if((e.f&en)===0&&(e.f&Rn)===0)throw t;Lr(t,e)}function Lr(t,e){if(!(e!==null&&(e.f&Dt)!==0)){for(;e!==null;){if((e.f&ai)!==0&&(e.f&(Dt|lo))===0){if((e.f&en)===0)throw t;try{e.b.error(t);return}catch(r){t=r}}e=e.parent}throw t}}function Qs(t){ye===null&&(Re===null&&Fd(),Od()),Ur&&Dd()}function iu(t,e){var r=e.last;r===null?e.last=e.first=t:(r.next=t,t.prev=r,e.last=t)}function tr(t,e){var r=ye;r!==null&&(r.f&zt)!==0&&(t|=zt);var n={ctx:nt,deps:null,nodes:null,f:t|gt|Qt,first:null,fn:e,last:null,next:null,parent:r,b:r&&r.b,prev:null,teardown:null,wv:0,ac:null};oe==null||oe.register_created_effect(n);var a=n;if((t&Rn)!==0)Un!==null?Un.push(n):qr.ensure().schedule(n);else if(e!==null){try{yn(n)}catch(i){throw Ct(n),i}a.deps===null&&a.teardown===null&&a.nodes===null&&a.first===a.last&&(a.f&mn)===0&&(a=a.first,(t&Jt)!==0&&(t&Fr)!==0&&a!==null&&(a.f|=Fr))}if(a!==null&&(a.parent=r,r!==null&&iu(a,r),Re!==null&&(Re.f&kt)!==0&&(t&wr)===0)){var o=Re;(o.effects??(o.effects=[])).push(a)}return n}function bi(){return Re!==null&&!pr}function _o(t){const e=tr(ga,null);return it(e,pt),e.teardown=t,e}function Hr(t){Qs();var e=ye.f,r=!Re&&(e&Xt)!==0&&nt!==null&&!nt.i;if(r){var n=nt;(n.e??(n.e=[])).push(t)}else return el(t)}function el(t){return tr(Rn|ws,t)}function su(t){return Qs(),tr(ga|ws,t)}function lu(t){qr.ensure();const e=tr(wr|mn,t);return()=>{Ct(e)}}function cu(t){qr.ensure();const e=tr(wr|mn,t);return(r={})=>new Promise(n=>{r.outro?gn(e,()=>{Ct(e),n(void 0)}):(Ct(e),n(void 0))})}function Ta(t){return tr(Rn,t)}function du(t,e){var r=nt,n={effect:null,ran:!1,deps:t};r.l.$.push(n),n.effect=Vn(()=>{if(t(),!n.ran){n.ran=!0;var a=ye;try{nr(a.parent),st(e)}finally{nr(a)}}})}function uu(){var t=nt;Vn(()=>{for(var e of t.l.$){e.deps();var r=e.effect;(r.f&pt)!==0&&r.deps!==null&&it(r,er),Wn(r)&&yn(r),e.ran=!1}})}function fu(t){return tr(Nn|mn,t)}function Vn(t,e=0){return tr(ga|e,t)}function G(t,e=[],r=[],n=[]){Ps(n,e,r,a=>{tr(ga,()=>{t(...a.map(c))})})}function Bn(t,e=0){var r=tr(Jt|e,t);return r}function tl(t,e=0){var r=tr(ni|e,t);return r}function Ft(t){return tr(Xt|mn,t)}function rl(t){var e=t.teardown;if(e!==null){const r=Ur,n=Re;sl(!0),rr(null);try{e.call(null)}catch(a){Lr(a,t.parent)}finally{sl(r),rr(n)}}}function yi(t,e=!1){var r=t.first;for(t.first=t.last=null;r!==null;){const a=r.ac;a!==null&&rn(()=>{a.abort(ya)});var n=r.next;(r.f&wr)!==0?r.parent=null:Ct(r,e),r=n}}function hu(t){for(var e=t.first;e!==null;){var r=e.next;(e.f&Xt)===0&&Ct(e),e=r}}function Ct(t,e=!0){var r=!1;(e||(t.f&Ed)!==0)&&t.nodes!==null&&t.nodes.end!==null&&(nl(t.nodes.start,t.nodes.end),r=!0),t.f|=lo,yi(t,e&&!r),Ma(t,0);var n=t.nodes&&t.nodes.t;if(n!==null)for(const o of n)o.stop();rl(t),t.f^=lo,t.f|=Dt;var a=t.parent;a!==null&&a.first!==null&&al(t),t.next=t.prev=t.teardown=t.ctx=t.deps=t.fn=t.nodes=t.ac=t.b=null}function nl(t,e){for(;t!==null;){var r=t===e?null:vr(t);t.remove(),t=r}}function al(t){var e=t.parent,r=t.prev,n=t.next;r!==null&&(r.next=n),n!==null&&(n.prev=r),e!==null&&(e.first===t&&(e.first=n),e.last===t&&(e.last=r))}function gn(t,e,r=!0){var n=[];t.f|=oi,ol(t,n,!0);var a=()=>{r&&Ct(t),e&&e()},o=n.length;if(o>0){var i=()=>--o||a();for(var s of n)s.out(i)}else a()}function ol(t,e,r){if((t.f&zt)===0){t.f^=zt;var n=t.nodes&&t.nodes.t;if(n!==null)for(const s of n)(s.is_global||r)&&e.push(s);for(var a=t.first;a!==null;){var o=a.next;if((a.f&wr)===0){var i=(a.f&Fr)!==0||(a.f&Xt)!==0&&(t.f&Jt)!==0;ol(a,e,i?r:!1)}a=o}}}function bo(t){t.f&=~oi,il(t,!0)}function il(t,e){if((t.f&oi)===0&&(t.f&zt)!==0){t.f^=zt,(t.f&pt)===0&&(it(t,gt),qr.ensure().schedule(t));for(var r=t.first;r!==null;){var n=r.next,a=(r.f&Fr)!==0||(r.f&Xt)!==0;il(r,a?e:!1),r=n}var o=t.nodes&&t.nodes.t;if(o!==null)for(const i of o)(i.is_global||e)&&i.in()}}function wi(t,e){if(t.nodes)for(var r=t.nodes.start,n=t.nodes.end;r!==null;){var a=r===n?null:vr(r);e.append(r),r=a}}let yo=!1,Ur=!1;function sl(t){Ur=t}let Re=null,pr=!1;function rr(t){Re=t}let ye=null;function nr(t){ye=t}let Sr=null;function ll(t){Re!==null&&(Sr??(Sr=new Set)).add(t)}let qt=null,Ht=0,ar=null;function mu(t){ar=t}let cl=1,_n=0,bn=_n;function dl(t){bn=t}function ul(){return++cl}function Wn(t){var e=t.f;if((e>)!==0)return!0;if(e&kt&&(t.f&=~vn),(e&er)!==0){for(var r=t.deps,n=r.length,a=0;a<n;a++){var o=r[a];if(Wn(o)&&Ns(o),o.wv>t.wv)return!0}(e&Qt)!==0&&Lt===null&&it(t,pt)}return!1}function fl(t,e,r=!0){var n=t.reactions;if(n!==null&&!(Sr!==null&&Sr.has(t)))for(var a=0;a<n.length;a++){var o=n[a];(o.f&kt)!==0?fl(o,e,!1):e===o&&(r?it(o,gt):(o.f&pt)!==0&&it(o,er),gi(o))}}function hl(t){var e=qt,r=Ht,n=ar,a=Re,o=Sr,i=nt,s=pr,l=bn,d=t.f;qt=null,Ht=0,ar=null,Re=(d&(Xt|wr))===0?t:null,Sr=null,Fn(t.ctx),pr=!1,bn=++_n,t.ac!==null&&(rn(()=>{t.ac.abort(ya)}),t.ac=null);try{t.f|=uo;var u=t.fn,h=u();t.f|=en;var f=ml(t);if(qn()&&ar!==null&&!pr&&f!==null&&(t.f&(kt|er|gt))===0)for(var v=0;v<ar.length;v++)fl(ar[v],t);if(a!==null&&a!==t){if(_n++,a.deps!==null)for(let m=0;m<r;m+=1)a.deps[m].rv=_n;if(e!==null)for(const m of e)m.rv=_n;ar!==null&&(n===null?n=ar:n.push(...ar))}return(t.f&tn)!==0&&(t.f^=tn),h}catch(m){return ml(t),ou(m)}finally{t.f^=uo,qt=e,Ht=r,ar=n,Re=a,Sr=o,Fn(i),pr=s,bn=l}}function ml(t){var a;var e=t.deps,r=oe==null?void 0:oe.is_fork;if(qt!==null){var n;if(r||Ma(t,Ht),e!==null&&Ht>0)for(e.length=Ht+qt.length,n=0;n<qt.length;n++)e[Ht+n]=qt[n];else t.deps=e=qt;if(bi()&&(t.f&Qt)!==0)for(n=Ht;n<e.length;n++)((a=e[n]).reactions??(a.reactions=[])).push(t)}else!r&&e!==null&&Ht<e.length&&(Ma(t,Ht),e.length=Ht);return e}function vu(t,e){let r=e.reactions;if(r!==null){var n=Cd.call(r,t);if(n!==-1){var a=r.length-1;a===0?r=e.reactions=null:(r[n]=r[a],r.pop())}}if(r===null&&(e.f&kt)!==0&&(qt===null||!oo.call(qt,e))){var o=e;(o.f&Qt)!==0&&(o.f^=Qt,o.f&=~vn),o.v!==dt&&di(o),o.ac!==null&&rn(()=>{o.ac.abort(ya),o.ac=null,it(o,gt)}),tu(o),Ma(o,0)}}function Ma(t,e){var r=t.deps;if(r!==null)for(var n=e;n<r.length;n++)vu(t,r[n])}function yn(t){var e=t.f;if((e&Dt)===0){it(t,pt);var r=ye,n=yo;ye=t,yo=(e&(Xt|wr))===0;try{(e&(Jt|ni))!==0?hu(t):yi(t),rl(t);var a=hl(t);t.teardown=typeof a=="function"?a:null,t.wv=cl;var o;ps&&Wd&&(t.f>)!==0&&t.deps}finally{yo=n,ye=r}}}async function pu(){await Promise.resolve(),_t()}function c(t){var e=t.f,r=(e&kt)!==0;if(Re!==null&&!pr){var n=ye!==null&&(ye.f&Dt)!==0;if(!n&&(Sr===null||!Sr.has(t))){var a=Re.deps;if((Re.f&uo)!==0)t.rv<_n&&(t.rv=_n,qt===null&&a!==null&&a[Ht]===t?Ht++:qt===null?qt=[t]:qt.push(t));else{Re.deps??(Re.deps=[]),oo.call(Re.deps,t)||Re.deps.push(t);var o=t.reactions;o===null?t.reactions=[Re]:oo.call(o,Re)||o.push(Re)}}}if(Ur&&$r.has(t))return $r.get(t);if(r){var i=t;if(Ur){var s=i.v;return((i.f&pt)===0&&i.reactions!==null||pl(i))&&(s=fi(i)),$r.set(i,s),s}var l=(i.f&Qt)===0&&!pr&&Re!==null&&(yo||(Re.f&Qt)!==0),d=(i.f&en)===0;Wn(i)&&(l&&(i.f|=Qt),Ns(i)),l&&!d&&(Ds(i),vl(i))}if(Lt!=null&&Lt.has(t))return Lt.get(t);if((t.f&tn)!==0)throw t.v;return t.v}function vl(t){if(t.f|=Qt,t.deps!==null)for(const e of t.deps)(e.reactions??(e.reactions=[])).push(t),(e.f&kt)!==0&&(e.f&Qt)===0&&(Ds(e),vl(e))}function pl(t){if(t.v===dt)return!0;if(t.deps===null)return!1;for(const e of t.deps)if($r.has(e)||(e.f&kt)!==0&&pl(e))return!0;return!1}function st(t){var e=pr;try{return pr=!0,t()}finally{pr=e}}function ft(t){if(!(typeof t!="object"||!t||t instanceof EventTarget)){if(kr in t)xi(t);else if(!Array.isArray(t))for(let e in t){const r=t[e];typeof r=="object"&&r&&kr in r&&xi(r)}}}function xi(t,e=new Set){if(typeof t=="object"&&t!==null&&!(t instanceof EventTarget)&&!e.has(t)){e.add(t),t instanceof Date&&t.getTime();for(let n in t)try{xi(t[n],e)}catch{}const r=ti(t);if(r!==Object.prototype&&r!==Array.prototype&&r!==Map.prototype&&r!==Set.prototype&&r!==Date.prototype){const n=gs(r);for(let a in n){const o=n[a].get;if(o)try{o.call(t)}catch{}}}}}const wn=Symbol("events"),gl=new Set,ki=new Set;function _l(t,e,r,n={}){function a(o){if(n.capture||Li.call(e,o),!o.cancelBubble)return rn(()=>r==null?void 0:r.call(this,o))}return t.startsWith("pointer")||t.startsWith("touch")||t==="wheel"?Ot(()=>{e.addEventListener(t,a,n)}):e.addEventListener(t,a,n),a}function wo(t,e,r,n,a){var o={capture:n,passive:a},i=_l(t,e,r,o);(e===document.body||e===window||e===document||e instanceof HTMLMediaElement)&&_o(()=>{e.removeEventListener(t,i,o)})}function or(t,e,r){(e[wn]??(e[wn]={}))[t]=r}function Vr(t){for(var e=0;e<t.length;e++)gl.add(t[e]);for(var r of ki)r(t)}let Ci=null,$i=!1;function Li(t){var g,y;var e=this,r=e.ownerDocument,n=t.type,a=((g=t.composedPath)==null?void 0:g.call(t))||[],o=a[0]||t.target;Ci=t,$i||($i=!0,setTimeout(()=>{$i=!1,Ci=null}));var i=0,s=Ci===t&&t[wn];if(s){var l=a.indexOf(s);if(l!==-1&&(e===document||e===window)){t[wn]=e;return}var d=a.indexOf(e);if(d===-1)return;l<=d&&(i=l)}if(o=a[i]||t.target,o!==e){pa(t,"currentTarget",{configurable:!0,get(){return o||r}});var u=Re,h=ye;rr(null),nr(null);try{for(var f,v=[];o!==null&&o!==e;){try{var m=(y=o[wn])==null?void 0:y[n];m!=null&&(!o.disabled||t.target===o)&&m.call(o,t)}catch(C){f?v.push(C):f=C}if(t.cancelBubble)break;i++,o=i<a.length?a[i]:null}if(f){for(let C of v)queueMicrotask(()=>{throw C});throw f}}finally{t[wn]=e,delete t.currentTarget,rr(u),nr(h)}}}const Si=((od=globalThis==null?void 0:globalThis.window)==null?void 0:od.trustedTypes)&&globalThis.window.trustedTypes.createPolicy("svelte-trusted-html",{createHTML:t=>t});function gu(t){return(Si==null?void 0:Si.createHTML(t))??t}function bl(t){var e=za("template");return e.innerHTML=gu(t.replaceAll("<!>","<!---->")),e.content}function Mt(t,e){var r=ye;r.nodes===null&&(r.nodes={start:t,end:e,a:null,t:null})}function R(t,e){var r=(e&us)!==0,n=(e&wd)!==0,a,o=!t.startsWith("<!>");return()=>{if(le)return Mt(ge,null),ge;a===void 0&&(a=bl(o?t:"<!>"+t),r||(a=bt(a)));var i=n||Zs?document.importNode(a,!0):a.cloneNode(!0);if(r){var s=bt(i),l=i.lastChild;Mt(s,l)}else Mt(i,i);return i}}function _u(t,e,r="svg"){var n=!t.startsWith("<!>"),a=(e&us)!==0,o=`<${r}>${n?t:"<!>"+t}</${r}>`,i;return()=>{if(le)return Mt(ge,null),ge;if(!i){var s=bl(o),l=bt(s);if(a)for(i=document.createDocumentFragment();bt(l);)i.appendChild(bt(l));else i=bt(l)}var d=i.cloneNode(!0);if(a){var u=bt(d),h=d.lastChild;Mt(u,h)}else Mt(d,d);return d}}function Er(t,e){return _u(t,e,"svg")}function Pt(t=""){if(!le){var e=Et(t+"");return Mt(e,e),e}var r=ge;return r.nodeType!==xa?(r.before(r=Et()),ut(r)):go(r),Mt(r,r),r}function Ke(){if(le)return Mt(ge,null),ge;var t=document.createDocumentFragment(),e=document.createComment(""),r=Et();return t.append(e,r),Mt(e,r),t}function x(t,e){if(le){var r=ye;((r.f&en)===0||r.nodes.end===null)&&(r.nodes.end=ge),Cr();return}t!==null&&t.before(e)}function bu(t){return t.endsWith("capture")&&t!=="gotpointercapture"&&t!=="lostpointercapture"}const yu=["beforeinput","click","change","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"];function wu(t){return yu.includes(t)}const xu={formnovalidate:"formNoValidate",ismap:"isMap",nomodule:"noModule",playsinline:"playsInline",readonly:"readOnly",defaultvalue:"defaultValue",defaultchecked:"defaultChecked",srcobject:"srcObject",novalidate:"noValidate",allowfullscreen:"allowFullscreen",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback"};function ku(t){return t=t.toLowerCase(),xu[t]??t}const Cu=["touchstart","touchmove"];function $u(t){return Cu.includes(t)}const Lu=["textarea","script","style","title"];function Su(t){return Lu.includes(t)}function Eu(t){let e=0,r=jr(0),n;return()=>{bi()&&(c(r),Vn(()=>(e===0&&(n=st(()=>t(()=>Aa(r)))),e+=1,()=>{Ot(()=>{e-=1,e===0&&(n==null||n(),n=void 0,Aa(r))})})))}}var Au=Fr|mn;function zu(t,e,r,n){new Tu(t,e,r,n)}class Tu{constructor(e,r,n,a){xe(this,Xe);rt(this,"parent");rt(this,"is_pending",!1);rt(this,"transform_error");xe(this,Bt);xe(this,Za,le?ge:null);xe(this,lr);xe(this,En);xe(this,Rt);xe(this,Wt,null);xe(this,Nt,null);xe(this,Zt,null);xe(this,Pr,null);xe(this,An,0);xe(this,un,0);xe(this,da,!1);xe(this,Ya,new Set);xe(this,Ka,new Set);xe(this,Jr,null);xe(this,Yo,Eu(()=>(ve(this,Jr,jr(_(this,An))),()=>{ve(this,Jr,null)})));var o;ve(this,Bt,e),ve(this,lr,r),ve(this,En,i=>{var s=ye;s.b=this,s.f|=ai,n(i)}),this.parent=ye.b,this.transform_error=a??((o=this.parent)==null?void 0:o.transform_error)??(i=>i),ve(this,Rt,Bn(()=>{if(le){const i=_(this,Za);Cr();const s=i.data===no;if(i.data.startsWith(hs)){const d=JSON.parse(i.data.slice(hs.length));Pe(this,Xe,dd).call(this,d)}else s?Pe(this,Xe,ud).call(this):Pe(this,Xe,cd).call(this)}else Pe(this,Xe,ss).call(this)},Au)),le&&ve(this,Bt,ge)}defer_effect(e){As(e,_(this,Ya),_(this,Ka))}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!_(this,lr).pending}update_pending_count(e,r){Pe(this,Xe,ls).call(this,e,r),ve(this,An,_(this,An)+e),!(!_(this,Jr)||_(this,da))&&(ve(this,da,!0),Ot(()=>{ve(this,da,!1),_(this,Jr)&&Gr(_(this,Jr),_(this,An))}))}get_effect_pending(){return _(this,Yo).call(this),c(_(this,Jr))}error(e){if(!_(this,lr).onerror&&!_(this,lr).failed)throw e;oe!=null&&oe.is_fork?(_(this,Wt)&&oe.skip_effect(_(this,Wt)),_(this,Nt)&&oe.skip_effect(_(this,Nt)),_(this,Zt)&&oe.skip_effect(_(this,Zt)),oe.oncommit(()=>{Pe(this,Xe,cs).call(this,e)})):Pe(this,Xe,cs).call(this,e)}}Bt=new WeakMap,Za=new WeakMap,lr=new WeakMap,En=new WeakMap,Rt=new WeakMap,Wt=new WeakMap,Nt=new WeakMap,Zt=new WeakMap,Pr=new WeakMap,An=new WeakMap,un=new WeakMap,da=new WeakMap,Ya=new WeakMap,Ka=new WeakMap,Jr=new WeakMap,Yo=new WeakMap,Xe=new WeakSet,cd=function(){try{ve(this,Wt,Ft(()=>_(this,En).call(this,_(this,Bt))))}catch(e){this.error(e)}},dd=function(e){const r=_(this,lr).failed,{reset:n,invoke_onerror:a}=Pe(this,Xe,is).call(this,e);Ot(a),r&&ve(this,Zt,Ft(()=>{r(_(this,Bt),()=>e,()=>n)}))},is=function(e){var r=!1,n=!1;const a=()=>{if(r){Pd();return}r=!0,n&&Bd(),_(this,Zt)!==null&&gn(_(this,Zt),()=>{ve(this,Zt,null)}),Pe(this,Xe,Qo).call(this,()=>{Pe(this,Xe,ss).call(this)})};return{reset:a,invoke_onerror:()=>{var i,s;try{n=!0,(s=(i=_(this,lr)).onerror)==null||s.call(i,e,a),n=!1}catch(l){Lr(l,_(this,Rt)&&_(this,Rt).parent)}}}},ud=function(){const e=_(this,lr).pending;e&&(this.is_pending=!0,ve(this,Nt,Ft(()=>e(_(this,Bt)))),Ot(()=>{var r=ve(this,Pr,document.createDocumentFragment()),n=Et(),a=!1;if(r.append(n),ve(this,Wt,Pe(this,Xe,Qo).call(this,()=>{try{return Ft(()=>_(this,En).call(this,n))}catch(o){try{this.error(o),a=!0}catch(i){Lr(i,_(this,Rt).parent)}return null}})),_(this,Wt)===null){ve(this,Pr,null),a&&Pe(this,Xe,to).call(this,oe);return}_(this,un)===0&&(_(this,Bt).before(r),ve(this,Pr,null),gn(_(this,Nt),()=>{ve(this,Nt,null)}),Pe(this,Xe,to).call(this,oe))}))},ss=function(){try{if(this.is_pending=this.has_pending_snippet(),ve(this,un,0),ve(this,An,0),ve(this,Wt,Ft(()=>{_(this,En).call(this,_(this,Bt))})),_(this,un)>0){var e=ve(this,Pr,document.createDocumentFragment());wi(_(this,Wt),e);const r=_(this,lr).pending;ve(this,Nt,Ft(()=>r(_(this,Bt))))}else Pe(this,Xe,to).call(this,oe)}catch(r){this.error(r)}},to=function(e){this.is_pending=!1,e.transfer_effects(_(this,Ya),_(this,Ka))},Qo=function(e){var r=ye,n=Re,a=nt;nr(_(this,Rt)),rr(_(this,Rt)),Fn(_(this,Rt).ctx);try{return qr.ensure(),e()}finally{nr(r),rr(n),Fn(a)}},ls=function(e,r){var n;if(!this.has_pending_snippet()){this.parent&&Pe(n=this.parent,Xe,ls).call(n,e,r);return}ve(this,un,_(this,un)+e),_(this,un)===0&&(Pe(this,Xe,to).call(this,r),_(this,Nt)&&gn(_(this,Nt),()=>{ve(this,Nt,null)}),_(this,Pr)&&(_(this,Bt).before(_(this,Pr)),ve(this,Pr,null)))},cs=function(e){_(this,Wt)&&(Ct(_(this,Wt)),ve(this,Wt,null)),_(this,Nt)&&(Ct(_(this,Nt)),ve(this,Nt,null)),_(this,Zt)&&(Ct(_(this,Zt)),ve(this,Zt,null)),le&&(ut(_(this,Za)),$t(),ut(Ca()));let r=_(this,lr).failed;const n=a=>{const{reset:o,invoke_onerror:i}=Pe(this,Xe,is).call(this,a);i(),r&&ve(this,Zt,Pe(this,Xe,Qo).call(this,()=>{try{return Ft(()=>{var s=ye;s.b=this,s.f|=ai,r(_(this,Bt),()=>a,()=>o)})}catch(s){return Lr(s,_(this,Rt).parent),null}}))};Ot(()=>{var a;try{a=this.transform_error(e)}catch(o){Lr(o,_(this,Rt)&&_(this,Rt).parent);return}a!==null&&typeof a=="object"&&typeof a.then=="function"?a.then(n,o=>Lr(o,_(this,Rt)&&_(this,Rt).parent)):n(a)})};let xo=!0;function ko(t){xo=t}function Q(t,e){var r=e==null?"":typeof e=="object"?`${e}`:e;r!==(t[_a]??(t[_a]=t.nodeValue))&&(t[_a]=r,t.nodeValue=`${r}`)}function yl(t,e){return wl(t,e)}function Mu(t,e){_i(),e.intro=e.intro??!1;const r=e.target,n=le,a=ge;try{for(var o=bt(r);o&&(o.nodeType!==Dn||o.data!==fs);)o=vr(o);if(!o)throw hn;Tt(!0),ut(o);const i=wl(t,{...e,anchor:o});return Tt(!1),i}catch(i){if(i instanceof Error&&i.message.split(`
|
|
2
|
-
`).some(s=>s.startsWith("https://svelte.dev/e/")))throw i;return i!==hn&&console.warn("Failed to hydrate: ",i),e.recover===!1&&jd(),_i(),Js(r),Tt(!1),yl(t,e)}finally{Tt(n),ut(a)}}const Co=new Map;function wl(t,{target:e,anchor:r,props:n={},events:a,context:o,intro:i=!0,transformError:s}){_i();var l=void 0,d=cu(()=>{var u=r??e.appendChild(Et());zu(u,{pending:()=>{}},v=>{He({});var m=nt;if(o&&(m.c=o),a&&(n.$$events=a),le&&Mt(v,null),xo=i,l=t(v,n)||ci(),xo=!0,le&&(ye.nodes.end=ge,ge===null||ge.nodeType!==Dn||ge.data!==ei))throw ka(),hn;Ue()},s);var h=new Set,f=v=>{for(var m=0;m<v.length;m++){var g=v[m];if(!h.has(g)){h.add(g);var y=$u(g);for(const F of[e,document]){var C=Co.get(F);C===void 0&&(C=new Map,Co.set(F,C));var z=C.get(g);z===void 0?(F.addEventListener(g,Li,{passive:y}),C.set(g,1)):C.set(g,z+1)}}}};return f(io(gl)),ki.add(f),()=>{var y;for(var v of h)for(const C of[e,document]){var m=Co.get(C),g=m.get(v);--g==0?(C.removeEventListener(v,Li),m.delete(v),m.size===0&&Co.delete(C)):m.set(v,g)}ki.delete(f),u!==r&&((y=u.parentNode)==null||y.removeChild(u))}});return Ei.set(l,d),l}let Ei=new WeakMap;function Pu(t,e){const r=Ei.get(t);return r?(Ei.delete(t),r(e)):Promise.resolve()}class $o{constructor(e,r=!0){rt(this,"anchor");xe(this,br,new Map);xe(this,Ir,new Map);xe(this,Yt,new Map);xe(this,zn,new Set);xe(this,Ja,!0);xe(this,Xa,e=>{if(_(this,br).has(e)){var r=_(this,br).get(e),n=_(this,Ir).get(r);if(n)bo(n),_(this,zn).delete(r);else{var a=_(this,Yt).get(r);a&&(bo(a.effect),_(this,Ir).set(r,a.effect),_(this,Yt).delete(r),a.fragment.lastChild.remove(),this.anchor.before(a.fragment),n=a.effect)}for(const[o,i]of _(this,br)){if(_(this,br).delete(o),o===e)break;const s=_(this,Yt).get(i);s&&(Ct(s.effect),_(this,Yt).delete(i))}for(const[o,i]of _(this,Ir)){if(o===r||_(this,zn).has(o))continue;const s=()=>{if(Array.from(_(this,br).values()).includes(o)){var d=document.createDocumentFragment();wi(i,d),d.append(Et()),_(this,Yt).set(o,{effect:i,fragment:d})}else Ct(i);_(this,zn).delete(o),_(this,Ir).delete(o)};_(this,Ja)||!n?(_(this,zn).add(o),gn(i,s,!1)):s()}}});xe(this,Ko,e=>{_(this,br).delete(e);const r=Array.from(_(this,br).values());for(const[n,a]of _(this,Yt))r.includes(n)||(Ct(a.effect),_(this,Yt).delete(n))});this.anchor=e,ve(this,Ja,r)}ensure(e,r){var n=oe,a=Xs();if(r&&!_(this,Ir).has(e)&&!_(this,Yt).has(e))if(a){var o=document.createDocumentFragment(),i=Et();o.append(i),_(this,Yt).set(e,{effect:Ft(()=>r(i)),fragment:o})}else _(this,Ir).set(e,Ft(()=>r(this.anchor)));if(_(this,br).set(n,e),a){for(const[s,l]of _(this,Ir))s===e?n.unskip_effect(l):n.skip_effect(l);for(const[s,l]of _(this,Yt))s===e?n.unskip_effect(l.effect):n.skip_effect(l.effect);n.oncommit(_(this,Xa)),n.ondiscard(_(this,Ko))}else le&&(this.anchor=ge),_(this,Xa).call(this,n)}}br=new WeakMap,Ir=new WeakMap,Yt=new WeakMap,zn=new WeakMap,Ja=new WeakMap,Xa=new WeakMap,Ko=new WeakMap;function Zn(t,e,...r){var n=new $o(t);Bn(()=>{const a=e()??null;n.ensure(a,a&&(o=>a(o,...r)))},Fr)}function Lo(t){nt===null&&Ls(),On&&nt.l!==null?Iu(nt).m.push(t):Hr(()=>{const e=st(t);if(typeof e=="function")return e})}function Pa(t){nt===null&&Ls(),Lo(()=>()=>st(t))}function Iu(t){var e=t.l;return e.u??(e.u={a:[],b:[],m:[]})}const xl=0,kl=1,Ru=2;function nn(t,e,r,n,a){le&&Cr();var o=qn(),i=dt,s=o?jr(i):Ea(i,!1,!1),l=o?jr(i):Ea(i,!1,!1),d=new $o(t);Bn(()=>{var u=oe,h=e(),f=!1;let v=le&&bs(h)===(t.data===no);if(v&&(ut(Ca()),Tt(!1)),bs(h)){var m=Is(),g=!1;const y=C=>{if(!f){g=!0,m(!1),oe===u&&u.deactivate(),qr.ensure();try{C()}finally{$a(!1),Hn||_t()}}};h.then(C=>{y(()=>{Gr(s,C),d.ensure(kl,n&&(z=>n(z,s)))})},C=>{y(()=>{if(Gr(l,C),d.ensure(Ru,a&&(z=>a(z,l))),!a)throw l.v})}),le?d.ensure(xl,r):Ot(()=>{g||y(()=>{d.ensure(xl,r)})})}else Gr(s,h),d.ensure(kl,n&&(y=>n(y,s)));return v&&Tt(!0),()=>{f=!0}})}function B(t,e,r=!1){var n;le&&(n=ge,Cr());var a=new $o(t),o=r?Fr:0;function i(s,l){if(le){var d=ks(n);if(s!==parseInt(d.substring(1))){var u=Ca();ut(u),a.anchor=u,Tt(!1),a.ensure(s,l),Tt(!0);return}}a.ensure(s,l)}Bn(()=>{var s=!1;e((l,d=0)=>{s=!0,i(d,l)}),s||i(-1,null)},o)}function Ia(t,e){return e}function Nu(t,e,r){for(var n=[],a=e.length,o,i=e.length,s=0;s<a;s++){let h=e[s];gn(h,()=>{if(o){if(o.pending.delete(h),o.done.add(h),o.pending.size===0){var f=t.outrogroups;Ai(t,io(o.done)),f.delete(o),f.size===0&&(t.outrogroups=null)}}else i-=1},!1)}if(i===0){var l=n.length===0&&r!==null&&t.pending.size===0;if(l){var d=r,u=d.parentNode;Js(u),u.append(d),t.items.clear()}Ai(t,e,!l)}else o={pending:new Set(e),done:new Set},(t.outrogroups??(t.outrogroups=new Set)).add(o)}function Ai(t,e,r=!0){var n;if(t.pending.size>0){n=new Set;for(const i of t.pending.values())for(const s of i)n.add(t.items.get(s).e)}for(var a=0;a<e.length;a++){var o=e[a];if(n!=null&&n.has(o)){o.f|=xr;const i=document.createDocumentFragment();wi(o,i)}else Ct(e[a],r)}}var Cl;function an(t,e,r,n,a,o=null){var i=t,s=new Map,l=(e&ds)!==0;if(l){var d=t;i=le?ut(bt(d)):d.appendChild(Et())}le&&Cr();var u=null,h=ui(()=>{var F=r();return ao(F)?F:F==null?[]:io(F)}),f,v=new Map,m=!0;function g(F){(z.effect.f&Dt)===0&&(z.pending.delete(F),z.fallback=u,Du(z,f,i,e,n),u!==null&&(f.length===0?(u.f&xr)===0?bo(u):(u.f^=xr,Na(u,null,i)):gn(u,()=>{u=null})))}function y(F){z.pending.delete(F)}var C=Bn(()=>{f=c(h);var F=f.length;let I=!1;if(le){var T=ks(i)===no;T!==(F===0)&&(i=Ca(),ut(i),Tt(!1),I=!0)}for(var w=new Set,k=oe,b=Xs(),p=0;p<F;p+=1){le&&ge.nodeType===Dn&&ge.data===ei&&(i=ge,I=!0,Tt(!1));var L=f[p],V=n(L,p),D=m?null:s.get(V);D?(D.v&&Gr(D.v,L),D.i&&Gr(D.i,p),b&&k.unskip_effect(D.e)):(D=Ou(s,m?i:Cl??(Cl=Et()),L,V,p,a,e,r),m||(D.e.f|=xr),s.set(V,D)),w.add(V)}if(F===0&&o&&!u&&(m?u=Ft(()=>o(i)):(u=Ft(()=>o(Cl??(Cl=Et()))),u.f|=xr)),F>w.size&&Nd(),le&&F>0&&ut(Ca()),!m)if(v.set(k,w),b){for(const[se,Ne]of s)w.has(se)||k.skip_effect(Ne.e);k.oncommit(g),k.ondiscard(y)}else g(k);I&&Tt(!0),c(h)}),z={effect:C,items:s,pending:v,outrogroups:null,fallback:u};m=!1,le&&(i=ge)}function Ra(t){for(;t!==null&&(t.f&Xt)===0;)t=t.next;return t}function Du(t,e,r,n,a){var L,V,D,se,Ne,Ce,me,_e,ue;var o=(n&hd)!==0,i=e.length,s=t.items,l=Ra(t.effect.first),d,u=null,h,f=[],v=[],m,g,y,C;if(o)for(C=0;C<i;C+=1)m=e[C],g=a(m,C),y=s.get(g).e,(y.f&xr)===0&&((V=(L=y.nodes)==null?void 0:L.a)==null||V.measure(),(h??(h=new Set)).add(y));for(C=0;C<i;C+=1){if(m=e[C],g=a(m,C),y=s.get(g).e,t.outrogroups!==null)for(const ne of t.outrogroups)ne.pending.delete(y),ne.done.delete(y);if((y.f&zt)!==0&&(bo(y),o&&((se=(D=y.nodes)==null?void 0:D.a)==null||se.unfix(),(h??(h=new Set)).delete(y))),(y.f&xr)!==0)if(y.f^=xr,y===l)Na(y,null,r);else{var z=u?u.next:l;y===t.effect.last&&(t.effect.last=y.prev),y.prev&&(y.prev.next=y.next),y.next&&(y.next.prev=y.prev),on(t,u,y),on(t,y,z),Na(y,z,r),u=y,f=[],v=[],l=Ra(u.next);continue}if(y!==l){if(d!==void 0&&d.has(y)){if(f.length<v.length){var F=v[0],I;u=F.prev;var T=f[0],w=f[f.length-1];for(I=0;I<f.length;I+=1)Na(f[I],F,r);for(I=0;I<v.length;I+=1)d.delete(v[I]);on(t,T.prev,w.next),on(t,u,T),on(t,w,F),l=F,u=w,C-=1,f=[],v=[]}else d.delete(y),Na(y,l,r),on(t,y.prev,y.next),on(t,y,u===null?t.effect.first:u.next),on(t,u,y),u=y;continue}for(f=[],v=[];l!==null&&l!==y;)(d??(d=new Set)).add(l),v.push(l),l=Ra(l.next);if(l===null)continue}(y.f&xr)===0&&f.push(y),u=y,l=Ra(y.next)}if(t.outrogroups!==null){for(const ne of t.outrogroups)ne.pending.size===0&&(Ai(t,io(ne.done)),(Ne=t.outrogroups)==null||Ne.delete(ne));t.outrogroups.size===0&&(t.outrogroups=null)}if(l!==null||d!==void 0){var k=[];if(d!==void 0)for(y of d)(y.f&zt)===0&&k.push(y);for(;l!==null;)(l.f&zt)===0&&l!==t.fallback&&k.push(l),l=Ra(l.next);var b=k.length;if(b>0){var p=(n&ds)!==0&&i===0?r:null;if(o){for(C=0;C<b;C+=1)(me=(Ce=k[C].nodes)==null?void 0:Ce.a)==null||me.measure();for(C=0;C<b;C+=1)(ue=(_e=k[C].nodes)==null?void 0:_e.a)==null||ue.fix()}Nu(t,k,p)}}o&&Ot(()=>{var ne,O;if(h!==void 0)for(y of h)(O=(ne=y.nodes)==null?void 0:ne.a)==null||O.apply()})}function Ou(t,e,r,n,a,o,i,s){var l=(i&ro)!==0?(i&md)===0?Ea(r,!1,!1):jr(r):null,d=(i&fd)!==0?jr(a):null;return{v:l,i:d,e:Ft(()=>(o(e,l??r,d??a,s),()=>{t.delete(n)}))}}function Na(t,e,r){if(t.nodes)for(var n=t.nodes.start,a=t.nodes.end,o=e&&(e.f&xr)===0?e.nodes.start:r;n!==null;){var i=vr(n);if(o.before(n),n===a)return;n=i}}function on(t,e,r){e===null?t.effect.first=r:e.next=r,r===null?t.effect.last=e:r.prev=e}function sn(t,e,r=!1,n=!1,a=!1,o=!1){var i=t,s="";if(r){var l=t;le&&(i=ut(bt(l)))}G(()=>{var d=ye;if(s===(s=e()??"")){le&&Cr();return}if(r&&!le){d.nodes=null,l.innerHTML=s,s!==""&&Mt(bt(l),l.lastChild);return}if(d.nodes!==null&&(nl(d.nodes.start,d.nodes.end),d.nodes=null),s!==""){if(le){ge.data;for(var u=Cr(),h=u;u!==null&&(u.nodeType!==Dn||u.data!=="");)h=u,u=vr(u);if(u===null)throw ka(),hn;Mt(ge,h),i=ut(u);return}var f=n?vs:a?xd:void 0,v=za(n?"svg":a?"math":"template",f);v.innerHTML=s;var m=n||a?v:v.content;if(Mt(bt(m),m.lastChild),n||a)for(;bt(m);)i.before(bt(m));else i.before(m)}})}function At(t,e,r,n,a){var s,l;if(le&&Cr(),(s=e.$$host)!=null&&s.$$shadowRoot){const d=za("slot");if(r!=="default"&&(d.name=r),x(t,d),a!==null){const u=Et();d.append(u),a(u)}return}var o=(l=e.$$slots)==null?void 0:l[r],i=!1;o===!0&&(o=e[r==="default"?"children":r],i=!0),o===void 0?a!==null&&a(t):o(t,i?()=>n:n)}const Fu=()=>performance.now(),Br={tick:t=>requestAnimationFrame(t),now:()=>Fu(),tasks:new Set};function $l(){const t=Br.now();Br.tasks.forEach(e=>{e.c(t)||(Br.tasks.delete(e),e.f())}),Br.tasks.size!==0&&Br.tick($l)}function qu(t){let e;return Br.tasks.size===0&&Br.tick($l),{promise:new Promise(r=>{Br.tasks.add(e={c:t,f:r})}),abort(){Br.tasks.delete(e)}}}function So(t,e){rn(()=>{t.dispatchEvent(new CustomEvent(e))})}function ju(t){if(t==="float")return"cssFloat";if(t==="offset")return"cssOffset";if(t.startsWith("--"))return t;const e=t.split("-");return e.length===1?e[0]:e[0]+e.slice(1).map(r=>r[0].toUpperCase()+r.slice(1)).join("")}function Ll(t){const e={},r=t.split(";");for(const n of r){const[a,o]=n.split(":");if(!a||o===void 0)break;const i=ju(a.trim());e[i]=o.trim()}return e}const Gu=t=>t;function Hu(t,e,r,n){var y;var a=(t&yd)!==0,o="both",i,s=e.inert,l=e.style.overflow,d,u;function h(){return rn(()=>i??(i=r()(e,(n==null?void 0:n())??{},{direction:o})))}var f={is_global:a,in(){e.inert=s,d=zi(e,h(),u,1,()=>{So(e,"introstart")},()=>{So(e,"introend"),d==null||d.abort(),d=i=void 0,e.style.overflow=l})},out(C){e.inert=!0,u=zi(e,h(),d,0,()=>{So(e,"outrostart")},()=>{So(e,"outroend"),C==null||C()})},stop:()=>{d==null||d.abort(),u==null||u.abort()}},v=ye;if(((y=v.nodes).t??(y.t=[])).push(f),xo){var m=a;if(!m){for(var g=v.parent;g&&(g.f&Fr)!==0;)for(;(g=g.parent)&&(g.f&Jt)===0;);m=!g||(g.f&en)!==0}m&&Ta(()=>{st(()=>f.in())})}}function zi(t,e,r,n,a,o){var i=n===1,s=!1;if(Pn(e)){var l;return Ot(()=>{if(!s){var g=e({direction:i?"in":"out"});l=zi(t,g,r,n,a,o)}}),{abort:()=>{s=!0,l==null||l.abort()},deactivate:()=>l.deactivate(),reset:()=>l.reset(),t:()=>l.t()}}if(r==null||r.deactivate(),!(e!=null&&e.duration)&&!(e!=null&&e.delay))return a(),o(),{abort:In,deactivate:In,reset:In,t:()=>n};const{delay:d=0,css:u,tick:h,easing:f=Gu}=e;var v,m=()=>1-n;return Ot(()=>{if(!s){var g=[];if(i&&r===void 0&&(h&&h(0,1),u)){var y=Ll(u(0,1));g.push(y,y)}v=t.animate(g,{duration:d,fill:"forwards"}),v.onfinish=()=>{v.cancel(),a();var C=(r==null?void 0:r.t())??1-n;r==null||r.abort();var z=n-C,F=e.duration*Math.abs(z),I=[];if(F>0){var T=!1;if(u)for(var w=Math.ceil(F/16.666666666666668),k=0;k<=w;k+=1){var b=C+z*f(k/w),p=Ll(u(b,1-b));I.push(p),T||(T=p.overflow==="hidden")}T&&(t.style.overflow="hidden"),m=()=>{var L=v.currentTime;return C+z*f(L/F)},h&&qu(()=>{if(v.playState!=="running")return!1;var L=m();return h(L,1-L),!0})}v=t.animate(I,{duration:F,fill:"forwards"}),v.onfinish=()=>{m=()=>n,h==null||h(n,1-n),o()}}}}),{abort:()=>{s=!0,v&&(v.cancel(),v.effect=null,v.onfinish=In)},deactivate:()=>{o=In},reset:()=>{n===0&&(h==null||h(1,0))},t:()=>m()}}function Ut(t,e,r,n,a,o){let i=le;le&&Cr();var s=null;le&&ge.nodeType===zd&&(s=ge,Cr());var l=le?ge:t,d=new $o(l,!1);Bn(()=>{const u=e()||null;var h=u==="svg"?vs:void 0;if(u===null){d.ensure(null,null),ko(!0);return}return d.ensure(u,f=>{if(u){if(s=le?s:za(u,h),Mt(s,s),n){var v=null;le&&Su(u)&&s.append(v=document.createComment(""));var m=le?bt(s):s.appendChild(Et());le&&(m===null?Tt(!1):ut(m)),n(s,m),v==null||v.remove()}ye.nodes.end=s,f.before(s)}le&&ut(f)}),ko(!0),()=>{u&&ko(!1)}},Fr),_o(()=>{ko(!0)}),i&&(Tt(!0),ut(l))}function Uu(t,e){var r=void 0,n;tl(()=>{r!==(r=e())&&(n&&(Ct(n),n=null),r&&(n=Ft(()=>{Ta(()=>r(t))})))})}function Sl(t){var e,r,n="";if(typeof t=="string"||typeof t=="number")n+=t;else if(typeof t=="object")if(Array.isArray(t)){var a=t.length;for(e=0;e<a;e++)t[e]&&(r=Sl(t[e]))&&(n&&(n+=" "),n+=r)}else for(r in t)t[r]&&(n&&(n+=" "),n+=r);return n}function Vu(){for(var t,e,r=0,n="",a=arguments.length;r<a;r++)(t=arguments[r])&&(e=Sl(t))&&(n&&(n+=" "),n+=e);return n}function Ve(t){return typeof t=="object"?Vu(t):t??""}const El=[...`
|
|
3
|
-
\r\f \v\uFEFF`];function Bu(t,e,r){var n=t==null?"":""+t;if(r){for(var a of Object.keys(r))if(r[a])n=n?n+" "+a:a;else if(n.length)for(var o=a.length,i=0;(i=n.indexOf(a,i))>=0;){var s=i+o;(i===0||El.includes(n[i-1]))&&(s===n.length||El.includes(n[s]))?n=(i===0?"":n.substring(0,i))+n.substring(s+1):i=s}}return n===""?null:n}function Al(t,e=!1){var r=e?" !important;":";",n="";for(var a of Object.keys(t)){var o=t[a];o!=null&&o!==""&&(n+=" "+a+": "+o+r)}return n}function Ti(t){return t[0]!=="-"||t[1]!=="-"?t.toLowerCase():t}function Wu(t,e){if(e){var r="",n,a;if(Array.isArray(e)?(n=e[0],a=e[1]):n=e,t){t=String(t).replaceAll(/\/\*.*?\*\//g,"").trim();var o=!1,i=0,s=!1,l=[];n&&l.push(...Object.keys(n).map(Ti)),a&&l.push(...Object.keys(a).map(Ti));var d=0,u=-1;const g=t.length;for(var h=0;h<g;h++){var f=t[h];if(s?f==="/"&&t[h-1]==="*"&&(s=!1):o?o===f&&(o=!1):f==="/"&&t[h+1]==="*"?s=!0:f==='"'||f==="'"?o=f:f==="("?i++:f===")"&&i--,!s&&o===!1&&i===0){if(f===":"&&u===-1)u=h;else if(f===";"||h===g-1){if(u!==-1){var v=Ti(t.substring(d,u).trim());if(!l.includes(v)){f!==";"&&h++;var m=t.substring(d,h).trim();r+=" "+m+";"}}d=h+1,u=-1}}}}return n&&(r+=Al(n)),a&&(r+=Al(a,!0)),r=r.trim(),r===""?null:r}return t==null?null:String(t)}function je(t,e,r,n,a,o){var i=t[si];if(le||i!==r||i===void 0){var s=Bu(r,n,o);(!le||s!==t.getAttribute("class"))&&(s==null?t.removeAttribute("class"):e?t.className=s:t.setAttribute("class",s)),t[si]=r}else if(o&&a!==o)for(var l in o){var d=!!o[l];(a==null||d!==!!a[l])&&t.classList.toggle(l,d)}return o}function Mi(t,e={},r,n){for(var a in r){var o=r[a];e[a]!==o&&(r[a]==null?t.style.removeProperty(a):t.style.setProperty(a,o,n))}}function Zu(t,e,r,n){var a=t[li];if(le||a!==e){var o=Wu(e,n);(!le||o!==t.getAttribute("style"))&&(o==null?t.removeAttribute("style"):t.style.cssText=o),t[li]=e}else n&&(Array.isArray(n)?(Mi(t,r==null?void 0:r[0],n[0]),Mi(t,r==null?void 0:r[1],n[1],"important")):Mi(t,r,n));return n}function zl(t,e){e?t.hasAttribute("selected")||t.setAttribute("selected",""):t.removeAttribute("selected")}function Tl(t,e){var r=!("__defaultValue"in t);!r&&t.__defaultValue===e||(t.__defaultValue=e,Ml(t,!r||"__value"in t))}function Ml(t,e){var r=t.__defaultValue,n=t.multiple,a=n?r??[]:null;if(!(n&&!ao(a))){var o=t.selectedIndex,i=e&&n?new Set(t.selectedOptions):null;for(var s of t.options){var l=Yn(s);zl(s,n?a.includes(l):Bs(l,r))}if(e)if(i!==null)for(s of t.options){var d=i.has(s);s.selected!==d&&(s.selected=d)}else t.selectedIndex!==o&&(t.selectedIndex=o)}}function Da(t,e,r=!1){if(t.multiple){if(e==null)return;if(!ao(e))return Md();for(var n of t.options)n.selected=e.includes(Yn(n));return}for(n of t.options){var a=Yn(n);if(Bs(a,e)){n.selected=!0;return}}(!r||e!==void 0)&&(t.selectedIndex=-1)}function Pl(t){var e=new MutationObserver(r=>{r.every(Ku)||("__defaultValue"in t&&Ml(t,!1),"__value"in t&&Da(t,t.__value))});e.observe(t,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["value"]}),_o(()=>{e.disconnect()})}function Yu(t,e,r=e){var n=new WeakSet,a=!0;Ms(t,"change",o=>{var i=o?"[selected]":":checked",s;if(t.multiple)s=[].map.call(t.querySelectorAll(i),Yn);else{var l=t.querySelector(i)??t.querySelector("option:not([disabled])");s=l&&Yn(l)}r(s),t.__value=s,oe!==null&&n.add(oe)}),Ta(()=>{var o=e();if(t===document.activeElement){var i=oe;if(n.has(i))return}if(Da(t,o,a),a&&o===void 0){var s=t.querySelector(":checked");s!==null&&(o=Yn(s),r(o))}t.__value=o,a=!1})}function Yn(t){return"__value"in t?t.__value:t.value}function Ku(t){if(t.target.closest("selectedcontent")!==null)return!0;if(t.type==="childList"){var e=[...t.addedNodes,...t.removedNodes];return e.length>0&&e.every(r=>r.nodeName==="SELECTEDCONTENT")}return!1}const Oa=Symbol("class"),Fa=Symbol("style"),Il=Symbol("is custom element"),Rl=Symbol("is html"),Ju=wa?"link":"LINK",Nl=wa?"input":"INPUT",Xu=wa?"option":"OPTION",Dl=wa?"select":"SELECT",Qu=wa?"progress":"PROGRESS";function Pi(t){if(le){var e=!1,r=()=>{if(!e){if(e=!0,t.hasAttribute("value")){var n=t.value;Ee(t,"value",null),t.value=n}if(t.hasAttribute("checked")){var a=t.checked;Ee(t,"checked",null),t.checked=a}}};t[ba]=r,Ot(r),Ts()}}function e1(t,e){var r=Eo(t);r.value===(r.value=e??void 0)||t.value===e&&(e!==0||t.nodeName!==Qu)||(t.value=e??"")}function t1(t,e){var r=Eo(t);r.checked!==(r.checked=e??void 0)&&(t.checked=e)}function Ee(t,e,r,n){var a=Eo(t);le&&(a[e]=t.getAttribute(e),e==="src"||e==="srcset"||e==="href"&&t.nodeName===Ju)||a[e]!==(a[e]=r)&&(e==="loading"&&(t[Ad]=r),r==null?t.removeAttribute(e):typeof r!="string"&&Fl(t).has(e)?t[e]=r:t.setAttribute(e,r))}function r1(t,e,r,n,a=!1,o=!1){le&&a&&t.nodeName===Nl&&("defaultValue"in r||"defaultChecked"in r||Pi(t));var i=Eo(t),s=i[Il],l=!i[Rl];let d=le&&s;d&&Tt(!1);var u=e||{},h=t.nodeName===Xu,f=t.nodeName===Dl;for(var v in e)!(v in r)&&v[0]+v[1]!=="$$"&&(r[v]=null);r.class?r.class=Ve(r.class):r[Oa]&&(r.class=null),r[Fa]&&(r.style??(r.style=null));var m=Fl(t);if(t.nodeName===Nl&&"type"in r&&("value"in r||"__value"in r)){var g=r.type;(g!==u.type||g===void 0&&t.hasAttribute("type"))&&(u.type=g,Ee(t,"type",g))}for(const w in r){let k=r[w];if(h&&w==="value"&&k==null){t.value=t.__value="",u[w]=k;continue}if(w==="class"){var y=t.namespaceURI==="http://www.w3.org/1999/xhtml";je(t,y,k,n,e==null?void 0:e[Oa],r[Oa]),u[w]=k,u[Oa]=r[Oa];continue}if(w==="style"){Zu(t,k,e==null?void 0:e[Fa],r[Fa]),u[w]=k,u[Fa]=r[Fa];continue}var C=u[w];if(!(k===C&&!(k===void 0&&t.hasAttribute(w)))){u[w]=k;var z=w[0]+w[1];if(z!=="$$")if(z==="on"){const b={},p="$$"+w;let L=w.slice(2);var F=wu(L);if(bu(L)&&(L=L.slice(0,-7),b.capture=!0),!F&&C){if(k!=null)continue;t.removeEventListener(L,u[p],b),u[p]=null}if(F)or(L,t,k),Vr([L]);else if(k!=null){let V=function(D){u[w].call(this,D)};u[p]=_l(L,t,V,b)}}else if(w==="style")Ee(t,w,k);else if(w==="autofocus")Xd(t,!!k);else if(!s&&(w==="__value"||w==="value"&&k!=null))t.value=t.__value=k;else if(w==="selected"&&h)zl(t,k);else{var I=w;l||(I=ku(I));var T=I==="defaultValue"||I==="defaultChecked";if(f&&I==="defaultValue")continue;if(k==null&&!s&&!T)if(i[w]=null,I==="value"||I==="checked"){let b=t;const p=e===void 0;if(I==="value"){let L=b.defaultValue;b.removeAttribute(I),b.defaultValue=L,b.value=b.__value=p?L:null}else{let L=b.defaultChecked;b.removeAttribute(I),b.defaultChecked=L,b.checked=p?L:!1}}else t.removeAttribute(w);else T||(s||typeof k!="string")&&m.has(I)?(t[I]=k,I in i&&(i[I]=dt)):typeof k!="function"&&Ee(t,I,k)}}}return d&&Tt(!0),u}function yt(t,e,r=[],n=[],a=[],o,i=!1,s=!1){Ps(a,r,n,l=>{var d=void 0,u={},h=t.nodeName===Dl,f=!1;if(tl(()=>{var m=e(...l.map(c)),g=r1(t,d,m,o,i,s);if(f&&h){var y=t;"defaultValue"in m&&Tl(y,m.defaultValue),"value"in m&&Da(y,m.value)}for(let z of Object.getOwnPropertySymbols(u))m[z]||Ct(u[z]);for(let z of Object.getOwnPropertySymbols(m)){var C=m[z];z.description===kd&&(!d||C!==d[z])&&(u[z]&&Ct(u[z]),u[z]=Ft(()=>Uu(t,()=>C))),g[z]=C}d=g}),h){var v=t;Ta(()=>{var m=d;"defaultValue"in m&&Tl(v,m.defaultValue),Da(v,m.value,!0),Pl(v)})}f=!0})}function Eo(t){return t[fo]??(t[fo]={[Il]:t.nodeName.includes("-"),[Rl]:t.namespaceURI===ms})}var Ol=new Map;function Fl(t){var e=t.getAttribute("is")||t.nodeName,r=Ol.get(e);if(r)return r;Ol.set(e,r=new Set);for(var n,a=t,o=Element.prototype;o!==a;){n=gs(a);for(var i in n)n[i].set&&i!=="innerHTML"&&i!=="textContent"&&i!=="innerText"&&r.add(i);a=ti(a)}return r}function n1(t,e,r=e){var n=new WeakSet;Ms(t,"input",async a=>{var o=a?t.defaultValue:t.value;if(o=Ii(t)?Ri(o):o,r(o),oe!==null&&n.add(oe),await pu(),o!==(o=e())){var i=t.selectionStart,s=t.selectionEnd,l=t.value.length;if(t.value=o??"",s!==null){var d=t.value.length;i===s&&s===l&&d>l?(t.selectionStart=d,t.selectionEnd=d):(t.selectionStart=i,t.selectionEnd=Math.min(s,d))}}}),(le&&t.defaultValue!==t.value||st(e)==null&&t.value)&&(r(Ii(t)?Ri(t.value):t.value),oe!==null&&n.add(oe)),Vn(()=>{var a=e();if(t===document.activeElement){var o=oe;if(n.has(o))return}Ii(t)&&a===Ri(t.value)||t.type==="date"&&!a&&!t.value||a!==t.value&&(t.value=a??"")})}function Ii(t){var e=t.type;return e==="number"||e==="range"}function Ri(t){return t===""?null:+t}function Ni(t,e){return t===e||(t==null?void 0:t[kr])===e}function Ao(t=ci(),e,r,n){var a=nt.r,o=ye;return Ta(()=>{var i,s;return Vn(()=>{i=s,s=[],st(()=>{Ni(r(...s),t)||(e(t,...s),i&&Ni(r(...i),t)&&e(null,...i))})}),()=>{let l=o;for(;l!==a&&l.parent!==null&&l.parent.f&lo;)l=l.parent;const d=()=>{s&&Ni(r(...s),t)&&e(null,...s)},u=l.teardown;l.teardown=()=>{d(),u==null||u()}}}),t}function Di(t=!1){const e=nt,r=e.l.u;if(!r)return;let n=()=>ft(e.s);if(t){let a=0,o={};const i=jn(()=>{let s=!1;const l=e.s;for(const d in l)l[d]!==o[d]&&(o[d]=l[d],s=!0);return s&&a++,a});n=()=>c(i)}r.b.length&&su(()=>{ql(e,n),ri(r.b)}),Hr(()=>{const a=st(()=>r.m.map(Sd));return()=>{for(const o of a)typeof o=="function"&&o()}}),r.a.length&&Hr(()=>{ql(e,n),ri(r.a)})}function ql(t,e){if(t.l.s)for(const r of t.l.s)c(r);e()}const a1={get(t,e){if(!t.exclude.has(e))return t.props[e]},set(t,e){return!1},getOwnPropertyDescriptor(t,e){if(!t.exclude.has(e)&&e in t.props)return{enumerable:!0,configurable:!0,value:t.props[e]}},has(t,e){return t.exclude.has(e)?!1:e in t.props},ownKeys(t){return Reflect.ownKeys(t.props).filter(e=>!t.exclude.has(e))}};function Vt(t,e,r){return new Proxy({props:t,exclude:e},a1)}const o1={get(t,e){let r=t.props.length;for(;r--;){let n=t.props[r];if(Pn(n)&&(n=n()),typeof n=="object"&&n!==null&&e in n)return n[e]}},set(t,e,r){let n=t.props.length;for(;n--;){let a=t.props[n];Pn(a)&&(a=a());const o=Or(a,e);if(o&&o.set)return o.set(r),!0}return!1},getOwnPropertyDescriptor(t,e){let r=t.props.length;for(;r--;){let n=t.props[r];if(Pn(n)&&(n=n()),typeof n=="object"&&n!==null&&e in n){const a=Or(n,e);return a&&!a.configurable&&(a.configurable=!0),a}}},has(t,e){if(e===kr||e===ii)return!1;for(let r of t.props)if(Pn(r)&&(r=r()),r!=null&&e in r)return!0;return!1},ownKeys(t){const e=[];for(let r of t.props)if(Pn(r)&&(r=r()),!!r){for(const n in r)e.includes(n)||e.push(n);for(const n of Object.getOwnPropertySymbols(r))e.includes(n)||e.push(n)}return e}};function Wr(...t){return new Proxy({props:t},o1)}function ee(t,e,r,n){var I;var a=!On||(r&pd)!==0,o=(r&_d)!==0,i=(r&bd)!==0,s=n,l=!0,d=void 0,u=()=>i&&a?(d??(d=jn(n)),c(d)):(l&&(l=!1,s=i?st(n):n),s);let h;if(o){var f=kr in t||ii in t;h=((I=Or(t,e))==null?void 0:I.set)??(f&&e in t?T=>t[e]=T:void 0)}var v,m=!1;o?[v,m]=Jd(()=>t[e]):v=t[e],v===void 0&&n!==void 0&&(v=u(),h&&(a&&Gd(),h(v)));var g;if(a?g=()=>{var T=t[e];return T===void 0?u():(l=!0,T)}:g=()=>{var T=t[e];return T!==void 0&&(s=void 0),T===void 0?s:T},a&&(r&gd)===0)return g;if(h){var y=t.$$legacy;return(function(T,w){return arguments.length>0?((!a||!w||y||m)&&h(w?g():T),T):g()})}var C=!1,z=((r&vd)!==0?jn:ui)(()=>(C=!1,g()));o&&c(z);var F=ye;return(function(T,w){if(arguments.length>0){const k=w?c(z):a&&o?mr(T):T;return P(z,k),C=!0,s!==void 0&&(s=k),T}return Ur&&C||(F.f&Dt)!==0?z.v:c(z)})}function i1(t){return new s1(t)}class s1{constructor(e){xe(this,Xr);xe(this,cr);var o;var r=new Map,n=(i,s)=>{var l=Ea(s,!1,!1);return r.set(i,l),l};const a=new Proxy({...e.props||{},$$events:{}},{get(i,s){return c(r.get(s)??n(s,Reflect.get(i,s)))},has(i,s){return s===ii?!0:(c(r.get(s)??n(s,Reflect.get(i,s))),Reflect.has(i,s))},set(i,s,l){return P(r.get(s)??n(s,l),l),Reflect.set(i,s,l)}});ve(this,cr,(e.hydrate?Mu:yl)(e.component,{target:e.target,anchor:e.anchor,props:a,context:e.context,intro:e.intro??!1,recover:e.recover,transformError:e.transformError})),(!((o=e==null?void 0:e.props)!=null&&o.$$host)||e.sync===!1)&&_t(),ve(this,Xr,a.$$events);for(const i of Object.keys(_(this,cr)))i==="$set"||i==="$destroy"||i==="$on"||pa(this,i,{get(){return _(this,cr)[i]},set(s){_(this,cr)[i]=s},enumerable:!0});_(this,cr).$set=i=>{Object.assign(a,i)},_(this,cr).$destroy=()=>{Pu(_(this,cr))}}$set(e){_(this,cr).$set(e)}$on(e,r){_(this,Xr)[e]=_(this,Xr)[e]||[];const n=(...a)=>r.call(this,...a);return _(this,Xr)[e].push(n),()=>{_(this,Xr)[e]=_(this,Xr)[e].filter(a=>a!==n)}}$destroy(){_(this,cr).$destroy()}}Xr=new WeakMap,cr=new WeakMap;let jl;typeof HTMLElement=="function"&&(jl=class extends HTMLElement{constructor(e,r,n){super();rt(this,"$$ctor");rt(this,"$$s");rt(this,"$$c");rt(this,"$$cn",!1);rt(this,"$$d",{});rt(this,"$$r",!1);rt(this,"$$p_d",{});rt(this,"$$l",{});rt(this,"$$l_u",new Map);rt(this,"$$me");rt(this,"$$shadowRoot",null);this.$$ctor=e,this.$$s=r,n&&(this.$$shadowRoot=this.attachShadow(n))}addEventListener(e,r,n){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(r),this.$$c){const a=this.$$c.$on(e,r);this.$$l_u.set(r,a)}super.addEventListener(e,r,n)}removeEventListener(e,r,n){if(super.removeEventListener(e,r,n),this.$$c){const a=this.$$l_u.get(r);a&&(a(),this.$$l_u.delete(r))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let e=function(a){return o=>{const i=za("slot");a!=="default"&&(i.name=a),x(o,i)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const r={},n=l1(this);for(const a of this.$$s)a in n&&(a==="default"&&!this.$$d.children?(this.$$d.children=e(a),r.default=!0):r[a]=e(a));for(const a of this.attributes){const o=this.$$g_p(a.name);o in this.$$d||(this.$$d[o]=zo(o,a.value,this.$$p_d,"toProp"))}for(const a in this.$$p_d)!(a in this.$$d)&&this[a]!==void 0&&(this.$$d[a]=this[a],delete this[a]);this.$$c=i1({component:this.$$ctor,target:this.$$shadowRoot||this,props:{...this.$$d,$$slots:r,$$host:this}}),this.$$me=lu(()=>{Vn(()=>{var a;this.$$r=!0;for(const o of so(this.$$c)){if(!((a=this.$$p_d[o])!=null&&a.reflect))continue;this.$$d[o]=this.$$c[o];const i=zo(o,this.$$d[o],this.$$p_d,"toAttribute");i==null?this.removeAttribute(this.$$p_d[o].attribute||o):this.setAttribute(this.$$p_d[o].attribute||o,i)}this.$$r=!1})});for(const a in this.$$l)for(const o of this.$$l[a]){const i=this.$$c.$on(a,o);this.$$l_u.set(o,i)}this.$$l={}}}attributeChangedCallback(e,r,n){var a;this.$$r||(e=this.$$g_p(e),this.$$d[e]=zo(e,n,this.$$p_d,"toProp"),(a=this.$$c)==null||a.$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 so(this.$$p_d).find(r=>this.$$p_d[r].attribute===e||!this.$$p_d[r].attribute&&r.toLowerCase()===e)||e}});function zo(t,e,r,n){var o;const a=(o=r[t])==null?void 0:o.type;if(e=a==="Boolean"&&typeof e!="boolean"?e!=null:e,!n||!r[t])return e;if(n==="toAttribute")switch(a){case"Object":case"Array":return e==null?null:JSON.stringify(e);case"Boolean":return e?"":null;case"Number":return e??null;default:return e}else switch(a){case"Object":case"Array":return e&&JSON.parse(e);case"Boolean":return e;case"Number":return e!=null?+e:e;default:return e}}function l1(t){const e={};return t.childNodes.forEach(r=>{e[r.slot||"default"]=!0}),e}function xn(t,e,r,n,a,o){let i=class extends jl{constructor(){super(t,r,a),this.$$p_d=e}static get observedAttributes(){return so(e).map(s=>(e[s].attribute||s).toLowerCase())}};return so(e).forEach(s=>{pa(i.prototype,s,{get(){return this.$$c&&s in this.$$c?this.$$c[s]:this.$$d[s]},set(l){var h;l=zo(s,l,e),this.$$d[s]=l;var d=this.$$c;if(d){var u=(h=Or(d,s))==null?void 0:h.get;u?d[s]=l:d.$set({[s]:l})}}})}),n.forEach(s=>{pa(i.prototype,s,{get(){var l;return(l=this.$$c)==null?void 0:l[s]}})}),o&&(i=o(i)),t.element=i,i}function qa(t){return class extends t{constructor(){super(...arguments);rt(this,"sesamyAwaitingParse",!1)}connectedCallback(){var n;const r=t.prototype;if(document.readyState==="loading"){if(this.sesamyAwaitingParse)return;this.sesamyAwaitingParse=!0,document.addEventListener("DOMContentLoaded",()=>{var a;this.sesamyAwaitingParse=!1,this.isConnected&&((a=r.connectedCallback)==null||a.call(this))},{once:!0});return}(n=r.connectedCallback)==null||n.call(this)}}}const c1=`*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.absolute{position:absolute}.relative{position:relative}.inset-0{top:0;right:0;bottom:0;left:0}.-right-1\\.5{right:calc(-.375 * var(--s-base-font-size, 16px))}.bottom-0{bottom:0}.bottom-1{bottom:calc(.25 * var(--s-base-font-size, 16px))}.bottom-px{bottom:1px}.left-0{left:0}.left-1\\/2{left:50%}.left-4{left:calc(1 * var(--s-base-font-size, 16px))}.left-\\[84px\\]{left:84px}.left-px{left:1px}.right-0{right:0}.right-4{right:calc(1 * var(--s-base-font-size, 16px))}.top-0{top:0}.top-1\\/2{top:50%}.top-2{top:calc(.5 * var(--s-base-font-size, 16px))}.top-5{top:calc(1.25 * var(--s-base-font-size, 16px))}.top-full{top:100%}.z-10{z-index:10}.z-20{z-index:20}.z-\\[--s-login-popup-zindex\\]{z-index:var(--s-login-popup-zindex)}.-m-px{margin:-1px}.mx-auto{margin-left:auto;margin-right:auto}.my-px{margin-top:1px;margin-bottom:1px}.-mb-0\\.5{margin-bottom:calc(-.125 * var(--s-base-font-size, 16px))}.-mt-px{margin-top:-1px}.mb-2{margin-bottom:calc(.5 * var(--s-base-font-size, 16px))}.mb-3{margin-bottom:calc(.75 * var(--s-base-font-size, 16px))}.mb-6{margin-bottom:calc(1.5 * var(--s-base-font-size, 16px))}.mr-2{margin-right:calc(.5 * var(--s-base-font-size, 16px))}.mt-0{margin-top:0}.mt-0\\.5{margin-top:calc(.125 * var(--s-base-font-size, 16px))}.mt-1\\.5{margin-top:calc(.375 * var(--s-base-font-size, 16px))}.mt-2{margin-top:calc(.5 * var(--s-base-font-size, 16px))}.mt-4{margin-top:calc(1 * var(--s-base-font-size, 16px))}.line-clamp-1{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.grid{display:grid}.contents{display:contents}.hidden{display:none}.aspect-\\[4\\/3\\]{aspect-ratio:4/3}.h-1\\.5{height:calc(.375 * var(--s-base-font-size, 16px))}.h-12{height:calc(3 * var(--s-base-font-size, 16px))}.h-16{height:calc(4 * var(--s-base-font-size, 16px))}.h-3\\/4{height:75%}.h-4{height:calc(1 * var(--s-base-font-size, 16px))}.h-6{height:calc(1.5 * var(--s-base-font-size, 16px))}.h-7{height:calc(1.75 * var(--s-base-font-size, 16px))}.h-8{height:calc(2 * var(--s-base-font-size, 16px))}.h-full{height:100%}.h-px{height:1px}.w-1\\.5{width:calc(.375 * var(--s-base-font-size, 16px))}.w-10{width:calc(2.5 * var(--s-base-font-size, 16px))}.w-12{width:calc(3 * var(--s-base-font-size, 16px))}.w-16{width:calc(4 * var(--s-base-font-size, 16px))}.w-3\\/4{width:75%}.w-4{width:calc(1 * var(--s-base-font-size, 16px))}.w-8{width:calc(2 * var(--s-base-font-size, 16px))}.w-\\[--s-login-popup-width\\]{width:var(--s-login-popup-width)}.w-\\[calc\\(100\\%\\+1px\\)\\]{width:calc(100% + 1px)}.w-\\[calc\\(100\\%\\+2px\\)\\]{width:calc(100% + 2px)}.w-full{width:100%}.max-w-\\[600px\\]{max-width:600px}.max-w-\\[800px\\]{max-width:800px}.max-w-\\[var\\(--s-paywall-max-width\\)\\]{max-width:var(--s-paywall-max-width)}.max-w-full{max-width:100%}.flex-1{flex:1 1 0%}.shrink-0{flex-shrink:0}.-translate-x-1\\/2{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-3\\.5{--tw-translate-y: calc(-.875 * var(--s-base-font-size, 16px));transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-\\[calc\\(50\\%\\+theme\\(space\\.3\\)\\)\\]{--tw-translate-y: calc(calc(50% + calc(.75 * var(--s-base-font-size, 16px))) * -1);transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-px{--tw-translate-y: -1px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-3{--tw-rotate: 3deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-45{--tw-rotate: 45deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}.auto-rows-fr{grid-auto-rows:minmax(0,1fr)}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-rows-\\[0fr\\]{grid-template-rows:0fr}.grid-rows-\\[1fr\\]{grid-template-rows:1fr}.\\!flex-nowrap{flex-wrap:nowrap!important}.items-center{align-items:center}.justify-center{justify-content:center}.\\!justify-between{justify-content:space-between!important}.gap-1{gap:calc(.25 * var(--s-base-font-size, 16px))}.gap-1\\.5{gap:calc(.375 * var(--s-base-font-size, 16px))}.gap-2{gap:calc(.5 * var(--s-base-font-size, 16px))}.gap-3{gap:calc(.75 * var(--s-base-font-size, 16px))}.gap-4{gap:calc(1 * var(--s-base-font-size, 16px))}.gap-6{gap:calc(1.5 * var(--s-base-font-size, 16px))}.space-y-0\\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(calc(.125 * var(--s-base-font-size, 16px)) * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(calc(.125 * var(--s-base-font-size, 16px)) * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(calc(.5 * var(--s-base-font-size, 16px)) * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(calc(.5 * var(--s-base-font-size, 16px)) * var(--tw-space-y-reverse))}.overflow-hidden{overflow:hidden}.whitespace-nowrap{white-space:nowrap}.break-all{word-break:break-all}.rounded{border-radius:calc(.25 * var(--s-base-font-size, 16px))}.rounded-\\[--s-login-button-border-radius\\]{border-radius:var(--s-login-button-border-radius)}.rounded-\\[--s-login-popup-border-radius\\]{border-radius:var(--s-login-popup-border-radius)}.rounded-\\[var\\(--s-paywall-border-radius\\)\\]{border-radius:var(--s-paywall-border-radius)}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:calc(.5 * var(--s-base-font-size, 16px))}.rounded-md{border-radius:calc(.375 * var(--s-base-font-size, 16px))}.rounded-none{border-radius:0}.rounded-sm{border-radius:calc(.125 * var(--s-base-font-size, 16px))}.rounded-b-none{border-bottom-right-radius:0;border-bottom-left-radius:0}.rounded-t-md{border-top-left-radius:calc(.375 * var(--s-base-font-size, 16px));border-top-right-radius:calc(.375 * var(--s-base-font-size, 16px))}.rounded-t-none{border-top-left-radius:0;border-top-right-radius:0}.rounded-bl-md{border-bottom-left-radius:calc(.375 * var(--s-base-font-size, 16px))}.rounded-br-md{border-bottom-right-radius:calc(.375 * var(--s-base-font-size, 16px))}.border{border-width:1px}.border-0{border-width:0px}.border-2{border-width:2px}.border-\\[length\\:--s-login-button-border-width\\]{border-width:var(--s-login-button-border-width)}.border-\\[length\\:--s-login-popup-border-width\\]{border-width:var(--s-login-popup-border-width)}.border-x{border-left-width:1px;border-right-width:1px}.border-b{border-bottom-width:1px}.\\!border-red-500{--tw-border-opacity: 1 !important;border-color:rgb(239 68 68 / var(--tw-border-opacity, 1))!important}.border-\\[color\\:--s-login-button-border-color\\]{border-color:var(--s-login-button-border-color)}.border-\\[color\\:--s-login-popup-border-color\\]{border-color:var(--s-login-popup-border-color)}.border-current{border-color:currentColor}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity, 1))}.border-primary{border-color:var(--s-primary-color)}.border-red-500{--tw-border-opacity: 1;border-color:rgb(239 68 68 / var(--tw-border-opacity, 1))}.border-transparent{border-color:transparent}.border-r-transparent{border-right-color:transparent}.bg-\\[\\#1F72CD\\]{--tw-bg-opacity: 1;background-color:rgb(31 114 205 / var(--tw-bg-opacity, 1))}.bg-\\[\\#FEB4C7\\]{--tw-bg-opacity: 1;background-color:rgb(254 180 199 / var(--tw-bg-opacity, 1))}.bg-\\[--s-login-popup-bgcolor\\]{background-color:var(--s-login-popup-bgcolor)}.bg-\\[color\\:--s-login-button-background-color\\]{background-color:var(--s-login-button-background-color)}.bg-\\[var\\(--s-paywall-bg-color\\)\\]{background-color:var(--s-paywall-bg-color)}.bg-\\[var\\(--s-paywall-btn-bg-color\\)\\]{background-color:var(--s-paywall-btn-bg-color)}.bg-\\[var\\(--s-paywall-tag-bg-color\\)\\]{background-color:var(--s-paywall-tag-bg-color)}.bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity, 1))}.bg-primary{background-color:var(--s-primary-color)}.bg-red-500\\/10{background-color:#ef44441a}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.bg-none{background-image:none}.from-transparent{--tw-gradient-from: transparent var(--tw-gradient-from-position);--tw-gradient-to: rgb(0 0 0 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.via-primary{--tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--s-primary-color) var(--tw-gradient-via-position), var(--tw-gradient-to)}.to-transparent{--tw-gradient-to: transparent var(--tw-gradient-to-position)}.fill-\\[\\#3C4043\\]{fill:#3c4043}.fill-\\[\\#4A4A49\\]{fill:#4a4a49}.fill-black{fill:#000}.fill-current{fill:currentColor}.object-cover{-o-object-fit:cover;object-fit:cover}.p-0{padding:0}.p-1{padding:calc(.25 * var(--s-base-font-size, 16px))}.p-3{padding:calc(.75 * var(--s-base-font-size, 16px))}.p-4{padding:calc(1 * var(--s-base-font-size, 16px))}.px-1{padding-left:calc(.25 * var(--s-base-font-size, 16px));padding-right:calc(.25 * var(--s-base-font-size, 16px))}.px-2{padding-left:calc(.5 * var(--s-base-font-size, 16px));padding-right:calc(.5 * var(--s-base-font-size, 16px))}.px-2\\.5{padding-left:calc(.625 * var(--s-base-font-size, 16px));padding-right:calc(.625 * var(--s-base-font-size, 16px))}.px-3{padding-left:calc(.75 * var(--s-base-font-size, 16px));padding-right:calc(.75 * var(--s-base-font-size, 16px))}.px-4{padding-left:calc(1 * var(--s-base-font-size, 16px));padding-right:calc(1 * var(--s-base-font-size, 16px))}.px-5{padding-left:calc(1.25 * var(--s-base-font-size, 16px));padding-right:calc(1.25 * var(--s-base-font-size, 16px))}.px-6{padding-left:calc(1.5 * var(--s-base-font-size, 16px));padding-right:calc(1.5 * var(--s-base-font-size, 16px))}.py-1{padding-top:calc(.25 * var(--s-base-font-size, 16px));padding-bottom:calc(.25 * var(--s-base-font-size, 16px))}.py-1\\.5{padding-top:calc(.375 * var(--s-base-font-size, 16px));padding-bottom:calc(.375 * var(--s-base-font-size, 16px))}.py-2{padding-top:calc(.5 * var(--s-base-font-size, 16px));padding-bottom:calc(.5 * var(--s-base-font-size, 16px))}.py-3{padding-top:calc(.75 * var(--s-base-font-size, 16px));padding-bottom:calc(.75 * var(--s-base-font-size, 16px))}.py-4{padding-top:calc(1 * var(--s-base-font-size, 16px));padding-bottom:calc(1 * var(--s-base-font-size, 16px))}.py-8{padding-top:calc(2 * var(--s-base-font-size, 16px));padding-bottom:calc(2 * var(--s-base-font-size, 16px))}.pb-2{padding-bottom:calc(.5 * var(--s-base-font-size, 16px))}.pb-4{padding-bottom:calc(1 * var(--s-base-font-size, 16px))}.pb-6{padding-bottom:calc(1.5 * var(--s-base-font-size, 16px))}.pl-4{padding-left:calc(1 * var(--s-base-font-size, 16px))}.pl-\\[84px\\]{padding-left:84px}.pr-2{padding-right:calc(.5 * var(--s-base-font-size, 16px))}.pr-4{padding-right:calc(1 * var(--s-base-font-size, 16px))}.pt-0{padding-top:0}.pt-1{padding-top:calc(.25 * var(--s-base-font-size, 16px))}.pt-2{padding-top:calc(.5 * var(--s-base-font-size, 16px))}.pt-6{padding-top:calc(1.5 * var(--s-base-font-size, 16px))}.text-left{text-align:left}.text-center{text-align:center}.\\!text-sm{font-size:calc(.875 * var(--s-base-font-size, 16px))!important;line-height:calc(1.25 * var(--s-base-font-size, 16px))!important}.\\!text-xs{font-size:calc(.75 * var(--s-base-font-size, 16px))!important;line-height:calc(1 * var(--s-base-font-size, 16px))!important}.text-2xl{font-size:calc(1.5 * var(--s-base-font-size, 16px));line-height:calc(2 * var(--s-base-font-size, 16px))}.text-\\[0\\.9em\\]{font-size:.9em}.text-\\[8px\\]{font-size:8px}.text-\\[length\\:--s-login-button-text-size\\]{font-size:var(--s-login-button-text-size)}.text-\\[length\\:var\\(--sesamy-login-button-text-size\\,var\\(--s-login-button-default-text-size\\)\\)\\]{font-size:var(--sesamy-login-button-text-size,var(--s-login-button-default-text-size))}.text-base{font-size:calc(1 * var(--s-base-font-size, 16px));line-height:calc(1.5 * var(--s-base-font-size, 16px))}.text-lg{font-size:calc(1.125 * var(--s-base-font-size, 16px));line-height:calc(1.75 * var(--s-base-font-size, 16px))}.text-sm{font-size:calc(.875 * var(--s-base-font-size, 16px));line-height:calc(1.25 * var(--s-base-font-size, 16px))}.text-xl{font-size:calc(1.25 * var(--s-base-font-size, 16px));line-height:calc(1.75 * var(--s-base-font-size, 16px))}.text-xs{font-size:calc(.75 * var(--s-base-font-size, 16px));line-height:calc(1 * var(--s-base-font-size, 16px))}.\\!font-\\[--s-login-button-font-weight\\]{font-weight:var(--s-login-button-font-weight)!important}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-normal{font-weight:400}.uppercase{text-transform:uppercase}.leading-\\[1\\.43\\]{line-height:1.43}.leading-none{line-height:1}.leading-snug{line-height:1.375}.leading-tight{line-height:1.25}.text-\\[--s-login-popup-textcolor\\]{color:var(--s-login-popup-textcolor)}.text-\\[color\\:--s-login-button-text-color\\]{color:var(--s-login-button-text-color)}.text-\\[color\\:var\\(--sesamy-login-button-text-color\\,var\\(--s-paywall-text-color\\)\\)\\]{color:var(--sesamy-login-button-text-color,var(--s-paywall-text-color))}.text-\\[var\\(--s-paywall-btn-text-color\\)\\]{color:var(--s-paywall-btn-text-color)}.text-\\[var\\(--s-paywall-tag-text-color\\)\\]{color:var(--s-paywall-tag-text-color)}.text-\\[var\\(--s-paywall-text-color\\)\\]{color:var(--s-paywall-text-color)}.text-\\[var\\(--s-paywall-text-color-70\\)\\]{color:var(--s-paywall-text-color-70)}.text-gray-300{--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity, 1))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity, 1))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity, 1))}.text-gray-800{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity, 1))}.text-primary{color:var(--s-primary-color)}.text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity, 1))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.underline{text-decoration-line:underline}.line-through{text-decoration-line:line-through}.underline-offset-4{text-underline-offset:4px}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.opacity-0{opacity:0}.opacity-25{opacity:.25}.opacity-30{opacity:.3}.opacity-50{opacity:.5}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.outline-0{outline-width:0px}.ring{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-2{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-transparent{--tw-ring-color: transparent}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-\\[grid-template-rows\\]{transition-property:grid-template-rows;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-\\[transform\\,font-size\\]{transition-property:transform,font-size;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-100{transition-duration:.1s}.duration-150{transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-75{transition-duration:75ms}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.content-\\[\\'\\'\\]{--tw-content: "";content:var(--tw-content)}.row-up-left{display:flex;flex-direction:row;flex-wrap:wrap;align-content:flex-start;justify-content:flex-start}.row-up{display:flex;flex-direction:row;flex-wrap:wrap;align-content:flex-start;justify-content:center}.row-up-right{display:flex;flex-direction:row;flex-wrap:wrap;align-content:flex-start;justify-content:flex-end}.row-left{display:flex;flex-direction:row;flex-wrap:wrap;align-content:center;align-items:center;justify-content:flex-start}.row{display:flex;flex-direction:row;flex-wrap:wrap;align-content:center;align-items:center;justify-content:center}.row-right{display:flex;flex-direction:row;flex-wrap:wrap;align-content:center;align-items:center;justify-content:flex-end}.row-down-left{display:flex;flex-direction:row;flex-wrap:wrap;align-content:flex-end;justify-content:flex-start}.row-down{display:flex;flex-direction:row;flex-wrap:wrap;align-content:flex-end;justify-content:center}.row-down-right{display:flex;flex-direction:row;flex-wrap:wrap;align-content:flex-end;justify-content:flex-end}.column-up-left{display:flex;flex-direction:column;align-items:flex-start}.column-up{display:flex;flex-direction:column;align-items:center;justify-content:flex-start}.column-up-right{display:flex;flex-direction:column;align-items:flex-end}.column-left{display:flex;flex-direction:column;align-items:flex-start;justify-content:center}.column{display:flex;flex-direction:column;align-items:center;justify-content:center}.column-right{display:flex;flex-direction:column;align-items:flex-end;justify-content:center}.column-down-left{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-end}.column-down{display:flex;flex-direction:column;align-items:center;justify-content:flex-end}.column-down-right{display:flex;flex-direction:column;align-items:flex-end;justify-content:flex-end}.\\@container{container-type:inline-size}.\\@container\\/box{container-type:inline-size;container-name:box}.\\[font-family\\:var\\(--s-paywall-headline-font-family\\)\\]{font-family:var(--s-paywall-headline-font-family)}.\\[font-weight\\:var\\(--s-paywall-headline-font-weight\\)\\]{font-weight:var(--s-paywall-headline-font-weight)}.markdown-container{font-size:calc(.875 * var(--s-base-font-size, 16px));line-height:calc(1.25 * var(--s-base-font-size, 16px))}.markdown-container .headline{font-size:1.25em;font-weight:700;margin-bottom:.5em}.markdown-container p{margin-bottom:.5em}:is(.markdown-container p):last-child{margin-bottom:0}.markdown-container a,.inline-link{display:inline-block;position:relative;color:color-mix(in srgb,currentColor 80%,transparent)}:is(.markdown-container a,.inline-link):after{content:"";position:absolute;left:0;bottom:1px;width:100%;border-bottom:1px dashed currentColor}:is(.markdown-container a,.inline-link):hover{color:currentColor}:is(.markdown-container a,.inline-link):hover:after{border-bottom-style:solid}.with-icon:is(.markdown-container a,.inline-link){display:inline-flex;align-items:center;gap:.25em}.with-icon:is(.markdown-container a,.inline-link):after{width:calc(100% - 1.25em)}.with-icon:is(.markdown-container a,.inline-link) svg{transform:translateY(-1px)}.placeholder\\:text-gray-400::-moz-placeholder{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.placeholder\\:text-gray-400::placeholder{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.placeholder\\:text-transparent::-moz-placeholder{color:transparent}.placeholder\\:text-transparent::placeholder{color:transparent}.focus-within\\:z-10:focus-within{z-index:10}.focus-within\\:text-gray-400:focus-within{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.hover\\:cursor-pointer:hover{cursor:pointer}.hover\\:bg-gray-100\\/50:hover{background-color:#f3f4f680}.hover\\:underline:hover{text-decoration-line:underline}.hover\\:opacity-80:hover{opacity:.8}.focus\\:z-10:focus{z-index:10}.focus\\:border-gray-300:focus{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity, 1))}.enabled\\:hover\\:bg-transparent:hover:enabled{background-color:transparent}.enabled\\:hover\\:opacity-80:hover:enabled{opacity:.8}.active\\:enabled\\:translate-y-px:enabled:active{--tw-translate-y: 1px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.disabled\\:opacity-\\[20\\%\\]:disabled{opacity:20%}.group:hover .group-hover\\:opacity-80{opacity:.8}.peer:checked~.peer-checked\\:border-primary{border-color:var(--s-primary-color)}.peer:checked~.peer-checked\\:bg-primary{background-color:var(--s-primary-color)}.peer:focus~.peer-focus\\:-translate-y-\\[calc\\(50\\%\\+theme\\(space\\.3\\)\\)\\]{--tw-translate-y: calc(calc(50% + calc(.75 * var(--s-base-font-size, 16px))) * -1);transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.peer:focus~.peer-focus\\:text-xs{font-size:calc(.75 * var(--s-base-font-size, 16px));line-height:calc(1 * var(--s-base-font-size, 16px))}.peer:focus~.peer-focus\\:ring-primary{--tw-ring-color: var(--s-primary-color)}.peer:focus-visible~.peer-focus-visible\\:text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.has-\\[input\\:checked\\]\\:border-primary:has(input:checked){border-color:var(--s-primary-color)}@container box (min-width: 320px){.\\@xs\\/box\\:h-7{height:calc(1.75 * var(--s-base-font-size, 16px))}.\\@xs\\/box\\:text-3xl{font-size:calc(1.875 * var(--s-base-font-size, 16px));line-height:calc(2.25 * var(--s-base-font-size, 16px))}.\\@xs\\/box\\:text-lg{font-size:calc(1.125 * var(--s-base-font-size, 16px));line-height:calc(1.75 * var(--s-base-font-size, 16px))}}@container (min-width: 320px){.\\@xs\\:px-8{padding-left:calc(2 * var(--s-base-font-size, 16px));padding-right:calc(2 * var(--s-base-font-size, 16px))}}@container (min-width: 384px){.\\@sm\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.\\@sm\\:p-8{padding:calc(2 * var(--s-base-font-size, 16px))}.\\@sm\\:px-10{padding-left:calc(2.5 * var(--s-base-font-size, 16px));padding-right:calc(2.5 * var(--s-base-font-size, 16px))}.\\@sm\\:pb-10{padding-bottom:calc(2.5 * var(--s-base-font-size, 16px))}.\\@sm\\:pt-6{padding-top:calc(1.5 * var(--s-base-font-size, 16px))}.\\@sm\\:text-\\[2rem\\]{font-size:calc(2 * var(--s-base-font-size, 16px))}}@container (min-width: 448px){.\\@md\\:mt-8{margin-top:calc(2 * var(--s-base-font-size, 16px))}.\\@md\\:gap-4{gap:calc(1 * var(--s-base-font-size, 16px))}.\\@md\\:space-y-1\\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(calc(.375 * var(--s-base-font-size, 16px)) * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(calc(.375 * var(--s-base-font-size, 16px)) * var(--tw-space-y-reverse))}.\\@md\\:py-6{padding-top:calc(1.5 * var(--s-base-font-size, 16px));padding-bottom:calc(1.5 * var(--s-base-font-size, 16px))}.\\@md\\:pb-8{padding-bottom:calc(2 * var(--s-base-font-size, 16px))}.\\@md\\:pt-4{padding-top:calc(1 * var(--s-base-font-size, 16px))}.\\@md\\:text-3xl{font-size:calc(1.875 * var(--s-base-font-size, 16px));line-height:calc(2.25 * var(--s-base-font-size, 16px))}.\\@md\\:row-left{display:flex;flex-direction:row;flex-wrap:wrap;align-content:center;align-items:center;justify-content:flex-start}.\\@md\\:column-right{display:flex;flex-direction:column;align-items:flex-end;justify-content:center}}@container (min-width: 576px){.\\@xl\\:auto-rows-fr{grid-auto-rows:minmax(0,1fr)}.\\@xl\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.\\@xl\\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.\\@xl\\:gap-4{gap:calc(1 * var(--s-base-font-size, 16px))}.\\@xl\\:rounded-\\[var\\(--s-paywall-border-radius-desktop\\)\\]{border-radius:var(--s-paywall-border-radius-desktop)}.\\@xl\\:p-1{padding:calc(.25 * var(--s-base-font-size, 16px))}.\\@xl\\:text-base{font-size:calc(1 * var(--s-base-font-size, 16px));line-height:calc(1.5 * var(--s-base-font-size, 16px))}.\\@xl\\:text-lg{font-size:calc(1.125 * var(--s-base-font-size, 16px));line-height:calc(1.75 * var(--s-base-font-size, 16px))}.\\@xl\\:shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.\\@xl\\:row-left{display:flex;flex-direction:row;flex-wrap:wrap;align-content:center;align-items:center;justify-content:flex-start}}@container (min-width: 768px){.\\@3xl\\:p-16{padding:calc(4 * var(--s-base-font-size, 16px))}.\\@3xl\\:p-4{padding:calc(1 * var(--s-base-font-size, 16px))}.\\@3xl\\:px-16{padding-left:calc(4 * var(--s-base-font-size, 16px));padding-right:calc(4 * var(--s-base-font-size, 16px))}.\\@3xl\\:pt-10{padding-top:calc(2.5 * var(--s-base-font-size, 16px))}}.dark\\:border:is(.dark *){border-width:1px}.dark\\:border-gray-500:is(.dark *){--tw-border-opacity: 1;border-color:rgb(107 114 128 / var(--tw-border-opacity, 1))}.dark\\:border-gray-700:is(.dark *){--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity, 1))}.dark\\:border-gray-800:is(.dark *){--tw-border-opacity: 1;border-color:rgb(31 41 55 / var(--tw-border-opacity, 1))}.dark\\:bg-black:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity, 1))}.dark\\:bg-black\\/25:is(.dark *){background-color:#00000040}.dark\\:bg-gray-700:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity, 1))}.dark\\:fill-white:is(.dark *){fill:#fff}.dark\\:text-black:is(.dark *){--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity, 1))}.dark\\:text-gray-100:is(.dark *){--tw-text-opacity: 1;color:rgb(243 244 246 / var(--tw-text-opacity, 1))}.dark\\:text-gray-300:is(.dark *){--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity, 1))}.dark\\:focus\\:border-gray-600:focus:is(.dark *){--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity, 1))}@media not all and (min-width:640px){.max-sm\\:gap-0{gap:0px}}@media(min-width:640px){.sm\\:text-xs{font-size:calc(.75 * var(--s-base-font-size, 16px));line-height:calc(1 * var(--s-base-font-size, 16px))}}@media not all and (min-width:640px){.max-sm\\:\\[\\&\\>\\*\\:first-child\\>\\*\\:first-child\\>label\\:first-of-type\\>\\:where\\(select\\,input\\)\\]\\:rounded-t-md>*:first-child>*:first-child>label:first-of-type>:where(select,input){border-top-left-radius:calc(.375 * var(--s-base-font-size, 16px));border-top-right-radius:calc(.375 * var(--s-base-font-size, 16px))}.max-sm\\:\\[\\&\\>\\*\\:last-child\\>\\*\\:last-child\\>label\\:last-of-type\\>\\:where\\(select\\,input\\)\\]\\:rounded-b-md>*:last-child>*:last-child>label:last-of-type>:where(select,input){border-bottom-right-radius:calc(.375 * var(--s-base-font-size, 16px));border-bottom-left-radius:calc(.375 * var(--s-base-font-size, 16px))}.max-sm\\:\\[\\&\\>\\*\\]\\:gap-0>*{gap:0px}}.\\[\\&\\>label\\:first-child\\>\\:where\\(select\\,input\\)\\]\\:rounded-t-md>label:first-child>:where(select,input){border-top-left-radius:calc(.375 * var(--s-base-font-size, 16px));border-top-right-radius:calc(.375 * var(--s-base-font-size, 16px))}.\\[\\&\\>label\\:last-child\\>\\:where\\(select\\,input\\)\\]\\:rounded-b-md>label:last-child>:where(select,input){border-bottom-right-radius:calc(.375 * var(--s-base-font-size, 16px));border-bottom-left-radius:calc(.375 * var(--s-base-font-size, 16px))}.\\[\\&\\>label\\>\\:where\\(select\\,input\\)\\]\\:rounded-none>label>:where(select,input){border-radius:0}.\\[\\&\\>svg\\]\\:max-w-full>svg{max-width:100%}.\\[\\&_label\\>\\:where\\(select\\,input\\)\\]\\:-mt-px label>:where(select,input){margin-top:-1px}@media not all and (min-width:640px){.max-sm\\:\\[\\&_label\\>\\:where\\(select\\,input\\)\\]\\:rounded-none label>:where(select,input){border-radius:0}}.\\[\\&_label\\>select\\]\\:-mt-px label>select{margin-top:-1px}`,Oi=2e4,Gl=1e4;class d1 extends Error{constructor(e){super(e),this.name="SesamyApiUnavailableError"}}let Fi=null;function u1(){var t;try{let e=null;for(const r of Object.keys(localStorage)){if(!r.startsWith("@@auth0spajs@@")||r.endsWith("@@user@@"))continue;const n=JSON.parse(localStorage.getItem(r)||"null");if(!((t=n==null?void 0:n.body)!=null&&t.access_token)||typeof n.expiresAt!="number")continue;const a=Math.round(n.expiresAt-Date.now()/1e3);e=e===null?a:Math.max(e,a)}return{authTokenCached:e!==null,authTokenSecondsLeft:e}}catch{return{}}}function f1(){if(Fi)return Fi;const t=()=>{const a=performance.now();document.visibilityState==="hidden"?(n.hiddenWhileWaiting=!0,n.hiddenSince??(n.hiddenSince=a)):n.hiddenSince!==null&&(n.hiddenMs+=a-n.hiddenSince,n.hiddenSince=null)},e=performance.now(),r=document.visibilityState==="hidden",n={startedAt:e,hiddenWhileWaiting:r,hiddenMs:0,hiddenSince:r?e:null,authCache:u1(),timedOutAt:null,reported:new Set,detach:()=>document.removeEventListener("visibilitychange",t)};return document.addEventListener("visibilitychange",t),Fi=n,n}function qi(t,e,r,n={}){var a,o;if(!t.reported.has(e)){t.reported.add(e);try{const i=window.sesamy,s=performance.now();(o=(a=i==null?void 0:i.errors)==null?void 0:a.report)==null||o.call(a,r,{details:{stage:`api-ready-${e}`,sinceNavigationMs:Math.round(s),waitedMs:Math.round(s-t.startedAt),visibility:document.visibilityState,hiddenWhileWaiting:t.hiddenWhileWaiting,hiddenMs:Math.round(t.hiddenMs+(t.hiddenSince===null?0:s-t.hiddenSince)),readyState:document.readyState,...t.authCache,...n}})}catch{}}}function Hl(t,e){const r=new Error(e);return r.name=t,r}function h1(t){const e=()=>{window.removeEventListener("sesamyJsReady",e),qi(t,"late",Hl("SesamyApiLateReady",`sesamy-js became ready after components stopped waiting at ${Oi}ms`),{lateByMs:Math.round(performance.now()-(t.timedOutAt??t.startedAt))})};window.addEventListener("sesamyJsReady",e);const r=t.detach;t.detach=()=>{r(),window.removeEventListener("sesamyJsReady",e)}}async function Ul(){var e;if((e=window.sesamy)!=null&&e.isReady())return window.sesamy;const t=f1();return new Promise((r,n)=>{const a=()=>{clearTimeout(s),window.removeEventListener("sesamyJsReady",i)},o=()=>{var l;return(l=window.sesamy)!=null&&l.isReady()?(a(),t.timedOutAt===null&&performance.now()-t.startedAt>=Gl&&qi(t,"slow",Hl("SesamyApiSlowReady",`sesamy-js took over ${Gl}ms to become ready`)),r(window.sesamy),!0):!1};function i(){o()}const s=setTimeout(()=>{if(o())return;a();const l=new d1(window.sesamy?`sesamy-js did not finish initialising within ${Oi}ms`:"sesamy-js is not available on the page");t.timedOutAt===null&&(t.timedOutAt=performance.now(),qi(t,"timeout",l,{sesamyPresent:!!window.sesamy}),h1(t)),n(l)},Oi);window.addEventListener("sesamyJsReady",i)})}const Vl={cs:{already_subscribing:"Už jste se přihlásili k odběru?",birthdate_required:"Vyžaduje se datum narození",click_to_update:"Klikněte pro aktualizaci",continue:"Pokračovat",country:"Země",date_of_birth:"Datum narození",day:"Den",did_you_mean:"Měl jste na mysli",email:"E-mailová adresa",first_name:"Křestní jméno",first_name_required:"Křestní jméno je povinné",go_back:"Vrátit se zpět",got_referred:"Někdo mi doporučil",invalid_birth_date:"Neplatné datum narození",invalid_birth_day:"Neplatný den",invalid_birth_month:"Neplatný měsíc",invalid_birth_year:"Nesprávný rok",invalid_email:"Neplatná e-mailová adresa",invalid_phone_number:"Neplatné telefonní číslo",is_gift:"Darujte dárek",last_name:"Příjmení",last_name_required:"Příjmení je povinné",logged_in_as:"Přihlášen jako",login:"Přihlášení",logo_of:"Logo společnosti",logout:"Odhlášení",month:"Měsíc",my_account:"Můj účet",not_gift:"Kupte si pro sebe",pay_now:"Zaplaťte nyní",phone_number:"Telefonní číslo",phone_number_required:"Vyžaduje se telefonní číslo",powered_by_sesamy:"Platby, paywall a předplatné jsou zajišťovány prostřednictvím <0>předplatitelské platformy Sesamy</0>.",read_more:"Přečtěte si více",recipient_details:"Údaje o příjemci",referral_email:"Doporučující e-mail",referral_email_required:"Je vyžadován doporučující e-mail",secure_payment:"Bezpečná platba šifrovaná pomocí SSL",something_went_wrong:"Došlo k chybě. Zkuste to prosím znovu. Pokud problém přetrvává, obraťte se na naši technickou podporu.",timeperiod_day:"den",timeperiod_days:"dny",timeperiod_days_many:"dní",timeperiod_first_months:"po dobu {{count}} měs.",timeperiod_half_year:"pololetí",timeperiod_month:"měsíc",timeperiod_months:"měsíce",timeperiod_months_many:"měsíců",timeperiod_quarter:"čtvrtletí",timeperiod_week:"týden",timeperiod_weeks:"týdny",timeperiod_weeks_many:"týdnů",timeperiod_year:"rok",timeperiod_years:"roky",timeperiod_years_many:"let",user_already_owns_item:"Tento produkt již vlastníte",year:"Rok",your_details:"Vaše údaje"},en:{already_subscribing:"Already subscribing?",birthdate_required:"Date of birth is required",click_to_update:"Click to update",continue:"Continue",country:"Country",date_of_birth:"Date of birth",day:"Day",did_you_mean:"Did you mean",email:"Email address",first_name:"First name",first_name_required:"First name is required",go_back:"Go back",got_referred:"I got referred by someone",invalid_birth_date:"Invalid date of birth",invalid_birth_day:"Invalid day",invalid_birth_month:"Invalid month",invalid_birth_year:"Invalid year",invalid_email:"Invalid email address",invalid_phone_number:"Invalid phone number",is_gift:"Give as a gift",last_name:"Last name",last_name_required:"Last name is required",logged_in_as:"Logged in as",login:"Login",logo_of:"Logo of",logout:"Log out",month:"Month",my_account:"My account",not_gift:"Buy for yourself",pay_now:"Pay now",phone_number:"Phone number",phone_number_required:"Phone number is required",powered_by_sesamy:"Payments, paywall and subscriptions powered by <0>Sesamy subscription platform</0>.",read_more:"Read more",recipient_details:"The recipient's details",referral_email:"Referral email",referral_email_required:"Referral email is required",secure_payment:"Secure SSL encrypted payment",something_went_wrong:"Something went wrong. Please try again, and if the problem persists, contact our support.",timeperiod_day:"day",timeperiod_days:"days",timeperiod_first_months:"first {{count}} months",timeperiod_half_year:"half year",timeperiod_month:"month",timeperiod_months:"months",timeperiod_quarter:"quarter",timeperiod_week:"week",timeperiod_weeks:"weeks",timeperiod_year:"year",timeperiod_years:"years",user_already_owns_item:"You already own this product",year:"Year",your_details:"Your details"},fi:{already_subscribing:"Oletko jo tilannut?",birthdate_required:"Syntymäaika vaaditaan",click_to_update:"Klikkaa päivittääksesi",continue:"Jatka",country:"Maa",date_of_birth:"Syntymäaika",day:"Päivä",did_you_mean:"Tarkoititko",email:"Sähköpostiosoite",first_name:"Etunimi",first_name_required:"Etunimi vaaditaan",go_back:"Palaa takaisin",got_referred:"Minut lähetti joku",invalid_birth_date:"Virheellinen syntymäaika",invalid_birth_day:"Virheellinen päivä",invalid_birth_month:"Virheellinen kuukausi",invalid_birth_year:"Virheellinen vuosi",invalid_email:"Virheellinen sähköpostiosoite",invalid_phone_number:"Virheellinen puhelinnumero",is_gift:"Anna lahjaksi",last_name:"Sukunimi",last_name_required:"Sukunimi vaaditaan",logged_in_as:"Kirjautuneena käyttäjänä",login:"Kirjaudu sisään",logo_of:"Logo of",logout:"Kirjaudu ulos",month:"Kuukausi",my_account:"Tilini",not_gift:"Osta itsellesi",pay_now:"Maksa nyt",phone_number:"Puhelinnumero",phone_number_required:"Puhelinnumero vaaditaan",powered_by_sesamy:"Maksut, maksuseinä ja tilaukset hoidetaan <0>Sesamy-tilausalustan</0> avulla.",read_more:"Lue lisää",recipient_details:"Vastaanottajan tiedot",referral_email:"Suosittelusähköposti",referral_email_required:"Suosittelusähköposti vaaditaan",secure_payment:"Turvallinen SSL-salattu maksu",something_went_wrong:"Jotain meni pieleen. Yritä uudelleen, ja jos ongelma jatkuu, ota yhteyttä tukeemme.",timeperiod_day:"päivä",timeperiod_days:"päivää",timeperiod_first_months:"ensimmäiset {{count}} kuukautta",timeperiod_half_year:"puoli vuotta",timeperiod_month:"kuukausi",timeperiod_months:"kuukautta",timeperiod_quarter:"neljännes",timeperiod_week:"viikko",timeperiod_weeks:"viikkoa",timeperiod_year:"vuosi",timeperiod_years:"vuotta",user_already_owns_item:"Omistat jo tämän tuotteen",year:"Vuosi",your_details:"Tietosi"},it:{already_subscribing:"Siete già abbonati?",birthdate_required:"È richiesta la data di nascita",click_to_update:"Fare clic per aggiornare",continue:"Continua",country:"Paese",date_of_birth:"Data di nascita",day:"Giorno",did_you_mean:"Intendeva",email:"Indirizzo e-mail",first_name:"Nome",first_name_required:"Il nome è obbligatorio",go_back:"Torna indietro",got_referred:"Sono stato indirizzato da qualcuno",invalid_birth_date:"Data di nascita non valida",invalid_birth_day:"Giorno non valido",invalid_birth_month:"Mese non valido",invalid_birth_year:"Anno non valido",invalid_email:"Indirizzo e-mail non valido",invalid_phone_number:"Numero di telefono non valido",is_gift:"Regalo",last_name:"Cognome",last_name_required:"Il cognome è obbligatorio",logged_in_as:"Connesso come",login:"Accesso",logo_of:"Logo di",logout:"Disconnettersi",month:"Mese",my_account:"Il mio account",not_gift:"Comprati",pay_now:"Paga ora",phone_number:"Numero di telefono",phone_number_required:"Il numero di telefono è richiesto",powered_by_sesamy:"Pagamenti, paywall e abbonamenti gestiti dalla <0>piattaforma di abbonamenti Sesamy</0>.",read_more:"Per saperne di più",recipient_details:"I dati del destinatario",referral_email:"Email di rinvio",referral_email_required:"L'e-mail di riferimento è necessaria",secure_payment:"Pagamento sicuro con crittografia SSL",something_went_wrong:"Si è verificato un errore. Riprova e, se il problema persiste, contatta il nostro servizio di assistenza.",timeperiod_day:"giorno",timeperiod_days:"giorni",timeperiod_first_months:"primi {{count}} mesi",timeperiod_half_year:"semestre",timeperiod_month:"mese",timeperiod_months:"mesi",timeperiod_quarter:"trimestre",timeperiod_week:"settimana",timeperiod_weeks:"settimane",timeperiod_year:"anno",timeperiod_years:"anni",user_already_owns_item:"Possiedi già questo prodotto",year:"Anno",your_details:"I vostri dati"},nb:{already_subscribing:"Allerede abonnent?",birthdate_required:"Fødselsdato er påkrevd",click_to_update:"Klikk for å oppdatere",continue:"Fortsett",country:"Land",date_of_birth:"Fødselsdato",day:"Dag",did_you_mean:"Mente du",email:"E-postadresse",first_name:"Fornavn",first_name_required:"Fornavn er påkrevd",go_back:"Gå tilbake",got_referred:"Jeg har blitt vervet av noen",invalid_birth_date:"Ugyldig fødselsdato",invalid_birth_day:"Ugyldig dag",invalid_birth_month:"Ugyldig måned",invalid_birth_year:"Ugyldig år",invalid_email:"Ugyldig e-postadresse",invalid_phone_number:"Ugyldig telefonnummer",is_gift:"Gi som gave",last_name:"Etternavn",last_name_required:"Etternavn er påkrevd",logged_in_as:"Innlogget som",login:"Logg inn",logo_of:"Logoen til",logout:"Logg ut",month:"Måned",my_account:"Min konto",not_gift:"Kjøp til deg",pay_now:"Betal nå",phone_number:"Telefonnummer",phone_number_required:"Telefonnummer er påkrevd",powered_by_sesamy:"Betalinger, betalingsmur og abonnementer drives av <0>Sesamy-abonnementsplattformen</0>.",read_more:"Les mer",recipient_details:"Mottakerens opplysninger",referral_email:"Henvisnings-e-post",referral_email_required:"Henvisnings-e-post er påkrevd",secure_payment:"Sikker SSL-kryptert betaling",something_went_wrong:"Det oppstod en feil. Prøv på nytt, og ta kontakt med vår kundestøtte dersom problemet vedvarer.",timeperiod_day:"dag",timeperiod_days:"dager",timeperiod_first_months:"første {{count}} måneder",timeperiod_half_year:"halvt år",timeperiod_month:"måned",timeperiod_months:"måneder",timeperiod_quarter:"kvartal",timeperiod_week:"uke",timeperiod_weeks:"uker",timeperiod_year:"år",timeperiod_years:"år",user_already_owns_item:"Du eier allerede dette produktet",year:"År",your_details:"Dine opplysninger"},pl:{already_subscribing:"Już subskrybujesz?",birthdate_required:"Wymagana jest data urodzenia",click_to_update:"Kliknij, aby zaktualizować",continue:"Kontynuuj",country:"Kraj",date_of_birth:"Data urodzenia",day:"Dzień",did_you_mean:"Czy miałeś na myśli",email:"Adres e-mail",first_name:"Imię",first_name_required:"Imię jest wymagane",go_back:"Wróć",got_referred:"Zostałem polecony przez kogoś",invalid_birth_date:"Nieprawidłowa data urodzenia",invalid_birth_day:"Nieprawidłowy dzień",invalid_birth_month:"Nieprawidłowy miesiąc",invalid_birth_year:"Nieprawidłowy rok",invalid_email:"Nieprawidłowy adres e-mail",invalid_phone_number:"Nieprawidłowy numer telefonu",is_gift:"Podaruj prezent",last_name:"Nazwisko",last_name_required:"Nazwisko jest wymagane",logged_in_as:"Zalogowany jako",login:"Logowanie",logo_of:"Logo",logout:"Wylogowanie",month:"Miesiąc",my_account:"Moje konto",not_gift:"Kup dla siebie",pay_now:"Zapłać teraz",phone_number:"Numer telefonu",phone_number_required:"Numer telefonu jest wymagany",powered_by_sesamy:"Płatności, system paywall i subskrypcje obsługiwane przez <0>platformę subskrypcyjną Sesamy</0>.",read_more:"Czytaj więcej",recipient_details:"Dane odbiorcy",referral_email:"E-mail polecający",referral_email_required:"Wymagany jest e-mail polecający",secure_payment:"Bezpieczna płatność szyfrowana SSL",something_went_wrong:"Wystąpił błąd. Spróbuj ponownie, a jeśli problem nadal występuje, skontaktuj się z naszym działem pomocy technicznej.",timeperiod_day:"dzień",timeperiod_days:"dni",timeperiod_days_many:"dni",timeperiod_first_months:"przez {{count}} mies.",timeperiod_half_year:"pół roku",timeperiod_month:"miesiąc",timeperiod_months:"miesiące",timeperiod_months_many:"miesięcy",timeperiod_quarter:"kwartał",timeperiod_week:"tydzień",timeperiod_weeks:"tygodnie",timeperiod_weeks_many:"tygodni",timeperiod_year:"rok",timeperiod_years:"lata",timeperiod_years_many:"lat",user_already_owns_item:"Posiadasz już ten produkt",year:"Rok",your_details:"Twoje dane"},sv:{already_subscribing:"Prenumererar du redan?",birthdate_required:"Födelsedatum är obligatoriskt",click_to_update:"Klicka för att uppdatera",continue:"Fortsätt",country:"Land",date_of_birth:"Födelsedatum",day:"Dag",did_you_mean:"Menade du",email:"E-postadress",first_name:"Förnamn",first_name_required:"Förnamn är obligatoriskt",go_back:"Gå tillbaka",got_referred:"Jag blev rekommenderad av någon",invalid_birth_date:"Ogiltigt födelsedatum",invalid_birth_day:"Ogiltig dag",invalid_birth_month:"Ogiltig månad",invalid_birth_year:"Ogiltigt år",invalid_email:"Ogiltig e-postadress",invalid_phone_number:"Ogiltigt telefonnummer",is_gift:"Ge gåva",last_name:"Efternamn",last_name_required:"Efternamn är obligatoriskt",logged_in_as:"Inloggad som",login:"Logga in",logo_of:"Logotyp för",logout:"Logga ut",month:"Månad",my_account:"Mitt konto",not_gift:"Köp till dig",pay_now:"Betala nu",phone_number:"Telefonnummer",phone_number_required:"Telefonnummer är obligatoriskt",powered_by_sesamy:"Betalningar, betalvägg och prenumerationer hanteras via <0>Sesamys prenumerationsplattform</0>.",read_more:"Läs mer",recipient_details:"Mottagarens uppgifter",referral_email:"Referens e-post",referral_email_required:"Referens e-post krävs",secure_payment:"Säker SSL-krypterad betalning",something_went_wrong:"Något gick fel. Försök igen, och om problemet kvarstår, kontakta vår support.",timeperiod_day:"dag",timeperiod_days:"dagar",timeperiod_first_months:"de första {{count}} månaderna",timeperiod_half_year:"halvår",timeperiod_month:"månad",timeperiod_months:"månader",timeperiod_quarter:"kvartal",timeperiod_week:"vecka",timeperiod_weeks:"veckor",timeperiod_year:"år",timeperiod_years:"år",user_already_owns_item:"Du har redan köpt den här produkten",year:"År",your_details:"Dina uppgifter"},da:{already_subscribing:"Abonnerer du allerede?",birthdate_required:"Fødselsdato er påkrævet",click_to_update:"Klik for at opdatere",continue:"Fortsæt",country:"Land",date_of_birth:"Fødselsdato",day:"Dag",did_you_mean:"Mente du, at",email:"E-mail-adresse",first_name:"Fornavn",first_name_required:"Fornavn er påkrævet",go_back:"Gå tilbage",got_referred:"Jeg blev henvist af nogen",invalid_birth_date:"Ugyldig fødselsdato",invalid_birth_day:"Ugyldig dag",invalid_birth_month:"Ugyldig måned",invalid_birth_year:"Ugyldigt år",invalid_email:"Ugyldig e-mailadresse",invalid_phone_number:"Ugyldigt telefonnummer",is_gift:"Giv en gave",last_name:"Efternavn",last_name_required:"Efternavn er påkrævet",logged_in_as:"Logget ind som",login:"Login",logo_of:"Logo for",logout:"Log ud",month:"Måned",my_account:"Min konto",not_gift:"Køb til dig",pay_now:"Betal nu",phone_number:"Telefonnummer",phone_number_required:"Telefonnummer er påkrævet",powered_by_sesamy:"Betalinger, betalingsmur og abonnementer leveres af <0>Sesamy-abonnementsplatformen</0>.",read_more:"Læs mere",recipient_details:"Modtagerens oplysninger",referral_email:"Henvisnings-e-mail",referral_email_required:"Henvisnings-e-mail er påkrævet",secure_payment:"Sikker SSL-krypteret betaling",something_went_wrong:"Der opstod en fejl. Prøv venligst igen, og hvis problemet fortsætter, bedes du kontakte vores support.",timeperiod_day:"dag",timeperiod_days:"dage",timeperiod_first_months:"første {{count}} måneder",timeperiod_half_year:"halvt år",timeperiod_month:"måned",timeperiod_months:"måneder",timeperiod_quarter:"kvartal",timeperiod_week:"uge",timeperiod_weeks:"uger",timeperiod_year:"år",timeperiod_years:"år",user_already_owns_item:"Du ejer allerede dette produkt",year:"År",your_details:"Dine oplysninger"}};function m1(t,e){return e?t.replace(/<(\d+)>(.*?)<\/\1>/g,(r,n,a)=>{const o=n.toString();return e[o]?e[o](a):a}):t}function v1(t){const e=Vl[t]?t:"en",r=(n,a)=>{var i;const o=((i=Vl[e])==null?void 0:i[n])||n;return m1(o,a)};return r.lang=String(e),r}var p1=R(" <!>",1),g1=R("<!> <!>",1);function Kn(t,e){He(e,!0);let r=ee(e,"applyStyles",3,!0);const n=Ul(),a=n.then(v=>{const m=e.lang||v.content.getLanguage();return v1(m)});let i=r()?"<style>"+c1+`
|
|
1
|
+
(function(ke,Ye){typeof exports=="object"&&typeof module<"u"?Ye(exports):typeof define=="function"&&define.amd?define(["exports"],Ye):(ke=typeof globalThis<"u"?globalThis:ke||self,Ye(ke["@sesamy/sesamy-components"]={}))})(this,(function(ke){"use strict";var fh=Object.defineProperty;var id=ke=>{throw TypeError(ke)};var hh=(ke,Ye,xt)=>Ye in ke?fh(ke,Ye,{enumerable:!0,configurable:!0,writable:!0,value:xt}):ke[Ye]=xt;var rt=(ke,Ye,xt)=>hh(ke,typeof Ye!="symbol"?Ye+"":Ye,xt),ns=(ke,Ye,xt)=>Ye.has(ke)||id("Cannot "+xt);var b=(ke,Ye,xt)=>(ns(ke,Ye,"read from private field"),xt?xt.call(ke):Ye.get(ke)),xe=(ke,Ye,xt)=>Ye.has(ke)?id("Cannot add the same private member more than once"):Ye instanceof WeakSet?Ye.add(ke):Ye.set(ke,xt),ve=(ke,Ye,xt,ro)=>(ns(ke,Ye,"write to private field"),ro?ro.call(ke,xt):Ye.set(ke,xt),xt),Pe=(ke,Ye,xt)=>(ns(ke,Ye,"access private method"),xt);var nd,ad,aa,dn,Ln,oa,ia,sa,Yr,la,Gt,Wa,Kr,_r,Mr,ca,Sn,Je,as,Qa,os,sd,ld,va,mh,eo,od,Bt,Za,lr,En,Rt,Wt,Nt,Zt,Pr,An,un,da,Ya,Ka,Jr,Yo,Xe,cd,dd,is,ud,ss,to,Qo,ls,cs,br,Ir,Yt,zn,Ja,Xa,Ko,Xr,cr;const Ye="2.34.1";typeof window<"u"&&((nd=window.__svelte??(window.__svelte={})).v??(nd.v=new Set)).add("5");const ro=1,fd=2,ds=4,hd=8,md=16,vd=1,pd=2,gd=4,_d=8,bd=16,yd=4,us=1,wd=2,fs="[",no="[!",hs="[?",ei="]",hn={},dt=Symbol("uninitialized"),ms="http://www.w3.org/1999/xhtml",vs="http://www.w3.org/2000/svg",xd="http://www.w3.org/1998/Math/MathML",kd="@attach",ps=!1;var ao=Array.isArray,Cd=Array.prototype.indexOf,oo=Array.prototype.includes,io=Array.from,so=Object.keys,pa=Object.defineProperty,Or=Object.getOwnPropertyDescriptor,gs=Object.getOwnPropertyDescriptors,$d=Object.prototype,Ld=Array.prototype,ti=Object.getPrototypeOf,_s=Object.isExtensible;function Pn(t){return typeof t=="function"}const In=()=>{};function bs(t){return typeof(t==null?void 0:t.then)=="function"}function Sd(t){return t()}function ri(t){for(var e=0;e<t.length;e++)t[e]()}function ys(){var t,e,r=new Promise((n,a)=>{t=n,e=a});return{promise:r,resolve:t,reject:e}}const kt=2,Rn=4,ga=8,ni=1<<24,Jt=16,Xt=32,wr=64,ai=128,oi=256,Qt=512,pt=1024,gt=2048,er=4096,zt=8192,Dt=16384,en=32768,lo=1<<25,Fr=65536,co=1<<17,Ed=1<<18,mn=1<<19,ws=1<<20,xr=1<<25,vn=65536,uo=1<<21,Nn=1<<22,tn=1<<23,kr=Symbol("$state"),xs=Symbol("component"),ii=Symbol("legacy props"),Ad=Symbol(""),fo=Symbol("attributes"),si=Symbol("class"),li=Symbol("style"),_a=Symbol("text"),ba=Symbol("form reset"),ya=new class extends Error{constructor(){super(...arguments);rt(this,"name","StaleReactionError");rt(this,"message","The reaction that called `getAbortSignal()` was re-run or destroyed")}},wa=!!((ad=globalThis.document)!=null&&ad.contentType)&&globalThis.document.contentType.includes("xml"),zd=1,xa=3,Dn=8;function Td(){console.warn("https://svelte.dev/e/derived_inert")}function ka(t){console.warn("https://svelte.dev/e/hydration_mismatch")}function Md(){console.warn("https://svelte.dev/e/select_multiple_invalid_value")}function Pd(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let le=!1;function Tt(t){le=t}let ge;function ut(t){if(t===null)throw ka(),hn;return ge=t}function Cr(){return ut(vr(ge))}function H(t){if(le){if(vr(ge)!==null)throw ka(),hn;ge=t}}function $t(t=1){if(le){for(var e=t,r=ge;e--;)r=vr(r);ge=r}}function Ca(t=!0){for(var e=0,r=ge;;){if(r.nodeType===Dn){var n=r.data;if(n===ei){if(e===0)return r;e-=1}else(n===fs||n===no||n[0]==="["&&!isNaN(Number(n.slice(1))))&&(e+=1)}var a=vr(r);t&&r.remove(),r=a}}function ks(t){if(!t||t.nodeType!==Dn)throw ka(),hn;return t.data}function Cs(t){return t===this.v}function Id(t,e){return t!=t?e==e:t!==e||t!==null&&typeof t=="object"||typeof t=="function"}function $s(t){return!Id(t,this.v)}function ho(){throw new Error("https://svelte.dev/e/invalid_default_snippet")}function Ls(t){throw new Error("https://svelte.dev/e/lifecycle_outside_component")}function Rd(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function Nd(t,e,r){throw new Error("https://svelte.dev/e/each_key_duplicate")}function Dd(t){throw new Error("https://svelte.dev/e/effect_in_teardown")}function Od(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function Fd(t){throw new Error("https://svelte.dev/e/effect_orphan")}function qd(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function jd(){throw new Error("https://svelte.dev/e/hydration_failed")}function Gd(t){throw new Error("https://svelte.dev/e/props_invalid_value")}function Hd(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Ud(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function Vd(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function Bd(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}let On=!1,Wd=!1;function Zd(){On=!0}let nt=null;function Fn(t){nt=t}function He(t,e=!1,r){nt={p:nt,i:!1,c:null,e:null,s:t,x:null,r:ye,l:On&&!e?{s:null,u:null,$:[]}:null}}function Ue(t){var e=nt,r=e.e;if(r!==null){e.e=null;for(var n of r)el(n)}return t!==void 0&&(e.x=t),e.i=!0,nt=e.p,ci(t)}function ci(t={}){return pa(t,xs,{value:!0}),t}function qn(){return!On||nt!==null&&nt.l===null}let pn=[];function Ss(){var t=pn;pn=[],ri(t)}function Ot(t){if(pn.length===0&&!Hn){var e=pn;queueMicrotask(()=>{e===pn&&Ss()})}pn.push(t)}function Yd(){for(;pn.length>0;)Ss()}const Kd=-7169;function it(t,e){t.f=t.f&Kd|e}function di(t){(t.f&Qt)!==0||t.deps===null?it(t,pt):it(t,er)}function Es(t){if(t!==null)for(const e of t)(e.f&kt)===0||(e.f&vn)===0||(e.f^=vn,Es(e.deps))}function As(t,e,r){(t.f>)!==0?e.add(t):(t.f&er)!==0&&r.add(t),Es(t.deps),it(t,pt)}let mo=!1;function Jd(t){var e=mo;try{return mo=!1,[t(),mo]}finally{mo=e}}function Xd(t,e){if(e){const r=document.body;t.autofocus=!0,Ot(()=>{document.activeElement===r&&t.focus()})}}let zs=!1;function Ts(){zs||(zs=!0,document.addEventListener("reset",t=>{Promise.resolve().then(()=>{var e;if(!t.defaultPrevented)for(const r of t.target.elements)(e=r[ba])==null||e.call(r)})},{capture:!0}))}function rn(t){var e=Re,r=ye;rr(null),nr(null);try{return t()}finally{rr(e),nr(r)}}function Ms(t,e,r,n=r){t.addEventListener(e,()=>rn(r));const a=t[ba];a?t[ba]=()=>{a(),n(!0)}:t[ba]=()=>n(!0),Ts()}function Ps(t,e,r,n){const a=qn()?jn:ui;var o=t.filter(v=>!v.settled),i=e.map(a);if(r.length===0&&o.length===0){n(i);return}var s=ye,l=Is(),d=o.length===1?o[0].promise:o.length>1?Promise.all(o.map(v=>v.promise)):null;function u(v){if((s.f&Dt)===0){l();try{n([...i,...v])}catch(m){Lr(m,s)}$a()}}var h=Rs();if(r.length===0){d.then(()=>u([])).finally(h);return}function f(){Promise.all(r.map(v=>Qd(v))).then(u).catch(v=>Lr(v,s)).finally(h)}d?d.then(()=>{l(),f(),$a()}):f()}function Is(){var t=ye,e=Re,r=nt,n=oe;return function(o=!0){nr(t),rr(e),Fn(r),o&&(t.f&Dt)===0&&(n==null||n.activate(),n==null||n.apply())}}function $a(t=!0){nr(null),rr(null),Fn(null),t&&(oe==null||oe.deactivate())}function Rs(){var t=ye,e=t.b,r=oe,n=!!(e!=null&&e.is_rendered());return e==null||e.update_pending_count(1,r),r.increment(n,t),()=>{e==null||e.update_pending_count(-1,r),r.decrement(n,t)}}function jn(t){var e=kt|gt;return ye!==null&&(ye.f|=mn),{ctx:nt,deps:null,effects:null,equals:Cs,f:e,fn:t,reactions:null,rv:0,v:dt,wv:0,parent:ye,ac:null}}const La=Symbol("obsolete");function Qd(t,e,r){let n=ye;n===null&&Rd();var a=void 0,o=jr(dt),i=!Re,s=new Set;return fu(()=>{var v,m;var l=ye,d=ys();a=d.promise;try{Promise.resolve(t()).then(d.resolve,g=>{g!==ya&&d.reject(g)}).finally($a)}catch(g){d.reject(g),$a()}var u=oe;if(i){if((l.f&en)!==0)var h=Rs();if((v=n.b)!=null&&v.is_rendered())(m=u.async_deriveds.get(l))==null||m.reject(La);else for(const g of s.values())g.reject(La);s.add(d),u.async_deriveds.set(l,d)}const f=(g,y=void 0)=>{h==null||h(),s.delete(d),y!==La&&(u.activate(),y?(o.f|=tn,Gr(o,y)):((o.f&tn)!==0&&(o.f^=tn),Gr(o,g)),u.deactivate())};d.promise.then(f,g=>f(null,g||"unknown"))}),_o(()=>{for(const l of s)l.reject(La)}),new Promise(l=>{function d(u){function h(){u===a?l(o):d(a)}u.then(h,h)}d(a)})}function Z(t){const e=jn(t);return ll(e),e}function ui(t){const e=jn(t);return e.equals=$s,e}function eu(t){var e=t.effects;if(e!==null){t.effects=null;for(var r=0;r<e.length;r+=1)Ct(e[r])}}function fi(t){var e,r=ye,n=t.parent;if(!Ur&&n!==null&&t.v!==dt&&(n.f&(Dt|zt))!==0)return Td(),t.v;nr(n);try{t.f&=~vn,eu(t),e=hl(t)}finally{nr(r)}return e}function Ns(t){var e=fi(t);if(!t.equals(e)&&(t.wv=ul(),(!(oe!=null&&oe.is_fork)||t.deps===null)&&(oe!==null?(oe.capture(t,e,!0),Sa==null||Sa.capture(t,e,!0)):t.v=e,t.deps===null))){it(t,pt);return}Ur||(Lt!==null?(bi()||oe!=null&&oe.is_fork)&&Lt.set(t,e):di(t))}function tu(t){var e;if(t.effects!==null)for(const r of t.effects)(r.teardown||r.ac)&&((e=r.teardown)==null||e.call(r),r.ac!==null&&rn(()=>{r.ac.abort(ya),r.ac=null}),r.fn!==null&&(r.teardown=In),Ma(r,0),yi(r))}function Ds(t){if(t.effects!==null)for(const e of t.effects)e.teardown&&e.fn!==null&&yn(e)}let hi=null,Gn=null,oe=null,Sa=null,Lt=null,mi=null,Hn=!1,vi=!1,Un=null,vo=null;var Os=0,vh=new Set;let ru=1;const Zo=class Zo{constructor(){xe(this,Je);rt(this,"id",ru++);xe(this,aa,!1);rt(this,"linked",!0);xe(this,dn,null);xe(this,Ln,null);rt(this,"async_deriveds",new Map);rt(this,"current",new Map);rt(this,"previous",new Map);xe(this,oa,new Set);xe(this,ia,new Set);xe(this,sa,0);xe(this,Yr,new Map);xe(this,la,null);xe(this,Gt,[]);xe(this,Wa,[]);xe(this,Kr,new Set);xe(this,_r,new Set);xe(this,Mr,new Map);xe(this,ca,new Set);rt(this,"is_fork",!1);xe(this,Sn,!1);Gn===null?hi=Gn=this:(ve(Gn,Ln,this),ve(this,dn,Gn)),Gn=this}skip_effect(e){b(this,Mr).has(e)||b(this,Mr).set(e,{d:[],m:[]}),b(this,ca).delete(e)}unskip_effect(e,r=n=>this.schedule(n)){var n=b(this,Mr).get(e);if(n){b(this,Mr).delete(e);for(var a of n.d)it(a,gt),r(a);for(a of n.m)it(a,er),r(a)}b(this,ca).add(e)}capture(e,r,n=!1){e.v!==dt&&!this.previous.has(e)&&this.previous.set(e,e.v),(e.f&tn)===0&&(this.current.set(e,[r,n]),Lt==null||Lt.set(e,r)),this.is_fork||(e.v=r)}activate(){oe=this}deactivate(){oe=null,Lt=null}flush(){try{vi=!0,oe=this,Pe(this,Je,Qa).call(this)}finally{Os=0,mi=null,Un=null,vo=null,vi=!1,oe=null,Lt=null,$r.clear()}}discard(){var e;for(const r of b(this,ia))r(this);b(this,ia).clear();for(const r of this.async_deriveds.values())r.reject(La);Pe(this,Je,eo).call(this),(e=b(this,la))==null||e.resolve()}register_created_effect(e){b(this,Wa).push(e)}increment(e,r){if(ve(this,sa,b(this,sa)+1),e){let n=b(this,Yr).get(r)??0;b(this,Yr).set(r,n+1)}}decrement(e,r){if(ve(this,sa,b(this,sa)-1),e){let n=b(this,Yr).get(r)??0;n===1?b(this,Yr).delete(r):b(this,Yr).set(r,n-1)}b(this,Sn)||(ve(this,Sn,!0),Ot(()=>{ve(this,Sn,!1),this.linked&&this.flush()}))}transfer_effects(e,r){for(const n of e)b(this,Kr).add(n);for(const n of r)b(this,_r).add(n);e.clear(),r.clear()}oncommit(e){b(this,oa).add(e)}ondiscard(e){b(this,ia).add(e)}settled(){return(b(this,la)??ve(this,la,ys())).promise}static ensure(){if(oe===null){const e=oe=new Zo;!vi&&!Hn&&Ot(()=>{b(e,aa)||e.flush()})}return oe}apply(){{Lt=null;return}}schedule(e){var a;if(mi=e,(a=e.b)!=null&&a.is_pending&&(e.f&(Rn|ga|ni))!==0&&(e.f&en)===0){e.b.defer_effect(e);return}for(var r=e;r.parent!==null;){r=r.parent;var n=r.f;if(Un!==null&&r===ye&&(Re===null||(Re.f&kt)===0))return;if((n&(wr|Xt))!==0){if((n&pt)===0)return;r.f^=pt}}b(this,Gt).push(r)}};aa=new WeakMap,dn=new WeakMap,Ln=new WeakMap,oa=new WeakMap,ia=new WeakMap,sa=new WeakMap,Yr=new WeakMap,la=new WeakMap,Gt=new WeakMap,Wa=new WeakMap,Kr=new WeakMap,_r=new WeakMap,Mr=new WeakMap,ca=new WeakMap,Sn=new WeakMap,Je=new WeakSet,as=function(){if(this.is_fork)return!0;for(const n of b(this,Yr).keys()){for(var e=n,r=!1;e.parent!==null;){if(b(this,Mr).has(e)){r=!0;break}e=e.parent}if(!r)return!0}return!1},Qa=function(){var l,d,u,h;ve(this,aa,!0),Os++>1e3&&(Pe(this,Je,eo).call(this),nu());for(const f of b(this,Kr))b(this,_r).delete(f),it(f,gt),this.schedule(f);for(const f of b(this,_r))it(f,er),this.schedule(f);const e=b(this,Gt);ve(this,Gt,[]),this.apply();var r=Un=[],n=[],a=vo=[];for(const f of e)try{Pe(this,Je,os).call(this,f,r,n)}catch(v){throw Gs(f),Pe(this,Je,as).call(this)||this.discard(),v}if(oe=null,a.length>0){var o=Zo.ensure();for(const f of a)o.schedule(f)}if(Un=null,vo=null,Pe(this,Je,as).call(this)){Pe(this,Je,va).call(this,n),Pe(this,Je,va).call(this,r);for(const[f,v]of b(this,Mr))js(f,v);a.length>0&&Pe(l=oe,Je,Qa).call(l);return}const i=Pe(this,Je,sd).call(this);if(i){Pe(this,Je,va).call(this,n),Pe(this,Je,va).call(this,r),Pe(d=i,Je,ld).call(d,this);return}b(this,Kr).clear(),b(this,_r).clear();for(const f of b(this,oa))f(this);b(this,oa).clear(),Sa=this,Fs(n),Fs(r),Sa=null,(u=b(this,la))==null||u.resolve();var s=oe;if(b(this,sa)===0&&(b(this,Gt).length===0||s!==null)&&Pe(this,Je,eo).call(this),b(this,Gt).length>0)if(s!==null){const f=s;b(f,Gt).push(...b(this,Gt).filter(v=>!b(f,Gt).includes(v)))}else s=this;s!==null&&($r.clear(),Pe(h=s,Je,Qa).call(h))},os=function(e,r,n){e.f^=pt;for(var a=e.first;a!==null;){var o=a.f,i=(o&(Xt|wr))!==0,s=i&&(o&pt)!==0,l=s||(o&zt)!==0||b(this,Mr).has(a);if(!l&&a.fn!==null){i?a.f^=pt:(o&Rn)!==0?r.push(a):Wn(a)&&((o&Jt)!==0&&b(this,_r).add(a),yn(a));var d=a.first;if(d!==null){a=d;continue}}for(;a!==null;){var u=a.next;if(u!==null){a=u;break}a=a.parent}}},sd=function(){for(var e=b(this,dn);e!==null;){if(!e.is_fork){for(const[r,[,n]]of this.current)if(e.current.has(r)&&!n)return e}e=b(e,dn)}return null},ld=function(e){var n;for(const[a,o]of e.current)!this.previous.has(a)&&e.previous.has(a)&&this.previous.set(a,e.previous.get(a)),this.current.set(a,o);for(const[a,o]of e.async_deriveds){const i=this.async_deriveds.get(a);i&&o.promise.then(i.resolve).catch(i.reject)}e.async_deriveds.clear(),this.transfer_effects(b(e,Kr),b(e,_r));const r=a=>{var o=a.reactions;if(o!==null&&!((a.f&kt)!==0&&(a.f&(gt|er))===0))for(const l of o){var i=l.f;if((i&kt)!==0)r(l);else{var s=l;i&(Nn|Jt)&&!this.async_deriveds.has(s)&&(b(this,_r).delete(s),it(s,gt),this.schedule(s))}}};for(const a of this.current.keys())r(a);this.oncommit(()=>e.discard()),Pe(n=e,Je,eo).call(n),oe=this,Pe(this,Je,Qa).call(this)},va=function(e){for(var r=0;r<e.length;r+=1)As(e[r],b(this,Kr),b(this,_r))},mh=function(){var h;for(let f=hi;f!==null;f=b(f,Ln)){var e=f.id<this.id,r=[];for(const[v,[m,g]]of this.current){if(f.current.has(v)){var n=f.current.get(v)[0];if(e&&m!==n)f.current.set(v,[m,g]);else continue}r.push(v)}if(e)for(const[v,m]of this.async_deriveds){const g=f.async_deriveds.get(v);g&&m.promise.then(g.resolve).catch(g.reject)}var a=[...f.current.keys()].filter(v=>!f.current.get(v)[1]);if(!(!b(f,aa)||a.length===0)){var o=a.filter(v=>!this.current.has(v));if(o.length===0)e&&f.discard();else if(r.length>0){if(e)for(const v of b(this,ca))f.unskip_effect(v,m=>{var g;(m.f&(Jt|Nn))!==0?f.schedule(m):Pe(g=f,Je,va).call(g,[m])});f.activate();var i=new Set,s=new Map;for(var l of r)qs(l,o,i,s);s=new Map;var d=[...f.current].filter(([v,m])=>{const g=this.current.get(v);return g?g[0]!==m[0]||g[1]!==m[1]:!0}).map(([v])=>v);if(d.length>0)for(const v of b(this,Wa))(v.f&(Dt|zt|co))===0&&pi(v,d,s)&&((v.f&(Nn|Jt))!==0?(it(v,gt),f.schedule(v)):b(f,Kr).add(v));if(b(f,Gt).length>0&&!b(f,Sn)){f.apply();for(var u of b(f,Gt))Pe(h=f,Je,os).call(h,u,[],[]);ve(f,Gt,[])}f.deactivate()}}}},eo=function(){if(this.linked){var e=b(this,dn),r=b(this,Ln);e===null?hi=r:ve(e,Ln,r),r===null?Gn=e:ve(r,dn,e),this.linked=!1}};let qr=Zo;function _t(t){var e=Hn;Hn=!0;try{for(var r;;){if(Yd(),oe===null)return r;oe.flush()}}finally{Hn=e}}function nu(){try{qd()}catch(t){Lr(t,mi)}}let hr=null;function Fs(t){var e=t.length;if(e!==0){for(var r=0;r<e;){var n=t[r++];if((n.f&(Dt|zt))===0&&Wn(n)&&(hr=new Set,yn(n),n.deps===null&&n.first===null&&n.nodes===null&&n.teardown===null&&n.ac===null&&al(n),(hr==null?void 0:hr.size)>0)){$r.clear();for(const a of hr){if((a.f&(Dt|zt))!==0)continue;const o=[a];let i=a.parent;for(;i!==null;)hr.has(i)&&(hr.delete(i),o.push(i)),i=i.parent;for(let s=o.length-1;s>=0;s--){const l=o[s];(l.f&(Dt|zt))===0&&yn(l)}}hr.clear()}}hr=null}}function qs(t,e,r,n){if(!r.has(t)&&(r.add(t),t.reactions!==null))for(const a of t.reactions){const o=a.f;(o&kt)!==0?qs(a,e,r,n):(o&(Nn|Jt))!==0&&(o>)===0&&pi(a,e,n)&&(it(a,gt),gi(a))}}function pi(t,e,r){const n=r.get(t);if(n!==void 0)return n;if(t.deps!==null)for(const a of t.deps){if(oo.call(e,a))return!0;if((a.f&kt)!==0&&pi(a,e,r))return r.set(a,!0),!0}return r.set(t,!1),!1}function gi(t){oe.schedule(t)}function js(t,e){if(!((t.f&Xt)!==0&&(t.f&pt)!==0)){(t.f>)!==0?e.d.push(t):(t.f&er)!==0&&e.m.push(t),it(t,pt);for(var r=t.first;r!==null;)js(r,e),r=r.next}}function Gs(t){it(t,pt);for(var e=t.first;e!==null;)Gs(e),e=e.next}let po=new Set;const $r=new Map;let Hs=!1;function jr(t,e){var r={f:0,v:t,reactions:null,equals:Cs,rv:0,wv:0};return r}function ce(t,e){const r=jr(t);return ll(r),r}function Ea(t,e=!1,r=!0){var a;const n=jr(t);return e||(n.equals=$s),On&&r&&nt!==null&&nt.l!==null&&((a=nt.l).s??(a.s=[])).push(n),n}function P(t,e,r=!1){Re!==null&&(!pr||(Re.f&co)!==0)&&qn()&&(Re.f&(kt|Jt|Nn|co))!==0&&(Sr===null||!Sr.has(t))&&Vd();let n=r?mr(e):e;return Gr(t,n,vo)}function Gr(t,e,r=null){if(!t.equals(e)){Ur?$r.set(t,e):$r.has(t)||$r.set(t,t.v);var n=qr.ensure();if(n.capture(t,e),(t.f&kt)!==0){const a=t;(t.f>)!==0&&fi(a),Lt===null&&di(a)}t.wv=ul(),Us(t,gt,r),qn()&&ye!==null&&(ye.f&pt)!==0&&(ye.f&(Xt|wr))===0&&(ar===null?mu([t]):ar.push(t)),!n.is_fork&&po.size>0&&!Hs&&au()}return e}function au(){Hs=!1;for(const t of po){(t.f&pt)!==0&&it(t,er);let e;try{e=Wn(t)}catch{e=!0}e&&yn(t)}po.clear()}function Aa(t){P(t,t.v+1)}function Us(t,e,r){var n=t.reactions;if(n!==null)for(var a=qn(),o=n.length,i=0;i<o;i++){var s=n[i],l=s.f;if(!(!a&&s===ye)){var d=(l>)===0;if(d&&it(s,e),(l&co)!==0)po.add(s);else if((l&kt)!==0){var u=s;Lt==null||Lt.delete(u),(l&vn)===0&&(l&Qt&&(ye===null||(ye.f&uo)===0)&&(s.f|=vn),Us(u,er,r))}else if(d){var h=s;(l&Jt)!==0&&hr!==null&&hr.add(h),r!==null?r.push(h):gi(h)}}}}function mr(t){if(typeof t!="object"||t===null||kr in t||xs in t)return t;const e=ti(t);if(e!==$d&&e!==Ld)return t;var r=new Map,n=ao(t),a=ce(0),o=bn,i=s=>{if(bn===o)return s();var l=Re,d=bn;rr(null),dl(o);var u=s();return rr(l),dl(d),u};return n&&r.set("length",ce(t.length)),new Proxy(t,{defineProperty(s,l,d){(!("value"in d)||d.configurable===!1||d.enumerable===!1||d.writable===!1)&&Hd();var u=r.get(l);return u===void 0?i(()=>{var h=ce(d.value);return r.set(l,h),h}):P(u,d.value,!0),!0},deleteProperty(s,l){var d=r.get(l);if(d===void 0){if(l in s){const u=i(()=>ce(dt));r.set(l,u),Aa(a)}}else P(d,dt),Aa(a);return!0},get(s,l,d){var v;if(l===kr)return t;var u=r.get(l),h=l in s;if(u===void 0&&(!h||(v=Or(s,l))!=null&&v.writable)&&(u=i(()=>{var m=mr(h?s[l]:dt),g=ce(m);return g}),r.set(l,u)),u!==void 0){var f=c(u);return f===dt?void 0:f}return Reflect.get(s,l,d)},getOwnPropertyDescriptor(s,l){var d=Reflect.getOwnPropertyDescriptor(s,l);if(d&&"value"in d){var u=r.get(l);u&&(d.value=c(u))}else if(d===void 0){var h=r.get(l),f=h==null?void 0:h.v;if(h!==void 0&&f!==dt)return{enumerable:!0,configurable:!0,value:f,writable:!0}}return d},has(s,l){var f;if(l===kr)return!0;var d=r.get(l),u=d!==void 0&&d.v!==dt||Reflect.has(s,l);if(d!==void 0||ye!==null&&(!u||(f=Or(s,l))!=null&&f.writable)){d===void 0&&(d=i(()=>{var v=u?mr(s[l]):dt,m=ce(v);return m}),r.set(l,d));var h=c(d);if(h===dt)return!1}return u},set(s,l,d,u){var F;var h=r.get(l),f=l in s;if(n&&l==="length")for(var v=d;v<h.v;v+=1){var m=r.get(v+"");m!==void 0?P(m,dt):v in s&&(m=i(()=>ce(dt)),r.set(v+"",m))}if(h===void 0)(!f||(F=Or(s,l))!=null&&F.writable)&&(h=i(()=>ce(void 0)),P(h,mr(d)),r.set(l,h));else{f=h.v!==dt;var g=i(()=>mr(d));P(h,g)}var y=Reflect.getOwnPropertyDescriptor(s,l);if(y!=null&&y.set&&y.set.call(u,d),!f){if(n&&typeof l=="string"){var C=r.get("length"),z=Number(l);Number.isInteger(z)&&z>=C.v&&P(C,z+1)}Aa(a)}return!0},ownKeys(s){c(a);var l=Reflect.ownKeys(s).filter(h=>{var f=r.get(h);return f===void 0||f.v!==dt});for(var[d,u]of r)u.v!==dt&&!(d in s)&&l.push(d);return l},setPrototypeOf(){Ud()}})}function Vs(t){try{if(t!==null&&typeof t=="object"&&kr in t)return t[kr]}catch{}return t}function Bs(t,e){return Object.is(Vs(t),Vs(e))}var Ws,Zs,Ys,Ks;function _i(){if(Ws===void 0){Ws=window,Zs=/Firefox/.test(navigator.userAgent);var t=Element.prototype,e=Node.prototype,r=Text.prototype;Ys=Or(e,"firstChild").get,Ks=Or(e,"nextSibling").get,_s(t)&&(t[si]=void 0,t[fo]=null,t[li]=void 0,t.__e=void 0),_s(r)&&(r[_a]=void 0)}}function Et(t=""){return document.createTextNode(t)}function bt(t){return Ys.call(t)}function vr(t){return Ks.call(t)}function Y(t,e){if(!le)return bt(t);var r=bt(ge);if(r===null)r=ge.appendChild(Et());else if(e&&r.nodeType!==xa){var n=Et();return r==null||r.before(n),ut(n),n}return e&&go(r),ut(r),r}function U(t,e=!1){if(!le){var r=bt(t);return r instanceof Comment&&r.data===""?vr(r):r}if(e){if((ge==null?void 0:ge.nodeType)!==xa){var n=Et();return ge==null||ge.before(n),ut(n),n}go(ge)}return ge}function Ie(t,e=!1){if(!le)return bt(t);var r=Y(t,e);return H(t),r}function E(t,e=1,r=!1){let n=le?ge:t;for(var a;e--;)a=n,n=vr(n);if(!le)return n;if(r){if((n==null?void 0:n.nodeType)!==xa){var o=Et();return n===null?a==null||a.after(o):n.before(o),ut(o),o}go(n)}return ut(n),n}function Js(t){t.textContent=""}function Xs(){return!1}function za(t,e,r){return e==null||e===ms?r?document.createElement(t,{is:r}):document.createElement(t):r?document.createElementNS(e,t,{is:r}):document.createElementNS(e,t)}function go(t){if(t.nodeValue.length<65536)return;let e=t.nextSibling;for(;e!==null&&e.nodeType===xa;)e.remove(),t.nodeValue+=e.nodeValue,e=t.nextSibling}function ou(t){var e=ye;if(e===null)return Re.f|=tn,t;if((e.f&en)===0&&(e.f&Rn)===0)throw t;Lr(t,e)}function Lr(t,e){if(!(e!==null&&(e.f&Dt)!==0)){for(;e!==null;){if((e.f&ai)!==0&&(e.f&(Dt|lo))===0){if((e.f&en)===0)throw t;try{e.b.error(t);return}catch(r){t=r}}e=e.parent}throw t}}function Qs(t){ye===null&&(Re===null&&Fd(),Od()),Ur&&Dd()}function iu(t,e){var r=e.last;r===null?e.last=e.first=t:(r.next=t,t.prev=r,e.last=t)}function tr(t,e){var r=ye;r!==null&&(r.f&zt)!==0&&(t|=zt);var n={ctx:nt,deps:null,nodes:null,f:t|gt|Qt,first:null,fn:e,last:null,next:null,parent:r,b:r&&r.b,prev:null,teardown:null,wv:0,ac:null};oe==null||oe.register_created_effect(n);var a=n;if((t&Rn)!==0)Un!==null?Un.push(n):qr.ensure().schedule(n);else if(e!==null){try{yn(n)}catch(i){throw Ct(n),i}a.deps===null&&a.teardown===null&&a.nodes===null&&a.first===a.last&&(a.f&mn)===0&&(a=a.first,(t&Jt)!==0&&(t&Fr)!==0&&a!==null&&(a.f|=Fr))}if(a!==null&&(a.parent=r,r!==null&&iu(a,r),Re!==null&&(Re.f&kt)!==0&&(t&wr)===0)){var o=Re;(o.effects??(o.effects=[])).push(a)}return n}function bi(){return Re!==null&&!pr}function _o(t){const e=tr(ga,null);return it(e,pt),e.teardown=t,e}function Hr(t){Qs();var e=ye.f,r=!Re&&(e&Xt)!==0&&nt!==null&&!nt.i;if(r){var n=nt;(n.e??(n.e=[])).push(t)}else return el(t)}function el(t){return tr(Rn|ws,t)}function su(t){return Qs(),tr(ga|ws,t)}function lu(t){qr.ensure();const e=tr(wr|mn,t);return()=>{Ct(e)}}function cu(t){qr.ensure();const e=tr(wr|mn,t);return(r={})=>new Promise(n=>{r.outro?gn(e,()=>{Ct(e),n(void 0)}):(Ct(e),n(void 0))})}function Ta(t){return tr(Rn,t)}function du(t,e){var r=nt,n={effect:null,ran:!1,deps:t};r.l.$.push(n),n.effect=Vn(()=>{if(t(),!n.ran){n.ran=!0;var a=ye;try{nr(a.parent),st(e)}finally{nr(a)}}})}function uu(){var t=nt;Vn(()=>{for(var e of t.l.$){e.deps();var r=e.effect;(r.f&pt)!==0&&r.deps!==null&&it(r,er),Wn(r)&&yn(r),e.ran=!1}})}function fu(t){return tr(Nn|mn,t)}function Vn(t,e=0){return tr(ga|e,t)}function G(t,e=[],r=[],n=[]){Ps(n,e,r,a=>{tr(ga,()=>{t(...a.map(c))})})}function Bn(t,e=0){var r=tr(Jt|e,t);return r}function tl(t,e=0){var r=tr(ni|e,t);return r}function Ft(t){return tr(Xt|mn,t)}function rl(t){var e=t.teardown;if(e!==null){const r=Ur,n=Re;sl(!0),rr(null);try{e.call(null)}catch(a){Lr(a,t.parent)}finally{sl(r),rr(n)}}}function yi(t,e=!1){var r=t.first;for(t.first=t.last=null;r!==null;){const a=r.ac;a!==null&&rn(()=>{a.abort(ya)});var n=r.next;(r.f&wr)!==0?r.parent=null:Ct(r,e),r=n}}function hu(t){for(var e=t.first;e!==null;){var r=e.next;(e.f&Xt)===0&&Ct(e),e=r}}function Ct(t,e=!0){var r=!1;(e||(t.f&Ed)!==0)&&t.nodes!==null&&t.nodes.end!==null&&(nl(t.nodes.start,t.nodes.end),r=!0),t.f|=lo,yi(t,e&&!r),Ma(t,0);var n=t.nodes&&t.nodes.t;if(n!==null)for(const o of n)o.stop();rl(t),t.f^=lo,t.f|=Dt;var a=t.parent;a!==null&&a.first!==null&&al(t),t.next=t.prev=t.teardown=t.ctx=t.deps=t.fn=t.nodes=t.ac=t.b=null}function nl(t,e){for(;t!==null;){var r=t===e?null:vr(t);t.remove(),t=r}}function al(t){var e=t.parent,r=t.prev,n=t.next;r!==null&&(r.next=n),n!==null&&(n.prev=r),e!==null&&(e.first===t&&(e.first=n),e.last===t&&(e.last=r))}function gn(t,e,r=!0){var n=[];t.f|=oi,ol(t,n,!0);var a=()=>{r&&Ct(t),e&&e()},o=n.length;if(o>0){var i=()=>--o||a();for(var s of n)s.out(i)}else a()}function ol(t,e,r){if((t.f&zt)===0){t.f^=zt;var n=t.nodes&&t.nodes.t;if(n!==null)for(const s of n)(s.is_global||r)&&e.push(s);for(var a=t.first;a!==null;){var o=a.next;if((a.f&wr)===0){var i=(a.f&Fr)!==0||(a.f&Xt)!==0&&(t.f&Jt)!==0;ol(a,e,i?r:!1)}a=o}}}function bo(t){t.f&=~oi,il(t,!0)}function il(t,e){if((t.f&oi)===0&&(t.f&zt)!==0){t.f^=zt,(t.f&pt)===0&&(it(t,gt),qr.ensure().schedule(t));for(var r=t.first;r!==null;){var n=r.next,a=(r.f&Fr)!==0||(r.f&Xt)!==0;il(r,a?e:!1),r=n}var o=t.nodes&&t.nodes.t;if(o!==null)for(const i of o)(i.is_global||e)&&i.in()}}function wi(t,e){if(t.nodes)for(var r=t.nodes.start,n=t.nodes.end;r!==null;){var a=r===n?null:vr(r);e.append(r),r=a}}let yo=!1,Ur=!1;function sl(t){Ur=t}let Re=null,pr=!1;function rr(t){Re=t}let ye=null;function nr(t){ye=t}let Sr=null;function ll(t){Re!==null&&(Sr??(Sr=new Set)).add(t)}let qt=null,Ht=0,ar=null;function mu(t){ar=t}let cl=1,_n=0,bn=_n;function dl(t){bn=t}function ul(){return++cl}function Wn(t){var e=t.f;if((e>)!==0)return!0;if(e&kt&&(t.f&=~vn),(e&er)!==0){for(var r=t.deps,n=r.length,a=0;a<n;a++){var o=r[a];if(Wn(o)&&Ns(o),o.wv>t.wv)return!0}(e&Qt)!==0&&Lt===null&&it(t,pt)}return!1}function fl(t,e,r=!0){var n=t.reactions;if(n!==null&&!(Sr!==null&&Sr.has(t)))for(var a=0;a<n.length;a++){var o=n[a];(o.f&kt)!==0?fl(o,e,!1):e===o&&(r?it(o,gt):(o.f&pt)!==0&&it(o,er),gi(o))}}function hl(t){var e=qt,r=Ht,n=ar,a=Re,o=Sr,i=nt,s=pr,l=bn,d=t.f;qt=null,Ht=0,ar=null,Re=(d&(Xt|wr))===0?t:null,Sr=null,Fn(t.ctx),pr=!1,bn=++_n,t.ac!==null&&(rn(()=>{t.ac.abort(ya)}),t.ac=null);try{t.f|=uo;var u=t.fn,h=u();t.f|=en;var f=ml(t);if(qn()&&ar!==null&&!pr&&f!==null&&(t.f&(kt|er|gt))===0)for(var v=0;v<ar.length;v++)fl(ar[v],t);if(a!==null&&a!==t){if(_n++,a.deps!==null)for(let m=0;m<r;m+=1)a.deps[m].rv=_n;if(e!==null)for(const m of e)m.rv=_n;ar!==null&&(n===null?n=ar:n.push(...ar))}return(t.f&tn)!==0&&(t.f^=tn),h}catch(m){return ml(t),ou(m)}finally{t.f^=uo,qt=e,Ht=r,ar=n,Re=a,Sr=o,Fn(i),pr=s,bn=l}}function ml(t){var a;var e=t.deps,r=oe==null?void 0:oe.is_fork;if(qt!==null){var n;if(r||Ma(t,Ht),e!==null&&Ht>0)for(e.length=Ht+qt.length,n=0;n<qt.length;n++)e[Ht+n]=qt[n];else t.deps=e=qt;if(bi()&&(t.f&Qt)!==0)for(n=Ht;n<e.length;n++)((a=e[n]).reactions??(a.reactions=[])).push(t)}else!r&&e!==null&&Ht<e.length&&(Ma(t,Ht),e.length=Ht);return e}function vu(t,e){let r=e.reactions;if(r!==null){var n=Cd.call(r,t);if(n!==-1){var a=r.length-1;a===0?r=e.reactions=null:(r[n]=r[a],r.pop())}}if(r===null&&(e.f&kt)!==0&&(qt===null||!oo.call(qt,e))){var o=e;(o.f&Qt)!==0&&(o.f^=Qt,o.f&=~vn),o.v!==dt&&di(o),o.ac!==null&&rn(()=>{o.ac.abort(ya),o.ac=null,it(o,gt)}),tu(o),Ma(o,0)}}function Ma(t,e){var r=t.deps;if(r!==null)for(var n=e;n<r.length;n++)vu(t,r[n])}function yn(t){var e=t.f;if((e&Dt)===0){it(t,pt);var r=ye,n=yo;ye=t,yo=(e&(Xt|wr))===0;try{(e&(Jt|ni))!==0?hu(t):yi(t),rl(t);var a=hl(t);t.teardown=typeof a=="function"?a:null,t.wv=cl;var o;ps&&Wd&&(t.f>)!==0&&t.deps}finally{yo=n,ye=r}}}async function pu(){await Promise.resolve(),_t()}function c(t){var e=t.f,r=(e&kt)!==0;if(Re!==null&&!pr){var n=ye!==null&&(ye.f&Dt)!==0;if(!n&&(Sr===null||!Sr.has(t))){var a=Re.deps;if((Re.f&uo)!==0)t.rv<_n&&(t.rv=_n,qt===null&&a!==null&&a[Ht]===t?Ht++:qt===null?qt=[t]:qt.push(t));else{Re.deps??(Re.deps=[]),oo.call(Re.deps,t)||Re.deps.push(t);var o=t.reactions;o===null?t.reactions=[Re]:oo.call(o,Re)||o.push(Re)}}}if(Ur&&$r.has(t))return $r.get(t);if(r){var i=t;if(Ur){var s=i.v;return((i.f&pt)===0&&i.reactions!==null||pl(i))&&(s=fi(i)),$r.set(i,s),s}var l=(i.f&Qt)===0&&!pr&&Re!==null&&(yo||(Re.f&Qt)!==0),d=(i.f&en)===0;Wn(i)&&(l&&(i.f|=Qt),Ns(i)),l&&!d&&(Ds(i),vl(i))}if(Lt!=null&&Lt.has(t))return Lt.get(t);if((t.f&tn)!==0)throw t.v;return t.v}function vl(t){if(t.f|=Qt,t.deps!==null)for(const e of t.deps)(e.reactions??(e.reactions=[])).push(t),(e.f&kt)!==0&&(e.f&Qt)===0&&(Ds(e),vl(e))}function pl(t){if(t.v===dt)return!0;if(t.deps===null)return!1;for(const e of t.deps)if($r.has(e)||(e.f&kt)!==0&&pl(e))return!0;return!1}function st(t){var e=pr;try{return pr=!0,t()}finally{pr=e}}function ft(t){if(!(typeof t!="object"||!t||t instanceof EventTarget)){if(kr in t)xi(t);else if(!Array.isArray(t))for(let e in t){const r=t[e];typeof r=="object"&&r&&kr in r&&xi(r)}}}function xi(t,e=new Set){if(typeof t=="object"&&t!==null&&!(t instanceof EventTarget)&&!e.has(t)){e.add(t),t instanceof Date&&t.getTime();for(let n in t)try{xi(t[n],e)}catch{}const r=ti(t);if(r!==Object.prototype&&r!==Array.prototype&&r!==Map.prototype&&r!==Set.prototype&&r!==Date.prototype){const n=gs(r);for(let a in n){const o=n[a].get;if(o)try{o.call(t)}catch{}}}}}const wn=Symbol("events"),gl=new Set,ki=new Set;function _l(t,e,r,n={}){function a(o){if(n.capture||Li.call(e,o),!o.cancelBubble)return rn(()=>r==null?void 0:r.call(this,o))}return t.startsWith("pointer")||t.startsWith("touch")||t==="wheel"?Ot(()=>{e.addEventListener(t,a,n)}):e.addEventListener(t,a,n),a}function wo(t,e,r,n,a){var o={capture:n,passive:a},i=_l(t,e,r,o);(e===document.body||e===window||e===document||e instanceof HTMLMediaElement)&&_o(()=>{e.removeEventListener(t,i,o)})}function or(t,e,r){(e[wn]??(e[wn]={}))[t]=r}function Vr(t){for(var e=0;e<t.length;e++)gl.add(t[e]);for(var r of ki)r(t)}let Ci=null,$i=!1;function Li(t){var g,y;var e=this,r=e.ownerDocument,n=t.type,a=((g=t.composedPath)==null?void 0:g.call(t))||[],o=a[0]||t.target;Ci=t,$i||($i=!0,setTimeout(()=>{$i=!1,Ci=null}));var i=0,s=Ci===t&&t[wn];if(s){var l=a.indexOf(s);if(l!==-1&&(e===document||e===window)){t[wn]=e;return}var d=a.indexOf(e);if(d===-1)return;l<=d&&(i=l)}if(o=a[i]||t.target,o!==e){pa(t,"currentTarget",{configurable:!0,get(){return o||r}});var u=Re,h=ye;rr(null),nr(null);try{for(var f,v=[];o!==null&&o!==e;){try{var m=(y=o[wn])==null?void 0:y[n];m!=null&&(!o.disabled||t.target===o)&&m.call(o,t)}catch(C){f?v.push(C):f=C}if(t.cancelBubble)break;i++,o=i<a.length?a[i]:null}if(f){for(let C of v)queueMicrotask(()=>{throw C});throw f}}finally{t[wn]=e,delete t.currentTarget,rr(u),nr(h)}}}const Si=((od=globalThis==null?void 0:globalThis.window)==null?void 0:od.trustedTypes)&&globalThis.window.trustedTypes.createPolicy("svelte-trusted-html",{createHTML:t=>t});function gu(t){return(Si==null?void 0:Si.createHTML(t))??t}function bl(t){var e=za("template");return e.innerHTML=gu(t.replaceAll("<!>","<!---->")),e.content}function Mt(t,e){var r=ye;r.nodes===null&&(r.nodes={start:t,end:e,a:null,t:null})}function R(t,e){var r=(e&us)!==0,n=(e&wd)!==0,a,o=!t.startsWith("<!>");return()=>{if(le)return Mt(ge,null),ge;a===void 0&&(a=bl(o?t:"<!>"+t),r||(a=bt(a)));var i=n||Zs?document.importNode(a,!0):a.cloneNode(!0);if(r){var s=bt(i),l=i.lastChild;Mt(s,l)}else Mt(i,i);return i}}function _u(t,e,r="svg"){var n=!t.startsWith("<!>"),a=(e&us)!==0,o=`<${r}>${n?t:"<!>"+t}</${r}>`,i;return()=>{if(le)return Mt(ge,null),ge;if(!i){var s=bl(o),l=bt(s);if(a)for(i=document.createDocumentFragment();bt(l);)i.appendChild(bt(l));else i=bt(l)}var d=i.cloneNode(!0);if(a){var u=bt(d),h=d.lastChild;Mt(u,h)}else Mt(d,d);return d}}function Er(t,e){return _u(t,e,"svg")}function Pt(t=""){if(!le){var e=Et(t+"");return Mt(e,e),e}var r=ge;return r.nodeType!==xa?(r.before(r=Et()),ut(r)):go(r),Mt(r,r),r}function Ke(){if(le)return Mt(ge,null),ge;var t=document.createDocumentFragment(),e=document.createComment(""),r=Et();return t.append(e,r),Mt(e,r),t}function x(t,e){if(le){var r=ye;((r.f&en)===0||r.nodes.end===null)&&(r.nodes.end=ge),Cr();return}t!==null&&t.before(e)}function bu(t){return t.endsWith("capture")&&t!=="gotpointercapture"&&t!=="lostpointercapture"}const yu=["beforeinput","click","change","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"];function wu(t){return yu.includes(t)}const xu={formnovalidate:"formNoValidate",ismap:"isMap",nomodule:"noModule",playsinline:"playsInline",readonly:"readOnly",defaultvalue:"defaultValue",defaultchecked:"defaultChecked",srcobject:"srcObject",novalidate:"noValidate",allowfullscreen:"allowFullscreen",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback"};function ku(t){return t=t.toLowerCase(),xu[t]??t}const Cu=["touchstart","touchmove"];function $u(t){return Cu.includes(t)}const Lu=["textarea","script","style","title"];function Su(t){return Lu.includes(t)}function Eu(t){let e=0,r=jr(0),n;return()=>{bi()&&(c(r),Vn(()=>(e===0&&(n=st(()=>t(()=>Aa(r)))),e+=1,()=>{Ot(()=>{e-=1,e===0&&(n==null||n(),n=void 0,Aa(r))})})))}}var Au=Fr|mn;function zu(t,e,r,n){new Tu(t,e,r,n)}class Tu{constructor(e,r,n,a){xe(this,Xe);rt(this,"parent");rt(this,"is_pending",!1);rt(this,"transform_error");xe(this,Bt);xe(this,Za,le?ge:null);xe(this,lr);xe(this,En);xe(this,Rt);xe(this,Wt,null);xe(this,Nt,null);xe(this,Zt,null);xe(this,Pr,null);xe(this,An,0);xe(this,un,0);xe(this,da,!1);xe(this,Ya,new Set);xe(this,Ka,new Set);xe(this,Jr,null);xe(this,Yo,Eu(()=>(ve(this,Jr,jr(b(this,An))),()=>{ve(this,Jr,null)})));var o;ve(this,Bt,e),ve(this,lr,r),ve(this,En,i=>{var s=ye;s.b=this,s.f|=ai,n(i)}),this.parent=ye.b,this.transform_error=a??((o=this.parent)==null?void 0:o.transform_error)??(i=>i),ve(this,Rt,Bn(()=>{if(le){const i=b(this,Za);Cr();const s=i.data===no;if(i.data.startsWith(hs)){const d=JSON.parse(i.data.slice(hs.length));Pe(this,Xe,dd).call(this,d)}else s?Pe(this,Xe,ud).call(this):Pe(this,Xe,cd).call(this)}else Pe(this,Xe,ss).call(this)},Au)),le&&ve(this,Bt,ge)}defer_effect(e){As(e,b(this,Ya),b(this,Ka))}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!b(this,lr).pending}update_pending_count(e,r){Pe(this,Xe,ls).call(this,e,r),ve(this,An,b(this,An)+e),!(!b(this,Jr)||b(this,da))&&(ve(this,da,!0),Ot(()=>{ve(this,da,!1),b(this,Jr)&&Gr(b(this,Jr),b(this,An))}))}get_effect_pending(){return b(this,Yo).call(this),c(b(this,Jr))}error(e){if(!b(this,lr).onerror&&!b(this,lr).failed)throw e;oe!=null&&oe.is_fork?(b(this,Wt)&&oe.skip_effect(b(this,Wt)),b(this,Nt)&&oe.skip_effect(b(this,Nt)),b(this,Zt)&&oe.skip_effect(b(this,Zt)),oe.oncommit(()=>{Pe(this,Xe,cs).call(this,e)})):Pe(this,Xe,cs).call(this,e)}}Bt=new WeakMap,Za=new WeakMap,lr=new WeakMap,En=new WeakMap,Rt=new WeakMap,Wt=new WeakMap,Nt=new WeakMap,Zt=new WeakMap,Pr=new WeakMap,An=new WeakMap,un=new WeakMap,da=new WeakMap,Ya=new WeakMap,Ka=new WeakMap,Jr=new WeakMap,Yo=new WeakMap,Xe=new WeakSet,cd=function(){try{ve(this,Wt,Ft(()=>b(this,En).call(this,b(this,Bt))))}catch(e){this.error(e)}},dd=function(e){const r=b(this,lr).failed,{reset:n,invoke_onerror:a}=Pe(this,Xe,is).call(this,e);Ot(a),r&&ve(this,Zt,Ft(()=>{r(b(this,Bt),()=>e,()=>n)}))},is=function(e){var r=!1,n=!1;const a=()=>{if(r){Pd();return}r=!0,n&&Bd(),b(this,Zt)!==null&&gn(b(this,Zt),()=>{ve(this,Zt,null)}),Pe(this,Xe,Qo).call(this,()=>{Pe(this,Xe,ss).call(this)})};return{reset:a,invoke_onerror:()=>{var i,s;try{n=!0,(s=(i=b(this,lr)).onerror)==null||s.call(i,e,a),n=!1}catch(l){Lr(l,b(this,Rt)&&b(this,Rt).parent)}}}},ud=function(){const e=b(this,lr).pending;e&&(this.is_pending=!0,ve(this,Nt,Ft(()=>e(b(this,Bt)))),Ot(()=>{var r=ve(this,Pr,document.createDocumentFragment()),n=Et(),a=!1;if(r.append(n),ve(this,Wt,Pe(this,Xe,Qo).call(this,()=>{try{return Ft(()=>b(this,En).call(this,n))}catch(o){try{this.error(o),a=!0}catch(i){Lr(i,b(this,Rt).parent)}return null}})),b(this,Wt)===null){ve(this,Pr,null),a&&Pe(this,Xe,to).call(this,oe);return}b(this,un)===0&&(b(this,Bt).before(r),ve(this,Pr,null),gn(b(this,Nt),()=>{ve(this,Nt,null)}),Pe(this,Xe,to).call(this,oe))}))},ss=function(){try{if(this.is_pending=this.has_pending_snippet(),ve(this,un,0),ve(this,An,0),ve(this,Wt,Ft(()=>{b(this,En).call(this,b(this,Bt))})),b(this,un)>0){var e=ve(this,Pr,document.createDocumentFragment());wi(b(this,Wt),e);const r=b(this,lr).pending;ve(this,Nt,Ft(()=>r(b(this,Bt))))}else Pe(this,Xe,to).call(this,oe)}catch(r){this.error(r)}},to=function(e){this.is_pending=!1,e.transfer_effects(b(this,Ya),b(this,Ka))},Qo=function(e){var r=ye,n=Re,a=nt;nr(b(this,Rt)),rr(b(this,Rt)),Fn(b(this,Rt).ctx);try{return qr.ensure(),e()}finally{nr(r),rr(n),Fn(a)}},ls=function(e,r){var n;if(!this.has_pending_snippet()){this.parent&&Pe(n=this.parent,Xe,ls).call(n,e,r);return}ve(this,un,b(this,un)+e),b(this,un)===0&&(Pe(this,Xe,to).call(this,r),b(this,Nt)&&gn(b(this,Nt),()=>{ve(this,Nt,null)}),b(this,Pr)&&(b(this,Bt).before(b(this,Pr)),ve(this,Pr,null)))},cs=function(e){b(this,Wt)&&(Ct(b(this,Wt)),ve(this,Wt,null)),b(this,Nt)&&(Ct(b(this,Nt)),ve(this,Nt,null)),b(this,Zt)&&(Ct(b(this,Zt)),ve(this,Zt,null)),le&&(ut(b(this,Za)),$t(),ut(Ca()));let r=b(this,lr).failed;const n=a=>{const{reset:o,invoke_onerror:i}=Pe(this,Xe,is).call(this,a);i(),r&&ve(this,Zt,Pe(this,Xe,Qo).call(this,()=>{try{return Ft(()=>{var s=ye;s.b=this,s.f|=ai,r(b(this,Bt),()=>a,()=>o)})}catch(s){return Lr(s,b(this,Rt).parent),null}}))};Ot(()=>{var a;try{a=this.transform_error(e)}catch(o){Lr(o,b(this,Rt)&&b(this,Rt).parent);return}a!==null&&typeof a=="object"&&typeof a.then=="function"?a.then(n,o=>Lr(o,b(this,Rt)&&b(this,Rt).parent)):n(a)})};let xo=!0;function ko(t){xo=t}function Q(t,e){var r=e==null?"":typeof e=="object"?`${e}`:e;r!==(t[_a]??(t[_a]=t.nodeValue))&&(t[_a]=r,t.nodeValue=`${r}`)}function yl(t,e){return wl(t,e)}function Mu(t,e){_i(),e.intro=e.intro??!1;const r=e.target,n=le,a=ge;try{for(var o=bt(r);o&&(o.nodeType!==Dn||o.data!==fs);)o=vr(o);if(!o)throw hn;Tt(!0),ut(o);const i=wl(t,{...e,anchor:o});return Tt(!1),i}catch(i){if(i instanceof Error&&i.message.split(`
|
|
2
|
+
`).some(s=>s.startsWith("https://svelte.dev/e/")))throw i;return i!==hn&&console.warn("Failed to hydrate: ",i),e.recover===!1&&jd(),_i(),Js(r),Tt(!1),yl(t,e)}finally{Tt(n),ut(a)}}const Co=new Map;function wl(t,{target:e,anchor:r,props:n={},events:a,context:o,intro:i=!0,transformError:s}){_i();var l=void 0,d=cu(()=>{var u=r??e.appendChild(Et());zu(u,{pending:()=>{}},v=>{He({});var m=nt;if(o&&(m.c=o),a&&(n.$$events=a),le&&Mt(v,null),xo=i,l=t(v,n)||ci(),xo=!0,le&&(ye.nodes.end=ge,ge===null||ge.nodeType!==Dn||ge.data!==ei))throw ka(),hn;Ue()},s);var h=new Set,f=v=>{for(var m=0;m<v.length;m++){var g=v[m];if(!h.has(g)){h.add(g);var y=$u(g);for(const F of[e,document]){var C=Co.get(F);C===void 0&&(C=new Map,Co.set(F,C));var z=C.get(g);z===void 0?(F.addEventListener(g,Li,{passive:y}),C.set(g,1)):C.set(g,z+1)}}}};return f(io(gl)),ki.add(f),()=>{var y;for(var v of h)for(const C of[e,document]){var m=Co.get(C),g=m.get(v);--g==0?(C.removeEventListener(v,Li),m.delete(v),m.size===0&&Co.delete(C)):m.set(v,g)}ki.delete(f),u!==r&&((y=u.parentNode)==null||y.removeChild(u))}});return Ei.set(l,d),l}let Ei=new WeakMap;function Pu(t,e){const r=Ei.get(t);return r?(Ei.delete(t),r(e)):Promise.resolve()}class $o{constructor(e,r=!0){rt(this,"anchor");xe(this,br,new Map);xe(this,Ir,new Map);xe(this,Yt,new Map);xe(this,zn,new Set);xe(this,Ja,!0);xe(this,Xa,e=>{if(b(this,br).has(e)){var r=b(this,br).get(e),n=b(this,Ir).get(r);if(n)bo(n),b(this,zn).delete(r);else{var a=b(this,Yt).get(r);a&&(bo(a.effect),b(this,Ir).set(r,a.effect),b(this,Yt).delete(r),a.fragment.lastChild.remove(),this.anchor.before(a.fragment),n=a.effect)}for(const[o,i]of b(this,br)){if(b(this,br).delete(o),o===e)break;const s=b(this,Yt).get(i);s&&(Ct(s.effect),b(this,Yt).delete(i))}for(const[o,i]of b(this,Ir)){if(o===r||b(this,zn).has(o))continue;const s=()=>{if(Array.from(b(this,br).values()).includes(o)){var d=document.createDocumentFragment();wi(i,d),d.append(Et()),b(this,Yt).set(o,{effect:i,fragment:d})}else Ct(i);b(this,zn).delete(o),b(this,Ir).delete(o)};b(this,Ja)||!n?(b(this,zn).add(o),gn(i,s,!1)):s()}}});xe(this,Ko,e=>{b(this,br).delete(e);const r=Array.from(b(this,br).values());for(const[n,a]of b(this,Yt))r.includes(n)||(Ct(a.effect),b(this,Yt).delete(n))});this.anchor=e,ve(this,Ja,r)}ensure(e,r){var n=oe,a=Xs();if(r&&!b(this,Ir).has(e)&&!b(this,Yt).has(e))if(a){var o=document.createDocumentFragment(),i=Et();o.append(i),b(this,Yt).set(e,{effect:Ft(()=>r(i)),fragment:o})}else b(this,Ir).set(e,Ft(()=>r(this.anchor)));if(b(this,br).set(n,e),a){for(const[s,l]of b(this,Ir))s===e?n.unskip_effect(l):n.skip_effect(l);for(const[s,l]of b(this,Yt))s===e?n.unskip_effect(l.effect):n.skip_effect(l.effect);n.oncommit(b(this,Xa)),n.ondiscard(b(this,Ko))}else le&&(this.anchor=ge),b(this,Xa).call(this,n)}}br=new WeakMap,Ir=new WeakMap,Yt=new WeakMap,zn=new WeakMap,Ja=new WeakMap,Xa=new WeakMap,Ko=new WeakMap;function Zn(t,e,...r){var n=new $o(t);Bn(()=>{const a=e()??null;n.ensure(a,a&&(o=>a(o,...r)))},Fr)}function Lo(t){nt===null&&Ls(),On&&nt.l!==null?Iu(nt).m.push(t):Hr(()=>{const e=st(t);if(typeof e=="function")return e})}function Pa(t){nt===null&&Ls(),Lo(()=>()=>st(t))}function Iu(t){var e=t.l;return e.u??(e.u={a:[],b:[],m:[]})}const xl=0,kl=1,Ru=2;function nn(t,e,r,n,a){le&&Cr();var o=qn(),i=dt,s=o?jr(i):Ea(i,!1,!1),l=o?jr(i):Ea(i,!1,!1),d=new $o(t);Bn(()=>{var u=oe,h=e(),f=!1;let v=le&&bs(h)===(t.data===no);if(v&&(ut(Ca()),Tt(!1)),bs(h)){var m=Is(),g=!1;const y=C=>{if(!f){g=!0,m(!1),oe===u&&u.deactivate(),qr.ensure();try{C()}finally{$a(!1),Hn||_t()}}};h.then(C=>{y(()=>{Gr(s,C),d.ensure(kl,n&&(z=>n(z,s)))})},C=>{y(()=>{if(Gr(l,C),d.ensure(Ru,a&&(z=>a(z,l))),!a)throw l.v})}),le?d.ensure(xl,r):Ot(()=>{g||y(()=>{d.ensure(xl,r)})})}else Gr(s,h),d.ensure(kl,n&&(y=>n(y,s)));return v&&Tt(!0),()=>{f=!0}})}function B(t,e,r=!1){var n;le&&(n=ge,Cr());var a=new $o(t),o=r?Fr:0;function i(s,l){if(le){var d=ks(n);if(s!==parseInt(d.substring(1))){var u=Ca();ut(u),a.anchor=u,Tt(!1),a.ensure(s,l),Tt(!0);return}}a.ensure(s,l)}Bn(()=>{var s=!1;e((l,d=0)=>{s=!0,i(d,l)}),s||i(-1,null)},o)}function Ia(t,e){return e}function Nu(t,e,r){for(var n=[],a=e.length,o,i=e.length,s=0;s<a;s++){let h=e[s];gn(h,()=>{if(o){if(o.pending.delete(h),o.done.add(h),o.pending.size===0){var f=t.outrogroups;Ai(t,io(o.done)),f.delete(o),f.size===0&&(t.outrogroups=null)}}else i-=1},!1)}if(i===0){var l=n.length===0&&r!==null&&t.pending.size===0;if(l){var d=r,u=d.parentNode;Js(u),u.append(d),t.items.clear()}Ai(t,e,!l)}else o={pending:new Set(e),done:new Set},(t.outrogroups??(t.outrogroups=new Set)).add(o)}function Ai(t,e,r=!0){var n;if(t.pending.size>0){n=new Set;for(const i of t.pending.values())for(const s of i)n.add(t.items.get(s).e)}for(var a=0;a<e.length;a++){var o=e[a];if(n!=null&&n.has(o)){o.f|=xr;const i=document.createDocumentFragment();wi(o,i)}else Ct(e[a],r)}}var Cl;function an(t,e,r,n,a,o=null){var i=t,s=new Map,l=(e&ds)!==0;if(l){var d=t;i=le?ut(bt(d)):d.appendChild(Et())}le&&Cr();var u=null,h=ui(()=>{var F=r();return ao(F)?F:F==null?[]:io(F)}),f,v=new Map,m=!0;function g(F){(z.effect.f&Dt)===0&&(z.pending.delete(F),z.fallback=u,Du(z,f,i,e,n),u!==null&&(f.length===0?(u.f&xr)===0?bo(u):(u.f^=xr,Na(u,null,i)):gn(u,()=>{u=null})))}function y(F){z.pending.delete(F)}var C=Bn(()=>{f=c(h);var F=f.length;let I=!1;if(le){var T=ks(i)===no;T!==(F===0)&&(i=Ca(),ut(i),Tt(!1),I=!0)}for(var w=new Set,k=oe,_=Xs(),p=0;p<F;p+=1){le&&ge.nodeType===Dn&&ge.data===ei&&(i=ge,I=!0,Tt(!1));var L=f[p],V=n(L,p),D=m?null:s.get(V);D?(D.v&&Gr(D.v,L),D.i&&Gr(D.i,p),_&&k.unskip_effect(D.e)):(D=Ou(s,m?i:Cl??(Cl=Et()),L,V,p,a,e,r),m||(D.e.f|=xr),s.set(V,D)),w.add(V)}if(F===0&&o&&!u&&(m?u=Ft(()=>o(i)):(u=Ft(()=>o(Cl??(Cl=Et()))),u.f|=xr)),F>w.size&&Nd(),le&&F>0&&ut(Ca()),!m)if(v.set(k,w),_){for(const[se,Ne]of s)w.has(se)||k.skip_effect(Ne.e);k.oncommit(g),k.ondiscard(y)}else g(k);I&&Tt(!0),c(h)}),z={effect:C,items:s,pending:v,outrogroups:null,fallback:u};m=!1,le&&(i=ge)}function Ra(t){for(;t!==null&&(t.f&Xt)===0;)t=t.next;return t}function Du(t,e,r,n,a){var L,V,D,se,Ne,Ce,me,_e,ue;var o=(n&hd)!==0,i=e.length,s=t.items,l=Ra(t.effect.first),d,u=null,h,f=[],v=[],m,g,y,C;if(o)for(C=0;C<i;C+=1)m=e[C],g=a(m,C),y=s.get(g).e,(y.f&xr)===0&&((V=(L=y.nodes)==null?void 0:L.a)==null||V.measure(),(h??(h=new Set)).add(y));for(C=0;C<i;C+=1){if(m=e[C],g=a(m,C),y=s.get(g).e,t.outrogroups!==null)for(const ne of t.outrogroups)ne.pending.delete(y),ne.done.delete(y);if((y.f&zt)!==0&&(bo(y),o&&((se=(D=y.nodes)==null?void 0:D.a)==null||se.unfix(),(h??(h=new Set)).delete(y))),(y.f&xr)!==0)if(y.f^=xr,y===l)Na(y,null,r);else{var z=u?u.next:l;y===t.effect.last&&(t.effect.last=y.prev),y.prev&&(y.prev.next=y.next),y.next&&(y.next.prev=y.prev),on(t,u,y),on(t,y,z),Na(y,z,r),u=y,f=[],v=[],l=Ra(u.next);continue}if(y!==l){if(d!==void 0&&d.has(y)){if(f.length<v.length){var F=v[0],I;u=F.prev;var T=f[0],w=f[f.length-1];for(I=0;I<f.length;I+=1)Na(f[I],F,r);for(I=0;I<v.length;I+=1)d.delete(v[I]);on(t,T.prev,w.next),on(t,u,T),on(t,w,F),l=F,u=w,C-=1,f=[],v=[]}else d.delete(y),Na(y,l,r),on(t,y.prev,y.next),on(t,y,u===null?t.effect.first:u.next),on(t,u,y),u=y;continue}for(f=[],v=[];l!==null&&l!==y;)(d??(d=new Set)).add(l),v.push(l),l=Ra(l.next);if(l===null)continue}(y.f&xr)===0&&f.push(y),u=y,l=Ra(y.next)}if(t.outrogroups!==null){for(const ne of t.outrogroups)ne.pending.size===0&&(Ai(t,io(ne.done)),(Ne=t.outrogroups)==null||Ne.delete(ne));t.outrogroups.size===0&&(t.outrogroups=null)}if(l!==null||d!==void 0){var k=[];if(d!==void 0)for(y of d)(y.f&zt)===0&&k.push(y);for(;l!==null;)(l.f&zt)===0&&l!==t.fallback&&k.push(l),l=Ra(l.next);var _=k.length;if(_>0){var p=(n&ds)!==0&&i===0?r:null;if(o){for(C=0;C<_;C+=1)(me=(Ce=k[C].nodes)==null?void 0:Ce.a)==null||me.measure();for(C=0;C<_;C+=1)(ue=(_e=k[C].nodes)==null?void 0:_e.a)==null||ue.fix()}Nu(t,k,p)}}o&&Ot(()=>{var ne,O;if(h!==void 0)for(y of h)(O=(ne=y.nodes)==null?void 0:ne.a)==null||O.apply()})}function Ou(t,e,r,n,a,o,i,s){var l=(i&ro)!==0?(i&md)===0?Ea(r,!1,!1):jr(r):null,d=(i&fd)!==0?jr(a):null;return{v:l,i:d,e:Ft(()=>(o(e,l??r,d??a,s),()=>{t.delete(n)}))}}function Na(t,e,r){if(t.nodes)for(var n=t.nodes.start,a=t.nodes.end,o=e&&(e.f&xr)===0?e.nodes.start:r;n!==null;){var i=vr(n);if(o.before(n),n===a)return;n=i}}function on(t,e,r){e===null?t.effect.first=r:e.next=r,r===null?t.effect.last=e:r.prev=e}function sn(t,e,r=!1,n=!1,a=!1,o=!1){var i=t,s="";if(r){var l=t;le&&(i=ut(bt(l)))}G(()=>{var d=ye;if(s===(s=e()??"")){le&&Cr();return}if(r&&!le){d.nodes=null,l.innerHTML=s,s!==""&&Mt(bt(l),l.lastChild);return}if(d.nodes!==null&&(nl(d.nodes.start,d.nodes.end),d.nodes=null),s!==""){if(le){ge.data;for(var u=Cr(),h=u;u!==null&&(u.nodeType!==Dn||u.data!=="");)h=u,u=vr(u);if(u===null)throw ka(),hn;Mt(ge,h),i=ut(u);return}var f=n?vs:a?xd:void 0,v=za(n?"svg":a?"math":"template",f);v.innerHTML=s;var m=n||a?v:v.content;if(Mt(bt(m),m.lastChild),n||a)for(;bt(m);)i.before(bt(m));else i.before(m)}})}function At(t,e,r,n,a){var s,l;if(le&&Cr(),(s=e.$$host)!=null&&s.$$shadowRoot){const d=za("slot");if(r!=="default"&&(d.name=r),x(t,d),a!==null){const u=Et();d.append(u),a(u)}return}var o=(l=e.$$slots)==null?void 0:l[r],i=!1;o===!0&&(o=e[r==="default"?"children":r],i=!0),o===void 0?a!==null&&a(t):o(t,i?()=>n:n)}const Fu=()=>performance.now(),Br={tick:t=>requestAnimationFrame(t),now:()=>Fu(),tasks:new Set};function $l(){const t=Br.now();Br.tasks.forEach(e=>{e.c(t)||(Br.tasks.delete(e),e.f())}),Br.tasks.size!==0&&Br.tick($l)}function qu(t){let e;return Br.tasks.size===0&&Br.tick($l),{promise:new Promise(r=>{Br.tasks.add(e={c:t,f:r})}),abort(){Br.tasks.delete(e)}}}function So(t,e){rn(()=>{t.dispatchEvent(new CustomEvent(e))})}function ju(t){if(t==="float")return"cssFloat";if(t==="offset")return"cssOffset";if(t.startsWith("--"))return t;const e=t.split("-");return e.length===1?e[0]:e[0]+e.slice(1).map(r=>r[0].toUpperCase()+r.slice(1)).join("")}function Ll(t){const e={},r=t.split(";");for(const n of r){const[a,o]=n.split(":");if(!a||o===void 0)break;const i=ju(a.trim());e[i]=o.trim()}return e}const Gu=t=>t;function Hu(t,e,r,n){var y;var a=(t&yd)!==0,o="both",i,s=e.inert,l=e.style.overflow,d,u;function h(){return rn(()=>i??(i=r()(e,(n==null?void 0:n())??{},{direction:o})))}var f={is_global:a,in(){e.inert=s,d=zi(e,h(),u,1,()=>{So(e,"introstart")},()=>{So(e,"introend"),d==null||d.abort(),d=i=void 0,e.style.overflow=l})},out(C){e.inert=!0,u=zi(e,h(),d,0,()=>{So(e,"outrostart")},()=>{So(e,"outroend"),C==null||C()})},stop:()=>{d==null||d.abort(),u==null||u.abort()}},v=ye;if(((y=v.nodes).t??(y.t=[])).push(f),xo){var m=a;if(!m){for(var g=v.parent;g&&(g.f&Fr)!==0;)for(;(g=g.parent)&&(g.f&Jt)===0;);m=!g||(g.f&en)!==0}m&&Ta(()=>{st(()=>f.in())})}}function zi(t,e,r,n,a,o){var i=n===1,s=!1;if(Pn(e)){var l;return Ot(()=>{if(!s){var g=e({direction:i?"in":"out"});l=zi(t,g,r,n,a,o)}}),{abort:()=>{s=!0,l==null||l.abort()},deactivate:()=>l.deactivate(),reset:()=>l.reset(),t:()=>l.t()}}if(r==null||r.deactivate(),!(e!=null&&e.duration)&&!(e!=null&&e.delay))return a(),o(),{abort:In,deactivate:In,reset:In,t:()=>n};const{delay:d=0,css:u,tick:h,easing:f=Gu}=e;var v,m=()=>1-n;return Ot(()=>{if(!s){var g=[];if(i&&r===void 0&&(h&&h(0,1),u)){var y=Ll(u(0,1));g.push(y,y)}v=t.animate(g,{duration:d,fill:"forwards"}),v.onfinish=()=>{v.cancel(),a();var C=(r==null?void 0:r.t())??1-n;r==null||r.abort();var z=n-C,F=e.duration*Math.abs(z),I=[];if(F>0){var T=!1;if(u)for(var w=Math.ceil(F/16.666666666666668),k=0;k<=w;k+=1){var _=C+z*f(k/w),p=Ll(u(_,1-_));I.push(p),T||(T=p.overflow==="hidden")}T&&(t.style.overflow="hidden"),m=()=>{var L=v.currentTime;return C+z*f(L/F)},h&&qu(()=>{if(v.playState!=="running")return!1;var L=m();return h(L,1-L),!0})}v=t.animate(I,{duration:F,fill:"forwards"}),v.onfinish=()=>{m=()=>n,h==null||h(n,1-n),o()}}}}),{abort:()=>{s=!0,v&&(v.cancel(),v.effect=null,v.onfinish=In)},deactivate:()=>{o=In},reset:()=>{n===0&&(h==null||h(1,0))},t:()=>m()}}function Ut(t,e,r,n,a,o){let i=le;le&&Cr();var s=null;le&&ge.nodeType===zd&&(s=ge,Cr());var l=le?ge:t,d=new $o(l,!1);Bn(()=>{const u=e()||null;var h=u==="svg"?vs:void 0;if(u===null){d.ensure(null,null),ko(!0);return}return d.ensure(u,f=>{if(u){if(s=le?s:za(u,h),Mt(s,s),n){var v=null;le&&Su(u)&&s.append(v=document.createComment(""));var m=le?bt(s):s.appendChild(Et());le&&(m===null?Tt(!1):ut(m)),n(s,m),v==null||v.remove()}ye.nodes.end=s,f.before(s)}le&&ut(f)}),ko(!0),()=>{u&&ko(!1)}},Fr),_o(()=>{ko(!0)}),i&&(Tt(!0),ut(l))}function Uu(t,e){var r=void 0,n;tl(()=>{r!==(r=e())&&(n&&(Ct(n),n=null),r&&(n=Ft(()=>{Ta(()=>r(t))})))})}function Sl(t){var e,r,n="";if(typeof t=="string"||typeof t=="number")n+=t;else if(typeof t=="object")if(Array.isArray(t)){var a=t.length;for(e=0;e<a;e++)t[e]&&(r=Sl(t[e]))&&(n&&(n+=" "),n+=r)}else for(r in t)t[r]&&(n&&(n+=" "),n+=r);return n}function Vu(){for(var t,e,r=0,n="",a=arguments.length;r<a;r++)(t=arguments[r])&&(e=Sl(t))&&(n&&(n+=" "),n+=e);return n}function Ve(t){return typeof t=="object"?Vu(t):t??""}const El=[...`
|
|
3
|
+
\r\f \v\uFEFF`];function Bu(t,e,r){var n=t==null?"":""+t;if(r){for(var a of Object.keys(r))if(r[a])n=n?n+" "+a:a;else if(n.length)for(var o=a.length,i=0;(i=n.indexOf(a,i))>=0;){var s=i+o;(i===0||El.includes(n[i-1]))&&(s===n.length||El.includes(n[s]))?n=(i===0?"":n.substring(0,i))+n.substring(s+1):i=s}}return n===""?null:n}function Al(t,e=!1){var r=e?" !important;":";",n="";for(var a of Object.keys(t)){var o=t[a];o!=null&&o!==""&&(n+=" "+a+": "+o+r)}return n}function Ti(t){return t[0]!=="-"||t[1]!=="-"?t.toLowerCase():t}function Wu(t,e){if(e){var r="",n,a;if(Array.isArray(e)?(n=e[0],a=e[1]):n=e,t){t=String(t).replaceAll(/\/\*.*?\*\//g,"").trim();var o=!1,i=0,s=!1,l=[];n&&l.push(...Object.keys(n).map(Ti)),a&&l.push(...Object.keys(a).map(Ti));var d=0,u=-1;const g=t.length;for(var h=0;h<g;h++){var f=t[h];if(s?f==="/"&&t[h-1]==="*"&&(s=!1):o?o===f&&(o=!1):f==="/"&&t[h+1]==="*"?s=!0:f==='"'||f==="'"?o=f:f==="("?i++:f===")"&&i--,!s&&o===!1&&i===0){if(f===":"&&u===-1)u=h;else if(f===";"||h===g-1){if(u!==-1){var v=Ti(t.substring(d,u).trim());if(!l.includes(v)){f!==";"&&h++;var m=t.substring(d,h).trim();r+=" "+m+";"}}d=h+1,u=-1}}}}return n&&(r+=Al(n)),a&&(r+=Al(a,!0)),r=r.trim(),r===""?null:r}return t==null?null:String(t)}function je(t,e,r,n,a,o){var i=t[si];if(le||i!==r||i===void 0){var s=Bu(r,n,o);(!le||s!==t.getAttribute("class"))&&(s==null?t.removeAttribute("class"):e?t.className=s:t.setAttribute("class",s)),t[si]=r}else if(o&&a!==o)for(var l in o){var d=!!o[l];(a==null||d!==!!a[l])&&t.classList.toggle(l,d)}return o}function Mi(t,e={},r,n){for(var a in r){var o=r[a];e[a]!==o&&(r[a]==null?t.style.removeProperty(a):t.style.setProperty(a,o,n))}}function Zu(t,e,r,n){var a=t[li];if(le||a!==e){var o=Wu(e,n);(!le||o!==t.getAttribute("style"))&&(o==null?t.removeAttribute("style"):t.style.cssText=o),t[li]=e}else n&&(Array.isArray(n)?(Mi(t,r==null?void 0:r[0],n[0]),Mi(t,r==null?void 0:r[1],n[1],"important")):Mi(t,r,n));return n}function zl(t,e){e?t.hasAttribute("selected")||t.setAttribute("selected",""):t.removeAttribute("selected")}function Tl(t,e){var r=!("__defaultValue"in t);!r&&t.__defaultValue===e||(t.__defaultValue=e,Ml(t,!r||"__value"in t))}function Ml(t,e){var r=t.__defaultValue,n=t.multiple,a=n?r??[]:null;if(!(n&&!ao(a))){var o=t.selectedIndex,i=e&&n?new Set(t.selectedOptions):null;for(var s of t.options){var l=Yn(s);zl(s,n?a.includes(l):Bs(l,r))}if(e)if(i!==null)for(s of t.options){var d=i.has(s);s.selected!==d&&(s.selected=d)}else t.selectedIndex!==o&&(t.selectedIndex=o)}}function Da(t,e,r=!1){if(t.multiple){if(e==null)return;if(!ao(e))return Md();for(var n of t.options)n.selected=e.includes(Yn(n));return}for(n of t.options){var a=Yn(n);if(Bs(a,e)){n.selected=!0;return}}(!r||e!==void 0)&&(t.selectedIndex=-1)}function Pl(t){var e=new MutationObserver(r=>{r.every(Ku)||("__defaultValue"in t&&Ml(t,!1),"__value"in t&&Da(t,t.__value))});e.observe(t,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["value"]}),_o(()=>{e.disconnect()})}function Yu(t,e,r=e){var n=new WeakSet,a=!0;Ms(t,"change",o=>{var i=o?"[selected]":":checked",s;if(t.multiple)s=[].map.call(t.querySelectorAll(i),Yn);else{var l=t.querySelector(i)??t.querySelector("option:not([disabled])");s=l&&Yn(l)}r(s),t.__value=s,oe!==null&&n.add(oe)}),Ta(()=>{var o=e();if(t===document.activeElement){var i=oe;if(n.has(i))return}if(Da(t,o,a),a&&o===void 0){var s=t.querySelector(":checked");s!==null&&(o=Yn(s),r(o))}t.__value=o,a=!1})}function Yn(t){return"__value"in t?t.__value:t.value}function Ku(t){if(t.target.closest("selectedcontent")!==null)return!0;if(t.type==="childList"){var e=[...t.addedNodes,...t.removedNodes];return e.length>0&&e.every(r=>r.nodeName==="SELECTEDCONTENT")}return!1}const Oa=Symbol("class"),Fa=Symbol("style"),Il=Symbol("is custom element"),Rl=Symbol("is html"),Ju=wa?"link":"LINK",Nl=wa?"input":"INPUT",Xu=wa?"option":"OPTION",Dl=wa?"select":"SELECT",Qu=wa?"progress":"PROGRESS";function Pi(t){if(le){var e=!1,r=()=>{if(!e){if(e=!0,t.hasAttribute("value")){var n=t.value;Ee(t,"value",null),t.value=n}if(t.hasAttribute("checked")){var a=t.checked;Ee(t,"checked",null),t.checked=a}}};t[ba]=r,Ot(r),Ts()}}function e1(t,e){var r=Eo(t);r.value===(r.value=e??void 0)||t.value===e&&(e!==0||t.nodeName!==Qu)||(t.value=e??"")}function t1(t,e){var r=Eo(t);r.checked!==(r.checked=e??void 0)&&(t.checked=e)}function Ee(t,e,r,n){var a=Eo(t);le&&(a[e]=t.getAttribute(e),e==="src"||e==="srcset"||e==="href"&&t.nodeName===Ju)||a[e]!==(a[e]=r)&&(e==="loading"&&(t[Ad]=r),r==null?t.removeAttribute(e):typeof r!="string"&&Fl(t).has(e)?t[e]=r:t.setAttribute(e,r))}function r1(t,e,r,n,a=!1,o=!1){le&&a&&t.nodeName===Nl&&("defaultValue"in r||"defaultChecked"in r||Pi(t));var i=Eo(t),s=i[Il],l=!i[Rl];let d=le&&s;d&&Tt(!1);var u=e||{},h=t.nodeName===Xu,f=t.nodeName===Dl;for(var v in e)!(v in r)&&v[0]+v[1]!=="$$"&&(r[v]=null);r.class?r.class=Ve(r.class):r[Oa]&&(r.class=null),r[Fa]&&(r.style??(r.style=null));var m=Fl(t);if(t.nodeName===Nl&&"type"in r&&("value"in r||"__value"in r)){var g=r.type;(g!==u.type||g===void 0&&t.hasAttribute("type"))&&(u.type=g,Ee(t,"type",g))}for(const w in r){let k=r[w];if(h&&w==="value"&&k==null){t.value=t.__value="",u[w]=k;continue}if(w==="class"){var y=t.namespaceURI==="http://www.w3.org/1999/xhtml";je(t,y,k,n,e==null?void 0:e[Oa],r[Oa]),u[w]=k,u[Oa]=r[Oa];continue}if(w==="style"){Zu(t,k,e==null?void 0:e[Fa],r[Fa]),u[w]=k,u[Fa]=r[Fa];continue}var C=u[w];if(!(k===C&&!(k===void 0&&t.hasAttribute(w)))){u[w]=k;var z=w[0]+w[1];if(z!=="$$")if(z==="on"){const _={},p="$$"+w;let L=w.slice(2);var F=wu(L);if(bu(L)&&(L=L.slice(0,-7),_.capture=!0),!F&&C){if(k!=null)continue;t.removeEventListener(L,u[p],_),u[p]=null}if(F)or(L,t,k),Vr([L]);else if(k!=null){let V=function(D){u[w].call(this,D)};u[p]=_l(L,t,V,_)}}else if(w==="style")Ee(t,w,k);else if(w==="autofocus")Xd(t,!!k);else if(!s&&(w==="__value"||w==="value"&&k!=null))t.value=t.__value=k;else if(w==="selected"&&h)zl(t,k);else{var I=w;l||(I=ku(I));var T=I==="defaultValue"||I==="defaultChecked";if(f&&I==="defaultValue")continue;if(k==null&&!s&&!T)if(i[w]=null,I==="value"||I==="checked"){let _=t;const p=e===void 0;if(I==="value"){let L=_.defaultValue;_.removeAttribute(I),_.defaultValue=L,_.value=_.__value=p?L:null}else{let L=_.defaultChecked;_.removeAttribute(I),_.defaultChecked=L,_.checked=p?L:!1}}else t.removeAttribute(w);else T||(s||typeof k!="string")&&m.has(I)?(t[I]=k,I in i&&(i[I]=dt)):typeof k!="function"&&Ee(t,I,k)}}}return d&&Tt(!0),u}function yt(t,e,r=[],n=[],a=[],o,i=!1,s=!1){Ps(a,r,n,l=>{var d=void 0,u={},h=t.nodeName===Dl,f=!1;if(tl(()=>{var m=e(...l.map(c)),g=r1(t,d,m,o,i,s);if(f&&h){var y=t;"defaultValue"in m&&Tl(y,m.defaultValue),"value"in m&&Da(y,m.value)}for(let z of Object.getOwnPropertySymbols(u))m[z]||Ct(u[z]);for(let z of Object.getOwnPropertySymbols(m)){var C=m[z];z.description===kd&&(!d||C!==d[z])&&(u[z]&&Ct(u[z]),u[z]=Ft(()=>Uu(t,()=>C))),g[z]=C}d=g}),h){var v=t;Ta(()=>{var m=d;"defaultValue"in m&&Tl(v,m.defaultValue),Da(v,m.value,!0),Pl(v)})}f=!0})}function Eo(t){return t[fo]??(t[fo]={[Il]:t.nodeName.includes("-"),[Rl]:t.namespaceURI===ms})}var Ol=new Map;function Fl(t){var e=t.getAttribute("is")||t.nodeName,r=Ol.get(e);if(r)return r;Ol.set(e,r=new Set);for(var n,a=t,o=Element.prototype;o!==a;){n=gs(a);for(var i in n)n[i].set&&i!=="innerHTML"&&i!=="textContent"&&i!=="innerText"&&r.add(i);a=ti(a)}return r}function n1(t,e,r=e){var n=new WeakSet;Ms(t,"input",async a=>{var o=a?t.defaultValue:t.value;if(o=Ii(t)?Ri(o):o,r(o),oe!==null&&n.add(oe),await pu(),o!==(o=e())){var i=t.selectionStart,s=t.selectionEnd,l=t.value.length;if(t.value=o??"",s!==null){var d=t.value.length;i===s&&s===l&&d>l?(t.selectionStart=d,t.selectionEnd=d):(t.selectionStart=i,t.selectionEnd=Math.min(s,d))}}}),(le&&t.defaultValue!==t.value||st(e)==null&&t.value)&&(r(Ii(t)?Ri(t.value):t.value),oe!==null&&n.add(oe)),Vn(()=>{var a=e();if(t===document.activeElement){var o=oe;if(n.has(o))return}Ii(t)&&a===Ri(t.value)||t.type==="date"&&!a&&!t.value||a!==t.value&&(t.value=a??"")})}function Ii(t){var e=t.type;return e==="number"||e==="range"}function Ri(t){return t===""?null:+t}function Ni(t,e){return t===e||(t==null?void 0:t[kr])===e}function Ao(t=ci(),e,r,n){var a=nt.r,o=ye;return Ta(()=>{var i,s;return Vn(()=>{i=s,s=[],st(()=>{Ni(r(...s),t)||(e(t,...s),i&&Ni(r(...i),t)&&e(null,...i))})}),()=>{let l=o;for(;l!==a&&l.parent!==null&&l.parent.f&lo;)l=l.parent;const d=()=>{s&&Ni(r(...s),t)&&e(null,...s)},u=l.teardown;l.teardown=()=>{d(),u==null||u()}}}),t}function Di(t=!1){const e=nt,r=e.l.u;if(!r)return;let n=()=>ft(e.s);if(t){let a=0,o={};const i=jn(()=>{let s=!1;const l=e.s;for(const d in l)l[d]!==o[d]&&(o[d]=l[d],s=!0);return s&&a++,a});n=()=>c(i)}r.b.length&&su(()=>{ql(e,n),ri(r.b)}),Hr(()=>{const a=st(()=>r.m.map(Sd));return()=>{for(const o of a)typeof o=="function"&&o()}}),r.a.length&&Hr(()=>{ql(e,n),ri(r.a)})}function ql(t,e){if(t.l.s)for(const r of t.l.s)c(r);e()}const a1={get(t,e){if(!t.exclude.has(e))return t.props[e]},set(t,e){return!1},getOwnPropertyDescriptor(t,e){if(!t.exclude.has(e)&&e in t.props)return{enumerable:!0,configurable:!0,value:t.props[e]}},has(t,e){return t.exclude.has(e)?!1:e in t.props},ownKeys(t){return Reflect.ownKeys(t.props).filter(e=>!t.exclude.has(e))}};function Vt(t,e,r){return new Proxy({props:t,exclude:e},a1)}const o1={get(t,e){let r=t.props.length;for(;r--;){let n=t.props[r];if(Pn(n)&&(n=n()),typeof n=="object"&&n!==null&&e in n)return n[e]}},set(t,e,r){let n=t.props.length;for(;n--;){let a=t.props[n];Pn(a)&&(a=a());const o=Or(a,e);if(o&&o.set)return o.set(r),!0}return!1},getOwnPropertyDescriptor(t,e){let r=t.props.length;for(;r--;){let n=t.props[r];if(Pn(n)&&(n=n()),typeof n=="object"&&n!==null&&e in n){const a=Or(n,e);return a&&!a.configurable&&(a.configurable=!0),a}}},has(t,e){if(e===kr||e===ii)return!1;for(let r of t.props)if(Pn(r)&&(r=r()),r!=null&&e in r)return!0;return!1},ownKeys(t){const e=[];for(let r of t.props)if(Pn(r)&&(r=r()),!!r){for(const n in r)e.includes(n)||e.push(n);for(const n of Object.getOwnPropertySymbols(r))e.includes(n)||e.push(n)}return e}};function Wr(...t){return new Proxy({props:t},o1)}function ee(t,e,r,n){var I;var a=!On||(r&pd)!==0,o=(r&_d)!==0,i=(r&bd)!==0,s=n,l=!0,d=void 0,u=()=>i&&a?(d??(d=jn(n)),c(d)):(l&&(l=!1,s=i?st(n):n),s);let h;if(o){var f=kr in t||ii in t;h=((I=Or(t,e))==null?void 0:I.set)??(f&&e in t?T=>t[e]=T:void 0)}var v,m=!1;o?[v,m]=Jd(()=>t[e]):v=t[e],v===void 0&&n!==void 0&&(v=u(),h&&(a&&Gd(),h(v)));var g;if(a?g=()=>{var T=t[e];return T===void 0?u():(l=!0,T)}:g=()=>{var T=t[e];return T!==void 0&&(s=void 0),T===void 0?s:T},a&&(r&gd)===0)return g;if(h){var y=t.$$legacy;return(function(T,w){return arguments.length>0?((!a||!w||y||m)&&h(w?g():T),T):g()})}var C=!1,z=((r&vd)!==0?jn:ui)(()=>(C=!1,g()));o&&c(z);var F=ye;return(function(T,w){if(arguments.length>0){const k=w?c(z):a&&o?mr(T):T;return P(z,k),C=!0,s!==void 0&&(s=k),T}return Ur&&C||(F.f&Dt)!==0?z.v:c(z)})}function i1(t){return new s1(t)}class s1{constructor(e){xe(this,Xr);xe(this,cr);var o;var r=new Map,n=(i,s)=>{var l=Ea(s,!1,!1);return r.set(i,l),l};const a=new Proxy({...e.props||{},$$events:{}},{get(i,s){return c(r.get(s)??n(s,Reflect.get(i,s)))},has(i,s){return s===ii?!0:(c(r.get(s)??n(s,Reflect.get(i,s))),Reflect.has(i,s))},set(i,s,l){return P(r.get(s)??n(s,l),l),Reflect.set(i,s,l)}});ve(this,cr,(e.hydrate?Mu:yl)(e.component,{target:e.target,anchor:e.anchor,props:a,context:e.context,intro:e.intro??!1,recover:e.recover,transformError:e.transformError})),(!((o=e==null?void 0:e.props)!=null&&o.$$host)||e.sync===!1)&&_t(),ve(this,Xr,a.$$events);for(const i of Object.keys(b(this,cr)))i==="$set"||i==="$destroy"||i==="$on"||pa(this,i,{get(){return b(this,cr)[i]},set(s){b(this,cr)[i]=s},enumerable:!0});b(this,cr).$set=i=>{Object.assign(a,i)},b(this,cr).$destroy=()=>{Pu(b(this,cr))}}$set(e){b(this,cr).$set(e)}$on(e,r){b(this,Xr)[e]=b(this,Xr)[e]||[];const n=(...a)=>r.call(this,...a);return b(this,Xr)[e].push(n),()=>{b(this,Xr)[e]=b(this,Xr)[e].filter(a=>a!==n)}}$destroy(){b(this,cr).$destroy()}}Xr=new WeakMap,cr=new WeakMap;let jl;typeof HTMLElement=="function"&&(jl=class extends HTMLElement{constructor(e,r,n){super();rt(this,"$$ctor");rt(this,"$$s");rt(this,"$$c");rt(this,"$$cn",!1);rt(this,"$$d",{});rt(this,"$$r",!1);rt(this,"$$p_d",{});rt(this,"$$l",{});rt(this,"$$l_u",new Map);rt(this,"$$me");rt(this,"$$shadowRoot",null);this.$$ctor=e,this.$$s=r,n&&(this.$$shadowRoot=this.attachShadow(n))}addEventListener(e,r,n){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(r),this.$$c){const a=this.$$c.$on(e,r);this.$$l_u.set(r,a)}super.addEventListener(e,r,n)}removeEventListener(e,r,n){if(super.removeEventListener(e,r,n),this.$$c){const a=this.$$l_u.get(r);a&&(a(),this.$$l_u.delete(r))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let e=function(a){return o=>{const i=za("slot");a!=="default"&&(i.name=a),x(o,i)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const r={},n=l1(this);for(const a of this.$$s)a in n&&(a==="default"&&!this.$$d.children?(this.$$d.children=e(a),r.default=!0):r[a]=e(a));for(const a of this.attributes){const o=this.$$g_p(a.name);o in this.$$d||(this.$$d[o]=zo(o,a.value,this.$$p_d,"toProp"))}for(const a in this.$$p_d)!(a in this.$$d)&&this[a]!==void 0&&(this.$$d[a]=this[a],delete this[a]);this.$$c=i1({component:this.$$ctor,target:this.$$shadowRoot||this,props:{...this.$$d,$$slots:r,$$host:this}}),this.$$me=lu(()=>{Vn(()=>{var a;this.$$r=!0;for(const o of so(this.$$c)){if(!((a=this.$$p_d[o])!=null&&a.reflect))continue;this.$$d[o]=this.$$c[o];const i=zo(o,this.$$d[o],this.$$p_d,"toAttribute");i==null?this.removeAttribute(this.$$p_d[o].attribute||o):this.setAttribute(this.$$p_d[o].attribute||o,i)}this.$$r=!1})});for(const a in this.$$l)for(const o of this.$$l[a]){const i=this.$$c.$on(a,o);this.$$l_u.set(o,i)}this.$$l={}}}attributeChangedCallback(e,r,n){var a;this.$$r||(e=this.$$g_p(e),this.$$d[e]=zo(e,n,this.$$p_d,"toProp"),(a=this.$$c)==null||a.$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 so(this.$$p_d).find(r=>this.$$p_d[r].attribute===e||!this.$$p_d[r].attribute&&r.toLowerCase()===e)||e}});function zo(t,e,r,n){var o;const a=(o=r[t])==null?void 0:o.type;if(e=a==="Boolean"&&typeof e!="boolean"?e!=null:e,!n||!r[t])return e;if(n==="toAttribute")switch(a){case"Object":case"Array":return e==null?null:JSON.stringify(e);case"Boolean":return e?"":null;case"Number":return e??null;default:return e}else switch(a){case"Object":case"Array":return e&&JSON.parse(e);case"Boolean":return e;case"Number":return e!=null?+e:e;default:return e}}function l1(t){const e={};return t.childNodes.forEach(r=>{e[r.slot||"default"]=!0}),e}function xn(t,e,r,n,a,o){let i=class extends jl{constructor(){super(t,r,a),this.$$p_d=e}static get observedAttributes(){return so(e).map(s=>(e[s].attribute||s).toLowerCase())}};return so(e).forEach(s=>{pa(i.prototype,s,{get(){return this.$$c&&s in this.$$c?this.$$c[s]:this.$$d[s]},set(l){var h;l=zo(s,l,e),this.$$d[s]=l;var d=this.$$c;if(d){var u=(h=Or(d,s))==null?void 0:h.get;u?d[s]=l:d.$set({[s]:l})}}})}),n.forEach(s=>{pa(i.prototype,s,{get(){var l;return(l=this.$$c)==null?void 0:l[s]}})}),o&&(i=o(i)),t.element=i,i}function qa(t){return class extends t{constructor(){super(...arguments);rt(this,"sesamyAwaitingParse",!1)}connectedCallback(){var n;const r=t.prototype;if(document.readyState==="loading"){if(this.sesamyAwaitingParse)return;this.sesamyAwaitingParse=!0,document.addEventListener("DOMContentLoaded",()=>{var a;this.sesamyAwaitingParse=!1,this.isConnected&&((a=r.connectedCallback)==null||a.call(this))},{once:!0});return}(n=r.connectedCallback)==null||n.call(this)}}}const c1=`*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.absolute{position:absolute}.relative{position:relative}.inset-0{top:0;right:0;bottom:0;left:0}.-right-1\\.5{right:calc(-.375 * var(--s-base-font-size, 16px))}.bottom-0{bottom:0}.bottom-1{bottom:calc(.25 * var(--s-base-font-size, 16px))}.bottom-px{bottom:1px}.left-0{left:0}.left-1\\/2{left:50%}.left-4{left:calc(1 * var(--s-base-font-size, 16px))}.left-\\[84px\\]{left:84px}.left-px{left:1px}.right-0{right:0}.right-4{right:calc(1 * var(--s-base-font-size, 16px))}.top-0{top:0}.top-1\\/2{top:50%}.top-2{top:calc(.5 * var(--s-base-font-size, 16px))}.top-5{top:calc(1.25 * var(--s-base-font-size, 16px))}.top-full{top:100%}.z-10{z-index:10}.z-20{z-index:20}.z-\\[--s-login-popup-zindex\\]{z-index:var(--s-login-popup-zindex)}.-m-px{margin:-1px}.mx-auto{margin-left:auto;margin-right:auto}.my-px{margin-top:1px;margin-bottom:1px}.-mb-0\\.5{margin-bottom:calc(-.125 * var(--s-base-font-size, 16px))}.-mt-px{margin-top:-1px}.mb-2{margin-bottom:calc(.5 * var(--s-base-font-size, 16px))}.mb-3{margin-bottom:calc(.75 * var(--s-base-font-size, 16px))}.mb-6{margin-bottom:calc(1.5 * var(--s-base-font-size, 16px))}.mr-2{margin-right:calc(.5 * var(--s-base-font-size, 16px))}.mt-0{margin-top:0}.mt-0\\.5{margin-top:calc(.125 * var(--s-base-font-size, 16px))}.mt-1\\.5{margin-top:calc(.375 * var(--s-base-font-size, 16px))}.mt-2{margin-top:calc(.5 * var(--s-base-font-size, 16px))}.mt-4{margin-top:calc(1 * var(--s-base-font-size, 16px))}.line-clamp-1{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.grid{display:grid}.contents{display:contents}.hidden{display:none}.aspect-\\[4\\/3\\]{aspect-ratio:4/3}.h-1\\.5{height:calc(.375 * var(--s-base-font-size, 16px))}.h-12{height:calc(3 * var(--s-base-font-size, 16px))}.h-16{height:calc(4 * var(--s-base-font-size, 16px))}.h-3\\/4{height:75%}.h-4{height:calc(1 * var(--s-base-font-size, 16px))}.h-6{height:calc(1.5 * var(--s-base-font-size, 16px))}.h-7{height:calc(1.75 * var(--s-base-font-size, 16px))}.h-8{height:calc(2 * var(--s-base-font-size, 16px))}.h-full{height:100%}.h-px{height:1px}.w-1\\.5{width:calc(.375 * var(--s-base-font-size, 16px))}.w-10{width:calc(2.5 * var(--s-base-font-size, 16px))}.w-12{width:calc(3 * var(--s-base-font-size, 16px))}.w-16{width:calc(4 * var(--s-base-font-size, 16px))}.w-3\\/4{width:75%}.w-4{width:calc(1 * var(--s-base-font-size, 16px))}.w-8{width:calc(2 * var(--s-base-font-size, 16px))}.w-\\[--s-login-popup-width\\]{width:var(--s-login-popup-width)}.w-\\[calc\\(100\\%\\+1px\\)\\]{width:calc(100% + 1px)}.w-\\[calc\\(100\\%\\+2px\\)\\]{width:calc(100% + 2px)}.w-full{width:100%}.max-w-\\[600px\\]{max-width:600px}.max-w-\\[800px\\]{max-width:800px}.max-w-\\[var\\(--s-paywall-max-width\\)\\]{max-width:var(--s-paywall-max-width)}.max-w-full{max-width:100%}.flex-1{flex:1 1 0%}.shrink-0{flex-shrink:0}.-translate-x-1\\/2{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-3\\.5{--tw-translate-y: calc(-.875 * var(--s-base-font-size, 16px));transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-\\[calc\\(50\\%\\+theme\\(space\\.3\\)\\)\\]{--tw-translate-y: calc(calc(50% + calc(.75 * var(--s-base-font-size, 16px))) * -1);transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-px{--tw-translate-y: -1px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-3{--tw-rotate: 3deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-45{--tw-rotate: 45deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}.auto-rows-fr{grid-auto-rows:minmax(0,1fr)}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-rows-\\[0fr\\]{grid-template-rows:0fr}.grid-rows-\\[1fr\\]{grid-template-rows:1fr}.\\!flex-nowrap{flex-wrap:nowrap!important}.items-center{align-items:center}.justify-center{justify-content:center}.\\!justify-between{justify-content:space-between!important}.gap-1{gap:calc(.25 * var(--s-base-font-size, 16px))}.gap-1\\.5{gap:calc(.375 * var(--s-base-font-size, 16px))}.gap-2{gap:calc(.5 * var(--s-base-font-size, 16px))}.gap-3{gap:calc(.75 * var(--s-base-font-size, 16px))}.gap-4{gap:calc(1 * var(--s-base-font-size, 16px))}.gap-6{gap:calc(1.5 * var(--s-base-font-size, 16px))}.space-y-0\\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(calc(.125 * var(--s-base-font-size, 16px)) * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(calc(.125 * var(--s-base-font-size, 16px)) * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(calc(.5 * var(--s-base-font-size, 16px)) * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(calc(.5 * var(--s-base-font-size, 16px)) * var(--tw-space-y-reverse))}.overflow-hidden{overflow:hidden}.whitespace-nowrap{white-space:nowrap}.break-all{word-break:break-all}.rounded{border-radius:calc(.25 * var(--s-base-font-size, 16px))}.rounded-\\[--s-login-button-border-radius\\]{border-radius:var(--s-login-button-border-radius)}.rounded-\\[--s-login-popup-border-radius\\]{border-radius:var(--s-login-popup-border-radius)}.rounded-\\[var\\(--s-paywall-border-radius\\)\\]{border-radius:var(--s-paywall-border-radius)}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:calc(.5 * var(--s-base-font-size, 16px))}.rounded-md{border-radius:calc(.375 * var(--s-base-font-size, 16px))}.rounded-none{border-radius:0}.rounded-sm{border-radius:calc(.125 * var(--s-base-font-size, 16px))}.rounded-b-none{border-bottom-right-radius:0;border-bottom-left-radius:0}.rounded-t-md{border-top-left-radius:calc(.375 * var(--s-base-font-size, 16px));border-top-right-radius:calc(.375 * var(--s-base-font-size, 16px))}.rounded-t-none{border-top-left-radius:0;border-top-right-radius:0}.rounded-bl-md{border-bottom-left-radius:calc(.375 * var(--s-base-font-size, 16px))}.rounded-br-md{border-bottom-right-radius:calc(.375 * var(--s-base-font-size, 16px))}.border{border-width:1px}.border-0{border-width:0px}.border-2{border-width:2px}.border-\\[length\\:--s-login-button-border-width\\]{border-width:var(--s-login-button-border-width)}.border-\\[length\\:--s-login-popup-border-width\\]{border-width:var(--s-login-popup-border-width)}.border-x{border-left-width:1px;border-right-width:1px}.border-b{border-bottom-width:1px}.\\!border-red-500{--tw-border-opacity: 1 !important;border-color:rgb(239 68 68 / var(--tw-border-opacity, 1))!important}.border-\\[color\\:--s-login-button-border-color\\]{border-color:var(--s-login-button-border-color)}.border-\\[color\\:--s-login-popup-border-color\\]{border-color:var(--s-login-popup-border-color)}.border-current{border-color:currentColor}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity, 1))}.border-primary{border-color:var(--s-primary-color)}.border-red-500{--tw-border-opacity: 1;border-color:rgb(239 68 68 / var(--tw-border-opacity, 1))}.border-transparent{border-color:transparent}.border-r-transparent{border-right-color:transparent}.bg-\\[\\#1F72CD\\]{--tw-bg-opacity: 1;background-color:rgb(31 114 205 / var(--tw-bg-opacity, 1))}.bg-\\[\\#FEB4C7\\]{--tw-bg-opacity: 1;background-color:rgb(254 180 199 / var(--tw-bg-opacity, 1))}.bg-\\[--s-login-popup-bgcolor\\]{background-color:var(--s-login-popup-bgcolor)}.bg-\\[color\\:--s-login-button-background-color\\]{background-color:var(--s-login-button-background-color)}.bg-\\[var\\(--s-paywall-bg-color\\)\\]{background-color:var(--s-paywall-bg-color)}.bg-\\[var\\(--s-paywall-btn-bg-color\\)\\]{background-color:var(--s-paywall-btn-bg-color)}.bg-\\[var\\(--s-paywall-tag-bg-color\\)\\]{background-color:var(--s-paywall-tag-bg-color)}.bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity, 1))}.bg-primary{background-color:var(--s-primary-color)}.bg-red-500\\/10{background-color:#ef44441a}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.bg-none{background-image:none}.from-transparent{--tw-gradient-from: transparent var(--tw-gradient-from-position);--tw-gradient-to: rgb(0 0 0 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.via-primary{--tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--s-primary-color) var(--tw-gradient-via-position), var(--tw-gradient-to)}.to-transparent{--tw-gradient-to: transparent var(--tw-gradient-to-position)}.fill-\\[\\#3C4043\\]{fill:#3c4043}.fill-\\[\\#4A4A49\\]{fill:#4a4a49}.fill-black{fill:#000}.fill-current{fill:currentColor}.object-cover{-o-object-fit:cover;object-fit:cover}.p-0{padding:0}.p-1{padding:calc(.25 * var(--s-base-font-size, 16px))}.p-3{padding:calc(.75 * var(--s-base-font-size, 16px))}.p-4{padding:calc(1 * var(--s-base-font-size, 16px))}.px-1{padding-left:calc(.25 * var(--s-base-font-size, 16px));padding-right:calc(.25 * var(--s-base-font-size, 16px))}.px-2{padding-left:calc(.5 * var(--s-base-font-size, 16px));padding-right:calc(.5 * var(--s-base-font-size, 16px))}.px-2\\.5{padding-left:calc(.625 * var(--s-base-font-size, 16px));padding-right:calc(.625 * var(--s-base-font-size, 16px))}.px-3{padding-left:calc(.75 * var(--s-base-font-size, 16px));padding-right:calc(.75 * var(--s-base-font-size, 16px))}.px-4{padding-left:calc(1 * var(--s-base-font-size, 16px));padding-right:calc(1 * var(--s-base-font-size, 16px))}.px-5{padding-left:calc(1.25 * var(--s-base-font-size, 16px));padding-right:calc(1.25 * var(--s-base-font-size, 16px))}.px-6{padding-left:calc(1.5 * var(--s-base-font-size, 16px));padding-right:calc(1.5 * var(--s-base-font-size, 16px))}.py-1{padding-top:calc(.25 * var(--s-base-font-size, 16px));padding-bottom:calc(.25 * var(--s-base-font-size, 16px))}.py-1\\.5{padding-top:calc(.375 * var(--s-base-font-size, 16px));padding-bottom:calc(.375 * var(--s-base-font-size, 16px))}.py-2{padding-top:calc(.5 * var(--s-base-font-size, 16px));padding-bottom:calc(.5 * var(--s-base-font-size, 16px))}.py-3{padding-top:calc(.75 * var(--s-base-font-size, 16px));padding-bottom:calc(.75 * var(--s-base-font-size, 16px))}.py-4{padding-top:calc(1 * var(--s-base-font-size, 16px));padding-bottom:calc(1 * var(--s-base-font-size, 16px))}.py-8{padding-top:calc(2 * var(--s-base-font-size, 16px));padding-bottom:calc(2 * var(--s-base-font-size, 16px))}.pb-2{padding-bottom:calc(.5 * var(--s-base-font-size, 16px))}.pb-4{padding-bottom:calc(1 * var(--s-base-font-size, 16px))}.pb-6{padding-bottom:calc(1.5 * var(--s-base-font-size, 16px))}.pl-4{padding-left:calc(1 * var(--s-base-font-size, 16px))}.pl-\\[84px\\]{padding-left:84px}.pr-2{padding-right:calc(.5 * var(--s-base-font-size, 16px))}.pr-4{padding-right:calc(1 * var(--s-base-font-size, 16px))}.pt-0{padding-top:0}.pt-1{padding-top:calc(.25 * var(--s-base-font-size, 16px))}.pt-2{padding-top:calc(.5 * var(--s-base-font-size, 16px))}.pt-6{padding-top:calc(1.5 * var(--s-base-font-size, 16px))}.text-left{text-align:left}.text-center{text-align:center}.\\!text-sm{font-size:calc(.875 * var(--s-base-font-size, 16px))!important;line-height:calc(1.25 * var(--s-base-font-size, 16px))!important}.\\!text-xs{font-size:calc(.75 * var(--s-base-font-size, 16px))!important;line-height:calc(1 * var(--s-base-font-size, 16px))!important}.text-2xl{font-size:calc(1.5 * var(--s-base-font-size, 16px));line-height:calc(2 * var(--s-base-font-size, 16px))}.text-\\[0\\.9em\\]{font-size:.9em}.text-\\[8px\\]{font-size:8px}.text-\\[length\\:--s-login-button-text-size\\]{font-size:var(--s-login-button-text-size)}.text-\\[length\\:var\\(--sesamy-login-button-text-size\\,var\\(--s-login-button-default-text-size\\)\\)\\]{font-size:var(--sesamy-login-button-text-size,var(--s-login-button-default-text-size))}.text-base{font-size:calc(1 * var(--s-base-font-size, 16px));line-height:calc(1.5 * var(--s-base-font-size, 16px))}.text-lg{font-size:calc(1.125 * var(--s-base-font-size, 16px));line-height:calc(1.75 * var(--s-base-font-size, 16px))}.text-sm{font-size:calc(.875 * var(--s-base-font-size, 16px));line-height:calc(1.25 * var(--s-base-font-size, 16px))}.text-xl{font-size:calc(1.25 * var(--s-base-font-size, 16px));line-height:calc(1.75 * var(--s-base-font-size, 16px))}.text-xs{font-size:calc(.75 * var(--s-base-font-size, 16px));line-height:calc(1 * var(--s-base-font-size, 16px))}.\\!font-\\[--s-login-button-font-weight\\]{font-weight:var(--s-login-button-font-weight)!important}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-normal{font-weight:400}.uppercase{text-transform:uppercase}.leading-\\[1\\.43\\]{line-height:1.43}.leading-none{line-height:1}.leading-snug{line-height:1.375}.leading-tight{line-height:1.25}.text-\\[--s-login-popup-textcolor\\]{color:var(--s-login-popup-textcolor)}.text-\\[color\\:--s-login-button-text-color\\]{color:var(--s-login-button-text-color)}.text-\\[color\\:var\\(--sesamy-login-button-text-color\\,var\\(--s-paywall-text-color\\)\\)\\]{color:var(--sesamy-login-button-text-color,var(--s-paywall-text-color))}.text-\\[var\\(--s-paywall-btn-text-color\\)\\]{color:var(--s-paywall-btn-text-color)}.text-\\[var\\(--s-paywall-tag-text-color\\)\\]{color:var(--s-paywall-tag-text-color)}.text-\\[var\\(--s-paywall-text-color\\)\\]{color:var(--s-paywall-text-color)}.text-\\[var\\(--s-paywall-text-color-70\\)\\]{color:var(--s-paywall-text-color-70)}.text-gray-300{--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity, 1))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity, 1))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity, 1))}.text-gray-800{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity, 1))}.text-primary{color:var(--s-primary-color)}.text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity, 1))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.underline{text-decoration-line:underline}.line-through{text-decoration-line:line-through}.underline-offset-4{text-underline-offset:4px}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.opacity-0{opacity:0}.opacity-25{opacity:.25}.opacity-30{opacity:.3}.opacity-50{opacity:.5}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.outline-0{outline-width:0px}.ring{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-2{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-transparent{--tw-ring-color: transparent}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-\\[grid-template-rows\\]{transition-property:grid-template-rows;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-\\[transform\\,font-size\\]{transition-property:transform,font-size;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-100{transition-duration:.1s}.duration-150{transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-75{transition-duration:75ms}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.content-\\[\\'\\'\\]{--tw-content: "";content:var(--tw-content)}.row-up-left{display:flex;flex-direction:row;flex-wrap:wrap;align-content:flex-start;justify-content:flex-start}.row-up{display:flex;flex-direction:row;flex-wrap:wrap;align-content:flex-start;justify-content:center}.row-up-right{display:flex;flex-direction:row;flex-wrap:wrap;align-content:flex-start;justify-content:flex-end}.row-left{display:flex;flex-direction:row;flex-wrap:wrap;align-content:center;align-items:center;justify-content:flex-start}.row{display:flex;flex-direction:row;flex-wrap:wrap;align-content:center;align-items:center;justify-content:center}.row-right{display:flex;flex-direction:row;flex-wrap:wrap;align-content:center;align-items:center;justify-content:flex-end}.row-down-left{display:flex;flex-direction:row;flex-wrap:wrap;align-content:flex-end;justify-content:flex-start}.row-down{display:flex;flex-direction:row;flex-wrap:wrap;align-content:flex-end;justify-content:center}.row-down-right{display:flex;flex-direction:row;flex-wrap:wrap;align-content:flex-end;justify-content:flex-end}.column-up-left{display:flex;flex-direction:column;align-items:flex-start}.column-up{display:flex;flex-direction:column;align-items:center;justify-content:flex-start}.column-up-right{display:flex;flex-direction:column;align-items:flex-end}.column-left{display:flex;flex-direction:column;align-items:flex-start;justify-content:center}.column{display:flex;flex-direction:column;align-items:center;justify-content:center}.column-right{display:flex;flex-direction:column;align-items:flex-end;justify-content:center}.column-down-left{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-end}.column-down{display:flex;flex-direction:column;align-items:center;justify-content:flex-end}.column-down-right{display:flex;flex-direction:column;align-items:flex-end;justify-content:flex-end}.\\@container{container-type:inline-size}.\\@container\\/box{container-type:inline-size;container-name:box}.\\[font-family\\:var\\(--s-paywall-headline-font-family\\)\\]{font-family:var(--s-paywall-headline-font-family)}.\\[font-weight\\:var\\(--s-paywall-headline-font-weight\\)\\]{font-weight:var(--s-paywall-headline-font-weight)}.markdown-container{font-size:calc(.875 * var(--s-base-font-size, 16px));line-height:calc(1.25 * var(--s-base-font-size, 16px))}.markdown-container .headline{font-size:1.25em;font-weight:700;margin-bottom:.5em}.markdown-container p{margin-bottom:.5em}:is(.markdown-container p):last-child{margin-bottom:0}.markdown-container a,.inline-link{display:inline-block;position:relative;color:color-mix(in srgb,currentColor 80%,transparent)}:is(.markdown-container a,.inline-link):after{content:"";position:absolute;left:0;bottom:1px;width:100%;border-bottom:1px dashed currentColor}:is(.markdown-container a,.inline-link):hover{color:currentColor}:is(.markdown-container a,.inline-link):hover:after{border-bottom-style:solid}.with-icon:is(.markdown-container a,.inline-link){display:inline-flex;align-items:center;gap:.25em}.with-icon:is(.markdown-container a,.inline-link):after{width:calc(100% - 1.25em)}.with-icon:is(.markdown-container a,.inline-link) svg{transform:translateY(-1px)}.placeholder\\:text-gray-400::-moz-placeholder{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.placeholder\\:text-gray-400::placeholder{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.placeholder\\:text-transparent::-moz-placeholder{color:transparent}.placeholder\\:text-transparent::placeholder{color:transparent}.focus-within\\:z-10:focus-within{z-index:10}.focus-within\\:text-gray-400:focus-within{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.hover\\:cursor-pointer:hover{cursor:pointer}.hover\\:bg-gray-100\\/50:hover{background-color:#f3f4f680}.hover\\:underline:hover{text-decoration-line:underline}.hover\\:opacity-80:hover{opacity:.8}.focus\\:z-10:focus{z-index:10}.focus\\:border-gray-300:focus{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity, 1))}.enabled\\:hover\\:bg-transparent:hover:enabled{background-color:transparent}.enabled\\:hover\\:opacity-80:hover:enabled{opacity:.8}.active\\:enabled\\:translate-y-px:enabled:active{--tw-translate-y: 1px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.disabled\\:opacity-\\[20\\%\\]:disabled{opacity:20%}.group:hover .group-hover\\:opacity-80{opacity:.8}.peer:checked~.peer-checked\\:border-primary{border-color:var(--s-primary-color)}.peer:checked~.peer-checked\\:bg-primary{background-color:var(--s-primary-color)}.peer:focus~.peer-focus\\:-translate-y-\\[calc\\(50\\%\\+theme\\(space\\.3\\)\\)\\]{--tw-translate-y: calc(calc(50% + calc(.75 * var(--s-base-font-size, 16px))) * -1);transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.peer:focus~.peer-focus\\:text-xs{font-size:calc(.75 * var(--s-base-font-size, 16px));line-height:calc(1 * var(--s-base-font-size, 16px))}.peer:focus~.peer-focus\\:ring-primary{--tw-ring-color: var(--s-primary-color)}.peer:focus-visible~.peer-focus-visible\\:text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.has-\\[input\\:checked\\]\\:border-primary:has(input:checked){border-color:var(--s-primary-color)}@container box (min-width: 320px){.\\@xs\\/box\\:h-7{height:calc(1.75 * var(--s-base-font-size, 16px))}.\\@xs\\/box\\:text-3xl{font-size:calc(1.875 * var(--s-base-font-size, 16px));line-height:calc(2.25 * var(--s-base-font-size, 16px))}.\\@xs\\/box\\:text-lg{font-size:calc(1.125 * var(--s-base-font-size, 16px));line-height:calc(1.75 * var(--s-base-font-size, 16px))}}@container (min-width: 320px){.\\@xs\\:px-8{padding-left:calc(2 * var(--s-base-font-size, 16px));padding-right:calc(2 * var(--s-base-font-size, 16px))}}@container (min-width: 384px){.\\@sm\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.\\@sm\\:p-8{padding:calc(2 * var(--s-base-font-size, 16px))}.\\@sm\\:px-10{padding-left:calc(2.5 * var(--s-base-font-size, 16px));padding-right:calc(2.5 * var(--s-base-font-size, 16px))}.\\@sm\\:pb-10{padding-bottom:calc(2.5 * var(--s-base-font-size, 16px))}.\\@sm\\:pt-6{padding-top:calc(1.5 * var(--s-base-font-size, 16px))}.\\@sm\\:text-\\[2rem\\]{font-size:calc(2 * var(--s-base-font-size, 16px))}}@container (min-width: 448px){.\\@md\\:mt-8{margin-top:calc(2 * var(--s-base-font-size, 16px))}.\\@md\\:gap-4{gap:calc(1 * var(--s-base-font-size, 16px))}.\\@md\\:space-y-1\\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(calc(.375 * var(--s-base-font-size, 16px)) * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(calc(.375 * var(--s-base-font-size, 16px)) * var(--tw-space-y-reverse))}.\\@md\\:py-6{padding-top:calc(1.5 * var(--s-base-font-size, 16px));padding-bottom:calc(1.5 * var(--s-base-font-size, 16px))}.\\@md\\:pb-8{padding-bottom:calc(2 * var(--s-base-font-size, 16px))}.\\@md\\:pt-4{padding-top:calc(1 * var(--s-base-font-size, 16px))}.\\@md\\:text-3xl{font-size:calc(1.875 * var(--s-base-font-size, 16px));line-height:calc(2.25 * var(--s-base-font-size, 16px))}.\\@md\\:row-left{display:flex;flex-direction:row;flex-wrap:wrap;align-content:center;align-items:center;justify-content:flex-start}.\\@md\\:column-right{display:flex;flex-direction:column;align-items:flex-end;justify-content:center}}@container (min-width: 576px){.\\@xl\\:auto-rows-fr{grid-auto-rows:minmax(0,1fr)}.\\@xl\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.\\@xl\\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.\\@xl\\:gap-4{gap:calc(1 * var(--s-base-font-size, 16px))}.\\@xl\\:rounded-\\[var\\(--s-paywall-border-radius-desktop\\)\\]{border-radius:var(--s-paywall-border-radius-desktop)}.\\@xl\\:p-1{padding:calc(.25 * var(--s-base-font-size, 16px))}.\\@xl\\:text-base{font-size:calc(1 * var(--s-base-font-size, 16px));line-height:calc(1.5 * var(--s-base-font-size, 16px))}.\\@xl\\:text-lg{font-size:calc(1.125 * var(--s-base-font-size, 16px));line-height:calc(1.75 * var(--s-base-font-size, 16px))}.\\@xl\\:shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.\\@xl\\:row-left{display:flex;flex-direction:row;flex-wrap:wrap;align-content:center;align-items:center;justify-content:flex-start}}@container (min-width: 768px){.\\@3xl\\:p-16{padding:calc(4 * var(--s-base-font-size, 16px))}.\\@3xl\\:p-4{padding:calc(1 * var(--s-base-font-size, 16px))}.\\@3xl\\:px-16{padding-left:calc(4 * var(--s-base-font-size, 16px));padding-right:calc(4 * var(--s-base-font-size, 16px))}.\\@3xl\\:pt-10{padding-top:calc(2.5 * var(--s-base-font-size, 16px))}}.dark\\:border:is(.dark *){border-width:1px}.dark\\:border-gray-500:is(.dark *){--tw-border-opacity: 1;border-color:rgb(107 114 128 / var(--tw-border-opacity, 1))}.dark\\:border-gray-700:is(.dark *){--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity, 1))}.dark\\:border-gray-800:is(.dark *){--tw-border-opacity: 1;border-color:rgb(31 41 55 / var(--tw-border-opacity, 1))}.dark\\:bg-black:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity, 1))}.dark\\:bg-black\\/25:is(.dark *){background-color:#00000040}.dark\\:bg-gray-700:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity, 1))}.dark\\:fill-white:is(.dark *){fill:#fff}.dark\\:text-black:is(.dark *){--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity, 1))}.dark\\:text-gray-100:is(.dark *){--tw-text-opacity: 1;color:rgb(243 244 246 / var(--tw-text-opacity, 1))}.dark\\:text-gray-300:is(.dark *){--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity, 1))}.dark\\:focus\\:border-gray-600:focus:is(.dark *){--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity, 1))}@media not all and (min-width:640px){.max-sm\\:gap-0{gap:0px}}@media(min-width:640px){.sm\\:text-xs{font-size:calc(.75 * var(--s-base-font-size, 16px));line-height:calc(1 * var(--s-base-font-size, 16px))}}@media not all and (min-width:640px){.max-sm\\:\\[\\&\\>\\*\\:first-child\\>\\*\\:first-child\\>label\\:first-of-type\\>\\:where\\(select\\,input\\)\\]\\:rounded-t-md>*:first-child>*:first-child>label:first-of-type>:where(select,input){border-top-left-radius:calc(.375 * var(--s-base-font-size, 16px));border-top-right-radius:calc(.375 * var(--s-base-font-size, 16px))}.max-sm\\:\\[\\&\\>\\*\\:last-child\\>\\*\\:last-child\\>label\\:last-of-type\\>\\:where\\(select\\,input\\)\\]\\:rounded-b-md>*:last-child>*:last-child>label:last-of-type>:where(select,input){border-bottom-right-radius:calc(.375 * var(--s-base-font-size, 16px));border-bottom-left-radius:calc(.375 * var(--s-base-font-size, 16px))}.max-sm\\:\\[\\&\\>\\*\\]\\:gap-0>*{gap:0px}}.\\[\\&\\>label\\:first-child\\>\\:where\\(select\\,input\\)\\]\\:rounded-t-md>label:first-child>:where(select,input){border-top-left-radius:calc(.375 * var(--s-base-font-size, 16px));border-top-right-radius:calc(.375 * var(--s-base-font-size, 16px))}.\\[\\&\\>label\\:last-child\\>\\:where\\(select\\,input\\)\\]\\:rounded-b-md>label:last-child>:where(select,input){border-bottom-right-radius:calc(.375 * var(--s-base-font-size, 16px));border-bottom-left-radius:calc(.375 * var(--s-base-font-size, 16px))}.\\[\\&\\>label\\>\\:where\\(select\\,input\\)\\]\\:rounded-none>label>:where(select,input){border-radius:0}.\\[\\&\\>svg\\]\\:max-w-full>svg{max-width:100%}.\\[\\&_label\\>\\:where\\(select\\,input\\)\\]\\:-mt-px label>:where(select,input){margin-top:-1px}@media not all and (min-width:640px){.max-sm\\:\\[\\&_label\\>\\:where\\(select\\,input\\)\\]\\:rounded-none label>:where(select,input){border-radius:0}}.\\[\\&_label\\>select\\]\\:-mt-px label>select{margin-top:-1px}`,Oi=2e4,Gl=1e4;class d1 extends Error{constructor(e){super(e),this.name="SesamyApiUnavailableError"}}let Fi=null;function u1(){var t;try{let e=null;for(const r of Object.keys(localStorage)){if(!r.startsWith("@@auth0spajs@@")||r.endsWith("@@user@@"))continue;const n=JSON.parse(localStorage.getItem(r)||"null");if(!((t=n==null?void 0:n.body)!=null&&t.access_token)||typeof n.expiresAt!="number")continue;const a=Math.round(n.expiresAt-Date.now()/1e3);e=e===null?a:Math.max(e,a)}return{authTokenCached:e!==null,authTokenSecondsLeft:e}}catch{return{}}}function f1(){if(Fi)return Fi;const t=()=>{const a=performance.now();document.visibilityState==="hidden"?(n.hiddenWhileWaiting=!0,n.hiddenSince??(n.hiddenSince=a)):n.hiddenSince!==null&&(n.hiddenMs+=a-n.hiddenSince,n.hiddenSince=null)},e=performance.now(),r=document.visibilityState==="hidden",n={startedAt:e,hiddenWhileWaiting:r,hiddenMs:0,hiddenSince:r?e:null,authCache:u1(),timedOutAt:null,reported:new Set,detach:()=>document.removeEventListener("visibilitychange",t)};return document.addEventListener("visibilitychange",t),Fi=n,n}function qi(t,e,r,n={}){var a,o;if(!t.reported.has(e)){t.reported.add(e);try{const i=window.sesamy,s=performance.now();(o=(a=i==null?void 0:i.errors)==null?void 0:a.report)==null||o.call(a,r,{details:{stage:`api-ready-${e}`,sinceNavigationMs:Math.round(s),waitedMs:Math.round(s-t.startedAt),visibility:document.visibilityState,hiddenWhileWaiting:t.hiddenWhileWaiting,hiddenMs:Math.round(t.hiddenMs+(t.hiddenSince===null?0:s-t.hiddenSince)),readyState:document.readyState,...t.authCache,...n}})}catch{}}}function Hl(t,e){const r=new Error(e);return r.name=t,r}function h1(t){const e=()=>{window.removeEventListener("sesamyJsReady",e),qi(t,"late",Hl("SesamyApiLateReady",`sesamy-js became ready after components stopped waiting at ${Oi}ms`),{lateByMs:Math.round(performance.now()-(t.timedOutAt??t.startedAt))})};window.addEventListener("sesamyJsReady",e);const r=t.detach;t.detach=()=>{r(),window.removeEventListener("sesamyJsReady",e)}}async function Ul(){var e;if((e=window.sesamy)!=null&&e.isReady())return window.sesamy;const t=f1();return new Promise((r,n)=>{const a=()=>{clearTimeout(s),window.removeEventListener("sesamyJsReady",i)},o=()=>{var l;return(l=window.sesamy)!=null&&l.isReady()?(a(),t.timedOutAt===null&&performance.now()-t.startedAt>=Gl&&qi(t,"slow",Hl("SesamyApiSlowReady",`sesamy-js took over ${Gl}ms to become ready`)),r(window.sesamy),!0):!1};function i(){o()}const s=setTimeout(()=>{if(o())return;a();const l=new d1(window.sesamy?`sesamy-js did not finish initialising within ${Oi}ms`:"sesamy-js is not available on the page");t.timedOutAt===null&&(t.timedOutAt=performance.now(),qi(t,"timeout",l,{sesamyPresent:!!window.sesamy}),h1(t)),n(l)},Oi);window.addEventListener("sesamyJsReady",i)})}const Vl={cs:{already_subscribing:"Už jste se přihlásili k odběru?",birthdate_required:"Vyžaduje se datum narození",click_to_update:"Klikněte pro aktualizaci",continue:"Pokračovat",country:"Země",date_of_birth:"Datum narození",day:"Den",did_you_mean:"Měl jste na mysli",email:"E-mailová adresa",first_name:"Křestní jméno",first_name_required:"Křestní jméno je povinné",go_back:"Vrátit se zpět",got_referred:"Někdo mi doporučil",invalid_birth_date:"Neplatné datum narození",invalid_birth_day:"Neplatný den",invalid_birth_month:"Neplatný měsíc",invalid_birth_year:"Nesprávný rok",invalid_email:"Neplatná e-mailová adresa",invalid_phone_number:"Neplatné telefonní číslo",is_gift:"Darujte dárek",last_name:"Příjmení",last_name_required:"Příjmení je povinné",logged_in_as:"Přihlášen jako",login:"Přihlášení",logo_of:"Logo společnosti",logout:"Odhlášení",month:"Měsíc",my_account:"Můj účet",not_gift:"Kupte si pro sebe",pay_now:"Zaplaťte nyní",phone_number:"Telefonní číslo",phone_number_required:"Vyžaduje se telefonní číslo",powered_by_sesamy:"Platby, paywall a předplatné jsou zajišťovány prostřednictvím <0>předplatitelské platformy Sesamy</0>.",read_more:"Přečtěte si více",recipient_details:"Údaje o příjemci",referral_email:"Doporučující e-mail",referral_email_required:"Je vyžadován doporučující e-mail",secure_payment:"Bezpečná platba šifrovaná pomocí SSL",something_went_wrong:"Došlo k chybě. Zkuste to prosím znovu. Pokud problém přetrvává, obraťte se na naši technickou podporu.",timeperiod_day:"den",timeperiod_days:"dny",timeperiod_days_many:"dní",timeperiod_first_months:"po dobu {{count}} měs.",timeperiod_half_year:"pololetí",timeperiod_month:"měsíc",timeperiod_months:"měsíce",timeperiod_months_many:"měsíců",timeperiod_quarter:"čtvrtletí",timeperiod_week:"týden",timeperiod_weeks:"týdny",timeperiod_weeks_many:"týdnů",timeperiod_year:"rok",timeperiod_years:"roky",timeperiod_years_many:"let",user_already_owns_item:"Tento produkt již vlastníte",year:"Rok",your_details:"Vaše údaje"},en:{already_subscribing:"Already subscribing?",birthdate_required:"Date of birth is required",click_to_update:"Click to update",continue:"Continue",country:"Country",date_of_birth:"Date of birth",day:"Day",did_you_mean:"Did you mean",email:"Email address",first_name:"First name",first_name_required:"First name is required",go_back:"Go back",got_referred:"I got referred by someone",invalid_birth_date:"Invalid date of birth",invalid_birth_day:"Invalid day",invalid_birth_month:"Invalid month",invalid_birth_year:"Invalid year",invalid_email:"Invalid email address",invalid_phone_number:"Invalid phone number",is_gift:"Give as a gift",last_name:"Last name",last_name_required:"Last name is required",logged_in_as:"Logged in as",login:"Login",logo_of:"Logo of",logout:"Log out",month:"Month",my_account:"My account",not_gift:"Buy for yourself",pay_now:"Pay now",phone_number:"Phone number",phone_number_required:"Phone number is required",powered_by_sesamy:"Payments, paywall and subscriptions powered by <0>Sesamy subscription platform</0>.",read_more:"Read more",recipient_details:"The recipient's details",referral_email:"Referral email",referral_email_required:"Referral email is required",secure_payment:"Secure SSL encrypted payment",something_went_wrong:"Something went wrong. Please try again, and if the problem persists, contact our support.",timeperiod_day:"day",timeperiod_days:"days",timeperiod_first_months:"first {{count}} months",timeperiod_half_year:"half year",timeperiod_month:"month",timeperiod_months:"months",timeperiod_quarter:"quarter",timeperiod_week:"week",timeperiod_weeks:"weeks",timeperiod_year:"year",timeperiod_years:"years",user_already_owns_item:"You already own this product",year:"Year",your_details:"Your details"},fi:{already_subscribing:"Oletko jo tilannut?",birthdate_required:"Syntymäaika vaaditaan",click_to_update:"Klikkaa päivittääksesi",continue:"Jatka",country:"Maa",date_of_birth:"Syntymäaika",day:"Päivä",did_you_mean:"Tarkoititko",email:"Sähköpostiosoite",first_name:"Etunimi",first_name_required:"Etunimi vaaditaan",go_back:"Palaa takaisin",got_referred:"Minut lähetti joku",invalid_birth_date:"Virheellinen syntymäaika",invalid_birth_day:"Virheellinen päivä",invalid_birth_month:"Virheellinen kuukausi",invalid_birth_year:"Virheellinen vuosi",invalid_email:"Virheellinen sähköpostiosoite",invalid_phone_number:"Virheellinen puhelinnumero",is_gift:"Anna lahjaksi",last_name:"Sukunimi",last_name_required:"Sukunimi vaaditaan",logged_in_as:"Kirjautuneena käyttäjänä",login:"Kirjaudu sisään",logo_of:"Logo of",logout:"Kirjaudu ulos",month:"Kuukausi",my_account:"Tilini",not_gift:"Osta itsellesi",pay_now:"Maksa nyt",phone_number:"Puhelinnumero",phone_number_required:"Puhelinnumero vaaditaan",powered_by_sesamy:"Maksut, maksuseinä ja tilaukset hoidetaan <0>Sesamy-tilausalustan</0> avulla.",read_more:"Lue lisää",recipient_details:"Vastaanottajan tiedot",referral_email:"Suosittelusähköposti",referral_email_required:"Suosittelusähköposti vaaditaan",secure_payment:"Turvallinen SSL-salattu maksu",something_went_wrong:"Jotain meni pieleen. Yritä uudelleen, ja jos ongelma jatkuu, ota yhteyttä tukeemme.",timeperiod_day:"päivä",timeperiod_days:"päivää",timeperiod_first_months:"ensimmäiset {{count}} kuukautta",timeperiod_half_year:"puoli vuotta",timeperiod_month:"kuukausi",timeperiod_months:"kuukautta",timeperiod_quarter:"neljännes",timeperiod_week:"viikko",timeperiod_weeks:"viikkoa",timeperiod_year:"vuosi",timeperiod_years:"vuotta",user_already_owns_item:"Omistat jo tämän tuotteen",year:"Vuosi",your_details:"Tietosi"},it:{already_subscribing:"Siete già abbonati?",birthdate_required:"È richiesta la data di nascita",click_to_update:"Fare clic per aggiornare",continue:"Continua",country:"Paese",date_of_birth:"Data di nascita",day:"Giorno",did_you_mean:"Intendeva",email:"Indirizzo e-mail",first_name:"Nome",first_name_required:"Il nome è obbligatorio",go_back:"Torna indietro",got_referred:"Sono stato indirizzato da qualcuno",invalid_birth_date:"Data di nascita non valida",invalid_birth_day:"Giorno non valido",invalid_birth_month:"Mese non valido",invalid_birth_year:"Anno non valido",invalid_email:"Indirizzo e-mail non valido",invalid_phone_number:"Numero di telefono non valido",is_gift:"Regalo",last_name:"Cognome",last_name_required:"Il cognome è obbligatorio",logged_in_as:"Connesso come",login:"Accesso",logo_of:"Logo di",logout:"Disconnettersi",month:"Mese",my_account:"Il mio account",not_gift:"Comprati",pay_now:"Paga ora",phone_number:"Numero di telefono",phone_number_required:"Il numero di telefono è richiesto",powered_by_sesamy:"Pagamenti, paywall e abbonamenti gestiti dalla <0>piattaforma di abbonamenti Sesamy</0>.",read_more:"Per saperne di più",recipient_details:"I dati del destinatario",referral_email:"Email di rinvio",referral_email_required:"L'e-mail di riferimento è necessaria",secure_payment:"Pagamento sicuro con crittografia SSL",something_went_wrong:"Si è verificato un errore. Riprova e, se il problema persiste, contatta il nostro servizio di assistenza.",timeperiod_day:"giorno",timeperiod_days:"giorni",timeperiod_first_months:"primi {{count}} mesi",timeperiod_half_year:"semestre",timeperiod_month:"mese",timeperiod_months:"mesi",timeperiod_quarter:"trimestre",timeperiod_week:"settimana",timeperiod_weeks:"settimane",timeperiod_year:"anno",timeperiod_years:"anni",user_already_owns_item:"Possiedi già questo prodotto",year:"Anno",your_details:"I vostri dati"},nb:{already_subscribing:"Allerede abonnent?",birthdate_required:"Fødselsdato er påkrevd",click_to_update:"Klikk for å oppdatere",continue:"Fortsett",country:"Land",date_of_birth:"Fødselsdato",day:"Dag",did_you_mean:"Mente du",email:"E-postadresse",first_name:"Fornavn",first_name_required:"Fornavn er påkrevd",go_back:"Gå tilbake",got_referred:"Jeg har blitt vervet av noen",invalid_birth_date:"Ugyldig fødselsdato",invalid_birth_day:"Ugyldig dag",invalid_birth_month:"Ugyldig måned",invalid_birth_year:"Ugyldig år",invalid_email:"Ugyldig e-postadresse",invalid_phone_number:"Ugyldig telefonnummer",is_gift:"Gi som gave",last_name:"Etternavn",last_name_required:"Etternavn er påkrevd",logged_in_as:"Innlogget som",login:"Logg inn",logo_of:"Logoen til",logout:"Logg ut",month:"Måned",my_account:"Min konto",not_gift:"Kjøp til deg",pay_now:"Betal nå",phone_number:"Telefonnummer",phone_number_required:"Telefonnummer er påkrevd",powered_by_sesamy:"Betalinger, betalingsmur og abonnementer drives av <0>Sesamy-abonnementsplattformen</0>.",read_more:"Les mer",recipient_details:"Mottakerens opplysninger",referral_email:"Henvisnings-e-post",referral_email_required:"Henvisnings-e-post er påkrevd",secure_payment:"Sikker SSL-kryptert betaling",something_went_wrong:"Det oppstod en feil. Prøv på nytt, og ta kontakt med vår kundestøtte dersom problemet vedvarer.",timeperiod_day:"dag",timeperiod_days:"dager",timeperiod_first_months:"første {{count}} måneder",timeperiod_half_year:"halvt år",timeperiod_month:"måned",timeperiod_months:"måneder",timeperiod_quarter:"kvartal",timeperiod_week:"uke",timeperiod_weeks:"uker",timeperiod_year:"år",timeperiod_years:"år",user_already_owns_item:"Du eier allerede dette produktet",year:"År",your_details:"Dine opplysninger"},pl:{already_subscribing:"Już subskrybujesz?",birthdate_required:"Wymagana jest data urodzenia",click_to_update:"Kliknij, aby zaktualizować",continue:"Kontynuuj",country:"Kraj",date_of_birth:"Data urodzenia",day:"Dzień",did_you_mean:"Czy miałeś na myśli",email:"Adres e-mail",first_name:"Imię",first_name_required:"Imię jest wymagane",go_back:"Wróć",got_referred:"Zostałem polecony przez kogoś",invalid_birth_date:"Nieprawidłowa data urodzenia",invalid_birth_day:"Nieprawidłowy dzień",invalid_birth_month:"Nieprawidłowy miesiąc",invalid_birth_year:"Nieprawidłowy rok",invalid_email:"Nieprawidłowy adres e-mail",invalid_phone_number:"Nieprawidłowy numer telefonu",is_gift:"Podaruj prezent",last_name:"Nazwisko",last_name_required:"Nazwisko jest wymagane",logged_in_as:"Zalogowany jako",login:"Logowanie",logo_of:"Logo",logout:"Wylogowanie",month:"Miesiąc",my_account:"Moje konto",not_gift:"Kup dla siebie",pay_now:"Zapłać teraz",phone_number:"Numer telefonu",phone_number_required:"Numer telefonu jest wymagany",powered_by_sesamy:"Płatności, system paywall i subskrypcje obsługiwane przez <0>platformę subskrypcyjną Sesamy</0>.",read_more:"Czytaj więcej",recipient_details:"Dane odbiorcy",referral_email:"E-mail polecający",referral_email_required:"Wymagany jest e-mail polecający",secure_payment:"Bezpieczna płatność szyfrowana SSL",something_went_wrong:"Wystąpił błąd. Spróbuj ponownie, a jeśli problem nadal występuje, skontaktuj się z naszym działem pomocy technicznej.",timeperiod_day:"dzień",timeperiod_days:"dni",timeperiod_days_many:"dni",timeperiod_first_months:"przez {{count}} mies.",timeperiod_half_year:"pół roku",timeperiod_month:"miesiąc",timeperiod_months:"miesiące",timeperiod_months_many:"miesięcy",timeperiod_quarter:"kwartał",timeperiod_week:"tydzień",timeperiod_weeks:"tygodnie",timeperiod_weeks_many:"tygodni",timeperiod_year:"rok",timeperiod_years:"lata",timeperiod_years_many:"lat",user_already_owns_item:"Posiadasz już ten produkt",year:"Rok",your_details:"Twoje dane"},sv:{already_subscribing:"Prenumererar du redan?",birthdate_required:"Födelsedatum är obligatoriskt",click_to_update:"Klicka för att uppdatera",continue:"Fortsätt",country:"Land",date_of_birth:"Födelsedatum",day:"Dag",did_you_mean:"Menade du",email:"E-postadress",first_name:"Förnamn",first_name_required:"Förnamn är obligatoriskt",go_back:"Gå tillbaka",got_referred:"Jag blev rekommenderad av någon",invalid_birth_date:"Ogiltigt födelsedatum",invalid_birth_day:"Ogiltig dag",invalid_birth_month:"Ogiltig månad",invalid_birth_year:"Ogiltigt år",invalid_email:"Ogiltig e-postadress",invalid_phone_number:"Ogiltigt telefonnummer",is_gift:"Ge gåva",last_name:"Efternamn",last_name_required:"Efternamn är obligatoriskt",logged_in_as:"Inloggad som",login:"Logga in",logo_of:"Logotyp för",logout:"Logga ut",month:"Månad",my_account:"Mitt konto",not_gift:"Köp till dig",pay_now:"Betala nu",phone_number:"Telefonnummer",phone_number_required:"Telefonnummer är obligatoriskt",powered_by_sesamy:"Betalningar, betalvägg och prenumerationer hanteras via <0>Sesamys prenumerationsplattform</0>.",read_more:"Läs mer",recipient_details:"Mottagarens uppgifter",referral_email:"Referens e-post",referral_email_required:"Referens e-post krävs",secure_payment:"Säker SSL-krypterad betalning",something_went_wrong:"Något gick fel. Försök igen, och om problemet kvarstår, kontakta vår support.",timeperiod_day:"dag",timeperiod_days:"dagar",timeperiod_first_months:"de första {{count}} månaderna",timeperiod_half_year:"halvår",timeperiod_month:"månad",timeperiod_months:"månader",timeperiod_quarter:"kvartal",timeperiod_week:"vecka",timeperiod_weeks:"veckor",timeperiod_year:"år",timeperiod_years:"år",user_already_owns_item:"Du har redan köpt den här produkten",year:"År",your_details:"Dina uppgifter"},da:{already_subscribing:"Abonnerer du allerede?",birthdate_required:"Fødselsdato er påkrævet",click_to_update:"Klik for at opdatere",continue:"Fortsæt",country:"Land",date_of_birth:"Fødselsdato",day:"Dag",did_you_mean:"Mente du, at",email:"E-mail-adresse",first_name:"Fornavn",first_name_required:"Fornavn er påkrævet",go_back:"Gå tilbage",got_referred:"Jeg blev henvist af nogen",invalid_birth_date:"Ugyldig fødselsdato",invalid_birth_day:"Ugyldig dag",invalid_birth_month:"Ugyldig måned",invalid_birth_year:"Ugyldigt år",invalid_email:"Ugyldig e-mailadresse",invalid_phone_number:"Ugyldigt telefonnummer",is_gift:"Giv en gave",last_name:"Efternavn",last_name_required:"Efternavn er påkrævet",logged_in_as:"Logget ind som",login:"Login",logo_of:"Logo for",logout:"Log ud",month:"Måned",my_account:"Min konto",not_gift:"Køb til dig",pay_now:"Betal nu",phone_number:"Telefonnummer",phone_number_required:"Telefonnummer er påkrævet",powered_by_sesamy:"Betalinger, betalingsmur og abonnementer leveres af <0>Sesamy-abonnementsplatformen</0>.",read_more:"Læs mere",recipient_details:"Modtagerens oplysninger",referral_email:"Henvisnings-e-mail",referral_email_required:"Henvisnings-e-mail er påkrævet",secure_payment:"Sikker SSL-krypteret betaling",something_went_wrong:"Der opstod en fejl. Prøv venligst igen, og hvis problemet fortsætter, bedes du kontakte vores support.",timeperiod_day:"dag",timeperiod_days:"dage",timeperiod_first_months:"første {{count}} måneder",timeperiod_half_year:"halvt år",timeperiod_month:"måned",timeperiod_months:"måneder",timeperiod_quarter:"kvartal",timeperiod_week:"uge",timeperiod_weeks:"uger",timeperiod_year:"år",timeperiod_years:"år",user_already_owns_item:"Du ejer allerede dette produkt",year:"År",your_details:"Dine oplysninger"}};function m1(t,e){return e?t.replace(/<(\d+)>(.*?)<\/\1>/g,(r,n,a)=>{const o=n.toString();return e[o]?e[o](a):a}):t}function v1(t){const e=Vl[t]?t:"en",r=(n,a)=>{var i;const o=((i=Vl[e])==null?void 0:i[n])||n;return m1(o,a)};return r.lang=String(e),r}var p1=R(" <!>",1),g1=R("<!> <!>",1);function Kn(t,e){He(e,!0);let r=ee(e,"applyStyles",3,!0);const n=Ul(),a=n.then(v=>{const m=e.lang||v.content.getLanguage();return v1(m)});let i=r()?"<style>"+c1+`
|
|
4
4
|
:host {
|
|
5
5
|
display: contents;
|
|
6
6
|
font-family: var(--s-font-family);
|
|
@@ -31,11 +31,11 @@
|
|
|
31
31
|
--s-login-popup-border-radius: var(--sesamy-login-popup-border-radius, calc(0.125 * var(--s-base-font-size, 16px)));
|
|
32
32
|
--s-login-popup-zindex: var(--sesamy-login-popup-zindex, 10);
|
|
33
33
|
}
|
|
34
|
-
`+"</style>":"";const s=Promise.all([n,a]).then(([v,m])=>({api:v,t:m}));let l=!1;function d(v){l||(l=!0,console.error("[sesamy-components] sesamy-js is unavailable:",v))}var u=g1(),h=U(u);nn(h,()=>s,null,(v,m)=>{var g=Z(()=>{var{api:I,t:T}=c(m);return{api:I,t:T}}),y=Z(()=>c(g).api),C=Z(()=>c(g).t),z=Ke(),F=U(z);At(F,e,"default",{get api(){return c(y)},get t(){return c(C)}},null),x(v,z)},(v,m)=>{var g=p1(),y=U(g),C=E(y);At(C,e,"error",{get error(){return c(m)}},null),G(z=>Q(y,`${z??""} `),[()=>d(c(m))]),x(v,g)});var f=E(h,2);sn(f,()=>i),x(t,u),Ue()}const _1=(t,e)=>{const r=new Array(t.length+e.length);for(let n=0;n<t.length;n++)r[n]=t[n];for(let n=0;n<e.length;n++)r[t.length+n]=e[n];return r},b1=(t,e)=>({classGroupId:t,validator:e}),Bl=(t=new Map,e=null,r)=>({nextPart:t,validators:e,classGroupId:r}),To="-",Wl=[],y1="arbitrary..",w1=t=>{const e=k1(t),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=t;return{getClassGroupId:i=>{if(i.startsWith("[")&&i.endsWith("]"))return x1(i);const s=i.split(To),l=s[0]===""&&s.length>1?1:0;return Zl(s,l,e)},getConflictingClassGroupIds:(i,s)=>{if(s){const l=n[i],d=r[i];return l?d?_1(d,l):l:d||Wl}return r[i]||Wl}}},Zl=(t,e,r)=>{if(t.length-e===0)return r.classGroupId;const a=t[e],o=r.nextPart.get(a);if(o){const d=Zl(t,e+1,o);if(d)return d}const i=r.validators;if(i===null)return;const s=e===0?t.join(To):t.slice(e).join(To),l=i.length;for(let d=0;d<l;d++){const u=i[d];if(u.validator(s))return u.classGroupId}},x1=t=>t.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const e=t.slice(1,-1),r=e.indexOf(":"),n=e.slice(0,r);return n?y1+n:void 0})(),k1=t=>{const{theme:e,classGroups:r}=t;return C1(r,e)},C1=(t,e)=>{const r=Bl();for(const n in t){const a=t[n];ji(a,r,n,e)}return r},ji=(t,e,r,n)=>{const a=t.length;for(let o=0;o<a;o++){const i=t[o];$1(i,e,r,n)}},$1=(t,e,r,n)=>{if(typeof t=="string"){L1(t,e,r);return}if(typeof t=="function"){S1(t,e,r,n);return}E1(t,e,r,n)},L1=(t,e,r)=>{const n=t===""?e:Yl(e,t);n.classGroupId=r},S1=(t,e,r,n)=>{if(A1(t)){ji(t(n),e,r,n);return}e.validators===null&&(e.validators=[]),e.validators.push(b1(r,t))},E1=(t,e,r,n)=>{const a=Object.entries(t),o=a.length;for(let i=0;i<o;i++){const[s,l]=a[i];ji(l,Yl(e,s),r,n)}},Yl=(t,e)=>{let r=t;const n=e.split(To),a=n.length;for(let o=0;o<a;o++){const i=n[o];let s=r.nextPart.get(i);s||(s=Bl(),r.nextPart.set(i,s)),r=s}return r},A1=t=>"isThemeGetter"in t&&t.isThemeGetter===!0,z1=t=>{if(t<1)return{get:()=>{},set:()=>{}};let e=0,r=Object.create(null),n=Object.create(null);const a=(o,i)=>{r[o]=i,e++,e>t&&(e=0,n=r,r=Object.create(null))};return{get(o){let i=r[o];if(i!==void 0)return i;if((i=n[o])!==void 0)return a(o,i),i},set(o,i){o in r?r[o]=i:a(o,i)}}},Gi="!",Kl=":",T1=[],Jl=(t,e,r,n,a)=>({modifiers:t,hasImportantModifier:e,baseClassName:r,maybePostfixModifierPosition:n,isExternal:a}),M1=t=>{const{prefix:e,experimentalParseClassName:r}=t;let n=a=>{const o=[];let i=0,s=0,l=0,d;const u=a.length;for(let g=0;g<u;g++){const y=a[g];if(i===0&&s===0){if(y===Kl){o.push(a.slice(l,g)),l=g+1;continue}if(y==="/"){d=g;continue}}y==="["?i++:y==="]"?i--:y==="("?s++:y===")"&&s--}const h=o.length===0?a:a.slice(l);let f=h,v=!1;h.endsWith(Gi)?(f=h.slice(0,-1),v=!0):h.startsWith(Gi)&&(f=h.slice(1),v=!0);const m=d&&d>l?d-l:void 0;return Jl(o,v,f,m)};if(e){const a=e+Kl,o=n;n=i=>i.startsWith(a)?o(i.slice(a.length)):Jl(T1,!1,i,void 0,!0)}if(r){const a=n;n=o=>r({className:o,parseClassName:a})}return n},P1=t=>{const e=new Map;return t.orderSensitiveModifiers.forEach((r,n)=>{e.set(r,1e6+n)}),r=>{const n=[];let a=[];for(let o=0;o<r.length;o++){const i=r[o],s=i[0]==="[",l=e.has(i);s||l?(a.length>0&&(a.sort(),n.push(...a),a=[]),n.push(i)):a.push(i)}return a.length>0&&(a.sort(),n.push(...a)),n}},I1=t=>({cache:z1(t.cacheSize),parseClassName:M1(t),sortModifiers:P1(t),postfixLookupClassGroupIds:R1(t),...w1(t)}),R1=t=>{const e=Object.create(null),r=t.postfixLookupClassGroups;if(r)for(let n=0;n<r.length;n++)e[r[n]]=!0;return e},N1=/\s+/,D1=(t,e)=>{const{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:a,sortModifiers:o,postfixLookupClassGroupIds:i}=e,s=[],l=t.trim().split(N1);let d="";for(let u=l.length-1;u>=0;u-=1){const h=l[u],{isExternal:f,modifiers:v,hasImportantModifier:m,baseClassName:g,maybePostfixModifierPosition:y}=r(h);if(f){d=h+(d.length>0?" "+d:d);continue}let C=!!y,z;if(C){const k=g.substring(0,y);z=n(k);const b=z&&i[z]?n(g):void 0;b&&b!==z&&(z=b,C=!1)}else z=n(g);if(!z){if(!C){d=h+(d.length>0?" "+d:d);continue}if(z=n(g),!z){d=h+(d.length>0?" "+d:d);continue}C=!1}const F=v.length===0?"":v.length===1?v[0]:o(v).join(":"),I=m?F+Gi:F,T=I+z;if(s.indexOf(T)>-1)continue;s.push(T);const w=a(z,C);for(let k=0;k<w.length;++k){const b=w[k];s.push(I+b)}d=h+(d.length>0?" "+d:d)}return d},O1=(...t)=>{let e=0,r,n,a="";for(;e<t.length;)(r=t[e++])&&(n=Xl(r))&&(a&&(a+=" "),a+=n);return a},Xl=t=>{if(typeof t=="string")return t;let e,r="";for(let n=0;n<t.length;n++)t[n]&&(e=Xl(t[n]))&&(r&&(r+=" "),r+=e);return r},F1=(t,...e)=>{let r,n,a,o;const i=l=>{const d=e.reduce((u,h)=>h(u),t());return r=I1(d),n=r.cache.get,a=r.cache.set,o=s,s(l)},s=l=>{const d=n(l);if(d)return d;const u=D1(l,r);return a(l,u),u};return o=i,(...l)=>o(O1(...l))},q1=[],wt=t=>{const e=r=>r[t]||q1;return e.isThemeGetter=!0,e},Ql=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,ec=/^\((?:(\w[\w-]*):)?(.+)\)$/i,j1=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,G1=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,H1=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,U1=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,V1=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,B1=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,ln=t=>j1.test(t),Ae=t=>!!t&&!Number.isNaN(Number(t)),Ar=t=>!!t&&Number.isInteger(Number(t)),Hi=t=>t.endsWith("%")&&Ae(t.slice(0,-1)),Zr=t=>G1.test(t),tc=()=>!0,W1=t=>H1.test(t)&&!U1.test(t),Ui=()=>!1,Z1=t=>V1.test(t),Y1=t=>B1.test(t),K1=t=>!J(t)&&!X(t),J1=t=>t.startsWith("@container")&&(t[10]==="/"&&t[11]!==void 0||t[11]==="s"&&t[16]!==void 0&&t.startsWith("-size/",10)||t[11]==="n"&&t[18]!==void 0&&t.startsWith("-normal/",10)),X1=t=>cn(t,sc,Ui),J=t=>Ql.test(t),kn=t=>cn(t,lc,W1),rc=t=>cn(t,sf,Ae),Q1=t=>cn(t,dc,tc),ef=t=>cn(t,cc,Ui),nc=t=>cn(t,oc,Ui),tf=t=>cn(t,ic,Y1),Mo=t=>cn(t,uc,Z1),X=t=>ec.test(t),ja=t=>Cn(t,lc),rf=t=>Cn(t,cc),ac=t=>Cn(t,oc),nf=t=>Cn(t,sc),af=t=>Cn(t,ic),Po=t=>Cn(t,uc,!0),of=t=>Cn(t,dc,!0),cn=(t,e,r)=>{const n=Ql.exec(t);return n?n[1]?e(n[1]):r(n[2]):!1},Cn=(t,e,r=!1)=>{const n=ec.exec(t);return n?n[1]?e(n[1]):r:!1},oc=t=>t==="position"||t==="percentage",ic=t=>t==="image"||t==="url",sc=t=>t==="length"||t==="size"||t==="bg-size",lc=t=>t==="length",sf=t=>t==="number",cc=t=>t==="family-name",dc=t=>t==="number"||t==="weight",uc=t=>t==="shadow",ie=F1(()=>{const t=wt("color"),e=wt("font"),r=wt("text"),n=wt("font-weight"),a=wt("tracking"),o=wt("leading"),i=wt("breakpoint"),s=wt("container"),l=wt("spacing"),d=wt("radius"),u=wt("shadow"),h=wt("inset-shadow"),f=wt("text-shadow"),v=wt("drop-shadow"),m=wt("blur"),g=wt("perspective"),y=wt("aspect"),C=wt("ease"),z=wt("animate"),F=()=>["auto","avoid","all","avoid-page","page","left","right","column"],I=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],T=()=>[...I(),X,J],w=()=>["auto","hidden","clip","visible","scroll"],k=()=>["auto","contain","none"],b=()=>[X,J,l],p=()=>[ln,"full","auto",...b()],L=()=>[Ar,"none","subgrid",X,J],V=()=>["auto",{span:["full",Ar,X,J]},Ar,X,J],D=()=>[Ar,"auto",X,J],se=()=>["auto","min","max","fr",X,J],Ne=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],Ce=()=>["start","end","center","stretch","center-safe","end-safe"],me=()=>["auto",...b()],_e=()=>[ln,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...b()],ue=()=>[ln,"screen","full","dvw","lvw","svw","min","max","fit",...b()],ne=()=>[ln,"screen","full","lh","dvh","lvh","svh","min","max","fit",...b()],O=()=>[t,X,J],Be=()=>[...I(),ac,nc,{position:[X,J]}],Se=()=>["no-repeat",{repeat:["","x","y","space","round"]}],pe=()=>["auto","cover","contain",nf,X1,{size:[X,J]}],de=()=>[Hi,ja,kn],S=()=>["","none","full",d,X,J],q=()=>["",Ae,ja,kn],K=()=>["solid","dashed","dotted","double"],re=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],te=()=>[Ae,Hi,ac,nc],we=()=>["","none",m,X,J],Le=()=>["none",Ae,X,J],j=()=>["none",Ae,X,J],be=()=>[Ae,X,J],Oe=()=>[ln,"full",...b()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Zr],breakpoint:[Zr],color:[tc],container:[Zr],"drop-shadow":[Zr],ease:["in","out","in-out"],font:[K1],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Zr],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Zr],shadow:[Zr],spacing:["px",Ae],text:[Zr],"text-shadow":[Zr],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",ln,J,X,y]}],container:["container"],"container-type":[{"@container":["","normal","size",X,J]}],"container-named":[J1],columns:[{columns:[Ae,J,X,s]}],"break-after":[{"break-after":F()}],"break-before":[{"break-before":F()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:T()}],overflow:[{overflow:w()}],"overflow-x":[{"overflow-x":w()}],"overflow-y":[{"overflow-y":w()}],overscroll:[{overscroll:k()}],"overscroll-x":[{"overscroll-x":k()}],"overscroll-y":[{"overscroll-y":k()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:p()}],"inset-x":[{"inset-x":p()}],"inset-y":[{"inset-y":p()}],start:[{"inset-s":p(),start:p()}],end:[{"inset-e":p(),end:p()}],"inset-bs":[{"inset-bs":p()}],"inset-be":[{"inset-be":p()}],top:[{top:p()}],right:[{right:p()}],bottom:[{bottom:p()}],left:[{left:p()}],visibility:["visible","invisible","collapse"],z:[{z:[Ar,"auto",X,J]}],basis:[{basis:[ln,"full","auto",s,...b()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Ae,ln,"auto","initial","none",J]}],grow:[{grow:["",Ae,X,J]}],shrink:[{shrink:["",Ae,X,J]}],order:[{order:[Ar,"first","last","none",X,J]}],"grid-cols":[{"grid-cols":L()}],"col-start-end":[{col:V()}],"col-start":[{"col-start":D()}],"col-end":[{"col-end":D()}],"grid-rows":[{"grid-rows":L()}],"row-start-end":[{row:V()}],"row-start":[{"row-start":D()}],"row-end":[{"row-end":D()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":se()}],"auto-rows":[{"auto-rows":se()}],gap:[{gap:b()}],"gap-x":[{"gap-x":b()}],"gap-y":[{"gap-y":b()}],"justify-content":[{justify:[...Ne(),"normal"]}],"justify-items":[{"justify-items":[...Ce(),"normal"]}],"justify-self":[{"justify-self":["auto",...Ce()]}],"align-content":[{content:["normal",...Ne()]}],"align-items":[{items:[...Ce(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...Ce(),{baseline:["","last"]}]}],"place-content":[{"place-content":Ne()}],"place-items":[{"place-items":[...Ce(),"baseline"]}],"place-self":[{"place-self":["auto",...Ce()]}],p:[{p:b()}],px:[{px:b()}],py:[{py:b()}],ps:[{ps:b()}],pe:[{pe:b()}],pbs:[{pbs:b()}],pbe:[{pbe:b()}],pt:[{pt:b()}],pr:[{pr:b()}],pb:[{pb:b()}],pl:[{pl:b()}],m:[{m:me()}],mx:[{mx:me()}],my:[{my:me()}],ms:[{ms:me()}],me:[{me:me()}],mbs:[{mbs:me()}],mbe:[{mbe:me()}],mt:[{mt:me()}],mr:[{mr:me()}],mb:[{mb:me()}],ml:[{ml:me()}],"space-x":[{"space-x":b()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":b()}],"space-y-reverse":["space-y-reverse"],size:[{size:_e()}],"inline-size":[{inline:["auto",...ue()]}],"min-inline-size":[{"min-inline":["auto",...ue()]}],"max-inline-size":[{"max-inline":["none",...ue()]}],"block-size":[{block:["auto",...ne()]}],"min-block-size":[{"min-block":["auto",...ne()]}],"max-block-size":[{"max-block":["none",...ne()]}],w:[{w:[s,"screen",..._e()]}],"min-w":[{"min-w":[s,"screen","none",..._e()]}],"max-w":[{"max-w":[s,"screen","none","prose",{screen:[i]},..._e()]}],h:[{h:["screen","lh",..._e()]}],"min-h":[{"min-h":["screen","lh","none",..._e()]}],"max-h":[{"max-h":["screen","lh",..._e()]}],"font-size":[{text:["base",r,ja,kn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[n,of,Q1]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Hi,J]}],"font-family":[{font:[rf,ef,e]}],"font-features":[{"font-features":[J]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[a,X,J]}],"line-clamp":[{"line-clamp":[Ae,"none",X,rc]}],leading:[{leading:[o,...b()]}],"list-image":[{"list-image":["none",X,J]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",X,J]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:O()}],"text-color":[{text:O()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...K(),"wavy"]}],"text-decoration-thickness":[{decoration:[Ae,"from-font","auto",X,kn]}],"text-decoration-color":[{decoration:O()}],"underline-offset":[{"underline-offset":[Ae,"auto",X,J]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:b()}],"tab-size":[{tab:[Ar,X,J]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",X,J]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",X,J]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:Be()}],"bg-repeat":[{bg:Se()}],"bg-size":[{bg:pe()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Ar,X,J],radial:["",X,J],conic:[Ar,X,J]},af,tf]}],"bg-color":[{bg:O()}],"gradient-from-pos":[{from:de()}],"gradient-via-pos":[{via:de()}],"gradient-to-pos":[{to:de()}],"gradient-from":[{from:O()}],"gradient-via":[{via:O()}],"gradient-to":[{to:O()}],rounded:[{rounded:S()}],"rounded-s":[{"rounded-s":S()}],"rounded-e":[{"rounded-e":S()}],"rounded-t":[{"rounded-t":S()}],"rounded-r":[{"rounded-r":S()}],"rounded-b":[{"rounded-b":S()}],"rounded-l":[{"rounded-l":S()}],"rounded-ss":[{"rounded-ss":S()}],"rounded-se":[{"rounded-se":S()}],"rounded-ee":[{"rounded-ee":S()}],"rounded-es":[{"rounded-es":S()}],"rounded-tl":[{"rounded-tl":S()}],"rounded-tr":[{"rounded-tr":S()}],"rounded-br":[{"rounded-br":S()}],"rounded-bl":[{"rounded-bl":S()}],"border-w":[{border:q()}],"border-w-x":[{"border-x":q()}],"border-w-y":[{"border-y":q()}],"border-w-s":[{"border-s":q()}],"border-w-e":[{"border-e":q()}],"border-w-bs":[{"border-bs":q()}],"border-w-be":[{"border-be":q()}],"border-w-t":[{"border-t":q()}],"border-w-r":[{"border-r":q()}],"border-w-b":[{"border-b":q()}],"border-w-l":[{"border-l":q()}],"divide-x":[{"divide-x":q()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":q()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...K(),"hidden","none"]}],"divide-style":[{divide:[...K(),"hidden","none"]}],"border-color":[{border:O()}],"border-color-x":[{"border-x":O()}],"border-color-y":[{"border-y":O()}],"border-color-s":[{"border-s":O()}],"border-color-e":[{"border-e":O()}],"border-color-bs":[{"border-bs":O()}],"border-color-be":[{"border-be":O()}],"border-color-t":[{"border-t":O()}],"border-color-r":[{"border-r":O()}],"border-color-b":[{"border-b":O()}],"border-color-l":[{"border-l":O()}],"divide-color":[{divide:O()}],"outline-style":[{outline:[...K(),"none","hidden"]}],"outline-offset":[{"outline-offset":[Ae,X,J]}],"outline-w":[{outline:["",Ae,ja,kn]}],"outline-color":[{outline:O()}],shadow:[{shadow:["","none",u,Po,Mo]}],"shadow-color":[{shadow:O()}],"inset-shadow":[{"inset-shadow":["none",h,Po,Mo]}],"inset-shadow-color":[{"inset-shadow":O()}],"ring-w":[{ring:q()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:O()}],"ring-offset-w":[{"ring-offset":[Ae,kn]}],"ring-offset-color":[{"ring-offset":O()}],"inset-ring-w":[{"inset-ring":q()}],"inset-ring-color":[{"inset-ring":O()}],"text-shadow":[{"text-shadow":["none",f,Po,Mo]}],"text-shadow-color":[{"text-shadow":O()}],opacity:[{opacity:[Ae,X,J]}],"mix-blend":[{"mix-blend":[...re(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":re()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[Ae]}],"mask-image-linear-from-pos":[{"mask-linear-from":te()}],"mask-image-linear-to-pos":[{"mask-linear-to":te()}],"mask-image-linear-from-color":[{"mask-linear-from":O()}],"mask-image-linear-to-color":[{"mask-linear-to":O()}],"mask-image-t-from-pos":[{"mask-t-from":te()}],"mask-image-t-to-pos":[{"mask-t-to":te()}],"mask-image-t-from-color":[{"mask-t-from":O()}],"mask-image-t-to-color":[{"mask-t-to":O()}],"mask-image-r-from-pos":[{"mask-r-from":te()}],"mask-image-r-to-pos":[{"mask-r-to":te()}],"mask-image-r-from-color":[{"mask-r-from":O()}],"mask-image-r-to-color":[{"mask-r-to":O()}],"mask-image-b-from-pos":[{"mask-b-from":te()}],"mask-image-b-to-pos":[{"mask-b-to":te()}],"mask-image-b-from-color":[{"mask-b-from":O()}],"mask-image-b-to-color":[{"mask-b-to":O()}],"mask-image-l-from-pos":[{"mask-l-from":te()}],"mask-image-l-to-pos":[{"mask-l-to":te()}],"mask-image-l-from-color":[{"mask-l-from":O()}],"mask-image-l-to-color":[{"mask-l-to":O()}],"mask-image-x-from-pos":[{"mask-x-from":te()}],"mask-image-x-to-pos":[{"mask-x-to":te()}],"mask-image-x-from-color":[{"mask-x-from":O()}],"mask-image-x-to-color":[{"mask-x-to":O()}],"mask-image-y-from-pos":[{"mask-y-from":te()}],"mask-image-y-to-pos":[{"mask-y-to":te()}],"mask-image-y-from-color":[{"mask-y-from":O()}],"mask-image-y-to-color":[{"mask-y-to":O()}],"mask-image-radial":[{"mask-radial":[X,J]}],"mask-image-radial-from-pos":[{"mask-radial-from":te()}],"mask-image-radial-to-pos":[{"mask-radial-to":te()}],"mask-image-radial-from-color":[{"mask-radial-from":O()}],"mask-image-radial-to-color":[{"mask-radial-to":O()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":I()}],"mask-image-conic-pos":[{"mask-conic":[Ae]}],"mask-image-conic-from-pos":[{"mask-conic-from":te()}],"mask-image-conic-to-pos":[{"mask-conic-to":te()}],"mask-image-conic-from-color":[{"mask-conic-from":O()}],"mask-image-conic-to-color":[{"mask-conic-to":O()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:Be()}],"mask-repeat":[{mask:Se()}],"mask-size":[{mask:pe()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",X,J]}],filter:[{filter:["","none",X,J]}],blur:[{blur:we()}],brightness:[{brightness:[Ae,X,J]}],contrast:[{contrast:[Ae,X,J]}],"drop-shadow":[{"drop-shadow":["","none",v,Po,Mo]}],"drop-shadow-color":[{"drop-shadow":O()}],grayscale:[{grayscale:["",Ae,X,J]}],"hue-rotate":[{"hue-rotate":[Ae,X,J]}],invert:[{invert:["",Ae,X,J]}],saturate:[{saturate:[Ae,X,J]}],sepia:[{sepia:["",Ae,X,J]}],"backdrop-filter":[{"backdrop-filter":["","none",X,J]}],"backdrop-blur":[{"backdrop-blur":we()}],"backdrop-brightness":[{"backdrop-brightness":[Ae,X,J]}],"backdrop-contrast":[{"backdrop-contrast":[Ae,X,J]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Ae,X,J]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Ae,X,J]}],"backdrop-invert":[{"backdrop-invert":["",Ae,X,J]}],"backdrop-opacity":[{"backdrop-opacity":[Ae,X,J]}],"backdrop-saturate":[{"backdrop-saturate":[Ae,X,J]}],"backdrop-sepia":[{"backdrop-sepia":["",Ae,X,J]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":b()}],"border-spacing-x":[{"border-spacing-x":b()}],"border-spacing-y":[{"border-spacing-y":b()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",X,J]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Ae,"initial",X,J]}],ease:[{ease:["linear","initial",C,X,J]}],delay:[{delay:[Ae,X,J]}],animate:[{animate:["none",z,X,J]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[g,X,J]}],"perspective-origin":[{"perspective-origin":T()}],rotate:[{rotate:Le()}],"rotate-x":[{"rotate-x":Le()}],"rotate-y":[{"rotate-y":Le()}],"rotate-z":[{"rotate-z":Le()}],scale:[{scale:j()}],"scale-x":[{"scale-x":j()}],"scale-y":[{"scale-y":j()}],"scale-z":[{"scale-z":j()}],"scale-3d":["scale-3d"],skew:[{skew:be()}],"skew-x":[{"skew-x":be()}],"skew-y":[{"skew-y":be()}],transform:[{transform:[X,J,"","none","gpu","cpu"]}],"transform-origin":[{origin:T()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:Oe()}],"translate-x":[{"translate-x":Oe()}],"translate-y":[{"translate-y":Oe()}],"translate-z":[{"translate-z":Oe()}],"translate-none":["translate-none"],zoom:[{zoom:[Ar,X,J]}],accent:[{accent:O()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:O()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",X,J]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scrollbar-thumb-color":[{"scrollbar-thumb":O()}],"scrollbar-track-color":[{"scrollbar-track":O()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"scroll-m":[{"scroll-m":b()}],"scroll-mx":[{"scroll-mx":b()}],"scroll-my":[{"scroll-my":b()}],"scroll-ms":[{"scroll-ms":b()}],"scroll-me":[{"scroll-me":b()}],"scroll-mbs":[{"scroll-mbs":b()}],"scroll-mbe":[{"scroll-mbe":b()}],"scroll-mt":[{"scroll-mt":b()}],"scroll-mr":[{"scroll-mr":b()}],"scroll-mb":[{"scroll-mb":b()}],"scroll-ml":[{"scroll-ml":b()}],"scroll-p":[{"scroll-p":b()}],"scroll-px":[{"scroll-px":b()}],"scroll-py":[{"scroll-py":b()}],"scroll-ps":[{"scroll-ps":b()}],"scroll-pe":[{"scroll-pe":b()}],"scroll-pbs":[{"scroll-pbs":b()}],"scroll-pbe":[{"scroll-pbe":b()}],"scroll-pt":[{"scroll-pt":b()}],"scroll-pr":[{"scroll-pr":b()}],"scroll-pb":[{"scroll-pb":b()}],"scroll-pl":[{"scroll-pl":b()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",X,J]}],fill:[{fill:["none",...O()]}],"stroke-w":[{stroke:[Ae,ja,kn,rc]}],stroke:[{stroke:["none",...O()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{"container-named":["container-type"],overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},postfixLookupClassGroups:["container-type"],orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}});var lf=new Set(["$$slots","$$events","$$legacy","href","onclick","class","disabled","part","children"]);function fc(t,e){He(e,!0);let r=Vt(e,lf);var n=Ke(),a=U(n);Ut(a,()=>e.href?"a":"button",!1,(o,i)=>{yt(o,d=>({role:e.href?"link":"button",class:d,tabindex:"0",href:e.href,onclick:e.onclick,part:e.part,disabled:e.disabled,...r}),[()=>ie("border-0 bg-none outline-none",e.class)]);var s=Ke(),l=U(s);Zn(l,()=>e.children),x(i,s)}),x(t,n),Ue()}var cf=new Set(["$$slots","$$events","$$legacy","loading","variant","disabled","size","part","onclick","href","class"]),df=R('<span class="inline-block w-4 h-4 mr-2 border-2 border-current border-r-transparent rounded-full animate-spin" aria-hidden="true"></span>'),uf=R("<!> <!>",1);function Vi(t,e){He(e,!0);let r=ee(e,"loading",3,!1),n=ee(e,"variant",3,"primary"),a=ee(e,"disabled",3,!1),o=ee(e,"size",3,"md"),i=Vt(e,cf);{let s=Z(()=>ie("inline-flex ring-2 ring-transparent focus:ring-primary/25 active:enabled:translate-y-px border border-transparent items-center justify-center outline-none font-medium rounded-md transition-colors duration-200 ease-in-out",o()=="sm"&&"px-3 py-1.5 text-sm",o()=="md"&&"px-4 py-2 text-base",o()=="lg"&&"px-6 py-3 text-lg",n()==="primary"&&"bg-primary text-white enabled:hover:bg-primary/90",n()==="secondary"&&"bg-transparent border-primary text-primary enabled:hover:bg-primary/10",n()==="tertiary"&&"text-primary enabled:hover:bg-primary/10",a()&&"opacity-50 cursor-not-allowed",e.class));fc(t,Wr({get class(){return c(s)},get href(){return e.href},get onclick(){return e.onclick},get part(){return e.part},get disabled(){return a()}},()=>i,{children:(l,d)=>{var u=uf(),h=U(u);{var f=m=>{var g=df();x(m,g)};B(h,m=>{r()&&m(f)})}var v=E(h,2);At(v,e,"default",{},null),x(l,u)},$$slots:{default:!0}}))}Ue()}var ff=R('<div class="p-4 text-base"><span class="line-clamp-1 break-all font-normal"> </span></div>'),hf=R('<a class="block w-full text-left px-4 py-3 hover:bg-gray-100/50" target="_blank"> </a>'),mf=R('<button class="block w-full text-left px-4 py-3 hover:bg-gray-100/50"> </button>'),vf=R('<a class="block w-full text-left px-4 py-3 hover:bg-gray-100/50"> </a>'),pf=R('<div class="border-b border-[color:--s-login-popup-border-color] text-sm font-bold"><!></div>');function Io(t,e){He(e,!0);let r=ee(e,"target",3,"_self");const n=async u=>{try{await u.auth.logout()}catch(h){console.error("Logout failed:",h)}};var a=pf(),o=Y(a);{var i=u=>{var h=Ke(),f=U(h);nn(f,()=>e.api.auth.getUser(),null,(v,m)=>{var g=ff(),y=Y(g),C=Ie(y,!0);H(g),G(()=>{var z;return Q(C,(z=c(m))==null?void 0:z.email)}),x(v,g)}),x(u,h)},s=u=>{var h=Ke(),f=U(h);nn(f,()=>e.api.generateLink({target:"account"}),null,(v,m)=>{var g=hf(),y=Ie(g,!0);G(C=>{Ee(g,"href",c(m)),Q(y,C)},[()=>e.text||e.t("my_account")]),x(v,g)}),x(u,h)},l=u=>{var h=mf(),f=Ie(h,!0);G(v=>Q(f,v),[()=>e.text||e.t("logout")]),or("click",h,()=>n(e.api)),x(u,h)},d=u=>{var h=vf(),f=Ie(h,!0);G(()=>{Ee(h,"href",e.href),Ee(h,"target",r()),Q(f,e.text)}),x(u,h)};B(o,u=>{e.type==="EMAIL"?u(i):e.type==="ACCOUNT"?u(s,1):e.type==="LOGOUT"?u(l,2):e.type==="LINK"&&e.href&&e.text&&u(d,3)})}H(a),x(t,a),Ue()}Vr(["click"]),Zd();var gf=R('<span class="absolute left-1/2 -translate-x-1/2 top-1/2 -translate-y-1/2 w-3/4 h-3/4"><svg class="animate-spin w-full h-full" viewBox="0 0 125 125" xmlns="http://www.w3.org/2000/svg"><path d="M0 62.5C0 28 28 0 62.5 0v18.8c-24.2 0-43.8 19.6-43.8 43.8H0z" class="fill-current"></path></svg></span>'),_f=R('<img class="w-full h-full object-cover group-hover:opacity-80 transition-opacity duration-100"/>'),bf=R('<span class="row absolute top-0 left-0 w-full h-full"> </span>'),yf=R("<span><!></span>");function Bi(t,e){He(e,!1);let r=ee(e,"src",8,""),n=ee(e,"alt",8,"Avatar"),a=ee(e,"size",8,"md"),o=ee(e,"loading",8,!1);Di();var i=yf(),s=Y(i);{var l=h=>{var f=gf();x(h,f)},d=h=>{var f=_f();G(()=>{Ee(f,"src",r()),Ee(f,"alt",n())}),x(h,f)},u=h=>{var f=bf(),v=Ie(f,!0);G(m=>Q(v,m),[()=>(ft(n()),st(()=>n().charAt(0).toUpperCase()))]),x(h,f)};B(s,h=>{o()?h(l):r()?h(d,1):h(u,-1)})}H(i),G(h=>je(i,1,h),[()=>Ve((ft(ie),ft(a()),st(()=>ie("relative block group rounded-full overflow-hidden border-2 bg-[color:--s-login-button-background-color] text-[color:--s-login-button-text-color] border-[color:--s-login-button-border-color]",a()==="sm"&&"w-8 h-8",a()==="md"&&"w-12 h-12",a()==="lg"&&"w-16 h-16"))))]),x(t,i),Ue()}const jt={AUTHENTICATED:"sesamyJsAuthenticated",LOGOUT:"sesamyJsLogout"},Wi={CONTENT_GRANTED:"sesamyContentGranted"},wf={LOGIN_SUCCESS:"sesamy:login-success",LOGIN_ERROR:"sesamy:login-error",LOGOUT:"sesamy:logout",PAYWALL_SHOWN:"sesamy:paywall-shown",PAYWALL_DISMISSED:"sesamy:paywall-dismissed",ACCESS_GRANTED:"sesamy:access-granted",CONTENT_UNLOCKED:"sesamy:content-unlocked"};function xf(t,e){return new CustomEvent(t,{detail:e,bubbles:!0,composed:!0})}function zr(t,e,r){return t.dispatchEvent(xf(e,r))}function kf(t,e){return e==="unknown"||t===e?"none":t==="unauthenticated"&&e==="authenticated"?"login":t==="authenticated"&&e==="unauthenticated"?"logout":"none"}var hc=R("<!> <!> <!>",1),Cf=R('<div class="relative"><button class="block" aria-haspopup="true"><!></button> <div role="menu"><!></div></div>');function mc(t,e){He(e,!0);let r=ee(e,"loading",7),n=ee(e,"loggedIn",7),a=ee(e,"class",7,""),o=ce(!1),i=ce(!1),s=ce(null),l=ce(null),d="unknown",u=null,h=null;const f=5e3,v=()=>{h&&(clearTimeout(h),h=null),P(o,!1)},m=k=>{k.persisted&&v()},g=k=>{const b=k??{};return{sub:typeof b.sub=="string"?b.sub:"",...b}},y=async k=>{const b=kf(d,k);if(d=k,b==="login"){const p=u?await u.auth.getUser().catch(()=>null):null;zr(e.$$host,"sesamy:login-success",{userinfo:g(p)})}else b==="logout"&&zr(e.$$host,"sesamy:logout",{})},C=()=>{y("authenticated")},z=()=>{y("unauthenticated")},F=k=>{const b=k.target,p=e.$$host.querySelector('[slot="popup-menu"]');b!==e.$$host&&!e.$$host.contains(b)&&b!==p&&!(p&&p.contains(b))&&P(i,!1)};Lo(()=>{window.addEventListener(jt.AUTHENTICATED,C),window.addEventListener(jt.LOGOUT,z),window.addEventListener("pageshow",m),document.addEventListener("pointerdown",F)}),Pa(()=>{window.removeEventListener(jt.AUTHENTICATED,C),window.removeEventListener(jt.LOGOUT,z),window.removeEventListener("pageshow",m),document.removeEventListener("pointerdown",F),h&&(clearTimeout(h),h=null)});const I=async k=>{P(o,!0),h&&clearTimeout(h),h=setTimeout(v,f);try{await k.auth.login({appState:{source:"login-component"}})}catch(b){v();const p=b instanceof Error?b:void 0,L=p&&p.code||((p==null?void 0:p.name)??"login_failed");zr(e.$$host,"sesamy:login-error",{error:{code:L,message:(p==null?void 0:p.message)??String(b),cause:b}}),console.error("Login failed:",b)}},T=async k=>{u=k;try{n(await k.auth.isAuthenticated()),d=n()?"authenticated":"unauthenticated",n()&&(P(s,await k.auth.getUser(),!0),P(l,await k.generateLink({target:"account"}),!0))}catch(b){console.error("Error checking login status:",b)}};var w={get loading(){return r()},set loading(k){r(k),_t()},get loggedIn(){return n()},set loggedIn(k){n(k),_t()},get class(){return a()},set class(k=""){a(k),_t()}};return Kn(t,{children:ho,$$slots:{default:(k,b)=>{const p=Z(()=>b.api),L=Z(()=>b.t);var V=Ke(),D=U(V);nn(D,()=>T(c(p)),se=>{Bi(se,{loading:!0,size:"sm"})},(se,Ne)=>{var Ce=Ke(),me=U(Ce);{var _e=ne=>{var O=Cf(),Be=Y(O),Se=Y(Be);At(Se,e,"avatar",{},S=>{{let q=Z(()=>{var K;return(K=c(s))==null?void 0:K.picture});Bi(S,{get src(){return c(q)},get loading(){return r()},size:"sm"})}}),H(Be);var pe=E(Be,2),de=Y(pe);At(de,e,"popup-menu",{},S=>{var q=hc(),K=U(q);Io(K,{get api(){return c(p)},get t(){return c(L)},type:"EMAIL"});var re=E(K,2);Io(re,{get api(){return c(p)},get t(){return c(L)},type:"ACCOUNT"});var te=E(re,2);Io(te,{get api(){return c(p)},get t(){return c(L)},type:"LOGOUT"}),x(S,q)}),H(pe),H(O),G(S=>{Be.disabled=r(),Ee(Be,"aria-expanded",c(i)),je(pe,1,S)},[()=>Ve(ie("absolute top-full mt-1.5 right-0 bg-[--s-login-popup-bgcolor] text-[--s-login-popup-textcolor] border-[color:--s-login-popup-border-color] border-[length:--s-login-popup-border-width] rounded-[--s-login-popup-border-radius] w-[--s-login-popup-width] z-[--s-login-popup-zindex] hidden",c(i)&&"block"))]),or("click",Be,()=>P(i,!c(i))),x(ne,O)},ue=ne=>{{let O=Z(()=>ie("!font-[--s-login-button-font-weight] row gap-1.5 bg-[color:--s-login-button-background-color] text-[color:--s-login-button-text-color] border-[color:--s-login-button-border-color] border-[length:--s-login-button-border-width] rounded-[--s-login-button-border-radius] text-[length:--s-login-button-text-size] leading-[1.43]",a()));Vi(ne,{get class(){return c(O)},variant:"secondary",get disabled(){return c(o)},onclick:()=>I(c(p)),size:"sm",children:(Be,Se)=>{var pe=hc(),de=U(pe);At(de,e,"button-text-prefix",{},null);var S=E(de,2);At(S,e,"button-text",{},K=>{var re=Pt();G(te=>Q(re,te),[()=>c(L)("login")]),x(K,re)});var q=E(S,2);At(q,e,"button-text-suffix",{},null),x(Be,pe)},$$slots:{default:!0}})}};B(me,ne=>{n()?ne(_e):ne(ue,-1)})}x(se,Ce)}),x(k,V)}}}),Ue(w)}Vr(["click"]),customElements.define("sesamy-login",xn(mc,{loading:{},loggedIn:{},class:{}},["avatar","popup-menu","button-text-prefix","button-text","button-text-suffix"],[],{mode:"open"},qa));var $f=new Set(["$$slots","$$events","$$legacy","up","right","down","left","style","class","children"]),Lf=R("<div><!></div>");function It(t,e){He(e,!0);let r=Vt(e,$f);var n=Lf();yt(n,o=>({class:o,style:e.style,...r}),[()=>ie(!e.up&&!e.right&&!e.down&&!e.left&&"column",e.up&&!e.right&&!e.down&&!e.left&&"column-up",!e.up&&e.right&&!e.down&&!e.left&&"column-right",!e.up&&!e.right&&e.down&&!e.left&&"column-down",!e.up&&!e.right&&!e.down&&e.left&&"column-left",e.up&&e.right&&!e.down&&!e.left&&"column-up-right",e.up&&!e.right&&!e.down&&e.left&&"column-up-left",!e.up&&e.right&&e.down&&!e.left&&"column-down-right",!e.up&&!e.right&&e.down&&e.left&&"column-down-left",e.class)]);var a=Y(n);Zn(a,()=>e.children),H(n),x(t,n),Ue()}const Sf={amex:{elements:['<path d="M79 0 0 174.8h94.6l11.7-27.9h26.8l11.7 27.9h104.1v-21.3l9.3 21.3H312l9.3-21.7v21.7h216.5l26.3-27.2 24.7 27.2 111.2.2-79.3-87.1L700 0H590.5l-25.6 26.6L541 0H305.5l-20.2 45.1L264.6 0h-94.4v20.6L159.7 0zm18.3 24.8h46.1l52.4 118.6V24.8h50.5l40.5 85 37.3-85h50.2v125.4h-30.6l-.2-98.3-44.6 98.3h-27.4l-44.8-98.3v98.3h-62.9l-11.9-28.1H87.5l-11.9 28.1H41.9zm305 0h124.3l38 41.1 39.3-41.1h38l-57.8 63.1 57.8 62.3h-39.7l-38-41.6-39.5 41.6H402.3zM119.7 46.1 98.5 96.2h42.4zM433 50.8v22.9h67.8v25.5H433v25h76.1l35.3-36.8-33.8-36.6z"/ style="fill: var(--amex-fill-color-0, currentColor);"/>'],fills:["#fff"],strokes:[null],viewBoxWidth:700,viewBoxHeight:175.1,widthRatio:3.9977155910908055,heightRatio:1},"apple-pay":{elements:['<path d="M46.1 5.2 43.4 14l-2.7-8.8h-2.4l3.9 10.9-.2.7c-.4 1.1-.9 1.5-1.9 1.5h-.7v1.8h.9c2.2 0 3.3-.9 4.2-3.5l4-11.4h-2.3Zm-13-.1c-2.4 0-4.2 1.4-4.3 3.3h2.1c.2-.9 1-1.5 2.2-1.5s2.2.7 2.2 1.9v.8l-2.9.2c-2.7.2-4.1 1.3-4.1 3.2s1.5 3.2 3.6 3.2 2.8-.7 3.4-1.9v1.8h2.1V8.7c0-2.2-1.7-3.5-4.3-3.5Zm2.1 6.9c0 1.4-1.2 2.4-2.7 2.4s-2-.6-2-1.5.7-1.5 2.2-1.6l2.5-.2v.8ZM13 11.9c-.2-.1-2.1-1-2.1-3.3 0-1.9 1.5-2.9 1.7-3.1-1-1.4-2.4-1.6-2.9-1.6-.8 0-1.5.2-2.1.5q-.6.3-.9.3c-.3 0-.6-.1-1-.3-.5-.2-1-.4-1.6-.4-1.3 0-2.6.8-3.3 2-1.4 2.5-.4 6.1 1 8.1.7 1 1.5 2.1 2.5 2 .5 0 .8-.2 1.1-.3.4-.2.8-.4 1.5-.4s1 .2 1.4.3c.4.2.7.3 1.2.3 1.1 0 1.8-1 2.5-2 .7-1.1 1-2.1 1.1-2.3Zm9.8-10.8h-5.5V16h2.3v-5.1h3.2c2.9 0 4.9-2 4.9-4.9s-2-4.9-4.8-4.9ZM22.2 9h-2.6V3.1h2.6c2 0 3.1 1.1 3.1 3s-1.1 3-3.1 3ZM7.3 1.2c-.5.6-1 1.6-.9 2.5.9 0 1.8-.5 2.4-1.1.6-.7.9-1.6.8-2.6-.8 0-1.8.5-2.4 1.2Z" style="fill: var(--apple-pay-fill-color-0, currentColor);"/>'],fills:["#000"],strokes:[null],viewBoxWidth:48.4,viewBoxHeight:20.1,widthRatio:2.407960199004975,heightRatio:1},"arrow-up-right-from-square":{elements:['<path d="M384 64c-17.7 0-32 14.3-32 32s14.3 32 32 32h82.7L265.3 329.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L512 173.3V256c0 17.7 14.3 32 32 32s32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-240 96c-44.2 0-80 35.8-80 80v256c0 44.2 35.8 80 80 80h256c44.2 0 80-35.8 80-80v-80c0-17.7-14.3-32-32-32s-32 14.3-32 32v80c0 8.8-7.2 16-16 16H144c-8.8 0-16-7.2-16-16V240c0-8.8 7.2-16 16-16h80c17.7 0 32-14.3 32-32s-14.3-32-32-32z"/ style="fill: var(--arrow-up-right-from-square-fill-color-0, currentColor);"/>'],fills:["#000"],strokes:[null],viewBoxWidth:640,viewBoxHeight:640,widthRatio:1,heightRatio:1},billogram:{elements:['<path d="M13.5 0h-12C.7 0 0 .8 0 1.8v14.9c0 .6.7.9 1.1.6L3 15.9l1.6 1.4c.2.2.6.2.8 0l2-1.4 1.8 1.4c.2.2.6.2.8 0l1.8-1.4 2 1.4c.5.3 1.1 0 1.1-.6V1.8c.1-1-.6-1.8-1.4-1.8m-1.8 10.4H3.3c-.6 0-1-.4-1-1s.4-1 1-1h8.4c.5 0 1 .5 1 1s-.5 1-1 1m0-4.8H3.3c-.6 0-1-.5-1-1s.4-1 1-1h8.4c.5 0 1 .5 1 1s-.5 1-1 1" style="fill: var(--billogram-fill-color-0, currentColor);"/>'],fills:["#000"],strokes:[null],viewBoxWidth:15,viewBoxHeight:17.4,widthRatio:1,heightRatio:1.16},card:{elements:['<path d="M3.3 0h19.5C24.6 0 26 1.5 26 3.3v.4c0 .4-.3.7-.7.7H.7c-.4 0-.7-.3-.7-.7v-.4C0 1.5 1.5 0 3.3 0" style="fill: var(--card-fill-color-0, currentColor);"/>','<path d="M25.3 7.2H.7c-.4 0-.7.3-.7.7v7.8C0 17.5 1.5 19 3.2 19h19.5c1.8 0 3.2-1.5 3.2-3.3V7.9c0-.4-.3-.7-.7-.7ZM9.8 12.9H5.7c-.8 0-1.4-.6-1.4-1.4s.6-1.4 1.4-1.4h4.1c.8 0 1.4.6 1.4 1.4s-.6 1.4-1.4 1.4" style="fill: var(--card-fill-color-1, currentColor);"/>'],fills:["#000","#000"],strokes:[null,null],viewBoxWidth:26,viewBoxHeight:19,widthRatio:1.368421052631579,heightRatio:1},checkmark:{elements:['<path d="M.7 2.2 2.4 4l4-4 .7.7-4.7 4.8L0 2.9z"/ style="fill: var(--checkmark-fill-color-0, currentColor);"/>'],fills:["#000"],strokes:[null],viewBoxWidth:7.1,viewBoxHeight:5.5,widthRatio:1.2909090909090908,heightRatio:1},"chevron-down":{elements:['<path d="M7 11c-.3 0-.5-.1-.7-.3l-6-6c-.4-.4-.4-1 0-1.4s1-.4 1.4 0L7 8.6l5.3-5.3c.4-.4 1-.4 1.4 0s.4 1 0 1.4l-6 6c-.2.2-.4.3-.7.3" style="fill: var(--chevron-down-fill-color-0, currentColor);"/>'],fills:["#000"],strokes:[null],viewBoxWidth:14,viewBoxHeight:14,widthRatio:1,heightRatio:1},"chevron-left":{elements:['<path d="M10 14c-.3 0-.5-.1-.7-.3l-6-6c-.4-.4-.4-1 0-1.4l6-6c.4-.4 1-.4 1.4 0s.4 1 0 1.4L5.4 7l5.3 5.3c.4.4.4 1 0 1.4-.2.2-.4.3-.7.3" style="fill: var(--chevron-left-fill-color-0, currentColor);"/>'],fills:["#000"],strokes:[null],viewBoxWidth:14,viewBoxHeight:14,widthRatio:1,heightRatio:1},"chevron-right":{elements:['<path d="M4 14c-.3 0-.5-.1-.7-.3-.4-.4-.4-1 0-1.4L8.6 7 3.3 1.7c-.4-.4-.4-1 0-1.4s1-.4 1.4 0l6 6c.4.4.4 1 0 1.4l-6 6c-.2.2-.4.3-.7.3" style="fill: var(--chevron-right-fill-color-0, currentColor);"/>'],fills:["#000"],strokes:[null],viewBoxWidth:14,viewBoxHeight:14,widthRatio:1,heightRatio:1},"chevron-up":{elements:['<path d="M13 11c-.3 0-.5-.1-.7-.3L7 5.4l-5.3 5.3c-.4.4-1 .4-1.4 0s-.4-1 0-1.4l6-6c.4-.4 1-.4 1.4 0l6 6c.4.4.4 1 0 1.4-.2.2-.4.3-.7.3" style="fill: var(--chevron-up-fill-color-0, currentColor);"/>'],fills:["#000"],strokes:[null],viewBoxWidth:14,viewBoxHeight:14,widthRatio:1,heightRatio:1},"google-pay":{elements:['<path d="M37.8 19.7V29h-3V6h7.8c1.9 0 3.7.7 5.1 2 1.4 1.2 2.1 3 2.1 4.9s-.7 3.6-2.1 4.9-3.1 2-5.1 2zm0-10.9v8h5c1.1 0 2.2-.4 2.9-1.2 1.6-1.5 1.6-4 .1-5.5l-.1-.1c-.8-.8-1.8-1.3-2.9-1.2zm18.9 4c2.2 0 3.9.6 5.2 1.8s1.9 2.8 1.9 4.8V29H61v-2.2h-.1c-1.2 1.8-2.9 2.7-4.9 2.7-1.7 0-3.2-.5-4.4-1.5-1.1-1-1.8-2.4-1.8-3.9q0-2.4 1.8-3.9c1.2-1 2.9-1.4 4.9-1.4 1.8 0 3.2.3 4.3 1v-.7c0-1-.4-2-1.2-2.6-.8-.7-1.8-1.1-2.9-1.1q-2.55 0-3.9 2.1l-2.6-1.6c1.6-2.1 3.7-3.1 6.5-3.1m-3.8 11.4c0 .8.4 1.5 1 1.9.7.5 1.5.8 2.3.8 1.2 0 2.4-.5 3.3-1.4 1-.9 1.5-2 1.5-3.2-.9-.7-2.2-1.1-3.9-1.1q-1.8 0-3 .9-1.2.75-1.2 2.1M80 13.3 70.1 36h-3l3.7-7.9-6.5-14.7h3.2l4.7 11.3h.1l4.6-11.3H80z"/ style="fill: var(--google-pay-fill-color-0, currentColor);"/>','<path d="M25.9 17.7c0-.9-.1-1.8-.2-2.7H13.2v5.1h7.1c-.3 1.6-1.2 3.1-2.6 4v3.3H22c2.5-2.3 3.9-5.7 3.9-9.7"/ style="fill: var(--google-pay-fill-color-1, currentColor);"/>','<path d="M13.2 30.6c3.6 0 6.6-1.2 8.8-3.2l-4.3-3.3c-1.2.8-2.7 1.3-4.5 1.3-3.4 0-6.4-2.3-7.4-5.5H1.4v3.4c2.3 4.5 6.8 7.3 11.8 7.3"/ style="fill: var(--google-pay-fill-color-2, currentColor);"/>','<path d="M5.8 19.9c-.6-1.6-.6-3.4 0-5.1v-3.4H1.4c-1.9 3.7-1.9 8.1 0 11.9z"/ style="fill: var(--google-pay-fill-color-3, currentColor);"/>','<path d="M13.2 9.4c1.9 0 3.7.7 5.1 2l3.8-3.8c-2.4-2.2-5.6-3.5-8.8-3.4-5 0-9.6 2.8-11.8 7.3l4.4 3.4c.9-3.2 3.9-5.5 7.3-5.5"/ style="fill: var(--google-pay-fill-color-4, currentColor);"/>'],fills:["currentColor","#4285f4","#34a853","#fbbc04","#ea4335"],strokes:[null,null,null,null,null],viewBoxWidth:80,viewBoxHeight:38.1,widthRatio:2.099737532808399,heightRatio:1},info:{elements:['<path fill-rule="evenodd" d="M10 18a8 8 0 1 0 0-16 8 8 0 0 0 0 16m-1-8a1 1 0 1 0 2 0V6a1 1 0 1 0-2 0zm0 3.5a1 1 0 1 0 2 0 1 1 0 0 0-2 0" clip-rule="evenodd"/ style="fill: var(--info-fill-color-0, currentColor);"/>'],fills:["#FF662F"],strokes:[null],viewBoxWidth:20,viewBoxHeight:20,widthRatio:1,heightRatio:1},klarna:{elements:['<path d="M3.1 13.9H0V0h3.1zM10.9 0h-3c0 2.6-1.1 4.9-3.1 6.5l-1.2.9L8.3 14h3.8L7.8 8C9.8 5.9 11 3.1 11 .1Zm4.9 13.9h-2.9V0h2.9zm8.9-9.6v.6c-.8-.6-1.8-.9-2.8-.9C19.2 4 17 6.3 17 9.1s2.2 5.1 4.9 5.1 2-.3 2.8-.9v.6h2.8V4.3zm0 4.8c0 1.4-1.1 2.5-2.5 2.5s-2.5-1.1-2.5-2.5 1.1-2.5 2.5-2.5 2.5 1.1 2.5 2.5m29.7-4.2v-.6h2.8v9.6h-2.8v-.6c-.8.6-1.8.9-2.8.9-2.7 0-4.9-2.3-4.9-5.1S48.9 4 51.6 4s2 .3 2.8.9m-2.6 6.7c1.4 0 2.5-1.1 2.5-2.5s-1.1-2.5-2.5-2.5-2.5 1.1-2.5 2.5 1.1 2.5 2.5 2.5M41.6 4c-1.1 0-2.2.4-2.9 1.3V4.2h-2.8v9.6h2.8V8.7c0-1.5 1-2.2 2.1-2.2s1.9.8 1.9 2.2v5.1h2.8V7.7c0-2.2-1.7-3.8-4-3.8Zm-9.7.3v1.3c.6-.8 1.6-1.3 2.8-1.3v2.8c-1.1 0-2.7.8-2.7 2.3v4.5h-2.9V4.3H32Zm26.5 8c0-1 .8-1.8 1.8-1.8s1.8.8 1.8 1.8-.8 1.8-1.8 1.8-1.8-.8-1.8-1.8" style="fill: var(--klarna-fill-color-0, currentColor);"/>'],fills:["#000"],strokes:[null],viewBoxWidth:61.9,viewBoxHeight:14.2,widthRatio:4.359154929577465,heightRatio:1},lock:{elements:['<path d="M8.7 4.5v-.7C8.7 1.7 7 0 5 0S1.2 1.7 1.2 3.9v.7C.5 4.6 0 5.2 0 5.9v6.4c0 .7.6 1.3 1.2 1.3h7.4c.7 0 1.2-.6 1.2-1.3V5.9c0-.7-.6-1.3-1.2-1.3ZM5.6 9.7c0 .4-.3.7-.7.7s-.7-.3-.7-.7V8c0-.4.3-.7.7-.7s.7.3.7.7zm1.8-5.2H2.5v-.7c0-1.5 1.1-2.6 2.5-2.6s2.5 1.1 2.5 2.6v.7Z" style="fill: var(--lock-fill-color-0, currentColor);"/>'],fills:["#000"],strokes:[null],viewBoxWidth:9.9,viewBoxHeight:13.5,widthRatio:.7333333333333334,heightRatio:1},mastercard:{elements:['<path d="M303.1 57h256.7v419.3H303.1z"/ style="fill: var(--mastercard-fill-color-0, currentColor);"/>','<path d="M329.5 266.7c0-81.8 37.5-159.1 101.8-209.6C315.6-33.9 148-13.8 57 102s-70.9 283.4 44.9 374.4c96.7 76 232.8 76 329.5 0-64.4-50.5-101.9-127.8-101.8-209.7Z"/ style="fill: var(--mastercard-fill-color-1, currentColor);"/>','<path d="M862.8 266.7c0 147.2-119.4 266.6-266.6 266.6-59.8 0-117.8-20.1-164.8-57 115.8-91 135.9-258.6 44.9-374.4-13.1-16.7-28.2-31.8-44.9-44.9 115.8-91 283.4-70.9 374.4 44.8 36.9 47 57 105 57 164.8Z"/ style="fill: var(--mastercard-fill-color-2, currentColor);"/>'],fills:["#ff5f00","#eb001b","#f79e1b"],strokes:[null,null,null],viewBoxWidth:862.8,viewBoxHeight:533.3,widthRatio:1.617851115694731,heightRatio:1},swish:{elements:['<defs style="fill: var(--swish-fill-color-0, currentColor);"/>','<linearGradient id="a" x1="15.8" x2="10.8" y1="8.2" y2="18.1" gradientTransform="matrix(1 0 0 -1 0 25.4)" gradientUnits="userSpaceOnUse" style="fill: var(--swish-fill-color-1, currentColor);"/>','<stop offset="0" stop-color="#ef2131"/ style="fill: var(--swish-fill-color-2, currentColor);"/>','<stop offset="1" stop-color="#fecf2c"/ style="fill: var(--swish-fill-color-3, currentColor);"/>','</linearGradient style="fill: var(--swish-fill-color-4, currentColor);"/>','<linearGradient id="b" x1="20.3" x2="11.6" y1="16" y2="1" gradientTransform="matrix(1 0 0 -1 0 25.4)" gradientUnits="userSpaceOnUse" style="fill: var(--swish-fill-color-5, currentColor);"/>','<stop offset="0" stop-color="#fbc52c"/ style="fill: var(--swish-fill-color-6, currentColor);"/>','<stop offset=".3" stop-color="#f87130"/ style="fill: var(--swish-fill-color-7, currentColor);"/>','<stop offset=".6" stop-color="#ef52e2"/ style="fill: var(--swish-fill-color-8, currentColor);"/>','<stop offset="1" stop-color="#661eec"/ style="fill: var(--swish-fill-color-9, currentColor);"/>','</linearGradient style="fill: var(--swish-fill-color-10, currentColor);"/>','<linearGradient id="c" x1="7.7" x2="12.4" y1="19" y2="9.4" gradientTransform="matrix(1 0 0 -1 0 25.4)" gradientUnits="userSpaceOnUse" style="fill: var(--swish-fill-color-11, currentColor);"/>','<stop offset="0" stop-color="#78f6d8"/ style="fill: var(--swish-fill-color-12, currentColor);"/>','<stop offset=".3" stop-color="#77d1f6"/ style="fill: var(--swish-fill-color-13, currentColor);"/>','<stop offset=".6" stop-color="#70a4f3"/ style="fill: var(--swish-fill-color-14, currentColor);"/>','<stop offset="1" stop-color="#661eec"/ style="fill: var(--swish-fill-color-15, currentColor);"/>','</linearGradient style="fill: var(--swish-fill-color-16, currentColor);"/>','<linearGradient id="d" x1="3.1" x2="11.7" y1="11.5" y2="26.4" gradientTransform="matrix(1 0 0 -1 0 25.4)" gradientUnits="userSpaceOnUse" style="fill: var(--swish-fill-color-17, currentColor);"/>','<stop offset="0" stop-color="#536eed"/ style="fill: var(--swish-fill-color-18, currentColor);"/>','<stop offset=".2" stop-color="#54c3ec"/ style="fill: var(--swish-fill-color-19, currentColor);"/>','<stop offset=".6" stop-color="#64d769"/ style="fill: var(--swish-fill-color-20, currentColor);"/>','<stop offset="1" stop-color="#fecf2c"/ style="fill: var(--swish-fill-color-21, currentColor);"/>','</linearGradient style="fill: var(--swish-fill-color-22, currentColor);"/>','</defs style="fill: var(--swish-fill-color-23, currentColor);"/>','<path d="M72.8 6.5c0-.3 0-.5.1-.8 0-.2.2-.4.4-.6s.4-.3.6-.4.5-.2.7-.2.5 0 .7.2c.2 0 .4.2.6.4s.3.4.4.6c0 .2.1.5.1.8s0 .5-.1.8c0 .2-.2.4-.4.6s-.4.3-.6.4-.5.2-.7.2-.5 0-.7-.2c-.2 0-.4-.2-.6-.4s-.3-.4-.4-.6c0-.2-.1-.5-.1-.8m.4 0c0 .2 0 .4.1.6 0 .2.2.4.3.5s.3.3.5.3.4.1.6.1.4 0 .6-.1c.2 0 .3-.2.5-.3.1-.1.2-.3.3-.5 0-.2.1-.4.1-.6s0-.4-.1-.6c0-.2-.2-.4-.3-.5s-.3-.3-.5-.3-.4-.1-.6-.1-.4 0-.6.1c-.2 0-.3.2-.5.3-.1.1-.2.3-.3.5 0 .2-.1.4-.1.6m.8-.9c0-.1 0-.2.2-.2h.6c.2 0 .3 0 .5.2.1.1.2.3.2.4v.4l-.1.1h-.1l.3.5v.1h-.1s-.2 0-.2-.1l-.3-.6h-.3V7c0 .1 0 .2-.2.2-.1 0-.2 0-.2-.2V5.3Zm.7.8h.2V6h-.5v.7h.3ZM59.3 7.7c.6 0 1.1 0 1.5.2s.7.3 1 .4c.2.1.3.2.4.4v.6l-.2.3c-.1.2-.2.3-.4.4H61c-.2 0-.4-.2-.7-.3s-.6-.2-1-.2-.7 0-.9.2-.3.4-.3.7.1.4.3.6.5.3.8.4.7.2 1.1.4c.4.1.7.3 1.1.5.3.2.6.5.8.8s.3.7.3 1.3 0 .8-.2 1.1-.4.6-.7.9c-.3.2-.7.4-1.1.6-.4.1-.9.2-1.4.2s-1.3-.1-1.8-.3q-.75-.3-1.2-.6c-.2-.1-.3-.3-.3-.4 0-.2 0-.4.2-.6l.2-.3c.1-.2.3-.3.4-.3.2 0 .3 0 .6.1.2.1.5.3.8.4s.7.2 1.2.2.7 0 .9-.2.3-.4.3-.7-.1-.4-.3-.6c-.2-.1-.5-.3-.8-.4-.4-.1-.7-.3-1.1-.4s-.7-.3-1.1-.5c-.3-.2-.6-.5-.8-.8s-.3-.8-.3-1.3 0-.8.3-1.2c.2-.3.4-.6.7-.8s.7-.4 1.1-.5.9-.2 1.3-.2Zm-26.2 0c.6 0 1.1 0 1.5.2s.7.3 1 .4c.2.1.3.2.4.4s0 .4 0 .6l-.2.3c-.1.2-.2.3-.4.4h-.6c-.2 0-.4-.2-.7-.3s-.6-.2-1-.2-.7 0-.9.2-.3.4-.3.7.1.4.3.6.5.3.8.4.7.2 1.1.4c.4.1.7.3 1.1.5.3.2.6.5.8.8s.3.7.3 1.3 0 .8-.2 1.1-.4.6-.7.9c-.3.2-.7.4-1.1.6-.4.1-.9.2-1.4.2s-1.3-.1-1.8-.3q-.75-.3-1.2-.6c-.2-.1-.3-.3-.3-.4 0-.2 0-.4.2-.6l.2-.3c.1-.2.3-.3.4-.3.2 0 .3 0 .6.1.2.1.5.3.8.4s.7.2 1.2.2.7 0 .9-.2.3-.4.3-.7-.1-.4-.3-.6c-.2-.1-.5-.3-.8-.4s-.7-.3-1.1-.4-.7-.3-1.1-.5c-.3-.2-.6-.5-.8-.8s-.3-.8-.3-1.3 0-.8.3-1.2c.2-.3.4-.6.7-.8s.7-.4 1.1-.5.9-.2 1.3-.2Zm32.1-3.3c.5 0 .7.2.7.7v4.3c.1-.2.3-.4.4-.6.2-.2.4-.4.7-.6s.6-.3.9-.4.7-.2 1.1-.2c1 0 1.8.3 2.3.8s.8 1.4.8 2.6v5.1c0 .5-.2.7-.7.7h-.8c-.5 0-.7-.2-.7-.7v-4.6c0-.6 0-1-.3-1.3-.2-.3-.6-.5-1.1-.5s-.7 0-1.1.2c-.3.2-.6.4-.8.6-.2.3-.4.6-.5.9-.1.4-.2.8-.2 1.2V16c0 .5-.2.7-.7.7h-.8c-.5 0-.7-.2-.7-.7V5.1c0-.5.2-.7.7-.7zM53.5 7.9c.5 0 .7.2.7.7v7.5c0 .5-.2.7-.7.7h-.8c-.5 0-.7-.2-.7-.7V8.6c0-.5.2-.7.7-.7zm-15 0c.4 0 .7.2.8.7l1.4 5.3v1-1l1.5-5.3c0-.4.4-.6.8-.6h.7c.4 0 .7.2.8.6l1.5 5.3v1-1l1.4-5.3c.1-.4.4-.7.8-.7h.8c.3 0 .5 0 .6.2q.15.3 0 .6l-2.3 7.6c-.1.4-.4.6-.8.6h-1.2c-.4 0-.7-.2-.8-.6l-1.4-4.5v-1 1l-1.4 4.5c-.1.4-.4.6-.8.6h-1.2c-.4 0-.7-.2-.8-.6l-2.3-7.6v-.6c.1-.2.3-.2.6-.2h.8Z" style="fill: var(--swish-fill-color-24, currentColor);"/>','<path d="M6.6 22.2c4.7 2.2 10.5 1.1 14-3 4.1-4.9 3.5-12.3-1.4-16.4l-3.3 3.9c3.9 3.2 4.4 9 1.1 12.8-2.6 3.1-6.8 4.1-10.4 2.7" style="fill: var(--swish-fill-color-25, currentColor);"/>','<path d="M6.6 22.2c4.7 2.2 10.5 1.1 14-3 .4-.5.8-1 1.1-1.6.6-3.4-.7-7-3.5-9.4-.7-.6-1.5-1.1-2.3-1.5 3.9 3.2 4.4 9 1.1 12.8-2.6 3.1-6.8 4.1-10.4 2.7" style="fill: var(--swish-fill-color-26, currentColor);"/>','<path d="M16.7 1.1C12-1.1 6.2 0 2.7 4.2-1.4 9.1-.8 16.5 4.1 20.6l3.3-3.9C3.5 13.5 3 7.7 6.3 3.9 8.9.8 13.1-.2 16.7 1.1" style="fill: var(--swish-fill-color-27, currentColor);"/>','<path d="M16.7 1.1C12-1.1 6.2 0 2.7 4.2c-.4.5-.8 1-1.1 1.6-.6 3.4.7 7 3.5 9.4.7.6 1.5 1.1 2.3 1.5-3.9-3.2-4.4-9-1.1-12.8C8.9.8 13.1-.2 16.7 1.1" style="fill: var(--swish-fill-color-28, currentColor);"/>'],fills:["#000","#000","#000","#000","#000","#000","#000","#000","#000","#000","#000","#000","#000","#000","#000","#000","#000","#000","#000","#000","#000","#000","#000","#000","#000","#000","#000","#000","#000"],strokes:[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],viewBoxWidth:76.6,viewBoxHeight:23.3,widthRatio:3.2875536480686693,heightRatio:1},vipps:{elements:['<path d="m33.9 3.4 28.8 84.1L90.9 3.4h33.3L74.5 128.2H49.7L0 3.4zm165.4 105c20.9 0 32.7-10.2 44-24.8 6.2-7.9 14.1-9.6 19.8-5.1s6.2 13 0 20.9c-16.4 21.5-37.3 34.4-63.8 34.4s-54.2-15.8-71.7-43.5c-5.1-7.3-4-15.2 1.7-19.2s14.1-2.3 19.2 5.6c12.4 18.6 29.4 31.6 50.8 31.6ZM238.2 39c0 10.2-7.9 16.9-16.9 16.9s-16.9-6.8-16.9-16.9 7.9-16.9 16.9-16.9 16.9 7.3 16.9 16.9m79.7-35.6v16.9C326.4 8.4 339.4 0 358.5 0S411 20.3 411 63.8s-27.1 67.7-55.3 67.7-28.2-5.6-38.4-19.8v59.8h-30.5V3.4zm0 62.1c0 25.4 14.7 39 31.1 39s31.6-12.4 31.6-39-15.8-38.4-31.6-38.4-31.1 11.9-31.1 38.4M464.6 3.4v16.9C473.1 8.4 486.1 0 505.2 0s52.5 20.3 52.5 63.8-27.1 67.7-55.3 67.7-28.2-5.6-38.4-19.8v59.8h-30.5V3.4zm0 62.1c0 25.4 14.7 39 31.1 39s31.6-12.4 31.6-39-15.8-38.4-31.6-38.4-31.1 11.9-31.1 38.4M622.7 0c25.4 0 43.5 11.9 51.4 41.2l-27.7 4.5c-.6-14.7-9.6-19.8-23.1-19.8s-18.1 4.5-18.1 11.9 4 11.3 15.8 13.5l20.9 4c20.3 4 31.6 17.5 31.6 35.6 0 27.1-24.3 40.6-47.4 40.6s-51.4-12.4-55.3-42.9l27.7-4.5c1.7 15.8 11.3 21.5 27.1 21.5s19.8-4.5 19.8-11.9-4-11.9-16.9-14.1l-19.2-3.4c-20.3-4-32.7-18.1-32.7-36.1C577 11.9 602.4 0 622.7 0"/ style="fill: var(--vipps-fill-color-0, currentColor);"/>'],fills:["#ff5b24"],strokes:[null],viewBoxWidth:674.1,viewBoxHeight:176,widthRatio:3.8301136363636363,heightRatio:1},visa:{elements:['<path d="M484.7 8.4C469.2 2.7 452.8-.1 436.3 0c-53.3 0-91 26.9-91.2 65.4-.3 28.3 26.8 44.3 47.3 53.8 21 9.7 28.1 15.9 28 24.6-.1 13.2-16.8 19.2-32.3 19.2s-32.9-3-50.8-10.4l-6.6-3.1-7.6 44.4c13 5.4 36.3 10 60.5 10.4 56.7 0 93.8-26.7 94.2-67.7.5-22.6-14.2-39.7-45.1-53.9-18.8-9.2-30.4-15.3-30.4-24.6s10-17 30.8-17c13.9-.3 27.6 2.3 40.4 7.6l5 2.2L486.1 8l-1.3.3Zm138.4-4.8h-41.7c-13 0-22.7 3.6-28.4 16.4l-80.1 181.5h56.7l11.3-29.8h69.2c1.6 7 6.6 29.8 6.6 29.8h50zM268.4 1.9h54L288.6 200h-54zM131.2 111.1l5.6 27.5 52.8-135h57.2l-85 197.7h-57.1L58 33.9c-.8-2.8-2.5-5.1-5-6.6C36.2 18.6 18.4 12 0 7.6l.7-4.1h87c11.8.5 21.3 4.2 24.5 16.8l19 91v-.1Zm425.2 20.2 21.5-55.4c-.3.6 4.4-11.4 7.2-18.9l3.7 17.1 12.5 57.1h-44.9Z"/ style="fill: var(--visa-fill-color-0, currentColor);"/>'],fills:["#182a85"],strokes:[null],viewBoxWidth:666.8,viewBoxHeight:204.3,widthRatio:3.263827704356338,heightRatio:1}};var Ef=new Set(["$$slots","$$events","$$legacy","name","multiColor","ratio","class"]),Af=Er("<svg></svg>");function ir(t,e){He(e,!0);let r=ee(e,"multiColor",3,!1),n=ee(e,"ratio",3,1),a=Vt(e,Ef);const{elements:o,fills:i,strokes:s,viewBoxWidth:l,viewBoxHeight:d,widthRatio:u,heightRatio:h}=Sf[e.name];var f=Af();yt(f,(v,m)=>({class:v,viewBox:l&&d?`0 0 ${l} ${d}`:void 0,width:`${n()*u}em`,height:`${n()*h}em`,style:m,...a}),[()=>ie(`icon-${e.name}`,e.class),()=>r()?[...i.map((v,m)=>v&&`--${e.name}-fill-color-${m}: ${v};`),...s.map((v,m)=>v&&`--${e.name}-stroke-color-${m}: ${v};`)].filter(Boolean).join(""):void 0]),sn(f,()=>o.join(""),!0),H(f),x(t,f),Ue()}var zf=new Set(["$$slots","$$events","$$legacy","up","right","down","left","style","class","children"]),Tf=R("<div><!></div>");function Tr(t,e){He(e,!0);let r=Vt(e,zf);var n=Tf();yt(n,o=>({class:o,style:e.style,...r}),[()=>ie(!e.up&&!e.right&&!e.down&&!e.left&&"row",e.up&&!e.right&&!e.down&&!e.left&&"row-up",!e.up&&e.right&&!e.down&&!e.left&&"row-right",!e.up&&!e.right&&e.down&&!e.left&&"row-down",!e.up&&!e.right&&!e.down&&e.left&&"row-left",e.up&&e.right&&!e.down&&!e.left&&"row-up-right",e.up&&!e.right&&!e.down&&e.left&&"row-up-left",!e.up&&e.right&&e.down&&!e.left&&"row-down-right",!e.up&&!e.right&&e.down&&e.left&&"row-down-left",e.class)]);var a=Y(n);Zn(a,()=>e.children),H(n),x(t,n),Ue()}var Mf=Er('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 578 176"><defs><linearGradient x1="80.8150544%" y1="59.6365716%" x2="59.8678229%" y2="8.14952521%" id="linearGradient-1"><stop stop-color="#EF2131" offset="0%"></stop><stop stop-color="#FECF2C" offset="100%"></stop></linearGradient><linearGradient x1="58.8181173%" y1="0%" x2="9.24395007%" y2="94.0712606%" id="linearGradient-2"><stop stop-color="#FBC52C" offset="0%"></stop><stop stop-color="#F87130" offset="26.3921199%"></stop><stop stop-color="#EF52E2" offset="56.079734%"></stop><stop stop-color="#661EEC" offset="100%"></stop></linearGradient><linearGradient x1="20.5690473%" y1="41.0176198%" x2="40.5972643%" y2="91.2765373%" id="linearGradient-3"><stop stop-color="#78F6D8" offset="0%"></stop><stop stop-color="#77D1F6" offset="26.5705044%"></stop><stop stop-color="#70A4F3" offset="55.447147%"></stop><stop stop-color="#661EEC" offset="100%"></stop></linearGradient><linearGradient x1="42.4403836%" y1="100%" x2="91.6136906%" y2="6.27757791%" id="linearGradient-4"><stop stop-color="#536EED" offset="0%"></stop><stop stop-color="#54C3EC" offset="24.6657524%"></stop><stop stop-color="#64D769" offset="56.4199509%"></stop><stop stop-color="#FECF2C" offset="100%"></stop></linearGradient></defs><g id="02-Secondary-(Horizontal)/Colour/Light-background/Swish_Logo_Secondary_Light-BG" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g id="Wordmark/Swish" transform="translate(222.000000, 33.000000)" fill-rule="nonzero"><path d="M327.058556,15.9033093 C327.058556,13.8736577 327.431906,11.9708878 328.178619,10.1949426 C328.925332,8.41899743 329.938713,6.87007599 331.218792,5.54813183 C332.498871,4.22618767 333.998941,3.18467154 335.719047,2.42355217 C337.439153,1.66243281 339.285906,1.28187884 341.259361,1.28187884 C343.259485,1.28187884 345.132906,1.66243281 346.87968,2.42355217 C348.626455,3.18467154 350.146526,4.22618767 351.439939,5.54813183 C352.733352,6.87007599 353.7534,8.41899743 354.500113,10.1949426 C355.246825,11.9708878 355.620176,13.8736577 355.620176,15.9033093 C355.620176,17.9329609 355.246825,19.8357308 354.500113,21.611676 C353.7534,23.3876212 352.733352,24.9365426 351.439939,26.2584868 C350.146526,27.5804309 348.626455,28.6219471 346.87968,29.3830664 C345.132906,30.1441858 343.259485,30.5247398 341.259361,30.5247398 C339.285906,30.5247398 337.439153,30.1441858 335.719047,29.3830664 C333.998941,28.6219471 332.498871,27.5804309 331.218792,26.2584868 C329.938713,24.9365426 328.925332,23.3876212 328.178619,21.611676 C327.431906,19.8357308 327.058556,17.9329609 327.058556,15.9033093 Z M329.978721,15.9033093 C329.978721,17.5857837 330.265401,19.1480579 330.83877,20.5901788 C331.412139,22.0322925 332.205509,23.2874602 333.218905,24.3556979 C334.232301,25.4239356 335.42569,26.2651601 336.799108,26.8793968 C338.172526,27.4936335 339.659263,27.8007472 341.259361,27.8007472 C342.886128,27.8007472 344.392866,27.4936335 345.779618,26.8793968 C347.16637,26.2651601 348.373093,25.4239356 349.399823,24.3556979 C350.426553,23.2874602 351.233258,22.0322925 351.81996,20.5901788 C352.406663,19.1480579 352.70001,17.5857837 352.70001,15.9033093 C352.70001,14.2208349 352.406663,12.6585607 351.81996,11.2164398 C351.233258,9.77431891 350.426553,8.51915843 349.399823,7.45092073 C348.373093,6.38268302 347.16637,5.54145845 345.779618,4.92722177 C344.392866,4.31298509 342.886128,4.00587136 341.259361,4.00587136 C339.659263,4.00587136 338.172526,4.31298509 336.799108,4.92722177 C335.42569,5.54145845 334.232301,6.38268302 333.218905,7.45092073 C332.205509,8.51915843 331.412139,9.77431891 330.83877,11.2164398 C330.265401,12.6585607 329.978721,14.2208349 329.978721,15.9033093 Z M336.379084,9.61409126 C336.379084,8.73279516 336.819105,8.29215371 337.699159,8.29215371 L342.219416,8.29215371 C343.659505,8.29215371 344.806225,8.70608962 345.659611,9.53397384 C346.512997,10.3618581 346.939684,11.4834908 346.939684,12.8989058 C346.939684,13.4864365 346.853013,14.0071946 346.679669,14.4611956 C346.506325,14.9151966 346.286315,15.3091034 346.019631,15.6429277 C345.752948,15.9767519 345.459601,16.2504837 345.139581,16.4641313 C344.819562,16.6777788 344.499547,16.8246593 344.179527,16.9047771 L344.179527,16.9848946 C344.206195,17.0116005 344.246197,17.0650116 344.299534,17.1451294 C344.35287,17.1985413 344.406206,17.2853343 344.459543,17.4055111 C344.51288,17.5256878 344.592883,17.6658919 344.699557,17.8261275 L346.779675,21.8720576 C347.019689,22.3260586 347.073025,22.6932598 346.939684,22.9736722 C346.806342,23.2540846 346.512995,23.3942887 346.059634,23.3942887 L345.579606,23.3942887 C344.832894,23.3942887 344.312869,23.0738222 344.019518,22.4328796 L341.699386,17.5457166 L339.219246,17.5457166 L339.219246,22.1124099 C339.219246,22.9670001 338.805893,23.3942887 337.979175,23.3942887 L337.619155,23.3942887 C336.792437,23.3942887 336.379084,22.9670001 336.379084,22.1124099 L336.379084,9.61409126 Z M341.619382,15.4626634 C342.392763,15.4626634 342.992791,15.2356663 343.419484,14.7816653 C343.846177,14.3276643 344.05952,13.7000841 344.05952,12.8989058 C344.05952,12.1244334 343.846177,11.5235587 343.419484,11.0962637 C342.992791,10.6689686 342.406097,10.4553242 341.659384,10.4553242 L339.219246,10.4553242 L339.219246,15.4626634 L341.619382,15.4626634 Z M225.01569,25.0407019 C229.537969,25.0407019 233.372982,25.6178754 236.520843,26.7722398 C239.668704,27.9266041 242.129319,28.9921553 243.902761,29.9689251 C245.410188,30.7681004 246.296896,31.8336516 246.562912,33.1656105 C246.828929,34.4975693 246.607252,35.9183042 245.897875,37.4278576 L244.567799,39.8253716 C243.76975,41.4237223 242.750036,42.3560795 241.508626,42.6224713 C240.267216,42.888863 238.804147,42.6668732 237.119377,41.9564952 C235.61195,41.2461171 233.794199,40.5135507 231.666067,39.758774 C229.537936,39.0039973 227.055153,38.6266146 224.217645,38.6266146 C221.291464,38.6266146 219.030358,39.2037881 217.43426,40.3581525 C215.838161,41.5125168 215.040124,43.1552415 215.040124,45.2863757 C215.040124,47.1511182 215.860329,48.6606489 217.500764,49.8150133 C219.141198,50.9693777 221.224962,51.9905308 223.752118,52.8785034 C226.279274,53.766476 228.983734,54.7210322 231.865579,55.7422007 C234.747423,56.7633692 237.451883,58.0731091 239.979039,59.6714598 C242.506195,61.2698104 244.589959,63.3121168 246.230394,65.79844 C247.870828,68.2847633 248.691033,71.4370187 248.691033,75.2553008 C248.691033,78.2744076 248.092505,81.0492804 246.895431,83.5800022 C245.698357,86.1107241 243.969277,88.3084233 241.708137,90.1731658 C239.446997,92.0379082 236.72037,93.503041 233.528173,94.5686081 C230.335976,95.6341752 226.789143,96.1669508 222.887569,96.1669508 C217.389896,96.1669508 212.756847,95.3677874 208.988281,93.7694368 C205.219715,92.1710861 202.315746,90.6615554 200.276286,89.2407992 C198.76886,88.3528266 197.926487,87.2428775 197.749143,85.9109186 C197.571799,84.5789598 197.970817,83.1582249 198.946211,81.6486715 L200.542301,79.2511575 C201.517695,77.8304014 202.603912,77.031238 203.800986,76.8536435 C204.99806,76.676049 206.438961,77.0312327 208.123732,77.9192053 C209.71983,78.8071779 211.781426,79.8061321 214.308582,80.9160978 C216.835738,82.0260635 219.828378,82.5810381 223.286592,82.5810381 C226.212772,82.5810381 228.518214,81.9594666 230.202984,80.716305 C231.887755,79.4731433 232.730128,77.7860207 232.730128,75.6548865 C232.730128,73.7901441 231.909923,72.3028123 230.269488,71.1928465 C228.629053,70.0828808 226.545289,69.0617276 224.018133,68.1293564 C221.490977,67.1969852 218.786518,66.198031 215.904673,65.1324639 C213.022828,64.0668968 210.318369,62.7349579 207.791213,61.1366072 C205.264057,59.5382566 203.180293,57.4959502 201.539858,55.009627 C199.899423,52.5233037 199.079218,49.3266503 199.079218,45.4195709 C199.079218,42.1340724 199.766417,39.2038068 201.140835,36.6286862 C202.515254,34.0535657 204.377341,31.9224635 206.727152,30.2353156 C209.076964,28.5481676 211.825759,27.2606267 214.97362,26.3726541 C218.121481,25.4846815 221.468804,25.0407019 225.01569,25.0407019 Z M27.307473,25.0407019 C31.8297521,25.0407019 35.6647647,25.6178754 38.8126257,26.7722398 C41.9604867,27.9266041 44.4211017,28.9921553 46.1945445,29.9689251 C47.7019709,30.7681004 48.588679,31.8336516 48.8546954,33.1656105 C49.1207119,34.4975693 48.8990348,35.9183042 48.1896577,37.4278576 L46.8595822,39.8253716 C46.061533,41.4237223 45.0418186,42.3560795 43.8004087,42.6224713 C42.5589987,42.888863 41.0959303,42.6668732 39.4111597,41.9564952 C37.9037333,41.2461171 36.0859816,40.5135507 33.9578503,39.758774 C31.8297189,39.0039973 29.3469362,38.6266146 26.5094277,38.6266146 C23.583247,38.6266146 21.3221414,39.2037881 19.7260428,40.3581525 C18.1299443,41.5125168 17.331907,43.1552415 17.331907,45.2863757 C17.331907,47.1511182 18.152112,48.6606489 19.7925466,49.8150133 C21.4329812,50.9693777 23.5167452,51.9905308 26.0439013,52.8785034 C28.5710573,53.766476 31.275517,54.7210322 34.1573616,55.7422007 C37.0392062,56.7633692 39.7436659,58.0731091 42.2708219,59.6714598 C44.7979779,61.2698104 46.881742,63.3121168 48.5221766,65.79844 C50.1626112,68.2847633 50.9828162,71.4370187 50.9828162,75.2553008 C50.9828162,78.2744076 50.3842882,81.0492804 49.1872143,83.5800022 C47.9901404,86.1107241 46.2610596,88.3084233 43.99992,90.1731658 C41.7387804,92.0379082 39.012153,93.503041 35.8199559,94.5686081 C32.6277588,95.6341752 29.0809264,96.1669508 25.1793522,96.1669508 C19.6816795,96.1669508 15.0486296,95.3677874 11.2800636,93.7694368 C7.51149765,92.1710861 4.6075286,90.6615554 2.56806936,89.2407992 C1.06064297,88.3528266 0.218270266,87.2428775 0.0409259849,85.9109186 C-0.136418297,84.5789598 0.262600352,83.1582249 1.2379939,81.6486715 L2.83408445,79.2511575 C3.809478,77.8304014 4.89569544,77.031238 6.09276934,76.8536435 C7.28984324,76.676049 8.73074391,77.0312327 10.4155146,77.9192053 C12.0116131,78.8071779 14.0732095,79.8061321 16.6003655,80.9160978 C19.1275215,82.0260635 22.1201614,82.5810381 25.5783749,82.5810381 C28.5045555,82.5810381 30.8099966,81.9594666 32.4947673,80.716305 C34.1795379,79.4731433 35.0219106,77.7860207 35.0219106,75.6548865 C35.0219106,73.7901441 34.2017056,72.3028123 32.561271,71.1928465 C30.9208364,70.0828808 28.8370724,69.0617276 26.3099164,68.1293564 C23.7827603,67.1969852 21.0783006,66.198031 18.196456,65.1324639 C15.3146115,64.0668968 12.6101517,62.7349579 10.0829957,61.1366072 C7.55583971,59.5382566 5.47207566,57.4959502 3.83164105,55.009627 C2.19120645,52.5233037 1.37100145,49.3266503 1.37100145,45.4195709 C1.37100145,42.1340724 2.05820023,39.2038068 3.43261841,36.6286862 C4.80703659,34.0535657 6.66912362,31.9224635 9.01893535,30.2353156 C11.3687471,28.5481676 14.1175422,27.2606267 17.2654032,26.3726541 C20.4132642,25.4846815 23.7605873,25.0407019 27.307473,25.0407019 Z M269.832233,0 C273.556463,0 275.41855,1.86471447 275.41855,5.59419935 L275.41855,33.0324152 C275.41855,33.9203878 275.396382,34.6973522 275.352046,35.3633316 C275.30771,36.0293111 275.241207,36.6286836 275.152534,37.1614671 C275.063862,37.7830479 275.019527,38.3158235 275.019527,38.7598098 L275.285542,38.7598098 C276.083591,37.1614591 277.214144,35.5409335 278.677234,33.8981842 C280.140325,32.2554349 281.869406,30.7681031 283.864529,29.4361442 C285.859652,28.1041853 288.120758,27.0386342 290.647914,26.2394589 C293.17507,25.4402835 295.901697,25.0407019 298.827878,25.0407019 C306.36501,25.0407019 312.195115,27.0830082 316.31837,31.1676821 C320.441625,35.252356 322.503221,41.8232546 322.503221,50.8805751 L322.503221,88.9744088 C322.503221,92.7038936 320.641134,94.5686081 316.916904,94.5686081 L311.197579,94.5686081 C307.47335,94.5686081 305.611263,92.7038936 305.611263,88.9744088 L305.611263,54.3436509 C305.611263,50.1701797 304.901896,46.8181334 303.483142,44.2874115 C302.064388,41.7566897 299.226922,40.4913477 294.970659,40.4913477 C292.044478,40.4913477 289.362186,41.0685212 286.923702,42.2228856 C284.485218,43.37725 282.423622,44.9533777 280.738851,46.951316 C279.054081,48.9492543 277.746186,51.3245454 276.815129,54.0772604 C275.884071,56.8299754 275.41855,59.804639 275.41855,63.0013403 L275.41855,88.9744088 C275.41855,92.7038936 273.556463,94.5686081 269.832233,94.5686081 L264.112908,94.5686081 C260.388678,94.5686081 258.526591,92.7038936 258.526591,88.9744088 L258.526591,5.59419935 C258.526591,1.86471447 260.388678,0 264.112908,0 L269.832233,0 Z M181.460219,26.6390445 C185.095777,26.6390445 186.913528,28.503759 186.913528,32.2332439 L186.913528,88.9744088 C186.913528,92.7038936 185.095777,94.5686081 181.460219,94.5686081 L175.607887,94.5686081 C171.972329,94.5686081 170.154577,92.7038936 170.154577,88.9744088 L170.154577,32.2332439 C170.154577,28.503759 171.972329,26.6390445 175.607887,26.6390445 L181.460219,26.6390445 Z M68.604816,26.6390445 C71.9743573,26.6390445 73.9694505,28.2817692 74.5901555,31.5672678 L85.4967743,71.2594441 C85.6741186,72.236214 85.8292925,73.1241733 85.9623007,73.9233486 C86.0953089,74.7225239 86.2504829,75.4772893 86.4278271,76.1876674 C86.6051714,76.9868427 86.7381776,77.7416081 86.8268498,78.4519862 L87.0928649,78.4519862 C87.181537,77.7416081 87.3145432,76.9868427 87.4918875,76.1876674 C87.6692318,75.4772893 87.8244057,74.7225239 87.9574139,73.9233486 C88.0904221,73.1241733 88.2899315,72.236214 88.5559479,71.2594441 L99.9945969,31.5672678 C100.615302,28.3705665 102.65473,26.7722398 106.112944,26.7722398 L111.167231,26.7722398 C114.4481,26.7722398 116.487529,28.3705665 117.285578,31.5672678 L128.591219,71.2594441 C128.857236,72.236214 129.056745,73.1241733 129.189753,73.9233486 C129.322761,74.7225239 129.477935,75.4772893 129.65528,76.1876674 C129.832624,76.9868427 129.96563,77.7416081 130.054302,78.4519862 L130.320317,78.4519862 C130.40899,77.7416081 130.541996,76.9868427 130.71934,76.1876674 C130.896684,75.4772893 131.051858,74.7225239 131.184866,73.9233486 C131.317875,73.1241733 131.517384,72.236214 131.7834,71.2594441 L142.557012,31.5672678 C143.355061,28.2817692 145.39449,26.6390445 148.675359,26.6390445 L154.793706,26.6390445 C156.833165,26.6390445 158.251898,27.2162181 159.049947,28.3705824 C159.847997,29.5249468 159.981003,31.0344776 159.44897,32.89922 L142.024981,89.9067753 C141.13826,93.0146794 139.054496,94.5686081 135.773627,94.5686081 L126.862121,94.5686081 C123.49258,94.5686081 121.408816,92.9702814 120.610767,89.7735801 L110.369185,55.8087983 C110.103169,54.9208257 109.881492,54.0328664 109.704148,53.1448939 C109.526803,52.2569213 109.349462,51.4577579 109.172118,50.7473798 C108.994773,49.9482045 108.861767,49.1934391 108.773095,48.4830611 L108.50708,48.4830611 C108.329736,49.1934391 108.152394,49.9482045 107.97505,50.7473798 C107.797705,51.4577579 107.620364,52.2569213 107.443019,53.1448939 C107.265675,54.0328664 107.043998,54.9208257 106.777982,55.8087983 L96.5364007,89.7735801 C95.7383514,92.9702814 93.6989227,94.5686081 90.4180535,94.5686081 L81.2405328,94.5686081 C78.0483358,94.5686081 76.0089071,93.0146794 75.1221857,89.9067753 L57.5651896,32.89922 C57.0331568,31.0344776 57.1883307,29.5249468 58.030716,28.3705824 C58.8731014,27.2162181 60.2696666,26.6390445 62.2204537,26.6390445 L68.604816,26.6390445 Z" id="swish®"></path></g><g id="Symbol/Colour"><g id="Right-Swirl" transform="translate(50.005869, 20.581194)"><path d="M0,146.685268 C35.320882,163.577834 78.9117034,155.217748 105.246455,123.83961 C136.460269,86.64832 131.612113,31.2033405 94.4177327,-5.68434189e-14 L69.6915356,29.4617132 C98.7493932,53.8393444 102.537085,97.1556059 78.1513834,126.211403 C58.7070751,149.379356 26.6929327,157.114942 0,146.685268" id="Base-Shape" fill="url(#linearGradient-1)"></path><path d="M1.13686838e-13,146.685268 C35.320882,163.577834 78.9117034,155.217748 105.246455,123.83961 C108.471633,119.9968 111.310642,115.958759 113.770006,111.77305 C117.928757,85.9298966 108.78311,58.6143532 87.2695571,40.5661971 C81.803598,35.9805815 75.8865639,32.2862985 69.6953132,29.4651473 C98.7497366,53.8432937 102.535883,97.1569795 78.1513834,126.211403 C58.7070751,149.379356 26.6929327,157.114942 1.13686838e-13,146.685268" id="Light-Cast" fill="url(#linearGradient-2)"></path></g><g id="Left-Swirl"><path d="M125.821122,8.56068559 C90.5004122,-8.33188026 46.9095908,0.0280338815 20.5748395,31.4061724 C-10.6389751,68.5976339 -5.790819,124.042613 31.4033898,155.245954 L56.1297586,125.784241 C27.0717293,101.406609 23.2842093,58.090348 47.6699108,29.0343792 C67.114219,5.86642608 99.1283615,-1.86916026 125.821122,8.56068559" id="Base-shape" fill="url(#linearGradient-3)"></path><path d="M125.821122,8.56068559 C90.5004122,-8.33188026 46.9095908,0.0280338815 20.5748395,31.4061724 C17.3494893,35.2491539 14.5104805,39.2871949 12.0512883,43.4729041 C7.89236539,69.3160573 17.0381839,96.631429 38.5517371,114.679757 C44.0176961,119.265201 49.9347303,122.959655 56.1258093,125.780635 C27.0715576,101.40266 23.2852395,58.0889744 47.6699108,29.0343792 C67.114219,5.86642608 99.1283615,-1.86916026 125.821122,8.56068559" id="Shadow" fill="url(#linearGradient-4)"></path></g></g></g></svg>'),Pf=Er('<svg viewBox="0 0 182 50" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M164.958 38.8133C160.73 38.8133 157.435 35.2713 157.435 30.9704C157.435 26.6685 160.73 23.1265 164.958 23.1265C169.187 23.1265 172.482 26.6685 172.482 30.9704C172.482 35.2713 169.187 38.8133 164.958 38.8133ZM162.844 47.1C166.451 47.1 171.052 45.7089 173.601 40.2682L173.85 40.3949C172.731 43.3685 172.731 45.1395 172.731 45.5823V46.2773H181.809V15.6625H172.731V16.3586C172.731 16.8013 172.731 18.5723 173.85 21.545L173.601 21.6716C171.052 16.2319 166.451 14.8408 162.844 14.8408C154.202 14.8408 148.108 21.7982 148.108 30.9704C148.108 40.1426 154.202 47.1 162.844 47.1ZM132.315 14.8408C128.211 14.8408 124.978 16.2957 122.367 21.6716L122.118 21.545C123.237 18.5723 123.237 16.8013 123.237 16.3586V15.6625H114.159V46.2773H123.486V30.1477C123.486 25.9097 125.911 23.2531 129.828 23.2531C133.745 23.2531 135.673 25.5307 135.673 30.0849V46.2773H144.999V26.7952C144.999 19.8378 139.652 14.8408 132.315 14.8408ZM100.666 21.6716L100.418 21.545C101.537 18.5723 101.537 16.8013 101.537 16.3586V15.6625H92.4586V46.2773H101.786L101.848 31.5398C101.848 27.2379 104.086 24.6452 107.755 24.6452C108.75 24.6452 109.558 24.7709 110.491 25.0242V15.6625C106.387 14.777 102.718 16.3586 100.666 21.6716ZM71.0076 38.8133C66.7786 38.8133 63.4836 35.2713 63.4836 30.9704C63.4836 26.6685 66.7786 23.1265 71.0076 23.1265C75.2356 23.1265 78.5306 26.6685 78.5306 30.9704C78.5306 35.2713 75.2356 38.8133 71.0076 38.8133ZM68.8936 47.1C72.4996 47.1 77.1006 45.7089 79.6496 40.2682L79.8986 40.3949C78.7796 43.3685 78.7796 45.1395 78.7796 45.5823V46.2773H87.8576V15.6625H78.7796V16.3586C78.7796 16.8013 78.7796 18.5723 79.8986 21.545L79.6496 21.6716C77.1006 16.2319 72.4996 14.8408 68.8936 14.8408C60.2506 14.8408 54.1566 21.7982 54.1566 30.9704C54.1566 40.1426 60.2506 47.1 68.8936 47.1ZM41.1618 46.2773H50.4886V2H41.1618V46.2773ZM34.3222 2H24.809C24.809 9.90673 20.0213 16.9908 12.7465 22.0515L9.8863 24.0758V2H0V46.2773H9.8863V24.3281L26.2391 46.2773H38.3016L22.5706 25.2775C29.7211 20.0272 34.3844 11.8672 34.3222 2Z"></path></svg>'),If=Er('<svg viewBox="0 0 60 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M19.501 10.175c0-.717-.062-1.403-.178-2.063H9.944v3.875h5.384a4.613 4.613 0 01-1.99 3.027v2.477h3.194c1.88-1.733 2.97-4.284 2.97-7.316z" fill="#4285F4"></path><path d="M9.95 19.9c2.686 0 4.938-.89 6.582-2.41l-3.194-2.476c-.896.602-2.042.958-3.394.958-2.597 0-4.802-1.754-5.592-4.116H1.058v2.556c1.644 3.251 5 5.488 8.892 5.488z" fill="#34A853"></path><path d="M4.357 11.856a5.938 5.938 0 010-3.812V5.488H1.063a9.884 9.884 0 00.005 8.923l3.289-2.555z" fill="#FBBC05"></path><path d="M9.95 3.928c1.471 0 2.786.508 3.823 1.492l2.833-2.828C14.883.985 12.636 0 9.95 0 6.059 0 2.702 2.236 1.068 5.488l3.294 2.556c.786-2.362 2.99-4.116 5.588-4.116z" fill="#EA4335"></path><path d="M27.865 11.945v6.907H25.66V1.571h5.85c1.487 0 2.749.503 3.786 1.508 1.052 1.006 1.581 2.231 1.581 3.676 0 1.477-.529 2.713-1.581 3.703-1.021.99-2.283 1.482-3.786 1.482l-3.645.005zm0-8.232v6.085h3.692c.88 0 1.607-.299 2.183-.9.592-.603.886-1.315.886-2.143 0-.811-.294-1.518-.886-2.12-.576-.618-1.303-.927-2.183-.927l-3.692.005zM42.38 6.509c1.63 0 2.917.44 3.86 1.325.943.885 1.414 2.1 1.414 3.64v7.378h-2.11v-1.681h-.095c-.91 1.362-2.126 2.048-3.644 2.048-1.294 0-2.378-.388-3.247-1.168-.87-.78-1.304-1.754-1.304-2.922 0-1.236.46-2.215 1.377-2.943.917-.728 2.142-1.095 3.676-1.095 1.31 0 2.388.241 3.237.728v-.513c0-.78-.304-1.44-.911-1.985a3.095 3.095 0 00-2.132-.817c-1.23 0-2.204.53-2.922 1.582l-1.943-1.241c1.069-1.556 2.65-2.336 4.745-2.336zm-2.848 8.667c0 .586.246 1.073.733 1.46a2.674 2.674 0 001.712.587c.927 0 1.755-.35 2.483-1.047.728-.696 1.089-1.519 1.089-2.456-.686-.55-1.644-.827-2.875-.827-.895 0-1.644.22-2.241.66-.603.434-.901.973-.901 1.623zm20.167-8.368L52.34 24h-2.278l2.734-6.017-4.839-11.175h2.398l3.499 8.572h.047l3.404-8.572h2.393z"></path></svg>'),Rf=Er('<svg viewBox="0 0 121 55" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M23.1862 10.6405C24.6034 8.8679 25.5652 6.4877 25.3115 4.0555C23.2369 4.1586 20.7052 5.4242 19.2394 7.1982C17.9234 8.7174 16.7585 11.1973 17.0622 13.5275C19.3911 13.7296 21.7178 12.3635 23.1862 10.6405Z"></path><path d="M25.2851 13.9825C21.903 13.7811 19.0273 15.9021 17.4122 15.9021C15.7962 15.9021 13.3229 14.0841 10.6478 14.1331C7.1661 14.1842 3.9354 16.1528 2.1685 19.2839C-1.4656 25.5475 1.2095 34.8386 4.7435 39.9399C6.4596 42.4637 8.5279 45.2426 11.2532 45.1428C13.8282 45.0417 14.8374 43.4755 17.9674 43.4755C21.095 43.4755 22.0042 45.1428 24.7299 45.0923C27.5566 45.0417 29.3237 42.5672 31.0399 40.041C33.0087 37.164 33.8146 34.386 33.8653 34.2335C33.8146 34.183 28.4147 32.1114 28.3646 25.8999C28.3137 20.6989 32.6042 18.225 32.8061 18.0716C30.3832 14.4881 26.5975 14.0841 25.2851 13.9825Z"></path><path d="M54.7339 6.9438C62.0849 6.9438 67.2036 12.0109 67.2036 19.3882C67.2036 26.7918 61.9795 31.8852 54.5496 31.8852H46.4106V44.8284H40.5303V6.9438H54.7339ZM46.4106 26.9493H53.158C58.2777 26.9493 61.1916 24.193 61.1916 19.4145C61.1916 14.6366 58.2777 11.9061 53.1843 11.9061H46.4106V26.9493Z"></path><path d="M68.74 36.9786C68.74 32.1475 72.4418 29.181 79.006 28.8134L86.566 28.3672V26.2409C86.566 23.169 84.492 21.3313 81.027 21.3313C77.7449 21.3313 75.697 22.9062 75.1987 25.3744H69.8429C70.1579 20.3858 74.4107 16.7103 81.237 16.7103C87.932 16.7103 92.211 20.2546 92.211 25.7942V44.8284H86.776V40.2865H86.645C85.044 43.3583 81.552 45.3009 77.9292 45.3009C72.5208 45.3009 68.74 41.9404 68.74 36.9786ZM86.566 34.4846V32.3056L79.766 32.7254C76.3796 32.9619 74.4634 34.4583 74.4634 36.8212C74.4634 39.2362 76.4586 40.8116 79.504 40.8116C83.468 40.8116 86.566 38.0811 86.566 34.4846Z"></path><path d="M97.342 54.9889V50.3943C97.761 50.4991 98.706 50.4991 99.179 50.4991C101.804 50.4991 103.222 49.3967 104.088 46.5613C104.088 46.5087 104.587 44.8811 104.587 44.8548L94.611 17.2091H100.754L107.738 39.6828H107.843L114.827 17.2091H120.813L110.468 46.2722C108.106 52.9673 105.375 55.1201 99.652 55.1201C99.179 55.1201 97.761 55.0674 97.342 54.9889Z"></path></svg>'),Nf=Er('<svg viewBox="0 0 120 38" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M6.5 8L11.6 22.9L16.6 8H22.5L13.7 30.1H9.3L0.5 8H6.5Z" fill="#FF5B24"></path><path d="M35.8 26.6C39.5 26.6 41.6 24.8 43.6 22.2C44.7 20.8 46.1 20.5 47.1 21.3C48.1 22.1 48.2 23.6 47.1 25C44.2 28.8 40.5 31.1 35.8 31.1C30.7 31.1 26.2 28.3 23.1 23.4C22.2 22.1 22.4 20.7 23.4 20C24.4 19.3 25.9 19.6 26.8 21C29 24.3 32 26.6 35.8 26.6ZM42.7 14.3C42.7 16.1 41.3 17.3 39.7 17.3C38.1 17.3 36.7 16.1 36.7 14.3C36.7 12.5 38.1 11.3 39.7 11.3C41.3 11.3 42.7 12.6 42.7 14.3Z" fill="#FF5B24"></path><path d="M56.8 8V11C58.3 8.9 60.6 7.4 64 7.4C68.3 7.4 73.3 11 73.3 18.7C73.3 26.8 68.5 30.7 63.5 30.7C60.9 30.7 58.5 29.7 56.7 27.2V37.8H51.3V8H56.8ZM56.8 19C56.8 23.5 59.4 25.9 62.3 25.9C65.1 25.9 67.9 23.7 67.9 19C67.9 14.4 65.1 12.2 62.3 12.2C59.5 12.2 56.8 14.3 56.8 19Z" fill="#FF5B24"></path><path d="M82.8 8V11C84.3 8.9 86.6 7.4 90 7.4C94.3 7.4 99.3 11 99.3 18.7C99.3 26.8 94.5 30.7 89.5 30.7C86.9 30.7 84.5 29.7 82.7 27.2V37.8H77.3V8H82.8ZM82.8 19C82.8 23.5 85.4 25.9 88.3 25.9C91.1 25.9 93.9 23.7 93.9 19C93.9 14.4 91.1 12.2 88.3 12.2C85.4 12.2 82.8 14.3 82.8 19Z" fill="#FF5B24"></path><path d="M110.8 7.4C115.3 7.4 118.5 9.5 119.9 14.7L115 15.5C114.9 12.9 113.3 12 110.9 12C109.1 12 107.7 12.8 107.7 14.1C107.7 15.1 108.4 16.1 110.5 16.5L114.2 17.2C117.8 17.9 119.8 20.3 119.8 23.5C119.8 28.3 115.5 30.7 111.4 30.7C107.1 30.7 102.3 28.5 101.6 23.1L106.5 22.3C106.8 25.1 108.5 26.1 111.3 26.1C113.4 26.1 114.8 25.3 114.8 24C114.8 22.8 114.1 21.9 111.8 21.5L108.4 20.9C104.8 20.2 102.6 17.7 102.6 14.5C102.7 9.5 107.2 7.4 110.8 7.4Z" fill="#FF5B24"></path></svg>'),Df=Er('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 175.1"><path d="M79 0L0 174.8H94.6L106.3 146.9H133.1L144.8 174.8H248.9V153.5L258.2 174.8H312L321.3 153.1V174.8H537.8L564.1 147.6L588.8 174.8L700 175L620.7 87.9L700 0H590.5L564.9 26.6L541 0H305.5L285.3 45.1L264.6 0H170.2V20.6L159.7 0H79ZM97.3 24.8H143.4L195.8 143.4V24.8H246.3L286.8 109.8L324.1 24.8H374.3V150.2H343.7L343.5 51.9L298.9 150.2H271.5L226.7 51.9V150.2H163.8L151.9 122.1H87.5L75.6 150.2H41.9L97.3 24.8ZM402.3 24.8H526.6L564.6 65.9L603.9 24.8H641.9L584.1 87.9L641.9 150.2H602.2L564.2 108.6L524.7 150.2H402.3V24.8ZM119.7 46.1L98.5 96.2H140.9L119.7 46.1ZM433 50.8V73.7H500.8V99.2H433V124.2H509.1L544.4 87.4L510.6 50.8H433Z" fill="white"></path></svg>'),Of=Er('<svg viewBox="0 0 667 205" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M484.7 8.4C469.2 2.7 452.8 -0.1 436.3 0C383 0 345.3 26.9 345.1 65.4C344.8 93.7 371.9 109.7 392.4 119.2C413.4 128.9 420.5 135.1 420.4 143.8C420.3 157 403.6 163 388.1 163C372.6 163 355.2 160 337.3 152.6L330.7 149.5L323.1 193.9C336.1 199.3 359.4 203.9 383.6 204.3C440.3 204.3 477.4 177.6 477.8 136.6C478.3 114 463.6 96.9 432.7 82.7C413.9 73.5 402.3 67.4 402.3 58.1C402.3 48.8 412.3 41.1 433.1 41.1C447 40.8 460.7 43.4 473.5 48.7L478.5 50.9L486.1 8L484.8 8.3L484.7 8.4ZM623.1 3.6H581.4C568.4 3.6 558.7 7.2 553 20L472.9 201.5H529.6L540.9 171.7H610.1C611.7 178.7 616.7 201.5 616.7 201.5H666.7L623.1 3.6ZM268.4 1.9H322.4L288.6 200H234.6L268.4 1.9ZM131.2 111.1L136.8 138.6L189.6 3.6H246.8L161.8 201.3H104.7L58 33.9C57.2 31.1 55.5 28.8 53 27.3C36.2 18.6 18.4 12 0 7.6L0.7 3.5H87.7C99.5 4 109 7.7 112.2 20.3L131.2 111.3V111.2V111.1ZM556.4 131.3L577.9 75.9C577.6 76.5 582.3 64.5 585.1 57L588.8 74.1L601.3 131.2H556.4V131.3Z" fill="#182A85"></path></svg>'),Ff=Er('<svg viewBox="0 0 863 534" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M303.1 57H559.8V476.3H303.1V57Z" fill="#FF5F00"></path><path d="M329.5 266.7C329.5 184.9 367 107.6 431.3 57.1C315.6 -33.9 148 -13.8 57 102C-34 217.8 -13.9 385.4 101.9 476.4C198.6 552.4 334.7 552.4 431.4 476.4C367 425.9 329.5 348.6 329.6 266.7H329.5Z" fill="#EB001B"></path><path d="M862.8 266.7C862.8 413.9 743.4 533.3 596.2 533.3C536.4 533.3 478.4 513.2 431.4 476.3C547.2 385.3 567.3 217.7 476.3 101.9C463.2 85.2 448.1 70.1 431.4 57C547.2 -34 714.8 -13.9 805.8 101.8C842.7 148.8 862.8 206.8 862.8 266.6V266.7Z" fill="#F79E1B"></path></svg>'),qf=Er("<!><!><!><!><!><!><!><!>",1);function vc(t,e){He(e,!1);const r=Ea();let n=ee(e,"method",8),a=ee(e,"width",8,"578"),o=ee(e,"height",8,"176"),i=ee(e,"darkModeSupport",8,!1);du(()=>ft(n()),()=>{P(r,(n()??"").toLowerCase())}),uu(),Di();var s=qf(),l=U(s);{var d=p=>{var L=Mf(),V=E(Y(L)),D=Y(V);$t(),H(V),H(L),G(se=>{Ee(L,"width",a()),Ee(L,"height",o()),je(D,0,se)},[()=>Ve((ft(ie),ft(i()),st(()=>ie("fill-[#4A4A49]",i()&&"dark:fill-white"))))]),x(p,L)};B(l,p=>{(c(r)==="swish"||c(r)==="swish_direct")&&p(d)})}var u=E(l);{var h=p=>{var L=Pf(),V=Ie(L);G(D=>{Ee(L,"width",a()),Ee(L,"height",o()),je(V,0,D)},[()=>Ve((ft(ie),ft(i()),st(()=>ie("fill-black",i()&&"dark:fill-white"))))]),x(p,L)},f=Z(()=>(c(r),st(()=>c(r).includes("klarna"))));B(u,p=>{c(f)&&p(h)})}var v=E(u);{var m=p=>{var L=If(),V=E(Y(L),4);H(L),G(D=>{Ee(L,"width",a()),Ee(L,"height",o()),je(V,0,D)},[()=>Ve((ft(ie),ft(i()),st(()=>ie("fill-[#3C4043]",i()&&"dark:fill-white"))))]),x(p,L)};B(v,p=>{c(r)==="google-pay"&&p(m)})}var g=E(v);{var y=p=>{var L=Rf(),V=Y(L),D=E(V),se=E(D),Ne=E(se),Ce=E(Ne);H(L),G((me,_e,ue,ne,O)=>{Ee(L,"width",a()),Ee(L,"height",o()),je(V,0,me),je(D,0,_e),je(se,0,ue),je(Ne,0,ne),je(Ce,0,O)},[()=>Ve((ft(ie),ft(i()),st(()=>ie("fill-black",i()&&"dark:fill-white")))),()=>Ve((ft(ie),ft(i()),st(()=>ie("fill-black",i()&&"dark:fill-white")))),()=>Ve((ft(ie),ft(i()),st(()=>ie("fill-black",i()&&"dark:fill-white")))),()=>Ve((ft(ie),ft(i()),st(()=>ie("fill-black",i()&&"dark:fill-white")))),()=>Ve((ft(ie),ft(i()),st(()=>ie("fill-black",i()&&"dark:fill-white"))))]),x(p,L)};B(g,p=>{c(r)==="apple-pay"&&p(y)})}var C=E(g);{var z=p=>{var L=Nf();G(()=>{Ee(L,"width",a()),Ee(L,"height",o())}),x(p,L)};B(C,p=>{c(r)==="vipps"&&p(z)})}var F=E(C);{var I=p=>{var L=Df();G(()=>{Ee(L,"width",a()),Ee(L,"height",o())}),x(p,L)};B(F,p=>{c(r)==="amex"&&p(I)})}var T=E(F);{var w=p=>{var L=Of();G(()=>{Ee(L,"width",a()),Ee(L,"height",o())}),x(p,L)};B(T,p=>{c(r)==="visa"&&p(w)})}var k=E(T);{var b=p=>{var L=Ff();G(()=>{Ee(L,"width",a()),Ee(L,"height",o())}),x(p,L)};B(k,p=>{c(r)==="mastercard"&&p(b)})}x(t,s),Ue()}function Ga(t,e){He(e,!0);let r=ee(e,"size",3,"md");{let n=Z(()=>ie("aspect-[4/3] px-1 rounded bg-white border border-transparent",e.name==="klarna"&&"bg-[#FEB4C7]",e.name==="amex"&&"bg-[#1F72CD]",r()==="sm"&&"w-8 border-gray-300",r()==="md"&&"w-10 shadow-sm",r()==="lg"&&"w-12 shadow"));Tr(t,{get class(){return c(n)},children:(a,o)=>{{let i=Z(()=>e.name.toUpperCase());vc(a,{get method(){return c(i)},width:"38",height:"auto"})}},$$slots:{default:!0}})}Ue()}var jf=R('<span class="inline-block w-4 h-4 mr-2 border-2 border-current border-r-transparent rounded-full animate-spin" aria-hidden="true"></span>'),Gf=R("<!> <!>",1);function Ha(t,e){He(e,!0);let r=ee(e,"loading",7,!1),n=ee(e,"variant",7,"primary"),a=ee(e,"disabled",7,!1),o=ee(e,"size",7,"md"),i=ee(e,"part",7),s=ee(e,"onclick",7),l=ee(e,"href",7),d=ee(e,"type",7,"button"),u=ee(e,"class",7);var h={get loading(){return r()},set loading(f=!1){r(f),_t()},get variant(){return n()},set variant(f="primary"){n(f),_t()},get disabled(){return a()},set disabled(f=!1){a(f),_t()},get size(){return o()},set size(f="md"){o(f),_t()},get part(){return i()},set part(f){i(f),_t()},get onclick(){return s()},set onclick(f){s(f),_t()},get href(){return l()},set href(f){l(f),_t()},get type(){return d()},set type(f="button"){d(f),_t()},get class(){return u()},set class(f){u(f),_t()}};return Kn(t,{children:(f,v)=>{{let m=Z(()=>ie("inline-flex font-bold ring-2 ring-transparent focus:ring-primary/25 active:enabled:translate-y-px border border-transparent items-center justify-center outline-none rounded-md transition-colors duration-200 ease-in-out",o()=="sm"&&"px-3 py-1.5 text-sm",o()=="md"&&"px-4 py-2 text-base",o()=="lg"&&"px-6 py-3 text-lg",n()==="primary"&&"bg-primary text-white enabled:hover:bg-primary/90",n()==="secondary"&&"bg-transparent border-primary text-primary enabled:hover:bg-primary/10",n()==="tertiary"&&"text-primary enabled:hover:bg-primary/10",a()&&"opacity-50 cursor-not-allowed",u()));fc(f,{get class(){return c(m)},get href(){return l()},get onclick(){return s()},get part(){return i()},get disabled(){return a()},get type(){return d()},children:(g,y)=>{var C=Gf(),z=U(C);{var F=T=>{var w=jf();x(T,w)};B(z,T=>{r()&&T(F)})}var I=E(z,2);At(I,e,"default",{},null),x(g,C)},$$slots:{default:!0}})}},$$slots:{default:!0}}),Ue(h)}customElements.define("sesamy-button",xn(Ha,{loading:{},variant:{},disabled:{},size:{},part:{},onclick:{},href:{},type:{},class:{}},["default"],[],{mode:"open"},qa));function Hf(t){const e=t-1;return e*e*e+1}function $n(t,e,r){return Number.isNaN(e)?"":`${t}: ${r*e}px;`}function Uf(t,{delay:e=0,duration:r=400,easing:n=Hf,axis:a="y"}={}){const o=getComputedStyle(t),i=+o.opacity,s=a==="y"?"height":"width",l=parseFloat(o[s]),d=a==="y"?["top","bottom"]:["left","right"],u=d.map(C=>`${C[0].toUpperCase()}${C.slice(1)}`),h=parseFloat(o[`padding${u[0]}`]),f=parseFloat(o[`padding${u[1]}`]),v=parseFloat(o[`margin${u[0]}`]),m=parseFloat(o[`margin${u[1]}`]),g=parseFloat(o[`border${u[0]}Width`]),y=parseFloat(o[`border${u[1]}Width`]);return{delay:e,duration:r,easing:n,css:C=>`overflow: hidden;opacity: ${Math.min(C*20,1)*i};`+$n(s,l,C)+$n(`padding-${d[0]}`,h,C)+$n(`padding-${d[1]}`,f,C)+$n(`margin-${d[0]}`,v,C)+$n(`margin-${d[1]}`,m,C)+$n(`border-${d[0]}-width`,g,C)+$n(`border-${d[1]}-width`,y,C)+`min-${s}: 0`}}var Vf=R('<li class="row-up-left gap-2"><!> <div> </div></li>'),Bf=R("<ul></ul>");function Zi(t,e){He(e,!0);var r=Bf();an(r,21,()=>e.features,Ia,(n,a)=>{var o=Vf(),i=Y(o);ir(i,{class:"text-primary text-[0.9em] mt-0.5",name:"checkmark"});var s=E(i,2),l=Ie(s,!0);H(o),G(d=>{je(s,1,d),Q(l,c(a))},[()=>Ve(ie("flex-1 leading-snug"))]),Hu(3,o,()=>Uf),x(n,o)}),H(r),G(n=>je(r,1,n),[()=>Ve(ie("space-y-0.5 @md:space-y-1.5",e.class))]),x(t,r),Ue()}const Wf=/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$/,Ua=t=>{if(!Wf.test(t))return!0;let e=0,r=0,n=0;return t.length===4?(e=parseInt(`${t[1]}${t[1]}`,16),r=parseInt(`${t[2]}${t[2]}`,16),n=parseInt(`${t[3]}${t[3]}`,16)):(e=parseInt(`${t[1]}${t[2]}`,16),r=parseInt(`${t[3]}${t[4]}`,16),n=parseInt(`${t[5]}${t[6]}`,16)),(e*2126+r*7152+n*722)/1e4>=128};var Zf=R("<div><!></div>");function Yi(t,e){He(e,!0);let r=ee(e,"horizontal",3,!1);var n=Zf(),a=Y(n);Zn(a,()=>e.children),H(n),G(o=>je(n,1,o),[()=>Ve(ie("transition-colors grid rounded-md w-full",r()&&"gap-2 @xl:gap-4 @xl:auto-rows-fr",!r()&&"bg-white border-gray-200 border has-[input:checked]:border-primary dark:bg-black/25 dark:border-gray-800",e.class))]),x(t,n),Ue()}var Yf=R('<div><div><div class="absolute top-full left-1/2 -translate-x-1/2 w-4 h-4 bg-[var(--s-paywall-tag-bg-color)] rotate-45 -translate-y-3.5 rounded-sm"></div> <div class="relative"> </div></div></div>');function pc(t,e){He(e,!0);var r=Yf(),n=Y(r),a=E(Y(n),2),o=Ie(a,!0);H(n),H(r),G((i,s)=>{je(r,1,i),je(n,1,s),Q(o,e.text)},[()=>Ve(ie("absolute top-2 -right-1.5 rotate-3",e.chunky&&"top-5")),()=>Ve(ie("absolute bg-[var(--s-paywall-tag-bg-color)] bottom-0 rounded right-0 px-2 text-[var(--s-paywall-tag-text-color)] text-xs py-1 font-bold whitespace-nowrap",e.chunky&&"px-3 text-sm @xl:text-base bottom-1"))]),x(t,r),Ue()}var Kf=new Set(["$$slots","$$events","$$legacy","id","name","type","checked","children","onchange","class"]),Jf=R('<div class="w-4 h-4 rounded transition-all bg-white dark:bg-black border border-gray-300 dark:border-gray-500 relative ring ring-transparent peer-focus:ring-primary peer-checked:border-primary peer-checked:bg-primary"><div class="absolute top-1/2 left-1/2 -translate-y-1/2 -translate-x-1/2 text-[8px] text-white dark:text-black"><!></div></div>'),Xf=R(`<div class="w-4 h-4 rounded-full transition-all bg-white dark:bg-black border border-gray-300 dark:border-gray-500 relative ring ring-transparent peer-focus:ring-primary peer-checked:border-primary peer-checked:bg-primary"><div class="content-[''] absolute top-1/2 left-1/2 -translate-y-1/2 -translate-x-1/2 w-1.5 h-1.5 bg-white dark:bg-black rounded-full"></div></div>`),Qf=R('<label><input class="peer sr-only"/> <!> <!> <div><!></div></label>');function Ro(t,e){He(e,!0);let r=ee(e,"type",3,"radio"),n=Vt(e,Kf);var a=Qf();yt(a,()=>({class:"p-3 @3xl:p-4 row-left gap-4 w-full relative cursor-pointer",for:e.id,...n}));var o=Y(a);Pi(o);var i=E(o,2);{var s=f=>{var v=Jf(),m=Y(v),g=Y(m);ir(g,{name:"checkmark"}),H(m),H(v),x(f,v)};B(i,f=>{r()==="checkbox"&&f(s)})}var l=E(i,2);{var d=f=>{var v=Xf();x(f,v)};B(l,f=>{r()==="radio"&&f(d)})}var u=E(l,2),h=Y(u);Zn(h,()=>e.children),H(u),H(a),G(f=>{Ee(o,"type",r()),t1(o,e.checked),Ee(o,"name",e.name),Ee(o,"id",e.id),je(u,1,f)},[()=>Ve(ie("column-up-left @md:row-left flex-1 !justify-between",e.class))]),or("change",o,function(...f){var v;(v=e.onchange)==null||v.apply(this,f)}),x(t,a),Ue()}Vr(["change"]);var e2=R('<a class="inline-link with-icon"><span> </span> <!></a>'),t2=R("<div><!> <!></div>");function Ki(t,e){He(e,!0);let r=ee(e,"class",3,"");var n=t2(),a=Y(n);sn(a,()=>e.description);var o=E(a,2);{var i=s=>{var l=e2(),d=Y(l),u=Ie(d,!0),h=E(d,2);ir(h,{name:"arrow-up-right-from-square"}),H(l),G(f=>{Ee(l,"href",e.readMoreLink),Q(u,f)},[()=>e.readMoreText||e.t("read_more")]),x(s,l)};B(o,s=>{e.readMoreLink&&s(i)})}H(n),G(()=>je(n,1,`markdown-container ${r()??""}`)),x(t,n),Ue()}const gc=({period:t,time:e},r)=>{const n=t==="quarter"?"month":t,a=t==="quarter"?e*3:e;return n==="month"&&a===3?r("timeperiod_quarter"):n==="month"&&a===6?r("timeperiod_half_year"):a>1?`${a} ${r2(n,a,r)}`:r(`timeperiod_${n}`)},r2=(t,e,r)=>{const n=new Intl.PluralRules(r.lang).select(e),a=`timeperiod_${t}s_many`,o=n==="many"||n==="other"?r(a):a;return o!==a?o:r(`timeperiod_${t}s`)},n2=(t,e)=>{const{priceMode:r,pricePeriod:n,discountPeriod:a,discountMonths:o,discountPrice:i}=t,{periodText:s,comparePeriodText:l}=t,d=typeof i=="number",u=r==="AUTOMATIC",h=u?d&&a||n:void 0;let f=h?gc(h,e):s;h&&d&&(o??0)>1&&(f=`${f}, ${e("timeperiod_first_months").replace("{{count}}",String(o))}`);const v=u&&n?gc(n,e):d&&l||s;return{headline:f,regular:v}};var a2=R('<div class="text-gray-500 line-through @xs/box:text-lg"> <!></div>'),o2=R('<div class="h-6 @xs/box:h-7"><!></div>'),i2=R('<div class="mb-3"><div><span class="font-bold text-2xl @xs/box:text-3xl whitespace-nowrap"> </span> <span class="font-bold whitespace-nowrap @xs/box:text-lg"> </span></div> <!></div>'),No=R("<!> <!>",1),s2=R('<div class="text-base @xl:text-lg font-bold leading-tight"> </div> <!> <!>',1),l2=R('<div class="@container/box w-full"><!></div>'),c2=R("<hr/>"),d2=R('<div class="text-base font-bold leading-tight"> </div> <!>',1),u2=R('<div class="text-base font-bold leading-none"> <!></div>'),f2=R("<div> <!></div>"),h2=R('<!> <div class="column-left @md:column-right"><!> <!></div> <!>',1);function m2(t,e){He(e,!0);let r=ee(e,"horizontal",3,!1),n=ee(e,"loading",3,!1),a=ce(void 0);const o=()=>e.subscriptions.some(i=>typeof i.discountPrice=="number"&&i.discountPrice<(i.price||1/0));{let i=Z(()=>ie(r()&&"@xl:grid-cols-3",r()&&e.subscriptions.length===4&&"@xl:grid-cols-2",r()&&e.subscriptions.length===2&&"@xl:grid-cols-2",r()&&e.subscriptions.length===1&&"flex"));Yi(t,{get class(){return c(i)},get horizontal(){return r()},children:(s,l)=>{var d=Ke(),u=U(d);an(u,17,()=>e.subscriptions,Ia,(h,f,v)=>{const m=Z(()=>c(f)),g=Z(()=>typeof c(m).price=="number"),y=Z(()=>typeof c(m).discountPrice=="number"),C=Z(()=>{const{headline:w,regular:k}=n2(c(f),e.t);return{periodText:w,regularPeriodText:k}});var z=Ke(),F=U(z);{var I=w=>{var k=l2(),b=Y(k);{let p=Z(()=>ie("border bg-white dark:bg-black/25 border-gray-300 rounded-lg relative h-full",c(m).tag&&"border-primary mt-0 border-2"));It(b,{get class(){return c(p)},children:(L,V)=>{var D=No(),se=U(D);{var Ne=me=>{pc(me,{get text(){return c(m).tag},get t(){return e.t},chunky:!0})};B(se,me=>{c(m).tag&&me(Ne)})}var Ce=E(se,2);It(Ce,{class:"p-4 flex-1 gap-2 w-full !justify-between shadow-md",left:!0,up:!0,children:(me,_e)=>{var ue=No(),ne=U(ue);It(ne,{class:"@xl:p-1",left:!0,children:(pe,de)=>{var S=s2(),q=U(S),K=Ie(q,!0),re=E(q,2);{var te=Le=>{var j=i2(),be=Y(j),Oe=Y(be),et=Ie(Oe),We=E(Oe,2),A=Ie(We,!0);H(be);var $=E(be,2);{var M=W=>{var ae=o2(),fe=Y(ae);{var he=ze=>{var $e=a2(),Ge=Y($e),Ze=E(Ge);{var Fe=Te=>{var ht=Pt();G(()=>Q(ht,` / ${c(C).regularPeriodText??""}`)),x(Te,ht)};B(Ze,Te=>{c(C).regularPeriodText&&Te(Fe)})}H($e),G(()=>Q(Ge,`${c(m).price??""}
|
|
34
|
+
`+"</style>":"";const s=Promise.all([n,a]).then(([v,m])=>({api:v,t:m}));let l=!1;function d(v){l||(l=!0,console.error("[sesamy-components] sesamy-js is unavailable:",v))}var u=g1(),h=U(u);nn(h,()=>s,null,(v,m)=>{var g=Z(()=>{var{api:I,t:T}=c(m);return{api:I,t:T}}),y=Z(()=>c(g).api),C=Z(()=>c(g).t),z=Ke(),F=U(z);At(F,e,"default",{get api(){return c(y)},get t(){return c(C)}},null),x(v,z)},(v,m)=>{var g=p1(),y=U(g),C=E(y);At(C,e,"error",{get error(){return c(m)}},null),G(z=>Q(y,`${z??""} `),[()=>d(c(m))]),x(v,g)});var f=E(h,2);sn(f,()=>i),x(t,u),Ue()}const _1=(t,e)=>{const r=new Array(t.length+e.length);for(let n=0;n<t.length;n++)r[n]=t[n];for(let n=0;n<e.length;n++)r[t.length+n]=e[n];return r},b1=(t,e)=>({classGroupId:t,validator:e}),Bl=(t=new Map,e=null,r)=>({nextPart:t,validators:e,classGroupId:r}),To="-",Wl=[],y1="arbitrary..",w1=t=>{const e=k1(t),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=t;return{getClassGroupId:i=>{if(i.startsWith("[")&&i.endsWith("]"))return x1(i);const s=i.split(To),l=s[0]===""&&s.length>1?1:0;return Zl(s,l,e)},getConflictingClassGroupIds:(i,s)=>{if(s){const l=n[i],d=r[i];return l?d?_1(d,l):l:d||Wl}return r[i]||Wl}}},Zl=(t,e,r)=>{if(t.length-e===0)return r.classGroupId;const a=t[e],o=r.nextPart.get(a);if(o){const d=Zl(t,e+1,o);if(d)return d}const i=r.validators;if(i===null)return;const s=e===0?t.join(To):t.slice(e).join(To),l=i.length;for(let d=0;d<l;d++){const u=i[d];if(u.validator(s))return u.classGroupId}},x1=t=>t.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const e=t.slice(1,-1),r=e.indexOf(":"),n=e.slice(0,r);return n?y1+n:void 0})(),k1=t=>{const{theme:e,classGroups:r}=t;return C1(r,e)},C1=(t,e)=>{const r=Bl();for(const n in t){const a=t[n];ji(a,r,n,e)}return r},ji=(t,e,r,n)=>{const a=t.length;for(let o=0;o<a;o++){const i=t[o];$1(i,e,r,n)}},$1=(t,e,r,n)=>{if(typeof t=="string"){L1(t,e,r);return}if(typeof t=="function"){S1(t,e,r,n);return}E1(t,e,r,n)},L1=(t,e,r)=>{const n=t===""?e:Yl(e,t);n.classGroupId=r},S1=(t,e,r,n)=>{if(A1(t)){ji(t(n),e,r,n);return}e.validators===null&&(e.validators=[]),e.validators.push(b1(r,t))},E1=(t,e,r,n)=>{const a=Object.entries(t),o=a.length;for(let i=0;i<o;i++){const[s,l]=a[i];ji(l,Yl(e,s),r,n)}},Yl=(t,e)=>{let r=t;const n=e.split(To),a=n.length;for(let o=0;o<a;o++){const i=n[o];let s=r.nextPart.get(i);s||(s=Bl(),r.nextPart.set(i,s)),r=s}return r},A1=t=>"isThemeGetter"in t&&t.isThemeGetter===!0,z1=t=>{if(t<1)return{get:()=>{},set:()=>{}};let e=0,r=Object.create(null),n=Object.create(null);const a=(o,i)=>{r[o]=i,e++,e>t&&(e=0,n=r,r=Object.create(null))};return{get(o){let i=r[o];if(i!==void 0)return i;if((i=n[o])!==void 0)return a(o,i),i},set(o,i){o in r?r[o]=i:a(o,i)}}},Gi="!",Kl=":",T1=[],Jl=(t,e,r,n,a)=>({modifiers:t,hasImportantModifier:e,baseClassName:r,maybePostfixModifierPosition:n,isExternal:a}),M1=t=>{const{prefix:e,experimentalParseClassName:r}=t;let n=a=>{const o=[];let i=0,s=0,l=0,d;const u=a.length;for(let g=0;g<u;g++){const y=a[g];if(i===0&&s===0){if(y===Kl){o.push(a.slice(l,g)),l=g+1;continue}if(y==="/"){d=g;continue}}y==="["?i++:y==="]"?i--:y==="("?s++:y===")"&&s--}const h=o.length===0?a:a.slice(l);let f=h,v=!1;h.endsWith(Gi)?(f=h.slice(0,-1),v=!0):h.startsWith(Gi)&&(f=h.slice(1),v=!0);const m=d&&d>l?d-l:void 0;return Jl(o,v,f,m)};if(e){const a=e+Kl,o=n;n=i=>i.startsWith(a)?o(i.slice(a.length)):Jl(T1,!1,i,void 0,!0)}if(r){const a=n;n=o=>r({className:o,parseClassName:a})}return n},P1=t=>{const e=new Map;return t.orderSensitiveModifiers.forEach((r,n)=>{e.set(r,1e6+n)}),r=>{const n=[];let a=[];for(let o=0;o<r.length;o++){const i=r[o],s=i[0]==="[",l=e.has(i);s||l?(a.length>0&&(a.sort(),n.push(...a),a=[]),n.push(i)):a.push(i)}return a.length>0&&(a.sort(),n.push(...a)),n}},I1=t=>({cache:z1(t.cacheSize),parseClassName:M1(t),sortModifiers:P1(t),postfixLookupClassGroupIds:R1(t),...w1(t)}),R1=t=>{const e=Object.create(null),r=t.postfixLookupClassGroups;if(r)for(let n=0;n<r.length;n++)e[r[n]]=!0;return e},N1=/\s+/,D1=(t,e)=>{const{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:a,sortModifiers:o,postfixLookupClassGroupIds:i}=e,s=[],l=t.trim().split(N1);let d="";for(let u=l.length-1;u>=0;u-=1){const h=l[u],{isExternal:f,modifiers:v,hasImportantModifier:m,baseClassName:g,maybePostfixModifierPosition:y}=r(h);if(f){d=h+(d.length>0?" "+d:d);continue}let C=!!y,z;if(C){const k=g.substring(0,y);z=n(k);const _=z&&i[z]?n(g):void 0;_&&_!==z&&(z=_,C=!1)}else z=n(g);if(!z){if(!C){d=h+(d.length>0?" "+d:d);continue}if(z=n(g),!z){d=h+(d.length>0?" "+d:d);continue}C=!1}const F=v.length===0?"":v.length===1?v[0]:o(v).join(":"),I=m?F+Gi:F,T=I+z;if(s.indexOf(T)>-1)continue;s.push(T);const w=a(z,C);for(let k=0;k<w.length;++k){const _=w[k];s.push(I+_)}d=h+(d.length>0?" "+d:d)}return d},O1=(...t)=>{let e=0,r,n,a="";for(;e<t.length;)(r=t[e++])&&(n=Xl(r))&&(a&&(a+=" "),a+=n);return a},Xl=t=>{if(typeof t=="string")return t;let e,r="";for(let n=0;n<t.length;n++)t[n]&&(e=Xl(t[n]))&&(r&&(r+=" "),r+=e);return r},F1=(t,...e)=>{let r,n,a,o;const i=l=>{const d=e.reduce((u,h)=>h(u),t());return r=I1(d),n=r.cache.get,a=r.cache.set,o=s,s(l)},s=l=>{const d=n(l);if(d)return d;const u=D1(l,r);return a(l,u),u};return o=i,(...l)=>o(O1(...l))},q1=[],wt=t=>{const e=r=>r[t]||q1;return e.isThemeGetter=!0,e},Ql=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,ec=/^\((?:(\w[\w-]*):)?(.+)\)$/i,j1=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,G1=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,H1=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,U1=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,V1=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,B1=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,ln=t=>j1.test(t),Ae=t=>!!t&&!Number.isNaN(Number(t)),Ar=t=>!!t&&Number.isInteger(Number(t)),Hi=t=>t.endsWith("%")&&Ae(t.slice(0,-1)),Zr=t=>G1.test(t),tc=()=>!0,W1=t=>H1.test(t)&&!U1.test(t),Ui=()=>!1,Z1=t=>V1.test(t),Y1=t=>B1.test(t),K1=t=>!J(t)&&!X(t),J1=t=>t.startsWith("@container")&&(t[10]==="/"&&t[11]!==void 0||t[11]==="s"&&t[16]!==void 0&&t.startsWith("-size/",10)||t[11]==="n"&&t[18]!==void 0&&t.startsWith("-normal/",10)),X1=t=>cn(t,sc,Ui),J=t=>Ql.test(t),kn=t=>cn(t,lc,W1),rc=t=>cn(t,sf,Ae),Q1=t=>cn(t,dc,tc),ef=t=>cn(t,cc,Ui),nc=t=>cn(t,oc,Ui),tf=t=>cn(t,ic,Y1),Mo=t=>cn(t,uc,Z1),X=t=>ec.test(t),ja=t=>Cn(t,lc),rf=t=>Cn(t,cc),ac=t=>Cn(t,oc),nf=t=>Cn(t,sc),af=t=>Cn(t,ic),Po=t=>Cn(t,uc,!0),of=t=>Cn(t,dc,!0),cn=(t,e,r)=>{const n=Ql.exec(t);return n?n[1]?e(n[1]):r(n[2]):!1},Cn=(t,e,r=!1)=>{const n=ec.exec(t);return n?n[1]?e(n[1]):r:!1},oc=t=>t==="position"||t==="percentage",ic=t=>t==="image"||t==="url",sc=t=>t==="length"||t==="size"||t==="bg-size",lc=t=>t==="length",sf=t=>t==="number",cc=t=>t==="family-name",dc=t=>t==="number"||t==="weight",uc=t=>t==="shadow",ie=F1(()=>{const t=wt("color"),e=wt("font"),r=wt("text"),n=wt("font-weight"),a=wt("tracking"),o=wt("leading"),i=wt("breakpoint"),s=wt("container"),l=wt("spacing"),d=wt("radius"),u=wt("shadow"),h=wt("inset-shadow"),f=wt("text-shadow"),v=wt("drop-shadow"),m=wt("blur"),g=wt("perspective"),y=wt("aspect"),C=wt("ease"),z=wt("animate"),F=()=>["auto","avoid","all","avoid-page","page","left","right","column"],I=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],T=()=>[...I(),X,J],w=()=>["auto","hidden","clip","visible","scroll"],k=()=>["auto","contain","none"],_=()=>[X,J,l],p=()=>[ln,"full","auto",..._()],L=()=>[Ar,"none","subgrid",X,J],V=()=>["auto",{span:["full",Ar,X,J]},Ar,X,J],D=()=>[Ar,"auto",X,J],se=()=>["auto","min","max","fr",X,J],Ne=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],Ce=()=>["start","end","center","stretch","center-safe","end-safe"],me=()=>["auto",..._()],_e=()=>[ln,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",..._()],ue=()=>[ln,"screen","full","dvw","lvw","svw","min","max","fit",..._()],ne=()=>[ln,"screen","full","lh","dvh","lvh","svh","min","max","fit",..._()],O=()=>[t,X,J],Be=()=>[...I(),ac,nc,{position:[X,J]}],Se=()=>["no-repeat",{repeat:["","x","y","space","round"]}],pe=()=>["auto","cover","contain",nf,X1,{size:[X,J]}],de=()=>[Hi,ja,kn],S=()=>["","none","full",d,X,J],q=()=>["",Ae,ja,kn],K=()=>["solid","dashed","dotted","double"],re=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],te=()=>[Ae,Hi,ac,nc],we=()=>["","none",m,X,J],Le=()=>["none",Ae,X,J],j=()=>["none",Ae,X,J],be=()=>[Ae,X,J],Oe=()=>[ln,"full",..._()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Zr],breakpoint:[Zr],color:[tc],container:[Zr],"drop-shadow":[Zr],ease:["in","out","in-out"],font:[K1],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Zr],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Zr],shadow:[Zr],spacing:["px",Ae],text:[Zr],"text-shadow":[Zr],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",ln,J,X,y]}],container:["container"],"container-type":[{"@container":["","normal","size",X,J]}],"container-named":[J1],columns:[{columns:[Ae,J,X,s]}],"break-after":[{"break-after":F()}],"break-before":[{"break-before":F()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:T()}],overflow:[{overflow:w()}],"overflow-x":[{"overflow-x":w()}],"overflow-y":[{"overflow-y":w()}],overscroll:[{overscroll:k()}],"overscroll-x":[{"overscroll-x":k()}],"overscroll-y":[{"overscroll-y":k()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:p()}],"inset-x":[{"inset-x":p()}],"inset-y":[{"inset-y":p()}],start:[{"inset-s":p(),start:p()}],end:[{"inset-e":p(),end:p()}],"inset-bs":[{"inset-bs":p()}],"inset-be":[{"inset-be":p()}],top:[{top:p()}],right:[{right:p()}],bottom:[{bottom:p()}],left:[{left:p()}],visibility:["visible","invisible","collapse"],z:[{z:[Ar,"auto",X,J]}],basis:[{basis:[ln,"full","auto",s,..._()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Ae,ln,"auto","initial","none",J]}],grow:[{grow:["",Ae,X,J]}],shrink:[{shrink:["",Ae,X,J]}],order:[{order:[Ar,"first","last","none",X,J]}],"grid-cols":[{"grid-cols":L()}],"col-start-end":[{col:V()}],"col-start":[{"col-start":D()}],"col-end":[{"col-end":D()}],"grid-rows":[{"grid-rows":L()}],"row-start-end":[{row:V()}],"row-start":[{"row-start":D()}],"row-end":[{"row-end":D()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":se()}],"auto-rows":[{"auto-rows":se()}],gap:[{gap:_()}],"gap-x":[{"gap-x":_()}],"gap-y":[{"gap-y":_()}],"justify-content":[{justify:[...Ne(),"normal"]}],"justify-items":[{"justify-items":[...Ce(),"normal"]}],"justify-self":[{"justify-self":["auto",...Ce()]}],"align-content":[{content:["normal",...Ne()]}],"align-items":[{items:[...Ce(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...Ce(),{baseline:["","last"]}]}],"place-content":[{"place-content":Ne()}],"place-items":[{"place-items":[...Ce(),"baseline"]}],"place-self":[{"place-self":["auto",...Ce()]}],p:[{p:_()}],px:[{px:_()}],py:[{py:_()}],ps:[{ps:_()}],pe:[{pe:_()}],pbs:[{pbs:_()}],pbe:[{pbe:_()}],pt:[{pt:_()}],pr:[{pr:_()}],pb:[{pb:_()}],pl:[{pl:_()}],m:[{m:me()}],mx:[{mx:me()}],my:[{my:me()}],ms:[{ms:me()}],me:[{me:me()}],mbs:[{mbs:me()}],mbe:[{mbe:me()}],mt:[{mt:me()}],mr:[{mr:me()}],mb:[{mb:me()}],ml:[{ml:me()}],"space-x":[{"space-x":_()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":_()}],"space-y-reverse":["space-y-reverse"],size:[{size:_e()}],"inline-size":[{inline:["auto",...ue()]}],"min-inline-size":[{"min-inline":["auto",...ue()]}],"max-inline-size":[{"max-inline":["none",...ue()]}],"block-size":[{block:["auto",...ne()]}],"min-block-size":[{"min-block":["auto",...ne()]}],"max-block-size":[{"max-block":["none",...ne()]}],w:[{w:[s,"screen",..._e()]}],"min-w":[{"min-w":[s,"screen","none",..._e()]}],"max-w":[{"max-w":[s,"screen","none","prose",{screen:[i]},..._e()]}],h:[{h:["screen","lh",..._e()]}],"min-h":[{"min-h":["screen","lh","none",..._e()]}],"max-h":[{"max-h":["screen","lh",..._e()]}],"font-size":[{text:["base",r,ja,kn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[n,of,Q1]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Hi,J]}],"font-family":[{font:[rf,ef,e]}],"font-features":[{"font-features":[J]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[a,X,J]}],"line-clamp":[{"line-clamp":[Ae,"none",X,rc]}],leading:[{leading:[o,..._()]}],"list-image":[{"list-image":["none",X,J]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",X,J]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:O()}],"text-color":[{text:O()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...K(),"wavy"]}],"text-decoration-thickness":[{decoration:[Ae,"from-font","auto",X,kn]}],"text-decoration-color":[{decoration:O()}],"underline-offset":[{"underline-offset":[Ae,"auto",X,J]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:_()}],"tab-size":[{tab:[Ar,X,J]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",X,J]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",X,J]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:Be()}],"bg-repeat":[{bg:Se()}],"bg-size":[{bg:pe()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Ar,X,J],radial:["",X,J],conic:[Ar,X,J]},af,tf]}],"bg-color":[{bg:O()}],"gradient-from-pos":[{from:de()}],"gradient-via-pos":[{via:de()}],"gradient-to-pos":[{to:de()}],"gradient-from":[{from:O()}],"gradient-via":[{via:O()}],"gradient-to":[{to:O()}],rounded:[{rounded:S()}],"rounded-s":[{"rounded-s":S()}],"rounded-e":[{"rounded-e":S()}],"rounded-t":[{"rounded-t":S()}],"rounded-r":[{"rounded-r":S()}],"rounded-b":[{"rounded-b":S()}],"rounded-l":[{"rounded-l":S()}],"rounded-ss":[{"rounded-ss":S()}],"rounded-se":[{"rounded-se":S()}],"rounded-ee":[{"rounded-ee":S()}],"rounded-es":[{"rounded-es":S()}],"rounded-tl":[{"rounded-tl":S()}],"rounded-tr":[{"rounded-tr":S()}],"rounded-br":[{"rounded-br":S()}],"rounded-bl":[{"rounded-bl":S()}],"border-w":[{border:q()}],"border-w-x":[{"border-x":q()}],"border-w-y":[{"border-y":q()}],"border-w-s":[{"border-s":q()}],"border-w-e":[{"border-e":q()}],"border-w-bs":[{"border-bs":q()}],"border-w-be":[{"border-be":q()}],"border-w-t":[{"border-t":q()}],"border-w-r":[{"border-r":q()}],"border-w-b":[{"border-b":q()}],"border-w-l":[{"border-l":q()}],"divide-x":[{"divide-x":q()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":q()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...K(),"hidden","none"]}],"divide-style":[{divide:[...K(),"hidden","none"]}],"border-color":[{border:O()}],"border-color-x":[{"border-x":O()}],"border-color-y":[{"border-y":O()}],"border-color-s":[{"border-s":O()}],"border-color-e":[{"border-e":O()}],"border-color-bs":[{"border-bs":O()}],"border-color-be":[{"border-be":O()}],"border-color-t":[{"border-t":O()}],"border-color-r":[{"border-r":O()}],"border-color-b":[{"border-b":O()}],"border-color-l":[{"border-l":O()}],"divide-color":[{divide:O()}],"outline-style":[{outline:[...K(),"none","hidden"]}],"outline-offset":[{"outline-offset":[Ae,X,J]}],"outline-w":[{outline:["",Ae,ja,kn]}],"outline-color":[{outline:O()}],shadow:[{shadow:["","none",u,Po,Mo]}],"shadow-color":[{shadow:O()}],"inset-shadow":[{"inset-shadow":["none",h,Po,Mo]}],"inset-shadow-color":[{"inset-shadow":O()}],"ring-w":[{ring:q()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:O()}],"ring-offset-w":[{"ring-offset":[Ae,kn]}],"ring-offset-color":[{"ring-offset":O()}],"inset-ring-w":[{"inset-ring":q()}],"inset-ring-color":[{"inset-ring":O()}],"text-shadow":[{"text-shadow":["none",f,Po,Mo]}],"text-shadow-color":[{"text-shadow":O()}],opacity:[{opacity:[Ae,X,J]}],"mix-blend":[{"mix-blend":[...re(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":re()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[Ae]}],"mask-image-linear-from-pos":[{"mask-linear-from":te()}],"mask-image-linear-to-pos":[{"mask-linear-to":te()}],"mask-image-linear-from-color":[{"mask-linear-from":O()}],"mask-image-linear-to-color":[{"mask-linear-to":O()}],"mask-image-t-from-pos":[{"mask-t-from":te()}],"mask-image-t-to-pos":[{"mask-t-to":te()}],"mask-image-t-from-color":[{"mask-t-from":O()}],"mask-image-t-to-color":[{"mask-t-to":O()}],"mask-image-r-from-pos":[{"mask-r-from":te()}],"mask-image-r-to-pos":[{"mask-r-to":te()}],"mask-image-r-from-color":[{"mask-r-from":O()}],"mask-image-r-to-color":[{"mask-r-to":O()}],"mask-image-b-from-pos":[{"mask-b-from":te()}],"mask-image-b-to-pos":[{"mask-b-to":te()}],"mask-image-b-from-color":[{"mask-b-from":O()}],"mask-image-b-to-color":[{"mask-b-to":O()}],"mask-image-l-from-pos":[{"mask-l-from":te()}],"mask-image-l-to-pos":[{"mask-l-to":te()}],"mask-image-l-from-color":[{"mask-l-from":O()}],"mask-image-l-to-color":[{"mask-l-to":O()}],"mask-image-x-from-pos":[{"mask-x-from":te()}],"mask-image-x-to-pos":[{"mask-x-to":te()}],"mask-image-x-from-color":[{"mask-x-from":O()}],"mask-image-x-to-color":[{"mask-x-to":O()}],"mask-image-y-from-pos":[{"mask-y-from":te()}],"mask-image-y-to-pos":[{"mask-y-to":te()}],"mask-image-y-from-color":[{"mask-y-from":O()}],"mask-image-y-to-color":[{"mask-y-to":O()}],"mask-image-radial":[{"mask-radial":[X,J]}],"mask-image-radial-from-pos":[{"mask-radial-from":te()}],"mask-image-radial-to-pos":[{"mask-radial-to":te()}],"mask-image-radial-from-color":[{"mask-radial-from":O()}],"mask-image-radial-to-color":[{"mask-radial-to":O()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":I()}],"mask-image-conic-pos":[{"mask-conic":[Ae]}],"mask-image-conic-from-pos":[{"mask-conic-from":te()}],"mask-image-conic-to-pos":[{"mask-conic-to":te()}],"mask-image-conic-from-color":[{"mask-conic-from":O()}],"mask-image-conic-to-color":[{"mask-conic-to":O()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:Be()}],"mask-repeat":[{mask:Se()}],"mask-size":[{mask:pe()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",X,J]}],filter:[{filter:["","none",X,J]}],blur:[{blur:we()}],brightness:[{brightness:[Ae,X,J]}],contrast:[{contrast:[Ae,X,J]}],"drop-shadow":[{"drop-shadow":["","none",v,Po,Mo]}],"drop-shadow-color":[{"drop-shadow":O()}],grayscale:[{grayscale:["",Ae,X,J]}],"hue-rotate":[{"hue-rotate":[Ae,X,J]}],invert:[{invert:["",Ae,X,J]}],saturate:[{saturate:[Ae,X,J]}],sepia:[{sepia:["",Ae,X,J]}],"backdrop-filter":[{"backdrop-filter":["","none",X,J]}],"backdrop-blur":[{"backdrop-blur":we()}],"backdrop-brightness":[{"backdrop-brightness":[Ae,X,J]}],"backdrop-contrast":[{"backdrop-contrast":[Ae,X,J]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Ae,X,J]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Ae,X,J]}],"backdrop-invert":[{"backdrop-invert":["",Ae,X,J]}],"backdrop-opacity":[{"backdrop-opacity":[Ae,X,J]}],"backdrop-saturate":[{"backdrop-saturate":[Ae,X,J]}],"backdrop-sepia":[{"backdrop-sepia":["",Ae,X,J]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":_()}],"border-spacing-x":[{"border-spacing-x":_()}],"border-spacing-y":[{"border-spacing-y":_()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",X,J]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Ae,"initial",X,J]}],ease:[{ease:["linear","initial",C,X,J]}],delay:[{delay:[Ae,X,J]}],animate:[{animate:["none",z,X,J]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[g,X,J]}],"perspective-origin":[{"perspective-origin":T()}],rotate:[{rotate:Le()}],"rotate-x":[{"rotate-x":Le()}],"rotate-y":[{"rotate-y":Le()}],"rotate-z":[{"rotate-z":Le()}],scale:[{scale:j()}],"scale-x":[{"scale-x":j()}],"scale-y":[{"scale-y":j()}],"scale-z":[{"scale-z":j()}],"scale-3d":["scale-3d"],skew:[{skew:be()}],"skew-x":[{"skew-x":be()}],"skew-y":[{"skew-y":be()}],transform:[{transform:[X,J,"","none","gpu","cpu"]}],"transform-origin":[{origin:T()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:Oe()}],"translate-x":[{"translate-x":Oe()}],"translate-y":[{"translate-y":Oe()}],"translate-z":[{"translate-z":Oe()}],"translate-none":["translate-none"],zoom:[{zoom:[Ar,X,J]}],accent:[{accent:O()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:O()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",X,J]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scrollbar-thumb-color":[{"scrollbar-thumb":O()}],"scrollbar-track-color":[{"scrollbar-track":O()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"scroll-m":[{"scroll-m":_()}],"scroll-mx":[{"scroll-mx":_()}],"scroll-my":[{"scroll-my":_()}],"scroll-ms":[{"scroll-ms":_()}],"scroll-me":[{"scroll-me":_()}],"scroll-mbs":[{"scroll-mbs":_()}],"scroll-mbe":[{"scroll-mbe":_()}],"scroll-mt":[{"scroll-mt":_()}],"scroll-mr":[{"scroll-mr":_()}],"scroll-mb":[{"scroll-mb":_()}],"scroll-ml":[{"scroll-ml":_()}],"scroll-p":[{"scroll-p":_()}],"scroll-px":[{"scroll-px":_()}],"scroll-py":[{"scroll-py":_()}],"scroll-ps":[{"scroll-ps":_()}],"scroll-pe":[{"scroll-pe":_()}],"scroll-pbs":[{"scroll-pbs":_()}],"scroll-pbe":[{"scroll-pbe":_()}],"scroll-pt":[{"scroll-pt":_()}],"scroll-pr":[{"scroll-pr":_()}],"scroll-pb":[{"scroll-pb":_()}],"scroll-pl":[{"scroll-pl":_()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",X,J]}],fill:[{fill:["none",...O()]}],"stroke-w":[{stroke:[Ae,ja,kn,rc]}],stroke:[{stroke:["none",...O()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{"container-named":["container-type"],overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},postfixLookupClassGroups:["container-type"],orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}});var lf=new Set(["$$slots","$$events","$$legacy","href","onclick","class","disabled","part","children"]);function fc(t,e){He(e,!0);let r=Vt(e,lf);var n=Ke(),a=U(n);Ut(a,()=>e.href?"a":"button",!1,(o,i)=>{yt(o,d=>({role:e.href?"link":"button",class:d,tabindex:"0",href:e.href,onclick:e.onclick,part:e.part,disabled:e.disabled,...r}),[()=>ie("border-0 bg-none outline-none",e.class)]);var s=Ke(),l=U(s);Zn(l,()=>e.children),x(i,s)}),x(t,n),Ue()}var cf=new Set(["$$slots","$$events","$$legacy","loading","variant","disabled","size","part","onclick","href","class"]),df=R('<span class="inline-block w-4 h-4 mr-2 border-2 border-current border-r-transparent rounded-full animate-spin" aria-hidden="true"></span>'),uf=R("<!> <!>",1);function Vi(t,e){He(e,!0);let r=ee(e,"loading",3,!1),n=ee(e,"variant",3,"primary"),a=ee(e,"disabled",3,!1),o=ee(e,"size",3,"md"),i=Vt(e,cf);{let s=Z(()=>ie("inline-flex ring-2 ring-transparent focus:ring-primary/25 active:enabled:translate-y-px border border-transparent items-center justify-center outline-none font-medium rounded-md transition-colors duration-200 ease-in-out",o()=="sm"&&"px-3 py-1.5 text-sm",o()=="md"&&"px-4 py-2 text-base",o()=="lg"&&"px-6 py-3 text-lg",n()==="primary"&&"bg-primary text-white enabled:hover:bg-primary/90",n()==="secondary"&&"bg-transparent border-primary text-primary enabled:hover:bg-primary/10",n()==="tertiary"&&"text-primary enabled:hover:bg-primary/10",a()&&"opacity-50 cursor-not-allowed",e.class));fc(t,Wr({get class(){return c(s)},get href(){return e.href},get onclick(){return e.onclick},get part(){return e.part},get disabled(){return a()}},()=>i,{children:(l,d)=>{var u=uf(),h=U(u);{var f=m=>{var g=df();x(m,g)};B(h,m=>{r()&&m(f)})}var v=E(h,2);At(v,e,"default",{},null),x(l,u)},$$slots:{default:!0}}))}Ue()}var ff=R('<div class="p-4 text-base"><span class="line-clamp-1 break-all font-normal"> </span></div>'),hf=R('<a class="block w-full text-left px-4 py-3 hover:bg-gray-100/50" target="_blank"> </a>'),mf=R('<button class="block w-full text-left px-4 py-3 hover:bg-gray-100/50"> </button>'),vf=R('<a class="block w-full text-left px-4 py-3 hover:bg-gray-100/50"> </a>'),pf=R('<div class="border-b border-[color:--s-login-popup-border-color] text-sm font-bold"><!></div>');function Io(t,e){He(e,!0);let r=ee(e,"target",3,"_self");const n=async u=>{try{await u.auth.logout()}catch(h){console.error("Logout failed:",h)}};var a=pf(),o=Y(a);{var i=u=>{var h=Ke(),f=U(h);nn(f,()=>e.api.auth.getUser(),null,(v,m)=>{var g=ff(),y=Y(g),C=Ie(y,!0);H(g),G(()=>{var z;return Q(C,(z=c(m))==null?void 0:z.email)}),x(v,g)}),x(u,h)},s=u=>{var h=Ke(),f=U(h);nn(f,()=>e.api.generateLink({target:"account"}),null,(v,m)=>{var g=hf(),y=Ie(g,!0);G(C=>{Ee(g,"href",c(m)),Q(y,C)},[()=>e.text||e.t("my_account")]),x(v,g)}),x(u,h)},l=u=>{var h=mf(),f=Ie(h,!0);G(v=>Q(f,v),[()=>e.text||e.t("logout")]),or("click",h,()=>n(e.api)),x(u,h)},d=u=>{var h=vf(),f=Ie(h,!0);G(()=>{Ee(h,"href",e.href),Ee(h,"target",r()),Q(f,e.text)}),x(u,h)};B(o,u=>{e.type==="EMAIL"?u(i):e.type==="ACCOUNT"?u(s,1):e.type==="LOGOUT"?u(l,2):e.type==="LINK"&&e.href&&e.text&&u(d,3)})}H(a),x(t,a),Ue()}Vr(["click"]),Zd();var gf=R('<span class="absolute left-1/2 -translate-x-1/2 top-1/2 -translate-y-1/2 w-3/4 h-3/4"><svg class="animate-spin w-full h-full" viewBox="0 0 125 125" xmlns="http://www.w3.org/2000/svg"><path d="M0 62.5C0 28 28 0 62.5 0v18.8c-24.2 0-43.8 19.6-43.8 43.8H0z" class="fill-current"></path></svg></span>'),_f=R('<img class="w-full h-full object-cover group-hover:opacity-80 transition-opacity duration-100"/>'),bf=R('<span class="row absolute top-0 left-0 w-full h-full"> </span>'),yf=R("<span><!></span>");function Bi(t,e){He(e,!1);let r=ee(e,"src",8,""),n=ee(e,"alt",8,"Avatar"),a=ee(e,"size",8,"md"),o=ee(e,"loading",8,!1);Di();var i=yf(),s=Y(i);{var l=h=>{var f=gf();x(h,f)},d=h=>{var f=_f();G(()=>{Ee(f,"src",r()),Ee(f,"alt",n())}),x(h,f)},u=h=>{var f=bf(),v=Ie(f,!0);G(m=>Q(v,m),[()=>(ft(n()),st(()=>n().charAt(0).toUpperCase()))]),x(h,f)};B(s,h=>{o()?h(l):r()?h(d,1):h(u,-1)})}H(i),G(h=>je(i,1,h),[()=>Ve((ft(ie),ft(a()),st(()=>ie("relative block group rounded-full overflow-hidden border-2 bg-[color:--s-login-button-background-color] text-[color:--s-login-button-text-color] border-[color:--s-login-button-border-color]",a()==="sm"&&"w-8 h-8",a()==="md"&&"w-12 h-12",a()==="lg"&&"w-16 h-16"))))]),x(t,i),Ue()}const jt={AUTHENTICATED:"sesamyJsAuthenticated",LOGOUT:"sesamyJsLogout"},Wi={CONTENT_GRANTED:"sesamyContentGranted"},wf={LOGIN_SUCCESS:"sesamy:login-success",LOGIN_ERROR:"sesamy:login-error",LOGOUT:"sesamy:logout",PAYWALL_SHOWN:"sesamy:paywall-shown",PAYWALL_DISMISSED:"sesamy:paywall-dismissed",ACCESS_GRANTED:"sesamy:access-granted",CONTENT_UNLOCKED:"sesamy:content-unlocked"};function xf(t,e){return new CustomEvent(t,{detail:e,bubbles:!0,composed:!0})}function zr(t,e,r){return t.dispatchEvent(xf(e,r))}function kf(t,e){return e==="unknown"||t===e?"none":t==="unauthenticated"&&e==="authenticated"?"login":t==="authenticated"&&e==="unauthenticated"?"logout":"none"}var hc=R("<!> <!> <!>",1),Cf=R('<div class="relative"><button class="block" aria-haspopup="true"><!></button> <div role="menu"><!></div></div>');function mc(t,e){He(e,!0);let r=ee(e,"loading",7),n=ee(e,"loggedIn",7),a=ee(e,"class",7,""),o=ce(!1),i=ce(!1),s=ce(null),l=ce(null),d="unknown",u=null,h=null;const f=5e3,v=()=>{h&&(clearTimeout(h),h=null),P(o,!1)},m=k=>{k.persisted&&v()},g=k=>{const _=k??{};return{sub:typeof _.sub=="string"?_.sub:"",..._}},y=async k=>{const _=kf(d,k);if(d=k,_==="login"){const p=u?await u.auth.getUser().catch(()=>null):null;zr(e.$$host,"sesamy:login-success",{userinfo:g(p)})}else _==="logout"&&zr(e.$$host,"sesamy:logout",{})},C=()=>{y("authenticated")},z=()=>{y("unauthenticated")},F=k=>{const _=k.target,p=e.$$host.querySelector('[slot="popup-menu"]');_!==e.$$host&&!e.$$host.contains(_)&&_!==p&&!(p&&p.contains(_))&&P(i,!1)};Lo(()=>{window.addEventListener(jt.AUTHENTICATED,C),window.addEventListener(jt.LOGOUT,z),window.addEventListener("pageshow",m),document.addEventListener("pointerdown",F)}),Pa(()=>{window.removeEventListener(jt.AUTHENTICATED,C),window.removeEventListener(jt.LOGOUT,z),window.removeEventListener("pageshow",m),document.removeEventListener("pointerdown",F),h&&(clearTimeout(h),h=null)});const I=async k=>{P(o,!0),h&&clearTimeout(h),h=setTimeout(v,f);try{await k.auth.login({appState:{source:"login-component"}})}catch(_){v();const p=_ instanceof Error?_:void 0,L=p&&p.code||((p==null?void 0:p.name)??"login_failed");zr(e.$$host,"sesamy:login-error",{error:{code:L,message:(p==null?void 0:p.message)??String(_),cause:_}}),console.error("Login failed:",_)}},T=async k=>{u=k;try{n(await k.auth.isAuthenticated()),d=n()?"authenticated":"unauthenticated",n()&&(P(s,await k.auth.getUser(),!0),P(l,await k.generateLink({target:"account"}),!0))}catch(_){console.error("Error checking login status:",_)}};var w={get loading(){return r()},set loading(k){r(k),_t()},get loggedIn(){return n()},set loggedIn(k){n(k),_t()},get class(){return a()},set class(k=""){a(k),_t()}};return Kn(t,{children:ho,$$slots:{default:(k,_)=>{const p=Z(()=>_.api),L=Z(()=>_.t);var V=Ke(),D=U(V);nn(D,()=>T(c(p)),se=>{Bi(se,{loading:!0,size:"sm"})},(se,Ne)=>{var Ce=Ke(),me=U(Ce);{var _e=ne=>{var O=Cf(),Be=Y(O),Se=Y(Be);At(Se,e,"avatar",{},S=>{{let q=Z(()=>{var K;return(K=c(s))==null?void 0:K.picture});Bi(S,{get src(){return c(q)},get loading(){return r()},size:"sm"})}}),H(Be);var pe=E(Be,2),de=Y(pe);At(de,e,"popup-menu",{},S=>{var q=hc(),K=U(q);Io(K,{get api(){return c(p)},get t(){return c(L)},type:"EMAIL"});var re=E(K,2);Io(re,{get api(){return c(p)},get t(){return c(L)},type:"ACCOUNT"});var te=E(re,2);Io(te,{get api(){return c(p)},get t(){return c(L)},type:"LOGOUT"}),x(S,q)}),H(pe),H(O),G(S=>{Be.disabled=r(),Ee(Be,"aria-expanded",c(i)),je(pe,1,S)},[()=>Ve(ie("absolute top-full mt-1.5 right-0 bg-[--s-login-popup-bgcolor] text-[--s-login-popup-textcolor] border-[color:--s-login-popup-border-color] border-[length:--s-login-popup-border-width] rounded-[--s-login-popup-border-radius] w-[--s-login-popup-width] z-[--s-login-popup-zindex] hidden",c(i)&&"block"))]),or("click",Be,()=>P(i,!c(i))),x(ne,O)},ue=ne=>{{let O=Z(()=>ie("!font-[--s-login-button-font-weight] row gap-1.5 bg-[color:--s-login-button-background-color] text-[color:--s-login-button-text-color] border-[color:--s-login-button-border-color] border-[length:--s-login-button-border-width] rounded-[--s-login-button-border-radius] text-[length:--s-login-button-text-size] leading-[1.43]",a()));Vi(ne,{get class(){return c(O)},variant:"secondary",get disabled(){return c(o)},onclick:()=>I(c(p)),size:"sm",children:(Be,Se)=>{var pe=hc(),de=U(pe);At(de,e,"button-text-prefix",{},null);var S=E(de,2);At(S,e,"button-text",{},K=>{var re=Pt();G(te=>Q(re,te),[()=>c(L)("login")]),x(K,re)});var q=E(S,2);At(q,e,"button-text-suffix",{},null),x(Be,pe)},$$slots:{default:!0}})}};B(me,ne=>{n()?ne(_e):ne(ue,-1)})}x(se,Ce)}),x(k,V)}}}),Ue(w)}Vr(["click"]),customElements.define("sesamy-login",xn(mc,{loading:{},loggedIn:{},class:{}},["avatar","popup-menu","button-text-prefix","button-text","button-text-suffix"],[],{mode:"open"},qa));var $f=new Set(["$$slots","$$events","$$legacy","up","right","down","left","style","class","children"]),Lf=R("<div><!></div>");function It(t,e){He(e,!0);let r=Vt(e,$f);var n=Lf();yt(n,o=>({class:o,style:e.style,...r}),[()=>ie(!e.up&&!e.right&&!e.down&&!e.left&&"column",e.up&&!e.right&&!e.down&&!e.left&&"column-up",!e.up&&e.right&&!e.down&&!e.left&&"column-right",!e.up&&!e.right&&e.down&&!e.left&&"column-down",!e.up&&!e.right&&!e.down&&e.left&&"column-left",e.up&&e.right&&!e.down&&!e.left&&"column-up-right",e.up&&!e.right&&!e.down&&e.left&&"column-up-left",!e.up&&e.right&&e.down&&!e.left&&"column-down-right",!e.up&&!e.right&&e.down&&e.left&&"column-down-left",e.class)]);var a=Y(n);Zn(a,()=>e.children),H(n),x(t,n),Ue()}const Sf={amex:{elements:['<path d="M79 0 0 174.8h94.6l11.7-27.9h26.8l11.7 27.9h104.1v-21.3l9.3 21.3H312l9.3-21.7v21.7h216.5l26.3-27.2 24.7 27.2 111.2.2-79.3-87.1L700 0H590.5l-25.6 26.6L541 0H305.5l-20.2 45.1L264.6 0h-94.4v20.6L159.7 0zm18.3 24.8h46.1l52.4 118.6V24.8h50.5l40.5 85 37.3-85h50.2v125.4h-30.6l-.2-98.3-44.6 98.3h-27.4l-44.8-98.3v98.3h-62.9l-11.9-28.1H87.5l-11.9 28.1H41.9zm305 0h124.3l38 41.1 39.3-41.1h38l-57.8 63.1 57.8 62.3h-39.7l-38-41.6-39.5 41.6H402.3zM119.7 46.1 98.5 96.2h42.4zM433 50.8v22.9h67.8v25.5H433v25h76.1l35.3-36.8-33.8-36.6z"/ style="fill: var(--amex-fill-color-0, currentColor);"/>'],fills:["#fff"],strokes:[null],viewBoxWidth:700,viewBoxHeight:175.1,widthRatio:3.9977155910908055,heightRatio:1},"apple-pay":{elements:['<path d="M46.1 5.2 43.4 14l-2.7-8.8h-2.4l3.9 10.9-.2.7c-.4 1.1-.9 1.5-1.9 1.5h-.7v1.8h.9c2.2 0 3.3-.9 4.2-3.5l4-11.4h-2.3Zm-13-.1c-2.4 0-4.2 1.4-4.3 3.3h2.1c.2-.9 1-1.5 2.2-1.5s2.2.7 2.2 1.9v.8l-2.9.2c-2.7.2-4.1 1.3-4.1 3.2s1.5 3.2 3.6 3.2 2.8-.7 3.4-1.9v1.8h2.1V8.7c0-2.2-1.7-3.5-4.3-3.5Zm2.1 6.9c0 1.4-1.2 2.4-2.7 2.4s-2-.6-2-1.5.7-1.5 2.2-1.6l2.5-.2v.8ZM13 11.9c-.2-.1-2.1-1-2.1-3.3 0-1.9 1.5-2.9 1.7-3.1-1-1.4-2.4-1.6-2.9-1.6-.8 0-1.5.2-2.1.5q-.6.3-.9.3c-.3 0-.6-.1-1-.3-.5-.2-1-.4-1.6-.4-1.3 0-2.6.8-3.3 2-1.4 2.5-.4 6.1 1 8.1.7 1 1.5 2.1 2.5 2 .5 0 .8-.2 1.1-.3.4-.2.8-.4 1.5-.4s1 .2 1.4.3c.4.2.7.3 1.2.3 1.1 0 1.8-1 2.5-2 .7-1.1 1-2.1 1.1-2.3Zm9.8-10.8h-5.5V16h2.3v-5.1h3.2c2.9 0 4.9-2 4.9-4.9s-2-4.9-4.8-4.9ZM22.2 9h-2.6V3.1h2.6c2 0 3.1 1.1 3.1 3s-1.1 3-3.1 3ZM7.3 1.2c-.5.6-1 1.6-.9 2.5.9 0 1.8-.5 2.4-1.1.6-.7.9-1.6.8-2.6-.8 0-1.8.5-2.4 1.2Z" style="fill: var(--apple-pay-fill-color-0, currentColor);"/>'],fills:["#000"],strokes:[null],viewBoxWidth:48.4,viewBoxHeight:20.1,widthRatio:2.407960199004975,heightRatio:1},"arrow-up-right-from-square":{elements:['<path d="M384 64c-17.7 0-32 14.3-32 32s14.3 32 32 32h82.7L265.3 329.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L512 173.3V256c0 17.7 14.3 32 32 32s32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-240 96c-44.2 0-80 35.8-80 80v256c0 44.2 35.8 80 80 80h256c44.2 0 80-35.8 80-80v-80c0-17.7-14.3-32-32-32s-32 14.3-32 32v80c0 8.8-7.2 16-16 16H144c-8.8 0-16-7.2-16-16V240c0-8.8 7.2-16 16-16h80c17.7 0 32-14.3 32-32s-14.3-32-32-32z"/ style="fill: var(--arrow-up-right-from-square-fill-color-0, currentColor);"/>'],fills:["#000"],strokes:[null],viewBoxWidth:640,viewBoxHeight:640,widthRatio:1,heightRatio:1},billogram:{elements:['<path d="M13.5 0h-12C.7 0 0 .8 0 1.8v14.9c0 .6.7.9 1.1.6L3 15.9l1.6 1.4c.2.2.6.2.8 0l2-1.4 1.8 1.4c.2.2.6.2.8 0l1.8-1.4 2 1.4c.5.3 1.1 0 1.1-.6V1.8c.1-1-.6-1.8-1.4-1.8m-1.8 10.4H3.3c-.6 0-1-.4-1-1s.4-1 1-1h8.4c.5 0 1 .5 1 1s-.5 1-1 1m0-4.8H3.3c-.6 0-1-.5-1-1s.4-1 1-1h8.4c.5 0 1 .5 1 1s-.5 1-1 1" style="fill: var(--billogram-fill-color-0, currentColor);"/>'],fills:["#000"],strokes:[null],viewBoxWidth:15,viewBoxHeight:17.4,widthRatio:1,heightRatio:1.16},card:{elements:['<path d="M3.3 0h19.5C24.6 0 26 1.5 26 3.3v.4c0 .4-.3.7-.7.7H.7c-.4 0-.7-.3-.7-.7v-.4C0 1.5 1.5 0 3.3 0" style="fill: var(--card-fill-color-0, currentColor);"/>','<path d="M25.3 7.2H.7c-.4 0-.7.3-.7.7v7.8C0 17.5 1.5 19 3.2 19h19.5c1.8 0 3.2-1.5 3.2-3.3V7.9c0-.4-.3-.7-.7-.7ZM9.8 12.9H5.7c-.8 0-1.4-.6-1.4-1.4s.6-1.4 1.4-1.4h4.1c.8 0 1.4.6 1.4 1.4s-.6 1.4-1.4 1.4" style="fill: var(--card-fill-color-1, currentColor);"/>'],fills:["#000","#000"],strokes:[null,null],viewBoxWidth:26,viewBoxHeight:19,widthRatio:1.368421052631579,heightRatio:1},checkmark:{elements:['<path d="M.7 2.2 2.4 4l4-4 .7.7-4.7 4.8L0 2.9z"/ style="fill: var(--checkmark-fill-color-0, currentColor);"/>'],fills:["#000"],strokes:[null],viewBoxWidth:7.1,viewBoxHeight:5.5,widthRatio:1.2909090909090908,heightRatio:1},"chevron-down":{elements:['<path d="M7 11c-.3 0-.5-.1-.7-.3l-6-6c-.4-.4-.4-1 0-1.4s1-.4 1.4 0L7 8.6l5.3-5.3c.4-.4 1-.4 1.4 0s.4 1 0 1.4l-6 6c-.2.2-.4.3-.7.3" style="fill: var(--chevron-down-fill-color-0, currentColor);"/>'],fills:["#000"],strokes:[null],viewBoxWidth:14,viewBoxHeight:14,widthRatio:1,heightRatio:1},"chevron-left":{elements:['<path d="M10 14c-.3 0-.5-.1-.7-.3l-6-6c-.4-.4-.4-1 0-1.4l6-6c.4-.4 1-.4 1.4 0s.4 1 0 1.4L5.4 7l5.3 5.3c.4.4.4 1 0 1.4-.2.2-.4.3-.7.3" style="fill: var(--chevron-left-fill-color-0, currentColor);"/>'],fills:["#000"],strokes:[null],viewBoxWidth:14,viewBoxHeight:14,widthRatio:1,heightRatio:1},"chevron-right":{elements:['<path d="M4 14c-.3 0-.5-.1-.7-.3-.4-.4-.4-1 0-1.4L8.6 7 3.3 1.7c-.4-.4-.4-1 0-1.4s1-.4 1.4 0l6 6c.4.4.4 1 0 1.4l-6 6c-.2.2-.4.3-.7.3" style="fill: var(--chevron-right-fill-color-0, currentColor);"/>'],fills:["#000"],strokes:[null],viewBoxWidth:14,viewBoxHeight:14,widthRatio:1,heightRatio:1},"chevron-up":{elements:['<path d="M13 11c-.3 0-.5-.1-.7-.3L7 5.4l-5.3 5.3c-.4.4-1 .4-1.4 0s-.4-1 0-1.4l6-6c.4-.4 1-.4 1.4 0l6 6c.4.4.4 1 0 1.4-.2.2-.4.3-.7.3" style="fill: var(--chevron-up-fill-color-0, currentColor);"/>'],fills:["#000"],strokes:[null],viewBoxWidth:14,viewBoxHeight:14,widthRatio:1,heightRatio:1},"google-pay":{elements:['<path d="M37.8 19.7V29h-3V6h7.8c1.9 0 3.7.7 5.1 2 1.4 1.2 2.1 3 2.1 4.9s-.7 3.6-2.1 4.9-3.1 2-5.1 2zm0-10.9v8h5c1.1 0 2.2-.4 2.9-1.2 1.6-1.5 1.6-4 .1-5.5l-.1-.1c-.8-.8-1.8-1.3-2.9-1.2zm18.9 4c2.2 0 3.9.6 5.2 1.8s1.9 2.8 1.9 4.8V29H61v-2.2h-.1c-1.2 1.8-2.9 2.7-4.9 2.7-1.7 0-3.2-.5-4.4-1.5-1.1-1-1.8-2.4-1.8-3.9q0-2.4 1.8-3.9c1.2-1 2.9-1.4 4.9-1.4 1.8 0 3.2.3 4.3 1v-.7c0-1-.4-2-1.2-2.6-.8-.7-1.8-1.1-2.9-1.1q-2.55 0-3.9 2.1l-2.6-1.6c1.6-2.1 3.7-3.1 6.5-3.1m-3.8 11.4c0 .8.4 1.5 1 1.9.7.5 1.5.8 2.3.8 1.2 0 2.4-.5 3.3-1.4 1-.9 1.5-2 1.5-3.2-.9-.7-2.2-1.1-3.9-1.1q-1.8 0-3 .9-1.2.75-1.2 2.1M80 13.3 70.1 36h-3l3.7-7.9-6.5-14.7h3.2l4.7 11.3h.1l4.6-11.3H80z"/ style="fill: var(--google-pay-fill-color-0, currentColor);"/>','<path d="M25.9 17.7c0-.9-.1-1.8-.2-2.7H13.2v5.1h7.1c-.3 1.6-1.2 3.1-2.6 4v3.3H22c2.5-2.3 3.9-5.7 3.9-9.7"/ style="fill: var(--google-pay-fill-color-1, currentColor);"/>','<path d="M13.2 30.6c3.6 0 6.6-1.2 8.8-3.2l-4.3-3.3c-1.2.8-2.7 1.3-4.5 1.3-3.4 0-6.4-2.3-7.4-5.5H1.4v3.4c2.3 4.5 6.8 7.3 11.8 7.3"/ style="fill: var(--google-pay-fill-color-2, currentColor);"/>','<path d="M5.8 19.9c-.6-1.6-.6-3.4 0-5.1v-3.4H1.4c-1.9 3.7-1.9 8.1 0 11.9z"/ style="fill: var(--google-pay-fill-color-3, currentColor);"/>','<path d="M13.2 9.4c1.9 0 3.7.7 5.1 2l3.8-3.8c-2.4-2.2-5.6-3.5-8.8-3.4-5 0-9.6 2.8-11.8 7.3l4.4 3.4c.9-3.2 3.9-5.5 7.3-5.5"/ style="fill: var(--google-pay-fill-color-4, currentColor);"/>'],fills:["currentColor","#4285f4","#34a853","#fbbc04","#ea4335"],strokes:[null,null,null,null,null],viewBoxWidth:80,viewBoxHeight:38.1,widthRatio:2.099737532808399,heightRatio:1},info:{elements:['<path fill-rule="evenodd" d="M10 18a8 8 0 1 0 0-16 8 8 0 0 0 0 16m-1-8a1 1 0 1 0 2 0V6a1 1 0 1 0-2 0zm0 3.5a1 1 0 1 0 2 0 1 1 0 0 0-2 0" clip-rule="evenodd"/ style="fill: var(--info-fill-color-0, currentColor);"/>'],fills:["#FF662F"],strokes:[null],viewBoxWidth:20,viewBoxHeight:20,widthRatio:1,heightRatio:1},klarna:{elements:['<path d="M3.1 13.9H0V0h3.1zM10.9 0h-3c0 2.6-1.1 4.9-3.1 6.5l-1.2.9L8.3 14h3.8L7.8 8C9.8 5.9 11 3.1 11 .1Zm4.9 13.9h-2.9V0h2.9zm8.9-9.6v.6c-.8-.6-1.8-.9-2.8-.9C19.2 4 17 6.3 17 9.1s2.2 5.1 4.9 5.1 2-.3 2.8-.9v.6h2.8V4.3zm0 4.8c0 1.4-1.1 2.5-2.5 2.5s-2.5-1.1-2.5-2.5 1.1-2.5 2.5-2.5 2.5 1.1 2.5 2.5m29.7-4.2v-.6h2.8v9.6h-2.8v-.6c-.8.6-1.8.9-2.8.9-2.7 0-4.9-2.3-4.9-5.1S48.9 4 51.6 4s2 .3 2.8.9m-2.6 6.7c1.4 0 2.5-1.1 2.5-2.5s-1.1-2.5-2.5-2.5-2.5 1.1-2.5 2.5 1.1 2.5 2.5 2.5M41.6 4c-1.1 0-2.2.4-2.9 1.3V4.2h-2.8v9.6h2.8V8.7c0-1.5 1-2.2 2.1-2.2s1.9.8 1.9 2.2v5.1h2.8V7.7c0-2.2-1.7-3.8-4-3.8Zm-9.7.3v1.3c.6-.8 1.6-1.3 2.8-1.3v2.8c-1.1 0-2.7.8-2.7 2.3v4.5h-2.9V4.3H32Zm26.5 8c0-1 .8-1.8 1.8-1.8s1.8.8 1.8 1.8-.8 1.8-1.8 1.8-1.8-.8-1.8-1.8" style="fill: var(--klarna-fill-color-0, currentColor);"/>'],fills:["#000"],strokes:[null],viewBoxWidth:61.9,viewBoxHeight:14.2,widthRatio:4.359154929577465,heightRatio:1},lock:{elements:['<path d="M8.7 4.5v-.7C8.7 1.7 7 0 5 0S1.2 1.7 1.2 3.9v.7C.5 4.6 0 5.2 0 5.9v6.4c0 .7.6 1.3 1.2 1.3h7.4c.7 0 1.2-.6 1.2-1.3V5.9c0-.7-.6-1.3-1.2-1.3ZM5.6 9.7c0 .4-.3.7-.7.7s-.7-.3-.7-.7V8c0-.4.3-.7.7-.7s.7.3.7.7zm1.8-5.2H2.5v-.7c0-1.5 1.1-2.6 2.5-2.6s2.5 1.1 2.5 2.6v.7Z" style="fill: var(--lock-fill-color-0, currentColor);"/>'],fills:["#000"],strokes:[null],viewBoxWidth:9.9,viewBoxHeight:13.5,widthRatio:.7333333333333334,heightRatio:1},mastercard:{elements:['<path d="M303.1 57h256.7v419.3H303.1z"/ style="fill: var(--mastercard-fill-color-0, currentColor);"/>','<path d="M329.5 266.7c0-81.8 37.5-159.1 101.8-209.6C315.6-33.9 148-13.8 57 102s-70.9 283.4 44.9 374.4c96.7 76 232.8 76 329.5 0-64.4-50.5-101.9-127.8-101.8-209.7Z"/ style="fill: var(--mastercard-fill-color-1, currentColor);"/>','<path d="M862.8 266.7c0 147.2-119.4 266.6-266.6 266.6-59.8 0-117.8-20.1-164.8-57 115.8-91 135.9-258.6 44.9-374.4-13.1-16.7-28.2-31.8-44.9-44.9 115.8-91 283.4-70.9 374.4 44.8 36.9 47 57 105 57 164.8Z"/ style="fill: var(--mastercard-fill-color-2, currentColor);"/>'],fills:["#ff5f00","#eb001b","#f79e1b"],strokes:[null,null,null],viewBoxWidth:862.8,viewBoxHeight:533.3,widthRatio:1.617851115694731,heightRatio:1},swish:{elements:['<defs style="fill: var(--swish-fill-color-0, currentColor);"/>','<linearGradient id="a" x1="15.8" x2="10.8" y1="8.2" y2="18.1" gradientTransform="matrix(1 0 0 -1 0 25.4)" gradientUnits="userSpaceOnUse" style="fill: var(--swish-fill-color-1, currentColor);"/>','<stop offset="0" stop-color="#ef2131"/ style="fill: var(--swish-fill-color-2, currentColor);"/>','<stop offset="1" stop-color="#fecf2c"/ style="fill: var(--swish-fill-color-3, currentColor);"/>','</linearGradient style="fill: var(--swish-fill-color-4, currentColor);"/>','<linearGradient id="b" x1="20.3" x2="11.6" y1="16" y2="1" gradientTransform="matrix(1 0 0 -1 0 25.4)" gradientUnits="userSpaceOnUse" style="fill: var(--swish-fill-color-5, currentColor);"/>','<stop offset="0" stop-color="#fbc52c"/ style="fill: var(--swish-fill-color-6, currentColor);"/>','<stop offset=".3" stop-color="#f87130"/ style="fill: var(--swish-fill-color-7, currentColor);"/>','<stop offset=".6" stop-color="#ef52e2"/ style="fill: var(--swish-fill-color-8, currentColor);"/>','<stop offset="1" stop-color="#661eec"/ style="fill: var(--swish-fill-color-9, currentColor);"/>','</linearGradient style="fill: var(--swish-fill-color-10, currentColor);"/>','<linearGradient id="c" x1="7.7" x2="12.4" y1="19" y2="9.4" gradientTransform="matrix(1 0 0 -1 0 25.4)" gradientUnits="userSpaceOnUse" style="fill: var(--swish-fill-color-11, currentColor);"/>','<stop offset="0" stop-color="#78f6d8"/ style="fill: var(--swish-fill-color-12, currentColor);"/>','<stop offset=".3" stop-color="#77d1f6"/ style="fill: var(--swish-fill-color-13, currentColor);"/>','<stop offset=".6" stop-color="#70a4f3"/ style="fill: var(--swish-fill-color-14, currentColor);"/>','<stop offset="1" stop-color="#661eec"/ style="fill: var(--swish-fill-color-15, currentColor);"/>','</linearGradient style="fill: var(--swish-fill-color-16, currentColor);"/>','<linearGradient id="d" x1="3.1" x2="11.7" y1="11.5" y2="26.4" gradientTransform="matrix(1 0 0 -1 0 25.4)" gradientUnits="userSpaceOnUse" style="fill: var(--swish-fill-color-17, currentColor);"/>','<stop offset="0" stop-color="#536eed"/ style="fill: var(--swish-fill-color-18, currentColor);"/>','<stop offset=".2" stop-color="#54c3ec"/ style="fill: var(--swish-fill-color-19, currentColor);"/>','<stop offset=".6" stop-color="#64d769"/ style="fill: var(--swish-fill-color-20, currentColor);"/>','<stop offset="1" stop-color="#fecf2c"/ style="fill: var(--swish-fill-color-21, currentColor);"/>','</linearGradient style="fill: var(--swish-fill-color-22, currentColor);"/>','</defs style="fill: var(--swish-fill-color-23, currentColor);"/>','<path d="M72.8 6.5c0-.3 0-.5.1-.8 0-.2.2-.4.4-.6s.4-.3.6-.4.5-.2.7-.2.5 0 .7.2c.2 0 .4.2.6.4s.3.4.4.6c0 .2.1.5.1.8s0 .5-.1.8c0 .2-.2.4-.4.6s-.4.3-.6.4-.5.2-.7.2-.5 0-.7-.2c-.2 0-.4-.2-.6-.4s-.3-.4-.4-.6c0-.2-.1-.5-.1-.8m.4 0c0 .2 0 .4.1.6 0 .2.2.4.3.5s.3.3.5.3.4.1.6.1.4 0 .6-.1c.2 0 .3-.2.5-.3.1-.1.2-.3.3-.5 0-.2.1-.4.1-.6s0-.4-.1-.6c0-.2-.2-.4-.3-.5s-.3-.3-.5-.3-.4-.1-.6-.1-.4 0-.6.1c-.2 0-.3.2-.5.3-.1.1-.2.3-.3.5 0 .2-.1.4-.1.6m.8-.9c0-.1 0-.2.2-.2h.6c.2 0 .3 0 .5.2.1.1.2.3.2.4v.4l-.1.1h-.1l.3.5v.1h-.1s-.2 0-.2-.1l-.3-.6h-.3V7c0 .1 0 .2-.2.2-.1 0-.2 0-.2-.2V5.3Zm.7.8h.2V6h-.5v.7h.3ZM59.3 7.7c.6 0 1.1 0 1.5.2s.7.3 1 .4c.2.1.3.2.4.4v.6l-.2.3c-.1.2-.2.3-.4.4H61c-.2 0-.4-.2-.7-.3s-.6-.2-1-.2-.7 0-.9.2-.3.4-.3.7.1.4.3.6.5.3.8.4.7.2 1.1.4c.4.1.7.3 1.1.5.3.2.6.5.8.8s.3.7.3 1.3 0 .8-.2 1.1-.4.6-.7.9c-.3.2-.7.4-1.1.6-.4.1-.9.2-1.4.2s-1.3-.1-1.8-.3q-.75-.3-1.2-.6c-.2-.1-.3-.3-.3-.4 0-.2 0-.4.2-.6l.2-.3c.1-.2.3-.3.4-.3.2 0 .3 0 .6.1.2.1.5.3.8.4s.7.2 1.2.2.7 0 .9-.2.3-.4.3-.7-.1-.4-.3-.6c-.2-.1-.5-.3-.8-.4-.4-.1-.7-.3-1.1-.4s-.7-.3-1.1-.5c-.3-.2-.6-.5-.8-.8s-.3-.8-.3-1.3 0-.8.3-1.2c.2-.3.4-.6.7-.8s.7-.4 1.1-.5.9-.2 1.3-.2Zm-26.2 0c.6 0 1.1 0 1.5.2s.7.3 1 .4c.2.1.3.2.4.4s0 .4 0 .6l-.2.3c-.1.2-.2.3-.4.4h-.6c-.2 0-.4-.2-.7-.3s-.6-.2-1-.2-.7 0-.9.2-.3.4-.3.7.1.4.3.6.5.3.8.4.7.2 1.1.4c.4.1.7.3 1.1.5.3.2.6.5.8.8s.3.7.3 1.3 0 .8-.2 1.1-.4.6-.7.9c-.3.2-.7.4-1.1.6-.4.1-.9.2-1.4.2s-1.3-.1-1.8-.3q-.75-.3-1.2-.6c-.2-.1-.3-.3-.3-.4 0-.2 0-.4.2-.6l.2-.3c.1-.2.3-.3.4-.3.2 0 .3 0 .6.1.2.1.5.3.8.4s.7.2 1.2.2.7 0 .9-.2.3-.4.3-.7-.1-.4-.3-.6c-.2-.1-.5-.3-.8-.4s-.7-.3-1.1-.4-.7-.3-1.1-.5c-.3-.2-.6-.5-.8-.8s-.3-.8-.3-1.3 0-.8.3-1.2c.2-.3.4-.6.7-.8s.7-.4 1.1-.5.9-.2 1.3-.2Zm32.1-3.3c.5 0 .7.2.7.7v4.3c.1-.2.3-.4.4-.6.2-.2.4-.4.7-.6s.6-.3.9-.4.7-.2 1.1-.2c1 0 1.8.3 2.3.8s.8 1.4.8 2.6v5.1c0 .5-.2.7-.7.7h-.8c-.5 0-.7-.2-.7-.7v-4.6c0-.6 0-1-.3-1.3-.2-.3-.6-.5-1.1-.5s-.7 0-1.1.2c-.3.2-.6.4-.8.6-.2.3-.4.6-.5.9-.1.4-.2.8-.2 1.2V16c0 .5-.2.7-.7.7h-.8c-.5 0-.7-.2-.7-.7V5.1c0-.5.2-.7.7-.7zM53.5 7.9c.5 0 .7.2.7.7v7.5c0 .5-.2.7-.7.7h-.8c-.5 0-.7-.2-.7-.7V8.6c0-.5.2-.7.7-.7zm-15 0c.4 0 .7.2.8.7l1.4 5.3v1-1l1.5-5.3c0-.4.4-.6.8-.6h.7c.4 0 .7.2.8.6l1.5 5.3v1-1l1.4-5.3c.1-.4.4-.7.8-.7h.8c.3 0 .5 0 .6.2q.15.3 0 .6l-2.3 7.6c-.1.4-.4.6-.8.6h-1.2c-.4 0-.7-.2-.8-.6l-1.4-4.5v-1 1l-1.4 4.5c-.1.4-.4.6-.8.6h-1.2c-.4 0-.7-.2-.8-.6l-2.3-7.6v-.6c.1-.2.3-.2.6-.2h.8Z" style="fill: var(--swish-fill-color-24, currentColor);"/>','<path d="M6.6 22.2c4.7 2.2 10.5 1.1 14-3 4.1-4.9 3.5-12.3-1.4-16.4l-3.3 3.9c3.9 3.2 4.4 9 1.1 12.8-2.6 3.1-6.8 4.1-10.4 2.7" style="fill: var(--swish-fill-color-25, currentColor);"/>','<path d="M6.6 22.2c4.7 2.2 10.5 1.1 14-3 .4-.5.8-1 1.1-1.6.6-3.4-.7-7-3.5-9.4-.7-.6-1.5-1.1-2.3-1.5 3.9 3.2 4.4 9 1.1 12.8-2.6 3.1-6.8 4.1-10.4 2.7" style="fill: var(--swish-fill-color-26, currentColor);"/>','<path d="M16.7 1.1C12-1.1 6.2 0 2.7 4.2-1.4 9.1-.8 16.5 4.1 20.6l3.3-3.9C3.5 13.5 3 7.7 6.3 3.9 8.9.8 13.1-.2 16.7 1.1" style="fill: var(--swish-fill-color-27, currentColor);"/>','<path d="M16.7 1.1C12-1.1 6.2 0 2.7 4.2c-.4.5-.8 1-1.1 1.6-.6 3.4.7 7 3.5 9.4.7.6 1.5 1.1 2.3 1.5-3.9-3.2-4.4-9-1.1-12.8C8.9.8 13.1-.2 16.7 1.1" style="fill: var(--swish-fill-color-28, currentColor);"/>'],fills:["#000","#000","#000","#000","#000","#000","#000","#000","#000","#000","#000","#000","#000","#000","#000","#000","#000","#000","#000","#000","#000","#000","#000","#000","#000","#000","#000","#000","#000"],strokes:[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],viewBoxWidth:76.6,viewBoxHeight:23.3,widthRatio:3.2875536480686693,heightRatio:1},vipps:{elements:['<path d="m33.9 3.4 28.8 84.1L90.9 3.4h33.3L74.5 128.2H49.7L0 3.4zm165.4 105c20.9 0 32.7-10.2 44-24.8 6.2-7.9 14.1-9.6 19.8-5.1s6.2 13 0 20.9c-16.4 21.5-37.3 34.4-63.8 34.4s-54.2-15.8-71.7-43.5c-5.1-7.3-4-15.2 1.7-19.2s14.1-2.3 19.2 5.6c12.4 18.6 29.4 31.6 50.8 31.6ZM238.2 39c0 10.2-7.9 16.9-16.9 16.9s-16.9-6.8-16.9-16.9 7.9-16.9 16.9-16.9 16.9 7.3 16.9 16.9m79.7-35.6v16.9C326.4 8.4 339.4 0 358.5 0S411 20.3 411 63.8s-27.1 67.7-55.3 67.7-28.2-5.6-38.4-19.8v59.8h-30.5V3.4zm0 62.1c0 25.4 14.7 39 31.1 39s31.6-12.4 31.6-39-15.8-38.4-31.6-38.4-31.1 11.9-31.1 38.4M464.6 3.4v16.9C473.1 8.4 486.1 0 505.2 0s52.5 20.3 52.5 63.8-27.1 67.7-55.3 67.7-28.2-5.6-38.4-19.8v59.8h-30.5V3.4zm0 62.1c0 25.4 14.7 39 31.1 39s31.6-12.4 31.6-39-15.8-38.4-31.6-38.4-31.1 11.9-31.1 38.4M622.7 0c25.4 0 43.5 11.9 51.4 41.2l-27.7 4.5c-.6-14.7-9.6-19.8-23.1-19.8s-18.1 4.5-18.1 11.9 4 11.3 15.8 13.5l20.9 4c20.3 4 31.6 17.5 31.6 35.6 0 27.1-24.3 40.6-47.4 40.6s-51.4-12.4-55.3-42.9l27.7-4.5c1.7 15.8 11.3 21.5 27.1 21.5s19.8-4.5 19.8-11.9-4-11.9-16.9-14.1l-19.2-3.4c-20.3-4-32.7-18.1-32.7-36.1C577 11.9 602.4 0 622.7 0"/ style="fill: var(--vipps-fill-color-0, currentColor);"/>'],fills:["#ff5b24"],strokes:[null],viewBoxWidth:674.1,viewBoxHeight:176,widthRatio:3.8301136363636363,heightRatio:1},visa:{elements:['<path d="M484.7 8.4C469.2 2.7 452.8-.1 436.3 0c-53.3 0-91 26.9-91.2 65.4-.3 28.3 26.8 44.3 47.3 53.8 21 9.7 28.1 15.9 28 24.6-.1 13.2-16.8 19.2-32.3 19.2s-32.9-3-50.8-10.4l-6.6-3.1-7.6 44.4c13 5.4 36.3 10 60.5 10.4 56.7 0 93.8-26.7 94.2-67.7.5-22.6-14.2-39.7-45.1-53.9-18.8-9.2-30.4-15.3-30.4-24.6s10-17 30.8-17c13.9-.3 27.6 2.3 40.4 7.6l5 2.2L486.1 8l-1.3.3Zm138.4-4.8h-41.7c-13 0-22.7 3.6-28.4 16.4l-80.1 181.5h56.7l11.3-29.8h69.2c1.6 7 6.6 29.8 6.6 29.8h50zM268.4 1.9h54L288.6 200h-54zM131.2 111.1l5.6 27.5 52.8-135h57.2l-85 197.7h-57.1L58 33.9c-.8-2.8-2.5-5.1-5-6.6C36.2 18.6 18.4 12 0 7.6l.7-4.1h87c11.8.5 21.3 4.2 24.5 16.8l19 91v-.1Zm425.2 20.2 21.5-55.4c-.3.6 4.4-11.4 7.2-18.9l3.7 17.1 12.5 57.1h-44.9Z"/ style="fill: var(--visa-fill-color-0, currentColor);"/>'],fills:["#182a85"],strokes:[null],viewBoxWidth:666.8,viewBoxHeight:204.3,widthRatio:3.263827704356338,heightRatio:1}};var Ef=new Set(["$$slots","$$events","$$legacy","name","multiColor","ratio","class"]),Af=Er("<svg></svg>");function ir(t,e){He(e,!0);let r=ee(e,"multiColor",3,!1),n=ee(e,"ratio",3,1),a=Vt(e,Ef);const{elements:o,fills:i,strokes:s,viewBoxWidth:l,viewBoxHeight:d,widthRatio:u,heightRatio:h}=Sf[e.name];var f=Af();yt(f,(v,m)=>({class:v,viewBox:l&&d?`0 0 ${l} ${d}`:void 0,width:`${n()*u}em`,height:`${n()*h}em`,style:m,...a}),[()=>ie(`icon-${e.name}`,e.class),()=>r()?[...i.map((v,m)=>v&&`--${e.name}-fill-color-${m}: ${v};`),...s.map((v,m)=>v&&`--${e.name}-stroke-color-${m}: ${v};`)].filter(Boolean).join(""):void 0]),sn(f,()=>o.join(""),!0),H(f),x(t,f),Ue()}var zf=new Set(["$$slots","$$events","$$legacy","up","right","down","left","style","class","children"]),Tf=R("<div><!></div>");function Tr(t,e){He(e,!0);let r=Vt(e,zf);var n=Tf();yt(n,o=>({class:o,style:e.style,...r}),[()=>ie(!e.up&&!e.right&&!e.down&&!e.left&&"row",e.up&&!e.right&&!e.down&&!e.left&&"row-up",!e.up&&e.right&&!e.down&&!e.left&&"row-right",!e.up&&!e.right&&e.down&&!e.left&&"row-down",!e.up&&!e.right&&!e.down&&e.left&&"row-left",e.up&&e.right&&!e.down&&!e.left&&"row-up-right",e.up&&!e.right&&!e.down&&e.left&&"row-up-left",!e.up&&e.right&&e.down&&!e.left&&"row-down-right",!e.up&&!e.right&&e.down&&e.left&&"row-down-left",e.class)]);var a=Y(n);Zn(a,()=>e.children),H(n),x(t,n),Ue()}var Mf=Er('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 578 176"><defs><linearGradient x1="80.8150544%" y1="59.6365716%" x2="59.8678229%" y2="8.14952521%" id="linearGradient-1"><stop stop-color="#EF2131" offset="0%"></stop><stop stop-color="#FECF2C" offset="100%"></stop></linearGradient><linearGradient x1="58.8181173%" y1="0%" x2="9.24395007%" y2="94.0712606%" id="linearGradient-2"><stop stop-color="#FBC52C" offset="0%"></stop><stop stop-color="#F87130" offset="26.3921199%"></stop><stop stop-color="#EF52E2" offset="56.079734%"></stop><stop stop-color="#661EEC" offset="100%"></stop></linearGradient><linearGradient x1="20.5690473%" y1="41.0176198%" x2="40.5972643%" y2="91.2765373%" id="linearGradient-3"><stop stop-color="#78F6D8" offset="0%"></stop><stop stop-color="#77D1F6" offset="26.5705044%"></stop><stop stop-color="#70A4F3" offset="55.447147%"></stop><stop stop-color="#661EEC" offset="100%"></stop></linearGradient><linearGradient x1="42.4403836%" y1="100%" x2="91.6136906%" y2="6.27757791%" id="linearGradient-4"><stop stop-color="#536EED" offset="0%"></stop><stop stop-color="#54C3EC" offset="24.6657524%"></stop><stop stop-color="#64D769" offset="56.4199509%"></stop><stop stop-color="#FECF2C" offset="100%"></stop></linearGradient></defs><g id="02-Secondary-(Horizontal)/Colour/Light-background/Swish_Logo_Secondary_Light-BG" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g id="Wordmark/Swish" transform="translate(222.000000, 33.000000)" fill-rule="nonzero"><path d="M327.058556,15.9033093 C327.058556,13.8736577 327.431906,11.9708878 328.178619,10.1949426 C328.925332,8.41899743 329.938713,6.87007599 331.218792,5.54813183 C332.498871,4.22618767 333.998941,3.18467154 335.719047,2.42355217 C337.439153,1.66243281 339.285906,1.28187884 341.259361,1.28187884 C343.259485,1.28187884 345.132906,1.66243281 346.87968,2.42355217 C348.626455,3.18467154 350.146526,4.22618767 351.439939,5.54813183 C352.733352,6.87007599 353.7534,8.41899743 354.500113,10.1949426 C355.246825,11.9708878 355.620176,13.8736577 355.620176,15.9033093 C355.620176,17.9329609 355.246825,19.8357308 354.500113,21.611676 C353.7534,23.3876212 352.733352,24.9365426 351.439939,26.2584868 C350.146526,27.5804309 348.626455,28.6219471 346.87968,29.3830664 C345.132906,30.1441858 343.259485,30.5247398 341.259361,30.5247398 C339.285906,30.5247398 337.439153,30.1441858 335.719047,29.3830664 C333.998941,28.6219471 332.498871,27.5804309 331.218792,26.2584868 C329.938713,24.9365426 328.925332,23.3876212 328.178619,21.611676 C327.431906,19.8357308 327.058556,17.9329609 327.058556,15.9033093 Z M329.978721,15.9033093 C329.978721,17.5857837 330.265401,19.1480579 330.83877,20.5901788 C331.412139,22.0322925 332.205509,23.2874602 333.218905,24.3556979 C334.232301,25.4239356 335.42569,26.2651601 336.799108,26.8793968 C338.172526,27.4936335 339.659263,27.8007472 341.259361,27.8007472 C342.886128,27.8007472 344.392866,27.4936335 345.779618,26.8793968 C347.16637,26.2651601 348.373093,25.4239356 349.399823,24.3556979 C350.426553,23.2874602 351.233258,22.0322925 351.81996,20.5901788 C352.406663,19.1480579 352.70001,17.5857837 352.70001,15.9033093 C352.70001,14.2208349 352.406663,12.6585607 351.81996,11.2164398 C351.233258,9.77431891 350.426553,8.51915843 349.399823,7.45092073 C348.373093,6.38268302 347.16637,5.54145845 345.779618,4.92722177 C344.392866,4.31298509 342.886128,4.00587136 341.259361,4.00587136 C339.659263,4.00587136 338.172526,4.31298509 336.799108,4.92722177 C335.42569,5.54145845 334.232301,6.38268302 333.218905,7.45092073 C332.205509,8.51915843 331.412139,9.77431891 330.83877,11.2164398 C330.265401,12.6585607 329.978721,14.2208349 329.978721,15.9033093 Z M336.379084,9.61409126 C336.379084,8.73279516 336.819105,8.29215371 337.699159,8.29215371 L342.219416,8.29215371 C343.659505,8.29215371 344.806225,8.70608962 345.659611,9.53397384 C346.512997,10.3618581 346.939684,11.4834908 346.939684,12.8989058 C346.939684,13.4864365 346.853013,14.0071946 346.679669,14.4611956 C346.506325,14.9151966 346.286315,15.3091034 346.019631,15.6429277 C345.752948,15.9767519 345.459601,16.2504837 345.139581,16.4641313 C344.819562,16.6777788 344.499547,16.8246593 344.179527,16.9047771 L344.179527,16.9848946 C344.206195,17.0116005 344.246197,17.0650116 344.299534,17.1451294 C344.35287,17.1985413 344.406206,17.2853343 344.459543,17.4055111 C344.51288,17.5256878 344.592883,17.6658919 344.699557,17.8261275 L346.779675,21.8720576 C347.019689,22.3260586 347.073025,22.6932598 346.939684,22.9736722 C346.806342,23.2540846 346.512995,23.3942887 346.059634,23.3942887 L345.579606,23.3942887 C344.832894,23.3942887 344.312869,23.0738222 344.019518,22.4328796 L341.699386,17.5457166 L339.219246,17.5457166 L339.219246,22.1124099 C339.219246,22.9670001 338.805893,23.3942887 337.979175,23.3942887 L337.619155,23.3942887 C336.792437,23.3942887 336.379084,22.9670001 336.379084,22.1124099 L336.379084,9.61409126 Z M341.619382,15.4626634 C342.392763,15.4626634 342.992791,15.2356663 343.419484,14.7816653 C343.846177,14.3276643 344.05952,13.7000841 344.05952,12.8989058 C344.05952,12.1244334 343.846177,11.5235587 343.419484,11.0962637 C342.992791,10.6689686 342.406097,10.4553242 341.659384,10.4553242 L339.219246,10.4553242 L339.219246,15.4626634 L341.619382,15.4626634 Z M225.01569,25.0407019 C229.537969,25.0407019 233.372982,25.6178754 236.520843,26.7722398 C239.668704,27.9266041 242.129319,28.9921553 243.902761,29.9689251 C245.410188,30.7681004 246.296896,31.8336516 246.562912,33.1656105 C246.828929,34.4975693 246.607252,35.9183042 245.897875,37.4278576 L244.567799,39.8253716 C243.76975,41.4237223 242.750036,42.3560795 241.508626,42.6224713 C240.267216,42.888863 238.804147,42.6668732 237.119377,41.9564952 C235.61195,41.2461171 233.794199,40.5135507 231.666067,39.758774 C229.537936,39.0039973 227.055153,38.6266146 224.217645,38.6266146 C221.291464,38.6266146 219.030358,39.2037881 217.43426,40.3581525 C215.838161,41.5125168 215.040124,43.1552415 215.040124,45.2863757 C215.040124,47.1511182 215.860329,48.6606489 217.500764,49.8150133 C219.141198,50.9693777 221.224962,51.9905308 223.752118,52.8785034 C226.279274,53.766476 228.983734,54.7210322 231.865579,55.7422007 C234.747423,56.7633692 237.451883,58.0731091 239.979039,59.6714598 C242.506195,61.2698104 244.589959,63.3121168 246.230394,65.79844 C247.870828,68.2847633 248.691033,71.4370187 248.691033,75.2553008 C248.691033,78.2744076 248.092505,81.0492804 246.895431,83.5800022 C245.698357,86.1107241 243.969277,88.3084233 241.708137,90.1731658 C239.446997,92.0379082 236.72037,93.503041 233.528173,94.5686081 C230.335976,95.6341752 226.789143,96.1669508 222.887569,96.1669508 C217.389896,96.1669508 212.756847,95.3677874 208.988281,93.7694368 C205.219715,92.1710861 202.315746,90.6615554 200.276286,89.2407992 C198.76886,88.3528266 197.926487,87.2428775 197.749143,85.9109186 C197.571799,84.5789598 197.970817,83.1582249 198.946211,81.6486715 L200.542301,79.2511575 C201.517695,77.8304014 202.603912,77.031238 203.800986,76.8536435 C204.99806,76.676049 206.438961,77.0312327 208.123732,77.9192053 C209.71983,78.8071779 211.781426,79.8061321 214.308582,80.9160978 C216.835738,82.0260635 219.828378,82.5810381 223.286592,82.5810381 C226.212772,82.5810381 228.518214,81.9594666 230.202984,80.716305 C231.887755,79.4731433 232.730128,77.7860207 232.730128,75.6548865 C232.730128,73.7901441 231.909923,72.3028123 230.269488,71.1928465 C228.629053,70.0828808 226.545289,69.0617276 224.018133,68.1293564 C221.490977,67.1969852 218.786518,66.198031 215.904673,65.1324639 C213.022828,64.0668968 210.318369,62.7349579 207.791213,61.1366072 C205.264057,59.5382566 203.180293,57.4959502 201.539858,55.009627 C199.899423,52.5233037 199.079218,49.3266503 199.079218,45.4195709 C199.079218,42.1340724 199.766417,39.2038068 201.140835,36.6286862 C202.515254,34.0535657 204.377341,31.9224635 206.727152,30.2353156 C209.076964,28.5481676 211.825759,27.2606267 214.97362,26.3726541 C218.121481,25.4846815 221.468804,25.0407019 225.01569,25.0407019 Z M27.307473,25.0407019 C31.8297521,25.0407019 35.6647647,25.6178754 38.8126257,26.7722398 C41.9604867,27.9266041 44.4211017,28.9921553 46.1945445,29.9689251 C47.7019709,30.7681004 48.588679,31.8336516 48.8546954,33.1656105 C49.1207119,34.4975693 48.8990348,35.9183042 48.1896577,37.4278576 L46.8595822,39.8253716 C46.061533,41.4237223 45.0418186,42.3560795 43.8004087,42.6224713 C42.5589987,42.888863 41.0959303,42.6668732 39.4111597,41.9564952 C37.9037333,41.2461171 36.0859816,40.5135507 33.9578503,39.758774 C31.8297189,39.0039973 29.3469362,38.6266146 26.5094277,38.6266146 C23.583247,38.6266146 21.3221414,39.2037881 19.7260428,40.3581525 C18.1299443,41.5125168 17.331907,43.1552415 17.331907,45.2863757 C17.331907,47.1511182 18.152112,48.6606489 19.7925466,49.8150133 C21.4329812,50.9693777 23.5167452,51.9905308 26.0439013,52.8785034 C28.5710573,53.766476 31.275517,54.7210322 34.1573616,55.7422007 C37.0392062,56.7633692 39.7436659,58.0731091 42.2708219,59.6714598 C44.7979779,61.2698104 46.881742,63.3121168 48.5221766,65.79844 C50.1626112,68.2847633 50.9828162,71.4370187 50.9828162,75.2553008 C50.9828162,78.2744076 50.3842882,81.0492804 49.1872143,83.5800022 C47.9901404,86.1107241 46.2610596,88.3084233 43.99992,90.1731658 C41.7387804,92.0379082 39.012153,93.503041 35.8199559,94.5686081 C32.6277588,95.6341752 29.0809264,96.1669508 25.1793522,96.1669508 C19.6816795,96.1669508 15.0486296,95.3677874 11.2800636,93.7694368 C7.51149765,92.1710861 4.6075286,90.6615554 2.56806936,89.2407992 C1.06064297,88.3528266 0.218270266,87.2428775 0.0409259849,85.9109186 C-0.136418297,84.5789598 0.262600352,83.1582249 1.2379939,81.6486715 L2.83408445,79.2511575 C3.809478,77.8304014 4.89569544,77.031238 6.09276934,76.8536435 C7.28984324,76.676049 8.73074391,77.0312327 10.4155146,77.9192053 C12.0116131,78.8071779 14.0732095,79.8061321 16.6003655,80.9160978 C19.1275215,82.0260635 22.1201614,82.5810381 25.5783749,82.5810381 C28.5045555,82.5810381 30.8099966,81.9594666 32.4947673,80.716305 C34.1795379,79.4731433 35.0219106,77.7860207 35.0219106,75.6548865 C35.0219106,73.7901441 34.2017056,72.3028123 32.561271,71.1928465 C30.9208364,70.0828808 28.8370724,69.0617276 26.3099164,68.1293564 C23.7827603,67.1969852 21.0783006,66.198031 18.196456,65.1324639 C15.3146115,64.0668968 12.6101517,62.7349579 10.0829957,61.1366072 C7.55583971,59.5382566 5.47207566,57.4959502 3.83164105,55.009627 C2.19120645,52.5233037 1.37100145,49.3266503 1.37100145,45.4195709 C1.37100145,42.1340724 2.05820023,39.2038068 3.43261841,36.6286862 C4.80703659,34.0535657 6.66912362,31.9224635 9.01893535,30.2353156 C11.3687471,28.5481676 14.1175422,27.2606267 17.2654032,26.3726541 C20.4132642,25.4846815 23.7605873,25.0407019 27.307473,25.0407019 Z M269.832233,0 C273.556463,0 275.41855,1.86471447 275.41855,5.59419935 L275.41855,33.0324152 C275.41855,33.9203878 275.396382,34.6973522 275.352046,35.3633316 C275.30771,36.0293111 275.241207,36.6286836 275.152534,37.1614671 C275.063862,37.7830479 275.019527,38.3158235 275.019527,38.7598098 L275.285542,38.7598098 C276.083591,37.1614591 277.214144,35.5409335 278.677234,33.8981842 C280.140325,32.2554349 281.869406,30.7681031 283.864529,29.4361442 C285.859652,28.1041853 288.120758,27.0386342 290.647914,26.2394589 C293.17507,25.4402835 295.901697,25.0407019 298.827878,25.0407019 C306.36501,25.0407019 312.195115,27.0830082 316.31837,31.1676821 C320.441625,35.252356 322.503221,41.8232546 322.503221,50.8805751 L322.503221,88.9744088 C322.503221,92.7038936 320.641134,94.5686081 316.916904,94.5686081 L311.197579,94.5686081 C307.47335,94.5686081 305.611263,92.7038936 305.611263,88.9744088 L305.611263,54.3436509 C305.611263,50.1701797 304.901896,46.8181334 303.483142,44.2874115 C302.064388,41.7566897 299.226922,40.4913477 294.970659,40.4913477 C292.044478,40.4913477 289.362186,41.0685212 286.923702,42.2228856 C284.485218,43.37725 282.423622,44.9533777 280.738851,46.951316 C279.054081,48.9492543 277.746186,51.3245454 276.815129,54.0772604 C275.884071,56.8299754 275.41855,59.804639 275.41855,63.0013403 L275.41855,88.9744088 C275.41855,92.7038936 273.556463,94.5686081 269.832233,94.5686081 L264.112908,94.5686081 C260.388678,94.5686081 258.526591,92.7038936 258.526591,88.9744088 L258.526591,5.59419935 C258.526591,1.86471447 260.388678,0 264.112908,0 L269.832233,0 Z M181.460219,26.6390445 C185.095777,26.6390445 186.913528,28.503759 186.913528,32.2332439 L186.913528,88.9744088 C186.913528,92.7038936 185.095777,94.5686081 181.460219,94.5686081 L175.607887,94.5686081 C171.972329,94.5686081 170.154577,92.7038936 170.154577,88.9744088 L170.154577,32.2332439 C170.154577,28.503759 171.972329,26.6390445 175.607887,26.6390445 L181.460219,26.6390445 Z M68.604816,26.6390445 C71.9743573,26.6390445 73.9694505,28.2817692 74.5901555,31.5672678 L85.4967743,71.2594441 C85.6741186,72.236214 85.8292925,73.1241733 85.9623007,73.9233486 C86.0953089,74.7225239 86.2504829,75.4772893 86.4278271,76.1876674 C86.6051714,76.9868427 86.7381776,77.7416081 86.8268498,78.4519862 L87.0928649,78.4519862 C87.181537,77.7416081 87.3145432,76.9868427 87.4918875,76.1876674 C87.6692318,75.4772893 87.8244057,74.7225239 87.9574139,73.9233486 C88.0904221,73.1241733 88.2899315,72.236214 88.5559479,71.2594441 L99.9945969,31.5672678 C100.615302,28.3705665 102.65473,26.7722398 106.112944,26.7722398 L111.167231,26.7722398 C114.4481,26.7722398 116.487529,28.3705665 117.285578,31.5672678 L128.591219,71.2594441 C128.857236,72.236214 129.056745,73.1241733 129.189753,73.9233486 C129.322761,74.7225239 129.477935,75.4772893 129.65528,76.1876674 C129.832624,76.9868427 129.96563,77.7416081 130.054302,78.4519862 L130.320317,78.4519862 C130.40899,77.7416081 130.541996,76.9868427 130.71934,76.1876674 C130.896684,75.4772893 131.051858,74.7225239 131.184866,73.9233486 C131.317875,73.1241733 131.517384,72.236214 131.7834,71.2594441 L142.557012,31.5672678 C143.355061,28.2817692 145.39449,26.6390445 148.675359,26.6390445 L154.793706,26.6390445 C156.833165,26.6390445 158.251898,27.2162181 159.049947,28.3705824 C159.847997,29.5249468 159.981003,31.0344776 159.44897,32.89922 L142.024981,89.9067753 C141.13826,93.0146794 139.054496,94.5686081 135.773627,94.5686081 L126.862121,94.5686081 C123.49258,94.5686081 121.408816,92.9702814 120.610767,89.7735801 L110.369185,55.8087983 C110.103169,54.9208257 109.881492,54.0328664 109.704148,53.1448939 C109.526803,52.2569213 109.349462,51.4577579 109.172118,50.7473798 C108.994773,49.9482045 108.861767,49.1934391 108.773095,48.4830611 L108.50708,48.4830611 C108.329736,49.1934391 108.152394,49.9482045 107.97505,50.7473798 C107.797705,51.4577579 107.620364,52.2569213 107.443019,53.1448939 C107.265675,54.0328664 107.043998,54.9208257 106.777982,55.8087983 L96.5364007,89.7735801 C95.7383514,92.9702814 93.6989227,94.5686081 90.4180535,94.5686081 L81.2405328,94.5686081 C78.0483358,94.5686081 76.0089071,93.0146794 75.1221857,89.9067753 L57.5651896,32.89922 C57.0331568,31.0344776 57.1883307,29.5249468 58.030716,28.3705824 C58.8731014,27.2162181 60.2696666,26.6390445 62.2204537,26.6390445 L68.604816,26.6390445 Z" id="swish®"></path></g><g id="Symbol/Colour"><g id="Right-Swirl" transform="translate(50.005869, 20.581194)"><path d="M0,146.685268 C35.320882,163.577834 78.9117034,155.217748 105.246455,123.83961 C136.460269,86.64832 131.612113,31.2033405 94.4177327,-5.68434189e-14 L69.6915356,29.4617132 C98.7493932,53.8393444 102.537085,97.1556059 78.1513834,126.211403 C58.7070751,149.379356 26.6929327,157.114942 0,146.685268" id="Base-Shape" fill="url(#linearGradient-1)"></path><path d="M1.13686838e-13,146.685268 C35.320882,163.577834 78.9117034,155.217748 105.246455,123.83961 C108.471633,119.9968 111.310642,115.958759 113.770006,111.77305 C117.928757,85.9298966 108.78311,58.6143532 87.2695571,40.5661971 C81.803598,35.9805815 75.8865639,32.2862985 69.6953132,29.4651473 C98.7497366,53.8432937 102.535883,97.1569795 78.1513834,126.211403 C58.7070751,149.379356 26.6929327,157.114942 1.13686838e-13,146.685268" id="Light-Cast" fill="url(#linearGradient-2)"></path></g><g id="Left-Swirl"><path d="M125.821122,8.56068559 C90.5004122,-8.33188026 46.9095908,0.0280338815 20.5748395,31.4061724 C-10.6389751,68.5976339 -5.790819,124.042613 31.4033898,155.245954 L56.1297586,125.784241 C27.0717293,101.406609 23.2842093,58.090348 47.6699108,29.0343792 C67.114219,5.86642608 99.1283615,-1.86916026 125.821122,8.56068559" id="Base-shape" fill="url(#linearGradient-3)"></path><path d="M125.821122,8.56068559 C90.5004122,-8.33188026 46.9095908,0.0280338815 20.5748395,31.4061724 C17.3494893,35.2491539 14.5104805,39.2871949 12.0512883,43.4729041 C7.89236539,69.3160573 17.0381839,96.631429 38.5517371,114.679757 C44.0176961,119.265201 49.9347303,122.959655 56.1258093,125.780635 C27.0715576,101.40266 23.2852395,58.0889744 47.6699108,29.0343792 C67.114219,5.86642608 99.1283615,-1.86916026 125.821122,8.56068559" id="Shadow" fill="url(#linearGradient-4)"></path></g></g></g></svg>'),Pf=Er('<svg viewBox="0 0 182 50" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M164.958 38.8133C160.73 38.8133 157.435 35.2713 157.435 30.9704C157.435 26.6685 160.73 23.1265 164.958 23.1265C169.187 23.1265 172.482 26.6685 172.482 30.9704C172.482 35.2713 169.187 38.8133 164.958 38.8133ZM162.844 47.1C166.451 47.1 171.052 45.7089 173.601 40.2682L173.85 40.3949C172.731 43.3685 172.731 45.1395 172.731 45.5823V46.2773H181.809V15.6625H172.731V16.3586C172.731 16.8013 172.731 18.5723 173.85 21.545L173.601 21.6716C171.052 16.2319 166.451 14.8408 162.844 14.8408C154.202 14.8408 148.108 21.7982 148.108 30.9704C148.108 40.1426 154.202 47.1 162.844 47.1ZM132.315 14.8408C128.211 14.8408 124.978 16.2957 122.367 21.6716L122.118 21.545C123.237 18.5723 123.237 16.8013 123.237 16.3586V15.6625H114.159V46.2773H123.486V30.1477C123.486 25.9097 125.911 23.2531 129.828 23.2531C133.745 23.2531 135.673 25.5307 135.673 30.0849V46.2773H144.999V26.7952C144.999 19.8378 139.652 14.8408 132.315 14.8408ZM100.666 21.6716L100.418 21.545C101.537 18.5723 101.537 16.8013 101.537 16.3586V15.6625H92.4586V46.2773H101.786L101.848 31.5398C101.848 27.2379 104.086 24.6452 107.755 24.6452C108.75 24.6452 109.558 24.7709 110.491 25.0242V15.6625C106.387 14.777 102.718 16.3586 100.666 21.6716ZM71.0076 38.8133C66.7786 38.8133 63.4836 35.2713 63.4836 30.9704C63.4836 26.6685 66.7786 23.1265 71.0076 23.1265C75.2356 23.1265 78.5306 26.6685 78.5306 30.9704C78.5306 35.2713 75.2356 38.8133 71.0076 38.8133ZM68.8936 47.1C72.4996 47.1 77.1006 45.7089 79.6496 40.2682L79.8986 40.3949C78.7796 43.3685 78.7796 45.1395 78.7796 45.5823V46.2773H87.8576V15.6625H78.7796V16.3586C78.7796 16.8013 78.7796 18.5723 79.8986 21.545L79.6496 21.6716C77.1006 16.2319 72.4996 14.8408 68.8936 14.8408C60.2506 14.8408 54.1566 21.7982 54.1566 30.9704C54.1566 40.1426 60.2506 47.1 68.8936 47.1ZM41.1618 46.2773H50.4886V2H41.1618V46.2773ZM34.3222 2H24.809C24.809 9.90673 20.0213 16.9908 12.7465 22.0515L9.8863 24.0758V2H0V46.2773H9.8863V24.3281L26.2391 46.2773H38.3016L22.5706 25.2775C29.7211 20.0272 34.3844 11.8672 34.3222 2Z"></path></svg>'),If=Er('<svg viewBox="0 0 60 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M19.501 10.175c0-.717-.062-1.403-.178-2.063H9.944v3.875h5.384a4.613 4.613 0 01-1.99 3.027v2.477h3.194c1.88-1.733 2.97-4.284 2.97-7.316z" fill="#4285F4"></path><path d="M9.95 19.9c2.686 0 4.938-.89 6.582-2.41l-3.194-2.476c-.896.602-2.042.958-3.394.958-2.597 0-4.802-1.754-5.592-4.116H1.058v2.556c1.644 3.251 5 5.488 8.892 5.488z" fill="#34A853"></path><path d="M4.357 11.856a5.938 5.938 0 010-3.812V5.488H1.063a9.884 9.884 0 00.005 8.923l3.289-2.555z" fill="#FBBC05"></path><path d="M9.95 3.928c1.471 0 2.786.508 3.823 1.492l2.833-2.828C14.883.985 12.636 0 9.95 0 6.059 0 2.702 2.236 1.068 5.488l3.294 2.556c.786-2.362 2.99-4.116 5.588-4.116z" fill="#EA4335"></path><path d="M27.865 11.945v6.907H25.66V1.571h5.85c1.487 0 2.749.503 3.786 1.508 1.052 1.006 1.581 2.231 1.581 3.676 0 1.477-.529 2.713-1.581 3.703-1.021.99-2.283 1.482-3.786 1.482l-3.645.005zm0-8.232v6.085h3.692c.88 0 1.607-.299 2.183-.9.592-.603.886-1.315.886-2.143 0-.811-.294-1.518-.886-2.12-.576-.618-1.303-.927-2.183-.927l-3.692.005zM42.38 6.509c1.63 0 2.917.44 3.86 1.325.943.885 1.414 2.1 1.414 3.64v7.378h-2.11v-1.681h-.095c-.91 1.362-2.126 2.048-3.644 2.048-1.294 0-2.378-.388-3.247-1.168-.87-.78-1.304-1.754-1.304-2.922 0-1.236.46-2.215 1.377-2.943.917-.728 2.142-1.095 3.676-1.095 1.31 0 2.388.241 3.237.728v-.513c0-.78-.304-1.44-.911-1.985a3.095 3.095 0 00-2.132-.817c-1.23 0-2.204.53-2.922 1.582l-1.943-1.241c1.069-1.556 2.65-2.336 4.745-2.336zm-2.848 8.667c0 .586.246 1.073.733 1.46a2.674 2.674 0 001.712.587c.927 0 1.755-.35 2.483-1.047.728-.696 1.089-1.519 1.089-2.456-.686-.55-1.644-.827-2.875-.827-.895 0-1.644.22-2.241.66-.603.434-.901.973-.901 1.623zm20.167-8.368L52.34 24h-2.278l2.734-6.017-4.839-11.175h2.398l3.499 8.572h.047l3.404-8.572h2.393z"></path></svg>'),Rf=Er('<svg viewBox="0 0 121 55" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M23.1862 10.6405C24.6034 8.8679 25.5652 6.4877 25.3115 4.0555C23.2369 4.1586 20.7052 5.4242 19.2394 7.1982C17.9234 8.7174 16.7585 11.1973 17.0622 13.5275C19.3911 13.7296 21.7178 12.3635 23.1862 10.6405Z"></path><path d="M25.2851 13.9825C21.903 13.7811 19.0273 15.9021 17.4122 15.9021C15.7962 15.9021 13.3229 14.0841 10.6478 14.1331C7.1661 14.1842 3.9354 16.1528 2.1685 19.2839C-1.4656 25.5475 1.2095 34.8386 4.7435 39.9399C6.4596 42.4637 8.5279 45.2426 11.2532 45.1428C13.8282 45.0417 14.8374 43.4755 17.9674 43.4755C21.095 43.4755 22.0042 45.1428 24.7299 45.0923C27.5566 45.0417 29.3237 42.5672 31.0399 40.041C33.0087 37.164 33.8146 34.386 33.8653 34.2335C33.8146 34.183 28.4147 32.1114 28.3646 25.8999C28.3137 20.6989 32.6042 18.225 32.8061 18.0716C30.3832 14.4881 26.5975 14.0841 25.2851 13.9825Z"></path><path d="M54.7339 6.9438C62.0849 6.9438 67.2036 12.0109 67.2036 19.3882C67.2036 26.7918 61.9795 31.8852 54.5496 31.8852H46.4106V44.8284H40.5303V6.9438H54.7339ZM46.4106 26.9493H53.158C58.2777 26.9493 61.1916 24.193 61.1916 19.4145C61.1916 14.6366 58.2777 11.9061 53.1843 11.9061H46.4106V26.9493Z"></path><path d="M68.74 36.9786C68.74 32.1475 72.4418 29.181 79.006 28.8134L86.566 28.3672V26.2409C86.566 23.169 84.492 21.3313 81.027 21.3313C77.7449 21.3313 75.697 22.9062 75.1987 25.3744H69.8429C70.1579 20.3858 74.4107 16.7103 81.237 16.7103C87.932 16.7103 92.211 20.2546 92.211 25.7942V44.8284H86.776V40.2865H86.645C85.044 43.3583 81.552 45.3009 77.9292 45.3009C72.5208 45.3009 68.74 41.9404 68.74 36.9786ZM86.566 34.4846V32.3056L79.766 32.7254C76.3796 32.9619 74.4634 34.4583 74.4634 36.8212C74.4634 39.2362 76.4586 40.8116 79.504 40.8116C83.468 40.8116 86.566 38.0811 86.566 34.4846Z"></path><path d="M97.342 54.9889V50.3943C97.761 50.4991 98.706 50.4991 99.179 50.4991C101.804 50.4991 103.222 49.3967 104.088 46.5613C104.088 46.5087 104.587 44.8811 104.587 44.8548L94.611 17.2091H100.754L107.738 39.6828H107.843L114.827 17.2091H120.813L110.468 46.2722C108.106 52.9673 105.375 55.1201 99.652 55.1201C99.179 55.1201 97.761 55.0674 97.342 54.9889Z"></path></svg>'),Nf=Er('<svg viewBox="0 0 120 38" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M6.5 8L11.6 22.9L16.6 8H22.5L13.7 30.1H9.3L0.5 8H6.5Z" fill="#FF5B24"></path><path d="M35.8 26.6C39.5 26.6 41.6 24.8 43.6 22.2C44.7 20.8 46.1 20.5 47.1 21.3C48.1 22.1 48.2 23.6 47.1 25C44.2 28.8 40.5 31.1 35.8 31.1C30.7 31.1 26.2 28.3 23.1 23.4C22.2 22.1 22.4 20.7 23.4 20C24.4 19.3 25.9 19.6 26.8 21C29 24.3 32 26.6 35.8 26.6ZM42.7 14.3C42.7 16.1 41.3 17.3 39.7 17.3C38.1 17.3 36.7 16.1 36.7 14.3C36.7 12.5 38.1 11.3 39.7 11.3C41.3 11.3 42.7 12.6 42.7 14.3Z" fill="#FF5B24"></path><path d="M56.8 8V11C58.3 8.9 60.6 7.4 64 7.4C68.3 7.4 73.3 11 73.3 18.7C73.3 26.8 68.5 30.7 63.5 30.7C60.9 30.7 58.5 29.7 56.7 27.2V37.8H51.3V8H56.8ZM56.8 19C56.8 23.5 59.4 25.9 62.3 25.9C65.1 25.9 67.9 23.7 67.9 19C67.9 14.4 65.1 12.2 62.3 12.2C59.5 12.2 56.8 14.3 56.8 19Z" fill="#FF5B24"></path><path d="M82.8 8V11C84.3 8.9 86.6 7.4 90 7.4C94.3 7.4 99.3 11 99.3 18.7C99.3 26.8 94.5 30.7 89.5 30.7C86.9 30.7 84.5 29.7 82.7 27.2V37.8H77.3V8H82.8ZM82.8 19C82.8 23.5 85.4 25.9 88.3 25.9C91.1 25.9 93.9 23.7 93.9 19C93.9 14.4 91.1 12.2 88.3 12.2C85.4 12.2 82.8 14.3 82.8 19Z" fill="#FF5B24"></path><path d="M110.8 7.4C115.3 7.4 118.5 9.5 119.9 14.7L115 15.5C114.9 12.9 113.3 12 110.9 12C109.1 12 107.7 12.8 107.7 14.1C107.7 15.1 108.4 16.1 110.5 16.5L114.2 17.2C117.8 17.9 119.8 20.3 119.8 23.5C119.8 28.3 115.5 30.7 111.4 30.7C107.1 30.7 102.3 28.5 101.6 23.1L106.5 22.3C106.8 25.1 108.5 26.1 111.3 26.1C113.4 26.1 114.8 25.3 114.8 24C114.8 22.8 114.1 21.9 111.8 21.5L108.4 20.9C104.8 20.2 102.6 17.7 102.6 14.5C102.7 9.5 107.2 7.4 110.8 7.4Z" fill="#FF5B24"></path></svg>'),Df=Er('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 175.1"><path d="M79 0L0 174.8H94.6L106.3 146.9H133.1L144.8 174.8H248.9V153.5L258.2 174.8H312L321.3 153.1V174.8H537.8L564.1 147.6L588.8 174.8L700 175L620.7 87.9L700 0H590.5L564.9 26.6L541 0H305.5L285.3 45.1L264.6 0H170.2V20.6L159.7 0H79ZM97.3 24.8H143.4L195.8 143.4V24.8H246.3L286.8 109.8L324.1 24.8H374.3V150.2H343.7L343.5 51.9L298.9 150.2H271.5L226.7 51.9V150.2H163.8L151.9 122.1H87.5L75.6 150.2H41.9L97.3 24.8ZM402.3 24.8H526.6L564.6 65.9L603.9 24.8H641.9L584.1 87.9L641.9 150.2H602.2L564.2 108.6L524.7 150.2H402.3V24.8ZM119.7 46.1L98.5 96.2H140.9L119.7 46.1ZM433 50.8V73.7H500.8V99.2H433V124.2H509.1L544.4 87.4L510.6 50.8H433Z" fill="white"></path></svg>'),Of=Er('<svg viewBox="0 0 667 205" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M484.7 8.4C469.2 2.7 452.8 -0.1 436.3 0C383 0 345.3 26.9 345.1 65.4C344.8 93.7 371.9 109.7 392.4 119.2C413.4 128.9 420.5 135.1 420.4 143.8C420.3 157 403.6 163 388.1 163C372.6 163 355.2 160 337.3 152.6L330.7 149.5L323.1 193.9C336.1 199.3 359.4 203.9 383.6 204.3C440.3 204.3 477.4 177.6 477.8 136.6C478.3 114 463.6 96.9 432.7 82.7C413.9 73.5 402.3 67.4 402.3 58.1C402.3 48.8 412.3 41.1 433.1 41.1C447 40.8 460.7 43.4 473.5 48.7L478.5 50.9L486.1 8L484.8 8.3L484.7 8.4ZM623.1 3.6H581.4C568.4 3.6 558.7 7.2 553 20L472.9 201.5H529.6L540.9 171.7H610.1C611.7 178.7 616.7 201.5 616.7 201.5H666.7L623.1 3.6ZM268.4 1.9H322.4L288.6 200H234.6L268.4 1.9ZM131.2 111.1L136.8 138.6L189.6 3.6H246.8L161.8 201.3H104.7L58 33.9C57.2 31.1 55.5 28.8 53 27.3C36.2 18.6 18.4 12 0 7.6L0.7 3.5H87.7C99.5 4 109 7.7 112.2 20.3L131.2 111.3V111.2V111.1ZM556.4 131.3L577.9 75.9C577.6 76.5 582.3 64.5 585.1 57L588.8 74.1L601.3 131.2H556.4V131.3Z" fill="#182A85"></path></svg>'),Ff=Er('<svg viewBox="0 0 863 534" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M303.1 57H559.8V476.3H303.1V57Z" fill="#FF5F00"></path><path d="M329.5 266.7C329.5 184.9 367 107.6 431.3 57.1C315.6 -33.9 148 -13.8 57 102C-34 217.8 -13.9 385.4 101.9 476.4C198.6 552.4 334.7 552.4 431.4 476.4C367 425.9 329.5 348.6 329.6 266.7H329.5Z" fill="#EB001B"></path><path d="M862.8 266.7C862.8 413.9 743.4 533.3 596.2 533.3C536.4 533.3 478.4 513.2 431.4 476.3C547.2 385.3 567.3 217.7 476.3 101.9C463.2 85.2 448.1 70.1 431.4 57C547.2 -34 714.8 -13.9 805.8 101.8C842.7 148.8 862.8 206.8 862.8 266.6V266.7Z" fill="#F79E1B"></path></svg>'),qf=Er("<!><!><!><!><!><!><!><!>",1);function vc(t,e){He(e,!1);const r=Ea();let n=ee(e,"method",8),a=ee(e,"width",8,"578"),o=ee(e,"height",8,"176"),i=ee(e,"darkModeSupport",8,!1);du(()=>ft(n()),()=>{P(r,(n()??"").toLowerCase())}),uu(),Di();var s=qf(),l=U(s);{var d=p=>{var L=Mf(),V=E(Y(L)),D=Y(V);$t(),H(V),H(L),G(se=>{Ee(L,"width",a()),Ee(L,"height",o()),je(D,0,se)},[()=>Ve((ft(ie),ft(i()),st(()=>ie("fill-[#4A4A49]",i()&&"dark:fill-white"))))]),x(p,L)};B(l,p=>{(c(r)==="swish"||c(r)==="swish_direct")&&p(d)})}var u=E(l);{var h=p=>{var L=Pf(),V=Ie(L);G(D=>{Ee(L,"width",a()),Ee(L,"height",o()),je(V,0,D)},[()=>Ve((ft(ie),ft(i()),st(()=>ie("fill-black",i()&&"dark:fill-white"))))]),x(p,L)},f=Z(()=>(c(r),st(()=>c(r).includes("klarna"))));B(u,p=>{c(f)&&p(h)})}var v=E(u);{var m=p=>{var L=If(),V=E(Y(L),4);H(L),G(D=>{Ee(L,"width",a()),Ee(L,"height",o()),je(V,0,D)},[()=>Ve((ft(ie),ft(i()),st(()=>ie("fill-[#3C4043]",i()&&"dark:fill-white"))))]),x(p,L)};B(v,p=>{c(r)==="google-pay"&&p(m)})}var g=E(v);{var y=p=>{var L=Rf(),V=Y(L),D=E(V),se=E(D),Ne=E(se),Ce=E(Ne);H(L),G((me,_e,ue,ne,O)=>{Ee(L,"width",a()),Ee(L,"height",o()),je(V,0,me),je(D,0,_e),je(se,0,ue),je(Ne,0,ne),je(Ce,0,O)},[()=>Ve((ft(ie),ft(i()),st(()=>ie("fill-black",i()&&"dark:fill-white")))),()=>Ve((ft(ie),ft(i()),st(()=>ie("fill-black",i()&&"dark:fill-white")))),()=>Ve((ft(ie),ft(i()),st(()=>ie("fill-black",i()&&"dark:fill-white")))),()=>Ve((ft(ie),ft(i()),st(()=>ie("fill-black",i()&&"dark:fill-white")))),()=>Ve((ft(ie),ft(i()),st(()=>ie("fill-black",i()&&"dark:fill-white"))))]),x(p,L)};B(g,p=>{c(r)==="apple-pay"&&p(y)})}var C=E(g);{var z=p=>{var L=Nf();G(()=>{Ee(L,"width",a()),Ee(L,"height",o())}),x(p,L)};B(C,p=>{c(r)==="vipps"&&p(z)})}var F=E(C);{var I=p=>{var L=Df();G(()=>{Ee(L,"width",a()),Ee(L,"height",o())}),x(p,L)};B(F,p=>{c(r)==="amex"&&p(I)})}var T=E(F);{var w=p=>{var L=Of();G(()=>{Ee(L,"width",a()),Ee(L,"height",o())}),x(p,L)};B(T,p=>{c(r)==="visa"&&p(w)})}var k=E(T);{var _=p=>{var L=Ff();G(()=>{Ee(L,"width",a()),Ee(L,"height",o())}),x(p,L)};B(k,p=>{c(r)==="mastercard"&&p(_)})}x(t,s),Ue()}function Ga(t,e){He(e,!0);let r=ee(e,"size",3,"md");{let n=Z(()=>ie("aspect-[4/3] px-1 rounded bg-white border border-transparent",e.name==="klarna"&&"bg-[#FEB4C7]",e.name==="amex"&&"bg-[#1F72CD]",r()==="sm"&&"w-8 border-gray-300",r()==="md"&&"w-10 shadow-sm",r()==="lg"&&"w-12 shadow"));Tr(t,{get class(){return c(n)},children:(a,o)=>{{let i=Z(()=>e.name.toUpperCase());vc(a,{get method(){return c(i)},width:"38",height:"auto"})}},$$slots:{default:!0}})}Ue()}var jf=R('<span class="inline-block w-4 h-4 mr-2 border-2 border-current border-r-transparent rounded-full animate-spin" aria-hidden="true"></span>'),Gf=R("<!> <!>",1);function Ha(t,e){He(e,!0);let r=ee(e,"loading",7,!1),n=ee(e,"variant",7,"primary"),a=ee(e,"disabled",7,!1),o=ee(e,"size",7,"md"),i=ee(e,"part",7),s=ee(e,"onclick",7),l=ee(e,"href",7),d=ee(e,"type",7,"button"),u=ee(e,"class",7);var h={get loading(){return r()},set loading(f=!1){r(f),_t()},get variant(){return n()},set variant(f="primary"){n(f),_t()},get disabled(){return a()},set disabled(f=!1){a(f),_t()},get size(){return o()},set size(f="md"){o(f),_t()},get part(){return i()},set part(f){i(f),_t()},get onclick(){return s()},set onclick(f){s(f),_t()},get href(){return l()},set href(f){l(f),_t()},get type(){return d()},set type(f="button"){d(f),_t()},get class(){return u()},set class(f){u(f),_t()}};return Kn(t,{children:(f,v)=>{{let m=Z(()=>ie("inline-flex font-bold ring-2 ring-transparent focus:ring-primary/25 active:enabled:translate-y-px border border-transparent items-center justify-center outline-none rounded-md transition-colors duration-200 ease-in-out",o()=="sm"&&"px-3 py-1.5 text-sm",o()=="md"&&"px-4 py-2 text-base",o()=="lg"&&"px-6 py-3 text-lg",n()==="primary"&&"bg-primary text-white enabled:hover:bg-primary/90",n()==="secondary"&&"bg-transparent border-primary text-primary enabled:hover:bg-primary/10",n()==="tertiary"&&"text-primary enabled:hover:bg-primary/10",a()&&"opacity-50 cursor-not-allowed",u()));fc(f,{get class(){return c(m)},get href(){return l()},get onclick(){return s()},get part(){return i()},get disabled(){return a()},get type(){return d()},children:(g,y)=>{var C=Gf(),z=U(C);{var F=T=>{var w=jf();x(T,w)};B(z,T=>{r()&&T(F)})}var I=E(z,2);At(I,e,"default",{},null),x(g,C)},$$slots:{default:!0}})}},$$slots:{default:!0}}),Ue(h)}customElements.define("sesamy-button",xn(Ha,{loading:{},variant:{},disabled:{},size:{},part:{},onclick:{},href:{},type:{},class:{}},["default"],[],{mode:"open"},qa));function Hf(t){const e=t-1;return e*e*e+1}function $n(t,e,r){return Number.isNaN(e)?"":`${t}: ${r*e}px;`}function Uf(t,{delay:e=0,duration:r=400,easing:n=Hf,axis:a="y"}={}){const o=getComputedStyle(t),i=+o.opacity,s=a==="y"?"height":"width",l=parseFloat(o[s]),d=a==="y"?["top","bottom"]:["left","right"],u=d.map(C=>`${C[0].toUpperCase()}${C.slice(1)}`),h=parseFloat(o[`padding${u[0]}`]),f=parseFloat(o[`padding${u[1]}`]),v=parseFloat(o[`margin${u[0]}`]),m=parseFloat(o[`margin${u[1]}`]),g=parseFloat(o[`border${u[0]}Width`]),y=parseFloat(o[`border${u[1]}Width`]);return{delay:e,duration:r,easing:n,css:C=>`overflow: hidden;opacity: ${Math.min(C*20,1)*i};`+$n(s,l,C)+$n(`padding-${d[0]}`,h,C)+$n(`padding-${d[1]}`,f,C)+$n(`margin-${d[0]}`,v,C)+$n(`margin-${d[1]}`,m,C)+$n(`border-${d[0]}-width`,g,C)+$n(`border-${d[1]}-width`,y,C)+`min-${s}: 0`}}var Vf=R('<li class="row-up-left gap-2"><!> <div> </div></li>'),Bf=R("<ul></ul>");function Zi(t,e){He(e,!0);var r=Bf();an(r,21,()=>e.features,Ia,(n,a)=>{var o=Vf(),i=Y(o);ir(i,{class:"text-primary text-[0.9em] mt-0.5",name:"checkmark"});var s=E(i,2),l=Ie(s,!0);H(o),G(d=>{je(s,1,d),Q(l,c(a))},[()=>Ve(ie("flex-1 leading-snug"))]),Hu(3,o,()=>Uf),x(n,o)}),H(r),G(n=>je(r,1,n),[()=>Ve(ie("space-y-0.5 @md:space-y-1.5",e.class))]),x(t,r),Ue()}const Wf=/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$/,Ua=t=>{if(!Wf.test(t))return!0;let e=0,r=0,n=0;return t.length===4?(e=parseInt(`${t[1]}${t[1]}`,16),r=parseInt(`${t[2]}${t[2]}`,16),n=parseInt(`${t[3]}${t[3]}`,16)):(e=parseInt(`${t[1]}${t[2]}`,16),r=parseInt(`${t[3]}${t[4]}`,16),n=parseInt(`${t[5]}${t[6]}`,16)),(e*2126+r*7152+n*722)/1e4>=128};var Zf=R("<div><!></div>");function Yi(t,e){He(e,!0);let r=ee(e,"horizontal",3,!1);var n=Zf(),a=Y(n);Zn(a,()=>e.children),H(n),G(o=>je(n,1,o),[()=>Ve(ie("transition-colors grid rounded-md w-full",r()&&"gap-2 @xl:gap-4 @xl:auto-rows-fr",!r()&&"bg-white border-gray-200 border has-[input:checked]:border-primary dark:bg-black/25 dark:border-gray-800",e.class))]),x(t,n),Ue()}var Yf=R('<div><div><div class="absolute top-full left-1/2 -translate-x-1/2 w-4 h-4 bg-[var(--s-paywall-tag-bg-color)] rotate-45 -translate-y-3.5 rounded-sm"></div> <div class="relative"> </div></div></div>');function pc(t,e){He(e,!0);var r=Yf(),n=Y(r),a=E(Y(n),2),o=Ie(a,!0);H(n),H(r),G((i,s)=>{je(r,1,i),je(n,1,s),Q(o,e.text)},[()=>Ve(ie("absolute top-2 -right-1.5 rotate-3",e.chunky&&"top-5")),()=>Ve(ie("absolute bg-[var(--s-paywall-tag-bg-color)] bottom-0 rounded right-0 px-2 text-[var(--s-paywall-tag-text-color)] text-xs py-1 font-bold whitespace-nowrap",e.chunky&&"px-3 text-sm @xl:text-base bottom-1"))]),x(t,r),Ue()}var Kf=new Set(["$$slots","$$events","$$legacy","id","name","type","checked","children","onchange","class"]),Jf=R('<div class="w-4 h-4 rounded transition-all bg-white dark:bg-black border border-gray-300 dark:border-gray-500 relative ring ring-transparent peer-focus:ring-primary peer-checked:border-primary peer-checked:bg-primary"><div class="absolute top-1/2 left-1/2 -translate-y-1/2 -translate-x-1/2 text-[8px] text-white dark:text-black"><!></div></div>'),Xf=R(`<div class="w-4 h-4 rounded-full transition-all bg-white dark:bg-black border border-gray-300 dark:border-gray-500 relative ring ring-transparent peer-focus:ring-primary peer-checked:border-primary peer-checked:bg-primary"><div class="content-[''] absolute top-1/2 left-1/2 -translate-y-1/2 -translate-x-1/2 w-1.5 h-1.5 bg-white dark:bg-black rounded-full"></div></div>`),Qf=R('<label><input class="peer sr-only"/> <!> <!> <div><!></div></label>');function Ro(t,e){He(e,!0);let r=ee(e,"type",3,"radio"),n=Vt(e,Kf);var a=Qf();yt(a,()=>({class:"p-3 @3xl:p-4 row-left gap-4 w-full relative cursor-pointer",for:e.id,...n}));var o=Y(a);Pi(o);var i=E(o,2);{var s=f=>{var v=Jf(),m=Y(v),g=Y(m);ir(g,{name:"checkmark"}),H(m),H(v),x(f,v)};B(i,f=>{r()==="checkbox"&&f(s)})}var l=E(i,2);{var d=f=>{var v=Xf();x(f,v)};B(l,f=>{r()==="radio"&&f(d)})}var u=E(l,2),h=Y(u);Zn(h,()=>e.children),H(u),H(a),G(f=>{Ee(o,"type",r()),t1(o,e.checked),Ee(o,"name",e.name),Ee(o,"id",e.id),je(u,1,f)},[()=>Ve(ie("column-up-left @md:row-left flex-1 !justify-between",e.class))]),or("change",o,function(...f){var v;(v=e.onchange)==null||v.apply(this,f)}),x(t,a),Ue()}Vr(["change"]);var e2=R('<a class="inline-link with-icon"><span> </span> <!></a>'),t2=R("<div><!> <!></div>");function Ki(t,e){He(e,!0);let r=ee(e,"class",3,"");var n=t2(),a=Y(n);sn(a,()=>e.description);var o=E(a,2);{var i=s=>{var l=e2(),d=Y(l),u=Ie(d,!0),h=E(d,2);ir(h,{name:"arrow-up-right-from-square"}),H(l),G(f=>{Ee(l,"href",e.readMoreLink),Q(u,f)},[()=>e.readMoreText||e.t("read_more")]),x(s,l)};B(o,s=>{e.readMoreLink&&s(i)})}H(n),G(()=>je(n,1,`markdown-container ${r()??""}`)),x(t,n),Ue()}const gc=({period:t,time:e},r)=>{const n=t==="quarter"?"month":t,a=t==="quarter"?e*3:e;return n==="month"&&a===3?r("timeperiod_quarter"):n==="month"&&a===6?r("timeperiod_half_year"):a>1?`${a} ${r2(n,a,r)}`:r(`timeperiod_${n}`)},r2=(t,e,r)=>{const n=new Intl.PluralRules(r.lang).select(e),a=`timeperiod_${t}s_many`,o=n==="many"||n==="other"?r(a):a;return o!==a?o:r(`timeperiod_${t}s`)},n2=(t,e)=>{const{priceMode:r,pricePeriod:n,discountPeriod:a,discountMonths:o,discountPrice:i}=t,{periodText:s,comparePeriodText:l}=t,d=typeof i=="number",u=r==="AUTOMATIC",h=u?d&&a||n:void 0;let f=h?gc(h,e):s;h&&d&&(o??0)>1&&(f=`${f}, ${e("timeperiod_first_months").replace("{{count}}",String(o))}`);const v=u&&n?gc(n,e):d&&l||s;return{headline:f,regular:v}};var a2=R('<div class="text-gray-500 line-through @xs/box:text-lg"> <!></div>'),o2=R('<div class="h-6 @xs/box:h-7"><!></div>'),i2=R('<div class="mb-3"><div><span class="font-bold text-2xl @xs/box:text-3xl whitespace-nowrap"> </span> <span class="font-bold whitespace-nowrap @xs/box:text-lg"> </span></div> <!></div>'),No=R("<!> <!>",1),s2=R('<div class="text-base @xl:text-lg font-bold leading-tight"> </div> <!> <!>',1),l2=R('<div class="@container/box w-full"><!></div>'),c2=R("<hr/>"),d2=R('<div class="text-base font-bold leading-tight"> </div> <!>',1),u2=R('<div class="text-base font-bold leading-none"> <!></div>'),f2=R("<div> <!></div>"),h2=R('<!> <div class="column-left @md:column-right"><!> <!></div> <!>',1);function m2(t,e){He(e,!0);let r=ee(e,"horizontal",3,!1),n=ee(e,"loading",3,!1),a=ce(void 0);const o=()=>e.subscriptions.some(i=>typeof i.discountPrice=="number"&&i.discountPrice<(i.price||1/0));{let i=Z(()=>ie(r()&&"@xl:grid-cols-3",r()&&e.subscriptions.length===4&&"@xl:grid-cols-2",r()&&e.subscriptions.length===2&&"@xl:grid-cols-2",r()&&e.subscriptions.length===1&&"flex"));Yi(t,{get class(){return c(i)},get horizontal(){return r()},children:(s,l)=>{var d=Ke(),u=U(d);an(u,17,()=>e.subscriptions,Ia,(h,f,v)=>{const m=Z(()=>c(f)),g=Z(()=>typeof c(m).price=="number"),y=Z(()=>typeof c(m).discountPrice=="number"),C=Z(()=>{const{headline:w,regular:k}=n2(c(f),e.t);return{periodText:w,regularPeriodText:k}});var z=Ke(),F=U(z);{var I=w=>{var k=l2(),_=Y(k);{let p=Z(()=>ie("border bg-white dark:bg-black/25 border-gray-300 rounded-lg relative h-full",c(m).tag&&"border-primary mt-0 border-2"));It(_,{get class(){return c(p)},children:(L,V)=>{var D=No(),se=U(D);{var Ne=me=>{pc(me,{get text(){return c(m).tag},get t(){return e.t},chunky:!0})};B(se,me=>{c(m).tag&&me(Ne)})}var Ce=E(se,2);It(Ce,{class:"p-4 flex-1 gap-2 w-full !justify-between shadow-md",left:!0,up:!0,children:(me,_e)=>{var ue=No(),ne=U(ue);It(ne,{class:"@xl:p-1",left:!0,children:(pe,de)=>{var S=s2(),q=U(S),K=Ie(q,!0),re=E(q,2);{var te=Le=>{var j=i2(),be=Y(j),Oe=Y(be),et=Ie(Oe),We=E(Oe,2),A=Ie(We,!0);H(be);var $=E(be,2);{var M=W=>{var ae=o2(),fe=Y(ae);{var he=ze=>{var $e=a2(),Ge=Y($e),Ze=E(Ge);{var Fe=Te=>{var ht=Pt();G(()=>Q(ht,` / ${c(C).regularPeriodText??""}`)),x(Te,ht)};B(Ze,Te=>{c(C).regularPeriodText&&Te(Fe)})}H($e),G(()=>Q(Ge,`${c(m).price??""}
|
|
35
35
|
${e.currency??""} `)),x(ze,$e)};B(fe,ze=>{c(y)&&ze(he)})}H(ae),x(W,ae)},N=Z(()=>o());B($,W=>{c(N)&&W(M)})}H(j),G(()=>{Q(et,`${(c(y)?c(m).discountPrice:c(m).price)??""}
|
|
36
|
-
${e.currency??""}`),Q(A,c(C).periodText&&` / ${c(C).periodText}`)}),x(Le,j)};B(re,Le=>{c(g)&&Le(te)})}var we=E(re,2);It(we,{class:"w-full gap-2",left:!0,children:(Le,j)=>{var be=No(),Oe=U(be);{var et=$=>{Ki($,{get description(){return c(m).description},get readMoreLink(){return c(m).readMoreLink},get readMoreText(){return c(m).readMoreText},get t(){return e.t},class:"text-gray-700 dark:text-gray-300 text-sm"})};B(Oe,$=>{c(m).description&&$(et)})}var We=E(Oe,2);{var A=$=>{Zi($,{get features(){return c(m).features},class:"text-gray-700 dark:text-gray-300 text-sm"})};B(We,$=>{c(m).features&&c(m).features.length>0&&$(A)})}x(Le,be)},$$slots:{default:!0}}),G(()=>Q(K,c(m).title)),x(pe,S)},$$slots:{default:!0}});var O=E(ne,2);{var Be=pe=>{Ha(pe,{get href(){return c(m).url},class:"w-full mt-4 bg-[var(--s-paywall-btn-bg-color)] text-[var(--s-paywall-btn-text-color)]",variant:"primary",children:(de,S)=>{$t();var q=Pt();G(K=>Q(q,K),[()=>c(m).buttonText||e.t("continue")]),x(de,q)},$$slots:{default:!0}})},Se=pe=>{{let de=Z(()=>c(a)===c(m).id);Ha(pe,{get loading(){return c(de)},get disabled(){return n()},onclick:()=>{var S;P(a,c(m).id,!0),(S=e.onCheckout)==null||S.call(e,c(f))},class:"w-full mt-4 bg-[var(--s-paywall-btn-bg-color)] text-[var(--s-paywall-btn-text-color)]",variant:"primary",children:(S,q)=>{$t();var K=Pt();G(re=>Q(K,re),[()=>c(m).buttonText||e.t("continue")]),x(S,K)},$$slots:{default:!0}})}};B(O,pe=>{c(m).url?pe(Be):pe(Se,-1)})}x(me,ue)},$$slots:{default:!0}}),x(L,D)},$$slots:{default:!0}})}H(k),x(w,k)},T=w=>{var k=No(),
|
|
36
|
+
${e.currency??""}`),Q(A,c(C).periodText&&` / ${c(C).periodText}`)}),x(Le,j)};B(re,Le=>{c(g)&&Le(te)})}var we=E(re,2);It(we,{class:"w-full gap-2",left:!0,children:(Le,j)=>{var be=No(),Oe=U(be);{var et=$=>{Ki($,{get description(){return c(m).description},get readMoreLink(){return c(m).readMoreLink},get readMoreText(){return c(m).readMoreText},get t(){return e.t},class:"text-gray-700 dark:text-gray-300 text-sm"})};B(Oe,$=>{c(m).description&&$(et)})}var We=E(Oe,2);{var A=$=>{Zi($,{get features(){return c(m).features},class:"text-gray-700 dark:text-gray-300 text-sm"})};B(We,$=>{c(m).features&&c(m).features.length>0&&$(A)})}x(Le,be)},$$slots:{default:!0}}),G(()=>Q(K,c(m).title)),x(pe,S)},$$slots:{default:!0}});var O=E(ne,2);{var Be=pe=>{Ha(pe,{get href(){return c(m).url},class:"w-full mt-4 bg-[var(--s-paywall-btn-bg-color)] text-[var(--s-paywall-btn-text-color)]",variant:"primary",children:(de,S)=>{$t();var q=Pt();G(K=>Q(q,K),[()=>c(m).buttonText||e.t("continue")]),x(de,q)},$$slots:{default:!0}})},Se=pe=>{{let de=Z(()=>c(a)===c(m).id);Ha(pe,{get loading(){return c(de)},get disabled(){return n()},onclick:()=>{var S;P(a,c(m).id,!0),(S=e.onCheckout)==null||S.call(e,c(f))},class:"w-full mt-4 bg-[var(--s-paywall-btn-bg-color)] text-[var(--s-paywall-btn-text-color)]",variant:"primary",children:(S,q)=>{$t();var K=Pt();G(re=>Q(K,re),[()=>c(m).buttonText||e.t("continue")]),x(S,K)},$$slots:{default:!0}})}};B(O,pe=>{c(m).url?pe(Be):pe(Se,-1)})}x(me,ue)},$$slots:{default:!0}}),x(L,D)},$$slots:{default:!0}})}H(k),x(w,k)},T=w=>{var k=No(),_=U(k);{var p=V=>{var D=c2();G(se=>je(D,1,se),[()=>Ve(ie("w-full border-primary opacity-25"))]),x(V,D)};B(_,V=>{v&&V(p)})}var L=E(_,2);Ro(L,{get id(){return c(m).id},class:"gap-2 @md:gap-4",name:"purchase-option",get checked(){return c(m).selected},onchange:()=>e.selectProduct(c(f)),children:(V,D)=>{var se=h2(),Ne=U(se);It(Ne,{class:"flex-1",left:!0,children:(Se,pe)=>{var de=d2(),S=U(de),q=Ie(S,!0),K=E(S,2);{var re=te=>{Ki(te,{get description(){return c(m).description},get readMoreLink(){return c(m).readMoreLink},get readMoreText(){return c(m).readMoreText},get t(){return e.t}})};B(K,te=>{c(m).description&&te(re)})}G(()=>Q(q,c(m).title)),x(Se,de)},$$slots:{default:!0}});var Ce=E(Ne,2),me=Y(Ce);{var _e=Se=>{var pe=u2(),de=Y(pe),S=E(de);{var q=K=>{var re=Pt();G(()=>Q(re,` / ${c(C).periodText??""}`)),x(K,re)};B(S,K=>{c(C).periodText&&K(q)})}H(pe),G(()=>Q(de,`${c(m).discountPrice??""}
|
|
37
37
|
${e.currency??""} `)),x(Se,pe)};B(me,Se=>{c(y)&&Se(_e)})}var ue=E(me,2);{var ne=Se=>{var pe=f2(),de=Y(pe),S=E(de);{var q=K=>{var re=Pt();G(()=>Q(re,` / ${c(C).regularPeriodText??""}`)),x(K,re)};B(S,K=>{c(C).regularPeriodText&&K(q)})}H(pe),G(K=>{je(pe,1,K),Q(de,`${c(m).price??""}
|
|
38
|
-
${e.currency??""} `)},[()=>Ve(ie("text-base font-bold leading-none",c(y)&&"line-through text-gray-400 text-sm"))]),x(Se,pe)};B(ue,Se=>{c(g)&&Se(ne)})}H(Ce);var O=E(Ce,2);{var Be=Se=>{pc(Se,{get text(){return c(m).tag},get t(){return e.t}})};B(O,Se=>{c(m).tag&&Se(Be)})}x(V,se)},$$slots:{default:!0}}),x(w,k)};B(F,w=>{r()?w(I):w(T,-1)})}x(h,z)}),x(s,d)},$$slots:{default:!0}})}Ue()}var v2=R('<div class="text-base font-bold leading-tight"> </div> <div class="text-sm"></div>',1),p2=R('<!> <div class="text-base font-bold"> </div>',1);function g2(t,e){He(e,!0);let{title:r,description:n}=e.singlePurchase;const a=()=>{e.selectProduct({...e.singlePurchase,price:e.singlePurchasePrice,url:e.articleUrl})};e.articleUrl&&!e.hasSubscriptions&&a();var o=Ke(),i=U(o);{var s=l=>{Yi(l,{children:(d,u)=>{{let h=Z(()=>!e.hasSubscriptions);Ro(d,{id:"single-purchase",name:"purchase-option",class:"gap-2 @md:gap-4",get checked(){return c(h)},onchange:a,children:(f,v)=>{var m=p2(),g=U(m);It(g,{left:!0,children:(z,F)=>{var I=v2(),T=U(I),w=Ie(T,!0),k=E(T,2);sn(k,()=>n,!0),H(k),G(()=>Q(w,r)),x(z,I)},$$slots:{default:!0}});var y=E(g,2),C=Ie(y);G(()=>Q(C,`${e.singlePurchasePrice??""} ${e.currency??""}`)),x(f,m)},$$slots:{default:!0}})}},$$slots:{default:!0}})};B(i,l=>{e.articleUrl&&l(s)})}x(t,o),Ue()}var _2=R("<!> <span> </span>",1);function _c(t,e){Tr(t,{role:"alert",left:!0,class:"w-full gap-2 rounded-md border border-red-500 bg-red-500/10 p-3 text-sm leading-tight font-bold text-red-500 !flex-nowrap",children:(r,n)=>{var a=_2(),o=U(a);ir(o,{name:"info",class:"shrink-0 text-2xl -translate-y-px"});var i=E(o,2),s=Ie(i,!0);G(()=>Q(s,e.text)),x(r,a)},$$slots:{default:!0}})}const b2=["AF","AL","DZ","AS","AD","AO","AI","AQ","AG","AR","AM","AW","AU","AT","AZ","BS","BH","BD","BB","BY","BE","BZ","BJ","BM","BT","BO","BA","BW","BV","BR","IO","BN","BG","BF","BI","CV","KH","CM","CA","KY","CF","TD","CL","CN","CX","CC","CO","KM","CG","CD","CK","CR","HR","CU","CY","CZ","DK","DJ","DM","DO","EC","EG","SV","GQ","ER","EE","SZ","ET","FK","FO","FJ","FI","FR","GF","PF","TF","GA","GM","GE","DE","GH","GI","GR","GL","GD","GP","GU","GT","GG","GN","GW","GY","HT","HM","VA","HN","HK","HU","IS","IN","ID","IR","IQ","IE","IM","IL","IT","JM","JP","JE","JO","KZ","KE","KI","KR","KW","KG","LV","LB","LS","LR","LY","LI","LT","LU","MO","MG","MW","MY","MV","ML","MT","MH","MQ","MR","MU","YT","MX","FM","MD","MC","MN","MS","MA","MZ","MM","NA","NR","NP","NL","AN","NC","NZ","NI","NE","NG","MK","NU","NF","MP","NO","OM","PK","PW","PS","PA","PG","PY","PE","PH","PN","PL","PT","PR","QA","RO","RU","RW","RE","SH","KN","LC","PM","VC","WS","SM","ST","SA","SN","CS","SC","SL","SG","SK","SI","SB","SO","ZA","GS","ES","LK","SD","SR","SJ","SE","CH","SY","TW","TJ","TZ","TH","TL","TG","TK","TO","TT","TN","TR","TM","TC","TV","UG","UA","AE","GB","UM","US","UY","UZ","VU","VE","VN","VG","VI","WF","EH","YE","ZM","ZN","AX"],bc=new Map;function yc(t,e="en"){let r=bc.get(e);return r||(r=new Intl.DisplayNames(e,{type:"region"}),bc.set(e,r)),r.of(t.toUpperCase())}function y2(){return b2}function w2(t="en"){return y2().map(e=>({value:e,label:yc(e,t)||""})).sort((e,r)=>e.label<r.label?-1:e.label>r.label?1:0)}var x2=new Set(["$$slots","$$events","$$legacy","value","error","hasError","placeholder","compact","class"]),k2=R("<div> </div>"),C2=R("<label><input/> <!></label>");function sr(t,e){He(e,!0);let r=ee(e,"value",15),n=ee(e,"hasError",3,!1),a=ee(e,"placeholder",3,""),o=ee(e,"compact",3,!1),i=ee(e,"class",3,""),s=Vt(e,x2),l;function d(){l==null||l.focus()}var u={focus:d},h=C2(),f=Y(h);yt(f,g=>({...s,class:g,placeholder:a()}),[()=>ie("relative peer w-full rounded-md border border-gray-200 p-4 text-base leading-snug text-gray-800 outline-0 transition-colors duration-150 placeholder:text-gray-400 focus:border-gray-300 focus:z-10 disabled:opacity-[20%] dark:border-gray-700 dark:focus:border-gray-600 dark:bg-black/25 dark:text-gray-100",(n()||!!e.error)&&"!border-red-500",o()&&"pb-2 pt-6 placeholder:text-transparent",String(i()))],void 0,void 0,void 0,!0),Ao(f,g=>l=g,()=>l);var v=E(f,2);{var m=g=>{var y=k2(),C=Ie(y,!0);G(z=>{je(y,1,z),Q(C,a())},[()=>Ve(ie("pointer-events-none absolute z-20 left-4 right-4 top-1/2 line-clamp-1 -translate-y-1/2 text-base font-medium text-gray-400 transition-[transform,font-size] peer-focus:-translate-y-[calc(50%+theme(space.3))] peer-focus:text-xs",!!r()&&"-translate-y-[calc(50%+theme(space.3))] text-xs sm:text-xs"))]),x(g,y)};B(v,g=>{o()&&g(m)})}return H(h),G(g=>je(h,1,g),[()=>Ve(ie("relative w-full column-left",(n()||!!e.error)&&"z-20"))]),n1(f,r),x(t,h),Ue(u)}var $2=R("<div><!></div>");function Do(t,e){He(e,!0);var r=$2(),n=Y(r);Zn(n,()=>e.children),H(r),G(a=>je(r,1,a),[()=>Ve(ie("w-full [&>label:first-child>:where(select,input)]:rounded-t-md [&>label:last-child>:where(select,input)]:rounded-b-md [&>label>:where(select,input)]:rounded-none [&_label>:where(select,input)]:-mt-px [&_label>select]:-mt-px","max-sm:gap-0 max-sm:[&>*:first-child>*:first-child>label:first-of-type>:where(select,input)]:rounded-t-md max-sm:[&>*:last-child>*:last-child>label:last-of-type>:where(select,input)]:rounded-b-md max-sm:[&>*]:gap-0 max-sm:[&_label>:where(select,input)]:rounded-none",e.class))]),x(t,r),Ue()}var L2=new Set(["$$slots","$$events","$$legacy","value","class","hasError","options","placeholder","compact"]),S2=R("<option> </option>"),E2=R("<div> </div>"),A2=R('<label class="relative w-full gap-2 column-left focus-within:z-10"><select></select> <!> <!></label>');function z2(t,e){He(e,!0);let r=ee(e,"value",15),n=ee(e,"class",3,""),a=ee(e,"hasError",3,!1),o=ee(e,"placeholder",3,""),i=ee(e,"compact",3,!1),s=Vt(e,L2);var l=A2(),d=Y(l);yt(d,v=>({class:v,...s}),[()=>ie("relative peer w-full appearance-none rounded-md border border-gray-200 bg-white p-4 text-base leading-snug text-gray-800 outline-0 transition-colors duration-150 placeholder:text-gray-400 focus:border-gray-300 disabled:opacity-[20%] dark:border-gray-700 dark:bg-black/25 dark:text-gray-100",a()&&"!border-red-500 z-10",i()&&"pb-2 pt-6 placeholder:text-transparent",String(n()))]),an(d,21,()=>e.options,({value:v,label:m})=>v,(v,m,g,y)=>{let C=()=>c(m).value,z=()=>c(m).label;var F=S2(),I=Ie(F,!0),T={};G(()=>{Q(I,z()),T!==(T=C())&&(F.value=(F.__value=T)??"")}),x(v,F)}),H(d);var u=E(d,2);{var h=v=>{var m=E2(),g=Ie(m,!0);G(y=>{je(m,1,y),Q(g,o())},[()=>Ve(ie("pointer-events-none absolute left-4 right-4 top-1/2 line-clamp-1 -translate-y-1/2 text-base font-medium text-gray-400 transition-[transform,font-size] peer-focus:-translate-y-[calc(50%+theme(space.3))] peer-focus:text-xs",r()!==void 0&&r()&&"-translate-y-[calc(50%+theme(space.3))] text-xs sm:text-xs"))]),x(v,m)};B(u,v=>{i()&&v(h)})}var f=E(u,2);ir(f,{class:"pointer-events-none absolute right-4 top-1/2 -translate-y-1/2 text-xs text-gray-300 peer-focus-visible:text-gray-400 sm:text-xs",name:"chevron-down"}),H(l),Yu(d,r),x(t,l),Ue()}function Oo(t){return!!t.match(/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/)}const T2=()=>/Chrome/.test(navigator==null?void 0:navigator.userAgent)&&!/Edge|OPR/.test(navigator==null?void 0:navigator.userAgent),M2=()=>window==null?void 0:window.ApplePaySession;function P2(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Va={},Jn={},Xn={},Fo={},wc;function I2(){if(wc)return Fo;wc=1,Object.defineProperty(Fo,"__esModule",{value:!0});function t(e,r){if(!e)throw new Error(r)}return Fo.default=t,Fo}var xc;function R2(){if(xc)return Xn;xc=1;var t=Xn&&Xn.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(Xn,"__esModule",{value:!0});const e=t(I2());function r(n){e.default(Array.isArray(n.domains),"domains must be an array"),e.default(Array.isArray(n.topLevelDomains),"topLevelDomains must be an array"),e.default(Array.isArray(n.secondLevelDomains),"secondLevelDomains must be an array"),e.default(typeof n.distanceFunction=="function","distanceFunction must be a function")}return Xn.default=r,Xn}var Qn={},qo={},kc;function N2(){if(kc)return qo;kc=1,Object.defineProperty(qo,"__esModule",{value:!0});function t(e){return encodeURI(e).replace(/%20/g," ").replace(/%25/g,"%").replace(/%5E/g,"^").replace(/%60/g,"`").replace(/%7B/g,"{").replace(/%7C/g,"|").replace(/%7D/g,"}")}return qo.default=t,qo}var jo={},Cc;function D2(){if(Cc)return jo;Cc=1,Object.defineProperty(jo,"__esModule",{value:!0});function t(e){const{domain:r,domains:n,distanceFunction:a,threshold:o}=e;let i,s=1/0,l=null;if(!(!r||!n)){for(let d=0;d<n.length;d++){if(r===n[d])return r;i=a(r,n[d]),i<s&&(s=i,l=n[d])}if(s<=o&&l!==null)return l}}return jo.default=t,jo}var ea={},Go={},$c;function O2(){if($c)return Go;$c=1,Object.defineProperty(Go,"__esModule",{value:!0});const t=/\s/;function e(a){return a.trim?a.trim():n(r(a))}function r(a){return a.trimLeft?a.trimLeft():a.replace(/^\s\s*/,"")}function n(a){if(a.trimRight)return a.trimRight();let o=a.length;for(;t.test(a.charAt(--o)););return a.slice(0,o+1)}return Go.default=e,Go}var Lc;function F2(){if(Lc)return ea;Lc=1;var t=ea&&ea.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(ea,"__esModule",{value:!0});const e=t(O2()),r=2;function n(a){const i=e.default(a).split("@");if(i.length<r)return!1;for(let h=0;h<i.length;h++)if(i[h]==="")return!1;let s="",l="";const d=i.pop(),u=d.split(".");if(u.length===0)return!1;if(u.length==1)l=u[0];else{s=u[0];for(let h=1;h<u.length;h++)l+=u[h]+".";l=l.substring(0,l.length-1)}return{topLevelDomain:l,secondLevelDomain:s,domain:d,address:i.join("@")}}return ea.default=n,ea}var Sc;function q2(){if(Sc)return Qn;Sc=1;var t=Qn&&Qn.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(Qn,"__esModule",{value:!0});const e=t(N2()),r=t(D2()),n=t(F2());function a(o){const i=e.default(o.email.toLowerCase()),s=n.default(i);if(!s)return;const{domains:l,domainThreshold:d,distanceFunction:u,secondLevelDomains:h,topLevelDomains:f}=o;if(h&&f&&h.indexOf(s.secondLevelDomain)!==-1&&f.indexOf(s.topLevelDomain)!==-1)return;let v=r.default({domain:s.domain,domains:l,distanceFunction:u,threshold:d});if(v)return v==s.domain?void 0:{address:s.address,domain:v,full:s.address+"@"+v};const m=r.default({domain:s.secondLevelDomain,domains:h,distanceFunction:u,threshold:o.secondLevelThreshold}),g=r.default({domain:s.topLevelDomain,domains:f,distanceFunction:u,threshold:o.topLevelThreshold});if(s.domain){v=s.domain;let y=!1;if(m&&m!=s.secondLevelDomain&&(v=v.replace(s.secondLevelDomain,m),y=!0),g&&g!=s.topLevelDomain&&s.secondLevelDomain!==""&&(v=v.replace(new RegExp(s.topLevelDomain+"$"),g),y=!0),y)return{address:s.address,domain:v,full:s.address+"@"+v}}}return Qn.default=a,Qn}var Ho={},gr={},Uo={},Ec;function j2(){if(Ec)return Uo;Ec=1,Object.defineProperty(Uo,"__esModule",{value:!0});function t(e,r){if(e==null||e.length===0)return r==null||r.length===0?0:r.length;if(r==null||r.length===0)return e.length;let n=0,a=0,o=0,i=0;const s=5;for(;n+a<e.length&&n+o<r.length;){if(e.charAt(n+a)==r.charAt(n+o))i++;else{a=0,o=0;for(let l=0;l<s;l++){if(n+l<e.length&&e.charAt(n+l)==r.charAt(n)){a=l;break}if(n+l<r.length&&e.charAt(n)==r.charAt(n+l)){o=l;break}}}n++}return(e.length+r.length)/2-i}return Uo.default=t,Uo}var Ac;function zc(){if(Ac)return gr;Ac=1;var t=gr&&gr.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(gr,"__esModule",{value:!0}),gr.POPULAR_TLDS=gr.POPULAR_DOMAINS=gr.DEFAULT_CONFIG=void 0;const e=t(j2()),r=["msn.com","bellsouth.net","telus.net","comcast.net","optusnet.com.au","earthlink.net","qq.com","sky.com","icloud.com","sympatico.ca","googlemail.com","att.net","xtra.co.nz","web.de","cox.net","gmail.com","ymail.com","aim.com","rogers.com","verizon.net","rocketmail.com","optonline.net","sbcglobal.net","aol.com","aim.com","me.com","mailw.com","btinternet.com","charter.net","shaw.ca","hey.com","proton.me","pm.com","protonmail.com","zoho.com","yandex.com","titan.email"];gr.POPULAR_DOMAINS=r;const n=["com","com.au","com.tw","co","ca","co.nz","co.uk","de","fr","it","ru","org","edu","gov","jp","nl","kr","se","eu","ie","co.il","us","at","be","dk","hk","es","gr","ch","no","cz","net","net.au","info","biz","mil","co.jp","sg","hu","uk","sk","ar","cf","cl","cn","ga","gq","ir","ml","mx","nu","nz","ph","pl","ro","tk","tw","ua","vg","ws","xn","za","app","au","ai","biz","br","blog","cloud","club","cc","de","dev","digital","fi","finance","id","in","io","me","mobi","network","pw","so","xyz","software","to","tech"];gr.POPULAR_TLDS=n;const a={domainThreshold:2,domains:r,secondLevelThreshold:2,secondLevelDomains:["yahoo","hotmail","mail","live","outlook"],topLevelThreshold:2,topLevelDomains:n,distanceFunction:e.default};return gr.DEFAULT_CONFIG=a,gr}var Tc;function G2(){if(Tc)return Ho;Tc=1,Object.defineProperty(Ho,"__esModule",{value:!0});const t=zc();function e(r){return{email:r.email,domains:r.domains||t.DEFAULT_CONFIG.domains,topLevelDomains:r.topLevelDomains||t.DEFAULT_CONFIG.topLevelDomains,secondLevelDomains:r.secondLevelDomains||t.DEFAULT_CONFIG.secondLevelDomains,distanceFunction:r.distanceFunction||t.DEFAULT_CONFIG.distanceFunction,domainThreshold:r.domainThreshold||t.DEFAULT_CONFIG.domainThreshold,secondLevelThreshold:r.secondLevelThreshold||t.DEFAULT_CONFIG.secondLevelThreshold,topLevelThreshold:r.topLevelThreshold||t.DEFAULT_CONFIG.topLevelThreshold,suggested:r.suggested||void 0,empty:r.suggested||void 0}}return Ho.default=e,Ho}var Mc;function H2(){if(Mc)return Jn;Mc=1;var t=Jn&&Jn.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(Jn,"__esModule",{value:!0});const e=t(R2()),r=t(q2()),n=t(G2());function a(o){const i=n.default(o);e.default(i||{});const s=r.default(i);return!s&&o.empty&&o.empty(),s&&o.suggested&&o.suggested(s),s}return Jn.default=a,Jn}var Pc;function U2(){return Pc||(Pc=1,(function(t){var e=Va&&Va.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(t,"__esModule",{value:!0}),t.POPULAR_TLDS=t.POPULAR_DOMAINS=t.run=void 0;const r=e(H2());t.run=r.default;const n=zc();Object.defineProperty(t,"POPULAR_DOMAINS",{enumerable:!0,get:function(){return n.POPULAR_DOMAINS}}),Object.defineProperty(t,"POPULAR_TLDS",{enumerable:!0,get:function(){return n.POPULAR_TLDS}});const a={run:r.default,POPULAR_DOMAINS:n.POPULAR_DOMAINS,POPULAR_TLDS:n.POPULAR_TLDS};t.default=a})(Va)),Va}var V2=U2();const Ji=P2(V2);var B2=R('<div><div class="overflow-hidden"><!></div></div>');function Ic(t,e){He(e,!0);let r=ee(e,"isOpen",3,!1);var n=B2(),a=Y(n),o=Y(a);At(o,e,"default",{},null),H(a),H(n),G(i=>je(n,1,i),[()=>Ve(ie("grid transition-[grid-template-rows] duration-200 ease-out grid-rows-[0fr]",r()&&"grid-rows-[1fr]"))]),x(t,n),Ue()}const Rc=(...t)=>{for(const e of t){const r=e==null?void 0:e.trim();if(r){try{new URL(r)}catch{console.warn(`Ignoring paywall redirect url that is not an absolute URL: ${r}`);continue}return r}}return window.location.href},Nc=(...t)=>{for(const e of t){const r=e==null?void 0:e.trim();if(r)return r}},W2=[["utmSource","utm-source"],["utmMedium","utm-medium"],["utmCampaign","utm-campaign"],["utmTerm","utm-term"],["utmContent","utm-content"]],Dc=t=>{const e={};for(const[r,n]of W2){const a=t==null?void 0:t[n];a&&(e[r]=a)}return e},Xi=async(t,e,r)=>{const n=new URL(t.checkoutUrl);n.searchParams.set("norecreate","true"),t.language&&n.searchParams.set("lang",t.language),t.redirectUrl&&n.searchParams.set("redirect-url",t.redirectUrl),e&&n.searchParams.set("payment-method",e.method),r&&n.searchParams.set("business","true"),window.location.href=n.href};var Z2=R('<div class="w-full rounded-md border border-gray-200 dark:border-gray-700"><div class="px-4 py-2 text-xs text-gray-600 font-bold dark:text-gray-100 bg-white dark:bg-black/25 rounded-t-md"> </div> <div class="grid grid-cols-3 w-[calc(100%+2px)] -m-px"><!> <!> <!></div></div>');function Y2(t,e){He(e,!0);let r=ee(e,"year",15,""),n=ee(e,"month",15,""),a=ee(e,"day",15,""),o=ee(e,"hasError",3,!1),i,s,l;const d=(T,w,k)=>b=>{const p=b.target,L=p.value.replace(/[^0-9]/g,""),V=w?L.slice(0,w):L;p.value=V,T(V),w&&k&&V.length===w&&setTimeout(()=>{const D=k();D&&D.focus&&D.focus()},0)},u=T=>w=>{w.key==="Backspace"&&w.target.value===""&&T&&setTimeout(()=>{const b=T();b&&b.focus&&b.focus()},0)},h=T=>{var w;r(T),(w=e.onYearChange)==null||w.call(e,T)},f=T=>{var w;n(T),(w=e.onMonthChange)==null||w.call(e,T)},v=T=>{var w;a(T),(w=e.onDayChange)==null||w.call(e,T)};var m=Z2(),g=Y(m),y=Ie(g,!0),C=E(g,2),z=Y(C);{let T=Z(()=>d(h,4,()=>s)),w=Z(u),k=Z(()=>e.t("year")),b=Z(()=>new Date().getFullYear());Ao(sr(z,{get oninput(){return c(T)},get onkeydown(){return c(w)},name:"birth-year",inputmode:"numeric",compact:!0,get placeholder(){return c(k)},get hasError(){return o()},min:"1900",get max(){return c(b)},autocomplete:"bday-year",class:"rounded-none rounded-bl-md w-[calc(100%+1px)]",get value(){return r()},set value(p){r(p)}}),p=>i=p,()=>i)}var F=E(z,2);{let T=Z(()=>d(f,2,()=>l)),w=Z(()=>u(()=>i)),k=Z(()=>e.t("month"));Ao(sr(F,{get oninput(){return c(T)},get onkeydown(){return c(w)},name:"birth-month",inputmode:"numeric",compact:!0,get placeholder(){return c(k)},get hasError(){return o()},min:"1",max:"12",autocomplete:"bday-month",class:"rounded-none w-[calc(100%+1px)]",get value(){return n()},set value(b){n(b)}}),b=>s=b,()=>s)}var I=E(F,2);{let T=Z(()=>d(v,2)),w=Z(()=>u(()=>s)),k=Z(()=>e.t("day"));Ao(sr(I,{get oninput(){return c(T)},get onkeydown(){return c(w)},name:"birth-day",inputmode:"numeric",compact:!0,get placeholder(){return c(k)},get hasError(){return o()},min:"1",max:"31",autocomplete:"bday-day",class:"rounded-none rounded-br-md",get value(){return a()},set value(b){a(b)}}),b=>l=b,()=>l)}H(C),H(m),G(T=>Q(y,T),[()=>e.t("date_of_birth")]),x(t,m),Ue()}const K2=["VIPPS","KLARNA_PRIVATE","STRIPE_KLARNA","SWISH_DIRECT","SWISH","APPLE-PAY","GOOGLE-PAY","CARD"],Vo={US:["1","1",[10]],AG:["1","1",[10]],AI:["1","1",[10]],AS:["1","1",[10]],BB:["1","1",[10]],BM:["1","1",[10]],BS:["1","1",[10]],CA:["1","1",[7,10]],DM:["1","1",[10]],DO:["1","1",[10]],GD:["1","1",[10]],GU:["1","1",[10]],JM:["1","1",[10]],KN:["1","1",[10]],KY:["1","1",[10]],LC:["1","1",[10]],MP:["1","1",[10]],MS:["1","1",[10]],PR:["1","1",[10]],SX:["1","1",[10]],TC:["1","1",[10]],TT:["1","1",[10]],VC:["1","1",[10]],VG:["1","1",[10]],VI:["1","1",[10]],RU:["7","8",[10,14]],KZ:["7","8",[10,14]],EG:["20","0",[8,9,10]],ZA:["27","0",[5,6,7,8,9,10]],GR:["30","",[10,11,12]],NL:["31","0",[5,6,7,8,9,10,11]],BE:["32","0",[8,9]],FR:["33","0",[9]],ES:["34","",[9]],HU:["36","06",[8,9]],IT:["39","",[6,7,8,9,10,11,12]],VA:["39","",[6,7,8,9,10,11,12]],RO:["40","0",[6,9]],CH:["41","0",[9,12]],AT:["43","0",[4,5,6,7,8,9,10,11,12,13]],GB:["44","0",[7,9,10]],GG:["44","0",[7,9,10]],IM:["44","0",[10]],JE:["44","0",[10]],DK:["45","",[8]],SE:["46","0",[6,7,8,9,10,12]],NO:["47","",[5,8]],SJ:["47","",[5,8]],PL:["48","",[6,7,8,9,10]],DE:["49","0",[4,5,6,7,8,9,10,11,12,13,14,15]],PE:["51","0",[8,9]],MX:["52","",[10]],CU:["53","0",[6,7,8,10]],AR:["54","0",[10,11]],BR:["55","0",[8,9,10,11]],CL:["56","",[9,10,11]],CO:["57","0",[8,10,11]],VE:["58","0",[10]],MY:["60","0",[8,9,10]],AU:["61","0",[5,6,7,8,9,10,12]],CC:["61","0",[6,7,8,9,10,12]],CX:["61","0",[6,7,8,9,10,12]],ID:["62","0",[7,8,9,10,11,12,13,14,15,16,17]],PH:["63","0",[6,8,9,10,11,12,13]],NZ:["64","0",[5,6,7,8,9,10]],SG:["65","",[8,10,11]],TH:["66","0",[8,9,10,13]],JP:["81","0",[8,9,10,11,12,13,14,15,16,17]],KR:["82","0",[5,6,8,9,10,11,12,13,14]],VN:["84","0",[7,8,9,10]],CN:["86","0",[7,8,9,10,11,12]],TR:["90","0",[7,10,12,13]],IN:["91","0",[8,9,10,11,12,13]],PK:["92","0",[8,9,10,11,12]],AF:["93","0",[9]],LK:["94","0",[9]],MM:["95","0",[6,7,8,9,10]],IR:["98","0",[4,5,6,7,10]],SS:["211","0",[9]],MA:["212","0",[9]],EH:["212","0",[9]],DZ:["213","0",[8,9]],TN:["216","",[8]],LY:["218","0",[9]],GM:["220","",[7,9]],SN:["221","",[9]],MR:["222","",[8]],ML:["223","",[8]],GN:["224","",[8,9]],CI:["225","",[10]],BF:["226","",[8]],NE:["227","",[8]],TG:["228","",[8]],BJ:["229","",[8,10]],MU:["230","",[7,8,10]],LR:["231","0",[7,8,9]],SL:["232","0",[8]],GH:["233","0",[8,9]],NG:["234","0",[10,11,12,13,14]],TD:["235","",[8]],CF:["236","",[8]],CM:["237","",[8,9]],CV:["238","",[7]],ST:["239","",[7]],GQ:["240","",[9]],GA:["241","",[7,8]],CG:["242","",[9]],CD:["243","0",[7,8,9,10]],AO:["244","",[9]],GW:["245","",[7,9]],IO:["246","",[7]],AC:["247","",[5,6]],SC:["248","",[7]],SD:["249","0",[9]],RW:["250","0",[8,9]],ET:["251","0",[9]],SO:["252","0",[6,7,8,9]],DJ:["253","",[8]],KE:["254","0",[7,8,9,10]],TZ:["255","0",[9]],UG:["256","0",[9]],BI:["257","",[8]],MZ:["258","",[8,9]],ZM:["260","0",[9]],MG:["261","0",[9]],RE:["262","0",[9]],YT:["262","0",[9]],ZW:["263","0",[7,9,10]],NA:["264","0",[8,9]],MW:["265","0",[7,9]],LS:["266","",[8]],BW:["267","",[7,8,10]],SZ:["268","",[8,9]],KM:["269","",[7]],SH:["290","",[4,5]],TA:["290","",[4]],ER:["291","0",[7]],AW:["297","",[7]],FO:["298","",[6]],GL:["299","",[6]],GI:["350","",[8]],PT:["351","",[9]],LU:["352","",[4,5,6,7,8,9,10,11]],IE:["353","0",[7,8,9,10]],IS:["354","",[7,9]],AL:["355","0",[6,7,8,9]],MT:["356","",[8]],CY:["357","",[8]],FI:["358","0",[5,6,7,8,9,10,11,12]],AX:["358","0",[5,6,7,8,9,10,11,12]],BG:["359","0",[6,7,8,9,12]],LT:["370","0",[8]],LV:["371","",[8]],EE:["372","",[7,8,10]],MD:["373","0",[8]],AM:["374","0",[8]],BY:["375","8",[6,7,8,9,10,11]],AD:["376","",[6,8,9]],MC:["377","0",[8,9]],SM:["378","",[8,10]],UA:["380","0",[9,10]],RS:["381","0",[6,7,8,9,10,11,12]],ME:["382","0",[8,9]],XK:["383","0",[8,9,10,11,12]],HR:["385","0",[7,8,9]],SI:["386","0",[5,6,7,8]],BA:["387","0",[8,9]],MK:["389","0",[8]],CZ:["420","",[9,10,11,12]],SK:["421","0",[6,7,9]],LI:["423","0",[7,9]],FK:["500","",[5]],BZ:["501","",[7,11]],GT:["502","",[8,11]],SV:["503","",[7,8,11]],HN:["504","",[8,11]],NI:["505","",[8]],CR:["506","",[8,10]],PA:["507","",[7,8,10,11]],PM:["508","0",[6,9]],HT:["509","",[8]],GP:["590","0",[9]],BL:["590","0",[9]],MF:["590","0",[9]],BO:["591","0",[8,9]],GY:["592","",[7]],EC:["593","0",[8,9,10,11]],GF:["594","0",[9]],PY:["595","0",[6,7,8,9,10,11]],MQ:["596","0",[9]],SR:["597","",[6,7]],UY:["598","0",[4,5,6,7,8,9,10,11,12,13]],CW:["599","",[7,8]],BQ:["599","",[7]],TL:["670","",[7,8]],NF:["672","",[6]],BN:["673","",[7]],NR:["674","",[7]],PG:["675","",[7,8]],TO:["676","",[5,7]],SB:["677","",[5,7]],VU:["678","",[5,7]],FJ:["679","",[7,11]],PW:["680","",[7]],WF:["681","",[6,9]],CK:["682","",[5]],NU:["683","",[4,7]],WS:["685","",[5,6,7,10]],KI:["686","0",[5,8]],NC:["687","",[6]],TV:["688","",[5,6,7]],PF:["689","",[6,8,9]],TK:["690","",[4,5,6,7]],FM:["691","",[7]],MH:["692","1",[7]],KP:["850","0",[8,10]],HK:["852","",[5,6,7,8,9,11]],MO:["853","",[7,8]],KH:["855","0",[8,9,10]],LA:["856","0",[8,9,10]],BD:["880","0",[6,7,8,9,10]],TW:["886","0",[7,8,9,10,11]],MV:["960","",[7,10]],LB:["961","0",[7,8]],JO:["962","0",[8,9]],SY:["963","0",[8,9]],IQ:["964","0",[8,9,10]],KW:["965","",[7,8]],SA:["966","0",[9,10]],YE:["967","0",[7,8,9]],OM:["968","",[7,8,9]],PS:["970","0",[8,9,10]],AE:["971","0",[5,6,7,8,9,10,11,12]],IL:["972","0",[7,8,9,10,11,12]],BH:["973","",[8]],QA:["974","",[7,8,9,11]],BT:["975","",[7,8]],MN:["976","0",[8,9,10]],NP:["977","0",[8,10,11]],TJ:["992","",[9]],TM:["993","8",[8]],AZ:["994","0",[9]],GE:["995","0",[9]],KG:["996","0",[9,10]],UZ:["998","",[9]]},Oc=Object.keys(Vo);function ta(t){var e;return((e=Vo[t])==null?void 0:e[0])??""}function Bo(t,e){var r;return((r=Vo[t])==null?void 0:r[2].includes(e.length))??!1}function Qi(t){const e=/^\s*(\+|00)(.*)$/.exec(t);return e?e[2].replace(/\D/g,""):null}function J2(t,e){return[e,...Oc].find(r=>{const n=ta(r);return n&&t.startsWith(n)})??e}function X2(t,e){const r=J2(t,e),n=ta(r);return{value:`+${t}`,valid:t.startsWith(n)&&Bo(r,t.slice(n.length)),country:r}}function Q2(t,e,r){const n=e0(t,e);if(!r||!n.value)return n;const a=Qi(t),o=a===null?t:`+${a}`,i=r.parsePhoneNumberFromString(o,e);return i?{value:i.number,valid:i.isValid(),country:n.country}:{...n,valid:!1}}function Fc(t,e,r){return new r.AsYouType(e).input(t)}function e0(t,e){const r=t.replace(/\D/g,"");if(!r)return{value:null,valid:!1,country:e};const n=Qi(t);if(n!==null)return n?X2(n,e):{value:null,valid:!1,country:e};const[a="",o=""]=Vo[e]??[];let i=r;if(o&&r.startsWith(o)){const s=r.slice(o.length);Bo(e,r)&&!Bo(e,s)||(i=s)}return i?{value:`+${a}${i}`,valid:Bo(e,i),country:e}:{value:null,valid:!1,country:e}}const t0=t=>`https://scripts.sesamy.com/s/${encodeURIComponent(t)}/phone-lib/${Ye}`,r0=t=>import(t),es=new Map;function n0(t,e=r0){const r=t0(t);let n=es.get(r);return n||(n=e(r).catch(a=>{throw es.delete(r),a}),es.set(r,n)),n}var a0=R("<option> </option>"),o0=R('<label><div class="absolute top-0 left-px bottom-px z-20 text-gray-300 focus-within:text-gray-400"><div class="relative inline-flex pl-4 pr-2 items-center h-full gap-2 rounded-md"><span class="text-base text-gray-800 dark:text-gray-100"> </span> <!></div> <select id="phone-country-select" class="absolute peer inset-0 opacity-0 cursor-pointer"></select></div> <input type="tel" autocomplete="tel" required=""/> <div> </div></label>');function i0(t,e){He(e,!0);let r=ee(e,"value",15),n=ee(e,"valid",15),a=ee(e,"selectedCountry",15),o=ee(e,"locale",3,"en"),i=ee(e,"hasError",3,!1),s=ce(mr(st(()=>r())??"")),l=st(()=>r()),d=ce(null);Lo(()=>{n0(e.vendorId).then(p=>P(d,p,!0)).catch(p=>{console.warn("[sesamy] Phone number library unavailable, using basic validation",p)})});const u=p=>{const L=p.currentTarget;let V=L.value;const D=p instanceof InputEvent&&p.inputType.startsWith("insert");c(d)&&D&&L.selectionStart===V.length&&(V=Fc(V,a(),c(d)),L.value=V),P(s,V,!0)},h=p=>{const L=p.currentTarget.value,V=Qi(c(s)),D=ta(a());if(V!=null&&V.startsWith(D)){const se=V.slice(D.length);P(s,c(d)?Fc(se,L,c(d)):se,!0)}a(L)},f=Z(()=>Oc.map(p=>({code:p,label:`${yc(p,o())||p} (+${ta(p)})`})).sort((p,L)=>p.label.localeCompare(L.label,o()))),v=Z(()=>Q2(c(s),a(),c(d)));Hr(()=>{l=c(v).value,r(c(v).value),n(c(v).valid),c(v).country!==a()&&a(c(v).country)}),Hr(()=>{const p=r();st(()=>{p!==l&&P(s,p??"",!0)})}),Hr(()=>{var p;r(),(p=e.onChange)==null||p.call(e)});var m=o0(),g=Y(m),y=Y(g),C=Y(y),z=Ie(C),F=E(C,2);ir(F,{class:"!text-xs",name:"chevron-down"}),H(y);var I=E(y,2);an(I,21,()=>c(f),p=>p.code,(p,L)=>{var V=a0(),D=Ie(V,!0),se={};G(()=>{Q(D,c(L).label),se!==(se=c(L).code)&&(V.value=(V.__value=se)??"")}),x(p,V)}),H(I);var T;Pl(I),H(g);var w=E(g,2);Pi(w);var k=E(w,2),b=Ie(k,!0);H(m),G((p,L,V,D,se,Ne)=>{je(m,1,p),Q(z,`+${L??""}`),Ee(I,"aria-label",V),T!==(T=a())&&(I.value=(I.__value=T)??"",Da(I,T)),e1(w,c(s)),Ee(w,"name",e.name),je(w,1,D),je(k,1,se),Q(b,Ne)},[()=>Ve(ie("relative w-full gap-2 column-left",i()&&"z-20")),()=>ta(a()),()=>e.t("country"),()=>Ve(ie("placeholder:text-transparent relative peer w-full rounded-md border border-gray-200 pl-[84px] pr-4 pb-2 pt-6 text-base leading-snug text-gray-800 outline-0 transition-colors duration-150 placeholder:text-gray-400 focus:border-gray-300 focus:z-10 disabled:opacity-[20%] dark:border-gray-700 dark:focus:border-gray-600 dark:bg-black/25 dark:text-gray-100",i()&&"!border-red-500")),()=>Ve(ie("pointer-events-none absolute z-20 left-[84px] right-4 top-1/2 line-clamp-1 -translate-y-1/2 text-base font-medium text-gray-400 transition-[transform,font-size] peer-focus:-translate-y-[calc(50%+theme(space.3))] peer-focus:text-xs",!!c(s)&&"-translate-y-[calc(50%+theme(space.3))] text-xs sm:text-xs")),()=>e.t("phone_number")]),or("change",I,h),or("input",w,u),x(t,m),Ue()}Vr(["change","input"]);var s0=R('<div class="row w-full rounded-md bg-gray-200 dark:bg-black/25 dark:border dark:border-gray-800 p-1 gap-1 text-xs font-bold"><button type="button"> </button> <button type="button"> </button></div>'),l0=R('<div class="text-sm uppercase font-bold pt-1 -mb-0.5"> </div> <!> <div class="text-sm uppercase font-bold pt-1 -mb-0.5"> </div>',1),c0=R('<!> <div> <span class="text-primary"> </span>?</div>',1),d0=R('<!> <div class="text-center whitespace-nowrap"> </div>',1),qc=R("<!> <!>",1),u0=R("<!> <!> <!> <!> <!>",1),f0=R('<span class="text-sm"> </span>'),h0=R('<div class="w-full"><div><!></div> <!></div>'),m0=R('<div class="[&>svg]:max-w-full"><!></div>'),v0=R('<div class="gap-1 hidden @xl:row-left"><!> <!> <!></div>'),p0=R('<!> <!> <!> <!> <!> <div class="grid @sm:grid-cols-2 w-full gap-2 auto-rows-fr"></div>',1),g0=R("<div> </div>"),_0=R('<div class="bg-white w-full dark:bg-black/25 border border-red-500 text-red-500 px-4 py-3 !text-sm rounded-md font-bold"></div>'),b0=R('<form class="contents" novalidate=""><!> <!> <!> <button type="button" class="text-sm font-bold mx-auto hover:underline p-1 row gap-1"><!> <span> </span></button></form>');function y0(t,e){He(e,!0);const r=w2(e.checkout.language).filter(S=>e.checkout.items.every(q=>!q.geoRestrictions||q.geoRestrictions.type==="ALLOW"&&q.geoRestrictions.countries.includes(S.value)||q.geoRestrictions.type==="BLOCK"&&!q.geoRestrictions.countries.includes(S.value)));let n=ce(""),a=ce(""),o=ce(""),i=ce(null),s=ce(!1),l=ce(mr(e.checkout.country||"SE")),d=ce(mr(e.checkout.country&&ta(e.checkout.country)?e.checkout.country:"SE")),u=ce(""),h=ce(""),f=ce(""),v=ce(!1),m=ce(void 0),g=ce(void 0),y=ce(""),C,z=ce(!1),F=ce(""),I=ce(mr(e.checkout.giftMode)),T=ce("");Hr(()=>{var S;r.map(q=>q.value).includes(c(l))||P(l,(S=r[0])==null?void 0:S.value,!0)}),Hr(()=>{(async()=>{const S=await e.api.auth.getUser();c(n)||P(n,(S==null?void 0:S.email)||"",!0)})()});const w=()=>{var we,Le,j,be,Oe,et,We,A,$,M,N,W,ae,fe,he,ze,$e,Ge,Ze,Fe,Te,ht,Me,at,De;const S=[];Oo(c(n))||S.push(["email","invalid_email"]),c(I)&&!Oo(c(T))&&S.push(["payerEmail","invalid_email"]),(j=(Le=(we=e.checkout)==null?void 0:we.fieldSettings)==null?void 0:Le.phone)!=null&&j.enabled&&((et=(Oe=(be=e.checkout)==null?void 0:be.fieldSettings)==null?void 0:Oe.phone)!=null&&et.required)&&!c(i)&&S.push(["phoneNumber","phone_number_required"]),($=(A=(We=e.checkout)==null?void 0:We.fieldSettings)==null?void 0:A.phone)!=null&&$.enabled&&c(i)&&!c(s)&&S.push(["phoneNumber","invalid_phone_number"]),(W=(N=(M=e.checkout)==null?void 0:M.fieldSettings)==null?void 0:N.name)!=null&&W.enabled&&((he=(fe=(ae=e.checkout)==null?void 0:ae.fieldSettings)==null?void 0:fe.name)!=null&&he.required)&&!c(a)&&S.push(["firstName","first_name_required"]),(Ge=($e=(ze=e.checkout)==null?void 0:ze.fieldSettings)==null?void 0:$e.name)!=null&&Ge.enabled&&((Te=(Fe=(Ze=e.checkout)==null?void 0:Ze.fieldSettings)==null?void 0:Fe.name)!=null&&Te.required)&&!c(o)&&S.push(["lastName","last_name_required"]),c(z)&&!Oo(c(F))&&S.push(["referralEmail","referral_email_required"]);const q=new Date().getFullYear(),K=parseInt(c(u)),re=parseInt(c(h)),te=parseInt(c(f));c(u)&&(isNaN(K)||K<1900||K>q)&&S.push(["birthYear","invalid_birth_year"]),c(h)&&(isNaN(re)||re<1||re>12)&&S.push(["birthMonth","invalid_birth_month"]),c(f)&&(isNaN(te)||te<1||te>31)&&S.push(["birthDay","invalid_birth_day"]),(Me=(ht=e.checkout.fieldSettings)==null?void 0:ht.birthdate)!=null&&Me.enabled&&((De=(at=e.checkout.fieldSettings)==null?void 0:at.birthdate)!=null&&De.required)&&(!c(u)||!c(h)||!c(f))&&S.push(["birthDate","birthdate_required"]),P(m,S.length?S.reduce((Qe,[ot,tt])=>({...Qe,[ot]:tt}),{}):void 0,!0)},k=S=>P(g,S,!0),b=()=>{P(m,void 0),clearTimeout(C),C=setTimeout(()=>{var S;P(y,((S=Ji.run({email:c(n)}))==null?void 0:S.full)||"",!0)},400)},p=async S=>{var K;if(S.preventDefault(),w(),!(c(m)||!c(g)||e.api.events.emit("sesamyPaywallCheckoutRedirect",{checkoutId:e.checkout.id,country:c(l),paymentMethod:c(g)},!0).canceled)){P(v,!0);try{const re=["GOOGLE-PAY","APPLE-PAY"].includes(c(g).method),te=c(u)&&c(h)&&c(f)?`${c(u)}-${c(h).padStart(2,"0")}-${c(f).padStart(2,"0")}`:void 0;await e.api.checkouts.update(e.checkout.id,{paymentData:{provider:c(g).provider,method:re?"CARD":c(g).method},country:c(l),email:c(n),phoneNumber:c(i)||void 0,givenName:c(a)||void 0,familyName:c(o)||void 0,birthDate:te,referralEmail:c(z)?c(F):void 0,payerEmail:c(I)?c(T):void 0}),Xi(e.checkout,c(g)),P(v,!1);return}catch(re){(K=re==null?void 0:re.message)!=null&&K.includes("User already owns item")?P(m,{general:"user_already_owns_item"},!0):(console.error(re),P(m,{general:"something_went_wrong"},!0)),P(v,!1);return}}},L=e.checkout.availablePaymentMethods.reduce((S,{provider:q,methods:K})=>[...S,...K!=null&&K.length&&q?K.map(re=>({provider:q,method:re})):[]],[]);T2()&&L.push({provider:"STRIPE",method:"GOOGLE-PAY"}),M2()&&L.push({provider:"STRIPE",method:"APPLE-PAY"});const V=L.some(S=>S.method==="STRIPE_KLARNA"),D=L.some(S=>S.method==="KLARNA_PRIVATE");if(V&&D){const S=L.findIndex(q=>q.method==="KLARNA_PRIVATE");S!==-1&&L.splice(S,1)}const se=L.some(S=>S.method==="SWISH_DIRECT"),Ne=L.some(S=>S.method==="SWISH");if(se&&Ne){const S=L.findIndex(q=>q.method==="SWISH");S!==-1&&L.splice(S,1)}const Ce=K2.map(S=>L.find(q=>q.method===S)).filter(S=>S!==void 0);Ce.length&&k(Ce[0]);var me=b0(),_e=Y(me);It(_e,{up:!0,left:!0,class:"gap-2 w-full",children:(S,q)=>{var K=p0(),re=U(K);{var te=$=>{var M=s0(),N=Y(M),W=Ie(N,!0),ae=E(N,2),fe=Ie(ae,!0);H(M),G((he,ze,$e,Ge)=>{je(N,1,he),Q(W,ze),je(ae,1,$e),Q(fe,Ge)},[()=>Ve(ie("rounded-md px-3 py-2 flex-1",!c(I)&&"bg-white dark:bg-black/25")),()=>e.t("not_gift"),()=>Ve(ie("rounded-md px-3 py-2 flex-1",c(I)&&"bg-white dark:bg-black/25")),()=>e.t("is_gift")]),or("click",N,()=>P(I,!1)),or("click",ae,()=>P(I,!0)),x($,M)};B(re,$=>{var M;(M=e.paywall.settings.displayOptions)!=null&&M.enableGift&&$(te)})}var we=E(re,2);{var Le=$=>{var M=l0(),N=U(M),W=Ie(N,!0),ae=E(N,2);Do(ae,{children:(ze,$e)=>{{let Ge=Z(()=>e.t("email")),Ze=Z(()=>{var Fe;return(Fe=c(m))==null?void 0:Fe.payerEmail});sr(ze,{name:"payer-email",compact:!0,get placeholder(){return c(Ge)},get hasError(){return c(Ze)},onkeyup:()=>P(m,void 0),get value(){return c(T)},set value(Fe){P(T,Fe,!0)}})}},$$slots:{default:!0}});var fe=E(ae,2),he=Ie(fe,!0);G((ze,$e)=>{Q(W,ze),Q(he,$e)},[()=>e.t("your_details"),()=>e.t("recipient_details")]),x($,M)};B(we,$=>{c(I)&&$(Le)})}var j=E(we,2);Do(j,{children:($,M)=>{var N=u0(),W=U(N);{let Ze=Z(()=>e.t("email")),Fe=Z(()=>{var Te;return(Te=c(m))==null?void 0:Te.email});sr(W,{onkeyup:b,name:"email",compact:!0,get placeholder(){return c(Ze)},get hasError(){return c(Fe)},autocomplete:"email",get value(){return c(n)},set value(Te){P(n,Te,!0)}})}var ae=E(W,2);{let Ze=Z(()=>!!c(y));Ic(ae,{get isOpen(){return c(Ze)},children:(Fe,Te)=>{Tr(Fe,{onclick:()=>{P(n,c(y),!0),P(y,"")},class:"bg-primary/10 gap-4 px-2 py-3 !justify-between active:bg-primary/10 text-sm border-x border-gray-200 text-gray-500 hover:cursor-pointer hover:bg-primary/15 transition-colors duration-75",children:(ht,Me)=>{var at=d0(),De=U(at);Tr(De,{class:"gap-2",children:(tt,mt)=>{var lt=c0(),vt=U(lt);ir(vt,{class:"text-primary text-xl",name:"info"});var yr=E(vt,2),dr=Y(yr),ur=E(dr),Tn=Ie(ur,!0);$t(),H(yr),G(qe=>{Q(dr,`${qe??""} `),Q(Tn,c(y))},[()=>e.t("did_you_mean")]),x(tt,lt)},$$slots:{default:!0}});var Qe=E(De,2),ot=Ie(Qe,!0);G(tt=>Q(ot,tt),[()=>e.t("click_to_update")]),x(ht,at)},$$slots:{default:!0}})},$$slots:{default:!0}})}var fe=E(ae,2);{let Ze=Z(()=>e.t("country"));z2(fe,{get options(){return r},name:"country",compact:!0,autocomplete:"country",get placeholder(){return c(Ze)},get value(){return c(l)},set value(Fe){P(l,Fe,!0)}})}var he=E(fe,2);{var ze=Ze=>{{let Fe=Z(()=>{var Te;return!!((Te=c(m))!=null&&Te.phoneNumber)});i0(Ze,{get locale(){return e.checkout.language},get vendorId(){return e.paywall.vendorId},get t(){return e.t},get hasError(){return c(Fe)},onChange:()=>P(m,void 0),name:"tel",get value(){return c(i)},set value(Te){P(i,Te,!0)},get valid(){return c(s)},set valid(Te){P(s,Te,!0)},get selectedCountry(){return c(d)},set selectedCountry(Te){P(d,Te,!0)}})}};B(he,Ze=>{var Fe,Te,ht;(ht=(Te=(Fe=e.checkout)==null?void 0:Fe.fieldSettings)==null?void 0:Te.phone)!=null&&ht.enabled&&Ze(ze)})}var $e=E(he,2);{var Ge=Ze=>{var Fe=qc(),Te=U(Fe);{let Me=Z(()=>e.t("first_name")),at=Z(()=>{var De;return(De=c(m))==null?void 0:De.firstName});sr(Te,{onkeyup:()=>P(m,void 0),name:"first-name",compact:!0,get placeholder(){return c(Me)},get hasError(){return c(at)},autocomplete:"given-name",get value(){return c(a)},set value(De){P(a,De,!0)}})}var ht=E(Te,2);{let Me=Z(()=>e.t("last_name")),at=Z(()=>{var De;return(De=c(m))==null?void 0:De.lastName});sr(ht,{onkeyup:()=>P(m,void 0),name:"last-name",compact:!0,get placeholder(){return c(Me)},get hasError(){return c(at)},autocomplete:"family-name",get value(){return c(o)},set value(De){P(o,De,!0)}})}x(Ze,Fe)};B($e,Ze=>{var Fe,Te,ht;(ht=(Te=(Fe=e.checkout)==null?void 0:Fe.fieldSettings)==null?void 0:Te.name)!=null&&ht.enabled&&Ze(Ge)})}x($,N)},$$slots:{default:!0}});var be=E(j,2);{var Oe=$=>{{let M=Z(()=>{var N,W,ae,fe;return((N=c(m))==null?void 0:N.birthYear)||((W=c(m))==null?void 0:W.birthMonth)||((ae=c(m))==null?void 0:ae.birthDay)||((fe=c(m))==null?void 0:fe.birthDate)});Y2($,{get t(){return e.t},get hasError(){return c(M)},onYearChange:()=>P(m,void 0),onMonthChange:()=>P(m,void 0),onDayChange:()=>P(m,void 0),get year(){return c(u)},set year(N){P(u,N,!0)},get month(){return c(h)},set month(N){P(h,N,!0)},get day(){return c(f)},set day(N){P(f,N,!0)}})}};B(be,$=>{var M,N,W;(W=(N=(M=e.checkout)==null?void 0:M.fieldSettings)==null?void 0:N.birthdate)!=null&&W.enabled&&$(Oe)})}var et=E(be,2);{var We=$=>{var M=h0(),N=Y(M),W=Y(N);Ro(W,{id:"got-referred",name:"got-referred",type:"checkbox",get checked(){return c(z)},onchange:fe=>{const he=fe.target;P(z,he.checked,!0)},children:(fe,he)=>{var ze=f0(),$e=Ie(ze,!0);G(Ge=>Q($e,Ge),[()=>e.t("got_referred")]),x(fe,ze)},$$slots:{default:!0}}),H(N);var ae=E(N,2);Ic(ae,{get isOpen(){return c(z)},children:(fe,he)=>{{let ze=Z(()=>e.t("referral_email")),$e=Z(()=>{var Ge;return(Ge=c(m))==null?void 0:Ge.referralEmail});sr(fe,{name:"referral-email",compact:!0,get placeholder(){return c(ze)},class:"rounded-t-none -mt-px",get hasError(){return c($e)},onkeyup:()=>P(m,void 0),get value(){return c(F)},set value(Ge){P(F,Ge,!0)}})}},$$slots:{default:!0}}),H(M),G(fe=>je(N,1,fe),[()=>Ve(ie("bg-white rounded-md border border-gray-200 dark:bg-black/25 dark:border-gray-700",c(z)&&"rounded-b-none"))]),x($,M)};B(et,$=>{var M,N,W;(W=(N=(M=e.checkout)==null?void 0:M.fieldSettings)==null?void 0:N.referral)!=null&&W.enabled&&$(We)})}var A=E(et,2);an(A,23,()=>Ce,$=>`${$.provider}-${$.method}`,($,M,N,W)=>{const ae=Z(()=>c(M));Yi($,{children:(fe,he)=>{{let ze=Z(()=>!c(N)),$e=Z(()=>`${c(ae).provider}-${c(ae).method}`);Ro(fe,{get checked(){return c(ze)},get id(){return c($e)},name:"payment-method",onchange:()=>k(c(M)),children:(Ge,Ze)=>{var Fe=qc(),Te=U(Fe);{var ht=ot=>{ir(ot,{name:"card",class:"text-2xl"})},Me=ot=>{var tt=m0(),mt=Y(tt);{let lt=Z(()=>c(ae).method.includes("KLARNA")?"21":"25");vc(mt,{get method(){return c(ae).method},width:"auto",get height(){return c(lt)},darkModeSupport:!0})}H(tt),x(ot,tt)};B(Te,ot=>{c(ae).method==="CARD"?ot(ht):ot(Me,-1)})}var at=E(Te,2);{var De=ot=>{var tt=v0(),mt=Y(tt);Ga(mt,{size:"sm",name:"visa"});var lt=E(mt,2);Ga(lt,{size:"sm",name:"amex"});var vt=E(lt,2);Ga(vt,{size:"sm",name:"mastercard"}),H(tt),x(ot,tt)},Qe=Z(()=>c(ae).method&&["CARD","GOOGLE-PAY","APPLE-PAY"].includes(c(ae).method));B(at,ot=>{c(Qe)&&ot(De)})}x(Ge,Fe)},$$slots:{default:!0}})}},$$slots:{default:!0}})}),H(A),x(S,K)},$$slots:{default:!0}});var ue=E(_e,2);{var ne=S=>{var q=_0();an(q,21,()=>Object.values(c(m)),Ia,(K,re)=>{var te=g0(),we=Ie(te,!0);G(Le=>Q(we,Le),[()=>e.t(c(re))]),x(K,te)}),H(q),x(S,q)};B(ue,S=>{c(m)&&S(ne)})}var O=E(ue,2);Ha(O,{get loading(){return c(v)},get disabled(){return c(v)},class:"mt-2 w-full shadow-md bg-[var(--s-paywall-btn-bg-color)] text-[var(--s-paywall-btn-text-color)]",type:"submit",children:(S,q)=>{$t();var K=Pt();G(re=>Q(K,re),[()=>e.t("pay_now")]),x(S,K)},$$slots:{default:!0}});var Be=E(O,2),Se=Y(Be);ir(Se,{name:"chevron-left",class:"text-[8px]"});var pe=E(Se,2),de=Ie(pe,!0);H(Be),H(me),G(S=>Q(de,S),[()=>e.t("go_back")]),wo("submit",me,p),or("click",Be,function(...S){var q;(q=e.onResetCheckout)==null||q.apply(this,S)}),x(t,me),Ue()}Vr(["click"]);const w0=t=>{const e=parseFloat(t);return isNaN(e)?0:e},x0={VIEW_ARTICLE:"viewArticle",ADD_TO_CART:"addToCart",CONTENT_UNLOCKED:"content_unlocked",CONTENT_ACCESS_UNRESOLVED:"content_access_unresolved",CONTENT_ACCESS_RECOVERED:"content_access_recovered"};let Ba=null;function k0(){Ba=!0}function C0(){Ba=!1}function $0(){Ba=null}function jc(){if(Ba!==null)return Ba;const t=document.querySelector('meta[name="sesamy:analytics"]');return(t==null?void 0:t.getAttribute("content"))!=="false"}function ra(...t){return t.find(e=>!!e)||window.location.href}function L0(t,e){return t==="public"?"public":t==="logged-in"?"logged-in":e?"unlocked":"locked"}function S0(t,e){return t||e}function na(t,e,r){if(jc())try{t.analytics.track(e,{name:e,...r})}catch(n){console.error(`Failed to track ${e}:`,n)}}var E0=new Set(["$$slots","$$events","$$legacy","accessDenied","api","t","horizontal","host","paywall","onShown","onAccessGranted"]),A0=R("<sesamy-login><!></sesamy-login>",2),Gc=R('<!> <div class="w-full h-px from-transparent bg-gradient-to-r to-transparent via-primary opacity-30"></div>',1),z0=R('<span class="break-all"> </span> <span aria-hidden="true">·</span>',1),T0=R('<!> <button type="button" class="border-0 bg-transparent p-0 underline underline-offset-4 transition-opacity hover:opacity-80"><!></button>',1),M0=R('<img class="h-7 mb-6"/>'),Hc=R("<!> <!>",1),P0=R('<form class="contents"><!> <!></form>'),I0=R("<!> <span></span>",1),R0=R('<!> <div><!> <div class="text-2xl leading-tight @md:text-3xl font-bold max-w-[600px]"><!></div></div> <!> <!> <!> <!> <div class="gap-3 row !justify-between w-full mt-4 @md:mt-8"><!> <!></div>',1),N0=R('<div class="@container" style="font-size: var(--s-base-font-size, 16px)"><!></div>');function Uc(t,e){He(e,!0);let r=ee(e,"accessDenied",3,!1),n=ee(e,"horizontal",3,!1),a=Vt(e,E0),o=ce(void 0),i=ce(void 0),s=ce(!1),l=ce(""),d=ce("pending"),u=ce(null);const h=async()=>{const j=await e.api.auth.getUser().catch(()=>null);c(d)!=="logged-out"&&(P(u,typeof(j==null?void 0:j.email)=="string"?j.email:null,!0),P(d,"logged-in"))},f=()=>{P(d,"logged-out"),P(u,null)},v=async()=>{try{await e.api.auth.logout()}catch(j){console.error("Logout failed:",j)}};Lo(()=>{window.addEventListener(jt.LOGOUT,f)}),Pa(()=>{window.removeEventListener(jt.LOGOUT,f)});const m=e.api.content.get(e.host),g=a!=null&&a.price?w0(a.price):m==null?void 0:m.price,y=(a==null?void 0:a["item-src"])||(m==null?void 0:m.url);let{subscriptions:C,singlePurchase:z,headline:F,currency:I,mainColor:T,showLoginButton:w,features:k,footerPaymentMethods:b,logoUrl:p,vendorId:L,settings:{useDefaultLogo:V,styling:D,redirectUrl:se,redirectLabel:Ne}}=e.paywall;const Ce=async()=>{var Oe,et,We,A;if(n())return!1;const j=e!=null&&e.pass?e.pass.split(";"):(et=(Oe=e.api.content.get(e.host))==null?void 0:Oe.pass)==null?void 0:et.split(";"),be=r()?!1:await e.api.entitlements.hasAccess(y||"",j);if(e.api.events.emit("sesamyPaywallAccessChecked",{hasAccess:be,paywallId:e.paywall.id,articleUrl:y,passes:j}),be)(We=e.onAccessGranted)==null||We.call(e),zr(e.host,"sesamy:access-granted",{scopes:j??[]});else{(A=e.onShown)==null||A.call(e);let $=!1;try{$=await e.api.auth.isAuthenticated()}catch(M){console.error("Auth check failed:",M)}$?w&&h():P(d,"logged-out"),zr(e.host,"sesamy:paywall-shown",{reason:$?"no-entitlement":"unauthenticated"})}return be},me=async j=>{if(P(l,""),P(s,!0),na(e.api,"addToCart",{itemSrc:ra(y),publisherContentId:m==null?void 0:m.id,sku:j.sku,purchaseOptionId:j.poId,price:j.price,currency:I,paywallId:e.paywall.id}),j!=null&&j.url&&(j==null?void 0:j.url)!==y){window.location.assign(j.url);return}const be=j!=null&&j.url?{url:j.url}:{sku:j.sku,purchaseOptionId:j.poId},Oe=Rc(j.redirectUrl,se,a==null?void 0:a["redirect-url"]),et=Nc(j.redirectLabel,Ne,a==null?void 0:a["redirect-label"]);try{const We={items:[be],requestedDiscountCodes:j.discountCode?[j.discountCode]:void 0,redirectUrl:Oe,redirectLabel:et,price:j.price,currency:I,attribution:{...Dc(a),...y?{itemSrc:y}:{},source:"PAYWALL",sourceId:e.paywall.id,...e.paywall.decisionId?{decisionId:e.paywall.decisionId}:{},...e.paywall.strategyId?{strategyId:e.paywall.strategyId}:{}}};if(e.api.events.emit("sesamyPaywallCreateCheckout",{payload:We,product:j,paywallId:e.paywall.id},!0).canceled){P(s,!1);return}const $=await e.api.checkouts.create(We);if(e.api.events.emit("sesamyPaywallProductSelected",{product:j,checkoutId:$.id,paywallId:e.paywall.id}),n()||j.preferBusiness){Xi($,void 0,j.preferBusiness);return}P(i,$,!0),P(s,!1)}catch(We){console.error(We),P(l,e.t("something_went_wrong"),!0),P(s,!1);return}},_e=async j=>{j.preventDefault(),c(o)&&await me(c(o))},ue=async j=>{const be={...j,features:Array.isArray(j.features)&&j.features.length>0?j.features:Array.isArray(k)?k:[]};P(o,be,!0),await me(be)},ne=j=>{P(l,""),P(o,{...j,features:Array.isArray(j.features)&&j.features.length>0?j.features:Array.isArray(k)?k:[]},!0)},O=()=>{e.api.events.emit("sesamyPaywallResetCheckout",{paywallId:e.paywall.id}),P(i,void 0)},Be=C.length>0;if(Be){const j=C.find(({selected:be})=>be);j?ne(j):(C[0].selected=!0,ne(C[0]))}const Se=D!=null&&D.showBackground&&(D!=null&&D.backgroundColor)?D.backgroundColor:"#FFFFFF",pe=(D==null?void 0:D.showBackground)&&!Ua(Se),de=pe?"#FFFFFF":"#000000",S=Ua(T)?"#000000":"#FFFFFF";let q=ce(mr(pe)),re="<style>"+`
|
|
38
|
+
${e.currency??""} `)},[()=>Ve(ie("text-base font-bold leading-none",c(y)&&"line-through text-gray-400 text-sm"))]),x(Se,pe)};B(ue,Se=>{c(g)&&Se(ne)})}H(Ce);var O=E(Ce,2);{var Be=Se=>{pc(Se,{get text(){return c(m).tag},get t(){return e.t}})};B(O,Se=>{c(m).tag&&Se(Be)})}x(V,se)},$$slots:{default:!0}}),x(w,k)};B(F,w=>{r()?w(I):w(T,-1)})}x(h,z)}),x(s,d)},$$slots:{default:!0}})}Ue()}var v2=R('<div class="text-base font-bold leading-tight"> </div> <div class="text-sm"></div>',1),p2=R('<!> <div class="text-base font-bold"> </div>',1);function g2(t,e){He(e,!0);let{title:r,description:n}=e.singlePurchase;const a=()=>{e.selectProduct({...e.singlePurchase,price:e.singlePurchasePrice,url:e.articleUrl})};e.articleUrl&&!e.hasSubscriptions&&a();var o=Ke(),i=U(o);{var s=l=>{Yi(l,{children:(d,u)=>{{let h=Z(()=>!e.hasSubscriptions);Ro(d,{id:"single-purchase",name:"purchase-option",class:"gap-2 @md:gap-4",get checked(){return c(h)},onchange:a,children:(f,v)=>{var m=p2(),g=U(m);It(g,{left:!0,children:(z,F)=>{var I=v2(),T=U(I),w=Ie(T,!0),k=E(T,2);sn(k,()=>n,!0),H(k),G(()=>Q(w,r)),x(z,I)},$$slots:{default:!0}});var y=E(g,2),C=Ie(y);G(()=>Q(C,`${e.singlePurchasePrice??""} ${e.currency??""}`)),x(f,m)},$$slots:{default:!0}})}},$$slots:{default:!0}})};B(i,l=>{e.articleUrl&&l(s)})}x(t,o),Ue()}var _2=R("<!> <span> </span>",1);function _c(t,e){Tr(t,{role:"alert",left:!0,class:"w-full gap-2 rounded-md border border-red-500 bg-red-500/10 p-3 text-sm leading-tight font-bold text-red-500 !flex-nowrap",children:(r,n)=>{var a=_2(),o=U(a);ir(o,{name:"info",class:"shrink-0 text-2xl -translate-y-px"});var i=E(o,2),s=Ie(i,!0);G(()=>Q(s,e.text)),x(r,a)},$$slots:{default:!0}})}const b2=["AF","AL","DZ","AS","AD","AO","AI","AQ","AG","AR","AM","AW","AU","AT","AZ","BS","BH","BD","BB","BY","BE","BZ","BJ","BM","BT","BO","BA","BW","BV","BR","IO","BN","BG","BF","BI","CV","KH","CM","CA","KY","CF","TD","CL","CN","CX","CC","CO","KM","CG","CD","CK","CR","HR","CU","CY","CZ","DK","DJ","DM","DO","EC","EG","SV","GQ","ER","EE","SZ","ET","FK","FO","FJ","FI","FR","GF","PF","TF","GA","GM","GE","DE","GH","GI","GR","GL","GD","GP","GU","GT","GG","GN","GW","GY","HT","HM","VA","HN","HK","HU","IS","IN","ID","IR","IQ","IE","IM","IL","IT","JM","JP","JE","JO","KZ","KE","KI","KR","KW","KG","LV","LB","LS","LR","LY","LI","LT","LU","MO","MG","MW","MY","MV","ML","MT","MH","MQ","MR","MU","YT","MX","FM","MD","MC","MN","MS","MA","MZ","MM","NA","NR","NP","NL","AN","NC","NZ","NI","NE","NG","MK","NU","NF","MP","NO","OM","PK","PW","PS","PA","PG","PY","PE","PH","PN","PL","PT","PR","QA","RO","RU","RW","RE","SH","KN","LC","PM","VC","WS","SM","ST","SA","SN","CS","SC","SL","SG","SK","SI","SB","SO","ZA","GS","ES","LK","SD","SR","SJ","SE","CH","SY","TW","TJ","TZ","TH","TL","TG","TK","TO","TT","TN","TR","TM","TC","TV","UG","UA","AE","GB","UM","US","UY","UZ","VU","VE","VN","VG","VI","WF","EH","YE","ZM","ZN","AX"],bc=new Map;function yc(t,e="en"){let r=bc.get(e);return r||(r=new Intl.DisplayNames(e,{type:"region"}),bc.set(e,r)),r.of(t.toUpperCase())}function y2(){return b2}function w2(t="en"){return y2().map(e=>({value:e,label:yc(e,t)||""})).sort((e,r)=>e.label<r.label?-1:e.label>r.label?1:0)}var x2=new Set(["$$slots","$$events","$$legacy","value","error","hasError","placeholder","compact","class"]),k2=R("<div> </div>"),C2=R("<label><input/> <!></label>");function sr(t,e){He(e,!0);let r=ee(e,"value",15),n=ee(e,"hasError",3,!1),a=ee(e,"placeholder",3,""),o=ee(e,"compact",3,!1),i=ee(e,"class",3,""),s=Vt(e,x2),l;function d(){l==null||l.focus()}var u={focus:d},h=C2(),f=Y(h);yt(f,g=>({...s,class:g,placeholder:a()}),[()=>ie("relative peer w-full rounded-md border border-gray-200 p-4 text-base leading-snug text-gray-800 outline-0 transition-colors duration-150 placeholder:text-gray-400 focus:border-gray-300 focus:z-10 disabled:opacity-[20%] dark:border-gray-700 dark:focus:border-gray-600 dark:bg-black/25 dark:text-gray-100",(n()||!!e.error)&&"!border-red-500",o()&&"pb-2 pt-6 placeholder:text-transparent",String(i()))],void 0,void 0,void 0,!0),Ao(f,g=>l=g,()=>l);var v=E(f,2);{var m=g=>{var y=k2(),C=Ie(y,!0);G(z=>{je(y,1,z),Q(C,a())},[()=>Ve(ie("pointer-events-none absolute z-20 left-4 right-4 top-1/2 line-clamp-1 -translate-y-1/2 text-base font-medium text-gray-400 transition-[transform,font-size] peer-focus:-translate-y-[calc(50%+theme(space.3))] peer-focus:text-xs",!!r()&&"-translate-y-[calc(50%+theme(space.3))] text-xs sm:text-xs"))]),x(g,y)};B(v,g=>{o()&&g(m)})}return H(h),G(g=>je(h,1,g),[()=>Ve(ie("relative w-full column-left",(n()||!!e.error)&&"z-20"))]),n1(f,r),x(t,h),Ue(u)}var $2=R("<div><!></div>");function Do(t,e){He(e,!0);var r=$2(),n=Y(r);Zn(n,()=>e.children),H(r),G(a=>je(r,1,a),[()=>Ve(ie("w-full [&>label:first-child>:where(select,input)]:rounded-t-md [&>label:last-child>:where(select,input)]:rounded-b-md [&>label>:where(select,input)]:rounded-none [&_label>:where(select,input)]:-mt-px [&_label>select]:-mt-px","max-sm:gap-0 max-sm:[&>*:first-child>*:first-child>label:first-of-type>:where(select,input)]:rounded-t-md max-sm:[&>*:last-child>*:last-child>label:last-of-type>:where(select,input)]:rounded-b-md max-sm:[&>*]:gap-0 max-sm:[&_label>:where(select,input)]:rounded-none",e.class))]),x(t,r),Ue()}var L2=new Set(["$$slots","$$events","$$legacy","value","class","hasError","options","placeholder","compact"]),S2=R("<option> </option>"),E2=R("<div> </div>"),A2=R('<label class="relative w-full gap-2 column-left focus-within:z-10"><select></select> <!> <!></label>');function z2(t,e){He(e,!0);let r=ee(e,"value",15),n=ee(e,"class",3,""),a=ee(e,"hasError",3,!1),o=ee(e,"placeholder",3,""),i=ee(e,"compact",3,!1),s=Vt(e,L2);var l=A2(),d=Y(l);yt(d,v=>({class:v,...s}),[()=>ie("relative peer w-full appearance-none rounded-md border border-gray-200 bg-white p-4 text-base leading-snug text-gray-800 outline-0 transition-colors duration-150 placeholder:text-gray-400 focus:border-gray-300 disabled:opacity-[20%] dark:border-gray-700 dark:bg-black/25 dark:text-gray-100",a()&&"!border-red-500 z-10",i()&&"pb-2 pt-6 placeholder:text-transparent",String(n()))]),an(d,21,()=>e.options,({value:v,label:m})=>v,(v,m,g,y)=>{let C=()=>c(m).value,z=()=>c(m).label;var F=S2(),I=Ie(F,!0),T={};G(()=>{Q(I,z()),T!==(T=C())&&(F.value=(F.__value=T)??"")}),x(v,F)}),H(d);var u=E(d,2);{var h=v=>{var m=E2(),g=Ie(m,!0);G(y=>{je(m,1,y),Q(g,o())},[()=>Ve(ie("pointer-events-none absolute left-4 right-4 top-1/2 line-clamp-1 -translate-y-1/2 text-base font-medium text-gray-400 transition-[transform,font-size] peer-focus:-translate-y-[calc(50%+theme(space.3))] peer-focus:text-xs",r()!==void 0&&r()&&"-translate-y-[calc(50%+theme(space.3))] text-xs sm:text-xs"))]),x(v,m)};B(u,v=>{i()&&v(h)})}var f=E(u,2);ir(f,{class:"pointer-events-none absolute right-4 top-1/2 -translate-y-1/2 text-xs text-gray-300 peer-focus-visible:text-gray-400 sm:text-xs",name:"chevron-down"}),H(l),Yu(d,r),x(t,l),Ue()}function Oo(t){return!!t.match(/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/)}const T2=()=>{if(typeof window>"u"||typeof navigator>"u"||"ApplePaySession"in window)return!1;const t=navigator.userAgentData;return!!(t!=null&&t.mobile)||/Android|iPhone|iPad|iPod/i.test(navigator.userAgent)},M2=t=>{if(!t.some(({provider:r,method:n})=>r==="STRIPE"&&n==="CARD"))return[];const e=[{provider:"STRIPE",method:"GOOGLE-PAY"}];return T2()||e.push({provider:"STRIPE",method:"APPLE-PAY"}),e};function P2(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Va={},Jn={},Xn={},Fo={},wc;function I2(){if(wc)return Fo;wc=1,Object.defineProperty(Fo,"__esModule",{value:!0});function t(e,r){if(!e)throw new Error(r)}return Fo.default=t,Fo}var xc;function R2(){if(xc)return Xn;xc=1;var t=Xn&&Xn.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(Xn,"__esModule",{value:!0});const e=t(I2());function r(n){e.default(Array.isArray(n.domains),"domains must be an array"),e.default(Array.isArray(n.topLevelDomains),"topLevelDomains must be an array"),e.default(Array.isArray(n.secondLevelDomains),"secondLevelDomains must be an array"),e.default(typeof n.distanceFunction=="function","distanceFunction must be a function")}return Xn.default=r,Xn}var Qn={},qo={},kc;function N2(){if(kc)return qo;kc=1,Object.defineProperty(qo,"__esModule",{value:!0});function t(e){return encodeURI(e).replace(/%20/g," ").replace(/%25/g,"%").replace(/%5E/g,"^").replace(/%60/g,"`").replace(/%7B/g,"{").replace(/%7C/g,"|").replace(/%7D/g,"}")}return qo.default=t,qo}var jo={},Cc;function D2(){if(Cc)return jo;Cc=1,Object.defineProperty(jo,"__esModule",{value:!0});function t(e){const{domain:r,domains:n,distanceFunction:a,threshold:o}=e;let i,s=1/0,l=null;if(!(!r||!n)){for(let d=0;d<n.length;d++){if(r===n[d])return r;i=a(r,n[d]),i<s&&(s=i,l=n[d])}if(s<=o&&l!==null)return l}}return jo.default=t,jo}var ea={},Go={},$c;function O2(){if($c)return Go;$c=1,Object.defineProperty(Go,"__esModule",{value:!0});const t=/\s/;function e(a){return a.trim?a.trim():n(r(a))}function r(a){return a.trimLeft?a.trimLeft():a.replace(/^\s\s*/,"")}function n(a){if(a.trimRight)return a.trimRight();let o=a.length;for(;t.test(a.charAt(--o)););return a.slice(0,o+1)}return Go.default=e,Go}var Lc;function F2(){if(Lc)return ea;Lc=1;var t=ea&&ea.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(ea,"__esModule",{value:!0});const e=t(O2()),r=2;function n(a){const i=e.default(a).split("@");if(i.length<r)return!1;for(let h=0;h<i.length;h++)if(i[h]==="")return!1;let s="",l="";const d=i.pop(),u=d.split(".");if(u.length===0)return!1;if(u.length==1)l=u[0];else{s=u[0];for(let h=1;h<u.length;h++)l+=u[h]+".";l=l.substring(0,l.length-1)}return{topLevelDomain:l,secondLevelDomain:s,domain:d,address:i.join("@")}}return ea.default=n,ea}var Sc;function q2(){if(Sc)return Qn;Sc=1;var t=Qn&&Qn.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(Qn,"__esModule",{value:!0});const e=t(N2()),r=t(D2()),n=t(F2());function a(o){const i=e.default(o.email.toLowerCase()),s=n.default(i);if(!s)return;const{domains:l,domainThreshold:d,distanceFunction:u,secondLevelDomains:h,topLevelDomains:f}=o;if(h&&f&&h.indexOf(s.secondLevelDomain)!==-1&&f.indexOf(s.topLevelDomain)!==-1)return;let v=r.default({domain:s.domain,domains:l,distanceFunction:u,threshold:d});if(v)return v==s.domain?void 0:{address:s.address,domain:v,full:s.address+"@"+v};const m=r.default({domain:s.secondLevelDomain,domains:h,distanceFunction:u,threshold:o.secondLevelThreshold}),g=r.default({domain:s.topLevelDomain,domains:f,distanceFunction:u,threshold:o.topLevelThreshold});if(s.domain){v=s.domain;let y=!1;if(m&&m!=s.secondLevelDomain&&(v=v.replace(s.secondLevelDomain,m),y=!0),g&&g!=s.topLevelDomain&&s.secondLevelDomain!==""&&(v=v.replace(new RegExp(s.topLevelDomain+"$"),g),y=!0),y)return{address:s.address,domain:v,full:s.address+"@"+v}}}return Qn.default=a,Qn}var Ho={},gr={},Uo={},Ec;function j2(){if(Ec)return Uo;Ec=1,Object.defineProperty(Uo,"__esModule",{value:!0});function t(e,r){if(e==null||e.length===0)return r==null||r.length===0?0:r.length;if(r==null||r.length===0)return e.length;let n=0,a=0,o=0,i=0;const s=5;for(;n+a<e.length&&n+o<r.length;){if(e.charAt(n+a)==r.charAt(n+o))i++;else{a=0,o=0;for(let l=0;l<s;l++){if(n+l<e.length&&e.charAt(n+l)==r.charAt(n)){a=l;break}if(n+l<r.length&&e.charAt(n)==r.charAt(n+l)){o=l;break}}}n++}return(e.length+r.length)/2-i}return Uo.default=t,Uo}var Ac;function zc(){if(Ac)return gr;Ac=1;var t=gr&&gr.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(gr,"__esModule",{value:!0}),gr.POPULAR_TLDS=gr.POPULAR_DOMAINS=gr.DEFAULT_CONFIG=void 0;const e=t(j2()),r=["msn.com","bellsouth.net","telus.net","comcast.net","optusnet.com.au","earthlink.net","qq.com","sky.com","icloud.com","sympatico.ca","googlemail.com","att.net","xtra.co.nz","web.de","cox.net","gmail.com","ymail.com","aim.com","rogers.com","verizon.net","rocketmail.com","optonline.net","sbcglobal.net","aol.com","aim.com","me.com","mailw.com","btinternet.com","charter.net","shaw.ca","hey.com","proton.me","pm.com","protonmail.com","zoho.com","yandex.com","titan.email"];gr.POPULAR_DOMAINS=r;const n=["com","com.au","com.tw","co","ca","co.nz","co.uk","de","fr","it","ru","org","edu","gov","jp","nl","kr","se","eu","ie","co.il","us","at","be","dk","hk","es","gr","ch","no","cz","net","net.au","info","biz","mil","co.jp","sg","hu","uk","sk","ar","cf","cl","cn","ga","gq","ir","ml","mx","nu","nz","ph","pl","ro","tk","tw","ua","vg","ws","xn","za","app","au","ai","biz","br","blog","cloud","club","cc","de","dev","digital","fi","finance","id","in","io","me","mobi","network","pw","so","xyz","software","to","tech"];gr.POPULAR_TLDS=n;const a={domainThreshold:2,domains:r,secondLevelThreshold:2,secondLevelDomains:["yahoo","hotmail","mail","live","outlook"],topLevelThreshold:2,topLevelDomains:n,distanceFunction:e.default};return gr.DEFAULT_CONFIG=a,gr}var Tc;function G2(){if(Tc)return Ho;Tc=1,Object.defineProperty(Ho,"__esModule",{value:!0});const t=zc();function e(r){return{email:r.email,domains:r.domains||t.DEFAULT_CONFIG.domains,topLevelDomains:r.topLevelDomains||t.DEFAULT_CONFIG.topLevelDomains,secondLevelDomains:r.secondLevelDomains||t.DEFAULT_CONFIG.secondLevelDomains,distanceFunction:r.distanceFunction||t.DEFAULT_CONFIG.distanceFunction,domainThreshold:r.domainThreshold||t.DEFAULT_CONFIG.domainThreshold,secondLevelThreshold:r.secondLevelThreshold||t.DEFAULT_CONFIG.secondLevelThreshold,topLevelThreshold:r.topLevelThreshold||t.DEFAULT_CONFIG.topLevelThreshold,suggested:r.suggested||void 0,empty:r.suggested||void 0}}return Ho.default=e,Ho}var Mc;function H2(){if(Mc)return Jn;Mc=1;var t=Jn&&Jn.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(Jn,"__esModule",{value:!0});const e=t(R2()),r=t(q2()),n=t(G2());function a(o){const i=n.default(o);e.default(i||{});const s=r.default(i);return!s&&o.empty&&o.empty(),s&&o.suggested&&o.suggested(s),s}return Jn.default=a,Jn}var Pc;function U2(){return Pc||(Pc=1,(function(t){var e=Va&&Va.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(t,"__esModule",{value:!0}),t.POPULAR_TLDS=t.POPULAR_DOMAINS=t.run=void 0;const r=e(H2());t.run=r.default;const n=zc();Object.defineProperty(t,"POPULAR_DOMAINS",{enumerable:!0,get:function(){return n.POPULAR_DOMAINS}}),Object.defineProperty(t,"POPULAR_TLDS",{enumerable:!0,get:function(){return n.POPULAR_TLDS}});const a={run:r.default,POPULAR_DOMAINS:n.POPULAR_DOMAINS,POPULAR_TLDS:n.POPULAR_TLDS};t.default=a})(Va)),Va}var V2=U2();const Ji=P2(V2);var B2=R('<div><div class="overflow-hidden"><!></div></div>');function Ic(t,e){He(e,!0);let r=ee(e,"isOpen",3,!1);var n=B2(),a=Y(n),o=Y(a);At(o,e,"default",{},null),H(a),H(n),G(i=>je(n,1,i),[()=>Ve(ie("grid transition-[grid-template-rows] duration-200 ease-out grid-rows-[0fr]",r()&&"grid-rows-[1fr]"))]),x(t,n),Ue()}const Rc=(...t)=>{for(const e of t){const r=e==null?void 0:e.trim();if(r){try{new URL(r)}catch{console.warn(`Ignoring paywall redirect url that is not an absolute URL: ${r}`);continue}return r}}return window.location.href},Nc=(...t)=>{for(const e of t){const r=e==null?void 0:e.trim();if(r)return r}},W2=[["utmSource","utm-source"],["utmMedium","utm-medium"],["utmCampaign","utm-campaign"],["utmTerm","utm-term"],["utmContent","utm-content"]],Dc=t=>{const e={};for(const[r,n]of W2){const a=t==null?void 0:t[n];a&&(e[r]=a)}return e},Xi=async(t,e,r)=>{const n=new URL(t.checkoutUrl);n.searchParams.set("norecreate","true"),t.language&&n.searchParams.set("lang",t.language),t.redirectUrl&&n.searchParams.set("redirect-url",t.redirectUrl),e&&n.searchParams.set("payment-method",e.method),r&&n.searchParams.set("business","true"),window.location.href=n.href};var Z2=R('<div class="w-full rounded-md border border-gray-200 dark:border-gray-700"><div class="px-4 py-2 text-xs text-gray-600 font-bold dark:text-gray-100 bg-white dark:bg-black/25 rounded-t-md"> </div> <div class="grid grid-cols-3 w-[calc(100%+2px)] -m-px"><!> <!> <!></div></div>');function Y2(t,e){He(e,!0);let r=ee(e,"year",15,""),n=ee(e,"month",15,""),a=ee(e,"day",15,""),o=ee(e,"hasError",3,!1),i,s,l;const d=(T,w,k)=>_=>{const p=_.target,L=p.value.replace(/[^0-9]/g,""),V=w?L.slice(0,w):L;p.value=V,T(V),w&&k&&V.length===w&&setTimeout(()=>{const D=k();D&&D.focus&&D.focus()},0)},u=T=>w=>{w.key==="Backspace"&&w.target.value===""&&T&&setTimeout(()=>{const _=T();_&&_.focus&&_.focus()},0)},h=T=>{var w;r(T),(w=e.onYearChange)==null||w.call(e,T)},f=T=>{var w;n(T),(w=e.onMonthChange)==null||w.call(e,T)},v=T=>{var w;a(T),(w=e.onDayChange)==null||w.call(e,T)};var m=Z2(),g=Y(m),y=Ie(g,!0),C=E(g,2),z=Y(C);{let T=Z(()=>d(h,4,()=>s)),w=Z(u),k=Z(()=>e.t("year")),_=Z(()=>new Date().getFullYear());Ao(sr(z,{get oninput(){return c(T)},get onkeydown(){return c(w)},name:"birth-year",inputmode:"numeric",compact:!0,get placeholder(){return c(k)},get hasError(){return o()},min:"1900",get max(){return c(_)},autocomplete:"bday-year",class:"rounded-none rounded-bl-md w-[calc(100%+1px)]",get value(){return r()},set value(p){r(p)}}),p=>i=p,()=>i)}var F=E(z,2);{let T=Z(()=>d(f,2,()=>l)),w=Z(()=>u(()=>i)),k=Z(()=>e.t("month"));Ao(sr(F,{get oninput(){return c(T)},get onkeydown(){return c(w)},name:"birth-month",inputmode:"numeric",compact:!0,get placeholder(){return c(k)},get hasError(){return o()},min:"1",max:"12",autocomplete:"bday-month",class:"rounded-none w-[calc(100%+1px)]",get value(){return n()},set value(_){n(_)}}),_=>s=_,()=>s)}var I=E(F,2);{let T=Z(()=>d(v,2)),w=Z(()=>u(()=>s)),k=Z(()=>e.t("day"));Ao(sr(I,{get oninput(){return c(T)},get onkeydown(){return c(w)},name:"birth-day",inputmode:"numeric",compact:!0,get placeholder(){return c(k)},get hasError(){return o()},min:"1",max:"31",autocomplete:"bday-day",class:"rounded-none rounded-br-md",get value(){return a()},set value(_){a(_)}}),_=>l=_,()=>l)}H(C),H(m),G(T=>Q(y,T),[()=>e.t("date_of_birth")]),x(t,m),Ue()}const K2=["VIPPS","KLARNA_PRIVATE","STRIPE_KLARNA","SWISH_DIRECT","SWISH","APPLE-PAY","GOOGLE-PAY","CARD"],Vo={US:["1","1",[10]],AG:["1","1",[10]],AI:["1","1",[10]],AS:["1","1",[10]],BB:["1","1",[10]],BM:["1","1",[10]],BS:["1","1",[10]],CA:["1","1",[7,10]],DM:["1","1",[10]],DO:["1","1",[10]],GD:["1","1",[10]],GU:["1","1",[10]],JM:["1","1",[10]],KN:["1","1",[10]],KY:["1","1",[10]],LC:["1","1",[10]],MP:["1","1",[10]],MS:["1","1",[10]],PR:["1","1",[10]],SX:["1","1",[10]],TC:["1","1",[10]],TT:["1","1",[10]],VC:["1","1",[10]],VG:["1","1",[10]],VI:["1","1",[10]],RU:["7","8",[10,14]],KZ:["7","8",[10,14]],EG:["20","0",[8,9,10]],ZA:["27","0",[5,6,7,8,9,10]],GR:["30","",[10,11,12]],NL:["31","0",[5,6,7,8,9,10,11]],BE:["32","0",[8,9]],FR:["33","0",[9]],ES:["34","",[9]],HU:["36","06",[8,9]],IT:["39","",[6,7,8,9,10,11,12]],VA:["39","",[6,7,8,9,10,11,12]],RO:["40","0",[6,9]],CH:["41","0",[9,12]],AT:["43","0",[4,5,6,7,8,9,10,11,12,13]],GB:["44","0",[7,9,10]],GG:["44","0",[7,9,10]],IM:["44","0",[10]],JE:["44","0",[10]],DK:["45","",[8]],SE:["46","0",[6,7,8,9,10,12]],NO:["47","",[5,8]],SJ:["47","",[5,8]],PL:["48","",[6,7,8,9,10]],DE:["49","0",[4,5,6,7,8,9,10,11,12,13,14,15]],PE:["51","0",[8,9]],MX:["52","",[10]],CU:["53","0",[6,7,8,10]],AR:["54","0",[10,11]],BR:["55","0",[8,9,10,11]],CL:["56","",[9,10,11]],CO:["57","0",[8,10,11]],VE:["58","0",[10]],MY:["60","0",[8,9,10]],AU:["61","0",[5,6,7,8,9,10,12]],CC:["61","0",[6,7,8,9,10,12]],CX:["61","0",[6,7,8,9,10,12]],ID:["62","0",[7,8,9,10,11,12,13,14,15,16,17]],PH:["63","0",[6,8,9,10,11,12,13]],NZ:["64","0",[5,6,7,8,9,10]],SG:["65","",[8,10,11]],TH:["66","0",[8,9,10,13]],JP:["81","0",[8,9,10,11,12,13,14,15,16,17]],KR:["82","0",[5,6,8,9,10,11,12,13,14]],VN:["84","0",[7,8,9,10]],CN:["86","0",[7,8,9,10,11,12]],TR:["90","0",[7,10,12,13]],IN:["91","0",[8,9,10,11,12,13]],PK:["92","0",[8,9,10,11,12]],AF:["93","0",[9]],LK:["94","0",[9]],MM:["95","0",[6,7,8,9,10]],IR:["98","0",[4,5,6,7,10]],SS:["211","0",[9]],MA:["212","0",[9]],EH:["212","0",[9]],DZ:["213","0",[8,9]],TN:["216","",[8]],LY:["218","0",[9]],GM:["220","",[7,9]],SN:["221","",[9]],MR:["222","",[8]],ML:["223","",[8]],GN:["224","",[8,9]],CI:["225","",[10]],BF:["226","",[8]],NE:["227","",[8]],TG:["228","",[8]],BJ:["229","",[8,10]],MU:["230","",[7,8,10]],LR:["231","0",[7,8,9]],SL:["232","0",[8]],GH:["233","0",[8,9]],NG:["234","0",[10,11,12,13,14]],TD:["235","",[8]],CF:["236","",[8]],CM:["237","",[8,9]],CV:["238","",[7]],ST:["239","",[7]],GQ:["240","",[9]],GA:["241","",[7,8]],CG:["242","",[9]],CD:["243","0",[7,8,9,10]],AO:["244","",[9]],GW:["245","",[7,9]],IO:["246","",[7]],AC:["247","",[5,6]],SC:["248","",[7]],SD:["249","0",[9]],RW:["250","0",[8,9]],ET:["251","0",[9]],SO:["252","0",[6,7,8,9]],DJ:["253","",[8]],KE:["254","0",[7,8,9,10]],TZ:["255","0",[9]],UG:["256","0",[9]],BI:["257","",[8]],MZ:["258","",[8,9]],ZM:["260","0",[9]],MG:["261","0",[9]],RE:["262","0",[9]],YT:["262","0",[9]],ZW:["263","0",[7,9,10]],NA:["264","0",[8,9]],MW:["265","0",[7,9]],LS:["266","",[8]],BW:["267","",[7,8,10]],SZ:["268","",[8,9]],KM:["269","",[7]],SH:["290","",[4,5]],TA:["290","",[4]],ER:["291","0",[7]],AW:["297","",[7]],FO:["298","",[6]],GL:["299","",[6]],GI:["350","",[8]],PT:["351","",[9]],LU:["352","",[4,5,6,7,8,9,10,11]],IE:["353","0",[7,8,9,10]],IS:["354","",[7,9]],AL:["355","0",[6,7,8,9]],MT:["356","",[8]],CY:["357","",[8]],FI:["358","0",[5,6,7,8,9,10,11,12]],AX:["358","0",[5,6,7,8,9,10,11,12]],BG:["359","0",[6,7,8,9,12]],LT:["370","0",[8]],LV:["371","",[8]],EE:["372","",[7,8,10]],MD:["373","0",[8]],AM:["374","0",[8]],BY:["375","8",[6,7,8,9,10,11]],AD:["376","",[6,8,9]],MC:["377","0",[8,9]],SM:["378","",[8,10]],UA:["380","0",[9,10]],RS:["381","0",[6,7,8,9,10,11,12]],ME:["382","0",[8,9]],XK:["383","0",[8,9,10,11,12]],HR:["385","0",[7,8,9]],SI:["386","0",[5,6,7,8]],BA:["387","0",[8,9]],MK:["389","0",[8]],CZ:["420","",[9,10,11,12]],SK:["421","0",[6,7,9]],LI:["423","0",[7,9]],FK:["500","",[5]],BZ:["501","",[7,11]],GT:["502","",[8,11]],SV:["503","",[7,8,11]],HN:["504","",[8,11]],NI:["505","",[8]],CR:["506","",[8,10]],PA:["507","",[7,8,10,11]],PM:["508","0",[6,9]],HT:["509","",[8]],GP:["590","0",[9]],BL:["590","0",[9]],MF:["590","0",[9]],BO:["591","0",[8,9]],GY:["592","",[7]],EC:["593","0",[8,9,10,11]],GF:["594","0",[9]],PY:["595","0",[6,7,8,9,10,11]],MQ:["596","0",[9]],SR:["597","",[6,7]],UY:["598","0",[4,5,6,7,8,9,10,11,12,13]],CW:["599","",[7,8]],BQ:["599","",[7]],TL:["670","",[7,8]],NF:["672","",[6]],BN:["673","",[7]],NR:["674","",[7]],PG:["675","",[7,8]],TO:["676","",[5,7]],SB:["677","",[5,7]],VU:["678","",[5,7]],FJ:["679","",[7,11]],PW:["680","",[7]],WF:["681","",[6,9]],CK:["682","",[5]],NU:["683","",[4,7]],WS:["685","",[5,6,7,10]],KI:["686","0",[5,8]],NC:["687","",[6]],TV:["688","",[5,6,7]],PF:["689","",[6,8,9]],TK:["690","",[4,5,6,7]],FM:["691","",[7]],MH:["692","1",[7]],KP:["850","0",[8,10]],HK:["852","",[5,6,7,8,9,11]],MO:["853","",[7,8]],KH:["855","0",[8,9,10]],LA:["856","0",[8,9,10]],BD:["880","0",[6,7,8,9,10]],TW:["886","0",[7,8,9,10,11]],MV:["960","",[7,10]],LB:["961","0",[7,8]],JO:["962","0",[8,9]],SY:["963","0",[8,9]],IQ:["964","0",[8,9,10]],KW:["965","",[7,8]],SA:["966","0",[9,10]],YE:["967","0",[7,8,9]],OM:["968","",[7,8,9]],PS:["970","0",[8,9,10]],AE:["971","0",[5,6,7,8,9,10,11,12]],IL:["972","0",[7,8,9,10,11,12]],BH:["973","",[8]],QA:["974","",[7,8,9,11]],BT:["975","",[7,8]],MN:["976","0",[8,9,10]],NP:["977","0",[8,10,11]],TJ:["992","",[9]],TM:["993","8",[8]],AZ:["994","0",[9]],GE:["995","0",[9]],KG:["996","0",[9,10]],UZ:["998","",[9]]},Oc=Object.keys(Vo);function ta(t){var e;return((e=Vo[t])==null?void 0:e[0])??""}function Bo(t,e){var r;return((r=Vo[t])==null?void 0:r[2].includes(e.length))??!1}function Qi(t){const e=/^\s*(\+|00)(.*)$/.exec(t);return e?e[2].replace(/\D/g,""):null}function J2(t,e){return[e,...Oc].find(r=>{const n=ta(r);return n&&t.startsWith(n)})??e}function X2(t,e){const r=J2(t,e),n=ta(r);return{value:`+${t}`,valid:t.startsWith(n)&&Bo(r,t.slice(n.length)),country:r}}function Q2(t,e,r){const n=e0(t,e);if(!r||!n.value)return n;const a=Qi(t),o=a===null?t:`+${a}`,i=r.parsePhoneNumberFromString(o,e);return i?{value:i.number,valid:i.isValid(),country:n.country}:{...n,valid:!1}}function Fc(t,e,r){return new r.AsYouType(e).input(t)}function e0(t,e){const r=t.replace(/\D/g,"");if(!r)return{value:null,valid:!1,country:e};const n=Qi(t);if(n!==null)return n?X2(n,e):{value:null,valid:!1,country:e};const[a="",o=""]=Vo[e]??[];let i=r;if(o&&r.startsWith(o)){const s=r.slice(o.length);Bo(e,r)&&!Bo(e,s)||(i=s)}return i?{value:`+${a}${i}`,valid:Bo(e,i),country:e}:{value:null,valid:!1,country:e}}const t0=t=>`https://scripts.sesamy.com/s/${encodeURIComponent(t)}/phone-lib/${Ye}`,r0=t=>import(t),es=new Map;function n0(t,e=r0){const r=t0(t);let n=es.get(r);return n||(n=e(r).catch(a=>{throw es.delete(r),a}),es.set(r,n)),n}var a0=R("<option> </option>"),o0=R('<label><div class="absolute top-0 left-px bottom-px z-20 text-gray-300 focus-within:text-gray-400"><div class="relative inline-flex pl-4 pr-2 items-center h-full gap-2 rounded-md"><span class="text-base text-gray-800 dark:text-gray-100"> </span> <!></div> <select id="phone-country-select" class="absolute peer inset-0 opacity-0 cursor-pointer"></select></div> <input type="tel" autocomplete="tel" required=""/> <div> </div></label>');function i0(t,e){He(e,!0);let r=ee(e,"value",15),n=ee(e,"valid",15),a=ee(e,"selectedCountry",15),o=ee(e,"locale",3,"en"),i=ee(e,"hasError",3,!1),s=ce(mr(st(()=>r())??"")),l=st(()=>r()),d=ce(null);Lo(()=>{n0(e.vendorId).then(p=>P(d,p,!0)).catch(p=>{console.warn("[sesamy] Phone number library unavailable, using basic validation",p)})});const u=p=>{const L=p.currentTarget;let V=L.value;const D=p instanceof InputEvent&&p.inputType.startsWith("insert");c(d)&&D&&L.selectionStart===V.length&&(V=Fc(V,a(),c(d)),L.value=V),P(s,V,!0)},h=p=>{const L=p.currentTarget.value,V=Qi(c(s)),D=ta(a());if(V!=null&&V.startsWith(D)){const se=V.slice(D.length);P(s,c(d)?Fc(se,L,c(d)):se,!0)}a(L)},f=Z(()=>Oc.map(p=>({code:p,label:`${yc(p,o())||p} (+${ta(p)})`})).sort((p,L)=>p.label.localeCompare(L.label,o()))),v=Z(()=>Q2(c(s),a(),c(d)));Hr(()=>{l=c(v).value,r(c(v).value),n(c(v).valid),c(v).country!==a()&&a(c(v).country)}),Hr(()=>{const p=r();st(()=>{p!==l&&P(s,p??"",!0)})}),Hr(()=>{var p;r(),(p=e.onChange)==null||p.call(e)});var m=o0(),g=Y(m),y=Y(g),C=Y(y),z=Ie(C),F=E(C,2);ir(F,{class:"!text-xs",name:"chevron-down"}),H(y);var I=E(y,2);an(I,21,()=>c(f),p=>p.code,(p,L)=>{var V=a0(),D=Ie(V,!0),se={};G(()=>{Q(D,c(L).label),se!==(se=c(L).code)&&(V.value=(V.__value=se)??"")}),x(p,V)}),H(I);var T;Pl(I),H(g);var w=E(g,2);Pi(w);var k=E(w,2),_=Ie(k,!0);H(m),G((p,L,V,D,se,Ne)=>{je(m,1,p),Q(z,`+${L??""}`),Ee(I,"aria-label",V),T!==(T=a())&&(I.value=(I.__value=T)??"",Da(I,T)),e1(w,c(s)),Ee(w,"name",e.name),je(w,1,D),je(k,1,se),Q(_,Ne)},[()=>Ve(ie("relative w-full gap-2 column-left",i()&&"z-20")),()=>ta(a()),()=>e.t("country"),()=>Ve(ie("placeholder:text-transparent relative peer w-full rounded-md border border-gray-200 pl-[84px] pr-4 pb-2 pt-6 text-base leading-snug text-gray-800 outline-0 transition-colors duration-150 placeholder:text-gray-400 focus:border-gray-300 focus:z-10 disabled:opacity-[20%] dark:border-gray-700 dark:focus:border-gray-600 dark:bg-black/25 dark:text-gray-100",i()&&"!border-red-500")),()=>Ve(ie("pointer-events-none absolute z-20 left-[84px] right-4 top-1/2 line-clamp-1 -translate-y-1/2 text-base font-medium text-gray-400 transition-[transform,font-size] peer-focus:-translate-y-[calc(50%+theme(space.3))] peer-focus:text-xs",!!c(s)&&"-translate-y-[calc(50%+theme(space.3))] text-xs sm:text-xs")),()=>e.t("phone_number")]),or("change",I,h),or("input",w,u),x(t,m),Ue()}Vr(["change","input"]);var s0=R('<div class="row w-full rounded-md bg-gray-200 dark:bg-black/25 dark:border dark:border-gray-800 p-1 gap-1 text-xs font-bold"><button type="button"> </button> <button type="button"> </button></div>'),l0=R('<div class="text-sm uppercase font-bold pt-1 -mb-0.5"> </div> <!> <div class="text-sm uppercase font-bold pt-1 -mb-0.5"> </div>',1),c0=R('<!> <div> <span class="text-primary"> </span>?</div>',1),d0=R('<!> <div class="text-center whitespace-nowrap"> </div>',1),qc=R("<!> <!>",1),u0=R("<!> <!> <!> <!> <!>",1),f0=R('<span class="text-sm"> </span>'),h0=R('<div class="w-full"><div><!></div> <!></div>'),m0=R('<div class="[&>svg]:max-w-full"><!></div>'),v0=R('<div class="gap-1 hidden @xl:row-left"><!> <!> <!></div>'),p0=R('<!> <!> <!> <!> <!> <div class="grid @sm:grid-cols-2 w-full gap-2 auto-rows-fr"></div>',1),g0=R("<div> </div>"),_0=R('<div class="bg-white w-full dark:bg-black/25 border border-red-500 text-red-500 px-4 py-3 !text-sm rounded-md font-bold"></div>'),b0=R('<form class="contents" novalidate=""><!> <!> <!> <button type="button" class="text-sm font-bold mx-auto hover:underline p-1 row gap-1"><!> <span> </span></button></form>');function y0(t,e){He(e,!0);const r=w2(e.checkout.language).filter(S=>e.checkout.items.every(q=>!q.geoRestrictions||q.geoRestrictions.type==="ALLOW"&&q.geoRestrictions.countries.includes(S.value)||q.geoRestrictions.type==="BLOCK"&&!q.geoRestrictions.countries.includes(S.value)));let n=ce(""),a=ce(""),o=ce(""),i=ce(null),s=ce(!1),l=ce(mr(e.checkout.country||"SE")),d=ce(mr(e.checkout.country&&ta(e.checkout.country)?e.checkout.country:"SE")),u=ce(""),h=ce(""),f=ce(""),v=ce(!1),m=ce(void 0),g=ce(void 0),y=ce(""),C,z=ce(!1),F=ce(""),I=ce(mr(e.checkout.giftMode)),T=ce("");Hr(()=>{var S;r.map(q=>q.value).includes(c(l))||P(l,(S=r[0])==null?void 0:S.value,!0)}),Hr(()=>{(async()=>{const S=await e.api.auth.getUser();c(n)||P(n,(S==null?void 0:S.email)||"",!0)})()});const w=()=>{var we,Le,j,be,Oe,et,We,A,$,M,N,W,ae,fe,he,ze,$e,Ge,Ze,Fe,Te,ht,Me,at,De;const S=[];Oo(c(n))||S.push(["email","invalid_email"]),c(I)&&!Oo(c(T))&&S.push(["payerEmail","invalid_email"]),(j=(Le=(we=e.checkout)==null?void 0:we.fieldSettings)==null?void 0:Le.phone)!=null&&j.enabled&&((et=(Oe=(be=e.checkout)==null?void 0:be.fieldSettings)==null?void 0:Oe.phone)!=null&&et.required)&&!c(i)&&S.push(["phoneNumber","phone_number_required"]),($=(A=(We=e.checkout)==null?void 0:We.fieldSettings)==null?void 0:A.phone)!=null&&$.enabled&&c(i)&&!c(s)&&S.push(["phoneNumber","invalid_phone_number"]),(W=(N=(M=e.checkout)==null?void 0:M.fieldSettings)==null?void 0:N.name)!=null&&W.enabled&&((he=(fe=(ae=e.checkout)==null?void 0:ae.fieldSettings)==null?void 0:fe.name)!=null&&he.required)&&!c(a)&&S.push(["firstName","first_name_required"]),(Ge=($e=(ze=e.checkout)==null?void 0:ze.fieldSettings)==null?void 0:$e.name)!=null&&Ge.enabled&&((Te=(Fe=(Ze=e.checkout)==null?void 0:Ze.fieldSettings)==null?void 0:Fe.name)!=null&&Te.required)&&!c(o)&&S.push(["lastName","last_name_required"]),c(z)&&!Oo(c(F))&&S.push(["referralEmail","referral_email_required"]);const q=new Date().getFullYear(),K=parseInt(c(u)),re=parseInt(c(h)),te=parseInt(c(f));c(u)&&(isNaN(K)||K<1900||K>q)&&S.push(["birthYear","invalid_birth_year"]),c(h)&&(isNaN(re)||re<1||re>12)&&S.push(["birthMonth","invalid_birth_month"]),c(f)&&(isNaN(te)||te<1||te>31)&&S.push(["birthDay","invalid_birth_day"]),(Me=(ht=e.checkout.fieldSettings)==null?void 0:ht.birthdate)!=null&&Me.enabled&&((De=(at=e.checkout.fieldSettings)==null?void 0:at.birthdate)!=null&&De.required)&&(!c(u)||!c(h)||!c(f))&&S.push(["birthDate","birthdate_required"]),P(m,S.length?S.reduce((Qe,[ot,tt])=>({...Qe,[ot]:tt}),{}):void 0,!0)},k=S=>P(g,S,!0),_=()=>{P(m,void 0),clearTimeout(C),C=setTimeout(()=>{var S;P(y,((S=Ji.run({email:c(n)}))==null?void 0:S.full)||"",!0)},400)},p=async S=>{var K;if(S.preventDefault(),w(),!(c(m)||!c(g)||e.api.events.emit("sesamyPaywallCheckoutRedirect",{checkoutId:e.checkout.id,country:c(l),paymentMethod:c(g)},!0).canceled)){P(v,!0);try{const re=["GOOGLE-PAY","APPLE-PAY"].includes(c(g).method),te=c(u)&&c(h)&&c(f)?`${c(u)}-${c(h).padStart(2,"0")}-${c(f).padStart(2,"0")}`:void 0;await e.api.checkouts.update(e.checkout.id,{paymentData:{provider:c(g).provider,method:re?"CARD":c(g).method},country:c(l),email:c(n),phoneNumber:c(i)||void 0,givenName:c(a)||void 0,familyName:c(o)||void 0,birthDate:te,referralEmail:c(z)?c(F):void 0,payerEmail:c(I)?c(T):void 0}),Xi(e.checkout,c(g)),P(v,!1);return}catch(re){(K=re==null?void 0:re.message)!=null&&K.includes("User already owns item")?P(m,{general:"user_already_owns_item"},!0):(console.error(re),P(m,{general:"something_went_wrong"},!0)),P(v,!1);return}}},L=e.checkout.availablePaymentMethods.reduce((S,{provider:q,methods:K})=>[...S,...K!=null&&K.length&&q?K.map(re=>({provider:q,method:re})):[]],[]);L.push(...M2(L));const V=L.some(S=>S.method==="STRIPE_KLARNA"),D=L.some(S=>S.method==="KLARNA_PRIVATE");if(V&&D){const S=L.findIndex(q=>q.method==="KLARNA_PRIVATE");S!==-1&&L.splice(S,1)}const se=L.some(S=>S.method==="SWISH_DIRECT"),Ne=L.some(S=>S.method==="SWISH");if(se&&Ne){const S=L.findIndex(q=>q.method==="SWISH");S!==-1&&L.splice(S,1)}const Ce=K2.map(S=>L.find(q=>q.method===S)).filter(S=>S!==void 0);Ce.length&&k(Ce[0]);var me=b0(),_e=Y(me);It(_e,{up:!0,left:!0,class:"gap-2 w-full",children:(S,q)=>{var K=p0(),re=U(K);{var te=$=>{var M=s0(),N=Y(M),W=Ie(N,!0),ae=E(N,2),fe=Ie(ae,!0);H(M),G((he,ze,$e,Ge)=>{je(N,1,he),Q(W,ze),je(ae,1,$e),Q(fe,Ge)},[()=>Ve(ie("rounded-md px-3 py-2 flex-1",!c(I)&&"bg-white dark:bg-black/25")),()=>e.t("not_gift"),()=>Ve(ie("rounded-md px-3 py-2 flex-1",c(I)&&"bg-white dark:bg-black/25")),()=>e.t("is_gift")]),or("click",N,()=>P(I,!1)),or("click",ae,()=>P(I,!0)),x($,M)};B(re,$=>{var M;(M=e.paywall.settings.displayOptions)!=null&&M.enableGift&&$(te)})}var we=E(re,2);{var Le=$=>{var M=l0(),N=U(M),W=Ie(N,!0),ae=E(N,2);Do(ae,{children:(ze,$e)=>{{let Ge=Z(()=>e.t("email")),Ze=Z(()=>{var Fe;return(Fe=c(m))==null?void 0:Fe.payerEmail});sr(ze,{name:"payer-email",compact:!0,get placeholder(){return c(Ge)},get hasError(){return c(Ze)},onkeyup:()=>P(m,void 0),get value(){return c(T)},set value(Fe){P(T,Fe,!0)}})}},$$slots:{default:!0}});var fe=E(ae,2),he=Ie(fe,!0);G((ze,$e)=>{Q(W,ze),Q(he,$e)},[()=>e.t("your_details"),()=>e.t("recipient_details")]),x($,M)};B(we,$=>{c(I)&&$(Le)})}var j=E(we,2);Do(j,{children:($,M)=>{var N=u0(),W=U(N);{let Ze=Z(()=>e.t("email")),Fe=Z(()=>{var Te;return(Te=c(m))==null?void 0:Te.email});sr(W,{onkeyup:_,name:"email",compact:!0,get placeholder(){return c(Ze)},get hasError(){return c(Fe)},autocomplete:"email",get value(){return c(n)},set value(Te){P(n,Te,!0)}})}var ae=E(W,2);{let Ze=Z(()=>!!c(y));Ic(ae,{get isOpen(){return c(Ze)},children:(Fe,Te)=>{Tr(Fe,{onclick:()=>{P(n,c(y),!0),P(y,"")},class:"bg-primary/10 gap-4 px-2 py-3 !justify-between active:bg-primary/10 text-sm border-x border-gray-200 text-gray-500 hover:cursor-pointer hover:bg-primary/15 transition-colors duration-75",children:(ht,Me)=>{var at=d0(),De=U(at);Tr(De,{class:"gap-2",children:(tt,mt)=>{var lt=c0(),vt=U(lt);ir(vt,{class:"text-primary text-xl",name:"info"});var yr=E(vt,2),dr=Y(yr),ur=E(dr),Tn=Ie(ur,!0);$t(),H(yr),G(qe=>{Q(dr,`${qe??""} `),Q(Tn,c(y))},[()=>e.t("did_you_mean")]),x(tt,lt)},$$slots:{default:!0}});var Qe=E(De,2),ot=Ie(Qe,!0);G(tt=>Q(ot,tt),[()=>e.t("click_to_update")]),x(ht,at)},$$slots:{default:!0}})},$$slots:{default:!0}})}var fe=E(ae,2);{let Ze=Z(()=>e.t("country"));z2(fe,{get options(){return r},name:"country",compact:!0,autocomplete:"country",get placeholder(){return c(Ze)},get value(){return c(l)},set value(Fe){P(l,Fe,!0)}})}var he=E(fe,2);{var ze=Ze=>{{let Fe=Z(()=>{var Te;return!!((Te=c(m))!=null&&Te.phoneNumber)});i0(Ze,{get locale(){return e.checkout.language},get vendorId(){return e.paywall.vendorId},get t(){return e.t},get hasError(){return c(Fe)},onChange:()=>P(m,void 0),name:"tel",get value(){return c(i)},set value(Te){P(i,Te,!0)},get valid(){return c(s)},set valid(Te){P(s,Te,!0)},get selectedCountry(){return c(d)},set selectedCountry(Te){P(d,Te,!0)}})}};B(he,Ze=>{var Fe,Te,ht;(ht=(Te=(Fe=e.checkout)==null?void 0:Fe.fieldSettings)==null?void 0:Te.phone)!=null&&ht.enabled&&Ze(ze)})}var $e=E(he,2);{var Ge=Ze=>{var Fe=qc(),Te=U(Fe);{let Me=Z(()=>e.t("first_name")),at=Z(()=>{var De;return(De=c(m))==null?void 0:De.firstName});sr(Te,{onkeyup:()=>P(m,void 0),name:"first-name",compact:!0,get placeholder(){return c(Me)},get hasError(){return c(at)},autocomplete:"given-name",get value(){return c(a)},set value(De){P(a,De,!0)}})}var ht=E(Te,2);{let Me=Z(()=>e.t("last_name")),at=Z(()=>{var De;return(De=c(m))==null?void 0:De.lastName});sr(ht,{onkeyup:()=>P(m,void 0),name:"last-name",compact:!0,get placeholder(){return c(Me)},get hasError(){return c(at)},autocomplete:"family-name",get value(){return c(o)},set value(De){P(o,De,!0)}})}x(Ze,Fe)};B($e,Ze=>{var Fe,Te,ht;(ht=(Te=(Fe=e.checkout)==null?void 0:Fe.fieldSettings)==null?void 0:Te.name)!=null&&ht.enabled&&Ze(Ge)})}x($,N)},$$slots:{default:!0}});var be=E(j,2);{var Oe=$=>{{let M=Z(()=>{var N,W,ae,fe;return((N=c(m))==null?void 0:N.birthYear)||((W=c(m))==null?void 0:W.birthMonth)||((ae=c(m))==null?void 0:ae.birthDay)||((fe=c(m))==null?void 0:fe.birthDate)});Y2($,{get t(){return e.t},get hasError(){return c(M)},onYearChange:()=>P(m,void 0),onMonthChange:()=>P(m,void 0),onDayChange:()=>P(m,void 0),get year(){return c(u)},set year(N){P(u,N,!0)},get month(){return c(h)},set month(N){P(h,N,!0)},get day(){return c(f)},set day(N){P(f,N,!0)}})}};B(be,$=>{var M,N,W;(W=(N=(M=e.checkout)==null?void 0:M.fieldSettings)==null?void 0:N.birthdate)!=null&&W.enabled&&$(Oe)})}var et=E(be,2);{var We=$=>{var M=h0(),N=Y(M),W=Y(N);Ro(W,{id:"got-referred",name:"got-referred",type:"checkbox",get checked(){return c(z)},onchange:fe=>{const he=fe.target;P(z,he.checked,!0)},children:(fe,he)=>{var ze=f0(),$e=Ie(ze,!0);G(Ge=>Q($e,Ge),[()=>e.t("got_referred")]),x(fe,ze)},$$slots:{default:!0}}),H(N);var ae=E(N,2);Ic(ae,{get isOpen(){return c(z)},children:(fe,he)=>{{let ze=Z(()=>e.t("referral_email")),$e=Z(()=>{var Ge;return(Ge=c(m))==null?void 0:Ge.referralEmail});sr(fe,{name:"referral-email",compact:!0,get placeholder(){return c(ze)},class:"rounded-t-none -mt-px",get hasError(){return c($e)},onkeyup:()=>P(m,void 0),get value(){return c(F)},set value(Ge){P(F,Ge,!0)}})}},$$slots:{default:!0}}),H(M),G(fe=>je(N,1,fe),[()=>Ve(ie("bg-white rounded-md border border-gray-200 dark:bg-black/25 dark:border-gray-700",c(z)&&"rounded-b-none"))]),x($,M)};B(et,$=>{var M,N,W;(W=(N=(M=e.checkout)==null?void 0:M.fieldSettings)==null?void 0:N.referral)!=null&&W.enabled&&$(We)})}var A=E(et,2);an(A,23,()=>Ce,$=>`${$.provider}-${$.method}`,($,M,N,W)=>{const ae=Z(()=>c(M));Yi($,{children:(fe,he)=>{{let ze=Z(()=>!c(N)),$e=Z(()=>`${c(ae).provider}-${c(ae).method}`);Ro(fe,{get checked(){return c(ze)},get id(){return c($e)},name:"payment-method",onchange:()=>k(c(M)),children:(Ge,Ze)=>{var Fe=qc(),Te=U(Fe);{var ht=ot=>{ir(ot,{name:"card",class:"text-2xl"})},Me=ot=>{var tt=m0(),mt=Y(tt);{let lt=Z(()=>c(ae).method.includes("KLARNA")?"21":"25");vc(mt,{get method(){return c(ae).method},width:"auto",get height(){return c(lt)},darkModeSupport:!0})}H(tt),x(ot,tt)};B(Te,ot=>{c(ae).method==="CARD"?ot(ht):ot(Me,-1)})}var at=E(Te,2);{var De=ot=>{var tt=v0(),mt=Y(tt);Ga(mt,{size:"sm",name:"visa"});var lt=E(mt,2);Ga(lt,{size:"sm",name:"amex"});var vt=E(lt,2);Ga(vt,{size:"sm",name:"mastercard"}),H(tt),x(ot,tt)},Qe=Z(()=>c(ae).method&&["CARD","GOOGLE-PAY","APPLE-PAY"].includes(c(ae).method));B(at,ot=>{c(Qe)&&ot(De)})}x(Ge,Fe)},$$slots:{default:!0}})}},$$slots:{default:!0}})}),H(A),x(S,K)},$$slots:{default:!0}});var ue=E(_e,2);{var ne=S=>{var q=_0();an(q,21,()=>Object.values(c(m)),Ia,(K,re)=>{var te=g0(),we=Ie(te,!0);G(Le=>Q(we,Le),[()=>e.t(c(re))]),x(K,te)}),H(q),x(S,q)};B(ue,S=>{c(m)&&S(ne)})}var O=E(ue,2);Ha(O,{get loading(){return c(v)},get disabled(){return c(v)},class:"mt-2 w-full shadow-md bg-[var(--s-paywall-btn-bg-color)] text-[var(--s-paywall-btn-text-color)]",type:"submit",children:(S,q)=>{$t();var K=Pt();G(re=>Q(K,re),[()=>e.t("pay_now")]),x(S,K)},$$slots:{default:!0}});var Be=E(O,2),Se=Y(Be);ir(Se,{name:"chevron-left",class:"text-[8px]"});var pe=E(Se,2),de=Ie(pe,!0);H(Be),H(me),G(S=>Q(de,S),[()=>e.t("go_back")]),wo("submit",me,p),or("click",Be,function(...S){var q;(q=e.onResetCheckout)==null||q.apply(this,S)}),x(t,me),Ue()}Vr(["click"]);const w0=t=>{const e=parseFloat(t);return isNaN(e)?0:e},x0={VIEW_ARTICLE:"viewArticle",ADD_TO_CART:"addToCart",CONTENT_UNLOCKED:"content_unlocked",CONTENT_ACCESS_UNRESOLVED:"content_access_unresolved",CONTENT_ACCESS_RECOVERED:"content_access_recovered"};let Ba=null;function k0(){Ba=!0}function C0(){Ba=!1}function $0(){Ba=null}function jc(){if(Ba!==null)return Ba;const t=document.querySelector('meta[name="sesamy:analytics"]');return(t==null?void 0:t.getAttribute("content"))!=="false"}function ra(...t){return t.find(e=>!!e)||window.location.href}function L0(t,e){return t==="public"?"public":t==="logged-in"?"logged-in":e?"unlocked":"locked"}function S0(t,e){return t||e}function na(t,e,r){if(jc())try{t.analytics.track(e,{name:e,...r})}catch(n){console.error(`Failed to track ${e}:`,n)}}var E0=new Set(["$$slots","$$events","$$legacy","accessDenied","api","t","horizontal","host","paywall","onShown","onAccessGranted"]),A0=R("<sesamy-login><!></sesamy-login>",2),Gc=R('<!> <div class="w-full h-px from-transparent bg-gradient-to-r to-transparent via-primary opacity-30"></div>',1),z0=R('<span class="break-all"> </span> <span aria-hidden="true">·</span>',1),T0=R('<!> <button type="button" class="border-0 bg-transparent p-0 underline underline-offset-4 transition-opacity hover:opacity-80"><!></button>',1),M0=R('<img class="h-7 mb-6"/>'),Hc=R("<!> <!>",1),P0=R('<form class="contents"><!> <!></form>'),I0=R("<!> <span></span>",1),R0=R('<!> <div><!> <div class="text-2xl leading-tight @md:text-3xl font-bold max-w-[600px]"><!></div></div> <!> <!> <!> <!> <div class="gap-3 row !justify-between w-full mt-4 @md:mt-8"><!> <!></div>',1),N0=R('<div class="@container" style="font-size: var(--s-base-font-size, 16px)"><!></div>');function Uc(t,e){He(e,!0);let r=ee(e,"accessDenied",3,!1),n=ee(e,"horizontal",3,!1),a=Vt(e,E0),o=ce(void 0),i=ce(void 0),s=ce(!1),l=ce(""),d=ce("pending"),u=ce(null);const h=async()=>{const j=await e.api.auth.getUser().catch(()=>null);c(d)!=="logged-out"&&(P(u,typeof(j==null?void 0:j.email)=="string"?j.email:null,!0),P(d,"logged-in"))},f=()=>{P(d,"logged-out"),P(u,null)},v=async()=>{try{await e.api.auth.logout()}catch(j){console.error("Logout failed:",j)}};Lo(()=>{window.addEventListener(jt.LOGOUT,f)}),Pa(()=>{window.removeEventListener(jt.LOGOUT,f)});const m=e.api.content.get(e.host),g=a!=null&&a.price?w0(a.price):m==null?void 0:m.price,y=(a==null?void 0:a["item-src"])||(m==null?void 0:m.url);let{subscriptions:C,singlePurchase:z,headline:F,currency:I,mainColor:T,showLoginButton:w,features:k,footerPaymentMethods:_,logoUrl:p,vendorId:L,settings:{useDefaultLogo:V,styling:D,redirectUrl:se,redirectLabel:Ne}}=e.paywall;const Ce=async()=>{var Oe,et,We,A;if(n())return!1;const j=e!=null&&e.pass?e.pass.split(";"):(et=(Oe=e.api.content.get(e.host))==null?void 0:Oe.pass)==null?void 0:et.split(";"),be=r()?!1:await e.api.entitlements.hasAccess(y||"",j);if(e.api.events.emit("sesamyPaywallAccessChecked",{hasAccess:be,paywallId:e.paywall.id,articleUrl:y,passes:j}),be)(We=e.onAccessGranted)==null||We.call(e),zr(e.host,"sesamy:access-granted",{scopes:j??[]});else{(A=e.onShown)==null||A.call(e);let $=!1;try{$=await e.api.auth.isAuthenticated()}catch(M){console.error("Auth check failed:",M)}$?w&&h():P(d,"logged-out"),zr(e.host,"sesamy:paywall-shown",{reason:$?"no-entitlement":"unauthenticated"})}return be},me=async j=>{if(P(l,""),P(s,!0),na(e.api,"addToCart",{itemSrc:ra(y),publisherContentId:m==null?void 0:m.id,sku:j.sku,purchaseOptionId:j.poId,price:j.price,currency:I,paywallId:e.paywall.id}),j!=null&&j.url&&(j==null?void 0:j.url)!==y){window.location.assign(j.url);return}const be=j!=null&&j.url?{url:j.url}:{sku:j.sku,purchaseOptionId:j.poId},Oe=Rc(j.redirectUrl,se,a==null?void 0:a["redirect-url"]),et=Nc(j.redirectLabel,Ne,a==null?void 0:a["redirect-label"]);try{const We={items:[be],requestedDiscountCodes:j.discountCode?[j.discountCode]:void 0,redirectUrl:Oe,redirectLabel:et,price:j.price,currency:I,attribution:{...Dc(a),...y?{itemSrc:y}:{},source:"PAYWALL",sourceId:e.paywall.id,...e.paywall.decisionId?{decisionId:e.paywall.decisionId}:{},...e.paywall.strategyId?{strategyId:e.paywall.strategyId}:{}}};if(e.api.events.emit("sesamyPaywallCreateCheckout",{payload:We,product:j,paywallId:e.paywall.id},!0).canceled){P(s,!1);return}const $=await e.api.checkouts.create(We);if(e.api.events.emit("sesamyPaywallProductSelected",{product:j,checkoutId:$.id,paywallId:e.paywall.id}),n()||j.preferBusiness){Xi($,void 0,j.preferBusiness);return}P(i,$,!0),P(s,!1)}catch(We){console.error(We),P(l,e.t("something_went_wrong"),!0),P(s,!1);return}},_e=async j=>{j.preventDefault(),c(o)&&await me(c(o))},ue=async j=>{const be={...j,features:Array.isArray(j.features)&&j.features.length>0?j.features:Array.isArray(k)?k:[]};P(o,be,!0),await me(be)},ne=j=>{P(l,""),P(o,{...j,features:Array.isArray(j.features)&&j.features.length>0?j.features:Array.isArray(k)?k:[]},!0)},O=()=>{e.api.events.emit("sesamyPaywallResetCheckout",{paywallId:e.paywall.id}),P(i,void 0)},Be=C.length>0;if(Be){const j=C.find(({selected:be})=>be);j?ne(j):(C[0].selected=!0,ne(C[0]))}const Se=D!=null&&D.showBackground&&(D!=null&&D.backgroundColor)?D.backgroundColor:"#FFFFFF",pe=(D==null?void 0:D.showBackground)&&!Ua(Se),de=pe?"#FFFFFF":"#000000",S=Ua(T)?"#000000":"#FFFFFF";let q=ce(mr(pe)),re="<style>"+`
|
|
39
39
|
:host * {
|
|
40
40
|
--s-primary-color: var(--sesamy-paywall-primary-color, ${T});
|
|
41
41
|
--s-paywall-bg-color: var(--sesamy-paywall-bg-color, ${Se});
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
--s-paywall-tag-text-color: var(--sesamy-paywall-tag-text-color, ${S});
|
|
54
54
|
}
|
|
55
55
|
`+"</style>";Hr(()=>{const be=getComputedStyle(e.host).getPropertyValue("--sesamy-paywall-theme").trim();be==="dark"?P(q,!0):be==="light"?P(q,!1):P(q,pe,!0)});var te=Hc(),we=U(te);nn(we,Ce,null,(j,be)=>{var Oe=Ke(),et=U(Oe);{var We=A=>{var $=N0(),M=Y($);{let N=Z(()=>ie("w-full py-4 @md:py-6 rounded-[var(--s-paywall-border-radius)] @xl:rounded-[var(--s-paywall-border-radius-desktop)] bg-[var(--s-paywall-bg-color)] text-[var(--s-paywall-text-color)]",(D==null?void 0:D.showBackground)&&(D==null?void 0:D.dropShadow)&&"shadow-md @xl:shadow-lg",c(q)&&"dark"));It(M,{get class(){return c(N)},children:(W,ae)=>{{let fe=Z(()=>ie("gap-2 @md:gap-4 pt-0 w-full",(D==null?void 0:D.showBackground)&&"px-2 pb-6 @xs:px-8 @md:pb-8 @3xl:px-16",n()&&(D==null?void 0:D.showBackground)&&"px-6 pb-4",!n()&&"max-w-[800px]"));It(W,{get class(){return c(fe)},up:!0,left:!0,children:(he,ze)=>{var $e=R0(),Ge=U($e);{var Ze=qe=>{var ct=Ke(),St=U(ct);{var Rr=fr=>{var Kt=Gc(),ua=U(Kt);Tr(ua,{class:"w-full",children:(fa,ts)=>{var Qr=A0();je(Qr,1,"border-0 p-0 underline underline-offset-4 transition-opacity enabled:hover:bg-transparent enabled:hover:opacity-80");var Dr=Y(Qr);Ut(Dr,()=>"slot",!1,(Jo,fn)=>{yt(Jo,()=>({name:"login-button-text",slot:"button-text"}));var ha=Pt();G((Mn,ma)=>Q(ha,`${Mn??""}
|
|
56
|
-
${ma??""}`),[()=>e.t("already_subscribing"),()=>e.t("login")]),x(fn,ha)}),H(Qr),x(fa,Qr)},$$slots:{default:!0}}),$t(2),x(fr,Kt)},Nr=fr=>{var Kt=Gc(),ua=U(Kt);Tr(ua,{class:"w-full gap-1 text-[length:var(--sesamy-login-button-text-size,var(--s-login-button-default-text-size))] text-[color:var(--sesamy-login-button-text-color,var(--s-paywall-text-color))]",children:(fa,ts)=>{var Qr=T0(),Dr=U(Qr);{var Jo=Mn=>{var ma=z0(),Xo=U(ma),rs=Ie(Xo);$t(2),G(uh=>Q(rs,`${uh??""} ${c(u)??""}`),[()=>e.t("logged_in_as")]),x(Mn,ma)};B(Dr,Mn=>{c(u)&&Mn(Jo)})}var fn=E(Dr,2),ha=Y(fn);Ut(ha,()=>"slot",!1,(Mn,ma)=>{yt(Mn,()=>({name:"logout-button-text"}));var Xo=Pt();G(rs=>Q(Xo,rs),[()=>e.t("logout")]),x(ma,Xo)}),H(fn),or("click",fn,v),x(fa,Qr)},$$slots:{default:!0}}),$t(2),x(fr,Kt)};B(St,fr=>{c(d)==="logged-out"?fr(Rr):c(d)==="logged-in"&&fr(Nr,1)})}x(qe,ct)};B(Ge,qe=>{w&&!n()&&qe(Ze)})}var Fe=E(Ge,2),Te=Y(Fe);{var ht=qe=>{var ct=M0();G(St=>{Ee(ct,"src",p),Ee(ct,"alt",St)},[()=>`${e.t("logo_of")} ${L}`]),x(qe,ct)};B(Te,qe=>{V&&qe(ht)})}var Me=E(Te,2),at=Y(Me);Ut(at,()=>"slot",!1,(qe,ct)=>{yt(qe,()=>({name:"headline"}));var St=Pt();G(()=>Q(St,F)),x(ct,St)}),H(Me),H(Fe);var De=E(Fe,2);Ut(De,()=>"slot",!1,(qe,ct)=>{yt(qe,()=>({name:"below-headline"}))});var Qe=E(De,2);{var ot=qe=>{var ct=Ke(),St=U(ct);Ut(St,()=>"slot",!1,(Rr,Nr)=>{yt(Rr,()=>({name:"features"})),Zi(Nr,{get features(){return c(o).features},class:"font-bold mb-2"})}),x(qe,ct)};B(Qe,qe=>{c(o)&&!n()&&qe(ot)})}var tt=E(Qe,2);{var mt=qe=>{y0(qe,{get api(){return e.api},get paywall(){return e.paywall},get checkout(){return c(i)},get t(){return e.t},onResetCheckout:O})},lt=qe=>{var ct=P0(),St=Y(ct);{var Rr=Kt=>{m2(Kt,{get horizontal(){return n()},get subscriptions(){return C},get t(){return e.t},get currency(){return I},selectProduct:ne,get loading(){return c(s)},onCheckout:ue})};B(St,Kt=>{C.length&&Kt(Rr)})}var Nr=E(St,2);{var fr=Kt=>{var ua=Hc(),fa=U(ua);{var ts=Dr=>{g2(Dr,Wr({get singlePurchase(){return z},get currency(){return I},get singlePurchasePrice(){return g},get articleUrl(){return y},get t(){return e.t},selectProduct:ne,get hasSubscriptions(){return Be}},()=>a))};B(fa,Dr=>{z!=null&&z.enabled&&g&&y&&Dr(ts)})}var Qr=E(fa,2);Ha(Qr,{get loading(){return c(s)},get disabled(){return c(s)},class:"mt-2 w-full shadow-md bg-[var(--s-paywall-btn-bg-color)] text-[var(--s-paywall-btn-text-color)]",type:"submit",children:(Dr,Jo)=>{$t();var fn=Pt();G(ha=>Q(fn,ha),[()=>e.t("continue")]),x(Dr,fn)},$$slots:{default:!0}}),x(Kt,ua)};B(Nr,Kt=>{n()||Kt(fr)})}H(ct),wo("submit",ct,_e),x(qe,ct)};B(tt,qe=>{var ct;c(i)&&!((ct=c(o))!=null&&ct.preferBusiness)?qe(mt):qe(lt,-1)})}var vt=E(tt,2);{var yr=qe=>{_c(qe,{get text(){return c(l)}})};B(vt,qe=>{c(l)&&qe(yr)})}var dr=E(vt,2),ur=Y(dr);Tr(ur,{up:!0,left:!0,class:"gap-2 text-xs !flex-nowrap text-[var(--s-paywall-text-color-70)]",children:(qe,ct)=>{var St=I0(),Rr=U(St);ir(Rr,{name:"lock",class:"my-px"});var Nr=E(Rr,2);sn(Nr,()=>e.t("powered_by_sesamy",{0:fr=>`<a class="whitespace-nowrap text-[var(--s-paywall-text-color)]" href="https://sesamy.com/?utm_source=${encodeURIComponent(L)}&utm_medium=referral&utm_campaign=paywall_component" target="_blank" rel="noopener">${fr}</a>`}),!0),H(Nr),x(qe,St)},$$slots:{default:!0}});var Tn=E(ur,2);Tr(Tn,{class:"gap-2",children:(qe,ct)=>{var St=Ke(),Rr=U(St);an(Rr,17,()=>
|
|
56
|
+
${ma??""}`),[()=>e.t("already_subscribing"),()=>e.t("login")]),x(fn,ha)}),H(Qr),x(fa,Qr)},$$slots:{default:!0}}),$t(2),x(fr,Kt)},Nr=fr=>{var Kt=Gc(),ua=U(Kt);Tr(ua,{class:"w-full gap-1 text-[length:var(--sesamy-login-button-text-size,var(--s-login-button-default-text-size))] text-[color:var(--sesamy-login-button-text-color,var(--s-paywall-text-color))]",children:(fa,ts)=>{var Qr=T0(),Dr=U(Qr);{var Jo=Mn=>{var ma=z0(),Xo=U(ma),rs=Ie(Xo);$t(2),G(uh=>Q(rs,`${uh??""} ${c(u)??""}`),[()=>e.t("logged_in_as")]),x(Mn,ma)};B(Dr,Mn=>{c(u)&&Mn(Jo)})}var fn=E(Dr,2),ha=Y(fn);Ut(ha,()=>"slot",!1,(Mn,ma)=>{yt(Mn,()=>({name:"logout-button-text"}));var Xo=Pt();G(rs=>Q(Xo,rs),[()=>e.t("logout")]),x(ma,Xo)}),H(fn),or("click",fn,v),x(fa,Qr)},$$slots:{default:!0}}),$t(2),x(fr,Kt)};B(St,fr=>{c(d)==="logged-out"?fr(Rr):c(d)==="logged-in"&&fr(Nr,1)})}x(qe,ct)};B(Ge,qe=>{w&&!n()&&qe(Ze)})}var Fe=E(Ge,2),Te=Y(Fe);{var ht=qe=>{var ct=M0();G(St=>{Ee(ct,"src",p),Ee(ct,"alt",St)},[()=>`${e.t("logo_of")} ${L}`]),x(qe,ct)};B(Te,qe=>{V&&qe(ht)})}var Me=E(Te,2),at=Y(Me);Ut(at,()=>"slot",!1,(qe,ct)=>{yt(qe,()=>({name:"headline"}));var St=Pt();G(()=>Q(St,F)),x(ct,St)}),H(Me),H(Fe);var De=E(Fe,2);Ut(De,()=>"slot",!1,(qe,ct)=>{yt(qe,()=>({name:"below-headline"}))});var Qe=E(De,2);{var ot=qe=>{var ct=Ke(),St=U(ct);Ut(St,()=>"slot",!1,(Rr,Nr)=>{yt(Rr,()=>({name:"features"})),Zi(Nr,{get features(){return c(o).features},class:"font-bold mb-2"})}),x(qe,ct)};B(Qe,qe=>{c(o)&&!n()&&qe(ot)})}var tt=E(Qe,2);{var mt=qe=>{y0(qe,{get api(){return e.api},get paywall(){return e.paywall},get checkout(){return c(i)},get t(){return e.t},onResetCheckout:O})},lt=qe=>{var ct=P0(),St=Y(ct);{var Rr=Kt=>{m2(Kt,{get horizontal(){return n()},get subscriptions(){return C},get t(){return e.t},get currency(){return I},selectProduct:ne,get loading(){return c(s)},onCheckout:ue})};B(St,Kt=>{C.length&&Kt(Rr)})}var Nr=E(St,2);{var fr=Kt=>{var ua=Hc(),fa=U(ua);{var ts=Dr=>{g2(Dr,Wr({get singlePurchase(){return z},get currency(){return I},get singlePurchasePrice(){return g},get articleUrl(){return y},get t(){return e.t},selectProduct:ne,get hasSubscriptions(){return Be}},()=>a))};B(fa,Dr=>{z!=null&&z.enabled&&g&&y&&Dr(ts)})}var Qr=E(fa,2);Ha(Qr,{get loading(){return c(s)},get disabled(){return c(s)},class:"mt-2 w-full shadow-md bg-[var(--s-paywall-btn-bg-color)] text-[var(--s-paywall-btn-text-color)]",type:"submit",children:(Dr,Jo)=>{$t();var fn=Pt();G(ha=>Q(fn,ha),[()=>e.t("continue")]),x(Dr,fn)},$$slots:{default:!0}}),x(Kt,ua)};B(Nr,Kt=>{n()||Kt(fr)})}H(ct),wo("submit",ct,_e),x(qe,ct)};B(tt,qe=>{var ct;c(i)&&!((ct=c(o))!=null&&ct.preferBusiness)?qe(mt):qe(lt,-1)})}var vt=E(tt,2);{var yr=qe=>{_c(qe,{get text(){return c(l)}})};B(vt,qe=>{c(l)&&qe(yr)})}var dr=E(vt,2),ur=Y(dr);Tr(ur,{up:!0,left:!0,class:"gap-2 text-xs !flex-nowrap text-[var(--s-paywall-text-color-70)]",children:(qe,ct)=>{var St=I0(),Rr=U(St);ir(Rr,{name:"lock",class:"my-px"});var Nr=E(Rr,2);sn(Nr,()=>e.t("powered_by_sesamy",{0:fr=>`<a class="whitespace-nowrap text-[var(--s-paywall-text-color)]" href="https://sesamy.com/?utm_source=${encodeURIComponent(L)}&utm_medium=referral&utm_campaign=paywall_component" target="_blank" rel="noopener">${fr}</a>`}),!0),H(Nr),x(qe,St)},$$slots:{default:!0}});var Tn=E(ur,2);Tr(Tn,{class:"gap-2",children:(qe,ct)=>{var St=Ke(),Rr=U(St);an(Rr,17,()=>_,Ia,(Nr,fr)=>{Ga(Nr,{get name(){return c(fr)}})}),x(qe,St)},$$slots:{default:!0}}),H(dr),G(qe=>je(Fe,1,qe),[()=>Ve(ie("w-full pt-2 @md:pt-4",n()&&"column text-center mb-6"))]),x(he,$e)},$$slots:{default:!0}})}},$$slots:{default:!0}})}H($),x(A,$)};B(et,A=>{c(be)||A(We)})}x(j,Oe)});var Le=E(we,2);sn(Le,()=>re),x(t,te),Ue()}Vr(["click"]);var D0=R('<img class="h-7"/>'),O0=R('<div class="w-full text-2xl @md:text-3xl leading-tight font-bold"><!></div> <!>',1),Vc=R("<!> <!>",1),F0=R('<button type="button" class="text-sm gap-1 row"><!> <span> <span class="text-primary"> </span>?</span></button>'),Bc=R("<!> <!> <!>",1),q0=R('<div class="@container" style="font-size: var(--s-base-font-size, 16px)"><form><!></form></div> <!>',1);function j0(t,e){He(e,!0);let{headline:r,mainColor:n,logoUrl:a,vendorId:o,settings:{useDefaultLogo:i,styling:s,loginFields:l}}=e.paywall,d,u=ce(""),h=ce(""),f=ce(""),v=ce("");const m=(s==null?void 0:s.backgroundColor)||"#FFFFFF",g=(s==null?void 0:s.showBackground)&&!Ua(m);let z="<style>"+`
|
|
57
57
|
:host * {
|
|
58
58
|
--s-primary-color: var(--sesamy-paywall-primary-color, ${n});
|
|
59
59
|
--s-paywall-bg-color: var(--sesamy-paywall-bg-color, ${m});
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
--s-paywall-border-radius: var(--sesamy-paywall-border-radius, calc(0.5 * var(--s-base-font-size, 16px)));
|
|
62
62
|
--s-paywall-border-radius-desktop: var(--sesamy-paywall-border-radius-desktop, calc(var(--s-paywall-border-radius) * 3));
|
|
63
63
|
}
|
|
64
|
-
`+"</style>";const F=()=>{clearTimeout(d),d=setTimeout(()=>{var
|
|
64
|
+
`+"</style>";const F=()=>{clearTimeout(d),d=setTimeout(()=>{var _;P(u,((_=Ji.run({email:c(h)}))==null?void 0:_.full)||"",!0)},400)},I=async()=>{var p;let _=!1;try{_=await e.api.auth.isAuthenticated()}catch(L){console.error("Auth check failed:",L)}return _||((p=e.onShown)==null||p.call(e),e.host&&zr(e.host,"sesamy:paywall-shown",{reason:"unauthenticated"})),_},T=async(_,p)=>{var L;_.preventDefault();try{await p.auth.login({authorizationParams:{login_hint:c(h),metadata:l!=null&&l.name?{firstName:c(f),lastName:c(v)}:void 0},appState:{source:"registration-wall"}}),(L=e.onAccessGranted)==null||L.call(e)}catch(V){console.error("Login failed:",V)}};var w=Ke(),k=U(w);nn(k,I,null,(_,p)=>{var L=Ke(),V=U(L);{var D=se=>{var Ne=q0(),Ce=U(Ne),me=Y(Ce),_e=Y(me);{let ne=Z(()=>ie("w-full rounded-[var(--s-paywall-border-radius)] @xl:rounded-[var(--s-paywall-border-radius-desktop)]",(s==null?void 0:s.showBackground)&&"bg-[var(--s-paywall-bg-color)] text-[var(--s-paywall-text-color)]",(s==null?void 0:s.showBackground)&&(s==null?void 0:s.dropShadow)&&"shadow-md @xl:shadow-lg",g&&"dark"));It(_e,{get class(){return c(ne)},children:(O,Be)=>{{let Se=Z(()=>ie("gap-2 @md:gap-4 pt-0 w-full max-w-[800px]",(s==null?void 0:s.showBackground)&&"px-2.5 py-4 @sm:p-8 @sm:pb-10 @3xl:p-16 @3xl:pt-10"));It(O,{get class(){return c(Se)},up:!0,left:!0,children:(pe,de)=>{var S=Bc(),q=U(S);It(q,{left:!0,class:"w-full gap-6",children:(te,we)=>{var Le=Vc(),j=U(Le);{var be=et=>{var We=D0();G(A=>{Ee(We,"src",a),Ee(We,"alt",A)},[()=>`${e.t("logo_of")} ${o}`]),x(et,We)};B(j,et=>{i&&et(be)})}var Oe=E(j,2);It(Oe,{left:!0,class:"gap-3",children:(et,We)=>{var A=O0(),$=U(A),M=Y($);Ut(M,()=>"slot",!1,(W,ae)=>{yt(W,()=>({name:"headline"}));var fe=Pt();G(()=>Q(fe,r)),x(ae,fe)}),H($);var N=E($,2);Ut(N,()=>"slot",!1,(W,ae)=>{yt(W,()=>({name:"below-headline"}))}),x(et,A)},$$slots:{default:!0}}),x(te,Le)},$$slots:{default:!0}});var K=E(q,2);Do(K,{children:(te,we)=>{var Le=Bc(),j=U(Le);{let A=Z(()=>e.t("email"));sr(j,{onkeyup:F,compact:!0,get placeholder(){return c(A)},get value(){return c(h)},set value($){P(h,$,!0)}})}var be=E(j,2);{var Oe=A=>{var $=F0(),M=Y($);ir(M,{class:"text-primary text-xl",name:"info"});var N=E(M,2),W=Y(N),ae=E(W),fe=Ie(ae,!0);$t(),H(N),H($),G(he=>{Q(W,`${he??""} `),Q(fe,c(u))},[()=>e.t("did_you_mean")]),or("click",$,()=>{P(h,c(u),!0),P(u,"")}),x(A,$)};B(be,A=>{c(u)&&A(Oe)})}var et=E(be,2);{var We=A=>{var $=Vc(),M=U($);{let W=Z(()=>e.t("first_name"));sr(M,{compact:!0,get placeholder(){return c(W)},get value(){return c(f)},set value(ae){P(f,ae,!0)}})}var N=E(M,2);{let W=Z(()=>e.t("last_name"));sr(N,{compact:!0,get placeholder(){return c(W)},get value(){return c(v)},set value(ae){P(v,ae,!0)}})}x(A,$)};B(et,A=>{l!=null&&l.name&&A(We)})}x(te,Le)},$$slots:{default:!0}});var re=E(K,2);Vi(re,{type:"submit",class:"w-full shadow-md",children:(te,we)=>{$t();var Le=Pt();G(j=>Q(Le,j),[()=>e.t("continue")]),x(te,Le)},$$slots:{default:!0}}),x(pe,S)},$$slots:{default:!0}})}},$$slots:{default:!0}})}H(me),H(Ce);var ue=E(Ce,2);sn(ue,()=>z),wo("submit",me,ne=>T(ne,e.api)),x(se,Ne)};B(V,se=>{c(p)||se(D)})}x(_,L)}),x(t,w),Ue()}Vr(["click"]);var G0=new Set(["$$slots","$$events","$$legacy","accessDenied","api","t","host","paywall","onShown","onAccessGranted"]),H0=R('<img class="h-8 max-w-full"/> <div class="w-full h-px bg-gray-200 dark:bg-gray-700"></div>',1),U0=R('<div class="text-2xl @sm:text-[2rem] leading-tight [font-weight:var(--s-paywall-headline-font-weight)] [font-family:var(--s-paywall-headline-font-family)]"><!></div> <!>',1),V0=R('<button type="button" class="text-sm gap-1 row mt-2"><!> <span> <span class="text-primary"> </span>?</span></button>'),Wc=R("<!> <!>",1),B0=R(' <span class="text-primary underline underline-offset-4"> </span>',1),W0=R("<sesamy-login><!></sesamy-login>",2),Z0=R('<!> <!> <div class="w-full h-px bg-gray-200 dark:bg-gray-700"></div> <!> <!> <!> <!> <!> <!> <!>',1),Y0=R('<div class="@container" style="font-size: var(--s-base-font-size, 16px)"><form novalidate=""><!></form></div>');function K0(t,e){He(e,!0);let r=ee(e,"accessDenied",3,!1),n=Vt(e,G0),a=ce(""),o=ce(""),i,s=ce(!1),l=ce(""),d=ce(!1);const u=e.api.content.get(e.host),h=(n==null?void 0:n["item-src"])||(u==null?void 0:u.url);let{subscriptions:f,headline:v,currency:m,mainColor:g,showLoginButton:y,features:C,footerPaymentMethods:z,logoUrl:F,vendorId:I,settings:{useDefaultLogo:T,styling:w,redirectUrl:k,redirectLabel:_}}=e.paywall;const p=f.find(({selected:de})=>de)||f[0],L=Array.isArray(p==null?void 0:p.features)&&p.features.length>0?p.features:Array.isArray(C)?C:[];Pa(()=>clearTimeout(i));const V=async()=>{var K,re,te,we;const de=e!=null&&e.pass?e.pass.split(";"):(re=(K=e.api.content.get(e.host))==null?void 0:K.pass)==null?void 0:re.split(";"),S=r()?!1:await e.api.entitlements.hasAccess(h||"",de);if(e.api.events.emit("sesamyPaywallAccessChecked",{hasAccess:S,paywallId:e.paywall.id,articleUrl:h,passes:de}),S)return(te=e.onAccessGranted)==null||te.call(e),zr(e.host,"sesamy:access-granted",{scopes:de??[]}),!0;(we=e.onShown)==null||we.call(e);let q=!1;try{q=await e.api.auth.isAuthenticated()}catch(Le){console.error("Auth check failed:",Le)}if(q){const Le=await e.api.auth.getUser().catch(()=>null);typeof(Le==null?void 0:Le.email)=="string"&&!c(a)&&P(a,Le.email,!0)}else P(d,y,!0);return zr(e.host,"sesamy:paywall-shown",{reason:q?"no-entitlement":"unauthenticated"}),!1},D=()=>{clearTimeout(i),i=setTimeout(()=>{var de;P(o,((de=Ji.run({email:c(a)}))==null?void 0:de.full)||"",!0)},400)},se=async de=>{if(de.preventDefault(),!p||c(s))return;const S=p.url&&p.url!==h?p.url:void 0,q=c(a).trim();if(!S&&!Oo(q)){P(l,e.t("invalid_email"),!0);return}if(P(l,""),P(s,!0),na(e.api,"addToCart",{itemSrc:ra(h),publisherContentId:u==null?void 0:u.id,sku:p.sku,purchaseOptionId:p.poId,price:p.price,currency:m,paywallId:e.paywall.id}),S){window.location.assign(S);return}const K=p.url?{url:p.url}:{sku:p.sku,purchaseOptionId:p.poId};try{const re={items:[K],email:q,requestedDiscountCodes:p.discountCode?[p.discountCode]:void 0,redirectUrl:Rc(p.redirectUrl,k,n==null?void 0:n["redirect-url"]),redirectLabel:Nc(p.redirectLabel,_,n==null?void 0:n["redirect-label"]),price:p.price,currency:m,attribution:{...Dc(n),...h?{itemSrc:h}:{},source:"PAYWALL",sourceId:e.paywall.id,...e.paywall.decisionId?{decisionId:e.paywall.decisionId}:{},...e.paywall.strategyId?{strategyId:e.paywall.strategyId}:{}}};if(e.api.events.emit("sesamyPaywallCreateCheckout",{payload:re,product:p,paywallId:e.paywall.id},!0).canceled){P(s,!1);return}const we=await e.api.checkouts.create(re);e.api.events.emit("sesamyPaywallProductSelected",{product:p,checkoutId:we.id,paywallId:e.paywall.id}),Xi(we)}catch(re){console.error(re),P(l,e.t("something_went_wrong"),!0),P(s,!1)}},Ne=w!=null&&w.showBackground&&(w!=null&&w.backgroundColor)?w.backgroundColor:"#FFFFFF",Ce=(w==null?void 0:w.showBackground)&&!Ua(Ne),me=Ce?"#FFFFFF":"#000000",_e=Ua(g)?"#000000":"#FFFFFF";let ne="<style>"+`
|
|
65
65
|
:host * {
|
|
66
66
|
--s-primary-color: var(--sesamy-paywall-primary-color, ${g});
|
|
67
67
|
--s-paywall-bg-color: var(--sesamy-paywall-bg-color, ${Ne});
|
|
@@ -78,4 +78,4 @@
|
|
|
78
78
|
--s-paywall-headline-font-weight: var(--sesamy-paywall-headline-font-weight, 700);
|
|
79
79
|
--s-paywall-max-width: var(--sesamy-paywall-max-width, calc(30.625 * var(--s-base-font-size, 16px)));
|
|
80
80
|
}
|
|
81
|
-
`+"</style>";var O=Wc(),Be=U(O);{var Se=de=>{var S=Ke(),q=U(S);nn(q,()=>V().catch(K=>(console.error("Access check failed:",K),!0)),null,(K,re)=>{var te=Ke(),we=U(te);{var Le=j=>{var be=Y0(),Oe=Y(be),et=Y(Oe);It(et,{class:"w-full gap-4 text-center",children:(We,A)=>{var $=Z0(),M=U($);{var N=Me=>{var at=H0(),De=U(at);$t(2),G(Qe=>{Ee(De,"src",F),Ee(De,"alt",Qe)},[()=>`${e.t("logo_of")} ${I}`]),x(Me,at)};B(M,Me=>{T&&Me(N)})}var W=E(M,2);It(W,{class:"w-full gap-2",children:(Me,at)=>{var De=U0(),Qe=U(De),ot=Y(Qe);Ut(ot,()=>"slot",!1,(mt,lt)=>{yt(mt,()=>({name:"headline"}));var vt=Pt();G(()=>Q(vt,v)),x(lt,vt)}),H(Qe);var tt=E(Qe,2);Ut(tt,()=>"slot",!1,(mt,lt)=>{yt(mt,()=>({name:"below-headline"}));var vt=Ke(),yr=U(vt);{var dr=ur=>{Ki(ur,{get description(){return p.description},get readMoreLink(){return p.readMoreLink},get readMoreText(){return p.readMoreText},get t(){return e.t},class:"text-sm"})};B(yr,ur=>{p.description&&ur(dr)})}x(lt,vt)}),x(Me,De)},$$slots:{default:!0}});var ae=E(W,4);Ut(ae,()=>"slot",!1,(Me,at)=>{yt(Me,()=>({name:"features"}));var De=Ke(),Qe=U(De);{var ot=tt=>{Zi(tt,{get features(){return L},class:"w-full text-left text-sm space-y-2"})};B(Qe,tt=>{L.length&&tt(ot)})}x(at,De)});var fe=E(ae,2);Do(fe,{class:"text-left",children:(Me,at)=>{var De=Wc(),Qe=U(De);{let mt=Z(()=>!!c(l)),lt=Z(()=>e.t("email"));sr(Qe,{type:"email",autocomplete:"email",oninput:D,compact:!0,get hasError(){return c(mt)},get placeholder(){return c(lt)},get value(){return c(a)},set value(vt){P(a,vt,!0)}})}var ot=E(Qe,2);{var tt=mt=>{var lt=V0(),vt=Y(lt);ir(vt,{class:"text-primary text-xl",name:"info"});var yr=E(vt,2),dr=Y(yr),ur=E(dr),Tn=Ie(ur,!0);$t(),H(yr),H(lt),G(qe=>{Q(dr,`${qe??""} `),Q(Tn,c(o))},[()=>e.t("did_you_mean")]),or("click",lt,()=>{P(a,c(o),!0),P(o,"")}),x(mt,lt)};B(ot,mt=>{c(o)&&mt(tt)})}x(Me,De)},$$slots:{default:!0}});var he=E(fe,2);Vi(he,{get loading(){return c(s)},get disabled(){return c(s)},size:"lg",class:"w-full shadow-md bg-[var(--s-paywall-btn-bg-color)] text-[var(--s-paywall-btn-text-color)]",type:"submit",children:(Me,at)=>{$t();var De=Pt();G(Qe=>Q(De,Qe),[()=>p.buttonText||e.t("continue")]),x(Me,De)},$$slots:{default:!0}});var ze=E(he,2);{var $e=Me=>{_c(Me,{get text(){return c(l)}})};B(ze,Me=>{c(l)&&Me($e)})}var Ge=E(ze,2);Ut(Ge,()=>"slot",!1,(Me,at)=>{yt(Me,()=>({name:"below-button"}))});var Ze=E(Ge,2);{var Fe=Me=>{Tr(Me,{class:"w-full",children:(at,De)=>{var Qe=W0();je(Qe,1,"border-0 p-0 text-sm transition-opacity enabled:hover:bg-transparent enabled:hover:opacity-80");var ot=Y(Qe);Ut(ot,()=>"slot",!1,(tt,mt)=>{yt(tt,()=>({name:"login-button-text",slot:"button-text"}));var lt=B0(),vt=U(lt),yr=E(vt),dr=Ie(yr,!0);G((ur,Tn)=>{Q(vt,`${ur??""} `),Q(dr,Tn)},[()=>e.t("already_subscribing"),()=>e.t("login")]),x(mt,lt)}),H(Qe),x(at,Qe)},$$slots:{default:!0}})};B(Ze,Me=>{c(d)&&Me(Fe)})}var Te=E(Ze,2);{var ht=Me=>{Tr(Me,{class:"gap-2",children:(at,De)=>{var Qe=Ke(),ot=U(Qe);an(ot,17,()=>z,Ia,(tt,mt)=>{Ga(tt,{get name(){return c(mt)}})}),x(at,Qe)},$$slots:{default:!0}})};B(Te,Me=>{z!=null&&z.length&&Me(ht)})}x(We,$)},$$slots:{default:!0}}),H(Oe),H(be),G(We=>je(Oe,1,We),[()=>Ve(ie("mx-auto w-full max-w-[var(--s-paywall-max-width)] rounded-[var(--s-paywall-border-radius)] bg-[var(--s-paywall-bg-color)] text-[var(--s-paywall-text-color)]",(w==null?void 0:w.showBackground)&&"px-5 py-8 @sm:px-10 @sm:pt-6 @sm:pb-10",(w==null?void 0:w.showBackground)&&(w==null?void 0:w.dropShadow)&&"shadow-md @xl:shadow-lg",Ce&&"dark"))]),wo("submit",Oe,se),x(j,be)};B(we,j=>{c(re)||j(Le)})}x(K,te)}),x(de,S)};B(Be,de=>{p&&de(Se)})}var pe=E(Be,2);sn(pe,()=>ne),x(t,O),Ue()}Vr(["click"]);var J0=new Set(["$$slots","$$events","$$legacy","$$host"]),X0=R('<div class="sesamy-paywall" style="display: contents"><!></div>'),Zc=R(" <!>",1),Q0=R('<div class="sesamy-paywall-error"> </div>');function Yc(t,e){He(e,!0);let r=Vt(e,J0);const n=Z(()=>{const{paywall:w,...k}=r;return k});let a=ce({status:"pending"}),o=null,i=0,s=!1,l;function d(w){var b;const k=e.$$host;return k.getAttribute("publisher-content-id")||((b=w.content.get(k))==null?void 0:b.id)||void 0}function u(w,k){var b,p,L,V,D,se;return w===null||k===null?w===k:((b=w.paywall)==null?void 0:b.id)===((p=k.paywall)==null?void 0:p.id)&&((L=w.paywall)==null?void 0:L.decisionId)===((V=k.paywall)==null?void 0:V.decisionId)&&((D=w.paywall)==null?void 0:D.strategyId)===((se=k.paywall)==null?void 0:se.strategyId)&&w.template===k.template&&w.accessDenied===k.accessDenied}function h(w){o=w;const k=++i;T(w).then(b=>{k===i&&(c(a).status==="done"&&u(c(a).result,b)||P(a,{status:"done",result:b}))},b=>{k===i&&P(a,{status:"error",error:b})})}let f=!1;function v(w){f||(f=!0,queueMicrotask(()=>h(w)))}const m=()=>{l=void 0,s&&o&&h(o)};window.addEventListener(jt.AUTHENTICATED,m),window.addEventListener(jt.LOGOUT,m),window.addEventListener("online",m);const g=w=>{var b;const k=(b=w.detail)==null?void 0:b.publisherContentId;!k||!o||k!==d(o)||(l=k,s&&h(o))};window.addEventListener(Wi.CONTENT_GRANTED,g);let y=!1,C=!1;const z=()=>{y=!0},F=()=>{C=!0};Pa(()=>{window.removeEventListener(jt.AUTHENTICATED,m),window.removeEventListener(jt.LOGOUT,m),window.removeEventListener("online",m),window.removeEventListener(Wi.CONTENT_GRANTED,g),y&&!C&&zr(e.$$host,"sesamy:paywall-dismissed",{})});function I(w){return w.startsWith("/")||w.startsWith("./")||w.startsWith("../")||w.includes("/")?new URL(w,document.baseURI).href:w}async function T(w){var _e,ue;const k=e.$$host,b=w.content.get(k);s=(b==null?void 0:b.legacyContentAccess)===!1&&typeof w.content.hasAccess=="function";let p=!1;if(s){let ne;try{ne=l&&l===d(w)||await w.content.hasAccess(k)}catch(O){w.log(`Content access check failed, using the configured paywall: ${O}`),ne=void 0}if(ne)return F(),null;if(p=!0,C=!1,ne!==void 0){const O=(_e=w.content.get(k))==null?void 0:_e.resolvedPaywall;if(O!=null&&O.settings)return{paywall:O,template:O.settings.template,accessDenied:p}}}const V=new URLSearchParams(window.location.search).has("lab_opts"),D=(ue=w.content.get(k))==null?void 0:ue.paywallUrl,se=e.paywall||r["settings-url"],Ne=V?D||se:se||D;if(!Ne)return null;const Ce=await w.paywalls.get(I(Ne)),me=(Ce==null?void 0:Ce.settings.template)||"";return{paywall:Ce,template:me,accessDenied:p}}Kn(t,{children:ho,$$slots:{default:(w,k)=>{const b=Z(()=>k.api),p=Z(()=>k.t),L=Z(()=>e.$$host);$t();var V=Zc(),D=U(V),se=E(D);{var Ne=_e=>{var ue=X0(),ne=Y(ue);At(ne,e,"default",Wr({get api(){return c(b)},get t(){return c(p)}},()=>r),null),H(ue),x(_e,ue)},Ce=_e=>{const ue=Z(()=>c(a).result);var ne=Ke(),O=U(ne);{var Be=Se=>{var pe=Zc(),de=U(pe),S=E(de);{var q=we=>{Uc(we,Wr({get api(){return c(b)},get accessDenied(){return c(ue).accessDenied},get paywall(){return c(ue).paywall},get host(){return c(L)},get t(){return c(p)},onShown:z,onAccessGranted:F},()=>c(n)))},K=we=>{Uc(we,Wr({horizontal:!0,get api(){return c(b)},get accessDenied(){return c(ue).accessDenied},get paywall(){return c(ue).paywall},get host(){return c(L)},get t(){return c(p)},onShown:z,onAccessGranted:F},()=>c(n)))},re=we=>{K0(we,Wr({get api(){return c(b)},get accessDenied(){return c(ue).accessDenied},get paywall(){return c(ue).paywall},get host(){return c(L)},get t(){return c(p)},onShown:z,onAccessGranted:F},()=>c(n)))},te=we=>{j0(we,Wr({get api(){return c(b)},get t(){return c(p)},get paywall(){return c(ue).paywall},get host(){return c(L)},onShown:z,onAccessGranted:F},()=>c(n)))};B(S,we=>{c(ue).template==="ARTICLE"?we(q):c(ue).template==="BOXES"?we(K,1):c(ue).template==="EMAIL"?we(re,2):c(ue).template==="LOGIN"&&we(te,3)})}G(we=>Q(de,`${we??""} `),[()=>c(b).log(`sesamy-paywall with template ${c(ue).template}`)]),x(Se,pe)};B(O,Se=>{c(ue)&&Se(Be)})}x(_e,ne)},me=_e=>{var ue=Q0(),ne=Ie(ue);G(()=>Q(ne,`Error loading paywall: ${c(a).error.message??""}`)),x(_e,ue)};B(se,_e=>{c(a).status==="pending"?_e(Ne):c(a).status==="done"?_e(Ce,1):c(a).status==="error"&&_e(me,2)})}G(_e=>Q(D,`${_e??""} `),[()=>v(c(b))??""]),x(w,V)}}}),Ue()}customElements.define("sesamy-paywall",xn(Yc,{},["default"],[],{mode:"open"},qa));var eh=new Set(["$$slots","$$events","$$legacy","$$host"]);function Kc(t,e){let r=Vt(e,eh);Kn(t,{children:(n,a)=>{Bi(n,Wr(()=>r))},$$slots:{default:!0}})}customElements.define("sesamy-avatar",xn(Kc,{},[],[],{mode:"open"}));const th=1e4,Wo=[1e3,3e3,1e4,3e4];function rh(t){const e=Math.min(Math.max(t,0),Wo.length-1);return Wo[e]}function nh(t){return t instanceof Error?`${t.name&&t.name!=="Error"?`${t.name}: `:""}${t.message}`.slice(0,200):String(t).slice(0,200)}function ah(t){const e=t==null?void 0:t.status;if(typeof e=="number")return e>=500||e===408||e===429;if(t instanceof TypeError)return!0;const r=t==null?void 0:t.name;return r==="AbortError"||r==="TimeoutError"}async function oh(t,e){var r;try{return{state:await t.content.hasAccess(e)?"granted":"denied"}}catch(n){return(r=t.log)==null||r.call(t,`Could not resolve access: ${n==null?void 0:n.message}`),{state:"unknown",reason:nh(n)}}}async function ih(t,e,r=th){const n=oh(t,e);let a;const o=new Promise(i=>{a=setTimeout(()=>{var s;(s=t.log)==null||s.call(t,`Access check did not answer within ${r}ms`),i({state:"unknown",reason:"timeout",late:n})},r)});try{return await Promise.race([n,o])}finally{clearTimeout(a)}}function Jc(t){const e=t.parentNode;if(!e)return null;const r={node:t,parent:e,anchor:t.nextSibling};return t.remove(),r}function Xc(t){const{node:e,parent:r,anchor:n}=t;e.isConnected||(n&&n.parentNode===r?r.insertBefore(e,n):r.appendChild(e))}class sh{constructor(e){rt(this,"detachedSlot",null);rt(this,"injected",null);rt(this,"detachedInjected",null);this.host=e}find(){return this.host.querySelector('[slot="content"]')}isPresent(){return!!this.find()}adopt(e){this.injected=e,this.detachedInjected=null}detach(){var r;const e=this.find();e&&(this.detachedSlot=Jc(e)??this.detachedSlot),(r=this.injected)!=null&&r.isConnected&&(this.detachedInjected=Jc(this.injected)??this.detachedInjected)}restore(){this.restoreSlot(),this.detachedInjected&&(Xc(this.detachedInjected),this.detachedInjected=null)}restoreSlot(){this.detachedSlot&&(Xc(this.detachedSlot),this.detachedSlot=null)}}function Qc(t,e){t==="granted"&&e.restore(),t==="denied"&&e.detach()}var lh=R(" <!>",1);function ed(t,e){He(e,!0);let r=ee(e,"item-src",7,""),n=ee(e,"access-level",7),a=ee(e,"publisher-content-id",7),o=ee(e,"lock-mode",7,"embed"),i=ee(e,"locked-content-selector",7),s=null,l=!1,d=!1,u=ce("unknown"),h=null,f=null,v=!1,m=null,g=-1,y=-1,C=Wo.length,z=!1,F=null,I=0,T=-1,w=0,k=0,b=null,p=0,L=0,V=!1,D=!1,se=null;function Ne(){const A=e.$$host;if(!A||s)return;const $=A.querySelector('[slot="content"]');$&&(s=$.cloneNode(!0),$.remove())}function Ce(){if(o()!=="embed"||se)return;const A=e.$$host;A!=null&&A.isConnected&&getComputedStyle(A).display==="none"&&(se={value:A.style.getPropertyValue("display"),priority:A.style.getPropertyPriority("display")},A.style.setProperty("display",me("inline"),"important"))}function me(A){var M;return typeof CSS<"u"&&((M=CSS.supports)==null?void 0:M.call(CSS,"display","revert"))?"revert":A}function _e(){const A=se;if(!A)return;se=null;const $=e.$$host;$&&(A.value?$.style.setProperty("display",A.value,A.priority):$.style.removeProperty("display"))}function ue(A,$,M,N){d||(d=!0,na(A,"viewArticle",{itemSrc:ra(r(),$.url),publisherContentId:a()||$.id,state:L0(M,N)}))}async function ne(A,$=!1){var he;const M=e.$$host;if(!M||!h)return;$&&(I++,k=0,C=Wo.length);const N=I;Se();const W=A.content.get(M),ae=S0(n(),W==null?void 0:W.accessLevel);let fe;if(ae==="public")A.log("Content is public"),fe={state:"granted"};else{A.log("Checking access"),w++;try{fe=await ih(A,M)}finally{w--}}(he=fe.late)==null||he.then(ze=>{ze.state!=="unknown"&&T!==N&&O(A,N,ze,W,ae)}),await O(A,N,fe,W,ae)}async function O(A,$,M,N,W){if($!==I||!h)return;const ae=e.$$host;if(T!==$){if(M.state==="unknown"){Be(A,N,M.reason);return}if(M.state==="granted"&&o()==="embed"&&W!=="public"&&(N==null?void 0:N.legacyContentAccess)===!1&&g!==$){if(y===$)return;y=$;try{if(await A.content.unlock(ae,{delivery:"embed"}),$!==I||T===$||!ae.isConnected)return;g=$}catch(fe){if($!==I||T===$)return;const he=fe.status;if(he!==403){const ze=he===void 0||he>=500||he===401||he===408||he===429;Be(A,N,ze?"unlock-failed":`unlock-rejected-${he}`,ze);return}M={state:"denied"}}finally{y===$&&(y=-1)}}T=$,Se(),M.state==="granted"&&o()==="encode"&&g!==$?h.restoreSlot():Qc(M.state,h),P(u,M.state,!0),c(u)==="granted"?Ce():_e(),N&&ue(A,N,W,c(u)==="granted"),re(A,N,M.state),c(u)==="granted"&&await et(A,$)}}function Be(A,$,M,N=!0){k++,p++,L||(L=Date.now()),K(A,$,M),N&&pe(A,M)}function Se(){b!==null&&(clearTimeout(b),b=null)}function pe(A,$){Se();const M=rh(k-1);A.log(`Access unresolved (${$??"unknown"}); checking again in ${M}ms`),b=setTimeout(()=>{var N;b=null,(N=e.$$host)!=null&&N.isConnected&&ne(A)},M)}function de(){!f||T===I||k===0||w>0||document.visibilityState==="hidden"||ne(f)}function S(A,$){T=-1,k++,C!==0&&(C--,pe(A,`registration failed: ${$==null?void 0:$.message}`))}function q(A,$,M){var N;try{const W=A.errors;(N=W==null?void 0:W.report)==null||N.call(W,$,{details:{component:"content-container",...M}})}catch{}}function K(A,$,M){if(V)return;V=!0;const N=a()||($==null?void 0:$.id);na(A,"content_access_unresolved",{itemSrc:ra(r(),$==null?void 0:$.url),publisherContentId:N,reason:M??"unknown"}),q(A,{name:"ContentAccessUnresolved",message:`The content access check had no answer: ${M??"unknown"}`},{stage:"unresolved",reason:M??"unknown",publisherContentId:N,lockMode:o()})}function re(A,$,M){if(!V||D)return;D=!0;const N=a()||($==null?void 0:$.id),W=Date.now()-L;na(A,"content_access_recovered",{itemSrc:ra(r(),$==null?void 0:$.url),publisherContentId:N,state:M,attempts:p,elapsedMs:W}),q(A,{name:"ContentAccessRecovered",message:`The content access check was answered after ${p} without an answer`},{stage:"recovered",state:M,attempts:p,elapsedMs:W,publisherContentId:N,lockMode:o()})}function te(){f&&ne(f,!0)}function we(A){v||(v=!0,f=A,h=new sh(e.$$host),window.addEventListener(jt.AUTHENTICATED,te),window.addEventListener(jt.LOGOUT,te),window.addEventListener("online",de),document.addEventListener("visibilitychange",de),queueMicrotask(()=>void ne(A)))}Pa(()=>{window.removeEventListener(jt.AUTHENTICATED,te),window.removeEventListener(jt.LOGOUT,te),window.removeEventListener("online",de),document.removeEventListener("visibilitychange",de),Se(),I++,h=null,f=null});function Le(A){var fe;const $=e.$$host,M=A.content.get($),N=a()||(M==null?void 0:M.id)||"";if(dispatchEvent(new CustomEvent(Wi.CONTENT_GRANTED,{detail:{publisherContentId:N}})),l)return;l=!0;const W=new CustomEvent("sesamyUnlocked",{detail:{publisherContentId:N,itemSrc:r()},bubbles:!0,composed:!0});dispatchEvent(W);const ae=((fe=$.dataset)==null?void 0:fe.dcaContentName)??N??"";zr($,"sesamy:content-unlocked",{contentName:ae}),na(A,"content_unlocked",{itemSrc:ra(r(),M==null?void 0:M.url),publisherContentId:N,contentName:ae})}async function j(A){var fe;if(!A)return null;const $=e.$$host;if(!$)return null;const M=document.createElement("div");M.setAttribute("position","relative");const N=$.getAttribute("class");N&&M.setAttribute("class",N),M.innerHTML=A;const W=M.querySelectorAll("script"),ae=[];return W.forEach(he=>{var ze;try{const $e=document.createElement("script");Array.from(he.attributes).forEach(Ge=>$e.setAttribute(Ge.name,Ge.value)),he.src?document.head.appendChild($e):($e.textContent=he.textContent,ae.push($e)),(ze=he.parentNode)==null||ze.removeChild(he)}catch($e){console.error("Failed to process script:",$e,he)}}),(fe=$.parentElement)==null||fe.insertBefore(M,$),ae.forEach(he=>{try{document.head.appendChild(he),he.type!=="module"&&document.head.removeChild(he)}catch(ze){console.error("Failed to execute inline script:",ze,he)}}),M}async function be(A){switch(o()){case"encode":return A.content.unlock(e.$$host.parentElement,{encodedContent:(s==null?void 0:s.innerHTML)||""});case"event":return Le(A),"";case"proxy":case"signedUrl":return A.content.unlock(e.$$host.parentElement,i());case"embed":return"";default:return console.error("Invalid lock mode"),""}}function Oe(A){return A===I&&T===A&&c(u)==="granted"}async function et(A,$){var M,N;try{if(o()==="embed"){Le(A);return}if(o()==="encode"&&g!==$){if(y===$)return;y=$;try{Ne();const W=await be(A);if($!==I)return;m=W,g=$}finally{y===$&&(y=-1)}Oe($)&&(h==null||h.restore())}if(F||!Oe($))return;if(m===null){if(z||(z=!0,Ne(),!((M=e.$$host)!=null&&M.isConnected)))return;try{m=await be(A)}finally{z=!1}}if(!((N=e.$$host)!=null&&N.isConnected)||!Oe(I))return;F=await j(m),F&&(h==null||h.adopt(F)),o()!=="event"&&Le(A)}catch(W){o()==="encode"&&$===I&&(P(u,"denied"),h&&Qc("denied",h),_e(),ah(W)&&S(A,W)),console.error("Error unlocking content:",W)}}var We={get"item-src"(){return r()},set"item-src"(A=""){r(A),_t()},get"access-level"(){return n()},set"access-level"(A){n(A),_t()},get"publisher-content-id"(){return a()},set"publisher-content-id"(A){a(A),_t()},get"lock-mode"(){return o()},set"lock-mode"(A="embed"){o(A),_t()},get"locked-content-selector"(){return i()},set"locked-content-selector"(A){i(A),_t()}};return Kn(t,{applyStyles:!1,children:ho,$$slots:{default:(A,$)=>{const M=Z(()=>$.api);$t();var N=lh(),W=U(N),ae=E(W);{var fe=$e=>{var Ge=Ke(),Ze=U(Ge);At(Ze,e,"content",{},null),x($e,Ge)},he=$e=>{},ze=$e=>{var Ge=Ke(),Ze=U(Ge);At(Ze,e,"preview",{},null),x($e,Ge)};B(ae,$e=>{c(u)==="granted"&&o()==="embed"?$e(fe):c(u)==="granted"?$e(he,1):$e(ze,-1)})}G($e=>Q(W,`${$e??""} `),[()=>we(c(M))??""]),x(A,N)},error:(A,$)=>{var M=Ke(),N=U(M);At(N,e,"preview",{},null),x(A,M)}}}),Ue(We)}customElements.define("sesamy-content-container",xn(ed,{"item-src":{},"access-level":{},"publisher-content-id":{},"lock-mode":{},"locked-content-selector":{}},["content","preview"],[],{mode:"open"},qa));function td(t,e){He(e,!1);const r=Ul(),n=async()=>{try{return(await r).auth.isAuthenticated()}catch(i){return console.error("Error checking login status:",i),!1}};Di();var a=Ke(),o=U(a);nn(o,n,null,(i,s)=>{var l=Ke(),d=U(l);{var u=f=>{var v=Ke(),m=U(v);At(m,e,"logged-in",{},null),x(f,v)},h=f=>{var v=Ke(),m=U(v);At(m,e,"not-logged-in",{},null),x(f,v)};B(d,f=>{c(s)?f(u):f(h,-1)})}x(i,l)}),x(t,a),Ue()}customElements.define("sesamy-visibility",xn(td,{},["logged-in","not-logged-in"],[],{mode:"open"},qa));var ch=new Set(["$$slots","$$events","$$legacy","$$host"]);function rd(t,e){let r=Vt(e,ch);Kn(t,{children:ho,$$slots:{default:(n,a)=>{const o=Z(()=>a.api),i=Z(()=>a.t);Io(n,Wr({get api(){return c(o)},get t(){return c(i)}},()=>r))}}})}customElements.define("sesamy-login-menu-item",xn(rd,{},[],[],{mode:"open"}));const dh=Ye;ke.Avatar=Kc,ke.ContentContainer=ed,ke.Login=mc,ke.LoginMenuItem=rd,ke.Paywall=Yc,ke.SesamyEventName=wf,ke.TrackEventName=x0,ke.Visibility=td,ke.disableInteractions=C0,ke.enableInteractions=k0,ke.interactionsEnabled=jc,ke.resetInteractions=$0,ke.sesamyComponentsVersion=dh,Object.defineProperty(ke,Symbol.toStringTag,{value:"Module"})}));
|
|
81
|
+
`+"</style>";var O=Wc(),Be=U(O);{var Se=de=>{var S=Ke(),q=U(S);nn(q,()=>V().catch(K=>(console.error("Access check failed:",K),!0)),null,(K,re)=>{var te=Ke(),we=U(te);{var Le=j=>{var be=Y0(),Oe=Y(be),et=Y(Oe);It(et,{class:"w-full gap-4 text-center",children:(We,A)=>{var $=Z0(),M=U($);{var N=Me=>{var at=H0(),De=U(at);$t(2),G(Qe=>{Ee(De,"src",F),Ee(De,"alt",Qe)},[()=>`${e.t("logo_of")} ${I}`]),x(Me,at)};B(M,Me=>{T&&Me(N)})}var W=E(M,2);It(W,{class:"w-full gap-2",children:(Me,at)=>{var De=U0(),Qe=U(De),ot=Y(Qe);Ut(ot,()=>"slot",!1,(mt,lt)=>{yt(mt,()=>({name:"headline"}));var vt=Pt();G(()=>Q(vt,v)),x(lt,vt)}),H(Qe);var tt=E(Qe,2);Ut(tt,()=>"slot",!1,(mt,lt)=>{yt(mt,()=>({name:"below-headline"}));var vt=Ke(),yr=U(vt);{var dr=ur=>{Ki(ur,{get description(){return p.description},get readMoreLink(){return p.readMoreLink},get readMoreText(){return p.readMoreText},get t(){return e.t},class:"text-sm"})};B(yr,ur=>{p.description&&ur(dr)})}x(lt,vt)}),x(Me,De)},$$slots:{default:!0}});var ae=E(W,4);Ut(ae,()=>"slot",!1,(Me,at)=>{yt(Me,()=>({name:"features"}));var De=Ke(),Qe=U(De);{var ot=tt=>{Zi(tt,{get features(){return L},class:"w-full text-left text-sm space-y-2"})};B(Qe,tt=>{L.length&&tt(ot)})}x(at,De)});var fe=E(ae,2);Do(fe,{class:"text-left",children:(Me,at)=>{var De=Wc(),Qe=U(De);{let mt=Z(()=>!!c(l)),lt=Z(()=>e.t("email"));sr(Qe,{type:"email",autocomplete:"email",oninput:D,compact:!0,get hasError(){return c(mt)},get placeholder(){return c(lt)},get value(){return c(a)},set value(vt){P(a,vt,!0)}})}var ot=E(Qe,2);{var tt=mt=>{var lt=V0(),vt=Y(lt);ir(vt,{class:"text-primary text-xl",name:"info"});var yr=E(vt,2),dr=Y(yr),ur=E(dr),Tn=Ie(ur,!0);$t(),H(yr),H(lt),G(qe=>{Q(dr,`${qe??""} `),Q(Tn,c(o))},[()=>e.t("did_you_mean")]),or("click",lt,()=>{P(a,c(o),!0),P(o,"")}),x(mt,lt)};B(ot,mt=>{c(o)&&mt(tt)})}x(Me,De)},$$slots:{default:!0}});var he=E(fe,2);Vi(he,{get loading(){return c(s)},get disabled(){return c(s)},size:"lg",class:"w-full shadow-md bg-[var(--s-paywall-btn-bg-color)] text-[var(--s-paywall-btn-text-color)]",type:"submit",children:(Me,at)=>{$t();var De=Pt();G(Qe=>Q(De,Qe),[()=>p.buttonText||e.t("continue")]),x(Me,De)},$$slots:{default:!0}});var ze=E(he,2);{var $e=Me=>{_c(Me,{get text(){return c(l)}})};B(ze,Me=>{c(l)&&Me($e)})}var Ge=E(ze,2);Ut(Ge,()=>"slot",!1,(Me,at)=>{yt(Me,()=>({name:"below-button"}))});var Ze=E(Ge,2);{var Fe=Me=>{Tr(Me,{class:"w-full",children:(at,De)=>{var Qe=W0();je(Qe,1,"border-0 p-0 text-sm transition-opacity enabled:hover:bg-transparent enabled:hover:opacity-80");var ot=Y(Qe);Ut(ot,()=>"slot",!1,(tt,mt)=>{yt(tt,()=>({name:"login-button-text",slot:"button-text"}));var lt=B0(),vt=U(lt),yr=E(vt),dr=Ie(yr,!0);G((ur,Tn)=>{Q(vt,`${ur??""} `),Q(dr,Tn)},[()=>e.t("already_subscribing"),()=>e.t("login")]),x(mt,lt)}),H(Qe),x(at,Qe)},$$slots:{default:!0}})};B(Ze,Me=>{c(d)&&Me(Fe)})}var Te=E(Ze,2);{var ht=Me=>{Tr(Me,{class:"gap-2",children:(at,De)=>{var Qe=Ke(),ot=U(Qe);an(ot,17,()=>z,Ia,(tt,mt)=>{Ga(tt,{get name(){return c(mt)}})}),x(at,Qe)},$$slots:{default:!0}})};B(Te,Me=>{z!=null&&z.length&&Me(ht)})}x(We,$)},$$slots:{default:!0}}),H(Oe),H(be),G(We=>je(Oe,1,We),[()=>Ve(ie("mx-auto w-full max-w-[var(--s-paywall-max-width)] rounded-[var(--s-paywall-border-radius)] bg-[var(--s-paywall-bg-color)] text-[var(--s-paywall-text-color)]",(w==null?void 0:w.showBackground)&&"px-5 py-8 @sm:px-10 @sm:pt-6 @sm:pb-10",(w==null?void 0:w.showBackground)&&(w==null?void 0:w.dropShadow)&&"shadow-md @xl:shadow-lg",Ce&&"dark"))]),wo("submit",Oe,se),x(j,be)};B(we,j=>{c(re)||j(Le)})}x(K,te)}),x(de,S)};B(Be,de=>{p&&de(Se)})}var pe=E(Be,2);sn(pe,()=>ne),x(t,O),Ue()}Vr(["click"]);var J0=new Set(["$$slots","$$events","$$legacy","$$host"]),X0=R('<div class="sesamy-paywall" style="display: contents"><!></div>'),Zc=R(" <!>",1),Q0=R('<div class="sesamy-paywall-error"> </div>');function Yc(t,e){He(e,!0);let r=Vt(e,J0);const n=Z(()=>{const{paywall:w,...k}=r;return k});let a=ce({status:"pending"}),o=null,i=0,s=!1,l;function d(w){var _;const k=e.$$host;return k.getAttribute("publisher-content-id")||((_=w.content.get(k))==null?void 0:_.id)||void 0}function u(w,k){var _,p,L,V,D,se;return w===null||k===null?w===k:((_=w.paywall)==null?void 0:_.id)===((p=k.paywall)==null?void 0:p.id)&&((L=w.paywall)==null?void 0:L.decisionId)===((V=k.paywall)==null?void 0:V.decisionId)&&((D=w.paywall)==null?void 0:D.strategyId)===((se=k.paywall)==null?void 0:se.strategyId)&&w.template===k.template&&w.accessDenied===k.accessDenied}function h(w){o=w;const k=++i;T(w).then(_=>{k===i&&(c(a).status==="done"&&u(c(a).result,_)||P(a,{status:"done",result:_}))},_=>{k===i&&P(a,{status:"error",error:_})})}let f=!1;function v(w){f||(f=!0,queueMicrotask(()=>h(w)))}const m=()=>{l=void 0,s&&o&&h(o)};window.addEventListener(jt.AUTHENTICATED,m),window.addEventListener(jt.LOGOUT,m),window.addEventListener("online",m);const g=w=>{var _;const k=(_=w.detail)==null?void 0:_.publisherContentId;!k||!o||k!==d(o)||(l=k,s&&h(o))};window.addEventListener(Wi.CONTENT_GRANTED,g);let y=!1,C=!1;const z=()=>{y=!0},F=()=>{C=!0};Pa(()=>{window.removeEventListener(jt.AUTHENTICATED,m),window.removeEventListener(jt.LOGOUT,m),window.removeEventListener("online",m),window.removeEventListener(Wi.CONTENT_GRANTED,g),y&&!C&&zr(e.$$host,"sesamy:paywall-dismissed",{})});function I(w){return w.startsWith("/")||w.startsWith("./")||w.startsWith("../")||w.includes("/")?new URL(w,document.baseURI).href:w}async function T(w){var _e,ue;const k=e.$$host,_=w.content.get(k);s=(_==null?void 0:_.legacyContentAccess)===!1&&(_==null?void 0:_.accessLevel)!=="public"&&typeof w.content.hasAccess=="function";let p=!1;if(s){let ne;try{ne=l&&l===d(w)||await w.content.hasAccess(k)}catch(O){w.log(`Content access check failed, using the configured paywall: ${O}`),ne=void 0}if(ne)return F(),null;if(p=!0,C=!1,ne!==void 0){const O=(_e=w.content.get(k))==null?void 0:_e.resolvedPaywall;if(O!=null&&O.settings)return{paywall:O,template:O.settings.template,accessDenied:p}}}const V=new URLSearchParams(window.location.search).has("lab_opts"),D=(ue=w.content.get(k))==null?void 0:ue.paywallUrl,se=e.paywall||r["settings-url"],Ne=V?D||se:se||D;if(!Ne)return null;const Ce=await w.paywalls.get(I(Ne)),me=(Ce==null?void 0:Ce.settings.template)||"";return{paywall:Ce,template:me,accessDenied:p}}Kn(t,{children:ho,$$slots:{default:(w,k)=>{const _=Z(()=>k.api),p=Z(()=>k.t),L=Z(()=>e.$$host);$t();var V=Zc(),D=U(V),se=E(D);{var Ne=_e=>{var ue=X0(),ne=Y(ue);At(ne,e,"default",Wr({get api(){return c(_)},get t(){return c(p)}},()=>r),null),H(ue),x(_e,ue)},Ce=_e=>{const ue=Z(()=>c(a).result);var ne=Ke(),O=U(ne);{var Be=Se=>{var pe=Zc(),de=U(pe),S=E(de);{var q=we=>{Uc(we,Wr({get api(){return c(_)},get accessDenied(){return c(ue).accessDenied},get paywall(){return c(ue).paywall},get host(){return c(L)},get t(){return c(p)},onShown:z,onAccessGranted:F},()=>c(n)))},K=we=>{Uc(we,Wr({horizontal:!0,get api(){return c(_)},get accessDenied(){return c(ue).accessDenied},get paywall(){return c(ue).paywall},get host(){return c(L)},get t(){return c(p)},onShown:z,onAccessGranted:F},()=>c(n)))},re=we=>{K0(we,Wr({get api(){return c(_)},get accessDenied(){return c(ue).accessDenied},get paywall(){return c(ue).paywall},get host(){return c(L)},get t(){return c(p)},onShown:z,onAccessGranted:F},()=>c(n)))},te=we=>{j0(we,Wr({get api(){return c(_)},get t(){return c(p)},get paywall(){return c(ue).paywall},get host(){return c(L)},onShown:z,onAccessGranted:F},()=>c(n)))};B(S,we=>{c(ue).template==="ARTICLE"?we(q):c(ue).template==="BOXES"?we(K,1):c(ue).template==="EMAIL"?we(re,2):c(ue).template==="LOGIN"&&we(te,3)})}G(we=>Q(de,`${we??""} `),[()=>c(_).log(`sesamy-paywall with template ${c(ue).template}`)]),x(Se,pe)};B(O,Se=>{c(ue)&&Se(Be)})}x(_e,ne)},me=_e=>{var ue=Q0(),ne=Ie(ue);G(()=>Q(ne,`Error loading paywall: ${c(a).error.message??""}`)),x(_e,ue)};B(se,_e=>{c(a).status==="pending"?_e(Ne):c(a).status==="done"?_e(Ce,1):c(a).status==="error"&&_e(me,2)})}G(_e=>Q(D,`${_e??""} `),[()=>v(c(_))??""]),x(w,V)}}}),Ue()}customElements.define("sesamy-paywall",xn(Yc,{},["default"],[],{mode:"open"},qa));var eh=new Set(["$$slots","$$events","$$legacy","$$host"]);function Kc(t,e){let r=Vt(e,eh);Kn(t,{children:(n,a)=>{Bi(n,Wr(()=>r))},$$slots:{default:!0}})}customElements.define("sesamy-avatar",xn(Kc,{},[],[],{mode:"open"}));const th=1e4,Wo=[1e3,3e3,1e4,3e4];function rh(t){const e=Math.min(Math.max(t,0),Wo.length-1);return Wo[e]}function nh(t){return t instanceof Error?`${t.name&&t.name!=="Error"?`${t.name}: `:""}${t.message}`.slice(0,200):String(t).slice(0,200)}function ah(t){const e=t==null?void 0:t.status;if(typeof e=="number")return e>=500||e===408||e===429;if(t instanceof TypeError)return!0;const r=t==null?void 0:t.name;return r==="AbortError"||r==="TimeoutError"}async function oh(t,e){var r;try{return{state:await t.content.hasAccess(e)?"granted":"denied"}}catch(n){return(r=t.log)==null||r.call(t,`Could not resolve access: ${n==null?void 0:n.message}`),{state:"unknown",reason:nh(n)}}}async function ih(t,e,r=th){const n=oh(t,e);let a;const o=new Promise(i=>{a=setTimeout(()=>{var s;(s=t.log)==null||s.call(t,`Access check did not answer within ${r}ms`),i({state:"unknown",reason:"timeout",late:n})},r)});try{return await Promise.race([n,o])}finally{clearTimeout(a)}}function Jc(t){const e=t.parentNode;if(!e)return null;const r={node:t,parent:e,anchor:t.nextSibling};return t.remove(),r}function Xc(t){const{node:e,parent:r,anchor:n}=t;e.isConnected||(n&&n.parentNode===r?r.insertBefore(e,n):r.appendChild(e))}class sh{constructor(e){rt(this,"detachedSlot",null);rt(this,"injected",null);rt(this,"detachedInjected",null);this.host=e}find(){return this.host.querySelector('[slot="content"]')}isPresent(){return!!this.find()}adopt(e){this.injected=e,this.detachedInjected=null}detach(){var r;const e=this.find();e&&(this.detachedSlot=Jc(e)??this.detachedSlot),(r=this.injected)!=null&&r.isConnected&&(this.detachedInjected=Jc(this.injected)??this.detachedInjected)}restore(){this.restoreSlot(),this.detachedInjected&&(Xc(this.detachedInjected),this.detachedInjected=null)}restoreSlot(){this.detachedSlot&&(Xc(this.detachedSlot),this.detachedSlot=null)}}function Qc(t,e){t==="granted"&&e.restore(),t==="denied"&&e.detach()}var lh=R(" <!>",1);function ed(t,e){He(e,!0);let r=ee(e,"item-src",7,""),n=ee(e,"access-level",7),a=ee(e,"publisher-content-id",7),o=ee(e,"lock-mode",7,"embed"),i=ee(e,"locked-content-selector",7),s=null,l=!1,d=!1,u=ce("unknown"),h=null,f=null,v=!1,m=null,g=-1,y=-1,C=Wo.length,z=!1,F=null,I=0,T=-1,w=0,k=0,_=null,p=0,L=0,V=!1,D=!1,se=null;function Ne(){const A=e.$$host;if(!A||s)return;const $=A.querySelector('[slot="content"]');$&&(s=$.cloneNode(!0),$.remove())}function Ce(){if(o()!=="embed"||se)return;const A=e.$$host;A!=null&&A.isConnected&&getComputedStyle(A).display==="none"&&(se={value:A.style.getPropertyValue("display"),priority:A.style.getPropertyPriority("display")},A.style.setProperty("display",me("inline"),"important"))}function me(A){var M;return typeof CSS<"u"&&((M=CSS.supports)==null?void 0:M.call(CSS,"display","revert"))?"revert":A}function _e(){const A=se;if(!A)return;se=null;const $=e.$$host;$&&(A.value?$.style.setProperty("display",A.value,A.priority):$.style.removeProperty("display"))}function ue(A,$,M,N){d||(d=!0,na(A,"viewArticle",{itemSrc:ra(r(),$.url),publisherContentId:a()||$.id,state:L0(M,N)}))}async function ne(A,$=!1){var he;const M=e.$$host;if(!M||!h)return;$&&(I++,k=0,C=Wo.length);const N=I;Se();const W=A.content.get(M),ae=S0(n(),W==null?void 0:W.accessLevel);let fe;if(ae==="public")A.log("Content is public"),fe={state:"granted"};else{A.log("Checking access"),w++;try{fe=await ih(A,M)}finally{w--}}(he=fe.late)==null||he.then(ze=>{ze.state!=="unknown"&&T!==N&&O(A,N,ze,W,ae)}),await O(A,N,fe,W,ae)}async function O(A,$,M,N,W){if($!==I||!h)return;const ae=e.$$host;if(T!==$){if(M.state==="unknown"){Be(A,N,M.reason);return}if(M.state==="granted"&&o()==="embed"&&W!=="public"&&(N==null?void 0:N.legacyContentAccess)===!1&&g!==$){if(y===$)return;y=$;try{if(await A.content.unlock(ae,{delivery:"embed"}),$!==I||T===$||!ae.isConnected)return;g=$}catch(fe){if($!==I||T===$)return;const he=fe.status;if(he!==403){const ze=he===void 0||he>=500||he===401||he===408||he===429;Be(A,N,ze?"unlock-failed":`unlock-rejected-${he}`,ze);return}M={state:"denied"}}finally{y===$&&(y=-1)}}T=$,Se(),M.state==="granted"&&o()==="encode"&&g!==$?h.restoreSlot():Qc(M.state,h),P(u,M.state,!0),c(u)==="granted"?Ce():_e(),N&&ue(A,N,W,c(u)==="granted"),re(A,N,M.state),c(u)==="granted"&&await et(A,$)}}function Be(A,$,M,N=!0){k++,p++,L||(L=Date.now()),K(A,$,M),N&&pe(A,M)}function Se(){_!==null&&(clearTimeout(_),_=null)}function pe(A,$){Se();const M=rh(k-1);A.log(`Access unresolved (${$??"unknown"}); checking again in ${M}ms`),_=setTimeout(()=>{var N;_=null,(N=e.$$host)!=null&&N.isConnected&&ne(A)},M)}function de(){!f||T===I||k===0||w>0||document.visibilityState==="hidden"||ne(f)}function S(A,$){T=-1,k++,C!==0&&(C--,pe(A,`registration failed: ${$==null?void 0:$.message}`))}function q(A,$,M){var N;try{const W=A.errors;(N=W==null?void 0:W.report)==null||N.call(W,$,{details:{component:"content-container",...M}})}catch{}}function K(A,$,M){if(V)return;V=!0;const N=a()||($==null?void 0:$.id);na(A,"content_access_unresolved",{itemSrc:ra(r(),$==null?void 0:$.url),publisherContentId:N,reason:M??"unknown"}),q(A,{name:"ContentAccessUnresolved",message:`The content access check had no answer: ${M??"unknown"}`},{stage:"unresolved",reason:M??"unknown",publisherContentId:N,lockMode:o()})}function re(A,$,M){if(!V||D)return;D=!0;const N=a()||($==null?void 0:$.id),W=Date.now()-L;na(A,"content_access_recovered",{itemSrc:ra(r(),$==null?void 0:$.url),publisherContentId:N,state:M,attempts:p,elapsedMs:W}),q(A,{name:"ContentAccessRecovered",message:`The content access check was answered after ${p} without an answer`},{stage:"recovered",state:M,attempts:p,elapsedMs:W,publisherContentId:N,lockMode:o()})}function te(){f&&ne(f,!0)}function we(A){v||(v=!0,f=A,h=new sh(e.$$host),window.addEventListener(jt.AUTHENTICATED,te),window.addEventListener(jt.LOGOUT,te),window.addEventListener("online",de),document.addEventListener("visibilitychange",de),queueMicrotask(()=>void ne(A)))}Pa(()=>{window.removeEventListener(jt.AUTHENTICATED,te),window.removeEventListener(jt.LOGOUT,te),window.removeEventListener("online",de),document.removeEventListener("visibilitychange",de),Se(),I++,h=null,f=null});function Le(A){var fe;const $=e.$$host,M=A.content.get($),N=a()||(M==null?void 0:M.id)||"";if(dispatchEvent(new CustomEvent(Wi.CONTENT_GRANTED,{detail:{publisherContentId:N}})),l)return;l=!0;const W=new CustomEvent("sesamyUnlocked",{detail:{publisherContentId:N,itemSrc:r()},bubbles:!0,composed:!0});dispatchEvent(W);const ae=((fe=$.dataset)==null?void 0:fe.dcaContentName)??N??"";zr($,"sesamy:content-unlocked",{contentName:ae}),na(A,"content_unlocked",{itemSrc:ra(r(),M==null?void 0:M.url),publisherContentId:N,contentName:ae})}async function j(A){var fe;if(!A)return null;const $=e.$$host;if(!$)return null;const M=document.createElement("div");M.setAttribute("position","relative");const N=$.getAttribute("class");N&&M.setAttribute("class",N),M.innerHTML=A;const W=M.querySelectorAll("script"),ae=[];return W.forEach(he=>{var ze;try{const $e=document.createElement("script");Array.from(he.attributes).forEach(Ge=>$e.setAttribute(Ge.name,Ge.value)),he.src?document.head.appendChild($e):($e.textContent=he.textContent,ae.push($e)),(ze=he.parentNode)==null||ze.removeChild(he)}catch($e){console.error("Failed to process script:",$e,he)}}),(fe=$.parentElement)==null||fe.insertBefore(M,$),ae.forEach(he=>{try{document.head.appendChild(he),he.type!=="module"&&document.head.removeChild(he)}catch(ze){console.error("Failed to execute inline script:",ze,he)}}),M}async function be(A){switch(o()){case"encode":return A.content.unlock(e.$$host.parentElement,{encodedContent:(s==null?void 0:s.innerHTML)||""});case"event":return Le(A),"";case"proxy":case"signedUrl":return A.content.unlock(e.$$host.parentElement,i());case"embed":return"";default:return console.error("Invalid lock mode"),""}}function Oe(A){return A===I&&T===A&&c(u)==="granted"}async function et(A,$){var M,N;try{if(o()==="embed"){Le(A);return}if(o()==="encode"&&g!==$){if(y===$)return;y=$;try{Ne();const W=await be(A);if($!==I)return;m=W,g=$}finally{y===$&&(y=-1)}Oe($)&&(h==null||h.restore())}if(F||!Oe($))return;if(m===null){if(z||(z=!0,Ne(),!((M=e.$$host)!=null&&M.isConnected)))return;try{m=await be(A)}finally{z=!1}}if(!((N=e.$$host)!=null&&N.isConnected)||!Oe(I))return;F=await j(m),F&&(h==null||h.adopt(F)),o()!=="event"&&Le(A)}catch(W){o()==="encode"&&$===I&&(P(u,"denied"),h&&Qc("denied",h),_e(),ah(W)&&S(A,W)),console.error("Error unlocking content:",W)}}var We={get"item-src"(){return r()},set"item-src"(A=""){r(A),_t()},get"access-level"(){return n()},set"access-level"(A){n(A),_t()},get"publisher-content-id"(){return a()},set"publisher-content-id"(A){a(A),_t()},get"lock-mode"(){return o()},set"lock-mode"(A="embed"){o(A),_t()},get"locked-content-selector"(){return i()},set"locked-content-selector"(A){i(A),_t()}};return Kn(t,{applyStyles:!1,children:ho,$$slots:{default:(A,$)=>{const M=Z(()=>$.api);$t();var N=lh(),W=U(N),ae=E(W);{var fe=$e=>{var Ge=Ke(),Ze=U(Ge);At(Ze,e,"content",{},null),x($e,Ge)},he=$e=>{},ze=$e=>{var Ge=Ke(),Ze=U(Ge);At(Ze,e,"preview",{},null),x($e,Ge)};B(ae,$e=>{c(u)==="granted"&&o()==="embed"?$e(fe):c(u)==="granted"?$e(he,1):$e(ze,-1)})}G($e=>Q(W,`${$e??""} `),[()=>we(c(M))??""]),x(A,N)},error:(A,$)=>{var M=Ke(),N=U(M);At(N,e,"preview",{},null),x(A,M)}}}),Ue(We)}customElements.define("sesamy-content-container",xn(ed,{"item-src":{},"access-level":{},"publisher-content-id":{},"lock-mode":{},"locked-content-selector":{}},["content","preview"],[],{mode:"open"},qa));function td(t,e){He(e,!1);const r=Ul(),n=async()=>{try{return(await r).auth.isAuthenticated()}catch(i){return console.error("Error checking login status:",i),!1}};Di();var a=Ke(),o=U(a);nn(o,n,null,(i,s)=>{var l=Ke(),d=U(l);{var u=f=>{var v=Ke(),m=U(v);At(m,e,"logged-in",{},null),x(f,v)},h=f=>{var v=Ke(),m=U(v);At(m,e,"not-logged-in",{},null),x(f,v)};B(d,f=>{c(s)?f(u):f(h,-1)})}x(i,l)}),x(t,a),Ue()}customElements.define("sesamy-visibility",xn(td,{},["logged-in","not-logged-in"],[],{mode:"open"},qa));var ch=new Set(["$$slots","$$events","$$legacy","$$host"]);function rd(t,e){let r=Vt(e,ch);Kn(t,{children:ho,$$slots:{default:(n,a)=>{const o=Z(()=>a.api),i=Z(()=>a.t);Io(n,Wr({get api(){return c(o)},get t(){return c(i)}},()=>r))}}})}customElements.define("sesamy-login-menu-item",xn(rd,{},[],[],{mode:"open"}));const dh=Ye;ke.Avatar=Kc,ke.ContentContainer=ed,ke.Login=mc,ke.LoginMenuItem=rd,ke.Paywall=Yc,ke.SesamyEventName=wf,ke.TrackEventName=x0,ke.Visibility=td,ke.disableInteractions=C0,ke.enableInteractions=k0,ke.interactionsEnabled=jc,ke.resetInteractions=$0,ke.sesamyComponentsVersion=dh,Object.defineProperty(ke,Symbol.toStringTag,{value:"Module"})}));
|