@sesamy/sesamy-components 2.30.0 → 2.30.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(xe,Ve){typeof exports=="object"&&typeof module<"u"?Ve(exports):typeof define=="function"&&define.amd?define(["exports"],Ve):(xe=typeof globalThis<"u"?globalThis:xe||self,Ve(xe["@sesamy/sesamy-components"]={}))})(this,(function(xe){"use strict";var ih=Object.defineProperty;var td=xe=>{throw TypeError(xe)};var sh=(xe,Ve,yt)=>Ve in xe?ih(xe,Ve,{enumerable:!0,configurable:!0,writable:!0,value:yt}):xe[Ve]=yt;var Qe=(xe,Ve,yt)=>sh(xe,typeof Ve!="symbol"?Ve+"":Ve,yt),es=(xe,Ve,yt)=>Ve.has(xe)||td("Cannot "+yt);var _=(xe,Ve,yt)=>(es(xe,Ve,"read from private field"),yt?yt.call(xe):Ve.get(xe)),we=(xe,Ve,yt)=>Ve.has(xe)?td("Cannot add the same private member more than once"):Ve instanceof WeakSet?Ve.add(xe):Ve.set(xe,yt),me=(xe,Ve,yt,to)=>(es(xe,Ve,"write to private field"),to?to.call(xe,yt):Ve.set(xe,yt),yt),ze=(xe,Ve,yt)=>(es(xe,Ve,"access private method"),yt);var Xc,Qc,na,cn,Ln,aa,oa,ia,Yr,sa,jt,Ba,Kr,pr,Mr,la,Sn,Ue,ts,Xa,rs,rd,nd,va,lh,Qa,ed,Vt,Wa,lr,En,Rt,Ut,It,Bt,Tr,zn,dn,ca,Za,Ya,Jr,Wo,Be,ad,od,ns,id,as,eo,Jo,os,is,_r,Pr,Wt,An,Ka,Ja,Zo,Xr,cr;const Ve="2.30.0";typeof window<"u"&&((Xc=window.__svelte??(window.__svelte={})).v??(Xc.v=new Set)).add("5");const to=1,sd=2,ss=4,ld=8,cd=16,dd=1,ud=2,fd=4,hd=8,vd=16,md=4,ls=1,gd=2,cs="[",ro="[!",ds="[?",Xo="]",fn={},dt=Symbol("uninitialized"),us="http://www.w3.org/1999/xhtml",fs="http://www.w3.org/2000/svg",pd="http://www.w3.org/1998/Math/MathML",_d="@attach",hs=!1;var no=Array.isArray,bd=Array.prototype.indexOf,ao=Array.prototype.includes,oo=Array.from,io=Object.keys,ma=Object.defineProperty,Or=Object.getOwnPropertyDescriptor,vs=Object.getOwnPropertyDescriptors,yd=Object.prototype,wd=Array.prototype,Qo=Object.getPrototypeOf,ms=Object.isExtensible;function Tn(t){return typeof t=="function"}const Pn=()=>{};function gs(t){return typeof(t==null?void 0:t.then)=="function"}function xd(t){return t()}function ei(t){for(var e=0;e<t.length;e++)t[e]()}function ps(){var t,e,r=new Promise((n,a)=>{t=n,e=a});return{promise:r,resolve:t,reject:e}}const wt=2,Rn=4,ga=8,ti=1<<24,Jt=16,Xt=32,br=64,ri=128,ni=256,Qt=512,vt=1024,mt=2048,er=4096,At=8192,Nt=16384,en=32768,so=1<<25,Dr=65536,lo=1<<17,kd=1<<18,hn=1<<19,_s=1<<20,yr=1<<25,vn=65536,co=1<<21,In=1<<22,tn=1<<23,wr=Symbol("$state"),bs=Symbol("component"),ai=Symbol("legacy props"),Cd=Symbol(""),uo=Symbol("attributes"),oi=Symbol("class"),ii=Symbol("style"),pa=Symbol("text"),_a=Symbol("form reset"),ba=new class extends Error{constructor(){super(...arguments);Qe(this,"name","StaleReactionError");Qe(this,"message","The reaction that called `getAbortSignal()` was re-run or destroyed")}},ya=!!((Qc=globalThis.document)!=null&&Qc.contentType)&&globalThis.document.contentType.includes("xml"),Ld=1,wa=3,Nn=8;function Sd(){console.warn("https://svelte.dev/e/derived_inert")}function xa(t){console.warn("https://svelte.dev/e/hydration_mismatch")}function Ed(){console.warn("https://svelte.dev/e/select_multiple_invalid_value")}function zd(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let le=!1;function $t(t){le=t}let _e;function ut(t){if(t===null)throw xa(),fn;return _e=t}function xr(){return ut(vr(_e))}function G(t){if(le){if(vr(_e)!==null)throw xa(),fn;_e=t}}function St(t=1){if(le){for(var e=t,r=_e;e--;)r=vr(r);_e=r}}function ka(t=!0){for(var e=0,r=_e;;){if(r.nodeType===Nn){var n=r.data;if(n===Xo){if(e===0)return r;e-=1}else(n===cs||n===ro||n[0]==="["&&!isNaN(Number(n.slice(1))))&&(e+=1)}var a=vr(r);t&&r.remove(),r=a}}function ys(t){if(!t||t.nodeType!==Nn)throw xa(),fn;return t.data}function ws(t){return t===this.v}function Ad(t,e){return t!=t?e==e:t!==e||t!==null&&typeof t=="object"||typeof t=="function"}function xs(t){return!Ad(t,this.v)}function fo(){throw new Error("https://svelte.dev/e/invalid_default_snippet")}function ks(t){throw new Error("https://svelte.dev/e/lifecycle_outside_component")}function $d(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function Md(t,e,r){throw new Error("https://svelte.dev/e/each_key_duplicate")}function Td(t){throw new Error("https://svelte.dev/e/effect_in_teardown")}function Pd(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function Rd(t){throw new Error("https://svelte.dev/e/effect_orphan")}function Id(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function Nd(){throw new Error("https://svelte.dev/e/hydration_failed")}function Od(t){throw new Error("https://svelte.dev/e/props_invalid_value")}function Dd(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Fd(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function jd(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function Hd(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}let On=!1,Gd=!1;function qd(){On=!0}let et=null;function Dn(t){et=t}function Oe(t,e=!1,r){et={p:et,i:!1,c:null,e:null,s:t,x:null,r:be,l:On&&!e?{s:null,u:null,$:[]}:null}}function De(t){var e=et,r=e.e;if(r!==null){e.e=null;for(var n of r)Js(n)}return t!==void 0&&(e.x=t),e.i=!0,et=e.p,si(t)}function si(t={}){return ma(t,bs,{value:!0}),t}function Fn(){return!On||et!==null&&et.l===null}let mn=[];function Cs(){var t=mn;mn=[],ei(t)}function Ot(t){if(mn.length===0&&!Gn){var e=mn;queueMicrotask(()=>{e===mn&&Cs()})}mn.push(t)}function Vd(){for(;mn.length>0;)Cs()}const Ud=-7169;function st(t,e){t.f=t.f&Ud|e}function li(t){(t.f&Qt)!==0||t.deps===null?st(t,vt):st(t,er)}function Ls(t){if(t!==null)for(const e of t)(e.f&wt)===0||(e.f&vn)===0||(e.f^=vn,Ls(e.deps))}function Ss(t,e,r){(t.f&mt)!==0?e.add(t):(t.f&er)!==0&&r.add(t),Ls(t.deps),st(t,vt)}let ho=!1;function Bd(t){var e=ho;try{return ho=!1,[t(),ho]}finally{ho=e}}function Wd(t,e){if(e){const r=document.body;t.autofocus=!0,Ot(()=>{document.activeElement===r&&t.focus()})}}let Es=!1;function zs(){Es||(Es=!0,document.addEventListener("reset",t=>{Promise.resolve().then(()=>{var e;if(!t.defaultPrevented)for(const r of t.target.elements)(e=r[_a])==null||e.call(r)})},{capture:!0}))}function rn(t){var e=$e,r=be;rr(null),nr(null);try{return t()}finally{rr(e),nr(r)}}function As(t,e,r,n=r){t.addEventListener(e,()=>rn(r));const a=t[_a];a?t[_a]=()=>{a(),n(!0)}:t[_a]=()=>n(!0),zs()}function $s(t,e,r,n){const a=Fn()?jn:ci;var o=t.filter(h=>!h.settled),i=e.map(a);if(r.length===0&&o.length===0){n(i);return}var s=be,l=Ms(),d=o.length===1?o[0].promise:o.length>1?Promise.all(o.map(h=>h.promise)):null;function u(h){if((s.f&Nt)===0){l();try{n([...i,...h])}catch(v){Cr(v,s)}Ca()}}var m=Ts();if(r.length===0){d.then(()=>u([])).finally(m);return}function f(){Promise.all(r.map(h=>Zd(h))).then(u).catch(h=>Cr(h,s)).finally(m)}d?d.then(()=>{l(),f(),Ca()}):f()}function Ms(){var t=be,e=$e,r=et,n=ie;return function(o=!0){nr(t),rr(e),Dn(r),o&&(t.f&Nt)===0&&(n==null||n.activate(),n==null||n.apply())}}function Ca(t=!0){nr(null),rr(null),Dn(null),t&&(ie==null||ie.deactivate())}function Ts(){var t=be,e=t.b,r=ie,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=wt|mt;return be!==null&&(be.f|=hn),{ctx:et,deps:null,effects:null,equals:ws,f:e,fn:t,reactions:null,rv:0,v:dt,wv:0,parent:be,ac:null}}const La=Symbol("obsolete");function Zd(t,e,r){let n=be;n===null&&$d();var a=void 0,o=jr(dt),i=!$e,s=new Set;return su(()=>{var h,v;var l=be,d=ps();a=d.promise;try{Promise.resolve(t()).then(d.resolve,g=>{g!==ba&&d.reject(g)}).finally(Ca)}catch(g){d.reject(g),Ca()}var u=ie;if(i){if((l.f&en)!==0)var m=Ts();if((h=n.b)!=null&&h.is_rendered())(v=u.async_deriveds.get(l))==null||v.reject(La);else for(const g of s.values())g.reject(La);s.add(d),u.async_deriveds.set(l,d)}const f=(g,b=void 0)=>{m==null||m(),s.delete(d),b!==La&&(u.activate(),b?(o.f|=tn,Hr(o,b)):((o.f&tn)!==0&&(o.f^=tn),Hr(o,g)),u.deactivate())};d.promise.then(f,g=>f(null,g||"unknown"))}),po(()=>{for(const l of s)l.reject(La)}),new Promise(l=>{function d(u){function m(){u===a?l(o):d(a)}u.then(m,m)}d(a)})}function Y(t){const e=jn(t);return ol(e),e}function ci(t){const e=jn(t);return e.equals=xs,e}function Yd(t){var e=t.effects;if(e!==null){t.effects=null;for(var r=0;r<e.length;r+=1)xt(e[r])}}function di(t){var e,r=be,n=t.parent;if(!qr&&n!==null&&t.v!==dt&&(n.f&(Nt|At))!==0)return Sd(),t.v;nr(n);try{t.f&=~vn,Yd(t),e=dl(t)}finally{nr(r)}return e}function Ps(t){var e=di(t);if(!t.equals(e)&&(t.wv=ll(),(!(ie!=null&&ie.is_fork)||t.deps===null)&&(ie!==null?(ie.capture(t,e,!0),Sa==null||Sa.capture(t,e,!0)):t.v=e,t.deps===null))){st(t,vt);return}qr||(kt!==null?(pi()||ie!=null&&ie.is_fork)&&kt.set(t,e):li(t))}function Kd(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(ba),r.ac=null}),r.fn!==null&&(r.teardown=Pn),Ma(r,0),_i(r))}function Rs(t){if(t.effects!==null)for(const e of t.effects)e.teardown&&e.fn!==null&&bn(e)}let ui=null,Hn=null,ie=null,Sa=null,kt=null,fi=null,Gn=!1,hi=!1,qn=null,vo=null;var Is=0,ch=new Set;let Jd=1;const Bo=class Bo{constructor(){we(this,Ue);Qe(this,"id",Jd++);we(this,na,!1);Qe(this,"linked",!0);we(this,cn,null);we(this,Ln,null);Qe(this,"async_deriveds",new Map);Qe(this,"current",new Map);Qe(this,"previous",new Map);we(this,aa,new Set);we(this,oa,new Set);we(this,ia,0);we(this,Yr,new Map);we(this,sa,null);we(this,jt,[]);we(this,Ba,[]);we(this,Kr,new Set);we(this,pr,new Set);we(this,Mr,new Map);we(this,la,new Set);Qe(this,"is_fork",!1);we(this,Sn,!1);Hn===null?ui=Hn=this:(me(Hn,Ln,this),me(this,cn,Hn)),Hn=this}skip_effect(e){_(this,Mr).has(e)||_(this,Mr).set(e,{d:[],m:[]}),_(this,la).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)st(a,mt),r(a);for(a of n.m)st(a,er),r(a)}_(this,la).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]),kt==null||kt.set(e,r)),this.is_fork||(e.v=r)}activate(){ie=this}deactivate(){ie=null,kt=null}flush(){try{hi=!0,ie=this,ze(this,Ue,Xa).call(this)}finally{Is=0,fi=null,qn=null,vo=null,hi=!1,ie=null,kt=null,kr.clear()}}discard(){var e;for(const r of _(this,oa))r(this);_(this,oa).clear();for(const r of this.async_deriveds.values())r.reject(La);ze(this,Ue,Qa).call(this),(e=_(this,sa))==null||e.resolve()}register_created_effect(e){_(this,Ba).push(e)}increment(e,r){if(me(this,ia,_(this,ia)+1),e){let n=_(this,Yr).get(r)??0;_(this,Yr).set(r,n+1)}}decrement(e,r){if(me(this,ia,_(this,ia)-1),e){let n=_(this,Yr).get(r)??0;n===1?_(this,Yr).delete(r):_(this,Yr).set(r,n-1)}_(this,Sn)||(me(this,Sn,!0),Ot(()=>{me(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,pr).add(n);e.clear(),r.clear()}oncommit(e){_(this,aa).add(e)}ondiscard(e){_(this,oa).add(e)}settled(){return(_(this,sa)??me(this,sa,ps())).promise}static ensure(){if(ie===null){const e=ie=new Bo;!hi&&!Gn&&Ot(()=>{_(e,na)||e.flush()})}return ie}apply(){{kt=null;return}}schedule(e){var a;if(fi=e,(a=e.b)!=null&&a.is_pending&&(e.f&(Rn|ga|ti))!==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(qn!==null&&r===be&&($e===null||($e.f&wt)===0))return;if((n&(br|Xt))!==0){if((n&vt)===0)return;r.f^=vt}}_(this,jt).push(r)}};na=new WeakMap,cn=new WeakMap,Ln=new WeakMap,aa=new WeakMap,oa=new WeakMap,ia=new WeakMap,Yr=new WeakMap,sa=new WeakMap,jt=new WeakMap,Ba=new WeakMap,Kr=new WeakMap,pr=new WeakMap,Mr=new WeakMap,la=new WeakMap,Sn=new WeakMap,Ue=new WeakSet,ts=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},Xa=function(){var l,d,u,m;me(this,na,!0),Is++>1e3&&(ze(this,Ue,Qa).call(this),Xd());for(const f of _(this,Kr))_(this,pr).delete(f),st(f,mt),this.schedule(f);for(const f of _(this,pr))st(f,er),this.schedule(f);const e=_(this,jt);me(this,jt,[]),this.apply();var r=qn=[],n=[],a=vo=[];for(const f of e)try{ze(this,Ue,rs).call(this,f,r,n)}catch(h){throw Fs(f),ze(this,Ue,ts).call(this)||this.discard(),h}if(ie=null,a.length>0){var o=Bo.ensure();for(const f of a)o.schedule(f)}if(qn=null,vo=null,ze(this,Ue,ts).call(this)){ze(this,Ue,va).call(this,n),ze(this,Ue,va).call(this,r);for(const[f,h]of _(this,Mr))Ds(f,h);a.length>0&&ze(l=ie,Ue,Xa).call(l);return}const i=ze(this,Ue,rd).call(this);if(i){ze(this,Ue,va).call(this,n),ze(this,Ue,va).call(this,r),ze(d=i,Ue,nd).call(d,this);return}_(this,Kr).clear(),_(this,pr).clear();for(const f of _(this,aa))f(this);_(this,aa).clear(),Sa=this,Ns(n),Ns(r),Sa=null,(u=_(this,sa))==null||u.resolve();var s=ie;if(_(this,ia)===0&&(_(this,jt).length===0||s!==null)&&ze(this,Ue,Qa).call(this),_(this,jt).length>0)if(s!==null){const f=s;_(f,jt).push(..._(this,jt).filter(h=>!_(f,jt).includes(h)))}else s=this;s!==null&&(kr.clear(),ze(m=s,Ue,Xa).call(m))},rs=function(e,r,n){e.f^=vt;for(var a=e.first;a!==null;){var o=a.f,i=(o&(Xt|br))!==0,s=i&&(o&vt)!==0,l=s||(o&At)!==0||_(this,Mr).has(a);if(!l&&a.fn!==null){i?a.f^=vt:(o&Rn)!==0?r.push(a):Bn(a)&&((o&Jt)!==0&&_(this,pr).add(a),bn(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}}},rd=function(){for(var e=_(this,cn);e!==null;){if(!e.is_fork){for(const[r,[,n]]of this.current)if(e.current.has(r)&&!n)return e}e=_(e,cn)}return null},nd=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,pr));const r=a=>{var o=a.reactions;if(o!==null&&!((a.f&wt)!==0&&(a.f&(mt|er))===0))for(const l of o){var i=l.f;if((i&wt)!==0)r(l);else{var s=l;i&(In|Jt)&&!this.async_deriveds.has(s)&&(_(this,pr).delete(s),st(s,mt),this.schedule(s))}}};for(const a of this.current.keys())r(a);this.oncommit(()=>e.discard()),ze(n=e,Ue,Qa).call(n),ie=this,ze(this,Ue,Xa).call(this)},va=function(e){for(var r=0;r<e.length;r+=1)Ss(e[r],_(this,Kr),_(this,pr))},lh=function(){var m;for(let f=ui;f!==null;f=_(f,Ln)){var e=f.id<this.id,r=[];for(const[h,[v,g]]of this.current){if(f.current.has(h)){var n=f.current.get(h)[0];if(e&&v!==n)f.current.set(h,[v,g]);else continue}r.push(h)}if(e)for(const[h,v]of this.async_deriveds){const g=f.async_deriveds.get(h);g&&v.promise.then(g.resolve).catch(g.reject)}var a=[...f.current.keys()].filter(h=>!f.current.get(h)[1]);if(!(!_(f,na)||a.length===0)){var o=a.filter(h=>!this.current.has(h));if(o.length===0)e&&f.discard();else if(r.length>0){if(e)for(const h of _(this,la))f.unskip_effect(h,v=>{var g;(v.f&(Jt|In))!==0?f.schedule(v):ze(g=f,Ue,va).call(g,[v])});f.activate();var i=new Set,s=new Map;for(var l of r)Os(l,o,i,s);s=new Map;var d=[...f.current].filter(([h,v])=>{const g=this.current.get(h);return g?g[0]!==v[0]||g[1]!==v[1]:!0}).map(([h])=>h);if(d.length>0)for(const h of _(this,Ba))(h.f&(Nt|At|lo))===0&&vi(h,d,s)&&((h.f&(In|Jt))!==0?(st(h,mt),f.schedule(h)):_(f,Kr).add(h));if(_(f,jt).length>0&&!_(f,Sn)){f.apply();for(var u of _(f,jt))ze(m=f,Ue,rs).call(m,u,[],[]);me(f,jt,[])}f.deactivate()}}}},Qa=function(){if(this.linked){var e=_(this,cn),r=_(this,Ln);e===null?ui=r:me(e,Ln,r),r===null?Hn=e:me(r,cn,e),this.linked=!1}};let Fr=Bo;function gt(t){var e=Gn;Gn=!0;try{for(var r;;){if(Vd(),ie===null)return r;ie.flush()}}finally{Gn=e}}function Xd(){try{Id()}catch(t){Cr(t,fi)}}let fr=null;function Ns(t){var e=t.length;if(e!==0){for(var r=0;r<e;){var n=t[r++];if((n.f&(Nt|At))===0&&Bn(n)&&(fr=new Set,bn(n),n.deps===null&&n.first===null&&n.nodes===null&&n.teardown===null&&n.ac===null&&tl(n),(fr==null?void 0:fr.size)>0)){kr.clear();for(const a of fr){if((a.f&(Nt|At))!==0)continue;const o=[a];let i=a.parent;for(;i!==null;)fr.has(i)&&(fr.delete(i),o.push(i)),i=i.parent;for(let s=o.length-1;s>=0;s--){const l=o[s];(l.f&(Nt|At))===0&&bn(l)}}fr.clear()}}fr=null}}function Os(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&wt)!==0?Os(a,e,r,n):(o&(In|Jt))!==0&&(o&mt)===0&&vi(a,e,n)&&(st(a,mt),mi(a))}}function vi(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(ao.call(e,a))return!0;if((a.f&wt)!==0&&vi(a,e,r))return r.set(a,!0),!0}return r.set(t,!1),!1}function mi(t){ie.schedule(t)}function Ds(t,e){if(!((t.f&Xt)!==0&&(t.f&vt)!==0)){(t.f&mt)!==0?e.d.push(t):(t.f&er)!==0&&e.m.push(t),st(t,vt);for(var r=t.first;r!==null;)Ds(r,e),r=r.next}}function Fs(t){st(t,vt);for(var e=t.first;e!==null;)Fs(e),e=e.next}let mo=new Set;const kr=new Map;let js=!1;function jr(t,e){var r={f:0,v:t,reactions:null,equals:ws,rv:0,wv:0};return r}function he(t,e){const r=jr(t);return ol(r),r}function Ea(t,e=!1,r=!0){var a;const n=jr(t);return e||(n.equals=xs),On&&r&&et!==null&&et.l!==null&&((a=et.l).s??(a.s=[])).push(n),n}function M(t,e,r=!1){$e!==null&&(!mr||($e.f&lo)!==0)&&Fn()&&($e.f&(wt|Jt|In|lo))!==0&&(Lr===null||!Lr.has(t))&&jd();let n=r?hr(e):e;return Hr(t,n,vo)}function Hr(t,e,r=null){if(!t.equals(e)){qr?kr.set(t,e):kr.has(t)||kr.set(t,t.v);var n=Fr.ensure();if(n.capture(t,e),(t.f&wt)!==0){const a=t;(t.f&mt)!==0&&di(a),kt===null&&li(a)}t.wv=ll(),Hs(t,mt,r),Fn()&&be!==null&&(be.f&vt)!==0&&(be.f&(Xt|br))===0&&(ar===null?cu([t]):ar.push(t)),!n.is_fork&&mo.size>0&&!js&&Qd()}return e}function Qd(){js=!1;for(const t of mo){(t.f&vt)!==0&&st(t,er);let e;try{e=Bn(t)}catch{e=!0}e&&bn(t)}mo.clear()}function za(t){M(t,t.v+1)}function Hs(t,e,r){var n=t.reactions;if(n!==null)for(var a=Fn(),o=n.length,i=0;i<o;i++){var s=n[i],l=s.f;if(!(!a&&s===be)){var d=(l&mt)===0;if(d&&st(s,e),(l&lo)!==0)mo.add(s);else if((l&wt)!==0){var u=s;kt==null||kt.delete(u),(l&vn)===0&&(l&Qt&&(be===null||(be.f&co)===0)&&(s.f|=vn),Hs(u,er,r))}else if(d){var m=s;(l&Jt)!==0&&fr!==null&&fr.add(m),r!==null?r.push(m):mi(m)}}}}function hr(t){if(typeof t!="object"||t===null||wr in t||bs in t)return t;const e=Qo(t);if(e!==yd&&e!==wd)return t;var r=new Map,n=no(t),a=he(0),o=_n,i=s=>{if(_n===o)return s();var l=$e,d=_n;rr(null),sl(o);var u=s();return rr(l),sl(d),u};return n&&r.set("length",he(t.length)),new Proxy(t,{defineProperty(s,l,d){(!("value"in d)||d.configurable===!1||d.enumerable===!1||d.writable===!1)&&Dd();var u=r.get(l);return u===void 0?i(()=>{var m=he(d.value);return r.set(l,m),m}):M(u,d.value,!0),!0},deleteProperty(s,l){var d=r.get(l);if(d===void 0){if(l in s){const u=i(()=>he(dt));r.set(l,u),za(a)}}else M(d,dt),za(a);return!0},get(s,l,d){var h;if(l===wr)return t;var u=r.get(l),m=l in s;if(u===void 0&&(!m||(h=Or(s,l))!=null&&h.writable)&&(u=i(()=>{var v=hr(m?s[l]:dt),g=he(v);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 m=r.get(l),f=m==null?void 0:m.v;if(m!==void 0&&f!==dt)return{enumerable:!0,configurable:!0,value:f,writable:!0}}return d},has(s,l){var f;if(l===wr)return!0;var d=r.get(l),u=d!==void 0&&d.v!==dt||Reflect.has(s,l);if(d!==void 0||be!==null&&(!u||(f=Or(s,l))!=null&&f.writable)){d===void 0&&(d=i(()=>{var h=u?hr(s[l]):dt,v=he(h);return v}),r.set(l,d));var m=c(d);if(m===dt)return!1}return u},set(s,l,d,u){var I;var m=r.get(l),f=l in s;if(n&&l==="length")for(var h=d;h<m.v;h+=1){var v=r.get(h+"");v!==void 0?M(v,dt):h in s&&(v=i(()=>he(dt)),r.set(h+"",v))}if(m===void 0)(!f||(I=Or(s,l))!=null&&I.writable)&&(m=i(()=>he(void 0)),M(m,hr(d)),r.set(l,m));else{f=m.v!==dt;var g=i(()=>hr(d));M(m,g)}var b=Reflect.getOwnPropertyDescriptor(s,l);if(b!=null&&b.set&&b.set.call(u,d),!f){if(n&&typeof l=="string"){var w=r.get("length"),A=Number(l);Number.isInteger(A)&&A>=w.v&&M(w,A+1)}za(a)}return!0},ownKeys(s){c(a);var l=Reflect.ownKeys(s).filter(m=>{var f=r.get(m);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(){Fd()}})}function Gs(t){try{if(t!==null&&typeof t=="object"&&wr in t)return t[wr]}catch{}return t}function qs(t,e){return Object.is(Gs(t),Gs(e))}var Vs,Us,Bs,Ws;function gi(){if(Vs===void 0){Vs=window,Us=/Firefox/.test(navigator.userAgent);var t=Element.prototype,e=Node.prototype,r=Text.prototype;Bs=Or(e,"firstChild").get,Ws=Or(e,"nextSibling").get,ms(t)&&(t[oi]=void 0,t[uo]=null,t[ii]=void 0,t.__e=void 0),ms(r)&&(r[pa]=void 0)}}function Et(t=""){return document.createTextNode(t)}function pt(t){return Bs.call(t)}function vr(t){return Ws.call(t)}function W(t,e){if(!le)return pt(t);var r=pt(_e);if(r===null)r=_e.appendChild(Et());else if(e&&r.nodeType!==wa){var n=Et();return r==null||r.before(n),ut(n),n}return e&&go(r),ut(r),r}function q(t,e=!1){if(!le){var r=pt(t);return r instanceof Comment&&r.data===""?vr(r):r}if(e){if((_e==null?void 0:_e.nodeType)!==wa){var n=Et();return _e==null||_e.before(n),ut(n),n}go(_e)}return _e}function Ae(t,e=!1){if(!le)return pt(t);var r=W(t,e);return G(t),r}function L(t,e=1,r=!1){let n=le?_e:t;for(var a;e--;)a=n,n=vr(n);if(!le)return n;if(r){if((n==null?void 0:n.nodeType)!==wa){var o=Et();return n===null?a==null||a.after(o):n.before(o),ut(o),o}go(n)}return ut(n),n}function Zs(t){t.textContent=""}function Ys(){return!1}function Aa(t,e,r){return e==null||e===us?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===wa;)e.remove(),t.nodeValue+=e.nodeValue,e=t.nextSibling}function eu(t){var e=be;if(e===null)return $e.f|=tn,t;if((e.f&en)===0&&(e.f&Rn)===0)throw t;Cr(t,e)}function Cr(t,e){if(!(e!==null&&(e.f&Nt)!==0)){for(;e!==null;){if((e.f&ri)!==0&&(e.f&(Nt|so))===0){if((e.f&en)===0)throw t;try{e.b.error(t);return}catch(r){t=r}}e=e.parent}throw t}}function Ks(t){be===null&&($e===null&&Rd(),Pd()),qr&&Td()}function tu(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=be;r!==null&&(r.f&At)!==0&&(t|=At);var n={ctx:et,deps:null,nodes:null,f:t|mt|Qt,first:null,fn:e,last:null,next:null,parent:r,b:r&&r.b,prev:null,teardown:null,wv:0,ac:null};ie==null||ie.register_created_effect(n);var a=n;if((t&Rn)!==0)qn!==null?qn.push(n):Fr.ensure().schedule(n);else if(e!==null){try{bn(n)}catch(i){throw xt(n),i}a.deps===null&&a.teardown===null&&a.nodes===null&&a.first===a.last&&(a.f&hn)===0&&(a=a.first,(t&Jt)!==0&&(t&Dr)!==0&&a!==null&&(a.f|=Dr))}if(a!==null&&(a.parent=r,r!==null&&tu(a,r),$e!==null&&($e.f&wt)!==0&&(t&br)===0)){var o=$e;(o.effects??(o.effects=[])).push(a)}return n}function pi(){return $e!==null&&!mr}function po(t){const e=tr(ga,null);return st(e,vt),e.teardown=t,e}function Gr(t){Ks();var e=be.f,r=!$e&&(e&Xt)!==0&&et!==null&&!et.i;if(r){var n=et;(n.e??(n.e=[])).push(t)}else return Js(t)}function Js(t){return tr(Rn|_s,t)}function ru(t){return Ks(),tr(ga|_s,t)}function nu(t){Fr.ensure();const e=tr(br|hn,t);return()=>{xt(e)}}function au(t){Fr.ensure();const e=tr(br|hn,t);return(r={})=>new Promise(n=>{r.outro?gn(e,()=>{xt(e),n(void 0)}):(xt(e),n(void 0))})}function $a(t){return tr(Rn,t)}function ou(t,e){var r=et,n={effect:null,ran:!1,deps:t};r.l.$.push(n),n.effect=Vn(()=>{if(t(),!n.ran){n.ran=!0;var a=be;try{nr(a.parent),lt(e)}finally{nr(a)}}})}function iu(){var t=et;Vn(()=>{for(var e of t.l.$){e.deps();var r=e.effect;(r.f&vt)!==0&&r.deps!==null&&st(r,er),Bn(r)&&bn(r),e.ran=!1}})}function su(t){return tr(In|hn,t)}function Vn(t,e=0){return tr(ga|e,t)}function H(t,e=[],r=[],n=[]){$s(n,e,r,a=>{tr(ga,()=>{t(...a.map(c))})})}function Un(t,e=0){var r=tr(Jt|e,t);return r}function Xs(t,e=0){var r=tr(ti|e,t);return r}function Dt(t){return tr(Xt|hn,t)}function Qs(t){var e=t.teardown;if(e!==null){const r=qr,n=$e;al(!0),rr(null);try{e.call(null)}catch(a){Cr(a,t.parent)}finally{al(r),rr(n)}}}function _i(t,e=!1){var r=t.first;for(t.first=t.last=null;r!==null;){const a=r.ac;a!==null&&rn(()=>{a.abort(ba)});var n=r.next;(r.f&br)!==0?r.parent=null:xt(r,e),r=n}}function lu(t){for(var e=t.first;e!==null;){var r=e.next;(e.f&Xt)===0&&xt(e),e=r}}function xt(t,e=!0){var r=!1;(e||(t.f&kd)!==0)&&t.nodes!==null&&t.nodes.end!==null&&(el(t.nodes.start,t.nodes.end),r=!0),t.f|=so,_i(t,e&&!r),Ma(t,0);var n=t.nodes&&t.nodes.t;if(n!==null)for(const o of n)o.stop();Qs(t),t.f^=so,t.f|=Nt;var a=t.parent;a!==null&&a.first!==null&&tl(t),t.next=t.prev=t.teardown=t.ctx=t.deps=t.fn=t.nodes=t.ac=t.b=null}function el(t,e){for(;t!==null;){var r=t===e?null:vr(t);t.remove(),t=r}}function tl(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|=ni,rl(t,n,!0);var a=()=>{r&&xt(t),e&&e()},o=n.length;if(o>0){var i=()=>--o||a();for(var s of n)s.out(i)}else a()}function rl(t,e,r){if((t.f&At)===0){t.f^=At;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&br)===0){var i=(a.f&Dr)!==0||(a.f&Xt)!==0&&(t.f&Jt)!==0;rl(a,e,i?r:!1)}a=o}}}function _o(t){t.f&=~ni,nl(t,!0)}function nl(t,e){if((t.f&ni)===0&&(t.f&At)!==0){t.f^=At,(t.f&vt)===0&&(st(t,mt),Fr.ensure().schedule(t));for(var r=t.first;r!==null;){var n=r.next,a=(r.f&Dr)!==0||(r.f&Xt)!==0;nl(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 bi(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 bo=!1,qr=!1;function al(t){qr=t}let $e=null,mr=!1;function rr(t){$e=t}let be=null;function nr(t){be=t}let Lr=null;function ol(t){$e!==null&&(Lr??(Lr=new Set)).add(t)}let Ft=null,Ht=0,ar=null;function cu(t){ar=t}let il=1,pn=0,_n=pn;function sl(t){_n=t}function ll(){return++il}function Bn(t){var e=t.f;if((e&mt)!==0)return!0;if(e&wt&&(t.f&=~vn),(e&er)!==0){for(var r=t.deps,n=r.length,a=0;a<n;a++){var o=r[a];if(Bn(o)&&Ps(o),o.wv>t.wv)return!0}(e&Qt)!==0&&kt===null&&st(t,vt)}return!1}function cl(t,e,r=!0){var n=t.reactions;if(n!==null&&!(Lr!==null&&Lr.has(t)))for(var a=0;a<n.length;a++){var o=n[a];(o.f&wt)!==0?cl(o,e,!1):e===o&&(r?st(o,mt):(o.f&vt)!==0&&st(o,er),mi(o))}}function dl(t){var e=Ft,r=Ht,n=ar,a=$e,o=Lr,i=et,s=mr,l=_n,d=t.f;Ft=null,Ht=0,ar=null,$e=(d&(Xt|br))===0?t:null,Lr=null,Dn(t.ctx),mr=!1,_n=++pn,t.ac!==null&&(rn(()=>{t.ac.abort(ba)}),t.ac=null);try{t.f|=co;var u=t.fn,m=u();t.f|=en;var f=ul(t);if(Fn()&&ar!==null&&!mr&&f!==null&&(t.f&(wt|er|mt))===0)for(var h=0;h<ar.length;h++)cl(ar[h],t);if(a!==null&&a!==t){if(pn++,a.deps!==null)for(let v=0;v<r;v+=1)a.deps[v].rv=pn;if(e!==null)for(const v of e)v.rv=pn;ar!==null&&(n===null?n=ar:n.push(...ar))}return(t.f&tn)!==0&&(t.f^=tn),m}catch(v){return ul(t),eu(v)}finally{t.f^=co,Ft=e,Ht=r,ar=n,$e=a,Lr=o,Dn(i),mr=s,_n=l}}function ul(t){var a;var e=t.deps,r=ie==null?void 0:ie.is_fork;if(Ft!==null){var n;if(r||Ma(t,Ht),e!==null&&Ht>0)for(e.length=Ht+Ft.length,n=0;n<Ft.length;n++)e[Ht+n]=Ft[n];else t.deps=e=Ft;if(pi()&&(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 du(t,e){let r=e.reactions;if(r!==null){var n=bd.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&wt)!==0&&(Ft===null||!ao.call(Ft,e))){var o=e;(o.f&Qt)!==0&&(o.f^=Qt,o.f&=~vn),o.v!==dt&&li(o),o.ac!==null&&rn(()=>{o.ac.abort(ba),o.ac=null,st(o,mt)}),Kd(o),Ma(o,0)}}function Ma(t,e){var r=t.deps;if(r!==null)for(var n=e;n<r.length;n++)du(t,r[n])}function bn(t){var e=t.f;if((e&Nt)===0){st(t,vt);var r=be,n=bo;be=t,bo=(e&(Xt|br))===0;try{(e&(Jt|ti))!==0?lu(t):_i(t),Qs(t);var a=dl(t);t.teardown=typeof a=="function"?a:null,t.wv=il;var o;hs&&Gd&&(t.f&mt)!==0&&t.deps}finally{bo=n,be=r}}}async function uu(){await Promise.resolve(),gt()}function c(t){var e=t.f,r=(e&wt)!==0;if($e!==null&&!mr){var n=be!==null&&(be.f&Nt)!==0;if(!n&&(Lr===null||!Lr.has(t))){var a=$e.deps;if(($e.f&co)!==0)t.rv<pn&&(t.rv=pn,Ft===null&&a!==null&&a[Ht]===t?Ht++:Ft===null?Ft=[t]:Ft.push(t));else{$e.deps??($e.deps=[]),ao.call($e.deps,t)||$e.deps.push(t);var o=t.reactions;o===null?t.reactions=[$e]:ao.call(o,$e)||o.push($e)}}}if(qr&&kr.has(t))return kr.get(t);if(r){var i=t;if(qr){var s=i.v;return((i.f&vt)===0&&i.reactions!==null||hl(i))&&(s=di(i)),kr.set(i,s),s}var l=(i.f&Qt)===0&&!mr&&$e!==null&&(bo||($e.f&Qt)!==0),d=(i.f&en)===0;Bn(i)&&(l&&(i.f|=Qt),Ps(i)),l&&!d&&(Rs(i),fl(i))}if(kt!=null&&kt.has(t))return kt.get(t);if((t.f&tn)!==0)throw t.v;return t.v}function fl(t){if(t.f|=Qt,t.deps!==null)for(const e of t.deps)(e.reactions??(e.reactions=[])).push(t),(e.f&wt)!==0&&(e.f&Qt)===0&&(Rs(e),fl(e))}function hl(t){if(t.v===dt)return!0;if(t.deps===null)return!1;for(const e of t.deps)if(kr.has(e)||(e.f&wt)!==0&&hl(e))return!0;return!1}function lt(t){var e=mr;try{return mr=!0,t()}finally{mr=e}}function ft(t){if(!(typeof t!="object"||!t||t instanceof EventTarget)){if(wr in t)yi(t);else if(!Array.isArray(t))for(let e in t){const r=t[e];typeof r=="object"&&r&&wr in r&&yi(r)}}}function yi(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{yi(t[n],e)}catch{}const r=Qo(t);if(r!==Object.prototype&&r!==Array.prototype&&r!==Map.prototype&&r!==Set.prototype&&r!==Date.prototype){const n=vs(r);for(let a in n){const o=n[a].get;if(o)try{o.call(t)}catch{}}}}}const yn=Symbol("events"),vl=new Set,wi=new Set;function ml(t,e,r,n={}){function a(o){if(n.capture||Ci.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 yo(t,e,r,n,a){var o={capture:n,passive:a},i=ml(t,e,r,o);(e===document.body||e===window||e===document||e instanceof HTMLMediaElement)&&po(()=>{e.removeEventListener(t,i,o)})}function or(t,e,r){(e[yn]??(e[yn]={}))[t]=r}function Vr(t){for(var e=0;e<t.length;e++)vl.add(t[e]);for(var r of wi)r(t)}let xi=null,ki=!1;function Ci(t){var g,b;var e=this,r=e.ownerDocument,n=t.type,a=((g=t.composedPath)==null?void 0:g.call(t))||[],o=a[0]||t.target;xi=t,ki||(ki=!0,setTimeout(()=>{ki=!1,xi=null}));var i=0,s=xi===t&&t[yn];if(s){var l=a.indexOf(s);if(l!==-1&&(e===document||e===window)){t[yn]=e;return}var d=a.indexOf(e);if(d===-1)return;l<=d&&(i=l)}if(o=a[i]||t.target,o!==e){ma(t,"currentTarget",{configurable:!0,get(){return o||r}});var u=$e,m=be;rr(null),nr(null);try{for(var f,h=[];o!==null&&o!==e;){try{var v=(b=o[yn])==null?void 0:b[n];v!=null&&(!o.disabled||t.target===o)&&v.call(o,t)}catch(w){f?h.push(w):f=w}if(t.cancelBubble)break;i++,o=i<a.length?a[i]:null}if(f){for(let w of h)queueMicrotask(()=>{throw w});throw f}}finally{t[yn]=e,delete t.currentTarget,rr(u),nr(m)}}}const Li=((ed=globalThis==null?void 0:globalThis.window)==null?void 0:ed.trustedTypes)&&globalThis.window.trustedTypes.createPolicy("svelte-trusted-html",{createHTML:t=>t});function fu(t){return(Li==null?void 0:Li.createHTML(t))??t}function gl(t){var e=Aa("template");return e.innerHTML=fu(t.replaceAll("<!>","<!---->")),e.content}function Mt(t,e){var r=be;r.nodes===null&&(r.nodes={start:t,end:e,a:null,t:null})}function T(t,e){var r=(e&ls)!==0,n=(e&gd)!==0,a,o=!t.startsWith("<!>");return()=>{if(le)return Mt(_e,null),_e;a===void 0&&(a=gl(o?t:"<!>"+t),r||(a=pt(a)));var i=n||Us?document.importNode(a,!0):a.cloneNode(!0);if(r){var s=pt(i),l=i.lastChild;Mt(s,l)}else Mt(i,i);return i}}function hu(t,e,r="svg"){var n=!t.startsWith("<!>"),a=(e&ls)!==0,o=`<${r}>${n?t:"<!>"+t}</${r}>`,i;return()=>{if(le)return Mt(_e,null),_e;if(!i){var s=gl(o),l=pt(s);if(a)for(i=document.createDocumentFragment();pt(l);)i.appendChild(pt(l));else i=pt(l)}var d=i.cloneNode(!0);if(a){var u=pt(d),m=d.lastChild;Mt(u,m)}else Mt(d,d);return d}}function Sr(t,e){return hu(t,e,"svg")}function Tt(t=""){if(!le){var e=Et(t+"");return Mt(e,e),e}var r=_e;return r.nodeType!==wa?(r.before(r=Et()),ut(r)):go(r),Mt(r,r),r}function qe(){if(le)return Mt(_e,null),_e;var t=document.createDocumentFragment(),e=document.createComment(""),r=Et();return t.append(e,r),Mt(e,r),t}function y(t,e){if(le){var r=be;((r.f&en)===0||r.nodes.end===null)&&(r.nodes.end=_e),xr();return}t!==null&&t.before(e)}function vu(t){return t.endsWith("capture")&&t!=="gotpointercapture"&&t!=="lostpointercapture"}const mu=["beforeinput","click","change","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"];function gu(t){return mu.includes(t)}const pu={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 _u(t){return t=t.toLowerCase(),pu[t]??t}const bu=["touchstart","touchmove"];function yu(t){return bu.includes(t)}const wu=["textarea","script","style","title"];function xu(t){return wu.includes(t)}function ku(t){let e=0,r=jr(0),n;return()=>{pi()&&(c(r),Vn(()=>(e===0&&(n=lt(()=>t(()=>za(r)))),e+=1,()=>{Ot(()=>{e-=1,e===0&&(n==null||n(),n=void 0,za(r))})})))}}var Cu=Dr|hn;function Lu(t,e,r,n){new Su(t,e,r,n)}class Su{constructor(e,r,n,a){we(this,Be);Qe(this,"parent");Qe(this,"is_pending",!1);Qe(this,"transform_error");we(this,Vt);we(this,Wa,le?_e:null);we(this,lr);we(this,En);we(this,Rt);we(this,Ut,null);we(this,It,null);we(this,Bt,null);we(this,Tr,null);we(this,zn,0);we(this,dn,0);we(this,ca,!1);we(this,Za,new Set);we(this,Ya,new Set);we(this,Jr,null);we(this,Wo,ku(()=>(me(this,Jr,jr(_(this,zn))),()=>{me(this,Jr,null)})));var o;me(this,Vt,e),me(this,lr,r),me(this,En,i=>{var s=be;s.b=this,s.f|=ri,n(i)}),this.parent=be.b,this.transform_error=a??((o=this.parent)==null?void 0:o.transform_error)??(i=>i),me(this,Rt,Un(()=>{if(le){const i=_(this,Wa);xr();const s=i.data===ro;if(i.data.startsWith(ds)){const d=JSON.parse(i.data.slice(ds.length));ze(this,Be,od).call(this,d)}else s?ze(this,Be,id).call(this):ze(this,Be,ad).call(this)}else ze(this,Be,as).call(this)},Cu)),le&&me(this,Vt,_e)}defer_effect(e){Ss(e,_(this,Za),_(this,Ya))}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!_(this,lr).pending}update_pending_count(e,r){ze(this,Be,os).call(this,e,r),me(this,zn,_(this,zn)+e),!(!_(this,Jr)||_(this,ca))&&(me(this,ca,!0),Ot(()=>{me(this,ca,!1),_(this,Jr)&&Hr(_(this,Jr),_(this,zn))}))}get_effect_pending(){return _(this,Wo).call(this),c(_(this,Jr))}error(e){if(!_(this,lr).onerror&&!_(this,lr).failed)throw e;ie!=null&&ie.is_fork?(_(this,Ut)&&ie.skip_effect(_(this,Ut)),_(this,It)&&ie.skip_effect(_(this,It)),_(this,Bt)&&ie.skip_effect(_(this,Bt)),ie.oncommit(()=>{ze(this,Be,is).call(this,e)})):ze(this,Be,is).call(this,e)}}Vt=new WeakMap,Wa=new WeakMap,lr=new WeakMap,En=new WeakMap,Rt=new WeakMap,Ut=new WeakMap,It=new WeakMap,Bt=new WeakMap,Tr=new WeakMap,zn=new WeakMap,dn=new WeakMap,ca=new WeakMap,Za=new WeakMap,Ya=new WeakMap,Jr=new WeakMap,Wo=new WeakMap,Be=new WeakSet,ad=function(){try{me(this,Ut,Dt(()=>_(this,En).call(this,_(this,Vt))))}catch(e){this.error(e)}},od=function(e){const r=_(this,lr).failed,{reset:n,invoke_onerror:a}=ze(this,Be,ns).call(this,e);Ot(a),r&&me(this,Bt,Dt(()=>{r(_(this,Vt),()=>e,()=>n)}))},ns=function(e){var r=!1,n=!1;const a=()=>{if(r){zd();return}r=!0,n&&Hd(),_(this,Bt)!==null&&gn(_(this,Bt),()=>{me(this,Bt,null)}),ze(this,Be,Jo).call(this,()=>{ze(this,Be,as).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){Cr(l,_(this,Rt)&&_(this,Rt).parent)}}}},id=function(){const e=_(this,lr).pending;e&&(this.is_pending=!0,me(this,It,Dt(()=>e(_(this,Vt)))),Ot(()=>{var r=me(this,Tr,document.createDocumentFragment()),n=Et(),a=!1;if(r.append(n),me(this,Ut,ze(this,Be,Jo).call(this,()=>{try{return Dt(()=>_(this,En).call(this,n))}catch(o){try{this.error(o),a=!0}catch(i){Cr(i,_(this,Rt).parent)}return null}})),_(this,Ut)===null){me(this,Tr,null),a&&ze(this,Be,eo).call(this,ie);return}_(this,dn)===0&&(_(this,Vt).before(r),me(this,Tr,null),gn(_(this,It),()=>{me(this,It,null)}),ze(this,Be,eo).call(this,ie))}))},as=function(){try{if(this.is_pending=this.has_pending_snippet(),me(this,dn,0),me(this,zn,0),me(this,Ut,Dt(()=>{_(this,En).call(this,_(this,Vt))})),_(this,dn)>0){var e=me(this,Tr,document.createDocumentFragment());bi(_(this,Ut),e);const r=_(this,lr).pending;me(this,It,Dt(()=>r(_(this,Vt))))}else ze(this,Be,eo).call(this,ie)}catch(r){this.error(r)}},eo=function(e){this.is_pending=!1,e.transfer_effects(_(this,Za),_(this,Ya))},Jo=function(e){var r=be,n=$e,a=et;nr(_(this,Rt)),rr(_(this,Rt)),Dn(_(this,Rt).ctx);try{return Fr.ensure(),e()}finally{nr(r),rr(n),Dn(a)}},os=function(e,r){var n;if(!this.has_pending_snippet()){this.parent&&ze(n=this.parent,Be,os).call(n,e,r);return}me(this,dn,_(this,dn)+e),_(this,dn)===0&&(ze(this,Be,eo).call(this,r),_(this,It)&&gn(_(this,It),()=>{me(this,It,null)}),_(this,Tr)&&(_(this,Vt).before(_(this,Tr)),me(this,Tr,null)))},is=function(e){_(this,Ut)&&(xt(_(this,Ut)),me(this,Ut,null)),_(this,It)&&(xt(_(this,It)),me(this,It,null)),_(this,Bt)&&(xt(_(this,Bt)),me(this,Bt,null)),le&&(ut(_(this,Wa)),St(),ut(ka()));let r=_(this,lr).failed;const n=a=>{const{reset:o,invoke_onerror:i}=ze(this,Be,ns).call(this,a);i(),r&&me(this,Bt,ze(this,Be,Jo).call(this,()=>{try{return Dt(()=>{var s=be;s.b=this,s.f|=ri,r(_(this,Vt),()=>a,()=>o)})}catch(s){return Cr(s,_(this,Rt).parent),null}}))};Ot(()=>{var a;try{a=this.transform_error(e)}catch(o){Cr(o,_(this,Rt)&&_(this,Rt).parent);return}a!==null&&typeof a=="object"&&typeof a.then=="function"?a.then(n,o=>Cr(o,_(this,Rt)&&_(this,Rt).parent)):n(a)})};let wo=!0;function xo(t){wo=t}function Q(t,e){var r=e==null?"":typeof e=="object"?`${e}`:e;r!==(t[pa]??(t[pa]=t.nodeValue))&&(t[pa]=r,t.nodeValue=`${r}`)}function pl(t,e){return _l(t,e)}function Eu(t,e){gi(),e.intro=e.intro??!1;const r=e.target,n=le,a=_e;try{for(var o=pt(r);o&&(o.nodeType!==Nn||o.data!==cs);)o=vr(o);if(!o)throw fn;$t(!0),ut(o);const i=_l(t,{...e,anchor:o});return $t(!1),i}catch(i){if(i instanceof Error&&i.message.split(`
2
- `).some(s=>s.startsWith("https://svelte.dev/e/")))throw i;return i!==fn&&console.warn("Failed to hydrate: ",i),e.recover===!1&&Nd(),gi(),Zs(r),$t(!1),pl(t,e)}finally{$t(n),ut(a)}}const ko=new Map;function _l(t,{target:e,anchor:r,props:n={},events:a,context:o,intro:i=!0,transformError:s}){gi();var l=void 0,d=au(()=>{var u=r??e.appendChild(Et());Lu(u,{pending:()=>{}},h=>{Oe({});var v=et;if(o&&(v.c=o),a&&(n.$$events=a),le&&Mt(h,null),wo=i,l=t(h,n)||si(),wo=!0,le&&(be.nodes.end=_e,_e===null||_e.nodeType!==Nn||_e.data!==Xo))throw xa(),fn;De()},s);var m=new Set,f=h=>{for(var v=0;v<h.length;v++){var g=h[v];if(!m.has(g)){m.add(g);var b=yu(g);for(const I of[e,document]){var w=ko.get(I);w===void 0&&(w=new Map,ko.set(I,w));var A=w.get(g);A===void 0?(I.addEventListener(g,Ci,{passive:b}),w.set(g,1)):w.set(g,A+1)}}}};return f(oo(vl)),wi.add(f),()=>{var b;for(var h of m)for(const w of[e,document]){var v=ko.get(w),g=v.get(h);--g==0?(w.removeEventListener(h,Ci),v.delete(h),v.size===0&&ko.delete(w)):v.set(h,g)}wi.delete(f),u!==r&&((b=u.parentNode)==null||b.removeChild(u))}});return Si.set(l,d),l}let Si=new WeakMap;function zu(t,e){const r=Si.get(t);return r?(Si.delete(t),r(e)):Promise.resolve()}class Co{constructor(e,r=!0){Qe(this,"anchor");we(this,_r,new Map);we(this,Pr,new Map);we(this,Wt,new Map);we(this,An,new Set);we(this,Ka,!0);we(this,Ja,e=>{if(_(this,_r).has(e)){var r=_(this,_r).get(e),n=_(this,Pr).get(r);if(n)_o(n),_(this,An).delete(r);else{var a=_(this,Wt).get(r);a&&(_o(a.effect),_(this,Pr).set(r,a.effect),_(this,Wt).delete(r),a.fragment.lastChild.remove(),this.anchor.before(a.fragment),n=a.effect)}for(const[o,i]of _(this,_r)){if(_(this,_r).delete(o),o===e)break;const s=_(this,Wt).get(i);s&&(xt(s.effect),_(this,Wt).delete(i))}for(const[o,i]of _(this,Pr)){if(o===r||_(this,An).has(o))continue;const s=()=>{if(Array.from(_(this,_r).values()).includes(o)){var d=document.createDocumentFragment();bi(i,d),d.append(Et()),_(this,Wt).set(o,{effect:i,fragment:d})}else xt(i);_(this,An).delete(o),_(this,Pr).delete(o)};_(this,Ka)||!n?(_(this,An).add(o),gn(i,s,!1)):s()}}});we(this,Zo,e=>{_(this,_r).delete(e);const r=Array.from(_(this,_r).values());for(const[n,a]of _(this,Wt))r.includes(n)||(xt(a.effect),_(this,Wt).delete(n))});this.anchor=e,me(this,Ka,r)}ensure(e,r){var n=ie,a=Ys();if(r&&!_(this,Pr).has(e)&&!_(this,Wt).has(e))if(a){var o=document.createDocumentFragment(),i=Et();o.append(i),_(this,Wt).set(e,{effect:Dt(()=>r(i)),fragment:o})}else _(this,Pr).set(e,Dt(()=>r(this.anchor)));if(_(this,_r).set(n,e),a){for(const[s,l]of _(this,Pr))s===e?n.unskip_effect(l):n.skip_effect(l);for(const[s,l]of _(this,Wt))s===e?n.unskip_effect(l.effect):n.skip_effect(l.effect);n.oncommit(_(this,Ja)),n.ondiscard(_(this,Zo))}else le&&(this.anchor=_e),_(this,Ja).call(this,n)}}_r=new WeakMap,Pr=new WeakMap,Wt=new WeakMap,An=new WeakMap,Ka=new WeakMap,Ja=new WeakMap,Zo=new WeakMap;function Wn(t,e,...r){var n=new Co(t);Un(()=>{const a=e()??null;n.ensure(a,a&&(o=>a(o,...r)))},Dr)}function Lo(t){et===null&&ks(),On&&et.l!==null?Au(et).m.push(t):Gr(()=>{const e=lt(t);if(typeof e=="function")return e})}function Ta(t){et===null&&ks(),Lo(()=>()=>lt(t))}function Au(t){var e=t.l;return e.u??(e.u={a:[],b:[],m:[]})}const bl=0,yl=1,$u=2;function Ur(t,e,r,n,a){le&&xr();var o=Fn(),i=dt,s=o?jr(i):Ea(i,!1,!1),l=o?jr(i):Ea(i,!1,!1),d=new Co(t);Un(()=>{var u=ie,m=e(),f=!1;let h=le&&gs(m)===(t.data===ro);if(h&&(ut(ka()),$t(!1)),gs(m)){var v=Ms(),g=!1;const b=w=>{if(!f){g=!0,v(!1),ie===u&&u.deactivate(),Fr.ensure();try{w()}finally{Ca(!1),Gn||gt()}}};m.then(w=>{b(()=>{Hr(s,w),d.ensure(yl,n&&(A=>n(A,s)))})},w=>{b(()=>{if(Hr(l,w),d.ensure($u,a&&(A=>a(A,l))),!a)throw l.v})}),le?d.ensure(bl,r):Ot(()=>{g||b(()=>{d.ensure(bl,r)})})}else Hr(s,m),d.ensure(yl,n&&(b=>n(b,s)));return h&&$t(!0),()=>{f=!0}})}function V(t,e,r=!1){var n;le&&(n=_e,xr());var a=new Co(t),o=r?Dr:0;function i(s,l){if(le){var d=ys(n);if(s!==parseInt(d.substring(1))){var u=ka();ut(u),a.anchor=u,$t(!1),a.ensure(s,l),$t(!0);return}}a.ensure(s,l)}Un(()=>{var s=!1;e((l,d=0)=>{s=!0,i(d,l)}),s||i(-1,null)},o)}function Pa(t,e){return e}function Mu(t,e,r){for(var n=[],a=e.length,o,i=e.length,s=0;s<a;s++){let m=e[s];gn(m,()=>{if(o){if(o.pending.delete(m),o.done.add(m),o.pending.size===0){var f=t.outrogroups;Ei(t,oo(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;Zs(u),u.append(d),t.items.clear()}Ei(t,e,!l)}else o={pending:new Set(e),done:new Set},(t.outrogroups??(t.outrogroups=new Set)).add(o)}function Ei(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|=yr;const i=document.createDocumentFragment();bi(o,i)}else xt(e[a],r)}}var wl;function nn(t,e,r,n,a,o=null){var i=t,s=new Map,l=(e&ss)!==0;if(l){var d=t;i=le?ut(pt(d)):d.appendChild(Et())}le&&xr();var u=null,m=ci(()=>{var I=r();return no(I)?I:I==null?[]:oo(I)}),f,h=new Map,v=!0;function g(I){(A.effect.f&Nt)===0&&(A.pending.delete(I),A.fallback=u,Tu(A,f,i,e,n),u!==null&&(f.length===0?(u.f&yr)===0?_o(u):(u.f^=yr,Ia(u,null,i)):gn(u,()=>{u=null})))}function b(I){A.pending.delete(I)}var w=Un(()=>{f=c(m);var I=f.length;let P=!1;if(le){var S=ys(i)===ro;S!==(I===0)&&(i=ka(),ut(i),$t(!1),P=!0)}for(var $=new Set,z=ie,p=Ys(),x=0;x<I;x+=1){le&&_e.nodeType===Nn&&_e.data===Xo&&(i=_e,P=!0,$t(!1));var k=f[x],R=n(k,x),X=v?null:s.get(R);X?(X.v&&Hr(X.v,k),X.i&&Hr(X.i,x),p&&z.unskip_effect(X.e)):(X=Pu(s,v?i:wl??(wl=Et()),k,R,x,a,e,r),v||(X.e.f|=yr),s.set(R,X)),$.add(R)}if(I===0&&o&&!u&&(v?u=Dt(()=>o(i)):(u=Dt(()=>o(wl??(wl=Et()))),u.f|=yr)),I>$.size&&Md(),le&&I>0&&ut(ka()),!v)if(h.set(z,$),p){for(const[ee,He]of s)$.has(ee)||z.skip_effect(He.e);z.oncommit(g),z.ondiscard(b)}else g(z);P&&$t(!0),c(m)}),A={effect:w,items:s,pending:h,outrogroups:null,fallback:u};v=!1,le&&(i=_e)}function Ra(t){for(;t!==null&&(t.f&Xt)===0;)t=t.next;return t}function Tu(t,e,r,n,a){var k,R,X,ee,He,Re,pe,Ye,je;var o=(n&ld)!==0,i=e.length,s=t.items,l=Ra(t.effect.first),d,u=null,m,f=[],h=[],v,g,b,w;if(o)for(w=0;w<i;w+=1)v=e[w],g=a(v,w),b=s.get(g).e,(b.f&yr)===0&&((R=(k=b.nodes)==null?void 0:k.a)==null||R.measure(),(m??(m=new Set)).add(b));for(w=0;w<i;w+=1){if(v=e[w],g=a(v,w),b=s.get(g).e,t.outrogroups!==null)for(const Ce of t.outrogroups)Ce.pending.delete(b),Ce.done.delete(b);if((b.f&At)!==0&&(_o(b),o&&((ee=(X=b.nodes)==null?void 0:X.a)==null||ee.unfix(),(m??(m=new Set)).delete(b))),(b.f&yr)!==0)if(b.f^=yr,b===l)Ia(b,null,r);else{var A=u?u.next:l;b===t.effect.last&&(t.effect.last=b.prev),b.prev&&(b.prev.next=b.next),b.next&&(b.next.prev=b.prev),an(t,u,b),an(t,b,A),Ia(b,A,r),u=b,f=[],h=[],l=Ra(u.next);continue}if(b!==l){if(d!==void 0&&d.has(b)){if(f.length<h.length){var I=h[0],P;u=I.prev;var S=f[0],$=f[f.length-1];for(P=0;P<f.length;P+=1)Ia(f[P],I,r);for(P=0;P<h.length;P+=1)d.delete(h[P]);an(t,S.prev,$.next),an(t,u,S),an(t,$,I),l=I,u=$,w-=1,f=[],h=[]}else d.delete(b),Ia(b,l,r),an(t,b.prev,b.next),an(t,b,u===null?t.effect.first:u.next),an(t,u,b),u=b;continue}for(f=[],h=[];l!==null&&l!==b;)(d??(d=new Set)).add(l),h.push(l),l=Ra(l.next);if(l===null)continue}(b.f&yr)===0&&f.push(b),u=b,l=Ra(b.next)}if(t.outrogroups!==null){for(const Ce of t.outrogroups)Ce.pending.size===0&&(Ei(t,oo(Ce.done)),(He=t.outrogroups)==null||He.delete(Ce));t.outrogroups.size===0&&(t.outrogroups=null)}if(l!==null||d!==void 0){var z=[];if(d!==void 0)for(b of d)(b.f&At)===0&&z.push(b);for(;l!==null;)(l.f&At)===0&&l!==t.fallback&&z.push(l),l=Ra(l.next);var p=z.length;if(p>0){var x=(n&ss)!==0&&i===0?r:null;if(o){for(w=0;w<p;w+=1)(pe=(Re=z[w].nodes)==null?void 0:Re.a)==null||pe.measure();for(w=0;w<p;w+=1)(je=(Ye=z[w].nodes)==null?void 0:Ye.a)==null||je.fix()}Mu(t,z,x)}}o&&Ot(()=>{var Ce,D;if(m!==void 0)for(b of m)(D=(Ce=b.nodes)==null?void 0:Ce.a)==null||D.apply()})}function Pu(t,e,r,n,a,o,i,s){var l=(i&to)!==0?(i&cd)===0?Ea(r,!1,!1):jr(r):null,d=(i&sd)!==0?jr(a):null;return{v:l,i:d,e:Dt(()=>(o(e,l??r,d??a,s),()=>{t.delete(n)}))}}function Ia(t,e,r){if(t.nodes)for(var n=t.nodes.start,a=t.nodes.end,o=e&&(e.f&yr)===0?e.nodes.start:r;n!==null;){var i=vr(n);if(o.before(n),n===a)return;n=i}}function an(t,e,r){e===null?t.effect.first=r:e.next=r,r===null?t.effect.last=e:r.prev=e}function on(t,e,r=!1,n=!1,a=!1,o=!1){var i=t,s="";if(r){var l=t;le&&(i=ut(pt(l)))}H(()=>{var d=be;if(s===(s=e()??"")){le&&xr();return}if(r&&!le){d.nodes=null,l.innerHTML=s,s!==""&&Mt(pt(l),l.lastChild);return}if(d.nodes!==null&&(el(d.nodes.start,d.nodes.end),d.nodes=null),s!==""){if(le){_e.data;for(var u=xr(),m=u;u!==null&&(u.nodeType!==Nn||u.data!=="");)m=u,u=vr(u);if(u===null)throw xa(),fn;Mt(_e,m),i=ut(u);return}var f=n?fs:a?pd:void 0,h=Aa(n?"svg":a?"math":"template",f);h.innerHTML=s;var v=n||a?h:h.content;if(Mt(pt(v),v.lastChild),n||a)for(;pt(v);)i.before(pt(v));else i.before(v)}})}function zt(t,e,r,n,a){var s,l;if(le&&xr(),(s=e.$$host)!=null&&s.$$shadowRoot){const d=Aa("slot");if(r!=="default"&&(d.name=r),y(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 Ru=()=>performance.now(),Br={tick:t=>requestAnimationFrame(t),now:()=>Ru(),tasks:new Set};function xl(){const t=Br.now();Br.tasks.forEach(e=>{e.c(t)||(Br.tasks.delete(e),e.f())}),Br.tasks.size!==0&&Br.tick(xl)}function Iu(t){let e;return Br.tasks.size===0&&Br.tick(xl),{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 Nu(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 kl(t){const e={},r=t.split(";");for(const n of r){const[a,o]=n.split(":");if(!a||o===void 0)break;const i=Nu(a.trim());e[i]=o.trim()}return e}const Ou=t=>t;function Du(t,e,r,n){var b;var a=(t&md)!==0,o="both",i,s=e.inert,l=e.style.overflow,d,u;function m(){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,m(),u,1,()=>{So(e,"introstart")},()=>{So(e,"introend"),d==null||d.abort(),d=i=void 0,e.style.overflow=l})},out(w){e.inert=!0,u=zi(e,m(),d,0,()=>{So(e,"outrostart")},()=>{So(e,"outroend"),w==null||w()})},stop:()=>{d==null||d.abort(),u==null||u.abort()}},h=be;if(((b=h.nodes).t??(b.t=[])).push(f),wo){var v=a;if(!v){for(var g=h.parent;g&&(g.f&Dr)!==0;)for(;(g=g.parent)&&(g.f&Jt)===0;);v=!g||(g.f&en)!==0}v&&$a(()=>{lt(()=>f.in())})}}function zi(t,e,r,n,a,o){var i=n===1,s=!1;if(Tn(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:Pn,deactivate:Pn,reset:Pn,t:()=>n};const{delay:d=0,css:u,tick:m,easing:f=Ou}=e;var h,v=()=>1-n;return Ot(()=>{if(!s){var g=[];if(i&&r===void 0&&(m&&m(0,1),u)){var b=kl(u(0,1));g.push(b,b)}h=t.animate(g,{duration:d,fill:"forwards"}),h.onfinish=()=>{h.cancel(),a();var w=(r==null?void 0:r.t())??1-n;r==null||r.abort();var A=n-w,I=e.duration*Math.abs(A),P=[];if(I>0){var S=!1;if(u)for(var $=Math.ceil(I/16.666666666666668),z=0;z<=$;z+=1){var p=w+A*f(z/$),x=kl(u(p,1-p));P.push(x),S||(S=x.overflow==="hidden")}S&&(t.style.overflow="hidden"),v=()=>{var k=h.currentTime;return w+A*f(k/I)},m&&Iu(()=>{if(h.playState!=="running")return!1;var k=v();return m(k,1-k),!0})}h=t.animate(P,{duration:I,fill:"forwards"}),h.onfinish=()=>{v=()=>n,m==null||m(n,1-n),o()}}}}),{abort:()=>{s=!0,h&&(h.cancel(),h.effect=null,h.onfinish=Pn)},deactivate:()=>{o=Pn},reset:()=>{n===0&&(m==null||m(1,0))},t:()=>v()}}function Gt(t,e,r,n,a,o){let i=le;le&&xr();var s=null;le&&_e.nodeType===Ld&&(s=_e,xr());var l=le?_e:t,d=new Co(l,!1);Un(()=>{const u=e()||null;var m=u==="svg"?fs:void 0;if(u===null){d.ensure(null,null),xo(!0);return}return d.ensure(u,f=>{if(u){if(s=le?s:Aa(u,m),Mt(s,s),n){var h=null;le&&xu(u)&&s.append(h=document.createComment(""));var v=le?pt(s):s.appendChild(Et());le&&(v===null?$t(!1):ut(v)),n(s,v),h==null||h.remove()}be.nodes.end=s,f.before(s)}le&&ut(f)}),xo(!0),()=>{u&&xo(!1)}},Dr),po(()=>{xo(!0)}),i&&($t(!0),ut(l))}function Fu(t,e){var r=void 0,n;Xs(()=>{r!==(r=e())&&(n&&(xt(n),n=null),r&&(n=Dt(()=>{$a(()=>r(t))})))})}function Cl(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=Cl(t[e]))&&(n&&(n+=" "),n+=r)}else for(r in t)t[r]&&(n&&(n+=" "),n+=r);return n}function ju(){for(var t,e,r=0,n="",a=arguments.length;r<a;r++)(t=arguments[r])&&(e=Cl(t))&&(n&&(n+=" "),n+=e);return n}function Fe(t){return typeof t=="object"?ju(t):t??""}const Ll=[...`
3
- \r\f \v\uFEFF`];function Hu(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||Ll.includes(n[i-1]))&&(s===n.length||Ll.includes(n[s]))?n=(i===0?"":n.substring(0,i))+n.substring(s+1):i=s}}return n===""?null:n}function Sl(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 Ai(t){return t[0]!=="-"||t[1]!=="-"?t.toLowerCase():t}function Gu(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(Ai)),a&&l.push(...Object.keys(a).map(Ai));var d=0,u=-1;const g=t.length;for(var m=0;m<g;m++){var f=t[m];if(s?f==="/"&&t[m-1]==="*"&&(s=!1):o?o===f&&(o=!1):f==="/"&&t[m+1]==="*"?s=!0:f==='"'||f==="'"?o=f:f==="("?i++:f===")"&&i--,!s&&o===!1&&i===0){if(f===":"&&u===-1)u=m;else if(f===";"||m===g-1){if(u!==-1){var h=Ai(t.substring(d,u).trim());if(!l.includes(h)){f!==";"&&m++;var v=t.substring(d,m).trim();r+=" "+v+";"}}d=m+1,u=-1}}}}return n&&(r+=Sl(n)),a&&(r+=Sl(a,!0)),r=r.trim(),r===""?null:r}return t==null?null:String(t)}function Pe(t,e,r,n,a,o){var i=t[oi];if(le||i!==r||i===void 0){var s=Hu(r,n,o);(!le||s!==t.getAttribute("class"))&&(s==null?t.removeAttribute("class"):e?t.className=s:t.setAttribute("class",s)),t[oi]=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 $i(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 qu(t,e,r,n){var a=t[ii];if(le||a!==e){var o=Gu(e,n);(!le||o!==t.getAttribute("style"))&&(o==null?t.removeAttribute("style"):t.style.cssText=o),t[ii]=e}else n&&(Array.isArray(n)?($i(t,r==null?void 0:r[0],n[0]),$i(t,r==null?void 0:r[1],n[1],"important")):$i(t,r,n));return n}function El(t,e){e?t.hasAttribute("selected")||t.setAttribute("selected",""):t.removeAttribute("selected")}function zl(t,e){var r=!("__defaultValue"in t);!r&&t.__defaultValue===e||(t.__defaultValue=e,Al(t,!r||"__value"in t))}function Al(t,e){var r=t.__defaultValue,n=t.multiple,a=n?r??[]:null;if(!(n&&!no(a))){var o=t.selectedIndex,i=e&&n?new Set(t.selectedOptions):null;for(var s of t.options){var l=Zn(s);El(s,n?a.includes(l):qs(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 Na(t,e,r=!1){if(t.multiple){if(e==null)return;if(!no(e))return Ed();for(var n of t.options)n.selected=e.includes(Zn(n));return}for(n of t.options){var a=Zn(n);if(qs(a,e)){n.selected=!0;return}}(!r||e!==void 0)&&(t.selectedIndex=-1)}function $l(t){var e=new MutationObserver(r=>{r.every(Uu)||("__defaultValue"in t&&Al(t,!1),"__value"in t&&Na(t,t.__value))});e.observe(t,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["value"]}),po(()=>{e.disconnect()})}function Vu(t,e,r=e){var n=new WeakSet,a=!0;As(t,"change",o=>{var i=o?"[selected]":":checked",s;if(t.multiple)s=[].map.call(t.querySelectorAll(i),Zn);else{var l=t.querySelector(i)??t.querySelector("option:not([disabled])");s=l&&Zn(l)}r(s),t.__value=s,ie!==null&&n.add(ie)}),$a(()=>{var o=e();if(t===document.activeElement){var i=ie;if(n.has(i))return}if(Na(t,o,a),a&&o===void 0){var s=t.querySelector(":checked");s!==null&&(o=Zn(s),r(o))}t.__value=o,a=!1})}function Zn(t){return"__value"in t?t.__value:t.value}function Uu(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"),Da=Symbol("style"),Ml=Symbol("is custom element"),Tl=Symbol("is html"),Bu=ya?"link":"LINK",Pl=ya?"input":"INPUT",Wu=ya?"option":"OPTION",Rl=ya?"select":"SELECT",Zu=ya?"progress":"PROGRESS";function Mi(t){if(le){var e=!1,r=()=>{if(!e){if(e=!0,t.hasAttribute("value")){var n=t.value;Le(t,"value",null),t.value=n}if(t.hasAttribute("checked")){var a=t.checked;Le(t,"checked",null),t.checked=a}}};t[_a]=r,Ot(r),zs()}}function Yu(t,e){var r=Eo(t);r.value===(r.value=e??void 0)||t.value===e&&(e!==0||t.nodeName!==Zu)||(t.value=e??"")}function Ku(t,e){var r=Eo(t);r.checked!==(r.checked=e??void 0)&&(t.checked=e)}function Le(t,e,r,n){var a=Eo(t);le&&(a[e]=t.getAttribute(e),e==="src"||e==="srcset"||e==="href"&&t.nodeName===Bu)||a[e]!==(a[e]=r)&&(e==="loading"&&(t[Cd]=r),r==null?t.removeAttribute(e):typeof r!="string"&&Nl(t).has(e)?t[e]=r:t.setAttribute(e,r))}function Ju(t,e,r,n,a=!1,o=!1){le&&a&&t.nodeName===Pl&&("defaultValue"in r||"defaultChecked"in r||Mi(t));var i=Eo(t),s=i[Ml],l=!i[Tl];let d=le&&s;d&&$t(!1);var u=e||{},m=t.nodeName===Wu,f=t.nodeName===Rl;for(var h in e)!(h in r)&&h[0]+h[1]!=="$$"&&(r[h]=null);r.class?r.class=Fe(r.class):r[Oa]&&(r.class=null),r[Da]&&(r.style??(r.style=null));var v=Nl(t);if(t.nodeName===Pl&&"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,Le(t,"type",g))}for(const $ in r){let z=r[$];if(m&&$==="value"&&z==null){t.value=t.__value="",u[$]=z;continue}if($==="class"){var b=t.namespaceURI==="http://www.w3.org/1999/xhtml";Pe(t,b,z,n,e==null?void 0:e[Oa],r[Oa]),u[$]=z,u[Oa]=r[Oa];continue}if($==="style"){qu(t,z,e==null?void 0:e[Da],r[Da]),u[$]=z,u[Da]=r[Da];continue}var w=u[$];if(!(z===w&&!(z===void 0&&t.hasAttribute($)))){u[$]=z;var A=$[0]+$[1];if(A!=="$$")if(A==="on"){const p={},x="$$"+$;let k=$.slice(2);var I=gu(k);if(vu(k)&&(k=k.slice(0,-7),p.capture=!0),!I&&w){if(z!=null)continue;t.removeEventListener(k,u[x],p),u[x]=null}if(I)or(k,t,z),Vr([k]);else if(z!=null){let R=function(X){u[$].call(this,X)};u[x]=ml(k,t,R,p)}}else if($==="style")Le(t,$,z);else if($==="autofocus")Wd(t,!!z);else if(!s&&($==="__value"||$==="value"&&z!=null))t.value=t.__value=z;else if($==="selected"&&m)El(t,z);else{var P=$;l||(P=_u(P));var S=P==="defaultValue"||P==="defaultChecked";if(f&&P==="defaultValue")continue;if(z==null&&!s&&!S)if(i[$]=null,P==="value"||P==="checked"){let p=t;const x=e===void 0;if(P==="value"){let k=p.defaultValue;p.removeAttribute(P),p.defaultValue=k,p.value=p.__value=x?k:null}else{let k=p.defaultChecked;p.removeAttribute(P),p.defaultChecked=k,p.checked=x?k:!1}}else t.removeAttribute($);else S||(s||typeof z!="string")&&v.has(P)?(t[P]=z,P in i&&(i[P]=dt)):typeof z!="function"&&Le(t,P,z)}}}return d&&$t(!0),u}function _t(t,e,r=[],n=[],a=[],o,i=!1,s=!1){$s(a,r,n,l=>{var d=void 0,u={},m=t.nodeName===Rl,f=!1;if(Xs(()=>{var v=e(...l.map(c)),g=Ju(t,d,v,o,i,s);if(f&&m){var b=t;"defaultValue"in v&&zl(b,v.defaultValue),"value"in v&&Na(b,v.value)}for(let A of Object.getOwnPropertySymbols(u))v[A]||xt(u[A]);for(let A of Object.getOwnPropertySymbols(v)){var w=v[A];A.description===_d&&(!d||w!==d[A])&&(u[A]&&xt(u[A]),u[A]=Dt(()=>Fu(t,()=>w))),g[A]=w}d=g}),m){var h=t;$a(()=>{var v=d;"defaultValue"in v&&zl(h,v.defaultValue),Na(h,v.value,!0),$l(h)})}f=!0})}function Eo(t){return t[uo]??(t[uo]={[Ml]:t.nodeName.includes("-"),[Tl]:t.namespaceURI===us})}var Il=new Map;function Nl(t){var e=t.getAttribute("is")||t.nodeName,r=Il.get(e);if(r)return r;Il.set(e,r=new Set);for(var n,a=t,o=Element.prototype;o!==a;){n=vs(a);for(var i in n)n[i].set&&i!=="innerHTML"&&i!=="textContent"&&i!=="innerText"&&r.add(i);a=Qo(a)}return r}function Xu(t,e,r=e){var n=new WeakSet;As(t,"input",async a=>{var o=a?t.defaultValue:t.value;if(o=Ti(t)?Pi(o):o,r(o),ie!==null&&n.add(ie),await uu(),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||lt(e)==null&&t.value)&&(r(Ti(t)?Pi(t.value):t.value),ie!==null&&n.add(ie)),Vn(()=>{var a=e();if(t===document.activeElement){var o=ie;if(n.has(o))return}Ti(t)&&a===Pi(t.value)||t.type==="date"&&!a&&!t.value||a!==t.value&&(t.value=a??"")})}function Ti(t){var e=t.type;return e==="number"||e==="range"}function Pi(t){return t===""?null:+t}function Ri(t,e){return t===e||(t==null?void 0:t[wr])===e}function zo(t=si(),e,r,n){var a=et.r,o=be;return $a(()=>{var i,s;return Vn(()=>{i=s,s=[],lt(()=>{Ri(r(...s),t)||(e(t,...s),i&&Ri(r(...i),t)&&e(null,...i))})}),()=>{let l=o;for(;l!==a&&l.parent!==null&&l.parent.f&so;)l=l.parent;const d=()=>{s&&Ri(r(...s),t)&&e(null,...s)},u=l.teardown;l.teardown=()=>{d(),u==null||u()}}}),t}function Ii(t=!1){const e=et,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&&ru(()=>{Ol(e,n),ei(r.b)}),Gr(()=>{const a=lt(()=>r.m.map(xd));return()=>{for(const o of a)typeof o=="function"&&o()}}),r.a.length&&Gr(()=>{Ol(e,n),ei(r.a)})}function Ol(t,e){if(t.l.s)for(const r of t.l.s)c(r);e()}const Qu={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 qt(t,e,r){return new Proxy({props:t,exclude:e},Qu)}const e1={get(t,e){let r=t.props.length;for(;r--;){let n=t.props[r];if(Tn(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];Tn(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(Tn(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===wr||e===ai)return!1;for(let r of t.props)if(Tn(r)&&(r=r()),r!=null&&e in r)return!0;return!1},ownKeys(t){const e=[];for(let r of t.props)if(Tn(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},e1)}function te(t,e,r,n){var P;var a=!On||(r&ud)!==0,o=(r&hd)!==0,i=(r&vd)!==0,s=n,l=!0,d=void 0,u=()=>i&&a?(d??(d=jn(n)),c(d)):(l&&(l=!1,s=i?lt(n):n),s);let m;if(o){var f=wr in t||ai in t;m=((P=Or(t,e))==null?void 0:P.set)??(f&&e in t?S=>t[e]=S:void 0)}var h,v=!1;o?[h,v]=Bd(()=>t[e]):h=t[e],h===void 0&&n!==void 0&&(h=u(),m&&(a&&Od(),m(h)));var g;if(a?g=()=>{var S=t[e];return S===void 0?u():(l=!0,S)}:g=()=>{var S=t[e];return S!==void 0&&(s=void 0),S===void 0?s:S},a&&(r&fd)===0)return g;if(m){var b=t.$$legacy;return(function(S,$){return arguments.length>0?((!a||!$||b||v)&&m($?g():S),S):g()})}var w=!1,A=((r&dd)!==0?jn:ci)(()=>(w=!1,g()));o&&c(A);var I=be;return(function(S,$){if(arguments.length>0){const z=$?c(A):a&&o?hr(S):S;return M(A,z),w=!0,s!==void 0&&(s=z),S}return qr&&w||(I.f&Nt)!==0?A.v:c(A)})}function t1(t){return new r1(t)}class r1{constructor(e){we(this,Xr);we(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===ai?!0:(c(r.get(s)??n(s,Reflect.get(i,s))),Reflect.has(i,s))},set(i,s,l){return M(r.get(s)??n(s,l),l),Reflect.set(i,s,l)}});me(this,cr,(e.hydrate?Eu:pl)(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)&&gt(),me(this,Xr,a.$$events);for(const i of Object.keys(_(this,cr)))i==="$set"||i==="$destroy"||i==="$on"||ma(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=()=>{zu(_(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 Dl;typeof HTMLElement=="function"&&(Dl=class extends HTMLElement{constructor(e,r,n){super();Qe(this,"$$ctor");Qe(this,"$$s");Qe(this,"$$c");Qe(this,"$$cn",!1);Qe(this,"$$d",{});Qe(this,"$$r",!1);Qe(this,"$$p_d",{});Qe(this,"$$l",{});Qe(this,"$$l_u",new Map);Qe(this,"$$me");Qe(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=Aa("slot");a!=="default"&&(i.name=a),y(o,i)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const r={},n=n1(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]=Ao(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=t1({component:this.$$ctor,target:this.$$shadowRoot||this,props:{...this.$$d,$$slots:r,$$host:this}}),this.$$me=nu(()=>{Vn(()=>{var a;this.$$r=!0;for(const o of io(this.$$c)){if(!((a=this.$$p_d[o])!=null&&a.reflect))continue;this.$$d[o]=this.$$c[o];const i=Ao(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]=Ao(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 io(this.$$p_d).find(r=>this.$$p_d[r].attribute===e||!this.$$p_d[r].attribute&&r.toLowerCase()===e)||e}});function Ao(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 n1(t){const e={};return t.childNodes.forEach(r=>{e[r.slot||"default"]=!0}),e}function wn(t,e,r,n,a,o){let i=class extends Dl{constructor(){super(t,r,a),this.$$p_d=e}static get observedAttributes(){return io(e).map(s=>(e[s].attribute||s).toLowerCase())}};return io(e).forEach(s=>{ma(i.prototype,s,{get(){return this.$$c&&s in this.$$c?this.$$c[s]:this.$$d[s]},set(l){var m;l=Ao(s,l,e),this.$$d[s]=l;var d=this.$$c;if(d){var u=(m=Or(d,s))==null?void 0:m.get;u?d[s]=l:d.$set({[s]:l})}}})}),n.forEach(s=>{ma(i.prototype,s,{get(){var l;return(l=this.$$c)==null?void 0:l[s]}})}),o&&(i=o(i)),t.element=i,i}function Fa(t){return class extends t{constructor(){super(...arguments);Qe(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 a1=`*,: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}`,Ni=2e4,Fl=1e4;class o1 extends Error{constructor(e){super(e),this.name="SesamyApiUnavailableError"}}let Oi=null;function i1(){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 s1(){if(Oi)return Oi;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:i1(),timedOutAt:null,reported:new Set,detach:()=>document.removeEventListener("visibilitychange",t)};return document.addEventListener("visibilitychange",t),Oi=n,n}function Di(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 jl(t,e){const r=new Error(e);return r.name=t,r}function l1(t){const e=()=>{window.removeEventListener("sesamyJsReady",e),Di(t,"late",jl("SesamyApiLateReady",`sesamy-js became ready after components stopped waiting at ${Ni}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 Hl(){var e;if((e=window.sesamy)!=null&&e.isReady())return window.sesamy;const t=s1();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>=Fl&&Di(t,"slow",jl("SesamyApiSlowReady",`sesamy-js took over ${Fl}ms to become ready`)),r(window.sesamy),!0):!1};function i(){o()}const s=setTimeout(()=>{if(o())return;a();const l=new o1(window.sesamy?`sesamy-js did not finish initialising within ${Ni}ms`:"sesamy-js is not available on the page");t.timedOutAt===null&&(t.timedOutAt=performance.now(),Di(t,"timeout",l,{sesamyPresent:!!window.sesamy}),l1(t)),n(l)},Ni);window.addEventListener("sesamyJsReady",i)})}const Gl={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.",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.",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.",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.",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.",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.",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.",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.",user_already_owns_item:"Du ejer allerede dette produkt",year:"År",your_details:"Dine oplysninger"}};function c1(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 d1(t){const e=Gl[t]?t:"en";return(r,n)=>{var o;const a=((o=Gl[e])==null?void 0:o[r])||r;return c1(a,n)}}var u1=T(" <!>",1),f1=T("<!> <!>",1);function Yn(t,e){Oe(e,!0);let r=te(e,"applyStyles",3,!0);const n=Hl(),a=n.then(h=>{const v=e.lang||h.content.getLanguage();return d1(v)});let i=r()?"<style>"+a1+`
1
+ (function(we,Ue){typeof exports=="object"&&typeof module<"u"?Ue(exports):typeof define=="function"&&define.amd?define(["exports"],Ue):(we=typeof globalThis<"u"?globalThis:we||self,Ue(we["@sesamy/sesamy-components"]={}))})(this,(function(we){"use strict";var ih=Object.defineProperty;var rd=we=>{throw TypeError(we)};var sh=(we,Ue,yt)=>Ue in we?ih(we,Ue,{enumerable:!0,configurable:!0,writable:!0,value:yt}):we[Ue]=yt;var Qe=(we,Ue,yt)=>sh(we,typeof Ue!="symbol"?Ue+"":Ue,yt),es=(we,Ue,yt)=>Ue.has(we)||rd("Cannot "+yt);var _=(we,Ue,yt)=>(es(we,Ue,"read from private field"),yt?yt.call(we):Ue.get(we)),ye=(we,Ue,yt)=>Ue.has(we)?rd("Cannot add the same private member more than once"):Ue instanceof WeakSet?Ue.add(we):Ue.set(we,yt),ve=(we,Ue,yt,to)=>(es(we,Ue,"write to private field"),to?to.call(we,yt):Ue.set(we,yt),yt),ze=(we,Ue,yt)=>(es(we,Ue,"access private method"),yt);var Qc,ed,na,cn,Ln,aa,oa,ia,Yr,sa,jt,Ua,Kr,pr,Mr,la,Sn,We,ts,Xa,rs,nd,ad,va,lh,Qa,td,Vt,Wa,lr,En,Rt,Bt,It,Ut,Tr,zn,dn,ca,Za,Ya,Jr,Wo,Ze,od,id,ns,sd,as,eo,Jo,os,is,_r,Pr,Wt,An,Ka,Ja,Zo,Xr,cr;const Ue="2.30.1";typeof window<"u"&&((Qc=window.__svelte??(window.__svelte={})).v??(Qc.v=new Set)).add("5");const to=1,ld=2,ss=4,cd=8,dd=16,ud=1,fd=2,hd=4,vd=8,md=16,gd=4,ls=1,pd=2,cs="[",ro="[!",ds="[?",Xo="]",fn={},dt=Symbol("uninitialized"),us="http://www.w3.org/1999/xhtml",fs="http://www.w3.org/2000/svg",_d="http://www.w3.org/1998/Math/MathML",bd="@attach",hs=!1;var no=Array.isArray,yd=Array.prototype.indexOf,ao=Array.prototype.includes,oo=Array.from,io=Object.keys,ma=Object.defineProperty,Or=Object.getOwnPropertyDescriptor,vs=Object.getOwnPropertyDescriptors,wd=Object.prototype,xd=Array.prototype,Qo=Object.getPrototypeOf,ms=Object.isExtensible;function Tn(t){return typeof t=="function"}const Pn=()=>{};function gs(t){return typeof(t==null?void 0:t.then)=="function"}function kd(t){return t()}function ei(t){for(var e=0;e<t.length;e++)t[e]()}function ps(){var t,e,r=new Promise((n,a)=>{t=n,e=a});return{promise:r,resolve:t,reject:e}}const wt=2,Rn=4,ga=8,ti=1<<24,Jt=16,Xt=32,br=64,ri=128,ni=256,Qt=512,vt=1024,mt=2048,er=4096,At=8192,Nt=16384,en=32768,so=1<<25,Dr=65536,lo=1<<17,Cd=1<<18,hn=1<<19,_s=1<<20,yr=1<<25,vn=65536,co=1<<21,In=1<<22,tn=1<<23,wr=Symbol("$state"),bs=Symbol("component"),ai=Symbol("legacy props"),Ld=Symbol(""),uo=Symbol("attributes"),oi=Symbol("class"),ii=Symbol("style"),pa=Symbol("text"),_a=Symbol("form reset"),ba=new class extends Error{constructor(){super(...arguments);Qe(this,"name","StaleReactionError");Qe(this,"message","The reaction that called `getAbortSignal()` was re-run or destroyed")}},ya=!!((ed=globalThis.document)!=null&&ed.contentType)&&globalThis.document.contentType.includes("xml"),Sd=1,wa=3,Nn=8;function Ed(){console.warn("https://svelte.dev/e/derived_inert")}function xa(t){console.warn("https://svelte.dev/e/hydration_mismatch")}function zd(){console.warn("https://svelte.dev/e/select_multiple_invalid_value")}function Ad(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let le=!1;function $t(t){le=t}let pe;function ut(t){if(t===null)throw xa(),fn;return pe=t}function xr(){return ut(vr(pe))}function q(t){if(le){if(vr(pe)!==null)throw xa(),fn;pe=t}}function St(t=1){if(le){for(var e=t,r=pe;e--;)r=vr(r);pe=r}}function ka(t=!0){for(var e=0,r=pe;;){if(r.nodeType===Nn){var n=r.data;if(n===Xo){if(e===0)return r;e-=1}else(n===cs||n===ro||n[0]==="["&&!isNaN(Number(n.slice(1))))&&(e+=1)}var a=vr(r);t&&r.remove(),r=a}}function ys(t){if(!t||t.nodeType!==Nn)throw xa(),fn;return t.data}function ws(t){return t===this.v}function $d(t,e){return t!=t?e==e:t!==e||t!==null&&typeof t=="object"||typeof t=="function"}function xs(t){return!$d(t,this.v)}function fo(){throw new Error("https://svelte.dev/e/invalid_default_snippet")}function ks(t){throw new Error("https://svelte.dev/e/lifecycle_outside_component")}function Md(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function Td(t,e,r){throw new Error("https://svelte.dev/e/each_key_duplicate")}function Pd(t){throw new Error("https://svelte.dev/e/effect_in_teardown")}function Rd(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function Id(t){throw new Error("https://svelte.dev/e/effect_orphan")}function Nd(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function Od(){throw new Error("https://svelte.dev/e/hydration_failed")}function Dd(t){throw new Error("https://svelte.dev/e/props_invalid_value")}function Fd(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function jd(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function Hd(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function Gd(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}let On=!1,qd=!1;function Vd(){On=!0}let et=null;function Dn(t){et=t}function Oe(t,e=!1,r){et={p:et,i:!1,c:null,e:null,s:t,x:null,r:_e,l:On&&!e?{s:null,u:null,$:[]}:null}}function De(t){var e=et,r=e.e;if(r!==null){e.e=null;for(var n of r)Js(n)}return t!==void 0&&(e.x=t),e.i=!0,et=e.p,si(t)}function si(t={}){return ma(t,bs,{value:!0}),t}function Fn(){return!On||et!==null&&et.l===null}let mn=[];function Cs(){var t=mn;mn=[],ei(t)}function Ot(t){if(mn.length===0&&!Gn){var e=mn;queueMicrotask(()=>{e===mn&&Cs()})}mn.push(t)}function Bd(){for(;mn.length>0;)Cs()}const Ud=-7169;function lt(t,e){t.f=t.f&Ud|e}function li(t){(t.f&Qt)!==0||t.deps===null?lt(t,vt):lt(t,er)}function Ls(t){if(t!==null)for(const e of t)(e.f&wt)===0||(e.f&vn)===0||(e.f^=vn,Ls(e.deps))}function Ss(t,e,r){(t.f&mt)!==0?e.add(t):(t.f&er)!==0&&r.add(t),Ls(t.deps),lt(t,vt)}let ho=!1;function Wd(t){var e=ho;try{return ho=!1,[t(),ho]}finally{ho=e}}function Zd(t,e){if(e){const r=document.body;t.autofocus=!0,Ot(()=>{document.activeElement===r&&t.focus()})}}let Es=!1;function zs(){Es||(Es=!0,document.addEventListener("reset",t=>{Promise.resolve().then(()=>{var e;if(!t.defaultPrevented)for(const r of t.target.elements)(e=r[_a])==null||e.call(r)})},{capture:!0}))}function rn(t){var e=$e,r=_e;rr(null),nr(null);try{return t()}finally{rr(e),nr(r)}}function As(t,e,r,n=r){t.addEventListener(e,()=>rn(r));const a=t[_a];a?t[_a]=()=>{a(),n(!0)}:t[_a]=()=>n(!0),zs()}function $s(t,e,r,n){const a=Fn()?jn:ci;var o=t.filter(h=>!h.settled),i=e.map(a);if(r.length===0&&o.length===0){n(i);return}var s=_e,l=Ms(),d=o.length===1?o[0].promise:o.length>1?Promise.all(o.map(h=>h.promise)):null;function u(h){if((s.f&Nt)===0){l();try{n([...i,...h])}catch(v){Cr(v,s)}Ca()}}var m=Ts();if(r.length===0){d.then(()=>u([])).finally(m);return}function f(){Promise.all(r.map(h=>Yd(h))).then(u).catch(h=>Cr(h,s)).finally(m)}d?d.then(()=>{l(),f(),Ca()}):f()}function Ms(){var t=_e,e=$e,r=et,n=ie;return function(o=!0){nr(t),rr(e),Dn(r),o&&(t.f&Nt)===0&&(n==null||n.activate(),n==null||n.apply())}}function Ca(t=!0){nr(null),rr(null),Dn(null),t&&(ie==null||ie.deactivate())}function Ts(){var t=_e,e=t.b,r=ie,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=wt|mt;return _e!==null&&(_e.f|=hn),{ctx:et,deps:null,effects:null,equals:ws,f:e,fn:t,reactions:null,rv:0,v:dt,wv:0,parent:_e,ac:null}}const La=Symbol("obsolete");function Yd(t,e,r){let n=_e;n===null&&Md();var a=void 0,o=jr(dt),i=!$e,s=new Set;return lu(()=>{var h,v;var l=_e,d=ps();a=d.promise;try{Promise.resolve(t()).then(d.resolve,g=>{g!==ba&&d.reject(g)}).finally(Ca)}catch(g){d.reject(g),Ca()}var u=ie;if(i){if((l.f&en)!==0)var m=Ts();if((h=n.b)!=null&&h.is_rendered())(v=u.async_deriveds.get(l))==null||v.reject(La);else for(const g of s.values())g.reject(La);s.add(d),u.async_deriveds.set(l,d)}const f=(g,b=void 0)=>{m==null||m(),s.delete(d),b!==La&&(u.activate(),b?(o.f|=tn,Hr(o,b)):((o.f&tn)!==0&&(o.f^=tn),Hr(o,g)),u.deactivate())};d.promise.then(f,g=>f(null,g||"unknown"))}),po(()=>{for(const l of s)l.reject(La)}),new Promise(l=>{function d(u){function m(){u===a?l(o):d(a)}u.then(m,m)}d(a)})}function Y(t){const e=jn(t);return ol(e),e}function ci(t){const e=jn(t);return e.equals=xs,e}function Kd(t){var e=t.effects;if(e!==null){t.effects=null;for(var r=0;r<e.length;r+=1)xt(e[r])}}function di(t){var e,r=_e,n=t.parent;if(!qr&&n!==null&&t.v!==dt&&(n.f&(Nt|At))!==0)return Ed(),t.v;nr(n);try{t.f&=~vn,Kd(t),e=dl(t)}finally{nr(r)}return e}function Ps(t){var e=di(t);if(!t.equals(e)&&(t.wv=ll(),(!(ie!=null&&ie.is_fork)||t.deps===null)&&(ie!==null?(ie.capture(t,e,!0),Sa==null||Sa.capture(t,e,!0)):t.v=e,t.deps===null))){lt(t,vt);return}qr||(kt!==null?(pi()||ie!=null&&ie.is_fork)&&kt.set(t,e):li(t))}function Jd(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(ba),r.ac=null}),r.fn!==null&&(r.teardown=Pn),Ma(r,0),_i(r))}function Rs(t){if(t.effects!==null)for(const e of t.effects)e.teardown&&e.fn!==null&&bn(e)}let ui=null,Hn=null,ie=null,Sa=null,kt=null,fi=null,Gn=!1,hi=!1,qn=null,vo=null;var Is=0,ch=new Set;let Xd=1;const Uo=class Uo{constructor(){ye(this,We);Qe(this,"id",Xd++);ye(this,na,!1);Qe(this,"linked",!0);ye(this,cn,null);ye(this,Ln,null);Qe(this,"async_deriveds",new Map);Qe(this,"current",new Map);Qe(this,"previous",new Map);ye(this,aa,new Set);ye(this,oa,new Set);ye(this,ia,0);ye(this,Yr,new Map);ye(this,sa,null);ye(this,jt,[]);ye(this,Ua,[]);ye(this,Kr,new Set);ye(this,pr,new Set);ye(this,Mr,new Map);ye(this,la,new Set);Qe(this,"is_fork",!1);ye(this,Sn,!1);Hn===null?ui=Hn=this:(ve(Hn,Ln,this),ve(this,cn,Hn)),Hn=this}skip_effect(e){_(this,Mr).has(e)||_(this,Mr).set(e,{d:[],m:[]}),_(this,la).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)lt(a,mt),r(a);for(a of n.m)lt(a,er),r(a)}_(this,la).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]),kt==null||kt.set(e,r)),this.is_fork||(e.v=r)}activate(){ie=this}deactivate(){ie=null,kt=null}flush(){try{hi=!0,ie=this,ze(this,We,Xa).call(this)}finally{Is=0,fi=null,qn=null,vo=null,hi=!1,ie=null,kt=null,kr.clear()}}discard(){var e;for(const r of _(this,oa))r(this);_(this,oa).clear();for(const r of this.async_deriveds.values())r.reject(La);ze(this,We,Qa).call(this),(e=_(this,sa))==null||e.resolve()}register_created_effect(e){_(this,Ua).push(e)}increment(e,r){if(ve(this,ia,_(this,ia)+1),e){let n=_(this,Yr).get(r)??0;_(this,Yr).set(r,n+1)}}decrement(e,r){if(ve(this,ia,_(this,ia)-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,pr).add(n);e.clear(),r.clear()}oncommit(e){_(this,aa).add(e)}ondiscard(e){_(this,oa).add(e)}settled(){return(_(this,sa)??ve(this,sa,ps())).promise}static ensure(){if(ie===null){const e=ie=new Uo;!hi&&!Gn&&Ot(()=>{_(e,na)||e.flush()})}return ie}apply(){{kt=null;return}}schedule(e){var a;if(fi=e,(a=e.b)!=null&&a.is_pending&&(e.f&(Rn|ga|ti))!==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(qn!==null&&r===_e&&($e===null||($e.f&wt)===0))return;if((n&(br|Xt))!==0){if((n&vt)===0)return;r.f^=vt}}_(this,jt).push(r)}};na=new WeakMap,cn=new WeakMap,Ln=new WeakMap,aa=new WeakMap,oa=new WeakMap,ia=new WeakMap,Yr=new WeakMap,sa=new WeakMap,jt=new WeakMap,Ua=new WeakMap,Kr=new WeakMap,pr=new WeakMap,Mr=new WeakMap,la=new WeakMap,Sn=new WeakMap,We=new WeakSet,ts=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},Xa=function(){var l,d,u,m;ve(this,na,!0),Is++>1e3&&(ze(this,We,Qa).call(this),Qd());for(const f of _(this,Kr))_(this,pr).delete(f),lt(f,mt),this.schedule(f);for(const f of _(this,pr))lt(f,er),this.schedule(f);const e=_(this,jt);ve(this,jt,[]),this.apply();var r=qn=[],n=[],a=vo=[];for(const f of e)try{ze(this,We,rs).call(this,f,r,n)}catch(h){throw Fs(f),ze(this,We,ts).call(this)||this.discard(),h}if(ie=null,a.length>0){var o=Uo.ensure();for(const f of a)o.schedule(f)}if(qn=null,vo=null,ze(this,We,ts).call(this)){ze(this,We,va).call(this,n),ze(this,We,va).call(this,r);for(const[f,h]of _(this,Mr))Ds(f,h);a.length>0&&ze(l=ie,We,Xa).call(l);return}const i=ze(this,We,nd).call(this);if(i){ze(this,We,va).call(this,n),ze(this,We,va).call(this,r),ze(d=i,We,ad).call(d,this);return}_(this,Kr).clear(),_(this,pr).clear();for(const f of _(this,aa))f(this);_(this,aa).clear(),Sa=this,Ns(n),Ns(r),Sa=null,(u=_(this,sa))==null||u.resolve();var s=ie;if(_(this,ia)===0&&(_(this,jt).length===0||s!==null)&&ze(this,We,Qa).call(this),_(this,jt).length>0)if(s!==null){const f=s;_(f,jt).push(..._(this,jt).filter(h=>!_(f,jt).includes(h)))}else s=this;s!==null&&(kr.clear(),ze(m=s,We,Xa).call(m))},rs=function(e,r,n){e.f^=vt;for(var a=e.first;a!==null;){var o=a.f,i=(o&(Xt|br))!==0,s=i&&(o&vt)!==0,l=s||(o&At)!==0||_(this,Mr).has(a);if(!l&&a.fn!==null){i?a.f^=vt:(o&Rn)!==0?r.push(a):Un(a)&&((o&Jt)!==0&&_(this,pr).add(a),bn(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}}},nd=function(){for(var e=_(this,cn);e!==null;){if(!e.is_fork){for(const[r,[,n]]of this.current)if(e.current.has(r)&&!n)return e}e=_(e,cn)}return null},ad=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,pr));const r=a=>{var o=a.reactions;if(o!==null&&!((a.f&wt)!==0&&(a.f&(mt|er))===0))for(const l of o){var i=l.f;if((i&wt)!==0)r(l);else{var s=l;i&(In|Jt)&&!this.async_deriveds.has(s)&&(_(this,pr).delete(s),lt(s,mt),this.schedule(s))}}};for(const a of this.current.keys())r(a);this.oncommit(()=>e.discard()),ze(n=e,We,Qa).call(n),ie=this,ze(this,We,Xa).call(this)},va=function(e){for(var r=0;r<e.length;r+=1)Ss(e[r],_(this,Kr),_(this,pr))},lh=function(){var m;for(let f=ui;f!==null;f=_(f,Ln)){var e=f.id<this.id,r=[];for(const[h,[v,g]]of this.current){if(f.current.has(h)){var n=f.current.get(h)[0];if(e&&v!==n)f.current.set(h,[v,g]);else continue}r.push(h)}if(e)for(const[h,v]of this.async_deriveds){const g=f.async_deriveds.get(h);g&&v.promise.then(g.resolve).catch(g.reject)}var a=[...f.current.keys()].filter(h=>!f.current.get(h)[1]);if(!(!_(f,na)||a.length===0)){var o=a.filter(h=>!this.current.has(h));if(o.length===0)e&&f.discard();else if(r.length>0){if(e)for(const h of _(this,la))f.unskip_effect(h,v=>{var g;(v.f&(Jt|In))!==0?f.schedule(v):ze(g=f,We,va).call(g,[v])});f.activate();var i=new Set,s=new Map;for(var l of r)Os(l,o,i,s);s=new Map;var d=[...f.current].filter(([h,v])=>{const g=this.current.get(h);return g?g[0]!==v[0]||g[1]!==v[1]:!0}).map(([h])=>h);if(d.length>0)for(const h of _(this,Ua))(h.f&(Nt|At|lo))===0&&vi(h,d,s)&&((h.f&(In|Jt))!==0?(lt(h,mt),f.schedule(h)):_(f,Kr).add(h));if(_(f,jt).length>0&&!_(f,Sn)){f.apply();for(var u of _(f,jt))ze(m=f,We,rs).call(m,u,[],[]);ve(f,jt,[])}f.deactivate()}}}},Qa=function(){if(this.linked){var e=_(this,cn),r=_(this,Ln);e===null?ui=r:ve(e,Ln,r),r===null?Hn=e:ve(r,cn,e),this.linked=!1}};let Fr=Uo;function gt(t){var e=Gn;Gn=!0;try{for(var r;;){if(Bd(),ie===null)return r;ie.flush()}}finally{Gn=e}}function Qd(){try{Nd()}catch(t){Cr(t,fi)}}let fr=null;function Ns(t){var e=t.length;if(e!==0){for(var r=0;r<e;){var n=t[r++];if((n.f&(Nt|At))===0&&Un(n)&&(fr=new Set,bn(n),n.deps===null&&n.first===null&&n.nodes===null&&n.teardown===null&&n.ac===null&&tl(n),(fr==null?void 0:fr.size)>0)){kr.clear();for(const a of fr){if((a.f&(Nt|At))!==0)continue;const o=[a];let i=a.parent;for(;i!==null;)fr.has(i)&&(fr.delete(i),o.push(i)),i=i.parent;for(let s=o.length-1;s>=0;s--){const l=o[s];(l.f&(Nt|At))===0&&bn(l)}}fr.clear()}}fr=null}}function Os(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&wt)!==0?Os(a,e,r,n):(o&(In|Jt))!==0&&(o&mt)===0&&vi(a,e,n)&&(lt(a,mt),mi(a))}}function vi(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(ao.call(e,a))return!0;if((a.f&wt)!==0&&vi(a,e,r))return r.set(a,!0),!0}return r.set(t,!1),!1}function mi(t){ie.schedule(t)}function Ds(t,e){if(!((t.f&Xt)!==0&&(t.f&vt)!==0)){(t.f&mt)!==0?e.d.push(t):(t.f&er)!==0&&e.m.push(t),lt(t,vt);for(var r=t.first;r!==null;)Ds(r,e),r=r.next}}function Fs(t){lt(t,vt);for(var e=t.first;e!==null;)Fs(e),e=e.next}let mo=new Set;const kr=new Map;let js=!1;function jr(t,e){var r={f:0,v:t,reactions:null,equals:ws,rv:0,wv:0};return r}function he(t,e){const r=jr(t);return ol(r),r}function Ea(t,e=!1,r=!0){var a;const n=jr(t);return e||(n.equals=xs),On&&r&&et!==null&&et.l!==null&&((a=et.l).s??(a.s=[])).push(n),n}function M(t,e,r=!1){$e!==null&&(!mr||($e.f&lo)!==0)&&Fn()&&($e.f&(wt|Jt|In|lo))!==0&&(Lr===null||!Lr.has(t))&&Hd();let n=r?hr(e):e;return Hr(t,n,vo)}function Hr(t,e,r=null){if(!t.equals(e)){qr?kr.set(t,e):kr.has(t)||kr.set(t,t.v);var n=Fr.ensure();if(n.capture(t,e),(t.f&wt)!==0){const a=t;(t.f&mt)!==0&&di(a),kt===null&&li(a)}t.wv=ll(),Hs(t,mt,r),Fn()&&_e!==null&&(_e.f&vt)!==0&&(_e.f&(Xt|br))===0&&(ar===null?du([t]):ar.push(t)),!n.is_fork&&mo.size>0&&!js&&eu()}return e}function eu(){js=!1;for(const t of mo){(t.f&vt)!==0&&lt(t,er);let e;try{e=Un(t)}catch{e=!0}e&&bn(t)}mo.clear()}function za(t){M(t,t.v+1)}function Hs(t,e,r){var n=t.reactions;if(n!==null)for(var a=Fn(),o=n.length,i=0;i<o;i++){var s=n[i],l=s.f;if(!(!a&&s===_e)){var d=(l&mt)===0;if(d&&lt(s,e),(l&lo)!==0)mo.add(s);else if((l&wt)!==0){var u=s;kt==null||kt.delete(u),(l&vn)===0&&(l&Qt&&(_e===null||(_e.f&co)===0)&&(s.f|=vn),Hs(u,er,r))}else if(d){var m=s;(l&Jt)!==0&&fr!==null&&fr.add(m),r!==null?r.push(m):mi(m)}}}}function hr(t){if(typeof t!="object"||t===null||wr in t||bs in t)return t;const e=Qo(t);if(e!==wd&&e!==xd)return t;var r=new Map,n=no(t),a=he(0),o=_n,i=s=>{if(_n===o)return s();var l=$e,d=_n;rr(null),sl(o);var u=s();return rr(l),sl(d),u};return n&&r.set("length",he(t.length)),new Proxy(t,{defineProperty(s,l,d){(!("value"in d)||d.configurable===!1||d.enumerable===!1||d.writable===!1)&&Fd();var u=r.get(l);return u===void 0?i(()=>{var m=he(d.value);return r.set(l,m),m}):M(u,d.value,!0),!0},deleteProperty(s,l){var d=r.get(l);if(d===void 0){if(l in s){const u=i(()=>he(dt));r.set(l,u),za(a)}}else M(d,dt),za(a);return!0},get(s,l,d){var h;if(l===wr)return t;var u=r.get(l),m=l in s;if(u===void 0&&(!m||(h=Or(s,l))!=null&&h.writable)&&(u=i(()=>{var v=hr(m?s[l]:dt),g=he(v);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 m=r.get(l),f=m==null?void 0:m.v;if(m!==void 0&&f!==dt)return{enumerable:!0,configurable:!0,value:f,writable:!0}}return d},has(s,l){var f;if(l===wr)return!0;var d=r.get(l),u=d!==void 0&&d.v!==dt||Reflect.has(s,l);if(d!==void 0||_e!==null&&(!u||(f=Or(s,l))!=null&&f.writable)){d===void 0&&(d=i(()=>{var h=u?hr(s[l]):dt,v=he(h);return v}),r.set(l,d));var m=c(d);if(m===dt)return!1}return u},set(s,l,d,u){var P;var m=r.get(l),f=l in s;if(n&&l==="length")for(var h=d;h<m.v;h+=1){var v=r.get(h+"");v!==void 0?M(v,dt):h in s&&(v=i(()=>he(dt)),r.set(h+"",v))}if(m===void 0)(!f||(P=Or(s,l))!=null&&P.writable)&&(m=i(()=>he(void 0)),M(m,hr(d)),r.set(l,m));else{f=m.v!==dt;var g=i(()=>hr(d));M(m,g)}var b=Reflect.getOwnPropertyDescriptor(s,l);if(b!=null&&b.set&&b.set.call(u,d),!f){if(n&&typeof l=="string"){var w=r.get("length"),z=Number(l);Number.isInteger(z)&&z>=w.v&&M(w,z+1)}za(a)}return!0},ownKeys(s){c(a);var l=Reflect.ownKeys(s).filter(m=>{var f=r.get(m);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(){jd()}})}function Gs(t){try{if(t!==null&&typeof t=="object"&&wr in t)return t[wr]}catch{}return t}function qs(t,e){return Object.is(Gs(t),Gs(e))}var Vs,Bs,Us,Ws;function gi(){if(Vs===void 0){Vs=window,Bs=/Firefox/.test(navigator.userAgent);var t=Element.prototype,e=Node.prototype,r=Text.prototype;Us=Or(e,"firstChild").get,Ws=Or(e,"nextSibling").get,ms(t)&&(t[oi]=void 0,t[uo]=null,t[ii]=void 0,t.__e=void 0),ms(r)&&(r[pa]=void 0)}}function Et(t=""){return document.createTextNode(t)}function pt(t){return Us.call(t)}function vr(t){return Ws.call(t)}function W(t,e){if(!le)return pt(t);var r=pt(pe);if(r===null)r=pe.appendChild(Et());else if(e&&r.nodeType!==wa){var n=Et();return r==null||r.before(n),ut(n),n}return e&&go(r),ut(r),r}function V(t,e=!1){if(!le){var r=pt(t);return r instanceof Comment&&r.data===""?vr(r):r}if(e){if((pe==null?void 0:pe.nodeType)!==wa){var n=Et();return pe==null||pe.before(n),ut(n),n}go(pe)}return pe}function Ae(t,e=!1){if(!le)return pt(t);var r=W(t,e);return q(t),r}function L(t,e=1,r=!1){let n=le?pe:t;for(var a;e--;)a=n,n=vr(n);if(!le)return n;if(r){if((n==null?void 0:n.nodeType)!==wa){var o=Et();return n===null?a==null||a.after(o):n.before(o),ut(o),o}go(n)}return ut(n),n}function Zs(t){t.textContent=""}function Ys(){return!1}function Aa(t,e,r){return e==null||e===us?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===wa;)e.remove(),t.nodeValue+=e.nodeValue,e=t.nextSibling}function tu(t){var e=_e;if(e===null)return $e.f|=tn,t;if((e.f&en)===0&&(e.f&Rn)===0)throw t;Cr(t,e)}function Cr(t,e){if(!(e!==null&&(e.f&Nt)!==0)){for(;e!==null;){if((e.f&ri)!==0&&(e.f&(Nt|so))===0){if((e.f&en)===0)throw t;try{e.b.error(t);return}catch(r){t=r}}e=e.parent}throw t}}function Ks(t){_e===null&&($e===null&&Id(),Rd()),qr&&Pd()}function ru(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=_e;r!==null&&(r.f&At)!==0&&(t|=At);var n={ctx:et,deps:null,nodes:null,f:t|mt|Qt,first:null,fn:e,last:null,next:null,parent:r,b:r&&r.b,prev:null,teardown:null,wv:0,ac:null};ie==null||ie.register_created_effect(n);var a=n;if((t&Rn)!==0)qn!==null?qn.push(n):Fr.ensure().schedule(n);else if(e!==null){try{bn(n)}catch(i){throw xt(n),i}a.deps===null&&a.teardown===null&&a.nodes===null&&a.first===a.last&&(a.f&hn)===0&&(a=a.first,(t&Jt)!==0&&(t&Dr)!==0&&a!==null&&(a.f|=Dr))}if(a!==null&&(a.parent=r,r!==null&&ru(a,r),$e!==null&&($e.f&wt)!==0&&(t&br)===0)){var o=$e;(o.effects??(o.effects=[])).push(a)}return n}function pi(){return $e!==null&&!mr}function po(t){const e=tr(ga,null);return lt(e,vt),e.teardown=t,e}function Gr(t){Ks();var e=_e.f,r=!$e&&(e&Xt)!==0&&et!==null&&!et.i;if(r){var n=et;(n.e??(n.e=[])).push(t)}else return Js(t)}function Js(t){return tr(Rn|_s,t)}function nu(t){return Ks(),tr(ga|_s,t)}function au(t){Fr.ensure();const e=tr(br|hn,t);return()=>{xt(e)}}function ou(t){Fr.ensure();const e=tr(br|hn,t);return(r={})=>new Promise(n=>{r.outro?gn(e,()=>{xt(e),n(void 0)}):(xt(e),n(void 0))})}function $a(t){return tr(Rn,t)}function iu(t,e){var r=et,n={effect:null,ran:!1,deps:t};r.l.$.push(n),n.effect=Vn(()=>{if(t(),!n.ran){n.ran=!0;var a=_e;try{nr(a.parent),ct(e)}finally{nr(a)}}})}function su(){var t=et;Vn(()=>{for(var e of t.l.$){e.deps();var r=e.effect;(r.f&vt)!==0&&r.deps!==null&&lt(r,er),Un(r)&&bn(r),e.ran=!1}})}function lu(t){return tr(In|hn,t)}function Vn(t,e=0){return tr(ga|e,t)}function H(t,e=[],r=[],n=[]){$s(n,e,r,a=>{tr(ga,()=>{t(...a.map(c))})})}function Bn(t,e=0){var r=tr(Jt|e,t);return r}function Xs(t,e=0){var r=tr(ti|e,t);return r}function Dt(t){return tr(Xt|hn,t)}function Qs(t){var e=t.teardown;if(e!==null){const r=qr,n=$e;al(!0),rr(null);try{e.call(null)}catch(a){Cr(a,t.parent)}finally{al(r),rr(n)}}}function _i(t,e=!1){var r=t.first;for(t.first=t.last=null;r!==null;){const a=r.ac;a!==null&&rn(()=>{a.abort(ba)});var n=r.next;(r.f&br)!==0?r.parent=null:xt(r,e),r=n}}function cu(t){for(var e=t.first;e!==null;){var r=e.next;(e.f&Xt)===0&&xt(e),e=r}}function xt(t,e=!0){var r=!1;(e||(t.f&Cd)!==0)&&t.nodes!==null&&t.nodes.end!==null&&(el(t.nodes.start,t.nodes.end),r=!0),t.f|=so,_i(t,e&&!r),Ma(t,0);var n=t.nodes&&t.nodes.t;if(n!==null)for(const o of n)o.stop();Qs(t),t.f^=so,t.f|=Nt;var a=t.parent;a!==null&&a.first!==null&&tl(t),t.next=t.prev=t.teardown=t.ctx=t.deps=t.fn=t.nodes=t.ac=t.b=null}function el(t,e){for(;t!==null;){var r=t===e?null:vr(t);t.remove(),t=r}}function tl(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|=ni,rl(t,n,!0);var a=()=>{r&&xt(t),e&&e()},o=n.length;if(o>0){var i=()=>--o||a();for(var s of n)s.out(i)}else a()}function rl(t,e,r){if((t.f&At)===0){t.f^=At;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&br)===0){var i=(a.f&Dr)!==0||(a.f&Xt)!==0&&(t.f&Jt)!==0;rl(a,e,i?r:!1)}a=o}}}function _o(t){t.f&=~ni,nl(t,!0)}function nl(t,e){if((t.f&ni)===0&&(t.f&At)!==0){t.f^=At,(t.f&vt)===0&&(lt(t,mt),Fr.ensure().schedule(t));for(var r=t.first;r!==null;){var n=r.next,a=(r.f&Dr)!==0||(r.f&Xt)!==0;nl(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 bi(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 bo=!1,qr=!1;function al(t){qr=t}let $e=null,mr=!1;function rr(t){$e=t}let _e=null;function nr(t){_e=t}let Lr=null;function ol(t){$e!==null&&(Lr??(Lr=new Set)).add(t)}let Ft=null,Ht=0,ar=null;function du(t){ar=t}let il=1,pn=0,_n=pn;function sl(t){_n=t}function ll(){return++il}function Un(t){var e=t.f;if((e&mt)!==0)return!0;if(e&wt&&(t.f&=~vn),(e&er)!==0){for(var r=t.deps,n=r.length,a=0;a<n;a++){var o=r[a];if(Un(o)&&Ps(o),o.wv>t.wv)return!0}(e&Qt)!==0&&kt===null&&lt(t,vt)}return!1}function cl(t,e,r=!0){var n=t.reactions;if(n!==null&&!(Lr!==null&&Lr.has(t)))for(var a=0;a<n.length;a++){var o=n[a];(o.f&wt)!==0?cl(o,e,!1):e===o&&(r?lt(o,mt):(o.f&vt)!==0&&lt(o,er),mi(o))}}function dl(t){var e=Ft,r=Ht,n=ar,a=$e,o=Lr,i=et,s=mr,l=_n,d=t.f;Ft=null,Ht=0,ar=null,$e=(d&(Xt|br))===0?t:null,Lr=null,Dn(t.ctx),mr=!1,_n=++pn,t.ac!==null&&(rn(()=>{t.ac.abort(ba)}),t.ac=null);try{t.f|=co;var u=t.fn,m=u();t.f|=en;var f=ul(t);if(Fn()&&ar!==null&&!mr&&f!==null&&(t.f&(wt|er|mt))===0)for(var h=0;h<ar.length;h++)cl(ar[h],t);if(a!==null&&a!==t){if(pn++,a.deps!==null)for(let v=0;v<r;v+=1)a.deps[v].rv=pn;if(e!==null)for(const v of e)v.rv=pn;ar!==null&&(n===null?n=ar:n.push(...ar))}return(t.f&tn)!==0&&(t.f^=tn),m}catch(v){return ul(t),tu(v)}finally{t.f^=co,Ft=e,Ht=r,ar=n,$e=a,Lr=o,Dn(i),mr=s,_n=l}}function ul(t){var a;var e=t.deps,r=ie==null?void 0:ie.is_fork;if(Ft!==null){var n;if(r||Ma(t,Ht),e!==null&&Ht>0)for(e.length=Ht+Ft.length,n=0;n<Ft.length;n++)e[Ht+n]=Ft[n];else t.deps=e=Ft;if(pi()&&(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 uu(t,e){let r=e.reactions;if(r!==null){var n=yd.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&wt)!==0&&(Ft===null||!ao.call(Ft,e))){var o=e;(o.f&Qt)!==0&&(o.f^=Qt,o.f&=~vn),o.v!==dt&&li(o),o.ac!==null&&rn(()=>{o.ac.abort(ba),o.ac=null,lt(o,mt)}),Jd(o),Ma(o,0)}}function Ma(t,e){var r=t.deps;if(r!==null)for(var n=e;n<r.length;n++)uu(t,r[n])}function bn(t){var e=t.f;if((e&Nt)===0){lt(t,vt);var r=_e,n=bo;_e=t,bo=(e&(Xt|br))===0;try{(e&(Jt|ti))!==0?cu(t):_i(t),Qs(t);var a=dl(t);t.teardown=typeof a=="function"?a:null,t.wv=il;var o;hs&&qd&&(t.f&mt)!==0&&t.deps}finally{bo=n,_e=r}}}async function fu(){await Promise.resolve(),gt()}function c(t){var e=t.f,r=(e&wt)!==0;if($e!==null&&!mr){var n=_e!==null&&(_e.f&Nt)!==0;if(!n&&(Lr===null||!Lr.has(t))){var a=$e.deps;if(($e.f&co)!==0)t.rv<pn&&(t.rv=pn,Ft===null&&a!==null&&a[Ht]===t?Ht++:Ft===null?Ft=[t]:Ft.push(t));else{$e.deps??($e.deps=[]),ao.call($e.deps,t)||$e.deps.push(t);var o=t.reactions;o===null?t.reactions=[$e]:ao.call(o,$e)||o.push($e)}}}if(qr&&kr.has(t))return kr.get(t);if(r){var i=t;if(qr){var s=i.v;return((i.f&vt)===0&&i.reactions!==null||hl(i))&&(s=di(i)),kr.set(i,s),s}var l=(i.f&Qt)===0&&!mr&&$e!==null&&(bo||($e.f&Qt)!==0),d=(i.f&en)===0;Un(i)&&(l&&(i.f|=Qt),Ps(i)),l&&!d&&(Rs(i),fl(i))}if(kt!=null&&kt.has(t))return kt.get(t);if((t.f&tn)!==0)throw t.v;return t.v}function fl(t){if(t.f|=Qt,t.deps!==null)for(const e of t.deps)(e.reactions??(e.reactions=[])).push(t),(e.f&wt)!==0&&(e.f&Qt)===0&&(Rs(e),fl(e))}function hl(t){if(t.v===dt)return!0;if(t.deps===null)return!1;for(const e of t.deps)if(kr.has(e)||(e.f&wt)!==0&&hl(e))return!0;return!1}function ct(t){var e=mr;try{return mr=!0,t()}finally{mr=e}}function ft(t){if(!(typeof t!="object"||!t||t instanceof EventTarget)){if(wr in t)yi(t);else if(!Array.isArray(t))for(let e in t){const r=t[e];typeof r=="object"&&r&&wr in r&&yi(r)}}}function yi(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{yi(t[n],e)}catch{}const r=Qo(t);if(r!==Object.prototype&&r!==Array.prototype&&r!==Map.prototype&&r!==Set.prototype&&r!==Date.prototype){const n=vs(r);for(let a in n){const o=n[a].get;if(o)try{o.call(t)}catch{}}}}}const yn=Symbol("events"),vl=new Set,wi=new Set;function ml(t,e,r,n={}){function a(o){if(n.capture||Ci.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 yo(t,e,r,n,a){var o={capture:n,passive:a},i=ml(t,e,r,o);(e===document.body||e===window||e===document||e instanceof HTMLMediaElement)&&po(()=>{e.removeEventListener(t,i,o)})}function or(t,e,r){(e[yn]??(e[yn]={}))[t]=r}function Vr(t){for(var e=0;e<t.length;e++)vl.add(t[e]);for(var r of wi)r(t)}let xi=null,ki=!1;function Ci(t){var g,b;var e=this,r=e.ownerDocument,n=t.type,a=((g=t.composedPath)==null?void 0:g.call(t))||[],o=a[0]||t.target;xi=t,ki||(ki=!0,setTimeout(()=>{ki=!1,xi=null}));var i=0,s=xi===t&&t[yn];if(s){var l=a.indexOf(s);if(l!==-1&&(e===document||e===window)){t[yn]=e;return}var d=a.indexOf(e);if(d===-1)return;l<=d&&(i=l)}if(o=a[i]||t.target,o!==e){ma(t,"currentTarget",{configurable:!0,get(){return o||r}});var u=$e,m=_e;rr(null),nr(null);try{for(var f,h=[];o!==null&&o!==e;){try{var v=(b=o[yn])==null?void 0:b[n];v!=null&&(!o.disabled||t.target===o)&&v.call(o,t)}catch(w){f?h.push(w):f=w}if(t.cancelBubble)break;i++,o=i<a.length?a[i]:null}if(f){for(let w of h)queueMicrotask(()=>{throw w});throw f}}finally{t[yn]=e,delete t.currentTarget,rr(u),nr(m)}}}const Li=((td=globalThis==null?void 0:globalThis.window)==null?void 0:td.trustedTypes)&&globalThis.window.trustedTypes.createPolicy("svelte-trusted-html",{createHTML:t=>t});function hu(t){return(Li==null?void 0:Li.createHTML(t))??t}function gl(t){var e=Aa("template");return e.innerHTML=hu(t.replaceAll("<!>","<!---->")),e.content}function Mt(t,e){var r=_e;r.nodes===null&&(r.nodes={start:t,end:e,a:null,t:null})}function T(t,e){var r=(e&ls)!==0,n=(e&pd)!==0,a,o=!t.startsWith("<!>");return()=>{if(le)return Mt(pe,null),pe;a===void 0&&(a=gl(o?t:"<!>"+t),r||(a=pt(a)));var i=n||Bs?document.importNode(a,!0):a.cloneNode(!0);if(r){var s=pt(i),l=i.lastChild;Mt(s,l)}else Mt(i,i);return i}}function vu(t,e,r="svg"){var n=!t.startsWith("<!>"),a=(e&ls)!==0,o=`<${r}>${n?t:"<!>"+t}</${r}>`,i;return()=>{if(le)return Mt(pe,null),pe;if(!i){var s=gl(o),l=pt(s);if(a)for(i=document.createDocumentFragment();pt(l);)i.appendChild(pt(l));else i=pt(l)}var d=i.cloneNode(!0);if(a){var u=pt(d),m=d.lastChild;Mt(u,m)}else Mt(d,d);return d}}function Sr(t,e){return vu(t,e,"svg")}function Tt(t=""){if(!le){var e=Et(t+"");return Mt(e,e),e}var r=pe;return r.nodeType!==wa?(r.before(r=Et()),ut(r)):go(r),Mt(r,r),r}function Ve(){if(le)return Mt(pe,null),pe;var t=document.createDocumentFragment(),e=document.createComment(""),r=Et();return t.append(e,r),Mt(e,r),t}function y(t,e){if(le){var r=_e;((r.f&en)===0||r.nodes.end===null)&&(r.nodes.end=pe),xr();return}t!==null&&t.before(e)}function mu(t){return t.endsWith("capture")&&t!=="gotpointercapture"&&t!=="lostpointercapture"}const gu=["beforeinput","click","change","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"];function pu(t){return gu.includes(t)}const _u={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 bu(t){return t=t.toLowerCase(),_u[t]??t}const yu=["touchstart","touchmove"];function wu(t){return yu.includes(t)}const xu=["textarea","script","style","title"];function ku(t){return xu.includes(t)}function Cu(t){let e=0,r=jr(0),n;return()=>{pi()&&(c(r),Vn(()=>(e===0&&(n=ct(()=>t(()=>za(r)))),e+=1,()=>{Ot(()=>{e-=1,e===0&&(n==null||n(),n=void 0,za(r))})})))}}var Lu=Dr|hn;function Su(t,e,r,n){new Eu(t,e,r,n)}class Eu{constructor(e,r,n,a){ye(this,Ze);Qe(this,"parent");Qe(this,"is_pending",!1);Qe(this,"transform_error");ye(this,Vt);ye(this,Wa,le?pe:null);ye(this,lr);ye(this,En);ye(this,Rt);ye(this,Bt,null);ye(this,It,null);ye(this,Ut,null);ye(this,Tr,null);ye(this,zn,0);ye(this,dn,0);ye(this,ca,!1);ye(this,Za,new Set);ye(this,Ya,new Set);ye(this,Jr,null);ye(this,Wo,Cu(()=>(ve(this,Jr,jr(_(this,zn))),()=>{ve(this,Jr,null)})));var o;ve(this,Vt,e),ve(this,lr,r),ve(this,En,i=>{var s=_e;s.b=this,s.f|=ri,n(i)}),this.parent=_e.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,Wa);xr();const s=i.data===ro;if(i.data.startsWith(ds)){const d=JSON.parse(i.data.slice(ds.length));ze(this,Ze,id).call(this,d)}else s?ze(this,Ze,sd).call(this):ze(this,Ze,od).call(this)}else ze(this,Ze,as).call(this)},Lu)),le&&ve(this,Vt,pe)}defer_effect(e){Ss(e,_(this,Za),_(this,Ya))}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!_(this,lr).pending}update_pending_count(e,r){ze(this,Ze,os).call(this,e,r),ve(this,zn,_(this,zn)+e),!(!_(this,Jr)||_(this,ca))&&(ve(this,ca,!0),Ot(()=>{ve(this,ca,!1),_(this,Jr)&&Hr(_(this,Jr),_(this,zn))}))}get_effect_pending(){return _(this,Wo).call(this),c(_(this,Jr))}error(e){if(!_(this,lr).onerror&&!_(this,lr).failed)throw e;ie!=null&&ie.is_fork?(_(this,Bt)&&ie.skip_effect(_(this,Bt)),_(this,It)&&ie.skip_effect(_(this,It)),_(this,Ut)&&ie.skip_effect(_(this,Ut)),ie.oncommit(()=>{ze(this,Ze,is).call(this,e)})):ze(this,Ze,is).call(this,e)}}Vt=new WeakMap,Wa=new WeakMap,lr=new WeakMap,En=new WeakMap,Rt=new WeakMap,Bt=new WeakMap,It=new WeakMap,Ut=new WeakMap,Tr=new WeakMap,zn=new WeakMap,dn=new WeakMap,ca=new WeakMap,Za=new WeakMap,Ya=new WeakMap,Jr=new WeakMap,Wo=new WeakMap,Ze=new WeakSet,od=function(){try{ve(this,Bt,Dt(()=>_(this,En).call(this,_(this,Vt))))}catch(e){this.error(e)}},id=function(e){const r=_(this,lr).failed,{reset:n,invoke_onerror:a}=ze(this,Ze,ns).call(this,e);Ot(a),r&&ve(this,Ut,Dt(()=>{r(_(this,Vt),()=>e,()=>n)}))},ns=function(e){var r=!1,n=!1;const a=()=>{if(r){Ad();return}r=!0,n&&Gd(),_(this,Ut)!==null&&gn(_(this,Ut),()=>{ve(this,Ut,null)}),ze(this,Ze,Jo).call(this,()=>{ze(this,Ze,as).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){Cr(l,_(this,Rt)&&_(this,Rt).parent)}}}},sd=function(){const e=_(this,lr).pending;e&&(this.is_pending=!0,ve(this,It,Dt(()=>e(_(this,Vt)))),Ot(()=>{var r=ve(this,Tr,document.createDocumentFragment()),n=Et(),a=!1;if(r.append(n),ve(this,Bt,ze(this,Ze,Jo).call(this,()=>{try{return Dt(()=>_(this,En).call(this,n))}catch(o){try{this.error(o),a=!0}catch(i){Cr(i,_(this,Rt).parent)}return null}})),_(this,Bt)===null){ve(this,Tr,null),a&&ze(this,Ze,eo).call(this,ie);return}_(this,dn)===0&&(_(this,Vt).before(r),ve(this,Tr,null),gn(_(this,It),()=>{ve(this,It,null)}),ze(this,Ze,eo).call(this,ie))}))},as=function(){try{if(this.is_pending=this.has_pending_snippet(),ve(this,dn,0),ve(this,zn,0),ve(this,Bt,Dt(()=>{_(this,En).call(this,_(this,Vt))})),_(this,dn)>0){var e=ve(this,Tr,document.createDocumentFragment());bi(_(this,Bt),e);const r=_(this,lr).pending;ve(this,It,Dt(()=>r(_(this,Vt))))}else ze(this,Ze,eo).call(this,ie)}catch(r){this.error(r)}},eo=function(e){this.is_pending=!1,e.transfer_effects(_(this,Za),_(this,Ya))},Jo=function(e){var r=_e,n=$e,a=et;nr(_(this,Rt)),rr(_(this,Rt)),Dn(_(this,Rt).ctx);try{return Fr.ensure(),e()}finally{nr(r),rr(n),Dn(a)}},os=function(e,r){var n;if(!this.has_pending_snippet()){this.parent&&ze(n=this.parent,Ze,os).call(n,e,r);return}ve(this,dn,_(this,dn)+e),_(this,dn)===0&&(ze(this,Ze,eo).call(this,r),_(this,It)&&gn(_(this,It),()=>{ve(this,It,null)}),_(this,Tr)&&(_(this,Vt).before(_(this,Tr)),ve(this,Tr,null)))},is=function(e){_(this,Bt)&&(xt(_(this,Bt)),ve(this,Bt,null)),_(this,It)&&(xt(_(this,It)),ve(this,It,null)),_(this,Ut)&&(xt(_(this,Ut)),ve(this,Ut,null)),le&&(ut(_(this,Wa)),St(),ut(ka()));let r=_(this,lr).failed;const n=a=>{const{reset:o,invoke_onerror:i}=ze(this,Ze,ns).call(this,a);i(),r&&ve(this,Ut,ze(this,Ze,Jo).call(this,()=>{try{return Dt(()=>{var s=_e;s.b=this,s.f|=ri,r(_(this,Vt),()=>a,()=>o)})}catch(s){return Cr(s,_(this,Rt).parent),null}}))};Ot(()=>{var a;try{a=this.transform_error(e)}catch(o){Cr(o,_(this,Rt)&&_(this,Rt).parent);return}a!==null&&typeof a=="object"&&typeof a.then=="function"?a.then(n,o=>Cr(o,_(this,Rt)&&_(this,Rt).parent)):n(a)})};let wo=!0;function xo(t){wo=t}function te(t,e){var r=e==null?"":typeof e=="object"?`${e}`:e;r!==(t[pa]??(t[pa]=t.nodeValue))&&(t[pa]=r,t.nodeValue=`${r}`)}function pl(t,e){return _l(t,e)}function zu(t,e){gi(),e.intro=e.intro??!1;const r=e.target,n=le,a=pe;try{for(var o=pt(r);o&&(o.nodeType!==Nn||o.data!==cs);)o=vr(o);if(!o)throw fn;$t(!0),ut(o);const i=_l(t,{...e,anchor:o});return $t(!1),i}catch(i){if(i instanceof Error&&i.message.split(`
2
+ `).some(s=>s.startsWith("https://svelte.dev/e/")))throw i;return i!==fn&&console.warn("Failed to hydrate: ",i),e.recover===!1&&Od(),gi(),Zs(r),$t(!1),pl(t,e)}finally{$t(n),ut(a)}}const ko=new Map;function _l(t,{target:e,anchor:r,props:n={},events:a,context:o,intro:i=!0,transformError:s}){gi();var l=void 0,d=ou(()=>{var u=r??e.appendChild(Et());Su(u,{pending:()=>{}},h=>{Oe({});var v=et;if(o&&(v.c=o),a&&(n.$$events=a),le&&Mt(h,null),wo=i,l=t(h,n)||si(),wo=!0,le&&(_e.nodes.end=pe,pe===null||pe.nodeType!==Nn||pe.data!==Xo))throw xa(),fn;De()},s);var m=new Set,f=h=>{for(var v=0;v<h.length;v++){var g=h[v];if(!m.has(g)){m.add(g);var b=wu(g);for(const P of[e,document]){var w=ko.get(P);w===void 0&&(w=new Map,ko.set(P,w));var z=w.get(g);z===void 0?(P.addEventListener(g,Ci,{passive:b}),w.set(g,1)):w.set(g,z+1)}}}};return f(oo(vl)),wi.add(f),()=>{var b;for(var h of m)for(const w of[e,document]){var v=ko.get(w),g=v.get(h);--g==0?(w.removeEventListener(h,Ci),v.delete(h),v.size===0&&ko.delete(w)):v.set(h,g)}wi.delete(f),u!==r&&((b=u.parentNode)==null||b.removeChild(u))}});return Si.set(l,d),l}let Si=new WeakMap;function Au(t,e){const r=Si.get(t);return r?(Si.delete(t),r(e)):Promise.resolve()}class Co{constructor(e,r=!0){Qe(this,"anchor");ye(this,_r,new Map);ye(this,Pr,new Map);ye(this,Wt,new Map);ye(this,An,new Set);ye(this,Ka,!0);ye(this,Ja,e=>{if(_(this,_r).has(e)){var r=_(this,_r).get(e),n=_(this,Pr).get(r);if(n)_o(n),_(this,An).delete(r);else{var a=_(this,Wt).get(r);a&&(_o(a.effect),_(this,Pr).set(r,a.effect),_(this,Wt).delete(r),a.fragment.lastChild.remove(),this.anchor.before(a.fragment),n=a.effect)}for(const[o,i]of _(this,_r)){if(_(this,_r).delete(o),o===e)break;const s=_(this,Wt).get(i);s&&(xt(s.effect),_(this,Wt).delete(i))}for(const[o,i]of _(this,Pr)){if(o===r||_(this,An).has(o))continue;const s=()=>{if(Array.from(_(this,_r).values()).includes(o)){var d=document.createDocumentFragment();bi(i,d),d.append(Et()),_(this,Wt).set(o,{effect:i,fragment:d})}else xt(i);_(this,An).delete(o),_(this,Pr).delete(o)};_(this,Ka)||!n?(_(this,An).add(o),gn(i,s,!1)):s()}}});ye(this,Zo,e=>{_(this,_r).delete(e);const r=Array.from(_(this,_r).values());for(const[n,a]of _(this,Wt))r.includes(n)||(xt(a.effect),_(this,Wt).delete(n))});this.anchor=e,ve(this,Ka,r)}ensure(e,r){var n=ie,a=Ys();if(r&&!_(this,Pr).has(e)&&!_(this,Wt).has(e))if(a){var o=document.createDocumentFragment(),i=Et();o.append(i),_(this,Wt).set(e,{effect:Dt(()=>r(i)),fragment:o})}else _(this,Pr).set(e,Dt(()=>r(this.anchor)));if(_(this,_r).set(n,e),a){for(const[s,l]of _(this,Pr))s===e?n.unskip_effect(l):n.skip_effect(l);for(const[s,l]of _(this,Wt))s===e?n.unskip_effect(l.effect):n.skip_effect(l.effect);n.oncommit(_(this,Ja)),n.ondiscard(_(this,Zo))}else le&&(this.anchor=pe),_(this,Ja).call(this,n)}}_r=new WeakMap,Pr=new WeakMap,Wt=new WeakMap,An=new WeakMap,Ka=new WeakMap,Ja=new WeakMap,Zo=new WeakMap;function Wn(t,e,...r){var n=new Co(t);Bn(()=>{const a=e()??null;n.ensure(a,a&&(o=>a(o,...r)))},Dr)}function Lo(t){et===null&&ks(),On&&et.l!==null?$u(et).m.push(t):Gr(()=>{const e=ct(t);if(typeof e=="function")return e})}function Ta(t){et===null&&ks(),Lo(()=>()=>ct(t))}function $u(t){var e=t.l;return e.u??(e.u={a:[],b:[],m:[]})}const bl=0,yl=1,Mu=2;function Br(t,e,r,n,a){le&&xr();var o=Fn(),i=dt,s=o?jr(i):Ea(i,!1,!1),l=o?jr(i):Ea(i,!1,!1),d=new Co(t);Bn(()=>{var u=ie,m=e(),f=!1;let h=le&&gs(m)===(t.data===ro);if(h&&(ut(ka()),$t(!1)),gs(m)){var v=Ms(),g=!1;const b=w=>{if(!f){g=!0,v(!1),ie===u&&u.deactivate(),Fr.ensure();try{w()}finally{Ca(!1),Gn||gt()}}};m.then(w=>{b(()=>{Hr(s,w),d.ensure(yl,n&&(z=>n(z,s)))})},w=>{b(()=>{if(Hr(l,w),d.ensure(Mu,a&&(z=>a(z,l))),!a)throw l.v})}),le?d.ensure(bl,r):Ot(()=>{g||b(()=>{d.ensure(bl,r)})})}else Hr(s,m),d.ensure(yl,n&&(b=>n(b,s)));return h&&$t(!0),()=>{f=!0}})}function U(t,e,r=!1){var n;le&&(n=pe,xr());var a=new Co(t),o=r?Dr:0;function i(s,l){if(le){var d=ys(n);if(s!==parseInt(d.substring(1))){var u=ka();ut(u),a.anchor=u,$t(!1),a.ensure(s,l),$t(!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 Pa(t,e){return e}function Tu(t,e,r){for(var n=[],a=e.length,o,i=e.length,s=0;s<a;s++){let m=e[s];gn(m,()=>{if(o){if(o.pending.delete(m),o.done.add(m),o.pending.size===0){var f=t.outrogroups;Ei(t,oo(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;Zs(u),u.append(d),t.items.clear()}Ei(t,e,!l)}else o={pending:new Set(e),done:new Set},(t.outrogroups??(t.outrogroups=new Set)).add(o)}function Ei(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|=yr;const i=document.createDocumentFragment();bi(o,i)}else xt(e[a],r)}}var wl;function nn(t,e,r,n,a,o=null){var i=t,s=new Map,l=(e&ss)!==0;if(l){var d=t;i=le?ut(pt(d)):d.appendChild(Et())}le&&xr();var u=null,m=ci(()=>{var P=r();return no(P)?P:P==null?[]:oo(P)}),f,h=new Map,v=!0;function g(P){(z.effect.f&Nt)===0&&(z.pending.delete(P),z.fallback=u,Pu(z,f,i,e,n),u!==null&&(f.length===0?(u.f&yr)===0?_o(u):(u.f^=yr,Ia(u,null,i)):gn(u,()=>{u=null})))}function b(P){z.pending.delete(P)}var w=Bn(()=>{f=c(m);var P=f.length;let R=!1;if(le){var E=ys(i)===ro;E!==(P===0)&&(i=ka(),ut(i),$t(!1),R=!0)}for(var A=new Set,S=ie,p=Ys(),x=0;x<P;x+=1){le&&pe.nodeType===Nn&&pe.data===Xo&&(i=pe,R=!0,$t(!1));var k=f[x],I=n(k,x),X=v?null:s.get(I);X?(X.v&&Hr(X.v,k),X.i&&Hr(X.i,x),p&&S.unskip_effect(X.e)):(X=Ru(s,v?i:wl??(wl=Et()),k,I,x,a,e,r),v||(X.e.f|=yr),s.set(I,X)),A.add(I)}if(P===0&&o&&!u&&(v?u=Dt(()=>o(i)):(u=Dt(()=>o(wl??(wl=Et()))),u.f|=yr)),P>A.size&&Td(),le&&P>0&&ut(ka()),!v)if(h.set(S,A),p){for(const[Q,He]of s)A.has(Q)||S.skip_effect(He.e);S.oncommit(g),S.ondiscard(b)}else g(S);R&&$t(!0),c(m)}),z={effect:w,items:s,pending:h,outrogroups:null,fallback:u};v=!1,le&&(i=pe)}function Ra(t){for(;t!==null&&(t.f&Xt)===0;)t=t.next;return t}function Pu(t,e,r,n,a){var k,I,X,Q,He,Ie,be,tt,je;var o=(n&cd)!==0,i=e.length,s=t.items,l=Ra(t.effect.first),d,u=null,m,f=[],h=[],v,g,b,w;if(o)for(w=0;w<i;w+=1)v=e[w],g=a(v,w),b=s.get(g).e,(b.f&yr)===0&&((I=(k=b.nodes)==null?void 0:k.a)==null||I.measure(),(m??(m=new Set)).add(b));for(w=0;w<i;w+=1){if(v=e[w],g=a(v,w),b=s.get(g).e,t.outrogroups!==null)for(const xe of t.outrogroups)xe.pending.delete(b),xe.done.delete(b);if((b.f&At)!==0&&(_o(b),o&&((Q=(X=b.nodes)==null?void 0:X.a)==null||Q.unfix(),(m??(m=new Set)).delete(b))),(b.f&yr)!==0)if(b.f^=yr,b===l)Ia(b,null,r);else{var z=u?u.next:l;b===t.effect.last&&(t.effect.last=b.prev),b.prev&&(b.prev.next=b.next),b.next&&(b.next.prev=b.prev),an(t,u,b),an(t,b,z),Ia(b,z,r),u=b,f=[],h=[],l=Ra(u.next);continue}if(b!==l){if(d!==void 0&&d.has(b)){if(f.length<h.length){var P=h[0],R;u=P.prev;var E=f[0],A=f[f.length-1];for(R=0;R<f.length;R+=1)Ia(f[R],P,r);for(R=0;R<h.length;R+=1)d.delete(h[R]);an(t,E.prev,A.next),an(t,u,E),an(t,A,P),l=P,u=A,w-=1,f=[],h=[]}else d.delete(b),Ia(b,l,r),an(t,b.prev,b.next),an(t,b,u===null?t.effect.first:u.next),an(t,u,b),u=b;continue}for(f=[],h=[];l!==null&&l!==b;)(d??(d=new Set)).add(l),h.push(l),l=Ra(l.next);if(l===null)continue}(b.f&yr)===0&&f.push(b),u=b,l=Ra(b.next)}if(t.outrogroups!==null){for(const xe of t.outrogroups)xe.pending.size===0&&(Ei(t,oo(xe.done)),(He=t.outrogroups)==null||He.delete(xe));t.outrogroups.size===0&&(t.outrogroups=null)}if(l!==null||d!==void 0){var S=[];if(d!==void 0)for(b of d)(b.f&At)===0&&S.push(b);for(;l!==null;)(l.f&At)===0&&l!==t.fallback&&S.push(l),l=Ra(l.next);var p=S.length;if(p>0){var x=(n&ss)!==0&&i===0?r:null;if(o){for(w=0;w<p;w+=1)(be=(Ie=S[w].nodes)==null?void 0:Ie.a)==null||be.measure();for(w=0;w<p;w+=1)(je=(tt=S[w].nodes)==null?void 0:tt.a)==null||je.fix()}Tu(t,S,x)}}o&&Ot(()=>{var xe,F;if(m!==void 0)for(b of m)(F=(xe=b.nodes)==null?void 0:xe.a)==null||F.apply()})}function Ru(t,e,r,n,a,o,i,s){var l=(i&to)!==0?(i&dd)===0?Ea(r,!1,!1):jr(r):null,d=(i&ld)!==0?jr(a):null;return{v:l,i:d,e:Dt(()=>(o(e,l??r,d??a,s),()=>{t.delete(n)}))}}function Ia(t,e,r){if(t.nodes)for(var n=t.nodes.start,a=t.nodes.end,o=e&&(e.f&yr)===0?e.nodes.start:r;n!==null;){var i=vr(n);if(o.before(n),n===a)return;n=i}}function an(t,e,r){e===null?t.effect.first=r:e.next=r,r===null?t.effect.last=e:r.prev=e}function on(t,e,r=!1,n=!1,a=!1,o=!1){var i=t,s="";if(r){var l=t;le&&(i=ut(pt(l)))}H(()=>{var d=_e;if(s===(s=e()??"")){le&&xr();return}if(r&&!le){d.nodes=null,l.innerHTML=s,s!==""&&Mt(pt(l),l.lastChild);return}if(d.nodes!==null&&(el(d.nodes.start,d.nodes.end),d.nodes=null),s!==""){if(le){pe.data;for(var u=xr(),m=u;u!==null&&(u.nodeType!==Nn||u.data!=="");)m=u,u=vr(u);if(u===null)throw xa(),fn;Mt(pe,m),i=ut(u);return}var f=n?fs:a?_d:void 0,h=Aa(n?"svg":a?"math":"template",f);h.innerHTML=s;var v=n||a?h:h.content;if(Mt(pt(v),v.lastChild),n||a)for(;pt(v);)i.before(pt(v));else i.before(v)}})}function zt(t,e,r,n,a){var s,l;if(le&&xr(),(s=e.$$host)!=null&&s.$$shadowRoot){const d=Aa("slot");if(r!=="default"&&(d.name=r),y(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 Iu=()=>performance.now(),Ur={tick:t=>requestAnimationFrame(t),now:()=>Iu(),tasks:new Set};function xl(){const t=Ur.now();Ur.tasks.forEach(e=>{e.c(t)||(Ur.tasks.delete(e),e.f())}),Ur.tasks.size!==0&&Ur.tick(xl)}function Nu(t){let e;return Ur.tasks.size===0&&Ur.tick(xl),{promise:new Promise(r=>{Ur.tasks.add(e={c:t,f:r})}),abort(){Ur.tasks.delete(e)}}}function So(t,e){rn(()=>{t.dispatchEvent(new CustomEvent(e))})}function Ou(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 kl(t){const e={},r=t.split(";");for(const n of r){const[a,o]=n.split(":");if(!a||o===void 0)break;const i=Ou(a.trim());e[i]=o.trim()}return e}const Du=t=>t;function Fu(t,e,r,n){var b;var a=(t&gd)!==0,o="both",i,s=e.inert,l=e.style.overflow,d,u;function m(){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,m(),u,1,()=>{So(e,"introstart")},()=>{So(e,"introend"),d==null||d.abort(),d=i=void 0,e.style.overflow=l})},out(w){e.inert=!0,u=zi(e,m(),d,0,()=>{So(e,"outrostart")},()=>{So(e,"outroend"),w==null||w()})},stop:()=>{d==null||d.abort(),u==null||u.abort()}},h=_e;if(((b=h.nodes).t??(b.t=[])).push(f),wo){var v=a;if(!v){for(var g=h.parent;g&&(g.f&Dr)!==0;)for(;(g=g.parent)&&(g.f&Jt)===0;);v=!g||(g.f&en)!==0}v&&$a(()=>{ct(()=>f.in())})}}function zi(t,e,r,n,a,o){var i=n===1,s=!1;if(Tn(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:Pn,deactivate:Pn,reset:Pn,t:()=>n};const{delay:d=0,css:u,tick:m,easing:f=Du}=e;var h,v=()=>1-n;return Ot(()=>{if(!s){var g=[];if(i&&r===void 0&&(m&&m(0,1),u)){var b=kl(u(0,1));g.push(b,b)}h=t.animate(g,{duration:d,fill:"forwards"}),h.onfinish=()=>{h.cancel(),a();var w=(r==null?void 0:r.t())??1-n;r==null||r.abort();var z=n-w,P=e.duration*Math.abs(z),R=[];if(P>0){var E=!1;if(u)for(var A=Math.ceil(P/16.666666666666668),S=0;S<=A;S+=1){var p=w+z*f(S/A),x=kl(u(p,1-p));R.push(x),E||(E=x.overflow==="hidden")}E&&(t.style.overflow="hidden"),v=()=>{var k=h.currentTime;return w+z*f(k/P)},m&&Nu(()=>{if(h.playState!=="running")return!1;var k=v();return m(k,1-k),!0})}h=t.animate(R,{duration:P,fill:"forwards"}),h.onfinish=()=>{v=()=>n,m==null||m(n,1-n),o()}}}}),{abort:()=>{s=!0,h&&(h.cancel(),h.effect=null,h.onfinish=Pn)},deactivate:()=>{o=Pn},reset:()=>{n===0&&(m==null||m(1,0))},t:()=>v()}}function Gt(t,e,r,n,a,o){let i=le;le&&xr();var s=null;le&&pe.nodeType===Sd&&(s=pe,xr());var l=le?pe:t,d=new Co(l,!1);Bn(()=>{const u=e()||null;var m=u==="svg"?fs:void 0;if(u===null){d.ensure(null,null),xo(!0);return}return d.ensure(u,f=>{if(u){if(s=le?s:Aa(u,m),Mt(s,s),n){var h=null;le&&ku(u)&&s.append(h=document.createComment(""));var v=le?pt(s):s.appendChild(Et());le&&(v===null?$t(!1):ut(v)),n(s,v),h==null||h.remove()}_e.nodes.end=s,f.before(s)}le&&ut(f)}),xo(!0),()=>{u&&xo(!1)}},Dr),po(()=>{xo(!0)}),i&&($t(!0),ut(l))}function ju(t,e){var r=void 0,n;Xs(()=>{r!==(r=e())&&(n&&(xt(n),n=null),r&&(n=Dt(()=>{$a(()=>r(t))})))})}function Cl(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=Cl(t[e]))&&(n&&(n+=" "),n+=r)}else for(r in t)t[r]&&(n&&(n+=" "),n+=r);return n}function Hu(){for(var t,e,r=0,n="",a=arguments.length;r<a;r++)(t=arguments[r])&&(e=Cl(t))&&(n&&(n+=" "),n+=e);return n}function Fe(t){return typeof t=="object"?Hu(t):t??""}const Ll=[...`
3
+ \r\f \v\uFEFF`];function Gu(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||Ll.includes(n[i-1]))&&(s===n.length||Ll.includes(n[s]))?n=(i===0?"":n.substring(0,i))+n.substring(s+1):i=s}}return n===""?null:n}function Sl(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 Ai(t){return t[0]!=="-"||t[1]!=="-"?t.toLowerCase():t}function qu(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(Ai)),a&&l.push(...Object.keys(a).map(Ai));var d=0,u=-1;const g=t.length;for(var m=0;m<g;m++){var f=t[m];if(s?f==="/"&&t[m-1]==="*"&&(s=!1):o?o===f&&(o=!1):f==="/"&&t[m+1]==="*"?s=!0:f==='"'||f==="'"?o=f:f==="("?i++:f===")"&&i--,!s&&o===!1&&i===0){if(f===":"&&u===-1)u=m;else if(f===";"||m===g-1){if(u!==-1){var h=Ai(t.substring(d,u).trim());if(!l.includes(h)){f!==";"&&m++;var v=t.substring(d,m).trim();r+=" "+v+";"}}d=m+1,u=-1}}}}return n&&(r+=Sl(n)),a&&(r+=Sl(a,!0)),r=r.trim(),r===""?null:r}return t==null?null:String(t)}function Re(t,e,r,n,a,o){var i=t[oi];if(le||i!==r||i===void 0){var s=Gu(r,n,o);(!le||s!==t.getAttribute("class"))&&(s==null?t.removeAttribute("class"):e?t.className=s:t.setAttribute("class",s)),t[oi]=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 $i(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 Vu(t,e,r,n){var a=t[ii];if(le||a!==e){var o=qu(e,n);(!le||o!==t.getAttribute("style"))&&(o==null?t.removeAttribute("style"):t.style.cssText=o),t[ii]=e}else n&&(Array.isArray(n)?($i(t,r==null?void 0:r[0],n[0]),$i(t,r==null?void 0:r[1],n[1],"important")):$i(t,r,n));return n}function El(t,e){e?t.hasAttribute("selected")||t.setAttribute("selected",""):t.removeAttribute("selected")}function zl(t,e){var r=!("__defaultValue"in t);!r&&t.__defaultValue===e||(t.__defaultValue=e,Al(t,!r||"__value"in t))}function Al(t,e){var r=t.__defaultValue,n=t.multiple,a=n?r??[]:null;if(!(n&&!no(a))){var o=t.selectedIndex,i=e&&n?new Set(t.selectedOptions):null;for(var s of t.options){var l=Zn(s);El(s,n?a.includes(l):qs(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 Na(t,e,r=!1){if(t.multiple){if(e==null)return;if(!no(e))return zd();for(var n of t.options)n.selected=e.includes(Zn(n));return}for(n of t.options){var a=Zn(n);if(qs(a,e)){n.selected=!0;return}}(!r||e!==void 0)&&(t.selectedIndex=-1)}function $l(t){var e=new MutationObserver(r=>{r.every(Uu)||("__defaultValue"in t&&Al(t,!1),"__value"in t&&Na(t,t.__value))});e.observe(t,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["value"]}),po(()=>{e.disconnect()})}function Bu(t,e,r=e){var n=new WeakSet,a=!0;As(t,"change",o=>{var i=o?"[selected]":":checked",s;if(t.multiple)s=[].map.call(t.querySelectorAll(i),Zn);else{var l=t.querySelector(i)??t.querySelector("option:not([disabled])");s=l&&Zn(l)}r(s),t.__value=s,ie!==null&&n.add(ie)}),$a(()=>{var o=e();if(t===document.activeElement){var i=ie;if(n.has(i))return}if(Na(t,o,a),a&&o===void 0){var s=t.querySelector(":checked");s!==null&&(o=Zn(s),r(o))}t.__value=o,a=!1})}function Zn(t){return"__value"in t?t.__value:t.value}function Uu(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"),Da=Symbol("style"),Ml=Symbol("is custom element"),Tl=Symbol("is html"),Wu=ya?"link":"LINK",Pl=ya?"input":"INPUT",Zu=ya?"option":"OPTION",Rl=ya?"select":"SELECT",Yu=ya?"progress":"PROGRESS";function Mi(t){if(le){var e=!1,r=()=>{if(!e){if(e=!0,t.hasAttribute("value")){var n=t.value;Le(t,"value",null),t.value=n}if(t.hasAttribute("checked")){var a=t.checked;Le(t,"checked",null),t.checked=a}}};t[_a]=r,Ot(r),zs()}}function Ku(t,e){var r=Eo(t);r.value===(r.value=e??void 0)||t.value===e&&(e!==0||t.nodeName!==Yu)||(t.value=e??"")}function Ju(t,e){var r=Eo(t);r.checked!==(r.checked=e??void 0)&&(t.checked=e)}function Le(t,e,r,n){var a=Eo(t);le&&(a[e]=t.getAttribute(e),e==="src"||e==="srcset"||e==="href"&&t.nodeName===Wu)||a[e]!==(a[e]=r)&&(e==="loading"&&(t[Ld]=r),r==null?t.removeAttribute(e):typeof r!="string"&&Nl(t).has(e)?t[e]=r:t.setAttribute(e,r))}function Xu(t,e,r,n,a=!1,o=!1){le&&a&&t.nodeName===Pl&&("defaultValue"in r||"defaultChecked"in r||Mi(t));var i=Eo(t),s=i[Ml],l=!i[Tl];let d=le&&s;d&&$t(!1);var u=e||{},m=t.nodeName===Zu,f=t.nodeName===Rl;for(var h in e)!(h in r)&&h[0]+h[1]!=="$$"&&(r[h]=null);r.class?r.class=Fe(r.class):r[Oa]&&(r.class=null),r[Da]&&(r.style??(r.style=null));var v=Nl(t);if(t.nodeName===Pl&&"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,Le(t,"type",g))}for(const A in r){let S=r[A];if(m&&A==="value"&&S==null){t.value=t.__value="",u[A]=S;continue}if(A==="class"){var b=t.namespaceURI==="http://www.w3.org/1999/xhtml";Re(t,b,S,n,e==null?void 0:e[Oa],r[Oa]),u[A]=S,u[Oa]=r[Oa];continue}if(A==="style"){Vu(t,S,e==null?void 0:e[Da],r[Da]),u[A]=S,u[Da]=r[Da];continue}var w=u[A];if(!(S===w&&!(S===void 0&&t.hasAttribute(A)))){u[A]=S;var z=A[0]+A[1];if(z!=="$$")if(z==="on"){const p={},x="$$"+A;let k=A.slice(2);var P=pu(k);if(mu(k)&&(k=k.slice(0,-7),p.capture=!0),!P&&w){if(S!=null)continue;t.removeEventListener(k,u[x],p),u[x]=null}if(P)or(k,t,S),Vr([k]);else if(S!=null){let I=function(X){u[A].call(this,X)};u[x]=ml(k,t,I,p)}}else if(A==="style")Le(t,A,S);else if(A==="autofocus")Zd(t,!!S);else if(!s&&(A==="__value"||A==="value"&&S!=null))t.value=t.__value=S;else if(A==="selected"&&m)El(t,S);else{var R=A;l||(R=bu(R));var E=R==="defaultValue"||R==="defaultChecked";if(f&&R==="defaultValue")continue;if(S==null&&!s&&!E)if(i[A]=null,R==="value"||R==="checked"){let p=t;const x=e===void 0;if(R==="value"){let k=p.defaultValue;p.removeAttribute(R),p.defaultValue=k,p.value=p.__value=x?k:null}else{let k=p.defaultChecked;p.removeAttribute(R),p.defaultChecked=k,p.checked=x?k:!1}}else t.removeAttribute(A);else E||(s||typeof S!="string")&&v.has(R)?(t[R]=S,R in i&&(i[R]=dt)):typeof S!="function"&&Le(t,R,S)}}}return d&&$t(!0),u}function _t(t,e,r=[],n=[],a=[],o,i=!1,s=!1){$s(a,r,n,l=>{var d=void 0,u={},m=t.nodeName===Rl,f=!1;if(Xs(()=>{var v=e(...l.map(c)),g=Xu(t,d,v,o,i,s);if(f&&m){var b=t;"defaultValue"in v&&zl(b,v.defaultValue),"value"in v&&Na(b,v.value)}for(let z of Object.getOwnPropertySymbols(u))v[z]||xt(u[z]);for(let z of Object.getOwnPropertySymbols(v)){var w=v[z];z.description===bd&&(!d||w!==d[z])&&(u[z]&&xt(u[z]),u[z]=Dt(()=>ju(t,()=>w))),g[z]=w}d=g}),m){var h=t;$a(()=>{var v=d;"defaultValue"in v&&zl(h,v.defaultValue),Na(h,v.value,!0),$l(h)})}f=!0})}function Eo(t){return t[uo]??(t[uo]={[Ml]:t.nodeName.includes("-"),[Tl]:t.namespaceURI===us})}var Il=new Map;function Nl(t){var e=t.getAttribute("is")||t.nodeName,r=Il.get(e);if(r)return r;Il.set(e,r=new Set);for(var n,a=t,o=Element.prototype;o!==a;){n=vs(a);for(var i in n)n[i].set&&i!=="innerHTML"&&i!=="textContent"&&i!=="innerText"&&r.add(i);a=Qo(a)}return r}function Qu(t,e,r=e){var n=new WeakSet;As(t,"input",async a=>{var o=a?t.defaultValue:t.value;if(o=Ti(t)?Pi(o):o,r(o),ie!==null&&n.add(ie),await fu(),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||ct(e)==null&&t.value)&&(r(Ti(t)?Pi(t.value):t.value),ie!==null&&n.add(ie)),Vn(()=>{var a=e();if(t===document.activeElement){var o=ie;if(n.has(o))return}Ti(t)&&a===Pi(t.value)||t.type==="date"&&!a&&!t.value||a!==t.value&&(t.value=a??"")})}function Ti(t){var e=t.type;return e==="number"||e==="range"}function Pi(t){return t===""?null:+t}function Ri(t,e){return t===e||(t==null?void 0:t[wr])===e}function zo(t=si(),e,r,n){var a=et.r,o=_e;return $a(()=>{var i,s;return Vn(()=>{i=s,s=[],ct(()=>{Ri(r(...s),t)||(e(t,...s),i&&Ri(r(...i),t)&&e(null,...i))})}),()=>{let l=o;for(;l!==a&&l.parent!==null&&l.parent.f&so;)l=l.parent;const d=()=>{s&&Ri(r(...s),t)&&e(null,...s)},u=l.teardown;l.teardown=()=>{d(),u==null||u()}}}),t}function Ii(t=!1){const e=et,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&&nu(()=>{Ol(e,n),ei(r.b)}),Gr(()=>{const a=ct(()=>r.m.map(kd));return()=>{for(const o of a)typeof o=="function"&&o()}}),r.a.length&&Gr(()=>{Ol(e,n),ei(r.a)})}function Ol(t,e){if(t.l.s)for(const r of t.l.s)c(r);e()}const e1={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 qt(t,e,r){return new Proxy({props:t,exclude:e},e1)}const t1={get(t,e){let r=t.props.length;for(;r--;){let n=t.props[r];if(Tn(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];Tn(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(Tn(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===wr||e===ai)return!1;for(let r of t.props)if(Tn(r)&&(r=r()),r!=null&&e in r)return!0;return!1},ownKeys(t){const e=[];for(let r of t.props)if(Tn(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},t1)}function re(t,e,r,n){var R;var a=!On||(r&fd)!==0,o=(r&vd)!==0,i=(r&md)!==0,s=n,l=!0,d=void 0,u=()=>i&&a?(d??(d=jn(n)),c(d)):(l&&(l=!1,s=i?ct(n):n),s);let m;if(o){var f=wr in t||ai in t;m=((R=Or(t,e))==null?void 0:R.set)??(f&&e in t?E=>t[e]=E:void 0)}var h,v=!1;o?[h,v]=Wd(()=>t[e]):h=t[e],h===void 0&&n!==void 0&&(h=u(),m&&(a&&Dd(),m(h)));var g;if(a?g=()=>{var E=t[e];return E===void 0?u():(l=!0,E)}:g=()=>{var E=t[e];return E!==void 0&&(s=void 0),E===void 0?s:E},a&&(r&hd)===0)return g;if(m){var b=t.$$legacy;return(function(E,A){return arguments.length>0?((!a||!A||b||v)&&m(A?g():E),E):g()})}var w=!1,z=((r&ud)!==0?jn:ci)(()=>(w=!1,g()));o&&c(z);var P=_e;return(function(E,A){if(arguments.length>0){const S=A?c(z):a&&o?hr(E):E;return M(z,S),w=!0,s!==void 0&&(s=S),E}return qr&&w||(P.f&Nt)!==0?z.v:c(z)})}function r1(t){return new n1(t)}class n1{constructor(e){ye(this,Xr);ye(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===ai?!0:(c(r.get(s)??n(s,Reflect.get(i,s))),Reflect.has(i,s))},set(i,s,l){return M(r.get(s)??n(s,l),l),Reflect.set(i,s,l)}});ve(this,cr,(e.hydrate?zu:pl)(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)&&gt(),ve(this,Xr,a.$$events);for(const i of Object.keys(_(this,cr)))i==="$set"||i==="$destroy"||i==="$on"||ma(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=()=>{Au(_(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 Dl;typeof HTMLElement=="function"&&(Dl=class extends HTMLElement{constructor(e,r,n){super();Qe(this,"$$ctor");Qe(this,"$$s");Qe(this,"$$c");Qe(this,"$$cn",!1);Qe(this,"$$d",{});Qe(this,"$$r",!1);Qe(this,"$$p_d",{});Qe(this,"$$l",{});Qe(this,"$$l_u",new Map);Qe(this,"$$me");Qe(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=Aa("slot");a!=="default"&&(i.name=a),y(o,i)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const r={},n=a1(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]=Ao(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=r1({component:this.$$ctor,target:this.$$shadowRoot||this,props:{...this.$$d,$$slots:r,$$host:this}}),this.$$me=au(()=>{Vn(()=>{var a;this.$$r=!0;for(const o of io(this.$$c)){if(!((a=this.$$p_d[o])!=null&&a.reflect))continue;this.$$d[o]=this.$$c[o];const i=Ao(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]=Ao(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 io(this.$$p_d).find(r=>this.$$p_d[r].attribute===e||!this.$$p_d[r].attribute&&r.toLowerCase()===e)||e}});function Ao(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 a1(t){const e={};return t.childNodes.forEach(r=>{e[r.slot||"default"]=!0}),e}function wn(t,e,r,n,a,o){let i=class extends Dl{constructor(){super(t,r,a),this.$$p_d=e}static get observedAttributes(){return io(e).map(s=>(e[s].attribute||s).toLowerCase())}};return io(e).forEach(s=>{ma(i.prototype,s,{get(){return this.$$c&&s in this.$$c?this.$$c[s]:this.$$d[s]},set(l){var m;l=Ao(s,l,e),this.$$d[s]=l;var d=this.$$c;if(d){var u=(m=Or(d,s))==null?void 0:m.get;u?d[s]=l:d.$set({[s]:l})}}})}),n.forEach(s=>{ma(i.prototype,s,{get(){var l;return(l=this.$$c)==null?void 0:l[s]}})}),o&&(i=o(i)),t.element=i,i}function Fa(t){return class extends t{constructor(){super(...arguments);Qe(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 o1=`*,: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}`,Ni=2e4,Fl=1e4;class i1 extends Error{constructor(e){super(e),this.name="SesamyApiUnavailableError"}}let Oi=null;function s1(){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 l1(){if(Oi)return Oi;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:s1(),timedOutAt:null,reported:new Set,detach:()=>document.removeEventListener("visibilitychange",t)};return document.addEventListener("visibilitychange",t),Oi=n,n}function Di(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 jl(t,e){const r=new Error(e);return r.name=t,r}function c1(t){const e=()=>{window.removeEventListener("sesamyJsReady",e),Di(t,"late",jl("SesamyApiLateReady",`sesamy-js became ready after components stopped waiting at ${Ni}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 Hl(){var e;if((e=window.sesamy)!=null&&e.isReady())return window.sesamy;const t=l1();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>=Fl&&Di(t,"slow",jl("SesamyApiSlowReady",`sesamy-js took over ${Fl}ms to become ready`)),r(window.sesamy),!0):!1};function i(){o()}const s=setTimeout(()=>{if(o())return;a();const l=new i1(window.sesamy?`sesamy-js did not finish initialising within ${Ni}ms`:"sesamy-js is not available on the page");t.timedOutAt===null&&(t.timedOutAt=performance.now(),Di(t,"timeout",l,{sesamyPresent:!!window.sesamy}),c1(t)),n(l)},Ni);window.addEventListener("sesamyJsReady",i)})}const Gl={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.",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.",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.",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.",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.",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.",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.",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.",user_already_owns_item:"Du ejer allerede dette produkt",year:"År",your_details:"Dine oplysninger"}};function d1(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 u1(t){const e=Gl[t]?t:"en";return(r,n)=>{var o;const a=((o=Gl[e])==null?void 0:o[r])||r;return d1(a,n)}}var f1=T(" <!>",1),h1=T("<!> <!>",1);function Yn(t,e){Oe(e,!0);let r=re(e,"applyStyles",3,!0);const n=Hl(),a=n.then(h=>{const v=e.lang||h.content.getLanguage();return u1(v)});let i=r()?"<style>"+o1+`
4
4
  :host {
5
5
  display: contents;
6
6
  font-family: var(--s-font-family);
@@ -31,14 +31,14 @@
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(([h,v])=>({api:h,t:v}));let l=!1;function d(h){l||(l=!0,console.error("[sesamy-components] sesamy-js is unavailable:",h))}var u=f1(),m=q(u);Ur(m,()=>s,null,(h,v)=>{var g=Y(()=>{var{api:P,t:S}=c(v);return{api:P,t:S}}),b=Y(()=>c(g).api),w=Y(()=>c(g).t),A=qe(),I=q(A);zt(I,e,"default",{get api(){return c(b)},get t(){return c(w)}},null),y(h,A)},(h,v)=>{var g=u1(),b=q(g),w=L(b);zt(w,e,"error",{get error(){return c(v)}},null),H(A=>Q(b,`${A??""} `),[()=>d(c(v))]),y(h,g)});var f=L(m,2);on(f,()=>i),y(t,u),De()}const h1=(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},v1=(t,e)=>({classGroupId:t,validator:e}),ql=(t=new Map,e=null,r)=>({nextPart:t,validators:e,classGroupId:r}),$o="-",Vl=[],m1="arbitrary..",g1=t=>{const e=_1(t),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=t;return{getClassGroupId:i=>{if(i.startsWith("[")&&i.endsWith("]"))return p1(i);const s=i.split($o),l=s[0]===""&&s.length>1?1:0;return Ul(s,l,e)},getConflictingClassGroupIds:(i,s)=>{if(s){const l=n[i],d=r[i];return l?d?h1(d,l):l:d||Vl}return r[i]||Vl}}},Ul=(t,e,r)=>{if(t.length-e===0)return r.classGroupId;const a=t[e],o=r.nextPart.get(a);if(o){const d=Ul(t,e+1,o);if(d)return d}const i=r.validators;if(i===null)return;const s=e===0?t.join($o):t.slice(e).join($o),l=i.length;for(let d=0;d<l;d++){const u=i[d];if(u.validator(s))return u.classGroupId}},p1=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?m1+n:void 0})(),_1=t=>{const{theme:e,classGroups:r}=t;return b1(r,e)},b1=(t,e)=>{const r=ql();for(const n in t){const a=t[n];Fi(a,r,n,e)}return r},Fi=(t,e,r,n)=>{const a=t.length;for(let o=0;o<a;o++){const i=t[o];y1(i,e,r,n)}},y1=(t,e,r,n)=>{if(typeof t=="string"){w1(t,e,r);return}if(typeof t=="function"){x1(t,e,r,n);return}k1(t,e,r,n)},w1=(t,e,r)=>{const n=t===""?e:Bl(e,t);n.classGroupId=r},x1=(t,e,r,n)=>{if(C1(t)){Fi(t(n),e,r,n);return}e.validators===null&&(e.validators=[]),e.validators.push(v1(r,t))},k1=(t,e,r,n)=>{const a=Object.entries(t),o=a.length;for(let i=0;i<o;i++){const[s,l]=a[i];Fi(l,Bl(e,s),r,n)}},Bl=(t,e)=>{let r=t;const n=e.split($o),a=n.length;for(let o=0;o<a;o++){const i=n[o];let s=r.nextPart.get(i);s||(s=ql(),r.nextPart.set(i,s)),r=s}return r},C1=t=>"isThemeGetter"in t&&t.isThemeGetter===!0,L1=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)}}},ji="!",Wl=":",S1=[],Zl=(t,e,r,n,a)=>({modifiers:t,hasImportantModifier:e,baseClassName:r,maybePostfixModifierPosition:n,isExternal:a}),E1=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 b=a[g];if(i===0&&s===0){if(b===Wl){o.push(a.slice(l,g)),l=g+1;continue}if(b==="/"){d=g;continue}}b==="["?i++:b==="]"?i--:b==="("?s++:b===")"&&s--}const m=o.length===0?a:a.slice(l);let f=m,h=!1;m.endsWith(ji)?(f=m.slice(0,-1),h=!0):m.startsWith(ji)&&(f=m.slice(1),h=!0);const v=d&&d>l?d-l:void 0;return Zl(o,h,f,v)};if(e){const a=e+Wl,o=n;n=i=>i.startsWith(a)?o(i.slice(a.length)):Zl(S1,!1,i,void 0,!0)}if(r){const a=n;n=o=>r({className:o,parseClassName:a})}return n},z1=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}},A1=t=>({cache:L1(t.cacheSize),parseClassName:E1(t),sortModifiers:z1(t),postfixLookupClassGroupIds:$1(t),...g1(t)}),$1=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},M1=/\s+/,T1=(t,e)=>{const{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:a,sortModifiers:o,postfixLookupClassGroupIds:i}=e,s=[],l=t.trim().split(M1);let d="";for(let u=l.length-1;u>=0;u-=1){const m=l[u],{isExternal:f,modifiers:h,hasImportantModifier:v,baseClassName:g,maybePostfixModifierPosition:b}=r(m);if(f){d=m+(d.length>0?" "+d:d);continue}let w=!!b,A;if(w){const z=g.substring(0,b);A=n(z);const p=A&&i[A]?n(g):void 0;p&&p!==A&&(A=p,w=!1)}else A=n(g);if(!A){if(!w){d=m+(d.length>0?" "+d:d);continue}if(A=n(g),!A){d=m+(d.length>0?" "+d:d);continue}w=!1}const I=h.length===0?"":h.length===1?h[0]:o(h).join(":"),P=v?I+ji:I,S=P+A;if(s.indexOf(S)>-1)continue;s.push(S);const $=a(A,w);for(let z=0;z<$.length;++z){const p=$[z];s.push(P+p)}d=m+(d.length>0?" "+d:d)}return d},P1=(...t)=>{let e=0,r,n,a="";for(;e<t.length;)(r=t[e++])&&(n=Yl(r))&&(a&&(a+=" "),a+=n);return a},Yl=t=>{if(typeof t=="string")return t;let e,r="";for(let n=0;n<t.length;n++)t[n]&&(e=Yl(t[n]))&&(r&&(r+=" "),r+=e);return r},R1=(t,...e)=>{let r,n,a,o;const i=l=>{const d=e.reduce((u,m)=>m(u),t());return r=A1(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=T1(l,r);return a(l,u),u};return o=i,(...l)=>o(P1(...l))},I1=[],bt=t=>{const e=r=>r[t]||I1;return e.isThemeGetter=!0,e},Kl=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Jl=/^\((?:(\w[\w-]*):)?(.+)\)$/i,N1=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,O1=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,D1=/\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$/,F1=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,j1=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,H1=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,sn=t=>N1.test(t),Se=t=>!!t&&!Number.isNaN(Number(t)),Er=t=>!!t&&Number.isInteger(Number(t)),Hi=t=>t.endsWith("%")&&Se(t.slice(0,-1)),Zr=t=>O1.test(t),Xl=()=>!0,G1=t=>D1.test(t)&&!F1.test(t),Gi=()=>!1,q1=t=>j1.test(t),V1=t=>H1.test(t),U1=t=>!K(t)&&!J(t),B1=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)),W1=t=>ln(t,ac,Gi),K=t=>Kl.test(t),xn=t=>ln(t,oc,G1),Ql=t=>ln(t,tf,Se),Z1=t=>ln(t,sc,Xl),Y1=t=>ln(t,ic,Gi),ec=t=>ln(t,rc,Gi),K1=t=>ln(t,nc,V1),Mo=t=>ln(t,lc,q1),J=t=>Jl.test(t),ja=t=>kn(t,oc),J1=t=>kn(t,ic),tc=t=>kn(t,rc),X1=t=>kn(t,ac),Q1=t=>kn(t,nc),To=t=>kn(t,lc,!0),ef=t=>kn(t,sc,!0),ln=(t,e,r)=>{const n=Kl.exec(t);return n?n[1]?e(n[1]):r(n[2]):!1},kn=(t,e,r=!1)=>{const n=Jl.exec(t);return n?n[1]?e(n[1]):r:!1},rc=t=>t==="position"||t==="percentage",nc=t=>t==="image"||t==="url",ac=t=>t==="length"||t==="size"||t==="bg-size",oc=t=>t==="length",tf=t=>t==="number",ic=t=>t==="family-name",sc=t=>t==="number"||t==="weight",lc=t=>t==="shadow",se=R1(()=>{const t=bt("color"),e=bt("font"),r=bt("text"),n=bt("font-weight"),a=bt("tracking"),o=bt("leading"),i=bt("breakpoint"),s=bt("container"),l=bt("spacing"),d=bt("radius"),u=bt("shadow"),m=bt("inset-shadow"),f=bt("text-shadow"),h=bt("drop-shadow"),v=bt("blur"),g=bt("perspective"),b=bt("aspect"),w=bt("ease"),A=bt("animate"),I=()=>["auto","avoid","all","avoid-page","page","left","right","column"],P=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],S=()=>[...P(),J,K],$=()=>["auto","hidden","clip","visible","scroll"],z=()=>["auto","contain","none"],p=()=>[J,K,l],x=()=>[sn,"full","auto",...p()],k=()=>[Er,"none","subgrid",J,K],R=()=>["auto",{span:["full",Er,J,K]},Er,J,K],X=()=>[Er,"auto",J,K],ee=()=>["auto","min","max","fr",J,K],He=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],Re=()=>["start","end","center","stretch","center-safe","end-safe"],pe=()=>["auto",...p()],Ye=()=>[sn,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...p()],je=()=>[sn,"screen","full","dvw","lvw","svw","min","max","fit",...p()],Ce=()=>[sn,"screen","full","lh","dvh","lvh","svh","min","max","fit",...p()],D=()=>[t,J,K],Ke=()=>[...P(),tc,ec,{position:[J,K]}],Ie=()=>["no-repeat",{repeat:["","x","y","space","round"]}],ue=()=>["auto","cover","contain",X1,W1,{size:[J,K]}],ye=()=>[Hi,ja,xn],C=()=>["","none","full",d,J,K],j=()=>["",Se,ja,xn],Z=()=>["solid","dashed","dotted","double"],ce=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],re=()=>[Se,Hi,tc,ec],Je=()=>["","none",v,J,K],N=()=>["none",Se,J,K],E=()=>["none",Se,J,K],O=()=>[Se,J,K],F=()=>[sn,"full",...p()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Zr],breakpoint:[Zr],color:[Xl],container:[Zr],"drop-shadow":[Zr],ease:["in","out","in-out"],font:[U1],"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",Se],text:[Zr],"text-shadow":[Zr],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",sn,K,J,b]}],container:["container"],"container-type":[{"@container":["","normal","size",J,K]}],"container-named":[B1],columns:[{columns:[Se,K,J,s]}],"break-after":[{"break-after":I()}],"break-before":[{"break-before":I()}],"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:S()}],overflow:[{overflow:$()}],"overflow-x":[{"overflow-x":$()}],"overflow-y":[{"overflow-y":$()}],overscroll:[{overscroll:z()}],"overscroll-x":[{"overscroll-x":z()}],"overscroll-y":[{"overscroll-y":z()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:x()}],"inset-x":[{"inset-x":x()}],"inset-y":[{"inset-y":x()}],start:[{"inset-s":x(),start:x()}],end:[{"inset-e":x(),end:x()}],"inset-bs":[{"inset-bs":x()}],"inset-be":[{"inset-be":x()}],top:[{top:x()}],right:[{right:x()}],bottom:[{bottom:x()}],left:[{left:x()}],visibility:["visible","invisible","collapse"],z:[{z:[Er,"auto",J,K]}],basis:[{basis:[sn,"full","auto",s,...p()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Se,sn,"auto","initial","none",K]}],grow:[{grow:["",Se,J,K]}],shrink:[{shrink:["",Se,J,K]}],order:[{order:[Er,"first","last","none",J,K]}],"grid-cols":[{"grid-cols":k()}],"col-start-end":[{col:R()}],"col-start":[{"col-start":X()}],"col-end":[{"col-end":X()}],"grid-rows":[{"grid-rows":k()}],"row-start-end":[{row:R()}],"row-start":[{"row-start":X()}],"row-end":[{"row-end":X()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":ee()}],"auto-rows":[{"auto-rows":ee()}],gap:[{gap:p()}],"gap-x":[{"gap-x":p()}],"gap-y":[{"gap-y":p()}],"justify-content":[{justify:[...He(),"normal"]}],"justify-items":[{"justify-items":[...Re(),"normal"]}],"justify-self":[{"justify-self":["auto",...Re()]}],"align-content":[{content:["normal",...He()]}],"align-items":[{items:[...Re(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...Re(),{baseline:["","last"]}]}],"place-content":[{"place-content":He()}],"place-items":[{"place-items":[...Re(),"baseline"]}],"place-self":[{"place-self":["auto",...Re()]}],p:[{p:p()}],px:[{px:p()}],py:[{py:p()}],ps:[{ps:p()}],pe:[{pe:p()}],pbs:[{pbs:p()}],pbe:[{pbe:p()}],pt:[{pt:p()}],pr:[{pr:p()}],pb:[{pb:p()}],pl:[{pl:p()}],m:[{m:pe()}],mx:[{mx:pe()}],my:[{my:pe()}],ms:[{ms:pe()}],me:[{me:pe()}],mbs:[{mbs:pe()}],mbe:[{mbe:pe()}],mt:[{mt:pe()}],mr:[{mr:pe()}],mb:[{mb:pe()}],ml:[{ml:pe()}],"space-x":[{"space-x":p()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":p()}],"space-y-reverse":["space-y-reverse"],size:[{size:Ye()}],"inline-size":[{inline:["auto",...je()]}],"min-inline-size":[{"min-inline":["auto",...je()]}],"max-inline-size":[{"max-inline":["none",...je()]}],"block-size":[{block:["auto",...Ce()]}],"min-block-size":[{"min-block":["auto",...Ce()]}],"max-block-size":[{"max-block":["none",...Ce()]}],w:[{w:[s,"screen",...Ye()]}],"min-w":[{"min-w":[s,"screen","none",...Ye()]}],"max-w":[{"max-w":[s,"screen","none","prose",{screen:[i]},...Ye()]}],h:[{h:["screen","lh",...Ye()]}],"min-h":[{"min-h":["screen","lh","none",...Ye()]}],"max-h":[{"max-h":["screen","lh",...Ye()]}],"font-size":[{text:["base",r,ja,xn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[n,ef,Z1]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Hi,K]}],"font-family":[{font:[J1,Y1,e]}],"font-features":[{"font-features":[K]}],"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,J,K]}],"line-clamp":[{"line-clamp":[Se,"none",J,Ql]}],leading:[{leading:[o,...p()]}],"list-image":[{"list-image":["none",J,K]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",J,K]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:D()}],"text-color":[{text:D()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Z(),"wavy"]}],"text-decoration-thickness":[{decoration:[Se,"from-font","auto",J,xn]}],"text-decoration-color":[{decoration:D()}],"underline-offset":[{"underline-offset":[Se,"auto",J,K]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:p()}],"tab-size":[{tab:[Er,J,K]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",J,K]}],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",J,K]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:Ke()}],"bg-repeat":[{bg:Ie()}],"bg-size":[{bg:ue()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Er,J,K],radial:["",J,K],conic:[Er,J,K]},Q1,K1]}],"bg-color":[{bg:D()}],"gradient-from-pos":[{from:ye()}],"gradient-via-pos":[{via:ye()}],"gradient-to-pos":[{to:ye()}],"gradient-from":[{from:D()}],"gradient-via":[{via:D()}],"gradient-to":[{to:D()}],rounded:[{rounded:C()}],"rounded-s":[{"rounded-s":C()}],"rounded-e":[{"rounded-e":C()}],"rounded-t":[{"rounded-t":C()}],"rounded-r":[{"rounded-r":C()}],"rounded-b":[{"rounded-b":C()}],"rounded-l":[{"rounded-l":C()}],"rounded-ss":[{"rounded-ss":C()}],"rounded-se":[{"rounded-se":C()}],"rounded-ee":[{"rounded-ee":C()}],"rounded-es":[{"rounded-es":C()}],"rounded-tl":[{"rounded-tl":C()}],"rounded-tr":[{"rounded-tr":C()}],"rounded-br":[{"rounded-br":C()}],"rounded-bl":[{"rounded-bl":C()}],"border-w":[{border:j()}],"border-w-x":[{"border-x":j()}],"border-w-y":[{"border-y":j()}],"border-w-s":[{"border-s":j()}],"border-w-e":[{"border-e":j()}],"border-w-bs":[{"border-bs":j()}],"border-w-be":[{"border-be":j()}],"border-w-t":[{"border-t":j()}],"border-w-r":[{"border-r":j()}],"border-w-b":[{"border-b":j()}],"border-w-l":[{"border-l":j()}],"divide-x":[{"divide-x":j()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":j()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...Z(),"hidden","none"]}],"divide-style":[{divide:[...Z(),"hidden","none"]}],"border-color":[{border:D()}],"border-color-x":[{"border-x":D()}],"border-color-y":[{"border-y":D()}],"border-color-s":[{"border-s":D()}],"border-color-e":[{"border-e":D()}],"border-color-bs":[{"border-bs":D()}],"border-color-be":[{"border-be":D()}],"border-color-t":[{"border-t":D()}],"border-color-r":[{"border-r":D()}],"border-color-b":[{"border-b":D()}],"border-color-l":[{"border-l":D()}],"divide-color":[{divide:D()}],"outline-style":[{outline:[...Z(),"none","hidden"]}],"outline-offset":[{"outline-offset":[Se,J,K]}],"outline-w":[{outline:["",Se,ja,xn]}],"outline-color":[{outline:D()}],shadow:[{shadow:["","none",u,To,Mo]}],"shadow-color":[{shadow:D()}],"inset-shadow":[{"inset-shadow":["none",m,To,Mo]}],"inset-shadow-color":[{"inset-shadow":D()}],"ring-w":[{ring:j()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:D()}],"ring-offset-w":[{"ring-offset":[Se,xn]}],"ring-offset-color":[{"ring-offset":D()}],"inset-ring-w":[{"inset-ring":j()}],"inset-ring-color":[{"inset-ring":D()}],"text-shadow":[{"text-shadow":["none",f,To,Mo]}],"text-shadow-color":[{"text-shadow":D()}],opacity:[{opacity:[Se,J,K]}],"mix-blend":[{"mix-blend":[...ce(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":ce()}],"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":[Se]}],"mask-image-linear-from-pos":[{"mask-linear-from":re()}],"mask-image-linear-to-pos":[{"mask-linear-to":re()}],"mask-image-linear-from-color":[{"mask-linear-from":D()}],"mask-image-linear-to-color":[{"mask-linear-to":D()}],"mask-image-t-from-pos":[{"mask-t-from":re()}],"mask-image-t-to-pos":[{"mask-t-to":re()}],"mask-image-t-from-color":[{"mask-t-from":D()}],"mask-image-t-to-color":[{"mask-t-to":D()}],"mask-image-r-from-pos":[{"mask-r-from":re()}],"mask-image-r-to-pos":[{"mask-r-to":re()}],"mask-image-r-from-color":[{"mask-r-from":D()}],"mask-image-r-to-color":[{"mask-r-to":D()}],"mask-image-b-from-pos":[{"mask-b-from":re()}],"mask-image-b-to-pos":[{"mask-b-to":re()}],"mask-image-b-from-color":[{"mask-b-from":D()}],"mask-image-b-to-color":[{"mask-b-to":D()}],"mask-image-l-from-pos":[{"mask-l-from":re()}],"mask-image-l-to-pos":[{"mask-l-to":re()}],"mask-image-l-from-color":[{"mask-l-from":D()}],"mask-image-l-to-color":[{"mask-l-to":D()}],"mask-image-x-from-pos":[{"mask-x-from":re()}],"mask-image-x-to-pos":[{"mask-x-to":re()}],"mask-image-x-from-color":[{"mask-x-from":D()}],"mask-image-x-to-color":[{"mask-x-to":D()}],"mask-image-y-from-pos":[{"mask-y-from":re()}],"mask-image-y-to-pos":[{"mask-y-to":re()}],"mask-image-y-from-color":[{"mask-y-from":D()}],"mask-image-y-to-color":[{"mask-y-to":D()}],"mask-image-radial":[{"mask-radial":[J,K]}],"mask-image-radial-from-pos":[{"mask-radial-from":re()}],"mask-image-radial-to-pos":[{"mask-radial-to":re()}],"mask-image-radial-from-color":[{"mask-radial-from":D()}],"mask-image-radial-to-color":[{"mask-radial-to":D()}],"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":P()}],"mask-image-conic-pos":[{"mask-conic":[Se]}],"mask-image-conic-from-pos":[{"mask-conic-from":re()}],"mask-image-conic-to-pos":[{"mask-conic-to":re()}],"mask-image-conic-from-color":[{"mask-conic-from":D()}],"mask-image-conic-to-color":[{"mask-conic-to":D()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:Ke()}],"mask-repeat":[{mask:Ie()}],"mask-size":[{mask:ue()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",J,K]}],filter:[{filter:["","none",J,K]}],blur:[{blur:Je()}],brightness:[{brightness:[Se,J,K]}],contrast:[{contrast:[Se,J,K]}],"drop-shadow":[{"drop-shadow":["","none",h,To,Mo]}],"drop-shadow-color":[{"drop-shadow":D()}],grayscale:[{grayscale:["",Se,J,K]}],"hue-rotate":[{"hue-rotate":[Se,J,K]}],invert:[{invert:["",Se,J,K]}],saturate:[{saturate:[Se,J,K]}],sepia:[{sepia:["",Se,J,K]}],"backdrop-filter":[{"backdrop-filter":["","none",J,K]}],"backdrop-blur":[{"backdrop-blur":Je()}],"backdrop-brightness":[{"backdrop-brightness":[Se,J,K]}],"backdrop-contrast":[{"backdrop-contrast":[Se,J,K]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Se,J,K]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Se,J,K]}],"backdrop-invert":[{"backdrop-invert":["",Se,J,K]}],"backdrop-opacity":[{"backdrop-opacity":[Se,J,K]}],"backdrop-saturate":[{"backdrop-saturate":[Se,J,K]}],"backdrop-sepia":[{"backdrop-sepia":["",Se,J,K]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":p()}],"border-spacing-x":[{"border-spacing-x":p()}],"border-spacing-y":[{"border-spacing-y":p()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",J,K]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Se,"initial",J,K]}],ease:[{ease:["linear","initial",w,J,K]}],delay:[{delay:[Se,J,K]}],animate:[{animate:["none",A,J,K]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[g,J,K]}],"perspective-origin":[{"perspective-origin":S()}],rotate:[{rotate:N()}],"rotate-x":[{"rotate-x":N()}],"rotate-y":[{"rotate-y":N()}],"rotate-z":[{"rotate-z":N()}],scale:[{scale:E()}],"scale-x":[{"scale-x":E()}],"scale-y":[{"scale-y":E()}],"scale-z":[{"scale-z":E()}],"scale-3d":["scale-3d"],skew:[{skew:O()}],"skew-x":[{"skew-x":O()}],"skew-y":[{"skew-y":O()}],transform:[{transform:[J,K,"","none","gpu","cpu"]}],"transform-origin":[{origin:S()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:F()}],"translate-x":[{"translate-x":F()}],"translate-y":[{"translate-y":F()}],"translate-z":[{"translate-z":F()}],"translate-none":["translate-none"],zoom:[{zoom:[Er,J,K]}],accent:[{accent:D()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:D()}],"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",J,K]}],"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":D()}],"scrollbar-track-color":[{"scrollbar-track":D()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"scroll-m":[{"scroll-m":p()}],"scroll-mx":[{"scroll-mx":p()}],"scroll-my":[{"scroll-my":p()}],"scroll-ms":[{"scroll-ms":p()}],"scroll-me":[{"scroll-me":p()}],"scroll-mbs":[{"scroll-mbs":p()}],"scroll-mbe":[{"scroll-mbe":p()}],"scroll-mt":[{"scroll-mt":p()}],"scroll-mr":[{"scroll-mr":p()}],"scroll-mb":[{"scroll-mb":p()}],"scroll-ml":[{"scroll-ml":p()}],"scroll-p":[{"scroll-p":p()}],"scroll-px":[{"scroll-px":p()}],"scroll-py":[{"scroll-py":p()}],"scroll-ps":[{"scroll-ps":p()}],"scroll-pe":[{"scroll-pe":p()}],"scroll-pbs":[{"scroll-pbs":p()}],"scroll-pbe":[{"scroll-pbe":p()}],"scroll-pt":[{"scroll-pt":p()}],"scroll-pr":[{"scroll-pr":p()}],"scroll-pb":[{"scroll-pb":p()}],"scroll-pl":[{"scroll-pl":p()}],"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",J,K]}],fill:[{fill:["none",...D()]}],"stroke-w":[{stroke:[Se,ja,xn,Ql]}],stroke:[{stroke:["none",...D()]}],"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 rf=new Set(["$$slots","$$events","$$legacy","href","onclick","class","disabled","part","children"]);function cc(t,e){Oe(e,!0);let r=qt(e,rf);var n=qe(),a=q(n);Gt(a,()=>e.href?"a":"button",!1,(o,i)=>{_t(o,d=>({role:e.href?"link":"button",class:d,tabindex:"0",href:e.href,onclick:e.onclick,part:e.part,disabled:e.disabled,...r}),[()=>se("border-0 bg-none outline-none",e.class)]);var s=qe(),l=q(s);Wn(l,()=>e.children),y(i,s)}),y(t,n),De()}var nf=new Set(["$$slots","$$events","$$legacy","loading","variant","disabled","size","part","onclick","href","class"]),af=T('<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>'),of=T("<!> <!>",1);function qi(t,e){Oe(e,!0);let r=te(e,"loading",3,!1),n=te(e,"variant",3,"primary"),a=te(e,"disabled",3,!1),o=te(e,"size",3,"md"),i=qt(e,nf);{let s=Y(()=>se("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));cc(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=of(),m=q(u);{var f=v=>{var g=af();y(v,g)};V(m,v=>{r()&&v(f)})}var h=L(m,2);zt(h,e,"default",{},null),y(l,u)},$$slots:{default:!0}}))}De()}var sf=T('<div class="p-4 text-base"><span class="line-clamp-1 break-all font-normal"> </span></div>'),lf=T('<a class="block w-full text-left px-4 py-3 hover:bg-gray-100/50" target="_blank"> </a>'),cf=T('<button class="block w-full text-left px-4 py-3 hover:bg-gray-100/50"> </button>'),df=T('<a class="block w-full text-left px-4 py-3 hover:bg-gray-100/50"> </a>'),uf=T('<div class="border-b border-[color:--s-login-popup-border-color] text-sm font-bold"><!></div>');function Po(t,e){Oe(e,!0);let r=te(e,"target",3,"_self");const n=async u=>{try{await u.auth.logout()}catch(m){console.error("Logout failed:",m)}};var a=uf(),o=W(a);{var i=u=>{var m=qe(),f=q(m);Ur(f,()=>e.api.auth.getUser(),null,(h,v)=>{var g=sf(),b=W(g),w=Ae(b,!0);G(g),H(()=>{var A;return Q(w,(A=c(v))==null?void 0:A.email)}),y(h,g)}),y(u,m)},s=u=>{var m=qe(),f=q(m);Ur(f,()=>e.api.generateLink({target:"account"}),null,(h,v)=>{var g=lf(),b=Ae(g,!0);H(w=>{Le(g,"href",c(v)),Q(b,w)},[()=>e.text||e.t("my_account")]),y(h,g)}),y(u,m)},l=u=>{var m=cf(),f=Ae(m,!0);H(h=>Q(f,h),[()=>e.text||e.t("logout")]),or("click",m,()=>n(e.api)),y(u,m)},d=u=>{var m=df(),f=Ae(m,!0);H(()=>{Le(m,"href",e.href),Le(m,"target",r()),Q(f,e.text)}),y(u,m)};V(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)})}G(a),y(t,a),De()}Vr(["click"]),qd();var ff=T('<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>'),hf=T('<img class="w-full h-full object-cover group-hover:opacity-80 transition-opacity duration-100"/>'),vf=T('<span class="row absolute top-0 left-0 w-full h-full"> </span>'),mf=T("<span><!></span>");function Vi(t,e){Oe(e,!1);let r=te(e,"src",8,""),n=te(e,"alt",8,"Avatar"),a=te(e,"size",8,"md"),o=te(e,"loading",8,!1);Ii();var i=mf(),s=W(i);{var l=m=>{var f=ff();y(m,f)},d=m=>{var f=hf();H(()=>{Le(f,"src",r()),Le(f,"alt",n())}),y(m,f)},u=m=>{var f=vf(),h=Ae(f,!0);H(v=>Q(h,v),[()=>(ft(n()),lt(()=>n().charAt(0).toUpperCase()))]),y(m,f)};V(s,m=>{o()?m(l):r()?m(d,1):m(u,-1)})}G(i),H(m=>Pe(i,1,m),[()=>Fe((ft(se),ft(a()),lt(()=>se("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"))))]),y(t,i),De()}const zr={AUTHENTICATED:"sesamyJsAuthenticated",LOGOUT:"sesamyJsLogout"},gf={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 pf(t,e){return new CustomEvent(t,{detail:e,bubbles:!0,composed:!0})}function Ar(t,e,r){return t.dispatchEvent(pf(e,r))}function _f(t,e){return e==="unknown"||t===e?"none":t==="unauthenticated"&&e==="authenticated"?"login":t==="authenticated"&&e==="unauthenticated"?"logout":"none"}var dc=T("<!> <!> <!>",1),bf=T('<div class="relative"><button class="block" aria-haspopup="true"><!></button> <div role="menu"><!></div></div>');function uc(t,e){Oe(e,!0);let r=te(e,"loading",7),n=te(e,"loggedIn",7),a=te(e,"class",7,""),o=he(!1),i=he(!1),s=he(null),l=he(null),d="unknown",u=null,m=null;const f=5e3,h=()=>{m&&(clearTimeout(m),m=null),M(o,!1)},v=z=>{z.persisted&&h()},g=z=>{const p=z??{};return{sub:typeof p.sub=="string"?p.sub:"",...p}},b=async z=>{const p=_f(d,z);if(d=z,p==="login"){const x=u?await u.auth.getUser().catch(()=>null):null;Ar(e.$$host,"sesamy:login-success",{userinfo:g(x)})}else p==="logout"&&Ar(e.$$host,"sesamy:logout",{})},w=()=>{b("authenticated")},A=()=>{b("unauthenticated")},I=z=>{const p=z.target,x=e.$$host.querySelector('[slot="popup-menu"]');p!==e.$$host&&!e.$$host.contains(p)&&p!==x&&!(x&&x.contains(p))&&M(i,!1)};Lo(()=>{window.addEventListener(zr.AUTHENTICATED,w),window.addEventListener(zr.LOGOUT,A),window.addEventListener("pageshow",v),document.addEventListener("pointerdown",I)}),Ta(()=>{window.removeEventListener(zr.AUTHENTICATED,w),window.removeEventListener(zr.LOGOUT,A),window.removeEventListener("pageshow",v),document.removeEventListener("pointerdown",I),m&&(clearTimeout(m),m=null)});const P=async z=>{M(o,!0),m&&clearTimeout(m),m=setTimeout(h,f);try{await z.auth.login({appState:{source:"login-component"}})}catch(p){h();const x=p instanceof Error?p:void 0,k=x&&x.code||((x==null?void 0:x.name)??"login_failed");Ar(e.$$host,"sesamy:login-error",{error:{code:k,message:(x==null?void 0:x.message)??String(p),cause:p}}),console.error("Login failed:",p)}},S=async z=>{u=z;try{n(await z.auth.isAuthenticated()),d=n()?"authenticated":"unauthenticated",n()&&(M(s,await z.auth.getUser(),!0),M(l,await z.generateLink({target:"account"}),!0))}catch(p){console.error("Error checking login status:",p)}};var $={get loading(){return r()},set loading(z){r(z),gt()},get loggedIn(){return n()},set loggedIn(z){n(z),gt()},get class(){return a()},set class(z=""){a(z),gt()}};return Yn(t,{children:fo,$$slots:{default:(z,p)=>{const x=Y(()=>p.api),k=Y(()=>p.t);var R=qe(),X=q(R);Ur(X,()=>S(c(x)),ee=>{Vi(ee,{loading:!0,size:"sm"})},(ee,He)=>{var Re=qe(),pe=q(Re);{var Ye=Ce=>{var D=bf(),Ke=W(D),Ie=W(Ke);zt(Ie,e,"avatar",{},C=>{{let j=Y(()=>{var Z;return(Z=c(s))==null?void 0:Z.picture});Vi(C,{get src(){return c(j)},get loading(){return r()},size:"sm"})}}),G(Ke);var ue=L(Ke,2),ye=W(ue);zt(ye,e,"popup-menu",{},C=>{var j=dc(),Z=q(j);Po(Z,{get api(){return c(x)},get t(){return c(k)},type:"EMAIL"});var ce=L(Z,2);Po(ce,{get api(){return c(x)},get t(){return c(k)},type:"ACCOUNT"});var re=L(ce,2);Po(re,{get api(){return c(x)},get t(){return c(k)},type:"LOGOUT"}),y(C,j)}),G(ue),G(D),H(C=>{Ke.disabled=r(),Le(Ke,"aria-expanded",c(i)),Pe(ue,1,C)},[()=>Fe(se("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",Ke,()=>M(i,!c(i))),y(Ce,D)},je=Ce=>{{let D=Y(()=>se("!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()));qi(Ce,{get class(){return c(D)},variant:"secondary",get disabled(){return c(o)},onclick:()=>P(c(x)),size:"sm",children:(Ke,Ie)=>{var ue=dc(),ye=q(ue);zt(ye,e,"button-text-prefix",{},null);var C=L(ye,2);zt(C,e,"button-text",{},Z=>{var ce=Tt();H(re=>Q(ce,re),[()=>c(k)("login")]),y(Z,ce)});var j=L(C,2);zt(j,e,"button-text-suffix",{},null),y(Ke,ue)},$$slots:{default:!0}})}};V(pe,Ce=>{n()?Ce(Ye):Ce(je,-1)})}y(ee,Re)}),y(z,R)}}}),De($)}Vr(["click"]),customElements.define("sesamy-login",wn(uc,{loading:{},loggedIn:{},class:{}},["avatar","popup-menu","button-text-prefix","button-text","button-text-suffix"],[],{mode:"open"},Fa));var yf=new Set(["$$slots","$$events","$$legacy","up","right","down","left","style","class","children"]),wf=T("<div><!></div>");function Pt(t,e){Oe(e,!0);let r=qt(e,yf);var n=wf();_t(n,o=>({class:o,style:e.style,...r}),[()=>se(!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=W(n);Wn(a,()=>e.children),G(n),y(t,n),De()}const xf={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 kf=new Set(["$$slots","$$events","$$legacy","name","multiColor","ratio","class"]),Cf=Sr("<svg></svg>");function ir(t,e){Oe(e,!0);let r=te(e,"multiColor",3,!1),n=te(e,"ratio",3,1),a=qt(e,kf);const{elements:o,fills:i,strokes:s,viewBoxWidth:l,viewBoxHeight:d,widthRatio:u,heightRatio:m}=xf[e.name];var f=Cf();_t(f,(h,v)=>({class:h,viewBox:l&&d?`0 0 ${l} ${d}`:void 0,width:`${n()*u}em`,height:`${n()*m}em`,style:v,...a}),[()=>se(`icon-${e.name}`,e.class),()=>r()?[...i.map((h,v)=>h&&`--${e.name}-fill-color-${v}: ${h};`),...s.map((h,v)=>h&&`--${e.name}-stroke-color-${v}: ${h};`)].filter(Boolean).join(""):void 0]),on(f,()=>o.join(""),!0),G(f),y(t,f),De()}var Lf=new Set(["$$slots","$$events","$$legacy","up","right","down","left","style","class","children"]),Sf=T("<div><!></div>");function $r(t,e){Oe(e,!0);let r=qt(e,Lf);var n=Sf();_t(n,o=>({class:o,style:e.style,...r}),[()=>se(!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=W(n);Wn(a,()=>e.children),G(n),y(t,n),De()}var Ef=Sr('<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>'),zf=Sr('<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>'),Af=Sr('<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>'),$f=Sr('<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>'),Mf=Sr('<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>'),Tf=Sr('<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>'),Pf=Sr('<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>'),Rf=Sr('<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>'),If=Sr("<!><!><!><!><!><!><!><!>",1);function fc(t,e){Oe(e,!1);const r=Ea();let n=te(e,"method",8),a=te(e,"width",8,"578"),o=te(e,"height",8,"176"),i=te(e,"darkModeSupport",8,!1);ou(()=>ft(n()),()=>{M(r,(n()??"").toLowerCase())}),iu(),Ii();var s=If(),l=q(s);{var d=x=>{var k=Ef(),R=L(W(k)),X=W(R);St(),G(R),G(k),H(ee=>{Le(k,"width",a()),Le(k,"height",o()),Pe(X,0,ee)},[()=>Fe((ft(se),ft(i()),lt(()=>se("fill-[#4A4A49]",i()&&"dark:fill-white"))))]),y(x,k)};V(l,x=>{(c(r)==="swish"||c(r)==="swish_direct")&&x(d)})}var u=L(l);{var m=x=>{var k=zf(),R=Ae(k);H(X=>{Le(k,"width",a()),Le(k,"height",o()),Pe(R,0,X)},[()=>Fe((ft(se),ft(i()),lt(()=>se("fill-black",i()&&"dark:fill-white"))))]),y(x,k)},f=Y(()=>(c(r),lt(()=>c(r).includes("klarna"))));V(u,x=>{c(f)&&x(m)})}var h=L(u);{var v=x=>{var k=Af(),R=L(W(k),4);G(k),H(X=>{Le(k,"width",a()),Le(k,"height",o()),Pe(R,0,X)},[()=>Fe((ft(se),ft(i()),lt(()=>se("fill-[#3C4043]",i()&&"dark:fill-white"))))]),y(x,k)};V(h,x=>{c(r)==="google-pay"&&x(v)})}var g=L(h);{var b=x=>{var k=$f(),R=W(k),X=L(R),ee=L(X),He=L(ee),Re=L(He);G(k),H((pe,Ye,je,Ce,D)=>{Le(k,"width",a()),Le(k,"height",o()),Pe(R,0,pe),Pe(X,0,Ye),Pe(ee,0,je),Pe(He,0,Ce),Pe(Re,0,D)},[()=>Fe((ft(se),ft(i()),lt(()=>se("fill-black",i()&&"dark:fill-white")))),()=>Fe((ft(se),ft(i()),lt(()=>se("fill-black",i()&&"dark:fill-white")))),()=>Fe((ft(se),ft(i()),lt(()=>se("fill-black",i()&&"dark:fill-white")))),()=>Fe((ft(se),ft(i()),lt(()=>se("fill-black",i()&&"dark:fill-white")))),()=>Fe((ft(se),ft(i()),lt(()=>se("fill-black",i()&&"dark:fill-white"))))]),y(x,k)};V(g,x=>{c(r)==="apple-pay"&&x(b)})}var w=L(g);{var A=x=>{var k=Mf();H(()=>{Le(k,"width",a()),Le(k,"height",o())}),y(x,k)};V(w,x=>{c(r)==="vipps"&&x(A)})}var I=L(w);{var P=x=>{var k=Tf();H(()=>{Le(k,"width",a()),Le(k,"height",o())}),y(x,k)};V(I,x=>{c(r)==="amex"&&x(P)})}var S=L(I);{var $=x=>{var k=Pf();H(()=>{Le(k,"width",a()),Le(k,"height",o())}),y(x,k)};V(S,x=>{c(r)==="visa"&&x($)})}var z=L(S);{var p=x=>{var k=Rf();H(()=>{Le(k,"width",a()),Le(k,"height",o())}),y(x,k)};V(z,x=>{c(r)==="mastercard"&&x(p)})}y(t,s),De()}function Ha(t,e){Oe(e,!0);let r=te(e,"size",3,"md");{let n=Y(()=>se("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"));$r(t,{get class(){return c(n)},children:(a,o)=>{{let i=Y(()=>e.name.toUpperCase());fc(a,{get method(){return c(i)},width:"38",height:"auto"})}},$$slots:{default:!0}})}De()}var Nf=T('<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>'),Of=T("<!> <!>",1);function Ga(t,e){Oe(e,!0);let r=te(e,"loading",7,!1),n=te(e,"variant",7,"primary"),a=te(e,"disabled",7,!1),o=te(e,"size",7,"md"),i=te(e,"part",7),s=te(e,"onclick",7),l=te(e,"href",7),d=te(e,"type",7,"button"),u=te(e,"class",7);var m={get loading(){return r()},set loading(f=!1){r(f),gt()},get variant(){return n()},set variant(f="primary"){n(f),gt()},get disabled(){return a()},set disabled(f=!1){a(f),gt()},get size(){return o()},set size(f="md"){o(f),gt()},get part(){return i()},set part(f){i(f),gt()},get onclick(){return s()},set onclick(f){s(f),gt()},get href(){return l()},set href(f){l(f),gt()},get type(){return d()},set type(f="button"){d(f),gt()},get class(){return u()},set class(f){u(f),gt()}};return Yn(t,{children:(f,h)=>{{let v=Y(()=>se("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()));cc(f,{get class(){return c(v)},get href(){return l()},get onclick(){return s()},get part(){return i()},get disabled(){return a()},get type(){return d()},children:(g,b)=>{var w=Of(),A=q(w);{var I=S=>{var $=Nf();y(S,$)};V(A,S=>{r()&&S(I)})}var P=L(A,2);zt(P,e,"default",{},null),y(g,w)},$$slots:{default:!0}})}},$$slots:{default:!0}}),De(m)}customElements.define("sesamy-button",wn(Ga,{loading:{},variant:{},disabled:{},size:{},part:{},onclick:{},href:{},type:{},class:{}},["default"],[],{mode:"open"},Fa));function Df(t){const e=t-1;return e*e*e+1}function Cn(t,e,r){return Number.isNaN(e)?"":`${t}: ${r*e}px;`}function Ff(t,{delay:e=0,duration:r=400,easing:n=Df,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(w=>`${w[0].toUpperCase()}${w.slice(1)}`),m=parseFloat(o[`padding${u[0]}`]),f=parseFloat(o[`padding${u[1]}`]),h=parseFloat(o[`margin${u[0]}`]),v=parseFloat(o[`margin${u[1]}`]),g=parseFloat(o[`border${u[0]}Width`]),b=parseFloat(o[`border${u[1]}Width`]);return{delay:e,duration:r,easing:n,css:w=>`overflow: hidden;opacity: ${Math.min(w*20,1)*i};`+Cn(s,l,w)+Cn(`padding-${d[0]}`,m,w)+Cn(`padding-${d[1]}`,f,w)+Cn(`margin-${d[0]}`,h,w)+Cn(`margin-${d[1]}`,v,w)+Cn(`border-${d[0]}-width`,g,w)+Cn(`border-${d[1]}-width`,b,w)+`min-${s}: 0`}}var jf=T('<li class="row-up-left gap-2"><!> <div> </div></li>'),Hf=T("<ul></ul>");function Ui(t,e){Oe(e,!0);var r=Hf();nn(r,21,()=>e.features,Pa,(n,a)=>{var o=jf(),i=W(o);ir(i,{class:"text-primary text-[0.9em] mt-0.5",name:"checkmark"});var s=L(i,2),l=Ae(s,!0);G(o),H(d=>{Pe(s,1,d),Q(l,c(a))},[()=>Fe(se("flex-1 leading-snug"))]),Du(3,o,()=>Ff),y(n,o)}),G(r),H(n=>Pe(r,1,n),[()=>Fe(se("space-y-0.5 @md:space-y-1.5",e.class))]),y(t,r),De()}const Gf=/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$/,qa=t=>{if(!Gf.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 qf=T("<div><!></div>");function Bi(t,e){Oe(e,!0);let r=te(e,"horizontal",3,!1);var n=qf(),a=W(n);Wn(a,()=>e.children),G(n),H(o=>Pe(n,1,o),[()=>Fe(se("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))]),y(t,n),De()}var Vf=T('<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 hc(t,e){Oe(e,!0);var r=Vf(),n=W(r),a=L(W(n),2),o=Ae(a,!0);G(n),G(r),H((i,s)=>{Pe(r,1,i),Pe(n,1,s),Q(o,e.text)},[()=>Fe(se("absolute top-2 -right-1.5 rotate-3",e.chunky&&"top-5")),()=>Fe(se("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"))]),y(t,r),De()}var Uf=new Set(["$$slots","$$events","$$legacy","id","name","type","checked","children","onchange","class"]),Bf=T('<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>'),Wf=T(`<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>`),Zf=T('<label><input class="peer sr-only"/> <!> <!> <div><!></div></label>');function Ro(t,e){Oe(e,!0);let r=te(e,"type",3,"radio"),n=qt(e,Uf);var a=Zf();_t(a,()=>({class:"p-3 @3xl:p-4 row-left gap-4 w-full relative cursor-pointer",for:e.id,...n}));var o=W(a);Mi(o);var i=L(o,2);{var s=f=>{var h=Bf(),v=W(h),g=W(v);ir(g,{name:"checkmark"}),G(v),G(h),y(f,h)};V(i,f=>{r()==="checkbox"&&f(s)})}var l=L(i,2);{var d=f=>{var h=Wf();y(f,h)};V(l,f=>{r()==="radio"&&f(d)})}var u=L(l,2),m=W(u);Wn(m,()=>e.children),G(u),G(a),H(f=>{Le(o,"type",r()),Ku(o,e.checked),Le(o,"name",e.name),Le(o,"id",e.id),Pe(u,1,f)},[()=>Fe(se("column-up-left @md:row-left flex-1 !justify-between",e.class))]),or("change",o,function(...f){var h;(h=e.onchange)==null||h.apply(this,f)}),y(t,a),De()}Vr(["change"]);var Yf=T('<a class="inline-link with-icon"><span> </span> <!></a>'),Kf=T("<div><!> <!></div>");function Wi(t,e){Oe(e,!0);let r=te(e,"class",3,"");var n=Kf(),a=W(n);on(a,()=>e.description);var o=L(a,2);{var i=s=>{var l=Yf(),d=W(l),u=Ae(d,!0),m=L(d,2);ir(m,{name:"arrow-up-right-from-square"}),G(l),H(f=>{Le(l,"href",e.readMoreLink),Q(u,f)},[()=>e.readMoreText||e.t("read_more")]),y(s,l)};V(o,s=>{e.readMoreLink&&s(i)})}G(n),H(()=>Pe(n,1,`markdown-container ${r()??""}`)),y(t,n),De()}var Jf=T('<div class="text-gray-500 line-through @xs/box:text-lg"> <!></div>'),Xf=T('<div class="h-6 @xs/box:h-7"><!></div>'),Qf=T('<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>'),Io=T("<!> <!>",1),e2=T('<div class="text-base @xl:text-lg font-bold leading-tight"> </div> <!> <!>',1),t2=T('<div class="@container/box w-full"><!></div>'),r2=T("<hr/>"),n2=T('<div class="text-base font-bold leading-tight"> </div> <!>',1),a2=T('<div class="text-base font-bold leading-none"> <!></div>'),o2=T("<div> <!></div>"),i2=T('<!> <div class="column-left @md:column-right"><!> <!></div> <!>',1);function s2(t,e){Oe(e,!0);let r=te(e,"horizontal",3,!1),n=te(e,"loading",3,!1),a=he(void 0);const o=()=>e.subscriptions.some(i=>typeof i.discountPrice=="number"&&i.discountPrice<(i.price||1/0));{let i=Y(()=>se(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"));Bi(t,{get class(){return c(i)},get horizontal(){return r()},children:(s,l)=>{var d=qe(),u=q(d);nn(u,17,()=>e.subscriptions,Pa,(m,f,h)=>{const v=Y(()=>c(f)),g=Y(()=>typeof c(v).price=="number"),b=Y(()=>typeof c(v).discountPrice=="number"),w=Y(()=>c(b)&&c(v).comparePeriodText||c(v).periodText);var A=qe(),I=q(A);{var P=$=>{var z=t2(),p=W(z);{let x=Y(()=>se("border bg-white dark:bg-black/25 border-gray-300 rounded-lg relative h-full",c(v).tag&&"border-primary mt-0 border-2"));Pt(p,{get class(){return c(x)},children:(k,R)=>{var X=Io(),ee=q(X);{var He=pe=>{hc(pe,{get text(){return c(v).tag},get t(){return e.t},chunky:!0})};V(ee,pe=>{c(v).tag&&pe(He)})}var Re=L(ee,2);Pt(Re,{class:"p-4 flex-1 gap-2 w-full !justify-between shadow-md",left:!0,up:!0,children:(pe,Ye)=>{var je=Io(),Ce=q(je);Pt(Ce,{class:"@xl:p-1",left:!0,children:(ue,ye)=>{var C=e2(),j=q(C),Z=Ae(j,!0),ce=L(j,2);{var re=N=>{var E=Qf(),O=W(E),F=W(O),U=Ae(F),ve=L(F,2),fe=Ae(ve,!0);G(O);var B=L(O,2);{var ne=oe=>{var de=Xf(),Ee=W(de);{var ct=tt=>{var rt=Jf(),nt=W(rt),Xe=L(nt);{var Ne=Me=>{var ge=Tt();H(()=>Q(ge,` / ${c(w)??""}`)),y(Me,ge)};V(Xe,Me=>{c(w)&&Me(Ne)})}G(rt),H(()=>Q(nt,`${c(v).price??""}
35
- ${e.currency??""} `)),y(tt,rt)};V(Ee,tt=>{c(b)&&tt(ct)})}G(de),y(oe,de)},ae=Y(()=>o());V(B,oe=>{c(ae)&&oe(ne)})}G(E),H(()=>{Q(U,`${(c(b)?c(v).discountPrice:c(v).price)??""}
36
- ${e.currency??""}`),Q(fe,c(v).periodText&&` / ${c(v).periodText}`)}),y(N,E)};V(ce,N=>{c(g)&&N(re)})}var Je=L(ce,2);Pt(Je,{class:"w-full gap-2",left:!0,children:(N,E)=>{var O=Io(),F=q(O);{var U=B=>{Wi(B,{get description(){return c(v).description},get readMoreLink(){return c(v).readMoreLink},get readMoreText(){return c(v).readMoreText},get t(){return e.t},class:"text-gray-700 dark:text-gray-300 text-sm"})};V(F,B=>{c(v).description&&B(U)})}var ve=L(F,2);{var fe=B=>{Ui(B,{get features(){return c(v).features},class:"text-gray-700 dark:text-gray-300 text-sm"})};V(ve,B=>{c(v).features&&c(v).features.length>0&&B(fe)})}y(N,O)},$$slots:{default:!0}}),H(()=>Q(Z,c(v).title)),y(ue,C)},$$slots:{default:!0}});var D=L(Ce,2);{var Ke=ue=>{Ga(ue,{get href(){return c(v).url},class:"w-full mt-4 bg-[var(--s-paywall-btn-bg-color)] text-[var(--s-paywall-btn-text-color)]",variant:"primary",children:(ye,C)=>{St();var j=Tt();H(Z=>Q(j,Z),[()=>c(v).buttonText||e.t("continue")]),y(ye,j)},$$slots:{default:!0}})},Ie=ue=>{{let ye=Y(()=>c(a)===c(v).id);Ga(ue,{get loading(){return c(ye)},get disabled(){return n()},onclick:()=>{var C;M(a,c(v).id,!0),(C=e.onCheckout)==null||C.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:(C,j)=>{St();var Z=Tt();H(ce=>Q(Z,ce),[()=>c(v).buttonText||e.t("continue")]),y(C,Z)},$$slots:{default:!0}})}};V(D,ue=>{c(v).url?ue(Ke):ue(Ie,-1)})}y(pe,je)},$$slots:{default:!0}}),y(k,X)},$$slots:{default:!0}})}G(z),y($,z)},S=$=>{var z=Io(),p=q(z);{var x=R=>{var X=r2();H(ee=>Pe(X,1,ee),[()=>Fe(se("w-full border-primary opacity-25"))]),y(R,X)};V(p,R=>{h&&R(x)})}var k=L(p,2);Ro(k,{get id(){return c(v).id},class:"gap-2 @md:gap-4",name:"purchase-option",get checked(){return c(v).selected},onchange:()=>e.selectProduct(c(f)),children:(R,X)=>{var ee=i2(),He=q(ee);Pt(He,{class:"flex-1",left:!0,children:(Ie,ue)=>{var ye=n2(),C=q(ye),j=Ae(C,!0),Z=L(C,2);{var ce=re=>{Wi(re,{get description(){return c(v).description},get readMoreLink(){return c(v).readMoreLink},get readMoreText(){return c(v).readMoreText},get t(){return e.t}})};V(Z,re=>{c(v).description&&re(ce)})}H(()=>Q(j,c(v).title)),y(Ie,ye)},$$slots:{default:!0}});var Re=L(He,2),pe=W(Re);{var Ye=Ie=>{var ue=a2(),ye=W(ue),C=L(ye);{var j=Z=>{var ce=Tt();H(()=>Q(ce,` / ${c(v).periodText??""}`)),y(Z,ce)};V(C,Z=>{c(v).periodText&&Z(j)})}G(ue),H(()=>Q(ye,`${c(v).discountPrice??""}
37
- ${e.currency??""} `)),y(Ie,ue)};V(pe,Ie=>{c(b)&&Ie(Ye)})}var je=L(pe,2);{var Ce=Ie=>{var ue=o2(),ye=W(ue),C=L(ye);{var j=Z=>{var ce=Tt();H(()=>Q(ce,` / ${c(w)??""}`)),y(Z,ce)};V(C,Z=>{c(w)&&Z(j)})}G(ue),H(Z=>{Pe(ue,1,Z),Q(ye,`${c(v).price??""}
38
- ${e.currency??""} `)},[()=>Fe(se("text-base font-bold leading-none",c(b)&&"line-through text-gray-400 text-sm"))]),y(Ie,ue)};V(je,Ie=>{c(g)&&Ie(Ce)})}G(Re);var D=L(Re,2);{var Ke=Ie=>{hc(Ie,{get text(){return c(v).tag},get t(){return e.t}})};V(D,Ie=>{c(v).tag&&Ie(Ke)})}y(R,ee)},$$slots:{default:!0}}),y($,z)};V(I,$=>{r()?$(P):$(S,-1)})}y(m,A)}),y(s,d)},$$slots:{default:!0}})}De()}var l2=T('<div class="text-base font-bold leading-tight"> </div> <div class="text-sm"></div>',1),c2=T('<!> <div class="text-base font-bold"> </div>',1);function d2(t,e){Oe(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=qe(),i=q(o);{var s=l=>{Bi(l,{children:(d,u)=>{{let m=Y(()=>!e.hasSubscriptions);Ro(d,{id:"single-purchase",name:"purchase-option",class:"gap-2 @md:gap-4",get checked(){return c(m)},onchange:a,children:(f,h)=>{var v=c2(),g=q(v);Pt(g,{left:!0,children:(A,I)=>{var P=l2(),S=q(P),$=Ae(S,!0),z=L(S,2);on(z,()=>n,!0),G(z),H(()=>Q($,r)),y(A,P)},$$slots:{default:!0}});var b=L(g,2),w=Ae(b);H(()=>Q(w,`${e.singlePurchasePrice??""} ${e.currency??""}`)),y(f,v)},$$slots:{default:!0}})}},$$slots:{default:!0}})};V(i,l=>{e.articleUrl&&l(s)})}y(t,o),De()}var u2=T("<!> <span> </span>",1);function vc(t,e){$r(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=u2(),o=q(a);ir(o,{name:"info",class:"shrink-0 text-2xl -translate-y-px"});var i=L(o,2),s=Ae(i,!0);H(()=>Q(s,e.text)),y(r,a)},$$slots:{default:!0}})}const f2=["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"],mc=new Map;function gc(t,e="en"){let r=mc.get(e);return r||(r=new Intl.DisplayNames(e,{type:"region"}),mc.set(e,r)),r.of(t.toUpperCase())}function h2(){return f2}function v2(t="en"){return h2().map(e=>({value:e,label:gc(e,t)||""})).sort((e,r)=>e.label<r.label?-1:e.label>r.label?1:0)}var m2=new Set(["$$slots","$$events","$$legacy","value","error","hasError","placeholder","compact","class"]),g2=T("<div> </div>"),p2=T("<label><input/> <!></label>");function sr(t,e){Oe(e,!0);let r=te(e,"value",15),n=te(e,"hasError",3,!1),a=te(e,"placeholder",3,""),o=te(e,"compact",3,!1),i=te(e,"class",3,""),s=qt(e,m2),l;function d(){l==null||l.focus()}var u={focus:d},m=p2(),f=W(m);_t(f,g=>({...s,class:g,placeholder:a()}),[()=>se("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),zo(f,g=>l=g,()=>l);var h=L(f,2);{var v=g=>{var b=g2(),w=Ae(b,!0);H(A=>{Pe(b,1,A),Q(w,a())},[()=>Fe(se("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"))]),y(g,b)};V(h,g=>{o()&&g(v)})}return G(m),H(g=>Pe(m,1,g),[()=>Fe(se("relative w-full column-left",(n()||!!e.error)&&"z-20"))]),Xu(f,r),y(t,m),De(u)}var _2=T("<div><!></div>");function No(t,e){Oe(e,!0);var r=_2(),n=W(r);Wn(n,()=>e.children),G(r),H(a=>Pe(r,1,a),[()=>Fe(se("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))]),y(t,r),De()}var b2=new Set(["$$slots","$$events","$$legacy","value","class","hasError","options","placeholder","compact"]),y2=T("<option> </option>"),w2=T("<div> </div>"),x2=T('<label class="relative w-full gap-2 column-left focus-within:z-10"><select></select> <!> <!></label>');function k2(t,e){Oe(e,!0);let r=te(e,"value",15),n=te(e,"class",3,""),a=te(e,"hasError",3,!1),o=te(e,"placeholder",3,""),i=te(e,"compact",3,!1),s=qt(e,b2);var l=x2(),d=W(l);_t(d,h=>({class:h,...s}),[()=>se("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()))]),nn(d,21,()=>e.options,({value:h,label:v})=>h,(h,v,g,b)=>{let w=()=>c(v).value,A=()=>c(v).label;var I=y2(),P=Ae(I,!0),S={};H(()=>{Q(P,A()),S!==(S=w())&&(I.value=(I.__value=S)??"")}),y(h,I)}),G(d);var u=L(d,2);{var m=h=>{var v=w2(),g=Ae(v,!0);H(b=>{Pe(v,1,b),Q(g,o())},[()=>Fe(se("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"))]),y(h,v)};V(u,h=>{i()&&h(m)})}var f=L(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"}),G(l),Vu(d,r),y(t,l),De()}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 C2=()=>/Chrome/.test(navigator==null?void 0:navigator.userAgent)&&!/Edge|OPR/.test(navigator==null?void 0:navigator.userAgent),L2=()=>window==null?void 0:window.ApplePaySession;function S2(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Va={},Kn={},Jn={},Do={},pc;function E2(){if(pc)return Do;pc=1,Object.defineProperty(Do,"__esModule",{value:!0});function t(e,r){if(!e)throw new Error(r)}return Do.default=t,Do}var _c;function z2(){if(_c)return Jn;_c=1;var t=Jn&&Jn.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(Jn,"__esModule",{value:!0});const e=t(E2());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 Jn.default=r,Jn}var Xn={},Fo={},bc;function A2(){if(bc)return Fo;bc=1,Object.defineProperty(Fo,"__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 Fo.default=t,Fo}var jo={},yc;function $2(){if(yc)return jo;yc=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 Qn={},Ho={},wc;function M2(){if(wc)return Ho;wc=1,Object.defineProperty(Ho,"__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 Ho.default=e,Ho}var xc;function T2(){if(xc)return Qn;xc=1;var t=Qn&&Qn.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(Qn,"__esModule",{value:!0});const e=t(M2()),r=2;function n(a){const i=e.default(a).split("@");if(i.length<r)return!1;for(let m=0;m<i.length;m++)if(i[m]==="")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 m=1;m<u.length;m++)l+=u[m]+".";l=l.substring(0,l.length-1)}return{topLevelDomain:l,secondLevelDomain:s,domain:d,address:i.join("@")}}return Qn.default=n,Qn}var kc;function P2(){if(kc)return Xn;kc=1;var t=Xn&&Xn.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(Xn,"__esModule",{value:!0});const e=t(A2()),r=t($2()),n=t(T2());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:m,topLevelDomains:f}=o;if(m&&f&&m.indexOf(s.secondLevelDomain)!==-1&&f.indexOf(s.topLevelDomain)!==-1)return;let h=r.default({domain:s.domain,domains:l,distanceFunction:u,threshold:d});if(h)return h==s.domain?void 0:{address:s.address,domain:h,full:s.address+"@"+h};const v=r.default({domain:s.secondLevelDomain,domains:m,distanceFunction:u,threshold:o.secondLevelThreshold}),g=r.default({domain:s.topLevelDomain,domains:f,distanceFunction:u,threshold:o.topLevelThreshold});if(s.domain){h=s.domain;let b=!1;if(v&&v!=s.secondLevelDomain&&(h=h.replace(s.secondLevelDomain,v),b=!0),g&&g!=s.topLevelDomain&&s.secondLevelDomain!==""&&(h=h.replace(new RegExp(s.topLevelDomain+"$"),g),b=!0),b)return{address:s.address,domain:h,full:s.address+"@"+h}}}return Xn.default=a,Xn}var Go={},gr={},qo={},Cc;function R2(){if(Cc)return qo;Cc=1,Object.defineProperty(qo,"__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 qo.default=t,qo}var Lc;function Sc(){if(Lc)return gr;Lc=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(R2()),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 Ec;function I2(){if(Ec)return Go;Ec=1,Object.defineProperty(Go,"__esModule",{value:!0});const t=Sc();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 Go.default=e,Go}var zc;function N2(){if(zc)return Kn;zc=1;var t=Kn&&Kn.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(Kn,"__esModule",{value:!0});const e=t(z2()),r=t(P2()),n=t(I2());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 Kn.default=a,Kn}var Ac;function O2(){return Ac||(Ac=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(N2());t.run=r.default;const n=Sc();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 D2=O2();const Zi=S2(D2);var F2=T('<div><div class="overflow-hidden"><!></div></div>');function $c(t,e){Oe(e,!0);let r=te(e,"isOpen",3,!1);var n=F2(),a=W(n),o=W(a);zt(o,e,"default",{},null),G(a),G(n),H(i=>Pe(n,1,i),[()=>Fe(se("grid transition-[grid-template-rows] duration-200 ease-out grid-rows-[0fr]",r()&&"grid-rows-[1fr]"))]),y(t,n),De()}const Mc=(...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},Tc=(...t)=>{for(const e of t){const r=e==null?void 0:e.trim();if(r)return r}},j2=[["utmSource","utm-source"],["utmMedium","utm-medium"],["utmCampaign","utm-campaign"],["utmTerm","utm-term"],["utmContent","utm-content"]],Pc=t=>{const e={};for(const[r,n]of j2){const a=t==null?void 0:t[n];a&&(e[r]=a)}return e},Yi=async(t,e,r)=>{const n=new URL(t.checkoutUrl);n.searchParams.set("norecreate","true"),t.language&&n.searchParams.set("lang",t.language),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 H2=T('<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 G2(t,e){Oe(e,!0);let r=te(e,"year",15,""),n=te(e,"month",15,""),a=te(e,"day",15,""),o=te(e,"hasError",3,!1),i,s,l;const d=(S,$,z)=>p=>{const x=p.target,k=x.value.replace(/[^0-9]/g,""),R=$?k.slice(0,$):k;x.value=R,S(R),$&&z&&R.length===$&&setTimeout(()=>{const X=z();X&&X.focus&&X.focus()},0)},u=S=>$=>{$.key==="Backspace"&&$.target.value===""&&S&&setTimeout(()=>{const p=S();p&&p.focus&&p.focus()},0)},m=S=>{var $;r(S),($=e.onYearChange)==null||$.call(e,S)},f=S=>{var $;n(S),($=e.onMonthChange)==null||$.call(e,S)},h=S=>{var $;a(S),($=e.onDayChange)==null||$.call(e,S)};var v=H2(),g=W(v),b=Ae(g,!0),w=L(g,2),A=W(w);{let S=Y(()=>d(m,4,()=>s)),$=Y(u),z=Y(()=>e.t("year")),p=Y(()=>new Date().getFullYear());zo(sr(A,{get oninput(){return c(S)},get onkeydown(){return c($)},name:"birth-year",inputmode:"numeric",compact:!0,get placeholder(){return c(z)},get hasError(){return o()},min:"1900",get max(){return c(p)},autocomplete:"bday-year",class:"rounded-none rounded-bl-md w-[calc(100%+1px)]",get value(){return r()},set value(x){r(x)}}),x=>i=x,()=>i)}var I=L(A,2);{let S=Y(()=>d(f,2,()=>l)),$=Y(()=>u(()=>i)),z=Y(()=>e.t("month"));zo(sr(I,{get oninput(){return c(S)},get onkeydown(){return c($)},name:"birth-month",inputmode:"numeric",compact:!0,get placeholder(){return c(z)},get hasError(){return o()},min:"1",max:"12",autocomplete:"bday-month",class:"rounded-none w-[calc(100%+1px)]",get value(){return n()},set value(p){n(p)}}),p=>s=p,()=>s)}var P=L(I,2);{let S=Y(()=>d(h,2)),$=Y(()=>u(()=>s)),z=Y(()=>e.t("day"));zo(sr(P,{get oninput(){return c(S)},get onkeydown(){return c($)},name:"birth-day",inputmode:"numeric",compact:!0,get placeholder(){return c(z)},get hasError(){return o()},min:"1",max:"31",autocomplete:"bday-day",class:"rounded-none rounded-br-md",get value(){return a()},set value(p){a(p)}}),p=>l=p,()=>l)}G(w),G(v),H(S=>Q(b,S),[()=>e.t("date_of_birth")]),y(t,v),De()}const q2=["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]]},Rc=Object.keys(Vo);function ea(t){var e;return((e=Vo[t])==null?void 0:e[0])??""}function Uo(t,e){var r;return((r=Vo[t])==null?void 0:r[2].includes(e.length))??!1}function Ki(t){const e=/^\s*(\+|00)(.*)$/.exec(t);return e?e[2].replace(/\D/g,""):null}function V2(t,e){return[e,...Rc].find(r=>{const n=ea(r);return n&&t.startsWith(n)})??e}function U2(t,e){const r=V2(t,e),n=ea(r);return{value:`+${t}`,valid:t.startsWith(n)&&Uo(r,t.slice(n.length)),country:r}}function B2(t,e,r){const n=W2(t,e);if(!r||!n.value)return n;const a=Ki(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 Ic(t,e,r){return new r.AsYouType(e).input(t)}function W2(t,e){const r=t.replace(/\D/g,"");if(!r)return{value:null,valid:!1,country:e};const n=Ki(t);if(n!==null)return n?U2(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);Uo(e,r)&&!Uo(e,s)||(i=s)}return i?{value:`+${a}${i}`,valid:Uo(e,i),country:e}:{value:null,valid:!1,country:e}}const Z2=t=>`https://scripts.sesamy.com/s/${encodeURIComponent(t)}/phone-lib/${Ve}`,Y2=t=>import(t),Ji=new Map;function K2(t,e=Y2){const r=Z2(t);let n=Ji.get(r);return n||(n=e(r).catch(a=>{throw Ji.delete(r),a}),Ji.set(r,n)),n}var J2=T("<option> </option>"),X2=T('<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 Q2(t,e){Oe(e,!0);let r=te(e,"value",15),n=te(e,"valid",15),a=te(e,"selectedCountry",15),o=te(e,"locale",3,"en"),i=te(e,"hasError",3,!1),s=he(hr(lt(()=>r())??"")),l=lt(()=>r()),d=he(null);Lo(()=>{K2(e.vendorId).then(x=>M(d,x,!0)).catch(x=>{console.warn("[sesamy] Phone number library unavailable, using basic validation",x)})});const u=x=>{const k=x.currentTarget;let R=k.value;const X=x instanceof InputEvent&&x.inputType.startsWith("insert");c(d)&&X&&k.selectionStart===R.length&&(R=Ic(R,a(),c(d)),k.value=R),M(s,R,!0)},m=x=>{const k=x.currentTarget.value,R=Ki(c(s)),X=ea(a());if(R!=null&&R.startsWith(X)){const ee=R.slice(X.length);M(s,c(d)?Ic(ee,k,c(d)):ee,!0)}a(k)},f=Y(()=>Rc.map(x=>({code:x,label:`${gc(x,o())||x} (+${ea(x)})`})).sort((x,k)=>x.label.localeCompare(k.label,o()))),h=Y(()=>B2(c(s),a(),c(d)));Gr(()=>{l=c(h).value,r(c(h).value),n(c(h).valid),c(h).country!==a()&&a(c(h).country)}),Gr(()=>{const x=r();lt(()=>{x!==l&&M(s,x??"",!0)})}),Gr(()=>{var x;r(),(x=e.onChange)==null||x.call(e)});var v=X2(),g=W(v),b=W(g),w=W(b),A=Ae(w),I=L(w,2);ir(I,{class:"!text-xs",name:"chevron-down"}),G(b);var P=L(b,2);nn(P,21,()=>c(f),x=>x.code,(x,k)=>{var R=J2(),X=Ae(R,!0),ee={};H(()=>{Q(X,c(k).label),ee!==(ee=c(k).code)&&(R.value=(R.__value=ee)??"")}),y(x,R)}),G(P);var S;$l(P),G(g);var $=L(g,2);Mi($);var z=L($,2),p=Ae(z,!0);G(v),H((x,k,R,X,ee,He)=>{Pe(v,1,x),Q(A,`+${k??""}`),Le(P,"aria-label",R),S!==(S=a())&&(P.value=(P.__value=S)??"",Na(P,S)),Yu($,c(s)),Le($,"name",e.name),Pe($,1,X),Pe(z,1,ee),Q(p,He)},[()=>Fe(se("relative w-full gap-2 column-left",i()&&"z-20")),()=>ea(a()),()=>e.t("country"),()=>Fe(se("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")),()=>Fe(se("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",P,m),or("input",$,u),y(t,v),De()}Vr(["change","input"]);var e0=T('<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>'),t0=T('<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),r0=T('<!> <div> <span class="text-primary"> </span>?</div>',1),n0=T('<!> <div class="text-center whitespace-nowrap"> </div>',1),Nc=T("<!> <!>",1),a0=T("<!> <!> <!> <!> <!>",1),o0=T('<span class="text-sm"> </span>'),i0=T('<div class="w-full"><div><!></div> <!></div>'),s0=T('<div class="[&amp;>svg]:max-w-full"><!></div>'),l0=T('<div class="gap-1 hidden @xl:row-left"><!> <!> <!></div>'),c0=T('<!> <!> <!> <!> <!> <div class="grid @sm:grid-cols-2 w-full gap-2 auto-rows-fr"></div>',1),d0=T("<div> </div>"),u0=T('<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>'),f0=T('<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 h0(t,e){Oe(e,!0);const r=v2(e.checkout.language).filter(C=>e.checkout.items.every(j=>!j.geoRestrictions||j.geoRestrictions.type==="ALLOW"&&j.geoRestrictions.countries.includes(C.value)||j.geoRestrictions.type==="BLOCK"&&!j.geoRestrictions.countries.includes(C.value)));let n=he(""),a=he(""),o=he(""),i=he(null),s=he(!1),l=he(hr(e.checkout.country||"SE")),d=he(hr(e.checkout.country&&ea(e.checkout.country)?e.checkout.country:"SE")),u=he(""),m=he(""),f=he(""),h=he(!1),v=he(void 0),g=he(void 0),b=he(""),w,A=he(!1),I=he(""),P=he(hr(e.checkout.giftMode)),S=he("");Gr(()=>{var C;r.map(j=>j.value).includes(c(l))||M(l,(C=r[0])==null?void 0:C.value,!0)}),Gr(()=>{(async()=>{const C=await e.api.auth.getUser();c(n)||M(n,(C==null?void 0:C.email)||"",!0)})()});const $=()=>{var Je,N,E,O,F,U,ve,fe,B,ne,ae,oe,de,Ee,ct,tt,rt,nt,Xe,Ne,Me,ge,at,Ge,ke;const C=[];Oo(c(n))||C.push(["email","invalid_email"]),c(P)&&!Oo(c(S))&&C.push(["payerEmail","invalid_email"]),(E=(N=(Je=e.checkout)==null?void 0:Je.fieldSettings)==null?void 0:N.phone)!=null&&E.enabled&&((U=(F=(O=e.checkout)==null?void 0:O.fieldSettings)==null?void 0:F.phone)!=null&&U.required)&&!c(i)&&C.push(["phoneNumber","phone_number_required"]),(B=(fe=(ve=e.checkout)==null?void 0:ve.fieldSettings)==null?void 0:fe.phone)!=null&&B.enabled&&c(i)&&!c(s)&&C.push(["phoneNumber","invalid_phone_number"]),(oe=(ae=(ne=e.checkout)==null?void 0:ne.fieldSettings)==null?void 0:ae.name)!=null&&oe.enabled&&((ct=(Ee=(de=e.checkout)==null?void 0:de.fieldSettings)==null?void 0:Ee.name)!=null&&ct.required)&&!c(a)&&C.push(["firstName","first_name_required"]),(nt=(rt=(tt=e.checkout)==null?void 0:tt.fieldSettings)==null?void 0:rt.name)!=null&&nt.enabled&&((Me=(Ne=(Xe=e.checkout)==null?void 0:Xe.fieldSettings)==null?void 0:Ne.name)!=null&&Me.required)&&!c(o)&&C.push(["lastName","last_name_required"]),c(A)&&!Oo(c(I))&&C.push(["referralEmail","referral_email_required"]);const j=new Date().getFullYear(),Z=parseInt(c(u)),ce=parseInt(c(m)),re=parseInt(c(f));c(u)&&(isNaN(Z)||Z<1900||Z>j)&&C.push(["birthYear","invalid_birth_year"]),c(m)&&(isNaN(ce)||ce<1||ce>12)&&C.push(["birthMonth","invalid_birth_month"]),c(f)&&(isNaN(re)||re<1||re>31)&&C.push(["birthDay","invalid_birth_day"]),(at=(ge=e.checkout.fieldSettings)==null?void 0:ge.birthdate)!=null&&at.enabled&&((ke=(Ge=e.checkout.fieldSettings)==null?void 0:Ge.birthdate)!=null&&ke.required)&&(!c(u)||!c(m)||!c(f))&&C.push(["birthDate","birthdate_required"]),M(v,C.length?C.reduce((Ct,[We,Ze])=>({...Ct,[We]:Ze}),{}):void 0,!0)},z=C=>M(g,C,!0),p=()=>{M(v,void 0),clearTimeout(w),w=setTimeout(()=>{var C;M(b,((C=Zi.run({email:c(n)}))==null?void 0:C.full)||"",!0)},400)},x=async C=>{var Z;if(C.preventDefault(),$(),!(c(v)||!c(g)||e.api.events.emit("sesamyPaywallCheckoutRedirect",{checkoutId:e.checkout.id,country:c(l),paymentMethod:c(g)},!0).canceled)){M(h,!0);try{const ce=["GOOGLE-PAY","APPLE-PAY"].includes(c(g).method),re=c(u)&&c(m)&&c(f)?`${c(u)}-${c(m).padStart(2,"0")}-${c(f).padStart(2,"0")}`:void 0;await e.api.checkouts.update(e.checkout.id,{paymentData:{provider:c(g).provider,method:ce?"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:re,referralEmail:c(A)?c(I):void 0,payerEmail:c(P)?c(S):void 0}),Yi(e.checkout,c(g)),M(h,!1);return}catch(ce){(Z=ce==null?void 0:ce.message)!=null&&Z.includes("User already owns item")?M(v,{general:"user_already_owns_item"},!0):(console.error(ce),M(v,{general:"something_went_wrong"},!0)),M(h,!1);return}}},k=e.checkout.availablePaymentMethods.reduce((C,{provider:j,methods:Z})=>[...C,...Z!=null&&Z.length&&j?Z.map(ce=>({provider:j,method:ce})):[]],[]);C2()&&k.push({provider:"STRIPE",method:"GOOGLE-PAY"}),L2()&&k.push({provider:"STRIPE",method:"APPLE-PAY"});const R=k.some(C=>C.method==="STRIPE_KLARNA"),X=k.some(C=>C.method==="KLARNA_PRIVATE");if(R&&X){const C=k.findIndex(j=>j.method==="KLARNA_PRIVATE");C!==-1&&k.splice(C,1)}const ee=k.some(C=>C.method==="SWISH_DIRECT"),He=k.some(C=>C.method==="SWISH");if(ee&&He){const C=k.findIndex(j=>j.method==="SWISH");C!==-1&&k.splice(C,1)}const Re=q2.map(C=>k.find(j=>j.method===C)).filter(C=>C!==void 0);Re.length&&z(Re[0]);var pe=f0(),Ye=W(pe);Pt(Ye,{up:!0,left:!0,class:"gap-2 w-full",children:(C,j)=>{var Z=c0(),ce=q(Z);{var re=B=>{var ne=e0(),ae=W(ne),oe=Ae(ae,!0),de=L(ae,2),Ee=Ae(de,!0);G(ne),H((ct,tt,rt,nt)=>{Pe(ae,1,ct),Q(oe,tt),Pe(de,1,rt),Q(Ee,nt)},[()=>Fe(se("rounded-md px-3 py-2 flex-1",!c(P)&&"bg-white dark:bg-black/25")),()=>e.t("not_gift"),()=>Fe(se("rounded-md px-3 py-2 flex-1",c(P)&&"bg-white dark:bg-black/25")),()=>e.t("is_gift")]),or("click",ae,()=>M(P,!1)),or("click",de,()=>M(P,!0)),y(B,ne)};V(ce,B=>{var ne;(ne=e.paywall.settings.displayOptions)!=null&&ne.enableGift&&B(re)})}var Je=L(ce,2);{var N=B=>{var ne=t0(),ae=q(ne),oe=Ae(ae,!0),de=L(ae,2);No(de,{children:(tt,rt)=>{{let nt=Y(()=>e.t("email")),Xe=Y(()=>{var Ne;return(Ne=c(v))==null?void 0:Ne.payerEmail});sr(tt,{name:"payer-email",compact:!0,get placeholder(){return c(nt)},get hasError(){return c(Xe)},onkeyup:()=>M(v,void 0),get value(){return c(S)},set value(Ne){M(S,Ne,!0)}})}},$$slots:{default:!0}});var Ee=L(de,2),ct=Ae(Ee,!0);H((tt,rt)=>{Q(oe,tt),Q(ct,rt)},[()=>e.t("your_details"),()=>e.t("recipient_details")]),y(B,ne)};V(Je,B=>{c(P)&&B(N)})}var E=L(Je,2);No(E,{children:(B,ne)=>{var ae=a0(),oe=q(ae);{let Xe=Y(()=>e.t("email")),Ne=Y(()=>{var Me;return(Me=c(v))==null?void 0:Me.email});sr(oe,{onkeyup:p,name:"email",compact:!0,get placeholder(){return c(Xe)},get hasError(){return c(Ne)},autocomplete:"email",get value(){return c(n)},set value(Me){M(n,Me,!0)}})}var de=L(oe,2);{let Xe=Y(()=>!!c(b));$c(de,{get isOpen(){return c(Xe)},children:(Ne,Me)=>{$r(Ne,{onclick:()=>{M(n,c(b),!0),M(b,"")},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:(ge,at)=>{var Ge=n0(),ke=q(Ge);$r(ke,{class:"gap-2",children:(Ze,ht)=>{var ot=r0(),Zt=q(ot);ir(Zt,{class:"text-primary text-xl",name:"info"});var dr=L(Zt,2),Yt=W(dr),$n=L(Yt),Te=Ae($n,!0);St(),G(dr),H(it=>{Q(Yt,`${it??""} `),Q(Te,c(b))},[()=>e.t("did_you_mean")]),y(Ze,ot)},$$slots:{default:!0}});var Ct=L(ke,2),We=Ae(Ct,!0);H(Ze=>Q(We,Ze),[()=>e.t("click_to_update")]),y(ge,Ge)},$$slots:{default:!0}})},$$slots:{default:!0}})}var Ee=L(de,2);{let Xe=Y(()=>e.t("country"));k2(Ee,{get options(){return r},name:"country",compact:!0,autocomplete:"country",get placeholder(){return c(Xe)},get value(){return c(l)},set value(Ne){M(l,Ne,!0)}})}var ct=L(Ee,2);{var tt=Xe=>{{let Ne=Y(()=>{var Me;return!!((Me=c(v))!=null&&Me.phoneNumber)});Q2(Xe,{get locale(){return e.checkout.language},get vendorId(){return e.paywall.vendorId},get t(){return e.t},get hasError(){return c(Ne)},onChange:()=>M(v,void 0),name:"tel",get value(){return c(i)},set value(Me){M(i,Me,!0)},get valid(){return c(s)},set valid(Me){M(s,Me,!0)},get selectedCountry(){return c(d)},set selectedCountry(Me){M(d,Me,!0)}})}};V(ct,Xe=>{var Ne,Me,ge;(ge=(Me=(Ne=e.checkout)==null?void 0:Ne.fieldSettings)==null?void 0:Me.phone)!=null&&ge.enabled&&Xe(tt)})}var rt=L(ct,2);{var nt=Xe=>{var Ne=Nc(),Me=q(Ne);{let at=Y(()=>e.t("first_name")),Ge=Y(()=>{var ke;return(ke=c(v))==null?void 0:ke.firstName});sr(Me,{onkeyup:()=>M(v,void 0),name:"first-name",compact:!0,get placeholder(){return c(at)},get hasError(){return c(Ge)},autocomplete:"given-name",get value(){return c(a)},set value(ke){M(a,ke,!0)}})}var ge=L(Me,2);{let at=Y(()=>e.t("last_name")),Ge=Y(()=>{var ke;return(ke=c(v))==null?void 0:ke.lastName});sr(ge,{onkeyup:()=>M(v,void 0),name:"last-name",compact:!0,get placeholder(){return c(at)},get hasError(){return c(Ge)},autocomplete:"family-name",get value(){return c(o)},set value(ke){M(o,ke,!0)}})}y(Xe,Ne)};V(rt,Xe=>{var Ne,Me,ge;(ge=(Me=(Ne=e.checkout)==null?void 0:Ne.fieldSettings)==null?void 0:Me.name)!=null&&ge.enabled&&Xe(nt)})}y(B,ae)},$$slots:{default:!0}});var O=L(E,2);{var F=B=>{{let ne=Y(()=>{var ae,oe,de,Ee;return((ae=c(v))==null?void 0:ae.birthYear)||((oe=c(v))==null?void 0:oe.birthMonth)||((de=c(v))==null?void 0:de.birthDay)||((Ee=c(v))==null?void 0:Ee.birthDate)});G2(B,{get t(){return e.t},get hasError(){return c(ne)},onYearChange:()=>M(v,void 0),onMonthChange:()=>M(v,void 0),onDayChange:()=>M(v,void 0),get year(){return c(u)},set year(ae){M(u,ae,!0)},get month(){return c(m)},set month(ae){M(m,ae,!0)},get day(){return c(f)},set day(ae){M(f,ae,!0)}})}};V(O,B=>{var ne,ae,oe;(oe=(ae=(ne=e.checkout)==null?void 0:ne.fieldSettings)==null?void 0:ae.birthdate)!=null&&oe.enabled&&B(F)})}var U=L(O,2);{var ve=B=>{var ne=i0(),ae=W(ne),oe=W(ae);Ro(oe,{id:"got-referred",name:"got-referred",type:"checkbox",get checked(){return c(A)},onchange:Ee=>{const ct=Ee.target;M(A,ct.checked,!0)},children:(Ee,ct)=>{var tt=o0(),rt=Ae(tt,!0);H(nt=>Q(rt,nt),[()=>e.t("got_referred")]),y(Ee,tt)},$$slots:{default:!0}}),G(ae);var de=L(ae,2);$c(de,{get isOpen(){return c(A)},children:(Ee,ct)=>{{let tt=Y(()=>e.t("referral_email")),rt=Y(()=>{var nt;return(nt=c(v))==null?void 0:nt.referralEmail});sr(Ee,{name:"referral-email",compact:!0,get placeholder(){return c(tt)},class:"rounded-t-none -mt-px",get hasError(){return c(rt)},onkeyup:()=>M(v,void 0),get value(){return c(I)},set value(nt){M(I,nt,!0)}})}},$$slots:{default:!0}}),G(ne),H(Ee=>Pe(ae,1,Ee),[()=>Fe(se("bg-white rounded-md border border-gray-200 dark:bg-black/25 dark:border-gray-700",c(A)&&"rounded-b-none"))]),y(B,ne)};V(U,B=>{var ne,ae,oe;(oe=(ae=(ne=e.checkout)==null?void 0:ne.fieldSettings)==null?void 0:ae.referral)!=null&&oe.enabled&&B(ve)})}var fe=L(U,2);nn(fe,23,()=>Re,B=>`${B.provider}-${B.method}`,(B,ne,ae,oe)=>{const de=Y(()=>c(ne));Bi(B,{children:(Ee,ct)=>{{let tt=Y(()=>!c(ae)),rt=Y(()=>`${c(de).provider}-${c(de).method}`);Ro(Ee,{get checked(){return c(tt)},get id(){return c(rt)},name:"payment-method",onchange:()=>z(c(ne)),children:(nt,Xe)=>{var Ne=Nc(),Me=q(Ne);{var ge=We=>{ir(We,{name:"card",class:"text-2xl"})},at=We=>{var Ze=s0(),ht=W(Ze);{let ot=Y(()=>c(de).method.includes("KLARNA")?"21":"25");fc(ht,{get method(){return c(de).method},width:"auto",get height(){return c(ot)},darkModeSupport:!0})}G(Ze),y(We,Ze)};V(Me,We=>{c(de).method==="CARD"?We(ge):We(at,-1)})}var Ge=L(Me,2);{var ke=We=>{var Ze=l0(),ht=W(Ze);Ha(ht,{size:"sm",name:"visa"});var ot=L(ht,2);Ha(ot,{size:"sm",name:"amex"});var Zt=L(ot,2);Ha(Zt,{size:"sm",name:"mastercard"}),G(Ze),y(We,Ze)},Ct=Y(()=>c(de).method&&["CARD","GOOGLE-PAY","APPLE-PAY"].includes(c(de).method));V(Ge,We=>{c(Ct)&&We(ke)})}y(nt,Ne)},$$slots:{default:!0}})}},$$slots:{default:!0}})}),G(fe),y(C,Z)},$$slots:{default:!0}});var je=L(Ye,2);{var Ce=C=>{var j=u0();nn(j,21,()=>Object.values(c(v)),Pa,(Z,ce)=>{var re=d0(),Je=Ae(re,!0);H(N=>Q(Je,N),[()=>e.t(c(ce))]),y(Z,re)}),G(j),y(C,j)};V(je,C=>{c(v)&&C(Ce)})}var D=L(je,2);Ga(D,{get loading(){return c(h)},get disabled(){return c(h)},class:"mt-2 w-full shadow-md bg-[var(--s-paywall-btn-bg-color)] text-[var(--s-paywall-btn-text-color)]",type:"submit",children:(C,j)=>{St();var Z=Tt();H(ce=>Q(Z,ce),[()=>e.t("pay_now")]),y(C,Z)},$$slots:{default:!0}});var Ke=L(D,2),Ie=W(Ke);ir(Ie,{name:"chevron-left",class:"text-[8px]"});var ue=L(Ie,2),ye=Ae(ue,!0);G(Ke),G(pe),H(C=>Q(ye,C),[()=>e.t("go_back")]),yo("submit",pe,x),or("click",Ke,function(...C){var j;(j=e.onResetCheckout)==null||j.apply(this,C)}),y(t,pe),De()}Vr(["click"]);const v0=t=>{const e=parseFloat(t);return isNaN(e)?0:e},m0={VIEW_ARTICLE:"viewArticle",ADD_TO_CART:"addToCart",CONTENT_UNLOCKED:"content_unlocked",CONTENT_ACCESS_UNRESOLVED:"content_access_unresolved",CONTENT_ACCESS_RECOVERED:"content_access_recovered"};let Ua=null;function g0(){Ua=!0}function p0(){Ua=!1}function _0(){Ua=null}function Oc(){if(Ua!==null)return Ua;const t=document.querySelector('meta[name="sesamy:analytics"]');return(t==null?void 0:t.getAttribute("content"))!=="false"}function ta(...t){return t.find(e=>!!e)||window.location.href}function b0(t,e){return t==="public"?"public":t==="logged-in"?"logged-in":e?"unlocked":"locked"}function y0(t,e){return t||e}function ra(t,e,r){if(Oc())try{t.analytics.track(e,{name:e,...r})}catch(n){console.error(`Failed to track ${e}:`,n)}}var w0=new Set(["$$slots","$$events","$$legacy","api","t","horizontal","host","paywall","onShown","onAccessGranted"]),x0=T("<sesamy-login><!></sesamy-login>",2),Dc=T('<!> <div class="w-full h-px from-transparent bg-gradient-to-r to-transparent via-primary opacity-30"></div>',1),k0=T('<span class="break-all"> </span> <span aria-hidden="true">·</span>',1),C0=T('<!> <button type="button" class="border-0 bg-transparent p-0 underline underline-offset-4 transition-opacity hover:opacity-80"><!></button>',1),L0=T('<img class="h-7 mb-6"/>'),Fc=T("<!> <!>",1),S0=T('<form class="contents"><!> <!></form>'),E0=T("<!> <span></span>",1),z0=T('<!> <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),A0=T('<div class="@container" style="font-size: var(--s-base-font-size, 16px)"><!></div>');function jc(t,e){Oe(e,!0);let r=te(e,"horizontal",3,!1),n=qt(e,w0),a=he(void 0),o=he(void 0),i=he(!1),s=he(""),l=he("pending"),d=he(null);const u=async()=>{const N=await e.api.auth.getUser().catch(()=>null);c(l)!=="logged-out"&&(M(d,typeof(N==null?void 0:N.email)=="string"?N.email:null,!0),M(l,"logged-in"))},m=()=>{M(l,"logged-out"),M(d,null)},f=async()=>{try{await e.api.auth.logout()}catch(N){console.error("Logout failed:",N)}};Lo(()=>{window.addEventListener(zr.LOGOUT,m)}),Ta(()=>{window.removeEventListener(zr.LOGOUT,m)});const h=e.api.content.get(e.host),v=n!=null&&n.price?v0(n.price):h==null?void 0:h.price,g=(n==null?void 0:n["item-src"])||(h==null?void 0:h.url);let{subscriptions:b,singlePurchase:w,headline:A,currency:I,mainColor:P,showLoginButton:S,features:$,footerPaymentMethods:z,logoUrl:p,vendorId:x,settings:{useDefaultLogo:k,styling:R,redirectUrl:X,redirectLabel:ee}}=e.paywall;const He=async()=>{var O,F,U,ve;if(r())return!1;const N=e!=null&&e.pass?e.pass.split(";"):(F=(O=e.api.content.get(e.host))==null?void 0:O.pass)==null?void 0:F.split(";"),E=await e.api.entitlements.hasAccess(g||"",N);if(e.api.events.emit("sesamyPaywallAccessChecked",{hasAccess:E,paywallId:e.paywall.id,articleUrl:g,passes:N}),E)(U=e.onAccessGranted)==null||U.call(e),Ar(e.host,"sesamy:access-granted",{scopes:N??[]});else{(ve=e.onShown)==null||ve.call(e);let fe=!1;try{fe=await e.api.auth.isAuthenticated()}catch(B){console.error("Auth check failed:",B)}fe?S&&u():M(l,"logged-out"),Ar(e.host,"sesamy:paywall-shown",{reason:fe?"no-entitlement":"unauthenticated"})}return E},Re=async N=>{if(M(s,""),M(i,!0),ra(e.api,"addToCart",{itemSrc:ta(g),publisherContentId:h==null?void 0:h.id,sku:N.sku,purchaseOptionId:N.poId,price:N.price,currency:I,paywallId:e.paywall.id}),N!=null&&N.url&&(N==null?void 0:N.url)!==g){window.location.assign(N.url);return}const E=N!=null&&N.url?{url:N.url}:{sku:N.sku,purchaseOptionId:N.poId},O=Mc(N.redirectUrl,X,n==null?void 0:n["redirect-url"]),F=Tc(N.redirectLabel,ee,n==null?void 0:n["redirect-label"]);try{const U={items:[E],requestedDiscountCodes:N.discountCode?[N.discountCode]:void 0,redirectUrl:O,redirectLabel:F,price:N.price,currency:I,attribution:{...Pc(n),...g?{itemSrc:g}:{},source:"PAYWALL",sourceId:e.paywall.id}};if(e.api.events.emit("sesamyPaywallCreateCheckout",{payload:U,product:N,paywallId:e.paywall.id},!0).canceled){M(i,!1);return}const fe=await e.api.checkouts.create(U);if(e.api.events.emit("sesamyPaywallProductSelected",{product:N,checkoutId:fe.id,paywallId:e.paywall.id}),r()||N.preferBusiness){Yi(fe,void 0,N.preferBusiness);return}M(o,fe,!0),M(i,!1)}catch(U){console.error(U),M(s,e.t("something_went_wrong"),!0),M(i,!1);return}},pe=async N=>{N.preventDefault(),c(a)&&await Re(c(a))},Ye=async N=>{const E={...N,features:Array.isArray(N.features)&&N.features.length>0?N.features:Array.isArray($)?$:[]};M(a,E,!0),await Re(E)},je=N=>{M(s,""),M(a,{...N,features:Array.isArray(N.features)&&N.features.length>0?N.features:Array.isArray($)?$:[]},!0)},Ce=()=>{e.api.events.emit("sesamyPaywallResetCheckout",{paywallId:e.paywall.id}),M(o,void 0)},D=b.length>0;if(D){const N=b.find(({selected:E})=>E);N?je(N):(b[0].selected=!0,je(b[0]))}const Ke=R!=null&&R.showBackground&&(R!=null&&R.backgroundColor)?R.backgroundColor:"#FFFFFF",Ie=(R==null?void 0:R.showBackground)&&!qa(Ke),ue=Ie?"#FFFFFF":"#000000",ye=qa(P)?"#000000":"#FFFFFF";let C=he(hr(Ie)),Z="<style>"+`
34
+ `+"</style>":"";const s=Promise.all([n,a]).then(([h,v])=>({api:h,t:v}));let l=!1;function d(h){l||(l=!0,console.error("[sesamy-components] sesamy-js is unavailable:",h))}var u=h1(),m=V(u);Br(m,()=>s,null,(h,v)=>{var g=Y(()=>{var{api:R,t:E}=c(v);return{api:R,t:E}}),b=Y(()=>c(g).api),w=Y(()=>c(g).t),z=Ve(),P=V(z);zt(P,e,"default",{get api(){return c(b)},get t(){return c(w)}},null),y(h,z)},(h,v)=>{var g=f1(),b=V(g),w=L(b);zt(w,e,"error",{get error(){return c(v)}},null),H(z=>te(b,`${z??""} `),[()=>d(c(v))]),y(h,g)});var f=L(m,2);on(f,()=>i),y(t,u),De()}const v1=(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},m1=(t,e)=>({classGroupId:t,validator:e}),ql=(t=new Map,e=null,r)=>({nextPart:t,validators:e,classGroupId:r}),$o="-",Vl=[],g1="arbitrary..",p1=t=>{const e=b1(t),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=t;return{getClassGroupId:i=>{if(i.startsWith("[")&&i.endsWith("]"))return _1(i);const s=i.split($o),l=s[0]===""&&s.length>1?1:0;return Bl(s,l,e)},getConflictingClassGroupIds:(i,s)=>{if(s){const l=n[i],d=r[i];return l?d?v1(d,l):l:d||Vl}return r[i]||Vl}}},Bl=(t,e,r)=>{if(t.length-e===0)return r.classGroupId;const a=t[e],o=r.nextPart.get(a);if(o){const d=Bl(t,e+1,o);if(d)return d}const i=r.validators;if(i===null)return;const s=e===0?t.join($o):t.slice(e).join($o),l=i.length;for(let d=0;d<l;d++){const u=i[d];if(u.validator(s))return u.classGroupId}},_1=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?g1+n:void 0})(),b1=t=>{const{theme:e,classGroups:r}=t;return y1(r,e)},y1=(t,e)=>{const r=ql();for(const n in t){const a=t[n];Fi(a,r,n,e)}return r},Fi=(t,e,r,n)=>{const a=t.length;for(let o=0;o<a;o++){const i=t[o];w1(i,e,r,n)}},w1=(t,e,r,n)=>{if(typeof t=="string"){x1(t,e,r);return}if(typeof t=="function"){k1(t,e,r,n);return}C1(t,e,r,n)},x1=(t,e,r)=>{const n=t===""?e:Ul(e,t);n.classGroupId=r},k1=(t,e,r,n)=>{if(L1(t)){Fi(t(n),e,r,n);return}e.validators===null&&(e.validators=[]),e.validators.push(m1(r,t))},C1=(t,e,r,n)=>{const a=Object.entries(t),o=a.length;for(let i=0;i<o;i++){const[s,l]=a[i];Fi(l,Ul(e,s),r,n)}},Ul=(t,e)=>{let r=t;const n=e.split($o),a=n.length;for(let o=0;o<a;o++){const i=n[o];let s=r.nextPart.get(i);s||(s=ql(),r.nextPart.set(i,s)),r=s}return r},L1=t=>"isThemeGetter"in t&&t.isThemeGetter===!0,S1=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)}}},ji="!",Wl=":",E1=[],Zl=(t,e,r,n,a)=>({modifiers:t,hasImportantModifier:e,baseClassName:r,maybePostfixModifierPosition:n,isExternal:a}),z1=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 b=a[g];if(i===0&&s===0){if(b===Wl){o.push(a.slice(l,g)),l=g+1;continue}if(b==="/"){d=g;continue}}b==="["?i++:b==="]"?i--:b==="("?s++:b===")"&&s--}const m=o.length===0?a:a.slice(l);let f=m,h=!1;m.endsWith(ji)?(f=m.slice(0,-1),h=!0):m.startsWith(ji)&&(f=m.slice(1),h=!0);const v=d&&d>l?d-l:void 0;return Zl(o,h,f,v)};if(e){const a=e+Wl,o=n;n=i=>i.startsWith(a)?o(i.slice(a.length)):Zl(E1,!1,i,void 0,!0)}if(r){const a=n;n=o=>r({className:o,parseClassName:a})}return n},A1=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}},$1=t=>({cache:S1(t.cacheSize),parseClassName:z1(t),sortModifiers:A1(t),postfixLookupClassGroupIds:M1(t),...p1(t)}),M1=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},T1=/\s+/,P1=(t,e)=>{const{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:a,sortModifiers:o,postfixLookupClassGroupIds:i}=e,s=[],l=t.trim().split(T1);let d="";for(let u=l.length-1;u>=0;u-=1){const m=l[u],{isExternal:f,modifiers:h,hasImportantModifier:v,baseClassName:g,maybePostfixModifierPosition:b}=r(m);if(f){d=m+(d.length>0?" "+d:d);continue}let w=!!b,z;if(w){const S=g.substring(0,b);z=n(S);const p=z&&i[z]?n(g):void 0;p&&p!==z&&(z=p,w=!1)}else z=n(g);if(!z){if(!w){d=m+(d.length>0?" "+d:d);continue}if(z=n(g),!z){d=m+(d.length>0?" "+d:d);continue}w=!1}const P=h.length===0?"":h.length===1?h[0]:o(h).join(":"),R=v?P+ji:P,E=R+z;if(s.indexOf(E)>-1)continue;s.push(E);const A=a(z,w);for(let S=0;S<A.length;++S){const p=A[S];s.push(R+p)}d=m+(d.length>0?" "+d:d)}return d},R1=(...t)=>{let e=0,r,n,a="";for(;e<t.length;)(r=t[e++])&&(n=Yl(r))&&(a&&(a+=" "),a+=n);return a},Yl=t=>{if(typeof t=="string")return t;let e,r="";for(let n=0;n<t.length;n++)t[n]&&(e=Yl(t[n]))&&(r&&(r+=" "),r+=e);return r},I1=(t,...e)=>{let r,n,a,o;const i=l=>{const d=e.reduce((u,m)=>m(u),t());return r=$1(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=P1(l,r);return a(l,u),u};return o=i,(...l)=>o(R1(...l))},N1=[],bt=t=>{const e=r=>r[t]||N1;return e.isThemeGetter=!0,e},Kl=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Jl=/^\((?:(\w[\w-]*):)?(.+)\)$/i,O1=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,D1=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,F1=/\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$/,j1=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,H1=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,G1=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,sn=t=>O1.test(t),Se=t=>!!t&&!Number.isNaN(Number(t)),Er=t=>!!t&&Number.isInteger(Number(t)),Hi=t=>t.endsWith("%")&&Se(t.slice(0,-1)),Zr=t=>D1.test(t),Xl=()=>!0,q1=t=>F1.test(t)&&!j1.test(t),Gi=()=>!1,V1=t=>H1.test(t),B1=t=>G1.test(t),U1=t=>!K(t)&&!J(t),W1=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)),Z1=t=>ln(t,ac,Gi),K=t=>Kl.test(t),xn=t=>ln(t,oc,q1),Ql=t=>ln(t,rf,Se),Y1=t=>ln(t,sc,Xl),K1=t=>ln(t,ic,Gi),ec=t=>ln(t,rc,Gi),J1=t=>ln(t,nc,B1),Mo=t=>ln(t,lc,V1),J=t=>Jl.test(t),ja=t=>kn(t,oc),X1=t=>kn(t,ic),tc=t=>kn(t,rc),Q1=t=>kn(t,ac),ef=t=>kn(t,nc),To=t=>kn(t,lc,!0),tf=t=>kn(t,sc,!0),ln=(t,e,r)=>{const n=Kl.exec(t);return n?n[1]?e(n[1]):r(n[2]):!1},kn=(t,e,r=!1)=>{const n=Jl.exec(t);return n?n[1]?e(n[1]):r:!1},rc=t=>t==="position"||t==="percentage",nc=t=>t==="image"||t==="url",ac=t=>t==="length"||t==="size"||t==="bg-size",oc=t=>t==="length",rf=t=>t==="number",ic=t=>t==="family-name",sc=t=>t==="number"||t==="weight",lc=t=>t==="shadow",se=I1(()=>{const t=bt("color"),e=bt("font"),r=bt("text"),n=bt("font-weight"),a=bt("tracking"),o=bt("leading"),i=bt("breakpoint"),s=bt("container"),l=bt("spacing"),d=bt("radius"),u=bt("shadow"),m=bt("inset-shadow"),f=bt("text-shadow"),h=bt("drop-shadow"),v=bt("blur"),g=bt("perspective"),b=bt("aspect"),w=bt("ease"),z=bt("animate"),P=()=>["auto","avoid","all","avoid-page","page","left","right","column"],R=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],E=()=>[...R(),J,K],A=()=>["auto","hidden","clip","visible","scroll"],S=()=>["auto","contain","none"],p=()=>[J,K,l],x=()=>[sn,"full","auto",...p()],k=()=>[Er,"none","subgrid",J,K],I=()=>["auto",{span:["full",Er,J,K]},Er,J,K],X=()=>[Er,"auto",J,K],Q=()=>["auto","min","max","fr",J,K],He=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],Ie=()=>["start","end","center","stretch","center-safe","end-safe"],be=()=>["auto",...p()],tt=()=>[sn,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...p()],je=()=>[sn,"screen","full","dvw","lvw","svw","min","max","fit",...p()],xe=()=>[sn,"screen","full","lh","dvh","lvh","svh","min","max","fit",...p()],F=()=>[t,J,K],rt=()=>[...R(),tc,ec,{position:[J,K]}],Ee=()=>["no-repeat",{repeat:["","x","y","space","round"]}],ue=()=>["auto","cover","contain",Q1,Z1,{size:[J,K]}],Ce=()=>[Hi,ja,xn],C=()=>["","none","full",d,J,K],j=()=>["",Se,ja,xn],Z=()=>["solid","dashed","dotted","double"],ae=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ne=()=>[Se,Hi,tc,ec],Ye=()=>["","none",v,J,K],O=()=>["none",Se,J,K],ge=()=>["none",Se,J,K],Te=()=>[Se,J,K],$=()=>[sn,"full",...p()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Zr],breakpoint:[Zr],color:[Xl],container:[Zr],"drop-shadow":[Zr],ease:["in","out","in-out"],font:[U1],"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",Se],text:[Zr],"text-shadow":[Zr],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",sn,K,J,b]}],container:["container"],"container-type":[{"@container":["","normal","size",J,K]}],"container-named":[W1],columns:[{columns:[Se,K,J,s]}],"break-after":[{"break-after":P()}],"break-before":[{"break-before":P()}],"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:E()}],overflow:[{overflow:A()}],"overflow-x":[{"overflow-x":A()}],"overflow-y":[{"overflow-y":A()}],overscroll:[{overscroll:S()}],"overscroll-x":[{"overscroll-x":S()}],"overscroll-y":[{"overscroll-y":S()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:x()}],"inset-x":[{"inset-x":x()}],"inset-y":[{"inset-y":x()}],start:[{"inset-s":x(),start:x()}],end:[{"inset-e":x(),end:x()}],"inset-bs":[{"inset-bs":x()}],"inset-be":[{"inset-be":x()}],top:[{top:x()}],right:[{right:x()}],bottom:[{bottom:x()}],left:[{left:x()}],visibility:["visible","invisible","collapse"],z:[{z:[Er,"auto",J,K]}],basis:[{basis:[sn,"full","auto",s,...p()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Se,sn,"auto","initial","none",K]}],grow:[{grow:["",Se,J,K]}],shrink:[{shrink:["",Se,J,K]}],order:[{order:[Er,"first","last","none",J,K]}],"grid-cols":[{"grid-cols":k()}],"col-start-end":[{col:I()}],"col-start":[{"col-start":X()}],"col-end":[{"col-end":X()}],"grid-rows":[{"grid-rows":k()}],"row-start-end":[{row:I()}],"row-start":[{"row-start":X()}],"row-end":[{"row-end":X()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":Q()}],"auto-rows":[{"auto-rows":Q()}],gap:[{gap:p()}],"gap-x":[{"gap-x":p()}],"gap-y":[{"gap-y":p()}],"justify-content":[{justify:[...He(),"normal"]}],"justify-items":[{"justify-items":[...Ie(),"normal"]}],"justify-self":[{"justify-self":["auto",...Ie()]}],"align-content":[{content:["normal",...He()]}],"align-items":[{items:[...Ie(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...Ie(),{baseline:["","last"]}]}],"place-content":[{"place-content":He()}],"place-items":[{"place-items":[...Ie(),"baseline"]}],"place-self":[{"place-self":["auto",...Ie()]}],p:[{p:p()}],px:[{px:p()}],py:[{py:p()}],ps:[{ps:p()}],pe:[{pe:p()}],pbs:[{pbs:p()}],pbe:[{pbe:p()}],pt:[{pt:p()}],pr:[{pr:p()}],pb:[{pb:p()}],pl:[{pl:p()}],m:[{m:be()}],mx:[{mx:be()}],my:[{my:be()}],ms:[{ms:be()}],me:[{me:be()}],mbs:[{mbs:be()}],mbe:[{mbe:be()}],mt:[{mt:be()}],mr:[{mr:be()}],mb:[{mb:be()}],ml:[{ml:be()}],"space-x":[{"space-x":p()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":p()}],"space-y-reverse":["space-y-reverse"],size:[{size:tt()}],"inline-size":[{inline:["auto",...je()]}],"min-inline-size":[{"min-inline":["auto",...je()]}],"max-inline-size":[{"max-inline":["none",...je()]}],"block-size":[{block:["auto",...xe()]}],"min-block-size":[{"min-block":["auto",...xe()]}],"max-block-size":[{"max-block":["none",...xe()]}],w:[{w:[s,"screen",...tt()]}],"min-w":[{"min-w":[s,"screen","none",...tt()]}],"max-w":[{"max-w":[s,"screen","none","prose",{screen:[i]},...tt()]}],h:[{h:["screen","lh",...tt()]}],"min-h":[{"min-h":["screen","lh","none",...tt()]}],"max-h":[{"max-h":["screen","lh",...tt()]}],"font-size":[{text:["base",r,ja,xn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[n,tf,Y1]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Hi,K]}],"font-family":[{font:[X1,K1,e]}],"font-features":[{"font-features":[K]}],"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,J,K]}],"line-clamp":[{"line-clamp":[Se,"none",J,Ql]}],leading:[{leading:[o,...p()]}],"list-image":[{"list-image":["none",J,K]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",J,K]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:F()}],"text-color":[{text:F()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Z(),"wavy"]}],"text-decoration-thickness":[{decoration:[Se,"from-font","auto",J,xn]}],"text-decoration-color":[{decoration:F()}],"underline-offset":[{"underline-offset":[Se,"auto",J,K]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:p()}],"tab-size":[{tab:[Er,J,K]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",J,K]}],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",J,K]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:rt()}],"bg-repeat":[{bg:Ee()}],"bg-size":[{bg:ue()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Er,J,K],radial:["",J,K],conic:[Er,J,K]},ef,J1]}],"bg-color":[{bg:F()}],"gradient-from-pos":[{from:Ce()}],"gradient-via-pos":[{via:Ce()}],"gradient-to-pos":[{to:Ce()}],"gradient-from":[{from:F()}],"gradient-via":[{via:F()}],"gradient-to":[{to:F()}],rounded:[{rounded:C()}],"rounded-s":[{"rounded-s":C()}],"rounded-e":[{"rounded-e":C()}],"rounded-t":[{"rounded-t":C()}],"rounded-r":[{"rounded-r":C()}],"rounded-b":[{"rounded-b":C()}],"rounded-l":[{"rounded-l":C()}],"rounded-ss":[{"rounded-ss":C()}],"rounded-se":[{"rounded-se":C()}],"rounded-ee":[{"rounded-ee":C()}],"rounded-es":[{"rounded-es":C()}],"rounded-tl":[{"rounded-tl":C()}],"rounded-tr":[{"rounded-tr":C()}],"rounded-br":[{"rounded-br":C()}],"rounded-bl":[{"rounded-bl":C()}],"border-w":[{border:j()}],"border-w-x":[{"border-x":j()}],"border-w-y":[{"border-y":j()}],"border-w-s":[{"border-s":j()}],"border-w-e":[{"border-e":j()}],"border-w-bs":[{"border-bs":j()}],"border-w-be":[{"border-be":j()}],"border-w-t":[{"border-t":j()}],"border-w-r":[{"border-r":j()}],"border-w-b":[{"border-b":j()}],"border-w-l":[{"border-l":j()}],"divide-x":[{"divide-x":j()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":j()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...Z(),"hidden","none"]}],"divide-style":[{divide:[...Z(),"hidden","none"]}],"border-color":[{border:F()}],"border-color-x":[{"border-x":F()}],"border-color-y":[{"border-y":F()}],"border-color-s":[{"border-s":F()}],"border-color-e":[{"border-e":F()}],"border-color-bs":[{"border-bs":F()}],"border-color-be":[{"border-be":F()}],"border-color-t":[{"border-t":F()}],"border-color-r":[{"border-r":F()}],"border-color-b":[{"border-b":F()}],"border-color-l":[{"border-l":F()}],"divide-color":[{divide:F()}],"outline-style":[{outline:[...Z(),"none","hidden"]}],"outline-offset":[{"outline-offset":[Se,J,K]}],"outline-w":[{outline:["",Se,ja,xn]}],"outline-color":[{outline:F()}],shadow:[{shadow:["","none",u,To,Mo]}],"shadow-color":[{shadow:F()}],"inset-shadow":[{"inset-shadow":["none",m,To,Mo]}],"inset-shadow-color":[{"inset-shadow":F()}],"ring-w":[{ring:j()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:F()}],"ring-offset-w":[{"ring-offset":[Se,xn]}],"ring-offset-color":[{"ring-offset":F()}],"inset-ring-w":[{"inset-ring":j()}],"inset-ring-color":[{"inset-ring":F()}],"text-shadow":[{"text-shadow":["none",f,To,Mo]}],"text-shadow-color":[{"text-shadow":F()}],opacity:[{opacity:[Se,J,K]}],"mix-blend":[{"mix-blend":[...ae(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":ae()}],"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":[Se]}],"mask-image-linear-from-pos":[{"mask-linear-from":ne()}],"mask-image-linear-to-pos":[{"mask-linear-to":ne()}],"mask-image-linear-from-color":[{"mask-linear-from":F()}],"mask-image-linear-to-color":[{"mask-linear-to":F()}],"mask-image-t-from-pos":[{"mask-t-from":ne()}],"mask-image-t-to-pos":[{"mask-t-to":ne()}],"mask-image-t-from-color":[{"mask-t-from":F()}],"mask-image-t-to-color":[{"mask-t-to":F()}],"mask-image-r-from-pos":[{"mask-r-from":ne()}],"mask-image-r-to-pos":[{"mask-r-to":ne()}],"mask-image-r-from-color":[{"mask-r-from":F()}],"mask-image-r-to-color":[{"mask-r-to":F()}],"mask-image-b-from-pos":[{"mask-b-from":ne()}],"mask-image-b-to-pos":[{"mask-b-to":ne()}],"mask-image-b-from-color":[{"mask-b-from":F()}],"mask-image-b-to-color":[{"mask-b-to":F()}],"mask-image-l-from-pos":[{"mask-l-from":ne()}],"mask-image-l-to-pos":[{"mask-l-to":ne()}],"mask-image-l-from-color":[{"mask-l-from":F()}],"mask-image-l-to-color":[{"mask-l-to":F()}],"mask-image-x-from-pos":[{"mask-x-from":ne()}],"mask-image-x-to-pos":[{"mask-x-to":ne()}],"mask-image-x-from-color":[{"mask-x-from":F()}],"mask-image-x-to-color":[{"mask-x-to":F()}],"mask-image-y-from-pos":[{"mask-y-from":ne()}],"mask-image-y-to-pos":[{"mask-y-to":ne()}],"mask-image-y-from-color":[{"mask-y-from":F()}],"mask-image-y-to-color":[{"mask-y-to":F()}],"mask-image-radial":[{"mask-radial":[J,K]}],"mask-image-radial-from-pos":[{"mask-radial-from":ne()}],"mask-image-radial-to-pos":[{"mask-radial-to":ne()}],"mask-image-radial-from-color":[{"mask-radial-from":F()}],"mask-image-radial-to-color":[{"mask-radial-to":F()}],"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":R()}],"mask-image-conic-pos":[{"mask-conic":[Se]}],"mask-image-conic-from-pos":[{"mask-conic-from":ne()}],"mask-image-conic-to-pos":[{"mask-conic-to":ne()}],"mask-image-conic-from-color":[{"mask-conic-from":F()}],"mask-image-conic-to-color":[{"mask-conic-to":F()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:rt()}],"mask-repeat":[{mask:Ee()}],"mask-size":[{mask:ue()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",J,K]}],filter:[{filter:["","none",J,K]}],blur:[{blur:Ye()}],brightness:[{brightness:[Se,J,K]}],contrast:[{contrast:[Se,J,K]}],"drop-shadow":[{"drop-shadow":["","none",h,To,Mo]}],"drop-shadow-color":[{"drop-shadow":F()}],grayscale:[{grayscale:["",Se,J,K]}],"hue-rotate":[{"hue-rotate":[Se,J,K]}],invert:[{invert:["",Se,J,K]}],saturate:[{saturate:[Se,J,K]}],sepia:[{sepia:["",Se,J,K]}],"backdrop-filter":[{"backdrop-filter":["","none",J,K]}],"backdrop-blur":[{"backdrop-blur":Ye()}],"backdrop-brightness":[{"backdrop-brightness":[Se,J,K]}],"backdrop-contrast":[{"backdrop-contrast":[Se,J,K]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Se,J,K]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Se,J,K]}],"backdrop-invert":[{"backdrop-invert":["",Se,J,K]}],"backdrop-opacity":[{"backdrop-opacity":[Se,J,K]}],"backdrop-saturate":[{"backdrop-saturate":[Se,J,K]}],"backdrop-sepia":[{"backdrop-sepia":["",Se,J,K]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":p()}],"border-spacing-x":[{"border-spacing-x":p()}],"border-spacing-y":[{"border-spacing-y":p()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",J,K]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Se,"initial",J,K]}],ease:[{ease:["linear","initial",w,J,K]}],delay:[{delay:[Se,J,K]}],animate:[{animate:["none",z,J,K]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[g,J,K]}],"perspective-origin":[{"perspective-origin":E()}],rotate:[{rotate:O()}],"rotate-x":[{"rotate-x":O()}],"rotate-y":[{"rotate-y":O()}],"rotate-z":[{"rotate-z":O()}],scale:[{scale:ge()}],"scale-x":[{"scale-x":ge()}],"scale-y":[{"scale-y":ge()}],"scale-z":[{"scale-z":ge()}],"scale-3d":["scale-3d"],skew:[{skew:Te()}],"skew-x":[{"skew-x":Te()}],"skew-y":[{"skew-y":Te()}],transform:[{transform:[J,K,"","none","gpu","cpu"]}],"transform-origin":[{origin:E()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:$()}],"translate-x":[{"translate-x":$()}],"translate-y":[{"translate-y":$()}],"translate-z":[{"translate-z":$()}],"translate-none":["translate-none"],zoom:[{zoom:[Er,J,K]}],accent:[{accent:F()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:F()}],"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",J,K]}],"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":F()}],"scrollbar-track-color":[{"scrollbar-track":F()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"scroll-m":[{"scroll-m":p()}],"scroll-mx":[{"scroll-mx":p()}],"scroll-my":[{"scroll-my":p()}],"scroll-ms":[{"scroll-ms":p()}],"scroll-me":[{"scroll-me":p()}],"scroll-mbs":[{"scroll-mbs":p()}],"scroll-mbe":[{"scroll-mbe":p()}],"scroll-mt":[{"scroll-mt":p()}],"scroll-mr":[{"scroll-mr":p()}],"scroll-mb":[{"scroll-mb":p()}],"scroll-ml":[{"scroll-ml":p()}],"scroll-p":[{"scroll-p":p()}],"scroll-px":[{"scroll-px":p()}],"scroll-py":[{"scroll-py":p()}],"scroll-ps":[{"scroll-ps":p()}],"scroll-pe":[{"scroll-pe":p()}],"scroll-pbs":[{"scroll-pbs":p()}],"scroll-pbe":[{"scroll-pbe":p()}],"scroll-pt":[{"scroll-pt":p()}],"scroll-pr":[{"scroll-pr":p()}],"scroll-pb":[{"scroll-pb":p()}],"scroll-pl":[{"scroll-pl":p()}],"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",J,K]}],fill:[{fill:["none",...F()]}],"stroke-w":[{stroke:[Se,ja,xn,Ql]}],stroke:[{stroke:["none",...F()]}],"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 nf=new Set(["$$slots","$$events","$$legacy","href","onclick","class","disabled","part","children"]);function cc(t,e){Oe(e,!0);let r=qt(e,nf);var n=Ve(),a=V(n);Gt(a,()=>e.href?"a":"button",!1,(o,i)=>{_t(o,d=>({role:e.href?"link":"button",class:d,tabindex:"0",href:e.href,onclick:e.onclick,part:e.part,disabled:e.disabled,...r}),[()=>se("border-0 bg-none outline-none",e.class)]);var s=Ve(),l=V(s);Wn(l,()=>e.children),y(i,s)}),y(t,n),De()}var af=new Set(["$$slots","$$events","$$legacy","loading","variant","disabled","size","part","onclick","href","class"]),of=T('<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>'),sf=T("<!> <!>",1);function qi(t,e){Oe(e,!0);let r=re(e,"loading",3,!1),n=re(e,"variant",3,"primary"),a=re(e,"disabled",3,!1),o=re(e,"size",3,"md"),i=qt(e,af);{let s=Y(()=>se("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));cc(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=sf(),m=V(u);{var f=v=>{var g=of();y(v,g)};U(m,v=>{r()&&v(f)})}var h=L(m,2);zt(h,e,"default",{},null),y(l,u)},$$slots:{default:!0}}))}De()}var lf=T('<div class="p-4 text-base"><span class="line-clamp-1 break-all font-normal"> </span></div>'),cf=T('<a class="block w-full text-left px-4 py-3 hover:bg-gray-100/50" target="_blank"> </a>'),df=T('<button class="block w-full text-left px-4 py-3 hover:bg-gray-100/50"> </button>'),uf=T('<a class="block w-full text-left px-4 py-3 hover:bg-gray-100/50"> </a>'),ff=T('<div class="border-b border-[color:--s-login-popup-border-color] text-sm font-bold"><!></div>');function Po(t,e){Oe(e,!0);let r=re(e,"target",3,"_self");const n=async u=>{try{await u.auth.logout()}catch(m){console.error("Logout failed:",m)}};var a=ff(),o=W(a);{var i=u=>{var m=Ve(),f=V(m);Br(f,()=>e.api.auth.getUser(),null,(h,v)=>{var g=lf(),b=W(g),w=Ae(b,!0);q(g),H(()=>{var z;return te(w,(z=c(v))==null?void 0:z.email)}),y(h,g)}),y(u,m)},s=u=>{var m=Ve(),f=V(m);Br(f,()=>e.api.generateLink({target:"account"}),null,(h,v)=>{var g=cf(),b=Ae(g,!0);H(w=>{Le(g,"href",c(v)),te(b,w)},[()=>e.text||e.t("my_account")]),y(h,g)}),y(u,m)},l=u=>{var m=df(),f=Ae(m,!0);H(h=>te(f,h),[()=>e.text||e.t("logout")]),or("click",m,()=>n(e.api)),y(u,m)},d=u=>{var m=uf(),f=Ae(m,!0);H(()=>{Le(m,"href",e.href),Le(m,"target",r()),te(f,e.text)}),y(u,m)};U(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)})}q(a),y(t,a),De()}Vr(["click"]),Vd();var hf=T('<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>'),vf=T('<img class="w-full h-full object-cover group-hover:opacity-80 transition-opacity duration-100"/>'),mf=T('<span class="row absolute top-0 left-0 w-full h-full"> </span>'),gf=T("<span><!></span>");function Vi(t,e){Oe(e,!1);let r=re(e,"src",8,""),n=re(e,"alt",8,"Avatar"),a=re(e,"size",8,"md"),o=re(e,"loading",8,!1);Ii();var i=gf(),s=W(i);{var l=m=>{var f=hf();y(m,f)},d=m=>{var f=vf();H(()=>{Le(f,"src",r()),Le(f,"alt",n())}),y(m,f)},u=m=>{var f=mf(),h=Ae(f,!0);H(v=>te(h,v),[()=>(ft(n()),ct(()=>n().charAt(0).toUpperCase()))]),y(m,f)};U(s,m=>{o()?m(l):r()?m(d,1):m(u,-1)})}q(i),H(m=>Re(i,1,m),[()=>Fe((ft(se),ft(a()),ct(()=>se("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"))))]),y(t,i),De()}const zr={AUTHENTICATED:"sesamyJsAuthenticated",LOGOUT:"sesamyJsLogout"},pf={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 _f(t,e){return new CustomEvent(t,{detail:e,bubbles:!0,composed:!0})}function Ar(t,e,r){return t.dispatchEvent(_f(e,r))}function bf(t,e){return e==="unknown"||t===e?"none":t==="unauthenticated"&&e==="authenticated"?"login":t==="authenticated"&&e==="unauthenticated"?"logout":"none"}var dc=T("<!> <!> <!>",1),yf=T('<div class="relative"><button class="block" aria-haspopup="true"><!></button> <div role="menu"><!></div></div>');function uc(t,e){Oe(e,!0);let r=re(e,"loading",7),n=re(e,"loggedIn",7),a=re(e,"class",7,""),o=he(!1),i=he(!1),s=he(null),l=he(null),d="unknown",u=null,m=null;const f=5e3,h=()=>{m&&(clearTimeout(m),m=null),M(o,!1)},v=S=>{S.persisted&&h()},g=S=>{const p=S??{};return{sub:typeof p.sub=="string"?p.sub:"",...p}},b=async S=>{const p=bf(d,S);if(d=S,p==="login"){const x=u?await u.auth.getUser().catch(()=>null):null;Ar(e.$$host,"sesamy:login-success",{userinfo:g(x)})}else p==="logout"&&Ar(e.$$host,"sesamy:logout",{})},w=()=>{b("authenticated")},z=()=>{b("unauthenticated")},P=S=>{const p=S.target,x=e.$$host.querySelector('[slot="popup-menu"]');p!==e.$$host&&!e.$$host.contains(p)&&p!==x&&!(x&&x.contains(p))&&M(i,!1)};Lo(()=>{window.addEventListener(zr.AUTHENTICATED,w),window.addEventListener(zr.LOGOUT,z),window.addEventListener("pageshow",v),document.addEventListener("pointerdown",P)}),Ta(()=>{window.removeEventListener(zr.AUTHENTICATED,w),window.removeEventListener(zr.LOGOUT,z),window.removeEventListener("pageshow",v),document.removeEventListener("pointerdown",P),m&&(clearTimeout(m),m=null)});const R=async S=>{M(o,!0),m&&clearTimeout(m),m=setTimeout(h,f);try{await S.auth.login({appState:{source:"login-component"}})}catch(p){h();const x=p instanceof Error?p:void 0,k=x&&x.code||((x==null?void 0:x.name)??"login_failed");Ar(e.$$host,"sesamy:login-error",{error:{code:k,message:(x==null?void 0:x.message)??String(p),cause:p}}),console.error("Login failed:",p)}},E=async S=>{u=S;try{n(await S.auth.isAuthenticated()),d=n()?"authenticated":"unauthenticated",n()&&(M(s,await S.auth.getUser(),!0),M(l,await S.generateLink({target:"account"}),!0))}catch(p){console.error("Error checking login status:",p)}};var A={get loading(){return r()},set loading(S){r(S),gt()},get loggedIn(){return n()},set loggedIn(S){n(S),gt()},get class(){return a()},set class(S=""){a(S),gt()}};return Yn(t,{children:fo,$$slots:{default:(S,p)=>{const x=Y(()=>p.api),k=Y(()=>p.t);var I=Ve(),X=V(I);Br(X,()=>E(c(x)),Q=>{Vi(Q,{loading:!0,size:"sm"})},(Q,He)=>{var Ie=Ve(),be=V(Ie);{var tt=xe=>{var F=yf(),rt=W(F),Ee=W(rt);zt(Ee,e,"avatar",{},C=>{{let j=Y(()=>{var Z;return(Z=c(s))==null?void 0:Z.picture});Vi(C,{get src(){return c(j)},get loading(){return r()},size:"sm"})}}),q(rt);var ue=L(rt,2),Ce=W(ue);zt(Ce,e,"popup-menu",{},C=>{var j=dc(),Z=V(j);Po(Z,{get api(){return c(x)},get t(){return c(k)},type:"EMAIL"});var ae=L(Z,2);Po(ae,{get api(){return c(x)},get t(){return c(k)},type:"ACCOUNT"});var ne=L(ae,2);Po(ne,{get api(){return c(x)},get t(){return c(k)},type:"LOGOUT"}),y(C,j)}),q(ue),q(F),H(C=>{rt.disabled=r(),Le(rt,"aria-expanded",c(i)),Re(ue,1,C)},[()=>Fe(se("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",rt,()=>M(i,!c(i))),y(xe,F)},je=xe=>{{let F=Y(()=>se("!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()));qi(xe,{get class(){return c(F)},variant:"secondary",get disabled(){return c(o)},onclick:()=>R(c(x)),size:"sm",children:(rt,Ee)=>{var ue=dc(),Ce=V(ue);zt(Ce,e,"button-text-prefix",{},null);var C=L(Ce,2);zt(C,e,"button-text",{},Z=>{var ae=Tt();H(ne=>te(ae,ne),[()=>c(k)("login")]),y(Z,ae)});var j=L(C,2);zt(j,e,"button-text-suffix",{},null),y(rt,ue)},$$slots:{default:!0}})}};U(be,xe=>{n()?xe(tt):xe(je,-1)})}y(Q,Ie)}),y(S,I)}}}),De(A)}Vr(["click"]),customElements.define("sesamy-login",wn(uc,{loading:{},loggedIn:{},class:{}},["avatar","popup-menu","button-text-prefix","button-text","button-text-suffix"],[],{mode:"open"},Fa));var wf=new Set(["$$slots","$$events","$$legacy","up","right","down","left","style","class","children"]),xf=T("<div><!></div>");function Pt(t,e){Oe(e,!0);let r=qt(e,wf);var n=xf();_t(n,o=>({class:o,style:e.style,...r}),[()=>se(!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=W(n);Wn(a,()=>e.children),q(n),y(t,n),De()}const kf={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 Cf=new Set(["$$slots","$$events","$$legacy","name","multiColor","ratio","class"]),Lf=Sr("<svg></svg>");function ir(t,e){Oe(e,!0);let r=re(e,"multiColor",3,!1),n=re(e,"ratio",3,1),a=qt(e,Cf);const{elements:o,fills:i,strokes:s,viewBoxWidth:l,viewBoxHeight:d,widthRatio:u,heightRatio:m}=kf[e.name];var f=Lf();_t(f,(h,v)=>({class:h,viewBox:l&&d?`0 0 ${l} ${d}`:void 0,width:`${n()*u}em`,height:`${n()*m}em`,style:v,...a}),[()=>se(`icon-${e.name}`,e.class),()=>r()?[...i.map((h,v)=>h&&`--${e.name}-fill-color-${v}: ${h};`),...s.map((h,v)=>h&&`--${e.name}-stroke-color-${v}: ${h};`)].filter(Boolean).join(""):void 0]),on(f,()=>o.join(""),!0),q(f),y(t,f),De()}var Sf=new Set(["$$slots","$$events","$$legacy","up","right","down","left","style","class","children"]),Ef=T("<div><!></div>");function $r(t,e){Oe(e,!0);let r=qt(e,Sf);var n=Ef();_t(n,o=>({class:o,style:e.style,...r}),[()=>se(!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=W(n);Wn(a,()=>e.children),q(n),y(t,n),De()}var zf=Sr('<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>'),Af=Sr('<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>'),$f=Sr('<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>'),Mf=Sr('<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>'),Tf=Sr('<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>'),Pf=Sr('<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>'),Rf=Sr('<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>'),If=Sr('<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>'),Nf=Sr("<!><!><!><!><!><!><!><!>",1);function fc(t,e){Oe(e,!1);const r=Ea();let n=re(e,"method",8),a=re(e,"width",8,"578"),o=re(e,"height",8,"176"),i=re(e,"darkModeSupport",8,!1);iu(()=>ft(n()),()=>{M(r,(n()??"").toLowerCase())}),su(),Ii();var s=Nf(),l=V(s);{var d=x=>{var k=zf(),I=L(W(k)),X=W(I);St(),q(I),q(k),H(Q=>{Le(k,"width",a()),Le(k,"height",o()),Re(X,0,Q)},[()=>Fe((ft(se),ft(i()),ct(()=>se("fill-[#4A4A49]",i()&&"dark:fill-white"))))]),y(x,k)};U(l,x=>{(c(r)==="swish"||c(r)==="swish_direct")&&x(d)})}var u=L(l);{var m=x=>{var k=Af(),I=Ae(k);H(X=>{Le(k,"width",a()),Le(k,"height",o()),Re(I,0,X)},[()=>Fe((ft(se),ft(i()),ct(()=>se("fill-black",i()&&"dark:fill-white"))))]),y(x,k)},f=Y(()=>(c(r),ct(()=>c(r).includes("klarna"))));U(u,x=>{c(f)&&x(m)})}var h=L(u);{var v=x=>{var k=$f(),I=L(W(k),4);q(k),H(X=>{Le(k,"width",a()),Le(k,"height",o()),Re(I,0,X)},[()=>Fe((ft(se),ft(i()),ct(()=>se("fill-[#3C4043]",i()&&"dark:fill-white"))))]),y(x,k)};U(h,x=>{c(r)==="google-pay"&&x(v)})}var g=L(h);{var b=x=>{var k=Mf(),I=W(k),X=L(I),Q=L(X),He=L(Q),Ie=L(He);q(k),H((be,tt,je,xe,F)=>{Le(k,"width",a()),Le(k,"height",o()),Re(I,0,be),Re(X,0,tt),Re(Q,0,je),Re(He,0,xe),Re(Ie,0,F)},[()=>Fe((ft(se),ft(i()),ct(()=>se("fill-black",i()&&"dark:fill-white")))),()=>Fe((ft(se),ft(i()),ct(()=>se("fill-black",i()&&"dark:fill-white")))),()=>Fe((ft(se),ft(i()),ct(()=>se("fill-black",i()&&"dark:fill-white")))),()=>Fe((ft(se),ft(i()),ct(()=>se("fill-black",i()&&"dark:fill-white")))),()=>Fe((ft(se),ft(i()),ct(()=>se("fill-black",i()&&"dark:fill-white"))))]),y(x,k)};U(g,x=>{c(r)==="apple-pay"&&x(b)})}var w=L(g);{var z=x=>{var k=Tf();H(()=>{Le(k,"width",a()),Le(k,"height",o())}),y(x,k)};U(w,x=>{c(r)==="vipps"&&x(z)})}var P=L(w);{var R=x=>{var k=Pf();H(()=>{Le(k,"width",a()),Le(k,"height",o())}),y(x,k)};U(P,x=>{c(r)==="amex"&&x(R)})}var E=L(P);{var A=x=>{var k=Rf();H(()=>{Le(k,"width",a()),Le(k,"height",o())}),y(x,k)};U(E,x=>{c(r)==="visa"&&x(A)})}var S=L(E);{var p=x=>{var k=If();H(()=>{Le(k,"width",a()),Le(k,"height",o())}),y(x,k)};U(S,x=>{c(r)==="mastercard"&&x(p)})}y(t,s),De()}function Ha(t,e){Oe(e,!0);let r=re(e,"size",3,"md");{let n=Y(()=>se("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"));$r(t,{get class(){return c(n)},children:(a,o)=>{{let i=Y(()=>e.name.toUpperCase());fc(a,{get method(){return c(i)},width:"38",height:"auto"})}},$$slots:{default:!0}})}De()}var Of=T('<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>'),Df=T("<!> <!>",1);function Ga(t,e){Oe(e,!0);let r=re(e,"loading",7,!1),n=re(e,"variant",7,"primary"),a=re(e,"disabled",7,!1),o=re(e,"size",7,"md"),i=re(e,"part",7),s=re(e,"onclick",7),l=re(e,"href",7),d=re(e,"type",7,"button"),u=re(e,"class",7);var m={get loading(){return r()},set loading(f=!1){r(f),gt()},get variant(){return n()},set variant(f="primary"){n(f),gt()},get disabled(){return a()},set disabled(f=!1){a(f),gt()},get size(){return o()},set size(f="md"){o(f),gt()},get part(){return i()},set part(f){i(f),gt()},get onclick(){return s()},set onclick(f){s(f),gt()},get href(){return l()},set href(f){l(f),gt()},get type(){return d()},set type(f="button"){d(f),gt()},get class(){return u()},set class(f){u(f),gt()}};return Yn(t,{children:(f,h)=>{{let v=Y(()=>se("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()));cc(f,{get class(){return c(v)},get href(){return l()},get onclick(){return s()},get part(){return i()},get disabled(){return a()},get type(){return d()},children:(g,b)=>{var w=Df(),z=V(w);{var P=E=>{var A=Of();y(E,A)};U(z,E=>{r()&&E(P)})}var R=L(z,2);zt(R,e,"default",{},null),y(g,w)},$$slots:{default:!0}})}},$$slots:{default:!0}}),De(m)}customElements.define("sesamy-button",wn(Ga,{loading:{},variant:{},disabled:{},size:{},part:{},onclick:{},href:{},type:{},class:{}},["default"],[],{mode:"open"},Fa));function Ff(t){const e=t-1;return e*e*e+1}function Cn(t,e,r){return Number.isNaN(e)?"":`${t}: ${r*e}px;`}function jf(t,{delay:e=0,duration:r=400,easing:n=Ff,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(w=>`${w[0].toUpperCase()}${w.slice(1)}`),m=parseFloat(o[`padding${u[0]}`]),f=parseFloat(o[`padding${u[1]}`]),h=parseFloat(o[`margin${u[0]}`]),v=parseFloat(o[`margin${u[1]}`]),g=parseFloat(o[`border${u[0]}Width`]),b=parseFloat(o[`border${u[1]}Width`]);return{delay:e,duration:r,easing:n,css:w=>`overflow: hidden;opacity: ${Math.min(w*20,1)*i};`+Cn(s,l,w)+Cn(`padding-${d[0]}`,m,w)+Cn(`padding-${d[1]}`,f,w)+Cn(`margin-${d[0]}`,h,w)+Cn(`margin-${d[1]}`,v,w)+Cn(`border-${d[0]}-width`,g,w)+Cn(`border-${d[1]}-width`,b,w)+`min-${s}: 0`}}var Hf=T('<li class="row-up-left gap-2"><!> <div> </div></li>'),Gf=T("<ul></ul>");function Bi(t,e){Oe(e,!0);var r=Gf();nn(r,21,()=>e.features,Pa,(n,a)=>{var o=Hf(),i=W(o);ir(i,{class:"text-primary text-[0.9em] mt-0.5",name:"checkmark"});var s=L(i,2),l=Ae(s,!0);q(o),H(d=>{Re(s,1,d),te(l,c(a))},[()=>Fe(se("flex-1 leading-snug"))]),Fu(3,o,()=>jf),y(n,o)}),q(r),H(n=>Re(r,1,n),[()=>Fe(se("space-y-0.5 @md:space-y-1.5",e.class))]),y(t,r),De()}const qf=/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$/,qa=t=>{if(!qf.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 Vf=T("<div><!></div>");function Ui(t,e){Oe(e,!0);let r=re(e,"horizontal",3,!1);var n=Vf(),a=W(n);Wn(a,()=>e.children),q(n),H(o=>Re(n,1,o),[()=>Fe(se("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))]),y(t,n),De()}var Bf=T('<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 hc(t,e){Oe(e,!0);var r=Bf(),n=W(r),a=L(W(n),2),o=Ae(a,!0);q(n),q(r),H((i,s)=>{Re(r,1,i),Re(n,1,s),te(o,e.text)},[()=>Fe(se("absolute top-2 -right-1.5 rotate-3",e.chunky&&"top-5")),()=>Fe(se("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"))]),y(t,r),De()}var Uf=new Set(["$$slots","$$events","$$legacy","id","name","type","checked","children","onchange","class"]),Wf=T('<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>'),Zf=T(`<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>`),Yf=T('<label><input class="peer sr-only"/> <!> <!> <div><!></div></label>');function Ro(t,e){Oe(e,!0);let r=re(e,"type",3,"radio"),n=qt(e,Uf);var a=Yf();_t(a,()=>({class:"p-3 @3xl:p-4 row-left gap-4 w-full relative cursor-pointer",for:e.id,...n}));var o=W(a);Mi(o);var i=L(o,2);{var s=f=>{var h=Wf(),v=W(h),g=W(v);ir(g,{name:"checkmark"}),q(v),q(h),y(f,h)};U(i,f=>{r()==="checkbox"&&f(s)})}var l=L(i,2);{var d=f=>{var h=Zf();y(f,h)};U(l,f=>{r()==="radio"&&f(d)})}var u=L(l,2),m=W(u);Wn(m,()=>e.children),q(u),q(a),H(f=>{Le(o,"type",r()),Ju(o,e.checked),Le(o,"name",e.name),Le(o,"id",e.id),Re(u,1,f)},[()=>Fe(se("column-up-left @md:row-left flex-1 !justify-between",e.class))]),or("change",o,function(...f){var h;(h=e.onchange)==null||h.apply(this,f)}),y(t,a),De()}Vr(["change"]);var Kf=T('<a class="inline-link with-icon"><span> </span> <!></a>'),Jf=T("<div><!> <!></div>");function Wi(t,e){Oe(e,!0);let r=re(e,"class",3,"");var n=Jf(),a=W(n);on(a,()=>e.description);var o=L(a,2);{var i=s=>{var l=Kf(),d=W(l),u=Ae(d,!0),m=L(d,2);ir(m,{name:"arrow-up-right-from-square"}),q(l),H(f=>{Le(l,"href",e.readMoreLink),te(u,f)},[()=>e.readMoreText||e.t("read_more")]),y(s,l)};U(o,s=>{e.readMoreLink&&s(i)})}q(n),H(()=>Re(n,1,`markdown-container ${r()??""}`)),y(t,n),De()}var Xf=T('<div class="text-gray-500 line-through @xs/box:text-lg"> <!></div>'),Qf=T('<div class="h-6 @xs/box:h-7"><!></div>'),e2=T('<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>'),Io=T("<!> <!>",1),t2=T('<div class="text-base @xl:text-lg font-bold leading-tight"> </div> <!> <!>',1),r2=T('<div class="@container/box w-full"><!></div>'),n2=T("<hr/>"),a2=T('<div class="text-base font-bold leading-tight"> </div> <!>',1),o2=T('<div class="text-base font-bold leading-none"> <!></div>'),i2=T("<div> <!></div>"),s2=T('<!> <div class="column-left @md:column-right"><!> <!></div> <!>',1);function l2(t,e){Oe(e,!0);let r=re(e,"horizontal",3,!1),n=re(e,"loading",3,!1),a=he(void 0);const o=()=>e.subscriptions.some(i=>typeof i.discountPrice=="number"&&i.discountPrice<(i.price||1/0));{let i=Y(()=>se(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"));Ui(t,{get class(){return c(i)},get horizontal(){return r()},children:(s,l)=>{var d=Ve(),u=V(d);nn(u,17,()=>e.subscriptions,Pa,(m,f,h)=>{const v=Y(()=>c(f)),g=Y(()=>typeof c(v).price=="number"),b=Y(()=>typeof c(v).discountPrice=="number"),w=Y(()=>c(b)&&c(v).comparePeriodText||c(v).periodText);var z=Ve(),P=V(z);{var R=A=>{var S=r2(),p=W(S);{let x=Y(()=>se("border bg-white dark:bg-black/25 border-gray-300 rounded-lg relative h-full",c(v).tag&&"border-primary mt-0 border-2"));Pt(p,{get class(){return c(x)},children:(k,I)=>{var X=Io(),Q=V(X);{var He=be=>{hc(be,{get text(){return c(v).tag},get t(){return e.t},chunky:!0})};U(Q,be=>{c(v).tag&&be(He)})}var Ie=L(Q,2);Pt(Ie,{class:"p-4 flex-1 gap-2 w-full !justify-between shadow-md",left:!0,up:!0,children:(be,tt)=>{var je=Io(),xe=V(je);Pt(xe,{class:"@xl:p-1",left:!0,children:(ue,Ce)=>{var C=t2(),j=V(C),Z=Ae(j,!0),ae=L(j,2);{var ne=O=>{var ge=e2(),Te=W(ge),$=W(Te),N=Ae($),B=L($,2),G=Ae(B,!0);q(Te);var D=L(Te,2);{var ce=oe=>{var de=Qf(),fe=W(de);{var Ge=Be=>{var nt=Xf(),at=W(nt),Xe=L(at);{var Ne=Me=>{var me=Tt();H(()=>te(me,` / ${c(w)??""}`)),y(Me,me)};U(Xe,Me=>{c(w)&&Me(Ne)})}q(nt),H(()=>te(at,`${c(v).price??""}
35
+ ${e.currency??""} `)),y(Be,nt)};U(fe,Be=>{c(b)&&Be(Ge)})}q(de),y(oe,de)},ee=Y(()=>o());U(D,oe=>{c(ee)&&oe(ce)})}q(ge),H(()=>{te(N,`${(c(b)?c(v).discountPrice:c(v).price)??""}
36
+ ${e.currency??""}`),te(G,c(v).periodText&&` / ${c(v).periodText}`)}),y(O,ge)};U(ae,O=>{c(g)&&O(ne)})}var Ye=L(ae,2);Pt(Ye,{class:"w-full gap-2",left:!0,children:(O,ge)=>{var Te=Io(),$=V(Te);{var N=D=>{Wi(D,{get description(){return c(v).description},get readMoreLink(){return c(v).readMoreLink},get readMoreText(){return c(v).readMoreText},get t(){return e.t},class:"text-gray-700 dark:text-gray-300 text-sm"})};U($,D=>{c(v).description&&D(N)})}var B=L($,2);{var G=D=>{Bi(D,{get features(){return c(v).features},class:"text-gray-700 dark:text-gray-300 text-sm"})};U(B,D=>{c(v).features&&c(v).features.length>0&&D(G)})}y(O,Te)},$$slots:{default:!0}}),H(()=>te(Z,c(v).title)),y(ue,C)},$$slots:{default:!0}});var F=L(xe,2);{var rt=ue=>{Ga(ue,{get href(){return c(v).url},class:"w-full mt-4 bg-[var(--s-paywall-btn-bg-color)] text-[var(--s-paywall-btn-text-color)]",variant:"primary",children:(Ce,C)=>{St();var j=Tt();H(Z=>te(j,Z),[()=>c(v).buttonText||e.t("continue")]),y(Ce,j)},$$slots:{default:!0}})},Ee=ue=>{{let Ce=Y(()=>c(a)===c(v).id);Ga(ue,{get loading(){return c(Ce)},get disabled(){return n()},onclick:()=>{var C;M(a,c(v).id,!0),(C=e.onCheckout)==null||C.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:(C,j)=>{St();var Z=Tt();H(ae=>te(Z,ae),[()=>c(v).buttonText||e.t("continue")]),y(C,Z)},$$slots:{default:!0}})}};U(F,ue=>{c(v).url?ue(rt):ue(Ee,-1)})}y(be,je)},$$slots:{default:!0}}),y(k,X)},$$slots:{default:!0}})}q(S),y(A,S)},E=A=>{var S=Io(),p=V(S);{var x=I=>{var X=n2();H(Q=>Re(X,1,Q),[()=>Fe(se("w-full border-primary opacity-25"))]),y(I,X)};U(p,I=>{h&&I(x)})}var k=L(p,2);Ro(k,{get id(){return c(v).id},class:"gap-2 @md:gap-4",name:"purchase-option",get checked(){return c(v).selected},onchange:()=>e.selectProduct(c(f)),children:(I,X)=>{var Q=s2(),He=V(Q);Pt(He,{class:"flex-1",left:!0,children:(Ee,ue)=>{var Ce=a2(),C=V(Ce),j=Ae(C,!0),Z=L(C,2);{var ae=ne=>{Wi(ne,{get description(){return c(v).description},get readMoreLink(){return c(v).readMoreLink},get readMoreText(){return c(v).readMoreText},get t(){return e.t}})};U(Z,ne=>{c(v).description&&ne(ae)})}H(()=>te(j,c(v).title)),y(Ee,Ce)},$$slots:{default:!0}});var Ie=L(He,2),be=W(Ie);{var tt=Ee=>{var ue=o2(),Ce=W(ue),C=L(Ce);{var j=Z=>{var ae=Tt();H(()=>te(ae,` / ${c(v).periodText??""}`)),y(Z,ae)};U(C,Z=>{c(v).periodText&&Z(j)})}q(ue),H(()=>te(Ce,`${c(v).discountPrice??""}
37
+ ${e.currency??""} `)),y(Ee,ue)};U(be,Ee=>{c(b)&&Ee(tt)})}var je=L(be,2);{var xe=Ee=>{var ue=i2(),Ce=W(ue),C=L(Ce);{var j=Z=>{var ae=Tt();H(()=>te(ae,` / ${c(w)??""}`)),y(Z,ae)};U(C,Z=>{c(w)&&Z(j)})}q(ue),H(Z=>{Re(ue,1,Z),te(Ce,`${c(v).price??""}
38
+ ${e.currency??""} `)},[()=>Fe(se("text-base font-bold leading-none",c(b)&&"line-through text-gray-400 text-sm"))]),y(Ee,ue)};U(je,Ee=>{c(g)&&Ee(xe)})}q(Ie);var F=L(Ie,2);{var rt=Ee=>{hc(Ee,{get text(){return c(v).tag},get t(){return e.t}})};U(F,Ee=>{c(v).tag&&Ee(rt)})}y(I,Q)},$$slots:{default:!0}}),y(A,S)};U(P,A=>{r()?A(R):A(E,-1)})}y(m,z)}),y(s,d)},$$slots:{default:!0}})}De()}var c2=T('<div class="text-base font-bold leading-tight"> </div> <div class="text-sm"></div>',1),d2=T('<!> <div class="text-base font-bold"> </div>',1);function u2(t,e){Oe(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=Ve(),i=V(o);{var s=l=>{Ui(l,{children:(d,u)=>{{let m=Y(()=>!e.hasSubscriptions);Ro(d,{id:"single-purchase",name:"purchase-option",class:"gap-2 @md:gap-4",get checked(){return c(m)},onchange:a,children:(f,h)=>{var v=d2(),g=V(v);Pt(g,{left:!0,children:(z,P)=>{var R=c2(),E=V(R),A=Ae(E,!0),S=L(E,2);on(S,()=>n,!0),q(S),H(()=>te(A,r)),y(z,R)},$$slots:{default:!0}});var b=L(g,2),w=Ae(b);H(()=>te(w,`${e.singlePurchasePrice??""} ${e.currency??""}`)),y(f,v)},$$slots:{default:!0}})}},$$slots:{default:!0}})};U(i,l=>{e.articleUrl&&l(s)})}y(t,o),De()}var f2=T("<!> <span> </span>",1);function vc(t,e){$r(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=f2(),o=V(a);ir(o,{name:"info",class:"shrink-0 text-2xl -translate-y-px"});var i=L(o,2),s=Ae(i,!0);H(()=>te(s,e.text)),y(r,a)},$$slots:{default:!0}})}const h2=["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"],mc=new Map;function gc(t,e="en"){let r=mc.get(e);return r||(r=new Intl.DisplayNames(e,{type:"region"}),mc.set(e,r)),r.of(t.toUpperCase())}function v2(){return h2}function m2(t="en"){return v2().map(e=>({value:e,label:gc(e,t)||""})).sort((e,r)=>e.label<r.label?-1:e.label>r.label?1:0)}var g2=new Set(["$$slots","$$events","$$legacy","value","error","hasError","placeholder","compact","class"]),p2=T("<div> </div>"),_2=T("<label><input/> <!></label>");function sr(t,e){Oe(e,!0);let r=re(e,"value",15),n=re(e,"hasError",3,!1),a=re(e,"placeholder",3,""),o=re(e,"compact",3,!1),i=re(e,"class",3,""),s=qt(e,g2),l;function d(){l==null||l.focus()}var u={focus:d},m=_2(),f=W(m);_t(f,g=>({...s,class:g,placeholder:a()}),[()=>se("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),zo(f,g=>l=g,()=>l);var h=L(f,2);{var v=g=>{var b=p2(),w=Ae(b,!0);H(z=>{Re(b,1,z),te(w,a())},[()=>Fe(se("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"))]),y(g,b)};U(h,g=>{o()&&g(v)})}return q(m),H(g=>Re(m,1,g),[()=>Fe(se("relative w-full column-left",(n()||!!e.error)&&"z-20"))]),Qu(f,r),y(t,m),De(u)}var b2=T("<div><!></div>");function No(t,e){Oe(e,!0);var r=b2(),n=W(r);Wn(n,()=>e.children),q(r),H(a=>Re(r,1,a),[()=>Fe(se("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))]),y(t,r),De()}var y2=new Set(["$$slots","$$events","$$legacy","value","class","hasError","options","placeholder","compact"]),w2=T("<option> </option>"),x2=T("<div> </div>"),k2=T('<label class="relative w-full gap-2 column-left focus-within:z-10"><select></select> <!> <!></label>');function C2(t,e){Oe(e,!0);let r=re(e,"value",15),n=re(e,"class",3,""),a=re(e,"hasError",3,!1),o=re(e,"placeholder",3,""),i=re(e,"compact",3,!1),s=qt(e,y2);var l=k2(),d=W(l);_t(d,h=>({class:h,...s}),[()=>se("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()))]),nn(d,21,()=>e.options,({value:h,label:v})=>h,(h,v,g,b)=>{let w=()=>c(v).value,z=()=>c(v).label;var P=w2(),R=Ae(P,!0),E={};H(()=>{te(R,z()),E!==(E=w())&&(P.value=(P.__value=E)??"")}),y(h,P)}),q(d);var u=L(d,2);{var m=h=>{var v=x2(),g=Ae(v,!0);H(b=>{Re(v,1,b),te(g,o())},[()=>Fe(se("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"))]),y(h,v)};U(u,h=>{i()&&h(m)})}var f=L(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"}),q(l),Bu(d,r),y(t,l),De()}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 L2=()=>/Chrome/.test(navigator==null?void 0:navigator.userAgent)&&!/Edge|OPR/.test(navigator==null?void 0:navigator.userAgent),S2=()=>window==null?void 0:window.ApplePaySession;function E2(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Va={},Kn={},Jn={},Do={},pc;function z2(){if(pc)return Do;pc=1,Object.defineProperty(Do,"__esModule",{value:!0});function t(e,r){if(!e)throw new Error(r)}return Do.default=t,Do}var _c;function A2(){if(_c)return Jn;_c=1;var t=Jn&&Jn.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(Jn,"__esModule",{value:!0});const e=t(z2());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 Jn.default=r,Jn}var Xn={},Fo={},bc;function $2(){if(bc)return Fo;bc=1,Object.defineProperty(Fo,"__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 Fo.default=t,Fo}var jo={},yc;function M2(){if(yc)return jo;yc=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 Qn={},Ho={},wc;function T2(){if(wc)return Ho;wc=1,Object.defineProperty(Ho,"__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 Ho.default=e,Ho}var xc;function P2(){if(xc)return Qn;xc=1;var t=Qn&&Qn.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(Qn,"__esModule",{value:!0});const e=t(T2()),r=2;function n(a){const i=e.default(a).split("@");if(i.length<r)return!1;for(let m=0;m<i.length;m++)if(i[m]==="")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 m=1;m<u.length;m++)l+=u[m]+".";l=l.substring(0,l.length-1)}return{topLevelDomain:l,secondLevelDomain:s,domain:d,address:i.join("@")}}return Qn.default=n,Qn}var kc;function R2(){if(kc)return Xn;kc=1;var t=Xn&&Xn.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(Xn,"__esModule",{value:!0});const e=t($2()),r=t(M2()),n=t(P2());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:m,topLevelDomains:f}=o;if(m&&f&&m.indexOf(s.secondLevelDomain)!==-1&&f.indexOf(s.topLevelDomain)!==-1)return;let h=r.default({domain:s.domain,domains:l,distanceFunction:u,threshold:d});if(h)return h==s.domain?void 0:{address:s.address,domain:h,full:s.address+"@"+h};const v=r.default({domain:s.secondLevelDomain,domains:m,distanceFunction:u,threshold:o.secondLevelThreshold}),g=r.default({domain:s.topLevelDomain,domains:f,distanceFunction:u,threshold:o.topLevelThreshold});if(s.domain){h=s.domain;let b=!1;if(v&&v!=s.secondLevelDomain&&(h=h.replace(s.secondLevelDomain,v),b=!0),g&&g!=s.topLevelDomain&&s.secondLevelDomain!==""&&(h=h.replace(new RegExp(s.topLevelDomain+"$"),g),b=!0),b)return{address:s.address,domain:h,full:s.address+"@"+h}}}return Xn.default=a,Xn}var Go={},gr={},qo={},Cc;function I2(){if(Cc)return qo;Cc=1,Object.defineProperty(qo,"__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 qo.default=t,qo}var Lc;function Sc(){if(Lc)return gr;Lc=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(I2()),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 Ec;function N2(){if(Ec)return Go;Ec=1,Object.defineProperty(Go,"__esModule",{value:!0});const t=Sc();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 Go.default=e,Go}var zc;function O2(){if(zc)return Kn;zc=1;var t=Kn&&Kn.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(Kn,"__esModule",{value:!0});const e=t(A2()),r=t(R2()),n=t(N2());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 Kn.default=a,Kn}var Ac;function D2(){return Ac||(Ac=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(O2());t.run=r.default;const n=Sc();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 F2=D2();const Zi=E2(F2);var j2=T('<div><div class="overflow-hidden"><!></div></div>');function $c(t,e){Oe(e,!0);let r=re(e,"isOpen",3,!1);var n=j2(),a=W(n),o=W(a);zt(o,e,"default",{},null),q(a),q(n),H(i=>Re(n,1,i),[()=>Fe(se("grid transition-[grid-template-rows] duration-200 ease-out grid-rows-[0fr]",r()&&"grid-rows-[1fr]"))]),y(t,n),De()}const Mc=(...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},Tc=(...t)=>{for(const e of t){const r=e==null?void 0:e.trim();if(r)return r}},H2=[["utmSource","utm-source"],["utmMedium","utm-medium"],["utmCampaign","utm-campaign"],["utmTerm","utm-term"],["utmContent","utm-content"]],Pc=t=>{const e={};for(const[r,n]of H2){const a=t==null?void 0:t[n];a&&(e[r]=a)}return e},Yi=async(t,e,r)=>{const n=new URL(t.checkoutUrl);n.searchParams.set("norecreate","true"),t.language&&n.searchParams.set("lang",t.language),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 G2=T('<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 q2(t,e){Oe(e,!0);let r=re(e,"year",15,""),n=re(e,"month",15,""),a=re(e,"day",15,""),o=re(e,"hasError",3,!1),i,s,l;const d=(E,A,S)=>p=>{const x=p.target,k=x.value.replace(/[^0-9]/g,""),I=A?k.slice(0,A):k;x.value=I,E(I),A&&S&&I.length===A&&setTimeout(()=>{const X=S();X&&X.focus&&X.focus()},0)},u=E=>A=>{A.key==="Backspace"&&A.target.value===""&&E&&setTimeout(()=>{const p=E();p&&p.focus&&p.focus()},0)},m=E=>{var A;r(E),(A=e.onYearChange)==null||A.call(e,E)},f=E=>{var A;n(E),(A=e.onMonthChange)==null||A.call(e,E)},h=E=>{var A;a(E),(A=e.onDayChange)==null||A.call(e,E)};var v=G2(),g=W(v),b=Ae(g,!0),w=L(g,2),z=W(w);{let E=Y(()=>d(m,4,()=>s)),A=Y(u),S=Y(()=>e.t("year")),p=Y(()=>new Date().getFullYear());zo(sr(z,{get oninput(){return c(E)},get onkeydown(){return c(A)},name:"birth-year",inputmode:"numeric",compact:!0,get placeholder(){return c(S)},get hasError(){return o()},min:"1900",get max(){return c(p)},autocomplete:"bday-year",class:"rounded-none rounded-bl-md w-[calc(100%+1px)]",get value(){return r()},set value(x){r(x)}}),x=>i=x,()=>i)}var P=L(z,2);{let E=Y(()=>d(f,2,()=>l)),A=Y(()=>u(()=>i)),S=Y(()=>e.t("month"));zo(sr(P,{get oninput(){return c(E)},get onkeydown(){return c(A)},name:"birth-month",inputmode:"numeric",compact:!0,get placeholder(){return c(S)},get hasError(){return o()},min:"1",max:"12",autocomplete:"bday-month",class:"rounded-none w-[calc(100%+1px)]",get value(){return n()},set value(p){n(p)}}),p=>s=p,()=>s)}var R=L(P,2);{let E=Y(()=>d(h,2)),A=Y(()=>u(()=>s)),S=Y(()=>e.t("day"));zo(sr(R,{get oninput(){return c(E)},get onkeydown(){return c(A)},name:"birth-day",inputmode:"numeric",compact:!0,get placeholder(){return c(S)},get hasError(){return o()},min:"1",max:"31",autocomplete:"bday-day",class:"rounded-none rounded-br-md",get value(){return a()},set value(p){a(p)}}),p=>l=p,()=>l)}q(w),q(v),H(E=>te(b,E),[()=>e.t("date_of_birth")]),y(t,v),De()}const V2=["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]]},Rc=Object.keys(Vo);function ea(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 Ki(t){const e=/^\s*(\+|00)(.*)$/.exec(t);return e?e[2].replace(/\D/g,""):null}function B2(t,e){return[e,...Rc].find(r=>{const n=ea(r);return n&&t.startsWith(n)})??e}function U2(t,e){const r=B2(t,e),n=ea(r);return{value:`+${t}`,valid:t.startsWith(n)&&Bo(r,t.slice(n.length)),country:r}}function W2(t,e,r){const n=Z2(t,e);if(!r||!n.value)return n;const a=Ki(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 Ic(t,e,r){return new r.AsYouType(e).input(t)}function Z2(t,e){const r=t.replace(/\D/g,"");if(!r)return{value:null,valid:!1,country:e};const n=Ki(t);if(n!==null)return n?U2(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 Y2=t=>`https://scripts.sesamy.com/s/${encodeURIComponent(t)}/phone-lib/${Ue}`,K2=t=>import(t),Ji=new Map;function J2(t,e=K2){const r=Y2(t);let n=Ji.get(r);return n||(n=e(r).catch(a=>{throw Ji.delete(r),a}),Ji.set(r,n)),n}var X2=T("<option> </option>"),Q2=T('<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 e0(t,e){Oe(e,!0);let r=re(e,"value",15),n=re(e,"valid",15),a=re(e,"selectedCountry",15),o=re(e,"locale",3,"en"),i=re(e,"hasError",3,!1),s=he(hr(ct(()=>r())??"")),l=ct(()=>r()),d=he(null);Lo(()=>{J2(e.vendorId).then(x=>M(d,x,!0)).catch(x=>{console.warn("[sesamy] Phone number library unavailable, using basic validation",x)})});const u=x=>{const k=x.currentTarget;let I=k.value;const X=x instanceof InputEvent&&x.inputType.startsWith("insert");c(d)&&X&&k.selectionStart===I.length&&(I=Ic(I,a(),c(d)),k.value=I),M(s,I,!0)},m=x=>{const k=x.currentTarget.value,I=Ki(c(s)),X=ea(a());if(I!=null&&I.startsWith(X)){const Q=I.slice(X.length);M(s,c(d)?Ic(Q,k,c(d)):Q,!0)}a(k)},f=Y(()=>Rc.map(x=>({code:x,label:`${gc(x,o())||x} (+${ea(x)})`})).sort((x,k)=>x.label.localeCompare(k.label,o()))),h=Y(()=>W2(c(s),a(),c(d)));Gr(()=>{l=c(h).value,r(c(h).value),n(c(h).valid),c(h).country!==a()&&a(c(h).country)}),Gr(()=>{const x=r();ct(()=>{x!==l&&M(s,x??"",!0)})}),Gr(()=>{var x;r(),(x=e.onChange)==null||x.call(e)});var v=Q2(),g=W(v),b=W(g),w=W(b),z=Ae(w),P=L(w,2);ir(P,{class:"!text-xs",name:"chevron-down"}),q(b);var R=L(b,2);nn(R,21,()=>c(f),x=>x.code,(x,k)=>{var I=X2(),X=Ae(I,!0),Q={};H(()=>{te(X,c(k).label),Q!==(Q=c(k).code)&&(I.value=(I.__value=Q)??"")}),y(x,I)}),q(R);var E;$l(R),q(g);var A=L(g,2);Mi(A);var S=L(A,2),p=Ae(S,!0);q(v),H((x,k,I,X,Q,He)=>{Re(v,1,x),te(z,`+${k??""}`),Le(R,"aria-label",I),E!==(E=a())&&(R.value=(R.__value=E)??"",Na(R,E)),Ku(A,c(s)),Le(A,"name",e.name),Re(A,1,X),Re(S,1,Q),te(p,He)},[()=>Fe(se("relative w-full gap-2 column-left",i()&&"z-20")),()=>ea(a()),()=>e.t("country"),()=>Fe(se("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")),()=>Fe(se("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",R,m),or("input",A,u),y(t,v),De()}Vr(["change","input"]);var t0=T('<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>'),r0=T('<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),n0=T('<!> <div> <span class="text-primary"> </span>?</div>',1),a0=T('<!> <div class="text-center whitespace-nowrap"> </div>',1),Nc=T("<!> <!>",1),o0=T("<!> <!> <!> <!> <!>",1),i0=T('<span class="text-sm"> </span>'),s0=T('<div class="w-full"><div><!></div> <!></div>'),l0=T('<div class="[&amp;>svg]:max-w-full"><!></div>'),c0=T('<div class="gap-1 hidden @xl:row-left"><!> <!> <!></div>'),d0=T('<!> <!> <!> <!> <!> <div class="grid @sm:grid-cols-2 w-full gap-2 auto-rows-fr"></div>',1),u0=T("<div> </div>"),f0=T('<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>'),h0=T('<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 v0(t,e){Oe(e,!0);const r=m2(e.checkout.language).filter(C=>e.checkout.items.every(j=>!j.geoRestrictions||j.geoRestrictions.type==="ALLOW"&&j.geoRestrictions.countries.includes(C.value)||j.geoRestrictions.type==="BLOCK"&&!j.geoRestrictions.countries.includes(C.value)));let n=he(""),a=he(""),o=he(""),i=he(null),s=he(!1),l=he(hr(e.checkout.country||"SE")),d=he(hr(e.checkout.country&&ea(e.checkout.country)?e.checkout.country:"SE")),u=he(""),m=he(""),f=he(""),h=he(!1),v=he(void 0),g=he(void 0),b=he(""),w,z=he(!1),P=he(""),R=he(hr(e.checkout.giftMode)),E=he("");Gr(()=>{var C;r.map(j=>j.value).includes(c(l))||M(l,(C=r[0])==null?void 0:C.value,!0)}),Gr(()=>{(async()=>{const C=await e.api.auth.getUser();c(n)||M(n,(C==null?void 0:C.email)||"",!0)})()});const A=()=>{var Ye,O,ge,Te,$,N,B,G,D,ce,ee,oe,de,fe,Ge,Be,nt,at,Xe,Ne,Me,me,ot,qe,ke;const C=[];Oo(c(n))||C.push(["email","invalid_email"]),c(R)&&!Oo(c(E))&&C.push(["payerEmail","invalid_email"]),(ge=(O=(Ye=e.checkout)==null?void 0:Ye.fieldSettings)==null?void 0:O.phone)!=null&&ge.enabled&&((N=($=(Te=e.checkout)==null?void 0:Te.fieldSettings)==null?void 0:$.phone)!=null&&N.required)&&!c(i)&&C.push(["phoneNumber","phone_number_required"]),(D=(G=(B=e.checkout)==null?void 0:B.fieldSettings)==null?void 0:G.phone)!=null&&D.enabled&&c(i)&&!c(s)&&C.push(["phoneNumber","invalid_phone_number"]),(oe=(ee=(ce=e.checkout)==null?void 0:ce.fieldSettings)==null?void 0:ee.name)!=null&&oe.enabled&&((Ge=(fe=(de=e.checkout)==null?void 0:de.fieldSettings)==null?void 0:fe.name)!=null&&Ge.required)&&!c(a)&&C.push(["firstName","first_name_required"]),(at=(nt=(Be=e.checkout)==null?void 0:Be.fieldSettings)==null?void 0:nt.name)!=null&&at.enabled&&((Me=(Ne=(Xe=e.checkout)==null?void 0:Xe.fieldSettings)==null?void 0:Ne.name)!=null&&Me.required)&&!c(o)&&C.push(["lastName","last_name_required"]),c(z)&&!Oo(c(P))&&C.push(["referralEmail","referral_email_required"]);const j=new Date().getFullYear(),Z=parseInt(c(u)),ae=parseInt(c(m)),ne=parseInt(c(f));c(u)&&(isNaN(Z)||Z<1900||Z>j)&&C.push(["birthYear","invalid_birth_year"]),c(m)&&(isNaN(ae)||ae<1||ae>12)&&C.push(["birthMonth","invalid_birth_month"]),c(f)&&(isNaN(ne)||ne<1||ne>31)&&C.push(["birthDay","invalid_birth_day"]),(ot=(me=e.checkout.fieldSettings)==null?void 0:me.birthdate)!=null&&ot.enabled&&((ke=(qe=e.checkout.fieldSettings)==null?void 0:qe.birthdate)!=null&&ke.required)&&(!c(u)||!c(m)||!c(f))&&C.push(["birthDate","birthdate_required"]),M(v,C.length?C.reduce((Ct,[Ke,Je])=>({...Ct,[Ke]:Je}),{}):void 0,!0)},S=C=>M(g,C,!0),p=()=>{M(v,void 0),clearTimeout(w),w=setTimeout(()=>{var C;M(b,((C=Zi.run({email:c(n)}))==null?void 0:C.full)||"",!0)},400)},x=async C=>{var Z;if(C.preventDefault(),A(),!(c(v)||!c(g)||e.api.events.emit("sesamyPaywallCheckoutRedirect",{checkoutId:e.checkout.id,country:c(l),paymentMethod:c(g)},!0).canceled)){M(h,!0);try{const ae=["GOOGLE-PAY","APPLE-PAY"].includes(c(g).method),ne=c(u)&&c(m)&&c(f)?`${c(u)}-${c(m).padStart(2,"0")}-${c(f).padStart(2,"0")}`:void 0;await e.api.checkouts.update(e.checkout.id,{paymentData:{provider:c(g).provider,method:ae?"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:ne,referralEmail:c(z)?c(P):void 0,payerEmail:c(R)?c(E):void 0}),Yi(e.checkout,c(g)),M(h,!1);return}catch(ae){(Z=ae==null?void 0:ae.message)!=null&&Z.includes("User already owns item")?M(v,{general:"user_already_owns_item"},!0):(console.error(ae),M(v,{general:"something_went_wrong"},!0)),M(h,!1);return}}},k=e.checkout.availablePaymentMethods.reduce((C,{provider:j,methods:Z})=>[...C,...Z!=null&&Z.length&&j?Z.map(ae=>({provider:j,method:ae})):[]],[]);L2()&&k.push({provider:"STRIPE",method:"GOOGLE-PAY"}),S2()&&k.push({provider:"STRIPE",method:"APPLE-PAY"});const I=k.some(C=>C.method==="STRIPE_KLARNA"),X=k.some(C=>C.method==="KLARNA_PRIVATE");if(I&&X){const C=k.findIndex(j=>j.method==="KLARNA_PRIVATE");C!==-1&&k.splice(C,1)}const Q=k.some(C=>C.method==="SWISH_DIRECT"),He=k.some(C=>C.method==="SWISH");if(Q&&He){const C=k.findIndex(j=>j.method==="SWISH");C!==-1&&k.splice(C,1)}const Ie=V2.map(C=>k.find(j=>j.method===C)).filter(C=>C!==void 0);Ie.length&&S(Ie[0]);var be=h0(),tt=W(be);Pt(tt,{up:!0,left:!0,class:"gap-2 w-full",children:(C,j)=>{var Z=d0(),ae=V(Z);{var ne=D=>{var ce=t0(),ee=W(ce),oe=Ae(ee,!0),de=L(ee,2),fe=Ae(de,!0);q(ce),H((Ge,Be,nt,at)=>{Re(ee,1,Ge),te(oe,Be),Re(de,1,nt),te(fe,at)},[()=>Fe(se("rounded-md px-3 py-2 flex-1",!c(R)&&"bg-white dark:bg-black/25")),()=>e.t("not_gift"),()=>Fe(se("rounded-md px-3 py-2 flex-1",c(R)&&"bg-white dark:bg-black/25")),()=>e.t("is_gift")]),or("click",ee,()=>M(R,!1)),or("click",de,()=>M(R,!0)),y(D,ce)};U(ae,D=>{var ce;(ce=e.paywall.settings.displayOptions)!=null&&ce.enableGift&&D(ne)})}var Ye=L(ae,2);{var O=D=>{var ce=r0(),ee=V(ce),oe=Ae(ee,!0),de=L(ee,2);No(de,{children:(Be,nt)=>{{let at=Y(()=>e.t("email")),Xe=Y(()=>{var Ne;return(Ne=c(v))==null?void 0:Ne.payerEmail});sr(Be,{name:"payer-email",compact:!0,get placeholder(){return c(at)},get hasError(){return c(Xe)},onkeyup:()=>M(v,void 0),get value(){return c(E)},set value(Ne){M(E,Ne,!0)}})}},$$slots:{default:!0}});var fe=L(de,2),Ge=Ae(fe,!0);H((Be,nt)=>{te(oe,Be),te(Ge,nt)},[()=>e.t("your_details"),()=>e.t("recipient_details")]),y(D,ce)};U(Ye,D=>{c(R)&&D(O)})}var ge=L(Ye,2);No(ge,{children:(D,ce)=>{var ee=o0(),oe=V(ee);{let Xe=Y(()=>e.t("email")),Ne=Y(()=>{var Me;return(Me=c(v))==null?void 0:Me.email});sr(oe,{onkeyup:p,name:"email",compact:!0,get placeholder(){return c(Xe)},get hasError(){return c(Ne)},autocomplete:"email",get value(){return c(n)},set value(Me){M(n,Me,!0)}})}var de=L(oe,2);{let Xe=Y(()=>!!c(b));$c(de,{get isOpen(){return c(Xe)},children:(Ne,Me)=>{$r(Ne,{onclick:()=>{M(n,c(b),!0),M(b,"")},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:(me,ot)=>{var qe=a0(),ke=V(qe);$r(ke,{class:"gap-2",children:(Je,ht)=>{var it=n0(),Zt=V(it);ir(Zt,{class:"text-primary text-xl",name:"info"});var dr=L(Zt,2),Yt=W(dr),$n=L(Yt),Pe=Ae($n,!0);St(),q(dr),H(st=>{te(Yt,`${st??""} `),te(Pe,c(b))},[()=>e.t("did_you_mean")]),y(Je,it)},$$slots:{default:!0}});var Ct=L(ke,2),Ke=Ae(Ct,!0);H(Je=>te(Ke,Je),[()=>e.t("click_to_update")]),y(me,qe)},$$slots:{default:!0}})},$$slots:{default:!0}})}var fe=L(de,2);{let Xe=Y(()=>e.t("country"));C2(fe,{get options(){return r},name:"country",compact:!0,autocomplete:"country",get placeholder(){return c(Xe)},get value(){return c(l)},set value(Ne){M(l,Ne,!0)}})}var Ge=L(fe,2);{var Be=Xe=>{{let Ne=Y(()=>{var Me;return!!((Me=c(v))!=null&&Me.phoneNumber)});e0(Xe,{get locale(){return e.checkout.language},get vendorId(){return e.paywall.vendorId},get t(){return e.t},get hasError(){return c(Ne)},onChange:()=>M(v,void 0),name:"tel",get value(){return c(i)},set value(Me){M(i,Me,!0)},get valid(){return c(s)},set valid(Me){M(s,Me,!0)},get selectedCountry(){return c(d)},set selectedCountry(Me){M(d,Me,!0)}})}};U(Ge,Xe=>{var Ne,Me,me;(me=(Me=(Ne=e.checkout)==null?void 0:Ne.fieldSettings)==null?void 0:Me.phone)!=null&&me.enabled&&Xe(Be)})}var nt=L(Ge,2);{var at=Xe=>{var Ne=Nc(),Me=V(Ne);{let ot=Y(()=>e.t("first_name")),qe=Y(()=>{var ke;return(ke=c(v))==null?void 0:ke.firstName});sr(Me,{onkeyup:()=>M(v,void 0),name:"first-name",compact:!0,get placeholder(){return c(ot)},get hasError(){return c(qe)},autocomplete:"given-name",get value(){return c(a)},set value(ke){M(a,ke,!0)}})}var me=L(Me,2);{let ot=Y(()=>e.t("last_name")),qe=Y(()=>{var ke;return(ke=c(v))==null?void 0:ke.lastName});sr(me,{onkeyup:()=>M(v,void 0),name:"last-name",compact:!0,get placeholder(){return c(ot)},get hasError(){return c(qe)},autocomplete:"family-name",get value(){return c(o)},set value(ke){M(o,ke,!0)}})}y(Xe,Ne)};U(nt,Xe=>{var Ne,Me,me;(me=(Me=(Ne=e.checkout)==null?void 0:Ne.fieldSettings)==null?void 0:Me.name)!=null&&me.enabled&&Xe(at)})}y(D,ee)},$$slots:{default:!0}});var Te=L(ge,2);{var $=D=>{{let ce=Y(()=>{var ee,oe,de,fe;return((ee=c(v))==null?void 0:ee.birthYear)||((oe=c(v))==null?void 0:oe.birthMonth)||((de=c(v))==null?void 0:de.birthDay)||((fe=c(v))==null?void 0:fe.birthDate)});q2(D,{get t(){return e.t},get hasError(){return c(ce)},onYearChange:()=>M(v,void 0),onMonthChange:()=>M(v,void 0),onDayChange:()=>M(v,void 0),get year(){return c(u)},set year(ee){M(u,ee,!0)},get month(){return c(m)},set month(ee){M(m,ee,!0)},get day(){return c(f)},set day(ee){M(f,ee,!0)}})}};U(Te,D=>{var ce,ee,oe;(oe=(ee=(ce=e.checkout)==null?void 0:ce.fieldSettings)==null?void 0:ee.birthdate)!=null&&oe.enabled&&D($)})}var N=L(Te,2);{var B=D=>{var ce=s0(),ee=W(ce),oe=W(ee);Ro(oe,{id:"got-referred",name:"got-referred",type:"checkbox",get checked(){return c(z)},onchange:fe=>{const Ge=fe.target;M(z,Ge.checked,!0)},children:(fe,Ge)=>{var Be=i0(),nt=Ae(Be,!0);H(at=>te(nt,at),[()=>e.t("got_referred")]),y(fe,Be)},$$slots:{default:!0}}),q(ee);var de=L(ee,2);$c(de,{get isOpen(){return c(z)},children:(fe,Ge)=>{{let Be=Y(()=>e.t("referral_email")),nt=Y(()=>{var at;return(at=c(v))==null?void 0:at.referralEmail});sr(fe,{name:"referral-email",compact:!0,get placeholder(){return c(Be)},class:"rounded-t-none -mt-px",get hasError(){return c(nt)},onkeyup:()=>M(v,void 0),get value(){return c(P)},set value(at){M(P,at,!0)}})}},$$slots:{default:!0}}),q(ce),H(fe=>Re(ee,1,fe),[()=>Fe(se("bg-white rounded-md border border-gray-200 dark:bg-black/25 dark:border-gray-700",c(z)&&"rounded-b-none"))]),y(D,ce)};U(N,D=>{var ce,ee,oe;(oe=(ee=(ce=e.checkout)==null?void 0:ce.fieldSettings)==null?void 0:ee.referral)!=null&&oe.enabled&&D(B)})}var G=L(N,2);nn(G,23,()=>Ie,D=>`${D.provider}-${D.method}`,(D,ce,ee,oe)=>{const de=Y(()=>c(ce));Ui(D,{children:(fe,Ge)=>{{let Be=Y(()=>!c(ee)),nt=Y(()=>`${c(de).provider}-${c(de).method}`);Ro(fe,{get checked(){return c(Be)},get id(){return c(nt)},name:"payment-method",onchange:()=>S(c(ce)),children:(at,Xe)=>{var Ne=Nc(),Me=V(Ne);{var me=Ke=>{ir(Ke,{name:"card",class:"text-2xl"})},ot=Ke=>{var Je=l0(),ht=W(Je);{let it=Y(()=>c(de).method.includes("KLARNA")?"21":"25");fc(ht,{get method(){return c(de).method},width:"auto",get height(){return c(it)},darkModeSupport:!0})}q(Je),y(Ke,Je)};U(Me,Ke=>{c(de).method==="CARD"?Ke(me):Ke(ot,-1)})}var qe=L(Me,2);{var ke=Ke=>{var Je=c0(),ht=W(Je);Ha(ht,{size:"sm",name:"visa"});var it=L(ht,2);Ha(it,{size:"sm",name:"amex"});var Zt=L(it,2);Ha(Zt,{size:"sm",name:"mastercard"}),q(Je),y(Ke,Je)},Ct=Y(()=>c(de).method&&["CARD","GOOGLE-PAY","APPLE-PAY"].includes(c(de).method));U(qe,Ke=>{c(Ct)&&Ke(ke)})}y(at,Ne)},$$slots:{default:!0}})}},$$slots:{default:!0}})}),q(G),y(C,Z)},$$slots:{default:!0}});var je=L(tt,2);{var xe=C=>{var j=f0();nn(j,21,()=>Object.values(c(v)),Pa,(Z,ae)=>{var ne=u0(),Ye=Ae(ne,!0);H(O=>te(Ye,O),[()=>e.t(c(ae))]),y(Z,ne)}),q(j),y(C,j)};U(je,C=>{c(v)&&C(xe)})}var F=L(je,2);Ga(F,{get loading(){return c(h)},get disabled(){return c(h)},class:"mt-2 w-full shadow-md bg-[var(--s-paywall-btn-bg-color)] text-[var(--s-paywall-btn-text-color)]",type:"submit",children:(C,j)=>{St();var Z=Tt();H(ae=>te(Z,ae),[()=>e.t("pay_now")]),y(C,Z)},$$slots:{default:!0}});var rt=L(F,2),Ee=W(rt);ir(Ee,{name:"chevron-left",class:"text-[8px]"});var ue=L(Ee,2),Ce=Ae(ue,!0);q(rt),q(be),H(C=>te(Ce,C),[()=>e.t("go_back")]),yo("submit",be,x),or("click",rt,function(...C){var j;(j=e.onResetCheckout)==null||j.apply(this,C)}),y(t,be),De()}Vr(["click"]);const m0=t=>{const e=parseFloat(t);return isNaN(e)?0:e},g0={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 p0(){Ba=!0}function _0(){Ba=!1}function b0(){Ba=null}function Oc(){if(Ba!==null)return Ba;const t=document.querySelector('meta[name="sesamy:analytics"]');return(t==null?void 0:t.getAttribute("content"))!=="false"}function ta(...t){return t.find(e=>!!e)||window.location.href}function y0(t,e){return t==="public"?"public":t==="logged-in"?"logged-in":e?"unlocked":"locked"}function w0(t,e){return t||e}function ra(t,e,r){if(Oc())try{t.analytics.track(e,{name:e,...r})}catch(n){console.error(`Failed to track ${e}:`,n)}}var x0=new Set(["$$slots","$$events","$$legacy","api","t","horizontal","host","paywall","onShown","onAccessGranted"]),k0=T("<sesamy-login><!></sesamy-login>",2),Dc=T('<!> <div class="w-full h-px from-transparent bg-gradient-to-r to-transparent via-primary opacity-30"></div>',1),C0=T('<span class="break-all"> </span> <span aria-hidden="true">·</span>',1),L0=T('<!> <button type="button" class="border-0 bg-transparent p-0 underline underline-offset-4 transition-opacity hover:opacity-80"><!></button>',1),S0=T('<img class="h-7 mb-6"/>'),Fc=T("<!> <!>",1),E0=T('<form class="contents"><!> <!></form>'),z0=T("<!> <span></span>",1),A0=T('<!> <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),$0=T('<div class="@container" style="font-size: var(--s-base-font-size, 16px)"><!></div>');function jc(t,e){Oe(e,!0);let r=re(e,"horizontal",3,!1),n=qt(e,x0),a=he(void 0),o=he(void 0),i=he(!1),s=he(""),l=he("pending"),d=he(null);const u=async()=>{const O=await e.api.auth.getUser().catch(()=>null);c(l)!=="logged-out"&&(M(d,typeof(O==null?void 0:O.email)=="string"?O.email:null,!0),M(l,"logged-in"))},m=()=>{M(l,"logged-out"),M(d,null)},f=async()=>{try{await e.api.auth.logout()}catch(O){console.error("Logout failed:",O)}};Lo(()=>{window.addEventListener(zr.LOGOUT,m)}),Ta(()=>{window.removeEventListener(zr.LOGOUT,m)});const h=e.api.content.get(e.host),v=n!=null&&n.price?m0(n.price):h==null?void 0:h.price,g=(n==null?void 0:n["item-src"])||(h==null?void 0:h.url);let{subscriptions:b,singlePurchase:w,headline:z,currency:P,mainColor:R,showLoginButton:E,features:A,footerPaymentMethods:S,logoUrl:p,vendorId:x,settings:{useDefaultLogo:k,styling:I,redirectUrl:X,redirectLabel:Q}}=e.paywall;const He=async()=>{var Te,$,N,B;if(r())return!1;const O=e!=null&&e.pass?e.pass.split(";"):($=(Te=e.api.content.get(e.host))==null?void 0:Te.pass)==null?void 0:$.split(";"),ge=await e.api.entitlements.hasAccess(g||"",O);if(e.api.events.emit("sesamyPaywallAccessChecked",{hasAccess:ge,paywallId:e.paywall.id,articleUrl:g,passes:O}),ge)(N=e.onAccessGranted)==null||N.call(e),Ar(e.host,"sesamy:access-granted",{scopes:O??[]});else{(B=e.onShown)==null||B.call(e);let G=!1;try{G=await e.api.auth.isAuthenticated()}catch(D){console.error("Auth check failed:",D)}G?E&&u():M(l,"logged-out"),Ar(e.host,"sesamy:paywall-shown",{reason:G?"no-entitlement":"unauthenticated"})}return ge},Ie=async O=>{if(M(s,""),M(i,!0),ra(e.api,"addToCart",{itemSrc:ta(g),publisherContentId:h==null?void 0:h.id,sku:O.sku,purchaseOptionId:O.poId,price:O.price,currency:P,paywallId:e.paywall.id}),O!=null&&O.url&&(O==null?void 0:O.url)!==g){window.location.assign(O.url);return}const ge=O!=null&&O.url?{url:O.url}:{sku:O.sku,purchaseOptionId:O.poId},Te=Mc(O.redirectUrl,X,n==null?void 0:n["redirect-url"]),$=Tc(O.redirectLabel,Q,n==null?void 0:n["redirect-label"]);try{const N={items:[ge],requestedDiscountCodes:O.discountCode?[O.discountCode]:void 0,redirectUrl:Te,redirectLabel:$,price:O.price,currency:P,attribution:{...Pc(n),...g?{itemSrc:g}:{},source:"PAYWALL",sourceId:e.paywall.id}};if(e.api.events.emit("sesamyPaywallCreateCheckout",{payload:N,product:O,paywallId:e.paywall.id},!0).canceled){M(i,!1);return}const G=await e.api.checkouts.create(N);if(e.api.events.emit("sesamyPaywallProductSelected",{product:O,checkoutId:G.id,paywallId:e.paywall.id}),r()||O.preferBusiness){Yi(G,void 0,O.preferBusiness);return}M(o,G,!0),M(i,!1)}catch(N){console.error(N),M(s,e.t("something_went_wrong"),!0),M(i,!1);return}},be=async O=>{O.preventDefault(),c(a)&&await Ie(c(a))},tt=async O=>{const ge={...O,features:Array.isArray(O.features)&&O.features.length>0?O.features:Array.isArray(A)?A:[]};M(a,ge,!0),await Ie(ge)},je=O=>{M(s,""),M(a,{...O,features:Array.isArray(O.features)&&O.features.length>0?O.features:Array.isArray(A)?A:[]},!0)},xe=()=>{e.api.events.emit("sesamyPaywallResetCheckout",{paywallId:e.paywall.id}),M(o,void 0)},F=b.length>0;if(F){const O=b.find(({selected:ge})=>ge);O?je(O):(b[0].selected=!0,je(b[0]))}const rt=I!=null&&I.showBackground&&(I!=null&&I.backgroundColor)?I.backgroundColor:"#FFFFFF",Ee=(I==null?void 0:I.showBackground)&&!qa(rt),ue=Ee?"#FFFFFF":"#000000",Ce=qa(R)?"#000000":"#FFFFFF";let C=he(hr(Ee)),Z="<style>"+`
39
39
  :host * {
40
- --s-primary-color: var(--sesamy-paywall-primary-color, ${P});
41
- --s-paywall-bg-color: var(--sesamy-paywall-bg-color, ${Ke});
40
+ --s-primary-color: var(--sesamy-paywall-primary-color, ${R});
41
+ --s-paywall-bg-color: var(--sesamy-paywall-bg-color, ${rt});
42
42
  --s-paywall-text-color: var(--sesamy-paywall-text-color, ${ue});
43
43
  --s-paywall-text-color-70: var(--s-paywall-text-color);
44
44
  --s-paywall-text-color-70: color-mix(in srgb, var(--s-paywall-text-color) 70%, transparent);
@@ -46,14 +46,14 @@
46
46
  --s-login-button-default-text-size: var(--s-base-font-size, 16px);
47
47
  --s-paywall-border-radius: var(--sesamy-paywall-border-radius, calc(0.5 * var(--s-base-font-size, 16px)));
48
48
  --s-paywall-border-radius-desktop: var(--sesamy-paywall-border-radius-desktop, calc(var(--s-paywall-border-radius) * 3));
49
- --s-paywall-theme: var(--sesamy-paywall-theme, ${Ie?"dark":"light"});
49
+ --s-paywall-theme: var(--sesamy-paywall-theme, ${Ee?"dark":"light"});
50
50
  --s-paywall-btn-bg-color: var(--sesamy-paywall-btn-bg-color, var(--s-primary-color));
51
- --s-paywall-btn-text-color: var(--sesamy-paywall-btn-text-color, ${ye});
51
+ --s-paywall-btn-text-color: var(--sesamy-paywall-btn-text-color, ${Ce});
52
52
  --s-paywall-tag-bg-color: var(--sesamy-paywall-tag-bg-color, var(--s-primary-color));
53
- --s-paywall-tag-text-color: var(--sesamy-paywall-tag-text-color, ${ye});
53
+ --s-paywall-tag-text-color: var(--sesamy-paywall-tag-text-color, ${Ce});
54
54
  }
55
- `+"</style>";Gr(()=>{const E=getComputedStyle(e.host).getPropertyValue("--sesamy-paywall-theme").trim();E==="dark"?M(C,!0):E==="light"?M(C,!1):M(C,Ie,!0)});var ce=Fc(),re=q(ce);Ur(re,He,null,(N,E)=>{var O=qe(),F=q(O);{var U=ve=>{var fe=A0(),B=W(fe);{let ne=Y(()=>se("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)]",(R==null?void 0:R.showBackground)&&(R==null?void 0:R.dropShadow)&&"shadow-md @xl:shadow-lg",c(C)&&"dark"));Pt(B,{get class(){return c(ne)},children:(ae,oe)=>{{let de=Y(()=>se("gap-2 @md:gap-4 pt-0 w-full",(R==null?void 0:R.showBackground)&&"px-2 pb-6 @xs:px-8 @md:pb-8 @3xl:px-16",r()&&(R==null?void 0:R.showBackground)&&"px-6 pb-4",!r()&&"max-w-[800px]"));Pt(ae,{get class(){return c(de)},up:!0,left:!0,children:(Ee,ct)=>{var tt=z0(),rt=q(tt);{var nt=Te=>{var it=qe(),Lt=q(it);{var Rr=ur=>{var Kt=Dc(),da=q(Kt);$r(da,{class:"w-full",children:(ua,Xi)=>{var Qr=x0();Pe(Qr,1,"border-0 p-0 underline underline-offset-4 transition-opacity enabled:hover:bg-transparent enabled:hover:opacity-80");var Nr=W(Qr);Gt(Nr,()=>"slot",!1,(Yo,un)=>{_t(Yo,()=>({name:"login-button-text",slot:"button-text"}));var fa=Tt();H((Mn,ha)=>Q(fa,`${Mn??""}
56
- ${ha??""}`),[()=>e.t("already_subscribing"),()=>e.t("login")]),y(un,fa)}),G(Qr),y(ua,Qr)},$$slots:{default:!0}}),St(2),y(ur,Kt)},Ir=ur=>{var Kt=Dc(),da=q(Kt);$r(da,{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:(ua,Xi)=>{var Qr=C0(),Nr=q(Qr);{var Yo=Mn=>{var ha=k0(),Ko=q(ha),Qi=Ae(Ko);St(2),H(oh=>Q(Qi,`${oh??""} ${c(d)??""}`),[()=>e.t("logged_in_as")]),y(Mn,ha)};V(Nr,Mn=>{c(d)&&Mn(Yo)})}var un=L(Nr,2),fa=W(un);Gt(fa,()=>"slot",!1,(Mn,ha)=>{_t(Mn,()=>({name:"logout-button-text"}));var Ko=Tt();H(Qi=>Q(Ko,Qi),[()=>e.t("logout")]),y(ha,Ko)}),G(un),or("click",un,f),y(ua,Qr)},$$slots:{default:!0}}),St(2),y(ur,Kt)};V(Lt,ur=>{c(l)==="logged-out"?ur(Rr):c(l)==="logged-in"&&ur(Ir,1)})}y(Te,it)};V(rt,Te=>{S&&!r()&&Te(nt)})}var Xe=L(rt,2),Ne=W(Xe);{var Me=Te=>{var it=L0();H(Lt=>{Le(it,"src",p),Le(it,"alt",Lt)},[()=>`${e.t("logo_of")} ${x}`]),y(Te,it)};V(Ne,Te=>{k&&Te(Me)})}var ge=L(Ne,2),at=W(ge);Gt(at,()=>"slot",!1,(Te,it)=>{_t(Te,()=>({name:"headline"}));var Lt=Tt();H(()=>Q(Lt,A)),y(it,Lt)}),G(ge),G(Xe);var Ge=L(Xe,2);Gt(Ge,()=>"slot",!1,(Te,it)=>{_t(Te,()=>({name:"below-headline"}))});var ke=L(Ge,2);{var Ct=Te=>{var it=qe(),Lt=q(it);Gt(Lt,()=>"slot",!1,(Rr,Ir)=>{_t(Rr,()=>({name:"features"})),Ui(Ir,{get features(){return c(a).features},class:"font-bold mb-2"})}),y(Te,it)};V(ke,Te=>{c(a)&&!r()&&Te(Ct)})}var We=L(ke,2);{var Ze=Te=>{h0(Te,{get api(){return e.api},get paywall(){return e.paywall},get checkout(){return c(o)},get t(){return e.t},onResetCheckout:Ce})},ht=Te=>{var it=S0(),Lt=W(it);{var Rr=Kt=>{s2(Kt,{get horizontal(){return r()},get subscriptions(){return b},get t(){return e.t},get currency(){return I},selectProduct:je,get loading(){return c(i)},onCheckout:Ye})};V(Lt,Kt=>{b.length&&Kt(Rr)})}var Ir=L(Lt,2);{var ur=Kt=>{var da=Fc(),ua=q(da);{var Xi=Nr=>{d2(Nr,Wr({get singlePurchase(){return w},get currency(){return I},get singlePurchasePrice(){return v},get articleUrl(){return g},get t(){return e.t},selectProduct:je,get hasSubscriptions(){return D}},()=>n))};V(ua,Nr=>{w!=null&&w.enabled&&v&&g&&Nr(Xi)})}var Qr=L(ua,2);Ga(Qr,{get loading(){return c(i)},get disabled(){return c(i)},class:"mt-2 w-full shadow-md bg-[var(--s-paywall-btn-bg-color)] text-[var(--s-paywall-btn-text-color)]",type:"submit",children:(Nr,Yo)=>{St();var un=Tt();H(fa=>Q(un,fa),[()=>e.t("continue")]),y(Nr,un)},$$slots:{default:!0}}),y(Kt,da)};V(Ir,Kt=>{r()||Kt(ur)})}G(it),yo("submit",it,pe),y(Te,it)};V(We,Te=>{var it;c(o)&&!((it=c(a))!=null&&it.preferBusiness)?Te(Ze):Te(ht,-1)})}var ot=L(We,2);{var Zt=Te=>{vc(Te,{get text(){return c(s)}})};V(ot,Te=>{c(s)&&Te(Zt)})}var dr=L(ot,2),Yt=W(dr);$r(Yt,{up:!0,left:!0,class:"gap-2 text-xs !flex-nowrap text-[var(--s-paywall-text-color-70)]",children:(Te,it)=>{var Lt=E0(),Rr=q(Lt);ir(Rr,{name:"lock",class:"my-px"});var Ir=L(Rr,2);on(Ir,()=>e.t("powered_by_sesamy",{0:ur=>`<a class="whitespace-nowrap text-[var(--s-paywall-text-color)]" href="https://sesamy.com/?utm_source=${encodeURIComponent(x)}&utm_medium=referral&utm_campaign=paywall_component" target="_blank" rel="noopener">${ur}</a>`}),!0),G(Ir),y(Te,Lt)},$$slots:{default:!0}});var $n=L(Yt,2);$r($n,{class:"gap-2",children:(Te,it)=>{var Lt=qe(),Rr=q(Lt);nn(Rr,17,()=>z,Pa,(Ir,ur)=>{Ha(Ir,{get name(){return c(ur)}})}),y(Te,Lt)},$$slots:{default:!0}}),G(dr),H(Te=>Pe(Xe,1,Te),[()=>Fe(se("w-full pt-2 @md:pt-4",r()&&"column text-center mb-6"))]),y(Ee,tt)},$$slots:{default:!0}})}},$$slots:{default:!0}})}G(fe),y(ve,fe)};V(F,ve=>{c(E)||ve(U)})}y(N,O)});var Je=L(re,2);on(Je,()=>Z),y(t,ce),De()}Vr(["click"]);var $0=T('<img class="h-7"/>'),M0=T('<div class="w-full text-2xl @md:text-3xl leading-tight font-bold"><!></div> <!>',1),Hc=T("<!> <!>",1),T0=T('<button type="button" class="text-sm gap-1 row"><!> <span> <span class="text-primary"> </span>?</span></button>'),Gc=T("<!> <!> <!>",1),P0=T('<div class="@container" style="font-size: var(--s-base-font-size, 16px)"><form><!></form></div> <!>',1);function R0(t,e){Oe(e,!0);let{headline:r,mainColor:n,logoUrl:a,vendorId:o,settings:{useDefaultLogo:i,styling:s,loginFields:l}}=e.paywall,d,u=he(""),m=he(""),f=he(""),h=he("");const v=(s==null?void 0:s.backgroundColor)||"#FFFFFF",g=(s==null?void 0:s.showBackground)&&!qa(v);let A="<style>"+`
55
+ `+"</style>";Gr(()=>{const ge=getComputedStyle(e.host).getPropertyValue("--sesamy-paywall-theme").trim();ge==="dark"?M(C,!0):ge==="light"?M(C,!1):M(C,Ee,!0)});var ae=Fc(),ne=V(ae);Br(ne,He,null,(O,ge)=>{var Te=Ve(),$=V(Te);{var N=B=>{var G=$0(),D=W(G);{let ce=Y(()=>se("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)]",(I==null?void 0:I.showBackground)&&(I==null?void 0:I.dropShadow)&&"shadow-md @xl:shadow-lg",c(C)&&"dark"));Pt(D,{get class(){return c(ce)},children:(ee,oe)=>{{let de=Y(()=>se("gap-2 @md:gap-4 pt-0 w-full",(I==null?void 0:I.showBackground)&&"px-2 pb-6 @xs:px-8 @md:pb-8 @3xl:px-16",r()&&(I==null?void 0:I.showBackground)&&"px-6 pb-4",!r()&&"max-w-[800px]"));Pt(ee,{get class(){return c(de)},up:!0,left:!0,children:(fe,Ge)=>{var Be=A0(),nt=V(Be);{var at=Pe=>{var st=Ve(),Lt=V(st);{var Rr=ur=>{var Kt=Dc(),da=V(Kt);$r(da,{class:"w-full",children:(ua,Xi)=>{var Qr=k0();Re(Qr,1,"border-0 p-0 underline underline-offset-4 transition-opacity enabled:hover:bg-transparent enabled:hover:opacity-80");var Nr=W(Qr);Gt(Nr,()=>"slot",!1,(Yo,un)=>{_t(Yo,()=>({name:"login-button-text",slot:"button-text"}));var fa=Tt();H((Mn,ha)=>te(fa,`${Mn??""}
56
+ ${ha??""}`),[()=>e.t("already_subscribing"),()=>e.t("login")]),y(un,fa)}),q(Qr),y(ua,Qr)},$$slots:{default:!0}}),St(2),y(ur,Kt)},Ir=ur=>{var Kt=Dc(),da=V(Kt);$r(da,{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:(ua,Xi)=>{var Qr=L0(),Nr=V(Qr);{var Yo=Mn=>{var ha=C0(),Ko=V(ha),Qi=Ae(Ko);St(2),H(oh=>te(Qi,`${oh??""} ${c(d)??""}`),[()=>e.t("logged_in_as")]),y(Mn,ha)};U(Nr,Mn=>{c(d)&&Mn(Yo)})}var un=L(Nr,2),fa=W(un);Gt(fa,()=>"slot",!1,(Mn,ha)=>{_t(Mn,()=>({name:"logout-button-text"}));var Ko=Tt();H(Qi=>te(Ko,Qi),[()=>e.t("logout")]),y(ha,Ko)}),q(un),or("click",un,f),y(ua,Qr)},$$slots:{default:!0}}),St(2),y(ur,Kt)};U(Lt,ur=>{c(l)==="logged-out"?ur(Rr):c(l)==="logged-in"&&ur(Ir,1)})}y(Pe,st)};U(nt,Pe=>{E&&!r()&&Pe(at)})}var Xe=L(nt,2),Ne=W(Xe);{var Me=Pe=>{var st=S0();H(Lt=>{Le(st,"src",p),Le(st,"alt",Lt)},[()=>`${e.t("logo_of")} ${x}`]),y(Pe,st)};U(Ne,Pe=>{k&&Pe(Me)})}var me=L(Ne,2),ot=W(me);Gt(ot,()=>"slot",!1,(Pe,st)=>{_t(Pe,()=>({name:"headline"}));var Lt=Tt();H(()=>te(Lt,z)),y(st,Lt)}),q(me),q(Xe);var qe=L(Xe,2);Gt(qe,()=>"slot",!1,(Pe,st)=>{_t(Pe,()=>({name:"below-headline"}))});var ke=L(qe,2);{var Ct=Pe=>{var st=Ve(),Lt=V(st);Gt(Lt,()=>"slot",!1,(Rr,Ir)=>{_t(Rr,()=>({name:"features"})),Bi(Ir,{get features(){return c(a).features},class:"font-bold mb-2"})}),y(Pe,st)};U(ke,Pe=>{c(a)&&!r()&&Pe(Ct)})}var Ke=L(ke,2);{var Je=Pe=>{v0(Pe,{get api(){return e.api},get paywall(){return e.paywall},get checkout(){return c(o)},get t(){return e.t},onResetCheckout:xe})},ht=Pe=>{var st=E0(),Lt=W(st);{var Rr=Kt=>{l2(Kt,{get horizontal(){return r()},get subscriptions(){return b},get t(){return e.t},get currency(){return P},selectProduct:je,get loading(){return c(i)},onCheckout:tt})};U(Lt,Kt=>{b.length&&Kt(Rr)})}var Ir=L(Lt,2);{var ur=Kt=>{var da=Fc(),ua=V(da);{var Xi=Nr=>{u2(Nr,Wr({get singlePurchase(){return w},get currency(){return P},get singlePurchasePrice(){return v},get articleUrl(){return g},get t(){return e.t},selectProduct:je,get hasSubscriptions(){return F}},()=>n))};U(ua,Nr=>{w!=null&&w.enabled&&v&&g&&Nr(Xi)})}var Qr=L(ua,2);Ga(Qr,{get loading(){return c(i)},get disabled(){return c(i)},class:"mt-2 w-full shadow-md bg-[var(--s-paywall-btn-bg-color)] text-[var(--s-paywall-btn-text-color)]",type:"submit",children:(Nr,Yo)=>{St();var un=Tt();H(fa=>te(un,fa),[()=>e.t("continue")]),y(Nr,un)},$$slots:{default:!0}}),y(Kt,da)};U(Ir,Kt=>{r()||Kt(ur)})}q(st),yo("submit",st,be),y(Pe,st)};U(Ke,Pe=>{var st;c(o)&&!((st=c(a))!=null&&st.preferBusiness)?Pe(Je):Pe(ht,-1)})}var it=L(Ke,2);{var Zt=Pe=>{vc(Pe,{get text(){return c(s)}})};U(it,Pe=>{c(s)&&Pe(Zt)})}var dr=L(it,2),Yt=W(dr);$r(Yt,{up:!0,left:!0,class:"gap-2 text-xs !flex-nowrap text-[var(--s-paywall-text-color-70)]",children:(Pe,st)=>{var Lt=z0(),Rr=V(Lt);ir(Rr,{name:"lock",class:"my-px"});var Ir=L(Rr,2);on(Ir,()=>e.t("powered_by_sesamy",{0:ur=>`<a class="whitespace-nowrap text-[var(--s-paywall-text-color)]" href="https://sesamy.com/?utm_source=${encodeURIComponent(x)}&utm_medium=referral&utm_campaign=paywall_component" target="_blank" rel="noopener">${ur}</a>`}),!0),q(Ir),y(Pe,Lt)},$$slots:{default:!0}});var $n=L(Yt,2);$r($n,{class:"gap-2",children:(Pe,st)=>{var Lt=Ve(),Rr=V(Lt);nn(Rr,17,()=>S,Pa,(Ir,ur)=>{Ha(Ir,{get name(){return c(ur)}})}),y(Pe,Lt)},$$slots:{default:!0}}),q(dr),H(Pe=>Re(Xe,1,Pe),[()=>Fe(se("w-full pt-2 @md:pt-4",r()&&"column text-center mb-6"))]),y(fe,Be)},$$slots:{default:!0}})}},$$slots:{default:!0}})}q(G),y(B,G)};U($,B=>{c(ge)||B(N)})}y(O,Te)});var Ye=L(ne,2);on(Ye,()=>Z),y(t,ae),De()}Vr(["click"]);var M0=T('<img class="h-7"/>'),T0=T('<div class="w-full text-2xl @md:text-3xl leading-tight font-bold"><!></div> <!>',1),Hc=T("<!> <!>",1),P0=T('<button type="button" class="text-sm gap-1 row"><!> <span> <span class="text-primary"> </span>?</span></button>'),Gc=T("<!> <!> <!>",1),R0=T('<div class="@container" style="font-size: var(--s-base-font-size, 16px)"><form><!></form></div> <!>',1);function I0(t,e){Oe(e,!0);let{headline:r,mainColor:n,logoUrl:a,vendorId:o,settings:{useDefaultLogo:i,styling:s,loginFields:l}}=e.paywall,d,u=he(""),m=he(""),f=he(""),h=he("");const v=(s==null?void 0:s.backgroundColor)||"#FFFFFF",g=(s==null?void 0:s.showBackground)&&!qa(v);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, ${v});
@@ -61,11 +61,11 @@
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 I=()=>{clearTimeout(d),d=setTimeout(()=>{var p;M(u,((p=Zi.run({email:c(m)}))==null?void 0:p.full)||"",!0)},400)},P=async()=>{var x;let p=!1;try{p=await e.api.auth.isAuthenticated()}catch(k){console.error("Auth check failed:",k)}return p||((x=e.onShown)==null||x.call(e),e.host&&Ar(e.host,"sesamy:paywall-shown",{reason:"unauthenticated"})),p},S=async(p,x)=>{var k;p.preventDefault();try{await x.auth.login({authorizationParams:{login_hint:c(m),metadata:l!=null&&l.name?{firstName:c(f),lastName:c(h)}:void 0},appState:{source:"registration-wall"}}),(k=e.onAccessGranted)==null||k.call(e)}catch(R){console.error("Login failed:",R)}};var $=qe(),z=q($);Ur(z,P,null,(p,x)=>{var k=qe(),R=q(k);{var X=ee=>{var He=P0(),Re=q(He),pe=W(Re),Ye=W(pe);{let Ce=Y(()=>se("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"));Pt(Ye,{get class(){return c(Ce)},children:(D,Ke)=>{{let Ie=Y(()=>se("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"));Pt(D,{get class(){return c(Ie)},up:!0,left:!0,children:(ue,ye)=>{var C=Gc(),j=q(C);Pt(j,{left:!0,class:"w-full gap-6",children:(re,Je)=>{var N=Hc(),E=q(N);{var O=U=>{var ve=$0();H(fe=>{Le(ve,"src",a),Le(ve,"alt",fe)},[()=>`${e.t("logo_of")} ${o}`]),y(U,ve)};V(E,U=>{i&&U(O)})}var F=L(E,2);Pt(F,{left:!0,class:"gap-3",children:(U,ve)=>{var fe=M0(),B=q(fe),ne=W(B);Gt(ne,()=>"slot",!1,(oe,de)=>{_t(oe,()=>({name:"headline"}));var Ee=Tt();H(()=>Q(Ee,r)),y(de,Ee)}),G(B);var ae=L(B,2);Gt(ae,()=>"slot",!1,(oe,de)=>{_t(oe,()=>({name:"below-headline"}))}),y(U,fe)},$$slots:{default:!0}}),y(re,N)},$$slots:{default:!0}});var Z=L(j,2);No(Z,{children:(re,Je)=>{var N=Gc(),E=q(N);{let fe=Y(()=>e.t("email"));sr(E,{onkeyup:I,compact:!0,get placeholder(){return c(fe)},get value(){return c(m)},set value(B){M(m,B,!0)}})}var O=L(E,2);{var F=fe=>{var B=T0(),ne=W(B);ir(ne,{class:"text-primary text-xl",name:"info"});var ae=L(ne,2),oe=W(ae),de=L(oe),Ee=Ae(de,!0);St(),G(ae),G(B),H(ct=>{Q(oe,`${ct??""} `),Q(Ee,c(u))},[()=>e.t("did_you_mean")]),or("click",B,()=>{M(m,c(u),!0),M(u,"")}),y(fe,B)};V(O,fe=>{c(u)&&fe(F)})}var U=L(O,2);{var ve=fe=>{var B=Hc(),ne=q(B);{let oe=Y(()=>e.t("first_name"));sr(ne,{compact:!0,get placeholder(){return c(oe)},get value(){return c(f)},set value(de){M(f,de,!0)}})}var ae=L(ne,2);{let oe=Y(()=>e.t("last_name"));sr(ae,{compact:!0,get placeholder(){return c(oe)},get value(){return c(h)},set value(de){M(h,de,!0)}})}y(fe,B)};V(U,fe=>{l!=null&&l.name&&fe(ve)})}y(re,N)},$$slots:{default:!0}});var ce=L(Z,2);qi(ce,{type:"submit",class:"w-full shadow-md",children:(re,Je)=>{St();var N=Tt();H(E=>Q(N,E),[()=>e.t("continue")]),y(re,N)},$$slots:{default:!0}}),y(ue,C)},$$slots:{default:!0}})}},$$slots:{default:!0}})}G(pe),G(Re);var je=L(Re,2);on(je,()=>A),yo("submit",pe,Ce=>S(Ce,e.api)),y(ee,He)};V(R,ee=>{c(x)||ee(X)})}y(p,k)}),y(t,$),De()}Vr(["click"]);var I0=new Set(["$$slots","$$events","$$legacy","api","t","host","paywall","onShown","onAccessGranted"]),N0=T('<img class="h-8 max-w-full"/> <div class="w-full h-px bg-gray-200 dark:bg-gray-700"></div>',1),O0=T('<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),D0=T('<button type="button" class="text-sm gap-1 row mt-2"><!> <span> <span class="text-primary"> </span>?</span></button>'),qc=T("<!> <!>",1),F0=T(' <span class="text-primary underline underline-offset-4"> </span>',1),j0=T("<sesamy-login><!></sesamy-login>",2),H0=T('<!> <!> <div class="w-full h-px bg-gray-200 dark:bg-gray-700"></div> <!> <!> <!> <!> <!> <!> <!>',1),G0=T('<div class="@container" style="font-size: var(--s-base-font-size, 16px)"><form novalidate=""><!></form></div>');function q0(t,e){Oe(e,!0);let r=qt(e,I0),n=he(""),a=he(""),o,i=he(!1),s=he(""),l=he(!1);const d=e.api.content.get(e.host),u=(r==null?void 0:r["item-src"])||(d==null?void 0:d.url);let{subscriptions:m,headline:f,currency:h,mainColor:v,showLoginButton:g,features:b,footerPaymentMethods:w,logoUrl:A,vendorId:I,settings:{useDefaultLogo:P,styling:S,redirectUrl:$,redirectLabel:z}}=e.paywall;const p=m.find(({selected:ue})=>ue)||m[0],x=Array.isArray(p==null?void 0:p.features)&&p.features.length>0?p.features:Array.isArray(b)?b:[];Ta(()=>clearTimeout(o));const k=async()=>{var j,Z,ce,re;const ue=e!=null&&e.pass?e.pass.split(";"):(Z=(j=e.api.content.get(e.host))==null?void 0:j.pass)==null?void 0:Z.split(";"),ye=await e.api.entitlements.hasAccess(u||"",ue);if(e.api.events.emit("sesamyPaywallAccessChecked",{hasAccess:ye,paywallId:e.paywall.id,articleUrl:u,passes:ue}),ye)return(ce=e.onAccessGranted)==null||ce.call(e),Ar(e.host,"sesamy:access-granted",{scopes:ue??[]}),!0;(re=e.onShown)==null||re.call(e);let C=!1;try{C=await e.api.auth.isAuthenticated()}catch(Je){console.error("Auth check failed:",Je)}if(C){const Je=await e.api.auth.getUser().catch(()=>null);typeof(Je==null?void 0:Je.email)=="string"&&!c(n)&&M(n,Je.email,!0)}else M(l,g,!0);return Ar(e.host,"sesamy:paywall-shown",{reason:C?"no-entitlement":"unauthenticated"}),!1},R=()=>{clearTimeout(o),o=setTimeout(()=>{var ue;M(a,((ue=Zi.run({email:c(n)}))==null?void 0:ue.full)||"",!0)},400)},X=async ue=>{if(ue.preventDefault(),!p||c(i))return;const ye=p.url&&p.url!==u?p.url:void 0,C=c(n).trim();if(!ye&&!Oo(C)){M(s,e.t("invalid_email"),!0);return}if(M(s,""),M(i,!0),ra(e.api,"addToCart",{itemSrc:ta(u),publisherContentId:d==null?void 0:d.id,sku:p.sku,purchaseOptionId:p.poId,price:p.price,currency:h,paywallId:e.paywall.id}),ye){window.location.assign(ye);return}const j=p.url?{url:p.url}:{sku:p.sku,purchaseOptionId:p.poId};try{const Z={items:[j],email:C,requestedDiscountCodes:p.discountCode?[p.discountCode]:void 0,redirectUrl:Mc(p.redirectUrl,$,r==null?void 0:r["redirect-url"]),redirectLabel:Tc(p.redirectLabel,z,r==null?void 0:r["redirect-label"]),price:p.price,currency:h,attribution:{...Pc(r),...u?{itemSrc:u}:{},source:"PAYWALL",sourceId:e.paywall.id}};if(e.api.events.emit("sesamyPaywallCreateCheckout",{payload:Z,product:p,paywallId:e.paywall.id},!0).canceled){M(i,!1);return}const re=await e.api.checkouts.create(Z);e.api.events.emit("sesamyPaywallProductSelected",{product:p,checkoutId:re.id,paywallId:e.paywall.id}),Yi(re)}catch(Z){console.error(Z),M(s,e.t("something_went_wrong"),!0),M(i,!1)}},ee=S!=null&&S.showBackground&&(S!=null&&S.backgroundColor)?S.backgroundColor:"#FFFFFF",He=(S==null?void 0:S.showBackground)&&!qa(ee),Re=He?"#FFFFFF":"#000000",pe=qa(v)?"#000000":"#FFFFFF";let je="<style>"+`
64
+ `+"</style>";const P=()=>{clearTimeout(d),d=setTimeout(()=>{var p;M(u,((p=Zi.run({email:c(m)}))==null?void 0:p.full)||"",!0)},400)},R=async()=>{var x;let p=!1;try{p=await e.api.auth.isAuthenticated()}catch(k){console.error("Auth check failed:",k)}return p||((x=e.onShown)==null||x.call(e),e.host&&Ar(e.host,"sesamy:paywall-shown",{reason:"unauthenticated"})),p},E=async(p,x)=>{var k;p.preventDefault();try{await x.auth.login({authorizationParams:{login_hint:c(m),metadata:l!=null&&l.name?{firstName:c(f),lastName:c(h)}:void 0},appState:{source:"registration-wall"}}),(k=e.onAccessGranted)==null||k.call(e)}catch(I){console.error("Login failed:",I)}};var A=Ve(),S=V(A);Br(S,R,null,(p,x)=>{var k=Ve(),I=V(k);{var X=Q=>{var He=R0(),Ie=V(He),be=W(Ie),tt=W(be);{let xe=Y(()=>se("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"));Pt(tt,{get class(){return c(xe)},children:(F,rt)=>{{let Ee=Y(()=>se("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"));Pt(F,{get class(){return c(Ee)},up:!0,left:!0,children:(ue,Ce)=>{var C=Gc(),j=V(C);Pt(j,{left:!0,class:"w-full gap-6",children:(ne,Ye)=>{var O=Hc(),ge=V(O);{var Te=N=>{var B=M0();H(G=>{Le(B,"src",a),Le(B,"alt",G)},[()=>`${e.t("logo_of")} ${o}`]),y(N,B)};U(ge,N=>{i&&N(Te)})}var $=L(ge,2);Pt($,{left:!0,class:"gap-3",children:(N,B)=>{var G=T0(),D=V(G),ce=W(D);Gt(ce,()=>"slot",!1,(oe,de)=>{_t(oe,()=>({name:"headline"}));var fe=Tt();H(()=>te(fe,r)),y(de,fe)}),q(D);var ee=L(D,2);Gt(ee,()=>"slot",!1,(oe,de)=>{_t(oe,()=>({name:"below-headline"}))}),y(N,G)},$$slots:{default:!0}}),y(ne,O)},$$slots:{default:!0}});var Z=L(j,2);No(Z,{children:(ne,Ye)=>{var O=Gc(),ge=V(O);{let G=Y(()=>e.t("email"));sr(ge,{onkeyup:P,compact:!0,get placeholder(){return c(G)},get value(){return c(m)},set value(D){M(m,D,!0)}})}var Te=L(ge,2);{var $=G=>{var D=P0(),ce=W(D);ir(ce,{class:"text-primary text-xl",name:"info"});var ee=L(ce,2),oe=W(ee),de=L(oe),fe=Ae(de,!0);St(),q(ee),q(D),H(Ge=>{te(oe,`${Ge??""} `),te(fe,c(u))},[()=>e.t("did_you_mean")]),or("click",D,()=>{M(m,c(u),!0),M(u,"")}),y(G,D)};U(Te,G=>{c(u)&&G($)})}var N=L(Te,2);{var B=G=>{var D=Hc(),ce=V(D);{let oe=Y(()=>e.t("first_name"));sr(ce,{compact:!0,get placeholder(){return c(oe)},get value(){return c(f)},set value(de){M(f,de,!0)}})}var ee=L(ce,2);{let oe=Y(()=>e.t("last_name"));sr(ee,{compact:!0,get placeholder(){return c(oe)},get value(){return c(h)},set value(de){M(h,de,!0)}})}y(G,D)};U(N,G=>{l!=null&&l.name&&G(B)})}y(ne,O)},$$slots:{default:!0}});var ae=L(Z,2);qi(ae,{type:"submit",class:"w-full shadow-md",children:(ne,Ye)=>{St();var O=Tt();H(ge=>te(O,ge),[()=>e.t("continue")]),y(ne,O)},$$slots:{default:!0}}),y(ue,C)},$$slots:{default:!0}})}},$$slots:{default:!0}})}q(be),q(Ie);var je=L(Ie,2);on(je,()=>z),yo("submit",be,xe=>E(xe,e.api)),y(Q,He)};U(I,Q=>{c(x)||Q(X)})}y(p,k)}),y(t,A),De()}Vr(["click"]);var N0=new Set(["$$slots","$$events","$$legacy","api","t","host","paywall","onShown","onAccessGranted"]),O0=T('<img class="h-8 max-w-full"/> <div class="w-full h-px bg-gray-200 dark:bg-gray-700"></div>',1),D0=T('<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),F0=T('<button type="button" class="text-sm gap-1 row mt-2"><!> <span> <span class="text-primary"> </span>?</span></button>'),qc=T("<!> <!>",1),j0=T(' <span class="text-primary underline underline-offset-4"> </span>',1),H0=T("<sesamy-login><!></sesamy-login>",2),G0=T('<!> <!> <div class="w-full h-px bg-gray-200 dark:bg-gray-700"></div> <!> <!> <!> <!> <!> <!> <!>',1),q0=T('<div class="@container" style="font-size: var(--s-base-font-size, 16px)"><form novalidate=""><!></form></div>');function V0(t,e){Oe(e,!0);let r=qt(e,N0),n=he(""),a=he(""),o,i=he(!1),s=he(""),l=he(!1);const d=e.api.content.get(e.host),u=(r==null?void 0:r["item-src"])||(d==null?void 0:d.url);let{subscriptions:m,headline:f,currency:h,mainColor:v,showLoginButton:g,features:b,footerPaymentMethods:w,logoUrl:z,vendorId:P,settings:{useDefaultLogo:R,styling:E,redirectUrl:A,redirectLabel:S}}=e.paywall;const p=m.find(({selected:ue})=>ue)||m[0],x=Array.isArray(p==null?void 0:p.features)&&p.features.length>0?p.features:Array.isArray(b)?b:[];Ta(()=>clearTimeout(o));const k=async()=>{var j,Z,ae,ne;const ue=e!=null&&e.pass?e.pass.split(";"):(Z=(j=e.api.content.get(e.host))==null?void 0:j.pass)==null?void 0:Z.split(";"),Ce=await e.api.entitlements.hasAccess(u||"",ue);if(e.api.events.emit("sesamyPaywallAccessChecked",{hasAccess:Ce,paywallId:e.paywall.id,articleUrl:u,passes:ue}),Ce)return(ae=e.onAccessGranted)==null||ae.call(e),Ar(e.host,"sesamy:access-granted",{scopes:ue??[]}),!0;(ne=e.onShown)==null||ne.call(e);let C=!1;try{C=await e.api.auth.isAuthenticated()}catch(Ye){console.error("Auth check failed:",Ye)}if(C){const Ye=await e.api.auth.getUser().catch(()=>null);typeof(Ye==null?void 0:Ye.email)=="string"&&!c(n)&&M(n,Ye.email,!0)}else M(l,g,!0);return Ar(e.host,"sesamy:paywall-shown",{reason:C?"no-entitlement":"unauthenticated"}),!1},I=()=>{clearTimeout(o),o=setTimeout(()=>{var ue;M(a,((ue=Zi.run({email:c(n)}))==null?void 0:ue.full)||"",!0)},400)},X=async ue=>{if(ue.preventDefault(),!p||c(i))return;const Ce=p.url&&p.url!==u?p.url:void 0,C=c(n).trim();if(!Ce&&!Oo(C)){M(s,e.t("invalid_email"),!0);return}if(M(s,""),M(i,!0),ra(e.api,"addToCart",{itemSrc:ta(u),publisherContentId:d==null?void 0:d.id,sku:p.sku,purchaseOptionId:p.poId,price:p.price,currency:h,paywallId:e.paywall.id}),Ce){window.location.assign(Ce);return}const j=p.url?{url:p.url}:{sku:p.sku,purchaseOptionId:p.poId};try{const Z={items:[j],email:C,requestedDiscountCodes:p.discountCode?[p.discountCode]:void 0,redirectUrl:Mc(p.redirectUrl,A,r==null?void 0:r["redirect-url"]),redirectLabel:Tc(p.redirectLabel,S,r==null?void 0:r["redirect-label"]),price:p.price,currency:h,attribution:{...Pc(r),...u?{itemSrc:u}:{},source:"PAYWALL",sourceId:e.paywall.id}};if(e.api.events.emit("sesamyPaywallCreateCheckout",{payload:Z,product:p,paywallId:e.paywall.id},!0).canceled){M(i,!1);return}const ne=await e.api.checkouts.create(Z);e.api.events.emit("sesamyPaywallProductSelected",{product:p,checkoutId:ne.id,paywallId:e.paywall.id}),Yi(ne)}catch(Z){console.error(Z),M(s,e.t("something_went_wrong"),!0),M(i,!1)}},Q=E!=null&&E.showBackground&&(E!=null&&E.backgroundColor)?E.backgroundColor:"#FFFFFF",He=(E==null?void 0:E.showBackground)&&!qa(Q),Ie=He?"#FFFFFF":"#000000",be=qa(v)?"#000000":"#FFFFFF";let je="<style>"+`
65
65
  :host * {
66
66
  --s-primary-color: var(--sesamy-paywall-primary-color, ${v});
67
- --s-paywall-bg-color: var(--sesamy-paywall-bg-color, ${ee});
68
- --s-paywall-text-color: var(--sesamy-paywall-text-color, ${Re});
67
+ --s-paywall-bg-color: var(--sesamy-paywall-bg-color, ${Q});
68
+ --s-paywall-text-color: var(--sesamy-paywall-text-color, ${Ie});
69
69
  --s-paywall-text-color-70: var(--s-paywall-text-color);
70
70
  --s-paywall-text-color-70: color-mix(in srgb, var(--s-paywall-text-color) 70%, transparent);
71
71
  --s-login-button-default-text-color: var(--s-paywall-text-color);
@@ -73,9 +73,9 @@
73
73
  --s-paywall-border-radius: var(--sesamy-paywall-border-radius, calc(0.5 * var(--s-base-font-size, 16px)));
74
74
  --s-paywall-border-radius-desktop: var(--sesamy-paywall-border-radius-desktop, calc(var(--s-paywall-border-radius) * 3));
75
75
  --s-paywall-btn-bg-color: var(--sesamy-paywall-btn-bg-color, var(--s-primary-color));
76
- --s-paywall-btn-text-color: var(--sesamy-paywall-btn-text-color, ${pe});
76
+ --s-paywall-btn-text-color: var(--sesamy-paywall-btn-text-color, ${be});
77
77
  --s-paywall-headline-font-family: var(--sesamy-paywall-headline-font-family, var(--s-font-family));
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 Ce=qc(),D=q(Ce);{var Ke=ue=>{var ye=qe(),C=q(ye);Ur(C,()=>k().catch(j=>(console.error("Access check failed:",j),!0)),null,(j,Z)=>{var ce=qe(),re=q(ce);{var Je=N=>{var E=G0(),O=W(E),F=W(O);Pt(F,{class:"w-full gap-4 text-center",children:(U,ve)=>{var fe=H0(),B=q(fe);{var ne=ge=>{var at=N0(),Ge=q(at);St(2),H(ke=>{Le(Ge,"src",A),Le(Ge,"alt",ke)},[()=>`${e.t("logo_of")} ${I}`]),y(ge,at)};V(B,ge=>{P&&ge(ne)})}var ae=L(B,2);Pt(ae,{class:"w-full gap-2",children:(ge,at)=>{var Ge=O0(),ke=q(Ge),Ct=W(ke);Gt(Ct,()=>"slot",!1,(Ze,ht)=>{_t(Ze,()=>({name:"headline"}));var ot=Tt();H(()=>Q(ot,f)),y(ht,ot)}),G(ke);var We=L(ke,2);Gt(We,()=>"slot",!1,(Ze,ht)=>{_t(Ze,()=>({name:"below-headline"}));var ot=qe(),Zt=q(ot);{var dr=Yt=>{Wi(Yt,{get description(){return p.description},get readMoreLink(){return p.readMoreLink},get readMoreText(){return p.readMoreText},get t(){return e.t},class:"text-sm"})};V(Zt,Yt=>{p.description&&Yt(dr)})}y(ht,ot)}),y(ge,Ge)},$$slots:{default:!0}});var oe=L(ae,4);Gt(oe,()=>"slot",!1,(ge,at)=>{_t(ge,()=>({name:"features"}));var Ge=qe(),ke=q(Ge);{var Ct=We=>{Ui(We,{get features(){return x},class:"w-full text-left text-sm space-y-2"})};V(ke,We=>{x.length&&We(Ct)})}y(at,Ge)});var de=L(oe,2);No(de,{class:"text-left",children:(ge,at)=>{var Ge=qc(),ke=q(Ge);{let Ze=Y(()=>!!c(s)),ht=Y(()=>e.t("email"));sr(ke,{type:"email",autocomplete:"email",oninput:R,compact:!0,get hasError(){return c(Ze)},get placeholder(){return c(ht)},get value(){return c(n)},set value(ot){M(n,ot,!0)}})}var Ct=L(ke,2);{var We=Ze=>{var ht=D0(),ot=W(ht);ir(ot,{class:"text-primary text-xl",name:"info"});var Zt=L(ot,2),dr=W(Zt),Yt=L(dr),$n=Ae(Yt,!0);St(),G(Zt),G(ht),H(Te=>{Q(dr,`${Te??""} `),Q($n,c(a))},[()=>e.t("did_you_mean")]),or("click",ht,()=>{M(n,c(a),!0),M(a,"")}),y(Ze,ht)};V(Ct,Ze=>{c(a)&&Ze(We)})}y(ge,Ge)},$$slots:{default:!0}});var Ee=L(de,2);qi(Ee,{get loading(){return c(i)},get disabled(){return c(i)},size:"lg",class:"w-full shadow-md bg-[var(--s-paywall-btn-bg-color)] text-[var(--s-paywall-btn-text-color)]",type:"submit",children:(ge,at)=>{St();var Ge=Tt();H(ke=>Q(Ge,ke),[()=>p.buttonText||e.t("continue")]),y(ge,Ge)},$$slots:{default:!0}});var ct=L(Ee,2);{var tt=ge=>{vc(ge,{get text(){return c(s)}})};V(ct,ge=>{c(s)&&ge(tt)})}var rt=L(ct,2);Gt(rt,()=>"slot",!1,(ge,at)=>{_t(ge,()=>({name:"below-button"}))});var nt=L(rt,2);{var Xe=ge=>{$r(ge,{class:"w-full",children:(at,Ge)=>{var ke=j0();Pe(ke,1,"border-0 p-0 text-sm transition-opacity enabled:hover:bg-transparent enabled:hover:opacity-80");var Ct=W(ke);Gt(Ct,()=>"slot",!1,(We,Ze)=>{_t(We,()=>({name:"login-button-text",slot:"button-text"}));var ht=F0(),ot=q(ht),Zt=L(ot),dr=Ae(Zt,!0);H((Yt,$n)=>{Q(ot,`${Yt??""} `),Q(dr,$n)},[()=>e.t("already_subscribing"),()=>e.t("login")]),y(Ze,ht)}),G(ke),y(at,ke)},$$slots:{default:!0}})};V(nt,ge=>{c(l)&&ge(Xe)})}var Ne=L(nt,2);{var Me=ge=>{$r(ge,{class:"gap-2",children:(at,Ge)=>{var ke=qe(),Ct=q(ke);nn(Ct,17,()=>w,Pa,(We,Ze)=>{Ha(We,{get name(){return c(Ze)}})}),y(at,ke)},$$slots:{default:!0}})};V(Ne,ge=>{w!=null&&w.length&&ge(Me)})}y(U,fe)},$$slots:{default:!0}}),G(O),G(E),H(U=>Pe(O,1,U),[()=>Fe(se("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)]",(S==null?void 0:S.showBackground)&&"px-5 py-8 @sm:px-10 @sm:pt-6 @sm:pb-10",(S==null?void 0:S.showBackground)&&(S==null?void 0:S.dropShadow)&&"shadow-md @xl:shadow-lg",He&&"dark"))]),yo("submit",O,X),y(N,E)};V(re,N=>{c(Z)||N(Je)})}y(j,ce)}),y(ue,ye)};V(D,ue=>{p&&ue(Ke)})}var Ie=L(D,2);on(Ie,()=>je),y(t,Ce),De()}Vr(["click"]);var V0=new Set(["$$slots","$$events","$$legacy","$$host"]),U0=T(" <!>",1),B0=T('<div class="sesamy-paywall-error"> </div>'),W0=T('<div class="sesamy-paywall" style="display: contents"><!></div>');function Vc(t,e){Oe(e,!0);let r=qt(e,V0),n=!1,a=!1;const o=()=>{n=!0},i=()=>{a=!0};Ta(()=>{n&&!a&&Ar(e.$$host,"sesamy:paywall-dismissed",{})});function s(d){return d.startsWith("/")||d.startsWith("./")||d.startsWith("../")||d.includes("/")?new URL(d,document.baseURI).href:d}async function l(d){var w;const u=e.$$host,f=new URLSearchParams(window.location.search).has("lab_opts"),h=(w=d.content.get(u))==null?void 0:w.paywallUrl,v=f?h||r["settings-url"]:r["settings-url"]||h;if(!v)return null;const g=await d.paywalls.get(s(v)),b=(g==null?void 0:g.settings.template)||"";return{paywall:g,template:b}}Yn(t,{children:fo,$$slots:{default:(d,u)=>{const m=Y(()=>u.api),f=Y(()=>u.t),h=Y(()=>e.$$host);var v=qe(),g=q(v);Ur(g,()=>l(c(m)),b=>{var w=W0(),A=W(w);zt(A,e,"default",Wr({get api(){return c(m)},get t(){return c(f)}},()=>r),null),G(w),y(b,w)},(b,w)=>{var A=qe(),I=q(A);{var P=S=>{var $=U0(),z=q($),p=L(z);{var x=ee=>{jc(ee,Wr({get api(){return c(m)},get paywall(){return c(w).paywall},get host(){return c(h)},get t(){return c(f)},onShown:o,onAccessGranted:i},()=>r))},k=ee=>{jc(ee,Wr({horizontal:!0,get api(){return c(m)},get paywall(){return c(w).paywall},get host(){return c(h)},get t(){return c(f)},onShown:o,onAccessGranted:i},()=>r))},R=ee=>{q0(ee,Wr({get api(){return c(m)},get paywall(){return c(w).paywall},get host(){return c(h)},get t(){return c(f)},onShown:o,onAccessGranted:i},()=>r))},X=ee=>{R0(ee,Wr({get api(){return c(m)},get t(){return c(f)},get paywall(){return c(w).paywall},get host(){return c(h)},onShown:o,onAccessGranted:i},()=>r))};V(p,ee=>{c(w).template==="ARTICLE"?ee(x):c(w).template==="BOXES"?ee(k,1):c(w).template==="EMAIL"?ee(R,2):c(w).template==="LOGIN"&&ee(X,3)})}H(ee=>Q(z,`${ee??""} `),[()=>c(m).log(`sesamy-paywall with template ${c(w).template}`)]),y(S,$)};V(I,S=>{c(w)&&S(P)})}y(b,A)},(b,w)=>{var A=B0(),I=Ae(A);H(()=>Q(I,`Error loading paywall: ${c(w).message??""}`)),y(b,A)}),y(d,v)}}}),De()}customElements.define("sesamy-paywall",wn(Vc,{},["default"],[],{mode:"open"},Fa));var Z0=new Set(["$$slots","$$events","$$legacy","$$host"]);function Uc(t,e){let r=qt(e,Z0);Yn(t,{children:(n,a)=>{Vi(n,Wr(()=>r))},$$slots:{default:!0}})}customElements.define("sesamy-avatar",wn(Uc,{},[],[],{mode:"open"}));const Y0=1e4,Bc=[1e3,3e3,1e4,3e4];function K0(t){const e=Math.min(Math.max(t,0),Bc.length-1);return Bc[e]}function J0(t){return t instanceof Error?`${t.name&&t.name!=="Error"?`${t.name}: `:""}${t.message}`.slice(0,200):String(t).slice(0,200)}async function X0(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:J0(n)}}}async function Q0(t,e,r=Y0){const n=X0(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 Wc(t){const e=t.parentNode;if(!e)return null;const r={node:t,parent:e,anchor:t.nextSibling};return t.remove(),r}function Zc(t){const{node:e,parent:r,anchor:n}=t;e.isConnected||(n&&n.parentNode===r?r.insertBefore(e,n):r.appendChild(e))}class eh{constructor(e){Qe(this,"detachedSlot",null);Qe(this,"injected",null);Qe(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=Wc(e)??this.detachedSlot),(r=this.injected)!=null&&r.isConnected&&(this.detachedInjected=Wc(this.injected)??this.detachedInjected)}restore(){this.detachedSlot&&(Zc(this.detachedSlot),this.detachedSlot=null),this.detachedInjected&&(Zc(this.detachedInjected),this.detachedInjected=null)}}function th(t,e){t==="granted"&&e.restore(),t==="denied"&&e.detach()}var rh=T(" <!>",1);function Yc(t,e){Oe(e,!0);let r=te(e,"item-src",7,""),n=te(e,"access-level",7),a=te(e,"publisher-content-id",7),o=te(e,"lock-mode",7,"embed"),i=te(e,"locked-content-selector",7),s=null,l=!1,d=!1,u=he("unknown"),m=null,f=null,h=!1,v=null,g=!1,b=null,w=0,A=-1,I=0,P=0,S=null,$=0,z=0,p=!1,x=!1,k=null;function R(){const E=e.$$host;if(!E||s)return;const O=E.querySelector('[slot="content"]');O&&(s=O.cloneNode(!0),O.remove())}function X(){if(o()!=="embed"||k)return;const E=e.$$host;E!=null&&E.isConnected&&getComputedStyle(E).display==="none"&&(k={value:E.style.getPropertyValue("display"),priority:E.style.getPropertyPriority("display")},E.style.setProperty("display",ee("inline"),"important"))}function ee(E){var F;return typeof CSS<"u"&&((F=CSS.supports)==null?void 0:F.call(CSS,"display","revert"))?"revert":E}function He(){const E=k;if(!E)return;k=null;const O=e.$$host;O&&(E.value?O.style.setProperty("display",E.value,E.priority):O.style.removeProperty("display"))}function Re(E,O,F,U){d||(d=!0,ra(E,"viewArticle",{itemSrc:ta(r(),O.url),publisherContentId:a()||O.id,state:b0(F,U)}))}async function pe(E,O=!1){var ne;const F=e.$$host;if(!F||!m)return;O&&(w++,P=0);const U=w;je();const ve=E.content.get(F),fe=y0(n(),ve==null?void 0:ve.accessLevel);let B;if(fe==="public")E.log("Content is public"),B={state:"granted"};else{E.log("Checking access"),I++;try{B=await Q0(E,F)}finally{I--}}(ne=B.late)==null||ne.then(ae=>{ae.state!=="unknown"&&A!==U&&Ye(E,U,ae,ve,fe)}),await Ye(E,U,B,ve,fe)}async function Ye(E,O,F,U,ve){if(!(O!==w||!m)&&A!==O){if(F.state==="unknown"){P++,$++,z||(z=Date.now()),Ie(E,U,F.reason),Ce(E,F.reason);return}A=O,je(),th(F.state,m),M(u,F.state,!0),c(u)==="granted"?X():He(),U&&Re(E,U,ve,c(u)==="granted"),ue(E,U,F.state),c(u)==="granted"&&await Je(E,O)}}function je(){S!==null&&(clearTimeout(S),S=null)}function Ce(E,O){je();const F=K0(P-1);E.log(`Access unresolved (${O??"unknown"}); checking again in ${F}ms`),S=setTimeout(()=>{var U;S=null,(U=e.$$host)!=null&&U.isConnected&&pe(E)},F)}function D(){!f||A===w||P===0||I>0||document.visibilityState==="hidden"||pe(f)}function Ke(E,O,F){var U;try{const ve=E.errors;(U=ve==null?void 0:ve.report)==null||U.call(ve,O,{details:{component:"content-container",...F}})}catch{}}function Ie(E,O,F){if(p)return;p=!0;const U=a()||(O==null?void 0:O.id);ra(E,"content_access_unresolved",{itemSrc:ta(r(),O==null?void 0:O.url),publisherContentId:U,reason:F??"unknown"}),Ke(E,{name:"ContentAccessUnresolved",message:`The content access check had no answer: ${F??"unknown"}`},{stage:"unresolved",reason:F??"unknown",publisherContentId:U,lockMode:o()})}function ue(E,O,F){if(!p||x)return;x=!0;const U=a()||(O==null?void 0:O.id),ve=Date.now()-z;ra(E,"content_access_recovered",{itemSrc:ta(r(),O==null?void 0:O.url),publisherContentId:U,state:F,attempts:$,elapsedMs:ve}),Ke(E,{name:"ContentAccessRecovered",message:`The content access check was answered after ${$} without an answer`},{stage:"recovered",state:F,attempts:$,elapsedMs:ve,publisherContentId:U,lockMode:o()})}function ye(){f&&pe(f,!0)}function C(E){h||(h=!0,f=E,m=new eh(e.$$host),window.addEventListener(zr.AUTHENTICATED,ye),window.addEventListener(zr.LOGOUT,ye),window.addEventListener("online",D),document.addEventListener("visibilitychange",D),queueMicrotask(()=>void pe(E)))}Ta(()=>{window.removeEventListener(zr.AUTHENTICATED,ye),window.removeEventListener(zr.LOGOUT,ye),window.removeEventListener("online",D),document.removeEventListener("visibilitychange",D),je(),w++,m=null,f=null});function j(E){var B;if(l)return;l=!0;const O=e.$$host,F=E.content.get(O),U=a()||(F==null?void 0:F.id)||"",ve=new CustomEvent("sesamyUnlocked",{detail:{publisherContentId:U,itemSrc:r()},bubbles:!0,composed:!0});dispatchEvent(ve);const fe=((B=O.dataset)==null?void 0:B.dcaContentName)??U??"";Ar(O,"sesamy:content-unlocked",{contentName:fe}),ra(E,"content_unlocked",{itemSrc:ta(r(),F==null?void 0:F.url),publisherContentId:U,contentName:fe})}async function Z(E){var B;if(!E)return null;const O=e.$$host;if(!O)return null;const F=document.createElement("div");F.setAttribute("position","relative");const U=O.getAttribute("class");U&&F.setAttribute("class",U),F.innerHTML=E;const ve=F.querySelectorAll("script"),fe=[];return ve.forEach(ne=>{var ae;try{const oe=document.createElement("script");Array.from(ne.attributes).forEach(de=>oe.setAttribute(de.name,de.value)),ne.src?document.head.appendChild(oe):(oe.textContent=ne.textContent,fe.push(oe)),(ae=ne.parentNode)==null||ae.removeChild(ne)}catch(oe){console.error("Failed to process script:",oe,ne)}}),(B=O.parentElement)==null||B.insertBefore(F,O),fe.forEach(ne=>{try{document.head.appendChild(ne),ne.type!=="module"&&document.head.removeChild(ne)}catch(ae){console.error("Failed to execute inline script:",ae,ne)}}),F}async function ce(E){switch(o()){case"encode":const O=(s==null?void 0:s.innerHTML)||"";try{return new TextDecoder().decode(Uint8Array.from(atob(O),F=>F.charCodeAt(0)))}catch(F){return console.error("Error decoding content:",F),""}case"event":return j(E),"";case"proxy":case"signedUrl":return E.content.unlock(e.$$host.parentElement,i());case"embed":return"";default:return console.error("Invalid lock mode"),""}}function re(E){return E===w&&A===E&&c(u)==="granted"}async function Je(E,O){var F,U;try{if(o()==="embed"){j(E);return}if(b||!re(O))return;if(v===null){if(g||(g=!0,R(),!((F=e.$$host)!=null&&F.isConnected)))return;try{v=await ce(E)}finally{g=!1}}if(!((U=e.$$host)!=null&&U.isConnected)||!re(w))return;b=await Z(v),b&&(m==null||m.adopt(b)),o()!=="event"&&j(E)}catch(ve){console.error("Error unlocking content:",ve)}}var N={get"item-src"(){return r()},set"item-src"(E=""){r(E),gt()},get"access-level"(){return n()},set"access-level"(E){n(E),gt()},get"publisher-content-id"(){return a()},set"publisher-content-id"(E){a(E),gt()},get"lock-mode"(){return o()},set"lock-mode"(E="embed"){o(E),gt()},get"locked-content-selector"(){return i()},set"locked-content-selector"(E){i(E),gt()}};return Yn(t,{applyStyles:!1,children:fo,$$slots:{default:(E,O)=>{const F=Y(()=>O.api);St();var U=rh(),ve=q(U),fe=L(ve);{var B=oe=>{var de=qe(),Ee=q(de);zt(Ee,e,"content",{},null),y(oe,de)},ne=oe=>{},ae=oe=>{var de=qe(),Ee=q(de);zt(Ee,e,"preview",{},null),y(oe,de)};V(fe,oe=>{c(u)==="granted"&&o()==="embed"?oe(B):c(u)==="granted"?oe(ne,1):oe(ae,-1)})}H(oe=>Q(ve,`${oe??""} `),[()=>C(c(F))??""]),y(E,U)},error:(E,O)=>{var F=qe(),U=q(F);zt(U,e,"preview",{},null),y(E,F)}}}),De(N)}customElements.define("sesamy-content-container",wn(Yc,{"item-src":{},"access-level":{},"publisher-content-id":{},"lock-mode":{},"locked-content-selector":{}},["content","preview"],[],{mode:"open"},Fa));function Kc(t,e){Oe(e,!1);const r=Hl(),n=async()=>{try{return(await r).auth.isAuthenticated()}catch(i){return console.error("Error checking login status:",i),!1}};Ii();var a=qe(),o=q(a);Ur(o,n,null,(i,s)=>{var l=qe(),d=q(l);{var u=f=>{var h=qe(),v=q(h);zt(v,e,"logged-in",{},null),y(f,h)},m=f=>{var h=qe(),v=q(h);zt(v,e,"not-logged-in",{},null),y(f,h)};V(d,f=>{c(s)?f(u):f(m,-1)})}y(i,l)}),y(t,a),De()}customElements.define("sesamy-visibility",wn(Kc,{},["logged-in","not-logged-in"],[],{mode:"open"},Fa));var nh=new Set(["$$slots","$$events","$$legacy","$$host"]);function Jc(t,e){let r=qt(e,nh);Yn(t,{children:fo,$$slots:{default:(n,a)=>{const o=Y(()=>a.api),i=Y(()=>a.t);Po(n,Wr({get api(){return c(o)},get t(){return c(i)}},()=>r))}}})}customElements.define("sesamy-login-menu-item",wn(Jc,{},[],[],{mode:"open"}));const ah=Ve;xe.Avatar=Uc,xe.ContentContainer=Yc,xe.Login=uc,xe.LoginMenuItem=Jc,xe.Paywall=Vc,xe.SesamyEventName=gf,xe.TrackEventName=m0,xe.Visibility=Kc,xe.disableInteractions=p0,xe.enableInteractions=g0,xe.interactionsEnabled=Oc,xe.resetInteractions=_0,xe.sesamyComponentsVersion=ah,Object.defineProperty(xe,Symbol.toStringTag,{value:"Module"})}));
81
+ `+"</style>";var xe=qc(),F=V(xe);{var rt=ue=>{var Ce=Ve(),C=V(Ce);Br(C,()=>k().catch(j=>(console.error("Access check failed:",j),!0)),null,(j,Z)=>{var ae=Ve(),ne=V(ae);{var Ye=O=>{var ge=q0(),Te=W(ge),$=W(Te);Pt($,{class:"w-full gap-4 text-center",children:(N,B)=>{var G=G0(),D=V(G);{var ce=me=>{var ot=O0(),qe=V(ot);St(2),H(ke=>{Le(qe,"src",z),Le(qe,"alt",ke)},[()=>`${e.t("logo_of")} ${P}`]),y(me,ot)};U(D,me=>{R&&me(ce)})}var ee=L(D,2);Pt(ee,{class:"w-full gap-2",children:(me,ot)=>{var qe=D0(),ke=V(qe),Ct=W(ke);Gt(Ct,()=>"slot",!1,(Je,ht)=>{_t(Je,()=>({name:"headline"}));var it=Tt();H(()=>te(it,f)),y(ht,it)}),q(ke);var Ke=L(ke,2);Gt(Ke,()=>"slot",!1,(Je,ht)=>{_t(Je,()=>({name:"below-headline"}));var it=Ve(),Zt=V(it);{var dr=Yt=>{Wi(Yt,{get description(){return p.description},get readMoreLink(){return p.readMoreLink},get readMoreText(){return p.readMoreText},get t(){return e.t},class:"text-sm"})};U(Zt,Yt=>{p.description&&Yt(dr)})}y(ht,it)}),y(me,qe)},$$slots:{default:!0}});var oe=L(ee,4);Gt(oe,()=>"slot",!1,(me,ot)=>{_t(me,()=>({name:"features"}));var qe=Ve(),ke=V(qe);{var Ct=Ke=>{Bi(Ke,{get features(){return x},class:"w-full text-left text-sm space-y-2"})};U(ke,Ke=>{x.length&&Ke(Ct)})}y(ot,qe)});var de=L(oe,2);No(de,{class:"text-left",children:(me,ot)=>{var qe=qc(),ke=V(qe);{let Je=Y(()=>!!c(s)),ht=Y(()=>e.t("email"));sr(ke,{type:"email",autocomplete:"email",oninput:I,compact:!0,get hasError(){return c(Je)},get placeholder(){return c(ht)},get value(){return c(n)},set value(it){M(n,it,!0)}})}var Ct=L(ke,2);{var Ke=Je=>{var ht=F0(),it=W(ht);ir(it,{class:"text-primary text-xl",name:"info"});var Zt=L(it,2),dr=W(Zt),Yt=L(dr),$n=Ae(Yt,!0);St(),q(Zt),q(ht),H(Pe=>{te(dr,`${Pe??""} `),te($n,c(a))},[()=>e.t("did_you_mean")]),or("click",ht,()=>{M(n,c(a),!0),M(a,"")}),y(Je,ht)};U(Ct,Je=>{c(a)&&Je(Ke)})}y(me,qe)},$$slots:{default:!0}});var fe=L(de,2);qi(fe,{get loading(){return c(i)},get disabled(){return c(i)},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,ot)=>{St();var qe=Tt();H(ke=>te(qe,ke),[()=>p.buttonText||e.t("continue")]),y(me,qe)},$$slots:{default:!0}});var Ge=L(fe,2);{var Be=me=>{vc(me,{get text(){return c(s)}})};U(Ge,me=>{c(s)&&me(Be)})}var nt=L(Ge,2);Gt(nt,()=>"slot",!1,(me,ot)=>{_t(me,()=>({name:"below-button"}))});var at=L(nt,2);{var Xe=me=>{$r(me,{class:"w-full",children:(ot,qe)=>{var ke=H0();Re(ke,1,"border-0 p-0 text-sm transition-opacity enabled:hover:bg-transparent enabled:hover:opacity-80");var Ct=W(ke);Gt(Ct,()=>"slot",!1,(Ke,Je)=>{_t(Ke,()=>({name:"login-button-text",slot:"button-text"}));var ht=j0(),it=V(ht),Zt=L(it),dr=Ae(Zt,!0);H((Yt,$n)=>{te(it,`${Yt??""} `),te(dr,$n)},[()=>e.t("already_subscribing"),()=>e.t("login")]),y(Je,ht)}),q(ke),y(ot,ke)},$$slots:{default:!0}})};U(at,me=>{c(l)&&me(Xe)})}var Ne=L(at,2);{var Me=me=>{$r(me,{class:"gap-2",children:(ot,qe)=>{var ke=Ve(),Ct=V(ke);nn(Ct,17,()=>w,Pa,(Ke,Je)=>{Ha(Ke,{get name(){return c(Je)}})}),y(ot,ke)},$$slots:{default:!0}})};U(Ne,me=>{w!=null&&w.length&&me(Me)})}y(N,G)},$$slots:{default:!0}}),q(Te),q(ge),H(N=>Re(Te,1,N),[()=>Fe(se("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)]",(E==null?void 0:E.showBackground)&&"px-5 py-8 @sm:px-10 @sm:pt-6 @sm:pb-10",(E==null?void 0:E.showBackground)&&(E==null?void 0:E.dropShadow)&&"shadow-md @xl:shadow-lg",He&&"dark"))]),yo("submit",Te,X),y(O,ge)};U(ne,O=>{c(Z)||O(Ye)})}y(j,ae)}),y(ue,Ce)};U(F,ue=>{p&&ue(rt)})}var Ee=L(F,2);on(Ee,()=>je),y(t,xe),De()}Vr(["click"]);var B0=new Set(["$$slots","$$events","$$legacy","$$host"]),U0=T(" <!>",1),W0=T('<div class="sesamy-paywall-error"> </div>'),Z0=T('<div class="sesamy-paywall" style="display: contents"><!></div>');function Vc(t,e){Oe(e,!0);let r=qt(e,B0),n=!1,a=!1;const o=()=>{n=!0},i=()=>{a=!0};Ta(()=>{n&&!a&&Ar(e.$$host,"sesamy:paywall-dismissed",{})});function s(d){return d.startsWith("/")||d.startsWith("./")||d.startsWith("../")||d.includes("/")?new URL(d,document.baseURI).href:d}async function l(d){var w;const u=e.$$host,f=new URLSearchParams(window.location.search).has("lab_opts"),h=(w=d.content.get(u))==null?void 0:w.paywallUrl,v=f?h||r["settings-url"]:r["settings-url"]||h;if(!v)return null;const g=await d.paywalls.get(s(v)),b=(g==null?void 0:g.settings.template)||"";return{paywall:g,template:b}}Yn(t,{children:fo,$$slots:{default:(d,u)=>{const m=Y(()=>u.api),f=Y(()=>u.t),h=Y(()=>e.$$host);var v=Ve(),g=V(v);Br(g,()=>l(c(m)),b=>{var w=Z0(),z=W(w);zt(z,e,"default",Wr({get api(){return c(m)},get t(){return c(f)}},()=>r),null),q(w),y(b,w)},(b,w)=>{var z=Ve(),P=V(z);{var R=E=>{var A=U0(),S=V(A),p=L(S);{var x=Q=>{jc(Q,Wr({get api(){return c(m)},get paywall(){return c(w).paywall},get host(){return c(h)},get t(){return c(f)},onShown:o,onAccessGranted:i},()=>r))},k=Q=>{jc(Q,Wr({horizontal:!0,get api(){return c(m)},get paywall(){return c(w).paywall},get host(){return c(h)},get t(){return c(f)},onShown:o,onAccessGranted:i},()=>r))},I=Q=>{V0(Q,Wr({get api(){return c(m)},get paywall(){return c(w).paywall},get host(){return c(h)},get t(){return c(f)},onShown:o,onAccessGranted:i},()=>r))},X=Q=>{I0(Q,Wr({get api(){return c(m)},get t(){return c(f)},get paywall(){return c(w).paywall},get host(){return c(h)},onShown:o,onAccessGranted:i},()=>r))};U(p,Q=>{c(w).template==="ARTICLE"?Q(x):c(w).template==="BOXES"?Q(k,1):c(w).template==="EMAIL"?Q(I,2):c(w).template==="LOGIN"&&Q(X,3)})}H(Q=>te(S,`${Q??""} `),[()=>c(m).log(`sesamy-paywall with template ${c(w).template}`)]),y(E,A)};U(P,E=>{c(w)&&E(R)})}y(b,z)},(b,w)=>{var z=W0(),P=Ae(z);H(()=>te(P,`Error loading paywall: ${c(w).message??""}`)),y(b,z)}),y(d,v)}}}),De()}customElements.define("sesamy-paywall",wn(Vc,{},["default"],[],{mode:"open"},Fa));var Y0=new Set(["$$slots","$$events","$$legacy","$$host"]);function Bc(t,e){let r=qt(e,Y0);Yn(t,{children:(n,a)=>{Vi(n,Wr(()=>r))},$$slots:{default:!0}})}customElements.define("sesamy-avatar",wn(Bc,{},[],[],{mode:"open"}));const K0=1e4,Uc=[1e3,3e3,1e4,3e4];function J0(t){const e=Math.min(Math.max(t,0),Uc.length-1);return Uc[e]}function X0(t){return t instanceof Error?`${t.name&&t.name!=="Error"?`${t.name}: `:""}${t.message}`.slice(0,200):String(t).slice(0,200)}async function Q0(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:X0(n)}}}async function eh(t,e,r=K0){const n=Q0(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 Wc(t){const e=t.parentNode;if(!e)return null;const r={node:t,parent:e,anchor:t.nextSibling};return t.remove(),r}function Zc(t){const{node:e,parent:r,anchor:n}=t;e.isConnected||(n&&n.parentNode===r?r.insertBefore(e,n):r.appendChild(e))}class th{constructor(e){Qe(this,"detachedSlot",null);Qe(this,"injected",null);Qe(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=Wc(e)??this.detachedSlot),(r=this.injected)!=null&&r.isConnected&&(this.detachedInjected=Wc(this.injected)??this.detachedInjected)}restore(){this.detachedSlot&&(Zc(this.detachedSlot),this.detachedSlot=null),this.detachedInjected&&(Zc(this.detachedInjected),this.detachedInjected=null)}}function Yc(t,e){t==="granted"&&e.restore(),t==="denied"&&e.detach()}var rh=T(" <!>",1);function Kc(t,e){Oe(e,!0);let r=re(e,"item-src",7,""),n=re(e,"access-level",7),a=re(e,"publisher-content-id",7),o=re(e,"lock-mode",7,"embed"),i=re(e,"locked-content-selector",7),s=null,l=!1,d=!1,u=he("unknown"),m=null,f=null,h=!1,v=null,g=-1,b=-1,w=!1,z=null,P=0,R=-1,E=0,A=0,S=null,p=0,x=0,k=!1,I=!1,X=null;function Q(){const $=e.$$host;if(!$||s)return;const N=$.querySelector('[slot="content"]');N&&(s=N.cloneNode(!0),N.remove())}function He(){if(o()!=="embed"||X)return;const $=e.$$host;$!=null&&$.isConnected&&getComputedStyle($).display==="none"&&(X={value:$.style.getPropertyValue("display"),priority:$.style.getPropertyPriority("display")},$.style.setProperty("display",Ie("inline"),"important"))}function Ie($){var B;return typeof CSS<"u"&&((B=CSS.supports)==null?void 0:B.call(CSS,"display","revert"))?"revert":$}function be(){const $=X;if(!$)return;X=null;const N=e.$$host;N&&($.value?N.style.setProperty("display",$.value,$.priority):N.style.removeProperty("display"))}function tt($,N,B,G){d||(d=!0,ra($,"viewArticle",{itemSrc:ta(r(),N.url),publisherContentId:a()||N.id,state:y0(B,G)}))}async function je($,N=!1){var oe;const B=e.$$host;if(!B||!m)return;N&&(P++,A=0);const G=P;F();const D=$.content.get(B),ce=w0(n(),D==null?void 0:D.accessLevel);let ee;if(ce==="public")$.log("Content is public"),ee={state:"granted"};else{$.log("Checking access"),E++;try{ee=await eh($,B)}finally{E--}}(oe=ee.late)==null||oe.then(de=>{de.state!=="unknown"&&R!==G&&xe($,G,de,D,ce)}),await xe($,G,ee,D,ce)}async function xe($,N,B,G,D){if(!(N!==P||!m)&&R!==N){if(B.state==="unknown"){A++,p++,x||(x=Date.now()),Ce($,G,B.reason),rt($,B.reason);return}R=N,F(),Yc(B.state,m),M(u,B.state,!0),c(u)==="granted"?He():be(),G&&tt($,G,D,c(u)==="granted"),C($,G,B.state),c(u)==="granted"&&await ge($,N)}}function F(){S!==null&&(clearTimeout(S),S=null)}function rt($,N){F();const B=J0(A-1);$.log(`Access unresolved (${N??"unknown"}); checking again in ${B}ms`),S=setTimeout(()=>{var G;S=null,(G=e.$$host)!=null&&G.isConnected&&je($)},B)}function Ee(){!f||R===P||A===0||E>0||document.visibilityState==="hidden"||je(f)}function ue($,N,B){var G;try{const D=$.errors;(G=D==null?void 0:D.report)==null||G.call(D,N,{details:{component:"content-container",...B}})}catch{}}function Ce($,N,B){if(k)return;k=!0;const G=a()||(N==null?void 0:N.id);ra($,"content_access_unresolved",{itemSrc:ta(r(),N==null?void 0:N.url),publisherContentId:G,reason:B??"unknown"}),ue($,{name:"ContentAccessUnresolved",message:`The content access check had no answer: ${B??"unknown"}`},{stage:"unresolved",reason:B??"unknown",publisherContentId:G,lockMode:o()})}function C($,N,B){if(!k||I)return;I=!0;const G=a()||(N==null?void 0:N.id),D=Date.now()-x;ra($,"content_access_recovered",{itemSrc:ta(r(),N==null?void 0:N.url),publisherContentId:G,state:B,attempts:p,elapsedMs:D}),ue($,{name:"ContentAccessRecovered",message:`The content access check was answered after ${p} without an answer`},{stage:"recovered",state:B,attempts:p,elapsedMs:D,publisherContentId:G,lockMode:o()})}function j(){f&&je(f,!0)}function Z($){h||(h=!0,f=$,m=new th(e.$$host),window.addEventListener(zr.AUTHENTICATED,j),window.addEventListener(zr.LOGOUT,j),window.addEventListener("online",Ee),document.addEventListener("visibilitychange",Ee),queueMicrotask(()=>void je($)))}Ta(()=>{window.removeEventListener(zr.AUTHENTICATED,j),window.removeEventListener(zr.LOGOUT,j),window.removeEventListener("online",Ee),document.removeEventListener("visibilitychange",Ee),F(),P++,m=null,f=null});function ae($){var ee;if(l)return;l=!0;const N=e.$$host,B=$.content.get(N),G=a()||(B==null?void 0:B.id)||"",D=new CustomEvent("sesamyUnlocked",{detail:{publisherContentId:G,itemSrc:r()},bubbles:!0,composed:!0});dispatchEvent(D);const ce=((ee=N.dataset)==null?void 0:ee.dcaContentName)??G??"";Ar(N,"sesamy:content-unlocked",{contentName:ce}),ra($,"content_unlocked",{itemSrc:ta(r(),B==null?void 0:B.url),publisherContentId:G,contentName:ce})}async function ne($){var ee;if(!$)return null;const N=e.$$host;if(!N)return null;const B=document.createElement("div");B.setAttribute("position","relative");const G=N.getAttribute("class");G&&B.setAttribute("class",G),B.innerHTML=$;const D=B.querySelectorAll("script"),ce=[];return D.forEach(oe=>{var de;try{const fe=document.createElement("script");Array.from(oe.attributes).forEach(Ge=>fe.setAttribute(Ge.name,Ge.value)),oe.src?document.head.appendChild(fe):(fe.textContent=oe.textContent,ce.push(fe)),(de=oe.parentNode)==null||de.removeChild(oe)}catch(fe){console.error("Failed to process script:",fe,oe)}}),(ee=N.parentElement)==null||ee.insertBefore(B,N),ce.forEach(oe=>{try{document.head.appendChild(oe),oe.type!=="module"&&document.head.removeChild(oe)}catch(de){console.error("Failed to execute inline script:",de,oe)}}),B}async function Ye($){switch(o()){case"encode":return $.content.unlock(e.$$host.parentElement,{encodedContent:(s==null?void 0:s.innerHTML)||""});case"event":return ae($),"";case"proxy":case"signedUrl":return $.content.unlock(e.$$host.parentElement,i());case"embed":return"";default:return console.error("Invalid lock mode"),""}}function O($){return $===P&&R===$&&c(u)==="granted"}async function ge($,N){var B,G;try{if(o()==="embed"){ae($);return}if(o()==="encode"&&g!==N){if(b===N)return;b=N;try{Q();const D=await Ye($);if(N!==P)return;v=D,g=N}finally{b===N&&(b=-1)}}if(z||!O(N))return;if(v===null){if(w||(w=!0,Q(),!((B=e.$$host)!=null&&B.isConnected)))return;try{v=await Ye($)}finally{w=!1}}if(!((G=e.$$host)!=null&&G.isConnected)||!O(P))return;z=await ne(v),z&&(m==null||m.adopt(z)),o()!=="event"&&ae($)}catch(D){o()==="encode"&&N===P&&(M(u,"denied"),m&&Yc("denied",m),be()),console.error("Error unlocking content:",D)}}var Te={get"item-src"(){return r()},set"item-src"($=""){r($),gt()},get"access-level"(){return n()},set"access-level"($){n($),gt()},get"publisher-content-id"(){return a()},set"publisher-content-id"($){a($),gt()},get"lock-mode"(){return o()},set"lock-mode"($="embed"){o($),gt()},get"locked-content-selector"(){return i()},set"locked-content-selector"($){i($),gt()}};return Yn(t,{applyStyles:!1,children:fo,$$slots:{default:($,N)=>{const B=Y(()=>N.api);St();var G=rh(),D=V(G),ce=L(D);{var ee=fe=>{var Ge=Ve(),Be=V(Ge);zt(Be,e,"content",{},null),y(fe,Ge)},oe=fe=>{},de=fe=>{var Ge=Ve(),Be=V(Ge);zt(Be,e,"preview",{},null),y(fe,Ge)};U(ce,fe=>{c(u)==="granted"&&o()==="embed"?fe(ee):c(u)==="granted"?fe(oe,1):fe(de,-1)})}H(fe=>te(D,`${fe??""} `),[()=>Z(c(B))??""]),y($,G)},error:($,N)=>{var B=Ve(),G=V(B);zt(G,e,"preview",{},null),y($,B)}}}),De(Te)}customElements.define("sesamy-content-container",wn(Kc,{"item-src":{},"access-level":{},"publisher-content-id":{},"lock-mode":{},"locked-content-selector":{}},["content","preview"],[],{mode:"open"},Fa));function Jc(t,e){Oe(e,!1);const r=Hl(),n=async()=>{try{return(await r).auth.isAuthenticated()}catch(i){return console.error("Error checking login status:",i),!1}};Ii();var a=Ve(),o=V(a);Br(o,n,null,(i,s)=>{var l=Ve(),d=V(l);{var u=f=>{var h=Ve(),v=V(h);zt(v,e,"logged-in",{},null),y(f,h)},m=f=>{var h=Ve(),v=V(h);zt(v,e,"not-logged-in",{},null),y(f,h)};U(d,f=>{c(s)?f(u):f(m,-1)})}y(i,l)}),y(t,a),De()}customElements.define("sesamy-visibility",wn(Jc,{},["logged-in","not-logged-in"],[],{mode:"open"},Fa));var nh=new Set(["$$slots","$$events","$$legacy","$$host"]);function Xc(t,e){let r=qt(e,nh);Yn(t,{children:fo,$$slots:{default:(n,a)=>{const o=Y(()=>a.api),i=Y(()=>a.t);Po(n,Wr({get api(){return c(o)},get t(){return c(i)}},()=>r))}}})}customElements.define("sesamy-login-menu-item",wn(Xc,{},[],[],{mode:"open"}));const ah=Ue;we.Avatar=Bc,we.ContentContainer=Kc,we.Login=uc,we.LoginMenuItem=Xc,we.Paywall=Vc,we.SesamyEventName=pf,we.TrackEventName=g0,we.Visibility=Jc,we.disableInteractions=_0,we.enableInteractions=p0,we.interactionsEnabled=Oc,we.resetInteractions=b0,we.sesamyComponentsVersion=ah,Object.defineProperty(we,Symbol.toStringTag,{value:"Module"})}));