@sesamy/sesamy-components 2.7.0 → 2.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/sesamy-components.d.ts +0 -1
- package/dist/lib/sesamy-components.es.js +2416 -2457
- package/dist/lib/sesamy-components.umd.js +12 -12
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(ae,he){typeof exports=="object"&&typeof module<"u"?he(exports):typeof define=="function"&&define.amd?define(["exports"],he):(ae=typeof globalThis<"u"?globalThis:ae||self,he(ae["@sesamy/sesamy-components"]={}))})(this,function(ae){"use strict";var Cu=Object.defineProperty;var Qa=ae=>{throw TypeError(ae)};var Eu=(ae,he,Ae)=>he in ae?Cu(ae,he,{enumerable:!0,configurable:!0,writable:!0,value:Ae}):ae[he]=Ae;var ct=(ae,he,Ae)=>Eu(ae,typeof he!="symbol"?he+"":he,Ae),ei=(ae,he,Ae)=>he.has(ae)||Qa("Cannot "+Ae);var Ue=(ae,he,Ae)=>(ei(ae,he,"read from private field"),Ae?Ae.call(ae):he.get(ae)),uo=(ae,he,Ae)=>he.has(ae)?Qa("Cannot add the same private member more than once"):he instanceof WeakSet?he.add(ae):he.set(ae,Ae),fo=(ae,he,Ae,Zt)=>(ei(ae,he,"write to private field"),Zt?Zt.call(ae,Ae):he.set(ae,Ae),Ae);var $t,tt;const he="5";typeof window<"u"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(he);const Ae=1,Zt=2,vo=4,ti=8,ri=16,ni=1,oi=2,ai=4,ii=8,li=16,si=4,ci=1,ui=2,mo="[",kn="[!",Cn="]",Kt={},Me=Symbol(),go="http://www.w3.org/2000/svg";function di(t){return t.endsWith("capture")&&t!=="gotpointercapture"&&t!=="lostpointercapture"}const fi=["beforeinput","click","change","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"];function vi(t){return fi.includes(t)}const mi={formnovalidate:"formNoValidate",ismap:"isMap",nomodule:"noModule",playsinline:"playsInline",readonly:"readOnly",defaultvalue:"defaultValue",defaultchecked:"defaultChecked",srcobject:"srcObject"};function gi(t){return t=t.toLowerCase(),mi[t]??t}const hi=["touchstart","touchmove"];function pi(t){return hi.includes(t)}const _i=["textarea","script","style","title"];function wi(t){return _i.includes(t)}const En=!1;var $n=Array.isArray,bi=Array.prototype.indexOf,An=Array.from,qr=Object.keys,Fr=Object.defineProperty,wt=Object.getOwnPropertyDescriptor,ho=Object.getOwnPropertyDescriptors,yi=Object.prototype,xi=Array.prototype,Ln=Object.getPrototypeOf;function Jt(t){return typeof t=="function"}const Xt=()=>{};function ki(t){return typeof(t==null?void 0:t.then)=="function"}function Ci(t){return t()}function jr(t){for(var e=0;e<t.length;e++)t[e]()}const Ge=2,po=4,pr=8,Br=16,ut=32,qt=64,Ur=128,Ft=256,Gr=512,Ne=1024,bt=2048,Qt=4096,dt=8192,er=16384,_o=32768,tr=65536,Ei=1<<17,$i=1<<19,wo=1<<20,yt=Symbol("$state"),Sn=Symbol("legacy props"),Ai=Symbol("");function bo(t){return t===this.v}function Li(t,e){return t!=t?e==e:t!==e||t!==null&&typeof t=="object"||typeof t=="function"}function Pn(t){return!Li(t,this.v)}function Si(t){throw new Error("https://svelte.dev/e/effect_in_teardown")}function Pi(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function Ti(t){throw new Error("https://svelte.dev/e/effect_orphan")}function Mi(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function zi(){throw new Error("https://svelte.dev/e/hydration_failed")}function Ri(t){throw new Error("https://svelte.dev/e/props_invalid_value")}function Ni(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Ii(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function Oi(){throw new Error("https://svelte.dev/e/state_unsafe_local_read")}function Di(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}let _r=!1,qi=!1;function Fi(){_r=!0}function Ie(t,e){var r={f:0,v:t,reactions:null,equals:bo,rv:0,wv:0};return r}function ke(t){return ji(Ie(t))}function wr(t,e=!1){var n;const r=Ie(t);return e||(r.equals=Pn),_r&&ye!==null&&ye.l!==null&&((n=ye.l).s??(n.s=[])).push(r),r}function ji(t){return ve!==null&&ve.f&Ge&&(gt===null?el([t]):gt.push(t)),t}function B(t,e){return ve!==null&&!Pt&&ir()&&ve.f&(Ge|Br)&&(gt===null||!gt.includes(t))&&Di(),rr(t,e)}function rr(t,e){return t.equals(e)||(t.v,t.v=e,t.wv=Ho(),yo(t,bt),ir()&&oe!==null&&oe.f&Ne&&!(oe.f&(ut|qt))&&(xt===null?tl([t]):xt.push(t))),e}function yo(t,e){var r=t.reactions;if(r!==null)for(var n=ir(),o=r.length,a=0;a<o;a++){var i=r[a],l=i.f;l&bt||!n&&i===oe||(at(i,e),l&(Ne|Ft)&&(l&Ge?yo(i,Qt):Qr(i)))}}function Hr(t){console.warn("https://svelte.dev/e/hydration_mismatch")}let q=!1;function ot(t){q=t}let H;function ze(t){if(t===null)throw Hr(),Kt;return H=t}function ft(){return ze(mt(H))}function E(t){if(q){if(mt(H)!==null)throw Hr(),Kt;H=t}}function De(t=1){if(q){for(var e=t,r=H;e--;)r=mt(r);H=r}}function Tn(){for(var t=0,e=H;;){if(e.nodeType===8){var r=e.data;if(r===Cn){if(t===0)return e;t-=1}else(r===mo||r===kn)&&(t+=1)}var n=mt(e);e.remove(),e=n}}function fe(t,e=null,r){if(typeof t!="object"||t===null||yt in t)return t;const n=Ln(t);if(n!==yi&&n!==xi)return t;var o=new Map,a=$n(t),i=Ie(0);a&&o.set("length",Ie(t.length));var l;return new Proxy(t,{defineProperty(c,s,f){(!("value"in f)||f.configurable===!1||f.enumerable===!1||f.writable===!1)&&Ni();var m=o.get(s);return m===void 0?(m=Ie(f.value),o.set(s,m)):B(m,fe(f.value,l)),!0},deleteProperty(c,s){var f=o.get(s);if(f===void 0)s in c&&o.set(s,Ie(Me));else{if(a&&typeof s=="string"){var m=o.get("length"),g=Number(s);Number.isInteger(g)&&g<m.v&&B(m,g)}B(f,Me),xo(i)}return!0},get(c,s,f){var d;if(s===yt)return t;var m=o.get(s),g=s in c;if(m===void 0&&(!g||(d=wt(c,s))!=null&&d.writable)&&(m=Ie(fe(g?c[s]:Me,l)),o.set(s,m)),m!==void 0){var v=u(m);return v===Me?void 0:v}return Reflect.get(c,s,f)},getOwnPropertyDescriptor(c,s){var f=Reflect.getOwnPropertyDescriptor(c,s);if(f&&"value"in f){var m=o.get(s);m&&(f.value=u(m))}else if(f===void 0){var g=o.get(s),v=g==null?void 0:g.v;if(g!==void 0&&v!==Me)return{enumerable:!0,configurable:!0,value:v,writable:!0}}return f},has(c,s){var v;if(s===yt)return!0;var f=o.get(s),m=f!==void 0&&f.v!==Me||Reflect.has(c,s);if(f!==void 0||oe!==null&&(!m||(v=wt(c,s))!=null&&v.writable)){f===void 0&&(f=Ie(m?fe(c[s],l):Me),o.set(s,f));var g=u(f);if(g===Me)return!1}return m},set(c,s,f,m){var C;var g=o.get(s),v=s in c;if(a&&s==="length")for(var d=f;d<g.v;d+=1){var h=o.get(d+"");h!==void 0?B(h,Me):d in c&&(h=Ie(Me),o.set(d+"",h))}g===void 0?(!v||(C=wt(c,s))!=null&&C.writable)&&(g=Ie(void 0),B(g,fe(f,l)),o.set(s,g)):(v=g.v!==Me,B(g,fe(f,l)));var _=Reflect.getOwnPropertyDescriptor(c,s);if(_!=null&&_.set&&_.set.call(m,f),!v){if(a&&typeof s=="string"){var p=o.get("length"),b=Number(s);Number.isInteger(b)&&b>=p.v&&B(p,b+1)}xo(i)}return!0},ownKeys(c){u(i);var s=Reflect.ownKeys(c).filter(g=>{var v=o.get(g);return v===void 0||v.v!==Me});for(var[f,m]of o)m.v!==Me&&!(f in c)&&s.push(f);return s},setPrototypeOf(){Ii()}})}function xo(t,e=1){B(t,t.v+e)}function ko(t){return t!==null&&typeof t=="object"&&yt in t?t[yt]:t}function Bi(t,e){return Object.is(ko(t),ko(e))}var Co,Eo,$o;function Mn(){if(Co===void 0){Co=window;var t=Element.prototype,e=Node.prototype;Eo=wt(e,"firstChild").get,$o=wt(e,"nextSibling").get,t.__click=void 0,t.__className="",t.__attributes=null,t.__styles=null,t.__e=void 0,Text.prototype.__t=void 0}}function vt(t=""){return document.createTextNode(t)}function qe(t){return Eo.call(t)}function mt(t){return $o.call(t)}function L(t,e){if(!q)return qe(t);var r=qe(H);if(r===null)r=H.appendChild(vt());else if(e&&r.nodeType!==3){var n=vt();return r==null||r.before(n),ze(n),n}return ze(r),r}function T(t,e){if(!q){var r=qe(t);return r instanceof Comment&&r.data===""?mt(r):r}if(e&&(H==null?void 0:H.nodeType)!==3){var n=vt();return H==null||H.before(n),ze(n),n}return H}function $(t,e=1,r=!1){let n=q?H:t;for(var o;e--;)o=n,n=mt(n);if(!q)return n;var a=n==null?void 0:n.nodeType;if(r&&a!==3){var i=vt();return n===null?o==null||o.after(i):n.before(i),ze(i),i}return ze(n),n}function Ao(t){t.textContent=""}function M(t){var e=Ge|bt;oe===null?e|=Ft:oe.f|=wo;var r=ve!==null&&ve.f&Ge?ve:null;const n={children:null,ctx:ye,deps:null,equals:bo,f:e,fn:t,reactions:null,rv:0,v:null,wv:0,parent:r??oe};return r!==null&&(r.children??(r.children=[])).push(n),n}function nr(t){const e=M(t);return e.equals=Pn,e}function Lo(t){var e=t.children;if(e!==null){t.children=null;for(var r=0;r<e.length;r+=1){var n=e[r];n.f&Ge?zn(n):et(n)}}}function Ui(t){for(var e=t.parent;e!==null;){if(!(e.f&Ge))return e;e=e.parent}return null}function So(t){var e,r=oe;Re(Ui(t));try{Lo(t),e=Wo(t)}finally{Re(r)}return e}function Po(t){var e=So(t),r=(Gt||t.f&Ft)&&t.deps!==null?Qt:Ne;at(t,r),t.equals(e)||(t.v=e,t.wv=Ho())}function zn(t){Lo(t),Er(t,0),at(t,er),t.v=t.children=t.deps=t.ctx=t.reactions=null}function To(t){oe===null&&ve===null&&Ti(),ve!==null&&ve.f&Ft&&Pi(),qn&&Si()}function Gi(t,e){var r=e.last;r===null?e.last=e.first=t:(r.next=t,t.prev=r,e.last=t)}function jt(t,e,r,n=!0){var o=(t&qt)!==0,a=oe,i={ctx:ye,deps:null,deriveds:null,nodes_start:null,nodes_end:null,f:t|bt,first:null,fn:e,last:null,next:null,parent:o?null:a,prev:null,teardown:null,transitions:null,wv:0};if(r){var l=or;try{jo(!0),Fn(i),i.f|=_o}catch(f){throw et(i),f}finally{jo(l)}}else e!==null&&Qr(i);var c=r&&i.deps===null&&i.first===null&&i.nodes_start===null&&i.teardown===null&&(i.f&(wo|Ur))===0;if(!c&&!o&&n&&(a!==null&&Gi(i,a),ve!==null&&ve.f&Ge)){var s=ve;(s.children??(s.children=[])).push(i)}return i}function Hi(t){const e=jt(pr,null,!1);return at(e,Ne),e.teardown=t,e}function Rn(t){To();var e=oe!==null&&(oe.f&ut)!==0&&ye!==null&&!ye.m;if(e){var r=ye;(r.e??(r.e=[])).push({fn:t,effect:oe,reaction:ve})}else{var n=br(t);return n}}function Vi(t){return To(),Nn(t)}function Wi(t){const e=jt(qt,t,!0);return()=>{et(e)}}function Yi(t){const e=jt(qt,t,!0);return(r={})=>new Promise(n=>{r.outro?Lt(e,()=>{et(e),n(void 0)}):(et(e),n(void 0))})}function br(t){return jt(po,t,!1)}function Nn(t){return jt(pr,t,!0)}function I(t,e=[],r=M){const n=e.map(r);return Bt(()=>t(...n.map(u)))}function Bt(t,e=0){return jt(pr|Br|e,t,!0)}function Qe(t,e=!0){return jt(pr|ut,t,!0,e)}function Mo(t){var e=t.teardown;if(e!==null){const r=qn,n=ve;Bo(!0),Fe(null);try{e.call(null)}finally{Bo(r),Fe(n)}}}function zo(t){var e=t.deriveds;if(e!==null){t.deriveds=null;for(var r=0;r<e.length;r+=1)zn(e[r])}}function Ro(t,e=!1){var r=t.first;for(t.first=t.last=null;r!==null;){var n=r.next;et(r,e),r=n}}function Zi(t){for(var e=t.first;e!==null;){var r=e.next;e.f&ut||et(e),e=r}}function et(t,e=!0){var r=!1;if((e||t.f&$i)&&t.nodes_start!==null){for(var n=t.nodes_start,o=t.nodes_end;n!==null;){var a=n===o?null:mt(n);n.remove(),n=a}r=!0}Ro(t,e&&!r),zo(t),Er(t,0),at(t,er);var i=t.transitions;if(i!==null)for(const c of i)c.stop();Mo(t);var l=t.parent;l!==null&&l.first!==null&&No(t),t.next=t.prev=t.teardown=t.ctx=t.deps=t.fn=t.nodes_start=t.nodes_end=null}function No(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 Lt(t,e){var r=[];In(t,r,!0),Io(r,()=>{et(t),e&&e()})}function Io(t,e){var r=t.length;if(r>0){var n=()=>--r||e();for(var o of t)o.out(n)}else e()}function In(t,e,r){if(!(t.f&dt)){if(t.f^=dt,t.transitions!==null)for(const i of t.transitions)(i.is_global||r)&&e.push(i);for(var n=t.first;n!==null;){var o=n.next,a=(n.f&tr)!==0||(n.f&ut)!==0;In(n,e,a?r:!1),n=o}}}function St(t){Oo(t,!0)}function Oo(t,e){if(t.f&dt){t.f^=dt,t.f&Ne||(t.f^=Ne),Cr(t)&&(at(t,bt),Qr(t));for(var r=t.first;r!==null;){var n=r.next,o=(r.f&tr)!==0||(r.f&ut)!==0;Oo(r,o?e:!1),r=n}if(t.transitions!==null)for(const a of t.transitions)(a.is_global||e)&&a.in()}}const Ki=typeof requestIdleCallback>"u"?t=>setTimeout(t,1):requestIdleCallback;let Vr=!1,Wr=!1,On=[],Dn=[];function Do(){Vr=!1;const t=On.slice();On=[],jr(t)}function qo(){Wr=!1;const t=Dn.slice();Dn=[],jr(t)}function yr(t){Vr||(Vr=!0,queueMicrotask(Do)),On.push(t)}function Ji(t){Wr||(Wr=!0,Ki(qo)),Dn.push(t)}function Xi(){Vr&&Do(),Wr&&qo()}function Yr(){throw new Error("https://svelte.dev/e/invalid_default_snippet")}const Fo=0,Qi=1;let Zr=!1,Kr=Fo,xr=!1,kr=null,or=!1,qn=!1;function jo(t){or=t}function Bo(t){qn=t}let Ut=[],ar=0,$u=[],ve=null,Pt=!1;function Fe(t){ve=t}let oe=null;function Re(t){oe=t}let gt=null;function el(t){gt=t}let je=null,He=0,xt=null;function tl(t){xt=t}let Uo=1,Jr=0,Gt=!1,ye=null;function Go(t){ye=t}function Ho(){return++Uo}function ir(){return!_r||ye!==null&&ye.l===null}function Cr(t){var s;var e=t.f;if(e&bt)return!0;if(e&Qt){var r=t.deps,n=(e&Ft)!==0;if(r!==null){var o,a,i=(e&Gr)!==0,l=n&&oe!==null&&!Gt,c=r.length;if(i||l){for(o=0;o<c;o++)a=r[o],(i||!((s=a==null?void 0:a.reactions)!=null&&s.includes(t)))&&(a.reactions??(a.reactions=[])).push(t);i&&(t.f^=Gr)}for(o=0;o<c;o++)if(a=r[o],Cr(a)&&Po(a),a.wv>t.wv)return!0}(!n||oe!==null&&!Gt)&&at(t,Ne)}return!1}function rl(t,e){for(var r=e;r!==null;){if(r.f&Ur)try{r.fn(t);return}catch{r.f^=Ur}r=r.parent}throw Zr=!1,t}function nl(t){return(t.f&er)===0&&(t.parent===null||(t.parent.f&Ur)===0)}function Xr(t,e,r,n){if(Zr){if(r===null&&(Zr=!1),nl(e))throw t;return}r!==null&&(Zr=!0);{rl(t,e);return}}function Vo(t,e,r=0){var n=t.reactions;if(n!==null)for(var o=0;o<n.length;o++){var a=n[o];a.f&Ge?Vo(a,e,r+1):e===a&&(r===0?at(a,bt):a.f&Ne&&at(a,Qt),Qr(a))}}function Wo(t){var v;var e=je,r=He,n=xt,o=ve,a=Gt,i=gt,l=ye,c=Pt,s=t.f;je=null,He=0,xt=null,ve=s&(ut|qt)?null:t,Gt=!or&&(s&Ft)!==0,gt=null,ye=t.ctx,Pt=!1,Jr++;try{var f=(0,t.fn)(),m=t.deps;if(je!==null){var g;if(Er(t,He),m!==null&&He>0)for(m.length=He+je.length,g=0;g<je.length;g++)m[He+g]=je[g];else t.deps=m=je;if(!Gt)for(g=He;g<m.length;g++)((v=m[g]).reactions??(v.reactions=[])).push(t)}else m!==null&&He<m.length&&(Er(t,He),m.length=He);if(ir()&&xt!==null&&!(t.f&(Ge|Qt|bt)))for(g=0;g<xt.length;g++)Vo(xt[g],t);return o!==null&&Jr++,f}finally{je=e,He=r,xt=n,ve=o,Gt=a,gt=i,ye=l,Pt=c}}function ol(t,e){let r=e.reactions;if(r!==null){var n=bi.call(r,t);if(n!==-1){var o=r.length-1;o===0?r=e.reactions=null:(r[n]=r[o],r.pop())}}r===null&&e.f&Ge&&(je===null||!je.includes(e))&&(at(e,Qt),e.f&(Ft|Gr)||(e.f^=Gr),Er(e,0))}function Er(t,e){var r=t.deps;if(r!==null)for(var n=e;n<r.length;n++)ol(t,r[n])}function Fn(t){var e=t.f;if(!(e&er)){at(t,Ne);var r=oe,n=ye;oe=t;try{e&Br?Zi(t):Ro(t),zo(t),Mo(t);var o=Wo(t);t.teardown=typeof o=="function"?o:null,t.wv=Uo;var a=t.deps,i;En&&qi&&t.f&bt}catch(l){Xr(l,t,r,n||t.ctx)}finally{oe=r}}}function Yo(){if(ar>1e3){ar=0;try{Mi()}catch(t){if(kr!==null)Xr(t,kr,null);else throw t}}ar++}function Zo(t){var e=t.length;if(e!==0){Yo();var r=or;or=!0;try{for(var n=0;n<e;n++){var o=t[n];o.f&Ne||(o.f^=Ne);var a=[];Ko(o,a),al(a)}}finally{or=r}}}function al(t){var e=t.length;if(e!==0)for(var r=0;r<e;r++){var n=t[r];if(!(n.f&(er|dt)))try{Cr(n)&&(Fn(n),n.deps===null&&n.first===null&&n.nodes_start===null&&(n.teardown===null?No(n):n.fn=null))}catch(o){Xr(o,n,null,n.ctx)}}}function il(){if(xr=!1,ar>1001)return;const t=Ut;Ut=[],Zo(t),xr||(ar=0,kr=null)}function Qr(t){Kr===Fo&&(xr||(xr=!0,queueMicrotask(il))),kr=t;for(var e=t;e.parent!==null;){e=e.parent;var r=e.f;if(r&(qt|ut)){if(!(r&Ne))return;e.f^=Ne}}Ut.push(e)}function Ko(t,e){var r=t.first,n=[];e:for(;r!==null;){var o=r.f,a=(o&ut)!==0,i=a&&(o&Ne)!==0,l=r.next;if(!i&&!(o&dt))if(o&pr){if(a)r.f^=Ne;else try{Cr(r)&&Fn(r)}catch(m){Xr(m,r,null,r.ctx)}var c=r.first;if(c!==null){r=c;continue}}else o&po&&n.push(r);if(l===null){let m=r.parent;for(;m!==null;){if(t===m)break e;var s=m.next;if(s!==null){r=s;continue e}m=m.parent}}r=l}for(var f=0;f<n.length;f++)c=n[f],e.push(c),Ko(c,e)}function pe(t){var e=Kr,r=Ut;try{Yo();const o=[];Kr=Qi,Ut=o,xr=!1,Zo(r);var n=t==null?void 0:t();return Xi(),(Ut.length>0||o.length>0)&&pe(),ar=0,kr=null,n}finally{Kr=e,Ut=r}}function u(t){var f;var e=t.f,r=(e&Ge)!==0;if(r&&e&er){var n=So(t);return zn(t),n}if(ve!==null&&!Pt){gt!==null&>.includes(t)&&Oi();var o=ve.deps;t.rv<Jr&&(t.rv=Jr,je===null&&o!==null&&o[He]===t?He++:je===null?je=[t]:je.push(t))}else if(r&&t.deps===null)for(var a=t,i=a.parent,l=a;i!==null;)if(i.f&Ge){var c=i;l=c,i=c.parent}else{var s=i;(f=s.deriveds)!=null&&f.includes(l)||(s.deriveds??(s.deriveds=[])).push(l);break}return r&&(a=t,Cr(a)&&Po(a)),t.v}function $r(t){var e=Pt;try{return Pt=!0,t()}finally{Pt=e}}const ll=-7169;function at(t,e){t.f=t.f&ll|e}function me(t,e=!1,r){ye={p:ye,c:null,e:null,m:!1,s:t,x:null,l:null},_r&&!e&&(ye.l={s:null,u:null,r1:[],r2:Ie(!1)})}function ge(t){const e=ye;if(e!==null){t!==void 0&&(e.x=t);const i=e.e;if(i!==null){var r=oe,n=ve;e.e=null;try{for(var o=0;o<i.length;o++){var a=i[o];Re(a.effect),Fe(a.reaction),br(a.fn)}}finally{Re(r),Fe(n)}}ye=e.p,e.m=!0}return t||{}}function sl(t){if(!(typeof t!="object"||!t||t instanceof EventTarget)){if(yt in t)jn(t);else if(!Array.isArray(t))for(let e in t){const r=t[e];typeof r=="object"&&r&&yt in r&&jn(r)}}}function jn(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{jn(t[n],e)}catch{}const r=Ln(t);if(r!==Object.prototype&&r!==Array.prototype&&r!==Map.prototype&&r!==Set.prototype&&r!==Date.prototype){const n=ho(r);for(let o in n){const a=n[o].get;if(a)try{a.call(t)}catch{}}}}}function cl(t,e){if(e){const r=document.body;t.autofocus=!0,yr(()=>{document.activeElement===r&&t.focus()})}}let Jo=!1;function Xo(){Jo||(Jo=!0,document.addEventListener("reset",t=>{Promise.resolve().then(()=>{var e;if(!t.defaultPrevented)for(const r of t.target.elements)(e=r.__on_r)==null||e.call(r)})},{capture:!0}))}function Qo(t){var e=ve,r=oe;Fe(null),Re(null);try{return t()}finally{Fe(e),Re(r)}}function ea(t,e,r,n=r){t.addEventListener(e,()=>Qo(r));const o=t.__on_r;o?t.__on_r=()=>{o(),n(!0)}:t.__on_r=()=>n(!0),Xo()}const ta=new Set,Bn=new Set;function ra(t,e,r,n){function o(a){if(n.capture||Lr.call(e,a),!a.cancelBubble)return Qo(()=>r.call(this,a))}return t.startsWith("pointer")||t.startsWith("touch")||t==="wheel"?yr(()=>{e.addEventListener(t,o,n)}):e.addEventListener(t,o,n),o}function Un(t,e,r,n,o){var a={capture:n,passive:o},i=ra(t,e,r,a);(e===document.body||e===window||e===document)&&Hi(()=>{e.removeEventListener(t,i,a)})}function Ar(t){for(var e=0;e<t.length;e++)ta.add(t[e]);for(var r of Bn)r(t)}function Lr(t){var b;var e=this,r=e.ownerDocument,n=t.type,o=((b=t.composedPath)==null?void 0:b.call(t))||[],a=o[0]||t.target,i=0,l=t.__root;if(l){var c=o.indexOf(l);if(c!==-1&&(e===document||e===window)){t.__root=e;return}var s=o.indexOf(e);if(s===-1)return;c<=s&&(i=c)}if(a=o[i]||t.target,a!==e){Fr(t,"currentTarget",{configurable:!0,get(){return a||r}});var f=ve,m=oe;Fe(null),Re(null);try{for(var g,v=[];a!==null;){var d=a.assignedSlot||a.parentNode||a.host||null;try{var h=a["__"+n];if(h!==void 0&&!a.disabled)if($n(h)){var[_,...p]=h;_.apply(a,[t,...p])}else h.call(a,t)}catch(C){g?v.push(C):g=C}if(t.cancelBubble||d===e||d===null)break;a=d}if(g){for(let C of v)queueMicrotask(()=>{throw C});throw g}}finally{t.__root=e,delete t.currentTarget,Fe(f),Re(m)}}}function Gn(t){var e=document.createElement("template");return e.innerHTML=t,e.content}function Ve(t,e){var r=oe;r.nodes_start===null&&(r.nodes_start=t,r.nodes_end=e)}function S(t,e){var r=(e&ci)!==0,n=(e&ui)!==0,o,a=!t.startsWith("<!>");return()=>{if(q)return Ve(H,null),H;o===void 0&&(o=Gn(a?t:"<!>"+t),r||(o=qe(o)));var i=n?document.importNode(o,!0):o.cloneNode(!0);if(r){var l=qe(i),c=i.lastChild;Ve(l,c)}else Ve(i,i);return i}}function en(t,e,r="svg"){var n=!t.startsWith("<!>"),o=`<${r}>${n?t:"<!>"+t}</${r}>`,a;return()=>{if(q)return Ve(H,null),H;if(!a){var i=Gn(o),l=qe(i);a=qe(l)}var c=a.cloneNode(!0);return Ve(c,c),c}}function ht(t=""){if(!q){var e=vt(t+"");return Ve(e,e),e}var r=H;return r.nodeType!==3&&(r.before(r=vt()),ze(r)),Ve(r,r),r}function re(){if(q)return Ve(H,null),H;var t=document.createDocumentFragment(),e=document.createComment(""),r=vt();return t.append(e,r),Ve(e,r),t}function w(t,e){if(q){oe.nodes_end=H,ft();return}t!==null&&t.before(e)}let tn=!0;function na(t){tn=t}function X(t,e){var r=e==null?"":typeof e=="object"?e+"":e;r!==(t.__t??(t.__t=t.nodeValue))&&(t.__t=r,t.nodeValue=r==null?"":r+"")}function oa(t,e){return aa(t,e)}function ul(t,e){Mn(),e.intro=e.intro??!1;const r=e.target,n=q,o=H;try{for(var a=qe(r);a&&(a.nodeType!==8||a.data!==mo);)a=mt(a);if(!a)throw Kt;ot(!0),ze(a),ft();const i=aa(t,{...e,anchor:a});if(H===null||H.nodeType!==8||H.data!==Cn)throw Hr(),Kt;return ot(!1),i}catch(i){if(i===Kt)return e.recover===!1&&zi(),Mn(),Ao(r),ot(!1),oa(t,e);throw i}finally{ot(n),ze(o)}}const lr=new Map;function aa(t,{target:e,anchor:r,props:n={},events:o,context:a,intro:i=!0}){Mn();var l=new Set,c=m=>{for(var g=0;g<m.length;g++){var v=m[g];if(!l.has(v)){l.add(v);var d=pi(v);e.addEventListener(v,Lr,{passive:d});var h=lr.get(v);h===void 0?(document.addEventListener(v,Lr,{passive:d}),lr.set(v,1)):lr.set(v,h+1)}}};c(An(ta)),Bn.add(c);var s=void 0,f=Yi(()=>{var m=r??e.appendChild(vt());return Qe(()=>{if(a){me({});var g=ye;g.c=a}o&&(n.$$events=o),q&&Ve(m,null),tn=i,s=t(m,n)||{},tn=!0,q&&(oe.nodes_end=H),a&&ge()}),()=>{var d;for(var g of l){e.removeEventListener(g,Lr);var v=lr.get(g);--v===0?(document.removeEventListener(g,Lr),lr.delete(g)):lr.set(g,v)}Bn.delete(c),m!==r&&((d=m.parentNode)==null||d.removeChild(m))}});return Hn.set(s,f),s}let Hn=new WeakMap;function dl(t,e){const r=Hn.get(t);return r?(Hn.delete(t),r(e)):Promise.resolve()}const Vn=0,rn=1,Wn=2;function kt(t,e,r,n,o){q&&ft();var a=t,i=ir(),l=ye,c=Me,s,f,m,g=(i?Ie:wr)(void 0),v=(i?Ie:wr)(void 0),d=!1;function h(p,b){d=!0,b&&(Re(_),Fe(_),Go(l));try{p===Vn&&r&&(s?St(s):s=Qe(()=>r(a))),p===rn&&n&&(f?St(f):f=Qe(()=>n(a,g))),p===Wn&&o&&(m?St(m):m=Qe(()=>o(a,v))),p!==Vn&&s&&Lt(s,()=>s=null),p!==rn&&f&&Lt(f,()=>f=null),p!==Wn&&m&&Lt(m,()=>m=null)}finally{b&&(Go(null),Fe(null),Re(null),pe())}}var _=Bt(()=>{if(c!==(c=e())){if(ki(c)){var p=c;d=!1,p.then(b=>{p===c&&(rr(g,b),h(rn,!0))},b=>{if(p===c&&(rr(v,b),h(Wn,!0),!o))throw v.v}),q?r&&(s=Qe(()=>r(a))):yr(()=>{d||h(Vn,!0)})}else rr(g,c),h(rn,!1);return()=>c=Me}});q&&(a=H)}function F(t,e,r=!1){q&&ft();var n=t,o=null,a=null,i=Me,l=r?tr:0,c=!1;const s=(m,g=!0)=>{c=!0,f(g,m)},f=(m,g)=>{if(i===(i=m))return;let v=!1;if(q){const d=n.data===kn;!!i===d&&(n=Tn(),ze(n),ot(!1),v=!0)}i?(o?St(o):g&&(o=Qe(()=>g(n))),a&&Lt(a,()=>{a=null})):(a?St(a):g&&(a=Qe(()=>g(n))),o&&Lt(o,()=>{o=null})),v&&ot(!0)};Bt(()=>{c=!1,e(s),c||f(null,null)},l),q&&(n=H)}function nn(t,e){return e}function fl(t,e,r,n){for(var o=[],a=e.length,i=0;i<a;i++)In(e[i].e,o,!0);var l=a>0&&o.length===0&&r!==null;if(l){var c=r.parentNode;Ao(c),c.append(r),n.clear(),Tt(t,e[0].prev,e[a-1].next)}Io(o,()=>{for(var s=0;s<a;s++){var f=e[s];l||(n.delete(f.k),Tt(t,f.prev,f.next)),et(f.e,!l)}})}function sr(t,e,r,n,o,a=null){var i=t,l={items:new Map,first:null},c=(e&vo)!==0;if(c){var s=t;i=q?ze(qe(s)):s.appendChild(vt())}q&&ft();var f=null,m=!1,g=nr(()=>{var v=r();return $n(v)?v:v==null?[]:An(v)});Bt(()=>{var v=u(g),d=v.length;if(m&&d===0)return;m=d===0;let h=!1;if(q){var _=i.data===kn;_!==(d===0)&&(i=Tn(),ze(i),ot(!1),h=!0)}if(q){for(var p=null,b,C=0;C<d;C++){if(H.nodeType===8&&H.data===Cn){i=H,h=!0,ot(!1);break}var y=v[C],x=n(y,C);b=ia(H,l,p,null,y,x,C,o,e),l.items.set(x,b),p=b}d>0&&ze(Tn())}if(!q){var k=ve;vl(v,l,i,o,e,(k.f&dt)!==0,n)}a!==null&&(d===0?f?St(f):f=Qe(()=>a(i)):f!==null&&Lt(f,()=>{f=null})),h&&ot(!0),u(g)}),q&&(i=H)}function vl(t,e,r,n,o,a,i,l){var ie,K,Q,j;var c=(o&ti)!==0,s=(o&(Ae|Zt))!==0,f=t.length,m=e.items,g=e.first,v=g,d,h=null,_,p=[],b=[],C,y,x,k;if(c)for(k=0;k<f;k+=1)C=t[k],y=i(C,k),x=m.get(y),x!==void 0&&((ie=x.a)==null||ie.measure(),(_??(_=new Set)).add(x));for(k=0;k<f;k+=1){if(C=t[k],y=i(C,k),x=m.get(y),x===void 0){var ee=v?v.e.nodes_start:r;h=ia(ee,e,h,h===null?e.first:h.next,C,y,k,n,o),m.set(y,h),p=[],b=[],v=h.next;continue}if(s&&ml(x,C,k,o),x.e.f&dt&&(St(x.e),c&&((K=x.a)==null||K.unfix(),(_??(_=new Set)).delete(x))),x!==v){if(d!==void 0&&d.has(x)){if(p.length<b.length){var z=b[0],N;h=z.prev;var Z=p[0],P=p[p.length-1];for(N=0;N<p.length;N+=1)la(p[N],z,r);for(N=0;N<b.length;N+=1)d.delete(b[N]);Tt(e,Z.prev,P.next),Tt(e,h,Z),Tt(e,P,z),v=z,h=P,k-=1,p=[],b=[]}else d.delete(x),la(x,v,r),Tt(e,x.prev,x.next),Tt(e,x,h===null?e.first:h.next),Tt(e,h,x),h=x;continue}for(p=[],b=[];v!==null&&v.k!==y;)(a||!(v.e.f&dt))&&(d??(d=new Set)).add(v),b.push(v),v=v.next;if(v===null)continue;x=v}p.push(x),h=x,v=x.next}if(v!==null||d!==void 0){for(var A=d===void 0?[]:An(d);v!==null;)(a||!(v.e.f&dt))&&A.push(v),v=v.next;var D=A.length;if(D>0){var U=o&vo&&f===0?r:null;if(c){for(k=0;k<D;k+=1)(Q=A[k].a)==null||Q.measure();for(k=0;k<D;k+=1)(j=A[k].a)==null||j.fix()}fl(e,A,U,m)}}c&&yr(()=>{var V;if(_!==void 0)for(x of _)(V=x.a)==null||V.apply()}),oe.first=e.first&&e.first.e,oe.last=h&&h.e}function ml(t,e,r,n){n&Ae&&rr(t.v,e),n&Zt?rr(t.i,r):t.i=r}function ia(t,e,r,n,o,a,i,l,c,s){var f=(c&Ae)!==0,m=(c&ri)===0,g=f?m?wr(o):Ie(o):o,v=c&Zt?Ie(i):i,d={i:v,v:g,k:a,a:null,e:null,prev:r,next:n};try{return d.e=Qe(()=>l(t,g,v),q),d.e.prev=r&&r.e,d.e.next=n&&n.e,r===null?e.first=d:(r.next=d,r.e.next=d.e),n!==null&&(n.prev=d,n.e.prev=d.e),d}finally{}}function la(t,e,r){for(var n=t.next?t.next.e.nodes_start:r,o=e?e.e.nodes_start:r,a=t.e.nodes_start;a!==n;){var i=mt(a);o.before(a),a=i}}function Tt(t,e,r){e===null?t.first=r:(e.next=r,e.e.next=r&&r.e),r!==null&&(r.prev=e,r.e.prev=e&&e.e)}function on(t,e,r,n,o){var a=t,i="",l;Bt(()=>{if(i===(i=e()??"")){q&&ft();return}l!==void 0&&(et(l),l=void 0),i!==""&&(l=Qe(()=>{if(q){H.data;for(var c=ft(),s=c;c!==null&&(c.nodeType!==8||c.data!=="");)s=c,c=mt(c);if(c===null)throw Hr(),Kt;Ve(H,s),a=ze(c);return}var f=i+"";r&&(f=`<svg>${f}</svg>`);var m=Gn(f);if((r||n)&&(m=qe(m)),Ve(qe(m),m.lastChild),r||n)for(;qe(m);)a.before(qe(m));else a.before(m)}))})}function Pe(t,e,r,n,o){var l;q&&ft();var a=(l=e.$$slots)==null?void 0:l[r],i=!1;a===!0&&(a=e[r==="default"?"children":r],i=!0),a===void 0?o!==null&&o(t):a(t,i?()=>n:n)}function Ht(t,e,...r){var n=t,o=Xt,a;Bt(()=>{o!==(o=e())&&(a&&(et(a),a=null),a=Qe(()=>o(n,...r)))},tr),q&&(n=H)}function gl(t,e,r,n,o,a){let i=q;q&&ft();var l,c,s=null;q&&H.nodeType===1&&(s=H,ft());var f=q?H:t,m;Bt(()=>{const g=e()||null;var v=g==="svg"?go:null;g!==l&&(m&&(g===null?Lt(m,()=>{m=null,c=null}):g===c?St(m):(et(m),na(!1))),g&&g!==c&&(m=Qe(()=>{if(s=q?s:v?document.createElementNS(v,g):document.createElement(g),Ve(s,s),n){q&&wi(g)&&s.append(document.createComment(""));var d=q?qe(s):s.appendChild(vt());q&&(d===null?ot(!1):ze(d)),n(s,d)}oe.nodes_end=s,f.before(s)})),l=g,l&&(c=l),na(!0))},tr),i&&(ot(!0),ze(f))}function sa(t){var e,r,n="";if(typeof t=="string"||typeof t=="number")n+=t;else if(typeof t=="object")if(Array.isArray(t)){var o=t.length;for(e=0;e<o;e++)t[e]&&(r=sa(t[e]))&&(n&&(n+=" "),n+=r)}else for(r in t)t[r]&&(n&&(n+=" "),n+=r);return n}function hl(){for(var t,e,r=0,n="",o=arguments.length;r<o;r++)(t=arguments[r])&&(e=sa(t))&&(n&&(n+=" "),n+=e);return n}function Ce(t){return typeof t=="object"?hl(t):t??""}function ca(t){if(q){var e=!1,r=()=>{if(!e){if(e=!0,t.hasAttribute("value")){var n=t.value;Ee(t,"value",null),t.value=n}if(t.hasAttribute("checked")){var o=t.checked;Ee(t,"checked",null),t.checked=o}}};t.__on_r=r,Ji(r),Xo()}}function pl(t,e){var r=t.__attributes??(t.__attributes={});r.checked!==(r.checked=e??void 0)&&(t.checked=e)}function _l(t,e){e?t.hasAttribute("selected")||t.setAttribute("selected",""):t.removeAttribute("selected")}function Ee(t,e,r,n){var o=t.__attributes??(t.__attributes={});q&&(o[e]=t.getAttribute(e),e==="src"||e==="srcset"||e==="href"&&t.nodeName==="LINK")||o[e]!==(o[e]=r)&&(e==="style"&&"__styles"in t&&(t.__styles={}),e==="loading"&&(t[Ai]=r),r==null?t.removeAttribute(e):typeof r!="string"&&Zn(t).includes(e)?t[e]=r:t.setAttribute(e,r))}function wl(t,e,r){var n=ve,o=oe;Fe(null),Re(null);try{(Yn.has(t.nodeName)||!customElements||customElements.get(t.tagName.toLowerCase())?Zn(t).includes(e):r&&typeof r=="object")?t[e]=r:Ee(t,e,r==null?r:String(r))}finally{Fe(n),Re(o)}}function Vt(t,e,r,n,o=!1,a=!1,i=!1){var l=e||{},c=t.tagName==="OPTION";for(var s in e)s in r||(r[s]=null);r.class&&(r.class=Ce(r.class));var f=Zn(t),m=t.__attributes??(t.__attributes={});for(const p in r){let b=r[p];if(c&&p==="value"&&b==null){t.value=t.__value="",l[p]=b;continue}var g=l[p];if(b!==g){l[p]=b;var v=p[0]+p[1];if(v!=="$$"){if(v==="on"){const C={},y="$$"+p;let x=p.slice(2);var d=vi(x);if(di(x)&&(x=x.slice(0,-7),C.capture=!0),!d&&g){if(b!=null)continue;t.removeEventListener(x,l[y],C),l[y]=null}if(b!=null)if(d)t[`__${x}`]=b,Ar([x]);else{let k=function(ee){l[p].call(this,ee)};l[y]=ra(x,t,k,C)}else d&&(t[`__${x}`]=void 0)}else if(p==="style"&&b!=null)t.style.cssText=b+"";else if(p==="autofocus")cl(t,!!b);else if(p==="__value"||p==="value"&&b!=null)t.value=t[p]=t.__value=b;else if(p==="selected"&&c)_l(t,b);else{var h=p;o||(h=gi(h));var _=h==="defaultValue"||h==="defaultChecked";if(b==null&&!a&&!_)if(m[p]=null,h==="value"||h==="checked"){let C=t;if(h==="value"){let y=C.defaultValue;C.removeAttribute(h),C.defaultValue=y}else{let y=C.defaultChecked;C.removeAttribute(h),C.defaultChecked=y}}else t.removeAttribute(p);else _||f.includes(h)&&(a||typeof b!="string")?t[h]=b:typeof b!="function"&&(q&&(h==="src"||h==="href"||h==="srcset")||Ee(t,h,b))}p==="style"&&"__styles"in t&&(t.__styles={})}}}return l}var Yn=new Map;function Zn(t){var e=Yn.get(t.nodeName);if(e)return e;Yn.set(t.nodeName,e=[]);for(var r,n=t,o=Element.prototype;o!==n;){r=ho(n);for(var a in r)r[a].set&&e.push(a);n=Ln(n)}return e}function bl(t,e,r){var n=t.__className,o=ua(e);q&&t.getAttribute("class")===o?t.__className=o:(n!==o||q&&t.getAttribute("class")!==o)&&(o===""?t.removeAttribute("class"):t.setAttribute("class",o),t.__className=o)}function Le(t,e,r){var n=t.__className,o=ua(e);q&&t.className===o?t.__className=o:(n!==o||q&&t.className!==o)&&(e==null?t.removeAttribute("class"):t.className=o,t.__className=o)}function ua(t,e){return(t??"")+""}const yl=()=>performance.now(),Ct={tick:t=>requestAnimationFrame(t),now:()=>yl(),tasks:new Set};function da(){const t=Ct.now();Ct.tasks.forEach(e=>{e.c(t)||(Ct.tasks.delete(e),e.f())}),Ct.tasks.size!==0&&Ct.tick(da)}function xl(t){let e;return Ct.tasks.size===0&&Ct.tick(da),{promise:new Promise(r=>{Ct.tasks.add(e={c:t,f:r})}),abort(){Ct.tasks.delete(e)}}}function an(t,e){t.dispatchEvent(new CustomEvent(e))}function kl(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 fa(t){const e={},r=t.split(";");for(const n of r){const[o,a]=n.split(":");if(!o||a===void 0)break;const i=kl(o.trim());e[i]=a.trim()}return e}const Cl=t=>t;function El(t,e,r,n){var o=(t&si)!==0,a="both",i,l=e.inert,c=e.style.overflow,s,f;function m(){var _=ve,p=oe;Fe(null),Re(null);try{return i??(i=r()(e,(n==null?void 0:n())??{},{direction:a}))}finally{Fe(_),Re(p)}}var g={is_global:o,in(){e.inert=l,an(e,"introstart"),s=Kn(e,m(),f,1,()=>{an(e,"introend"),s==null||s.abort(),s=i=void 0,e.style.overflow=c})},out(_){e.inert=!0,an(e,"outrostart"),f=Kn(e,m(),s,0,()=>{an(e,"outroend"),_==null||_()})},stop:()=>{s==null||s.abort(),f==null||f.abort()}},v=oe;if((v.transitions??(v.transitions=[])).push(g),tn){var d=o;if(!d){for(var h=v.parent;h&&h.f&tr;)for(;(h=h.parent)&&!(h.f&Br););d=!h||(h.f&_o)!==0}d&&br(()=>{$r(()=>g.in())})}}function Kn(t,e,r,n,o){var a=n===1;if(Jt(e)){var i,l=!1;return yr(()=>{if(!l){var _=e({direction:a?"in":"out"});i=Kn(t,_,r,n,o)}}),{abort:()=>{l=!0,i==null||i.abort()},deactivate:()=>i.deactivate(),reset:()=>i.reset(),t:()=>i.t()}}if(r==null||r.deactivate(),!(e!=null&&e.duration))return o(),{abort:Xt,deactivate:Xt,reset:Xt,t:()=>n};const{delay:c=0,css:s,tick:f,easing:m=Cl}=e;var g=[];if(a&&r===void 0&&(f&&f(0,1),s)){var v=fa(s(0,1));g.push(v,v)}var d=()=>1-n,h=t.animate(g,{duration:c});return h.onfinish=()=>{var _=(r==null?void 0:r.t())??1-n;r==null||r.abort();var p=n-_,b=e.duration*Math.abs(p),C=[];if(b>0){var y=!1;if(s)for(var x=Math.ceil(b/16.666666666666668),k=0;k<=x;k+=1){var ee=_+p*m(k/x),z=fa(s(ee,1-ee));C.push(z),y||(y=z.overflow==="hidden")}y&&(t.style.overflow="hidden"),d=()=>{var N=h.currentTime;return _+p*m(N/b)},f&&xl(()=>{if(h.playState!=="running")return!1;var N=d();return f(N,1-N),!0})}h=t.animate(C,{duration:b,fill:"forwards"}),h.onfinish=()=>{d=()=>n,f==null||f(n,1-n),o()}},{abort:()=>{h&&(h.cancel(),h.effect=null,h.onfinish=Xt)},deactivate:()=>{o=Xt},reset:()=>{n===0&&(f==null||f(1,0))},t:()=>d()}}function $l(t,e,r=e){var n=ir();ea(t,"input",o=>{var a=o?t.defaultValue:t.value;if(a=Jn(t)?Xn(a):a,r(a),n&&a!==(a=e())){var i=t.selectionStart,l=t.selectionEnd;t.value=a??"",l!==null&&(t.selectionStart=i,t.selectionEnd=Math.min(l,t.value.length))}}),(q&&t.defaultValue!==t.value||$r(e)==null&&t.value)&&r(Jn(t)?Xn(t.value):t.value),Nn(()=>{var o=e();Jn(t)&&o===Xn(t.value)||t.type==="date"&&!o&&!t.value||o!==t.value&&(t.value=o??"")})}function Jn(t){var e=t.type;return e==="number"||e==="range"}function Xn(t){return t===""?null:+t}function va(t,e,r){if(t.multiple)return Sl(t,e);for(var n of t.options){var o=Sr(n);if(Bi(o,e)){n.selected=!0;return}}(!r||e!==void 0)&&(t.selectedIndex=-1)}function Al(t,e){br(()=>{var r=new MutationObserver(()=>{var n=t.__value;va(t,n)});return r.observe(t,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["value"]}),()=>{r.disconnect()}})}function Ll(t,e,r=e){var n=!0;ea(t,"change",o=>{var a=o?"[selected]":":checked",i;if(t.multiple)i=[].map.call(t.querySelectorAll(a),Sr);else{var l=t.querySelector(a)??t.querySelector("option:not([disabled])");i=l&&Sr(l)}r(i)}),br(()=>{var o=e();if(va(t,o,n),n&&o===void 0){var a=t.querySelector(":checked");a!==null&&(o=Sr(a),r(o))}t.__value=o,n=!1}),Al(t)}function Sl(t,e){for(var r of t.options)r.selected=~e.indexOf(Sr(r))}function Sr(t){return"__value"in t?t.__value:t.value}function ma(t=!1){const e=ye,r=e.l.u;if(!r)return;let n=()=>sl(e.s);if(t){let o=0,a={};const i=M(()=>{let l=!1;const c=e.s;for(const s in c)c[s]!==a[s]&&(a[s]=c[s],l=!0);return l&&o++,o});n=()=>u(i)}r.b.length&&Vi(()=>{ga(e,n),jr(r.b)}),Rn(()=>{const o=$r(()=>r.m.map(Ci));return()=>{for(const a of o)typeof a=="function"&&a()}}),r.a.length&&Rn(()=>{ga(e,n),jr(r.a)})}function ga(t,e){if(t.l.s)for(const r of t.l.s)u(r);e()}let ln=!1;function Pl(t){var e=ln;try{return ln=!1,[t(),ln]}finally{ln=e}}const Tl={get(t,e){if(!t.exclude.includes(e))return t.props[e]},set(t,e){return!1},getOwnPropertyDescriptor(t,e){if(!t.exclude.includes(e)&&e in t.props)return{enumerable:!0,configurable:!0,value:t.props[e]}},has(t,e){return t.exclude.includes(e)?!1:e in t.props},ownKeys(t){return Reflect.ownKeys(t.props).filter(e=>!t.exclude.includes(e))}};function it(t,e,r){return new Proxy({props:t,exclude:e},Tl)}const Ml={get(t,e){let r=t.props.length;for(;r--;){let n=t.props[r];if(Jt(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 o=t.props[n];Jt(o)&&(o=o());const a=wt(o,e);if(a&&a.set)return a.set(r),!0}return!1},getOwnPropertyDescriptor(t,e){let r=t.props.length;for(;r--;){let n=t.props[r];if(Jt(n)&&(n=n()),typeof n=="object"&&n!==null&&e in n){const o=wt(n,e);return o&&!o.configurable&&(o.configurable=!0),o}}},has(t,e){if(e===yt||e===Sn)return!1;for(let r of t.props)if(Jt(r)&&(r=r()),r!=null&&e in r)return!0;return!1},ownKeys(t){const e=[];for(let r of t.props){Jt(r)&&(r=r());for(const n in r)e.includes(n)||e.push(n)}return e}};function sn(...t){return new Proxy({props:t},Ml)}function ha(t){for(var e=oe,r=oe;e!==null&&!(e.f&(ut|qt));)e=e.parent;try{return Re(e),t()}finally{Re(r)}}function O(t,e,r,n){var ee;var o=(r&ni)!==0,a=!_r||(r&oi)!==0,i=(r&ii)!==0,l=(r&li)!==0,c=!1,s;i?[s,c]=Pl(()=>t[e]):s=t[e];var f=yt in t||Sn in t,m=i&&(((ee=wt(t,e))==null?void 0:ee.set)??(f&&e in t&&(z=>t[e]=z)))||void 0,g=n,v=!0,d=!1,h=()=>(d=!0,v&&(v=!1,l?g=$r(n):g=n),g);s===void 0&&n!==void 0&&(m&&a&&Ri(),s=h(),m&&m(s));var _;if(a)_=()=>{var z=t[e];return z===void 0?h():(v=!0,d=!1,z)};else{var p=ha(()=>(o?M:nr)(()=>t[e]));p.f|=Ei,_=()=>{var z=u(p);return z!==void 0&&(g=void 0),z===void 0?g:z}}if(!(r&ai))return _;if(m){var b=t.$$legacy;return function(z,N){return arguments.length>0?((!a||!N||b||c)&&m(N?_():z),z):_()}}var C=!1,y=!1,x=wr(s),k=ha(()=>M(()=>{var z=_(),N=u(x);return C?(C=!1,y=!0,N):(y=!1,x.v=z)}));return o||(k.equals=Pn),function(z,N){if(arguments.length>0){const Z=N?u(k):a&&i?fe(z):z;return k.equals(Z)||(C=!0,B(x,Z),d&&g!==void 0&&(g=Z),$r(()=>u(k))),z}return u(k)}}function zl(t){return new Rl(t)}class Rl{constructor(e){uo(this,$t);uo(this,tt);var a;var r=new Map,n=(i,l)=>{var c=wr(l);return r.set(i,c),c};const o=new Proxy({...e.props||{},$$events:{}},{get(i,l){return u(r.get(l)??n(l,Reflect.get(i,l)))},has(i,l){return l===Sn?!0:(u(r.get(l)??n(l,Reflect.get(i,l))),Reflect.has(i,l))},set(i,l,c){return B(r.get(l)??n(l,c),c),Reflect.set(i,l,c)}});fo(this,tt,(e.hydrate?ul:oa)(e.component,{target:e.target,anchor:e.anchor,props:o,context:e.context,intro:e.intro??!1,recover:e.recover})),(!((a=e==null?void 0:e.props)!=null&&a.$$host)||e.sync===!1)&&pe(),fo(this,$t,o.$$events);for(const i of Object.keys(Ue(this,tt)))i==="$set"||i==="$destroy"||i==="$on"||Fr(this,i,{get(){return Ue(this,tt)[i]},set(l){Ue(this,tt)[i]=l},enumerable:!0});Ue(this,tt).$set=i=>{Object.assign(o,i)},Ue(this,tt).$destroy=()=>{dl(Ue(this,tt))}}$set(e){Ue(this,tt).$set(e)}$on(e,r){Ue(this,$t)[e]=Ue(this,$t)[e]||[];const n=(...o)=>r.call(this,...o);return Ue(this,$t)[e].push(n),()=>{Ue(this,$t)[e]=Ue(this,$t)[e].filter(o=>o!==n)}}$destroy(){Ue(this,tt).$destroy()}}$t=new WeakMap,tt=new WeakMap;let pa;typeof HTMLElement=="function"&&(pa=class extends HTMLElement{constructor(e,r,n){super();ct(this,"$$ctor");ct(this,"$$s");ct(this,"$$c");ct(this,"$$cn",!1);ct(this,"$$d",{});ct(this,"$$r",!1);ct(this,"$$p_d",{});ct(this,"$$l",{});ct(this,"$$l_u",new Map);ct(this,"$$me");this.$$ctor=e,this.$$s=r,n&&this.attachShadow({mode:"open"})}addEventListener(e,r,n){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(r),this.$$c){const o=this.$$c.$on(e,r);this.$$l_u.set(r,o)}super.addEventListener(e,r,n)}removeEventListener(e,r,n){if(super.removeEventListener(e,r,n),this.$$c){const o=this.$$l_u.get(r);o&&(o(),this.$$l_u.delete(r))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let e=function(o){return a=>{const i=document.createElement("slot");o!=="default"&&(i.name=o),w(a,i)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const r={},n=Nl(this);for(const o of this.$$s)o in n&&(o==="default"&&!this.$$d.children?(this.$$d.children=e(o),r.default=!0):r[o]=e(o));for(const o of this.attributes){const a=this.$$g_p(o.name);a in this.$$d||(this.$$d[a]=cn(a,o.value,this.$$p_d,"toProp"))}for(const o in this.$$p_d)!(o in this.$$d)&&this[o]!==void 0&&(this.$$d[o]=this[o],delete this[o]);this.$$c=zl({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:r,$$host:this}}),this.$$me=Wi(()=>{Nn(()=>{var o;this.$$r=!0;for(const a of qr(this.$$c)){if(!((o=this.$$p_d[a])!=null&&o.reflect))continue;this.$$d[a]=this.$$c[a];const i=cn(a,this.$$d[a],this.$$p_d,"toAttribute");i==null?this.removeAttribute(this.$$p_d[a].attribute||a):this.setAttribute(this.$$p_d[a].attribute||a,i)}this.$$r=!1})});for(const o in this.$$l)for(const a of this.$$l[o]){const i=this.$$c.$on(o,a);this.$$l_u.set(a,i)}this.$$l={}}}attributeChangedCallback(e,r,n){var o;this.$$r||(e=this.$$g_p(e),this.$$d[e]=cn(e,n,this.$$p_d,"toProp"),(o=this.$$c)==null||o.$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 qr(this.$$p_d).find(r=>this.$$p_d[r].attribute===e||!this.$$p_d[r].attribute&&r.toLowerCase()===e)||e}});function cn(t,e,r,n){var a;const o=(a=r[t])==null?void 0:a.type;if(e=o==="Boolean"&&typeof e!="boolean"?e!=null:e,!n||!r[t])return e;if(n==="toAttribute")switch(o){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(o){case"Object":case"Array":return e&&JSON.parse(e);case"Boolean":return e;case"Number":return e!=null?+e:e;default:return e}}function Nl(t){const e={};return t.childNodes.forEach(r=>{e[r.slot||"default"]=!0}),e}function Wt(t,e,r,n,o,a){let i=class extends pa{constructor(){super(t,r,o),this.$$p_d=e}static get observedAttributes(){return qr(e).map(l=>(e[l].attribute||l).toLowerCase())}};return qr(e).forEach(l=>{Fr(i.prototype,l,{get(){return this.$$c&&l in this.$$c?this.$$c[l]:this.$$d[l]},set(c){var m;c=cn(l,c,e),this.$$d[l]=c;var s=this.$$c;if(s){var f=(m=wt(s,l))==null?void 0:m.get;f?s[l]=c:s.$set({[l]:c})}}})}),n.forEach(l=>{Fr(i.prototype,l,{get(){var c;return(c=this.$$c)==null?void 0:c[l]}})}),t.element=i,i}Fi();const Qn="-",Il=t=>{const e=Dl(t),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=t;return{getClassGroupId:i=>{const l=i.split(Qn);return l[0]===""&&l.length!==1&&l.shift(),_a(l,e)||Ol(i)},getConflictingClassGroupIds:(i,l)=>{const c=r[i]||[];return l&&n[i]?[...c,...n[i]]:c}}},_a=(t,e)=>{var i;if(t.length===0)return e.classGroupId;const r=t[0],n=e.nextPart.get(r),o=n?_a(t.slice(1),n):void 0;if(o)return o;if(e.validators.length===0)return;const a=t.join(Qn);return(i=e.validators.find(({validator:l})=>l(a)))==null?void 0:i.classGroupId},wa=/^\[(.+)\]$/,Ol=t=>{if(wa.test(t)){const e=wa.exec(t)[1],r=e==null?void 0:e.substring(0,e.indexOf(":"));if(r)return"arbitrary.."+r}},Dl=t=>{const{theme:e,prefix:r}=t,n={nextPart:new Map,validators:[]};return Fl(Object.entries(t.classGroups),r).forEach(([a,i])=>{eo(i,n,a,e)}),n},eo=(t,e,r,n)=>{t.forEach(o=>{if(typeof o=="string"){const a=o===""?e:ba(e,o);a.classGroupId=r;return}if(typeof o=="function"){if(ql(o)){eo(o(n),e,r,n);return}e.validators.push({validator:o,classGroupId:r});return}Object.entries(o).forEach(([a,i])=>{eo(i,ba(e,a),r,n)})})},ba=(t,e)=>{let r=t;return e.split(Qn).forEach(n=>{r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r},ql=t=>t.isThemeGetter,Fl=(t,e)=>e?t.map(([r,n])=>{const o=n.map(a=>typeof a=="string"?e+a:typeof a=="object"?Object.fromEntries(Object.entries(a).map(([i,l])=>[e+i,l])):a);return[r,o]}):t,jl=t=>{if(t<1)return{get:()=>{},set:()=>{}};let e=0,r=new Map,n=new Map;const o=(a,i)=>{r.set(a,i),e++,e>t&&(e=0,n=r,r=new Map)};return{get(a){let i=r.get(a);if(i!==void 0)return i;if((i=n.get(a))!==void 0)return o(a,i),i},set(a,i){r.has(a)?r.set(a,i):o(a,i)}}},ya="!",Bl=t=>{const{separator:e,experimentalParseClassName:r}=t,n=e.length===1,o=e[0],a=e.length,i=l=>{const c=[];let s=0,f=0,m;for(let _=0;_<l.length;_++){let p=l[_];if(s===0){if(p===o&&(n||l.slice(_,_+a)===e)){c.push(l.slice(f,_)),f=_+a;continue}if(p==="/"){m=_;continue}}p==="["?s++:p==="]"&&s--}const g=c.length===0?l:l.substring(f),v=g.startsWith(ya),d=v?g.substring(1):g,h=m&&m>f?m-f:void 0;return{modifiers:c,hasImportantModifier:v,baseClassName:d,maybePostfixModifierPosition:h}};return r?l=>r({className:l,parseClassName:i}):i},Ul=t=>{if(t.length<=1)return t;const e=[];let r=[];return t.forEach(n=>{n[0]==="["?(e.push(...r.sort(),n),r=[]):r.push(n)}),e.push(...r.sort()),e},Gl=t=>({cache:jl(t.cacheSize),parseClassName:Bl(t),...Il(t)}),Hl=/\s+/,Vl=(t,e)=>{const{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:o}=e,a=[],i=t.trim().split(Hl);let l="";for(let c=i.length-1;c>=0;c-=1){const s=i[c],{modifiers:f,hasImportantModifier:m,baseClassName:g,maybePostfixModifierPosition:v}=r(s);let d=!!v,h=n(d?g.substring(0,v):g);if(!h){if(!d){l=s+(l.length>0?" "+l:l);continue}if(h=n(g),!h){l=s+(l.length>0?" "+l:l);continue}d=!1}const _=Ul(f).join(":"),p=m?_+ya:_,b=p+h;if(a.includes(b))continue;a.push(b);const C=o(h,d);for(let y=0;y<C.length;++y){const x=C[y];a.push(p+x)}l=s+(l.length>0?" "+l:l)}return l};function Wl(){let t=0,e,r,n="";for(;t<arguments.length;)(e=arguments[t++])&&(r=xa(e))&&(n&&(n+=" "),n+=r);return n}const xa=t=>{if(typeof t=="string")return t;let e,r="";for(let n=0;n<t.length;n++)t[n]&&(e=xa(t[n]))&&(r&&(r+=" "),r+=e);return r};function Yl(t,...e){let r,n,o,a=i;function i(c){const s=e.reduce((f,m)=>m(f),t());return r=Gl(s),n=r.cache.get,o=r.cache.set,a=l,l(c)}function l(c){const s=n(c);if(s)return s;const f=Vl(c,r);return o(c,f),f}return function(){return a(Wl.apply(null,arguments))}}const we=t=>{const e=r=>r[t]||[];return e.isThemeGetter=!0,e},ka=/^\[(?:([a-z-]+):)?(.+)\]$/i,Zl=/^\d+\/\d+$/,Kl=new Set(["px","full","screen"]),Jl=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Xl=/\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$/,Ql=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,es=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ts=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Et=t=>cr(t)||Kl.has(t)||Zl.test(t),Mt=t=>ur(t,"length",cs),cr=t=>!!t&&!Number.isNaN(Number(t)),to=t=>ur(t,"number",cr),Pr=t=>!!t&&Number.isInteger(Number(t)),rs=t=>t.endsWith("%")&&cr(t.slice(0,-1)),Y=t=>ka.test(t),zt=t=>Jl.test(t),ns=new Set(["length","size","percentage"]),os=t=>ur(t,ns,Ca),as=t=>ur(t,"position",Ca),is=new Set(["image","url"]),ls=t=>ur(t,is,ds),ss=t=>ur(t,"",us),Tr=()=>!0,ur=(t,e,r)=>{const n=ka.exec(t);return n?n[1]?typeof e=="string"?n[1]===e:e.has(n[1]):r(n[2]):!1},cs=t=>Xl.test(t)&&!Ql.test(t),Ca=()=>!1,us=t=>es.test(t),ds=t=>ts.test(t),ne=Yl(()=>{const t=we("colors"),e=we("spacing"),r=we("blur"),n=we("brightness"),o=we("borderColor"),a=we("borderRadius"),i=we("borderSpacing"),l=we("borderWidth"),c=we("contrast"),s=we("grayscale"),f=we("hueRotate"),m=we("invert"),g=we("gap"),v=we("gradientColorStops"),d=we("gradientColorStopPositions"),h=we("inset"),_=we("margin"),p=we("opacity"),b=we("padding"),C=we("saturate"),y=we("scale"),x=we("sepia"),k=we("skew"),ee=we("space"),z=we("translate"),N=()=>["auto","contain","none"],Z=()=>["auto","hidden","clip","visible","scroll"],P=()=>["auto",Y,e],A=()=>[Y,e],D=()=>["",Et,Mt],U=()=>["auto",cr,Y],ie=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],K=()=>["solid","dashed","dotted","double","none"],Q=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],j=()=>["start","end","center","between","around","evenly","stretch"],V=()=>["","0",Y],te=()=>["auto","avoid","all","avoid-page","page","left","right","column"],R=()=>[cr,Y];return{cacheSize:500,separator:":",theme:{colors:[Tr],spacing:[Et,Mt],blur:["none","",zt,Y],brightness:R(),borderColor:[t],borderRadius:["none","","full",zt,Y],borderSpacing:A(),borderWidth:D(),contrast:R(),grayscale:V(),hueRotate:R(),invert:V(),gap:A(),gradientColorStops:[t],gradientColorStopPositions:[rs,Mt],inset:P(),margin:P(),opacity:R(),padding:A(),saturate:R(),scale:R(),sepia:V(),skew:R(),space:A(),translate:A()},classGroups:{aspect:[{aspect:["auto","square","video",Y]}],container:["container"],columns:[{columns:[zt]}],"break-after":[{"break-after":te()}],"break-before":[{"break-before":te()}],"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"],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:[...ie(),Y]}],overflow:[{overflow:Z()}],"overflow-x":[{"overflow-x":Z()}],"overflow-y":[{"overflow-y":Z()}],overscroll:[{overscroll:N()}],"overscroll-x":[{"overscroll-x":N()}],"overscroll-y":[{"overscroll-y":N()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[h]}],"inset-x":[{"inset-x":[h]}],"inset-y":[{"inset-y":[h]}],start:[{start:[h]}],end:[{end:[h]}],top:[{top:[h]}],right:[{right:[h]}],bottom:[{bottom:[h]}],left:[{left:[h]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Pr,Y]}],basis:[{basis:P()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",Y]}],grow:[{grow:V()}],shrink:[{shrink:V()}],order:[{order:["first","last","none",Pr,Y]}],"grid-cols":[{"grid-cols":[Tr]}],"col-start-end":[{col:["auto",{span:["full",Pr,Y]},Y]}],"col-start":[{"col-start":U()}],"col-end":[{"col-end":U()}],"grid-rows":[{"grid-rows":[Tr]}],"row-start-end":[{row:["auto",{span:[Pr,Y]},Y]}],"row-start":[{"row-start":U()}],"row-end":[{"row-end":U()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",Y]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",Y]}],gap:[{gap:[g]}],"gap-x":[{"gap-x":[g]}],"gap-y":[{"gap-y":[g]}],"justify-content":[{justify:["normal",...j()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...j(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...j(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[b]}],px:[{px:[b]}],py:[{py:[b]}],ps:[{ps:[b]}],pe:[{pe:[b]}],pt:[{pt:[b]}],pr:[{pr:[b]}],pb:[{pb:[b]}],pl:[{pl:[b]}],m:[{m:[_]}],mx:[{mx:[_]}],my:[{my:[_]}],ms:[{ms:[_]}],me:[{me:[_]}],mt:[{mt:[_]}],mr:[{mr:[_]}],mb:[{mb:[_]}],ml:[{ml:[_]}],"space-x":[{"space-x":[ee]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[ee]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",Y,e]}],"min-w":[{"min-w":[Y,e,"min","max","fit"]}],"max-w":[{"max-w":[Y,e,"none","full","min","max","fit","prose",{screen:[zt]},zt]}],h:[{h:[Y,e,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[Y,e,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[Y,e,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[Y,e,"auto","min","max","fit"]}],"font-size":[{text:["base",zt,Mt]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",to]}],"font-family":[{font:[Tr]}],"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:["tighter","tight","normal","wide","wider","widest",Y]}],"line-clamp":[{"line-clamp":["none",cr,to]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Et,Y]}],"list-image":[{"list-image":["none",Y]}],"list-style-type":[{list:["none","disc","decimal",Y]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[t]}],"placeholder-opacity":[{"placeholder-opacity":[p]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[t]}],"text-opacity":[{"text-opacity":[p]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...K(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Et,Mt]}],"underline-offset":[{"underline-offset":["auto",Et,Y]}],"text-decoration-color":[{decoration:[t]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:A()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Y]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Y]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[p]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...ie(),as]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",os]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},ls]}],"bg-color":[{bg:[t]}],"gradient-from-pos":[{from:[d]}],"gradient-via-pos":[{via:[d]}],"gradient-to-pos":[{to:[d]}],"gradient-from":[{from:[v]}],"gradient-via":[{via:[v]}],"gradient-to":[{to:[v]}],rounded:[{rounded:[a]}],"rounded-s":[{"rounded-s":[a]}],"rounded-e":[{"rounded-e":[a]}],"rounded-t":[{"rounded-t":[a]}],"rounded-r":[{"rounded-r":[a]}],"rounded-b":[{"rounded-b":[a]}],"rounded-l":[{"rounded-l":[a]}],"rounded-ss":[{"rounded-ss":[a]}],"rounded-se":[{"rounded-se":[a]}],"rounded-ee":[{"rounded-ee":[a]}],"rounded-es":[{"rounded-es":[a]}],"rounded-tl":[{"rounded-tl":[a]}],"rounded-tr":[{"rounded-tr":[a]}],"rounded-br":[{"rounded-br":[a]}],"rounded-bl":[{"rounded-bl":[a]}],"border-w":[{border:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[p]}],"border-style":[{border:[...K(),"hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[p]}],"divide-style":[{divide:K()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-s":[{"border-s":[o]}],"border-color-e":[{"border-e":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["",...K()]}],"outline-offset":[{"outline-offset":[Et,Y]}],"outline-w":[{outline:[Et,Mt]}],"outline-color":[{outline:[t]}],"ring-w":[{ring:D()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[t]}],"ring-opacity":[{"ring-opacity":[p]}],"ring-offset-w":[{"ring-offset":[Et,Mt]}],"ring-offset-color":[{"ring-offset":[t]}],shadow:[{shadow:["","inner","none",zt,ss]}],"shadow-color":[{shadow:[Tr]}],opacity:[{opacity:[p]}],"mix-blend":[{"mix-blend":[...Q(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Q()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",zt,Y]}],grayscale:[{grayscale:[s]}],"hue-rotate":[{"hue-rotate":[f]}],invert:[{invert:[m]}],saturate:[{saturate:[C]}],sepia:[{sepia:[x]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[s]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[f]}],"backdrop-invert":[{"backdrop-invert":[m]}],"backdrop-opacity":[{"backdrop-opacity":[p]}],"backdrop-saturate":[{"backdrop-saturate":[C]}],"backdrop-sepia":[{"backdrop-sepia":[x]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",Y]}],duration:[{duration:R()}],ease:[{ease:["linear","in","out","in-out",Y]}],delay:[{delay:R()}],animate:[{animate:["none","spin","ping","pulse","bounce",Y]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[y]}],"scale-x":[{"scale-x":[y]}],"scale-y":[{"scale-y":[y]}],rotate:[{rotate:[Pr,Y]}],"translate-x":[{"translate-x":[z]}],"translate-y":[{"translate-y":[z]}],"skew-x":[{"skew-x":[k]}],"skew-y":[{"skew-y":[k]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",Y]}],accent:[{accent:["auto",t]}],appearance:[{appearance:["none","auto"]}],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",Y]}],"caret-color":[{caret:[t]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":A()}],"scroll-mx":[{"scroll-mx":A()}],"scroll-my":[{"scroll-my":A()}],"scroll-ms":[{"scroll-ms":A()}],"scroll-me":[{"scroll-me":A()}],"scroll-mt":[{"scroll-mt":A()}],"scroll-mr":[{"scroll-mr":A()}],"scroll-mb":[{"scroll-mb":A()}],"scroll-ml":[{"scroll-ml":A()}],"scroll-p":[{"scroll-p":A()}],"scroll-px":[{"scroll-px":A()}],"scroll-py":[{"scroll-py":A()}],"scroll-ps":[{"scroll-ps":A()}],"scroll-pe":[{"scroll-pe":A()}],"scroll-pt":[{"scroll-pt":A()}],"scroll-pr":[{"scroll-pr":A()}],"scroll-pb":[{"scroll-pb":A()}],"scroll-pl":[{"scroll-pl":A()}],"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",Y]}],fill:[{fill:[t,"none"]}],"stroke-w":[{stroke:[Et,Mt,to]}],stroke:[{stroke:[t,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","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","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","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-s","border-w-e","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-s","border-color-e","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"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","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-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"]}}}),fs=`*,: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}.-right-3{right:-.75rem}.bottom-0{bottom:0}.bottom-1{bottom:.25rem}.left-0{left:0}.left-1\\/2{left:50%}.left-4{left:1rem}.left-\\[50\\%\\]{left:50%}.right-0{right:0}.right-4{right:1rem}.top-0{top:0}.top-1\\/2{top:50%}.top-2{top:.5rem}.top-5{top:1.25rem}.top-\\[50\\%\\]{top:50%}.top-full{top:100%}.z-10{z-index:10}.z-20{z-index:20}.mx-auto{margin-left:auto;margin-right:auto}.my-4{margin-top:1rem;margin-bottom:1rem}.mb-0{margin-bottom:0}.mb-2{margin-bottom:.5rem}.mb-2\\.5{margin-bottom:.625rem}.mb-5{margin-bottom:1.25rem}.mb-6{margin-bottom:1.5rem}.ml-2{margin-left:.5rem}.mr-2{margin-right:.5rem}.mt-0{margin-top:0}.mt-0\\.5{margin-top:.125rem}.mt-1\\.5{margin-top:.375rem}.mt-2{margin-top:.5rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.box-border{box-sizing:border-box}.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}.table{display:table}.grid{display:grid}.contents{display:contents}.hidden{display:none}.aspect-\\[4\\/3\\]{aspect-ratio:4/3}.h-1\\.5{height:.375rem}.h-10{height:2.5rem}.h-12{height:3rem}.h-14{height:3.5rem}.h-16{height:4rem}.h-4{height:1rem}.h-7{height:1.75rem}.h-8{height:2rem}.h-full{height:100%}.h-px{height:1px}.w-1\\.5{width:.375rem}.w-10{width:2.5rem}.w-12{width:3rem}.w-14{width:3.5rem}.w-16{width:4rem}.w-4{width:1rem}.w-7{width:1.75rem}.w-72{width:18rem}.w-8{width:2rem}.w-full{width:100%}.max-w-\\[600px\\]{max-width:600px}.max-w-\\[800px\\]{max-width:800px}.flex-1{flex:1 1 0%}.-translate-x-1\\/2,.-translate-x-\\[50\\%\\]{--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: -.875rem;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-\\[50\\%\\]{--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-\\[calc\\(50\\%\\+theme\\(space\\.3\\)\\)\\]{--tw-translate-y: calc((50% + .75rem)*-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))}.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))}@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-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-rows-\\[0fr\\]{grid-template-rows:0fr}.grid-rows-\\[1fr\\]{grid-template-rows:1fr}.items-center{align-items:center}.justify-center{justify-content:center}.\\!justify-between{justify-content:space-between!important}.gap-1{gap:.25rem}.gap-1\\.5{gap:.375rem}.gap-2{gap:.5rem}.gap-4{gap:1rem}.gap-6{gap:1.5rem}.space-y-0\\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.125rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.125rem * var(--tw-space-y-reverse))}.overflow-hidden{overflow:hidden}.whitespace-nowrap{white-space:nowrap}.break-all{word-break:break-all}.rounded{border-radius:.25rem}.rounded-\\[var\\(--s-paywall-border-radius\\)\\]{border-radius:var(--s-paywall-border-radius)}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-sm{border-radius:.125rem}.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-x{border-left-width:1px;border-right-width:1px}.border-b{border-bottom-width:1px}.border-none{border-style:none}.\\!border-red-500{--tw-border-opacity: 1 !important;border-color:rgb(239 68 68 / var(--tw-border-opacity, 1))!important}.border-\\[\\#E7E7EC\\]{--tw-border-opacity: 1;border-color:rgb(231 231 236 / var(--tw-border-opacity, 1))}.border-\\[\\#e9e9da\\]{--tw-border-opacity: 1;border-color:rgb(233 233 218 / var(--tw-border-opacity, 1))}.border-\\[--s-login-avatar-bgcolor\\]{border-color:var(--s-login-avatar-bgcolor)}.border-\\[color\\:--s-login-button-color\\]{border-color:var(--s-login-button-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-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-\\[\\#4285f4\\]{--tw-bg-opacity: 1;background-color:rgb(66 133 244 / var(--tw-bg-opacity, 1))}.bg-\\[\\#FEB4C7\\]{--tw-bg-opacity: 1;background-color:rgb(254 180 199 / var(--tw-bg-opacity, 1))}.bg-\\[\\#f8f8f5\\]{--tw-bg-opacity: 1;background-color:rgb(248 248 245 / var(--tw-bg-opacity, 1))}.bg-\\[--s-login-avatar-bgcolor\\]{background-color:var(--s-login-avatar-bgcolor)}.bg-\\[var\\(--s-paywall-bg-color\\)\\]{background-color:var(--s-paywall-bg-color)}.bg-gray-400{--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity, 1))}.bg-primary{background-color:var(--s-primary-color)}.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-\\[--s-login-avatar-textcolor\\]{fill:var(--s-login-avatar-textcolor)}.object-cover{-o-object-fit:cover;object-fit:cover}.p-0{padding:0}.p-2\\.5{padding:.625rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\\.5{padding-left:.625rem;padding-right:.625rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\\.5{padding-top:.375rem;padding-bottom:.375rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.pb-2{padding-bottom:.5rem}.pb-4{padding-bottom:1rem}.pb-6{padding-bottom:1.5rem}.pt-0{padding-top:0}.pt-2{padding-top:.5rem}.pt-6{padding-top:1.5rem}.text-left{text-align:left}.text-center{text-align:center}.font-sans{font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji"}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.leading-none{line-height:1}.leading-snug{line-height:1.375}.leading-tight{line-height:1.25}.text-\\[\\#4285f4\\]{--tw-text-opacity: 1;color:rgb(66 133 244 / var(--tw-text-opacity, 1))}.text-\\[\\#5F6D85\\]{--tw-text-opacity: 1;color:rgb(95 109 133 / var(--tw-text-opacity, 1))}.text-\\[--s-login-avatar-textcolor\\]{color:var(--s-login-avatar-textcolor)}.text-\\[color\\:--s-login-button-color\\]{color:var(--s-login-button-color)}.text-\\[var\\(--s-paywall-text-color\\)\\]{color:var(--s-paywall-text-color)}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity, 1))}.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}.no-underline{text-decoration-line:none}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.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{outline-style:solid}.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-\\[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}.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}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:left-0:before{content:var(--tw-content);left:0}.before\\:top-1\\/2:before{content:var(--tw-content);top:50%}.before\\:h-px:before{content:var(--tw-content);height:1px}.before\\:w-\\[45\\%\\]:before{content:var(--tw-content);width:45%}.before\\:bg-gray-300:before{content:var(--tw-content);--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity, 1))}.before\\:content-\\[\\'\\'\\]:before{--tw-content: "";content:var(--tw-content)}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:right-0:after{content:var(--tw-content);right:0}.after\\:top-1\\/2:after{content:var(--tw-content);top:50%}.after\\:h-px:after{content:var(--tw-content);height:1px}.after\\:w-\\[45\\%\\]:after{content:var(--tw-content);width:45%}.after\\:bg-gray-300:after{content:var(--tw-content);--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity, 1))}.after\\:content-\\[\\'\\'\\]:after{--tw-content: "";content:var(--tw-content)}.hover\\:cursor-pointer:hover{cursor:pointer}.hover\\:bg-gray-100\\/50:hover{background-color:#f3f4f680}.hover\\:underline:hover{text-decoration-line:underline}.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}.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((50% + .75rem)*-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:.75rem;line-height:1rem}.peer:focus-visible~.peer-focus-visible\\:-translate-y-\\[calc\\(50\\%\\+theme\\(space\\.3\\)\\)\\]{--tw-translate-y: calc((50% + .75rem)*-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-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 (min-width: 20rem){.\\@xs\\:px-8{padding-left:2rem;padding-right:2rem}}@container (min-width: 24rem){.\\@sm\\:p-8{padding:2rem}.\\@sm\\:pb-10{padding-bottom:2.5rem}}@container (min-width: 28rem){.\\@md\\:mt-1{margin-top:.25rem}.\\@md\\:mt-8{margin-top:2rem}.\\@md\\:gap-4{gap:1rem}.\\@md\\:space-y-1\\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.375rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.375rem * var(--tw-space-y-reverse))}.\\@md\\:py-6{padding-top:1.5rem;padding-bottom:1.5rem}.\\@md\\:pb-8{padding-bottom:2rem}.\\@md\\:pt-4{padding-top:1rem}.\\@md\\:text-3xl{font-size:1.875rem;line-height:2.25rem}.\\@md\\:text-base{font-size:1rem;line-height:1.5rem}.\\@md\\:text-sm{font-size:.875rem;line-height:1.25rem}.\\@md\\:row-left{display:flex;flex-direction:row;flex-wrap:wrap;align-content:center;align-items:center;justify-content:flex-start}.\\@md\\:row{display:flex;flex-direction:row;flex-wrap:wrap;align-content:center;align-items:center;justify-content:center}.\\@md\\:column-right{display:flex;flex-direction:column;align-items:flex-end;justify-content:center}}@container (min-width: 36rem){.\\@xl\\:mb-4{margin-bottom:1rem}.\\@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:1rem}.\\@xl\\:rounded-\\[var\\(--s-paywall-border-radius-desktop\\)\\]{border-radius:var(--s-paywall-border-radius-desktop)}.\\@xl\\:p-1{padding:.25rem}.\\@xl\\:text-2xl{font-size:1.5rem;line-height:2rem}.\\@xl\\:text-4xl{font-size:2.25rem;line-height:2.5rem}.\\@xl\\:text-base{font-size:1rem;line-height:1.5rem}.\\@xl\\:text-lg{font-size:1.125rem;line-height:1.75rem}.\\@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: 48rem){.\\@3xl\\:p-16{padding:4rem}.\\@3xl\\:p-4{padding:1rem}.\\@3xl\\:px-16{padding-left:4rem;padding-right:4rem}.\\@3xl\\:pt-10{padding-top:2.5rem}}@container (min-width: 56rem){.\\@4xl\\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}.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\\: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\\:text-gray-400:is(.dark *){--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.dark\\:text-white:is(.dark *){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}@media not all and (min-width: 640px){.max-sm\\:gap-0{gap:0px}}@media (min-width: 640px){.sm\\:text-xs{font-size:.75rem;line-height:1rem}}@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:.375rem;border-top-right-radius:.375rem}.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:.375rem;border-bottom-left-radius:.375rem}.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:.375rem;border-top-right-radius:.375rem}.\\[\\&\\>label\\:last-child\\>\\:where\\(select\\,input\\)\\]\\:rounded-b-md>label:last-child>:where(select,input){border-bottom-right-radius:.375rem;border-bottom-left-radius:.375rem}.\\[\\&\\>label\\>\\:where\\(select\\,input\\)\\]\\:rounded-none>label>:where(select,input){border-radius:0}.\\[\\&_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}`;async function Ea(){return window.sesamy?window.sesamy:new Promise((t,e)=>{const r=setTimeout(()=>{window.sesamy?t(window.sesamy):e(new Error("sesamyReady event did not occur within the expected time."))},5e3);function n(){window.sesamy?(clearTimeout(r),window.removeEventListener("sesamyJsReady",n),t(window.sesamy)):e(new Error("Sesamy API is not available"))}window.addEventListener("sesamyJsReady",n)})}const $a={cs:{already_subscribing:"Už jste se přihlásili k odběru?",click_to_update:"Klikněte pro aktualizaci",continue:"Pokračovat",country:"Země",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é",invalid_email:"Neplatná e-mailová adresa",last_name:"Příjmení",last_name_required:"Příjmení je povinné",login:"Přihlášení",logo_of:"Logo společnosti",logout:"Odhlášení",my_account:"Můj účet",pay_now:"Zaplaťte nyní",phone_number:"Telefonní číslo",phone_number_required:"Vyžaduje se telefonní číslo",secure_payment:"Bezpečná platba šifrovaná pomocí SSL",something_went_wrong:"Něco se pokazilo",user_already_owns_item:"Tento produkt již vlastníte"},en:{already_subscribing:"Already subscribing?",click_to_update:"Click to update",continue:"Continue",country:"Country",did_you_mean:"Did you mean",email:"Email address",first_name:"First name",first_name_required:"First name is required",invalid_email:"Invalid email address",last_name:"Last name",last_name_required:"Last name is required",login:"Login",logo_of:"Logo of",logout:"Log out",my_account:"My account",pay_now:"Pay now",phone_number:"Phone number",phone_number_required:"Phone number is required",secure_payment:"Secure SSL encrypted payment",something_went_wrong:"Something went wrong",user_already_owns_item:"You already own this product"},fi:{already_subscribing:"Oletko jo tilannut?",click_to_update:"Klikkaa päivittääksesi",continue:"Jatka",country:"Maa",did_you_mean:"Tarkoititko",email:"Sähköpostiosoite",first_name:"Etunimi",first_name_required:"Etunimi vaaditaan",invalid_email:"Virheellinen sähköpostiosoite",last_name:"Sukunimi",last_name_required:"Sukunimi vaaditaan",login:"Kirjaudu sisään",logo_of:"Logo of",logout:"Kirjaudu ulos",my_account:"Tilini",pay_now:"Maksa nyt",phone_number:"Puhelinnumero",phone_number_required:"Puhelinnumero vaaditaan",secure_payment:"Turvallinen SSL-salattu maksu",something_went_wrong:"Jokin meni pieleen",user_already_owns_item:"Omistat jo tämän tuotteen"},it:{already_subscribing:"Siete già abbonati?",click_to_update:"Fare clic per aggiornare",continue:"Continua",country:"Paese",did_you_mean:"Intendeva",email:"Indirizzo e-mail",first_name:"Nome",first_name_required:"Il nome è obbligatorio",invalid_email:"Indirizzo e-mail non valido",last_name:"Cognome",last_name_required:"Il cognome è obbligatorio",login:"Accesso",logo_of:"Logo di",logout:"Disconnettersi",my_account:"Il mio account",pay_now:"Paga ora",phone_number:"Numero di telefono",phone_number_required:"Il numero di telefono è richiesto",secure_payment:"Pagamento sicuro con crittografia SSL",something_went_wrong:"Qualcosa è andato storto",user_already_owns_item:"Possiedi già questo prodotto"},nb:{already_subscribing:"Abonnerer du allerede?",click_to_update:"Klikk for å oppdatere",continue:"Fortsett",country:"Land",did_you_mean:"Mente du",email:"E-postadresse",first_name:"Fornavn",first_name_required:"Fornavn er påkrevd",invalid_email:"Ugyldig e-postadresse",last_name:"Etternavn",last_name_required:"Etternavn er påkrevd",login:"Logg inn",logo_of:"Logoen til",logout:"Logg ut",my_account:"Min konto",pay_now:"Betal nå",phone_number:"Telefonnummer",phone_number_required:"Telefonnummer er påkrevd",secure_payment:"Sikker SSL-kryptert betaling",something_went_wrong:"Noe gikk galt",user_already_owns_item:"Du eier allerede dette produktet"},pl:{already_subscribing:"Już subskrybujesz?",click_to_update:"Kliknij, aby zaktualizować",continue:"Kontynuuj",country:"Kraj",did_you_mean:"Czy miałeś na myśli",email:"Adres e-mail",first_name:"Imię",first_name_required:"Imię jest wymagane",invalid_email:"Nieprawidłowy adres e-mail",last_name:"Nazwisko",last_name_required:"Nazwisko jest wymagane",login:"Logowanie",logo_of:"Logo",logout:"Wylogowanie",my_account:"Moje konto",pay_now:"Zapłać teraz",phone_number:"Numer telefonu",phone_number_required:"Numer telefonu jest wymagany",secure_payment:"Bezpieczna płatność szyfrowana SSL",something_went_wrong:"Coś poszło nie tak",user_already_owns_item:"Posiadasz już ten produkt"},sv:{already_subscribing:"Prenumererar du redan?",click_to_update:"Klicka för att uppdatera",continue:"Fortsätt",country:"Land",did_you_mean:"Menade du",email:"E-postadress",first_name:"Förnamn",first_name_required:"Förnamn är obligatoriskt",invalid_email:"Ogiltig e-postadress",last_name:"Efternamn",last_name_required:"Efternamn är obligatoriskt",login:"Logga in",logo_of:"Logotyp för",logout:"Logga ut",my_account:"Mitt konto",pay_now:"Betala nu",phone_number:"Telefonnummer",phone_number_required:"Telefonnummer är obligatoriskt",secure_payment:"Säker SSL-krypterad betalning",something_went_wrong:"Något gick fel",user_already_owns_item:"Du har redan köpt den här produkten"}};function vs(t){const e=$a[t]?t:"en";return r=>{var n;return((n=$a[e])==null?void 0:n[r])||r}}var ms=S('<p style="color: red"> </p>'),gs=S("<!> <!>",1);function dr(t,e){var g;me(e,!0);let r=O(e,"applyStyles",3,!0);const n=(g=document.querySelector("html"))==null?void 0:g.getAttribute("lang"),o=n==null?void 0:n.split("-")[0],a=Ea(),i=vs(e.lang||o||"en");let c=r()?"<style>"+fs+`
|
|
1
|
+
(function(ie,ge){typeof exports=="object"&&typeof module<"u"?ge(exports):typeof define=="function"&&define.amd?define(["exports"],ge):(ie=typeof globalThis<"u"?globalThis:ie||self,ge(ie["@sesamy/sesamy-components"]={}))})(this,function(ie){"use strict";var fu=Object.defineProperty;var Xa=ie=>{throw TypeError(ie)};var vu=(ie,ge,Ae)=>ge in ie?fu(ie,ge,{enumerable:!0,configurable:!0,writable:!0,value:Ae}):ie[ge]=Ae;var st=(ie,ge,Ae)=>vu(ie,typeof ge!="symbol"?ge+"":ge,Ae),Qa=(ie,ge,Ae)=>ge.has(ie)||Xa("Cannot "+Ae);var He=(ie,ge,Ae)=>(Qa(ie,ge,"read from private field"),Ae?Ae.call(ie):ge.get(ie)),co=(ie,ge,Ae)=>ge.has(ie)?Xa("Cannot add the same private member more than once"):ge instanceof WeakSet?ge.add(ie):ge.set(ie,Ae),uo=(ie,ge,Ae,Wt)=>(Qa(ie,ge,"write to private field"),Wt?Wt.call(ie,Ae):ge.set(ie,Ae),Ae);var $t,et;const ge="5";typeof window<"u"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(ge);const Ae=1,Wt=2,fo=4,ei=8,ti=16,ri=1,ni=2,oi=4,ai=8,ii=16,li=4,si=1,ci=2,vo="[",yn="[!",xn="]",Zt={},Me=Symbol(),mo="http://www.w3.org/2000/svg";function ui(t){return t.endsWith("capture")&&t!=="gotpointercapture"&&t!=="lostpointercapture"}const di=["beforeinput","click","change","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"];function fi(t){return di.includes(t)}const vi={formnovalidate:"formNoValidate",ismap:"isMap",nomodule:"noModule",playsinline:"playsInline",readonly:"readOnly",defaultvalue:"defaultValue",defaultchecked:"defaultChecked",srcobject:"srcObject"};function mi(t){return t=t.toLowerCase(),vi[t]??t}const hi=["touchstart","touchmove"];function gi(t){return hi.includes(t)}const pi=["textarea","script","style","title"];function _i(t){return pi.includes(t)}const kn=!1;var Cn=Array.isArray,wi=Array.prototype.indexOf,En=Array.from,qr=Object.keys,Fr=Object.defineProperty,wt=Object.getOwnPropertyDescriptor,ho=Object.getOwnPropertyDescriptors,bi=Object.prototype,yi=Array.prototype,$n=Object.getPrototypeOf;function Kt(t){return typeof t=="function"}const Jt=()=>{};function xi(t){return typeof(t==null?void 0:t.then)=="function"}function ki(t){return t()}function jr(t){for(var e=0;e<t.length;e++)t[e]()}const Ve=2,go=4,hr=8,Br=16,ct=32,qt=64,Ur=128,Ft=256,Gr=512,Ie=1024,bt=2048,Xt=4096,ut=8192,Qt=16384,po=32768,er=65536,Ci=1<<17,Ei=1<<19,_o=1<<20,yt=Symbol("$state"),An=Symbol("legacy props"),$i=Symbol("");function wo(t){return t===this.v}function Ai(t,e){return t!=t?e==e:t!==e||t!==null&&typeof t=="object"||typeof t=="function"}function Pn(t){return!Ai(t,this.v)}function Pi(t){throw new Error("https://svelte.dev/e/effect_in_teardown")}function Si(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function Li(t){throw new Error("https://svelte.dev/e/effect_orphan")}function Ti(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function Mi(){throw new Error("https://svelte.dev/e/hydration_failed")}function zi(t){throw new Error("https://svelte.dev/e/props_invalid_value")}function Ri(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Ni(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function Ii(){throw new Error("https://svelte.dev/e/state_unsafe_local_read")}function Oi(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}let gr=!1,Di=!1;function qi(){gr=!0}function Oe(t,e){var r={f:0,v:t,reactions:null,equals:wo,rv:0,wv:0};return r}function Ce(t){return Fi(Oe(t))}function pr(t,e=!1){var n;const r=Oe(t);return e||(r.equals=Pn),gr&&ye!==null&&ye.l!==null&&((n=ye.l).s??(n.s=[])).push(r),r}function Fi(t){return ve!==null&&ve.f&Ve&&(ht===null?Qi([t]):ht.push(t)),t}function B(t,e){return ve!==null&&!Lt&&or()&&ve.f&(Ve|Br)&&(ht===null||!ht.includes(t))&&Oi(),tr(t,e)}function tr(t,e){return t.equals(e)||(t.v,t.v=e,t.wv=Go(),bo(t,bt),or()&&ae!==null&&ae.f&Ie&&!(ae.f&(ct|qt))&&(xt===null?el([t]):xt.push(t))),e}function bo(t,e){var r=t.reactions;if(r!==null)for(var n=or(),o=r.length,a=0;a<o;a++){var i=r[a],l=i.f;l&bt||!n&&i===ae||(ot(i,e),l&(Ie|Ft)&&(l&Ve?bo(i,Xt):Xr(i)))}}function Hr(t){console.warn("https://svelte.dev/e/hydration_mismatch")}let q=!1;function nt(t){q=t}let H;function ze(t){if(t===null)throw Hr(),Zt;return H=t}function dt(){return ze(mt(H))}function L(t){if(q){if(mt(H)!==null)throw Hr(),Zt;H=t}}function ft(t=1){if(q){for(var e=t,r=H;e--;)r=mt(r);H=r}}function Sn(){for(var t=0,e=H;;){if(e.nodeType===8){var r=e.data;if(r===xn){if(t===0)return e;t-=1}else(r===vo||r===yn)&&(t+=1)}var n=mt(e);e.remove(),e=n}}function de(t,e=null,r){if(typeof t!="object"||t===null||yt in t)return t;const n=$n(t);if(n!==bi&&n!==yi)return t;var o=new Map,a=Cn(t),i=Oe(0);a&&o.set("length",Oe(t.length));var l;return new Proxy(t,{defineProperty(c,s,f){(!("value"in f)||f.configurable===!1||f.enumerable===!1||f.writable===!1)&&Ri();var m=o.get(s);return m===void 0?(m=Oe(f.value),o.set(s,m)):B(m,de(f.value,l)),!0},deleteProperty(c,s){var f=o.get(s);if(f===void 0)s in c&&o.set(s,Oe(Me));else{if(a&&typeof s=="string"){var m=o.get("length"),h=Number(s);Number.isInteger(h)&&h<m.v&&B(m,h)}B(f,Me),yo(i)}return!0},get(c,s,f){var d;if(s===yt)return t;var m=o.get(s),h=s in c;if(m===void 0&&(!h||(d=wt(c,s))!=null&&d.writable)&&(m=Oe(de(h?c[s]:Me,l)),o.set(s,m)),m!==void 0){var v=u(m);return v===Me?void 0:v}return Reflect.get(c,s,f)},getOwnPropertyDescriptor(c,s){var f=Reflect.getOwnPropertyDescriptor(c,s);if(f&&"value"in f){var m=o.get(s);m&&(f.value=u(m))}else if(f===void 0){var h=o.get(s),v=h==null?void 0:h.v;if(h!==void 0&&v!==Me)return{enumerable:!0,configurable:!0,value:v,writable:!0}}return f},has(c,s){var v;if(s===yt)return!0;var f=o.get(s),m=f!==void 0&&f.v!==Me||Reflect.has(c,s);if(f!==void 0||ae!==null&&(!m||(v=wt(c,s))!=null&&v.writable)){f===void 0&&(f=Oe(m?de(c[s],l):Me),o.set(s,f));var h=u(f);if(h===Me)return!1}return m},set(c,s,f,m){var C;var h=o.get(s),v=s in c;if(a&&s==="length")for(var d=f;d<h.v;d+=1){var g=o.get(d+"");g!==void 0?B(g,Me):d in c&&(g=Oe(Me),o.set(d+"",g))}h===void 0?(!v||(C=wt(c,s))!=null&&C.writable)&&(h=Oe(void 0),B(h,de(f,l)),o.set(s,h)):(v=h.v!==Me,B(h,de(f,l)));var _=Reflect.getOwnPropertyDescriptor(c,s);if(_!=null&&_.set&&_.set.call(m,f),!v){if(a&&typeof s=="string"){var p=o.get("length"),w=Number(s);Number.isInteger(w)&&w>=p.v&&B(p,w+1)}yo(i)}return!0},ownKeys(c){u(i);var s=Reflect.ownKeys(c).filter(h=>{var v=o.get(h);return v===void 0||v.v!==Me});for(var[f,m]of o)m.v!==Me&&!(f in c)&&s.push(f);return s},setPrototypeOf(){Ni()}})}function yo(t,e=1){B(t,t.v+e)}function xo(t){return t!==null&&typeof t=="object"&&yt in t?t[yt]:t}function ji(t,e){return Object.is(xo(t),xo(e))}var ko,Co,Eo;function Ln(){if(ko===void 0){ko=window;var t=Element.prototype,e=Node.prototype;Co=wt(e,"firstChild").get,Eo=wt(e,"nextSibling").get,t.__click=void 0,t.__className="",t.__attributes=null,t.__styles=null,t.__e=void 0,Text.prototype.__t=void 0}}function vt(t=""){return document.createTextNode(t)}function De(t){return Co.call(t)}function mt(t){return Eo.call(t)}function T(t,e){if(!q)return De(t);var r=De(H);if(r===null)r=H.appendChild(vt());else if(e&&r.nodeType!==3){var n=vt();return r==null||r.before(n),ze(n),n}return ze(r),r}function S(t,e){if(!q){var r=De(t);return r instanceof Comment&&r.data===""?mt(r):r}if(e&&(H==null?void 0:H.nodeType)!==3){var n=vt();return H==null||H.before(n),ze(n),n}return H}function A(t,e=1,r=!1){let n=q?H:t;for(var o;e--;)o=n,n=mt(n);if(!q)return n;var a=n==null?void 0:n.nodeType;if(r&&a!==3){var i=vt();return n===null?o==null||o.after(i):n.before(i),ze(i),i}return ze(n),n}function $o(t){t.textContent=""}function M(t){var e=Ve|bt;ae===null?e|=Ft:ae.f|=_o;var r=ve!==null&&ve.f&Ve?ve:null;const n={children:null,ctx:ye,deps:null,equals:wo,f:e,fn:t,reactions:null,rv:0,v:null,wv:0,parent:r??ae};return r!==null&&(r.children??(r.children=[])).push(n),n}function _r(t){const e=M(t);return e.equals=Pn,e}function Ao(t){var e=t.children;if(e!==null){t.children=null;for(var r=0;r<e.length;r+=1){var n=e[r];n.f&Ve?Tn(n):Qe(n)}}}function Bi(t){for(var e=t.parent;e!==null;){if(!(e.f&Ve))return e;e=e.parent}return null}function Po(t){var e,r=ae;Re(Bi(t));try{Ao(t),e=Vo(t)}finally{Re(r)}return e}function So(t){var e=Po(t),r=(Gt||t.f&Ft)&&t.deps!==null?Xt:Ie;ot(t,r),t.equals(e)||(t.v=e,t.wv=Go())}function Tn(t){Ao(t),Cr(t,0),ot(t,Qt),t.v=t.children=t.deps=t.ctx=t.reactions=null}function Lo(t){ae===null&&ve===null&&Li(),ve!==null&&ve.f&Ft&&Si(),Dn&&Pi()}function Ui(t,e){var r=e.last;r===null?e.last=e.first=t:(r.next=t,t.prev=r,e.last=t)}function jt(t,e,r,n=!0){var o=(t&qt)!==0,a=ae,i={ctx:ye,deps:null,deriveds:null,nodes_start:null,nodes_end:null,f:t|bt,first:null,fn:e,last:null,next:null,parent:o?null:a,prev:null,teardown:null,transitions:null,wv:0};if(r){var l=rr;try{Fo(!0),qn(i),i.f|=po}catch(f){throw Qe(i),f}finally{Fo(l)}}else e!==null&&Xr(i);var c=r&&i.deps===null&&i.first===null&&i.nodes_start===null&&i.teardown===null&&(i.f&(_o|Ur))===0;if(!c&&!o&&n&&(a!==null&&Ui(i,a),ve!==null&&ve.f&Ve)){var s=ve;(s.children??(s.children=[])).push(i)}return i}function Gi(t){const e=jt(hr,null,!1);return ot(e,Ie),e.teardown=t,e}function Mn(t){Lo();var e=ae!==null&&(ae.f&ct)!==0&&ye!==null&&!ye.m;if(e){var r=ye;(r.e??(r.e=[])).push({fn:t,effect:ae,reaction:ve})}else{var n=wr(t);return n}}function Hi(t){return Lo(),zn(t)}function Vi(t){const e=jt(qt,t,!0);return()=>{Qe(e)}}function Yi(t){const e=jt(qt,t,!0);return(r={})=>new Promise(n=>{r.outro?Pt(e,()=>{Qe(e),n(void 0)}):(Qe(e),n(void 0))})}function wr(t){return jt(go,t,!1)}function zn(t){return jt(hr,t,!0)}function I(t,e=[],r=M){const n=e.map(r);return Bt(()=>t(...n.map(u)))}function Bt(t,e=0){return jt(hr|Br|e,t,!0)}function Xe(t,e=!0){return jt(hr|ct,t,!0,e)}function To(t){var e=t.teardown;if(e!==null){const r=Dn,n=ve;jo(!0),qe(null);try{e.call(null)}finally{jo(r),qe(n)}}}function Mo(t){var e=t.deriveds;if(e!==null){t.deriveds=null;for(var r=0;r<e.length;r+=1)Tn(e[r])}}function zo(t,e=!1){var r=t.first;for(t.first=t.last=null;r!==null;){var n=r.next;Qe(r,e),r=n}}function Wi(t){for(var e=t.first;e!==null;){var r=e.next;e.f&ct||Qe(e),e=r}}function Qe(t,e=!0){var r=!1;if((e||t.f&Ei)&&t.nodes_start!==null){for(var n=t.nodes_start,o=t.nodes_end;n!==null;){var a=n===o?null:mt(n);n.remove(),n=a}r=!0}zo(t,e&&!r),Mo(t),Cr(t,0),ot(t,Qt);var i=t.transitions;if(i!==null)for(const c of i)c.stop();To(t);var l=t.parent;l!==null&&l.first!==null&&Ro(t),t.next=t.prev=t.teardown=t.ctx=t.deps=t.fn=t.nodes_start=t.nodes_end=null}function Ro(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 Pt(t,e){var r=[];Rn(t,r,!0),No(r,()=>{Qe(t),e&&e()})}function No(t,e){var r=t.length;if(r>0){var n=()=>--r||e();for(var o of t)o.out(n)}else e()}function Rn(t,e,r){if(!(t.f&ut)){if(t.f^=ut,t.transitions!==null)for(const i of t.transitions)(i.is_global||r)&&e.push(i);for(var n=t.first;n!==null;){var o=n.next,a=(n.f&er)!==0||(n.f&ct)!==0;Rn(n,e,a?r:!1),n=o}}}function St(t){Io(t,!0)}function Io(t,e){if(t.f&ut){t.f^=ut,t.f&Ie||(t.f^=Ie),kr(t)&&(ot(t,bt),Xr(t));for(var r=t.first;r!==null;){var n=r.next,o=(r.f&er)!==0||(r.f&ct)!==0;Io(r,o?e:!1),r=n}if(t.transitions!==null)for(const a of t.transitions)(a.is_global||e)&&a.in()}}const Zi=typeof requestIdleCallback>"u"?t=>setTimeout(t,1):requestIdleCallback;let Vr=!1,Yr=!1,Nn=[],In=[];function Oo(){Vr=!1;const t=Nn.slice();Nn=[],jr(t)}function Do(){Yr=!1;const t=In.slice();In=[],jr(t)}function br(t){Vr||(Vr=!0,queueMicrotask(Oo)),Nn.push(t)}function Ki(t){Yr||(Yr=!0,Zi(Do)),In.push(t)}function Ji(){Vr&&Oo(),Yr&&Do()}function On(){throw new Error("https://svelte.dev/e/invalid_default_snippet")}const qo=0,Xi=1;let Wr=!1,Zr=qo,yr=!1,xr=null,rr=!1,Dn=!1;function Fo(t){rr=t}function jo(t){Dn=t}let Ut=[],nr=0,mu=[],ve=null,Lt=!1;function qe(t){ve=t}let ae=null;function Re(t){ae=t}let ht=null;function Qi(t){ht=t}let Fe=null,Ye=0,xt=null;function el(t){xt=t}let Bo=1,Kr=0,Gt=!1,ye=null;function Uo(t){ye=t}function Go(){return++Bo}function or(){return!gr||ye!==null&&ye.l===null}function kr(t){var s;var e=t.f;if(e&bt)return!0;if(e&Xt){var r=t.deps,n=(e&Ft)!==0;if(r!==null){var o,a,i=(e&Gr)!==0,l=n&&ae!==null&&!Gt,c=r.length;if(i||l){for(o=0;o<c;o++)a=r[o],(i||!((s=a==null?void 0:a.reactions)!=null&&s.includes(t)))&&(a.reactions??(a.reactions=[])).push(t);i&&(t.f^=Gr)}for(o=0;o<c;o++)if(a=r[o],kr(a)&&So(a),a.wv>t.wv)return!0}(!n||ae!==null&&!Gt)&&ot(t,Ie)}return!1}function tl(t,e){for(var r=e;r!==null;){if(r.f&Ur)try{r.fn(t);return}catch{r.f^=Ur}r=r.parent}throw Wr=!1,t}function rl(t){return(t.f&Qt)===0&&(t.parent===null||(t.parent.f&Ur)===0)}function Jr(t,e,r,n){if(Wr){if(r===null&&(Wr=!1),rl(e))throw t;return}r!==null&&(Wr=!0);{tl(t,e);return}}function Ho(t,e,r=0){var n=t.reactions;if(n!==null)for(var o=0;o<n.length;o++){var a=n[o];a.f&Ve?Ho(a,e,r+1):e===a&&(r===0?ot(a,bt):a.f&Ie&&ot(a,Xt),Xr(a))}}function Vo(t){var v;var e=Fe,r=Ye,n=xt,o=ve,a=Gt,i=ht,l=ye,c=Lt,s=t.f;Fe=null,Ye=0,xt=null,ve=s&(ct|qt)?null:t,Gt=!rr&&(s&Ft)!==0,ht=null,ye=t.ctx,Lt=!1,Kr++;try{var f=(0,t.fn)(),m=t.deps;if(Fe!==null){var h;if(Cr(t,Ye),m!==null&&Ye>0)for(m.length=Ye+Fe.length,h=0;h<Fe.length;h++)m[Ye+h]=Fe[h];else t.deps=m=Fe;if(!Gt)for(h=Ye;h<m.length;h++)((v=m[h]).reactions??(v.reactions=[])).push(t)}else m!==null&&Ye<m.length&&(Cr(t,Ye),m.length=Ye);if(or()&&xt!==null&&!(t.f&(Ve|Xt|bt)))for(h=0;h<xt.length;h++)Ho(xt[h],t);return o!==null&&Kr++,f}finally{Fe=e,Ye=r,xt=n,ve=o,Gt=a,ht=i,ye=l,Lt=c}}function nl(t,e){let r=e.reactions;if(r!==null){var n=wi.call(r,t);if(n!==-1){var o=r.length-1;o===0?r=e.reactions=null:(r[n]=r[o],r.pop())}}r===null&&e.f&Ve&&(Fe===null||!Fe.includes(e))&&(ot(e,Xt),e.f&(Ft|Gr)||(e.f^=Gr),Cr(e,0))}function Cr(t,e){var r=t.deps;if(r!==null)for(var n=e;n<r.length;n++)nl(t,r[n])}function qn(t){var e=t.f;if(!(e&Qt)){ot(t,Ie);var r=ae,n=ye;ae=t;try{e&Br?Wi(t):zo(t),Mo(t),To(t);var o=Vo(t);t.teardown=typeof o=="function"?o:null,t.wv=Bo;var a=t.deps,i;kn&&Di&&t.f&bt}catch(l){Jr(l,t,r,n||t.ctx)}finally{ae=r}}}function Yo(){if(nr>1e3){nr=0;try{Ti()}catch(t){if(xr!==null)Jr(t,xr,null);else throw t}}nr++}function Wo(t){var e=t.length;if(e!==0){Yo();var r=rr;rr=!0;try{for(var n=0;n<e;n++){var o=t[n];o.f&Ie||(o.f^=Ie);var a=[];Zo(o,a),ol(a)}}finally{rr=r}}}function ol(t){var e=t.length;if(e!==0)for(var r=0;r<e;r++){var n=t[r];if(!(n.f&(Qt|ut)))try{kr(n)&&(qn(n),n.deps===null&&n.first===null&&n.nodes_start===null&&(n.teardown===null?Ro(n):n.fn=null))}catch(o){Jr(o,n,null,n.ctx)}}}function al(){if(yr=!1,nr>1001)return;const t=Ut;Ut=[],Wo(t),yr||(nr=0,xr=null)}function Xr(t){Zr===qo&&(yr||(yr=!0,queueMicrotask(al))),xr=t;for(var e=t;e.parent!==null;){e=e.parent;var r=e.f;if(r&(qt|ct)){if(!(r&Ie))return;e.f^=Ie}}Ut.push(e)}function Zo(t,e){var r=t.first,n=[];e:for(;r!==null;){var o=r.f,a=(o&ct)!==0,i=a&&(o&Ie)!==0,l=r.next;if(!i&&!(o&ut))if(o&hr){if(a)r.f^=Ie;else try{kr(r)&&qn(r)}catch(m){Jr(m,r,null,r.ctx)}var c=r.first;if(c!==null){r=c;continue}}else o&go&&n.push(r);if(l===null){let m=r.parent;for(;m!==null;){if(t===m)break e;var s=m.next;if(s!==null){r=s;continue e}m=m.parent}}r=l}for(var f=0;f<n.length;f++)c=n[f],e.push(c),Zo(c,e)}function _e(t){var e=Zr,r=Ut;try{Yo();const o=[];Zr=Xi,Ut=o,yr=!1,Wo(r);var n=t==null?void 0:t();return Ji(),(Ut.length>0||o.length>0)&&_e(),nr=0,xr=null,n}finally{Zr=e,Ut=r}}function u(t){var f;var e=t.f,r=(e&Ve)!==0;if(r&&e&Qt){var n=Po(t);return Tn(t),n}if(ve!==null&&!Lt){ht!==null&&ht.includes(t)&&Ii();var o=ve.deps;t.rv<Kr&&(t.rv=Kr,Fe===null&&o!==null&&o[Ye]===t?Ye++:Fe===null?Fe=[t]:Fe.push(t))}else if(r&&t.deps===null)for(var a=t,i=a.parent,l=a;i!==null;)if(i.f&Ve){var c=i;l=c,i=c.parent}else{var s=i;(f=s.deriveds)!=null&&f.includes(l)||(s.deriveds??(s.deriveds=[])).push(l);break}return r&&(a=t,kr(a)&&So(a)),t.v}function Er(t){var e=Lt;try{return Lt=!0,t()}finally{Lt=e}}const il=-7169;function ot(t,e){t.f=t.f&il|e}function me(t,e=!1,r){ye={p:ye,c:null,e:null,m:!1,s:t,x:null,l:null},gr&&!e&&(ye.l={s:null,u:null,r1:[],r2:Oe(!1)})}function he(t){const e=ye;if(e!==null){t!==void 0&&(e.x=t);const i=e.e;if(i!==null){var r=ae,n=ve;e.e=null;try{for(var o=0;o<i.length;o++){var a=i[o];Re(a.effect),qe(a.reaction),wr(a.fn)}}finally{Re(r),qe(n)}}ye=e.p,e.m=!0}return t||{}}function ll(t){if(!(typeof t!="object"||!t||t instanceof EventTarget)){if(yt in t)Fn(t);else if(!Array.isArray(t))for(let e in t){const r=t[e];typeof r=="object"&&r&&yt in r&&Fn(r)}}}function Fn(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{Fn(t[n],e)}catch{}const r=$n(t);if(r!==Object.prototype&&r!==Array.prototype&&r!==Map.prototype&&r!==Set.prototype&&r!==Date.prototype){const n=ho(r);for(let o in n){const a=n[o].get;if(a)try{a.call(t)}catch{}}}}}function sl(t,e){if(e){const r=document.body;t.autofocus=!0,br(()=>{document.activeElement===r&&t.focus()})}}let Ko=!1;function Jo(){Ko||(Ko=!0,document.addEventListener("reset",t=>{Promise.resolve().then(()=>{var e;if(!t.defaultPrevented)for(const r of t.target.elements)(e=r.__on_r)==null||e.call(r)})},{capture:!0}))}function Xo(t){var e=ve,r=ae;qe(null),Re(null);try{return t()}finally{qe(e),Re(r)}}function Qo(t,e,r,n=r){t.addEventListener(e,()=>Xo(r));const o=t.__on_r;o?t.__on_r=()=>{o(),n(!0)}:t.__on_r=()=>n(!0),Jo()}const ea=new Set,jn=new Set;function ta(t,e,r,n){function o(a){if(n.capture||$r.call(e,a),!a.cancelBubble)return Xo(()=>r.call(this,a))}return t.startsWith("pointer")||t.startsWith("touch")||t==="wheel"?br(()=>{e.addEventListener(t,o,n)}):e.addEventListener(t,o,n),o}function Bn(t,e,r,n,o){var a={capture:n,passive:o},i=ta(t,e,r,a);(e===document.body||e===window||e===document)&&Gi(()=>{e.removeEventListener(t,i,a)})}function Qr(t){for(var e=0;e<t.length;e++)ea.add(t[e]);for(var r of jn)r(t)}function $r(t){var w;var e=this,r=e.ownerDocument,n=t.type,o=((w=t.composedPath)==null?void 0:w.call(t))||[],a=o[0]||t.target,i=0,l=t.__root;if(l){var c=o.indexOf(l);if(c!==-1&&(e===document||e===window)){t.__root=e;return}var s=o.indexOf(e);if(s===-1)return;c<=s&&(i=c)}if(a=o[i]||t.target,a!==e){Fr(t,"currentTarget",{configurable:!0,get(){return a||r}});var f=ve,m=ae;qe(null),Re(null);try{for(var h,v=[];a!==null;){var d=a.assignedSlot||a.parentNode||a.host||null;try{var g=a["__"+n];if(g!==void 0&&!a.disabled)if(Cn(g)){var[_,...p]=g;_.apply(a,[t,...p])}else g.call(a,t)}catch(C){h?v.push(C):h=C}if(t.cancelBubble||d===e||d===null)break;a=d}if(h){for(let C of v)queueMicrotask(()=>{throw C});throw h}}finally{t.__root=e,delete t.currentTarget,qe(f),Re(m)}}}function Un(t){var e=document.createElement("template");return e.innerHTML=t,e.content}function We(t,e){var r=ae;r.nodes_start===null&&(r.nodes_start=t,r.nodes_end=e)}function P(t,e){var r=(e&si)!==0,n=(e&ci)!==0,o,a=!t.startsWith("<!>");return()=>{if(q)return We(H,null),H;o===void 0&&(o=Un(a?t:"<!>"+t),r||(o=De(o)));var i=n?document.importNode(o,!0):o.cloneNode(!0);if(r){var l=De(i),c=i.lastChild;We(l,c)}else We(i,i);return i}}function cl(t,e,r="svg"){var n=!t.startsWith("<!>"),o=`<${r}>${n?t:"<!>"+t}</${r}>`,a;return()=>{if(q)return We(H,null),H;if(!a){var i=Un(o),l=De(i);a=De(l)}var c=a.cloneNode(!0);return We(c,c),c}}function gt(t=""){if(!q){var e=vt(t+"");return We(e,e),e}var r=H;return r.nodeType!==3&&(r.before(r=vt()),ze(r)),We(r,r),r}function te(){if(q)return We(H,null),H;var t=document.createDocumentFragment(),e=document.createComment(""),r=vt();return t.append(e,r),We(e,r),t}function b(t,e){if(q){ae.nodes_end=H,dt();return}t!==null&&t.before(e)}let en=!0;function ra(t){en=t}function Q(t,e){var r=e==null?"":typeof e=="object"?e+"":e;r!==(t.__t??(t.__t=t.nodeValue))&&(t.__t=r,t.nodeValue=r==null?"":r+"")}function na(t,e){return oa(t,e)}function ul(t,e){Ln(),e.intro=e.intro??!1;const r=e.target,n=q,o=H;try{for(var a=De(r);a&&(a.nodeType!==8||a.data!==vo);)a=mt(a);if(!a)throw Zt;nt(!0),ze(a),dt();const i=oa(t,{...e,anchor:a});if(H===null||H.nodeType!==8||H.data!==xn)throw Hr(),Zt;return nt(!1),i}catch(i){if(i===Zt)return e.recover===!1&&Mi(),Ln(),$o(r),nt(!1),na(t,e);throw i}finally{nt(n),ze(o)}}const ar=new Map;function oa(t,{target:e,anchor:r,props:n={},events:o,context:a,intro:i=!0}){Ln();var l=new Set,c=m=>{for(var h=0;h<m.length;h++){var v=m[h];if(!l.has(v)){l.add(v);var d=gi(v);e.addEventListener(v,$r,{passive:d});var g=ar.get(v);g===void 0?(document.addEventListener(v,$r,{passive:d}),ar.set(v,1)):ar.set(v,g+1)}}};c(En(ea)),jn.add(c);var s=void 0,f=Yi(()=>{var m=r??e.appendChild(vt());return Xe(()=>{if(a){me({});var h=ye;h.c=a}o&&(n.$$events=o),q&&We(m,null),en=i,s=t(m,n)||{},en=!0,q&&(ae.nodes_end=H),a&&he()}),()=>{var d;for(var h of l){e.removeEventListener(h,$r);var v=ar.get(h);--v===0?(document.removeEventListener(h,$r),ar.delete(h)):ar.set(h,v)}jn.delete(c),m!==r&&((d=m.parentNode)==null||d.removeChild(m))}});return Gn.set(s,f),s}let Gn=new WeakMap;function dl(t,e){const r=Gn.get(t);return r?(Gn.delete(t),r(e)):Promise.resolve()}const Hn=0,tn=1,Vn=2;function kt(t,e,r,n,o){q&&dt();var a=t,i=or(),l=ye,c=Me,s,f,m,h=(i?Oe:pr)(void 0),v=(i?Oe:pr)(void 0),d=!1;function g(p,w){d=!0,w&&(Re(_),qe(_),Uo(l));try{p===Hn&&r&&(s?St(s):s=Xe(()=>r(a))),p===tn&&n&&(f?St(f):f=Xe(()=>n(a,h))),p===Vn&&o&&(m?St(m):m=Xe(()=>o(a,v))),p!==Hn&&s&&Pt(s,()=>s=null),p!==tn&&f&&Pt(f,()=>f=null),p!==Vn&&m&&Pt(m,()=>m=null)}finally{w&&(Uo(null),qe(null),Re(null),_e())}}var _=Bt(()=>{if(c!==(c=e())){if(xi(c)){var p=c;d=!1,p.then(w=>{p===c&&(tr(h,w),g(tn,!0))},w=>{if(p===c&&(tr(v,w),g(Vn,!0),!o))throw v.v}),q?r&&(s=Xe(()=>r(a))):br(()=>{d||g(Hn,!0)})}else tr(h,c),g(tn,!1);return()=>c=Me}});q&&(a=H)}function D(t,e,r=!1){q&&dt();var n=t,o=null,a=null,i=Me,l=r?er:0,c=!1;const s=(m,h=!0)=>{c=!0,f(h,m)},f=(m,h)=>{if(i===(i=m))return;let v=!1;if(q){const d=n.data===yn;!!i===d&&(n=Sn(),ze(n),nt(!1),v=!0)}i?(o?St(o):h&&(o=Xe(()=>h(n))),a&&Pt(a,()=>{a=null})):(a?St(a):h&&(a=Xe(()=>h(n))),o&&Pt(o,()=>{o=null})),v&&nt(!0)};Bt(()=>{c=!1,e(s),c||f(null,null)},l),q&&(n=H)}function rn(t,e){return e}function fl(t,e,r,n){for(var o=[],a=e.length,i=0;i<a;i++)Rn(e[i].e,o,!0);var l=a>0&&o.length===0&&r!==null;if(l){var c=r.parentNode;$o(c),c.append(r),n.clear(),Tt(t,e[0].prev,e[a-1].next)}No(o,()=>{for(var s=0;s<a;s++){var f=e[s];l||(n.delete(f.k),Tt(t,f.prev,f.next)),Qe(f.e,!l)}})}function ir(t,e,r,n,o,a=null){var i=t,l={items:new Map,first:null},c=(e&fo)!==0;if(c){var s=t;i=q?ze(De(s)):s.appendChild(vt())}q&&dt();var f=null,m=!1,h=_r(()=>{var v=r();return Cn(v)?v:v==null?[]:En(v)});Bt(()=>{var v=u(h),d=v.length;if(m&&d===0)return;m=d===0;let g=!1;if(q){var _=i.data===yn;_!==(d===0)&&(i=Sn(),ze(i),nt(!1),g=!0)}if(q){for(var p=null,w,C=0;C<d;C++){if(H.nodeType===8&&H.data===xn){i=H,g=!0,nt(!1);break}var x=v[C],k=n(x,C);w=aa(H,l,p,null,x,k,C,o,e),l.items.set(k,w),p=w}d>0&&ze(Sn())}if(!q){var y=ve;vl(v,l,i,o,e,(y.f&ut)!==0,n)}a!==null&&(d===0?f?St(f):f=Xe(()=>a(i)):f!==null&&Pt(f,()=>{f=null})),g&&nt(!0),u(h)}),q&&(i=H)}function vl(t,e,r,n,o,a,i,l){var oe,J,ee,j;var c=(o&ei)!==0,s=(o&(Ae|Wt))!==0,f=t.length,m=e.items,h=e.first,v=h,d,g=null,_,p=[],w=[],C,x,k,y;if(c)for(y=0;y<f;y+=1)C=t[y],x=i(C,y),k=m.get(x),k!==void 0&&((oe=k.a)==null||oe.measure(),(_??(_=new Set)).add(k));for(y=0;y<f;y+=1){if(C=t[y],x=i(C,y),k=m.get(x),k===void 0){var Z=v?v.e.nodes_start:r;g=aa(Z,e,g,g===null?e.first:g.next,C,x,y,n,o),m.set(x,g),p=[],w=[],v=g.next;continue}if(s&&ml(k,C,y,o),k.e.f&ut&&(St(k.e),c&&((J=k.a)==null||J.unfix(),(_??(_=new Set)).delete(k))),k!==v){if(d!==void 0&&d.has(k)){if(p.length<w.length){var z=w[0],N;g=z.prev;var K=p[0],$=p[p.length-1];for(N=0;N<p.length;N+=1)ia(p[N],z,r);for(N=0;N<w.length;N+=1)d.delete(w[N]);Tt(e,K.prev,$.next),Tt(e,g,K),Tt(e,$,z),v=z,g=$,y-=1,p=[],w=[]}else d.delete(k),ia(k,v,r),Tt(e,k.prev,k.next),Tt(e,k,g===null?e.first:g.next),Tt(e,g,k),g=k;continue}for(p=[],w=[];v!==null&&v.k!==x;)(a||!(v.e.f&ut))&&(d??(d=new Set)).add(v),w.push(v),v=v.next;if(v===null)continue;k=v}p.push(k),g=k,v=k.next}if(v!==null||d!==void 0){for(var E=d===void 0?[]:En(d);v!==null;)(a||!(v.e.f&ut))&&E.push(v),v=v.next;var O=E.length;if(O>0){var F=o&fo&&f===0?r:null;if(c){for(y=0;y<O;y+=1)(ee=E[y].a)==null||ee.measure();for(y=0;y<O;y+=1)(j=E[y].a)==null||j.fix()}fl(e,E,F,m)}}c&&br(()=>{var V;if(_!==void 0)for(k of _)(V=k.a)==null||V.apply()}),ae.first=e.first&&e.first.e,ae.last=g&&g.e}function ml(t,e,r,n){n&Ae&&tr(t.v,e),n&Wt?tr(t.i,r):t.i=r}function aa(t,e,r,n,o,a,i,l,c,s){var f=(c&Ae)!==0,m=(c&ti)===0,h=f?m?pr(o):Oe(o):o,v=c&Wt?Oe(i):i,d={i:v,v:h,k:a,a:null,e:null,prev:r,next:n};try{return d.e=Xe(()=>l(t,h,v),q),d.e.prev=r&&r.e,d.e.next=n&&n.e,r===null?e.first=d:(r.next=d,r.e.next=d.e),n!==null&&(n.prev=d,n.e.prev=d.e),d}finally{}}function ia(t,e,r){for(var n=t.next?t.next.e.nodes_start:r,o=e?e.e.nodes_start:r,a=t.e.nodes_start;a!==n;){var i=mt(a);o.before(a),a=i}}function Tt(t,e,r){e===null?t.first=r:(e.next=r,e.e.next=r&&r.e),r!==null&&(r.prev=e,r.e.prev=e&&e.e)}function nn(t,e,r,n,o){var a=t,i="",l;Bt(()=>{if(i===(i=e()??"")){q&&dt();return}l!==void 0&&(Qe(l),l=void 0),i!==""&&(l=Xe(()=>{if(q){H.data;for(var c=dt(),s=c;c!==null&&(c.nodeType!==8||c.data!=="");)s=c,c=mt(c);if(c===null)throw Hr(),Zt;We(H,s),a=ze(c);return}var f=i+"";r&&(f=`<svg>${f}</svg>`);var m=Un(f);if((r||n)&&(m=De(m)),We(De(m),m.lastChild),r||n)for(;De(m);)a.before(De(m));else a.before(m)}))})}function Se(t,e,r,n,o){var l;q&&dt();var a=(l=e.$$slots)==null?void 0:l[r],i=!1;a===!0&&(a=e[r==="default"?"children":r],i=!0),a===void 0?o!==null&&o(t):a(t,i?()=>n:n)}function Ht(t,e,...r){var n=t,o=Jt,a;Bt(()=>{o!==(o=e())&&(a&&(Qe(a),a=null),a=Xe(()=>o(n,...r)))},er),q&&(n=H)}function hl(t,e,r,n,o,a){let i=q;q&&dt();var l,c,s=null;q&&H.nodeType===1&&(s=H,dt());var f=q?H:t,m;Bt(()=>{const h=e()||null;var v=h==="svg"?mo:null;h!==l&&(m&&(h===null?Pt(m,()=>{m=null,c=null}):h===c?St(m):(Qe(m),ra(!1))),h&&h!==c&&(m=Xe(()=>{if(s=q?s:v?document.createElementNS(v,h):document.createElement(h),We(s,s),n){q&&_i(h)&&s.append(document.createComment(""));var d=q?De(s):s.appendChild(vt());q&&(d===null?nt(!1):ze(d)),n(s,d)}ae.nodes_end=s,f.before(s)})),l=h,l&&(c=l),ra(!0))},er),i&&(nt(!0),ze(f))}function la(t){var e,r,n="";if(typeof t=="string"||typeof t=="number")n+=t;else if(typeof t=="object")if(Array.isArray(t)){var o=t.length;for(e=0;e<o;e++)t[e]&&(r=la(t[e]))&&(n&&(n+=" "),n+=r)}else for(r in t)t[r]&&(n&&(n+=" "),n+=r);return n}function gl(){for(var t,e,r=0,n="",o=arguments.length;r<o;r++)(t=arguments[r])&&(e=la(t))&&(n&&(n+=" "),n+=e);return n}function $e(t){return typeof t=="object"?gl(t):t??""}function sa(t){if(q){var e=!1,r=()=>{if(!e){if(e=!0,t.hasAttribute("value")){var n=t.value;je(t,"value",null),t.value=n}if(t.hasAttribute("checked")){var o=t.checked;je(t,"checked",null),t.checked=o}}};t.__on_r=r,Ki(r),Jo()}}function pl(t,e){var r=t.__attributes??(t.__attributes={});r.checked!==(r.checked=e??void 0)&&(t.checked=e)}function _l(t,e){e?t.hasAttribute("selected")||t.setAttribute("selected",""):t.removeAttribute("selected")}function je(t,e,r,n){var o=t.__attributes??(t.__attributes={});q&&(o[e]=t.getAttribute(e),e==="src"||e==="srcset"||e==="href"&&t.nodeName==="LINK")||o[e]!==(o[e]=r)&&(e==="style"&&"__styles"in t&&(t.__styles={}),e==="loading"&&(t[$i]=r),r==null?t.removeAttribute(e):typeof r!="string"&&Wn(t).includes(e)?t[e]=r:t.setAttribute(e,r))}function wl(t,e,r){var n=ve,o=ae;qe(null),Re(null);try{(Yn.has(t.nodeName)||!customElements||customElements.get(t.tagName.toLowerCase())?Wn(t).includes(e):r&&typeof r=="object")?t[e]=r:je(t,e,r==null?r:String(r))}finally{qe(n),Re(o)}}function Vt(t,e,r,n,o=!1,a=!1,i=!1){var l=e||{},c=t.tagName==="OPTION";for(var s in e)s in r||(r[s]=null);r.class&&(r.class=$e(r.class));var f=Wn(t),m=t.__attributes??(t.__attributes={});for(const p in r){let w=r[p];if(c&&p==="value"&&w==null){t.value=t.__value="",l[p]=w;continue}var h=l[p];if(w!==h){l[p]=w;var v=p[0]+p[1];if(v!=="$$"){if(v==="on"){const C={},x="$$"+p;let k=p.slice(2);var d=fi(k);if(ui(k)&&(k=k.slice(0,-7),C.capture=!0),!d&&h){if(w!=null)continue;t.removeEventListener(k,l[x],C),l[x]=null}if(w!=null)if(d)t[`__${k}`]=w,Qr([k]);else{let y=function(Z){l[p].call(this,Z)};l[x]=ta(k,t,y,C)}else d&&(t[`__${k}`]=void 0)}else if(p==="style"&&w!=null)t.style.cssText=w+"";else if(p==="autofocus")sl(t,!!w);else if(p==="__value"||p==="value"&&w!=null)t.value=t[p]=t.__value=w;else if(p==="selected"&&c)_l(t,w);else{var g=p;o||(g=mi(g));var _=g==="defaultValue"||g==="defaultChecked";if(w==null&&!a&&!_)if(m[p]=null,g==="value"||g==="checked"){let C=t;if(g==="value"){let x=C.defaultValue;C.removeAttribute(g),C.defaultValue=x}else{let x=C.defaultChecked;C.removeAttribute(g),C.defaultChecked=x}}else t.removeAttribute(p);else _||f.includes(g)&&(a||typeof w!="string")?t[g]=w:typeof w!="function"&&(q&&(g==="src"||g==="href"||g==="srcset")||je(t,g,w))}p==="style"&&"__styles"in t&&(t.__styles={})}}}return l}var Yn=new Map;function Wn(t){var e=Yn.get(t.nodeName);if(e)return e;Yn.set(t.nodeName,e=[]);for(var r,n=t,o=Element.prototype;o!==n;){r=ho(n);for(var a in r)r[a].set&&e.push(a);n=$n(n)}return e}function bl(t,e,r){var n=t.__className,o=ca(e);q&&t.getAttribute("class")===o?t.__className=o:(n!==o||q&&t.getAttribute("class")!==o)&&(o===""?t.removeAttribute("class"):t.setAttribute("class",o),t.__className=o)}function Pe(t,e,r){var n=t.__className,o=ca(e);q&&t.className===o?t.__className=o:(n!==o||q&&t.className!==o)&&(e==null?t.removeAttribute("class"):t.className=o,t.__className=o)}function ca(t,e){return(t??"")+""}const yl=()=>performance.now(),Ct={tick:t=>requestAnimationFrame(t),now:()=>yl(),tasks:new Set};function ua(){const t=Ct.now();Ct.tasks.forEach(e=>{e.c(t)||(Ct.tasks.delete(e),e.f())}),Ct.tasks.size!==0&&Ct.tick(ua)}function xl(t){let e;return Ct.tasks.size===0&&Ct.tick(ua),{promise:new Promise(r=>{Ct.tasks.add(e={c:t,f:r})}),abort(){Ct.tasks.delete(e)}}}function on(t,e){t.dispatchEvent(new CustomEvent(e))}function kl(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 da(t){const e={},r=t.split(";");for(const n of r){const[o,a]=n.split(":");if(!o||a===void 0)break;const i=kl(o.trim());e[i]=a.trim()}return e}const Cl=t=>t;function El(t,e,r,n){var o=(t&li)!==0,a="both",i,l=e.inert,c=e.style.overflow,s,f;function m(){var _=ve,p=ae;qe(null),Re(null);try{return i??(i=r()(e,(n==null?void 0:n())??{},{direction:a}))}finally{qe(_),Re(p)}}var h={is_global:o,in(){e.inert=l,on(e,"introstart"),s=Zn(e,m(),f,1,()=>{on(e,"introend"),s==null||s.abort(),s=i=void 0,e.style.overflow=c})},out(_){e.inert=!0,on(e,"outrostart"),f=Zn(e,m(),s,0,()=>{on(e,"outroend"),_==null||_()})},stop:()=>{s==null||s.abort(),f==null||f.abort()}},v=ae;if((v.transitions??(v.transitions=[])).push(h),en){var d=o;if(!d){for(var g=v.parent;g&&g.f&er;)for(;(g=g.parent)&&!(g.f&Br););d=!g||(g.f&po)!==0}d&&wr(()=>{Er(()=>h.in())})}}function Zn(t,e,r,n,o){var a=n===1;if(Kt(e)){var i,l=!1;return br(()=>{if(!l){var _=e({direction:a?"in":"out"});i=Zn(t,_,r,n,o)}}),{abort:()=>{l=!0,i==null||i.abort()},deactivate:()=>i.deactivate(),reset:()=>i.reset(),t:()=>i.t()}}if(r==null||r.deactivate(),!(e!=null&&e.duration))return o(),{abort:Jt,deactivate:Jt,reset:Jt,t:()=>n};const{delay:c=0,css:s,tick:f,easing:m=Cl}=e;var h=[];if(a&&r===void 0&&(f&&f(0,1),s)){var v=da(s(0,1));h.push(v,v)}var d=()=>1-n,g=t.animate(h,{duration:c});return g.onfinish=()=>{var _=(r==null?void 0:r.t())??1-n;r==null||r.abort();var p=n-_,w=e.duration*Math.abs(p),C=[];if(w>0){var x=!1;if(s)for(var k=Math.ceil(w/16.666666666666668),y=0;y<=k;y+=1){var Z=_+p*m(y/k),z=da(s(Z,1-Z));C.push(z),x||(x=z.overflow==="hidden")}x&&(t.style.overflow="hidden"),d=()=>{var N=g.currentTime;return _+p*m(N/w)},f&&xl(()=>{if(g.playState!=="running")return!1;var N=d();return f(N,1-N),!0})}g=t.animate(C,{duration:w,fill:"forwards"}),g.onfinish=()=>{d=()=>n,f==null||f(n,1-n),o()}},{abort:()=>{g&&(g.cancel(),g.effect=null,g.onfinish=Jt)},deactivate:()=>{o=Jt},reset:()=>{n===0&&(f==null||f(1,0))},t:()=>d()}}function $l(t,e,r=e){var n=or();Qo(t,"input",o=>{var a=o?t.defaultValue:t.value;if(a=Kn(t)?Jn(a):a,r(a),n&&a!==(a=e())){var i=t.selectionStart,l=t.selectionEnd;t.value=a??"",l!==null&&(t.selectionStart=i,t.selectionEnd=Math.min(l,t.value.length))}}),(q&&t.defaultValue!==t.value||Er(e)==null&&t.value)&&r(Kn(t)?Jn(t.value):t.value),zn(()=>{var o=e();Kn(t)&&o===Jn(t.value)||t.type==="date"&&!o&&!t.value||o!==t.value&&(t.value=o??"")})}function Kn(t){var e=t.type;return e==="number"||e==="range"}function Jn(t){return t===""?null:+t}function fa(t,e,r){if(t.multiple)return Sl(t,e);for(var n of t.options){var o=Ar(n);if(ji(o,e)){n.selected=!0;return}}(!r||e!==void 0)&&(t.selectedIndex=-1)}function Al(t,e){wr(()=>{var r=new MutationObserver(()=>{var n=t.__value;fa(t,n)});return r.observe(t,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["value"]}),()=>{r.disconnect()}})}function Pl(t,e,r=e){var n=!0;Qo(t,"change",o=>{var a=o?"[selected]":":checked",i;if(t.multiple)i=[].map.call(t.querySelectorAll(a),Ar);else{var l=t.querySelector(a)??t.querySelector("option:not([disabled])");i=l&&Ar(l)}r(i)}),wr(()=>{var o=e();if(fa(t,o,n),n&&o===void 0){var a=t.querySelector(":checked");a!==null&&(o=Ar(a),r(o))}t.__value=o,n=!1}),Al(t)}function Sl(t,e){for(var r of t.options)r.selected=~e.indexOf(Ar(r))}function Ar(t){return"__value"in t?t.__value:t.value}function va(t=!1){const e=ye,r=e.l.u;if(!r)return;let n=()=>ll(e.s);if(t){let o=0,a={};const i=M(()=>{let l=!1;const c=e.s;for(const s in c)c[s]!==a[s]&&(a[s]=c[s],l=!0);return l&&o++,o});n=()=>u(i)}r.b.length&&Hi(()=>{ma(e,n),jr(r.b)}),Mn(()=>{const o=Er(()=>r.m.map(ki));return()=>{for(const a of o)typeof a=="function"&&a()}}),r.a.length&&Mn(()=>{ma(e,n),jr(r.a)})}function ma(t,e){if(t.l.s)for(const r of t.l.s)u(r);e()}let an=!1;function Ll(t){var e=an;try{return an=!1,[t(),an]}finally{an=e}}const Tl={get(t,e){if(!t.exclude.includes(e))return t.props[e]},set(t,e){return!1},getOwnPropertyDescriptor(t,e){if(!t.exclude.includes(e)&&e in t.props)return{enumerable:!0,configurable:!0,value:t.props[e]}},has(t,e){return t.exclude.includes(e)?!1:e in t.props},ownKeys(t){return Reflect.ownKeys(t.props).filter(e=>!t.exclude.includes(e))}};function at(t,e,r){return new Proxy({props:t,exclude:e},Tl)}const Ml={get(t,e){let r=t.props.length;for(;r--;){let n=t.props[r];if(Kt(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 o=t.props[n];Kt(o)&&(o=o());const a=wt(o,e);if(a&&a.set)return a.set(r),!0}return!1},getOwnPropertyDescriptor(t,e){let r=t.props.length;for(;r--;){let n=t.props[r];if(Kt(n)&&(n=n()),typeof n=="object"&&n!==null&&e in n){const o=wt(n,e);return o&&!o.configurable&&(o.configurable=!0),o}}},has(t,e){if(e===yt||e===An)return!1;for(let r of t.props)if(Kt(r)&&(r=r()),r!=null&&e in r)return!0;return!1},ownKeys(t){const e=[];for(let r of t.props){Kt(r)&&(r=r());for(const n in r)e.includes(n)||e.push(n)}return e}};function Pr(...t){return new Proxy({props:t},Ml)}function ha(t){for(var e=ae,r=ae;e!==null&&!(e.f&(ct|qt));)e=e.parent;try{return Re(e),t()}finally{Re(r)}}function U(t,e,r,n){var Z;var o=(r&ri)!==0,a=!gr||(r&ni)!==0,i=(r&ai)!==0,l=(r&ii)!==0,c=!1,s;i?[s,c]=Ll(()=>t[e]):s=t[e];var f=yt in t||An in t,m=i&&(((Z=wt(t,e))==null?void 0:Z.set)??(f&&e in t&&(z=>t[e]=z)))||void 0,h=n,v=!0,d=!1,g=()=>(d=!0,v&&(v=!1,l?h=Er(n):h=n),h);s===void 0&&n!==void 0&&(m&&a&&zi(),s=g(),m&&m(s));var _;if(a)_=()=>{var z=t[e];return z===void 0?g():(v=!0,d=!1,z)};else{var p=ha(()=>(o?M:_r)(()=>t[e]));p.f|=Ci,_=()=>{var z=u(p);return z!==void 0&&(h=void 0),z===void 0?h:z}}if(!(r&oi))return _;if(m){var w=t.$$legacy;return function(z,N){return arguments.length>0?((!a||!N||w||c)&&m(N?_():z),z):_()}}var C=!1,x=!1,k=pr(s),y=ha(()=>M(()=>{var z=_(),N=u(k);return C?(C=!1,x=!0,N):(x=!1,k.v=z)}));return o||(y.equals=Pn),function(z,N){if(arguments.length>0){const K=N?u(y):a&&i?de(z):z;return y.equals(K)||(C=!0,B(k,K),d&&h!==void 0&&(h=K),Er(()=>u(y))),z}return u(y)}}function zl(t){return new Rl(t)}class Rl{constructor(e){co(this,$t);co(this,et);var a;var r=new Map,n=(i,l)=>{var c=pr(l);return r.set(i,c),c};const o=new Proxy({...e.props||{},$$events:{}},{get(i,l){return u(r.get(l)??n(l,Reflect.get(i,l)))},has(i,l){return l===An?!0:(u(r.get(l)??n(l,Reflect.get(i,l))),Reflect.has(i,l))},set(i,l,c){return B(r.get(l)??n(l,c),c),Reflect.set(i,l,c)}});uo(this,et,(e.hydrate?ul:na)(e.component,{target:e.target,anchor:e.anchor,props:o,context:e.context,intro:e.intro??!1,recover:e.recover})),(!((a=e==null?void 0:e.props)!=null&&a.$$host)||e.sync===!1)&&_e(),uo(this,$t,o.$$events);for(const i of Object.keys(He(this,et)))i==="$set"||i==="$destroy"||i==="$on"||Fr(this,i,{get(){return He(this,et)[i]},set(l){He(this,et)[i]=l},enumerable:!0});He(this,et).$set=i=>{Object.assign(o,i)},He(this,et).$destroy=()=>{dl(He(this,et))}}$set(e){He(this,et).$set(e)}$on(e,r){He(this,$t)[e]=He(this,$t)[e]||[];const n=(...o)=>r.call(this,...o);return He(this,$t)[e].push(n),()=>{He(this,$t)[e]=He(this,$t)[e].filter(o=>o!==n)}}$destroy(){He(this,et).$destroy()}}$t=new WeakMap,et=new WeakMap;let ga;typeof HTMLElement=="function"&&(ga=class extends HTMLElement{constructor(e,r,n){super();st(this,"$$ctor");st(this,"$$s");st(this,"$$c");st(this,"$$cn",!1);st(this,"$$d",{});st(this,"$$r",!1);st(this,"$$p_d",{});st(this,"$$l",{});st(this,"$$l_u",new Map);st(this,"$$me");this.$$ctor=e,this.$$s=r,n&&this.attachShadow({mode:"open"})}addEventListener(e,r,n){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(r),this.$$c){const o=this.$$c.$on(e,r);this.$$l_u.set(r,o)}super.addEventListener(e,r,n)}removeEventListener(e,r,n){if(super.removeEventListener(e,r,n),this.$$c){const o=this.$$l_u.get(r);o&&(o(),this.$$l_u.delete(r))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let e=function(o){return a=>{const i=document.createElement("slot");o!=="default"&&(i.name=o),b(a,i)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const r={},n=Nl(this);for(const o of this.$$s)o in n&&(o==="default"&&!this.$$d.children?(this.$$d.children=e(o),r.default=!0):r[o]=e(o));for(const o of this.attributes){const a=this.$$g_p(o.name);a in this.$$d||(this.$$d[a]=ln(a,o.value,this.$$p_d,"toProp"))}for(const o in this.$$p_d)!(o in this.$$d)&&this[o]!==void 0&&(this.$$d[o]=this[o],delete this[o]);this.$$c=zl({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:r,$$host:this}}),this.$$me=Vi(()=>{zn(()=>{var o;this.$$r=!0;for(const a of qr(this.$$c)){if(!((o=this.$$p_d[a])!=null&&o.reflect))continue;this.$$d[a]=this.$$c[a];const i=ln(a,this.$$d[a],this.$$p_d,"toAttribute");i==null?this.removeAttribute(this.$$p_d[a].attribute||a):this.setAttribute(this.$$p_d[a].attribute||a,i)}this.$$r=!1})});for(const o in this.$$l)for(const a of this.$$l[o]){const i=this.$$c.$on(o,a);this.$$l_u.set(a,i)}this.$$l={}}}attributeChangedCallback(e,r,n){var o;this.$$r||(e=this.$$g_p(e),this.$$d[e]=ln(e,n,this.$$p_d,"toProp"),(o=this.$$c)==null||o.$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 qr(this.$$p_d).find(r=>this.$$p_d[r].attribute===e||!this.$$p_d[r].attribute&&r.toLowerCase()===e)||e}});function ln(t,e,r,n){var a;const o=(a=r[t])==null?void 0:a.type;if(e=o==="Boolean"&&typeof e!="boolean"?e!=null:e,!n||!r[t])return e;if(n==="toAttribute")switch(o){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(o){case"Object":case"Array":return e&&JSON.parse(e);case"Boolean":return e;case"Number":return e!=null?+e:e;default:return e}}function Nl(t){const e={};return t.childNodes.forEach(r=>{e[r.slot||"default"]=!0}),e}function lr(t,e,r,n,o,a){let i=class extends ga{constructor(){super(t,r,o),this.$$p_d=e}static get observedAttributes(){return qr(e).map(l=>(e[l].attribute||l).toLowerCase())}};return qr(e).forEach(l=>{Fr(i.prototype,l,{get(){return this.$$c&&l in this.$$c?this.$$c[l]:this.$$d[l]},set(c){var m;c=ln(l,c,e),this.$$d[l]=c;var s=this.$$c;if(s){var f=(m=wt(s,l))==null?void 0:m.get;f?s[l]=c:s.$set({[l]:c})}}})}),n.forEach(l=>{Fr(i.prototype,l,{get(){var c;return(c=this.$$c)==null?void 0:c[l]}})}),t.element=i,i}qi();const Xn="-",Il=t=>{const e=Dl(t),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=t;return{getClassGroupId:i=>{const l=i.split(Xn);return l[0]===""&&l.length!==1&&l.shift(),pa(l,e)||Ol(i)},getConflictingClassGroupIds:(i,l)=>{const c=r[i]||[];return l&&n[i]?[...c,...n[i]]:c}}},pa=(t,e)=>{var i;if(t.length===0)return e.classGroupId;const r=t[0],n=e.nextPart.get(r),o=n?pa(t.slice(1),n):void 0;if(o)return o;if(e.validators.length===0)return;const a=t.join(Xn);return(i=e.validators.find(({validator:l})=>l(a)))==null?void 0:i.classGroupId},_a=/^\[(.+)\]$/,Ol=t=>{if(_a.test(t)){const e=_a.exec(t)[1],r=e==null?void 0:e.substring(0,e.indexOf(":"));if(r)return"arbitrary.."+r}},Dl=t=>{const{theme:e,prefix:r}=t,n={nextPart:new Map,validators:[]};return Fl(Object.entries(t.classGroups),r).forEach(([a,i])=>{Qn(i,n,a,e)}),n},Qn=(t,e,r,n)=>{t.forEach(o=>{if(typeof o=="string"){const a=o===""?e:wa(e,o);a.classGroupId=r;return}if(typeof o=="function"){if(ql(o)){Qn(o(n),e,r,n);return}e.validators.push({validator:o,classGroupId:r});return}Object.entries(o).forEach(([a,i])=>{Qn(i,wa(e,a),r,n)})})},wa=(t,e)=>{let r=t;return e.split(Xn).forEach(n=>{r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r},ql=t=>t.isThemeGetter,Fl=(t,e)=>e?t.map(([r,n])=>{const o=n.map(a=>typeof a=="string"?e+a:typeof a=="object"?Object.fromEntries(Object.entries(a).map(([i,l])=>[e+i,l])):a);return[r,o]}):t,jl=t=>{if(t<1)return{get:()=>{},set:()=>{}};let e=0,r=new Map,n=new Map;const o=(a,i)=>{r.set(a,i),e++,e>t&&(e=0,n=r,r=new Map)};return{get(a){let i=r.get(a);if(i!==void 0)return i;if((i=n.get(a))!==void 0)return o(a,i),i},set(a,i){r.has(a)?r.set(a,i):o(a,i)}}},ba="!",Bl=t=>{const{separator:e,experimentalParseClassName:r}=t,n=e.length===1,o=e[0],a=e.length,i=l=>{const c=[];let s=0,f=0,m;for(let _=0;_<l.length;_++){let p=l[_];if(s===0){if(p===o&&(n||l.slice(_,_+a)===e)){c.push(l.slice(f,_)),f=_+a;continue}if(p==="/"){m=_;continue}}p==="["?s++:p==="]"&&s--}const h=c.length===0?l:l.substring(f),v=h.startsWith(ba),d=v?h.substring(1):h,g=m&&m>f?m-f:void 0;return{modifiers:c,hasImportantModifier:v,baseClassName:d,maybePostfixModifierPosition:g}};return r?l=>r({className:l,parseClassName:i}):i},Ul=t=>{if(t.length<=1)return t;const e=[];let r=[];return t.forEach(n=>{n[0]==="["?(e.push(...r.sort(),n),r=[]):r.push(n)}),e.push(...r.sort()),e},Gl=t=>({cache:jl(t.cacheSize),parseClassName:Bl(t),...Il(t)}),Hl=/\s+/,Vl=(t,e)=>{const{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:o}=e,a=[],i=t.trim().split(Hl);let l="";for(let c=i.length-1;c>=0;c-=1){const s=i[c],{modifiers:f,hasImportantModifier:m,baseClassName:h,maybePostfixModifierPosition:v}=r(s);let d=!!v,g=n(d?h.substring(0,v):h);if(!g){if(!d){l=s+(l.length>0?" "+l:l);continue}if(g=n(h),!g){l=s+(l.length>0?" "+l:l);continue}d=!1}const _=Ul(f).join(":"),p=m?_+ba:_,w=p+g;if(a.includes(w))continue;a.push(w);const C=o(g,d);for(let x=0;x<C.length;++x){const k=C[x];a.push(p+k)}l=s+(l.length>0?" "+l:l)}return l};function Yl(){let t=0,e,r,n="";for(;t<arguments.length;)(e=arguments[t++])&&(r=ya(e))&&(n&&(n+=" "),n+=r);return n}const ya=t=>{if(typeof t=="string")return t;let e,r="";for(let n=0;n<t.length;n++)t[n]&&(e=ya(t[n]))&&(r&&(r+=" "),r+=e);return r};function Wl(t,...e){let r,n,o,a=i;function i(c){const s=e.reduce((f,m)=>m(f),t());return r=Gl(s),n=r.cache.get,o=r.cache.set,a=l,l(c)}function l(c){const s=n(c);if(s)return s;const f=Vl(c,r);return o(c,f),f}return function(){return a(Yl.apply(null,arguments))}}const we=t=>{const e=r=>r[t]||[];return e.isThemeGetter=!0,e},xa=/^\[(?:([a-z-]+):)?(.+)\]$/i,Zl=/^\d+\/\d+$/,Kl=new Set(["px","full","screen"]),Jl=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Xl=/\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$/,Ql=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,es=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ts=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Et=t=>sr(t)||Kl.has(t)||Zl.test(t),Mt=t=>cr(t,"length",cs),sr=t=>!!t&&!Number.isNaN(Number(t)),eo=t=>cr(t,"number",sr),Sr=t=>!!t&&Number.isInteger(Number(t)),rs=t=>t.endsWith("%")&&sr(t.slice(0,-1)),W=t=>xa.test(t),zt=t=>Jl.test(t),ns=new Set(["length","size","percentage"]),os=t=>cr(t,ns,ka),as=t=>cr(t,"position",ka),is=new Set(["image","url"]),ls=t=>cr(t,is,ds),ss=t=>cr(t,"",us),Lr=()=>!0,cr=(t,e,r)=>{const n=xa.exec(t);return n?n[1]?typeof e=="string"?n[1]===e:e.has(n[1]):r(n[2]):!1},cs=t=>Xl.test(t)&&!Ql.test(t),ka=()=>!1,us=t=>es.test(t),ds=t=>ts.test(t),ne=Wl(()=>{const t=we("colors"),e=we("spacing"),r=we("blur"),n=we("brightness"),o=we("borderColor"),a=we("borderRadius"),i=we("borderSpacing"),l=we("borderWidth"),c=we("contrast"),s=we("grayscale"),f=we("hueRotate"),m=we("invert"),h=we("gap"),v=we("gradientColorStops"),d=we("gradientColorStopPositions"),g=we("inset"),_=we("margin"),p=we("opacity"),w=we("padding"),C=we("saturate"),x=we("scale"),k=we("sepia"),y=we("skew"),Z=we("space"),z=we("translate"),N=()=>["auto","contain","none"],K=()=>["auto","hidden","clip","visible","scroll"],$=()=>["auto",W,e],E=()=>[W,e],O=()=>["",Et,Mt],F=()=>["auto",sr,W],oe=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],J=()=>["solid","dashed","dotted","double","none"],ee=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],j=()=>["start","end","center","between","around","evenly","stretch"],V=()=>["","0",W],re=()=>["auto","avoid","all","avoid-page","page","left","right","column"],R=()=>[sr,W];return{cacheSize:500,separator:":",theme:{colors:[Lr],spacing:[Et,Mt],blur:["none","",zt,W],brightness:R(),borderColor:[t],borderRadius:["none","","full",zt,W],borderSpacing:E(),borderWidth:O(),contrast:R(),grayscale:V(),hueRotate:R(),invert:V(),gap:E(),gradientColorStops:[t],gradientColorStopPositions:[rs,Mt],inset:$(),margin:$(),opacity:R(),padding:E(),saturate:R(),scale:R(),sepia:V(),skew:R(),space:E(),translate:E()},classGroups:{aspect:[{aspect:["auto","square","video",W]}],container:["container"],columns:[{columns:[zt]}],"break-after":[{"break-after":re()}],"break-before":[{"break-before":re()}],"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"],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:[...oe(),W]}],overflow:[{overflow:K()}],"overflow-x":[{"overflow-x":K()}],"overflow-y":[{"overflow-y":K()}],overscroll:[{overscroll:N()}],"overscroll-x":[{"overscroll-x":N()}],"overscroll-y":[{"overscroll-y":N()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[g]}],"inset-x":[{"inset-x":[g]}],"inset-y":[{"inset-y":[g]}],start:[{start:[g]}],end:[{end:[g]}],top:[{top:[g]}],right:[{right:[g]}],bottom:[{bottom:[g]}],left:[{left:[g]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Sr,W]}],basis:[{basis:$()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",W]}],grow:[{grow:V()}],shrink:[{shrink:V()}],order:[{order:["first","last","none",Sr,W]}],"grid-cols":[{"grid-cols":[Lr]}],"col-start-end":[{col:["auto",{span:["full",Sr,W]},W]}],"col-start":[{"col-start":F()}],"col-end":[{"col-end":F()}],"grid-rows":[{"grid-rows":[Lr]}],"row-start-end":[{row:["auto",{span:[Sr,W]},W]}],"row-start":[{"row-start":F()}],"row-end":[{"row-end":F()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",W]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",W]}],gap:[{gap:[h]}],"gap-x":[{"gap-x":[h]}],"gap-y":[{"gap-y":[h]}],"justify-content":[{justify:["normal",...j()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...j(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...j(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[w]}],px:[{px:[w]}],py:[{py:[w]}],ps:[{ps:[w]}],pe:[{pe:[w]}],pt:[{pt:[w]}],pr:[{pr:[w]}],pb:[{pb:[w]}],pl:[{pl:[w]}],m:[{m:[_]}],mx:[{mx:[_]}],my:[{my:[_]}],ms:[{ms:[_]}],me:[{me:[_]}],mt:[{mt:[_]}],mr:[{mr:[_]}],mb:[{mb:[_]}],ml:[{ml:[_]}],"space-x":[{"space-x":[Z]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[Z]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",W,e]}],"min-w":[{"min-w":[W,e,"min","max","fit"]}],"max-w":[{"max-w":[W,e,"none","full","min","max","fit","prose",{screen:[zt]},zt]}],h:[{h:[W,e,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[W,e,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[W,e,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[W,e,"auto","min","max","fit"]}],"font-size":[{text:["base",zt,Mt]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",eo]}],"font-family":[{font:[Lr]}],"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:["tighter","tight","normal","wide","wider","widest",W]}],"line-clamp":[{"line-clamp":["none",sr,eo]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Et,W]}],"list-image":[{"list-image":["none",W]}],"list-style-type":[{list:["none","disc","decimal",W]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[t]}],"placeholder-opacity":[{"placeholder-opacity":[p]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[t]}],"text-opacity":[{"text-opacity":[p]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...J(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Et,Mt]}],"underline-offset":[{"underline-offset":["auto",Et,W]}],"text-decoration-color":[{decoration:[t]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:E()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",W]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",W]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[p]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...oe(),as]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",os]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},ls]}],"bg-color":[{bg:[t]}],"gradient-from-pos":[{from:[d]}],"gradient-via-pos":[{via:[d]}],"gradient-to-pos":[{to:[d]}],"gradient-from":[{from:[v]}],"gradient-via":[{via:[v]}],"gradient-to":[{to:[v]}],rounded:[{rounded:[a]}],"rounded-s":[{"rounded-s":[a]}],"rounded-e":[{"rounded-e":[a]}],"rounded-t":[{"rounded-t":[a]}],"rounded-r":[{"rounded-r":[a]}],"rounded-b":[{"rounded-b":[a]}],"rounded-l":[{"rounded-l":[a]}],"rounded-ss":[{"rounded-ss":[a]}],"rounded-se":[{"rounded-se":[a]}],"rounded-ee":[{"rounded-ee":[a]}],"rounded-es":[{"rounded-es":[a]}],"rounded-tl":[{"rounded-tl":[a]}],"rounded-tr":[{"rounded-tr":[a]}],"rounded-br":[{"rounded-br":[a]}],"rounded-bl":[{"rounded-bl":[a]}],"border-w":[{border:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[p]}],"border-style":[{border:[...J(),"hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[p]}],"divide-style":[{divide:J()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-s":[{"border-s":[o]}],"border-color-e":[{"border-e":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["",...J()]}],"outline-offset":[{"outline-offset":[Et,W]}],"outline-w":[{outline:[Et,Mt]}],"outline-color":[{outline:[t]}],"ring-w":[{ring:O()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[t]}],"ring-opacity":[{"ring-opacity":[p]}],"ring-offset-w":[{"ring-offset":[Et,Mt]}],"ring-offset-color":[{"ring-offset":[t]}],shadow:[{shadow:["","inner","none",zt,ss]}],"shadow-color":[{shadow:[Lr]}],opacity:[{opacity:[p]}],"mix-blend":[{"mix-blend":[...ee(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":ee()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",zt,W]}],grayscale:[{grayscale:[s]}],"hue-rotate":[{"hue-rotate":[f]}],invert:[{invert:[m]}],saturate:[{saturate:[C]}],sepia:[{sepia:[k]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[s]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[f]}],"backdrop-invert":[{"backdrop-invert":[m]}],"backdrop-opacity":[{"backdrop-opacity":[p]}],"backdrop-saturate":[{"backdrop-saturate":[C]}],"backdrop-sepia":[{"backdrop-sepia":[k]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",W]}],duration:[{duration:R()}],ease:[{ease:["linear","in","out","in-out",W]}],delay:[{delay:R()}],animate:[{animate:["none","spin","ping","pulse","bounce",W]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[x]}],"scale-x":[{"scale-x":[x]}],"scale-y":[{"scale-y":[x]}],rotate:[{rotate:[Sr,W]}],"translate-x":[{"translate-x":[z]}],"translate-y":[{"translate-y":[z]}],"skew-x":[{"skew-x":[y]}],"skew-y":[{"skew-y":[y]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",W]}],accent:[{accent:["auto",t]}],appearance:[{appearance:["none","auto"]}],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",W]}],"caret-color":[{caret:[t]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":E()}],"scroll-mx":[{"scroll-mx":E()}],"scroll-my":[{"scroll-my":E()}],"scroll-ms":[{"scroll-ms":E()}],"scroll-me":[{"scroll-me":E()}],"scroll-mt":[{"scroll-mt":E()}],"scroll-mr":[{"scroll-mr":E()}],"scroll-mb":[{"scroll-mb":E()}],"scroll-ml":[{"scroll-ml":E()}],"scroll-p":[{"scroll-p":E()}],"scroll-px":[{"scroll-px":E()}],"scroll-py":[{"scroll-py":E()}],"scroll-ps":[{"scroll-ps":E()}],"scroll-pe":[{"scroll-pe":E()}],"scroll-pt":[{"scroll-pt":E()}],"scroll-pr":[{"scroll-pr":E()}],"scroll-pb":[{"scroll-pb":E()}],"scroll-pl":[{"scroll-pl":E()}],"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",W]}],fill:[{fill:[t,"none"]}],"stroke-w":[{stroke:[Et,Mt,eo]}],stroke:[{stroke:[t,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","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","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","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-s","border-w-e","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-s","border-color-e","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"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","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-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"]}}}),fs=`*,: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}.-right-3{right:-.75rem}.bottom-0{bottom:0}.bottom-1{bottom:.25rem}.left-0{left:0}.left-1\\/2{left:50%}.left-4{left:1rem}.left-\\[50\\%\\]{left:50%}.right-0{right:0}.right-4{right:1rem}.top-0{top:0}.top-1\\/2{top:50%}.top-2{top:.5rem}.top-5{top:1.25rem}.top-\\[50\\%\\]{top:50%}.top-full{top:100%}.z-10{z-index:10}.z-20{z-index:20}.mb-0{margin-bottom:0}.mb-2{margin-bottom:.5rem}.mb-6{margin-bottom:1.5rem}.mr-2{margin-right:.5rem}.mt-0{margin-top:0}.mt-0\\.5{margin-top:.125rem}.mt-1\\.5{margin-top:.375rem}.mt-2{margin-top:.5rem}.mt-4{margin-top:1rem}.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:.375rem}.h-10{height:2.5rem}.h-12{height:3rem}.h-14{height:3.5rem}.h-16{height:4rem}.h-4{height:1rem}.h-7{height:1.75rem}.h-8{height:2rem}.h-full{height:100%}.h-px{height:1px}.w-1\\.5{width:.375rem}.w-10{width:2.5rem}.w-12{width:3rem}.w-14{width:3.5rem}.w-16{width:4rem}.w-4{width:1rem}.w-7{width:1.75rem}.w-72{width:18rem}.w-8{width:2rem}.w-full{width:100%}.max-w-\\[600px\\]{max-width:600px}.max-w-\\[800px\\]{max-width:800px}.flex-1{flex:1 1 0%}.-translate-x-1\\/2,.-translate-x-\\[50\\%\\]{--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: -.875rem;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-\\[50\\%\\]{--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-\\[calc\\(50\\%\\+theme\\(space\\.3\\)\\)\\]{--tw-translate-y: calc((50% + .75rem)*-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))}.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))}@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-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-rows-\\[0fr\\]{grid-template-rows:0fr}.grid-rows-\\[1fr\\]{grid-template-rows:1fr}.items-center{align-items:center}.justify-center{justify-content:center}.\\!justify-between{justify-content:space-between!important}.gap-1{gap:.25rem}.gap-1\\.5{gap:.375rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-6{gap:1.5rem}.space-y-0\\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.125rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.125rem * var(--tw-space-y-reverse))}.overflow-hidden{overflow:hidden}.whitespace-nowrap{white-space:nowrap}.break-all{word-break:break-all}.rounded{border-radius:.25rem}.rounded-\\[var\\(--s-paywall-border-radius\\)\\]{border-radius:var(--s-paywall-border-radius)}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-sm{border-radius:.125rem}.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-x{border-left-width:1px;border-right-width:1px}.border-b{border-bottom-width:1px}.border-none{border-style:none}.\\!border-red-500{--tw-border-opacity: 1 !important;border-color:rgb(239 68 68 / var(--tw-border-opacity, 1))!important}.border-\\[\\#E7E7EC\\]{--tw-border-opacity: 1;border-color:rgb(231 231 236 / var(--tw-border-opacity, 1))}.border-\\[--s-login-avatar-bgcolor\\]{border-color:var(--s-login-avatar-bgcolor)}.border-\\[color\\:--s-login-button-color\\]{border-color:var(--s-login-button-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-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-avatar-bgcolor\\]{background-color:var(--s-login-avatar-bgcolor)}.bg-\\[var\\(--s-paywall-bg-color\\)\\]{background-color:var(--s-paywall-bg-color)}.bg-gray-400{--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity, 1))}.bg-primary{background-color:var(--s-primary-color)}.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-\\[--s-login-avatar-textcolor\\]{fill:var(--s-login-avatar-textcolor)}.object-cover{-o-object-fit:cover;object-fit:cover}.p-0{padding:0}.p-3{padding:.75rem}.p-4{padding:1rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\\.5{padding-left:.625rem;padding-right:.625rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\\.5{padding-top:.375rem;padding-bottom:.375rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.pb-2{padding-bottom:.5rem}.pb-4{padding-bottom:1rem}.pb-6{padding-bottom:1.5rem}.pt-0{padding-top:0}.pt-2{padding-top:.5rem}.pt-6{padding-top:1.5rem}.text-left{text-align:left}.text-center{text-align:center}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.leading-none{line-height:1}.leading-snug{line-height:1.375}.leading-tight{line-height:1.25}.text-\\[\\#5F6D85\\]{--tw-text-opacity: 1;color:rgb(95 109 133 / var(--tw-text-opacity, 1))}.text-\\[--s-login-avatar-textcolor\\]{color:var(--s-login-avatar-textcolor)}.text-\\[color\\:--s-login-button-color\\]{color:var(--s-login-button-color)}.text-\\[var\\(--s-paywall-text-color\\)\\]{color:var(--s-paywall-text-color)}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity, 1))}.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-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}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.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{outline-style:solid}.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-\\[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}.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}.hover\\:cursor-pointer:hover{cursor:pointer}.hover\\:bg-gray-100\\/50:hover{background-color:#f3f4f680}.hover\\:underline:hover{text-decoration-line:underline}.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}.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((50% + .75rem)*-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:.75rem;line-height:1rem}.peer:focus-visible~.peer-focus-visible\\:-translate-y-\\[calc\\(50\\%\\+theme\\(space\\.3\\)\\)\\]{--tw-translate-y: calc((50% + .75rem)*-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-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 (min-width: 20rem){.\\@xs\\:px-8{padding-left:2rem;padding-right:2rem}}@container (min-width: 24rem){.\\@sm\\:p-8{padding:2rem}.\\@sm\\:pb-10{padding-bottom:2.5rem}}@container (min-width: 28rem){.\\@md\\:mt-1{margin-top:.25rem}.\\@md\\:mt-8{margin-top:2rem}.\\@md\\:gap-4{gap:1rem}.\\@md\\:space-y-1\\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.375rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.375rem * var(--tw-space-y-reverse))}.\\@md\\:py-6{padding-top:1.5rem;padding-bottom:1.5rem}.\\@md\\:pb-8{padding-bottom:2rem}.\\@md\\:pt-4{padding-top:1rem}.\\@md\\:text-3xl{font-size:1.875rem;line-height:2.25rem}.\\@md\\:text-base{font-size:1rem;line-height:1.5rem}.\\@md\\:text-sm{font-size:.875rem;line-height:1.25rem}.\\@md\\:row-left{display:flex;flex-direction:row;flex-wrap:wrap;align-content:center;align-items:center;justify-content:flex-start}.\\@md\\:row{display:flex;flex-direction:row;flex-wrap:wrap;align-content:center;align-items:center;justify-content:center}.\\@md\\:column-right{display:flex;flex-direction:column;align-items:flex-end;justify-content:center}}@container (min-width: 36rem){.\\@xl\\:mb-4{margin-bottom:1rem}.\\@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:1rem}.\\@xl\\:rounded-\\[var\\(--s-paywall-border-radius-desktop\\)\\]{border-radius:var(--s-paywall-border-radius-desktop)}.\\@xl\\:p-1{padding:.25rem}.\\@xl\\:text-2xl{font-size:1.5rem;line-height:2rem}.\\@xl\\:text-4xl{font-size:2.25rem;line-height:2.5rem}.\\@xl\\:text-base{font-size:1rem;line-height:1.5rem}.\\@xl\\:text-lg{font-size:1.125rem;line-height:1.75rem}.\\@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: 48rem){.\\@3xl\\:p-16{padding:4rem}.\\@3xl\\:p-4{padding:1rem}.\\@3xl\\:px-16{padding-left:4rem;padding-right:4rem}.\\@3xl\\:pt-10{padding-top:2.5rem}}@container (min-width: 56rem){.\\@4xl\\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}.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\\: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\\:text-gray-400:is(.dark *){--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.dark\\:text-white:is(.dark *){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}@media not all and (min-width: 640px){.max-sm\\:gap-0{gap:0px}}@media (min-width: 640px){.sm\\:text-xs{font-size:.75rem;line-height:1rem}}@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:.375rem;border-top-right-radius:.375rem}.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:.375rem;border-bottom-left-radius:.375rem}.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:.375rem;border-top-right-radius:.375rem}.\\[\\&\\>label\\:last-child\\>\\:where\\(select\\,input\\)\\]\\:rounded-b-md>label:last-child>:where(select,input){border-bottom-right-radius:.375rem;border-bottom-left-radius:.375rem}.\\[\\&\\>label\\>\\:where\\(select\\,input\\)\\]\\:rounded-none>label>:where(select,input){border-radius:0}.\\[\\&_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}`;async function Ca(){return window.sesamy?window.sesamy:new Promise((t,e)=>{const r=setTimeout(()=>{window.sesamy?t(window.sesamy):e(new Error("sesamyReady event did not occur within the expected time."))},5e3);function n(){window.sesamy?(clearTimeout(r),window.removeEventListener("sesamyJsReady",n),t(window.sesamy)):e(new Error("Sesamy API is not available"))}window.addEventListener("sesamyJsReady",n)})}const Ea={cs:{already_subscribing:"Už jste se přihlásili k odběru?",click_to_update:"Klikněte pro aktualizaci",continue:"Pokračovat",country:"Země",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é",invalid_email:"Neplatná e-mailová adresa",last_name:"Příjmení",last_name_required:"Příjmení je povinné",login:"Přihlášení",logo_of:"Logo společnosti",logout:"Odhlášení",my_account:"Můj účet",pay_now:"Zaplaťte nyní",phone_number:"Telefonní číslo",phone_number_required:"Vyžaduje se telefonní číslo",secure_payment:"Bezpečná platba šifrovaná pomocí SSL",something_went_wrong:"Něco se pokazilo",user_already_owns_item:"Tento produkt již vlastníte"},en:{already_subscribing:"Already subscribing?",click_to_update:"Click to update",continue:"Continue",country:"Country",did_you_mean:"Did you mean",email:"Email address",first_name:"First name",first_name_required:"First name is required",invalid_email:"Invalid email address",last_name:"Last name",last_name_required:"Last name is required",login:"Login",logo_of:"Logo of",logout:"Log out",my_account:"My account",pay_now:"Pay now",phone_number:"Phone number",phone_number_required:"Phone number is required",secure_payment:"Secure SSL encrypted payment",something_went_wrong:"Something went wrong",user_already_owns_item:"You already own this product"},fi:{already_subscribing:"Oletko jo tilannut?",click_to_update:"Klikkaa päivittääksesi",continue:"Jatka",country:"Maa",did_you_mean:"Tarkoititko",email:"Sähköpostiosoite",first_name:"Etunimi",first_name_required:"Etunimi vaaditaan",invalid_email:"Virheellinen sähköpostiosoite",last_name:"Sukunimi",last_name_required:"Sukunimi vaaditaan",login:"Kirjaudu sisään",logo_of:"Logo of",logout:"Kirjaudu ulos",my_account:"Tilini",pay_now:"Maksa nyt",phone_number:"Puhelinnumero",phone_number_required:"Puhelinnumero vaaditaan",secure_payment:"Turvallinen SSL-salattu maksu",something_went_wrong:"Jokin meni pieleen",user_already_owns_item:"Omistat jo tämän tuotteen"},it:{already_subscribing:"Siete già abbonati?",click_to_update:"Fare clic per aggiornare",continue:"Continua",country:"Paese",did_you_mean:"Intendeva",email:"Indirizzo e-mail",first_name:"Nome",first_name_required:"Il nome è obbligatorio",invalid_email:"Indirizzo e-mail non valido",last_name:"Cognome",last_name_required:"Il cognome è obbligatorio",login:"Accesso",logo_of:"Logo di",logout:"Disconnettersi",my_account:"Il mio account",pay_now:"Paga ora",phone_number:"Numero di telefono",phone_number_required:"Il numero di telefono è richiesto",secure_payment:"Pagamento sicuro con crittografia SSL",something_went_wrong:"Qualcosa è andato storto",user_already_owns_item:"Possiedi già questo prodotto"},nb:{already_subscribing:"Abonnerer du allerede?",click_to_update:"Klikk for å oppdatere",continue:"Fortsett",country:"Land",did_you_mean:"Mente du",email:"E-postadresse",first_name:"Fornavn",first_name_required:"Fornavn er påkrevd",invalid_email:"Ugyldig e-postadresse",last_name:"Etternavn",last_name_required:"Etternavn er påkrevd",login:"Logg inn",logo_of:"Logoen til",logout:"Logg ut",my_account:"Min konto",pay_now:"Betal nå",phone_number:"Telefonnummer",phone_number_required:"Telefonnummer er påkrevd",secure_payment:"Sikker SSL-kryptert betaling",something_went_wrong:"Noe gikk galt",user_already_owns_item:"Du eier allerede dette produktet"},pl:{already_subscribing:"Już subskrybujesz?",click_to_update:"Kliknij, aby zaktualizować",continue:"Kontynuuj",country:"Kraj",did_you_mean:"Czy miałeś na myśli",email:"Adres e-mail",first_name:"Imię",first_name_required:"Imię jest wymagane",invalid_email:"Nieprawidłowy adres e-mail",last_name:"Nazwisko",last_name_required:"Nazwisko jest wymagane",login:"Logowanie",logo_of:"Logo",logout:"Wylogowanie",my_account:"Moje konto",pay_now:"Zapłać teraz",phone_number:"Numer telefonu",phone_number_required:"Numer telefonu jest wymagany",secure_payment:"Bezpieczna płatność szyfrowana SSL",something_went_wrong:"Coś poszło nie tak",user_already_owns_item:"Posiadasz już ten produkt"},sv:{already_subscribing:"Prenumererar du redan?",click_to_update:"Klicka för att uppdatera",continue:"Fortsätt",country:"Land",did_you_mean:"Menade du",email:"E-postadress",first_name:"Förnamn",first_name_required:"Förnamn är obligatoriskt",invalid_email:"Ogiltig e-postadress",last_name:"Efternamn",last_name_required:"Efternamn är obligatoriskt",login:"Logga in",logo_of:"Logotyp för",logout:"Logga ut",my_account:"Mitt konto",pay_now:"Betala nu",phone_number:"Telefonnummer",phone_number_required:"Telefonnummer är obligatoriskt",secure_payment:"Säker SSL-krypterad betalning",something_went_wrong:"Något gick fel",user_already_owns_item:"Du har redan köpt den här produkten"}};function vs(t){const e=Ea[t]?t:"en";return r=>{var n;return((n=Ea[e])==null?void 0:n[r])||r}}var ms=P('<p style="color: red"> </p>'),hs=P("<!> <!>",1);function Tr(t,e){var h;me(e,!0);let r=U(e,"applyStyles",3,!0);const n=(h=document.querySelector("html"))==null?void 0:h.getAttribute("lang"),o=n==null?void 0:n.split("-")[0],a=Ca(),i=vs(e.lang||o||"en");let c=r()?"<style>"+fs+`
|
|
2
2
|
:host {
|
|
3
3
|
display: contents;
|
|
4
4
|
font-family: var(--s-font-family);
|
|
@@ -14,24 +14,24 @@
|
|
|
14
14
|
--s-login-avatar-bgcolor: var(--sesamy-login-avatar-bgcolor, var(--s-login-button-color));
|
|
15
15
|
--s-login-avatar-textcolor: var(--sesamy-login-avatar-textcolor, #ffffff);
|
|
16
16
|
}
|
|
17
|
-
`+"</style>":"";var s=gs(),f=T(s);kt(f,()=>a,null,(v,d)=>{var h=re(),_=T(h);Pe(_,e,"default",{get api(){return u(d)},t:i},null),w(v,h)},(v,d)=>{var h=ms(),_=L(h,!0);E(h),I(()=>X(_,u(d).message)),w(v,h)});var m=$(f,2);on(m,()=>c,!1,!1),w(t,s),ge()}var hs=S('<span class="absolute left-[50%] -translate-x-[50%] top-[50%] -translate-y-[50%]"><svg 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-[--s-login-avatar-textcolor]"></path></svg></span>'),ps=S('<img class="w-full h-full object-cover group-hover:opacity-80 transition-opacity duration-100">'),_s=S('<span class="row absolute top-0 left-0 w-full h-full"> </span>'),ws=S("<span><!></span>");function un(t,e){me(e,!1);let r=O(e,"src",12,""),n=O(e,"alt",12,"Avatar"),o=O(e,"size",12,"md"),a=O(e,"loading",12,!1);return ma(),dr(t,{children:(i,l)=>{var c=ws(),s=L(c);{var f=g=>{var v=hs(),d=L(v);E(v),I(h=>bl(d,Ce(h)),[()=>ne("animate-spin",o()==="sm"&&"w-7 h-7",o()==="md"&&"w-10 h-10",o()==="lg"&&"w-14 h-14")],nr),w(g,v)},m=g=>{var v=re(),d=T(v);{var h=p=>{var b=ps();I(()=>{Ee(b,"src",r()),Ee(b,"alt",n())}),w(p,b)},_=p=>{var b=_s(),C=L(b,!0);E(b),I(y=>X(C,y),[()=>n().charAt(0).toUpperCase()],nr),w(p,b)};F(d,p=>{r()?p(h):p(_,!1)},!0)}w(g,v)};F(s,g=>{a()?g(f):g(m,!1)})}E(c),I(g=>Le(c,Ce(g)),[()=>ne("relative block group rounded-full overflow-hidden border-2 border-[--s-login-avatar-bgcolor] bg-[--s-login-avatar-bgcolor] text-[--s-login-avatar-textcolor]",o()==="sm"&&"w-8 h-8",o()==="md"&&"w-12 h-12",o()==="lg"&&"w-16 h-16")],nr),w(i,c)},$$slots:{default:!0}}),ge({get src(){return r()},set src(i){r(i),pe()},get alt(){return n()},set alt(i){n(i),pe()},get size(){return o()},set size(i){o(i),pe()},get loading(){return a()},set loading(i){a(i),pe()}})}customElements.define("sesamy-avatar",Wt(un,{src:{},alt:{},size:{},loading:{}},[],[],!0));function Aa(t,e){me(e,!0);let r=it(e,["$$slots","$$events","$$legacy","href","onclick","class","disabled","part","children"]);var n=re(),o=T(n);gl(o,()=>e.href?"a":"button",!1,(a,i)=>{let l;I(f=>l=Vt(a,l,{role:e.href?"link":"button",class:f,tabindex:"0",href:e.href,onclick:e.onclick,part:e.part,disabled:e.disabled,...r},void 0,a.namespaceURI===go,a.nodeName.includes("-")),[()=>ne("border-0 bg-none outline-none",e.class)]);var c=re(),s=T(c);Ht(s,()=>e.children),w(i,c)}),w(t,n),ge()}var bs=S('<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>'),ys=S("<!> <!>",1);function La(t,e){me(e,!0);let r=O(e,"loading",3,!1),n=O(e,"variant",3,"primary"),o=O(e,"disabled",3,!1),a=O(e,"size",3,"md"),i=it(e,["$$slots","$$events","$$legacy","loading","variant","disabled","size","part","onclick","href","class"]);const l=M(()=>ne("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",a()=="sm"&&"px-3 py-1.5 text-sm",a()=="md"&&"px-4 py-2 text-base",a()=="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",o()&&"opacity-50 cursor-not-allowed",e.class));var c=M(()=>u(l));Aa(t,sn({get class(){return u(c)},get href(){return e.href},get onclick(){return e.onclick},get part(){return e.part},get disabled(){return o()}},()=>i,{children:(s,f)=>{var m=ys(),g=T(m);{var v=h=>{var _=bs();w(h,_)};F(g,h=>{r()&&h(v)})}var d=$(g,2);Pe(d,e,"default",{},null),w(s,m)},$$slots:{default:!0}})),ge()}var xs=(t,e)=>B(e,!u(e)),ks=(t,e,r)=>e(u(r)),Cs=S('<ul><li class="p-4 border-b border-gray-200 text-base"><span class="line-clamp-1 break-all"> </span></li> <li class="border-b border-gray-200 text-sm font-bold"><a class="block w-full text-left px-4 py-3 hover:bg-gray-100/50" target="_blank"> </a></li> <li class="text-sm font-bold"><button class="block w-full text-left px-4 py-3 hover:bg-gray-100/50"> </button></li></ul>'),Es=S('<div class="absolute top-full mt-1.5 right-0 bg-white text-black border border-gray-200 rounded-sm w-72" role="menu"><!></div>'),$s=S('<div class="relative"><button class="block" aria-haspopup="true"><!></button> <!></div>'),As=S("<!> <!> <!>",1);function Sa(t,e){me(e,!0);let r=O(e,"loading",7),n=O(e,"loggedIn",7),o=O(e,"userAvatar",7),a=O(e,"class",7,""),i=ke(!1),l=ke(!1),c=ke(null),s=ke(null);const f=async d=>{B(i,!0);try{await d.auth.loginWithRedirect()}catch(h){B(i,!1),console.error("Login failed:",h)}},m=async d=>{r(!0);try{await d.auth.logout(),n(!1)}catch(h){console.error("Logout failed:",h)}},g=async d=>{var h;try{n(await d.auth.isAuthenticated()),n()&&(B(c,fe(await d.auth.getUser())),o(((h=u(c))==null?void 0:h.picture)||""),B(s,fe(await d.generateLink({target:"account"}))))}catch(_){console.error("Error checking login status:",_)}},v=d=>{d.target!==e.$$host&&B(l,!1)};return document.addEventListener("pointerdown",v),dr(t,{children:Yr,$$slots:{default:(d,h)=>{const _=M(()=>h.api),p=M(()=>h.t);var b=re(),C=T(b);kt(C,()=>g(u(_)),y=>{un(y,{loading:!0,size:"sm"})},(y,x)=>{var k=re(),ee=T(k);{var z=Z=>{var P=$s(),A=L(P);A.__click=[xs,l];var D=L(A);Pe(D,e,"avatar",{},K=>{un(K,{get src(){return o()},get loading(){return r()},size:"sm"})}),E(A);var U=$(A,2);{var ie=K=>{var Q=Es(),j=L(Q);Pe(j,e,"popup-menu",{},V=>{var te=Cs(),R=L(te),le=L(R),J=L(le,!0);E(le),E(R);var ue=$(R,2),de=L(ue),be=L(de,!0);E(de),E(ue);var G=$(ue,2),se=L(G);se.__click=[ks,m,_];var W=L(se,!0);E(se),E(G),E(te),I((ce,xe)=>{var Te;X(J,(Te=u(c))==null?void 0:Te.email),Ee(de,"href",u(s)),X(be,ce),X(W,xe)},[()=>u(p)("my_account"),()=>u(p)("logout")]),w(V,te)}),E(Q),w(K,Q)};F(U,K=>{u(l)&&K(ie)})}E(P),I(()=>{A.disabled=r(),Ee(A,"aria-expanded",u(l))}),w(Z,P)},N=Z=>{const P=M(()=>ne("font-bold row gap-1.5 text-[color:--s-login-button-color] border-[color:--s-login-button-color] border-[length:--s-login-button-border-width]",a()));var A=M(()=>u(P));La(Z,{get class(){return u(A)},variant:"secondary",get disabled(){return u(i)},onclick:()=>f(u(_)),size:"sm",children:(D,U)=>{var ie=As(),K=T(ie);Pe(K,e,"button-text-prefix",{},null);var Q=$(K,2);Pe(Q,e,"button-text",{},V=>{var te=ht();I(R=>X(te,R),[()=>u(p)("login")]),w(V,te)});var j=$(Q,2);Pe(j,e,"button-text-suffix",{},null),w(D,ie)},$$slots:{default:!0}})};F(ee,Z=>{n()?Z(z):Z(N,!1)})}w(y,k)}),w(d,b)}}}),ge({get loading(){return r()},set loading(d){r(d),pe()},get loggedIn(){return n()},set loggedIn(d){n(d),pe()},get userAvatar(){return o()},set userAvatar(d){o(d),pe()},get class(){return a()},set class(d=""){a(d),pe()}})}Ar(["click"]),customElements.define("sesamy-login",Wt(Sa,{loading:{},loggedIn:{},userAvatar:{},class:{}},["avatar","popup-menu","button-text-prefix","button-text","button-text-suffix"],[],!0));var Ls=S("<div><!></div>");function We(t,e){me(e,!0);let r=it(e,["$$slots","$$events","$$legacy","up","right","down","left","style","class","children"]);var n=Ls();let o;var a=L(n);Ht(a,()=>e.children),E(n),I(i=>o=Vt(n,o,{class:i,style:e.style,...r}),[()=>ne(!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)]),w(t,n),ge()}const Ss={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},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 Ps=en("<svg><!></svg>");function Yt(t,e){me(e,!0);let r=O(e,"multiColor",3,!1),n=O(e,"ratio",3,1),o=it(e,["$$slots","$$events","$$legacy","name","multiColor","ratio","class"]);const{elements:a,fills:i,strokes:l,viewBoxWidth:c,viewBoxHeight:s,widthRatio:f,heightRatio:m}=Ss[e.name];var g=Ps();let v;var d=L(g);on(d,()=>a.join(""),!0,!1),E(g),I((h,_)=>v=Vt(g,v,{class:h,viewBox:c&&s?`0 0 ${c} ${s}`:void 0,width:`${n()*f}em`,height:`${n()*m}em`,style:_,...o},void 0,!0),[()=>ne(`icon-${e.name}`,e.class),()=>r()?[...i.map((h,_)=>h&&`--${e.name}-fill-color-${_}: ${h};`),...l.map((h,_)=>h&&`--${e.name}-stroke-color-${_}: ${h};`)].filter(Boolean).join(""):void 0]),w(t,g),ge()}var Ts=S("<div><!></div>");function Rt(t,e){me(e,!0);let r=it(e,["$$slots","$$events","$$legacy","up","right","down","left","style","class","children"]);var n=Ts();let o;var a=L(n);Ht(a,()=>e.children),E(n),I(i=>o=Vt(n,o,{class:i,style:e.style,...r}),[()=>ne(!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)]),w(t,n),ge()}function dn(t,e){me(e,!0);let r=O(e,"size",3,"md");const n=M(()=>ne("aspect-[4/3] px-1 rounded bg-white text-black 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"));var o=M(()=>u(n));Rt(t,{get class(){return u(o)},children:(a,i)=>{Yt(a,{get name(){return e.name},multiColor:!0})},$$slots:{default:!0}}),ge()}var Ms=S('<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>'),zs=S("<!> <!>",1);function fr(t,e){me(e,!0);let r=O(e,"loading",7,!1),n=O(e,"variant",7,"primary"),o=O(e,"disabled",7,!1),a=O(e,"size",7,"md"),i=O(e,"part",7),l=O(e,"onclick",7),c=O(e,"href",7),s=O(e,"class",7);return dr(t,{children:(f,m)=>{const g=M(()=>ne("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",a()=="sm"&&"px-3 py-1.5 text-sm",a()=="md"&&"px-4 py-2 text-base",a()=="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",o()&&"opacity-50 cursor-not-allowed",s()));var v=M(()=>u(g));Aa(f,{get class(){return u(v)},get href(){return c()},get onclick(){return l()},get part(){return i()},get disabled(){return o()},children:(d,h)=>{var _=zs(),p=T(_);{var b=y=>{var x=Ms();w(y,x)};F(p,y=>{r()&&y(b)})}var C=$(p,2);Pe(C,e,"default",{},null),w(d,_)},$$slots:{default:!0}})},$$slots:{default:!0}}),ge({get loading(){return r()},set loading(f=!1){r(f),pe()},get variant(){return n()},set variant(f="primary"){n(f),pe()},get disabled(){return o()},set disabled(f=!1){o(f),pe()},get size(){return a()},set size(f="md"){a(f),pe()},get part(){return i()},set part(f){i(f),pe()},get onclick(){return l()},set onclick(f){l(f),pe()},get href(){return c()},set href(f){c(f),pe()},get class(){return s()},set class(f){s(f),pe()}})}customElements.define("sesamy-button",Wt(fr,{loading:{},variant:{},disabled:{},size:{},part:{},onclick:{},href:{},class:{}},["default"],[],!0));function Rs(t){const e=t-1;return e*e*e+1}function Ns(t,{delay:e=0,duration:r=400,easing:n=Rs,axis:o="y"}={}){const a=getComputedStyle(t),i=+a.opacity,l=o==="y"?"height":"width",c=parseFloat(a[l]),s=o==="y"?["top","bottom"]:["left","right"],f=s.map(p=>`${p[0].toUpperCase()}${p.slice(1)}`),m=parseFloat(a[`padding${f[0]}`]),g=parseFloat(a[`padding${f[1]}`]),v=parseFloat(a[`margin${f[0]}`]),d=parseFloat(a[`margin${f[1]}`]),h=parseFloat(a[`border${f[0]}Width`]),_=parseFloat(a[`border${f[1]}Width`]);return{delay:e,duration:r,easing:n,css:p=>`overflow: hidden;opacity: ${Math.min(p*20,1)*i};${l}: ${p*c}px;padding-${s[0]}: ${p*m}px;padding-${s[1]}: ${p*g}px;margin-${s[0]}: ${p*v}px;margin-${s[1]}: ${p*d}px;border-${s[0]}-width: ${p*h}px;border-${s[1]}-width: ${p*_}px;min-${l}: 0`}}var Is=S('<li class="row-up-left gap-2"><!> <div> </div></li>'),Os=S("<ul></ul>");function Pa(t,e){me(e,!0);var r=Os();sr(r,21,()=>e.features,nn,(n,o)=>{var a=Is(),i=L(a);Yt(i,{class:"text-xs @md:text-sm text-primary mt-0.5 @md:mt-1",name:"checkmark"});var l=$(i,2),c=L(l,!0);E(l),E(a),I(s=>{Le(l,Ce(s)),X(c,u(o))},[()=>ne("flex-1 leading-snug")]),El(3,a,()=>Ns),w(n,a)}),E(r),I(n=>Le(r,Ce(n)),[()=>ne("space-y-0.5 @md:space-y-1.5 text-sm @md:text-base",e.class)]),w(t,r),ge()}const Ta=t=>{if(![4,7].includes(t.length))return[0,0,100];let e=0,r=0,n=0;t.length===4?(e=`0x${t[1]}${t[1]}`,r=`0x${t[2]}${t[2]}`,n=`0x${t[3]}${t[3]}`):t.length===7&&(e=`0x${t[1]}${t[2]}`,r=`0x${t[3]}${t[4]}`,n=`0x${t[5]}${t[6]}`),e/=255,r/=255,n/=255;const o=Math.min(e,r,n),a=Math.max(e,r,n),i=a-o;let l=0,c=0,s=0;return i===0?l=0:a===e?l=(r-n)/i%6:a===r?l=(n-e)/i+2:l=(e-r)/i+4,l=Math.round(l*60),l<0&&(l+=360),s=(a+o)/2,c=i===0?0:i/(1-Math.abs(2*s-1)),c=+(c*100).toFixed(1),s=+(s*100).toFixed(1),[l,c,s]};var Ds=S("<div><!></div>");function ro(t,e){me(e,!0);let r=O(e,"horizontal",3,!1);var n=Ds(),o=L(n);Ht(o,()=>e.children),E(n),I(a=>Le(n,Ce(a)),[()=>ne("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)]),w(t,n),ge()}var qs=S('<div><div><div class="absolute top-full left-1/2 -translate-x-1/2 w-4 h-4 bg-primary rotate-45 -translate-y-3.5 rounded-sm"></div> <div class="relative"> </div></div></div>');function Ma(t,e){me(e,!0);var r=qs(),n=L(r),o=$(L(n),2),a=L(o,!0);E(o),E(n),E(r),I((i,l)=>{Le(r,Ce(i)),Le(n,Ce(l)),X(a,e.text)},[()=>ne("absolute top-2 -right-3 rotate-3",e.chunky&&"top-5"),()=>ne("absolute bg-primary bottom-0 rounded right-0 px-2 text-white text-xs py-1 font-bold whitespace-nowrap",e.chunky&&"px-3 text-sm @xl:text-base bottom-1")]),w(t,r),ge()}var Fs=S(`<label><input type="radio" class="peer sr-only"> <div class="w-4 h-4 rounded-full transition-all bg-white dark:bg-black border border-[#E7E7EC] dark:border-gray-500 relative ring ring-transparent peer-focus-visible:ring-primary/20 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> <div><!></div></label>`);function no(t,e){me(e,!0);let r=it(e,["$$slots","$$events","$$legacy","id","name","checked","children","onchange","class"]);var n=Fs();let o;var a=L(n);ca(a),a.__change=function(...c){var s;(s=e.onchange)==null||s.apply(this,c)};var i=$(a,4),l=L(i);Ht(l,()=>e.children),E(i),E(n),I(c=>{o=Vt(n,o,{class:"p-3 @3xl:p-4 row-left gap-4 w-full relative cursor-pointer",for:e.id,...r}),pl(a,e.checked),Ee(a,"name",e.name),Ee(a,"id",e.id),Le(i,Ce(c))},[()=>ne("column-up-left @md:row-left flex-1 !justify-between",e.class)]),w(t,n),ge()}Ar(["change"]);var js=S(' <span class="text-xl @xl:text-2xl whitespace-nowrap"> </span>',1),Bs=S('<div class="leading-none"><span class="font-bold text-2xl @xl:text-4xl whitespace-nowrap"> </span> <!></div>'),Us=S('<!> <div class="relative leading-tight"><span> </span> <span> </span> <div></div></div>',1),Gs=S('<div class="text-sm text-gray-700 dark:text-gray-300"> </div>'),Hs=S('<div class="text-base @xl:text-lg font-bold leading-tight"> </div> <!> <!> <!>',1),Vs=S("<!> <!>",1),Ws=S("<!> <!>",1),Ys=S("<hr>"),Zs=S('<div class="leading-tight text-sm"> </div>'),Ks=S('<div class="text-base font-bold leading-tight"> </div> <!>',1),Js=S('<div class="text-base font-bold leading-none"> <!></div>'),Xs=S("<div> <!></div>"),Qs=S('<!> <div class="column-left @md:column-right"><!> <!></div> <!>',1),ec=S("<!> <!>",1);function tc(t,e){me(e,!0);let r=O(e,"horizontal",3,!1);const n=async i=>e.api.generateLink({target:"checkout",sku:i.sku,purchaseOptionId:i.poId,discountCode:i.discountCode,redirectUrl:e.redirectUrl,business:i.preferBusiness}),o=M(()=>ne(r()&&"@xl:grid-cols-3",r()&&e.subscriptions.length===4&&"@xl:grid-cols-2 @4xl:grid-cols-4",r()&&e.subscriptions.length===2&&"@xl:grid-cols-2",r()&&e.subscriptions.length===1&&"flex"));var a=M(()=>u(o));ro(t,{get class(){return u(a)},get horizontal(){return r()},children:(i,l)=>{var c=re(),s=T(c);sr(s,17,()=>e.subscriptions,nn,(f,m,g)=>{var v=re();const d=M(()=>{const{id:b,title:C,description:y,price:x,periodText:k,features:ee,selected:z,tag:N,buttonText:Z,url:P,discountPrice:A}=u(m);return{id:b,title:C,description:y,price:x,periodText:k,features:ee,selected:z,tag:N,buttonText:Z,url:P,discountPrice:A}});var h=T(v);{var _=b=>{const C=M(()=>ne("border bg-white dark:bg-black/25 border-gray-300 rounded-lg relative",u(d).tag&&"border-primary mt-0 border-2"));var y=M(()=>u(C));We(b,{get class(){return u(y)},children:(x,k)=>{var ee=Ws(),z=T(ee);{var N=P=>{Ma(P,{get text(){return u(d).tag},get t(){return e.t},chunky:!0})};F(z,P=>{u(d).tag&&P(N)})}var Z=$(z,2);We(Z,{class:"p-4 flex-1 gap-2 w-full !justify-between shadow-md",left:!0,up:!0,children:(P,A)=>{var D=Vs(),U=T(D);We(U,{class:"@xl:p-1",left:!0,children:(j,V)=>{var te=Hs(),R=T(te),le=L(R,!0);E(R);var J=$(R,2);{var ue=W=>{We(W,{class:"mb-0 @xl:mb-4",left:!0,children:(ce,xe)=>{var Te=Us(),Oe=T(Te);{var Ye=nt=>{var st=Bs(),_t=L(st),oo=L(_t);E(_t);var _n=$(_t,2);{var ao=Rr=>{var Nr=js(),wn=T(Nr,!0);wn.nodeValue=" ";var Ir=$(wn),bn=L(Ir);E(Ir),I(()=>X(bn,`/ ${u(d).periodText??""}`)),w(Rr,Nr)};F(_n,Rr=>{u(d).periodText&&Rr(ao)})}E(st),I(()=>X(oo,`${u(d).discountPrice??""}
|
|
18
|
-
${e.currency??""}`)),
|
|
19
|
-
${e.currency??""}`),
|
|
20
|
-
${e.currency??""} `)),
|
|
21
|
-
${e.currency??""} `)},[()=>ne("text-base font-bold leading-none",u(d).discountPrice&&"line-through text-gray-400 text-sm")]),w(j,V)};F(U,j=>{u(d).price&&j(ie)})}E(P);var K=$(P,2);{var Q=j=>{Ma(j,{get text(){return u(d).tag},get t(){return e.t}})};F(K,j=>{u(d).tag&&j(Q)})}w(ee,N)},$$slots:{default:!0}}),w(b,C)};F(h,b=>{r()?b(_):b(p,!1)})}w(f,v)}),w(i,c)},$$slots:{default:!0}}),ge()}var rc=S('<div class="text-base font-bold leading-tight"></div> <div class="text-sm"></div>',1),nc=S('<!> <div class="text-base font-bold"></div>',1);function oc(t,e){const r=it(e,["$$slots","$$events","$$legacy"]);let{api:n,singlePurchase:o,selectProduct:a,hasSubscriptions:i,articleUrl:l,singlePurchasePrice:c,currency:s}=r,{title:f,description:m}=o;const g=()=>{a({...o,price:c,url:l})};l&&!i&&g();var v=re(),d=T(v);{var h=_=>{ro(_,{children:(p,b)=>{no(p,{id:"single-purchase",name:"purchase-option",class:"gap-2 @md:gap-4",checked:!i,onchange:g,children:(C,y)=>{var x=nc(),k=T(x);We(k,{left:!0,children:(z,N)=>{var Z=rc(),P=T(Z);P.textContent=f;var A=$(P,2);A.textContent=m,w(z,Z)},$$slots:{default:!0}});var ee=$(k,2);ee.textContent=`${c??""} ${s??""}`,w(C,x)},$$slots:{default:!0}})},$$slots:{default:!0}})};F(d,_=>{l&&_(h)})}w(t,v)}function za(t,e){Rt(t,{class:"text-red-500 w-full",left:!0,children:(r,n)=>{De();var o=ht();I(()=>X(o,`• ${e.text??""}`)),w(r,o)},$$slots:{default:!0}})}const ac=["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"];function ic(t,e="en"){return new Intl.DisplayNames(e,{type:"region"}).of(t.toUpperCase())}function lc(){return ac}function sc(t="en"){return lc().map(e=>({value:e,label:ic(e,t)||""})).sort((e,r)=>e.label<r.label?-1:e.label>r.label?1:0)}var cc=S("<div> </div>"),uc=S("<label><input> <!></label>");function Mr(t,e){me(e,!0);let r=O(e,"value",15),n=O(e,"hasError",3,!1),o=O(e,"placeholder",3,""),a=O(e,"compact",3,!1),i=O(e,"class",3,""),l=it(e,["$$slots","$$events","$$legacy","value","error","hasError","placeholder","compact","class"]);var c=uc(),s=L(c);ca(s);let f;var m=$(s,2);{var g=v=>{var d=cc(),h=L(d,!0);E(d),I(_=>{Le(d,Ce(_)),X(h,o())},[()=>ne("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-visible:-translate-y-[calc(50%+theme(space.3))] peer-focus:text-xs",!!r()&&"-translate-y-[calc(50%+theme(space.3))] text-xs sm:text-xs")]),w(v,d)};F(m,v=>{a()&&v(g)})}E(c),I((v,d)=>{Le(c,Ce(v)),f=Vt(s,f,{...l,class:d,placeholder:o()})},[()=>ne("relative w-full column-left",(n()||!!e.error)&&"z-20"),()=>ne("relative peer w-full 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",(n()||!!e.error)&&"!border-red-500 z-10",a()&&"pb-2 pt-6 placeholder:text-transparent",String(i()))]),$l(s,r),w(t,c),ge()}var dc=S("<div><!></div>");function fc(t,e){me(e,!0);var r=dc(),n=L(r);Ht(n,()=>e.children),E(r),I(o=>Le(r,Ce(o)),[()=>ne("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)]),w(t,r),ge()}var vc=S("<option> </option>"),mc=S("<div> </div>"),gc=S('<label class="relative w-full gap-2 column-left"><select></select> <!> <!></label>');function hc(t,e){me(e,!0);let r=O(e,"value",15),n=O(e,"class",3,""),o=O(e,"hasError",3,!1),a=O(e,"placeholder",3,""),i=O(e,"compact",3,!1),l=it(e,["$$slots","$$events","$$legacy","value","class","hasError","options","placeholder","compact"]);var c=gc(),s=L(c);let f;sr(s,21,()=>e.options,({value:h,label:_})=>h,(h,_)=>{let p=()=>u(_).value,b=()=>u(_).label;var C=vc(),y={},x=L(C,!0);E(C),I(()=>{y!==(y=p())&&(C.value=(C.__value=p())==null?"":p()),X(x,b())}),w(h,C)}),E(s);var g=$(s,2);{var v=h=>{var _=mc(),p=L(_,!0);E(_),I(b=>{Le(_,Ce(b)),X(p,a())},[()=>ne("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")]),w(h,_)};F(g,h=>{i()&&h(v)})}var d=$(g,2);Yt(d,{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"}),E(c),I(h=>f=Vt(s,f,{class:h,...l}),[()=>ne("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",o()&&"!border-red-500 z-10",i()&&"pb-2 pt-6 placeholder:text-transparent",String(n()))]),Ll(s,r),w(t,c),ge()}function pc(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 _c=()=>/Chrome/.test(navigator==null?void 0:navigator.userAgent)&&!/Edge|OPR/.test(navigator==null?void 0:navigator.userAgent),wc=()=>window==null?void 0:window.ApplePaySession;function bc(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var zr={},vr={},mr={},fn={},Ra;function yc(){if(Ra)return fn;Ra=1,Object.defineProperty(fn,"__esModule",{value:!0});function t(e,r){if(!e)throw new Error(r)}return fn.default=t,fn}var Na;function xc(){if(Na)return mr;Na=1;var t=mr&&mr.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(mr,"__esModule",{value:!0});const e=t(yc());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 mr.default=r,mr}var gr={},vn={},Ia;function kc(){if(Ia)return vn;Ia=1,Object.defineProperty(vn,"__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 vn.default=t,vn}var mn={},Oa;function Cc(){if(Oa)return mn;Oa=1,Object.defineProperty(mn,"__esModule",{value:!0});function t(e){const{domain:r,domains:n,distanceFunction:o,threshold:a}=e;let i,l=1/0,c=null;if(!(!r||!n)){for(let s=0;s<n.length;s++){if(r===n[s])return r;i=o(r,n[s]),i<l&&(l=i,c=n[s])}if(l<=a&&c!==null)return c}}return mn.default=t,mn}var hr={},gn={},Da;function Ec(){if(Da)return gn;Da=1,Object.defineProperty(gn,"__esModule",{value:!0});const t=/\s/;function e(o){return o.trim?o.trim():n(r(o))}function r(o){return o.trimLeft?o.trimLeft():o.replace(/^\s\s*/,"")}function n(o){if(o.trimRight)return o.trimRight();let a=o.length;for(;t.test(o.charAt(--a)););return o.slice(0,a+1)}return gn.default=e,gn}var qa;function $c(){if(qa)return hr;qa=1;var t=hr&&hr.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(hr,"__esModule",{value:!0});const e=t(Ec()),r=2;function n(o){const i=e.default(o).split("@");if(i.length<r)return!1;for(let m=0;m<i.length;m++)if(i[m]==="")return!1;let l="",c="";const s=i.pop(),f=s.split(".");if(f.length===0)return!1;if(f.length==1)c=f[0];else{l=f[0];for(let m=1;m<f.length;m++)c+=f[m]+".";c=c.substring(0,c.length-1)}return{topLevelDomain:c,secondLevelDomain:l,domain:s,address:i.join("@")}}return hr.default=n,hr}var Fa;function Ac(){if(Fa)return gr;Fa=1;var t=gr&&gr.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(gr,"__esModule",{value:!0});const e=t(kc()),r=t(Cc()),n=t($c());function o(a){const i=e.default(a.email.toLowerCase()),l=n.default(i);if(!l)return;const{domains:c,domainThreshold:s,distanceFunction:f,secondLevelDomains:m,topLevelDomains:g}=a;if(m&&g&&m.indexOf(l.secondLevelDomain)!==-1&&g.indexOf(l.topLevelDomain)!==-1)return;let v=r.default({domain:l.domain,domains:c,distanceFunction:f,threshold:s});if(v)return v==l.domain?void 0:{address:l.address,domain:v,full:l.address+"@"+v};const d=r.default({domain:l.secondLevelDomain,domains:m,distanceFunction:f,threshold:a.secondLevelThreshold}),h=r.default({domain:l.topLevelDomain,domains:g,distanceFunction:f,threshold:a.topLevelThreshold});if(l.domain){v=l.domain;let _=!1;if(d&&d!=l.secondLevelDomain&&(v=v.replace(l.secondLevelDomain,d),_=!0),h&&h!=l.topLevelDomain&&l.secondLevelDomain!==""&&(v=v.replace(new RegExp(l.topLevelDomain+"$"),h),_=!0),_)return{address:l.address,domain:v,full:l.address+"@"+v}}}return gr.default=o,gr}var hn={},lt={},pn={},ja;function Lc(){if(ja)return pn;ja=1,Object.defineProperty(pn,"__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,o=0,a=0,i=0;const l=5;for(;n+o<e.length&&n+a<r.length;){if(e.charAt(n+o)==r.charAt(n+a))i++;else{o=0,a=0;for(let c=0;c<l;c++){if(n+c<e.length&&e.charAt(n+c)==r.charAt(n)){o=c;break}if(n+c<r.length&&e.charAt(n)==r.charAt(n+c)){a=c;break}}}n++}return(e.length+r.length)/2-i}return pn.default=t,pn}var Ba;function Ua(){if(Ba)return lt;Ba=1;var t=lt&<.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(lt,"__esModule",{value:!0}),lt.POPULAR_TLDS=lt.POPULAR_DOMAINS=lt.DEFAULT_CONFIG=void 0;const e=t(Lc()),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"];lt.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"];lt.POPULAR_TLDS=n;const o={domainThreshold:2,domains:r,secondLevelThreshold:2,secondLevelDomains:["yahoo","hotmail","mail","live","outlook"],topLevelThreshold:2,topLevelDomains:n,distanceFunction:e.default};return lt.DEFAULT_CONFIG=o,lt}var Ga;function Sc(){if(Ga)return hn;Ga=1,Object.defineProperty(hn,"__esModule",{value:!0});const t=Ua();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 hn.default=e,hn}var Ha;function Pc(){if(Ha)return vr;Ha=1;var t=vr&&vr.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(vr,"__esModule",{value:!0});const e=t(xc()),r=t(Ac()),n=t(Sc());function o(a){const i=n.default(a);e.default(i||{});const l=r.default(i);return!l&&a.empty&&a.empty(),l&&a.suggested&&a.suggested(l),l}return vr.default=o,vr}var Va;function Tc(){return Va||(Va=1,function(t){var e=zr&&zr.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(t,"__esModule",{value:!0}),t.POPULAR_TLDS=t.POPULAR_DOMAINS=t.run=void 0;const r=e(Pc());t.run=r.default;const n=Ua();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 o={run:r.default,POPULAR_DOMAINS:n.POPULAR_DOMAINS,POPULAR_TLDS:n.POPULAR_TLDS};t.default=o}(zr)),zr}var Mc=Tc();const Wa=bc(Mc);var zc=S('<div><div class="overflow-hidden"><!></div></div>');function Rc(t,e){me(e,!0);let r=O(e,"isOpen",3,!1);var n=zc(),o=L(n),a=L(o);Pe(a,e,"default",{},null),E(o),E(n),I(i=>Le(n,Ce(i)),[()=>ne("grid transition-[grid-template-rows] duration-200 ease-out grid-rows-[0fr]",r()&&"grid-rows-[1fr]")]),w(t,n),ge()}const Nc="https://checkout3.sesamy.com",Ya=async(t,e,r)=>{const n=new URL(Nc);n.pathname=t.id,n.searchParams.set("norecreate","true"),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 Ic=S('<!> <div> <span class="text-primary"> </span>?</div>',1),Oc=S('<!> <div class="text-center whitespace-nowrap"> </div>',1),Dc=S("<!> <!>",1),qc=S("<!> <!> <!> <!> <!>",1),Fc=S('<div class="gap-1 hidden @xl:row-left"><!> <!> <!></div>'),jc=S("<!> <!>",1),Bc=S('<form class="contents"><!> <div class="grid grid-cols-2 w-full gap-2 auto-rows-fr"></div> <!></form> <!>',1);function Uc(t,e){me(e,!0);const r=sc(e.checkout.language);let n=ke(""),o=ke(""),a=ke(""),i=ke(""),l=ke(fe(e.checkout.country||"SE")),c=ke(!1),s=ke(void 0),f=ke(void 0),m=ke(""),g;const v=()=>{var A,D,U,ie,K,Q,j,V,te,R,le,J,ue,de,be,G,se,W;const P=[];pc(u(n))||P.push(["email","invalid_email"]),(U=(D=(A=e.checkout)==null?void 0:A.fieldSettings)==null?void 0:D.phone)!=null&&U.enabled&&((Q=(K=(ie=e.checkout)==null?void 0:ie.fieldSettings)==null?void 0:K.phone)!=null&&Q.required)&&!u(i)&&P.push(["phoneNumber","phone_number_required"]),(te=(V=(j=e.checkout)==null?void 0:j.fieldSettings)==null?void 0:V.name)!=null&&te.enabled&&((J=(le=(R=e.checkout)==null?void 0:R.fieldSettings)==null?void 0:le.name)!=null&&J.required)&&!u(o)&&P.push(["firstName","first_name_required"]),(be=(de=(ue=e.checkout)==null?void 0:ue.fieldSettings)==null?void 0:de.name)!=null&&be.enabled&&((W=(se=(G=e.checkout)==null?void 0:G.fieldSettings)==null?void 0:se.name)!=null&&W.required)&&!u(a)&&P.push(["lastName","last_name_required"]),B(s,fe(P.length?P.reduce((ce,[xe,Te])=>({...ce,[xe]:Te}),{}):void 0))},d=P=>B(f,fe(P)),h=()=>{B(s,void 0),clearTimeout(g),g=setTimeout(()=>{var P;B(m,fe(((P=Wa.run({email:u(n)}))==null?void 0:P.full)||""))},400)},_=async P=>{var A;if(P.preventDefault(),v(),!u(s)&&u(f)){B(c,!0);try{const D=["GOOGLE-PAY","APPLE-PAY"].includes(u(f).method);await e.api.checkouts.update(e.checkout.id,{paymentData:{provider:u(f).provider,method:D?"CARD":u(f).method},email:u(n)}),Ya(e.checkout,u(f));return}catch(D){(A=D==null?void 0:D.message)!=null&&A.includes("User already owns item")?B(s,fe({general:"user_already_owns_item"})):(console.error(D),B(s,fe({general:"something_went_wrong"}))),B(c,!1);return}}},p=e.checkout.availablePaymentMethods.filter(({provider:P})=>!["DUMMY","SESAMY","BILLOGRAM"].includes(P)).reduce((P,{provider:A,methods:D})=>[...P,...D!=null&&D.length?D.map(U=>({provider:A,method:U,icon:U.toLocaleLowerCase()})):[]],[]),b=["vipps","google-pay"];_c()&&p.push({provider:"STRIPE",method:"GOOGLE-PAY",icon:"google-pay"}),wc()&&p.push({provider:"STRIPE",method:"APPLE-PAY",icon:"apple-pay"}),p.length&&d(p[0]);var C=Bc(),y=T(C),x=L(y);fc(x,{children:(P,A)=>{var D=qc(),U=T(D);const ie=M(()=>e.t("email"));var K=M(()=>u(ie)),Q=M(()=>{var G;return(G=u(s))==null?void 0:G.email});Mr(U,{onkeyup:h,compact:!0,get placeholder(){return u(K)},get hasError(){return u(Q)},get value(){return u(n)},set value(G){B(n,fe(G))}});var j=$(U,2),V=M(()=>!!u(m));Rc(j,{get isOpen(){return u(V)},children:(G,se)=>{Rt(G,{onclick:()=>{B(n,fe(u(m))),B(m,"")},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:(W,ce)=>{var xe=Oc(),Te=T(xe);Rt(Te,{class:"gap-2",children:(Se,Ze)=>{var $e=Ic(),Ke=T($e);Yt(Ke,{class:"text-primary text-xl",name:"info"});var rt=$(Ke,2),pt=L(rt),nt=$(pt),st=L(nt,!0);E(nt),De(),E(rt),I(_t=>{X(pt,`${_t??""} `),X(st,u(m))},[()=>e.t("did_you_mean")]),w(Se,$e)},$$slots:{default:!0}});var Oe=$(Te,2),Ye=L(Oe,!0);E(Oe),I(Se=>X(Ye,Se),[()=>e.t("click_to_update")]),w(W,xe)},$$slots:{default:!0}})},$$slots:{default:!0}});var te=$(j,2);const R=M(()=>e.t("country"));var le=M(()=>u(R));hc(te,{options:r,compact:!0,get placeholder(){return u(le)},get value(){return u(l)},set value(G){B(l,fe(G))}});var J=$(te,2);{var ue=G=>{const se=M(()=>e.t("phone_number"));var W=M(()=>u(se)),ce=M(()=>{var xe;return(xe=u(s))==null?void 0:xe.phoneNumber});Mr(G,{onkeyup:()=>B(s,void 0),compact:!0,get placeholder(){return u(W)},get hasError(){return u(ce)},get value(){return u(i)},set value(xe){B(i,fe(xe))}})};F(J,G=>{var se,W,ce;(ce=(W=(se=e.checkout)==null?void 0:se.fieldSettings)==null?void 0:W.phone)!=null&&ce.enabled&&G(ue)})}var de=$(J,2);{var be=G=>{var se=Dc(),W=T(se);const ce=M(()=>e.t("first_name"));var xe=M(()=>u(ce)),Te=M(()=>{var $e;return($e=u(s))==null?void 0:$e.firstName});Mr(W,{onkeyup:()=>B(s,void 0),compact:!0,get placeholder(){return u(xe)},get hasError(){return u(Te)},get value(){return u(o)},set value($e){B(o,fe($e))}});var Oe=$(W,2);const Ye=M(()=>e.t("last_name"));var Se=M(()=>u(Ye)),Ze=M(()=>{var $e;return($e=u(s))==null?void 0:$e.lastName});Mr(Oe,{onkeyup:()=>B(s,void 0),compact:!0,get placeholder(){return u(Se)},get hasError(){return u(Ze)},get value(){return u(a)},set value($e){B(a,fe($e))}}),w(G,se)};F(de,G=>{var se,W,ce;(ce=(W=(se=e.checkout)==null?void 0:se.fieldSettings)==null?void 0:W.name)!=null&&ce.enabled&&G(be)})}w(P,D)},$$slots:{default:!0}});var k=$(x,2);sr(k,23,()=>p,P=>`${P.provider}-${P.method}`,(P,A,D)=>{const U=M(()=>{const{provider:ie,method:K,icon:Q}=u(A);return{provider:ie,method:K,icon:Q}});ro(P,{children:(ie,K)=>{var Q=M(()=>!u(D)),j=M(()=>`${u(U).provider}-${u(U).method}`);no(ie,{get checked(){return u(Q)},get id(){return u(j)},name:"payment-method",onchange:()=>d(u(A)),children:(V,te)=>{var R=jc(),le=T(R);Rt(le,{class:"w-16 text-black dark:text-white",left:!0,children:(de,be)=>{const G=M(()=>b.includes(u(U).icon));var se=M(()=>u(G));Yt(de,{class:"text-3xl",get multiColor(){return u(se)},get name(){return u(U).icon}})},$$slots:{default:!0}});var J=$(le,2);{var ue=de=>{var be=Fc(),G=L(be);dn(G,{size:"sm",name:"visa"});var se=$(G,2);dn(se,{size:"sm",name:"amex"});var W=$(se,2);dn(W,{size:"sm",name:"mastercard"}),E(be),w(de,be)};F(J,de=>{u(U).method&&["CARD","GOOGLE-PAY","APPLE-PAY"].includes(u(U).method)&&de(ue)})}w(V,R)},$$slots:{default:!0}})},$$slots:{default:!0}})}),E(k);var z=$(k,2);fr(z,{get loading(){return u(c)},get disabled(){return u(c)},class:"mt-2 w-full shadow-md",type:"submit",children:(P,A)=>{De();var D=ht();I(U=>X(D,U),[()=>e.t("pay_now")]),w(P,D)},$$slots:{default:!0}}),E(y);var N=$(y,2);{var Z=P=>{We(P,{left:!0,children:(A,D)=>{var U=re(),ie=T(U);sr(ie,17,()=>Object.values(u(s)),nn,(K,Q)=>{const j=M(()=>e.t(u(Q)));var V=M(()=>u(j));za(K,{get text(){return u(V)}})}),w(A,U)},$$slots:{default:!0}})};F(N,P=>{u(s)&&P(Z)})}Un("submit",y,_),w(t,C),ge()}function Gc(t,e){me(e,!0);const r=async a=>{try{return await a.auth.isAuthenticated()}catch(i){console.error("Error checking login status:",i)}};var n=re(),o=T(n);kt(o,()=>r(e.api),null,(a,i)=>{var l=re(),c=T(l);{var s=f=>{var m=re(),g=T(m);Ht(g,()=>e.children),w(f,m)};F(c,f=>{u(i)||f(s)})}w(a,l)}),w(t,n),ge()}const Hc=t=>{const e=parseFloat(t);return isNaN(e)?0:e};var Vc=S("<div> </div> <sesamy-login></sesamy-login>",3),Wc=S('<!> <div class="w-full h-px from-transparent bg-gradient-to-r to-transparent via-primary opacity-30"></div>',1),Yc=S('<img class="h-7 mb-6">'),Zc=S('<form class="contents"><!> <!> <!></form>'),Kc=S("<!> ",1),Jc=S('<!> <div><!> <div class="text-2xl leading-tight @md:text-3xl font-bold max-w-[600px]"></div></div> <!> <!> <!> <div class="column gap-4 @md:row !justify-between w-full mt-4 @md:mt-8"><!> <!></div>',1),Xc=S('<div class="@container"><!></div>'),Qc=S("<!> <!>",1);function eu(t,e){var V,te;me(e,!0);let r=O(e,"horizontal",3,!1),n=it(e,["$$slots","$$events","$$legacy","api","t","horizontal","host","paywall"]),o=ke(void 0),a=ke(void 0),i=ke(!1),l=ke("");const c=n!=null&&n.price?Hc(n.price):(V=e.api.content.get(e.host))==null?void 0:V.price,s=(n==null?void 0:n["item-src"])||((te=e.api.content.get(e.host))==null?void 0:te.url),f=(n==null?void 0:n["redirect-url"])||window.location.href;let{subscriptions:m,singlePurchase:g,headline:v,currency:d,mainColor:h,showLoginButton:_,features:p,footerPaymentMethods:b,logoUrl:C,vendorId:y,settings:{useDefaultLogo:x,styling:k}}=e.paywall;const ee=async()=>{var le,J;if(r())return!1;const R=e!=null&&e.pass?e.pass.split(";"):(J=(le=e.api.content.get(e.host))==null?void 0:le.pass)==null?void 0:J.split(";");return e.api.entitlements.hasAccess(s||"",R)},z=async R=>{var J;if(B(l,""),R.preventDefault(),!u(o))return;B(i,!0);const le=(J=u(o))!=null&&J.url?{url:u(o).url}:{sku:u(o).sku,purchaseOptionId:u(o).poId};try{B(a,fe(await e.api.checkouts.create({vendorId:y,items:[le],discountCode:u(o).discountCode,redirectUrl:f,price:u(o).price,currency:d,attribution:{utmSource:n==null?void 0:n["utm-source"],utmMedium:n==null?void 0:n["utm-medium"],utmCampaign:n==null?void 0:n["utm-campaign"],utmTerm:n==null?void 0:n["utm-term"],utmContent:n==null?void 0:n["utm-content"],source:"PAYWALL",sourceId:e.paywall.id}}))),u(o).preferBusiness&&Ya(u(a),void 0,!0)}catch(ue){console.error(ue),B(l,fe(e.t("something_went_wrong"))),B(i,!1);return}},N=R=>{B(l,""),B(o,fe({...R,features:(R==null?void 0:R.features)||p}))},Z=m.length>0;if(Z){const R=m.find(({selected:le})=>le);R?N(R):(m[0].selected=!0,N(m[0]))}const P=(k==null?void 0:k.backgroundColor)||"#FFFFFF",A=(k==null?void 0:k.showBackground)&&Ta(P)[2]<50;let ie="<style>"+`
|
|
17
|
+
`+"</style>":"";var s=hs(),f=S(s);kt(f,()=>a,null,(v,d)=>{var g=te(),_=S(g);Se(_,e,"default",{get api(){return u(d)},t:i},null),b(v,g)},(v,d)=>{var g=ms(),_=T(g,!0);L(g),I(()=>Q(_,u(d).message)),b(v,g)});var m=A(f,2);nn(m,()=>c,!1,!1),b(t,s),he()}var gs=P('<span class="absolute left-[50%] -translate-x-[50%] top-[50%] -translate-y-[50%]"><svg 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-[--s-login-avatar-textcolor]"></path></svg></span>'),ps=P('<img class="w-full h-full object-cover group-hover:opacity-80 transition-opacity duration-100">'),_s=P('<span class="row absolute top-0 left-0 w-full h-full"> </span>'),ws=P("<span><!></span>");function sn(t,e){me(e,!1);let r=U(e,"src",12,""),n=U(e,"alt",12,"Avatar"),o=U(e,"size",12,"md"),a=U(e,"loading",12,!1);return va(),Tr(t,{children:(i,l)=>{var c=ws(),s=T(c);{var f=h=>{var v=gs(),d=T(v);L(v),I(g=>bl(d,$e(g)),[()=>ne("animate-spin",o()==="sm"&&"w-7 h-7",o()==="md"&&"w-10 h-10",o()==="lg"&&"w-14 h-14")],_r),b(h,v)},m=h=>{var v=te(),d=S(v);{var g=p=>{var w=ps();I(()=>{je(w,"src",r()),je(w,"alt",n())}),b(p,w)},_=p=>{var w=_s(),C=T(w,!0);L(w),I(x=>Q(C,x),[()=>n().charAt(0).toUpperCase()],_r),b(p,w)};D(d,p=>{r()?p(g):p(_,!1)},!0)}b(h,v)};D(s,h=>{a()?h(f):h(m,!1)})}L(c),I(h=>Pe(c,$e(h)),[()=>ne("relative block group rounded-full overflow-hidden border-2 border-[--s-login-avatar-bgcolor] bg-[--s-login-avatar-bgcolor] text-[--s-login-avatar-textcolor]",o()==="sm"&&"w-8 h-8",o()==="md"&&"w-12 h-12",o()==="lg"&&"w-16 h-16")],_r),b(i,c)},$$slots:{default:!0}}),he({get src(){return r()},set src(i){r(i),_e()},get alt(){return n()},set alt(i){n(i),_e()},get size(){return o()},set size(i){o(i),_e()},get loading(){return a()},set loading(i){a(i),_e()}})}customElements.define("sesamy-avatar",lr(sn,{src:{},alt:{},size:{},loading:{}},[],[],!0));function $a(t,e){me(e,!0);let r=at(e,["$$slots","$$events","$$legacy","href","onclick","class","disabled","part","children"]);var n=te(),o=S(n);hl(o,()=>e.href?"a":"button",!1,(a,i)=>{let l;I(f=>l=Vt(a,l,{role:e.href?"link":"button",class:f,tabindex:"0",href:e.href,onclick:e.onclick,part:e.part,disabled:e.disabled,...r},void 0,a.namespaceURI===mo,a.nodeName.includes("-")),[()=>ne("border-0 bg-none outline-none",e.class)]);var c=te(),s=S(c);Ht(s,()=>e.children),b(i,c)}),b(t,n),he()}var bs=P('<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>'),ys=P("<!> <!>",1);function Aa(t,e){me(e,!0);let r=U(e,"loading",3,!1),n=U(e,"variant",3,"primary"),o=U(e,"disabled",3,!1),a=U(e,"size",3,"md"),i=at(e,["$$slots","$$events","$$legacy","loading","variant","disabled","size","part","onclick","href","class"]);const l=M(()=>ne("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",a()=="sm"&&"px-3 py-1.5 text-sm",a()=="md"&&"px-4 py-2 text-base",a()=="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",o()&&"opacity-50 cursor-not-allowed",e.class));var c=M(()=>u(l));$a(t,Pr({get class(){return u(c)},get href(){return e.href},get onclick(){return e.onclick},get part(){return e.part},get disabled(){return o()}},()=>i,{children:(s,f)=>{var m=ys(),h=S(m);{var v=g=>{var _=bs();b(g,_)};D(h,g=>{r()&&g(v)})}var d=A(h,2);Se(d,e,"default",{},null),b(s,m)},$$slots:{default:!0}})),he()}var xs=(t,e)=>B(e,!u(e)),ks=(t,e,r)=>e(u(r)),Cs=P('<ul><li class="p-4 border-b border-gray-200 text-base"><span class="line-clamp-1 break-all"> </span></li> <li class="border-b border-gray-200 text-sm font-bold"><a class="block w-full text-left px-4 py-3 hover:bg-gray-100/50" target="_blank"> </a></li> <li class="text-sm font-bold"><button class="block w-full text-left px-4 py-3 hover:bg-gray-100/50"> </button></li></ul>'),Es=P('<div class="absolute top-full mt-1.5 right-0 bg-white text-black border border-gray-200 rounded-sm w-72" role="menu"><!></div>'),$s=P('<div class="relative"><button class="block" aria-haspopup="true"><!></button> <!></div>'),As=P("<!> <!> <!>",1);function Pa(t,e){me(e,!0);let r=U(e,"loading",7),n=U(e,"loggedIn",7),o=U(e,"userAvatar",7),a=U(e,"class",7,""),i=Ce(!1),l=Ce(!1),c=Ce(null),s=Ce(null);const f=async d=>{B(i,!0);try{await d.auth.loginWithRedirect()}catch(g){B(i,!1),console.error("Login failed:",g)}},m=async d=>{r(!0);try{await d.auth.logout(),n(!1)}catch(g){console.error("Logout failed:",g)}},h=async d=>{var g;try{n(await d.auth.isAuthenticated()),n()&&(B(c,de(await d.auth.getUser())),o(((g=u(c))==null?void 0:g.picture)||""),B(s,de(await d.generateLink({target:"account"}))))}catch(_){console.error("Error checking login status:",_)}},v=d=>{d.target!==e.$$host&&B(l,!1)};return document.addEventListener("pointerdown",v),Tr(t,{children:On,$$slots:{default:(d,g)=>{const _=M(()=>g.api),p=M(()=>g.t);var w=te(),C=S(w);kt(C,()=>h(u(_)),x=>{sn(x,{loading:!0,size:"sm"})},(x,k)=>{var y=te(),Z=S(y);{var z=K=>{var $=$s(),E=T($);E.__click=[xs,l];var O=T(E);Se(O,e,"avatar",{},J=>{sn(J,{get src(){return o()},get loading(){return r()},size:"sm"})}),L(E);var F=A(E,2);{var oe=J=>{var ee=Es(),j=T(ee);Se(j,e,"popup-menu",{},V=>{var re=Cs(),R=T(re),le=T(R),X=T(le,!0);L(le),L(R);var ue=A(R,2),fe=T(ue),be=T(fe,!0);L(fe),L(ue);var G=A(ue,2),se=T(G);se.__click=[ks,m,_];var Y=T(se,!0);L(se),L(G),L(re),I((ce,xe)=>{var Le;Q(X,(Le=u(c))==null?void 0:Le.email),je(fe,"href",u(s)),Q(be,ce),Q(Y,xe)},[()=>u(p)("my_account"),()=>u(p)("logout")]),b(V,re)}),L(ee),b(J,ee)};D(F,J=>{u(l)&&J(oe)})}L($),I(()=>{E.disabled=r(),je(E,"aria-expanded",u(l))}),b(K,$)},N=K=>{const $=M(()=>ne("font-bold row gap-1.5 text-[color:--s-login-button-color] border-[color:--s-login-button-color] border-[length:--s-login-button-border-width]",a()));var E=M(()=>u($));Aa(K,{get class(){return u(E)},variant:"secondary",get disabled(){return u(i)},onclick:()=>f(u(_)),size:"sm",children:(O,F)=>{var oe=As(),J=S(oe);Se(J,e,"button-text-prefix",{},null);var ee=A(J,2);Se(ee,e,"button-text",{},V=>{var re=gt();I(R=>Q(re,R),[()=>u(p)("login")]),b(V,re)});var j=A(ee,2);Se(j,e,"button-text-suffix",{},null),b(O,oe)},$$slots:{default:!0}})};D(Z,K=>{n()?K(z):K(N,!1)})}b(x,y)}),b(d,w)}}}),he({get loading(){return r()},set loading(d){r(d),_e()},get loggedIn(){return n()},set loggedIn(d){n(d),_e()},get userAvatar(){return o()},set userAvatar(d){o(d),_e()},get class(){return a()},set class(d=""){a(d),_e()}})}Qr(["click"]),customElements.define("sesamy-login",lr(Pa,{loading:{},loggedIn:{},userAvatar:{},class:{}},["avatar","popup-menu","button-text-prefix","button-text","button-text-suffix"],[],!0));var Ps=P("<div><!></div>");function Be(t,e){me(e,!0);let r=at(e,["$$slots","$$events","$$legacy","up","right","down","left","style","class","children"]);var n=Ps();let o;var a=T(n);Ht(a,()=>e.children),L(n),I(i=>o=Vt(n,o,{class:i,style:e.style,...r}),[()=>ne(!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)]),b(t,n),he()}const Ss={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},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 Ls=cl("<svg><!></svg>");function Yt(t,e){me(e,!0);let r=U(e,"multiColor",3,!1),n=U(e,"ratio",3,1),o=at(e,["$$slots","$$events","$$legacy","name","multiColor","ratio","class"]);const{elements:a,fills:i,strokes:l,viewBoxWidth:c,viewBoxHeight:s,widthRatio:f,heightRatio:m}=Ss[e.name];var h=Ls();let v;var d=T(h);nn(d,()=>a.join(""),!0,!1),L(h),I((g,_)=>v=Vt(h,v,{class:g,viewBox:c&&s?`0 0 ${c} ${s}`:void 0,width:`${n()*f}em`,height:`${n()*m}em`,style:_,...o},void 0,!0),[()=>ne(`icon-${e.name}`,e.class),()=>r()?[...i.map((g,_)=>g&&`--${e.name}-fill-color-${_}: ${g};`),...l.map((g,_)=>g&&`--${e.name}-stroke-color-${_}: ${g};`)].filter(Boolean).join(""):void 0]),b(t,h),he()}var Ts=P("<div><!></div>");function Rt(t,e){me(e,!0);let r=at(e,["$$slots","$$events","$$legacy","up","right","down","left","style","class","children"]);var n=Ts();let o;var a=T(n);Ht(a,()=>e.children),L(n),I(i=>o=Vt(n,o,{class:i,style:e.style,...r}),[()=>ne(!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)]),b(t,n),he()}function cn(t,e){me(e,!0);let r=U(e,"size",3,"md");const n=M(()=>ne("aspect-[4/3] px-1 rounded bg-white text-black 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"));var o=M(()=>u(n));Rt(t,{get class(){return u(o)},children:(a,i)=>{Yt(a,{get name(){return e.name},multiColor:!0})},$$slots:{default:!0}}),he()}var Ms=P('<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>'),zs=P("<!> <!>",1);function ur(t,e){me(e,!0);let r=U(e,"loading",7,!1),n=U(e,"variant",7,"primary"),o=U(e,"disabled",7,!1),a=U(e,"size",7,"md"),i=U(e,"part",7),l=U(e,"onclick",7),c=U(e,"href",7),s=U(e,"class",7);return Tr(t,{children:(f,m)=>{const h=M(()=>ne("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",a()=="sm"&&"px-3 py-1.5 text-sm",a()=="md"&&"px-4 py-2 text-base",a()=="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",o()&&"opacity-50 cursor-not-allowed",s()));var v=M(()=>u(h));$a(f,{get class(){return u(v)},get href(){return c()},get onclick(){return l()},get part(){return i()},get disabled(){return o()},children:(d,g)=>{var _=zs(),p=S(_);{var w=x=>{var k=Ms();b(x,k)};D(p,x=>{r()&&x(w)})}var C=A(p,2);Se(C,e,"default",{},null),b(d,_)},$$slots:{default:!0}})},$$slots:{default:!0}}),he({get loading(){return r()},set loading(f=!1){r(f),_e()},get variant(){return n()},set variant(f="primary"){n(f),_e()},get disabled(){return o()},set disabled(f=!1){o(f),_e()},get size(){return a()},set size(f="md"){a(f),_e()},get part(){return i()},set part(f){i(f),_e()},get onclick(){return l()},set onclick(f){l(f),_e()},get href(){return c()},set href(f){c(f),_e()},get class(){return s()},set class(f){s(f),_e()}})}customElements.define("sesamy-button",lr(ur,{loading:{},variant:{},disabled:{},size:{},part:{},onclick:{},href:{},class:{}},["default"],[],!0));function Rs(t){const e=t-1;return e*e*e+1}function Ns(t,{delay:e=0,duration:r=400,easing:n=Rs,axis:o="y"}={}){const a=getComputedStyle(t),i=+a.opacity,l=o==="y"?"height":"width",c=parseFloat(a[l]),s=o==="y"?["top","bottom"]:["left","right"],f=s.map(p=>`${p[0].toUpperCase()}${p.slice(1)}`),m=parseFloat(a[`padding${f[0]}`]),h=parseFloat(a[`padding${f[1]}`]),v=parseFloat(a[`margin${f[0]}`]),d=parseFloat(a[`margin${f[1]}`]),g=parseFloat(a[`border${f[0]}Width`]),_=parseFloat(a[`border${f[1]}Width`]);return{delay:e,duration:r,easing:n,css:p=>`overflow: hidden;opacity: ${Math.min(p*20,1)*i};${l}: ${p*c}px;padding-${s[0]}: ${p*m}px;padding-${s[1]}: ${p*h}px;margin-${s[0]}: ${p*v}px;margin-${s[1]}: ${p*d}px;border-${s[0]}-width: ${p*g}px;border-${s[1]}-width: ${p*_}px;min-${l}: 0`}}var Is=P('<li class="row-up-left gap-2"><!> <div> </div></li>'),Os=P("<ul></ul>");function Sa(t,e){me(e,!0);var r=Os();ir(r,21,()=>e.features,rn,(n,o)=>{var a=Is(),i=T(a);Yt(i,{class:"text-xs @md:text-sm text-primary mt-0.5 @md:mt-1",name:"checkmark"});var l=A(i,2),c=T(l,!0);L(l),L(a),I(s=>{Pe(l,$e(s)),Q(c,u(o))},[()=>ne("flex-1 leading-snug")]),El(3,a,()=>Ns),b(n,a)}),L(r),I(n=>Pe(r,$e(n)),[()=>ne("space-y-0.5 @md:space-y-1.5 text-sm @md:text-base",e.class)]),b(t,r),he()}const La=t=>{if(![4,7].includes(t.length))return[0,0,100];let e=0,r=0,n=0;t.length===4?(e=`0x${t[1]}${t[1]}`,r=`0x${t[2]}${t[2]}`,n=`0x${t[3]}${t[3]}`):t.length===7&&(e=`0x${t[1]}${t[2]}`,r=`0x${t[3]}${t[4]}`,n=`0x${t[5]}${t[6]}`),e/=255,r/=255,n/=255;const o=Math.min(e,r,n),a=Math.max(e,r,n),i=a-o;let l=0,c=0,s=0;return i===0?l=0:a===e?l=(r-n)/i%6:a===r?l=(n-e)/i+2:l=(e-r)/i+4,l=Math.round(l*60),l<0&&(l+=360),s=(a+o)/2,c=i===0?0:i/(1-Math.abs(2*s-1)),c=+(c*100).toFixed(1),s=+(s*100).toFixed(1),[l,c,s]};var Ds=P("<div><!></div>");function to(t,e){me(e,!0);let r=U(e,"horizontal",3,!1);var n=Ds(),o=T(n);Ht(o,()=>e.children),L(n),I(a=>Pe(n,$e(a)),[()=>ne("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)]),b(t,n),he()}var qs=P('<div><div><div class="absolute top-full left-1/2 -translate-x-1/2 w-4 h-4 bg-primary rotate-45 -translate-y-3.5 rounded-sm"></div> <div class="relative"> </div></div></div>');function Ta(t,e){me(e,!0);var r=qs(),n=T(r),o=A(T(n),2),a=T(o,!0);L(o),L(n),L(r),I((i,l)=>{Pe(r,$e(i)),Pe(n,$e(l)),Q(a,e.text)},[()=>ne("absolute top-2 -right-3 rotate-3",e.chunky&&"top-5"),()=>ne("absolute bg-primary bottom-0 rounded right-0 px-2 text-white text-xs py-1 font-bold whitespace-nowrap",e.chunky&&"px-3 text-sm @xl:text-base bottom-1")]),b(t,r),he()}var Fs=P(`<label><input type="radio" class="peer sr-only"> <div class="w-4 h-4 rounded-full transition-all bg-white dark:bg-black border border-[#E7E7EC] dark:border-gray-500 relative ring ring-transparent peer-focus-visible:ring-primary/20 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> <div><!></div></label>`);function ro(t,e){me(e,!0);let r=at(e,["$$slots","$$events","$$legacy","id","name","checked","children","onchange","class"]);var n=Fs();let o;var a=T(n);sa(a),a.__change=function(...c){var s;(s=e.onchange)==null||s.apply(this,c)};var i=A(a,4),l=T(i);Ht(l,()=>e.children),L(i),L(n),I(c=>{o=Vt(n,o,{class:"p-3 @3xl:p-4 row-left gap-4 w-full relative cursor-pointer",for:e.id,...r}),pl(a,e.checked),je(a,"name",e.name),je(a,"id",e.id),Pe(i,$e(c))},[()=>ne("column-up-left @md:row-left flex-1 !justify-between",e.class)]),b(t,n),he()}Qr(["change"]);var js=P(' <span class="text-xl @xl:text-2xl whitespace-nowrap"> </span>',1),Bs=P('<div class="leading-none"><span class="font-bold text-2xl @xl:text-4xl whitespace-nowrap"> </span> <!></div>'),Us=P('<!> <div class="relative leading-tight"><span> </span> <span> </span> <div></div></div>',1),Gs=P('<div class="text-sm text-gray-700 dark:text-gray-300"> </div>'),Hs=P('<div class="text-base @xl:text-lg font-bold leading-tight"> </div> <!> <!> <!>',1),Vs=P("<!> <!>",1),Ys=P("<!> <!>",1),Ws=P("<hr>"),Zs=P('<div class="leading-tight text-sm"> </div>'),Ks=P('<div class="text-base font-bold leading-tight"> </div> <!>',1),Js=P('<div class="text-base font-bold leading-none"> <!></div>'),Xs=P("<div> <!></div>"),Qs=P('<!> <div class="column-left @md:column-right"><!> <!></div> <!>',1),ec=P("<!> <!>",1);function tc(t,e){me(e,!0);let r=U(e,"horizontal",3,!1);const n=async i=>e.api.generateLink({target:"checkout",sku:i.sku,purchaseOptionId:i.poId,discountCode:i.discountCode,redirectUrl:e.redirectUrl,business:i.preferBusiness}),o=M(()=>ne(r()&&"@xl:grid-cols-3",r()&&e.subscriptions.length===4&&"@xl:grid-cols-2 @4xl:grid-cols-4",r()&&e.subscriptions.length===2&&"@xl:grid-cols-2",r()&&e.subscriptions.length===1&&"flex"));var a=M(()=>u(o));to(t,{get class(){return u(a)},get horizontal(){return r()},children:(i,l)=>{var c=te(),s=S(c);ir(s,17,()=>e.subscriptions,rn,(f,m,h)=>{var v=te();const d=M(()=>{const{id:w,title:C,description:x,price:k,periodText:y,features:Z,selected:z,tag:N,buttonText:K,url:$,discountPrice:E}=u(m);return{id:w,title:C,description:x,price:k,periodText:y,features:Z,selected:z,tag:N,buttonText:K,url:$,discountPrice:E}});var g=S(v);{var _=w=>{const C=M(()=>ne("border bg-white dark:bg-black/25 border-gray-300 rounded-lg relative",u(d).tag&&"border-primary mt-0 border-2"));var x=M(()=>u(C));Be(w,{get class(){return u(x)},children:(k,y)=>{var Z=Ys(),z=S(Z);{var N=$=>{Ta($,{get text(){return u(d).tag},get t(){return e.t},chunky:!0})};D(z,$=>{u(d).tag&&$(N)})}var K=A(z,2);Be(K,{class:"p-4 flex-1 gap-2 w-full !justify-between shadow-md",left:!0,up:!0,children:($,E)=>{var O=Vs(),F=S(O);Be(F,{class:"@xl:p-1",left:!0,children:(j,V)=>{var re=Hs(),R=S(re),le=T(R,!0);L(R);var X=A(R,2);{var ue=Y=>{Be(Y,{class:"mb-0 @xl:mb-4",left:!0,children:(ce,xe)=>{var Le=Us(),Te=S(Le);{var Ue=rt=>{var lt=Bs(),_t=T(lt),no=T(_t);L(_t);var gn=A(_t,2);{var oo=Rr=>{var Nr=js(),pn=S(Nr,!0);pn.nodeValue=" ";var Ir=A(pn),_n=T(Ir);L(Ir),I(()=>Q(_n,`/ ${u(d).periodText??""}`)),b(Rr,Nr)};D(gn,Rr=>{u(d).periodText&&Rr(oo)})}L(lt),I(()=>Q(no,`${u(d).discountPrice??""}
|
|
18
|
+
${e.currency??""}`)),b(rt,lt)};D(Te,rt=>{u(d).discountPrice&&rt(Ue)})}var Ee=A(Te,2),Ne=T(Ee),ke=T(Ne);L(Ne);var Ze=A(Ne,2),tt=T(Ze,!0);L(Ze);var pt=A(Ze,2);L(Ee),I((rt,lt,_t)=>{Pe(Ne,$e(rt)),Q(ke,`${u(d).price??""}
|
|
19
|
+
${e.currency??""}`),Pe(Ze,$e(lt)),Q(tt,u(d).periodText&&` / ${u(d).periodText}`),Pe(pt,$e(_t))},[()=>ne("font-bold text-2xl @xl:text-4xl",u(d).discountPrice&&"text-xl @xl:text-2xl text-gray-400"),()=>ne("text-xl @xl:text-2xl whitespace-nowrap",u(d).discountPrice&&"text-base @xl:text-lg text-gray-400"),()=>ne("hidden absolute top-1/2 left-0 right-0 h-px bg-gray-400",u(d).discountPrice&&"block")]),b(ce,Le)},$$slots:{default:!0}})};D(X,Y=>{typeof u(d).price=="number"&&Y(ue)})}var fe=A(X,2);{var be=Y=>{var ce=Gs(),xe=T(ce,!0);L(ce),I(()=>Q(xe,u(d).description)),b(Y,ce)};D(fe,Y=>{u(d).description&&(!u(d).features||u(d).features.length<1)&&Y(be)})}var G=A(fe,2);{var se=Y=>{Sa(Y,{get features(){return u(d).features}})};D(G,Y=>{u(d).features&&u(d).features.length>0&&Y(se)})}I(()=>Q(le,u(d).title)),b(j,re)},$$slots:{default:!0}});var oe=A(F,2);{var J=j=>{ur(j,{get href(){return u(d).url},class:"w-full mt-4",variant:"primary",children:(V,re)=>{ft();var R=gt();I(le=>Q(R,le),[()=>u(d).buttonText||e.t("continue")]),b(V,R)},$$slots:{default:!0}})},ee=j=>{var V=te(),re=S(V);kt(re,()=>n(u(m)),null,(R,le)=>{const X=M(()=>u(le).replace("poId","option"));var ue=M(()=>u(X));ur(R,{get href(){return u(ue)},class:"w-full mt-4",variant:"primary",children:(fe,be)=>{ft();var G=gt();I(se=>Q(G,se),[()=>u(d).buttonText||e.t("continue")]),b(fe,G)},$$slots:{default:!0}})}),b(j,V)};D(oe,j=>{u(d).url?j(J):j(ee,!1)})}b($,O)},$$slots:{default:!0}}),b(k,Z)},$$slots:{default:!0}})},p=w=>{var C=ec(),x=S(C);{var k=Z=>{var z=Ws();I(N=>Pe(z,$e(N)),[()=>ne("w-full border-gray-10 dark:border-gray-800")]),b(Z,z)};D(x,Z=>{h&&Z(k)})}var y=A(x,2);ro(y,{get id(){return u(d).id},class:"gap-2 @md:gap-4",name:"purchase-option",get checked(){return u(d).selected},onchange:()=>e.selectProduct(u(m)),children:(Z,z)=>{var N=Qs(),K=S(N);Be(K,{class:"flex-1",left:!0,children:(j,V)=>{var re=Ks(),R=S(re),le=T(R,!0);L(R);var X=A(R,2);{var ue=fe=>{var be=Zs(),G=T(be,!0);L(be),I(()=>Q(G,u(d).description)),b(fe,be)};D(X,fe=>{u(d).description&&fe(ue)})}I(()=>Q(le,u(d).title)),b(j,re)},$$slots:{default:!0}});var $=A(K,2),E=T($);{var O=j=>{var V=Js(),re=T(V),R=A(re);{var le=X=>{var ue=gt();I(()=>Q(ue,` / ${u(d).periodText??""}`)),b(X,ue)};D(R,X=>{u(d).periodText&&X(le)})}L(V),I(()=>Q(re,`${u(d).discountPrice??""}
|
|
20
|
+
${e.currency??""} `)),b(j,V)};D(E,j=>{u(d).discountPrice&&j(O)})}var F=A(E,2);{var oe=j=>{var V=Xs(),re=T(V),R=A(re);{var le=X=>{var ue=gt();I(()=>Q(ue,` / ${u(d).periodText??""}`)),b(X,ue)};D(R,X=>{u(d).periodText&&X(le)})}L(V),I(X=>{Pe(V,$e(X)),Q(re,`${u(d).price??""}
|
|
21
|
+
${e.currency??""} `)},[()=>ne("text-base font-bold leading-none",u(d).discountPrice&&"line-through text-gray-400 text-sm")]),b(j,V)};D(F,j=>{u(d).price&&j(oe)})}L($);var J=A($,2);{var ee=j=>{Ta(j,{get text(){return u(d).tag},get t(){return e.t}})};D(J,j=>{u(d).tag&&j(ee)})}b(Z,N)},$$slots:{default:!0}}),b(w,C)};D(g,w=>{r()?w(_):w(p,!1)})}b(f,v)}),b(i,c)},$$slots:{default:!0}}),he()}var rc=P('<div class="text-base font-bold leading-tight"></div> <div class="text-sm"></div>',1),nc=P('<!> <div class="text-base font-bold"></div>',1);function oc(t,e){const r=at(e,["$$slots","$$events","$$legacy"]);let{api:n,singlePurchase:o,selectProduct:a,hasSubscriptions:i,articleUrl:l,singlePurchasePrice:c,currency:s}=r,{title:f,description:m}=o;const h=()=>{a({...o,price:c,url:l})};l&&!i&&h();var v=te(),d=S(v);{var g=_=>{to(_,{children:(p,w)=>{ro(p,{id:"single-purchase",name:"purchase-option",class:"gap-2 @md:gap-4",checked:!i,onchange:h,children:(C,x)=>{var k=nc(),y=S(k);Be(y,{left:!0,children:(z,N)=>{var K=rc(),$=S(K);$.textContent=f;var E=A($,2);E.textContent=m,b(z,K)},$$slots:{default:!0}});var Z=A(y,2);Z.textContent=`${c??""} ${s??""}`,b(C,k)},$$slots:{default:!0}})},$$slots:{default:!0}})};D(d,_=>{l&&_(g)})}b(t,v)}function Ma(t,e){Rt(t,{class:"text-red-500 w-full",left:!0,children:(r,n)=>{ft();var o=gt();I(()=>Q(o,`• ${e.text??""}`)),b(r,o)},$$slots:{default:!0}})}const ac=["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"];function ic(t,e="en"){return new Intl.DisplayNames(e,{type:"region"}).of(t.toUpperCase())}function lc(){return ac}function sc(t="en"){return lc().map(e=>({value:e,label:ic(e,t)||""})).sort((e,r)=>e.label<r.label?-1:e.label>r.label?1:0)}var cc=P("<div> </div>"),uc=P("<label><input> <!></label>");function Mr(t,e){me(e,!0);let r=U(e,"value",15),n=U(e,"hasError",3,!1),o=U(e,"placeholder",3,""),a=U(e,"compact",3,!1),i=U(e,"class",3,""),l=at(e,["$$slots","$$events","$$legacy","value","error","hasError","placeholder","compact","class"]);var c=uc(),s=T(c);sa(s);let f;var m=A(s,2);{var h=v=>{var d=cc(),g=T(d,!0);L(d),I(_=>{Pe(d,$e(_)),Q(g,o())},[()=>ne("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-visible:-translate-y-[calc(50%+theme(space.3))] peer-focus:text-xs",!!r()&&"-translate-y-[calc(50%+theme(space.3))] text-xs sm:text-xs")]),b(v,d)};D(m,v=>{a()&&v(h)})}L(c),I((v,d)=>{Pe(c,$e(v)),f=Vt(s,f,{...l,class:d,placeholder:o()})},[()=>ne("relative w-full column-left",(n()||!!e.error)&&"z-20"),()=>ne("relative peer w-full 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",(n()||!!e.error)&&"!border-red-500 z-10",a()&&"pb-2 pt-6 placeholder:text-transparent",String(i()))]),$l(s,r),b(t,c),he()}var dc=P("<div><!></div>");function fc(t,e){me(e,!0);var r=dc(),n=T(r);Ht(n,()=>e.children),L(r),I(o=>Pe(r,$e(o)),[()=>ne("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)]),b(t,r),he()}var vc=P("<option> </option>"),mc=P("<div> </div>"),hc=P('<label class="relative w-full gap-2 column-left"><select></select> <!> <!></label>');function gc(t,e){me(e,!0);let r=U(e,"value",15),n=U(e,"class",3,""),o=U(e,"hasError",3,!1),a=U(e,"placeholder",3,""),i=U(e,"compact",3,!1),l=at(e,["$$slots","$$events","$$legacy","value","class","hasError","options","placeholder","compact"]);var c=hc(),s=T(c);let f;ir(s,21,()=>e.options,({value:g,label:_})=>g,(g,_)=>{let p=()=>u(_).value,w=()=>u(_).label;var C=vc(),x={},k=T(C,!0);L(C),I(()=>{x!==(x=p())&&(C.value=(C.__value=p())==null?"":p()),Q(k,w())}),b(g,C)}),L(s);var h=A(s,2);{var v=g=>{var _=mc(),p=T(_,!0);L(_),I(w=>{Pe(_,$e(w)),Q(p,a())},[()=>ne("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")]),b(g,_)};D(h,g=>{i()&&g(v)})}var d=A(h,2);Yt(d,{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"}),L(c),I(g=>f=Vt(s,f,{class:g,...l}),[()=>ne("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",o()&&"!border-red-500 z-10",i()&&"pb-2 pt-6 placeholder:text-transparent",String(n()))]),Pl(s,r),b(t,c),he()}function pc(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 _c=()=>/Chrome/.test(navigator==null?void 0:navigator.userAgent)&&!/Edge|OPR/.test(navigator==null?void 0:navigator.userAgent),wc=()=>window==null?void 0:window.ApplePaySession;function bc(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var zr={},dr={},fr={},un={},za;function yc(){if(za)return un;za=1,Object.defineProperty(un,"__esModule",{value:!0});function t(e,r){if(!e)throw new Error(r)}return un.default=t,un}var Ra;function xc(){if(Ra)return fr;Ra=1;var t=fr&&fr.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(fr,"__esModule",{value:!0});const e=t(yc());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 fr.default=r,fr}var vr={},dn={},Na;function kc(){if(Na)return dn;Na=1,Object.defineProperty(dn,"__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 dn.default=t,dn}var fn={},Ia;function Cc(){if(Ia)return fn;Ia=1,Object.defineProperty(fn,"__esModule",{value:!0});function t(e){const{domain:r,domains:n,distanceFunction:o,threshold:a}=e;let i,l=1/0,c=null;if(!(!r||!n)){for(let s=0;s<n.length;s++){if(r===n[s])return r;i=o(r,n[s]),i<l&&(l=i,c=n[s])}if(l<=a&&c!==null)return c}}return fn.default=t,fn}var mr={},vn={},Oa;function Ec(){if(Oa)return vn;Oa=1,Object.defineProperty(vn,"__esModule",{value:!0});const t=/\s/;function e(o){return o.trim?o.trim():n(r(o))}function r(o){return o.trimLeft?o.trimLeft():o.replace(/^\s\s*/,"")}function n(o){if(o.trimRight)return o.trimRight();let a=o.length;for(;t.test(o.charAt(--a)););return o.slice(0,a+1)}return vn.default=e,vn}var Da;function $c(){if(Da)return mr;Da=1;var t=mr&&mr.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(mr,"__esModule",{value:!0});const e=t(Ec()),r=2;function n(o){const i=e.default(o).split("@");if(i.length<r)return!1;for(let m=0;m<i.length;m++)if(i[m]==="")return!1;let l="",c="";const s=i.pop(),f=s.split(".");if(f.length===0)return!1;if(f.length==1)c=f[0];else{l=f[0];for(let m=1;m<f.length;m++)c+=f[m]+".";c=c.substring(0,c.length-1)}return{topLevelDomain:c,secondLevelDomain:l,domain:s,address:i.join("@")}}return mr.default=n,mr}var qa;function Ac(){if(qa)return vr;qa=1;var t=vr&&vr.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(vr,"__esModule",{value:!0});const e=t(kc()),r=t(Cc()),n=t($c());function o(a){const i=e.default(a.email.toLowerCase()),l=n.default(i);if(!l)return;const{domains:c,domainThreshold:s,distanceFunction:f,secondLevelDomains:m,topLevelDomains:h}=a;if(m&&h&&m.indexOf(l.secondLevelDomain)!==-1&&h.indexOf(l.topLevelDomain)!==-1)return;let v=r.default({domain:l.domain,domains:c,distanceFunction:f,threshold:s});if(v)return v==l.domain?void 0:{address:l.address,domain:v,full:l.address+"@"+v};const d=r.default({domain:l.secondLevelDomain,domains:m,distanceFunction:f,threshold:a.secondLevelThreshold}),g=r.default({domain:l.topLevelDomain,domains:h,distanceFunction:f,threshold:a.topLevelThreshold});if(l.domain){v=l.domain;let _=!1;if(d&&d!=l.secondLevelDomain&&(v=v.replace(l.secondLevelDomain,d),_=!0),g&&g!=l.topLevelDomain&&l.secondLevelDomain!==""&&(v=v.replace(new RegExp(l.topLevelDomain+"$"),g),_=!0),_)return{address:l.address,domain:v,full:l.address+"@"+v}}}return vr.default=o,vr}var mn={},it={},hn={},Fa;function Pc(){if(Fa)return hn;Fa=1,Object.defineProperty(hn,"__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,o=0,a=0,i=0;const l=5;for(;n+o<e.length&&n+a<r.length;){if(e.charAt(n+o)==r.charAt(n+a))i++;else{o=0,a=0;for(let c=0;c<l;c++){if(n+c<e.length&&e.charAt(n+c)==r.charAt(n)){o=c;break}if(n+c<r.length&&e.charAt(n)==r.charAt(n+c)){a=c;break}}}n++}return(e.length+r.length)/2-i}return hn.default=t,hn}var ja;function Ba(){if(ja)return it;ja=1;var t=it&&it.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(it,"__esModule",{value:!0}),it.POPULAR_TLDS=it.POPULAR_DOMAINS=it.DEFAULT_CONFIG=void 0;const e=t(Pc()),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"];it.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"];it.POPULAR_TLDS=n;const o={domainThreshold:2,domains:r,secondLevelThreshold:2,secondLevelDomains:["yahoo","hotmail","mail","live","outlook"],topLevelThreshold:2,topLevelDomains:n,distanceFunction:e.default};return it.DEFAULT_CONFIG=o,it}var Ua;function Sc(){if(Ua)return mn;Ua=1,Object.defineProperty(mn,"__esModule",{value:!0});const t=Ba();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 mn.default=e,mn}var Ga;function Lc(){if(Ga)return dr;Ga=1;var t=dr&&dr.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(dr,"__esModule",{value:!0});const e=t(xc()),r=t(Ac()),n=t(Sc());function o(a){const i=n.default(a);e.default(i||{});const l=r.default(i);return!l&&a.empty&&a.empty(),l&&a.suggested&&a.suggested(l),l}return dr.default=o,dr}var Ha;function Tc(){return Ha||(Ha=1,function(t){var e=zr&&zr.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(t,"__esModule",{value:!0}),t.POPULAR_TLDS=t.POPULAR_DOMAINS=t.run=void 0;const r=e(Lc());t.run=r.default;const n=Ba();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 o={run:r.default,POPULAR_DOMAINS:n.POPULAR_DOMAINS,POPULAR_TLDS:n.POPULAR_TLDS};t.default=o}(zr)),zr}var Mc=Tc();const Va=bc(Mc);var zc=P('<div><div class="overflow-hidden"><!></div></div>');function Rc(t,e){me(e,!0);let r=U(e,"isOpen",3,!1);var n=zc(),o=T(n),a=T(o);Se(a,e,"default",{},null),L(o),L(n),I(i=>Pe(n,$e(i)),[()=>ne("grid transition-[grid-template-rows] duration-200 ease-out grid-rows-[0fr]",r()&&"grid-rows-[1fr]")]),b(t,n),he()}const Nc="https://checkout3.sesamy.com",Ya=async(t,e,r)=>{const n=new URL(Nc);n.pathname=t.id,n.searchParams.set("norecreate","true"),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 Ic=P('<!> <div> <span class="text-primary"> </span>?</div>',1),Oc=P('<!> <div class="text-center whitespace-nowrap"> </div>',1),Dc=P("<!> <!>",1),qc=P("<!> <!> <!> <!> <!>",1),Fc=P('<div class="gap-1 hidden @xl:row-left"><!> <!> <!></div>'),jc=P("<!> <!>",1),Bc=P('<form class="contents"><!> <div class="grid grid-cols-2 w-full gap-2 auto-rows-fr"></div> <!></form> <!>',1);function Uc(t,e){me(e,!0);const r=sc(e.checkout.language);let n=Ce(""),o=Ce(""),a=Ce(""),i=Ce(""),l=Ce(de(e.checkout.country||"SE")),c=Ce(!1),s=Ce(void 0),f=Ce(void 0),m=Ce(""),h;const v=()=>{var E,O,F,oe,J,ee,j,V,re,R,le,X,ue,fe,be,G,se,Y;const $=[];pc(u(n))||$.push(["email","invalid_email"]),(F=(O=(E=e.checkout)==null?void 0:E.fieldSettings)==null?void 0:O.phone)!=null&&F.enabled&&((ee=(J=(oe=e.checkout)==null?void 0:oe.fieldSettings)==null?void 0:J.phone)!=null&&ee.required)&&!u(i)&&$.push(["phoneNumber","phone_number_required"]),(re=(V=(j=e.checkout)==null?void 0:j.fieldSettings)==null?void 0:V.name)!=null&&re.enabled&&((X=(le=(R=e.checkout)==null?void 0:R.fieldSettings)==null?void 0:le.name)!=null&&X.required)&&!u(o)&&$.push(["firstName","first_name_required"]),(be=(fe=(ue=e.checkout)==null?void 0:ue.fieldSettings)==null?void 0:fe.name)!=null&&be.enabled&&((Y=(se=(G=e.checkout)==null?void 0:G.fieldSettings)==null?void 0:se.name)!=null&&Y.required)&&!u(a)&&$.push(["lastName","last_name_required"]),B(s,de($.length?$.reduce((ce,[xe,Le])=>({...ce,[xe]:Le}),{}):void 0))},d=$=>B(f,de($)),g=()=>{B(s,void 0),clearTimeout(h),h=setTimeout(()=>{var $;B(m,de((($=Va.run({email:u(n)}))==null?void 0:$.full)||""))},400)},_=async $=>{var E;if($.preventDefault(),v(),!u(s)&&u(f)){B(c,!0);try{const O=["GOOGLE-PAY","APPLE-PAY"].includes(u(f).method);await e.api.checkouts.update(e.checkout.id,{paymentData:{provider:u(f).provider,method:O?"CARD":u(f).method},email:u(n)}),Ya(e.checkout,u(f));return}catch(O){(E=O==null?void 0:O.message)!=null&&E.includes("User already owns item")?B(s,de({general:"user_already_owns_item"})):(console.error(O),B(s,de({general:"something_went_wrong"}))),B(c,!1);return}}},p=e.checkout.availablePaymentMethods.filter(({provider:$})=>!["DUMMY","SESAMY","BILLOGRAM"].includes($)).reduce(($,{provider:E,methods:O})=>[...$,...O!=null&&O.length?O.map(F=>({provider:E,method:F,icon:F.toLocaleLowerCase()})):[]],[]),w=["vipps","google-pay"];_c()&&p.push({provider:"STRIPE",method:"GOOGLE-PAY",icon:"google-pay"}),wc()&&p.push({provider:"STRIPE",method:"APPLE-PAY",icon:"apple-pay"}),p.length&&d(p[0]);var C=Bc(),x=S(C),k=T(x);fc(k,{children:($,E)=>{var O=qc(),F=S(O);const oe=M(()=>e.t("email"));var J=M(()=>u(oe)),ee=M(()=>{var G;return(G=u(s))==null?void 0:G.email});Mr(F,{onkeyup:g,compact:!0,get placeholder(){return u(J)},get hasError(){return u(ee)},get value(){return u(n)},set value(G){B(n,de(G))}});var j=A(F,2),V=M(()=>!!u(m));Rc(j,{get isOpen(){return u(V)},children:(G,se)=>{Rt(G,{onclick:()=>{B(n,de(u(m))),B(m,"")},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:(Y,ce)=>{var xe=Oc(),Le=S(xe);Rt(Le,{class:"gap-2",children:(Ee,Ne)=>{var ke=Ic(),Ze=S(ke);Yt(Ze,{class:"text-primary text-xl",name:"info"});var tt=A(Ze,2),pt=T(tt),rt=A(pt),lt=T(rt,!0);L(rt),ft(),L(tt),I(_t=>{Q(pt,`${_t??""} `),Q(lt,u(m))},[()=>e.t("did_you_mean")]),b(Ee,ke)},$$slots:{default:!0}});var Te=A(Le,2),Ue=T(Te,!0);L(Te),I(Ee=>Q(Ue,Ee),[()=>e.t("click_to_update")]),b(Y,xe)},$$slots:{default:!0}})},$$slots:{default:!0}});var re=A(j,2);const R=M(()=>e.t("country"));var le=M(()=>u(R));gc(re,{options:r,compact:!0,get placeholder(){return u(le)},get value(){return u(l)},set value(G){B(l,de(G))}});var X=A(re,2);{var ue=G=>{const se=M(()=>e.t("phone_number"));var Y=M(()=>u(se)),ce=M(()=>{var xe;return(xe=u(s))==null?void 0:xe.phoneNumber});Mr(G,{onkeyup:()=>B(s,void 0),compact:!0,get placeholder(){return u(Y)},get hasError(){return u(ce)},get value(){return u(i)},set value(xe){B(i,de(xe))}})};D(X,G=>{var se,Y,ce;(ce=(Y=(se=e.checkout)==null?void 0:se.fieldSettings)==null?void 0:Y.phone)!=null&&ce.enabled&&G(ue)})}var fe=A(X,2);{var be=G=>{var se=Dc(),Y=S(se);const ce=M(()=>e.t("first_name"));var xe=M(()=>u(ce)),Le=M(()=>{var ke;return(ke=u(s))==null?void 0:ke.firstName});Mr(Y,{onkeyup:()=>B(s,void 0),compact:!0,get placeholder(){return u(xe)},get hasError(){return u(Le)},get value(){return u(o)},set value(ke){B(o,de(ke))}});var Te=A(Y,2);const Ue=M(()=>e.t("last_name"));var Ee=M(()=>u(Ue)),Ne=M(()=>{var ke;return(ke=u(s))==null?void 0:ke.lastName});Mr(Te,{onkeyup:()=>B(s,void 0),compact:!0,get placeholder(){return u(Ee)},get hasError(){return u(Ne)},get value(){return u(a)},set value(ke){B(a,de(ke))}}),b(G,se)};D(fe,G=>{var se,Y,ce;(ce=(Y=(se=e.checkout)==null?void 0:se.fieldSettings)==null?void 0:Y.name)!=null&&ce.enabled&&G(be)})}b($,O)},$$slots:{default:!0}});var y=A(k,2);ir(y,23,()=>p,$=>`${$.provider}-${$.method}`,($,E,O)=>{const F=M(()=>{const{provider:oe,method:J,icon:ee}=u(E);return{provider:oe,method:J,icon:ee}});to($,{children:(oe,J)=>{var ee=M(()=>!u(O)),j=M(()=>`${u(F).provider}-${u(F).method}`);ro(oe,{get checked(){return u(ee)},get id(){return u(j)},name:"payment-method",onchange:()=>d(u(E)),children:(V,re)=>{var R=jc(),le=S(R);Rt(le,{class:"w-16 text-black dark:text-white",left:!0,children:(fe,be)=>{const G=M(()=>w.includes(u(F).icon));var se=M(()=>u(G));Yt(fe,{class:"text-3xl",get multiColor(){return u(se)},get name(){return u(F).icon}})},$$slots:{default:!0}});var X=A(le,2);{var ue=fe=>{var be=Fc(),G=T(be);cn(G,{size:"sm",name:"visa"});var se=A(G,2);cn(se,{size:"sm",name:"amex"});var Y=A(se,2);cn(Y,{size:"sm",name:"mastercard"}),L(be),b(fe,be)};D(X,fe=>{u(F).method&&["CARD","GOOGLE-PAY","APPLE-PAY"].includes(u(F).method)&&fe(ue)})}b(V,R)},$$slots:{default:!0}})},$$slots:{default:!0}})}),L(y);var z=A(y,2);ur(z,{get loading(){return u(c)},get disabled(){return u(c)},class:"mt-2 w-full shadow-md",type:"submit",children:($,E)=>{ft();var O=gt();I(F=>Q(O,F),[()=>e.t("pay_now")]),b($,O)},$$slots:{default:!0}}),L(x);var N=A(x,2);{var K=$=>{Be($,{left:!0,children:(E,O)=>{var F=te(),oe=S(F);ir(oe,17,()=>Object.values(u(s)),rn,(J,ee)=>{const j=M(()=>e.t(u(ee)));var V=M(()=>u(j));Ma(J,{get text(){return u(V)}})}),b(E,F)},$$slots:{default:!0}})};D(N,$=>{u(s)&&$(K)})}Bn("submit",x,_),b(t,C),he()}function Gc(t,e){me(e,!0);const r=async a=>{try{return await a.auth.isAuthenticated()}catch(i){console.error("Error checking login status:",i)}};var n=te(),o=S(n);kt(o,()=>r(e.api),null,(a,i)=>{var l=te(),c=S(l);{var s=f=>{var m=te(),h=S(m);Ht(h,()=>e.children),b(f,m)};D(c,f=>{u(i)||f(s)})}b(a,l)}),b(t,n),he()}const Hc=t=>{const e=parseFloat(t);return isNaN(e)?0:e};var Vc=P("<div> </div> <sesamy-login></sesamy-login>",3),Yc=P('<!> <div class="w-full h-px from-transparent bg-gradient-to-r to-transparent via-primary opacity-30"></div>',1),Wc=P('<img class="h-7 mb-6">'),Zc=P('<form class="contents"><!> <!> <!></form>'),Kc=P("<!> ",1),Jc=P('<!> <div><!> <div class="text-2xl leading-tight @md:text-3xl font-bold max-w-[600px]"></div></div> <!> <!> <!> <div class="column gap-4 @md:row !justify-between w-full mt-4 @md:mt-8"><!> <!></div>',1),Xc=P('<div class="@container"><!></div>'),Qc=P("<!> <!>",1);function Wa(t,e){var V,re;me(e,!0);let r=U(e,"horizontal",3,!1),n=at(e,["$$slots","$$events","$$legacy","api","t","horizontal","host","paywall"]),o=Ce(void 0),a=Ce(void 0),i=Ce(!1),l=Ce("");const c=n!=null&&n.price?Hc(n.price):(V=e.api.content.get(e.host))==null?void 0:V.price,s=(n==null?void 0:n["item-src"])||((re=e.api.content.get(e.host))==null?void 0:re.url),f=(n==null?void 0:n["redirect-url"])||window.location.href;let{subscriptions:m,singlePurchase:h,headline:v,currency:d,mainColor:g,showLoginButton:_,features:p,footerPaymentMethods:w,logoUrl:C,vendorId:x,settings:{useDefaultLogo:k,styling:y}}=e.paywall;const Z=async()=>{var le,X;if(r())return!1;const R=e!=null&&e.pass?e.pass.split(";"):(X=(le=e.api.content.get(e.host))==null?void 0:le.pass)==null?void 0:X.split(";");return e.api.entitlements.hasAccess(s||"",R)},z=async R=>{var X;if(B(l,""),R.preventDefault(),!u(o))return;B(i,!0);const le=(X=u(o))!=null&&X.url?{url:u(o).url}:{sku:u(o).sku,purchaseOptionId:u(o).poId};try{B(a,de(await e.api.checkouts.create({vendorId:x,items:[le],discountCode:u(o).discountCode,redirectUrl:f,price:u(o).price,currency:d,attribution:{utmSource:n==null?void 0:n["utm-source"],utmMedium:n==null?void 0:n["utm-medium"],utmCampaign:n==null?void 0:n["utm-campaign"],utmTerm:n==null?void 0:n["utm-term"],utmContent:n==null?void 0:n["utm-content"],source:"PAYWALL",sourceId:e.paywall.id}}))),u(o).preferBusiness&&Ya(u(a),void 0,!0)}catch(ue){console.error(ue),B(l,de(e.t("something_went_wrong"))),B(i,!1);return}},N=R=>{B(l,""),B(o,de({...R,features:(R==null?void 0:R.features)||p}))},K=m.length>0;if(K){const R=m.find(({selected:le})=>le);R?N(R):(m[0].selected=!0,N(m[0]))}const $=(y==null?void 0:y.backgroundColor)||"#FFFFFF",E=(y==null?void 0:y.showBackground)&&La($)[2]<50;let oe="<style>"+`
|
|
22
22
|
:host * {
|
|
23
|
-
--s-primary-color: var(--sesamy-paywall-primary-color, ${
|
|
24
|
-
--s-paywall-bg-color: var(--sesamy-paywall-bg-color, ${
|
|
25
|
-
--s-paywall-text-color: var(--sesamy-paywall-text-color, ${
|
|
23
|
+
--s-primary-color: var(--sesamy-paywall-primary-color, ${g});
|
|
24
|
+
--s-paywall-bg-color: var(--sesamy-paywall-bg-color, ${$});
|
|
25
|
+
--s-paywall-text-color: var(--sesamy-paywall-text-color, ${E?"#FFFFFF":"#000000"});
|
|
26
26
|
--s-paywall-border-radius: var(--sesamy-paywall-border-radius, 0.5rem);
|
|
27
27
|
--s-paywall-border-radius-desktop: var(--sesamy-paywall-border-radius-desktop, calc(var(--s-paywall-border-radius) * 3));
|
|
28
28
|
}
|
|
29
|
-
`+"</style>";var
|
|
29
|
+
`+"</style>";var J=Qc(),ee=S(J);kt(ee,Z,null,(R,le)=>{var X=te(),ue=S(X);{var fe=be=>{var G=Xc(),se=T(G);const Y=M(()=>ne("w-full py-4 @md:py-6 rounded-[var(--s-paywall-border-radius)] @xl:rounded-[var(--s-paywall-border-radius-desktop)]",(y==null?void 0:y.showBackground)&&"bg-[var(--s-paywall-bg-color)] text-[var(--s-paywall-text-color)]",(y==null?void 0:y.showBackground)&&(y==null?void 0:y.dropShadow)&&"shadow-md @xl:shadow-lg",E&&"dark"));var ce=M(()=>u(Y));Be(se,{get class(){return u(ce)},children:(xe,Le)=>{const Te=M(()=>ne("gap-2 @md:gap-4 pt-0 w-full",(y==null?void 0:y.showBackground)&&"px-2 pb-6 @xs:px-8 @md:pb-8 @3xl:px-16",r()&&(y==null?void 0:y.showBackground)&&"px-6 pb-4",!r()&&"max-w-[800px]"));var Ue=M(()=>u(Te));Be(xe,{get class(){return u(Ue)},up:!0,left:!0,children:(Ee,Ne)=>{var ke=Jc(),Ze=S(ke);Gc(Ze,{get api(){return e.api},children:(pe,Ge)=>{var Ke=te(),Nt=S(Ke);{var It=At=>{var wn=Yc(),ao=S(wn);Rt(ao,{class:"text-sm gap-1 font-bold w-full",children:(Je,io)=>{var bn=Vc(),Or=S(bn),lo=T(Or,!0);L(Or);var Ot=A(Or,2);wl(Ot,"class","p-0 border-none enabled:hover:bg-transparent hover:underline text-primary font-bold"),I(Dt=>Q(lo,Dt),[()=>e.t("already_subscribing")]),b(Je,bn)},$$slots:{default:!0}}),ft(2),b(At,wn)};D(Nt,At=>{_&&!r()&&At(It)})}b(pe,Ke)},$$slots:{default:!0}});var tt=A(Ze,2),pt=T(tt);{var rt=pe=>{var Ge=Wc();je(Ge,"src",C),I(Ke=>je(Ge,"alt",Ke),[()=>`${e.t("logo_of")} ${x}`]),b(pe,Ge)};D(pt,pe=>{k&&pe(rt)})}var lt=A(pt,2);lt.textContent=v,L(tt);var _t=A(tt,2);{var no=pe=>{Sa(pe,{get features(){return u(o).features},class:"font-bold mb-2"})};D(_t,pe=>{u(o)&&!r()&&pe(no)})}var gn=A(_t,2);{var oo=pe=>{Uc(pe,{get api(){return e.api},get checkout(){return u(a)},get t(){return e.t}})},Rr=pe=>{var Ge=Zc(),Ke=T(Ge);{var Nt=Je=>{tc(Je,{get api(){return e.api},get horizontal(){return r()},subscriptions:m,get t(){return e.t},currency:d,selectProduct:N,redirectUrl:f})};D(Ke,Je=>{m.length&&Je(Nt)})}var It=A(Ke,2);{var At=Je=>{oc(Je,Pr({get api(){return e.api},singlePurchase:h,currency:d,singlePurchasePrice:c,articleUrl:s,get t(){return e.t},selectProduct:N,hasSubscriptions:K},()=>n))};D(It,Je=>{!r()&&(h!=null&&h.enabled)&&c&&s&&Je(At)})}var wn=A(It,2);{var ao=Je=>{var io=te(),bn=S(io);{var Or=Ot=>{ur(Ot,{get href(){return u(o).url},class:"mt-2 w-full shadow-md",children:(Dt,du)=>{ft();var Dr=gt();I(so=>Q(Dr,so),[()=>e.t("continue")]),b(Dt,Dr)},$$slots:{default:!0}})},lo=Ot=>{ur(Ot,{get loading(){return u(i)},get disabled(){return u(i)},class:"mt-2 w-full shadow-md",type:"submit",children:(Dt,du)=>{ft();var Dr=gt();I(so=>Q(Dr,so),[()=>e.t("continue")]),b(Dt,Dr)},$$slots:{default:!0}})};D(bn,Ot=>{var Dt;(Dt=u(o))!=null&&Dt.url?Ot(Or):Ot(lo,!1)})}b(Je,io)};D(wn,Je=>{r()||Je(ao)})}L(Ge),Bn("submit",Ge,z),b(pe,Ge)};D(gn,pe=>{var Ge;u(a)&&!((Ge=u(o))!=null&&Ge.preferBusiness)?pe(oo):pe(Rr,!1)})}var Nr=A(gn,2);{var pn=pe=>{Ma(pe,{get text(){return u(l)}})};D(Nr,pe=>{u(l)&&pe(pn)})}var Ir=A(Nr,2),_n=T(Ir);Rt(_n,{class:"gap-2 text-[#5F6D85] dark:text-gray-400 text-xs",children:(pe,Ge)=>{var Ke=Kc(),Nt=S(Ke);Yt(Nt,{name:"lock"});var It=A(Nt,1,!0);I(At=>Q(It,At),[()=>e.t("secure_payment")]),b(pe,Ke)},$$slots:{default:!0}});var uu=A(_n,2);Rt(uu,{class:"gap-2",children:(pe,Ge)=>{var Ke=te(),Nt=S(Ke);ir(Nt,17,()=>w,rn,(It,At)=>{cn(It,{get name(){return u(At)}})}),b(pe,Ke)},$$slots:{default:!0}}),L(Ir),I(pe=>Pe(tt,$e(pe)),[()=>ne("w-full pt-2 @md:pt-4",r()&&"column text-center mb-6")]),b(Ee,ke)},$$slots:{default:!0}})},$$slots:{default:!0}}),L(G),b(be,G)};D(ue,be=>{u(le)||be(fe)})}b(R,X)});var j=A(ee,2);nn(j,()=>oe,!1,!1),b(t,J),he()}var eu=P('<img class="h-7">'),tu=P('<div class="w-full text-2xl @md:text-3xl leading-tight font-bold"></div> <!>',1),ru=P("<!> <!>",1),nu=(t,e,r)=>{B(e,de(u(r))),B(r,"")},ou=P('<button type="button" class="text-sm gap-1 row"><!> <span> <span class="text-primary"> </span>?</span></button>'),au=P("<!> <!>",1),iu=P("<!> <!> <!>",1),lu=P('<div class="@container"><form><!></form></div> <!>',1);function su(t,e){me(e,!0);let{headline:r,mainColor:n,logoUrl:o,vendorId:a,settings:{useDefaultLogo:i,styling:l}}=e.paywall,c,s=Ce(""),f=Ce("");const m=(l==null?void 0:l.backgroundColor)||"#FFFFFF",h=(l==null?void 0:l.showBackground)&&La(m)[2]<50;let g="<style>"+`
|
|
30
30
|
:host * {
|
|
31
31
|
--s-primary-color: var(--sesamy-paywall-primary-color, ${n});
|
|
32
32
|
--s-paywall-bg-color: var(--sesamy-paywall-bg-color, ${m});
|
|
33
|
-
--s-paywall-text-color: var(--sesamy-paywall-text-color, ${
|
|
33
|
+
--s-paywall-text-color: var(--sesamy-paywall-text-color, ${h?"#FFFFFF":"#000000"});
|
|
34
34
|
--s-paywall-border-radius: var(--sesamy-paywall-border-radius, 0.5rem);
|
|
35
35
|
--s-paywall-border-radius-desktop: var(--sesamy-paywall-border-radius-desktop, calc(var(--s-paywall-border-radius) * 3));
|
|
36
36
|
}
|
|
37
|
-
`+"</style>";const _=()=>{clearTimeout(c),c=setTimeout(()=>{var y;B(s,fe(((y=Wa.run({email:u(f)}))==null?void 0:y.full)||""))},400)},p=async(y,x)=>{y.preventDefault();try{await x.auth.loginWithRedirect({authorizationParams:{login_hint:u(f)}})}catch(k){console.error("Login failed:",k)}};var b=re(),C=T(b);kt(C,()=>e.api.auth.isAuthenticated(),null,(y,x)=>{var k=re(),ee=T(k);{var z=N=>{var Z=lu(),P=T(Z),A=L(P),D=L(A);const U=M(()=>ne("w-full rounded-[var(--s-paywall-border-radius)] @xl:rounded-[var(--s-paywall-border-radius-desktop)]",(l==null?void 0:l.showBackground)&&"bg-[var(--s-paywall-bg-color)] text-[var(--s-paywall-text-color)]",(l==null?void 0:l.showBackground)&&(l==null?void 0:l.dropShadow)&&"shadow-md @xl:shadow-lg",g&&"dark"));var ie=M(()=>u(U));We(D,{get class(){return u(ie)},children:(Q,j)=>{const V=M(()=>ne("gap-2 @md:gap-4 pt-0 w-full max-w-[800px]",(l==null?void 0:l.showBackground)&&"px-2.5 py-4 @sm:p-8 @sm:pb-10 @3xl:p-16 @3xl:pt-10"));var te=M(()=>u(V));We(Q,{get class(){return u(te)},up:!0,left:!0,children:(R,le)=>{var J=iu(),ue=T(J);We(ue,{left:!0,class:"w-full gap-6",children:(G,se)=>{var W=ru(),ce=T(W);{var xe=Oe=>{var Ye=tu();Ee(Ye,"src",o),I(Se=>Ee(Ye,"alt",Se),[()=>`${e.t("logo_of")} ${a}`]),w(Oe,Ye)};F(ce,Oe=>{i&&Oe(xe)})}var Te=$(ce,2);Te.textContent=r,w(G,W)},$$slots:{default:!0}});var de=$(ue,2);We(de,{left:!0,class:"w-full gap-1",children:(G,se)=>{var W=au(),ce=T(W);const xe=M(()=>e.t("email"));var Te=M(()=>u(xe));Mr(ce,{onkeyup:_,compact:!0,get placeholder(){return u(Te)},get value(){return u(f)},set value(Se){B(f,fe(Se))}});var Oe=$(ce,2);{var Ye=Se=>{var Ze=ou();Ze.__click=[nu,f,s];var $e=L(Ze);Yt($e,{class:"text-primary text-xl",name:"info"});var Ke=$($e,2),rt=L(Ke),pt=$(rt),nt=L(pt,!0);E(pt),De(),E(Ke),E(Ze),I(st=>{X(rt,`${st??""} `),X(nt,u(s))},[()=>e.t("did_you_mean")]),w(Se,Ze)};F(Oe,Se=>{u(s)&&Se(Ye)})}w(G,W)},$$slots:{default:!0}});var be=$(de,2);La(be,{type:"submit",class:"w-full shadow-md",children:(G,se)=>{De();var W=ht();I(ce=>X(W,ce),[()=>e.t("continue")]),w(G,W)},$$slots:{default:!0}}),w(R,J)},$$slots:{default:!0}})},$$slots:{default:!0}}),E(A),E(P);var K=$(P,2);on(K,()=>h,!1,!1),Un("submit",A,Q=>p(Q,e.api)),w(N,Z)};F(ee,N=>{u(x)||N(z)})}w(y,k)}),w(t,b),ge()}Ar(["click"]);function Za(t,e){me(e,!0);let r=O(e,"template",7),n=it(e,["$$slots","$$events","$$legacy","$$host","template"]),o=ke(void 0);return Rn(()=>{(async()=>{var i,l;const a=await fetch(n["settings-url"]);B(o,fe(await a.json())),!r()&&((l=(i=u(o))==null?void 0:i.settings)!=null&&l.template)&&r(u(o).settings.template)})()}),dr(t,{children:Yr,$$slots:{default:(a,i)=>{const l=M(()=>i.api),c=M(()=>i.t);var s=re();const f=M(()=>e.$$host),m=M(()=>u(f)?u(l).content.get(u(f)):null);var g=T(s);{var v=d=>{var h=re();const _=M(()=>{var y;return(y=u(m))==null?void 0:y.accessLevel});var p=T(h);{var b=y=>{var x=M(()=>r()==="BOXES"),k=M(()=>({...n,template:r()}));eu(y,sn({get api(){return u(l)},get paywall(){return u(o)},get horizontal(){return u(x)},get host(){return u(f)},get t(){return u(c)}},()=>u(k)))},C=y=>{var x=re(),k=T(x);{var ee=z=>{var N=M(()=>({...n,template:r()}));su(z,sn({get api(){return u(l)},get t(){return u(c)},get paywall(){return u(o)}},()=>u(N)))};F(k,z=>{u(_)==="logged-in"&&z(ee)},!0)}w(y,x)};F(p,y=>{u(_)==="entitlement"?y(b):y(C,!1)})}w(d,h)};F(g,d=>{u(o)&&d(v)})}w(a,s)}}}),ge({get template(){return r()},set template(a){r(a),pe()}})}customElements.define("sesamy-paywall",Wt(Za,{template:{}},[],[],!0));var cu=en('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22.773 28.025"><path d="M20.4 7.8c-.8.5-1.4 1.1-1.8 1.9-.4.8-.7 1.6-.7 2.5 0 1 .3 2 .9 2.8.6.8 1.3 1.5 2.3 1.9-.4 1.2-.9 2.3-1.6 3.3-1 1.4-2 2.8-3.6 2.8s-2-.9-3.8-.9c-1.8 0-2.4.9-3.9.9s-2.5-1.3-3.6-2.9c-1.5-2.3-2.4-4.9-2.4-7.6C2 8 4.9 5.6 7.9 5.6c1.5 0 2.8 1 3.8 1 .9 0 2.4-1.1 4.1-1.1.9 0 1.8.2 2.6.6.8.4 1.5 1 2 1.7zm-5.5-4.1c.8-.9 1.2-2 1.2-3.2V0c-1.3.1-2.6.8-3.4 1.7-.8.9-1.2 2-1.3 3.1v.4h.3c.6 0 1.2-.2 1.8-.5.6-.2 1-.6 1.4-1z" fill="#000"></path></svg>');function uu(t,e){let r=O(e,"width",8,"18"),n=O(e,"height",8,"18");var o=cu();I(()=>{Ee(o,"width",r()),Ee(o,"height",n())}),w(t,o)}var du=en('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18"><path d="M12.8 9h-2.5v9H6.6V9H4.9V5.8h1.8v-2C6.6 2.3 7.3 0 10.4 0h2.8v3.1h-2c-.3 0-.8.2-.8.9v1.9h2.8L12.8 9z" fill="#1877F2"></path></svg>');function fu(t,e){let r=O(e,"width",8,"18"),n=O(e,"height",8,"18");var o=du();I(()=>{Ee(o,"width",r()),Ee(o,"height",n())}),w(t,o)}var vu=en('<svg viewBox="0 0 45 45" xmlns="http://www.w3.org/2000/svg"><path d="M44.1035 23.0123C44.1054 21.4791 43.9758 19.9486 43.716 18.4375H22.498V27.1028H34.6507C34.4021 28.4868 33.8757 29.8061 33.1034 30.9812C32.3311 32.1562 31.3289 33.1628 30.1571 33.9401V39.5649H37.41C41.6567 35.6494 44.1035 29.859 44.1035 23.0123Z" fill="#4285F4"></path><path d="M22.4982 44.9997C28.5698 44.9997 33.6821 43.0061 37.4101 39.5687L30.1573 33.9439C28.1386 35.3126 25.5387 36.0938 22.4982 36.0938C16.6296 36.0938 11.6485 32.1377 9.86736 26.8066H2.39575V32.6033C4.26839 36.3297 7.13989 39.4622 10.6896 41.6512C14.2394 43.8402 18.3277 44.9995 22.4982 44.9997Z" fill="#34A853"></path><path d="M9.86737 26.8073C8.92572 24.0138 8.92572 20.9886 9.86737 18.1951V12.3984H2.39576C0.820432 15.5332 0 18.9929 0 22.5012C0 26.0095 0.820432 29.4692 2.39576 32.604L9.86737 26.8073Z" fill="#FBBC04"></path><path d="M22.4982 8.90741C25.7068 8.85499 28.8071 10.0673 31.1291 12.2823L37.5507 5.86064C33.4788 2.03602 28.0843 -0.0637686 22.4982 0.00147616C18.3277 0.00166623 14.2394 1.16098 10.6896 3.34999C7.13989 5.539 4.26839 8.67155 2.39575 12.3979L9.86736 18.1946C11.6485 12.8635 16.6296 8.90741 22.4982 8.90741Z" fill="#EA4335"></path></svg>');function mu(t,e){let r=O(e,"width",8,"18"),n=O(e,"height",8,"18");var o=vu();I(()=>{Ee(o,"width",r()),Ee(o,"height",n())}),w(t,o)}var gu=S('<h1 class="text-2xl font-bold mb-2.5">Skapa ett gratis konto eller logga in</h1>'),hu=S('<p class="text-sm mb-5 text-gray-600">Få tillgång till gratis artiklar och nyhetsbrev.</p>'),pu=(t,e,r)=>e(u(r)),_u=(t,e,r)=>e(u(r)),wu=(t,e,r)=>e(u(r)),bu=(t,e,r)=>e(u(r)),yu=S(`<div class="max-w-[800px] mx-auto p-5 text-center bg-[#f8f8f5] border border-[#e9e9da] rounded-lg font-sans"><!> <!> <div class="w-full"><input type="email" id="email" placeholder="Skriv in din epost" class="w-full p-2.5 mb-2.5 border border-gray-300 rounded-md box-border"> <button part="continueButton" class="w-full p-2.5 bg-[#4285f4] text-white border-none rounded-md cursor-pointer mb-2.5 text-sm">Fortsätt</button> <div class="my-4 text-center relative text-gray-500 before:content-[''] before:absolute before:top-1/2 before:left-0 before:w-[45%] before:h-px before:bg-gray-300 after:content-[''] after:absolute after:top-1/2 after:right-0 after:w-[45%] after:h-px after:bg-gray-300">eller</div> <button class="w-full p-2.5 bg-white text-black border border-gray-300 rounded-md cursor-pointer mb-2.5 text-sm flex justify-center items-center"><span class="flex items-center justify-center"><!> <span class="ml-2">Fortsätt med Google</span></span></button> <button class="w-full p-2.5 bg-white text-black border border-gray-300 rounded-md cursor-pointer mb-2.5 text-sm flex justify-center items-center"><span class="flex items-center justify-center"><!> <span class="ml-2">Fortsätt med Facebook</span></span></button> <button class="w-full p-2.5 bg-white text-black border border-gray-300 rounded-md cursor-pointer mb-2.5 text-sm flex justify-center items-center"><span class="flex items-center justify-center"><!> <span class="ml-2">Fortsätt med Apple</span></span></button></div> <p class="text-xs mt-5 text-gray-500">Genom att logga in godkänner du våra <a href="#terms" class="text-[#4285f4] no-underline">Vilkor</a></p></div>`);function Ka(t,e){const r=async n=>{try{await n.auth.loginWithRedirect()}catch(o){console.error("Login failed:",o)}};dr(t,{children:Yr,$$slots:{default:(n,o)=>{const a=nr(()=>o.api);var i=yu(),l=L(i);Pe(l,e,"title",{},y=>{var x=gu();w(y,x)});var c=$(l,2);Pe(c,e,"description",{},y=>{var x=hu();w(y,x)});var s=$(c,2),f=$(L(s),2);f.__click=[pu,r,a];var m=$(f,4);m.__click=[_u,r,a];var g=L(m),v=L(g);mu(v,{width:"18",height:"18"}),De(2),E(g),E(m);var d=$(m,2);d.__click=[wu,r,a];var h=L(d),_=L(h);fu(_,{width:"18",height:"18"}),De(2),E(h),E(d);var p=$(d,2);p.__click=[bu,r,a];var b=L(p),C=L(b);uu(C,{width:"18",height:"18"}),De(2),E(b),E(p),E(s),De(2),E(i),w(n,i)}}})}Ar(["click"]),customElements.define("sesamy-registration-wall",Wt(Ka,{},["title","description"],[],!0));function Ja(t,e){me(e,!0);let r=O(e,"item-src",7,""),n=O(e,"publisher-content-id",7),o=O(e,"pass",7),a=O(e,"access-level",7),i=O(e,"lock-mode",7,"embed"),l=O(e,"locked-content-selector",7);async function c(v){var p,b,C,y;const d=r()||((p=v.content.get(e.$$host))==null?void 0:p.url)||"",h=o()?o().split(";"):(C=(b=v.content.get(e.$$host))==null?void 0:b.pass)==null?void 0:C.split(";");switch(a()||((y=v.content.get(e.$$host))==null?void 0:y.accessLevel)||"entitlement"){case"public":return!0;case"logged-in":return v.auth.isAuthenticated();case"entitlement":default:return v.entitlements.hasAccess(d,h)}}function s(v){var _;const d=n()||((_=v.content.get(e.$$host))==null?void 0:_.id)||"",h=new CustomEvent("sesamyUnlocked",{detail:{publisherContentId:d,itemSrc:r()},bubbles:!0,composed:!0});dispatchEvent(h)}async function f(v){var C;if(!v)return;const d=e.$$host;if(!d)return;const h=document.createElement("div");h.setAttribute("position","relative");const _=d.getAttribute("class");_&&h.setAttribute("class",_),h.innerHTML=v;const p=h.querySelectorAll("script"),b=[];p.forEach(y=>{var x;try{if(y.src){const k=document.createElement("script");k.src=y.src,document.head.appendChild(k)}else b.push(y.textContent||"");(x=y.parentNode)==null||x.removeChild(y)}catch(k){console.error("Failed to process script:",k,y)}}),(C=d.parentElement)==null||C.insertBefore(h,d),b.forEach(y=>{try{const x=document.createElement("script");x.textContent=y,document.head.appendChild(x),document.head.removeChild(x)}catch(x){console.error("Failed to execute inline script:",x,y)}})}async function m(v){const d=e.$$host.querySelector('div[slot="content"]');switch(i()){case"encode":const h=(d==null?void 0:d.innerHTML)||"";try{return new TextDecoder().decode(Uint8Array.from(atob(h),_=>_.charCodeAt(0)))}catch(_){return console.error("Error decoding content:",_),""}case"event":return s(v),"";case"proxy":case"signedUrl":return v.content.unlock(e.$$host.parentElement,l());case"embed":return"";default:return console.error("Invalid lock mode"),""}}async function g(v){try{const d=await m(v);await f(d)}catch(d){console.error("Error unlocking content:",d)}}return dr(t,{applyStyles:!1,children:Yr,$$slots:{default:(v,d)=>{const h=M(()=>d.api);var _=re(),p=T(_);kt(p,()=>c(u(h)),b=>{var C=re(),y=T(C);Pe(y,e,"preview",{},null),w(b,C)},(b,C)=>{var y=re(),x=T(y);{var k=z=>{var N=re(),Z=T(N);{var P=D=>{var U=re(),ie=T(U);Pe(ie,e,"content",{},null),w(D,U)},A=D=>{var U=re(),ie=T(U);kt(ie,()=>g(u(h)),K=>{var Q=re(),j=T(Q);Pe(j,e,"preview",{},null),w(K,Q)},K=>{}),w(D,U)};F(Z,D=>{i()==="embed"?D(P):D(A,!1)})}w(z,N)},ee=z=>{var N=re(),Z=T(N);Pe(Z,e,"preview",{},null),w(z,N)};F(x,z=>{u(C)?z(k):z(ee,!1)})}w(b,y)}),w(v,_)}}}),ge({get"item-src"(){return r()},set"item-src"(v=""){r(v),pe()},get"publisher-content-id"(){return n()},set"publisher-content-id"(v){n(v),pe()},get pass(){return o()},set pass(v){o(v),pe()},get"access-level"(){return a()},set"access-level"(v){a(v),pe()},get"lock-mode"(){return i()},set"lock-mode"(v="embed"){i(v),pe()},get"locked-content-selector"(){return l()},set"locked-content-selector"(v){l(v),pe()}})}customElements.define("sesamy-content-container",Wt(Ja,{"item-src":{},"publisher-content-id":{},pass:{},"access-level":{},"lock-mode":{},"locked-content-selector":{}},["preview","content"],[],!0));function Xa(t,e){me(e,!1);const r=Ea(),n=async()=>{try{return(await r).auth.isAuthenticated()}catch(i){return console.error("Error checking login status:",i),!1}};ma();var o=re(),a=T(o);kt(a,n,null,(i,l)=>{var c=re(),s=T(c);{var f=g=>{var v=re(),d=T(v);Pe(d,e,"logged-in",{},null),w(g,v)},m=g=>{var v=re(),d=T(v);Pe(d,e,"not-logged-in",{},null),w(g,v)};F(s,g=>{u(l)?g(f):g(m,!1)})}w(i,c)}),w(t,o),ge()}customElements.define("sesamy-visibility",Wt(Xa,{},["logged-in","not-logged-in"],[],!0)),ae.Avatar=un,ae.ContentContainer=Ja,ae.Login=Sa,ae.Paywall=Za,ae.RegistrationWall=Ka,ae.Visibility=Xa,Object.defineProperty(ae,Symbol.toStringTag,{value:"Module"})});
|
|
37
|
+
`+"</style>";const _=()=>{clearTimeout(c),c=setTimeout(()=>{var x;B(s,de(((x=Va.run({email:u(f)}))==null?void 0:x.full)||""))},400)},p=async(x,k)=>{x.preventDefault();try{await k.auth.loginWithRedirect({authorizationParams:{login_hint:u(f)}})}catch(y){console.error("Login failed:",y)}};var w=te(),C=S(w);kt(C,()=>e.api.auth.isAuthenticated(),null,(x,k)=>{var y=te(),Z=S(y);{var z=N=>{var K=lu(),$=S(K),E=T($),O=T(E);const F=M(()=>ne("w-full rounded-[var(--s-paywall-border-radius)] @xl:rounded-[var(--s-paywall-border-radius-desktop)]",(l==null?void 0:l.showBackground)&&"bg-[var(--s-paywall-bg-color)] text-[var(--s-paywall-text-color)]",(l==null?void 0:l.showBackground)&&(l==null?void 0:l.dropShadow)&&"shadow-md @xl:shadow-lg",h&&"dark"));var oe=M(()=>u(F));Be(O,{get class(){return u(oe)},children:(ee,j)=>{const V=M(()=>ne("gap-2 @md:gap-4 pt-0 w-full max-w-[800px]",(l==null?void 0:l.showBackground)&&"px-2.5 py-4 @sm:p-8 @sm:pb-10 @3xl:p-16 @3xl:pt-10"));var re=M(()=>u(V));Be(ee,{get class(){return u(re)},up:!0,left:!0,children:(R,le)=>{var X=iu(),ue=S(X);Be(ue,{left:!0,class:"w-full gap-6",children:(G,se)=>{var Y=ru(),ce=S(Y);{var xe=Te=>{var Ue=eu();je(Ue,"src",o),I(Ee=>je(Ue,"alt",Ee),[()=>`${e.t("logo_of")} ${a}`]),b(Te,Ue)};D(ce,Te=>{i&&Te(xe)})}var Le=A(ce,2);Be(Le,{left:!0,class:"gap-3",children:(Te,Ue)=>{var Ee=tu(),Ne=S(Ee);Ne.textContent=r;var ke=A(Ne,2);Se(ke,e,"below-headline",{},null),b(Te,Ee)},$$slots:{default:!0}}),b(G,Y)},$$slots:{default:!0}});var fe=A(ue,2);Be(fe,{left:!0,class:"w-full gap-1",children:(G,se)=>{var Y=au(),ce=S(Y);const xe=M(()=>e.t("email"));var Le=M(()=>u(xe));Mr(ce,{onkeyup:_,compact:!0,get placeholder(){return u(Le)},get value(){return u(f)},set value(Ee){B(f,de(Ee))}});var Te=A(ce,2);{var Ue=Ee=>{var Ne=ou();Ne.__click=[nu,f,s];var ke=T(Ne);Yt(ke,{class:"text-primary text-xl",name:"info"});var Ze=A(ke,2),tt=T(Ze),pt=A(tt),rt=T(pt,!0);L(pt),ft(),L(Ze),L(Ne),I(lt=>{Q(tt,`${lt??""} `),Q(rt,u(s))},[()=>e.t("did_you_mean")]),b(Ee,Ne)};D(Te,Ee=>{u(s)&&Ee(Ue)})}b(G,Y)},$$slots:{default:!0}});var be=A(fe,2);Aa(be,{type:"submit",class:"w-full shadow-md",children:(G,se)=>{ft();var Y=gt();I(ce=>Q(Y,ce),[()=>e.t("continue")]),b(G,Y)},$$slots:{default:!0}}),b(R,X)},$$slots:{default:!0}})},$$slots:{default:!0}}),L(E),L($);var J=A($,2);nn(J,()=>g,!1,!1),Bn("submit",E,ee=>p(ee,e.api)),b(N,K)};D(Z,N=>{u(k)||N(z)})}b(x,y)}),b(t,w),he()}Qr(["click"]);var cu=P('<div slot="below-headline"><!></div>');function Za(t,e){me(e,!0);let r=at(e,["$$slots","$$events","$$legacy","$$host"]),n=Ce(void 0),o=Ce(void 0);Mn(()=>{(async()=>{var i;const a=await fetch(r["settings-url"]);B(n,de(await a.json())),B(o,de(((i=u(n))==null?void 0:i.settings.template)||void 0))})()}),Tr(t,{children:On,$$slots:{default:(a,i)=>{const l=M(()=>i.api),c=M(()=>i.t);var s=te();const f=M(()=>e.$$host);var m=S(s);{var h=v=>{var d=te(),g=S(d);{var _=w=>{Wa(w,Pr({get api(){return u(l)},get paywall(){return u(n)},get host(){return u(f)},get t(){return u(c)}},()=>r))},p=w=>{var C=te(),x=S(C);{var k=Z=>{Wa(Z,Pr({horizontal:!0,get api(){return u(l)},get paywall(){return u(n)},get host(){return u(f)},get t(){return u(c)}},()=>r))},y=Z=>{var z=te(),N=S(z);{var K=$=>{su($,Pr({get api(){return u(l)},get t(){return u(c)},get paywall(){return u(n)}},()=>r,{$$slots:{"below-headline":(E,O)=>{var F=cu(),oe=T(F);Se(oe,e,"below-headline",{},null),L(F),b(E,F)}}}))};D(N,$=>{u(o)==="LOGIN"&&$(K)},!0)}b(Z,z)};D(x,Z=>{u(o)==="BOXES"?Z(k):Z(y,!1)},!0)}b(w,C)};D(g,w=>{u(o)==="ARTICLE"?w(_):w(p,!1)})}b(v,d)};D(m,v=>{u(n)&&v(h)})}b(a,s)}}}),he()}customElements.define("sesamy-paywall",lr(Za,{},["below-headline"],[],!0));function Ka(t,e){me(e,!0);let r=U(e,"item-src",7,""),n=U(e,"publisher-content-id",7),o=U(e,"pass",7),a=U(e,"access-level",7),i=U(e,"lock-mode",7,"embed"),l=U(e,"locked-content-selector",7);async function c(v){var p,w,C,x;const d=r()||((p=v.content.get(e.$$host))==null?void 0:p.url)||"",g=o()?o().split(";"):(C=(w=v.content.get(e.$$host))==null?void 0:w.pass)==null?void 0:C.split(";");switch(a()||((x=v.content.get(e.$$host))==null?void 0:x.accessLevel)||"entitlement"){case"public":return!0;case"logged-in":return v.auth.isAuthenticated();case"entitlement":default:return v.entitlements.hasAccess(d,g)}}function s(v){var _;const d=n()||((_=v.content.get(e.$$host))==null?void 0:_.id)||"",g=new CustomEvent("sesamyUnlocked",{detail:{publisherContentId:d,itemSrc:r()},bubbles:!0,composed:!0});dispatchEvent(g)}async function f(v){var C;if(!v)return;const d=e.$$host;if(!d)return;const g=document.createElement("div");g.setAttribute("position","relative");const _=d.getAttribute("class");_&&g.setAttribute("class",_),g.innerHTML=v;const p=g.querySelectorAll("script"),w=[];p.forEach(x=>{var k;try{if(x.src){const y=document.createElement("script");y.src=x.src,document.head.appendChild(y)}else w.push(x.textContent||"");(k=x.parentNode)==null||k.removeChild(x)}catch(y){console.error("Failed to process script:",y,x)}}),(C=d.parentElement)==null||C.insertBefore(g,d),w.forEach(x=>{try{const k=document.createElement("script");k.textContent=x,document.head.appendChild(k),document.head.removeChild(k)}catch(k){console.error("Failed to execute inline script:",k,x)}})}async function m(v){const d=e.$$host.querySelector('div[slot="content"]');switch(i()){case"encode":const g=(d==null?void 0:d.innerHTML)||"";try{return new TextDecoder().decode(Uint8Array.from(atob(g),_=>_.charCodeAt(0)))}catch(_){return console.error("Error decoding content:",_),""}case"event":return s(v),"";case"proxy":case"signedUrl":return v.content.unlock(e.$$host.parentElement,l());case"embed":return"";default:return console.error("Invalid lock mode"),""}}async function h(v){try{const d=await m(v);await f(d)}catch(d){console.error("Error unlocking content:",d)}}return Tr(t,{applyStyles:!1,children:On,$$slots:{default:(v,d)=>{const g=M(()=>d.api);var _=te(),p=S(_);kt(p,()=>c(u(g)),w=>{var C=te(),x=S(C);Se(x,e,"preview",{},null),b(w,C)},(w,C)=>{var x=te(),k=S(x);{var y=z=>{var N=te(),K=S(N);{var $=O=>{var F=te(),oe=S(F);Se(oe,e,"content",{},null),b(O,F)},E=O=>{var F=te(),oe=S(F);kt(oe,()=>h(u(g)),J=>{var ee=te(),j=S(ee);Se(j,e,"preview",{},null),b(J,ee)},J=>{}),b(O,F)};D(K,O=>{i()==="embed"?O($):O(E,!1)})}b(z,N)},Z=z=>{var N=te(),K=S(N);Se(K,e,"preview",{},null),b(z,N)};D(k,z=>{u(C)?z(y):z(Z,!1)})}b(w,x)}),b(v,_)}}}),he({get"item-src"(){return r()},set"item-src"(v=""){r(v),_e()},get"publisher-content-id"(){return n()},set"publisher-content-id"(v){n(v),_e()},get pass(){return o()},set pass(v){o(v),_e()},get"access-level"(){return a()},set"access-level"(v){a(v),_e()},get"lock-mode"(){return i()},set"lock-mode"(v="embed"){i(v),_e()},get"locked-content-selector"(){return l()},set"locked-content-selector"(v){l(v),_e()}})}customElements.define("sesamy-content-container",lr(Ka,{"item-src":{},"publisher-content-id":{},pass:{},"access-level":{},"lock-mode":{},"locked-content-selector":{}},["preview","content"],[],!0));function Ja(t,e){me(e,!1);const r=Ca(),n=async()=>{try{return(await r).auth.isAuthenticated()}catch(i){return console.error("Error checking login status:",i),!1}};va();var o=te(),a=S(o);kt(a,n,null,(i,l)=>{var c=te(),s=S(c);{var f=h=>{var v=te(),d=S(v);Se(d,e,"logged-in",{},null),b(h,v)},m=h=>{var v=te(),d=S(v);Se(d,e,"not-logged-in",{},null),b(h,v)};D(s,h=>{u(l)?h(f):h(m,!1)})}b(i,c)}),b(t,o),he()}customElements.define("sesamy-visibility",lr(Ja,{},["logged-in","not-logged-in"],[],!0)),ie.Avatar=sn,ie.ContentContainer=Ka,ie.Login=Pa,ie.Paywall=Za,ie.Visibility=Ja,Object.defineProperty(ie,Symbol.toStringTag,{value:"Module"})});
|