@revenuecat/purchases-js 1.51.2 → 1.52.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,25 +1,25 @@
1
- (function(Ie,je){typeof exports=="object"&&typeof module<"u"?je(exports):typeof define=="function"&&define.amd?define(["exports"],je):(Ie=typeof globalThis<"u"?globalThis:Ie||self,je(Ie.Purchases={}))})(this,function(Ie){"use strict";var qI=Object.create;var qc=Object.defineProperty;var OI=Object.getOwnPropertyDescriptor;var Xg=(Ie,je)=>(je=Symbol[Ie])?je:Symbol.for("Symbol."+Ie),co=Ie=>{throw TypeError(Ie)};var Zg=(Ie,je,Qe)=>je in Ie?qc(Ie,je,{enumerable:!0,configurable:!0,writable:!0,value:Qe}):Ie[je]=Qe;var Kg=(Ie,je)=>qc(Ie,"name",{value:je,configurable:!0});var Jg=Ie=>[,,,qI((Ie==null?void 0:Ie[Xg("metadata")])??null)],Qg=["class","method","getter","setter","accessor","field","value","get","set"],ii=Ie=>Ie!==void 0&&typeof Ie!="function"?co("Function expected"):Ie,LI=(Ie,je,Qe,ct,wr)=>({kind:Qg[Ie],name:je,metadata:ct,addInitializer:Br=>Qe._?co("Already initialized"):wr.push(ii(Br||null))}),Oc=(Ie,je)=>Zg(je,Xg("metadata"),Ie[3]),$g=(Ie,je,Qe,ct)=>{for(var wr=0,Br=Ie[je>>1],jt=Br&&Br.length;wr<jt;wr++)je&1?Br[wr].call(Qe):ct=Br[wr].call(Qe,ct);return ct},Lc=(Ie,je,Qe,ct,wr,Br)=>{var jt,tt,si,ea,uo,sr=je&7,po=!!(je&8),vt=!!(je&16),_o=sr>3?Ie.length+1:sr?po?1:2:0,go=Qg[sr+5],li=sr>3&&(Ie[_o-1]=[]),Tr=Ie[_o]||(Ie[_o]=[]),ut=sr&&(!vt&&!po&&(wr=wr.prototype),sr<5&&(sr>3||!vt)&&OI(sr<4?wr:{get[Qe](){return G(this,Br)},set[Qe](Zr){return Ne(this,Br,Zr)}},Qe));sr?vt&&sr<4&&Kg(Br,(sr>2?"set ":sr>1?"get ":"")+Qe):Kg(wr,Qe);for(var fo=ct.length-1;fo>=0;fo--)ea=LI(sr,Qe,si={},Ie[3],Tr),sr&&(ea.static=po,ea.private=vt,uo=ea.access={has:vt?Zr=>NI(wr,Zr):Zr=>Qe in Zr},sr^3&&(uo.get=vt?Zr=>(sr^1?G:_r)(Zr,wr,sr^4?Br:ut.get):Zr=>Zr[Qe]),sr>2&&(uo.set=vt?(Zr,ra)=>Ne(Zr,wr,ra,sr^4?Br:ut.set):(Zr,ra)=>Zr[Qe]=ra)),tt=(0,ct[fo])(sr?sr<4?vt?Br:ut[go]:sr>4?void 0:{get:ut.get,set:ut.set}:wr,ea),si._=1,sr^4||tt===void 0?ii(tt)&&(sr>4?li.unshift(tt):sr?vt?Br=tt:ut[go]=tt:wr=tt):typeof tt!="object"||tt===null?co("Object expected"):(ii(jt=tt.get)&&(ut.get=jt),ii(jt=tt.set)&&(ut.set=jt),ii(jt=tt.init)&&li.unshift(jt));return sr||Oc(Ie,wr),ut&&qc(wr,Qe,ut),vt?sr^4?Br:ut:wr},ee=(Ie,je,Qe)=>Zg(Ie,typeof je!="symbol"?je+"":je,Qe),Nc=(Ie,je,Qe)=>je.has(Ie)||co("Cannot "+Qe),NI=(Ie,je)=>Object(je)!==je?co('Cannot use the "in" operator on this value'):Ie.has(je),G=(Ie,je,Qe)=>(Nc(Ie,je,"read from private field"),Qe?Qe.call(Ie):je.get(Ie)),Be=(Ie,je,Qe)=>je.has(Ie)?co("Cannot add the same private member more than once"):je instanceof WeakSet?je.add(Ie):je.set(Ie,Qe),Ne=(Ie,je,Qe,ct)=>(Nc(Ie,je,"write to private field"),ct?ct.call(Ie,Qe):je.set(Ie,Qe),Qe),_r=(Ie,je,Qe)=>(Nc(Ie,je,"access private method"),Qe);var Fg,Qa,$a,ka,wa,Jo,eo,ro,It,jc,Bc,ef,rf,Ct,Fc,nn,Pa,an,Tt,lt,on,xn,Kn,xa,Xn,Ea,to,no,Zn,vs,Nr,jI,BI,Rc,xs,Es,Uc,Nt,sn,ht,Sa,Qo,$o,ys,Jn,ao,ei,bs,tf,ri,Qn,ln,Ia,oo,io,Xr,Vc,Hc,Ss,Is,ti,ni,so,zg,Mg,ws;const je="5";typeof window<"u"&&((Fg=window.__svelte??(window.__svelte={})).v??(Fg.v=new Set)).add(je);const Qe=1,ct=2,wr=4,Br=8,jt=16,tt=1,si=2,ea=4,uo=8,sr=16,po=1,vt=2,_o=4,go=1,li=2,Tr=Symbol(),ut="http://www.w3.org/1999/xhtml",fo="http://www.w3.org/2000/svg",Zr="@attach",ra=!1;var ci=Array.isArray,nf=Array.prototype.indexOf,ui=Array.from,Wc=Object.defineProperty,In=Object.getOwnPropertyDescriptor,Yc=Object.getOwnPropertyDescriptors,af=Object.prototype,of=Array.prototype,Cs=Object.getPrototypeOf,Gc=Object.isExtensible;function Ca(r){return typeof r=="function"}const rr=()=>{};function sf(r){return r()}function di(r){for(var e=0;e<r.length;e++)r[e]()}function Kc(){var r,e,t=new Promise((n,a)=>{r=n,e=a});return{promise:t,resolve:r,reject:e}}function pi(r,e){if(Array.isArray(r))return r;if(e===void 0||!(Symbol.iterator in r))return Array.from(r);const t=[];for(const n of r)if(t.push(n),t.length===e)break;return t}const Rr=2,_i=4,mo=8,Ts=1<<24,Bt=16,un=32,Cn=64,Ds=128,yt=512,Ur=1024,Jr=2048,Rt=4096,dt=8192,dn=16384,gi=32768,Ut=65536,Xc=1<<17,Zc=1<<18,ta=1<<19,Jc=1<<20,pn=1<<25,ho=32768,As=1<<21,Fs=1<<22,Tn=1<<23,Vt=Symbol("$state"),Qc=Symbol("legacy props"),lf=Symbol(""),Ta=new class extends Error{constructor(){super(...arguments);ee(this,"name","StaleReactionError");ee(this,"message","The reaction that called `getAbortSignal()` was re-run or destroyed")}};function zs(r){throw new Error("https://svelte.dev/e/lifecycle_outside_component")}function cf(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function uf(r){throw new Error("https://svelte.dev/e/effect_in_teardown")}function df(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function pf(r){throw new Error("https://svelte.dev/e/effect_orphan")}function _f(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function gf(r){throw new Error("https://svelte.dev/e/props_invalid_value")}function ff(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function mf(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function hf(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function vf(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function yf(){console.warn("https://svelte.dev/e/select_multiple_invalid_value")}function bf(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}function $c(r){return r===this.v}function Ms(r,e){return r!=r?e==e:r!==e||r!==null&&typeof r=="object"||typeof r=="function"}function eu(r){return!Ms(r,this.v)}let Da=!1,kf=!1;function wf(){Da=!0}let lr=null;function Aa(r){lr=r}function He(r){return ru().get(r)}function mr(r,e){return ru().set(r,e),e}function he(r,e=!1,t){lr={p:lr,i:!1,c:null,e:null,s:r,x:null,l:Da&&!e?{s:null,u:null,$:[]}:null}}function ve(r){var e=lr,t=e.e;if(t!==null){e.e=null;for(var n of t)xu(n)}return r!==void 0&&(e.x=r),e.i=!0,lr=e.p,r??{}}function Fa(){return!Da||lr!==null&&lr.l===null}function ru(r){return lr===null&&zs(),lr.c??(lr.c=new Map(Pf(lr)||void 0))}function Pf(r){let e=r.p;for(;e!==null;){const t=e.c;if(t!==null)return t;e=e.p}return null}let na=[];function tu(){var r=na;na=[],di(r)}function Dn(r){if(na.length===0&&!vo){var e=na;queueMicrotask(()=>{e===na&&tu()})}na.push(r)}function xf(){for(;na.length>0;)tu()}function nu(r){var e=$e;if(e===null)return Ke.f|=Tn,r;if((e.f&gi)===0){if((e.f&Ds)===0)throw r;e.b.error(r)}else za(r,e)}function za(r,e){for(;e!==null;){if((e.f&Ds)!==0)try{e.b.error(r);return}catch(t){r=t}e=e.parent}throw r}const Ef=-7169;function Mr(r,e){r.f=r.f&Ef|e}function qs(r){(r.f&yt)!==0||r.deps===null?Mr(r,Ur):Mr(r,Rt)}function au(r){if(r!==null)for(const e of r)(e.f&Rr)===0||(e.f&ho)===0||(e.f^=ho,au(e.deps))}function ou(r,e,t){(r.f&Jr)!==0?e.add(r):(r.f&Rt)!==0&&t.add(r),au(r.deps),Mr(r,Ur)}const fi=new Set;let er=null,mi=null,Vr=null,bt=[],hi=null,Os=!1,vo=!1;const hs=class hs{constructor(){Be(this,It);ee(this,"committed",!1);ee(this,"current",new Map);ee(this,"previous",new Map);Be(this,Qa,new Set);Be(this,$a,new Set);Be(this,ka,0);Be(this,wa,0);Be(this,Jo,null);Be(this,eo,new Set);Be(this,ro,new Set);ee(this,"skipped_effects",new Set);ee(this,"is_fork",!1)}is_deferred(){return this.is_fork||G(this,wa)>0}process(e){var a;bt=[],mi=null,this.apply();var t=[],n=[];for(const i of e)_r(this,It,jc).call(this,i,t,n);this.is_fork||_r(this,It,ef).call(this),this.is_deferred()?(_r(this,It,Bc).call(this,n),_r(this,It,Bc).call(this,t)):(mi=this,er=null,su(n),su(t),mi=null,(a=G(this,Jo))==null||a.resolve()),Vr=null}capture(e,t){t!==Tr&&!this.previous.has(e)&&this.previous.set(e,t),(e.f&Tn)===0&&(this.current.set(e,e.v),Vr==null||Vr.set(e,e.v))}activate(){er=this,this.apply()}deactivate(){er===this&&(er=null,Vr=null)}flush(){if(this.activate(),bt.length>0){if(iu(),er!==null&&er!==this)return}else G(this,ka)===0&&this.process([]);this.deactivate()}discard(){for(const e of G(this,$a))e(this);G(this,$a).clear()}increment(e){Ne(this,ka,G(this,ka)+1),e&&Ne(this,wa,G(this,wa)+1)}decrement(e){Ne(this,ka,G(this,ka)-1),e&&Ne(this,wa,G(this,wa)-1),this.revive()}revive(){for(const e of G(this,eo))G(this,ro).delete(e),Mr(e,Jr),_n(e);for(const e of G(this,ro))Mr(e,Rt),_n(e);this.flush()}oncommit(e){G(this,Qa).add(e)}ondiscard(e){G(this,$a).add(e)}settled(){return(G(this,Jo)??Ne(this,Jo,Kc())).promise}static ensure(){if(er===null){const e=er=new hs;fi.add(er),vo||hs.enqueue(()=>{er===e&&e.flush()})}return er}static enqueue(e){Dn(e)}apply(){}};Qa=new WeakMap,$a=new WeakMap,ka=new WeakMap,wa=new WeakMap,Jo=new WeakMap,eo=new WeakMap,ro=new WeakMap,It=new WeakSet,jc=function(e,t,n){e.f^=Ur;for(var a=e.first,i=null;a!==null;){var s=a.f,c=(s&(un|Cn))!==0,l=c&&(s&Ur)!==0,u=l||(s&dt)!==0||this.skipped_effects.has(a);if(!u&&a.fn!==null){c?a.f^=Ur:i!==null&&(s&(_i|mo|Ts))!==0?i.b.defer_effect(a):(s&_i)!==0?t.push(a):La(a)&&((s&Bt)!==0&&G(this,eo).add(a),Na(a));var d=a.first;if(d!==null){a=d;continue}}var _=a.parent;for(a=a.next;a===null&&_!==null;)_===i&&(i=null),a=_.next,_=_.parent}},Bc=function(e){for(var t=0;t<e.length;t+=1)ou(e[t],G(this,eo),G(this,ro))},ef=function(){if(G(this,wa)===0){for(const e of G(this,Qa))e();G(this,Qa).clear()}G(this,ka)===0&&_r(this,It,rf).call(this)},rf=function(){var a;if(fi.size>1){this.previous.clear();var e=Vr,t=!0;for(const i of fi){if(i===this){t=!1;continue}const s=[];for(const[l,u]of this.current){if(i.current.has(l))if(t&&u!==i.current.get(l))i.current.set(l,u);else continue;s.push(l)}if(s.length===0)continue;const c=[...i.current.keys()].filter(l=>!this.current.has(l));if(c.length>0){var n=bt;bt=[];const l=new Set,u=new Map;for(const d of s)lu(d,c,l,u);if(bt.length>0){er=i,i.apply();for(const d of bt)_r(a=i,It,jc).call(a,d,[],[]);i.deactivate()}bt=n}}er=null,Vr=e}this.committed=!0,fi.delete(this)};let Ht=hs;function Sf(r){var e=vo;vo=!0;try{for(var t;;){if(xf(),bt.length===0&&(er==null||er.flush(),bt.length===0))return hi=null,t;iu()}}finally{vo=e}}function iu(){var r=ca;Os=!0;var e=null;try{var t=0;for(bi(!0);bt.length>0;){var n=Ht.ensure();if(t++>1e3){var a,i;If()}n.process(bt),Fn.clear()}}finally{Os=!1,bi(r),hi=null}}function If(){try{_f()}catch(r){za(r,hi)}}let zt=null;function su(r){var e=r.length;if(e!==0){for(var t=0;t<e;){var n=r[t++];if((n.f&(dn|dt))===0&&La(n)&&(zt=new Set,Na(n),n.deps===null&&n.first===null&&n.nodes===null&&(n.teardown===null&&n.ac===null?Tu(n):n.fn=null),(zt==null?void 0:zt.size)>0)){Fn.clear();for(const a of zt){if((a.f&(dn|dt))!==0)continue;const i=[a];let s=a.parent;for(;s!==null;)zt.has(s)&&(zt.delete(s),i.push(s)),s=s.parent;for(let c=i.length-1;c>=0;c--){const l=i[c];(l.f&(dn|dt))===0&&Na(l)}}zt.clear()}}zt=null}}function lu(r,e,t,n){if(!t.has(r)&&(t.add(r),r.reactions!==null))for(const a of r.reactions){const i=a.f;(i&Rr)!==0?lu(a,e,t,n):(i&(Fs|Bt))!==0&&(i&Jr)===0&&cu(a,e,n)&&(Mr(a,Jr),_n(a))}}function cu(r,e,t){const n=t.get(r);if(n!==void 0)return n;if(r.deps!==null)for(const a of r.deps){if(e.includes(a))return!0;if((a.f&Rr)!==0&&cu(a,e,t))return t.set(a,!0),!0}return t.set(r,!1),!1}function _n(r){for(var e=hi=r;e.parent!==null;){e=e.parent;var t=e.f;if(Os&&e===$e&&(t&Bt)!==0&&(t&Zc)===0)return;if((t&(Cn|un))!==0){if((t&Ur)===0)return;e.f^=Ur}}bt.push(e)}function Ls(r){let e=0,t=aa(0),n;return()=>{yi()&&(o(t),ia(()=>(e===0&&(n=Ve(()=>r(()=>bo(t)))),e+=1,()=>{Dn(()=>{e-=1,e===0&&(n==null||n(),n=void 0,bo(t))})})))}}var Cf=Ut|ta|Ds;function uu(r,e,t){new Tf(r,e,t)}class Tf{constructor(e,t,n){Be(this,Nr);ee(this,"parent");ee(this,"is_pending",!1);Be(this,Ct);Be(this,Fc,null);Be(this,nn);Be(this,Pa);Be(this,an);Be(this,Tt,null);Be(this,lt,null);Be(this,on,null);Be(this,xn,null);Be(this,Kn,null);Be(this,xa,0);Be(this,Xn,0);Be(this,Ea,!1);Be(this,to,new Set);Be(this,no,new Set);Be(this,Zn,null);Be(this,vs,Ls(()=>(Ne(this,Zn,aa(G(this,xa))),()=>{Ne(this,Zn,null)})));Ne(this,Ct,e),Ne(this,nn,t),Ne(this,Pa,n),this.parent=$e.b,this.is_pending=!!G(this,nn).pending,Ne(this,an,sa(()=>{$e.b=this;{var a=_r(this,Nr,Rc).call(this);try{Ne(this,Tt,nt(()=>n(a)))}catch(i){this.error(i)}G(this,Xn)>0?_r(this,Nr,Es).call(this):this.is_pending=!1}return()=>{var i;(i=G(this,Kn))==null||i.remove()}},Cf))}defer_effect(e){ou(e,G(this,to),G(this,no))}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!G(this,nn).pending}update_pending_count(e){_r(this,Nr,Uc).call(this,e),Ne(this,xa,G(this,xa)+e),G(this,Zn)&&Ma(G(this,Zn),G(this,xa))}get_effect_pending(){return G(this,vs).call(this),o(G(this,Zn))}error(e){var t=G(this,nn).onerror;let n=G(this,nn).failed;if(G(this,Ea)||!t&&!n)throw e;G(this,Tt)&&(Or(G(this,Tt)),Ne(this,Tt,null)),G(this,lt)&&(Or(G(this,lt)),Ne(this,lt,null)),G(this,on)&&(Or(G(this,on)),Ne(this,on,null));var a=!1,i=!1;const s=()=>{if(a){bf();return}a=!0,i&&vf(),Ht.ensure(),Ne(this,xa,0),G(this,on)!==null&&la(G(this,on),()=>{Ne(this,on,null)}),this.is_pending=this.has_pending_snippet(),Ne(this,Tt,_r(this,Nr,xs).call(this,()=>(Ne(this,Ea,!1),nt(()=>G(this,Pa).call(this,G(this,Ct)))))),G(this,Xn)>0?_r(this,Nr,Es).call(this):this.is_pending=!1};var c=Ke;try{Yr(null),i=!0,t==null||t(e,s),i=!1}catch(l){za(l,G(this,an)&&G(this,an).parent)}finally{Yr(c)}n&&Dn(()=>{Ne(this,on,_r(this,Nr,xs).call(this,()=>{Ht.ensure(),Ne(this,Ea,!0);try{return nt(()=>{n(G(this,Ct),()=>e,()=>s)})}catch(l){return za(l,G(this,an).parent),null}finally{Ne(this,Ea,!1)}}))})}}Ct=new WeakMap,Fc=new WeakMap,nn=new WeakMap,Pa=new WeakMap,an=new WeakMap,Tt=new WeakMap,lt=new WeakMap,on=new WeakMap,xn=new WeakMap,Kn=new WeakMap,xa=new WeakMap,Xn=new WeakMap,Ea=new WeakMap,to=new WeakMap,no=new WeakMap,Zn=new WeakMap,vs=new WeakMap,Nr=new WeakSet,jI=function(){try{Ne(this,Tt,nt(()=>G(this,Pa).call(this,G(this,Ct))))}catch(e){this.error(e)}},BI=function(){const e=G(this,nn).pending;e&&(Ne(this,lt,nt(()=>e(G(this,Ct)))),Ht.enqueue(()=>{var t=_r(this,Nr,Rc).call(this);Ne(this,Tt,_r(this,Nr,xs).call(this,()=>(Ht.ensure(),nt(()=>G(this,Pa).call(this,t))))),G(this,Xn)>0?_r(this,Nr,Es).call(this):(la(G(this,lt),()=>{Ne(this,lt,null)}),this.is_pending=!1)}))},Rc=function(){var e=G(this,Ct);return this.is_pending&&(Ne(this,Kn,Wt()),G(this,Ct).before(G(this,Kn)),e=G(this,Kn)),e},xs=function(e){var t=$e,n=Ke,a=lr;wt(G(this,an)),Yr(G(this,an)),Aa(G(this,an).ctx);try{return e()}catch(i){return nu(i),null}finally{wt(t),Yr(n),Aa(a)}},Es=function(){const e=G(this,nn).pending;G(this,Tt)!==null&&(Ne(this,xn,document.createDocumentFragment()),G(this,xn).append(G(this,Kn)),Fu(G(this,Tt),G(this,xn))),G(this,lt)===null&&Ne(this,lt,nt(()=>e(G(this,Ct))))},Uc=function(e){var t;if(!this.has_pending_snippet()){this.parent&&_r(t=this.parent,Nr,Uc).call(t,e);return}if(Ne(this,Xn,G(this,Xn)+e),G(this,Xn)===0){this.is_pending=!1;for(const n of G(this,to))Mr(n,Jr),_n(n);for(const n of G(this,no))Mr(n,Rt),_n(n);G(this,to).clear(),G(this,no).clear(),G(this,lt)&&la(G(this,lt),()=>{Ne(this,lt,null)}),G(this,xn)&&(G(this,Ct).before(G(this,xn)),Ne(this,xn,null))}};function du(r,e,t,n){const a=Fa()?yo:An;if(t.length===0&&r.length===0){n(e.map(a));return}var i=er,s=$e,c=Df();function l(){Promise.all(t.map(u=>Af(u))).then(u=>{c();try{n([...e.map(a),...u])}catch(d){(s.f&dn)===0&&za(d,s)}i==null||i.deactivate(),vi()}).catch(u=>{za(u,s)})}r.length>0?Promise.all(r).then(()=>{c();try{return l()}finally{i==null||i.deactivate(),vi()}}):l()}function Df(){var r=$e,e=Ke,t=lr,n=er;return function(i=!0){wt(r),Yr(e),Aa(t),i&&(n==null||n.activate())}}function vi(){wt(null),Yr(null),Aa(null)}function yo(r){var e=Rr|Jr,t=Ke!==null&&(Ke.f&Rr)!==0?Ke:null;return $e!==null&&($e.f|=ta),{ctx:lr,deps:null,effects:null,equals:$c,f:e,fn:r,reactions:null,rv:0,v:Tr,wv:0,parent:t??$e,ac:null}}function Af(r,e,t){let n=$e;n===null&&cf();var a=n.b,i=void 0,s=aa(Tr),c=!Ke,l=new Map;return Vf(()=>{var f;var u=Kc();i=u.promise;try{Promise.resolve(r()).then(u.resolve,u.reject).then(()=>{d===er&&d.committed&&d.deactivate(),vi()})}catch(g){u.reject(g),vi()}var d=er;if(c){var _=a.is_rendered();a.update_pending_count(1),d.increment(_),(f=l.get(d))==null||f.reject(Ta),l.delete(d),l.set(d,u)}const p=(g,b=void 0)=>{if(d.activate(),b)b!==Ta&&(s.f|=Tn,Ma(s,b));else{(s.f&Tn)!==0&&(s.f^=Tn),Ma(s,g);for(const[y,h]of l){if(l.delete(y),y===d)break;h.reject(Ta)}}c&&(a.update_pending_count(-1),d.decrement(_))};u.promise.then(p,g=>p(null,g||"unknown"))}),Oa(()=>{for(const u of l.values())u.reject(Ta)}),new Promise(u=>{function d(_){function p(){_===i?u(s):d(i)}_.then(p,p)}d(i)})}function m(r){const e=yo(r);return Mu(e),e}function An(r){const e=yo(r);return e.equals=eu,e}function pu(r){var e=r.effects;if(e!==null){r.effects=null;for(var t=0;t<e.length;t+=1)Or(e[t])}}function Ff(r){for(var e=r.parent;e!==null;){if((e.f&Rr)===0)return(e.f&dn)===0?e:null;e=e.parent}return null}function Ns(r){var e,t=$e;wt(Ff(r));try{r.f&=~ho,pu(r),e=ju(r)}finally{wt(t)}return e}function _u(r){var e=Ns(r);if(!r.equals(e)&&(r.wv=Lu(),(!(er!=null&&er.is_fork)||r.deps===null)&&(r.v=e,r.deps===null))){Mr(r,Ur);return}zn||(Vr!==null?(yi()||er!=null&&er.is_fork)&&Vr.set(r,e):qs(r))}let js=new Set;const Fn=new Map;let gu=!1;function aa(r,e){var t={f:0,v:r,reactions:null,equals:$c,rv:0,wv:0};return t}function te(r,e){const t=aa(r);return Mu(t),t}function cr(r,e=!1,t=!0){var a;const n=aa(r);return e||(n.equals=eu),Da&&t&&lr!==null&&lr.l!==null&&((a=lr.l).s??(a.s=[])).push(n),n}function F(r,e,t=!1){Ke!==null&&(!Mt||(Ke.f&Xc)!==0)&&Fa()&&(Ke.f&(Rr|Bt|Fs|Xc))!==0&&!(Qr!=null&&Qr.includes(r))&&hf();let n=t?nr(e):e;return Ma(r,n)}function Ma(r,e){if(!r.equals(e)){var t=r.v;zn?Fn.set(r,e):Fn.set(r,t),r.v=e;var n=Ht.ensure();if(n.capture(r,t),(r.f&Rr)!==0){const a=r;(r.f&Jr)!==0&&Ns(a),qs(a)}r.wv=Lu(),fu(r,Jr),Fa()&&$e!==null&&($e.f&Ur)!==0&&($e.f&(un|Cn))===0&&(Pt===null?Wf([r]):Pt.push(r)),!n.is_fork&&js.size>0&&!gu&&zf()}return e}function zf(){gu=!1;var r=ca;bi(!0);const e=Array.from(js);try{for(const t of e)(t.f&Ur)!==0&&Mr(t,Rt),La(t)&&Na(t)}finally{bi(r)}js.clear()}function bo(r){F(r,r.v+1)}function fu(r,e){var t=r.reactions;if(t!==null)for(var n=Fa(),a=t.length,i=0;i<a;i++){var s=t[i],c=s.f;if(!(!n&&s===$e)){var l=(c&Jr)===0;if(l&&Mr(s,e),(c&Rr)!==0){var u=s;Vr==null||Vr.delete(u),(c&ho)===0&&(c&yt&&(s.f|=ho),fu(u,Rt))}else l&&((c&Bt)!==0&&zt!==null&&zt.add(s),_n(s))}}}function nr(r){if(typeof r!="object"||r===null||Vt in r)return r;const e=Cs(r);if(e!==af&&e!==of)return r;var t=new Map,n=ci(r),a=te(0),i=ua,s=c=>{if(ua===i)return c();var l=Ke,u=ua;Yr(null),Ou(i);var d=c();return Yr(l),Ou(u),d};return n&&t.set("length",te(r.length)),new Proxy(r,{defineProperty(c,l,u){(!("value"in u)||u.configurable===!1||u.enumerable===!1||u.writable===!1)&&ff();var d=t.get(l);return d===void 0?d=s(()=>{var _=te(u.value);return t.set(l,_),_}):F(d,u.value,!0),!0},deleteProperty(c,l){var u=t.get(l);if(u===void 0){if(l in c){const d=s(()=>te(Tr));t.set(l,d),bo(a)}}else F(u,Tr),bo(a);return!0},get(c,l,u){var f;if(l===Vt)return r;var d=t.get(l),_=l in c;if(d===void 0&&(!_||(f=In(c,l))!=null&&f.writable)&&(d=s(()=>{var g=nr(_?c[l]:Tr),b=te(g);return b}),t.set(l,d)),d!==void 0){var p=o(d);return p===Tr?void 0:p}return Reflect.get(c,l,u)},getOwnPropertyDescriptor(c,l){var u=Reflect.getOwnPropertyDescriptor(c,l);if(u&&"value"in u){var d=t.get(l);d&&(u.value=o(d))}else if(u===void 0){var _=t.get(l),p=_==null?void 0:_.v;if(_!==void 0&&p!==Tr)return{enumerable:!0,configurable:!0,value:p,writable:!0}}return u},has(c,l){var p;if(l===Vt)return!0;var u=t.get(l),d=u!==void 0&&u.v!==Tr||Reflect.has(c,l);if(u!==void 0||$e!==null&&(!d||(p=In(c,l))!=null&&p.writable)){u===void 0&&(u=s(()=>{var f=d?nr(c[l]):Tr,g=te(f);return g}),t.set(l,u));var _=o(u);if(_===Tr)return!1}return d},set(c,l,u,d){var x;var _=t.get(l),p=l in c;if(n&&l==="length")for(var f=u;f<_.v;f+=1){var g=t.get(f+"");g!==void 0?F(g,Tr):f in c&&(g=s(()=>te(Tr)),t.set(f+"",g))}if(_===void 0)(!p||(x=In(c,l))!=null&&x.writable)&&(_=s(()=>te(void 0)),F(_,nr(u)),t.set(l,_));else{p=_.v!==Tr;var b=s(()=>nr(u));F(_,b)}var y=Reflect.getOwnPropertyDescriptor(c,l);if(y!=null&&y.set&&y.set.call(d,u),!p){if(n&&typeof l=="string"){var h=t.get("length"),k=Number(l);Number.isInteger(k)&&k>=h.v&&F(h,k+1)}bo(a)}return!0},ownKeys(c){o(a);var l=Reflect.ownKeys(c).filter(_=>{var p=t.get(_);return p===void 0||p.v!==Tr});for(var[u,d]of t)d.v!==Tr&&!(u in c)&&l.push(u);return l},setPrototypeOf(){mf()}})}function mu(r){try{if(r!==null&&typeof r=="object"&&Vt in r)return r[Vt]}catch{}return r}function Mf(r,e){return Object.is(mu(r),mu(e))}var hu,vu,yu,bu;function qf(){if(hu===void 0){hu=window,vu=/Firefox/.test(navigator.userAgent);var r=Element.prototype,e=Node.prototype,t=Text.prototype;yu=In(e,"firstChild").get,bu=In(e,"nextSibling").get,Gc(r)&&(r.__click=void 0,r.__className=void 0,r.__attributes=null,r.__style=void 0,r.__e=void 0),Gc(t)&&(t.__t=void 0)}}function Wt(r=""){return document.createTextNode(r)}function pt(r){return yu.call(r)}function ko(r){return bu.call(r)}function D(r,e){return pt(r)}function se(r,e=!1){{var t=pt(r);return t instanceof Comment&&t.data===""?ko(t):t}}function U(r,e=1,t=!1){let n=r;for(;e--;)n=ko(n);return n}function Of(r){r.textContent=""}function ku(){return!1}function Lf(r,e){if(e){const t=document.body;r.autofocus=!0,Dn(()=>{document.activeElement===t&&r.focus()})}}let wu=!1;function Nf(){wu||(wu=!0,document.addEventListener("reset",r=>{Promise.resolve().then(()=>{var e;if(!r.defaultPrevented)for(const t of r.target.elements)(e=t.__on_r)==null||e.call(t)})},{capture:!0}))}function qa(r){var e=Ke,t=$e;Yr(null),wt(null);try{return r()}finally{Yr(e),wt(t)}}function jf(r,e,t,n=t){r.addEventListener(e,()=>qa(t));const a=r.__on_r;a?r.__on_r=()=>{a(),n(!0)}:r.__on_r=()=>n(!0),Nf()}function Pu(r){$e===null&&(Ke===null&&pf(),df()),zn&&uf()}function Bf(r,e){var t=e.last;t===null?e.last=e.first=r:(t.next=r,r.prev=t,e.last=r)}function kt(r,e,t){var n=$e;n!==null&&(n.f&dt)!==0&&(r|=dt);var a={ctx:lr,deps:null,nodes:null,f:r|Jr|yt,first:null,fn:e,last:null,next:null,parent:n,b:n&&n.b,prev:null,teardown:null,wv:0,ac:null};if(t)try{Na(a),a.f|=gi}catch(c){throw Or(a),c}else e!==null&&_n(a);var i=a;if(t&&i.deps===null&&i.teardown===null&&i.nodes===null&&i.first===i.last&&(i.f&ta)===0&&(i=i.first,(r&Bt)!==0&&(r&Ut)!==0&&i!==null&&(i.f|=Ut)),i!==null&&(i.parent=n,n!==null&&Bf(i,n),Ke!==null&&(Ke.f&Rr)!==0&&(r&Cn)===0)){var s=Ke;(s.effects??(s.effects=[])).push(i)}return a}function yi(){return Ke!==null&&!Mt}function Oa(r){const e=kt(mo,null,!1);return Mr(e,Ur),e.teardown=r,e}function ir(r){Pu();var e=$e.f,t=!Ke&&(e&un)!==0&&(e&gi)===0;if(t){var n=lr;(n.e??(n.e=[])).push(r)}else return xu(r)}function xu(r){return kt(_i|Jc,r,!1)}function Bs(r){return Pu(),kt(mo|Jc,r,!0)}function Rf(r){Ht.ensure();const e=kt(Cn|ta,r,!0);return()=>{Or(e)}}function Uf(r){Ht.ensure();const e=kt(Cn|ta,r,!0);return(t={})=>new Promise(n=>{t.outro?la(e,()=>{Or(e),n(void 0)}):(Or(e),n(void 0))})}function oa(r){return kt(_i,r,!1)}function vr(r,e){var t=lr,n={effect:null,ran:!1,deps:r};t.l.$.push(n),n.effect=ia(()=>{r(),!n.ran&&(n.ran=!0,Ve(e))})}function Rs(){var r=lr;ia(()=>{for(var e of r.l.$){e.deps();var t=e.effect;(t.f&Ur)!==0&&t.deps!==null&&Mr(t,Rt),La(t)&&Na(t),e.ran=!1}})}function Vf(r){return kt(Fs|ta,r,!0)}function ia(r,e=0){return kt(mo|e,r,!0)}function Y(r,e=[],t=[],n=[]){du(n,e,t,a=>{kt(mo,()=>r(...a.map(o)),!0)})}function sa(r,e=0){var t=kt(Bt|e,r,!0);return t}function Eu(r,e=0){var t=kt(Ts|e,r,!0);return t}function nt(r){return kt(un|ta,r,!0)}function Su(r){var e=r.teardown;if(e!==null){const t=zn,n=Ke;zu(!0),Yr(null);try{e.call(null)}finally{zu(t),Yr(n)}}}function Iu(r,e=!1){var t=r.first;for(r.first=r.last=null;t!==null;){const a=t.ac;a!==null&&qa(()=>{a.abort(Ta)});var n=t.next;(t.f&Cn)!==0?t.parent=null:Or(t,e),t=n}}function Hf(r){for(var e=r.first;e!==null;){var t=e.next;(e.f&un)===0&&Or(e),e=t}}function Or(r,e=!0){var t=!1;(e||(r.f&Zc)!==0)&&r.nodes!==null&&r.nodes.end!==null&&(Cu(r.nodes.start,r.nodes.end),t=!0),Iu(r,e&&!t),ki(r,0),Mr(r,dn);var n=r.nodes&&r.nodes.t;if(n!==null)for(const i of n)i.stop();Su(r);var a=r.parent;a!==null&&a.first!==null&&Tu(r),r.next=r.prev=r.teardown=r.ctx=r.deps=r.fn=r.nodes=r.ac=null}function Cu(r,e){for(;r!==null;){var t=r===e?null:ko(r);r.remove(),r=t}}function Tu(r){var e=r.parent,t=r.prev,n=r.next;t!==null&&(t.next=n),n!==null&&(n.prev=t),e!==null&&(e.first===r&&(e.first=n),e.last===r&&(e.last=t))}function la(r,e,t=!0){var n=[];Du(r,n,!0);var a=()=>{t&&Or(r),e&&e()},i=n.length;if(i>0){var s=()=>--i||a();for(var c of n)c.out(s)}else a()}function Du(r,e,t){if((r.f&dt)===0){r.f^=dt;var n=r.nodes&&r.nodes.t;if(n!==null)for(const c of n)(c.is_global||t)&&e.push(c);for(var a=r.first;a!==null;){var i=a.next,s=(a.f&Ut)!==0||(a.f&un)!==0&&(r.f&Bt)!==0;Du(a,e,s?t:!1),a=i}}}function Us(r){Au(r,!0)}function Au(r,e){if((r.f&dt)!==0){r.f^=dt,(r.f&Ur)===0&&(Mr(r,Jr),_n(r));for(var t=r.first;t!==null;){var n=t.next,a=(t.f&Ut)!==0||(t.f&un)!==0;Au(t,a?e:!1),t=n}var i=r.nodes&&r.nodes.t;if(i!==null)for(const s of i)(s.is_global||e)&&s.in()}}function Fu(r,e){if(r.nodes)for(var t=r.nodes.start,n=r.nodes.end;t!==null;){var a=t===n?null:ko(t);e.append(t),t=a}}let ca=!1;function bi(r){ca=r}let zn=!1;function zu(r){zn=r}let Ke=null,Mt=!1;function Yr(r){Ke=r}let $e=null;function wt(r){$e=r}let Qr=null;function Mu(r){Ke!==null&&(Qr===null?Qr=[r]:Qr.push(r))}let $r=null,_t=0,Pt=null;function Wf(r){Pt=r}let qu=1,wo=0,ua=wo;function Ou(r){ua=r}function Lu(){return++qu}function La(r){var e=r.f;if((e&Jr)!==0)return!0;if(e&Rr&&(r.f&=-32769),(e&Rt)!==0){for(var t=r.deps,n=t.length,a=0;a<n;a++){var i=t[a];if(La(i)&&_u(i),i.wv>r.wv)return!0}(e&yt)!==0&&Vr===null&&Mr(r,Ur)}return!1}function Nu(r,e,t=!0){var n=r.reactions;if(n!==null&&!(Qr!=null&&Qr.includes(r)))for(var a=0;a<n.length;a++){var i=n[a];(i.f&Rr)!==0?Nu(i,e,!1):e===i&&(t?Mr(i,Jr):(i.f&Ur)!==0&&Mr(i,Rt),_n(i))}}function ju(r){var g;var e=$r,t=_t,n=Pt,a=Ke,i=Qr,s=lr,c=Mt,l=ua,u=r.f;$r=null,_t=0,Pt=null,Ke=(u&(un|Cn))===0?r:null,Qr=null,Aa(r.ctx),Mt=!1,ua=++wo,r.ac!==null&&(qa(()=>{r.ac.abort(Ta)}),r.ac=null);try{r.f|=As;var d=r.fn,_=d(),p=r.deps;if($r!==null){var f;if(ki(r,_t),p!==null&&_t>0)for(p.length=_t+$r.length,f=0;f<$r.length;f++)p[_t+f]=$r[f];else r.deps=p=$r;if(yi()&&(r.f&yt)!==0)for(f=_t;f<p.length;f++)((g=p[f]).reactions??(g.reactions=[])).push(r)}else p!==null&&_t<p.length&&(ki(r,_t),p.length=_t);if(Fa()&&Pt!==null&&!Mt&&p!==null&&(r.f&(Rr|Rt|Jr))===0)for(f=0;f<Pt.length;f++)Nu(Pt[f],r);return a!==null&&a!==r&&(wo++,Pt!==null&&(n===null?n=Pt:n.push(...Pt))),(r.f&Tn)!==0&&(r.f^=Tn),_}catch(b){return nu(b)}finally{r.f^=As,$r=e,_t=t,Pt=n,Ke=a,Qr=i,Aa(s),Mt=c,ua=l}}function Yf(r,e){let t=e.reactions;if(t!==null){var n=nf.call(t,r);if(n!==-1){var a=t.length-1;a===0?t=e.reactions=null:(t[n]=t[a],t.pop())}}if(t===null&&(e.f&Rr)!==0&&($r===null||!$r.includes(e))){var i=e;(i.f&yt)!==0&&(i.f^=yt,i.f&=-32769),qs(i),pu(i),ki(i,0)}}function ki(r,e){var t=r.deps;if(t!==null)for(var n=e;n<t.length;n++)Yf(r,t[n])}function Na(r){var e=r.f;if((e&dn)===0){Mr(r,Ur);var t=$e,n=ca;$e=r,ca=!0;try{(e&(Bt|Ts))!==0?Hf(r):Iu(r),Su(r);var a=ju(r);r.teardown=typeof a=="function"?a:null,r.wv=qu;var i;ra&&kf&&(r.f&Jr)!==0&&r.deps}finally{ca=n,$e=t}}}async function Bu(){await Promise.resolve(),Sf()}function o(r){var e=r.f,t=(e&Rr)!==0;if(Ke!==null&&!Mt){var n=$e!==null&&($e.f&dn)!==0;if(!n&&!(Qr!=null&&Qr.includes(r))){var a=Ke.deps;if((Ke.f&As)!==0)r.rv<wo&&(r.rv=wo,$r===null&&a!==null&&a[_t]===r?_t++:$r===null?$r=[r]:$r.includes(r)||$r.push(r));else{(Ke.deps??(Ke.deps=[])).push(r);var i=r.reactions;i===null?r.reactions=[Ke]:i.includes(Ke)||i.push(Ke)}}}if(zn&&Fn.has(r))return Fn.get(r);if(t){var s=r;if(zn){var c=s.v;return((s.f&Ur)===0&&s.reactions!==null||Uu(s))&&(c=Ns(s)),Fn.set(s,c),c}var l=(s.f&yt)===0&&!Mt&&Ke!==null&&(ca||(Ke.f&yt)!==0),u=s.deps===null;La(s)&&(l&&(s.f|=yt),_u(s)),l&&!u&&Ru(s)}if(Vr!=null&&Vr.has(r))return Vr.get(r);if((r.f&Tn)!==0)throw r.v;return r.v}function Ru(r){if(r.deps!==null){r.f|=yt;for(const e of r.deps)(e.reactions??(e.reactions=[])).push(r),(e.f&Rr)!==0&&(e.f&yt)===0&&Ru(e)}}function Uu(r){if(r.v===Tr)return!0;if(r.deps===null)return!1;for(const e of r.deps)if(Fn.has(e)||(e.f&Rr)!==0&&Uu(e))return!0;return!1}function Ve(r){var e=Mt;try{return Mt=!0,r()}finally{Mt=e}}function Gf(r,e){var t={};for(var n in r)e.includes(n)||(t[n]=r[n]);for(var a of Object.getOwnPropertySymbols(r))Object.propertyIsEnumerable.call(r,a)&&!e.includes(a)&&(t[a]=r[a]);return t}function We(r){if(!(typeof r!="object"||!r||r instanceof EventTarget)){if(Vt in r)Vs(r);else if(!Array.isArray(r))for(let e in r){const t=r[e];typeof t=="object"&&t&&Vt in t&&Vs(t)}}}function Vs(r,e=new Set){if(typeof r=="object"&&r!==null&&!(r instanceof EventTarget)&&!e.has(r)){e.add(r),r instanceof Date&&r.getTime();for(let n in r)try{Vs(r[n],e)}catch{}const t=Cs(r);if(t!==Object.prototype&&t!==Array.prototype&&t!==Map.prototype&&t!==Set.prototype&&t!==Date.prototype){const n=Yc(t);for(let a in n){const i=n[a].get;if(i)try{i.call(r)}catch{}}}}}const Vu=new Set,Hs=new Set;function Ws(r,e,t,n={}){function a(i){if(n.capture||Po.call(e,i),!i.cancelBubble)return qa(()=>t==null?void 0:t.call(this,i))}return r.startsWith("pointer")||r.startsWith("touch")||r==="wheel"?Dn(()=>{e.addEventListener(r,a,n)}):e.addEventListener(r,a,n),a}function Kf(r,e,t,n={}){var a=Ws(e,r,t,n);return()=>{r.removeEventListener(e,a,n)}}function Lr(r,e,t,n,a){var i={capture:n,passive:a},s=Ws(r,e,t,i);(e===document.body||e===window||e===document||e instanceof HTMLMediaElement)&&Oa(()=>{e.removeEventListener(r,s,i)})}function Yt(r){for(var e=0;e<r.length;e++)Vu.add(r[e]);for(var t of Hs)t(r)}let Hu=null;function Po(r){var y;var e=this,t=e.ownerDocument,n=r.type,a=((y=r.composedPath)==null?void 0:y.call(r))||[],i=a[0]||r.target;Hu=r;var s=0,c=Hu===r&&r.__root;if(c){var l=a.indexOf(c);if(l!==-1&&(e===document||e===window)){r.__root=e;return}var u=a.indexOf(e);if(u===-1)return;l<=u&&(s=l)}if(i=a[s]||r.target,i!==e){Wc(r,"currentTarget",{configurable:!0,get(){return i||t}});var d=Ke,_=$e;Yr(null),wt(null);try{for(var p,f=[];i!==null;){var g=i.assignedSlot||i.parentNode||i.host||null;try{var b=i["__"+n];b!=null&&(!i.disabled||r.target===i)&&b.call(i,r)}catch(h){p?f.push(h):p=h}if(r.cancelBubble||g===e||g===null)break;i=g}if(p){for(let h of f)queueMicrotask(()=>{throw h});throw p}}finally{r.__root=e,delete r.currentTarget,Yr(d),wt(_)}}}function Ys(r){var e=document.createElement("template");return e.innerHTML=r.replaceAll("<!>","<!---->"),e.content}function Mn(r,e){var t=$e;t.nodes===null&&(t.nodes={start:r,end:e,a:null,t:null})}function R(r,e){var t=(e&go)!==0,n=(e&li)!==0,a,i=!r.startsWith("<!>");return()=>{a===void 0&&(a=Ys(i?r:"<!>"+r),t||(a=pt(a)));var s=n||vu?document.importNode(a,!0):a.cloneNode(!0);if(t){var c=pt(s),l=s.lastChild;Mn(c,l)}else Mn(s,s);return s}}function Xf(r,e,t="svg"){var n=!r.startsWith("<!>"),a=(e&go)!==0,i=`<${t}>${n?r:"<!>"+r}</${t}>`,s;return()=>{if(!s){var c=Ys(i),l=pt(c);if(a)for(s=document.createDocumentFragment();pt(l);)s.appendChild(pt(l));else s=pt(l)}var u=s.cloneNode(!0);if(a){var d=pt(u),_=u.lastChild;Mn(d,_)}else Mn(u,u);return u}}function Dr(r,e){return Xf(r,e,"svg")}function Te(r=""){{var e=Wt(r+"");return Mn(e,e),e}}function Se(){var r=document.createDocumentFragment(),e=document.createComment(""),t=Wt();return r.append(e,t),Mn(e,t),r}function P(r,e){r!==null&&r.before(e)}function Zf(r){return r.endsWith("capture")&&r!=="gotpointercapture"&&r!=="lostpointercapture"}const Jf=["beforeinput","click","change","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"];function Qf(r){return Jf.includes(r)}const $f={formnovalidate:"formNoValidate",ismap:"isMap",nomodule:"noModule",playsinline:"playsInline",readonly:"readOnly",defaultvalue:"defaultValue",defaultchecked:"defaultChecked",srcobject:"srcObject",novalidate:"noValidate",allowfullscreen:"allowFullscreen",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback"};function em(r){return r=r.toLowerCase(),$f[r]??r}const rm=["touchstart","touchmove"];function tm(r){return rm.includes(r)}let wi=!0;function Pi(r){wi=r}function _e(r,e){var t=e==null?"":typeof e=="object"?e+"":e;t!==(r.__t??(r.__t=r.nodeValue))&&(r.__t=t,r.nodeValue=t+"")}function qn(r,e){return nm(r,e)}const ja=new Map;function nm(r,{target:e,anchor:t,props:n={},events:a,context:i,intro:s=!0}){qf();var c=new Set,l=_=>{for(var p=0;p<_.length;p++){var f=_[p];if(!c.has(f)){c.add(f);var g=tm(f);e.addEventListener(f,Po,{passive:g});var b=ja.get(f);b===void 0?(document.addEventListener(f,Po,{passive:g}),ja.set(f,1)):ja.set(f,b+1)}}};l(ui(Vu)),Hs.add(l);var u=void 0,d=Uf(()=>{var _=t??e.appendChild(Wt());return uu(_,{pending:()=>{}},p=>{if(i){he({});var f=lr;f.c=i}a&&(n.$$events=a),wi=s,u=r(p,n)||{},wi=!0,i&&ve()}),()=>{var g;for(var p of c){e.removeEventListener(p,Po);var f=ja.get(p);--f===0?(document.removeEventListener(p,Po),ja.delete(p)):ja.set(p,f)}Hs.delete(l),_!==t&&((g=_.parentNode)==null||g.removeChild(_))}});return Gs.set(u,d),u}let Gs=new WeakMap;function Ba(r,e){const t=Gs.get(r);return t?(Gs.delete(r),t(e)):Promise.resolve()}class xo{constructor(e,t=!0){ee(this,"anchor");Be(this,Nt,new Map);Be(this,sn,new Map);Be(this,ht,new Map);Be(this,Sa,new Set);Be(this,Qo,!0);Be(this,$o,()=>{var e=er;if(G(this,Nt).has(e)){var t=G(this,Nt).get(e),n=G(this,sn).get(t);if(n)Us(n),G(this,Sa).delete(t);else{var a=G(this,ht).get(t);a&&(G(this,sn).set(t,a.effect),G(this,ht).delete(t),a.fragment.lastChild.remove(),this.anchor.before(a.fragment),n=a.effect)}for(const[i,s]of G(this,Nt)){if(G(this,Nt).delete(i),i===e)break;const c=G(this,ht).get(s);c&&(Or(c.effect),G(this,ht).delete(s))}for(const[i,s]of G(this,sn)){if(i===t||G(this,Sa).has(i))continue;const c=()=>{if(Array.from(G(this,Nt).values()).includes(i)){var u=document.createDocumentFragment();Fu(s,u),u.append(Wt()),G(this,ht).set(i,{effect:s,fragment:u})}else Or(s);G(this,Sa).delete(i),G(this,sn).delete(i)};G(this,Qo)||!n?(G(this,Sa).add(i),la(s,c,!1)):c()}}});Be(this,ys,e=>{G(this,Nt).delete(e);const t=Array.from(G(this,Nt).values());for(const[n,a]of G(this,ht))t.includes(n)||(Or(a.effect),G(this,ht).delete(n))});this.anchor=e,Ne(this,Qo,t)}ensure(e,t){var n=er,a=ku();if(t&&!G(this,sn).has(e)&&!G(this,ht).has(e))if(a){var i=document.createDocumentFragment(),s=Wt();i.append(s),G(this,ht).set(e,{effect:nt(()=>t(s)),fragment:i})}else G(this,sn).set(e,nt(()=>t(this.anchor)));if(G(this,Nt).set(n,e),a){for(const[c,l]of G(this,sn))c===e?n.skipped_effects.delete(l):n.skipped_effects.add(l);for(const[c,l]of G(this,ht))c===e?n.skipped_effects.delete(l.effect):n.skipped_effects.add(l.effect);n.oncommit(G(this,$o)),n.ondiscard(G(this,ys))}else G(this,$o).call(this)}}Nt=new WeakMap,sn=new WeakMap,ht=new WeakMap,Sa=new WeakMap,Qo=new WeakMap,$o=new WeakMap,ys=new WeakMap;function Pr(r,e,...t){var n=new xo(r);sa(()=>{const a=e()??null;n.ensure(a,a&&(i=>a(i,...t)))},Ut)}function br(r){lr===null&&zs(),Da&&lr.l!==null?am(lr).m.push(r):ir(()=>{const e=Ve(r);if(typeof e=="function")return e})}function qt(r){lr===null&&zs(),br(()=>()=>Ve(r))}function am(r){var e=r.l;return e.u??(e.u={a:[],b:[],m:[]})}function W(r,e,t=!1){var n=new xo(r),a=t?Ut:0;function i(s,c){n.ensure(s,c)}sa(()=>{var s=!1;e((c,l=!0)=>{s=!0,i(l,c)}),s||i(!1,null)},a)}function Wu(r,e,t){var n=new xo(r),a=!Fa();sa(()=>{var i=e();a&&i!==null&&typeof i=="object"&&(i={}),n.ensure(i,t)})}function gn(r,e){return e}function om(r,e,t){for(var n=[],a=e.length,i,s=e.length,c=0;c<a;c++){let _=e[c];la(_,()=>{if(i){if(i.pending.delete(_),i.done.add(_),i.pending.size===0){var p=r.outrogroups;Ks(ui(i.done)),p.delete(i),p.size===0&&(r.outrogroups=null)}}else s-=1},!1)}if(s===0){var l=n.length===0&&t!==null;if(l){var u=t,d=u.parentNode;Of(d),d.append(u),r.items.clear()}Ks(e,!l)}else i={pending:new Set(e),done:new Set},(r.outrogroups??(r.outrogroups=new Set)).add(i)}function Ks(r,e=!0){for(var t=0;t<r.length;t++)Or(r[t],e)}var Yu;function Gt(r,e,t,n,a,i=null){var s=r,c=new Map,l=(e&wr)!==0;if(l){var u=r;s=u.appendChild(Wt())}var d=null,_=An(()=>{var h=t();return ci(h)?h:h==null?[]:ui(h)}),p,f=!0;function g(){y.fallback=d,im(y,p,s,e,n),d!==null&&(p.length===0?(d.f&pn)===0?Us(d):(d.f^=pn,Eo(d,null,s)):la(d,()=>{d=null}))}var b=sa(()=>{p=o(_);for(var h=p.length,k=new Set,x=er,v=ku(),w=0;w<h;w+=1){var E=p[w],I=n(E,w),T=f?null:c.get(I);T?(T.v&&Ma(T.v,E),T.i&&Ma(T.i,w),v&&x.skipped_effects.delete(T.e)):(T=sm(c,f?s:Yu??(Yu=Wt()),E,I,w,a,e,t),f||(T.e.f|=pn),c.set(I,T)),k.add(I)}if(h===0&&i&&!d&&(f?d=nt(()=>i(s)):(d=nt(()=>i(Yu??(Yu=Wt()))),d.f|=pn)),!f)if(v){for(const[S,A]of c)k.has(S)||x.skipped_effects.add(A.e);x.oncommit(g),x.ondiscard(()=>{})}else g();o(_)}),y={effect:b,items:c,outrogroups:null,fallback:d};f=!1}function im(r,e,t,n,a){var A,C,N,q,j,Z,O,z,M;var i=(n&Br)!==0,s=e.length,c=r.items,l=r.effect.first,u,d=null,_,p=[],f=[],g,b,y,h;if(i)for(h=0;h<s;h+=1)g=e[h],b=a(g,h),y=c.get(b).e,(y.f&pn)===0&&((C=(A=y.nodes)==null?void 0:A.a)==null||C.measure(),(_??(_=new Set)).add(y));for(h=0;h<s;h+=1){if(g=e[h],b=a(g,h),y=c.get(b).e,r.outrogroups!==null)for(const H of r.outrogroups)H.pending.delete(y),H.done.delete(y);if((y.f&pn)!==0)if(y.f^=pn,y===l)Eo(y,null,t);else{var k=d?d.next:l;y===r.effect.last&&(r.effect.last=y.prev),y.prev&&(y.prev.next=y.next),y.next&&(y.next.prev=y.prev),On(r,d,y),On(r,y,k),Eo(y,k,t),d=y,p=[],f=[],l=d.next;continue}if((y.f&dt)!==0&&(Us(y),i&&((q=(N=y.nodes)==null?void 0:N.a)==null||q.unfix(),(_??(_=new Set)).delete(y))),y!==l){if(u!==void 0&&u.has(y)){if(p.length<f.length){var x=f[0],v;d=x.prev;var w=p[0],E=p[p.length-1];for(v=0;v<p.length;v+=1)Eo(p[v],x,t);for(v=0;v<f.length;v+=1)u.delete(f[v]);On(r,w.prev,E.next),On(r,d,w),On(r,E,x),l=x,d=E,h-=1,p=[],f=[]}else u.delete(y),Eo(y,l,t),On(r,y.prev,y.next),On(r,y,d===null?r.effect.first:d.next),On(r,d,y),d=y;continue}for(p=[],f=[];l!==null&&l!==y;)(u??(u=new Set)).add(l),f.push(l),l=l.next;if(l===null)continue}(y.f&pn)===0&&p.push(y),d=y,l=y.next}if(r.outrogroups!==null){for(const H of r.outrogroups)H.pending.size===0&&(Ks(ui(H.done)),(j=r.outrogroups)==null||j.delete(H));r.outrogroups.size===0&&(r.outrogroups=null)}if(l!==null||u!==void 0){var I=[];if(u!==void 0)for(y of u)(y.f&dt)===0&&I.push(y);for(;l!==null;)(l.f&dt)===0&&l!==r.fallback&&I.push(l),l=l.next;var T=I.length;if(T>0){var S=(n&wr)!==0&&s===0?t:null;if(i){for(h=0;h<T;h+=1)(O=(Z=I[h].nodes)==null?void 0:Z.a)==null||O.measure();for(h=0;h<T;h+=1)(M=(z=I[h].nodes)==null?void 0:z.a)==null||M.fix()}om(r,I,S)}}i&&Dn(()=>{var H,L;if(_!==void 0)for(y of _)(L=(H=y.nodes)==null?void 0:H.a)==null||L.apply()})}function sm(r,e,t,n,a,i,s,c){var l=(s&Qe)!==0?(s&jt)===0?cr(t,!1,!1):aa(t):null,u=(s&ct)!==0?aa(a):null;return{v:l,i:u,e:nt(()=>(i(e,l??t,u??a,c),()=>{r.delete(n)}))}}function Eo(r,e,t){if(r.nodes)for(var n=r.nodes.start,a=r.nodes.end,i=e&&(e.f&pn)===0?e.nodes.start:t;n!==null;){var s=ko(n);if(i.before(n),n===a)return;n=s}}function On(r,e,t){e===null?r.effect.first=t:e.next=t,t===null?r.effect.last=e:t.prev=e}function fn(r,e,t=!1,n=!1,a=!1){var i=r,s="";Y(()=>{var c=$e;if(s!==(s=e()??"")&&(c.nodes!==null&&(Cu(c.nodes.start,c.nodes.end),c.nodes=null),s!=="")){var l=s+"";t?l=`<svg>${l}</svg>`:n&&(l=`<math>${l}</math>`);var u=Ys(l);if((t||n)&&(u=pt(u)),Mn(pt(u),u.lastChild),t||n)for(;pt(u);)i.before(pt(u));else i.before(u)}})}function lm(r,e,t){var n=new xo(r);sa(()=>{var a=e()??null;n.ensure(a,a&&(i=>t(i,a)))},Ut)}const cm=()=>performance.now(),mn={tick:r=>requestAnimationFrame(r),now:()=>cm(),tasks:new Set};function Gu(){const r=mn.now();mn.tasks.forEach(e=>{e.c(r)||(mn.tasks.delete(e),e.f())}),mn.tasks.size!==0&&mn.tick(Gu)}function um(r){let e;return mn.tasks.size===0&&mn.tick(Gu),{promise:new Promise(t=>{mn.tasks.add(e={c:r,f:t})}),abort(){mn.tasks.delete(e)}}}function xi(r,e){qa(()=>{r.dispatchEvent(new CustomEvent(e))})}function dm(r){if(r==="float")return"cssFloat";if(r==="offset")return"cssOffset";if(r.startsWith("--"))return r;const e=r.split("-");return e.length===1?e[0]:e[0]+e.slice(1).map(t=>t[0].toUpperCase()+t.slice(1)).join("")}function Ku(r){const e={},t=r.split(";");for(const n of t){const[a,i]=n.split(":");if(!a||i===void 0)break;const s=dm(a.trim());e[s]=i.trim()}return e}const pm=r=>r;function Xu(r,e,t,n){var x;var a=(r&po)!==0,i=(r&vt)!==0,s=a&&i,c=(r&_o)!==0,l=s?"both":a?"in":"out",u,d=e.inert,_=e.style.overflow,p,f;function g(){return qa(()=>u??(u=t()(e,(n==null?void 0:n())??{},{direction:l})))}var b={is_global:c,in(){var v;if(e.inert=d,!a){f==null||f.abort(),(v=f==null?void 0:f.reset)==null||v.call(f);return}i||p==null||p.abort(),xi(e,"introstart"),p=Xs(e,g(),f,1,()=>{xi(e,"introend"),p==null||p.abort(),p=u=void 0,e.style.overflow=_})},out(v){if(!i){v==null||v(),u=void 0;return}e.inert=!0,xi(e,"outrostart"),f=Xs(e,g(),p,0,()=>{xi(e,"outroend"),v==null||v()})},stop:()=>{p==null||p.abort(),f==null||f.abort()}},y=$e;if(((x=y.nodes).t??(x.t=[])).push(b),a&&wi){var h=c;if(!h){for(var k=y.parent;k&&(k.f&Ut)!==0;)for(;(k=k.parent)&&(k.f&Bt)===0;);h=!k||(k.f&gi)!==0}h&&oa(()=>{Ve(()=>b.in())})}}function Xs(r,e,t,n,a){var i=n===1;if(Ca(e)){var s,c=!1;return Dn(()=>{if(!c){var y=e({direction:i?"in":"out"});s=Xs(r,y,t,n,a)}}),{abort:()=>{c=!0,s==null||s.abort()},deactivate:()=>s.deactivate(),reset:()=>s.reset(),t:()=>s.t()}}if(t==null||t.deactivate(),!(e!=null&&e.duration))return a(),{abort:rr,deactivate:rr,reset:rr,t:()=>n};const{delay:l=0,css:u,tick:d,easing:_=pm}=e;var p=[];if(i&&t===void 0&&(d&&d(0,1),u)){var f=Ku(u(0,1));p.push(f,f)}var g=()=>1-n,b=r.animate(p,{duration:l,fill:"forwards"});return b.onfinish=()=>{b.cancel();var y=(t==null?void 0:t.t())??1-n;t==null||t.abort();var h=n-y,k=e.duration*Math.abs(h),x=[];if(k>0){var v=!1;if(u)for(var w=Math.ceil(k/16.666666666666668),E=0;E<=w;E+=1){var I=y+h*_(E/w),T=Ku(u(I,1-I));x.push(T),v||(v=T.overflow==="hidden")}v&&(r.style.overflow="hidden"),g=()=>{var S=b.currentTime;return y+h*_(S/k)},d&&um(()=>{if(b.playState!=="running")return!1;var S=g();return d(S,1-S),!0})}b=r.animate(x,{duration:k,fill:"forwards"}),b.onfinish=()=>{g=()=>n,d==null||d(n,1-n),a()}},{abort:()=>{b&&(b.cancel(),b.effect=null,b.onfinish=rr)},deactivate:()=>{a=rr},reset:()=>{n===0&&(d==null||d(1,0))},t:()=>g()}}function Zs(r,e,t,n,a,i){var s=null,c=r,l=new xo(c,!1);sa(()=>{const u=e()||null;var d=u==="svg"?fo:null;if(u===null){l.ensure(null,null),Pi(!0);return}return l.ensure(u,_=>{if(u){if(s=d?document.createElementNS(d,u):document.createElement(u),Mn(s,s),n){var p=s.appendChild(Wt());n(s,p)}$e.nodes.end=s,_.before(s)}}),Pi(!0),()=>{u&&Pi(!1)}},Ut),Oa(()=>{Pi(!0)})}function we(r,e){oa(()=>{var t=r.getRootNode(),n=t.host?t:t.head??t.ownerDocument.head;if(!n.querySelector("#"+e.hash)){const a=document.createElement("style");a.id=e.hash,a.textContent=e.code,n.appendChild(a)}})}function _m(r,e,t){oa(()=>{var n=Ve(()=>e(r,t==null?void 0:t())||{});if(t&&(n!=null&&n.update)){var a=!1,i={};ia(()=>{var s=t();We(s),a&&Ms(i,s)&&(i=s,n.update(s))}),a=!0}if(n!=null&&n.destroy)return()=>n.destroy()})}function gm(r,e){var t=void 0,n;Eu(()=>{t!==(t=e())&&(n&&(Or(n),n=null),t&&(n=nt(()=>{oa(()=>t(r))})))})}function Zu(r){var e,t,n="";if(typeof r=="string"||typeof r=="number")n+=r;else if(typeof r=="object")if(Array.isArray(r)){var a=r.length;for(e=0;e<a;e++)r[e]&&(t=Zu(r[e]))&&(n&&(n+=" "),n+=t)}else for(t in r)r[t]&&(n&&(n+=" "),n+=t);return n}function fm(){for(var r,e,t=0,n="",a=arguments.length;t<a;t++)(r=arguments[t])&&(e=Zu(r))&&(n&&(n+=" "),n+=e);return n}function da(r){return typeof r=="object"?fm(r):r??""}const Ju=[...`
2
- \r\f \v\uFEFF`];function mm(r,e,t){var n=r==null?"":""+r;if(e&&(n=n?n+" "+e:e),t){for(var a in t)if(t[a])n=n?n+" "+a:a;else if(n.length)for(var i=a.length,s=0;(s=n.indexOf(a,s))>=0;){var c=s+i;(s===0||Ju.includes(n[s-1]))&&(c===n.length||Ju.includes(n[c]))?n=(s===0?"":n.substring(0,s))+n.substring(c+1):s=c}}return n===""?null:n}function Qu(r,e=!1){var t=e?" !important;":";",n="";for(var a in r){var i=r[a];i!=null&&i!==""&&(n+=" "+a+": "+i+t)}return n}function Js(r){return r[0]!=="-"||r[1]!=="-"?r.toLowerCase():r}function hm(r,e){if(e){var t="",n,a;if(Array.isArray(e)?(n=e[0],a=e[1]):n=e,r){r=String(r).replaceAll(/\s*\/\*.*?\*\/\s*/g,"").trim();var i=!1,s=0,c=!1,l=[];n&&l.push(...Object.keys(n).map(Js)),a&&l.push(...Object.keys(a).map(Js));var u=0,d=-1;const b=r.length;for(var _=0;_<b;_++){var p=r[_];if(c?p==="/"&&r[_-1]==="*"&&(c=!1):i?i===p&&(i=!1):p==="/"&&r[_+1]==="*"?c=!0:p==='"'||p==="'"?i=p:p==="("?s++:p===")"&&s--,!c&&i===!1&&s===0){if(p===":"&&d===-1)d=_;else if(p===";"||_===b-1){if(d!==-1){var f=Js(r.substring(u,d).trim());if(!l.includes(f)){p!==";"&&_++;var g=r.substring(u,_).trim();t+=" "+g+";"}}u=_+1,d=-1}}}}return n&&(t+=Qu(n)),a&&(t+=Qu(a,!0)),t=t.trim(),t===""?null:t}return r==null?null:String(r)}function ur(r,e,t,n,a,i){var s=r.__className;if(s!==t||s===void 0){var c=mm(t,n,i);c==null?r.removeAttribute("class"):e?r.className=c:r.setAttribute("class",c),r.__className=t}else if(i&&a!==i)for(var l in i){var u=!!i[l];(a==null||u!==!!a[l])&&r.classList.toggle(l,u)}return i}function Qs(r,e={},t,n){for(var a in t){var i=t[a];e[a]!==i&&(t[a]==null?r.style.removeProperty(a):r.style.setProperty(a,i,n))}}function Le(r,e,t,n){var a=r.__style;if(a!==e){var i=hm(e,n);i==null?r.removeAttribute("style"):r.style.cssText=i,r.__style=e}else n&&(Array.isArray(n)?(Qs(r,t==null?void 0:t[0],n[0]),Qs(r,t==null?void 0:t[1],n[1],"important")):Qs(r,t,n));return n}function $s(r,e,t=!1){if(r.multiple){if(e==null)return;if(!ci(e))return yf();for(var n of r.options)n.selected=e.includes($u(n));return}for(n of r.options){var a=$u(n);if(Mf(a,e)){n.selected=!0;return}}(!t||e!==void 0)&&(r.selectedIndex=-1)}function vm(r){var e=new MutationObserver(()=>{$s(r,r.__value)});e.observe(r,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["value"]}),Oa(()=>{e.disconnect()})}function $u(r){return"__value"in r?r.__value:r.value}const So=Symbol("class"),Io=Symbol("style"),ed=Symbol("is custom element"),rd=Symbol("is html");function ym(r,e){var t=rl(r);t.checked!==(t.checked=e??void 0)&&(r.checked=e)}function bm(r,e){e?r.hasAttribute("selected")||r.setAttribute("selected",""):r.removeAttribute("selected")}function ke(r,e,t,n){var a=rl(r);a[e]!==(a[e]=t)&&(e==="loading"&&(r[lf]=t),t==null?r.removeAttribute(e):typeof t!="string"&&nd(r).includes(e)?r[e]=t:r.setAttribute(e,t))}function km(r,e,t,n,a=!1,i=!1){var s=rl(r),c=s[ed],l=!s[rd],u=e||{},d=r.tagName==="OPTION";for(var _ in e)_ in t||(t[_]=null);t.class?t.class=da(t.class):(n||t[So])&&(t.class=null),t[Io]&&(t.style??(t.style=null));var p=nd(r);for(const x in t){let v=t[x];if(d&&x==="value"&&v==null){r.value=r.__value="",u[x]=v;continue}if(x==="class"){var f=r.namespaceURI==="http://www.w3.org/1999/xhtml";ur(r,f,v,n,e==null?void 0:e[So],t[So]),u[x]=v,u[So]=t[So];continue}if(x==="style"){Le(r,v,e==null?void 0:e[Io],t[Io]),u[x]=v,u[Io]=t[Io];continue}var g=u[x];if(!(v===g&&!(v===void 0&&r.hasAttribute(x)))){u[x]=v;var b=x[0]+x[1];if(b!=="$$")if(b==="on"){const w={},E="$$"+x;let I=x.slice(2);var y=Qf(I);if(Zf(I)&&(I=I.slice(0,-7),w.capture=!0),!y&&g){if(v!=null)continue;r.removeEventListener(I,u[E],w),u[E]=null}if(v!=null)if(y)r[`__${I}`]=v,Yt([I]);else{let T=function(S){u[x].call(this,S)};u[E]=Ws(I,r,T,w)}else y&&(r[`__${I}`]=void 0)}else if(x==="style")ke(r,x,v);else if(x==="autofocus")Lf(r,!!v);else if(!c&&(x==="__value"||x==="value"&&v!=null))r.value=r.__value=v;else if(x==="selected"&&d)bm(r,v);else{var h=x;l||(h=em(h));var k=h==="defaultValue"||h==="defaultChecked";if(v==null&&!c&&!k)if(s[x]=null,h==="value"||h==="checked"){let w=r;const E=e===void 0;if(h==="value"){let I=w.defaultValue;w.removeAttribute(h),w.defaultValue=I,w.value=w.__value=E?I:null}else{let I=w.defaultChecked;w.removeAttribute(h),w.defaultChecked=I,w.checked=E?I:!1}}else r.removeAttribute(x);else k||p.includes(h)&&(c||typeof v!="string")?(r[h]=v,h in s&&(s[h]=Tr)):typeof v!="function"&&ke(r,h,v)}}}return u}function el(r,e,t=[],n=[],a=[],i,s=!1,c=!1){du(a,t,n,l=>{var u=void 0,d={},_=r.nodeName==="SELECT",p=!1;if(Eu(()=>{var g=e(...l.map(o)),b=km(r,u,g,i,s,c);p&&_&&"value"in g&&$s(r,g.value);for(let h of Object.getOwnPropertySymbols(d))g[h]||Or(d[h]);for(let h of Object.getOwnPropertySymbols(g)){var y=g[h];h.description===Zr&&(!u||y!==u[h])&&(d[h]&&Or(d[h]),d[h]=nt(()=>gm(r,()=>y))),b[h]=y}u=b}),_){var f=r;oa(()=>{$s(f,u.value,!0),vm(f)})}p=!0})}function rl(r){return r.__attributes??(r.__attributes={[ed]:r.nodeName.includes("-"),[rd]:r.namespaceURI===ut})}var td=new Map;function nd(r){var e=r.getAttribute("is")||r.nodeName,t=td.get(e);if(t)return t;td.set(e,t=[]);for(var n,a=r,i=Element.prototype;i!==a;){n=Yc(a);for(var s in n)n[s].set&&t.push(s);a=Cs(a)}return t}function wm(r,e,t=e){var n=new WeakSet;jf(r,"input",async a=>{var i=a?r.defaultValue:r.value;if(i=tl(r)?nl(i):i,t(i),er!==null&&n.add(er),await Bu(),i!==(i=e())){var s=r.selectionStart,c=r.selectionEnd,l=r.value.length;if(r.value=i??"",c!==null){var u=r.value.length;s===c&&c===l&&u>l?(r.selectionStart=u,r.selectionEnd=u):(r.selectionStart=s,r.selectionEnd=Math.min(c,u))}}}),Ve(e)==null&&r.value&&(t(tl(r)?nl(r.value):r.value),er!==null&&n.add(er)),ia(()=>{var a=e();if(r===document.activeElement){var i=mi??er;if(n.has(i))return}tl(r)&&a===nl(r.value)||r.type==="date"&&!a&&!r.value||a!==r.value&&(r.value=a??"")})}function tl(r){var e=r.type;return e==="number"||e==="range"}function nl(r){return r===""?null:+r}const ks=class ks{constructor(e){Be(this,bs);Be(this,Jn,new WeakMap);Be(this,ao);Be(this,ei);Ne(this,ei,e)}observe(e,t){var n=G(this,Jn).get(e)||new Set;return n.add(t),G(this,Jn).set(e,n),_r(this,bs,tf).call(this).observe(e,G(this,ei)),()=>{var a=G(this,Jn).get(e);a.delete(t),a.size===0&&(G(this,Jn).delete(e),G(this,ao).unobserve(e))}}};Jn=new WeakMap,ao=new WeakMap,ei=new WeakMap,bs=new WeakSet,tf=function(){return G(this,ao)??Ne(this,ao,new ResizeObserver(e=>{for(var t of e){ks.entries.set(t.target,t);for(var n of G(this,Jn).get(t.target)||[])n(t)}}))},ee(ks,"entries",new WeakMap);let Ei=ks;var Pm=new Ei({box:"content-box"}),xm=new Ei({box:"border-box"});function ad(r,e,t){var n=Pm,a=n.observe(r,i=>t(i[e]));Oa(a)}function Co(r,e,t){var n=xm.observe(r,()=>t(r[e]));oa(()=>(Ve(()=>t(r[e])),n))}function od(r,e){return r===e||(r==null?void 0:r[Vt])===e}function pa(r={},e,t,n){return oa(()=>{var a,i;return ia(()=>{a=i,i=[],Ve(()=>{r!==t(...i)&&(e(r,...i),a&&od(t(...a),r)&&e(null,...a))})}),()=>{Dn(()=>{i&&od(t(...i),r)&&e(null,...i)})}}),r}function Ln(r=!1){const e=lr,t=e.l.u;if(!t)return;let n=()=>We(e.s);if(r){let a=0,i={};const s=yo(()=>{let c=!1;const l=e.s;for(const u in l)l[u]!==i[u]&&(i[u]=l[u],c=!0);return c&&a++,a});n=()=>o(s)}t.b.length&&Bs(()=>{id(e,n),di(t.b)}),ir(()=>{const a=Ve(()=>t.m.map(sf));return()=>{for(const i of a)typeof i=="function"&&i()}}),t.a.length&&ir(()=>{id(e,n),di(t.a)})}function id(r,e){if(r.l.s)for(const t of r.l.s)o(t);e()}function sd(r,e){var i;var t=(i=r.$$events)==null?void 0:i[e.type],n=ci(t)?t.slice():t==null?[]:[t];for(var a of n)a.call(this,e)}function al(r,e,t){if(r==null)return e(void 0),t&&t(void 0),rr;const n=Ve(()=>r.subscribe(e,t));return n.unsubscribe?()=>n.unsubscribe():n}const Ra=[];function at(r,e){return{subscribe:yr(r,e).subscribe}}function yr(r,e=rr){let t=null;const n=new Set;function a(c){if(Ms(r,c)&&(r=c,t)){const l=!Ra.length;for(const u of n)u[1](),Ra.push(u,r);if(l){for(let u=0;u<Ra.length;u+=2)Ra[u][0](Ra[u+1]);Ra.length=0}}}function i(c){a(c(r))}function s(c,l=rr){const u=[c,l];return n.add(u),n.size===1&&(t=e(a,i)||rr),c(r),()=>{n.delete(u),n.size===0&&t&&(t(),t=null)}}return{set:a,update:i,subscribe:s}}function Ot(r,e,t){const n=!Array.isArray(r),a=n?[r]:r;if(!a.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const i=e.length<2;return at(t,(s,c)=>{let l=!1;const u=[];let d=0,_=rr;const p=()=>{if(d)return;_();const g=e(n?u[0]:u,s,c);i?s(g):_=typeof g=="function"?g:rr},f=a.map((g,b)=>al(g,y=>{u[b]=y,d&=~(1<<b),l&&p()},()=>{d|=1<<b}));return l=!0,p(),function(){di(f),_(),l=!1}})}function To(r){let e;return al(r,t=>e=t)(),e}let Si=!1,ol=Symbol();function Ue(r,e,t){const n=t[e]??(t[e]={store:null,source:cr(void 0),unsubscribe:rr});if(n.store!==r&&!(ol in t))if(n.unsubscribe(),n.store=r??null,r==null)n.source.v=void 0,n.unsubscribe=rr;else{var a=!0;n.unsubscribe=al(r,i=>{a?n.source.v=i:F(n.source,i)}),a=!1}return r&&ol in t?To(r):o(n.source)}function Ii(r,e){return r.set(e),e}function Je(){const r={};function e(){Oa(()=>{for(var t in r)r[t].unsubscribe();Wc(r,ol,{enumerable:!1,value:!0})})}return[r,e]}function Em(r){var e=Si;try{return Si=!1,[r(),Si]}finally{Si=e}}const Sm={get(r,e){if(!r.exclude.includes(e))return r.props[e]},set(r,e){return!1},getOwnPropertyDescriptor(r,e){if(!r.exclude.includes(e)&&e in r.props)return{enumerable:!0,configurable:!0,value:r.props[e]}},has(r,e){return r.exclude.includes(e)?!1:e in r.props},ownKeys(r){return Reflect.ownKeys(r.props).filter(e=>!r.exclude.includes(e))}};function Sr(r,e,t){return new Proxy({props:r,exclude:e},Sm)}const Im={get(r,e){let t=r.props.length;for(;t--;){let n=r.props[t];if(Ca(n)&&(n=n()),typeof n=="object"&&n!==null&&e in n)return n[e]}},set(r,e,t){let n=r.props.length;for(;n--;){let a=r.props[n];Ca(a)&&(a=a());const i=In(a,e);if(i&&i.set)return i.set(t),!0}return!1},getOwnPropertyDescriptor(r,e){let t=r.props.length;for(;t--;){let n=r.props[t];if(Ca(n)&&(n=n()),typeof n=="object"&&n!==null&&e in n){const a=In(n,e);return a&&!a.configurable&&(a.configurable=!0),a}}},has(r,e){if(e===Vt||e===Qc)return!1;for(let t of r.props)if(Ca(t)&&(t=t()),t!=null&&e in t)return!0;return!1},ownKeys(r){const e=[];for(let t of r.props)if(Ca(t)&&(t=t()),!!t){for(const n in t)e.includes(n)||e.push(n);for(const n of Object.getOwnPropertySymbols(t))e.includes(n)||e.push(n)}return e}};function gr(...r){return new Proxy({props:r},Im)}function J(r,e,t,n){var x;var a=!Da||(t&si)!==0,i=(t&uo)!==0,s=(t&sr)!==0,c=n,l=!0,u=()=>(l&&(l=!1,c=s?Ve(n):n),c),d;if(i){var _=Vt in r||Qc in r;d=((x=In(r,e))==null?void 0:x.set)??(_&&e in r?v=>r[e]=v:void 0)}var p,f=!1;i?[p,f]=Em(()=>r[e]):p=r[e],p===void 0&&n!==void 0&&(p=u(),d&&(a&&gf(),d(p)));var g;if(a?g=()=>{var v=r[e];return v===void 0?u():(l=!0,v)}:g=()=>{var v=r[e];return v!==void 0&&(c=void 0),v===void 0?c:v},a&&(t&ea)===0)return g;if(d){var b=r.$$legacy;return function(v,w){return arguments.length>0?((!a||!w||b||f)&&d(w?g():v),v):g()}}var y=!1,h=((t&tt)!==0?yo:An)(()=>(y=!1,g()));i&&o(h);var k=$e;return function(v,w){if(arguments.length>0){const E=w?o(h):a&&i?nr(v):v;return F(h,E),y=!0,c!==void 0&&(c=E),v}return zn&&y||(k.f&dn)!==0?h.v:o(h)}}var Me=(r=>(r[r.UnknownError=0]="UnknownError",r[r.UserCancelledError=1]="UserCancelledError",r[r.StoreProblemError=2]="StoreProblemError",r[r.PurchaseNotAllowedError=3]="PurchaseNotAllowedError",r[r.PurchaseInvalidError=4]="PurchaseInvalidError",r[r.ProductNotAvailableForPurchaseError=5]="ProductNotAvailableForPurchaseError",r[r.ProductAlreadyPurchasedError=6]="ProductAlreadyPurchasedError",r[r.ReceiptAlreadyInUseError=7]="ReceiptAlreadyInUseError",r[r.InvalidReceiptError=8]="InvalidReceiptError",r[r.MissingReceiptFileError=9]="MissingReceiptFileError",r[r.NetworkError=10]="NetworkError",r[r.InvalidCredentialsError=11]="InvalidCredentialsError",r[r.UnexpectedBackendResponseError=12]="UnexpectedBackendResponseError",r[r.InvalidAppUserIdError=14]="InvalidAppUserIdError",r[r.OperationAlreadyInProgressError=15]="OperationAlreadyInProgressError",r[r.UnknownBackendError=16]="UnknownBackendError",r[r.InvalidAppleSubscriptionKeyError=17]="InvalidAppleSubscriptionKeyError",r[r.IneligibleError=18]="IneligibleError",r[r.InsufficientPermissionsError=19]="InsufficientPermissionsError",r[r.PaymentPendingError=20]="PaymentPendingError",r[r.InvalidSubscriberAttributesError=21]="InvalidSubscriberAttributesError",r[r.LogOutWithAnonymousUserError=22]="LogOutWithAnonymousUserError",r[r.ConfigurationError=23]="ConfigurationError",r[r.UnsupportedError=24]="UnsupportedError",r[r.EmptySubscriberAttributesError=25]="EmptySubscriberAttributesError",r[r.CustomerInfoError=28]="CustomerInfoError",r[r.SignatureVerificationError=36]="SignatureVerificationError",r[r.InvalidEmailError=38]="InvalidEmailError",r[r.TestStoreSimulatedPurchaseError=42]="TestStoreSimulatedPurchaseError",r))(Me||{});function Cm(r){switch(r){case 0:return"Unknown error.";case 1:return"Purchase was cancelled.";case 2:return"There was a problem with the store.";case 3:return"The device or user is not allowed to make the purchase.";case 4:return"One or more of the arguments provided are invalid.";case 5:return"The product is not available for purchase.";case 6:return"This product is already active for the user.";case 7:return"There is already another active subscriber using the same receipt.";case 8:return"The receipt is not valid.";case 9:return"The receipt is missing.";case 10:return"Error performing request. Please check your network connection and try again.";case 11:return"There was a credentials issue. Check the underlying error for more details.";case 12:return"Received unexpected response from the backend.";case 14:return"The app user ID is not valid.";case 15:return"The operation is already in progress.";case 16:return"There was an unknown backend error.";case 17:return"Apple Subscription Key is invalid or not present. In order to provide subscription offers, you must first generate a subscription key. Please see https://docs.revenuecat.com/docs/ios-subscription-offers for more info.";case 18:return"The User is ineligible for that action.";case 19:return"App does not have sufficient permissions to make purchases.";case 20:return"The payment is pending.";case 21:return"One or more of the attributes sent could not be saved.";case 22:return"Called logOut but the current user is anonymous.";case 23:return"There is an issue with your configuration. Check the underlying error for more details.";case 24:return"There was a problem with the operation. Looks like we don't support that yet. Check the underlying error for more details.";case 25:return"A request for subscriber attributes returned none.";case 28:return"There was a problem related to the customer info.";case 36:return"Request failed signature verification. Please see https://rev.cat/trusted-entitlements for more info.";case 38:return"Email is not valid. Please provide a valid email address.";case 42:return"Purchase failure simulated successfully in Test Store."}}class Ua{static getPublicMessage(e){return Cm(e)}static getErrorCodeForBackendErrorCode(e){switch(e){case 7101:case 7773:case 7898:case 7899:case 7900:case 7901:return Me.StoreProblemError;case 7102:return Me.ReceiptAlreadyInUseError;case 7103:return Me.InvalidReceiptError;case 7107:case 7224:case 7225:case 7967:return Me.InvalidCredentialsError;case 7105:case 7106:case 7814:case 7877:case 7878:return Me.PurchaseInvalidError;case 7772:return Me.ProductAlreadyPurchasedError;case 7220:return Me.InvalidAppUserIdError;case 7259:return Me.CustomerInfoError;case 7229:return Me.StoreProblemError;case 7230:case 7e3:return Me.ConfigurationError;case 7231:return Me.StoreProblemError;case 7232:return Me.IneligibleError;case 7263:case 7264:return Me.InvalidSubscriberAttributesError;case 7104:case 7234:case 7226:case 7110:return Me.UnexpectedBackendResponseError;case 7662:return Me.UnsupportedError;case 7012:case 7834:case 7879:return Me.InvalidEmailError}}static convertCodeToBackendErrorCode(e){return e in hn?e:null}static convertPurchaseFlowErrorCodeToErrorCode(e){switch(e){case ye.ErrorSettingUpPurchase:return Me.StoreProblemError;case ye.ErrorChargingPayment:return Me.PaymentPendingError;case ye.NetworkError:return Me.NetworkError;case ye.MissingEmailError:return Me.PurchaseInvalidError;case ye.AlreadyPurchasedError:return Me.ProductAlreadyPurchasedError;case ye.InvalidPaddleAPIKeyError:return Me.InvalidCredentialsError;default:return Me.UnknownError}}}var hn=(r=>(r[r.BackendInvalidPlatform=7e3]="BackendInvalidPlatform",r[r.BackendInvalidEmail=7012]="BackendInvalidEmail",r[r.BackendStoreProblem=7101]="BackendStoreProblem",r[r.BackendCannotTransferPurchase=7102]="BackendCannotTransferPurchase",r[r.BackendInvalidReceiptToken=7103]="BackendInvalidReceiptToken",r[r.BackendInvalidAppStoreSharedSecret=7104]="BackendInvalidAppStoreSharedSecret",r[r.BackendInvalidPaymentModeOrIntroPriceNotProvided=7105]="BackendInvalidPaymentModeOrIntroPriceNotProvided",r[r.BackendProductIdForGoogleReceiptNotProvided=7106]="BackendProductIdForGoogleReceiptNotProvided",r[r.BackendInvalidPlayStoreCredentials=7107]="BackendInvalidPlayStoreCredentials",r[r.BackendInternalServerError=7110]="BackendInternalServerError",r[r.BackendEmptyAppUserId=7220]="BackendEmptyAppUserId",r[r.BackendInvalidAuthToken=7224]="BackendInvalidAuthToken",r[r.BackendInvalidAPIKey=7225]="BackendInvalidAPIKey",r[r.BackendBadRequest=7226]="BackendBadRequest",r[r.BackendPlayStoreQuotaExceeded=7229]="BackendPlayStoreQuotaExceeded",r[r.BackendPlayStoreInvalidPackageName=7230]="BackendPlayStoreInvalidPackageName",r[r.BackendPlayStoreGenericError=7231]="BackendPlayStoreGenericError",r[r.BackendUserIneligibleForPromoOffer=7232]="BackendUserIneligibleForPromoOffer",r[r.BackendInvalidAppleSubscriptionKey=7234]="BackendInvalidAppleSubscriptionKey",r[r.BackendSubscriberNotFound=7259]="BackendSubscriberNotFound",r[r.BackendInvalidSubscriberAttributes=7263]="BackendInvalidSubscriberAttributes",r[r.BackendInvalidSubscriberAttributesBody=7264]="BackendInvalidSubscriberAttributesBody",r[r.BackendProductIDsMalformed=7662]="BackendProductIDsMalformed",r[r.BackendAlreadySubscribedError=7772]="BackendAlreadySubscribedError",r[r.BackendPaymentGatewayGenericError=7773]="BackendPaymentGatewayGenericError",r[r.BackendOfferNotFound=7814]="BackendOfferNotFound",r[r.BackendNoMXRecordsFound=7834]="BackendNoMXRecordsFound",r[r.BackendInvalidOperationSession=7877]="BackendInvalidOperationSession",r[r.BackendPurchaseCannotBeCompleted=7878]="BackendPurchaseCannotBeCompleted",r[r.BackendEmailIsRequired=7879]="BackendEmailIsRequired",r[r.BackendGatewaySetupErrorStripeTaxNotActive=7898]="BackendGatewaySetupErrorStripeTaxNotActive",r[r.BackendGatewaySetupErrorInvalidTaxOriginAddress=7899]="BackendGatewaySetupErrorInvalidTaxOriginAddress",r[r.BackendGatewaySetupErrorMissingRequiredPermission=7900]="BackendGatewaySetupErrorMissingRequiredPermission",r[r.BackendGatewaySetupErrorSandboxModeOnly=7901]="BackendGatewaySetupErrorSandboxModeOnly",r[r.BackendInvalidPaddleAPIKey=7967]="BackendInvalidPaddleAPIKey",r))(hn||{});class Xe extends Error{constructor(t,n,a,i){super(n);ee(this,"toString",()=>`PurchasesError(code: ${Me[this.errorCode]}, message: ${this.message})`);this.errorCode=t,this.underlyingErrorMessage=a,this.extra=i}static getForBackendError(t,n){const a=Ua.getErrorCodeForBackendErrorCode(t);return new Xe(a,Ua.getPublicMessage(a),n,{backendErrorCode:t})}static getForPurchasesFlowError(t){return new Xe(Ua.convertPurchaseFlowErrorCodeToErrorCode(t.errorCode),t.message,t.underlyingErrorMessage)}}class ld extends Error{constructor(){super("Purchases must be configured before calling getInstance")}}var vn=(r=>(r.Started="started",r.InProgress="in_progress",r.Succeeded="succeeded",r.Failed="failed",r))(vn||{}),Va=(r=>(r[r.SetupIntentCreationFailed=1]="SetupIntentCreationFailed",r[r.PaymentMethodCreationFailed=2]="PaymentMethodCreationFailed",r[r.PaymentChargeFailed=3]="PaymentChargeFailed",r[r.SetupIntentCompletionFailed=4]="SetupIntentCompletionFailed",r[r.AlreadyPurchased=5]="AlreadyPurchased",r))(Va||{}),ot=(r=>(r[r.Silent=0]="Silent",r[r.Error=1]="Error",r[r.Warn=2]="Warn",r[r.Info=3]="Info",r[r.Debug=4]="Debug",r[r.Verbose=5]="Verbose",r))(ot||{});class Pe{static setLogLevel(e){this.logLevel=e}static setLogHandler(e){this.logHandler=e}static log(e,t=this.logLevel){const n=`[Purchases] ${e}`;if(!(this.logLevel<t||t===ot.Silent)){if(this.logHandler!==null){this.logHandler(t,n);return}switch(t){case ot.Error:console.error(n);break;case ot.Warn:console.warn(n);break;case ot.Info:console.info(n);break;case ot.Debug:console.debug(n);break;case ot.Verbose:console.debug(n);break}}}static errorLog(e){this.log(e,ot.Error)}static warnLog(e){this.log(e,ot.Warn)}static infoLog(e){this.log(e,ot.Info)}static debugLog(e){this.log(e,ot.Debug)}static verboseLog(e){this.log(e,ot.Verbose)}}ee(Pe,"logLevel",ot.Silent),ee(Pe,"logHandler",null);function cd(r){var e;return r.operation.redemption_info?{redeemUrl:((e=r.operation.redemption_info)==null?void 0:e.redeem_url)??null}:null}var yn=(r=>(r.tax_collection_disabled="tax_collection_disabled",r.invalid_tax_location="invalid_tax_location",r.rate_limit_exceeded="rate_limit_exceeded",r.missing_required_permission="missing_required_permission",r.invalid_origin_address="invalid_origin_address",r.invalid_head_office_address="invalid_head_office_address",r.taxes_not_active="taxes_not_active",r.stripe_tax_unsupported_country="stripe_tax_unsupported_country",r.unexpected_gateway_error="unexpected_gateway_error",r))(yn||{});function ud(r,e){const t=r.original_amount_in_micros??r.total_excluding_tax_in_micros,n=r.applied_discounts??[];return{currency:r.currency,originalAmountInMicros:t,totalAmountInMicros:r.total_amount_in_micros,totalExcludingTaxInMicros:r.total_excluding_tax_in_micros,taxCalculationStatus:e,taxAmountInMicros:r.tax_amount_in_micros,taxBreakdown:r.tax_breakdown,appliedDiscounts:n.map(a=>({identifier:a.identifier,displayName:a.display_name,discountedAmountInMicros:a.discounted_amount_in_micros,percentage:a.percentage,discountCode:a.discount_code,durationMode:a.duration_mode,timeWindow:a.time_window}))}}function dd(r,e){if(r==null){e(new fe(ye.UnknownError,"Got an error status but error field is empty."));return}switch(r.code){case Va.SetupIntentCreationFailed:e(new fe(ye.ErrorSettingUpPurchase,"Setup intent creation failed"));return;case Va.PaymentMethodCreationFailed:e(new fe(ye.ErrorSettingUpPurchase,"Payment method creation failed"));return;case Va.PaymentChargeFailed:e(new fe(ye.ErrorChargingPayment,"Payment charge failed"));return;case Va.SetupIntentCompletionFailed:e(new fe(ye.ErrorSettingUpPurchase,"Setup intent completion failed"));return;case Va.AlreadyPurchased:e(new fe(ye.AlreadyPurchasedError,"Purchased was already completed"));return;default:e(new fe(ye.UnknownError,"Unknown error code received"));return}}var ye=(r=>(r[r.ErrorSettingUpPurchase=0]="ErrorSettingUpPurchase",r[r.ErrorChargingPayment=1]="ErrorChargingPayment",r[r.UnknownError=2]="UnknownError",r[r.NetworkError=3]="NetworkError",r[r.MissingEmailError=4]="MissingEmailError",r[r.AlreadyPurchasedError=5]="AlreadyPurchasedError",r[r.StripeTaxNotActive=6]="StripeTaxNotActive",r[r.StripeInvalidTaxOriginAddress=7]="StripeInvalidTaxOriginAddress",r[r.StripeMissingRequiredPermission=8]="StripeMissingRequiredPermission",r[r.InvalidPaddleAPIKeyError=9]="InvalidPaddleAPIKeyError",r))(ye||{});class fe extends Error{constructor(e,t,n,a,i,s){super(t),this.errorCode=e,this.underlyingErrorMessage=n,this.purchasesErrorCode=a,this.extra=i,this.displayPurchaseFlowErrorCode=s}getErrorCode(){var t;const e=((t=this.extra)==null?void 0:t.backendErrorCode)??this.purchasesErrorCode;return this.displayPurchaseFlowErrorCode?this.errorCode??e:e??this.errorCode}static fromPurchasesError(e,t,n=!1){var i;let a;return e.errorCode===Me.ProductAlreadyPurchasedError?a=5:e.errorCode===Me.InvalidEmailError?a=4:e.errorCode===Me.NetworkError?a=3:a=fe.fromBackendErrorCode((i=e.extra)==null?void 0:i.backendErrorCode)??t,new fe(a,e.message,e.underlyingErrorMessage,e.errorCode,e.extra,n)}static fromBackendErrorCode(e){switch(e){case hn.BackendGatewaySetupErrorStripeTaxNotActive:return 6;case hn.BackendGatewaySetupErrorInvalidTaxOriginAddress:return 7;case hn.BackendGatewaySetupErrorMissingRequiredPermission:return 8;case hn.BackendInvalidPaddleAPIKey:return 9;default:return null}}}class Ci{constructor(e,t,n=30){ee(this,"operationSessionId",null);ee(this,"backend");ee(this,"eventsTracker");ee(this,"maxNumberAttempts");ee(this,"waitMSBetweenAttempts",1e3);this.backend=e,this.eventsTracker=t,this.maxNumberAttempts=n}static getBackendErrorCodeForInterruptedCheckout(e){switch(e){case yn.taxes_not_active:case yn.stripe_tax_unsupported_country:return hn.BackendGatewaySetupErrorStripeTaxNotActive;case yn.invalid_origin_address:case yn.invalid_head_office_address:return hn.BackendGatewaySetupErrorInvalidTaxOriginAddress;case yn.missing_required_permission:return hn.BackendGatewaySetupErrorMissingRequiredPermission;default:return null}}static throwIfCheckoutShouldBeInterrupted(e){if(!e.interrupt_checkout)return;const t=Ci.getBackendErrorCodeForInterruptedCheckout(e.failed_reason);throw t==null?new fe(0,"There was a problem with the store.",e.failed_reason??"Checkout interrupted."):fe.fromPurchasesError(Xe.getForBackendError(t,e.failed_reason??null),0)}async prepareCheckout(e,t){try{return await this.backend.postCheckoutPrepare(e,t)}catch(n){if(n instanceof Xe)throw fe.fromPurchasesError(n,0);{const a="Unknown error preparing purchase: "+String(n);throw Pe.errorLog(a),new fe(2,a)}}}async checkoutStart({appUserId:e,productId:t,purchaseOption:n,presentedOfferingContext:a,workflowPurchaseContext:i,paywallId:s,paywallSessionId:c,customerEmail:l,metadata:u,locale:d,attributionMetadata:_}){try{const p=this.eventsTracker.getTraceId(),f=i==null?void 0:i.stepId,g=i==null?void 0:i.urlParameters,b=await this.backend.postCheckoutStart({appUserId:e,productId:t,purchaseOption:n,presentedOfferingContext:a,traceId:p,presentedStepId:f,urlParameters:g,paywallId:s,paywallSessionId:c,customerEmail:l,metadata:u,locale:d,attributionMetadata:_});return this.operationSessionId=b.operation_session_id,b}catch(p){if(p instanceof Xe)throw fe.fromPurchasesError(p,0);{const f="Unknown error starting purchase: "+String(p);throw Pe.errorLog(f),new fe(2,f)}}}async checkoutRefreshPricing({countryCode:e,postalCode:t,state:n,city:a,addressLine1:i,addressLine2:s,discountCode:c,signal:l}={}){const u=this.operationSessionId;if(!u)throw new fe(0,"No purchase started");try{const d=await this.backend.patchCheckoutRefreshPricing(u,{countryCode:e,postalCode:t,state:n,city:a,addressLine1:i,addressLine2:s,discountCode:c,signal:l});return Ci.throwIfCheckoutShouldBeInterrupted(d),d}catch(d){if(d instanceof fe)throw d;if(d instanceof Xe)throw fe.fromPurchasesError(d,0);{const _="Unknown error refreshing checkout pricing: "+String(d);throw Pe.errorLog(_),new fe(2,_)}}}async checkoutComplete(e,t){const n=this.operationSessionId;if(!n)throw new fe(0,"No purchase started");try{return await this.backend.postCheckoutComplete(n,e,t)}catch(a){if(a instanceof Xe)throw fe.fromPurchasesError(a,0);{const i="Unknown error starting purchase: "+String(a);throw Pe.errorLog(i),new fe(2,i)}}}async pollCurrentPurchaseForCompletion(){const e=this.operationSessionId;if(!e)throw new fe(0,"No purchase in progress");return new Promise((t,n)=>{const a=(i=1)=>{if(i>this.maxNumberAttempts){this.clearPurchaseInProgress(),n(new fe(2,"Max attempts reached trying to get successful purchase status"));return}this.backend.getCheckoutStatus(e).then(s=>{const c=s.operation.store_transaction_identifier,l=s.operation.product_identifier,u=s.operation.purchase_date?isNaN(Date.parse(s.operation.purchase_date))?null:new Date(s.operation.purchase_date):null;switch(s.operation.status){case vn.Started:case vn.InProgress:setTimeout(()=>a(i+1),this.waitMSBetweenAttempts);break;case vn.Succeeded:if(this.clearPurchaseInProgress(),!c||!l||!u){n(new fe(2,"Missing required fields in operation response."));return}t({redemptionInfo:cd(s),operationSessionId:e,storeTransactionIdentifier:c,productIdentifier:l,purchaseDate:u,attributionMetadata:s.attribution_metadata??void 0});return;case vn.Failed:this.clearPurchaseInProgress(),dd(s.operation.error,n)}}).catch(s=>{const c=fe.fromPurchasesError(s,3);n(c)})};a()})}clearPurchaseInProgress(){this.operationSessionId=null}}const hr="rcb-ui-translator",Hr="en",Tm={"periods.week":"{{amount}} week","periods.month":"{{amount}} month","periods.year":"{{amount}} year","periods.day":"{{amount}} day","periods.weekShort":"{{amount}}wk","periods.monthShort":"{{amount}}mo","periods.yearShort":"{{amount}}yr","periods.dayShort":"{{amount}}d","periods.lifetime":"lifetime","periods.weekPlural":"{{amount}} weeks","periods.monthPlural":"{{amount}} months","periods.yearPlural":"{{amount}} years","periods.dayPlural":"{{amount}} days","periods.weekFrequency":"weekly","periods.monthFrequency":"monthly","periods.yearFrequency":"yearly","periods.dayFrequency":"daily","periods.perWeekFrequency":"per week","periods.perMonthFrequency":"per month","periods.perYearFrequency":"per year","periods.perDayFrequency":"per day","periods.unknownFrequency":"unknown","periods.weekFrequencyPlural":"every {{amount}} weeks","periods.monthFrequencyPlural":"every {{amount}} months","periods.yearFrequencyPlural":"every {{amount}} years","periods.dayFrequencyPlural":"every {{amount}} days","product_info.subscribe_to":"Subscribe to","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"Try free for {{trialDuration}}","product_info.price_after_free_trial":"After trial ends, on {{renewalDate}}","product_info.intro_price_phase_after_trial":"Then {{introPriceDuration}} for {{introPrice}}","product_info.intro_price_phase":"First {{introPriceDuration}} for {{introPrice}}","product_info.intro_price_phase_paid_once":"paid once","product_info.price_after_intro_price":"After {{introPriceDuration}}, on {{renewalDate}}","product_info.after_trial":"after trial","product_info.after":"after","product_info.total_due_today":"Total due today","product_info.renewal_frequency":"Renews {{frequency}}","product_info.continues_until_cancelled":"Continues until cancelled","product_info.cancel_anytime":"Cancel anytime","payment_entry_page.payment_step_title":"Secure checkout by RevenueCat","payment_entry_page.trial_subscription_terms_info":"After your trial ends, you will be charged {{price}} {{perFrequency}} starting {{renewalDate}}. You can cancel any time before this date.","payment_entry_page.subscription_terms_info":"By subscribing, you agree to allow {{appName}} to charge you according to their terms until you cancel.","payment_entry_page.otp_terms_info":"By purchasing, you agree to allow {{appName}} to charge you according to their terms.","payment_entry_page.terms_link_label":"Terms","payment_entry_page.checkout_consent_agreement":"I agree to the {{appName}} {{termsOfService}}.","payment_entry_page.checkout_consent_terms_of_service":"Terms of Service","payment_entry_page.subscription_info":"Subscription renews automatically. Cancel anytime.","payment_entry_page.button_pay":"Pay now","payment_entry_page.button_start_trial":"Start trial","payment_entry_page.button_with_price":"Pay {{formattedPrice}}","payment_entry_page.button_payment_method":"Pay {{formattedPrice}} with {{paymentMethod}}","payment_entry_page.express_checkout_divider":"OR PAY BY CARD","loading_page.processing_payment":"Processing payment","loading_page.keep_page_open":"The process is almost done. Keep this page open.","success_page.purchase_successful":"Payment complete","success_page.button_close":"Continue","error_page.close_button_title":"Go to {{appName}}","error_page.if_error_persists":"If it persists, please contact ","error_page.trouble_accessing":"If you're having trouble accessing your purchase, reach out to support on ","error_page.error_title_already_subscribed":"You already subscribed to {{productTitle}}","error_page.error_title_already_purchased":"You already purchased {{productTitle}}","error_page.error_title_other_errors":"Something went wrong","error_page.error_message_already_subscribed":"You can't subscribe to this product again.","error_page.error_message_already_purchased":"You can't purchase this product again.","error_page.error_title_stripe_tax_not_active":"Stripe Tax not active","error_page.error_title_stripe_invalid_tax_origin_address":"Invalid tax origin address","error_page.error_title_stripe_missing_required_permission":"Missing Stripe permission","error_page.error_message_missing_email_error":"Email is required to complete the purchase.","error_page.error_message_invalid_email_error":"The email address {{email}} couldn't be verified. Please provide a valid email address.","error_page.error_message_network_error":"Network error. Please check your internet connection.","error_page.error_message_error_charging_payment":"Payment failed.","error_page.error_message_error_setting_up_purchase":"Purchase not started due to an error (error code: {{errorCode}}).","error_page.error_message_invalid_tax_location":"We couldn't verify your billing address. Please double-check that the postal code and country are correct.","error_page.error_message_unknown_error":"An unknown error occurred (error code: {{errorCode}}).","error_page.error_message_stripe_tax_not_active":"The purchase failed because Stripe Tax isn’t enabled. In production, purchases will work without taxes applied.","error_page.error_message_stripe_invalid_tax_origin_address":"The purchase failed because the tax origin address is invalid. In production, purchases will work without taxes applied.","error_page.error_message_stripe_missing_required_permission":"The purchase failed because the Stripe app lacks a required permission. In production, purchases will work without taxes applied.","error_page.error_only_in_sandbox":"This message appears only in sandbox.","error_page.button_try_again":"Try again","error_page.button_close":"Close","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","pricing_dropdown.show_details":"Show details","pricing_dropdown.hide_details":"Hide details","pricing_dropdown.add_promo_code":"Add promo code","discount_input.label":"Promo code","pricing_table.trial_ends":"After trial ends, on {{formattedTrialEndDate}}","pricing_table.total_excluding_tax":"Total excluding tax","pricing_table.total_due_today":"Total due today","pricing_table.subtotal":"Subtotal","pricing_table.discount":"Discount","pricing_table.tax":"Tax","pricing_table.enter_billing_address_to_calculate":"Enter billing address to calculate","pricing_table.enter_postal_code_to_calculate":"Enter zip code to calculate","pricing_table.enter_state_or_postal_code_to_calculate":"Enter state or postal code to calculate","navbar_header.details":"Details","navbar_header.back_button":"Back","price_update.title":"Price update","price_update.base_message":"The total price was updated with tax based on your billing address. Please review and try again. Your card will only be charged once.","price_update.trial_message":"The subscription price was updated to include tax based on your billing address. Free trial still applies. Review and try again.","apple_pay.free_trial":"Free Trial"},Dm={"periods.week":"{{amount}} semana","periods.month":"{{amount}} mes","periods.year":"{{amount}} año","periods.day":"{{amount}} día","periods.weekShort":"{{amount}} sem","periods.monthShort":"{{amount}}mes","periods.yearShort":"{{amount}}año","periods.dayShort":"{{amount}}d","periods.lifetime":"de por vida","periods.weekPlural":"{{amount}} semanas","periods.monthPlural":"{{amount}} meses","periods.yearPlural":"{{amount}} años","periods.dayPlural":"{{amount}} días","periods.weekFrequency":"semanal","periods.monthFrequency":"mensual","periods.yearFrequency":"anual","periods.dayFrequency":"diaria","periods.perWeekFrequency":"por semana","periods.perMonthFrequency":"por mes","periods.perYearFrequency":"por año","periods.perDayFrequency":"por día","periods.unknownFrequency":"desconocida","periods.weekFrequencyPlural":"cada {{amount}} semanas","periods.monthFrequencyPlural":"cada {{amount}} meses","periods.yearFrequencyPlural":"cada {{amount}} años","periods.dayFrequencyPlural":"cada {{amount}} días","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} prueba gratuita","product_info.price_after_free_trial":"Después de que termine el periodo de prueba, el {{renewalDate}}","product_info.renewal_frequency":"Se renueva {{frequency}}","product_info.continues_until_cancelled":"Continua hasta que se cancele","product_info.cancel_anytime":"Cancelar en cualquier momento","payment_entry_page.payment_step_title":"Pago seguro mediante RevenueCat","payment_entry_page.button_pay":"Pagar ahora","payment_entry_page.button_start_trial":"Comenzar prueba","success_page.purchase_successful":"Pago completado","success_page.button_close":"Continuar","error_page.if_error_persists":"Si el error persiste, contacta con ","error_page.error_title_already_subscribed":"Ya te has suscrito a {{productTitle}}","error_page.error_title_already_purchased":"Ya has comprado {{productTitle}}","error_page.error_title_other_errors":"Algo salió mal","error_page.error_message_already_subscribed":"No puedes suscribirte a este producto de nuevo.","error_page.error_message_already_purchased":"No puedes comprar este producto de nuevo.","error_page.error_message_missing_email_error":"Se requiere un correo electrónico para completar la compra.","error_page.error_message_network_error":"Error de red. Por favor, comprueba tu conexión a internet.","error_page.error_message_error_charging_payment":"Pago fallido.","error_page.error_message_error_setting_up_purchase":"No se pudo iniciar la compra debido a un error (código de error: {{errorCode}}).","error_page.error_message_invalid_tax_location":"No pudimos verificar tu dirección de facturación. Por favor, verifica que el código postal y el país sean correctos.","error_page.error_message_unknown_error":"Ocurrió un error desconocido (código de error: {{errorCode}}).","error_page.button_try_again":"Intentar de nuevo","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Total a pagar hoy","product_info.subscribe_to":"Suscribirse a","navbar_header.details":"Detalles","navbar_header.back_button":"Atrás","pricing_dropdown.show_details":"Mostrar detalles","pricing_dropdown.hide_details":"Ocultar detalles","pricing_table.tax":"Impuestos","pricing_table.trial_ends":"Después de que finalice la prueba, el {{formattedTrialEndDate}}","pricing_table.total_due_today":"Total a pagar hoy","pricing_table.total_excluding_tax":"Total sin impuestos","pricing_table.enter_billing_address_to_calculate":"Introduce la dirección de facturación para calcular","pricing_table.enter_state_or_postal_code_to_calculate":"Introduce el estado o el código postal para calcular","pricing_table.enter_postal_code_to_calculate":"Introduce el código postal para calcular","error_page.error_message_invalid_email_error":"La dirección de correo electrónico {{email}} no se pudo verificar. Por favor, proporciona una dirección de correo electrónico válida.","payment_entry_page.button_payment_method":"Pagar {{formattedPrice}} con {{paymentMethod}}","payment_entry_page.button_with_price":"Pagar {{formattedPrice}}","price_update.title":"Actualización de precio","price_update.base_message":"El precio total se actualizó con impuestos según su dirección de facturación. Revise e intente nuevamente. Solo se efectuará un cobro en su tarjeta.","price_update.trial_message":"El precio de la suscripción se actualizó para incluir impuestos según su dirección de facturación. La prueba gratuita sigue aplicándose. Revise e intente nuevamente.","payment_entry_page.express_checkout_divider":"O PAGA CON TARJETA","error_page.trouble_accessing":"Si tiene problemas para acceder a su compra, póngase en contacto con el servicio de asistencia en ","error_page.close_button_title":"Ir a {{appName}}","error_page.error_title_stripe_missing_required_permission":"Falta permiso de Stripe","error_page.button_close":"Cerrar","error_page.error_message_stripe_invalid_tax_origin_address":"La compra falló porque la dirección de origen fiscal no es válida. En producción, las compras funcionarán sin impuestos aplicados.","error_page.error_message_stripe_tax_not_active":"La compra falló porque Stripe Tax no está habilitado. En producción, las compras funcionarán sin impuestos aplicados.","error_page.error_only_in_sandbox":"Este mensaje aparece solo en el entorno de pruebas.","error_page.error_message_stripe_missing_required_permission":"La compra falló porque la aplicación Stripe carece de un permiso necesario. En producción, las compras funcionarán sin impuestos aplicados.","error_page.error_title_stripe_tax_not_active":"Stripe Tax no está activo","error_page.error_title_stripe_invalid_tax_origin_address":"Dirección de origen fiscal no válida","apple_pay.free_trial":"Prueba gratuita","product_info.price_after_intro_price":"Después de {{introPriceDuration}}, el {{renewalDate}}","product_info.after_trial":"después del período de prueba","product_info.after":"después de","product_info.intro_price_phase_after_trial":"Luego, {{introPriceDuration}} por {{introPrice}}","product_info.intro_price_phase":"Primero, {{introPriceDuration}} por {{introPrice}}","product_info.intro_price_phase_paid_once":"pago único","payment_entry_page.trial_subscription_terms_info":"Una vez finalizado el período de prueba, se te cobrarán {{price}} {{perFrequency}} a partir del {{renewalDate}}. Puedes cancelar en cualquier momento antes de esta fecha.","payment_entry_page.subscription_info":"La suscripción se renueva automáticamente. Cancela en cualquier momento.","payment_entry_page.otp_terms_info":"Al comprar, aceptas que {{appName}} te cobre de acuerdo con sus términos.","payment_entry_page.terms_link_label":"Términos","payment_entry_page.subscription_terms_info":"Al suscribirte, aceptas que {{appName}} te cobre de acuerdo con sus términos hasta que canceles.","loading_page.keep_page_open":"El proceso está casi terminado. Mantén esta página abierta.","loading_page.processing_payment":"Procesando el pago","pricing_table.discount":"Descuento","pricing_table.subtotal":"Subtotal","pricing_dropdown.add_promo_code":"Añadir código promocional","discount_input.label":"Código promocional","payment_entry_page.checkout_consent_terms_of_service":"términos de servicio","payment_entry_page.checkout_consent_agreement":"Acepto los {{termsOfService}} de {{appName}}."},Am={"periods.week":"{{amount}} settimana","periods.month":"{{amount}} mese","periods.year":"{{amount}} anno","periods.day":"{{amount}} giorno","periods.weekShort":"{{amount}}sett","periods.monthShort":"{{amount}}mese","periods.yearShort":"{{amount}}anno","periods.dayShort":"{{amount}}g","periods.lifetime":"a vita","periods.weekPlural":"{{amount}} settimane","periods.monthPlural":"{{amount}} mesi","periods.yearPlural":"{{amount}} anni","periods.dayPlural":"{{amount}} giorni","periods.weekFrequency":"settimanale","periods.monthFrequency":"mensile","periods.yearFrequency":"annuale","periods.dayFrequency":"giornaliero","periods.perWeekFrequency":"a settimana","periods.perMonthFrequency":"al mese","periods.perYearFrequency":"all'anno","periods.perDayFrequency":"al giorno","periods.unknownFrequency":"sconosciuto","periods.weekFrequencyPlural":"ogni {{amount}} settimane","periods.monthFrequencyPlural":"ogni {{amount}} mesi","periods.yearFrequencyPlural":"ogni {{amount}} anni","periods.dayFrequencyPlural":"ogni {{amount}} giorni","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} prova gratuita","product_info.price_after_free_trial":"Dopo la fine della prova, il {{renewalDate}}","product_info.renewal_frequency":"Si rinnova {{frequency}}","product_info.continues_until_cancelled":"Continua fino a disdetta","product_info.cancel_anytime":"Disdici in qualsiasi momento","payment_entry_page.payment_step_title":"Pagamento sicuro tramite RevenueCat","payment_entry_page.button_pay":"Paga ora","payment_entry_page.button_start_trial":"Inizia la prova","success_page.purchase_successful":"Pagamento completato","success_page.button_close":"Continua","error_page.if_error_persists":"Se l'errore persiste, contatta ","error_page.error_title_already_subscribed":"Hai già un abbonamento a {{productTitle}}","error_page.error_title_already_purchased":"Hai già acquistato {{productTitle}}","error_page.error_title_other_errors":"Qualcosa è andato storto","error_page.error_message_already_subscribed":"Non puoi abbonarti di nuovo a questo prodotto.","error_page.error_message_already_purchased":"Non puoi acquistare di nuovo questo prodotto.","error_page.error_message_missing_email_error":"L'email è necessaria per completare l'acquisto.","error_page.error_message_network_error":"Errore di rete. Verifica la connessione internet.","error_page.error_message_error_charging_payment":"Pagamento fallito.","error_page.error_message_error_setting_up_purchase":"Acquisto non avviato a causa di un errore (codice errore: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Non siamo riusciti a verificare il tuo indirizzo di fatturazione. Per favore, controlla che il codice postale e il paese siano corretti.","error_page.error_message_unknown_error":"Si è verificato un errore sconosciuto (codice errore: {{errorCode}}).","error_page.button_try_again":"Riprova","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Totale dovuto oggi","product_info.subscribe_to":"Abbonati a","navbar_header.details":"Dettagli","navbar_header.back_button":"Indietro","pricing_dropdown.show_details":"Mostra dettagli","pricing_dropdown.hide_details":"Nascondi dettagli","pricing_table.tax":"Tasse","pricing_table.trial_ends":"Al termine del periodo di prova, il {{formattedTrialEndDate}}","pricing_table.total_due_today":"Totale dovuto oggi","pricing_table.total_excluding_tax":"Totale tasse escluse","pricing_table.enter_billing_address_to_calculate":"Inserisci l'indirizzo di fatturazione per calcolare","pricing_table.enter_state_or_postal_code_to_calculate":"Inserisci la regione o il codice postale per calcolare","pricing_table.enter_postal_code_to_calculate":"Inserisci il codice postale per calcolare","error_page.error_message_invalid_email_error":"L'indirizzo email {{email}} non può essere verificato. Si prega di fornire un indirizzo email valido.","payment_entry_page.button_payment_method":"Paga {{formattedPrice}} con {{paymentMethod}}","payment_entry_page.button_with_price":"Paga {{formattedPrice}}","price_update.title":"Aggiornamento prezzo","price_update.base_message":"Il prezzo totale è stato aggiornato con le tasse in base al tuo indirizzo di fatturazione. Rivedi e riprova. L'addebito sulla tua carta avverrà solo una volta.","price_update.trial_message":"Il prezzo dell'abbonamento è stato aggiornato per includere le tasse in base al tuo indirizzo di fatturazione. La prova gratuita è ancora valida. Controlla e riprova.","payment_entry_page.express_checkout_divider":"OPPURE PAGA CON CARTA","error_page.trouble_accessing":"Se hai problemi ad accedere al tuo acquisto, contatta l'assistenza all'indirizzo ","error_page.close_button_title":"Vai a {{appName}}","error_page.error_title_stripe_missing_required_permission":"Autorizzazione Stripe mancante","error_page.button_close":"Chiudi","error_page.error_message_stripe_invalid_tax_origin_address":"L'acquisto non è andato a buon fine perché l'indirizzo di origine fiscale non è valido. In produzione, gli acquisti verranno effettuati senza l'applicazione delle imposte e questo errore non sarà visibile.","error_page.error_message_stripe_tax_not_active":"L'acquisto non è andato a buon fine perché Stripe Tax non è abilitato. In produzione, gli acquisti verranno effettuati senza l'applicazione delle imposte e questo errore non sarà visibile.","error_page.error_only_in_sandbox":"Questo messaggio viene visualizzato solo in sandbox.","error_page.error_message_stripe_missing_required_permission":"L'acquisto non è andato a buon fine perché l'app Stripe non dispone dell'autorizzazione necessaria. In produzione, gli acquisti verranno effettuati senza l'applicazione delle imposte e questo errore non sarà visibile.","error_page.error_title_stripe_tax_not_active":"Stripe Tax non attivo","error_page.error_title_stripe_invalid_tax_origin_address":"Indirizzo di origine fiscale non valido","apple_pay.free_trial":"Prova gratuita","product_info.price_after_intro_price":"Dopo {{introPriceDuration}}, il {{renewalDate}}","product_info.after_trial":"dopo il periodo di prova","product_info.after":"dopo","product_info.intro_price_phase_after_trial":"Poi {{introPriceDuration}} a {{introPrice}}","product_info.intro_price_phase":"Prima {{introPriceDuration}} a {{introPrice}}","product_info.intro_price_phase_paid_once":"pagato una volta","payment_entry_page.trial_subscription_terms_info":"Al termine del periodo di prova, ti verranno addebitati {{price}} {{perFrequency}} a partire dal {{renewalDate}}. Puoi annullare in qualsiasi momento prima di questa data.","payment_entry_page.subscription_info":"L'abbonamento si rinnova automaticamente. Annulla in qualsiasi momento.","payment_entry_page.otp_terms_info":"Acquistando, accetti che {{appName}} ti addebiti l'importo in base ai suoi termini.","payment_entry_page.terms_link_label":"Termini","payment_entry_page.subscription_terms_info":"Abbonandoti, accetti che {{appName}} ti addebiti l'importo secondo i suoi termini fino all'annullamento.","loading_page.keep_page_open":"Il processo è quasi terminato. Mantieni questa pagina aperta.","loading_page.processing_payment":"Elaborazione del pagamento","pricing_table.discount":"Sconto","pricing_table.subtotal":"Subtotale","pricing_dropdown.add_promo_code":"Aggiungi codice promozionale","discount_input.label":"Codice promozionale","payment_entry_page.checkout_consent_terms_of_service":"termini di servizio","payment_entry_page.checkout_consent_agreement":"Accetto i {{termsOfService}} di {{appName}}."},Fm={"periods.week":"{{amount}} أسبوع","periods.month":"{{amount}} شهر","periods.year":"{{amount}} سنة","periods.day":"{{amount}} يوم","periods.weekShort":"{{amount}}أسبوع","periods.monthShort":"{{amount}}شهر","periods.yearShort":"{{amount}}سنة","periods.dayShort":"{{amount}}يوم","periods.lifetime":"مدى الحياة","periods.weekPlural":"{{amount}} أسابيع","periods.monthPlural":"{{amount}} أشهر","periods.yearPlural":"{{amount}} سنوات","periods.dayPlural":"{{amount}} أيام","periods.weekFrequency":"أسبوعيًا","periods.monthFrequency":"شهريًا","periods.yearFrequency":"سنويًا","periods.dayFrequency":"يوميًا","periods.perWeekFrequency":"في الأسبوع","periods.perMonthFrequency":"في الشهر","periods.perYearFrequency":"في السنة","periods.perDayFrequency":"في اليوم","periods.unknownFrequency":"غير معروف","periods.weekFrequencyPlural":"كل {{amount}} أسابيع","periods.monthFrequencyPlural":"كل {{amount}} أشهر","periods.yearFrequencyPlural":"كل {{amount}} سنوات","periods.dayFrequencyPlural":"كل {{amount}} أيام","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} تجربة مجانية","product_info.price_after_free_trial":"بعد انتهاء التجربة، في {{renewalDate}}","product_info.renewal_frequency":"يتم التجديد {{frequency}}","product_info.continues_until_cancelled":"يستمر حتى يتم إلغاؤه","product_info.cancel_anytime":"يمكن الإلغاء في أي وقت","payment_entry_page.payment_step_title":"الدفع الآمن عبر RevenueCat","payment_entry_page.button_pay":"ادفع الآن","payment_entry_page.button_start_trial":"ابدأ التجربة","success_page.purchase_successful":"تم الدفع بنجاح","success_page.button_close":"متابعة","error_page.if_error_persists":"إذا استمرت المشكلة، يرجى الاتصال بـ ","error_page.error_title_already_subscribed":"أنت مشترك بالفعل في {{productTitle}}","error_page.error_title_already_purchased":"لقد اشتريت {{productTitle}} بالفعل","error_page.error_title_other_errors":"حدث خطأ ما","error_page.error_message_already_subscribed":"لا يمكنك الاشتراك في هذا المنتج مرة أخرى.","error_page.error_message_already_purchased":"لا يمكنك شراء هذا المنتج مرة أخرى.","error_page.error_message_missing_email_error":"يُطلب البريد الإلكتروني لإتمام عملية الشراء.","error_page.error_message_network_error":"خطأ في الشبكة. يرجى التحقق من اتصال الإنترنت.","error_page.error_message_error_charging_payment":"فشل الدفع.","error_page.error_message_error_setting_up_purchase":"لم تبدأ عملية الشراء بسبب خطأ (رمز الخطأ: {{errorCode}}).","error_page.error_message_invalid_tax_location":"لم نتمكن من التحقق من عنوان الفوترة الخاص بك. يرجى التحقق مرة أخرى من الرمز البريدي والبلد للتأكد من صحتهما.","error_page.error_message_unknown_error":"حدث خطأ غير معروف (رمز الخطأ: {{errorCode}}).","error_page.button_try_again":"حاول مرة أخرى","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"إجمالي المبلغ المستحق اليوم","product_info.subscribe_to":"اشترك في","navbar_header.details":"تفاصيل","navbar_header.back_button":"عودة","pricing_dropdown.show_details":"إظهار التفاصيل","pricing_dropdown.hide_details":"إخفاء التفاصيل","pricing_table.tax":"الضريبة","pricing_table.trial_ends":"بعد انتهاء الفترة التجريبية، في {{formattedTrialEndDate}}","pricing_table.total_due_today":"الإجمالي المستحق اليوم","pricing_table.total_excluding_tax":"الإجمالي باستثناء الضريبة","pricing_table.enter_billing_address_to_calculate":"أدخل عنوان إرسال الفواتير لحسابها","pricing_table.enter_state_or_postal_code_to_calculate":"أدخل الولاية أو الرمز البريدي للحساب","pricing_table.enter_postal_code_to_calculate":"أدخل الرمز البريدي للحساب","error_page.error_message_invalid_email_error":"تعذر التحقق من عنوان البريد الإلكتروني {{email}}. يرجى تقديم عنوان بريد إلكتروني صالح.","payment_entry_page.button_payment_method":"ادفع {{formattedPrice}} باستخدام {{paymentMethod}}","payment_entry_page.button_with_price":"ادفع {{formattedPrice}}","price_update.title":"تحديث السعر","price_update.base_message":"تم تحديث السعر الإجمالي مع الضريبة بناءً على عنوان إرسال الفواتير الخاص بك. يرجى المراجعة والمحاولة مرة أخرى. لن يتم تحصيل رسوم من بطاقتك إلا مرة واحدة.","price_update.trial_message":"تم تحديث سعر الاشتراك ليشمل الضرائب بناءً على عنوان الفوترة الخاص بك. فترة التجربة المجانية لا تزال سارية. يرجى التحقق والمحاولة مرة أخرى.","payment_entry_page.express_checkout_divider":"أو ادفع بواسطة البطاقة","error_page.trouble_accessing":"إذا كنت تواجه مشكلة في الوصول إلى عملية الشراء، فتواصل مع الدعم على ","error_page.close_button_title":"اذهب إلى {{appName}}","error_page.error_title_stripe_missing_required_permission":"إذن Stripe مفقود","error_page.button_close":"إغلاق","error_page.error_message_stripe_invalid_tax_origin_address":"فشلت عملية الشراء لأن عنوان المنشأ الضريبي غير صالح. في مرحلة الإنتاج، ستعمل عمليات الشراء بدون تطبيق الضرائب.","error_page.error_message_stripe_tax_not_active":"فشلت عملية الشراء لأن ضريبة Stripe غير مفعلة. في مرحلة الإنتاج، ستعمل عمليات الشراء بدون تطبيق الضرائب.","error_page.error_only_in_sandbox":"تظهر هذه الرسالة فقط في البيئة التجريبية.","error_page.error_message_stripe_missing_required_permission":"فشلت عملية الشراء لأن تطبيق Stripe يفتقر إلى إذن مطلوب. في مرحلة الإنتاج، ستعمل عمليات الشراء بدون تطبيق الضرائب.","error_page.error_title_stripe_tax_not_active":"ضريبة Stripe غير نشطة","error_page.error_title_stripe_invalid_tax_origin_address":"عنوان منشأ ضريبي غير صالح","apple_pay.free_trial":"تجربة مجانية","product_info.price_after_intro_price":"بعد {{introPriceDuration}}، في {{renewalDate}}","product_info.after_trial":"بعد الفترة التجريبية","product_info.after":"بعد","product_info.intro_price_phase_after_trial":"ثم {{introPriceDuration}} مقابل {{introPrice}}","product_info.intro_price_phase":"أولاً {{introPriceDuration}} مقابل {{introPrice}}","product_info.intro_price_phase_paid_once":"تدفع مرة واحدة","payment_entry_page.trial_subscription_terms_info":"بعد انتهاء الفترة التجريبية، سيتم محاسبتك بمبلغ {{price}} {{perFrequency}} بدءًا من {{renewalDate}}. يمكنك الإلغاء في أي وقت قبل هذا التاريخ.","payment_entry_page.subscription_info":"يتم تجديد الاشتراك تلقائيًا. يمكنك الإلغاء في أي وقت.","payment_entry_page.otp_terms_info":"بالشراء، أنت توافق على السماح لتطبيق {{appName}} بتحصيل الرسوم منك وفقًا لشروطه.","payment_entry_page.terms_link_label":"الشروط","payment_entry_page.subscription_terms_info":"بالاشتراك، فإنك توافق على السماح لـ {{appName}} بتحصيل رسوم منك وفقًا لشروطها حتى تقوم بالإلغاء.","loading_page.keep_page_open":"العملية شارفت على الانتهاء. أبقِ هذه الصفحة مفتوحة.","loading_page.processing_payment":"جاري معالجة الدفع","pricing_table.discount":"خصم","pricing_table.subtotal":"المجموع الفرعي","pricing_dropdown.add_promo_code":"أضف رمزًا ترويجيًا","discount_input.label":"رمز ترويجي","payment_entry_page.checkout_consent_terms_of_service":"شروط الخدمة","payment_entry_page.checkout_consent_agreement":"أوافق على {{termsOfService}} لـ {{appName}}."},zm={"periods.week":"{{amount}} setmana","periods.month":"{{amount}} mes","periods.year":"{{amount}} any","periods.day":"{{amount}} dia","periods.weekShort":"{{amount}}set","periods.monthShort":"{{amount}}mes","periods.yearShort":"{{amount}}any","periods.dayShort":"{{amount}}d","periods.lifetime":"de per vida","periods.weekPlural":"{{amount}} setmanes","periods.monthPlural":"{{amount}} mesos","periods.yearPlural":"{{amount}} anys","periods.dayPlural":"{{amount}} dies","periods.weekFrequency":"setmanal","periods.monthFrequency":"mensual","periods.yearFrequency":"anual","periods.dayFrequency":"diari","periods.perWeekFrequency":"per setmana","periods.perMonthFrequency":"per mes","periods.perYearFrequency":"per any","periods.perDayFrequency":"per dia","periods.unknownFrequency":"desconeguda","periods.weekFrequencyPlural":"cada {{amount}} setmanes","periods.monthFrequencyPlural":"cada {{amount}} mesos","periods.yearFrequencyPlural":"cada {{amount}} anys","periods.dayFrequencyPlural":"cada {{amount}} dies","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} de prova gratuïta","product_info.price_after_free_trial":"Després del període de prova, el {{renewalDate}}","product_info.renewal_frequency":"Es renova {{frequency}}","product_info.continues_until_cancelled":"Continua fins que es cancel·li","product_info.cancel_anytime":"Cancel·la en qualsevol moment","payment_entry_page.payment_step_title":"Pagament segur amb RevenueCat","payment_entry_page.button_pay":"Paga ara","payment_entry_page.button_start_trial":"Comença la prova","success_page.purchase_successful":"Pagament complet","success_page.button_close":"Continua","error_page.if_error_persists":"Si l'error persisteix, contacta amb ","error_page.error_title_already_subscribed":"Ja us heu subscrit a {{productTitle}}","error_page.error_title_already_purchased":"Ja heu comprat {{productTitle}}","error_page.error_title_other_errors":"Alguna cosa ha anat malament","error_page.error_message_already_subscribed":"No us podeu subscriure a aquest producte de nou.","error_page.error_message_already_purchased":"No podeu comprar aquest producte de nou.","error_page.error_message_missing_email_error":"Es necessita un correu electrònic per completar la compra.","error_page.error_message_network_error":"Error de xarxa. Comprova la teva connexió a internet.","error_page.error_message_error_charging_payment":"El pagament ha fallat.","error_page.error_message_error_setting_up_purchase":"No s'ha iniciat la compra a causa d'un error (codi d'error: {{errorCode}}).","error_page.error_message_invalid_tax_location":"No hem pogut verificar la vostra adreça de facturació. Si us plau, verifiqueu de nou el codi postal i el país per assegurar-vos que són correctes.","error_page.error_message_unknown_error":"S'ha produït un error desconegut (codi d'error: {{errorCode}}).","error_page.button_try_again":"Torna a intentar-ho","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Total a pagar avui","product_info.subscribe_to":"Subscriu-te a","navbar_header.details":"Detalls","navbar_header.back_button":"Enrere","pricing_dropdown.show_details":"Mostra detalls","pricing_dropdown.hide_details":"Amaga detalls","pricing_table.tax":"Impostos","pricing_table.trial_ends":"Després que finalitzi la prova, el {{formattedTrialEndDate}}","pricing_table.total_due_today":"Total a pagar avui","pricing_table.total_excluding_tax":"Total sense impostos","pricing_table.enter_billing_address_to_calculate":"Introduïu l'adreça de facturació per calcular","pricing_table.enter_state_or_postal_code_to_calculate":"Introduïu la província o el codi postal per calcular","pricing_table.enter_postal_code_to_calculate":"Introduïu el codi postal per calcular","error_page.error_message_invalid_email_error":"No s'ha pogut verificar l'adreça de correu electrònic {{email}}. Si us plau, proporcioneu una adreça de correu electrònic vàlida.","payment_entry_page.button_payment_method":"Paga {{formattedPrice}} amb {{paymentMethod}}","payment_entry_page.button_with_price":"Paga {{formattedPrice}}","price_update.title":"Actualització de preu","price_update.base_message":"El preu total s'ha actualitzat amb els impostos segons la vostra adreça de facturació. Reviseu-ho i torneu-ho a provar. Només es carregarà la vostra targeta una vegada.","price_update.trial_message":"El preu de la subscripció s'ha actualitzat per incloure els impostos segons la seva adreça de facturació. El període de prova gratuït segueix vigent. Si us plau, comprovi-ho i torni-ho a provar.","payment_entry_page.express_checkout_divider":"O PAGUEU AMB TARGETA","error_page.trouble_accessing":"Si teniu problemes per accedir a la vostra compra, poseu-vos en contacte amb el servei d'assistència a ","error_page.close_button_title":"Vés a {{appName}}","error_page.error_title_stripe_missing_required_permission":"Falta el permís de Stripe","error_page.button_close":"Tanca","error_page.error_message_stripe_invalid_tax_origin_address":"La compra ha fallat perquè l'adreça d'origen fiscal no és vàlida. En producció, les compres funcionaran sense impostos aplicats.","error_page.error_message_stripe_tax_not_active":"La compra ha fallat perquè Stripe Tax no està activat. En producció, les compres funcionaran sense impostos aplicats.","error_page.error_only_in_sandbox":"Aquest missatge apareix només a l'entorn de proves.","error_page.error_message_stripe_missing_required_permission":"La compra ha fallat perquè l'aplicació Stripe no té un permís necessari. En producció, les compres funcionaran sense impostos aplicats.","error_page.error_title_stripe_tax_not_active":"Stripe Tax no està actiu","error_page.error_title_stripe_invalid_tax_origin_address":"Adreça d'origen fiscal no vàlida","apple_pay.free_trial":"Prova gratuïta","product_info.price_after_intro_price":"Després de {{introPriceDuration}}, el {{renewalDate}}","product_info.after_trial":"després del període de prova","product_info.after":"després de","product_info.intro_price_phase_after_trial":"Després {{introPriceDuration}} per {{introPrice}}","product_info.intro_price_phase":"Primer {{introPriceDuration}} per {{introPrice}}","product_info.intro_price_phase_paid_once":"pagat un cop","payment_entry_page.trial_subscription_terms_info":"Un cop finalitzat el període de prova, se us cobrarà {{price}} {{perFrequency}} a partir del {{renewalDate}}. Podeu cancel·lar-ho en qualsevol moment abans d'aquesta data.","payment_entry_page.subscription_info":"La subscripció es renova automàticament. Cancel·leu-la quan vulgueu.","payment_entry_page.otp_terms_info":"En comprar, accepteu que {{appName}} us cobri d'acord amb les seves condicions.","payment_entry_page.terms_link_label":"Condicions","payment_entry_page.subscription_terms_info":"En subscriure-us, accepteu que {{appName}} us cobri d'acord amb les seves condicions fins que ho cancel·leu.","loading_page.keep_page_open":"El procés està gairebé acabat. Mantingueu aquesta pàgina oberta.","loading_page.processing_payment":"S'està processant el pagament","pricing_table.discount":"Descompte","pricing_table.subtotal":"Subtotal","pricing_dropdown.add_promo_code":"Afegir codi promocional","discount_input.label":"Codi promocional","payment_entry_page.checkout_consent_terms_of_service":"termes del servei","payment_entry_page.checkout_consent_agreement":"Accepto els {{termsOfService}} de {{appName}}."},Mm={"periods.week":"{{amount}} 周","periods.month":"{{amount}} 月","periods.year":"{{amount}} 年","periods.day":"{{amount}} 天","periods.weekShort":"{{amount}}周","periods.monthShort":"{{amount}}月","periods.yearShort":"{{amount}}年","periods.dayShort":"{{amount}}天","periods.lifetime":"终身","periods.weekPlural":"{{amount}} 周","periods.monthPlural":"{{amount}} 个月","periods.yearPlural":"{{amount}} 年","periods.dayPlural":"{{amount}} 天","periods.weekFrequency":"每周","periods.monthFrequency":"每月","periods.yearFrequency":"每年","periods.dayFrequency":"每天","periods.perWeekFrequency":"每周","periods.perMonthFrequency":"每月","periods.perYearFrequency":"每年","periods.perDayFrequency":"每天","periods.unknownFrequency":"未知","periods.weekFrequencyPlural":"每 {{amount}} 周","periods.monthFrequencyPlural":"每 {{amount}} 个月","periods.yearFrequencyPlural":"每 {{amount}} 年","periods.dayFrequencyPlural":"每 {{amount}} 天","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} 天免费试用","product_info.price_after_free_trial":"试用期结束后,于 {{renewalDate}}","product_info.renewal_frequency":"续订 {{frequency}}","product_info.continues_until_cancelled":"持续到取消","product_info.cancel_anytime":"随时取消","payment_entry_page.payment_step_title":"RevenueCat 安全结账","payment_entry_page.button_pay":"立即支付","payment_entry_page.button_start_trial":"开始试用","success_page.purchase_successful":"支付完成","success_page.button_close":"继续","error_page.if_error_persists":"如果错误仍然存在,请联系 ","error_page.error_title_already_subscribed":"您已订阅 {{productTitle}}","error_page.error_title_already_purchased":"您已购买 {{productTitle}}","error_page.error_title_other_errors":"出现错误","error_page.error_message_already_subscribed":"您不能再次订阅此产品。","error_page.error_message_already_purchased":"您不能再次购买此产品。","error_page.error_message_missing_email_error":"完成购买需要邮箱地址。","error_page.error_message_network_error":"网络错误。请检查您的互联网连接。","error_page.error_message_error_charging_payment":"支付失败。","error_page.error_message_error_setting_up_purchase":"由于错误,购买未启动(错误代码:{{errorCode}})。","error_page.error_message_invalid_tax_location":"我们无法验证您的账单地址。请仔细检查邮政编码和国家是否正确。","error_page.error_message_unknown_error":"发生未知错误(错误代码:{{errorCode}})。","error_page.button_try_again":"重试","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"今天应付总额","product_info.subscribe_to":"订阅","navbar_header.details":"详情","navbar_header.back_button":"返回","pricing_dropdown.show_details":"显示详情","pricing_dropdown.hide_details":"隐藏详情","pricing_table.tax":"税","pricing_table.trial_ends":"试用期结束后,于{{formattedTrialEndDate}}","pricing_table.total_due_today":"今日应付总额","pricing_table.total_excluding_tax":"总计(不含税)","pricing_table.enter_billing_address_to_calculate":"输入账单地址以计算","pricing_table.enter_state_or_postal_code_to_calculate":"输入州或邮政编码以计算","pricing_table.enter_postal_code_to_calculate":"输入邮政编码以计算","error_page.error_message_invalid_email_error":"无法验证电子邮件地址{{email}}。请提供有效的电子邮件地址。","payment_entry_page.button_payment_method":"使用{{paymentMethod}}支付{{formattedPrice}}","payment_entry_page.button_with_price":"支付{{formattedPrice}}","price_update.title":"价格更新","price_update.base_message":"总价已根据您的账单地址更新了税费。请查看并重试。您的银行卡只会扣款一次。","price_update.trial_message":"根据您的账单地址,订阅价格已更新为含税价格。免费试用仍然有效。请查看并重试。","payment_entry_page.express_checkout_divider":"或使用银行卡支付","error_page.trouble_accessing":"如果您在访问购买项目时遇到问题,请通过以下方式联系支持:","error_page.close_button_title":"前往{{appName}}","error_page.error_title_stripe_missing_required_permission":"缺少Stripe权限","error_page.button_close":"关闭","error_page.error_message_stripe_invalid_tax_origin_address":"购买失败,因为税务起始地址无效。在生产环境中,购买将在不应用税款的情况下进行。","error_page.error_message_stripe_tax_not_active":"购买失败,因为Stripe Tax未启用。在生产环境中,购买将在不应用税款的情况下进行。","error_page.error_only_in_sandbox":"此消息仅在沙盒中显示。","error_page.error_message_stripe_missing_required_permission":"购买失败,因为Stripe应用程序缺少必需的权限。在生产环境中,购买将在不应用税款的情况下进行。","error_page.error_title_stripe_tax_not_active":"Stripe Tax未激活","error_page.error_title_stripe_invalid_tax_origin_address":"税务起始地址无效","apple_pay.free_trial":"免费试用","product_info.price_after_intro_price":"在{{introPriceDuration}}之后,于{{renewalDate}}开始","product_info.after_trial":"试用后","product_info.after":"之后","product_info.intro_price_phase_after_trial":"然后{{introPriceDuration}},价格为{{introPrice}}","product_info.intro_price_phase":"首先{{introPriceDuration}},价格为{{introPrice}}","product_info.intro_price_phase_paid_once":"一次性支付","payment_entry_page.trial_subscription_terms_info":"试用期结束后,您将被收取 {{price}} {{perFrequency}},从 {{renewalDate}} 开始。您可以在此日期之前的任何时间取消。","payment_entry_page.subscription_info":"订阅自动续订。随时取消。","payment_entry_page.otp_terms_info":"购买即表示您同意允许{{appName}}根据其条款向您收费。","payment_entry_page.terms_link_label":"条款","payment_entry_page.subscription_terms_info":"订阅即表示您同意允许 {{appName}} 按照其条款向您收费,直到您取消订阅。","loading_page.keep_page_open":"流程即将完成。请保持此页面打开。","loading_page.processing_payment":"正在处理付款","pricing_table.discount":"折扣","pricing_table.subtotal":"小计","pricing_dropdown.add_promo_code":"添加优惠码","discount_input.label":"优惠码","payment_entry_page.checkout_consent_terms_of_service":"服务条款","payment_entry_page.checkout_consent_agreement":"我同意{{appName}}的{{termsOfService}}。"},qm={"periods.week":"{{amount}} 週","periods.month":"{{amount}} 個月","periods.year":"{{amount}} 年","periods.day":"{{amount}} 天","periods.weekShort":"{{amount}}週","periods.monthShort":"{{amount}}月","periods.yearShort":"{{amount}}年","periods.dayShort":"{{amount}}天","periods.lifetime":"終身","periods.weekPlural":"{{amount}} 週","periods.monthPlural":"{{amount}} 個月","periods.yearPlural":"{{amount}} 年","periods.dayPlural":"{{amount}} 天","periods.weekFrequency":"每週","periods.monthFrequency":"每月","periods.yearFrequency":"每年","periods.dayFrequency":"每天","periods.perWeekFrequency":"每週","periods.perMonthFrequency":"每月","periods.perYearFrequency":"每年","periods.perDayFrequency":"每天","periods.unknownFrequency":"未知","periods.weekFrequencyPlural":"每 {{amount}} 週","periods.monthFrequencyPlural":"每 {{amount}} 個月","periods.yearFrequencyPlural":"每 {{amount}} 年","periods.dayFrequencyPlural":"每 {{amount}} 天","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} 天免費試用","product_info.price_after_free_trial":"試用期結束後,於 {{renewalDate}}","product_info.renewal_frequency":"每 {{frequency}} 續約","product_info.continues_until_cancelled":"持續到取消","product_info.cancel_anytime":"隨時取消","payment_entry_page.payment_step_title":"RevenueCat 安全結帳","payment_entry_page.button_pay":"立即付款","payment_entry_page.button_start_trial":"開始試用","success_page.purchase_successful":"付款完成","success_page.button_close":"繼續","error_page.if_error_persists":"如果錯誤持續存在,請聯絡 ","error_page.error_title_already_subscribed":"您已經訂閱 {{productTitle}}","error_page.error_title_already_purchased":"您已經購買 {{productTitle}}","error_page.error_title_other_errors":"發生錯誤","error_page.error_message_already_subscribed":"您無法再次訂閱此產品。","error_page.error_message_already_purchased":"您無法再次購買此產品。","error_page.error_message_missing_email_error":"完成購買需要電子郵件地址。","error_page.error_message_network_error":"網路錯誤。請檢查您的網路連線。","error_page.error_message_error_charging_payment":"付款失敗。","error_page.error_message_error_setting_up_purchase":"由於發生錯誤,購買未啟動(錯誤代碼:{{errorCode}})。","error_page.error_message_invalid_tax_location":"我們無法驗證您的帳單地址。請仔細檢查郵遞區號和國家是否正確。","error_page.error_message_unknown_error":"發生不明錯誤(錯誤代碼:{{errorCode}})。","error_page.button_try_again":"再試一次","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}} ({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"今日應付總額","product_info.subscribe_to":"訂閱","navbar_header.details":"詳細資訊","navbar_header.back_button":"返回","pricing_dropdown.show_details":"顯示詳細資訊","pricing_dropdown.hide_details":"隱藏詳細資訊","pricing_table.tax":"稅金","pricing_table.trial_ends":"試用期結束後,於 {{formattedTrialEndDate}}","pricing_table.total_due_today":"今日應付總額","pricing_table.total_excluding_tax":"總計(不含稅)","pricing_table.enter_billing_address_to_calculate":"輸入帳單地址以計算","pricing_table.enter_state_or_postal_code_to_calculate":"輸入州或郵政編碼以計算","pricing_table.enter_postal_code_to_calculate":"輸入郵政編碼以計算","error_page.error_message_invalid_email_error":"無法驗證電子郵件地址 {{email}}。請提供有效的電子郵件地址。","payment_entry_page.button_payment_method":"使用 {{paymentMethod}} 支付 {{formattedPrice}}","payment_entry_page.button_with_price":"支付 {{formattedPrice}}","price_update.title":"價格更新","price_update.base_message":"總價已根據您的帳單地址更新稅金。請檢查後重試。您的信用卡只會被收取一次費用。","price_update.trial_message":"根據您的帳單地址,訂閱價格已更新為含稅價格。免費試用仍然有效。請查看並重試。","payment_entry_page.express_checkout_divider":"或以信用卡付款","error_page.trouble_accessing":"如果您在存取購買項目時遇到問題,請透過以下方式聯絡支援人員:","error_page.close_button_title":"前往{{appName}}","error_page.error_title_stripe_missing_required_permission":"缺少 Stripe 權限","error_page.button_close":"關閉","error_page.error_message_stripe_invalid_tax_origin_address":"購買失敗,因為稅務起始地址無效。在正式環境中,購買將在不套用稅金的情況下運作。","error_page.error_message_stripe_tax_not_active":"購買失敗,因為 Stripe Tax 未啟用。在正式環境中,購買將在不套用稅金的情況下運作。","error_page.error_only_in_sandbox":"此訊息僅在沙盒中顯示。","error_page.error_message_stripe_missing_required_permission":"購買失敗,因為 Stripe 應用程式缺少必要的權限。在正式環境中,購買將在不套用稅金的情況下運作。","error_page.error_title_stripe_tax_not_active":"Stripe Tax 未啟用","error_page.error_title_stripe_invalid_tax_origin_address":"無效的稅務起始地址","apple_pay.free_trial":"免費試用","product_info.price_after_intro_price":"在 {{introPriceDuration}} 之後,於 {{renewalDate}}","product_info.after_trial":"試用期後","product_info.after":"之後","product_info.intro_price_phase_after_trial":"然後 {{introPriceDuration}},價格為 {{introPrice}}","product_info.intro_price_phase":"首先 {{introPriceDuration}},價格為 {{introPrice}}","product_info.intro_price_phase_paid_once":"一次性支付","payment_entry_page.trial_subscription_terms_info":"在您的試用期結束後,您將被收取 {{price}} {{perFrequency}},從 {{renewalDate}} 開始。您可以隨時在此日期之前取消。","payment_entry_page.subscription_info":"訂閱會自動續訂。隨時取消。","payment_entry_page.otp_terms_info":"購買即表示您同意授權 {{appName}} 根據其條款向您收費。","payment_entry_page.terms_link_label":"條款","payment_entry_page.subscription_terms_info":"訂閱即表示您同意允許 {{appName}} 根據其條款向您收費,直到您取消為止。","loading_page.keep_page_open":"程序即將完成。請保持此頁面開啟。","loading_page.processing_payment":"正在處理付款","pricing_table.discount":"折扣","pricing_table.subtotal":"小計","pricing_dropdown.add_promo_code":"新增優惠碼","discount_input.label":"促銷代碼","payment_entry_page.checkout_consent_terms_of_service":"服務條款","payment_entry_page.checkout_consent_agreement":"我同意{{appName}}的{{termsOfService}}。"},Om={"periods.week":"{{amount}} tjedan","periods.month":"{{amount}} mjesec","periods.year":"{{amount}} godina","periods.day":"{{amount}} dan","periods.weekShort":"{{amount}}tj","periods.monthShort":"{{amount}}mj","periods.yearShort":"{{amount}}g","periods.dayShort":"{{amount}}d","periods.lifetime":"doživotno","periods.weekPlural":"{{amount}} tjedana","periods.monthPlural":"{{amount}} mjeseci","periods.yearPlural":"{{amount}} godina","periods.dayPlural":"{{amount}} dana","periods.weekFrequency":"tjedno","periods.monthFrequency":"mjesečno","periods.yearFrequency":"godišnje","periods.dayFrequency":"dnevno","periods.perWeekFrequency":"tjedno","periods.perMonthFrequency":"mjesečno","periods.perYearFrequency":"godišnje","periods.perDayFrequency":"dnevno","periods.unknownFrequency":"nepoznato","periods.weekFrequencyPlural":"svakih {{amount}} tjedana","periods.monthFrequencyPlural":"svakih {{amount}} mjeseci","periods.yearFrequencyPlural":"svakih {{amount}} godina","periods.dayFrequencyPlural":"svakih {{amount}} dana","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} besplatno probno razdoblje","product_info.price_after_free_trial":"Nakon isteka probnog razdoblja, {{renewalDate}}","product_info.renewal_frequency":"Obnavlja se {{frequency}}","product_info.continues_until_cancelled":"Nastavlja se dok se ne otkaže","product_info.cancel_anytime":"Otkažite u bilo kojem trenutku","payment_entry_page.payment_step_title":"Sigurna naplata putem RevenueCat","payment_entry_page.button_pay":"Plati sada","payment_entry_page.button_start_trial":"Počni probno razdoblje","success_page.purchase_successful":"Uplata je uspješna","success_page.button_close":"Nastavi","error_page.if_error_persists":"Ako se pogreška nastavi, obratite se ","error_page.error_title_already_subscribed":"Već ste pretplaćeni na {{productTitle}}","error_page.error_title_already_purchased":"Već ste kupili {{productTitle}}","error_page.error_title_other_errors":"Nešto je pošlo po zlu","error_page.error_message_already_subscribed":"Ne možete se ponovno pretplatiti na ovaj proizvod.","error_page.error_message_already_purchased":"Ne možete ponovno kupiti ovaj proizvod.","error_page.error_message_missing_email_error":"E-pošta je potrebna za dovršetak kupnje.","error_page.error_message_network_error":"Mrežna pogreška. Provjerite internetsku vezu.","error_page.error_message_error_charging_payment":"Plaćanje nije uspjelo.","error_page.error_message_error_setting_up_purchase":"Kupnja nije započela zbog pogreške (kod pogreške: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Nismo mogli potvrditi vašu adresu za naplatu. Molimo provjerite poštanski broj i državu kako biste bili sigurni da su točni.","error_page.error_message_unknown_error":"Došlo je do nepoznate pogreške (kod pogreške: {{errorCode}}).","error_page.button_try_again":"Pokušaj ponovno","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Ukupno dospijeće danas","product_info.subscribe_to":"Pretplatite se","navbar_header.details":"Detalji","navbar_header.back_button":"Natrag","pricing_dropdown.show_details":"Prikaži detalje","pricing_dropdown.hide_details":"Sakrij detalje","pricing_table.tax":"Porez","pricing_table.trial_ends":"Nakon isteka probnog razdoblja, {{formattedTrialEndDate}}","pricing_table.total_due_today":"Ukupan iznos dospijeća danas","pricing_table.total_excluding_tax":"Ukupno bez poreza","pricing_table.enter_billing_address_to_calculate":"Unesite adresu za naplatu za izračun","pricing_table.enter_state_or_postal_code_to_calculate":"Unesite državu ili poštanski broj za izračun","pricing_table.enter_postal_code_to_calculate":"Unesite poštanski broj za izračun","error_page.error_message_invalid_email_error":"Adresa e-pošte {{email}} nije se mogla potvrditi. Molimo unesite valjanu adresu e-pošte.","payment_entry_page.button_payment_method":"Plati {{formattedPrice}} putem {{paymentMethod}}","payment_entry_page.button_with_price":"Plati {{formattedPrice}}","price_update.title":"Ažuriranje cijene","price_update.base_message":"Ukupna cijena je ažurirana s porezom na temelju vaše adrese za naplatu. Pregledajte i pokušajte ponovo. Vaša kartica bit će naplaćena samo jednom.","price_update.trial_message":"Cijena pretplate je ažurirana da uključi poreze na temelju vaše adrese za naplatu. Besplatno probno razdoblje i dalje vrijedi. Molimo provjerite i pokušajte ponovno.","payment_entry_page.express_checkout_divider":"ILI PLATITE KARTICOM","error_page.trouble_accessing":"Ako imate problema s pristupom kupnji, obratite se podršci na ","error_page.close_button_title":"Idi na {{appName}}","error_page.error_title_stripe_missing_required_permission":"Nedostaje Stripe dopuštenje","error_page.button_close":"Zatvori","error_page.error_message_stripe_invalid_tax_origin_address":"Kupnja nije uspjela jer je adresa poreznog podrijetla nevažeća. U produkciji će kupnje funkcionirati bez primijenjenih poreza.","error_page.error_message_stripe_tax_not_active":"Kupnja nije uspjela jer Stripe Tax nije omogućen. U produkciji će kupnje funkcionirati bez primijenjenih poreza.","error_page.error_only_in_sandbox":"Ova se poruka pojavljuje samo u sandboxu.","error_page.error_message_stripe_missing_required_permission":"Kupnja nije uspjela jer Stripe aplikaciji nedostaje potrebno dopuštenje. U produkciji će kupnje funkcionirati bez primijenjenih poreza.","error_page.error_title_stripe_tax_not_active":"Stripe Tax nije aktivan","error_page.error_title_stripe_invalid_tax_origin_address":"Nevažeća adresa poreznog podrijetla","apple_pay.free_trial":"Besplatna proba","product_info.price_after_intro_price":"Nakon {{introPriceDuration}}, na {{renewalDate}}","product_info.after_trial":"nakon probnog perioda","product_info.after":"nakon","product_info.intro_price_phase_after_trial":"Zatim {{introPriceDuration}} za {{introPrice}}","product_info.intro_price_phase":"Prvo {{introPriceDuration}} za {{introPrice}}","product_info.intro_price_phase_paid_once":"plaća se jednokratno","payment_entry_page.trial_subscription_terms_info":"Nakon isteka probnog razdoblja, bit će vam naplaćeno {{price}} {{perFrequency}} počevši od {{renewalDate}}. Možete otkazati bilo kada prije tog datuma.","payment_entry_page.subscription_info":"Pretplata se automatski obnavlja. Otkažite bilo kada.","payment_entry_page.otp_terms_info":"Kupnjom pristajete dopustiti aplikaciji {{appName}} da vam naplati u skladu s njihovim uvjetima.","payment_entry_page.terms_link_label":"Uvjeti","payment_entry_page.subscription_terms_info":"Pretplatom se slažete da ćete dopustiti {{appName}} da vam naplaćuje u skladu s njihovim uvjetima dok ne otkažete.","loading_page.keep_page_open":"Proces je skoro gotov. Ostavite ovu stranicu otvorenom.","loading_page.processing_payment":"Obrada uplate","pricing_table.discount":"Popust","pricing_table.subtotal":"Međuzbroj","pricing_dropdown.add_promo_code":"Dodaj promotivni kod","discount_input.label":"Promo kod","payment_entry_page.checkout_consent_terms_of_service":"uvjetima korištenja","payment_entry_page.checkout_consent_agreement":"Slažem se s {{appName}} {{termsOfService}}."},Lm={"periods.week":"{{amount}} týden","periods.month":"{{amount}} měsíc","periods.year":"{{amount}} rok","periods.day":"{{amount}} den","periods.weekShort":"{{amount}}týd","periods.monthShort":"{{amount}}měs","periods.yearShort":"{{amount}}rok","periods.dayShort":"{{amount}}d","periods.lifetime":"doživotně","periods.weekPlural":"{{amount}} týdnů","periods.monthPlural":"{{amount}} měsíců","periods.yearPlural":"{{amount}} let","periods.dayPlural":"{{amount}} dnů","periods.weekFrequency":"týdně","periods.monthFrequency":"měsíčně","periods.yearFrequency":"ročně","periods.dayFrequency":"denně","periods.perWeekFrequency":"týdně","periods.perMonthFrequency":"měsíčně","periods.perYearFrequency":"ročně","periods.perDayFrequency":"denně","periods.unknownFrequency":"neznámé","periods.weekFrequencyPlural":"každých {{amount}} týdnů","periods.monthFrequencyPlural":"každých {{amount}} měsíců","periods.yearFrequencyPlural":"každých {{amount}} let","periods.dayFrequencyPlural":"každých {{amount}} dnů","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} zkušební verze zdarma","product_info.price_after_free_trial":"Po skončení zkušební verze, {{renewalDate}}","product_info.renewal_frequency":"Obnovuje se {{frequency}}","product_info.continues_until_cancelled":"Pokračuje, dokud není zrušeno","product_info.cancel_anytime":"Zrušit kdykoli","payment_entry_page.payment_step_title":"Bezpečné placení přes RevenueCat","payment_entry_page.button_pay":"Platit nyní","payment_entry_page.button_start_trial":"Spustit zkušební verzi","success_page.purchase_successful":"Platba dokončena","success_page.button_close":"Pokračovat","error_page.if_error_persists":"Pokud chyba přetrvává, kontaktujte ","error_page.error_title_already_subscribed":"Již máte předplatné pro {{productTitle}}","error_page.error_title_already_purchased":"Již jste zakoupili {{productTitle}}","error_page.error_title_other_errors":"Něco se pokazilo","error_page.error_message_already_subscribed":"Nemůžete si znovu předplatit tento produkt.","error_page.error_message_already_purchased":"Tento produkt si nemůžete znovu zakoupit.","error_page.error_message_missing_email_error":"Pro dokončení nákupu je vyžadován e-mail.","error_page.error_message_network_error":"Síťová chyba. Zkontrolujte prosím své internetové připojení.","error_page.error_message_error_charging_payment":"Platba selhala.","error_page.error_message_error_setting_up_purchase":"Nákup nebyl zahájen z důvodu chyby (kód chyby: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Nemohli jsme ověřit vaši fakturační adresu. Zkontrolujte prosím, zda je poštovní směrovací číslo a země správné.","error_page.error_message_unknown_error":"Došlo k neznámé chybě (kód chyby: {{errorCode}}).","error_page.button_try_again":"Zkusit znovu","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Celkem dnes k zaplacení","product_info.subscribe_to":"Předplatit","navbar_header.details":"Podrobnosti","navbar_header.back_button":"Zpět","pricing_dropdown.show_details":"Zobrazit podrobnosti","pricing_dropdown.hide_details":"Skrýt podrobnosti","pricing_table.tax":"Daň","pricing_table.trial_ends":"Po skončení zkušební doby, dne {{formattedTrialEndDate}}","pricing_table.total_due_today":"Celkem splatné dnes","pricing_table.total_excluding_tax":"Celkem bez daně","pricing_table.enter_billing_address_to_calculate":"Zadejte fakturační adresu pro výpočet","pricing_table.enter_state_or_postal_code_to_calculate":"Zadejte stát nebo PSČ pro výpočet","pricing_table.enter_postal_code_to_calculate":"Zadejte PSČ pro výpočet","error_page.error_message_invalid_email_error":"E-mailová adresa {{email}} nemohla být ověřena. Zadejte prosím platnou e-mailovou adresu.","payment_entry_page.button_payment_method":"Zaplatit {{formattedPrice}} pomocí {{paymentMethod}}","payment_entry_page.button_with_price":"Zaplatit {{formattedPrice}}","price_update.title":"Aktualizace ceny","price_update.base_message":"Celková cena byla aktualizována o daň na základě vaší fakturační adresy. Zkontrolujte ji a zkuste to znovu. Vaše karta bude stržena pouze jednou.","price_update.trial_message":"Cena předplatného byla aktualizována včetně daní na základě vaší fakturační adresy. Bezplatná zkušební doba stále platí. Prosím, zkontrolujte a zkuste to znovu.","payment_entry_page.express_checkout_divider":"NEBO ZAPLATIT KARTOU","error_page.trouble_accessing":"Pokud máte potíže s přístupem k zakoupenému obsahu, kontaktujte podporu na ","error_page.close_button_title":"Přejít na {{appName}}","error_page.error_title_stripe_missing_required_permission":"Chybí oprávnění Stripe","error_page.button_close":"Zavřít","error_page.error_message_stripe_invalid_tax_origin_address":"Nákup se nezdařil, protože adresa původu daně je neplatná. V produkčním prostředí budou nákupy fungovat bez uplatnění daní.","error_page.error_message_stripe_tax_not_active":"Nákup se nezdařil, protože Stripe Tax není aktivní. V produkčním prostředí budou nákupy fungovat bez uplatnění daní.","error_page.error_only_in_sandbox":"Tato zpráva se zobrazuje pouze v sandboxu.","error_page.error_message_stripe_missing_required_permission":"Nákup se nezdařil, protože aplikaci Stripe chybí požadované oprávnění. V produkčním prostředí budou nákupy fungovat bez uplatnění daní.","error_page.error_title_stripe_tax_not_active":"Stripe Tax není aktivní","error_page.error_title_stripe_invalid_tax_origin_address":"Neplatná adresa původu daně","apple_pay.free_trial":"Zkušební verze zdarma","product_info.price_after_intro_price":"Po {{introPriceDuration}}, dne {{renewalDate}}","product_info.after_trial":"po zkušební době","product_info.after":"po","product_info.intro_price_phase_after_trial":"Poté {{introPriceDuration}} za {{introPrice}}","product_info.intro_price_phase":"Nejprve {{introPriceDuration}} za {{introPrice}}","product_info.intro_price_phase_paid_once":"placeno jednorázově","payment_entry_page.trial_subscription_terms_info":"Po skončení zkušebního období vám bude účtováno {{price}} {{perFrequency}} počínaje {{renewalDate}}. Před tímto datem můžete kdykoli zrušit.","payment_entry_page.subscription_info":"Předplatné se automaticky obnovuje. Zrušit můžete kdykoli.","payment_entry_page.otp_terms_info":"Zakoupením souhlasíte s tím, že umožníte aplikaci {{appName}} účtovat vám poplatky v souladu s jejími podmínkami.","payment_entry_page.terms_link_label":"Podmínky","payment_entry_page.subscription_terms_info":"Přihlášením k odběru souhlasíte s tím, že společnost {{appName}} vám bude účtovat poplatky v souladu s jejími podmínkami, dokud odběr nezrušíte.","loading_page.keep_page_open":"Probíhá dokončování procesu. Nechte tuto stránku otevřenou.","loading_page.processing_payment":"Probíhá zpracování platby","pricing_table.discount":"Sleva","pricing_table.subtotal":"Mezisoučet","pricing_dropdown.add_promo_code":"Přidat promo kód","discount_input.label":"Promo kód","payment_entry_page.checkout_consent_terms_of_service":"podmínkami služby","payment_entry_page.checkout_consent_agreement":"Souhlasím s {{appName}} {{termsOfService}}."},Nm={"periods.week":"{{amount}} uge","periods.month":"{{amount}} måned","periods.year":"{{amount}} år","periods.day":"{{amount}} dag","periods.weekShort":"{{amount}}ug","periods.monthShort":"{{amount}}md","periods.yearShort":"{{amount}}år","periods.dayShort":"{{amount}}d","periods.lifetime":"livstid","periods.weekPlural":"{{amount}} uger","periods.monthPlural":"{{amount}} måneder","periods.yearPlural":"{{amount}} år","periods.dayPlural":"{{amount}} dage","periods.weekFrequency":"ugentligt","periods.monthFrequency":"månedligt","periods.yearFrequency":"årligt","periods.dayFrequency":"dagligt","periods.perWeekFrequency":"pr. uge","periods.perMonthFrequency":"pr. måned","periods.perYearFrequency":"pr. år","periods.perDayFrequency":"pr. dag","periods.unknownFrequency":"ukendt","periods.weekFrequencyPlural":"hver {{amount}} uger","periods.monthFrequencyPlural":"hver {{amount}} måneder","periods.yearFrequencyPlural":"hver {{amount}} år","periods.dayFrequencyPlural":"hver {{amount}} dage","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} gratis prøveperiode","product_info.price_after_free_trial":"Efter prøveperioden slutter, den {{renewalDate}}","product_info.renewal_frequency":"Fornyes {{frequency}}","product_info.continues_until_cancelled":"Fortsætter indtil annulleret","product_info.cancel_anytime":"Annuller når som helst","payment_entry_page.payment_step_title":"Sikker betaling via RevenueCat","payment_entry_page.button_pay":"Betal nu","payment_entry_page.button_start_trial":"Start prøveperiode","success_page.purchase_successful":"Betaling gennemført","success_page.button_close":"Fortsæt","error_page.if_error_persists":"Hvis fejlen fortsætter, kontakt venligst ","error_page.error_title_already_subscribed":"Du abonnerer allerede på {{productTitle}}","error_page.error_title_already_purchased":"Du har allerede købt {{productTitle}}","error_page.error_title_other_errors":"Noget gik galt","error_page.error_message_already_subscribed":"Du kan ikke abonnere på dette produkt igen.","error_page.error_message_already_purchased":"Du kan ikke købe dette produkt igen.","error_page.error_message_missing_email_error":"Email er påkrævet for at gennemføre købet.","error_page.error_message_network_error":"Netværksfejl. Kontroller din internetforbindelse.","error_page.error_message_error_charging_payment":"Betalingen mislykkedes.","error_page.error_message_error_setting_up_purchase":"Køb ikke startet på grund af en fejl (fejlkode: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Vi kunne ikke bekræfte din faktureringsadresse. Kontroller venligst, at postnummeret og landet er korrekte.","error_page.error_message_unknown_error":"Der opstod en ukendt fejl (fejlkode: {{errorCode}}).","error_page.button_try_again":"Prøv igen","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Samlet beløb for i dag","product_info.subscribe_to":"Abonner på","navbar_header.details":"Detaljer","navbar_header.back_button":"Tilbage","pricing_dropdown.show_details":"Vis detaljer","pricing_dropdown.hide_details":"Skjul detaljer","pricing_table.tax":"Moms","pricing_table.trial_ends":"Efter prøveperioden slutter, den {{formattedTrialEndDate}}","pricing_table.total_due_today":"Samlet beløb forfalden i dag","pricing_table.total_excluding_tax":"Samlet beløb eksklusive moms","pricing_table.enter_billing_address_to_calculate":"Indtast faktureringsadresse for at beregne","pricing_table.enter_state_or_postal_code_to_calculate":"Indtast stat eller postnummer for at beregne","pricing_table.enter_postal_code_to_calculate":"Indtast postnummer for at beregne","error_page.error_message_invalid_email_error":"E-mailadressen {{email}} kunne ikke bekræftes. Angiv en gyldig e-mailadresse.","payment_entry_page.button_payment_method":"Betal {{formattedPrice}} med {{paymentMethod}}","payment_entry_page.button_with_price":"Betal {{formattedPrice}}","price_update.title":"Prisopdatering","price_update.base_message":"Den samlede pris er blevet opdateret med moms baseret på din faktureringsadresse. Gennemgå og prøv igen. Dit kort vil kun blive debiteret én gang.","price_update.trial_message":"Abonnementsprisen er opdateret for at inkludere skatter baseret på din faktureringsadresse. Den gratis prøveperiode gælder stadig. Kontroller venligst og prøv igen.","payment_entry_page.express_checkout_divider":"ELLER BETAL MED KORT","error_page.trouble_accessing":"Hvis du har problemer med at få adgang til dit køb, kan du kontakte support på ","error_page.close_button_title":"Gå til {{appName}}","error_page.error_title_stripe_missing_required_permission":"Manglende Stripe-tilladelse","error_page.button_close":"Luk","error_page.error_message_stripe_invalid_tax_origin_address":"Købet mislykkedes, fordi skatteoprindelsesadressen er ugyldig. I produktion vil køb fungere uden påførte skatter.","error_page.error_message_stripe_tax_not_active":"Købet mislykkedes, fordi Stripe Tax ikke er aktiveret. I produktion vil køb fungere uden påførte skatter.","error_page.error_only_in_sandbox":"Denne meddelelse vises kun i sandkassen.","error_page.error_message_stripe_missing_required_permission":"Købet mislykkedes, fordi Stripe-appen mangler en påkrævet tilladelse. I produktion vil køb fungere uden påførte skatter.","error_page.error_title_stripe_tax_not_active":"Stripe Tax er ikke aktiv","error_page.error_title_stripe_invalid_tax_origin_address":"Ugyldig skatteoprindelsesadresse","apple_pay.free_trial":"Gratis prøveperiode","product_info.price_after_intro_price":"Efter {{introPriceDuration}}, den {{renewalDate}}","product_info.after_trial":"efter prøveperiode","product_info.after":"efter","product_info.intro_price_phase_after_trial":"Derefter {{introPriceDuration}} for {{introPrice}}","product_info.intro_price_phase":"Først {{introPriceDuration}} for {{introPrice}}","product_info.intro_price_phase_paid_once":"betales én gang","payment_entry_page.trial_subscription_terms_info":"Efter din prøveperiode slutter, vil du blive opkrævet {{price}} {{perFrequency}} fra og med {{renewalDate}}. Du kan opsige når som helst før denne dato.","payment_entry_page.subscription_info":"Abonnementet fornys automatisk. Opsig når som helst.","payment_entry_page.otp_terms_info":"Ved at købe accepterer du, at {{appName}} kan debitere dig i overensstemmelse med deres vilkår.","payment_entry_page.terms_link_label":"Vilkår","payment_entry_page.subscription_terms_info":"Ved at abonnere accepterer du, at {{appName}} kan opkræve dig i henhold til deres vilkår, indtil du opsiger.","loading_page.keep_page_open":"Processen er næsten færdig. Hold denne side åben.","loading_page.processing_payment":"Behandler betaling","pricing_table.discount":"Rabat","pricing_table.subtotal":"Subtotal","pricing_dropdown.add_promo_code":"Tilføj rabatkode","discount_input.label":"Kampagnekode","payment_entry_page.checkout_consent_terms_of_service":"servicevilkår","payment_entry_page.checkout_consent_agreement":"Jeg accepterer {{appName}}'s {{termsOfService}}."},jm={"periods.week":"{{amount}} week","periods.month":"{{amount}} maand","periods.year":"{{amount}} jaar","periods.day":"{{amount}} dag","periods.weekShort":"{{amount}}wk","periods.monthShort":"{{amount}}maand","periods.yearShort":"{{amount}}jr","periods.dayShort":"{{amount}}d","periods.lifetime":"levenslang","periods.weekPlural":"{{amount}} weken","periods.monthPlural":"{{amount}} maanden","periods.yearPlural":"{{amount}} jaren","periods.dayPlural":"{{amount}} dagen","periods.weekFrequency":"wekelijks","periods.monthFrequency":"maandelijks","periods.yearFrequency":"jaarlijks","periods.dayFrequency":"dagelijks","periods.perWeekFrequency":"per week","periods.perMonthFrequency":"per maand","periods.perYearFrequency":"per jaar","periods.perDayFrequency":"per dag","periods.unknownFrequency":"onbekend","periods.weekFrequencyPlural":"elke {{amount}} weken","periods.monthFrequencyPlural":"elke {{amount}} maanden","periods.yearFrequencyPlural":"elke {{amount}} jaren","periods.dayFrequencyPlural":"elke {{amount}} dagen","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} gratis proefperiode","product_info.price_after_free_trial":"Na afloop van de proefperiode, op {{renewalDate}}","product_info.renewal_frequency":"Wordt verlengd {{frequency}}","product_info.continues_until_cancelled":"Wordt voortgezet tot annulering","product_info.cancel_anytime":"Annuleer op elk gewenst moment","payment_entry_page.payment_step_title":"Veilige afrekening via RevenueCat","payment_entry_page.button_pay":"Nu betalen","payment_entry_page.button_start_trial":"Start proefperiode","success_page.purchase_successful":"Betaling voltooid","success_page.button_close":"Doorgaan","error_page.if_error_persists":"Neem contact op met als de fout aanhoudt","error_page.error_title_already_subscribed":"Je bent al geabonneerd op {{productTitle}}","error_page.error_title_already_purchased":"Je hebt {{productTitle}} al gekocht","error_page.error_title_other_errors":"Er is iets misgegaan","error_page.error_message_already_subscribed":"Je kunt je niet opnieuw abonneren op dit product.","error_page.error_message_already_purchased":"Je kunt dit product niet opnieuw kopen.","error_page.error_message_missing_email_error":"Een e-mailadres is vereist om de aankoop te voltooien.","error_page.error_message_network_error":"Netwerkfout. Controleer uw internetverbinding.","error_page.error_message_error_charging_payment":"Betaling mislukt.","error_page.error_message_error_setting_up_purchase":"Aankoop niet gestart vanwege een fout (foutcode: {{errorCode}}).","error_page.error_message_invalid_tax_location":"We konden uw factuuradres niet verifiëren. Controleer of de postcode en het land correct zijn.","error_page.error_message_unknown_error":"Er is een onbekende fout opgetreden (foutcode: {{errorCode}}).","error_page.button_try_again":"Opnieuw proberen","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Totaal te betalen vandaag","product_info.subscribe_to":"Abonneren op","navbar_header.details":"Details","navbar_header.back_button":"Terug","pricing_dropdown.show_details":"Toon details","pricing_dropdown.hide_details":"Verberg details","pricing_table.tax":"Btw","pricing_table.trial_ends":"Na afloop van de proefperiode, op {{formattedTrialEndDate}}","pricing_table.total_due_today":"Totaal vandaag te betalen","pricing_table.total_excluding_tax":"Totaal exclusief btw","pricing_table.enter_billing_address_to_calculate":"Voer het factuuradres in om te berekenen","pricing_table.enter_state_or_postal_code_to_calculate":"Voer provincie of postcode in om te berekenen","pricing_table.enter_postal_code_to_calculate":"Voer postcode in om te berekenen","error_page.error_message_invalid_email_error":"Het e-mailadres {{email}} kon niet worden geverifieerd. Geef een geldig e-mailadres op.","payment_entry_page.button_payment_method":"Betaal {{formattedPrice}} met {{paymentMethod}}","payment_entry_page.button_with_price":"Betaal {{formattedPrice}}","price_update.title":"Prijsupdate","price_update.base_message":"De totale prijs is bijgewerkt met belasting op basis van uw factuuradres. Controleer en probeer het opnieuw. Uw kaart wordt slechts één keer belast.","price_update.trial_message":"De abonnementsprijs is bijgewerkt om belastingen op te nemen op basis van uw factuuradres. De gratis proefperiode blijft van toepassing. Controleer en probeer het opnieuw.","payment_entry_page.express_checkout_divider":"OF BETAAL MET EEN KAART","error_page.trouble_accessing":"Als je problemen hebt met het verkrijgen van toegang tot je aankoop, neem dan contact op met de ondersteuning via ","error_page.close_button_title":"Ga naar {{appName}}","error_page.error_title_stripe_missing_required_permission":"Ontbrekende Stripe-toestemming","error_page.button_close":"Sluiten","error_page.error_message_stripe_invalid_tax_origin_address":"De aankoop is mislukt omdat het belastingoorsprongadres ongeldig is. In productie werken aankopen zonder toegepaste belastingen.","error_page.error_message_stripe_tax_not_active":"De aankoop is mislukt omdat Stripe Tax niet is ingeschakeld. In productie werken aankopen zonder toegepaste belastingen.","error_page.error_only_in_sandbox":"Dit bericht verschijnt alleen in de sandbox.","error_page.error_message_stripe_missing_required_permission":"De aankoop is mislukt omdat de Stripe-app een vereiste toestemming mist. In productie werken aankopen zonder toegepaste belastingen.","error_page.error_title_stripe_tax_not_active":"Stripe Tax niet actief","error_page.error_title_stripe_invalid_tax_origin_address":"Ongeldig belastingoorsprongadres","apple_pay.free_trial":"Gratis proefperiode","product_info.price_after_intro_price":"Na {{introPriceDuration}}, op {{renewalDate}}","product_info.after_trial":"na proefperiode","product_info.after":"na","product_info.intro_price_phase_after_trial":"Daarna {{introPriceDuration}} voor {{introPrice}}","product_info.intro_price_phase":"Eerst {{introPriceDuration}} voor {{introPrice}}","product_info.intro_price_phase_paid_once":"eenmalig betaald","payment_entry_page.trial_subscription_terms_info":"Na afloop van uw proefperiode wordt {{price}} {{perFrequency}} in rekening gebracht, beginnend op {{renewalDate}}. U kunt op elk moment vóór deze datum annuleren.","payment_entry_page.subscription_info":"Abonnement wordt automatisch verlengd. Annuleer op elk moment.","payment_entry_page.otp_terms_info":"Door de aankoop ga je ermee akkoord dat {{appName}} kosten in rekening brengt volgens hun voorwaarden.","payment_entry_page.terms_link_label":"Voorwaarden","payment_entry_page.subscription_terms_info":"Door u te abonneren, stemt u ermee in dat {{appName}} u kosten in rekening brengt volgens hun voorwaarden totdat u annuleert.","loading_page.keep_page_open":"Het proces is bijna voltooid. Houd deze pagina open.","loading_page.processing_payment":"Betaling verwerken","pricing_table.discount":"Korting","pricing_table.subtotal":"Subtotaal","pricing_dropdown.add_promo_code":"Promotiecode toevoegen","discount_input.label":"Promotiecode","payment_entry_page.checkout_consent_terms_of_service":"servicevoorwaarden","payment_entry_page.checkout_consent_agreement":"Ik ga akkoord met de {{appName}} {{termsOfService}}."},Bm={"periods.week":"{{amount}} viikko","periods.month":"{{amount}} kuukausi","periods.year":"{{amount}} vuosi","periods.day":"{{amount}} päivä","periods.weekShort":"{{amount}}vk","periods.monthShort":"{{amount}}kk","periods.yearShort":"{{amount}}v","periods.dayShort":"{{amount}}p","periods.lifetime":"elämäaika","periods.weekPlural":"{{amount}} viikkoa","periods.monthPlural":"{{amount}} kuukautta","periods.yearPlural":"{{amount}} vuotta","periods.dayPlural":"{{amount}} päivää","periods.weekFrequency":"viikoittain","periods.monthFrequency":"kuukausittain","periods.yearFrequency":"vuosittain","periods.dayFrequency":"päivittäin","periods.perWeekFrequency":"viikossa","periods.perMonthFrequency":"kuukaudessa","periods.perYearFrequency":"vuodessa","periods.perDayFrequency":"päivässä","periods.unknownFrequency":"tuntematon","periods.weekFrequencyPlural":"joka {{amount}} viikko","periods.monthFrequencyPlural":"joka {{amount}} kuukausi","periods.yearFrequencyPlural":"joka {{amount}} vuosi","periods.dayFrequencyPlural":"joka {{amount}} päivä","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} ilmainen kokeilujakso","product_info.price_after_free_trial":"Kokeilujakson päätyttyä, {{renewalDate}}","product_info.renewal_frequency":"Uusiutuu {{frequency}}","product_info.continues_until_cancelled":"Jatkuu, kunnes peruutetaan","product_info.cancel_anytime":"Peruuta milloin tahansa","payment_entry_page.payment_step_title":"Suojautunut kassatoiminto RevenueCatin kautta","payment_entry_page.button_pay":"Maksa nyt","payment_entry_page.button_start_trial":"Aloita kokeilujakso","success_page.purchase_successful":"Maksaminen onnistui","success_page.button_close":"Jatka","error_page.if_error_persists":"Jos virhe jatkuu, ota yhteyttä ","error_page.error_title_already_subscribed":"Olet jo tilannut tuotteen {{productTitle}}","error_page.error_title_already_purchased":"Olet jo ostanut tuotteen {{productTitle}}","error_page.error_title_other_errors":"Jokin meni pieleen","error_page.error_message_already_subscribed":"Et voi tilata tätä tuotetta uudelleen.","error_page.error_message_already_purchased":"Et voi ostaa tätä tuotetta uudelleen.","error_page.error_message_missing_email_error":"Sähköpostiosoite tarvitaan ostoksen loppuun saattamiseksi.","error_page.error_message_network_error":"Verkkovirhe. Tarkista internet-yhteytesi.","error_page.error_message_error_charging_payment":"Maksaminen epäonnistui.","error_page.error_message_error_setting_up_purchase":"Ostoa ei aloitettu virheen vuoksi (virhekoodi: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Emme voineet vahvistaa laskutusosoitettasi. Tarkista, että postinumero ja maa ovat oikein.","error_page.error_message_unknown_error":"Tapahtui tuntematon virhe (virhekoodi: {{errorCode}}).","error_page.button_try_again":"Yritä uudelleen","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}} ({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Maksettava summa tänään","product_info.subscribe_to":"Tilaa","navbar_header.details":"Yksityiskohdat","navbar_header.back_button":"Takaisin","pricing_dropdown.show_details":"Näytä tiedot","pricing_dropdown.hide_details":"Piilota tiedot","pricing_table.tax":"Vero","pricing_table.trial_ends":"Kokeilujakson päätyttyä, {{formattedTrialEndDate}}","pricing_table.total_due_today":"Maksettava summa tänään","pricing_table.total_excluding_tax":"Veroton kokonaissumma","pricing_table.enter_billing_address_to_calculate":"Syötä laskutusosoite laskeaksesi","pricing_table.enter_state_or_postal_code_to_calculate":"Syötä osavaltio tai postinumero laskeaksesi","pricing_table.enter_postal_code_to_calculate":"Syötä postinumero laskeaksesi","error_page.error_message_invalid_email_error":"Sähköpostiosoitetta {{email}} ei voitu vahvistaa. Anna kelvollinen sähköpostiosoite.","payment_entry_page.button_payment_method":"Maksa {{formattedPrice}} käyttämällä {{paymentMethod}}","payment_entry_page.button_with_price":"Maksa {{formattedPrice}}","price_update.title":"Hinnan päivitys","price_update.base_message":"Kokonaishinta on päivitetty verolla laskutusosoitteesi perusteella. Tarkista ja yritä uudelleen. Korttiasi veloitetaan vain kerran.","price_update.trial_message":"Tilauksen hinta on päivitetty sisältämään verot laskutusosoitteesi perusteella. Ilmainen kokeilujakso on edelleen voimassa. Tarkista ja yritä uudelleen.","payment_entry_page.express_checkout_divider":"TAI MAKSA KORTILLA","error_page.trouble_accessing":"Jos sinulla on ongelmia ostoksesi käyttämisessä, ota yhteyttä tukeen osoitteessa ","error_page.close_button_title":"Siirry sovellukseen {{appName}}","error_page.error_title_stripe_missing_required_permission":"Puuttuva Stripe-käyttöoikeus","error_page.button_close":"Sulje","error_page.error_message_stripe_invalid_tax_origin_address":"Osto epäonnistui, koska veron alkuperäosoite on virheellinen. Tuotantoympäristössä ostot toimivat ilman veroja.","error_page.error_message_stripe_tax_not_active":"Osto epäonnistui, koska Stripe Tax ei ole käytössä. Tuotantoympäristössä ostot toimivat ilman veroja.","error_page.error_only_in_sandbox":"Tämä viesti näkyy vain hiekkalaatikossa.","error_page.error_message_stripe_missing_required_permission":"Osto epäonnistui, koska Stripe-sovellukselta puuttuu vaadittu käyttöoikeus. Tuotantoympäristössä ostot toimivat ilman veroja.","error_page.error_title_stripe_tax_not_active":"Stripe Tax ei ole aktiivinen","error_page.error_title_stripe_invalid_tax_origin_address":"Virheellinen veron alkuperäosoite","apple_pay.free_trial":"Ilmainen kokeilu","product_info.price_after_intro_price":"{{introPriceDuration}} jälkeen, {{renewalDate}}","product_info.after_trial":"kokeilujakson jälkeen","product_info.after":"jälkeen","product_info.intro_price_phase_after_trial":"Sitten {{introPriceDuration}} hintaan {{introPrice}}","product_info.intro_price_phase":"Ensimmäiset {{introPriceDuration}} hintaan {{introPrice}}","product_info.intro_price_phase_paid_once":"maksetaan kerran","payment_entry_page.trial_subscription_terms_info":"Kokeilujakson päätyttyä sinulta veloitetaan {{price}} {{perFrequency}} alkaen {{renewalDate}}. Voit peruuttaa milloin tahansa ennen tätä päivämäärää.","payment_entry_page.subscription_info":"Tilaus uusiutuu automaattisesti. Peruuta milloin tahansa.","payment_entry_page.otp_terms_info":"Ostamalla hyväksyt, että {{appName}} veloittaa sinua heidän ehtojensa mukaisesti.","payment_entry_page.terms_link_label":"Ehdot","payment_entry_page.subscription_terms_info":"Tilaamalla hyväksyt, että {{appName}} veloittaa sinulta ehtojensa mukaisesti, kunnes peruutat tilauksen.","loading_page.keep_page_open":"Prosessi on melkein valmis. Pidä tämä sivu auki.","loading_page.processing_payment":"Maksua käsitellään","pricing_table.discount":"Alennus","pricing_table.subtotal":"Välisumma","pricing_dropdown.add_promo_code":"Lisää kampanjakoodi","discount_input.label":"Kampanjakoodi","payment_entry_page.checkout_consent_terms_of_service":"käyttöehdot","payment_entry_page.checkout_consent_agreement":"Hyväksyn {{appName}}-palvelun {{termsOfService}}."},Rm={"periods.week":"{{amount}} semaine","periods.month":"{{amount}} mois","periods.year":"{{amount}} an","periods.day":"{{amount}} jour","periods.weekShort":"{{amount}}sem","periods.monthShort":"{{amount}}mois","periods.yearShort":"{{amount}}an","periods.dayShort":"{{amount}}j","periods.lifetime":"à vie","periods.weekPlural":"{{amount}} semaines","periods.monthPlural":"{{amount}} mois","periods.yearPlural":"{{amount}} ans","periods.dayPlural":"{{amount}} jours","periods.weekFrequency":"hebdomadaire","periods.monthFrequency":"mensuel","periods.yearFrequency":"annuel","periods.dayFrequency":"quotidien","periods.perWeekFrequency":"par semaine","periods.perMonthFrequency":"par mois","periods.perYearFrequency":"par an","periods.perDayFrequency":"par jour","periods.unknownFrequency":"inconnu","periods.weekFrequencyPlural":"toutes les {{amount}} semaines","periods.monthFrequencyPlural":"tous les {{amount}} mois","periods.yearFrequencyPlural":"tous les {{amount}} ans","periods.dayFrequencyPlural":"tous les {{amount}} jours","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} essai gratuit","product_info.price_after_free_trial":"Après la fin de l'essai, le {{renewalDate}}","product_info.renewal_frequency":"Renouvellement {{frequency}}","product_info.continues_until_cancelled":"Continue jusqu'à annulation","product_info.cancel_anytime":"Annulez à tout moment","payment_entry_page.payment_step_title":"Paiement sécurisé par RevenueCat","payment_entry_page.button_pay":"Payer maintenant","payment_entry_page.button_start_trial":"Commencer l'essai","success_page.purchase_successful":"Paiement effectué","success_page.button_close":"Continuer","error_page.if_error_persists":"Si l'erreur persiste, veuillez contacter ","error_page.error_title_already_subscribed":"Vous êtes déjà abonné à {{productTitle}}","error_page.error_title_already_purchased":"Vous avez déjà acheté {{productTitle}}","error_page.error_title_other_errors":"Une erreur s'est produite","error_page.error_message_already_subscribed":"Vous ne pouvez pas vous abonner à nouveau à ce produit.","error_page.error_message_already_purchased":"Vous ne pouvez pas acheter ce produit à nouveau.","error_page.error_message_missing_email_error":"L'adresse e-mail est requise pour effectuer l'achat.","error_page.error_message_network_error":"Erreur réseau. Veuillez vérifier votre connexion Internet.","error_page.error_message_error_charging_payment":"Échec du paiement.","error_page.error_message_error_setting_up_purchase":"L'achat n'a pas pu démarrer en raison d'une erreur (code d'erreur : {{errorCode}}).","error_page.error_message_invalid_tax_location":"Nous n'avons pas pu vérifier votre adresse de facturation. Veuillez vérifier que le code postal et le pays sont corrects.","error_page.error_message_unknown_error":"Une erreur inconnue s'est produite (code d'erreur : {{errorCode}}).","error_page.button_try_again":"Réessayer","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}} ({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Total dû aujourd'hui","product_info.subscribe_to":"S'abonner à","navbar_header.details":"Détails","navbar_header.back_button":"Retour","pricing_dropdown.show_details":"Afficher les détails","pricing_dropdown.hide_details":"Masquer les détails","pricing_table.tax":"Taxe","pricing_table.trial_ends":"Après la fin de l'essai, le {{formattedTrialEndDate}}","pricing_table.total_due_today":"Total dû aujourd'hui","pricing_table.total_excluding_tax":"Total hors taxes","pricing_table.enter_billing_address_to_calculate":"Saisir l'adresse de facturation pour calculer","pricing_table.enter_state_or_postal_code_to_calculate":"Entrez l'état ou le code postal pour calculer","pricing_table.enter_postal_code_to_calculate":"Entrez le code postal pour calculer","error_page.error_message_invalid_email_error":"L'adresse e-mail {{email}} n'a pas pu être vérifiée. Veuillez fournir une adresse e-mail valide.","payment_entry_page.button_payment_method":"Payer {{formattedPrice}} avec {{paymentMethod}}","payment_entry_page.button_with_price":"Payer {{formattedPrice}}","price_update.title":"Mise à jour du prix","price_update.base_message":"Le prix total a été mis à jour avec la taxe en fonction de votre adresse de facturation. Veuillez vérifier et réessayer. Votre carte ne sera débitée qu'une seule fois.","price_update.trial_message":"Le prix de l'abonnement a été mis à jour pour inclure les taxes en fonction de votre adresse de facturation. La période d'essai gratuit reste applicable. Veuillez vérifier et réessayer.","payment_entry_page.express_checkout_divider":"OU PAYER PAR CARTE","error_page.trouble_accessing":"Si vous avez des difficultés à accéder à votre achat, contactez le support à l'adresse suivante : ","error_page.close_button_title":"Aller sur {{appName}}","error_page.error_title_stripe_missing_required_permission":"Autorisation Stripe manquante","error_page.button_close":"Fermer","error_page.error_message_stripe_invalid_tax_origin_address":"L'achat a échoué car l'adresse d'origine de la taxe n'est pas valide. En production, les achats fonctionneront sans taxes appliquées.","error_page.error_message_stripe_tax_not_active":"L'achat a échoué car Stripe Tax n'est pas activé. En production, les achats fonctionneront sans taxes appliquées.","error_page.error_only_in_sandbox":"Ce message apparaît uniquement dans l'environnement de test.","error_page.error_message_stripe_missing_required_permission":"L'achat a échoué car l'application Stripe ne dispose pas d'une autorisation requise. En production, les achats fonctionneront sans taxes appliquées.","error_page.error_title_stripe_tax_not_active":"Stripe Tax non actif","error_page.error_title_stripe_invalid_tax_origin_address":"Adresse d'origine de la taxe non valide","apple_pay.free_trial":"Essai gratuit","product_info.price_after_intro_price":"Après {{introPriceDuration}}, le {{renewalDate}}","product_info.after_trial":"après l'essai","product_info.after":"après","product_info.intro_price_phase_after_trial":"Puis {{introPriceDuration}} pour {{introPrice}}","product_info.intro_price_phase":"{{introPriceDuration}} pour {{introPrice}} au départ","product_info.intro_price_phase_paid_once":"payé une fois","payment_entry_page.trial_subscription_terms_info":"Après la fin de votre essai, vous serez facturé {{price}} {{perFrequency}} à partir du {{renewalDate}}. Vous pouvez annuler à tout moment avant cette date.","payment_entry_page.subscription_info":"L'abonnement est renouvelé automatiquement. Annulez à tout moment.","payment_entry_page.otp_terms_info":"En achetant, vous acceptez d'autoriser {{appName}} à vous facturer conformément à ses conditions.","payment_entry_page.terms_link_label":"Conditions","payment_entry_page.subscription_terms_info":"En vous abonnant, vous acceptez d'autoriser {{appName}} à vous facturer conformément à ses conditions jusqu'à ce que vous annuliez.","loading_page.keep_page_open":"Le processus est presque terminé. Veuillez garder cette page ouverte.","loading_page.processing_payment":"Paiement en cours","pricing_table.discount":"Remise","pricing_table.subtotal":"Sous-total","pricing_dropdown.add_promo_code":"Ajouter un code promotionnel","discount_input.label":"Code promo","payment_entry_page.checkout_consent_terms_of_service":"conditions d'utilisation","payment_entry_page.checkout_consent_agreement":"J'accepte les {{termsOfService}} de {{appName}}."},Um={"periods.week":"{{amount}} Woche","periods.month":"{{amount}} Monat","periods.year":"{{amount}} Jahr","periods.day":"{{amount}} Tag","periods.weekShort":"{{amount}}Wo","periods.monthShort":"{{amount}}Mo","periods.yearShort":"{{amount}}J","periods.dayShort":"{{amount}}T","periods.lifetime":"lebenslang","periods.weekPlural":"{{amount}} Wochen","periods.monthPlural":"{{amount}} Monate","periods.yearPlural":"{{amount}} Jahre","periods.dayPlural":"{{amount}} Tage","periods.weekFrequency":"wöchentlich","periods.monthFrequency":"monatlich","periods.yearFrequency":"jährlich","periods.dayFrequency":"täglich","periods.perWeekFrequency":"pro Woche","periods.perMonthFrequency":"pro Monat","periods.perYearFrequency":"pro Jahr","periods.perDayFrequency":"pro Tag","periods.unknownFrequency":"unbekannt","periods.weekFrequencyPlural":"alle {{amount}} Wochen","periods.monthFrequencyPlural":"alle {{amount}} Monate","periods.yearFrequencyPlural":"alle {{amount}} Jahre","periods.dayFrequencyPlural":"alle {{amount}} Tage","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} kostenlose Testversion","product_info.price_after_free_trial":"Nach Ablauf der Testversion, am {{renewalDate}}","product_info.renewal_frequency":"Verlängert sich {{frequency}}","product_info.continues_until_cancelled":"Läuft bis zur Kündigung","product_info.cancel_anytime":"Jederzeit kündbar","payment_entry_page.payment_step_title":"Sicherer Checkout über RevenueCat","payment_entry_page.button_pay":"Jetzt bezahlen","payment_entry_page.button_start_trial":"Testversion starten","success_page.purchase_successful":"Zahlung abgeschlossen","success_page.button_close":"Weiter","error_page.if_error_persists":"Wenn der Fehler weiterhin besteht, wenden Sie sich bitte an ","error_page.error_title_already_subscribed":"Du hast {{productTitle}} bereits abonniert","error_page.error_title_already_purchased":"Du hast {{productTitle}} bereits gekauft","error_page.error_title_other_errors":"Etwas ist schief gelaufen","error_page.error_message_already_subscribed":"Du kannst dieses Produkt nicht erneut abonnieren.","error_page.error_message_already_purchased":"Du kannst dieses Produkt nicht erneut kaufen.","error_page.error_message_missing_email_error":"Für den Kauf ist eine E-Mail-Adresse erforderlich.","error_page.error_message_network_error":"Netzwerkfehler. Bitte überprüfen Sie Ihre Internetverbindung.","error_page.error_message_error_charging_payment":"Zahlung fehlgeschlagen.","error_page.error_message_error_setting_up_purchase":"Der Kauf wurde aufgrund eines Fehlers nicht gestartet (Fehlercode: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Wir konnten Ihre Rechnungsadresse nicht überprüfen. Bitte überprüfen Sie, ob die Postleitzahl und das Land korrekt sind.","error_page.error_message_unknown_error":"Ein unbekannter Fehler ist aufgetreten (Fehlercode: {{errorCode}}).","error_page.button_try_again":"Erneut versuchen","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}} ({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Heute fälliger Gesamtbetrag","product_info.subscribe_to":"Abonnieren","navbar_header.details":"Details","navbar_header.back_button":"Zurück","pricing_dropdown.show_details":"Details anzeigen","pricing_dropdown.hide_details":"Details ausblenden","pricing_table.tax":"Steuer","pricing_table.trial_ends":"Nach Ablauf der Testphase, am {{formattedTrialEndDate}}","pricing_table.total_due_today":"Heute fälliger Gesamtbetrag","pricing_table.total_excluding_tax":"Gesamtbetrag ohne Steuer","pricing_table.enter_billing_address_to_calculate":"Rechnungsadresse eingeben, um zu berechnen","pricing_table.enter_state_or_postal_code_to_calculate":"Bundesland oder Postleitzahl zur Berechnung eingeben","pricing_table.enter_postal_code_to_calculate":"Postleitzahl zur Berechnung eingeben","error_page.error_message_invalid_email_error":"Die E-Mail-Adresse {{email}} konnte nicht verifiziert werden. Bitte gib eine gültige E-Mail-Adresse an.","payment_entry_page.button_payment_method":"Mit {{paymentMethod}} für {{formattedPrice}} bezahlen","payment_entry_page.button_with_price":"{{formattedPrice}} bezahlen","price_update.title":"Preisaktualisierung","price_update.base_message":"Der Gesamtpreis wurde basierend auf Ihrer Rechnungsadresse mit Steuern aktualisiert. Bitte überprüfen Sie ihn und versuchen Sie es erneut. Ihre Karte wird erst belastet, wenn alles korrekt ist.","price_update.trial_message":"Der Abonnementpreis wurde aktualisiert, um Steuern basierend auf Ihrer Rechnungsadresse einzuschließen. Die kostenlose Testphase gilt weiterhin. Bitte überprüfen Sie und versuchen Sie es erneut.","payment_entry_page.express_checkout_divider":"ODER MIT KARTE ZAHLEN","error_page.trouble_accessing":"Wenn Sie Probleme beim Zugriff auf Ihren Kauf haben, wenden Sie sich an den Support unter ","error_page.close_button_title":"Zu {{appName}} gehen","error_page.error_title_stripe_missing_required_permission":"Fehlende Stripe-Berechtigung","error_page.button_close":"Schließen","error_page.error_message_stripe_invalid_tax_origin_address":"Der Kauf ist fehlgeschlagen, da die Steuerursprungsadresse ungültig ist. In der Produktion funktionieren Käufe ohne angewendete Steuern.","error_page.error_message_stripe_tax_not_active":"Der Kauf ist fehlgeschlagen, da Stripe Tax nicht aktiviert ist. In der Produktion funktionieren Käufe ohne angewendete Steuern.","error_page.error_only_in_sandbox":"Diese Meldung wird nur in der Sandbox angezeigt.","error_page.error_message_stripe_missing_required_permission":"Der Kauf ist fehlgeschlagen, da der Stripe-App eine erforderliche Berechtigung fehlt. In der Produktion funktionieren Käufe ohne angewendete Steuern.","error_page.error_title_stripe_tax_not_active":"Stripe Tax ist nicht aktiv","error_page.error_title_stripe_invalid_tax_origin_address":"Ungültige Steuerursprungsadresse","apple_pay.free_trial":"Kostenlose Testversion","product_info.price_after_intro_price":"Nach {{introPriceDuration}}, am {{renewalDate}}","product_info.after_trial":"nach Testphase","product_info.after":"nach","product_info.intro_price_phase_after_trial":"Danach {{introPriceDuration}} für {{introPrice}}","product_info.intro_price_phase":"Zuerst {{introPriceDuration}} für {{introPrice}}","product_info.intro_price_phase_paid_once":"einmalig bezahlt","payment_entry_page.trial_subscription_terms_info":"Nach Ablauf Ihres Testzeitraums werden Ihnen {{price}} {{perFrequency}} ab dem {{renewalDate}} berechnet. Sie können jederzeit vor diesem Datum kündigen.","payment_entry_page.subscription_info":"Das Abonnement verlängert sich automatisch. Jederzeit kündbar.","payment_entry_page.otp_terms_info":"Mit dem Kauf erklären Sie sich einverstanden, dass {{appName}} Ihnen Gebühren gemäß ihren Bedingungen berechnet.","payment_entry_page.terms_link_label":"Bedingungen","payment_entry_page.subscription_terms_info":"Mit dem Abonnieren erklären Sie sich damit einverstanden, dass {{appName}} Ihnen gemäß ihren Bedingungen Gebühren berechnet, bis Sie kündigen.","loading_page.keep_page_open":"Der Vorgang ist fast abgeschlossen. Bitte lassen Sie diese Seite geöffnet.","loading_page.processing_payment":"Zahlung wird verarbeitet","pricing_table.discount":"Rabatt","pricing_table.subtotal":"Zwischensumme","pricing_dropdown.add_promo_code":"Promo-Code hinzufügen","discount_input.label":"Gutscheincode","payment_entry_page.checkout_consent_terms_of_service":"Nutzungsbedingungen","payment_entry_page.checkout_consent_agreement":"Ich stimme den {{appName}} {{termsOfService}} zu."},Vm={"periods.week":"{{amount}} εβδομάδα","periods.month":"{{amount}} μήνας","periods.year":"{{amount}} χρόνος","periods.day":"{{amount}} ημέρα","periods.weekShort":"{{amount}} εβδ.","periods.monthShort":"{{amount}} μήν.","periods.yearShort":"{{amount}} έτ.","periods.dayShort":"{{amount}} ημ.","periods.lifetime":"διάρκεια ζωής","periods.weekPlural":"{{amount}} εβδομάδες","periods.monthPlural":"{{amount}} μήνες","periods.yearPlural":"{{amount}} χρόνια","periods.dayPlural":"{{amount}} ημέρες","periods.weekFrequency":"εβδομαδιαία","periods.monthFrequency":"μηνιαία","periods.yearFrequency":"ετήσια","periods.dayFrequency":"καθημερινά","periods.perWeekFrequency":"ανά εβδομάδα","periods.perMonthFrequency":"ανά μήνα","periods.perYearFrequency":"ανά έτος","periods.perDayFrequency":"ανά ημέρα","periods.unknownFrequency":"άγνωστο","periods.weekFrequencyPlural":"κάθε {{amount}} εβδομάδες","periods.monthFrequencyPlural":"κάθε {{amount}} μήνες","periods.yearFrequencyPlural":"κάθε {{amount}} χρόνια","periods.dayFrequencyPlural":"κάθε {{amount}} ημέρες","product_info.subscribe_to":"Εγγραφείτε στο","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"Δωρεάν για {{trialDuration}}","product_info.price_after_free_trial":"Μετά τη λήξη της δοκιμής, στις {{renewalDate}}","product_info.total_due_today":"Σύνολο πληρωτέο σήμερα","product_info.renewal_frequency":"Ανανεώνεται {{frequency}}","product_info.continues_until_cancelled":"Συνεχίζεται μέχρι την ακύρωση","product_info.cancel_anytime":"Ακύρωση ανά πάσα στιγμή","payment_entry_page.payment_step_title":"Ασφαλής ολοκλήρωση αγοράς από την RevenueCat","payment_entry_page.button_pay":"Πληρωμή τώρα","payment_entry_page.button_start_trial":"Έναρξη δοκιμής","success_page.purchase_successful":"Η πληρωμή ολοκληρώθηκε","success_page.button_close":"Συνέχεια","error_page.if_error_persists":"Εάν το σφάλμα παραμένει, επικοινωνήστε με ","error_page.error_title_already_subscribed":"Έχετε ήδη εγγραφεί στο {{productTitle}}","error_page.error_title_already_purchased":"Έχετε ήδη αγοράσει το {{productTitle}}","error_page.error_title_other_errors":"Κάτι πήγε στραβά","error_page.error_message_already_subscribed":"Δεν μπορείτε να εγγραφείτε ξανά σε αυτό το προϊόν.","error_page.error_message_already_purchased":"Δεν μπορείτε να αγοράσετε ξανά αυτό το προϊόν.","error_page.error_message_missing_email_error":"Απαιτείται email για την ολοκλήρωση της αγοράς.","error_page.error_message_network_error":"Σφάλμα δικτύου. Ελέγξτε τη σύνδεσή σας στο διαδίκτυο.","error_page.error_message_error_charging_payment":"Η πληρωμή απέτυχε.","error_page.error_message_error_setting_up_purchase":"Η αγορά δεν ξεκίνησε λόγω σφάλματος (κωδικός σφάλματος: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Δεν μπορέσαμε να επαληθεύσουμε τη διεύθυνση χρέωσής σας. Παρακαλούμε ελέγξτε ξανά τον ταχυδρομικό κώδικα και τη χώρα για να βεβαιωθείτε ότι είναι σωστά.","error_page.error_message_unknown_error":"Παρουσιάστηκε ένα άγνωστο σφάλμα (κωδικός σφάλματος: {{errorCode}}).","error_page.button_try_again":"Προσπαθήστε ξανά","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","navbar_header.details":"Λεπτομέρειες","navbar_header.back_button":"Πίσω","pricing_dropdown.show_details":"Εμφάνιση λεπτομερειών","pricing_dropdown.hide_details":"Απόκρυψη λεπτομερειών","pricing_table.tax":"Φόρος","pricing_table.trial_ends":"Μετά τη λήξη της δοκιμαστικής περιόδου, στις {{formattedTrialEndDate}}","pricing_table.total_due_today":"Σύνολο πληρωτέο σήμερα","pricing_table.total_excluding_tax":"Σύνολο χωρίς φόρο","pricing_table.enter_billing_address_to_calculate":"Εισαγάγετε τη διεύθυνση χρέωσης για να υπολογιστεί","pricing_table.enter_state_or_postal_code_to_calculate":"Εισαγάγετε την πολιτεία ή τον ταχυδρομικό κώδικα για να υπολογιστεί","pricing_table.enter_postal_code_to_calculate":"Εισαγάγετε τον ταχυδρομικό κώδικα για να υπολογιστεί","error_page.error_message_invalid_email_error":"Η διεύθυνση email {{email}} δεν μπόρεσε να επαληθευτεί. Παρακαλώ δώστε μια έγκυρη διεύθυνση email.","payment_entry_page.button_payment_method":"Πληρωμή {{formattedPrice}} με {{paymentMethod}}","payment_entry_page.button_with_price":"Πληρωμή {{formattedPrice}}","price_update.title":"Ενημέρωση τιμής","price_update.base_message":"Η συνολική τιμή ενημερώθηκε με τον φόρο βάσει της διεύθυνσης χρέωσής σας. Ελέγξτε και δοκιμάστε ξανά. Η κάρτα σας θα χρεωθεί μόνο μία φορά.","price_update.trial_message":"Η τιμή της συνδρομής ενημερώθηκε για να συμπεριλάβει τους φόρους βάσει της διεύθυνσης χρέωσής σας. Η δωρεάν δοκιμαστική περίοδος εξακολουθεί να ισχύει. Παρακαλώ ελέγξτε και δοκιμάστε ξανά.","payment_entry_page.express_checkout_divider":"Ή ΠΛΗΡΩΣΤΕ ΜΕ ΚΑΡΤΑ","error_page.trouble_accessing":"Εάν αντιμετωπίζετε προβλήματα πρόσβασης στην αγορά σας, επικοινωνήστε με την υποστήριξη στο ","error_page.close_button_title":"Μετάβαση στο {{appName}}","error_page.error_title_stripe_missing_required_permission":"Λείπει άδεια Stripe","error_page.button_close":"Κλείσιμο","error_page.error_message_stripe_invalid_tax_origin_address":"Η αγορά απέτυχε επειδή η διεύθυνση προέλευσης φόρου δεν είναι έγκυρη. Στην παραγωγή, οι αγορές θα λειτουργούν χωρίς να εφαρμόζονται φόροι.","error_page.error_message_stripe_tax_not_active":"Η αγορά απέτυχε επειδή το Stripe Tax δεν είναι ενεργοποιημένο. Στην παραγωγή, οι αγορές θα λειτουργούν χωρίς να εφαρμόζονται φόροι.","error_page.error_only_in_sandbox":"Αυτό το μήνυμα εμφανίζεται μόνο στο sandbox.","error_page.error_message_stripe_missing_required_permission":"Η αγορά απέτυχε επειδή η εφαρμογή Stripe δεν διαθέτει την απαιτούμενη άδεια. Στην παραγωγή, οι αγορές θα λειτουργούν χωρίς να εφαρμόζονται φόροι.","error_page.error_title_stripe_tax_not_active":"Το Stripe Tax δεν είναι ενεργό","error_page.error_title_stripe_invalid_tax_origin_address":"Μη έγκυρη διεύθυνση προέλευσης φόρου","apple_pay.free_trial":"Δωρεάν δοκιμή","product_info.price_after_intro_price":"Μετά από {{introPriceDuration}}, στις {{renewalDate}}","product_info.after_trial":"μετά τη δοκιμή","product_info.after":"μετά","product_info.intro_price_phase_after_trial":"Έπειτα {{introPriceDuration}} για {{introPrice}}","product_info.intro_price_phase":"Αρχικά {{introPriceDuration}} για {{introPrice}}","product_info.intro_price_phase_paid_once":"πληρωμένο εφάπαξ","payment_entry_page.trial_subscription_terms_info":"Μετά τη λήξη της δοκιμαστικής περιόδου, θα χρεωθείτε {{price}} {{perFrequency}} ξεκινώντας από {{renewalDate}}. Μπορείτε να ακυρώσετε ανά πάσα στιγμή πριν από αυτήν την ημερομηνία.","payment_entry_page.subscription_info":"Η συνδρομή ανανεώνεται αυτόματα. Ακυρώστε ανά πάσα στιγμή.","payment_entry_page.otp_terms_info":"Με την αγορά, συμφωνείτε να επιτρέψετε στην {{appName}} να σας χρεώσει σύμφωνα με τους όρους της.","payment_entry_page.terms_link_label":"Όροι","payment_entry_page.subscription_terms_info":"Με την εγγραφή σας, συμφωνείτε να επιτρέψετε στην εφαρμογή {{appName}} να σας χρεώνει σύμφωνα με τους όρους της έως ότου ακυρώσετε.","loading_page.keep_page_open":"Η διαδικασία σχεδόν ολοκληρώθηκε. Κρατήστε αυτή τη σελίδα ανοιχτή.","loading_page.processing_payment":"Επεξεργασία πληρωμής","pricing_table.discount":"Έκπτωση","pricing_table.subtotal":"Υποσύνολο","pricing_dropdown.add_promo_code":"Προσθήκη κωδικού προσφοράς","discount_input.label":"Κωδικός προσφοράς","payment_entry_page.checkout_consent_terms_of_service":"όρους χρήσης","payment_entry_page.checkout_consent_agreement":"Συμφωνώ με τους {{appName}} {{termsOfService}}."},Hm={"periods.week":"{{amount}} שבוע","periods.month":"{{amount}} חודש","periods.year":"{{amount}} שנה","periods.day":"{{amount}} יום","periods.weekShort":"{{amount}}wk","periods.monthShort":"{{amount}}mo","periods.yearShort":"{{amount}}yr","periods.dayShort":"{{amount}}d","periods.lifetime":"למשך כל החיים","periods.weekPlural":"{{amount}} שבועות","periods.monthPlural":"{{amount}} חודשים","periods.yearPlural":"{{amount}} שנים","periods.dayPlural":"{{amount}} ימים","periods.weekFrequency":"שבועי","periods.monthFrequency":"חודשי","periods.yearFrequency":"שנתי","periods.dayFrequency":"יומי","periods.perWeekFrequency":"לשבוע","periods.perMonthFrequency":"לחודש","periods.perYearFrequency":"לשנה","periods.perDayFrequency":"ליום","periods.unknownFrequency":"לא ידוע","periods.weekFrequencyPlural":"כל {{amount}} שבועות","periods.monthFrequencyPlural":"כל {{amount}} חודשים","periods.yearFrequencyPlural":"כל {{amount}} שנים","periods.dayFrequencyPlural":"כל {{amount}} ימים","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} ניסיון חינם","product_info.price_after_free_trial":"לאחר סיום הניסיון, ב-{{renewalDate}}","product_info.renewal_frequency":"מתחדש {{frequency}}","product_info.continues_until_cancelled":"נמשך עד ביטול","product_info.cancel_anytime":"ניתן לבטל בכל עת","payment_entry_page.payment_step_title":"קופה מאובטחת באמצעות RevenueCat","payment_entry_page.button_pay":"שלם עכשיו","payment_entry_page.button_start_trial":"התחל ניסיון","success_page.purchase_successful":"התשלום הושלם","success_page.button_close":"המשך","error_page.if_error_persists":"אם השגיאה נמשכת, אנא פנה אל ","error_page.error_title_already_subscribed":"כבר נרשמת כמנוי ל-{{productTitle}}","error_page.error_title_already_purchased":"כבר רכשת את {{productTitle}}","error_page.error_title_other_errors":"משהו השתבש","error_page.error_message_already_subscribed":"אינך יכול להירשם כמנוי למוצר זה שוב.","error_page.error_message_already_purchased":"אינך יכול לרכוש מוצר זה שוב.","error_page.error_message_missing_email_error":'דוא"ל נדרש כדי להשלים את הרכישה.',"error_page.error_message_network_error":"שגיאת רשת. אנא בדוק את חיבור האינטרנט שלך.","error_page.error_message_error_charging_payment":"התשלום נכשל.","error_page.error_message_error_setting_up_purchase":"הרכישה לא הופעלה עקב שגיאה (קוד שגיאה: {{errorCode}}).","error_page.error_message_invalid_tax_location":"לא הצלחנו לאמת את כתובת החיוב שלך. אנא בדוק שוב את המיקוד והמדינה כדי לוודא שהם נכונים.","error_page.error_message_unknown_error":"אירעה שגיאה לא ידועה (קוד שגיאה: {{errorCode}}).","error_page.button_try_again":"נסה שוב","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":'סה"כ לתשלום היום',"product_info.subscribe_to":"הירשם כמנוי ל-","navbar_header.details":"פרטים","navbar_header.back_button":"חזרה","pricing_dropdown.show_details":"הצג פרטים","pricing_dropdown.hide_details":"הסתר פרטים","pricing_table.tax":"מס","pricing_table.trial_ends":"לאחר סיום תקופת הניסיון, בתאריך {{formattedTrialEndDate}}","pricing_table.total_due_today":"סך הכל לתשלום היום","pricing_table.total_excluding_tax":"סך הכל לא כולל מס","pricing_table.enter_billing_address_to_calculate":"הזן כתובת לחיוב כדי לחשב","pricing_table.enter_state_or_postal_code_to_calculate":"הזן מדינה או מיקוד לחישוב","pricing_table.enter_postal_code_to_calculate":"הזן מיקוד לחישוב","error_page.error_message_invalid_email_error":"לא ניתן לאמת את כתובת האימייל {{email}}. אנא ספק כתובת אימייל חוקית.","payment_entry_page.button_payment_method":"שלם {{formattedPrice}} באמצעות {{paymentMethod}}","payment_entry_page.button_with_price":"שלם {{formattedPrice}}","price_update.title":"עדכון מחיר","price_update.base_message":"המחיר הכולל עודכן עם מס בהתבסס על כתובת החיוב שלך. אנא בדוק שוב ונסה שוב. החיוב יתבצע רק פעם אחת.","price_update.trial_message":"מחיר המנוי עודכן כדי לכלול מיסים בהתבסס על כתובת החיוב שלך. תקופת הניסיון החינמית עדיין תקפה. אנא בדוק ונסה שוב.","payment_entry_page.express_checkout_divider":"או שלם באמצעות כרטיס","error_page.trouble_accessing":"אם אתה מתקשה לגשת לרכישה שלך, פנה לתמיכה בכתובת ","error_page.close_button_title":"עבור אל {{appName}}","error_page.error_title_stripe_missing_required_permission":"חסרה הרשאה של Stripe","error_page.button_close":"סגור","error_page.error_message_stripe_invalid_tax_origin_address":"הרכישה נכשלה מכיוון שכתובת מקור המס אינה חוקית. בייצור, רכישות יעבדו ללא מסים.","error_page.error_message_stripe_tax_not_active":"הרכישה נכשלה מכיוון שמס Stripe אינו מופעל. בייצור, רכישות יעבדו ללא מסים.","error_page.error_only_in_sandbox":"הודעה זו מופיעה רק בארגז חול.","error_page.error_message_stripe_missing_required_permission":"הרכישה נכשלה מכיוון שלאפליקציית Stripe חסרה הרשאה נדרשת. בייצור, רכישות יעבדו ללא מסים.","error_page.error_title_stripe_tax_not_active":"מס Stripe לא פעיל","error_page.error_title_stripe_invalid_tax_origin_address":"כתובת מקור מס לא חוקית","apple_pay.free_trial":"תקופת ניסיון בחינם","product_info.price_after_intro_price":"לאחר {{introPriceDuration}}, בתאריך {{renewalDate}}","product_info.after_trial":"אחרי תקופת ניסיון","product_info.after":"אחרי","product_info.intro_price_phase_after_trial":"אחר כך {{introPriceDuration}} עבור {{introPrice}}","product_info.intro_price_phase":"תחילה {{introPriceDuration}} עבור {{introPrice}}","product_info.intro_price_phase_paid_once":"משולם פעם אחת","payment_entry_page.trial_subscription_terms_info":"לאחר סיום תקופת הניסיון שלך, תחויב בסך {{price}} {{perFrequency}} החל מ-{{renewalDate}}. באפשרותך לבטל בכל עת לפני תאריך זה.","payment_entry_page.subscription_info":"המנוי מתחדש אוטומטית. ניתן לבטל בכל עת.","payment_entry_page.otp_terms_info":"ברכישה, אתה מסכים לאפשר ל-{{appName}} לחייב אותך בהתאם לתנאים שלהם.","payment_entry_page.terms_link_label":"תנאים","payment_entry_page.subscription_terms_info":"על ידי הרשמה כמנוי, אתה מסכים לאפשר ל-{{appName}} לחייב אותך בהתאם לתנאים שלהם עד שתבטל.","loading_page.keep_page_open":"התהליך כמעט הסתיים. השאר דף זה פתוח.","loading_page.processing_payment":"מעבד תשלום תבעה","pricing_table.discount":"הנחה","pricing_table.subtotal":"סכום ביניים","pricing_dropdown.add_promo_code":"הוסף קוד קידום מכירות","discount_input.label":"קוד פרומו","payment_entry_page.checkout_consent_terms_of_service":"תנאי השירות","payment_entry_page.checkout_consent_agreement":"אני מסכים/ה ל{{termsOfService}} של {{appName}}."},Wm={"periods.week":"{{amount}} सप्ताह","periods.month":"{{amount}} महीना","periods.year":"{{amount}} वर्ष","periods.day":"{{amount}} दिन","periods.weekShort":"{{amount}}सप्ताह","periods.monthShort":"{{amount}}महीना","periods.yearShort":"{{amount}}वर्ष","periods.dayShort":"{{amount}}दिन","periods.lifetime":"लाइफ़टाइम","periods.weekPlural":"{{amount}} सप्ताह","periods.monthPlural":"{{amount}} महीने","periods.yearPlural":"{{amount}} वर्ष","periods.dayPlural":"{{amount}} दिन","periods.weekFrequency":"साप्ताहिक","periods.monthFrequency":"मासिक","periods.yearFrequency":"वार्षिक","periods.dayFrequency":"दैनिक","periods.perWeekFrequency":"प्रति सप्ताह","periods.perMonthFrequency":"प्रति माह","periods.perYearFrequency":"प्रति वर्ष","periods.perDayFrequency":"प्रति दिन","periods.unknownFrequency":"अज्ञात","periods.weekFrequencyPlural":"प्रत्येक {{amount}} सप्ताह","periods.monthFrequencyPlural":"प्रत्येक {{amount}} महीने","periods.yearFrequencyPlural":"प्रत्येक {{amount}} वर्ष","periods.dayFrequencyPlural":"प्रत्येक {{amount}} दिन","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} निःशुल्क परीक्षण","product_info.price_after_free_trial":"परीक्षण समाप्त होने के बाद, {{renewalDate}} को","product_info.renewal_frequency":"{{frequency}} पर नवीनीकृत होता है","product_info.continues_until_cancelled":"रद्द होने तक जारी रहता है","product_info.cancel_anytime":"किसी भी समय रद्द करें","payment_entry_page.payment_step_title":"RevenueCat द्वारा सुरक्षित चेकआउट","payment_entry_page.button_pay":"अभी भुगतान करें","payment_entry_page.button_start_trial":"परीक्षण प्रारंभ करें","success_page.purchase_successful":"भुगतान पूर्ण","success_page.button_close":"जारी रखें","error_page.if_error_persists":"यदि त्रुटि बनी रहती है, तो कृपया संपर्क करें ","error_page.error_title_already_subscribed":"आपने पहले ही {{productTitle}} की सदस्यता ले ली है","error_page.error_title_already_purchased":"आपने पहले ही {{productTitle}} खरीद लिया है","error_page.error_title_other_errors":"कुछ गलत हो गया","error_page.error_message_already_subscribed":"आप इस उत्पाद की सदस्यता फिर से नहीं ले सकते.","error_page.error_message_already_purchased":"आप इस उत्पाद को फिर से नहीं खरीद सकते.","error_page.error_message_missing_email_error":"खरीद को पूरा करने के लिए ईमेल आवश्यक है।","error_page.error_message_network_error":"नेटवर्क त्रुटि। कृपया अपना इंटरनेट कनेक्शन जांचें।","error_page.error_message_error_charging_payment":"भुगतान विफल।","error_page.error_message_error_setting_up_purchase":"किसी त्रुटि के कारण खरीदारी शुरू नहीं हुई (त्रुटि कोड: {{errorCode}})।","error_page.error_message_invalid_tax_location":"हम आपके बिलिंग पते को सत्यापित नहीं कर सके। कृपया सुनिश्चित करें कि पिन कोड और देश सही हैं।","error_page.error_message_unknown_error":"एक अज्ञात त्रुटि हुई (त्रुटि कोड: {{errorCode}})।","error_page.button_try_again":"फिर से कोशिश करें","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"आज देय कुल राशि","product_info.subscribe_to":"सदस्यता लें","navbar_header.details":"विवरण","navbar_header.back_button":"वापस","pricing_dropdown.show_details":"विवरण दिखाएँ","pricing_dropdown.hide_details":"विवरण छिपाएँ","pricing_table.tax":"कर","pricing_table.trial_ends":"{{formattedTrialEndDate}} पर परीक्षण समाप्त होने के बाद","pricing_table.total_due_today":"आज देय कुल","pricing_table.total_excluding_tax":"कर को छोड़कर कुल","pricing_table.enter_billing_address_to_calculate":"गणना करने के लिए बिलिंग पता दर्ज करें","pricing_table.enter_state_or_postal_code_to_calculate":"गणना करने के लिए राज्य या ज़िप कोड दर्ज करें","pricing_table.enter_postal_code_to_calculate":"गणना करने के लिए ज़िप कोड दर्ज करें","error_page.error_message_invalid_email_error":"ईमेल पता {{email}} सत्यापित नहीं किया जा सका. कृपया एक मान्य ईमेल पता प्रदान करें.","payment_entry_page.button_payment_method":"{{paymentMethod}} के साथ {{formattedPrice}} का भुगतान करें","payment_entry_page.button_with_price":"{{formattedPrice}} का भुगतान करें","price_update.title":"मूल्य अपडेट","price_update.base_message":"आप के बिलिंग पते के आधार पर कुल कीमत कर के साथ अपडेट की गई थी। कृपया समीक्षा करें और फिर से प्रयास करें। आपके कार्ड से केवल एक बार शुल्क लिया जाएगा।","price_update.trial_message":"सदस्यता मूल्य आपके बिलिंग पते के आधार पर करों को शामिल करने के लिए अपडेट किया गया है। निःशुल्क परीक्षण अवधि अभी भी लागू है। कृपया जांचें और पुनः प्रयास करें।","payment_entry_page.express_checkout_divider":"या कार्ड से भुगतान करें","error_page.trouble_accessing":"यदि आपको अपनी खरीदारी तक पहुंचने में परेशानी हो रही है, तो पर समर्थन के लिए संपर्क करें","error_page.close_button_title":"{{appName}} पर जाएं","error_page.error_title_stripe_missing_required_permission":"स्ट्राइप अनुमति गुम है","error_page.button_close":"बंद करें","error_page.error_message_stripe_invalid_tax_origin_address":"खरीदारी विफल रही क्योंकि कर उत्पत्ति पता अमान्य है. उत्पादन में, खरीदारी बिना करों के लागू किए काम करेगी.","error_page.error_message_stripe_tax_not_active":"खरीदारी विफल रही क्योंकि स्ट्राइप टैक्स सक्षम नहीं है. उत्पादन में, खरीदारी बिना करों के लागू किए काम करेगी.","error_page.error_only_in_sandbox":"यह संदेश केवल सैंडबॉक्स में दिखाई देता है.","error_page.error_message_stripe_missing_required_permission":"खरीदारी विफल रही क्योंकि स्ट्राइप ऐप में आवश्यक अनुमति नहीं है. उत्पादन में, खरीदारी बिना करों के लागू किए काम करेगी.","error_page.error_title_stripe_tax_not_active":"स्ट्राइप टैक्स सक्रिय नहीं है","error_page.error_title_stripe_invalid_tax_origin_address":"अमान्य कर उत्पत्ति पता","apple_pay.free_trial":"मुफ़्त ट्रायल","product_info.price_after_intro_price":"{{introPriceDuration}} के बाद, {{renewalDate}} पर","product_info.after_trial":"ट्रायल के बाद","product_info.after":"के बाद","product_info.intro_price_phase_after_trial":"फिर {{introPriceDuration}} के लिए {{introPrice}}","product_info.intro_price_phase":"पहले {{introPriceDuration}} के लिए {{introPrice}}","product_info.intro_price_phase_paid_once":"एक बार भुगतान किया गया","payment_entry_page.trial_subscription_terms_info":"आपकी परीक्षण अवधि समाप्त होने के बाद, आपसे {{renewalDate}} से शुरू होकर {{price}} {{perFrequency}} शुल्क लिया जाएगा. आप इस तिथि से पहले कभी भी रद्द कर सकते हैं.","payment_entry_page.subscription_info":"सदस्यता स्वतः नवीनीकृत हो जाती है. कभी भी रद्द करें.","payment_entry_page.otp_terms_info":"खरीदकर, आप {{appName}} को उनकी शर्तों के अनुसार आपसे शुल्क लेने की अनुमति देने के लिए सहमत हैं.","payment_entry_page.terms_link_label":"नियम","payment_entry_page.subscription_terms_info":"सदस्यता लेकर, आप {{appName}} को रद्द करने तक उनकी शर्तों के अनुसार आपसे शुल्क लेने की अनुमति देने के लिए सहमत हैं.","loading_page.keep_page_open":"प्रक्रिया लगभग पूरी हो चुकी है. इस पृष्ठ को खुला रखें.","loading_page.processing_payment":"भुगतान संसाधित किया जा रहा है","pricing_table.discount":"छूट","pricing_table.subtotal":"उपकुल योग","pricing_dropdown.add_promo_code":"प्रोमो_कोड_जोड़ें","discount_input.label":"प्रोमो कोड","payment_entry_page.checkout_consent_terms_of_service":"सेवा की शर्तें","payment_entry_page.checkout_consent_agreement":"मैं {{appName}} की {{termsOfService}} से सहमत हूँ।"},Ym={"periods.week":"{{amount}} hét","periods.month":"{{amount}} hónap","periods.year":"{{amount}} év","periods.day":"{{amount}} nap","periods.weekShort":"{{amount}}hét","periods.monthShort":"{{amount}}hó","periods.yearShort":"{{amount}}év","periods.dayShort":"{{amount}}n","periods.lifetime":"életre szóló","periods.weekPlural":"{{amount}} hét","periods.monthPlural":"{{amount}} hónap","periods.yearPlural":"{{amount}} év","periods.dayPlural":"{{amount}} nap","periods.weekFrequency":"heti","periods.monthFrequency":"havi","periods.yearFrequency":"éves","periods.dayFrequency":"napi","periods.perWeekFrequency":"hetente","periods.perMonthFrequency":"havonta","periods.perYearFrequency":"évente","periods.perDayFrequency":"naponta","periods.unknownFrequency":"ismeretlen","periods.weekFrequencyPlural":"minden {{amount}} hétben","periods.monthFrequencyPlural":"minden {{amount}} hónapban","periods.yearFrequencyPlural":"minden {{amount}} évben","periods.dayFrequencyPlural":"minden {{amount}} napban","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} próbaidőszak","product_info.price_after_free_trial":"A próbaidőszak vége után, {{renewalDate}}-kor","product_info.renewal_frequency":"{{frequency}} gyakorisággal megújul","product_info.continues_until_cancelled":"Folytatódik, amíg le nem mondják","product_info.cancel_anytime":"Bármikor lemondható","payment_entry_page.payment_step_title":"Biztonságos fizetés a RevenueCat-en keresztül","payment_entry_page.button_pay":"Fizetés most","payment_entry_page.button_start_trial":"Próbaidőszak indítása","success_page.purchase_successful":"Fizetés sikeres","success_page.button_close":"Tovább","error_page.if_error_persists":"Ha a hiba továbbra is fennáll, kérjük, vedd fel a kapcsolatot ","error_page.error_title_already_subscribed":"Már előfizettél a(z) {{productTitle}} termékre","error_page.error_title_already_purchased":"Már megvásároltad a(z) {{productTitle}} terméket","error_page.error_title_other_errors":"Valami hiba történt","error_page.error_message_already_subscribed":"Nem fizethetsz elő újra erre a termékre.","error_page.error_message_already_purchased":"Nem vásárolhatod meg újra ezt a terméket.","error_page.error_message_missing_email_error":"Az email cím szükséges a vásárlás befejezéséhez.","error_page.error_message_network_error":"Hálózati hiba. Kérjük, ellenőrizd az internetkapcsolatodat.","error_page.error_message_error_charging_payment":"A fizetés sikertelen volt.","error_page.error_message_error_setting_up_purchase":"Hiba miatt nem indult el a vásárlás (hibakód: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Nem tudtuk ellenőrizni a számlázási címét. Kérjük, ellenőrizze, hogy az irányítószám és az ország helyes-e.","error_page.error_message_unknown_error":"Ismeretlen hiba történt (hibakód: {{errorCode}}).","error_page.button_try_again":"Újrapróbálkozás","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Ma fizetendő összesen","product_info.subscribe_to":"Feliratkozás erre:","navbar_header.details":"Részletek","navbar_header.back_button":"Vissza","pricing_dropdown.show_details":"Részletek mutatása","pricing_dropdown.hide_details":"Részletek elrejtése","pricing_table.tax":"Adó","pricing_table.trial_ends":"A próbaidőszak vége: {{formattedTrialEndDate}}","pricing_table.total_due_today":"Ma fizetendő összeg","pricing_table.total_excluding_tax":"Összesen adó nélkül","pricing_table.enter_billing_address_to_calculate":"Adja meg a számlázási címet a számításhoz","pricing_table.enter_state_or_postal_code_to_calculate":"Adja meg az államot vagy az irányítószámot a számításhoz","pricing_table.enter_postal_code_to_calculate":"Adja meg az irányítószámot a számításhoz","error_page.error_message_invalid_email_error":"A(z) {{email}} e-mail címet nem sikerült ellenőrizni. Kérjük, adj meg egy érvényes e-mail címet.","payment_entry_page.button_payment_method":"Fizetés {{formattedPrice}} összeggel a következővel: {{paymentMethod}}","payment_entry_page.button_with_price":"Fizetés {{formattedPrice}}","price_update.title":"Ár frissítése","price_update.base_message":"A teljes ár frissítve lett az adóval a számlázási címed alapján. Kérjük, tekintsd át és próbáld újra. A kártyádat csak egyszer terheljük meg.","price_update.trial_message":"Az előfizetés ára adókkal együtt frissítésre került a számlázási címének megfelelően. Az ingyenes próbaidőszak továbbra is érvényes. Kérjük, ellenőrizze és próbálja újra.","payment_entry_page.express_checkout_divider":"VAGY FIZESSEN KÁRTYÁVAL","error_page.trouble_accessing":"Ha problémái vannak a vásárláshoz való hozzáféréssel, forduljon az ügyfélszolgálathoz a következő címen: ","error_page.close_button_title":"Ugrás a(z) {{appName}} alkalmazáshoz","error_page.error_title_stripe_missing_required_permission":"Hiányzó Stripe engedély","error_page.button_close":"Bezárás","error_page.error_message_stripe_invalid_tax_origin_address":"A vásárlás sikertelen volt, mert az adókiindulási cím érvénytelen. Éles környezetben a vásárlások adók alkalmazása nélkül fognak működni.","error_page.error_message_stripe_tax_not_active":"A vásárlás sikertelen volt, mert a Stripe adó nincs engedélyezve. Éles környezetben a vásárlások adók alkalmazása nélkül fognak működni.","error_page.error_only_in_sandbox":"Ez az üzenet csak a tesztkörnyezetben jelenik meg.","error_page.error_message_stripe_missing_required_permission":"A vásárlás sikertelen volt, mert a Stripe alkalmazásból hiányzik egy szükséges engedély. Éles környezetben a vásárlások adók alkalmazása nélkül fognak működni.","error_page.error_title_stripe_tax_not_active":"A Stripe adó nincs aktiválva","error_page.error_title_stripe_invalid_tax_origin_address":"Érvénytelen adókiindulási cím","apple_pay.free_trial":"Ingyenes próbaidőszak","product_info.price_after_intro_price":"{{introPriceDuration}} után, {{renewalDate}} napján","product_info.after_trial":"próbaidőszak után","product_info.after":"utána","product_info.intro_price_phase_after_trial":"Ezután {{introPriceDuration}} ideig {{introPrice}} áron","product_info.intro_price_phase":"Először {{introPriceDuration}} ideig {{introPrice}} áron","product_info.intro_price_phase_paid_once":"egyszeri fizetéssel","payment_entry_page.trial_subscription_terms_info":"A próbaidőszak vége után {{price}} összeget számítunk fel {{perFrequency}} gyakorisággal, kezdve {{renewalDate}} dátummal. Ezt a dátumot megelőzően bármikor lemondhatod.","payment_entry_page.subscription_info":"Az előfizetés automatikusan megújul. Bármikor lemondhatod.","payment_entry_page.otp_terms_info":"A vásárlással elfogadod, hogy a {{appName}} az általa meghatározott feltételek szerint terheljen.","payment_entry_page.terms_link_label":"Feltételek","payment_entry_page.subscription_terms_info":"A feliratkozással elfogadod, hogy a {{appName}} az általa meghatározott feltételek szerint terheljen, amíg le nem mondod.","loading_page.keep_page_open":"A folyamat majdnem befejeződött. Tartsa nyitva ezt az oldalt.","loading_page.processing_payment":"Fizetés feldolgozása","pricing_table.discount":"Kedvezmény","pricing_table.subtotal":"Részösszeg","pricing_dropdown.add_promo_code":"Promóciós kód hozzáadása","discount_input.label":"Promóciós kód","payment_entry_page.checkout_consent_terms_of_service":"szolgáltatási feltételek","payment_entry_page.checkout_consent_agreement":"Elfogadom a {{appName}} {{termsOfService}}."},Gm={"periods.week":"{{amount}} minggu","periods.month":"{{amount}} bulan","periods.year":"{{amount}} tahun","periods.day":"{{amount}} hari","periods.weekShort":"{{amount}}mg","periods.monthShort":"{{amount}}bl","periods.yearShort":"{{amount}}th","periods.dayShort":"{{amount}}h","periods.lifetime":"seumur hidup","periods.weekPlural":"{{amount}} minggu","periods.monthPlural":"{{amount}} bulan","periods.yearPlural":"{{amount}} tahun","periods.dayPlural":"{{amount}} hari","periods.weekFrequency":"mingguan","periods.monthFrequency":"bulanan","periods.yearFrequency":"tahunan","periods.dayFrequency":"harian","periods.perWeekFrequency":"per minggu","periods.perMonthFrequency":"per bulan","periods.perYearFrequency":"per tahun","periods.perDayFrequency":"per hari","periods.unknownFrequency":"tidak diketahui","periods.weekFrequencyPlural":"setiap {{amount}} minggu","periods.monthFrequencyPlural":"setiap {{amount}} bulan","periods.yearFrequencyPlural":"setiap {{amount}} tahun","periods.dayFrequencyPlural":"setiap {{amount}} hari","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} uji coba gratis","product_info.price_after_free_trial":"Setelah uji coba berakhir, pada {{renewalDate}}","product_info.renewal_frequency":"Diperbarui {{frequency}}","product_info.continues_until_cancelled":"Berlanjut hingga dibatalkan","product_info.cancel_anytime":"Batalkan kapan saja","payment_entry_page.payment_step_title":"Pembayaran aman oleh RevenueCat","payment_entry_page.button_pay":"Bayar sekarang","payment_entry_page.button_start_trial":"Mulai Uji Coba","success_page.purchase_successful":"Pembayaran selesai","success_page.button_close":"Lanjutkan","error_page.if_error_persists":"Jika kesalahan berlanjut, silakan hubungi ","error_page.error_title_already_subscribed":"Anda sudah berlangganan ke {{productTitle}}","error_page.error_title_already_purchased":"Anda sudah membeli {{productTitle}}","error_page.error_title_other_errors":"Terjadi kesalahan","error_page.error_message_already_subscribed":"Anda tidak dapat berlangganan produk ini lagi.","error_page.error_message_already_purchased":"Anda tidak dapat membeli produk ini lagi.","error_page.error_message_missing_email_error":"Email diperlukan untuk menyelesaikan pembelian.","error_page.error_message_network_error":"Kesalahan jaringan. Periksa koneksi internet Anda.","error_page.error_message_error_charging_payment":"Pembayaran gagal.","error_page.error_message_error_setting_up_purchase":"Pembelian tidak dimulai karena kesalahan (kode kesalahan: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Kami tidak dapat memverifikasi alamat penagihan Anda. Harap periksa kembali kode pos dan negara untuk memastikan keduanya benar.","error_page.error_message_unknown_error":"Terjadi kesalahan yang tidak diketahui (kode kesalahan: {{errorCode}}).","error_page.button_try_again":"Coba lagi","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Total yang harus dibayar hari ini","product_info.subscribe_to":"Berlangganan ke","navbar_header.details":"Detail","navbar_header.back_button":"Kembali","pricing_dropdown.show_details":"Tampilkan detail","pricing_dropdown.hide_details":"Sembunyikan detail","pricing_table.tax":"Pajak","pricing_table.trial_ends":"Setelah masa percobaan berakhir, pada {{formattedTrialEndDate}}","pricing_table.total_due_today":"Total yang harus dibayar hari ini","pricing_table.total_excluding_tax":"Total belum termasuk pajak","pricing_table.enter_billing_address_to_calculate":"Masukkan alamat penagihan untuk menghitung","pricing_table.enter_state_or_postal_code_to_calculate":"Masukkan negara bagian atau kode pos untuk menghitung","pricing_table.enter_postal_code_to_calculate":"Masukkan kode pos untuk menghitung","error_page.error_message_invalid_email_error":"Alamat email {{email}} tidak dapat diverifikasi. Harap berikan alamat email yang valid.","payment_entry_page.button_payment_method":"Bayar {{formattedPrice}} dengan {{paymentMethod}}","payment_entry_page.button_with_price":"Bayar {{formattedPrice}}","price_update.title":"Pembaruan harga","price_update.base_message":"Total harga telah diperbarui dengan pajak berdasarkan alamat penagihan Anda. Harap tinjau dan coba lagi. Kartu Anda hanya akan dikenakan biaya sekali.","price_update.trial_message":"Harga langganan telah diperbarui untuk menyertakan pajak berdasarkan alamat penagihan Anda. Masa percobaan gratis masih berlaku. Silakan periksa dan coba lagi.","payment_entry_page.express_checkout_divider":"ATAU BAYAR DENGAN KARTU","error_page.trouble_accessing":"Jika Anda mengalami masalah dalam mengakses pembelian, hubungi dukungan di ","error_page.close_button_title":"Pergi ke {{appName}}","error_page.error_title_stripe_missing_required_permission":"Izin Stripe tidak ada","error_page.button_close":"Tutup","error_page.error_message_stripe_invalid_tax_origin_address":"Pembelian gagal karena alamat asal pajak tidak valid. Dalam produksi, pembelian akan berfungsi tanpa pajak yang diterapkan.","error_page.error_message_stripe_tax_not_active":"Pembelian gagal karena Stripe Tax tidak diaktifkan. Dalam produksi, pembelian akan berfungsi tanpa pajak yang diterapkan.","error_page.error_only_in_sandbox":"Pesan ini hanya muncul di sandbox.","error_page.error_message_stripe_missing_required_permission":"Pembelian gagal karena aplikasi Stripe tidak memiliki izin yang diperlukan. Dalam produksi, pembelian akan berfungsi tanpa pajak yang diterapkan.","error_page.error_title_stripe_tax_not_active":"Stripe Tax tidak aktif","error_page.error_title_stripe_invalid_tax_origin_address":"Alamat asal pajak tidak valid","apple_pay.free_trial":"Uji Coba Gratis","product_info.price_after_intro_price":"Setelah {{introPriceDuration}}, pada {{renewalDate}}","product_info.after_trial":"setelah uji coba","product_info.after":"setelah","product_info.intro_price_phase_after_trial":"Kemudian {{introPriceDuration}} dengan harga {{introPrice}}","product_info.intro_price_phase":"Pertama {{introPriceDuration}} dengan harga {{introPrice}}","product_info.intro_price_phase_paid_once":"dibayar sekali","payment_entry_page.trial_subscription_terms_info":"Setelah masa percobaan Anda berakhir, Anda akan dikenakan biaya sebesar {{price}} {{perFrequency}} mulai {{renewalDate}}. Anda dapat membatalkan kapan saja sebelum tanggal ini.","payment_entry_page.subscription_info":"Langganan diperpanjang secara otomatis. Batalkan kapan saja.","payment_entry_page.otp_terms_info":"Dengan membeli, Anda setuju untuk mengizinkan {{appName}} menagih Anda sesuai dengan ketentuan mereka.","payment_entry_page.terms_link_label":"Ketentuan","payment_entry_page.subscription_terms_info":"Dengan berlangganan, Anda setuju untuk mengizinkan {{appName}} mengenakan biaya sesuai dengan ketentuan mereka hingga Anda membatalkan.","loading_page.keep_page_open":"Prosesnya hampir selesai. Jangan tutup halaman ini.","loading_page.processing_payment":"Pembayaran sedang diproses","pricing_table.discount":"Diskon","pricing_table.subtotal":"Subtotal","pricing_dropdown.add_promo_code":"Tambahkan kode promo","discount_input.label":"Kode promo","payment_entry_page.checkout_consent_terms_of_service":"ketentuan layanan","payment_entry_page.checkout_consent_agreement":"Saya menyetujui {{termsOfService}} {{appName}}."},Km={"periods.week":"{{amount}}週間","periods.month":"{{amount}}ヶ月","periods.year":"{{amount}}年","periods.day":"{{amount}}日","periods.weekShort":"{{amount}}週","periods.monthShort":"{{amount}}ヶ月","periods.yearShort":"{{amount}}年","periods.dayShort":"{{amount}}日","periods.lifetime":"生涯","periods.weekPlural":"{{amount}}週間","periods.monthPlural":"{{amount}}ヶ月","periods.yearPlural":"{{amount}}年","periods.dayPlural":"{{amount}}日","periods.weekFrequency":"毎週","periods.monthFrequency":"毎月","periods.yearFrequency":"毎年","periods.dayFrequency":"毎日","periods.perWeekFrequency":"週ごと","periods.perMonthFrequency":"月ごと","periods.perYearFrequency":"年ごと","periods.perDayFrequency":"日ごと","periods.unknownFrequency":"不明","periods.weekFrequencyPlural":"{{amount}}週間ごと","periods.monthFrequencyPlural":"{{amount}}ヶ月ごと","periods.yearFrequencyPlural":"{{amount}}年ごと","periods.dayFrequencyPlural":"{{amount}}日ごと","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}}日間無料トライアル","product_info.price_after_free_trial":"トライアル終了後、{{renewalDate}}に","product_info.renewal_frequency":"{{frequency}}で更新","product_info.continues_until_cancelled":"キャンセルされるまで継続されます","product_info.cancel_anytime":"いつでもキャンセルできます","payment_entry_page.payment_step_title":"RevenueCatによる安全なチェックアウト","payment_entry_page.button_pay":"今すぐ支払う","payment_entry_page.button_start_trial":"トライアルを開始","success_page.purchase_successful":"支払いが完了しました","success_page.button_close":"続行","error_page.if_error_persists":"エラーが続く場合は、ご連絡ください。","error_page.error_title_already_subscribed":"すでに{{productTitle}}を購読しています","error_page.error_title_already_purchased":"すでに{{productTitle}}を購入しています","error_page.error_title_other_errors":"エラーが発生しました","error_page.error_message_already_subscribed":"この商品を再度購読することはできません。","error_page.error_message_already_purchased":"この商品を再度購入することはできません。","error_page.error_message_missing_email_error":"購入を完了するにはメールアドレスが必要です。","error_page.error_message_network_error":"ネットワークエラーです。インターネット接続を確認してください。","error_page.error_message_error_charging_payment":"支払いに失敗しました。","error_page.error_message_error_setting_up_purchase":"エラーが発生したため、購入を開始できませんでした(エラーコード:{{errorCode}})。","error_page.error_message_invalid_tax_location":"請求先住所を確認できませんでした。郵便番号と国が正しいかご確認ください。","error_page.error_message_unknown_error":"不明なエラーが発生しました(エラーコード:{{errorCode}})。","error_page.button_try_again":"再試行","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"本日のお支払い合計","product_info.subscribe_to":"購読する","navbar_header.details":"詳細","navbar_header.back_button":"戻る","pricing_dropdown.show_details":"詳細を表示","pricing_dropdown.hide_details":"詳細を隠す","pricing_table.tax":"税金","pricing_table.trial_ends":"トライアル終了後、{{formattedTrialEndDate}}","pricing_table.total_due_today":"本日お支払いいただく合計金額","pricing_table.total_excluding_tax":"税抜き合計","pricing_table.enter_billing_address_to_calculate":"請求先住所を入力して計算","pricing_table.enter_state_or_postal_code_to_calculate":"計算するには州または郵便番号を入力してください","pricing_table.enter_postal_code_to_calculate":"計算するには郵便番号を入力してください","error_page.error_message_invalid_email_error":"メールアドレス{{email}}を確認できませんでした。有効なメールアドレスを入力してください。","payment_entry_page.button_payment_method":"{{paymentMethod}}で{{formattedPrice}}を支払う","payment_entry_page.button_with_price":"{{formattedPrice}}を支払う","price_update.title":"価格の更新","price_update.base_message":"合計金額が、お客様の請求先住所に基づいて税金とともに更新されました。再度ご確認ください。カードへの請求は1回のみです。","price_update.trial_message":"請求先住所に基づいて税金を含むサブスクリプション料金が更新されました。無料トライアルは引き続き適用されます。確認して再度お試しください。","payment_entry_page.express_checkout_divider":"カードで支払う","error_page.trouble_accessing":"購入へのアクセスに問題がある場合は、サポートにお問い合わせください: ","error_page.close_button_title":"{{appName}} に移動","error_page.error_title_stripe_missing_required_permission":"必要なStripeの権限がありません","error_page.button_close":"閉じる","error_page.error_message_stripe_invalid_tax_origin_address":"税の原産地住所が無効なため、購入に失敗しました。 本番環境では、税金が適用されなくても購入は可能です。","error_page.error_message_stripe_tax_not_active":"Stripe Taxが有効になっていないため、購入に失敗しました。 本番環境では、税金が適用されなくても購入は可能です。","error_page.error_only_in_sandbox":"このメッセージはサンドボックスでのみ表示されます。","error_page.error_message_stripe_missing_required_permission":"Stripeアプリに必要な権限がないため、購入に失敗しました。 本番環境では、税金が適用されなくても購入は可能です。","error_page.error_title_stripe_tax_not_active":"Stripe Taxが有効ではありません","error_page.error_title_stripe_invalid_tax_origin_address":"税の原産地住所が無効です","apple_pay.free_trial":"無料トライアル","product_info.price_after_intro_price":"{{introPriceDuration}}の後、{{renewalDate}}に","product_info.after_trial":"トライアル後","product_info.after":"後","product_info.intro_price_phase_after_trial":"その後、{{introPriceDuration}}間は{{introPrice}}","product_info.intro_price_phase":"最初の{{introPriceDuration}}間は{{introPrice}}","product_info.intro_price_phase_paid_once":"一回払い","payment_entry_page.trial_subscription_terms_info":"トライアル期間が終了すると、{{renewalDate}}から{{price}} {{perFrequency}}が課金されます。この日より前にいつでもキャンセルできます。","payment_entry_page.subscription_info":"サブスクリプションは自動的に更新されます。いつでもキャンセルできます。","payment_entry_page.otp_terms_info":"購入することにより、{{appName}}が利用規約に基づいて料金を請求することに同意したことになります。","payment_entry_page.terms_link_label":"利用規約","payment_entry_page.subscription_terms_info":"サブスクリプションに登録すると、キャンセルするまで{{appName}}が利用規約に従って課金することを許可することに同意したことになります。","loading_page.keep_page_open":"プロセスはほぼ完了です。このページを開いたままにしてください。","loading_page.processing_payment":"お支払い手続き中","pricing_table.discount":"割引","pricing_table.subtotal":"小計","pricing_dropdown.add_promo_code":"プロモーションコードを追加","discount_input.label":"プロモーションコード","payment_entry_page.checkout_consent_terms_of_service":"利用規約","payment_entry_page.checkout_consent_agreement":"{{appName}}の{{termsOfService}}に同意します。"},Xm={"periods.week":"{{amount}}주","periods.month":"{{amount}}개월","periods.year":"{{amount}}년","periods.day":"{{amount}}일","periods.weekShort":"{{amount}}주","periods.monthShort":"{{amount}}개월","periods.yearShort":"{{amount}}년","periods.dayShort":"{{amount}}일","periods.lifetime":"평생","periods.weekPlural":"{{amount}}주","periods.monthPlural":"{{amount}}개월","periods.yearPlural":"{{amount}}년","periods.dayPlural":"{{amount}}일","periods.weekFrequency":"매주","periods.monthFrequency":"매달","periods.yearFrequency":"매년","periods.dayFrequency":"매일","periods.perWeekFrequency":"주당","periods.perMonthFrequency":"월별","periods.perYearFrequency":"연간","periods.perDayFrequency":"매일","periods.unknownFrequency":"알 수 없음","periods.weekFrequencyPlural":"{{amount}}주마다","periods.monthFrequencyPlural":"{{amount}}개월마다","periods.yearFrequencyPlural":"{{amount}}년마다","periods.dayFrequencyPlural":"{{amount}}일마다","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}}일 무료 체험","product_info.price_after_free_trial":"체험 종료 후, {{renewalDate}}에","product_info.renewal_frequency":"{{frequency}}마다 갱신","product_info.continues_until_cancelled":"취소될 때까지 계속됩니다.","product_info.cancel_anytime":"언제든지 취소 가능","payment_entry_page.payment_step_title":"RevenueCat을 통한 안전한 결제","payment_entry_page.button_pay":"지금 결제","payment_entry_page.button_start_trial":"체험 시작","success_page.purchase_successful":"결제가 완료되었습니다.","success_page.button_close":"계속","error_page.if_error_persists":"오류가 지속되면 다음으로 문의하십시오.","error_page.error_title_already_subscribed":"이미 {{productTitle}}을 구독하셨습니다","error_page.error_title_already_purchased":"이미 {{productTitle}}을 구매하셨습니다","error_page.error_title_other_errors":"문제가 발생했습니다.","error_page.error_message_already_subscribed":"이 제품을 다시 구독할 수 없습니다.","error_page.error_message_already_purchased":"이 제품을 다시 구매할 수 없습니다.","error_page.error_message_missing_email_error":"구매를 완료하려면 이메일이 필요합니다.","error_page.error_message_network_error":"네트워크 오류입니다. 인터넷 연결을 확인하십시오.","error_page.error_message_error_charging_payment":"결제에 실패했습니다.","error_page.error_message_error_setting_up_purchase":"오류로 인해 구매가 시작되지 않았습니다(오류 코드: {{errorCode}}).","error_page.error_message_invalid_tax_location":"청구 주소를 확인할 수 없습니다. 우편번호와 국가가 정확한지 다시 한번 확인해 주세요.","error_page.error_message_unknown_error":"알 수 없는 오류가 발생했습니다(오류 코드: {{errorCode}}).","error_page.button_try_again":"다시 시도","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"오늘 총 결제 금액","product_info.subscribe_to":"구독하기","navbar_header.details":"세부 정보","navbar_header.back_button":"뒤로","pricing_dropdown.show_details":"세부 정보 표시","pricing_dropdown.hide_details":"세부 정보 숨기기","pricing_table.tax":"세금","pricing_table.trial_ends":"체험판 종료 후, {{formattedTrialEndDate}}","pricing_table.total_due_today":"오늘 지불해야 할 총액","pricing_table.total_excluding_tax":"세금 제외 총액","pricing_table.enter_billing_address_to_calculate":"계산을 위해 청구지 주소를 입력하세요","pricing_table.enter_state_or_postal_code_to_calculate":"주 또는 우편 번호를 입력하여 계산","pricing_table.enter_postal_code_to_calculate":"우편 번호를 입력하여 계산","error_page.error_message_invalid_email_error":"이메일 주소 {{email}}을(를) 확인할 수 없습니다. 유효한 이메일 주소를 제공해 주세요.","payment_entry_page.button_payment_method":"{{paymentMethod}}으로 {{formattedPrice}} 결제","payment_entry_page.button_with_price":"{{formattedPrice}} 결제","price_update.title":"가격 업데이트","price_update.base_message":"청구지 주소를 기준으로 세금이 포함된 총 가격이 업데이트되었습니다. 다시 확인하고 시도해 주세요. 카드는 한 번만 청구됩니다.","price_update.trial_message":"청구 주소에 따라 세금이 포함된 구독 가격이 업데이트되었습니다. 무료 체험은 계속 적용됩니다. 확인하고 다시 시도해 주세요.","payment_entry_page.express_checkout_divider":"또는 카드 결제","error_page.trouble_accessing":"구매에 문제가 있는 경우 다음 주소로 지원팀에 문의하세요. ","error_page.close_button_title":"{{appName}}으로 이동","error_page.error_title_stripe_missing_required_permission":"필수 Stripe 권한 누락","error_page.button_close":"닫기","error_page.error_message_stripe_invalid_tax_origin_address":"세금 원산지 주소가 잘못되어 구매에 실패했습니다. 프로덕션 환경에서는 세금이 적용되지 않은 상태로 구매가 진행됩니다.","error_page.error_message_stripe_tax_not_active":"Stripe Tax가 활성화되지 않아 구매에 실패했습니다. 프로덕션 환경에서는 세금이 적용되지 않은 상태로 구매가 진행됩니다.","error_page.error_only_in_sandbox":"이 메시지는 샌드박스에서만 표시됩니다.","error_page.error_message_stripe_missing_required_permission":"Stripe 앱에 필요한 권한이 없어 구매에 실패했습니다. 프로덕션 환경에서는 세금이 적용되지 않은 상태로 구매가 진행됩니다.","error_page.error_title_stripe_tax_not_active":"Stripe Tax가 활성화되지 않음","error_page.error_title_stripe_invalid_tax_origin_address":"잘못된 세금 원산지 주소","apple_pay.free_trial":"무료 체험","product_info.price_after_intro_price":"{{introPriceDuration}} 후 {{renewalDate}}에","product_info.after_trial":"체험 후","product_info.after":"후","product_info.intro_price_phase_after_trial":"다음 {{introPriceDuration}} 동안 {{introPrice}}","product_info.intro_price_phase":"처음 {{introPriceDuration}} 동안 {{introPrice}}","product_info.intro_price_phase_paid_once":"1회 결제","payment_entry_page.trial_subscription_terms_info":"체험 기간이 종료되면 {{renewalDate}}부터 {{price}} {{perFrequency}}가 청구됩니다. 이 날짜 전에는 언제든지 취소할 수 있습니다.","payment_entry_page.subscription_info":"구독은 자동으로 갱신됩니다. 언제든지 취소할 수 있습니다.","payment_entry_page.otp_terms_info":"구매하시면 {{appName}}의 약관에 따라 요금이 청구되는 것에 동의하는 것입니다.","payment_entry_page.terms_link_label":"약관","payment_entry_page.subscription_terms_info":"구독하면 취소할 때까지 {{appName}}이 약관에 따라 요금을 청구하는 데 동의하는 것입니다.","loading_page.keep_page_open":"거의 완료되었습니다. 이 페이지를 계속 열어 두세요.","loading_page.processing_payment":"결제 처리 중","pricing_table.discount":"할인","pricing_table.subtotal":"소계","pricing_dropdown.add_promo_code":"프로모션 코드 추가","discount_input.label":"프로모션 코드","payment_entry_page.checkout_consent_terms_of_service":"이용 약관","payment_entry_page.checkout_consent_agreement":"{{appName}} {{termsOfService}}에 동의합니다."},Zm={"periods.week":"{{amount}} minggu","periods.month":"{{amount}} bulan","periods.year":"{{amount}} tahun","periods.day":"{{amount}} hari","periods.weekShort":"{{amount}}mg","periods.monthShort":"{{amount}}bl","periods.yearShort":"{{amount}}th","periods.dayShort":"{{amount}}h","periods.lifetime":"seumur hidup","periods.weekPlural":"{{amount}} minggu","periods.monthPlural":"{{amount}} bulan","periods.yearPlural":"{{amount}} tahun","periods.dayPlural":"{{amount}} hari","periods.weekFrequency":"mingguan","periods.monthFrequency":"bulanan","periods.yearFrequency":"tahunan","periods.dayFrequency":"harian","periods.perWeekFrequency":"setiap minggu","periods.perMonthFrequency":"setiap bulan","periods.perYearFrequency":"setiap tahun","periods.perDayFrequency":"setiap hari","periods.unknownFrequency":"tidak diketahui","periods.weekFrequencyPlural":"setiap {{amount}} minggu","periods.monthFrequencyPlural":"setiap {{amount}} bulan","periods.yearFrequencyPlural":"setiap {{amount}} tahun","periods.dayFrequencyPlural":"setiap {{amount}} hari","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} percubaan percuma","product_info.price_after_free_trial":"Selepas tamat percubaan, pada {{renewalDate}}","product_info.renewal_frequency":"Diperbaharui {{frequency}}","product_info.continues_until_cancelled":"Berterusan sehingga dibatalkan","product_info.cancel_anytime":"Batal bila-bila masa","payment_entry_page.payment_step_title":"Pembayaran selamat oleh RevenueCat","payment_entry_page.button_pay":"Bayar sekarang","payment_entry_page.button_start_trial":"Mula Percubaan","success_page.purchase_successful":"Pembayaran selesai","success_page.button_close":"Teruskan","error_page.if_error_persists":"Jika ralat berterusan, sila hubungi ","error_page.error_title_already_subscribed":"Anda sudah melanggan {{productTitle}}","error_page.error_title_already_purchased":"Anda sudah membeli {{productTitle}}","error_page.error_title_other_errors":"Ada sesuatu yang tidak kena","error_page.error_message_already_subscribed":"Anda tidak boleh melanggan produk ini lagi.","error_page.error_message_already_purchased":"Anda tidak boleh membeli produk ini lagi.","error_page.error_message_missing_email_error":"Emel diperlukan untuk menyelesaikan pembelian.","error_page.error_message_network_error":"Ralat rangkaian. Sila semak sambungan internet anda.","error_page.error_message_error_charging_payment":"Pembayaran gagal.","error_page.error_message_error_setting_up_purchase":"Pembelian tidak dimulakan disebabkan ralat (kod ralat: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Kami tidak dapat mengesahkan alamat bil anda. Sila semak sama ada poskod dan negara adalah betul.","error_page.error_message_unknown_error":"Ralat yang tidak diketahui telah berlaku (kod ralat: {{errorCode}}).","error_page.button_try_again":"Cuba lagi","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Jumlah yang perlu dibayar hari ini","product_info.subscribe_to":"Langgan","navbar_header.details":"Butiran","navbar_header.back_button":"Kembali","pricing_dropdown.show_details":"Tunjukkan butiran","pricing_dropdown.hide_details":"Sembunyikan butiran","pricing_table.tax":"Cukai","pricing_table.trial_ends":"Selepas tempoh percubaan tamat, pada {{formattedTrialEndDate}}","pricing_table.total_due_today":"Jumlah yang perlu dibayar hari ini","pricing_table.total_excluding_tax":"Jumlah tidak termasuk cukai","pricing_table.enter_billing_address_to_calculate":"Masukkan alamat pengebilan untuk mengira","pricing_table.enter_state_or_postal_code_to_calculate":"Masukkan negeri atau poskod untuk mengira","pricing_table.enter_postal_code_to_calculate":"Masukkan poskod untuk mengira","error_page.error_message_invalid_email_error":"Alamat e-mel {{email}} tidak dapat disahkan. Sila berikan alamat e-mel yang sah.","payment_entry_page.button_payment_method":"Bayar {{formattedPrice}} dengan {{paymentMethod}}","payment_entry_page.button_with_price":"Bayar {{formattedPrice}}","price_update.title":"Kemaskini harga","price_update.base_message":"Jumlah harga telah dikemas kini dengan cukai berdasarkan alamat pengebilan anda. Sila semak dan cuba lagi. Kad anda hanya akan dicaj sekali.","price_update.trial_message":"Harga langganan telah dikemas kini untuk memasukkan cukai berdasarkan alamat bil anda. Tempoh percubaan percuma masih terpakai. Sila semak dan cuba lagi.","payment_entry_page.express_checkout_divider":"ATAU BAYAR DENGAN KAD","error_page.trouble_accessing":"Jika anda menghadapi masalah untuk mengakses pembelian anda, hubungi sokongan di ","error_page.close_button_title":"Pergi ke {{appName}}","error_page.error_title_stripe_missing_required_permission":"Kebenaran Stripe hilang","error_page.button_close":"Tutup","error_page.error_message_stripe_invalid_tax_origin_address":"Pembelian gagal kerana alamat asal cukai tidak sah. Dalam pengeluaran, pembelian akan berfungsi tanpa cukai dikenakan.","error_page.error_message_stripe_tax_not_active":"Pembelian gagal kerana Cukai Stripe tidak didayakan. Dalam pengeluaran, pembelian akan berfungsi tanpa cukai dikenakan.","error_page.error_only_in_sandbox":"Mesej ini hanya muncul dalam kotak pasir.","error_page.error_message_stripe_missing_required_permission":"Pembelian gagal kerana aplikasi Stripe kekurangan kebenaran yang diperlukan. Dalam pengeluaran, pembelian akan berfungsi tanpa cukai dikenakan.","error_page.error_title_stripe_tax_not_active":"Cukai Stripe tidak aktif","error_page.error_title_stripe_invalid_tax_origin_address":"Alamat asal cukai Stripe tidak sah","apple_pay.free_trial":"Percubaan Percuma","product_info.price_after_intro_price":"Selepas {{introPriceDuration}}, pada {{renewalDate}}","product_info.after_trial":"selepas percubaan","product_info.after":"selepas","product_info.intro_price_phase_after_trial":"Kemudian {{introPriceDuration}} untuk {{introPrice}}","product_info.intro_price_phase":"Pertama {{introPriceDuration}} untuk {{introPrice}}","product_info.intro_price_phase_paid_once":"dibayar sekali","payment_entry_page.trial_subscription_terms_info":"Selepas tempoh percubaan anda tamat, anda akan dikenakan bayaran sebanyak {{price}} {{perFrequency}} bermula {{renewalDate}}. Anda boleh membatalkan pada bila-bila masa sebelum tarikh ini.","payment_entry_page.subscription_info":"Langganan diperbaharui secara automatik. Batalkan bila-bila masa.","payment_entry_page.otp_terms_info":"Dengan membuat pembelian, anda bersetuju untuk membenarkan {{appName}} mengenakan bayaran kepada anda mengikut terma mereka.","payment_entry_page.terms_link_label":"Terma","payment_entry_page.subscription_terms_info":"Dengan melanggan, anda bersetuju untuk membenarkan {{appName}} mengenakan bayaran kepada anda mengikut terma mereka sehingga anda membatalkan.","loading_page.keep_page_open":"Proses hampir selesai. Pastikan halaman ini dibuka.","loading_page.processing_payment":"Memproses pembayaran","pricing_table.discount":"Diskaun","pricing_table.subtotal":"Subtotal","pricing_dropdown.add_promo_code":"Tambah kod promo","discount_input.label":"Kod promo","payment_entry_page.checkout_consent_terms_of_service":"syarat perkhidmatan","payment_entry_page.checkout_consent_agreement":"Saya bersetuju dengan {{appName}} {{termsOfService}}."},Jm={"periods.week":"{{amount}} uke","periods.month":"{{amount}} måned","periods.year":"{{amount}} år","periods.day":"{{amount}} dag","periods.weekShort":"{{amount}}uk","periods.monthShort":"{{amount}}md","periods.yearShort":"{{amount}}år","periods.dayShort":"{{amount}}d","periods.lifetime":"livstid","periods.weekPlural":"{{amount}} uker","periods.monthPlural":"{{amount}} måneder","periods.yearPlural":"{{amount}} år","periods.dayPlural":"{{amount}} dager","periods.weekFrequency":"ukentlig","periods.monthFrequency":"månedlig","periods.yearFrequency":"årlig","periods.dayFrequency":"daglig","periods.perWeekFrequency":"per uke","periods.perMonthFrequency":"per måned","periods.perYearFrequency":"per år","periods.perDayFrequency":"per dag","periods.unknownFrequency":"ukjent","periods.weekFrequencyPlural":"hver {{amount}} uker","periods.monthFrequencyPlural":"hver {{amount}} måneder","periods.yearFrequencyPlural":"hver {{amount}} år","periods.dayFrequencyPlural":"hver {{amount}} dager","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} gratis prøveperiode","product_info.price_after_free_trial":"Etter prøveperioden slutter, den {{renewalDate}}","product_info.renewal_frequency":"Fornyes {{frequency}}","product_info.continues_until_cancelled":"Varer til den avbestilles","product_info.cancel_anytime":"Avbestille når som helst","payment_entry_page.payment_step_title":"Sikker betaling via RevenueCat","payment_entry_page.button_pay":"Betal nå","payment_entry_page.button_start_trial":"Start prøveperiode","success_page.purchase_successful":"Betalingen er fullført","success_page.button_close":"Fortsett","error_page.if_error_persists":"Hvis feilen vedvarer, vennligst kontakt ","error_page.error_title_already_subscribed":"Du abonnerer allerede på {{productTitle}}","error_page.error_title_already_purchased":"Du har allerede kjøpt {{productTitle}}","error_page.error_title_other_errors":"Noe gikk galt","error_page.error_message_already_subscribed":"Du kan ikke abonnere på dette produktet igjen.","error_page.error_message_already_purchased":"Du kan ikke kjøpe dette produktet igjen.","error_page.error_message_missing_email_error":"E-post er nødvendig for å fullføre kjøpet.","error_page.error_message_network_error":"Nettverksfeil. Vennligst sjekk internettforbindelsen din.","error_page.error_message_error_charging_payment":"Betalingen mislyktes.","error_page.error_message_error_setting_up_purchase":"Kjøpet ble ikke startet på grunn av en feil (feilkode: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Vi kunne ikke bekrefte faktureringsadressen din. Vennligst sjekk at postnummeret og landet er korrekte.","error_page.error_message_unknown_error":"En ukjent feil oppstod (feilkode: {{errorCode}}).","error_page.button_try_again":"Prøv igjen","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}} ({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Totalt forfaller i dag","product_info.subscribe_to":"Abonner på","navbar_header.details":"Detaljer","navbar_header.back_button":"Tilbake","pricing_dropdown.show_details":"Vis detaljer","pricing_dropdown.hide_details":"Skjul detaljer","pricing_table.tax":"Skatt","pricing_table.trial_ends":"Etter prøveperioden slutter, den {{formattedTrialEndDate}}","pricing_table.total_due_today":"Totalt forfaller i dag","pricing_table.total_excluding_tax":"Total eksklusive skatt","pricing_table.enter_billing_address_to_calculate":"Oppgi faktureringsadresse for å beregne","pricing_table.enter_state_or_postal_code_to_calculate":"Skriv inn stat eller postnummer for å beregne","pricing_table.enter_postal_code_to_calculate":"Skriv inn postnummer for å beregne","error_page.error_message_invalid_email_error":"E-postadressen {{email}} kunne ikke bekreftes. Vennligst oppgi en gyldig e-postadresse.","payment_entry_page.button_payment_method":"Betal {{formattedPrice}} med {{paymentMethod}}","payment_entry_page.button_with_price":"Betal {{formattedPrice}}","price_update.title":"Prisoppdatering","price_update.base_message":"Totalprisen er oppdatert med skatt basert på fakturaadressen din. Vennligst se gjennom og prøv igjen. Kortet ditt vil kun bli belastet én gang.","price_update.trial_message":"Abonnementsprisen er oppdatert for å inkludere skatter basert på din fakturaadresse. Den gratis prøveperioden gjelder fortsatt. Vennligst sjekk og prøv igjen.","payment_entry_page.express_checkout_divider":"ELLER BETAL MED KORT","error_page.trouble_accessing":"Hvis du har problemer med å få tilgang til kjøpet ditt, kan du kontakte support på ","error_page.close_button_title":"Gå til {{appName}}","error_page.error_title_stripe_missing_required_permission":"Mangler Stripe-tillatelse","error_page.button_close":"Lukk","error_page.error_message_stripe_invalid_tax_origin_address":"Kjøpet mislyktes fordi skatteopprinnelsesadressen er ugyldig. I produksjon vil kjøp fungere uten at skatter brukes.","error_page.error_message_stripe_tax_not_active":"Kjøpet mislyktes fordi Stripe Tax ikke er aktivert. I produksjon vil kjøp fungere uten at skatter brukes.","error_page.error_only_in_sandbox":"Denne meldingen vises bare i sandkassen.","error_page.error_message_stripe_missing_required_permission":"Kjøpet mislyktes fordi Stripe-appen mangler en nødvendig tillatelse. I produksjon vil kjøp fungere uten at skatter brukes.","error_page.error_title_stripe_tax_not_active":"Stripe Tax er ikke aktivt","error_page.error_title_stripe_invalid_tax_origin_address":"Ugyldig skatteopprinnelsesadresse","apple_pay.free_trial":"Gratis prøveperiode","product_info.price_after_intro_price":"Etter {{introPriceDuration}}, den {{renewalDate}}","product_info.after_trial":"etter prøveperiode","product_info.after":"etter","product_info.intro_price_phase_after_trial":"Deretter {{introPriceDuration}} for {{introPrice}}","product_info.intro_price_phase":"Først {{introPriceDuration}} for {{introPrice}}","product_info.intro_price_phase_paid_once":"betales én gang","payment_entry_page.trial_subscription_terms_info":"Etter at prøveperioden din er over, blir du belastet {{price}} {{perFrequency}} fra og med {{renewalDate}}. Du kan kansellere når som helst før denne datoen.","payment_entry_page.subscription_info":"Abonnementet fornyes automatisk. Avbryt når som helst.","payment_entry_page.otp_terms_info":"Ved å kjøpe godtar du at {{appName}} belaster deg i henhold til deres vilkår.","payment_entry_page.terms_link_label":"Vilkår","payment_entry_page.subscription_terms_info":"Ved å abonnere godtar du at {{appName}} belaster deg i henhold til deres vilkår til du kansellerer.","loading_page.keep_page_open":"Prosessen er nesten ferdig. Hold denne siden åpen.","loading_page.processing_payment":"Behandler betaling","pricing_table.discount":"Rabatt","pricing_table.subtotal":"Subtotal","pricing_dropdown.add_promo_code":"Legg til kampanjekode","discount_input.label":"Kampanjekode","payment_entry_page.checkout_consent_terms_of_service":"vilkår for bruk","payment_entry_page.checkout_consent_agreement":"Jeg godtar {{appName}} {{termsOfService}}."},Qm={"periods.week":"{{amount}} tydzień","periods.month":"{{amount}} miesiąc","periods.year":"{{amount}} rok","periods.day":"{{amount}} dzień","periods.weekShort":"{{amount}}tydz","periods.monthShort":"{{amount}}mies","periods.yearShort":"{{amount}}rok","periods.dayShort":"{{amount}}d","periods.lifetime":"dożywotnio","periods.weekPlural":"{{amount}} tygodni","periods.monthPlural":"{{amount}} miesięcy","periods.yearPlural":"{{amount}} lat","periods.dayPlural":"{{amount}} dni","periods.weekFrequency":"tygodniowo","periods.monthFrequency":"miesięcznie","periods.yearFrequency":"rocznie","periods.dayFrequency":"dziennie","periods.perWeekFrequency":"na tydzień","periods.perMonthFrequency":"na miesiąc","periods.perYearFrequency":"na rok","periods.perDayFrequency":"na dzień","periods.unknownFrequency":"nieznany","periods.weekFrequencyPlural":"co {{amount}} tygodni","periods.monthFrequencyPlural":"co {{amount}} miesięcy","periods.yearFrequencyPlural":"co {{amount}} lat","periods.dayFrequencyPlural":"co {{amount}} dni","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} dni próbnych","product_info.price_after_free_trial":"Po zakończeniu okresu próbnego, dnia {{renewalDate}}","product_info.renewal_frequency":"Odnawialny co {{frequency}}","product_info.continues_until_cancelled":"Kontynuowane do momentu anulowania","product_info.cancel_anytime":"Możesz anulować w dowolnym momencie","payment_entry_page.payment_step_title":"Bezpieczna płatność przez RevenueCat","payment_entry_page.button_pay":"Zapłać teraz","payment_entry_page.button_start_trial":"Rozpocznij okres próbny","success_page.purchase_successful":"Płatność zakończona","success_page.button_close":"Kontynuuj","error_page.if_error_persists":"Jeśli błąd będzie się powtarzał, skontaktuj się z ","error_page.error_title_already_subscribed":"Już subskrybujesz {{productTitle}}","error_page.error_title_already_purchased":"Już zakupiłeś/aś {{productTitle}}","error_page.error_title_other_errors":"Coś poszło nie tak","error_page.error_message_already_subscribed":"Nie możesz ponownie subskrybować tego produktu.","error_page.error_message_already_purchased":"Nie możesz ponownie zakupić tego produktu.","error_page.error_message_missing_email_error":"Adres e-mail jest wymagany do dokonania zakupu.","error_page.error_message_network_error":"Błąd sieci. Sprawdź połączenie internetowe.","error_page.error_message_error_charging_payment":"Płatność nieudana.","error_page.error_message_error_setting_up_purchase":"Zakup nie został rozpoczęty z powodu błędu (kod błędu: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Nie mogliśmy zweryfikować Twojego adresu rozliczeniowego. Sprawdź, czy kod pocztowy i kraj są poprawne.","error_page.error_message_unknown_error":"Wystąpił nieznany błąd (kod błędu: {{errorCode}}).","error_page.button_try_again":"Spróbuj ponownie","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Do zapłaty dzisiaj","product_info.subscribe_to":"Subskrybuj","navbar_header.details":"Szczegóły","navbar_header.back_button":"Wstecz","pricing_dropdown.show_details":"Pokaż szczegóły","pricing_dropdown.hide_details":"Ukryj szczegóły","pricing_table.tax":"Podatek","pricing_table.trial_ends":"Po zakończeniu okresu próbnego, {{formattedTrialEndDate}}","pricing_table.total_due_today":"Suma należna dzisiaj","pricing_table.total_excluding_tax":"Suma bez podatku","pricing_table.enter_billing_address_to_calculate":"Wprowadź adres rozliczeniowy, aby obliczyć","pricing_table.enter_state_or_postal_code_to_calculate":"Wprowadź stan lub kod pocztowy, aby obliczyć","pricing_table.enter_postal_code_to_calculate":"Wprowadź kod pocztowy, aby obliczyć","error_page.error_message_invalid_email_error":"Nie można zweryfikować adresu e-mail {{email}}. Proszę podać prawidłowy adres e-mail.","payment_entry_page.button_payment_method":"Zapłać {{formattedPrice}} przez {{paymentMethod}}","payment_entry_page.button_with_price":"Zapłać {{formattedPrice}}","price_update.title":"Aktualizacja ceny","price_update.base_message":"Cena całkowita została zaktualizowana o podatek na podstawie Twojego adresu rozliczeniowego. Sprawdź i spróbuj ponownie. Twoja karta zostanie obciążona tylko raz.","price_update.trial_message":"Cena subskrypcji została zaktualizowana o podatki na podstawie Twojego adresu rozliczeniowego. Okres próbny nadal obowiązuje. Sprawdź i spróbuj ponownie.","payment_entry_page.express_checkout_divider":"LUB ZAPŁAĆ KARTĄ","error_page.trouble_accessing":"Jeśli masz problemy z dostępem do zakupu, skontaktuj się z działem pomocy pod adresem ","error_page.close_button_title":"Przejdź do {{appName}}","error_page.error_title_stripe_missing_required_permission":"Brakujące uprawnienie Stripe","error_page.button_close":"Zamknij","error_page.error_message_stripe_invalid_tax_origin_address":"Zakup nie powiódł się, ponieważ adres pochodzenia podatku jest nieprawidłowy. W środowisku produkcyjnym zakupy będą działać bez naliczania podatków.","error_page.error_message_stripe_tax_not_active":"Zakup nie powiódł się, ponieważ Stripe Tax nie jest włączony. W środowisku produkcyjnym zakupy będą działać bez naliczania podatków.","error_page.error_only_in_sandbox":"Ta wiadomość pojawia się tylko w środowisku testowym.","error_page.error_message_stripe_missing_required_permission":"Zakup nie powiódł się, ponieważ aplikacja Stripe nie ma wymaganego uprawnienia. W środowisku produkcyjnym zakupy będą działać bez naliczania podatków.","error_page.error_title_stripe_tax_not_active":"Stripe Tax nieaktywny","error_page.error_title_stripe_invalid_tax_origin_address":"Nieprawidłowy adres pochodzenia podatku","apple_pay.free_trial":"Okres próbny","product_info.price_after_intro_price":"Po {{introPriceDuration}}, od {{renewalDate}}","product_info.after_trial":"po okresie próbnym","product_info.after":"po","product_info.intro_price_phase_after_trial":"Następnie {{introPriceDuration}} za {{introPrice}}","product_info.intro_price_phase":"Najpierw {{introPriceDuration}} za {{introPrice}}","product_info.intro_price_phase_paid_once":"płatne jednorazowo","payment_entry_page.trial_subscription_terms_info":"Po zakończeniu okresu próbnego zostanie pobrana opłata w wysokości {{price}} {{perFrequency}} począwszy od {{renewalDate}}. Możesz anulować subskrypcję w dowolnym momencie przed tą datą.","payment_entry_page.subscription_info":"Subskrypcja odnawia się automatycznie. Anuluj w dowolnym momencie.","payment_entry_page.otp_terms_info":"Dokonując zakupu, zgadzasz się na obciążenie przez {{appName}} zgodnie z ich warunkami.","payment_entry_page.terms_link_label":"Warunki","payment_entry_page.subscription_terms_info":"Subskrybując, zgadzasz się na obciążanie przez {{appName}} zgodnie z ich warunkami do momentu anulowania.","loading_page.keep_page_open":"Proces jest prawie zakończony. Pozostaw tę stronę otwartą.","loading_page.processing_payment":"Przetwarzanie płatności","pricing_table.discount":"Rabat","pricing_table.subtotal":"Suma częściowa","pricing_dropdown.add_promo_code":"Dodaj kod promocyjny","discount_input.label":"Kod promocyjny","payment_entry_page.checkout_consent_terms_of_service":"regulamin","payment_entry_page.checkout_consent_agreement":"Akceptuję {{appName}} {{termsOfService}}."},$m={"periods.week":"{{amount}} semana","periods.month":"{{amount}} mês","periods.year":"{{amount}} ano","periods.day":"{{amount}} dia","periods.weekShort":"{{amount}}sem","periods.monthShort":"{{amount}}mês","periods.yearShort":"{{amount}}ano","periods.dayShort":"{{amount}}d","periods.lifetime":"vitalício","periods.weekPlural":"{{amount}} semanas","periods.monthPlural":"{{amount}} meses","periods.yearPlural":"{{amount}} anos","periods.dayPlural":"{{amount}} dias","periods.weekFrequency":"semanal","periods.monthFrequency":"mensal","periods.yearFrequency":"anual","periods.dayFrequency":"diário","periods.perWeekFrequency":"por semana","periods.perMonthFrequency":"por mês","periods.perYearFrequency":"por ano","periods.perDayFrequency":"por dia","periods.unknownFrequency":"desconhecido","periods.weekFrequencyPlural":"a cada {{amount}} semanas","periods.monthFrequencyPlural":"a cada {{amount}} meses","periods.yearFrequencyPlural":"a cada {{amount}} anos","periods.dayFrequencyPlural":"a cada {{amount}} dias","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} teste grátis","product_info.price_after_free_trial":"Após o término do teste, em {{renewalDate}}","product_info.renewal_frequency":"Renova {{frequency}}","product_info.continues_until_cancelled":"Continua até ser cancelado","product_info.cancel_anytime":"Cancelar a qualquer momento","payment_entry_page.payment_step_title":"Pagamento seguro pela RevenueCat","payment_entry_page.button_pay":"Pagar agora","payment_entry_page.button_start_trial":"Iniciar Teste","success_page.purchase_successful":"Pagamento concluído","success_page.button_close":"Continuar","error_page.if_error_persists":"Se o erro persistir, entre em contato com ","error_page.error_title_already_subscribed":"Você já se inscreveu em {{productTitle}}","error_page.error_title_already_purchased":"Você já comprou {{productTitle}}","error_page.error_title_other_errors":"Algo deu errado","error_page.error_message_already_subscribed":"Você não pode se inscrever neste produto novamente.","error_page.error_message_already_purchased":"Você não pode comprar este produto novamente.","error_page.error_message_missing_email_error":"Email é necessário para concluir a compra.","error_page.error_message_network_error":"Erro de rede. Verifique sua conexão com a internet.","error_page.error_message_error_charging_payment":"Pagamento falhou.","error_page.error_message_error_setting_up_purchase":"Compra não iniciada devido a um erro (código de erro: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Não conseguimos verificar seu endereço de cobrança. Por favor, verifique se o código postal e o país estão corretos.","error_page.error_message_unknown_error":"Ocorreu um erro desconhecido (código de erro: {{errorCode}}).","error_page.button_try_again":"Tentar novamente","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Total a pagar hoje","product_info.subscribe_to":"Subscrever","navbar_header.details":"Detalhes","navbar_header.back_button":"Voltar","pricing_dropdown.show_details":"Mostrar detalhes","pricing_dropdown.hide_details":"Ocultar detalhes","pricing_table.tax":"Imposto","pricing_table.trial_ends":"Após o término do período de avaliação, em {{formattedTrialEndDate}}","pricing_table.total_due_today":"Total a pagar hoje","pricing_table.total_excluding_tax":"Total sem impostos","pricing_table.enter_billing_address_to_calculate":"Insira o endereço de cobrança para calcular","pricing_table.enter_state_or_postal_code_to_calculate":"Insira o estado ou o CEP para calcular","pricing_table.enter_postal_code_to_calculate":"Insira o CEP para calcular","error_page.error_message_invalid_email_error":"O endereço de e-mail {{email}} não pôde ser verificado. Por favor, forneça um endereço de e-mail válido.","payment_entry_page.button_payment_method":"Pagar {{formattedPrice}} com {{paymentMethod}}","payment_entry_page.button_with_price":"Pagar {{formattedPrice}}","price_update.title":"Atualização de preço","price_update.base_message":"O preço total foi atualizado com impostos com base no seu endereço de cobrança. Por favor, revise e tente novamente. Seu cartão só será cobrado uma vez.","price_update.trial_message":"O preço da assinatura foi atualizado para incluir impostos com base no seu endereço de faturação. O período de teste gratuito continua válido. Por favor, verifique e tente novamente.","payment_entry_page.express_checkout_divider":"OU PAGUE COM CARTÃO","error_page.trouble_accessing":"Se estiver com problemas para acessar sua compra, entre em contato com o suporte em ","error_page.close_button_title":"Ir para {{appName}}","error_page.error_title_stripe_missing_required_permission":"Permissão do Stripe em falta","error_page.button_close":"Fechar","error_page.error_message_stripe_invalid_tax_origin_address":"A compra falhou porque o endereço de origem fiscal é inválido. Em produção, as compras funcionarão sem impostos aplicados.","error_page.error_message_stripe_tax_not_active":"A compra falhou porque o Stripe Tax não está ativado. Em produção, as compras funcionarão sem impostos aplicados.","error_page.error_only_in_sandbox":"Esta mensagem aparece apenas na sandbox.","error_page.error_message_stripe_missing_required_permission":"A compra falhou porque o aplicativo Stripe não tem uma permissão necessária. Em produção, as compras funcionarão sem impostos aplicados.","error_page.error_title_stripe_tax_not_active":"Stripe Tax não está ativo","error_page.error_title_stripe_invalid_tax_origin_address":"Endereço de origem fiscal inválido","apple_pay.free_trial":"Teste Gratuito","product_info.price_after_intro_price":"Após {{introPriceDuration}}, em {{renewalDate}}","product_info.after_trial":"após o período de teste","product_info.after":"após","product_info.intro_price_phase_after_trial":"Depois, {{introPriceDuration}} por {{introPrice}}","product_info.intro_price_phase":"Primeiro, {{introPriceDuration}} por {{introPrice}}","product_info.intro_price_phase_paid_once":"pago uma vez","payment_entry_page.trial_subscription_terms_info":"Após o término do período de avaliação, será cobrado o valor de {{price}} {{perFrequency}} a partir de {{renewalDate}}. Pode cancelar a qualquer momento antes desta data.","payment_entry_page.subscription_info":"A subscrição é renovada automaticamente. Cancele a qualquer momento.","payment_entry_page.otp_terms_info":"Ao comprar, você concorda em permitir que o {{appName}} cobre de acordo com os termos deles.","payment_entry_page.terms_link_label":"Termos","payment_entry_page.subscription_terms_info":"Ao subscrever, concorda em permitir que a {{appName}} lhe cobre de acordo com os seus termos até cancelar.","loading_page.keep_page_open":"O processo está quase concluído. Mantenha esta página aberta.","loading_page.processing_payment":"Processando o pagamento","pricing_table.discount":"Desconto","pricing_table.subtotal":"Subtotal","pricing_dropdown.add_promo_code":"Adicionar código promocional","discount_input.label":"Código promocional","payment_entry_page.checkout_consent_terms_of_service":"termos de serviço","payment_entry_page.checkout_consent_agreement":"Concordo com os {{termsOfService}} do {{appName}}."},eh={"periods.week":"{{amount}} săptămână","periods.month":"{{amount}} lună","periods.year":"{{amount}} an","periods.day":"{{amount}} zi","periods.weekShort":"{{amount}}săpt","periods.monthShort":"{{amount}}lun","periods.yearShort":"{{amount}}an","periods.dayShort":"{{amount}}z","periods.lifetime":"pe viață","periods.weekPlural":"{{amount}} săptămâni","periods.monthPlural":"{{amount}} luni","periods.yearPlural":"{{amount}} ani","periods.dayPlural":"{{amount}} zile","periods.weekFrequency":"săptămânal","periods.monthFrequency":"lunar","periods.yearFrequency":"anual","periods.dayFrequency":"zilnic","periods.perWeekFrequency":"pe săptămână","periods.perMonthFrequency":"pe lună","periods.perYearFrequency":"pe an","periods.perDayFrequency":"pe zi","periods.unknownFrequency":"necunoscut","periods.weekFrequencyPlural":"la fiecare {{amount}} săptămâni","periods.monthFrequencyPlural":"la fiecare {{amount}} luni","periods.yearFrequencyPlural":"la fiecare {{amount}} ani","periods.dayFrequencyPlural":"la fiecare {{amount}} zile","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} perioadă de probă gratuită","product_info.price_after_free_trial":"După terminarea perioadei de probă, pe {{renewalDate}}","product_info.renewal_frequency":"Se reînnoiește {{frequency}}","product_info.continues_until_cancelled":"Continuă până la anulare","product_info.cancel_anytime":"Anulare oricând","payment_entry_page.payment_step_title":"Plata securizată prin RevenueCat","payment_entry_page.button_pay":"Plătește acum","payment_entry_page.button_start_trial":"Începe perioada de probă","success_page.purchase_successful":"Plata efectuată","success_page.button_close":"Continuă","error_page.if_error_persists":"Dacă eroarea persistă, vă rugăm să contactați ","error_page.error_title_already_subscribed":"Sunteți deja abonat la {{productTitle}}","error_page.error_title_already_purchased":"Ați achiziționat deja {{productTitle}}","error_page.error_title_other_errors":"A apărut o eroare","error_page.error_message_already_subscribed":"Nu vă puteți abona din nou la acest produs.","error_page.error_message_already_purchased":"Nu puteți achiziționa din nou acest produs.","error_page.error_message_missing_email_error":"Adresa de e-mail este necesară pentru a finaliza achiziția.","error_page.error_message_network_error":"Eroare de rețea. Verificați conexiunea la internet.","error_page.error_message_error_charging_payment":"Plata a eșuat.","error_page.error_message_error_setting_up_purchase":"Achiziția nu a putut fi inițiată din cauza unei erori (cod de eroare: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Nu am putut verifica adresa de facturare. Vă rugăm să verificați dacă codul poștal și țara sunt corecte.","error_page.error_message_unknown_error":"A apărut o eroare necunoscută (cod de eroare: {{errorCode}}).","error_page.button_try_again":"Încearcă din nou","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Total de plată astăzi","product_info.subscribe_to":"Abonare la","navbar_header.details":"Detalii","navbar_header.back_button":"Înapoi","pricing_dropdown.show_details":"Arată detalii","pricing_dropdown.hide_details":"Ascunde detalii","pricing_table.tax":"Taxă","pricing_table.trial_ends":"După ce perioada de probă se termină, pe {{formattedTrialEndDate}}","pricing_table.total_due_today":"Total de plătit astăzi","pricing_table.total_excluding_tax":"Total fără taxe","pricing_table.enter_billing_address_to_calculate":"Introduceți adresa de facturare pentru a calcula","pricing_table.enter_state_or_postal_code_to_calculate":"Introduceți statul sau codul poștal pentru a calcula","pricing_table.enter_postal_code_to_calculate":"Introduceți codul poștal pentru a calcula","error_page.error_message_invalid_email_error":"Adresa de e-mail {{email}} nu a putut fi verificată. Vă rugăm să furnizați o adresă de e-mail validă.","payment_entry_page.button_payment_method":"Plătește {{formattedPrice}} cu {{paymentMethod}}","payment_entry_page.button_with_price":"Plătește {{formattedPrice}}","price_update.title":"Actualizare preț","price_update.base_message":"Prețul total a fost actualizat cu taxe, în funcție de adresa dumneavoastră de facturare. Vă rugăm să revizuiți și să încercați din nou. Cardul dumneavoastră va fi debitat o singură dată.","price_update.trial_message":"Prețul abonamentului a fost actualizat pentru a include taxele bazate pe adresa dvs. de facturare. Perioada de probă gratuită rămâne valabilă. Vă rugăm să verificați și să încercați din nou.","payment_entry_page.express_checkout_divider":"SAU PLĂTEȘTE CU CARDUL","error_page.trouble_accessing":"Dacă întâmpini probleme în accesarea achiziției tale, contactează serviciul de asistență la ","error_page.close_button_title":"Mergi la {{appName}}","error_page.error_title_stripe_missing_required_permission":"Permisiune Stripe lipsă","error_page.button_close":"Închide","error_page.error_message_stripe_invalid_tax_origin_address":"Achiziția a eșuat deoarece adresa de origine fiscală este nevalidă. În producție, achizițiile vor funcționa fără taxe aplicate.","error_page.error_message_stripe_tax_not_active":"Achiziția a eșuat deoarece Stripe Tax nu este activat. În producție, achizițiile vor funcționa fără taxe aplicate.","error_page.error_only_in_sandbox":"Acest mesaj apare doar în sandbox.","error_page.error_message_stripe_missing_required_permission":"Achiziția a eșuat deoarece aplicației Stripe îi lipsește o permisiune necesară. În producție, achizițiile vor funcționa fără taxe aplicate.","error_page.error_title_stripe_tax_not_active":"Stripe Tax nu este activ","error_page.error_title_stripe_invalid_tax_origin_address":"Adresă de origine fiscală Stripe nevalidă","apple_pay.free_trial":"Perioadă de probă gratuită","product_info.price_after_intro_price":"După {{introPriceDuration}}, pe {{renewalDate}}","product_info.after_trial":"după perioada de probă","product_info.after":"după","product_info.intro_price_phase_after_trial":"Apoi {{introPriceDuration}} pentru {{introPrice}}","product_info.intro_price_phase":"Mai întâi {{introPriceDuration}} pentru {{introPrice}}","product_info.intro_price_phase_paid_once":"plătit o singură dată","payment_entry_page.trial_subscription_terms_info":"După ce perioada de probă se termină, veți fi taxat cu {{price}} {{perFrequency}} începând cu {{renewalDate}}. Puteți anula oricând înainte de această dată.","payment_entry_page.subscription_info":"Abonamentul se reînnoiește automat. Anulați oricând.","payment_entry_page.otp_terms_info":"Prin achiziționarea, sunteți de acord să permiteți {{appName}} să vă taxeze conform termenilor săi.","payment_entry_page.terms_link_label":"Termeni","payment_entry_page.subscription_terms_info":"Prin abonare, sunteți de acord să permiteți {{appName}} să vă taxeze conform termenilor săi până la anulare.","loading_page.keep_page_open":"Procesul este aproape finalizat. Păstrați această pagină deschisă.","loading_page.processing_payment":"Se procesează plata","pricing_table.discount":"Reducere","pricing_table.subtotal":"Subtotal","pricing_dropdown.add_promo_code":"Adaugă cod promoțional","discount_input.label":"Cod promoțional","payment_entry_page.checkout_consent_terms_of_service":"condițiile de utilizare","payment_entry_page.checkout_consent_agreement":"Sunt de acord cu {{termsOfService}} ale {{appName}}."},rh={"periods.week":"{{amount}} неделя","periods.month":"{{amount}} месяц","periods.year":"{{amount}} год","periods.day":"{{amount}} день","periods.weekShort":"{{amount}}нед","periods.monthShort":"{{amount}}мес","periods.yearShort":"{{amount}}г","periods.dayShort":"{{amount}}д","periods.lifetime":"пожизненно","periods.weekPlural":"{{amount}} недель","periods.monthPlural":"{{amount}} месяцев","periods.yearPlural":"{{amount}} лет","periods.dayPlural":"{{amount}} дней","periods.weekFrequency":"еженедельно","periods.monthFrequency":"ежемесячно","periods.yearFrequency":"ежегодно","periods.dayFrequency":"ежедневно","periods.perWeekFrequency":"в неделю","periods.perMonthFrequency":"в месяц","periods.perYearFrequency":"в год","periods.perDayFrequency":"в день","periods.unknownFrequency":"неизвестно","periods.weekFrequencyPlural":"каждые {{amount}} недель","periods.monthFrequencyPlural":"каждые {{amount}} месяцев","periods.yearFrequencyPlural":"каждые {{amount}} лет","periods.dayFrequencyPlural":"каждые {{amount}} дней","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} бесплатная пробная версия","product_info.price_after_free_trial":"После окончания пробного периода, {{renewalDate}}","product_info.renewal_frequency":"Продлевается {{frequency}}","product_info.continues_until_cancelled":"Продолжается до отмены","product_info.cancel_anytime":"Отменить в любое время","payment_entry_page.payment_step_title":"Безопасная оплата через RevenueCat","payment_entry_page.button_pay":"Оплатить сейчас","payment_entry_page.button_start_trial":"Начать пробный период","success_page.purchase_successful":"Оплата завершена","success_page.button_close":"Продолжить","error_page.if_error_persists":"Если ошибка сохраняется, пожалуйста, свяжитесь с ","error_page.error_title_already_subscribed":"Вы уже подписаны на {{productTitle}}","error_page.error_title_already_purchased":"Вы уже приобрели {{productTitle}}","error_page.error_title_other_errors":"Что-то пошло не так","error_page.error_message_already_subscribed":"Вы не можете подписаться на этот продукт повторно.","error_page.error_message_already_purchased":"Вы не можете приобрести этот продукт повторно.","error_page.error_message_missing_email_error":"Для завершения покупки необходим адрес электронной почты.","error_page.error_message_network_error":"Ошибка сети. Проверьте ваше интернет-соединение.","error_page.error_message_error_charging_payment":"Оплата не прошла.","error_page.error_message_error_setting_up_purchase":"Покупка не была начата из-за ошибки (код ошибки: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Мы не смогли проверить ваш платежный адрес. Пожалуйста, проверьте, что почтовый индекс и страна указаны правильно.","error_page.error_message_unknown_error":"Произошла неизвестная ошибка (код ошибки: {{errorCode}}).","error_page.button_try_again":"Повторить попытку","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Всего к оплате сегодня","product_info.subscribe_to":"Подписаться","navbar_header.details":"Детали","navbar_header.back_button":"Назад","pricing_dropdown.show_details":"Показать детали","pricing_dropdown.hide_details":"Скрыть детали","pricing_table.tax":"Налог","pricing_table.trial_ends":"После окончания пробного периода, {{formattedTrialEndDate}}","pricing_table.total_due_today":"Итого к оплате сегодня","pricing_table.total_excluding_tax":"Итого без учета налога","pricing_table.enter_billing_address_to_calculate":"Введите платежный адрес для расчета","pricing_table.enter_state_or_postal_code_to_calculate":"Введите штат или почтовый индекс для расчета","pricing_table.enter_postal_code_to_calculate":"Введите почтовый индекс для расчета","error_page.error_message_invalid_email_error":"Не удалось проверить адрес электронной почты {{email}}. Пожалуйста, укажите действительный адрес электронной почты.","payment_entry_page.button_payment_method":"Оплатить {{formattedPrice}} через {{paymentMethod}}","payment_entry_page.button_with_price":"Оплатить {{formattedPrice}}","price_update.title":"Обновление цены","price_update.base_message":"Общая цена была обновлена с учетом налога на основе вашего платежного адреса. Пожалуйста, проверьте и повторите попытку. С вашей карты будет списано только один раз.","price_update.trial_message":"Цена подписки была обновлена с учетом налогов на основе вашего платежного адреса. Пробный период остается бесплатным. Пожалуйста, проверьте и попробуйте снова.","payment_entry_page.express_checkout_divider":"ИЛИ ОПЛАТИТЕ КАРТОЙ","error_page.trouble_accessing":"Если у вас возникли проблемы с доступом к вашей покупке, обратитесь в службу поддержки по адресу ","error_page.close_button_title":"Перейти в {{appName}}","error_page.error_title_stripe_missing_required_permission":"Отсутствует разрешение Stripe","error_page.button_close":"Закрыть","error_page.error_message_stripe_invalid_tax_origin_address":"Покупка не удалась, так как адрес отправления налога недействителен. В рабочей среде покупки будут работать без применения налогов.","error_page.error_message_stripe_tax_not_active":"Покупка не удалась, так как Stripe Tax не включен. В рабочей среде покупки будут работать без применения налогов.","error_page.error_only_in_sandbox":"Это сообщение появляется только в песочнице.","error_page.error_message_stripe_missing_required_permission":"Покупка не удалась, так как у приложения Stripe отсутствует необходимое разрешение. В рабочей среде покупки будут работать без применения налогов.","error_page.error_title_stripe_tax_not_active":"Stripe Tax не активен","error_page.error_title_stripe_invalid_tax_origin_address":"Недействительный адрес отправления налога","apple_pay.free_trial":"Бесплатная пробная версия","product_info.price_after_intro_price":"После {{introPriceDuration}}, {{renewalDate}}","product_info.after_trial":"после пробного периода","product_info.after":"после","product_info.intro_price_phase_after_trial":"Затем {{introPriceDuration}} за {{introPrice}}","product_info.intro_price_phase":"Сначала {{introPriceDuration}} за {{introPrice}}","product_info.intro_price_phase_paid_once":"единоразовый платеж","payment_entry_page.trial_subscription_terms_info":"По окончании пробного периода с вас будет взиматься плата в размере {{price}} {{perFrequency}}, начиная с {{renewalDate}}. Вы можете отменить подписку в любое время до этой даты.","payment_entry_page.subscription_info":"Подписка продлевается автоматически. Отменить можно в любое время.","payment_entry_page.otp_terms_info":"Совершая покупку, вы соглашаетесь с тем, что {{appName}} будет взимать с вас плату в соответствии со своими условиями.","payment_entry_page.terms_link_label":"Условия","payment_entry_page.subscription_terms_info":"Подписываясь, вы соглашаетесь с тем, что {{appName}} будет взимать с вас плату в соответствии с их условиями до тех пор, пока вы не отмените подписку.","loading_page.keep_page_open":"Процесс почти завершен. Не закрывайте эту страницу.","loading_page.processing_payment":"Обработка платежа","pricing_table.discount":"Скидка","pricing_table.subtotal":"Итого","pricing_dropdown.add_promo_code":"Добавить промокод","discount_input.label":"Промокод","payment_entry_page.checkout_consent_terms_of_service":"условиями обслуживания","payment_entry_page.checkout_consent_agreement":"Я согласен с {{appName}} {{termsOfService}}."},th={"periods.week":"{{amount}} týždeň","periods.month":"{{amount}} mesiac","periods.year":"{{amount}} rok","periods.day":"{{amount}} deň","periods.weekShort":"{{amount}}týž","periods.monthShort":"{{amount}}mes","periods.yearShort":"{{amount}}rok","periods.dayShort":"{{amount}}d","periods.lifetime":"doživotne","periods.weekPlural":"{{amount}} týždňov","periods.monthPlural":"{{amount}} mesiacov","periods.yearPlural":"{{amount}} rokov","periods.dayPlural":"{{amount}} dní","periods.weekFrequency":"týždenne","periods.monthFrequency":"mesačne","periods.yearFrequency":"ročne","periods.dayFrequency":"denne","periods.perWeekFrequency":"týždenne","periods.perMonthFrequency":"mesačne","periods.perYearFrequency":"ročne","periods.perDayFrequency":"denne","periods.unknownFrequency":"neznáme","periods.weekFrequencyPlural":"každých {{amount}} týždňov","periods.monthFrequencyPlural":"každých {{amount}} mesiacov","periods.yearFrequencyPlural":"každých {{amount}} rokov","periods.dayFrequencyPlural":"každých {{amount}} dní","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} bezplatné skúšobné obdobie","product_info.price_after_free_trial":"Po skončení skúšobného obdobia, dňa {{renewalDate}}","product_info.renewal_frequency":"Obnovuje sa {{frequency}}","product_info.continues_until_cancelled":"Pokračuje, kým sa nezruší","product_info.cancel_anytime":"Kedykoľvek zrušiť","payment_entry_page.payment_step_title":"Bezpečný nákup prostredníctvom RevenueCat","payment_entry_page.button_pay":"Zaplatiť teraz","payment_entry_page.button_start_trial":"Spustiť skúšobné obdobie","success_page.purchase_successful":"Platba dokončená","success_page.button_close":"Pokračovať","error_page.if_error_persists":"Ak chyba pretrváva, kontaktujte ","error_page.error_title_already_subscribed":"Už ste si predplatili {{productTitle}}","error_page.error_title_already_purchased":"Už ste si zakúpili {{productTitle}}","error_page.error_title_other_errors":"Niečo sa pokazilo","error_page.error_message_already_subscribed":"Na tento produkt sa nemôžete znova prihlásiť na odber.","error_page.error_message_already_purchased":"Tento produkt si nemôžete znova zakúpiť.","error_page.error_message_missing_email_error":"Na dokončenie nákupu je potrebný e-mail.","error_page.error_message_network_error":"Chyba siete. Skontrolujte svoje internetové pripojenie.","error_page.error_message_error_charging_payment":"Platba zlyhala.","error_page.error_message_error_setting_up_purchase":"Nákup sa nespustil kvôli chybe (kód chyby: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Nepodarilo sa nám overiť vašu fakturačnú adresu. Skontrolujte, prosím, či je PSČ a krajina správne.","error_page.error_message_unknown_error":"Vyskytla sa neznáma chyba (kód chyby: {{errorCode}}).","error_page.button_try_again":"Skúsiť znova","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Celková suma splatná dnes","product_info.subscribe_to":"Prihlásiť sa na odber","navbar_header.details":"Podrobnosti","navbar_header.back_button":"Späť","pricing_dropdown.show_details":"Zobraziť podrobnosti","pricing_dropdown.hide_details":"Skryť podrobnosti","pricing_table.tax":"Daň","pricing_table.trial_ends":"Po skončení skúšobnej verzie, dňa {{formattedTrialEndDate}}","pricing_table.total_due_today":"Celková suma splatná dnes","pricing_table.total_excluding_tax":"Celkom bez dane","pricing_table.enter_billing_address_to_calculate":"Zadajte fakturačnú adresu pre výpočet","pricing_table.enter_state_or_postal_code_to_calculate":"Zadajte štát alebo PSČ pre výpočet","pricing_table.enter_postal_code_to_calculate":"Zadajte PSČ pre výpočet","error_page.error_message_invalid_email_error":"E-mailová adresa {{email}} sa nedala overiť. Zadajte platnú e-mailovú adresu.","payment_entry_page.button_payment_method":"Zaplatiť sumu {{formattedPrice}} pomocou {{paymentMethod}}","payment_entry_page.button_with_price":"Zaplatiť {{formattedPrice}}","price_update.title":"Aktualizácia ceny","price_update.base_message":"Celková cena bola aktualizovaná o daň na základe vašej fakturačnej adresy. Skontrolujte to a skúste znova. Vaša karta bude zaťažená iba raz.","price_update.trial_message":"Cena predplatného bola aktualizovaná o daňe na základe vašej fakturačnej adresy. Bezplatná skúšobná doba stále platí. Prosím, skontrolujte a skúste znova.","payment_entry_page.express_checkout_divider":"ALEBO ZAPLATIŤ KARTOU","error_page.trouble_accessing":"Ak máte problémy s prístupom k svojmu nákupu, kontaktujte podporu na ","error_page.close_button_title":"Prejsť na {{appName}}","error_page.error_title_stripe_missing_required_permission":"Chýbajúce povolenie Stripe","error_page.button_close":"Zavrieť","error_page.error_message_stripe_invalid_tax_origin_address":"Nákup sa nepodaril, pretože adresa pôvodu dane je neplatná. V produkčnom prostredí budú nákupy fungovať bez uplatnenia daní.","error_page.error_message_stripe_tax_not_active":"Nákup sa nepodaril, pretože Stripe Tax nie je povolený. V produkčnom prostredí budú nákupy fungovať bez uplatnenia daní.","error_page.error_only_in_sandbox":"Táto správa sa zobrazuje iba v testovacom prostredí (sandbox).","error_page.error_message_stripe_missing_required_permission":"Nákup sa nepodaril, pretože aplikácii Stripe chýba požadované povolenie. V produkčnom prostredí budú nákupy fungovať bez uplatnenia daní.","error_page.error_title_stripe_tax_not_active":"Stripe Tax nie je aktívny","error_page.error_title_stripe_invalid_tax_origin_address":"Neplatná adresa pôvodu dane","apple_pay.free_trial":"Skúšobná verzia zdarma","product_info.price_after_intro_price":"Po {{introPriceDuration}}, dňa {{renewalDate}}","product_info.after_trial":"po skúšobnej dobe","product_info.after":"po","product_info.intro_price_phase_after_trial":"Potom {{introPriceDuration}} za {{introPrice}}","product_info.intro_price_phase":"Najprv {{introPriceDuration}} za {{introPrice}}","product_info.intro_price_phase_paid_once":"zaplatené jednorazovo","payment_entry_page.trial_subscription_terms_info":"Po skončení skúšobného obdobia vám bude účtovaná suma {{price}} {{perFrequency}} počnúc dňom {{renewalDate}}. Pred týmto dátumom môžete kedykoľvek zrušiť.","payment_entry_page.subscription_info":"Predplatné sa automaticky obnovuje. Zrušiť môžete kedykoľvek.","payment_entry_page.otp_terms_info":"Zakúpením súhlasíte s tým, že spoločnosti {{appName}} umožníte účtovať vám poplatky v súlade s jej podmienkami.","payment_entry_page.terms_link_label":"Podmienky","payment_entry_page.subscription_terms_info":"Prihlásením na odber súhlasíte s tým, že spoločnosť {{appName}} vám bude účtovať poplatky podľa svojich podmienok, až kým odber nezrušíte.","loading_page.keep_page_open":"Proces sa takmer dokončil. Nechajte túto stránku otvorenú.","loading_page.processing_payment":"Spracováva sa platba","pricing_table.discount":"Zľava","pricing_table.subtotal":"Medzisúčet","pricing_dropdown.add_promo_code":"Pridať promo kód","discount_input.label":"Propagačný kód","payment_entry_page.checkout_consent_terms_of_service":"podmienkami používania","payment_entry_page.checkout_consent_agreement":"Súhlasím s {{appName}} {{termsOfService}}."},nh={"periods.week":"{{amount}} teden","periods.month":"{{amount}} mesec","periods.year":"{{amount}} leto","periods.day":"{{amount}} dan","periods.weekShort":"{{amount}}ted","periods.monthShort":"{{amount}}mes","periods.yearShort":"{{amount}}l","periods.dayShort":"{{amount}}d","periods.lifetime":"doživljenjsko","periods.weekPlural":"{{amount}} tednov","periods.monthPlural":"{{amount}} mesecev","periods.yearPlural":"{{amount}} let","periods.dayPlural":"{{amount}} dni","periods.weekFrequency":"tedensko","periods.monthFrequency":"mesečno","periods.yearFrequency":"letno","periods.dayFrequency":"dnevno","periods.perWeekFrequency":"na teden","periods.perMonthFrequency":"na mesec","periods.perYearFrequency":"na leto","periods.perDayFrequency":"na dan","periods.unknownFrequency":"neznano","periods.weekFrequencyPlural":"vsakih {{amount}} tednov","periods.monthFrequencyPlural":"vsakih {{amount}} mesecev","periods.yearFrequencyPlural":"vsakih {{amount}} let","periods.dayFrequencyPlural":"vsakih {{amount}} dni","product_info.subscribe_to":"Naročite se na","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"Brezplačno preizkusite za {{trialDuration}}","product_info.price_after_free_trial":"Po koncu preizkusa, dne {{renewalDate}}","product_info.intro_price_phase_after_trial":"Nato {{introPriceDuration}} za {{introPrice}}","product_info.intro_price_phase":"Prvih {{introPriceDuration}} za {{introPrice}}","product_info.intro_price_phase_paid_once":"plačano enkrat","product_info.price_after_intro_price":"Po {{introPriceDuration}}, dne {{renewalDate}}","product_info.after_trial":"po preizkusu","product_info.after":"po","product_info.total_due_today":"Skupaj za plačilo danes","product_info.renewal_frequency":"Se obnovi {{frequency}}","product_info.continues_until_cancelled":"Traja do preklica","product_info.cancel_anytime":"Prekličete lahko kadar koli","payment_entry_page.payment_step_title":"Varno plačilo prek RevenueCat","payment_entry_page.trial_subscription_terms_info":"Po koncu preizkusnega obdobja vam bo zaračunano {{price}} {{perFrequency}} z začetkom {{renewalDate}}. Prekličete lahko kadar koli pred tem datumom.","payment_entry_page.subscription_terms_info":"Z naročnino se strinjate, da vam {{appName}} zaračunava v skladu s svojimi pogoji, dokler ne prekličete.","payment_entry_page.otp_terms_info":"Z nakupom se strinjate, da vam {{appName}} zaračuna v skladu s svojimi pogoji.","payment_entry_page.terms_link_label":"Pogoji","payment_entry_page.subscription_info":"Naročnina se samodejno obnavlja. Prekličete lahko kadar koli.","payment_entry_page.button_pay":"Plačaj zdaj","payment_entry_page.button_start_trial":"Začni preizkus","payment_entry_page.button_with_price":"Plačaj {{formattedPrice}}","payment_entry_page.button_payment_method":"Plačaj {{formattedPrice}} z {{paymentMethod}}","payment_entry_page.express_checkout_divider":"ALI PLAČAJTE S KARTICO","loading_page.processing_payment":"Obdelava plačila","loading_page.keep_page_open":"Postopek je skoraj končan. Pustite to stran odprto.","success_page.purchase_successful":"Plačilo zaključeno","success_page.button_close":"Nadaljuj","error_page.close_button_title":"Pojdi na {{appName}}","error_page.if_error_persists":"Če težava ne izgine, se obrnite na ","error_page.trouble_accessing":"Če imate težave z dostopom do svojega nakupa, se obrnite na podporo na ","error_page.error_title_already_subscribed":"Na {{productTitle}} ste že naročeni","error_page.error_title_already_purchased":"{{productTitle}} ste že kupili","error_page.error_title_other_errors":"Nekaj je šlo narobe","error_page.error_message_already_subscribed":"Na ta izdelek se ne morete ponovno naročiti.","error_page.error_message_already_purchased":"Tega izdelka ne morete ponovno kupiti.","error_page.error_title_stripe_tax_not_active":"Stripe Tax ni aktiven","error_page.error_title_stripe_invalid_tax_origin_address":"Neveljaven izvorni naslov za davek","error_page.error_title_stripe_missing_required_permission":"Manjka dovoljenje Stripe","error_page.error_message_missing_email_error":"Za dokončanje nakupa je potrebna e-pošta.","error_page.error_message_invalid_email_error":"E-poštnega naslova {{email}} ni bilo mogoče preveriti. Vnesite veljaven e-poštni naslov.","error_page.error_message_network_error":"Napaka omrežja. Preverite svojo internetno povezavo.","error_page.error_message_error_charging_payment":"Plačilo ni uspelo.","error_page.error_message_error_setting_up_purchase":"Nakup se ni začel zaradi napake (koda napake: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Vašega naslova za obračun nismo mogli preveriti. Preverite, ali sta poštna številka in država pravilni.","error_page.error_message_unknown_error":"Prišlo je do neznane napake (koda napake: {{errorCode}}).","error_page.error_message_stripe_tax_not_active":"Nakup ni uspel, ker Stripe Tax ni omogočen. V produkciji bodo nakupi delovali brez obračunanih davkov.","error_page.error_message_stripe_invalid_tax_origin_address":"Nakup ni uspel, ker je izvorni naslov za davek neveljaven. V produkciji bodo nakupi delovali brez obračunanih davkov.","error_page.error_message_stripe_missing_required_permission":"Nakup ni uspel, ker aplikaciji Stripe manjka zahtevano dovoljenje. V produkciji bodo nakupi delovali brez obračunanih davkov.","error_page.error_only_in_sandbox":"To sporočilo se prikaže samo v peskovniku (sandbox).","error_page.button_try_again":"Poskusi znova","error_page.button_close":"Zapri","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","pricing_dropdown.show_details":"Prikaži podrobnosti","pricing_dropdown.hide_details":"Skrij podrobnosti","pricing_dropdown.add_promo_code":"Dodaj promocijsko kodo","discount_input.label":"Promocijska koda","pricing_table.trial_ends":"Po koncu preizkusa, dne {{formattedTrialEndDate}}","pricing_table.total_excluding_tax":"Skupaj brez davka","pricing_table.total_due_today":"Skupaj za plačilo danes","pricing_table.subtotal":"Vmesni seštevek","pricing_table.discount":"Popust","pricing_table.tax":"Davek","pricing_table.enter_billing_address_to_calculate":"Vnesite naslov za obračun za izračun","pricing_table.enter_postal_code_to_calculate":"Vnesite poštno številko za izračun","pricing_table.enter_state_or_postal_code_to_calculate":"Vnesite regijo ali poštno številko za izračun","navbar_header.details":"Podrobnosti","navbar_header.back_button":"Nazaj","price_update.title":"Posodobitev cene","price_update.base_message":"Skupna cena je bila posodobljena z davkom glede na vaš naslov za obračun. Preglejte in poskusite znova. Vaša kartica bo bremenjena samo enkrat.","price_update.trial_message":"Cena naročnine je bila posodobljena, da vključuje davek glede na vaš naslov za obračun. Brezplačni preizkus še vedno velja. Preglejte in poskusite znova.","apple_pay.free_trial":"Brezplačni preizkus","payment_entry_page.checkout_consent_terms_of_service":"pogoji storitve","payment_entry_page.checkout_consent_agreement":"Strinjam se s/z {{appName}} {{termsOfService}}."},ah={"periods.week":"{{amount}} vecka","periods.month":"{{amount}} månad","periods.year":"{{amount}} år","periods.day":"{{amount}} dag","periods.weekShort":"{{amount}}v","periods.monthShort":"{{amount}}mån","periods.yearShort":"{{amount}}år","periods.dayShort":"{{amount}}d","periods.lifetime":"livstid","periods.weekPlural":"{{amount}} veckor","periods.monthPlural":"{{amount}} månader","periods.yearPlural":"{{amount}} år","periods.dayPlural":"{{amount}} dagar","periods.weekFrequency":"veckovis","periods.monthFrequency":"månadsvis","periods.yearFrequency":"årligen","periods.dayFrequency":"dagligen","periods.perWeekFrequency":"per vecka","periods.perMonthFrequency":"per månad","periods.perYearFrequency":"per år","periods.perDayFrequency":"per dag","periods.unknownFrequency":"okänd","periods.weekFrequencyPlural":"varje {{amount}} veckor","periods.monthFrequencyPlural":"varje {{amount}} månader","periods.yearFrequencyPlural":"varje {{amount}} år","periods.dayFrequencyPlural":"varje {{amount}} dagar","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} gratis provperiod","product_info.price_after_free_trial":"Efter provperioden slutar, den {{renewalDate}}","product_info.renewal_frequency":"Förnyas {{frequency}}","product_info.continues_until_cancelled":"Gäller tills avbokad","product_info.cancel_anytime":"Avboka när som helst","payment_entry_page.payment_step_title":"Säker betalning via RevenueCat","payment_entry_page.button_pay":"Betala nu","payment_entry_page.button_start_trial":"Starta provperiod","success_page.purchase_successful":"Betalningen är klar","success_page.button_close":"Fortsätt","error_page.if_error_persists":"Om felet kvarstår, vänligen kontakta ","error_page.error_title_already_subscribed":"Du prenumererar redan på {{productTitle}}","error_page.error_title_already_purchased":"Du har redan köpt {{productTitle}}","error_page.error_title_other_errors":"Något gick fel","error_page.error_message_already_subscribed":"Du kan inte prenumerera på den här produkten igen.","error_page.error_message_already_purchased":"Du kan inte köpa den här produkten igen.","error_page.error_message_missing_email_error":"E-post krävs för att slutföra köpet.","error_page.error_message_network_error":"Nätverksfel. Kontrollera din internetanslutning.","error_page.error_message_error_charging_payment":"Betalningen misslyckades.","error_page.error_message_error_setting_up_purchase":"Köp kunde inte startas på grund av ett fel (felkod: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Vi kunde inte verifiera din faktureringsadress. Kontrollera att postnummer och land är korrekta.","error_page.error_message_unknown_error":"Ett okänt fel inträffade (felkod: {{errorCode}}).","error_page.button_try_again":"Försök igen","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}} ({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Totalt att betala idag","product_info.subscribe_to":"Prenumerera på","navbar_header.details":"Detaljer","navbar_header.back_button":"Tillbaka","pricing_dropdown.show_details":"Visa detaljer","pricing_dropdown.hide_details":"Dölj detaljer","pricing_table.tax":"Moms","pricing_table.trial_ends":"Efter provperiodens slut, den {{formattedTrialEndDate}}","pricing_table.total_due_today":"Total summa att betala idag","pricing_table.total_excluding_tax":"Totalt exklusive moms","pricing_table.enter_billing_address_to_calculate":"Ange faktureringsadress för att beräkna","pricing_table.enter_state_or_postal_code_to_calculate":"Ange delstat eller postnummer för att beräkna","pricing_table.enter_postal_code_to_calculate":"Ange postnummer för att beräkna","error_page.error_message_invalid_email_error":"E-postadressen {{email}} kunde inte verifieras. Ange en giltig e-postadress.","payment_entry_page.button_payment_method":"Betala {{formattedPrice}} med {{paymentMethod}}","payment_entry_page.button_with_price":"Betala {{formattedPrice}}","price_update.title":"Prisuppdatering","price_update.base_message":"Det totala priset har uppdaterats med moms baserat på din faktureringsadress. Granska och försök igen. Ditt kort kommer endast att debiteras en gång.","price_update.trial_message":"Prenumerationspriset har uppdaterats för att inkludera skatter baserat på din fakturaadress. Den kostnadsfria provperioden gäller fortfarande. Kontrollera och försök igen.","payment_entry_page.express_checkout_divider":"ELLER BETALA MED KORT","error_page.trouble_accessing":"Om du har problem med att komma åt ditt köp, kontakta support på ","error_page.close_button_title":"Gå till {{appName}}","error_page.error_title_stripe_missing_required_permission":"Saknar Stripe-behörighet","error_page.button_close":"Stäng","error_page.error_message_stripe_invalid_tax_origin_address":"Köpet misslyckades eftersom skatteursprungsadressen är ogiltig. I produktion kommer köp att fungera utan att skatter tillämpas.","error_page.error_message_stripe_tax_not_active":"Köpet misslyckades eftersom Stripe Tax inte är aktiverat. I produktion kommer köp att fungera utan att skatter tillämpas.","error_page.error_only_in_sandbox":"Det här meddelandet visas bara i sandlådan.","error_page.error_message_stripe_missing_required_permission":"Köpet misslyckades eftersom Stripe-appen saknar en nödvändig behörighet. I produktion kommer köp att fungera utan att skatter tillämpas.","error_page.error_title_stripe_tax_not_active":"Stripe Tax är inte aktivt","error_page.error_title_stripe_invalid_tax_origin_address":"Ogiltig skatteursprungsadress","apple_pay.free_trial":"Gratis provperiod","product_info.price_after_intro_price":"Efter {{introPriceDuration}}, den {{renewalDate}}","product_info.after_trial":"efter provperioden","product_info.after":"efter","product_info.intro_price_phase_after_trial":"Sedan {{introPriceDuration}} för {{introPrice}}","product_info.intro_price_phase":"Först {{introPriceDuration}} för {{introPrice}}","product_info.intro_price_phase_paid_once":"betalas en gång","payment_entry_page.trial_subscription_terms_info":"Efter att din provperiod slutar debiteras du {{price}} {{perFrequency}} från och med {{renewalDate}}. Du kan avbryta när som helst före detta datum.","payment_entry_page.subscription_info":"Prenumerationen förnyas automatiskt. Avbryt när som helst.","payment_entry_page.otp_terms_info":"Genom att köpa godkänner du att {{appName}} debiterar dig i enlighet med deras villkor.","payment_entry_page.terms_link_label":"Villkor","payment_entry_page.subscription_terms_info":"Genom att prenumerera godkänner du att {{appName}} debiterar dig i enlighet med deras villkor tills du avbryter.","loading_page.keep_page_open":"Processen är nästan klar. Håll den här sidan öppen.","loading_page.processing_payment":"Behandlar betalning","pricing_table.discount":"Rabatt","pricing_table.subtotal":"Delsumma","pricing_dropdown.add_promo_code":"Lägg till kampanjkod","discount_input.label":"Kampanjkod","payment_entry_page.checkout_consent_terms_of_service":"användarvillkor","payment_entry_page.checkout_consent_agreement":"Jag godkänner {{appName}} {{termsOfService}}."},oh={"periods.week":"{{amount}} สัปดาห์","periods.month":"{{amount}} เดือน","periods.year":"{{amount}} ปี","periods.day":"{{amount}} วัน","periods.weekShort":"{{amount}} สัปดาห์","periods.monthShort":"{{amount}} เดือน","periods.yearShort":"{{amount}} ปี","periods.dayShort":"{{amount}} วัน","periods.lifetime":"ตลอดชีพ","periods.weekPlural":"{{amount}} สัปดาห์","periods.monthPlural":"{{amount}} เดือน","periods.yearPlural":"{{amount}} ปี","periods.dayPlural":"{{amount}} วัน","periods.weekFrequency":"รายสัปดาห์","periods.monthFrequency":"รายเดือน","periods.yearFrequency":"รายปี","periods.dayFrequency":"รายวัน","periods.perWeekFrequency":"ต่อสัปดาห์","periods.perMonthFrequency":"ต่อเดือน","periods.perYearFrequency":"ต่อปี","periods.perDayFrequency":"ต่อวัน","periods.unknownFrequency":"ไม่รู้จัก","periods.weekFrequencyPlural":"ทุกๆ {{amount}} สัปดาห์","periods.monthFrequencyPlural":"ทุกๆ {{amount}} เดือน","periods.yearFrequencyPlural":"ทุกๆ {{amount}} ปี","periods.dayFrequencyPlural":"ทุกๆ {{amount}} วัน","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} ทดลองใช้ฟรี","product_info.price_after_free_trial":"หลังจากสิ้นสุดการทดลองใช้ ในวันที่ {{renewalDate}}","product_info.renewal_frequency":"ต่ออายุ {{frequency}}","product_info.continues_until_cancelled":"ต่อเนื่องจนกว่าจะยกเลิก","product_info.cancel_anytime":"ยกเลิกได้ตลอดเวลา","payment_entry_page.payment_step_title":"การชำระเงินอย่างปลอดภัยโดย RevenueCat","payment_entry_page.button_pay":"ชำระเงินตอนนี้","payment_entry_page.button_start_trial":"เริ่มทดลองใช้","success_page.purchase_successful":"การชำระเงินเสร็จสมบูรณ์","success_page.button_close":"ดำเนินการต่อ","error_page.if_error_persists":"หากข้อผิดพลาดยังคงอยู่ โปรดติดต่อ ","error_page.error_title_already_subscribed":"คุณได้สมัครสมาชิก {{productTitle}} แล้ว","error_page.error_title_already_purchased":"คุณได้ซื้อ {{productTitle}} แล้ว","error_page.error_title_other_errors":"มีบางอย่างผิดพลาด","error_page.error_message_already_subscribed":"คุณไม่สามารถสมัครสมาชิกผลิตภัณฑ์นี้ได้อีก","error_page.error_message_already_purchased":"คุณไม่สามารถซื้อผลิตภัณฑ์นี้ได้อีก","error_page.error_message_missing_email_error":"ต้องใช้อีเมลเพื่อทำการซื้อให้เสร็จสมบูรณ์","error_page.error_message_network_error":"ข้อผิดพลาดของเครือข่าย โปรดตรวจสอบการเชื่อมต่ออินเทอร์เน็ตของคุณ","error_page.error_message_error_charging_payment":"การชำระเงินล้มเหลว","error_page.error_message_error_setting_up_purchase":"ไม่สามารถเริ่มการซื้อได้เนื่องจากข้อผิดพลาด (รหัสข้อผิดพลาด: {{errorCode}})","error_page.error_message_invalid_tax_location":"เราไม่สามารถยืนยันที่อยู่สำหรับออกใบแจ้งหนี้ของคุณได้ กรุณาตรวจสอบรหัสไปรษณีย์และประเทศให้ถูกต้อง","error_page.error_message_unknown_error":"เกิดข้อผิดพลาดที่ไม่รู้จัก (รหัสข้อผิดพลาด: {{errorCode}})","error_page.button_try_again":"ลองอีกครั้ง","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"ยอดรวมที่ต้องชำระวันนี้","product_info.subscribe_to":"สมัครสมาชิก","navbar_header.details":"รายละเอียด","navbar_header.back_button":"ย้อนกลับ","pricing_dropdown.show_details":"แสดงรายละเอียด","pricing_dropdown.hide_details":"ซ่อนรายละเอียด","pricing_table.tax":"ภาษี","pricing_table.trial_ends":"หลังจากช่วงทดลองใช้สิ้นสุด ในวันที่ {{formattedTrialEndDate}}","pricing_table.total_due_today":"ยอดรวมที่ต้องชำระวันนี้","pricing_table.total_excluding_tax":"ราคารวมก่อนภาษี","pricing_table.enter_billing_address_to_calculate":"กรุณากรอกที่อยู่สำหรับเรียกเก็บเงินเพื่อคำนวณ","pricing_table.enter_state_or_postal_code_to_calculate":"ใส่รัฐหรือรหัสไปรษณีย์เพื่อคำนวณ","pricing_table.enter_postal_code_to_calculate":"ใส่รหัสไปรษณีย์เพื่อคำนวณ","error_page.error_message_invalid_email_error":"ไม่สามารถยืนยันที่อยู่อีเมล {{email}} ได้ โปรดระบุที่อยู่อีเมลที่ถูกต้อง","payment_entry_page.button_payment_method":"ชำระเงิน {{formattedPrice}} ด้วย {{paymentMethod}}","payment_entry_page.button_with_price":"ชำระเงิน {{formattedPrice}}","price_update.title":"อัปเดตราคา","price_update.base_message":"ราคารวมได้รับการอัปเดตพร้อมภาษีตามที่อยู่สำหรับการเรียกเก็บเงินของคุณ โปรดตรวจสอบและลองอีกครั้ง บัตรของคุณจะถูกเรียกเก็บเงินเพียงครั้งเดียวเท่านั้น","price_update.trial_message":"ราคาการสมัครสมาชิกได้รับการอัปเดตเพื่อรวมภาษีตามที่อยู่สำหรับการเรียกเก็บเงินของคุณ ระยะเวลาทดลองใช้ฟรียังคงมีผล โปรดตรวจสอบและลองอีกครั้ง","payment_entry_page.express_checkout_divider":"หรือชำระด้วยบัตร","error_page.trouble_accessing":"หากคุณมีปัญหาในการเข้าถึงการซื้อ โปรดติดต่อฝ่ายสนับสนุนที่ ","error_page.close_button_title":"ไปที่ {{appName}}","error_page.error_title_stripe_missing_required_permission":"ขาดสิทธิ์ Stripe ที่จำเป็น","error_page.button_close":"ปิด","error_page.error_message_stripe_invalid_tax_origin_address":"การซื้อล้มเหลวเนื่องจากที่อยู่ต้นทางภาษีไม่ถูกต้อง ในสภาพแวดล้อมจริง การซื้อจะทำงานได้โดยไม่มีการเรียกเก็บภาษี","error_page.error_message_stripe_tax_not_active":"การซื้อล้มเหลวเนื่องจากไม่ได้เปิดใช้งาน Stripe Tax ในสภาพแวดล้อมจริง การซื้อจะทำงานได้โดยไม่มีการเรียกเก็บภาษี","error_page.error_only_in_sandbox":"ข้อความนี้จะปรากฏเฉพาะใน sandbox เท่านั้น","error_page.error_message_stripe_missing_required_permission":"การซื้อล้มเหลวเนื่องจากแอป Stripe ขาดสิทธิ์ที่จำเป็น ในสภาพแวดล้อมจริง การซื้อจะทำงานได้โดยไม่มีการเรียกเก็บภาษี","error_page.error_title_stripe_tax_not_active":"Stripe Tax ไม่เปิดใช้งาน","error_page.error_title_stripe_invalid_tax_origin_address":"ที่อยู่ต้นทางภาษีไม่ถูกต้อง","apple_pay.free_trial":"ทดลองใช้ฟรี","product_info.price_after_intro_price":"หลังจาก {{introPriceDuration}} ในวันที่ {{renewalDate}}","product_info.after_trial":"หลังช่วงทดลองใช้","product_info.after":"หลังจาก","product_info.intro_price_phase_after_trial":"จากนั้น {{introPriceDuration}} ในราคา {{introPrice}}","product_info.intro_price_phase":"ช่วงแรก {{introPriceDuration}} ในราคา {{introPrice}}","product_info.intro_price_phase_paid_once":"ชำระครั้งเดียว","payment_entry_page.trial_subscription_terms_info":"หลังจากช่วงทดลองใช้ของคุณสิ้นสุดลง คุณจะถูกเรียกเก็บเงิน {{price}} {{perFrequency}} เริ่มตั้งแต่วันที่ {{renewalDate}} คุณสามารถยกเลิกได้ตลอดเวลาก่อนวันดังกล่าว","payment_entry_page.subscription_info":"การสมัครรับข้อมูลจะต่ออายุโดยอัตโนมัติ ยกเลิกได้ตลอดเวลา","payment_entry_page.otp_terms_info":"เมื่อทำการซื้อ คุณตกลงที่จะอนุญาตให้ {{appName}} เรียกเก็บเงินจากคุณตามข้อกำหนดของพวกเขา","payment_entry_page.terms_link_label":"ข้อกำหนด","payment_entry_page.subscription_terms_info":"เมื่อสมัครรับข้อมูล แสดงว่าคุณยินยอมให้ {{appName}} เรียกเก็บเงินจากคุณตามข้อกำหนดจนกว่าคุณจะยกเลิก","loading_page.keep_page_open":"กระบวนการเกือบเสร็จสมบูรณ์แล้ว โปรดเปิดหน้านี้ไว้","loading_page.processing_payment":"กำลังดำเนินการชำระเงิน","pricing_table.discount":"ส่วนลด","pricing_table.subtotal":"ราคารวมย่อย","pricing_dropdown.add_promo_code":"เพิ่มรหัสโปรโมชั่น","discount_input.label":"รหัสโปรโมชั่น","payment_entry_page.checkout_consent_terms_of_service":"ข้อกำหนดในการให้บริการ","payment_entry_page.checkout_consent_agreement":"ฉันยอมรับ{{termsOfService}}ของ{{appName}}"},ih={"periods.week":"{{amount}} hafta","periods.month":"{{amount}} ay","periods.year":"{{amount}} yıl","periods.day":"{{amount}} gün","periods.weekShort":"{{amount}}hf","periods.monthShort":"{{amount}}ay","periods.yearShort":"{{amount}}yl","periods.dayShort":"{{amount}}g","periods.lifetime":"ömür boyu","periods.weekPlural":"{{amount}} hafta","periods.monthPlural":"{{amount}} ay","periods.yearPlural":"{{amount}} yıl","periods.dayPlural":"{{amount}} gün","periods.weekFrequency":"haftalık","periods.monthFrequency":"aylık","periods.yearFrequency":"yıllık","periods.dayFrequency":"günlük","periods.perWeekFrequency":"haftada","periods.perMonthFrequency":"ayda","periods.perYearFrequency":"yılda","periods.perDayFrequency":"günde","periods.unknownFrequency":"bilinmiyor","periods.weekFrequencyPlural":"her {{amount}} haftada","periods.monthFrequencyPlural":"her {{amount}} ayda","periods.yearFrequencyPlural":"her {{amount}} yılda","periods.dayFrequencyPlural":"her {{amount}} günde","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} ücretsiz deneme","product_info.price_after_free_trial":"Deneme süresi sona erdiğinde, {{renewalDate}} tarihinde","product_info.renewal_frequency":"{{frequency}} sıklığında yenilenir","product_info.continues_until_cancelled":"İptal edilene kadar devam eder","product_info.cancel_anytime":"İstediğiniz zaman iptal edebilirsiniz","payment_entry_page.payment_step_title":"RevenueCat ile güvenli ödeme","payment_entry_page.button_pay":"Şimdi öde","payment_entry_page.button_start_trial":"Denemeyi başlat","success_page.purchase_successful":"Ödeme tamamlandı","success_page.button_close":"Devam et","error_page.if_error_persists":"Hata devam ederse lütfen iletişime geçin ","error_page.error_title_already_subscribed":"{{productTitle}} ürününe zaten abone oldunuz","error_page.error_title_already_purchased":"{{productTitle}} ürününü zaten satın aldınız","error_page.error_title_other_errors":"Bir şeyler ters gitti","error_page.error_message_already_subscribed":"Bu ürüne tekrar abone olamazsınız.","error_page.error_message_already_purchased":"Bu ürünü tekrar satın alamazsınız.","error_page.error_message_missing_email_error":"Satın almayı tamamlamak için e-posta gereklidir.","error_page.error_message_network_error":"Ağ hatası. Lütfen internet bağlantınızı kontrol edin.","error_page.error_message_error_charging_payment":"Ödeme başarısız oldu.","error_page.error_message_error_setting_up_purchase":"Bir hata nedeniyle satın alma başlatılamadı (hata kodu: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Fatura adresinizi doğrulayamadık. Lütfen posta kodu ve ülkenin doğru olduğunu kontrol edin.","error_page.error_message_unknown_error":"Bilinmeyen bir hata oluştu (hata kodu: {{errorCode}}).","error_page.button_try_again":"Tekrar dene","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Bugün ödenecek toplam tutar","product_info.subscribe_to":"Abone Ol","navbar_header.details":"Detaylar","navbar_header.back_button":"Geri","pricing_dropdown.show_details":"Detayları göster","pricing_dropdown.hide_details":"Detayları gizle","pricing_table.tax":"Vergi","pricing_table.trial_ends":"Deneme süresi sona erdikten sonra, {{formattedTrialEndDate}} tarihinde","pricing_table.total_due_today":"Bugün ödenecek toplam","pricing_table.total_excluding_tax":"Vergi hariç toplam","pricing_table.enter_billing_address_to_calculate":"Hesaplamak için fatura adresini girin","pricing_table.enter_state_or_postal_code_to_calculate":"Hesaplamak için eyalet veya posta kodunu girin","pricing_table.enter_postal_code_to_calculate":"Hesaplamak için posta kodunu girin","error_page.error_message_invalid_email_error":"{{email}} e-posta adresi doğrulanamadı. Lütfen geçerli bir e-posta adresi girin.","payment_entry_page.button_payment_method":"{{paymentMethod}} ile {{formattedPrice}} öde","payment_entry_page.button_with_price":"{{formattedPrice}} öde","price_update.title":"Fiyat güncellemesi","price_update.base_message":"Toplam fiyat, fatura adresinize göre vergi dahil olacak şekilde güncellendi. Lütfen inceleyip tekrar deneyin. Kartınızdan yalnızca bir kez ücret alınacaktır.","price_update.trial_message":"Abonelik fiyatı, fatura adresinize göre vergileri içerecek şekilde güncellendi. Ücretsiz deneme süresi hala geçerli. Lütfen kontrol edin ve tekrar deneyin.","payment_entry_page.express_checkout_divider":"VEYA KARTLA ÖDEYİN","error_page.trouble_accessing":"Satın alımınıza erişmekte sorun yaşıyorsanız, şu adresten destek ekibine ulaşın: ","error_page.close_button_title":"{{appName}}'e Git","error_page.error_title_stripe_missing_required_permission":"Eksik Stripe izni","error_page.button_close":"Kapat","error_page.error_message_stripe_invalid_tax_origin_address":"Vergi başlangıç adresi geçersiz olduğu için satın alma başarısız oldu. Üretimde, satın alımlar vergi uygulanmadan çalışacaktır.","error_page.error_message_stripe_tax_not_active":"Stripe Vergi etkinleştirilmediği için satın alma başarısız oldu. Üretimde, satın alımlar vergi uygulanmadan çalışacaktır.","error_page.error_only_in_sandbox":"Bu mesaj yalnızca sanal ortamda görünür.","error_page.error_message_stripe_missing_required_permission":"Stripe uygulamasında gerekli bir izin eksik olduğu için satın alma başarısız oldu. Üretimde, satın alımlar vergi uygulanmadan çalışacaktır.","error_page.error_title_stripe_tax_not_active":"Stripe Vergi aktif değil","error_page.error_title_stripe_invalid_tax_origin_address":"Geçersiz vergi başlangıç adresi","apple_pay.free_trial":"Ücretsiz Deneme","product_info.price_after_intro_price":"{{introPriceDuration}} sonra, {{renewalDate}} tarihinde","product_info.after_trial":"deneme süresinden sonra","product_info.after":"sonra","product_info.intro_price_phase_after_trial":"Sonra {{introPriceDuration}} boyunca {{introPrice}}","product_info.intro_price_phase":"İlk {{introPriceDuration}} boyunca {{introPrice}}","product_info.intro_price_phase_paid_once":"bir defaya mahsus ödenir","payment_entry_page.trial_subscription_terms_info":"Deneme süreniz sona erdikten sonra, {{renewalDate}} tarihinden itibaren {{price}} {{perFrequency}} ücretlendirileceksiniz. Bu tarihten önce istediğiniz zaman iptal edebilirsiniz.","payment_entry_page.subscription_info":"Abonelik otomatik olarak yenilenir. İstediğiniz zaman iptal edin.","payment_entry_page.otp_terms_info":"Satın alarak, {{appName}}'in sizi şartlarına göre ücretlendirmesine izin vermeyi kabul edersiniz.","payment_entry_page.terms_link_label":"Koşullar","payment_entry_page.subscription_terms_info":"Abone olarak, iptal edene kadar {{appName}}'in sizi şartlarına göre ücretlendirmesine izin vermeyi kabul edersiniz.","loading_page.keep_page_open":"İşlem neredeyse tamamlandı. Bu sayfayı açık tutun.","loading_page.processing_payment":"Ödeme işleniyor","pricing_table.discount":"İndirim","pricing_table.subtotal":"Ara Toplam","pricing_dropdown.add_promo_code":"kupon kodu ekle","discount_input.label":"Promosyon kodu","payment_entry_page.checkout_consent_terms_of_service":"hizmet şartları","payment_entry_page.checkout_consent_agreement":"{{appName}} {{termsOfService}}'ni kabul ediyorum."},sh={"periods.week":"{{amount}} тиждень","periods.month":"{{amount}} місяць","periods.year":"{{amount}} рік","periods.day":"{{amount}} день","periods.weekShort":"{{amount}}тиж","periods.monthShort":"{{amount}}міс","periods.yearShort":"{{amount}}рік","periods.dayShort":"{{amount}}дн","periods.lifetime":"пожиттєво","periods.weekPlural":"{{amount}} тижнів","periods.monthPlural":"{{amount}} місяців","periods.yearPlural":"{{amount}} років","periods.dayPlural":"{{amount}} днів","periods.weekFrequency":"щотижня","periods.monthFrequency":"щомісяця","periods.yearFrequency":"щороку","periods.dayFrequency":"щодня","periods.perWeekFrequency":"на тиждень","periods.perMonthFrequency":"на місяць","periods.perYearFrequency":"на рік","periods.perDayFrequency":"на день","periods.unknownFrequency":"невідомо","periods.weekFrequencyPlural":"кожні {{amount}} тижнів","periods.monthFrequencyPlural":"кожні {{amount}} місяців","periods.yearFrequencyPlural":"кожні {{amount}} років","periods.dayFrequencyPlural":"кожні {{amount}} днів","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} безкоштовний пробний період","product_info.price_after_free_trial":"Після закінчення пробного періоду, {{renewalDate}}","product_info.renewal_frequency":"Продовжується {{frequency}}","product_info.continues_until_cancelled":"Триває до скасування","product_info.cancel_anytime":"Можна скасувати в будь-який час","payment_entry_page.payment_step_title":"Безпечна оплата через RevenueCat","payment_entry_page.button_pay":"Оплатити зараз","payment_entry_page.button_start_trial":"Розпочати пробний період","success_page.purchase_successful":"Оплата завершена","success_page.button_close":"Продовжити","error_page.if_error_persists":"Якщо помилка повторюється, зверніться до ","error_page.error_title_already_subscribed":"Ви вже підписалися на {{productTitle}}","error_page.error_title_already_purchased":"Ви вже придбали {{productTitle}}","error_page.error_title_other_errors":"Щось пішло не так","error_page.error_message_already_subscribed":"Ви не можете підписатися на цей продукт знову.","error_page.error_message_already_purchased":"Ви не можете придбати цей продукт знову.","error_page.error_message_missing_email_error":"Для завершення покупки потрібна електронна пошта.","error_page.error_message_network_error":"Помилка мережі. Перевірте підключення до інтернету.","error_page.error_message_error_charging_payment":"Оплата не пройшла.","error_page.error_message_error_setting_up_purchase":"Помилка при ініціалізації покупки (код помилки: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Ми не змогли перевірити вашу платіжну адресу. Будь ласка, перевірте, чи правильні поштовий індекс та країна.","error_page.error_message_unknown_error":"Сталася невідома помилка (код помилки: {{errorCode}}).","error_page.button_try_again":"Спробувати ще раз","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Всього до сплати сьогодні","product_info.subscribe_to":"Підписатися на","navbar_header.details":"Деталі","navbar_header.back_button":"Назад","pricing_dropdown.show_details":"Показати деталі","pricing_dropdown.hide_details":"Приховати деталі","pricing_table.tax":"Податок","pricing_table.trial_ends":"Після закінчення пробного періоду, {{formattedTrialEndDate}}","pricing_table.total_due_today":"Загальна сума до сплати сьогодні","pricing_table.total_excluding_tax":"Загальна сума без урахування податку","pricing_table.enter_billing_address_to_calculate":"Введіть адресу виставлення рахунку для розрахунку","pricing_table.enter_state_or_postal_code_to_calculate":"Введіть штат або поштовий індекс для розрахунку","pricing_table.enter_postal_code_to_calculate":"Введіть поштовий індекс для розрахунку","error_page.error_message_invalid_email_error":"Електронну адресу {{email}} не вдалося підтвердити. Будь ласка, вкажіть дійсну електронну адресу.","payment_entry_page.button_payment_method":"Сплатити {{formattedPrice}} за допомогою {{paymentMethod}}","payment_entry_page.button_with_price":"Сплатити {{formattedPrice}}","price_update.title":"Оновлення ціни","price_update.base_message":"Загальну ціну було оновлено з урахуванням податку на основі вашої платіжної адреси. Перегляньте та спробуйте ще раз. З вашої картки буде списано кошти лише один раз.","price_update.trial_message":"Ціна підписки була оновлена для включення податків на основі вашої платіжної адреси. Безкоштовний пробний період все ще діє. Будь ласка, перевірте та спробуйте ще раз.","payment_entry_page.express_checkout_divider":"АБО СПЛАТІТЬ КАРТКОЮ","error_page.trouble_accessing":"Якщо у вас виникли проблеми з доступом до вашої покупки, зверніться до служби підтримки за адресою ","error_page.close_button_title":"Перейти до {{appName}}","error_page.error_title_stripe_missing_required_permission":"Відсутній дозвіл Stripe","error_page.button_close":"Закрити","error_page.error_message_stripe_invalid_tax_origin_address":"Покупка не вдалася, оскільки адреса походження податку недійсна. У виробництві покупки працюватимуть без застосування податків.","error_page.error_message_stripe_tax_not_active":"Покупка не вдалася, оскільки Stripe Tax не ввімкнено. У виробництві покупки працюватимуть без застосування податків.","error_page.error_only_in_sandbox":"Це повідомлення з’являється лише в пісочниці.","error_page.error_message_stripe_missing_required_permission":"Покупка не вдалася, оскільки програмі Stripe не вистачає необхідного дозволу. У виробництві покупки працюватимуть без застосування податків.","error_page.error_title_stripe_tax_not_active":"Stripe Tax не активовано","error_page.error_title_stripe_invalid_tax_origin_address":"Недійсна адреса походження податку","apple_pay.free_trial":"Безкоштовна пробна версія","product_info.price_after_intro_price":"Після {{introPriceDuration}}, {{renewalDate}}","product_info.after_trial":"після пробного періоду","product_info.after":"після","product_info.intro_price_phase_after_trial":"Потім {{introPriceDuration}} за {{introPrice}}","product_info.intro_price_phase":"Спочатку {{introPriceDuration}} за {{introPrice}}","product_info.intro_price_phase_paid_once":"сплачено один раз","payment_entry_page.trial_subscription_terms_info":"Після закінчення пробного періоду з вас буде стягуватися плата в розмірі {{price}} {{perFrequency}} починаючи з {{renewalDate}}. Ви можете скасувати підписку в будь-який час до цієї дати.","payment_entry_page.subscription_info":"Підписка поновлюється автоматично. Скасувати можна в будь-який час.","payment_entry_page.otp_terms_info":"Купуючи, ви погоджуєтеся дозволити {{appName}} стягувати з вас плату відповідно до їхніх умов.","payment_entry_page.terms_link_label":"Умови","payment_entry_page.subscription_terms_info":"Підписуючись, ви погоджуєтеся дозволити {{appName}} стягувати з вас плату відповідно до їхніх умов, поки ви не скасуєте підписку.","loading_page.keep_page_open":"Процес майже завершено. Залиште цю сторінку відкритою.","loading_page.processing_payment":"Обробка платежу","pricing_table.discount":"Знижка","pricing_table.subtotal":"Сума до сплати","pricing_dropdown.add_promo_code":"Додати промокод","discount_input.label":"Промокод","payment_entry_page.checkout_consent_terms_of_service":"умовами надання послуг","payment_entry_page.checkout_consent_agreement":"Я погоджуюся з {{appName}} {{termsOfService}}."},lh={"periods.week":"{{amount}} tuần","periods.month":"{{amount}} tháng","periods.year":"{{amount}} năm","periods.day":"{{amount}} ngày","periods.weekShort":"{{amount}}tuần","periods.monthShort":"{{amount}}tháng","periods.yearShort":"{{amount}}năm","periods.dayShort":"{{amount}}ngày","periods.lifetime":"trọn đời","periods.weekPlural":"{{amount}} tuần","periods.monthPlural":"{{amount}} tháng","periods.yearPlural":"{{amount}} năm","periods.dayPlural":"{{amount}} ngày","periods.weekFrequency":"hàng tuần","periods.monthFrequency":"hàng tháng","periods.yearFrequency":"hàng năm","periods.dayFrequency":"hàng ngày","periods.perWeekFrequency":"mỗi tuần","periods.perMonthFrequency":"mỗi tháng","periods.perYearFrequency":"mỗi năm","periods.perDayFrequency":"mỗi ngày","periods.unknownFrequency":"không xác định","periods.weekFrequencyPlural":"cứ {{amount}} tuần","periods.monthFrequencyPlural":"cứ {{amount}} tháng","periods.yearFrequencyPlural":"cứ {{amount}} năm","periods.dayFrequencyPlural":"cứ {{amount}} ngày","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} dùng thử miễn phí","product_info.price_after_free_trial":"Sau khi dùng thử kết thúc, vào {{renewalDate}}","product_info.renewal_frequency":"Gia hạn {{frequency}}","product_info.continues_until_cancelled":"Tiếp tục cho đến khi hủy","product_info.cancel_anytime":"Hủy bất cứ lúc nào","payment_entry_page.payment_step_title":"Thanh toán an toàn bởi RevenueCat","payment_entry_page.button_pay":"Thanh toán ngay","payment_entry_page.button_start_trial":"Bắt đầu dùng thử","success_page.purchase_successful":"Thanh toán hoàn tất","success_page.button_close":"Tiếp tục","error_page.if_error_persists":"Nếu lỗi vẫn tiếp diễn, vui lòng liên hệ ","error_page.error_title_already_subscribed":"Bạn đã đăng ký {{productTitle}} rồi","error_page.error_title_already_purchased":"Bạn đã mua {{productTitle}} rồi","error_page.error_title_other_errors":"Có lỗi xảy ra","error_page.error_message_already_subscribed":"Bạn không thể đăng ký sản phẩm này lần nữa.","error_page.error_message_already_purchased":"Bạn không thể mua sản phẩm này lần nữa.","error_page.error_message_missing_email_error":"Email bắt buộc để hoàn tất việc mua hàng.","error_page.error_message_network_error":"Lỗi mạng. Vui lòng kiểm tra kết nối internet của bạn.","error_page.error_message_error_charging_payment":"Thanh toán thất bại.","error_page.error_message_error_setting_up_purchase":"Không thể bắt đầu mua do lỗi (mã lỗi: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Chúng tôi không thể xác minh địa chỉ thanh toán của bạn. Vui lòng kiểm tra lại mã bưu điện và quốc gia.","error_page.error_message_unknown_error":"Đã xảy ra lỗi không xác định (mã lỗi: {{errorCode}}).","error_page.button_try_again":"Thử lại","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Tổng số tiền phải trả hôm nay","product_info.subscribe_to":"Đăng ký","navbar_header.details":"Chi tiết","navbar_header.back_button":"Quay lại","pricing_dropdown.show_details":"Xem chi tiết","pricing_dropdown.hide_details":"Ẩn chi tiết","pricing_table.tax":"Thuế","pricing_table.trial_ends":"Sau khi thời gian dùng thử kết thúc, vào {{formattedTrialEndDate}}","pricing_table.total_due_today":"Tổng số tiền phải trả hôm nay","pricing_table.total_excluding_tax":"Tổng cộng chưa bao gồm thuế","pricing_table.enter_billing_address_to_calculate":"Nhập địa chỉ thanh toán để tính toán","pricing_table.enter_state_or_postal_code_to_calculate":"Nhập tiểu bang hoặc mã bưu điện để tính toán","pricing_table.enter_postal_code_to_calculate":"Nhập mã bưu điện để tính toán","error_page.error_message_invalid_email_error":"Không thể xác minh địa chỉ email {{email}}. Vui lòng cung cấp một địa chỉ email hợp lệ.","payment_entry_page.button_payment_method":"Thanh toán {{formattedPrice}} bằng {{paymentMethod}}","payment_entry_page.button_with_price":"Thanh toán {{formattedPrice}}","price_update.title":"Cập nhật giá","price_update.base_message":"Tổng giá đã được cập nhật với thuế dựa trên địa chỉ thanh toán của bạn. Vui lòng xem lại và thử lại. Thẻ của bạn sẽ chỉ bị tính phí một lần.","price_update.trial_message":"Giá đăng ký đã được cập nhật để bao gồm thuế dựa trên địa chỉ thanh toán của bạn. Thời gian dùng thử miễn phí vẫn được áp dụng. Vui lòng kiểm tra và thử lại.","payment_entry_page.express_checkout_divider":"HOẶC THANH TOÁN BẰNG THẺ","error_page.trouble_accessing":"Nếu bạn gặp sự cố khi truy cập giao dịch mua của mình, hãy liên hệ với bộ phận hỗ trợ theo địa chỉ ","error_page.close_button_title":"Đi đến {{appName}}","error_page.error_title_stripe_missing_required_permission":"Thiếu quyền Stripe","error_page.button_close":"Đóng","error_page.error_message_stripe_invalid_tax_origin_address":"Giao dịch mua không thành công vì địa chỉ gốc thuế không hợp lệ. Trong môi trường thực tế, giao dịch mua sẽ hoạt động mà không áp dụng thuế.","error_page.error_message_stripe_tax_not_active":"Giao dịch mua không thành công vì Thuế Stripe chưa được bật. Trong môi trường thực tế, giao dịch mua sẽ hoạt động mà không áp dụng thuế.","error_page.error_only_in_sandbox":"Thông báo này chỉ xuất hiện trong môi trường thử nghiệm.","error_page.error_message_stripe_missing_required_permission":"Giao dịch mua không thành công vì ứng dụng Stripe thiếu một quyền cần thiết. Trong môi trường thực tế, giao dịch mua sẽ hoạt động mà không áp dụng thuế.","error_page.error_title_stripe_tax_not_active":"Thuế Stripe chưa hoạt động","error_page.error_title_stripe_invalid_tax_origin_address":"Địa chỉ gốc thuế không hợp lệ","apple_pay.free_trial":"Dùng thử miễn phí","product_info.price_after_intro_price":"Sau {{introPriceDuration}}, vào {{renewalDate}}","product_info.after_trial":"sau khi dùng thử","product_info.after":"sau","product_info.intro_price_phase_after_trial":"Sau đó {{introPriceDuration}} với giá {{introPrice}}","product_info.intro_price_phase":"{{introPriceDuration}} đầu tiên với giá {{introPrice}}","product_info.intro_price_phase_paid_once":"trả một lần","payment_entry_page.trial_subscription_terms_info":"Sau khi thời gian dùng thử của bạn kết thúc, bạn sẽ bị tính phí {{price}} {{perFrequency}} bắt đầu từ {{renewalDate}}. Bạn có thể hủy bất cứ lúc nào trước ngày này.","payment_entry_page.subscription_info":"Gói đăng ký tự động gia hạn. Hủy bất cứ lúc nào.","payment_entry_page.otp_terms_info":"Bằng cách mua, bạn đồng ý cho phép {{appName}} tính phí bạn theo các điều khoản của họ.","payment_entry_page.terms_link_label":"Điều khoản","payment_entry_page.subscription_terms_info":"Bằng cách đăng ký, bạn đồng ý cho phép {{appName}} tính phí bạn theo các điều khoản của họ cho đến khi bạn hủy.","loading_page.keep_page_open":"Quá trình gần hoàn tất. Vui lòng giữ trang này mở.","loading_page.processing_payment":"Đang xử lý thanh toán","pricing_table.discount":"Giảm giá","pricing_table.subtotal":"Tổng cộng","pricing_dropdown.add_promo_code":"Thêm mã khuyến mãi","discount_input.label":"Mã khuyến mãi","payment_entry_page.checkout_consent_terms_of_service":"điều khoản dịch vụ","payment_entry_page.checkout_consent_agreement":"Tôi đồng ý với {{termsOfService}} của {{appName}}."};var de=(r=>(r.PeriodsWeek="periods.week",r.PeriodsMonth="periods.month",r.PeriodsYear="periods.year",r.PeriodsDay="periods.day",r.PeriodsWeekShort="periods.weekShort",r.PeriodsMonthShort="periods.monthShort",r.PeriodsYearShort="periods.yearShort",r.PeriodsDayShort="periods.dayShort",r.PeriodsLifetime="periods.lifetime",r.PeriodsWeekPlural="periods.weekPlural",r.PeriodsMonthPlural="periods.monthPlural",r.PeriodsYearPlural="periods.yearPlural",r.PeriodsDayPlural="periods.dayPlural",r.PeriodsWeekFrequency="periods.weekFrequency",r.PeriodsMonthFrequency="periods.monthFrequency",r.PeriodsYearFrequency="periods.yearFrequency",r.PeriodsDayFrequency="periods.dayFrequency",r.PeriodsPerWeekFrequency="periods.perWeekFrequency",r.PeriodsPerMonthFrequency="periods.perMonthFrequency",r.PeriodsPerYearFrequency="periods.perYearFrequency",r.PeriodsPerDayFrequency="periods.perDayFrequency",r.PeriodsUnknownFrequency="periods.unknownFrequency",r.PeriodsWeekFrequencyPlural="periods.weekFrequencyPlural",r.PeriodsMonthFrequencyPlural="periods.monthFrequencyPlural",r.PeriodsYearFrequencyPlural="periods.yearFrequencyPlural",r.PeriodsDayFrequencyPlural="periods.dayFrequencyPlural",r.ProductInfoProductTitle="product_info.product_title",r.ProductInfoProductDescription="product_info.product_description",r.ProductInfoProductPrice="product_info.product_price",r.ProductInfoFreeTrialDuration="product_info.free_trial_duration",r.ProductInfoPriceAfterFreeTrial="product_info.price_after_free_trial",r.ProductInfoIntroPricePhaseAfterTrial="product_info.intro_price_phase_after_trial",r.ProductInfoIntroPricePhasePaidOnce="product_info.intro_price_phase_paid_once",r.ProductInfoIntroPricePhase="product_info.intro_price_phase",r.ProductInfoPriceAfterIntroPrice="product_info.price_after_intro_price",r.ProductInfoAfterTrial="product_info.after_trial",r.ProductInfoAfter="product_info.after",r.ProductInfoPriceTotalDueToday="product_info.total_due_today",r.ProductInfoSubscribeTo="product_info.subscribe_to",r.ProductInfoRenewalFrequency="product_info.renewal_frequency",r.ProductInfoContinuesUntilCancelled="product_info.continues_until_cancelled",r.ProductInfoCancelAnytime="product_info.cancel_anytime",r.PaymentEntryPagePaymentStepTitle="payment_entry_page.payment_step_title",r.PaymentEntryPageTrialSubscriptionTermsInfo="payment_entry_page.trial_subscription_terms_info",r.PaymentEntryPageSubscriptionTermsInfo="payment_entry_page.subscription_terms_info",r.PaymentEntryPageOtpTermsInfo="payment_entry_page.otp_terms_info",r.PaymentEntryPageTermsLinkLabel="payment_entry_page.terms_link_label",r.PaymentEntryPageCheckoutConsentAgreement="payment_entry_page.checkout_consent_agreement",r.PaymentEntryPageCheckoutConsentTermsOfService="payment_entry_page.checkout_consent_terms_of_service",r.PaymentEntryPageSubscriptionInfo="payment_entry_page.subscription_info",r.PaymentEntryPageButtonPay="payment_entry_page.button_pay",r.PaymentEntryPageButtonStartTrial="payment_entry_page.button_start_trial",r.PaymentEntryPageButtonWithPrice="payment_entry_page.button_with_price",r.PaymentEntryPageButtonPaymentMethod="payment_entry_page.button_payment_method",r.PaymentEntryPageExpressCheckoutDivider="payment_entry_page.express_checkout_divider",r.SuccessPagePurchaseSuccessful="success_page.purchase_successful",r.SuccessPageButtonClose="success_page.button_close",r.LoadingPageProcessingPayment="loading_page.processing_payment",r.LoadingPageKeepPageOpen="loading_page.keep_page_open",r.ErrorPageCloseButtonTitle="error_page.close_button_title",r.ErrorPageIfErrorPersists="error_page.if_error_persists",r.ErrorPageTroubleAccessing="error_page.trouble_accessing",r.ErrorPageErrorTitleAlreadySubscribed="error_page.error_title_already_subscribed",r.ErrorPageErrorTitleAlreadyPurchased="error_page.error_title_already_purchased",r.ErrorPageErrorTitleOtherErrors="error_page.error_title_other_errors",r.ErrorPageErrorTitleStripeTaxNotActive="error_page.error_title_stripe_tax_not_active",r.ErrorPageErrorTitleStripeInvalidTaxOriginAddress="error_page.error_title_stripe_invalid_tax_origin_address",r.ErrorPageErrorTitleStripeMissingRequiredPermission="error_page.error_title_stripe_missing_required_permission",r.ErrorPageErrorMessageAlreadySubscribed="error_page.error_message_already_subscribed",r.ErrorPageErrorMessageAlreadyPurchased="error_page.error_message_already_purchased",r.ErrorPageErrorMessageMissingEmailError="error_page.error_message_missing_email_error",r.ErrorPageErrorMessageInvalidEmailError="error_page.error_message_invalid_email_error",r.ErrorPageErrorMessageNetworkError="error_page.error_message_network_error",r.ErrorPageErrorMessageErrorChargingPayment="error_page.error_message_error_charging_payment",r.ErrorPageErrorMessageErrorSettingUpPurchase="error_page.error_message_error_setting_up_purchase",r.ErrorPageErrorMessageUnknownError="error_page.error_message_unknown_error",r.ErrorPageErrorMessageInvalidTaxLocation="error_page.error_message_invalid_tax_location",r.ErrorPageErrorMessageStripeTaxNotActive="error_page.error_message_stripe_tax_not_active",r.ErrorPageErrorMessageStripeInvalidTaxOriginAddress="error_page.error_message_stripe_invalid_tax_origin_address",r.ErrorPageErrorMessageStripeMissingRequiredPermission="error_page.error_message_stripe_missing_required_permission",r.ErrorPageErrorMessageOnlyInSandbox="error_page.error_only_in_sandbox",r.ErrorButtonTryAgain="error_page.button_try_again",r.ErrorButtonClose="error_page.button_close",r.PaywallVariablesPricePerPeriod="paywall_variables.price_per_period",r.PaywallVariablesSubRelativeDiscount="paywall_variables.sub_relative_discount",r.PaywallVariablesTotalPriceAndPerMonth="paywall_variables.total_price_and_per_month",r.PricingDropdownShowDetails="pricing_dropdown.show_details",r.PricingDropdownHideDetails="pricing_dropdown.hide_details",r.PricingDropdownAddPromoCode="pricing_dropdown.add_promo_code",r.DiscountInputLabel="discount_input.label",r.PricingTotalExcludingTax="pricing_table.total_excluding_tax",r.PricingTableTrialEnds="pricing_table.trial_ends",r.PricingTableTotalDueToday="pricing_table.total_due_today",r.PricingTableSubtotal="pricing_table.subtotal",r.PricingTableDiscount="pricing_table.discount",r.PricingTableTax="pricing_table.tax",r.PricingTableEnterBillingAddressToCalculate="pricing_table.enter_billing_address_to_calculate",r.PricingTableEnterStateOrPostalCodeToCalculate="pricing_table.enter_state_or_postal_code_to_calculate",r.PricingTableEnterPostalCodeToCalculate="pricing_table.enter_postal_code_to_calculate",r.NavbarHeaderDetails="navbar_header.details",r.NavbarBackButton="navbar_header.back_button",r.PriceUpdateTitle="price_update.title",r.PriceUpdateBaseMessage="price_update.base_message",r.PriceUpdateTrialMessage="price_update.trial_message",r.ApplePayFreeTrial="apple_pay.free_trial",r))(de||{});const ch={en:Tm,es:Dm,it:Am,ar:Fm,ca:zm,zh_Hans:Mm,zh_Hant:qm,hr:Om,cs:Lm,da:Nm,nl:jm,fi:Bm,fr:Rm,de:Um,el:Vm,he:Hm,hi:Wm,hu:Ym,id:Gm,ja:Km,ko:Xm,ms:Zm,no:Jm,pl:Qm,pt:$m,ro:eh,ru:rh,sk:th,sl:nh,sv:ah,th:oh,tr:ih,uk:sh,vi:lh};var fr=(r=>(r.Year="year",r.Month="month",r.Week="week",r.Day="day",r))(fr||{});function Do(r){const e=r.match(/^PT?([0-9]+)([MDYW])$/);if(!e||e.length<3)return Pe.errorLog(`Invalid ISO 8601 duration format: ${r}`),null;const t=parseInt(e[1]);switch(e[2]){case"Y":return{number:t,unit:"year"};case"M":return{number:t,unit:"month"};case"W":return{number:t,unit:"week"};case"D":return{number:t,unit:"day"};default:return Pe.errorLog(`Invalid ISO 8601 unit duration format: ${r}`),null}}function Ao(r,e,t){if(!t)return null;let n=new Date(r);switch(e.unit){case"year":n.getDate()===29&&n.getMonth()===1&&e.number!==4?n.setFullYear(n.getFullYear()+e.number,n.getMonth(),28):n.setFullYear(n.getFullYear()+e.number,n.getMonth(),n.getDate());break;case"month":n.setMonth(n.getMonth()+e.number,n.getDate()),n.getDate()!==r.getDate()&&(n=new Date(r),n.setMonth(n.getMonth()+e.number+1,0));break;case"week":n.setDate(n.getDate()+e.number*7);break;case"day":n.setDate(n.getDate()+e.number);break}return n}const _a=r=>{if(!r)return r;const e=r.replace(/_/g,"-");try{const[n]=Intl.getCanonicalLocales(e);if(n)return n}catch{}const t=e.split("-")[0];try{const[n]=Intl.getCanonicalLocales(t);if(n)return n}catch{}return t},uh=r=>r/1e6,pd=new Map;function dh(r){const e=pd.get(r);if(e!==void 0)return e;let t;try{t=new Intl.NumberFormat("en",{style:"currency",currency:r}).resolvedOptions().maximumFractionDigits??2}catch{t=2}return pd.set(r,t),t}function Ti(r,e){const n=10**(6-dh(e)),a=Math.round(r/n*1e9)/1e9;return Math.floor(a)*n}const bn=(r,e,t,n={})=>{const a=uh(r),i={style:"currency",currency:e,currencyDisplay:"symbol",...n,minimumFractionDigits:n.maximumFractionDigits};return new Intl.NumberFormat(_a(t),i).format(a).replace("US$","$")},ph=(r,e)=>{const t=Do(r);return t?e.translatePeriod(t.number,t.unit)||`${t.number} ${t.unit}s`:r},_h=r=>{try{return r.charAt(0).toUpperCase()+r.slice(1)}catch{return r}},Ha={noWhitespace:!1,short:!1},_d={useMultipleWords:!1};class kn{constructor(e={},t=Hr,n=Hr){ee(this,"locales",{});this.selectedLocale=t,this.defaultLocale=n;const a={};Object.entries(ch).forEach(([i,s])=>{a[i]=new gd(s,i)}),this.locales=a,e&&this.override(e)}static fallback(){return new kn}override(e){Object.entries(e).forEach(([t,n])=>{this.locales[t]=new gd({...this.locales[t].labels||{},...n},this.getLanguageCodeString(t))})}formatPrice(e,t){const n={currencyDisplay:"narrowSymbol"};e===0&&(n.maximumFractionDigits=0);try{return bn(e,t,this.bcp47Locale,n)}catch{Pe.errorLog(`Failed to create a price formatter for locale: ${this.bcp47Locale}`)}try{return bn(e,t,this.fallbackBcp47Locale,n)}catch{Pe.errorLog(`Failed to create a price formatter for locale: ${this.fallbackBcp47Locale}`)}return bn(e,t,Hr,n)}get bcp47Locale(){var e;return _a((e=this.getLocaleInstance(this.selectedLocale))==null?void 0:e.localeKey)||_a(this.getLanguageCodeString(this.selectedLocale))||Hr}get fallbackBcp47Locale(){var e;return _a((e=this.getLocaleInstance(this.defaultLocale))==null?void 0:e.localeKey)||_a(this.getLanguageCodeString(this.defaultLocale))||Hr}getLanguageCodeString(e){return e.split("_")[0].split("-")[0]}getLocaleInstance(e){const t=this.getLanguageCodeString(e);return this.locales[e]||this.locales[t]}translate(e,t){const n=this.getLocaleInstance(this.selectedLocale),a=this.getLocaleInstance(this.defaultLocale);return(n==null?void 0:n.translate(e,t))||(a==null?void 0:a.translate(e,t))||""}formatCountry(e){return new Intl.DisplayNames([this.bcp47Locale],{type:"region"}).of(e)||e}translatePeriod(e,t,n=Ha){const a=this.getLocaleInstance(this.selectedLocale),i=this.getLocaleInstance(this.defaultLocale);return(a==null?void 0:a.translatePeriod(e,t,n))||(i==null?void 0:i.translatePeriod(e,t,n))}translatePeriodUnit(e,t=Ha){const n=this.getLocaleInstance(this.selectedLocale),a=this.getLocaleInstance(this.defaultLocale);return(n==null?void 0:n.translatePeriodUnit(e,t))||(a==null?void 0:a.translatePeriodUnit(e,t))}translatePeriodFrequency(e,t,n=_d){const a=this.getLocaleInstance(this.selectedLocale),i=this.getLocaleInstance(this.defaultLocale);return(a==null?void 0:a.translatePeriodFrequency(e,t,n))||(i==null?void 0:i.translatePeriodFrequency(e,t,n))}translateDate(e,t={}){const n=this.getLocaleInstance(this.selectedLocale),a=this.getLocaleInstance(this.defaultLocale);return(n==null?void 0:n.translateDate(e,t))||(a==null?void 0:a.translateDate(e,t))}}class gd{constructor(e={},t){this.labels=e,this.localeKey=t}replaceVariables(e,t){return Object.entries(t).reduce((n,[a,i])=>n.replace(`{{${a}}}`,`${i??""}`),e)}translate(e,t){const n=this.labels[e];if(n)return this.replaceVariables(n,t||{})}translatePeriod(e,t,n=Ha){var c;const{noWhitespace:a,short:i}={...Ha,...n},s=i?`periods.${t}Short`:Math.abs(e)===1?`periods.${t}`:`periods.${t}Plural`;return(c=this.translate(s,{amount:e.toString()}))==null?void 0:c.replace(" ",a?"":" ")}translatePeriodUnit(e,t=Ha){var s;const{noWhitespace:n,short:a}={...Ha,...t},i=`periods.${e}${a?"Short":""}`;return(s=this.translate(i,{amount:""}))==null?void 0:s.replace(" ",n?"":" ")}translatePeriodFrequency(e,t,n=_d){const a=n==null?void 0:n.useMultipleWords,i=Math.abs(e)===1?`periods.${a===!0?"per":""}${a?_h(t.toString()):t}Frequency`:`periods.${t}FrequencyPlural`;return this.translate(i,{amount:e.toString()})}translateDate(e,t={}){return e.toLocaleDateString(_a(this.localeKey),t)}}function gh(r){return r!=null}const il=7,fd=30,sl=365,ll=12,cl=sl/il,md=cl/ll;function ul(r){const e=r.number>0?1/r.number:0;switch(r.unit){case fr.Day:return{perDay:e,perWeek:il*e,perMonth:fd*e,perYear:sl*e};case fr.Week:return{perDay:e/il,perWeek:e,perMonth:md*e,perYear:cl*e};case fr.Month:return{perDay:e/fd,perWeek:e/md,perMonth:e,perYear:ll*e};case fr.Year:return{perDay:e/sl,perWeek:e/cl,perMonth:e/ll,perYear:e};default:return Pe.errorLog(`Unknown period unit: ${r.unit}`),{perDay:0,perWeek:0,perMonth:0,perYear:0}}}var hd=(r=>(r.Unknown="unknown",r.Custom="custom",r.Lifetime="$rc_lifetime",r.Annual="$rc_annual",r.SixMonth="$rc_six_month",r.ThreeMonth="$rc_three_month",r.TwoMonth="$rc_two_month",r.Monthly="$rc_monthly",r.Weekly="$rc_weekly",r))(hd||{}),Wr=(r=>(r.Subscription="subscription",r.Consumable="consumable",r.NonConsumable="non_consumable",r))(Wr||{});const dl=(r,e)=>({amount:r/1e4,amountMicros:r,currency:e,formattedPrice:bn(r,e)}),vd=r=>dl(r.amount_micros,r.currency),pl=r=>{const e=r.period_duration,t=r.price?vd(r.price):null,n=e?Do(e):null;let a=null,i=null,s=null;if(t!==null&&n!==null){const c=ul(n),l=1e4,u=Ti(t.amountMicros*c.perWeek,t.currency);a={amount:u/l,amountMicros:u,currency:t.currency,formattedPrice:bn(u,t.currency)};const d=Ti(t.amountMicros*c.perMonth,t.currency);i={amount:d/l,amountMicros:d,currency:t.currency,formattedPrice:bn(d,t.currency)};const _=Ti(t.amountMicros*c.perYear,t.currency);s={amount:_/l,amountMicros:_,currency:t.currency,formattedPrice:bn(_,t.currency)}}return{periodDuration:e,period:n,cycleCount:r.cycle_count,price:t,pricePerWeek:a,pricePerMonth:i,pricePerYear:s}},yd=(r,e)=>{const t=r.duration_mode??"one_time";let n=r.time_window??null;(t==="one_time"||t==="forever")&&n===null&&e!==null&&(n=e);let a=null,i=null;const s=n?Do(n):null;return s&&(a={number:1,unit:s.unit},i=t==="forever"?0:s.number),{timeWindow:r.time_window,durationMode:t,price:dl(r.amount_micros,r.currency),name:r.name,period:a,cycleCount:i??0,periodDuration:n,discountType:r.discount_type,percentage:r.percentage??null,fixedAmount:r.fixed_amount_micros!=null?dl(r.fixed_amount_micros,r.currency):null}},bd=r=>{var e;return r.base==null?(Pe.debugLog("Missing base phase for subscription option. Ignoring."),null):{id:r.id,priceId:r.price_id,base:pl(r.base),trial:r.trial?pl(r.trial):null,introPrice:r.intro_price?pl(r.intro_price):null,discount:r.discount?yd(r.discount,(e=r.base)==null?void 0:e.period_duration):null}},kd=r=>r.base_price==null?(Pe.debugLog("Missing base price for non-subscription option. Ignoring."),null):{id:r.id,priceId:r.price_id,basePrice:vd(r.base_price),discount:r.discount?yd(r.discount,null):null},fh=(r,e)=>{const t=r.product_type;return t==="subscription"?vh(r,e,t):hh(r,e,t)},mh=(r,e)=>r==="subscription"?"base"in e?bd(e):null:"base_price"in e?kd(e):null,hh=(r,e,t)=>{const n={};if(Object.entries(r.purchase_options).forEach(([s,c])=>{const l=kd(c);l!=null&&(n[s]=l)}),Object.keys(n).length===0)return Pe.debugLog(`Product ${r.identifier} has no purchase options. Ignoring.`),null;const a=r.default_purchase_option_id,i=a&&a in r.purchase_options?n[a]:null;return i==null?(Pe.debugLog(`Product ${r.identifier} has no default purchase option. Ignoring.`),null):{identifier:r.identifier,displayName:r.title,title:r.title,description:r.description,productType:t,currentPrice:i.basePrice,normalPeriodDuration:null,presentedOfferingIdentifier:e.offeringIdentifier,presentedOfferingContext:e,defaultPurchaseOption:i,defaultSubscriptionOption:null,subscriptionOptions:{},defaultNonSubscriptionOption:i,price:i.basePrice,period:null,freeTrialPhase:null,introPricePhase:null,discountPhase:i.discount}},vh=(r,e,t)=>{const n={};if(Object.entries(r.purchase_options).forEach(([c,l])=>{const u=bd(l);u!=null&&(n[c]=u)}),Object.keys(n).length===0)return Pe.debugLog(`Product ${r.identifier} has no subscription options. Ignoring.`),null;const a=r.default_purchase_option_id,i=a&&a in n?n[a]:null;if(i==null)return Pe.debugLog(`Product ${r.identifier} has no default subscription option. Ignoring.`),null;const s=i.base.price;return s==null?(Pe.debugLog(`Product ${r.identifier} default option has no base price. Ignoring.`),null):{identifier:r.identifier,displayName:r.title,title:r.title,description:r.description,productType:t,currentPrice:s,normalPeriodDuration:i.base.periodDuration,presentedOfferingIdentifier:e.offeringIdentifier,presentedOfferingContext:e,defaultPurchaseOption:i,defaultSubscriptionOption:i,subscriptionOptions:n,defaultNonSubscriptionOption:null,price:s,period:i.base.period,freeTrialPhase:i.trial,introPricePhase:i.introPrice,discountPhase:i.discount}},yh=(r,e,t)=>{const n=t[e.platform_product_identifier];if(n===void 0)return null;const a=fh(n,r);return a===null?null:{identifier:e.identifier,rcBillingProduct:a,webBillingProduct:a,...e.web_checkout_url?{webCheckoutURL:e.web_checkout_url}:{},packageType:kh(e.identifier)}},bh=(r,e,t,n,a)=>{const i={offeringIdentifier:e.identifier,targetingContext:r&&n?{ruleId:n.rule_id,revision:n.revision}:null,placementIdentifier:null},s=e.packages.map(l=>yh(i,l,t)).filter(gh),c={};for(const l of s)l!=null&&(c[l.identifier]=l);return s.length==0?null:{identifier:e.identifier,serverDescription:e.description,metadata:e.metadata,...e.web_checkout_url?{webCheckoutURL:e.web_checkout_url}:{},packagesById:c,availablePackages:s,lifetime:c.$rc_lifetime??null,annual:c.$rc_annual??null,sixMonth:c.$rc_six_month??null,threeMonth:c.$rc_three_month??null,twoMonth:c.$rc_two_month??null,monthly:c.$rc_monthly??null,weekly:c.$rc_weekly??null,hasPaywall:e.paywall_components!=null,paywallComponents:e.paywall_components,...a!==void 0?{uiConfig:a}:{}}};function kh(r){switch(r){case"$rc_lifetime":return"$rc_lifetime";case"$rc_annual":return"$rc_annual";case"$rc_six_month":return"$rc_six_month";case"$rc_three_month":return"$rc_three_month";case"$rc_two_month":return"$rc_two_month";case"$rc_monthly":return"$rc_monthly";case"$rc_weekly":return"$rc_weekly";default:return r.startsWith("$rc_")?"unknown":"custom"}}function Fo(r,e=!1){return(r==null?void 0:r.full_address_collection_mode)==="always"?!0:!!(r!=null&&r.gateway_tax_collection_enabled)&&e}wf();const wh=`<svg viewBox="0 0 124 124" fill="var(--rc-color-grey-text-dark)" xmlns="http://www.w3.org/2000/svg">
1
+ (function(Ce,je){typeof exports=="object"&&typeof module<"u"?je(exports):typeof define=="function"&&define.amd?define(["exports"],je):(Ce=typeof globalThis<"u"?globalThis:Ce||self,je(Ce.Purchases={}))})(this,function(Ce){"use strict";var BI=Object.create;var zc=Object.defineProperty;var RI=Object.getOwnPropertyDescriptor;var rf=(Ce,je)=>(je=Symbol[Ce])?je:Symbol.for("Symbol."+Ce),uo=Ce=>{throw TypeError(Ce)};var tf=(Ce,je,Je)=>je in Ce?zc(Ce,je,{enumerable:!0,configurable:!0,writable:!0,value:Je}):Ce[je]=Je;var ef=(Ce,je)=>zc(Ce,"name",{value:je,configurable:!0});var nf=Ce=>[,,,BI((Ce==null?void 0:Ce[rf("metadata")])??null)],af=["class","method","getter","setter","accessor","field","value","get","set"],li=Ce=>Ce!==void 0&&typeof Ce!="function"?uo("Function expected"):Ce,UI=(Ce,je,Je,pt,wr)=>({kind:af[Ce],name:je,metadata:pt,addInitializer:Vr=>Je._?uo("Already initialized"):wr.push(li(Vr||null))}),qc=(Ce,je)=>tf(je,rf("metadata"),Ce[3]),of=(Ce,je,Je,pt)=>{for(var wr=0,Vr=Ce[je>>1],Vt=Vr&&Vr.length;wr<Vt;wr++)je&1?Vr[wr].call(Je):pt=Vr[wr].call(Je,pt);return pt},Oc=(Ce,je,Je,pt,wr,Vr)=>{var Vt,at,ci,$n,po,sr=je&7,_o=!!(je&8),kt=!!(je&16),go=sr>3?Ce.length+1:sr?_o?1:2:0,fo=af[sr+5],ui=sr>3&&(Ce[go-1]=[]),Tr=Ce[go]||(Ce[go]=[]),_t=sr&&(!kt&&!_o&&(wr=wr.prototype),sr<5&&(sr>3||!kt)&&RI(sr<4?wr:{get[Je](){return W(this,Vr)},set[Je](Qr){return Ne(this,Vr,Qr)}},Je));sr?kt&&sr<4&&ef(Vr,(sr>2?"set ":sr>1?"get ":"")+Je):ef(wr,Je);for(var mo=pt.length-1;mo>=0;mo--)$n=UI(sr,Je,ci={},Ce[3],Tr),sr&&($n.static=_o,$n.private=kt,po=$n.access={has:kt?Qr=>VI(wr,Qr):Qr=>Je in Qr},sr^3&&(po.get=kt?Qr=>(sr^1?W:pr)(Qr,wr,sr^4?Vr:_t.get):Qr=>Qr[Je]),sr>2&&(po.set=kt?(Qr,ea)=>Ne(Qr,wr,ea,sr^4?Vr:_t.set):(Qr,ea)=>Qr[Je]=ea)),at=(0,pt[mo])(sr?sr<4?kt?Vr:_t[fo]:sr>4?void 0:{get:_t.get,set:_t.set}:wr,$n),ci._=1,sr^4||at===void 0?li(at)&&(sr>4?ui.unshift(at):sr?kt?Vr=at:_t[fo]=at:wr=at):typeof at!="object"||at===null?uo("Object expected"):(li(Vt=at.get)&&(_t.get=Vt),li(Vt=at.set)&&(_t.set=Vt),li(Vt=at.init)&&ui.unshift(Vt));return sr||qc(Ce,wr),_t&&zc(wr,Je,_t),kt?sr^4?Vr:_t:wr},re=(Ce,je,Je)=>tf(Ce,typeof je!="symbol"?je+"":je,Je),Lc=(Ce,je,Je)=>je.has(Ce)||uo("Cannot "+Je),VI=(Ce,je)=>Object(je)!==je?uo('Cannot use the "in" operator on this value'):Ce.has(je),W=(Ce,je,Je)=>(Lc(Ce,je,"read from private field"),Je?Je.call(Ce):je.get(Ce)),Be=(Ce,je,Je)=>je.has(Ce)?uo("Cannot add the same private member more than once"):je instanceof WeakSet?je.add(Ce):je.set(Ce,Je),Ne=(Ce,je,Je,pt)=>(Lc(Ce,je,"write to private field"),pt?pt.call(Ce,Je):je.set(Ce,Je),Je),pr=(Ce,je,Je)=>(Lc(Ce,je,"access private method"),Je);var Ng,Qa,$a,wa,Pa,ei,eo,ro,Dt,Nc,jc,sf,lf,At,Ac,ln,xa,cn,Ft,dt,un,xn,Kn,Ea,Xn,Sa,to,no,Zn,ys,Ur,HI,WI,Bc,xs,Es,Rc,Rt,dn,bt,Ia,ri,ti,bs,Jn,ao,ni,ks,cf,ai,Qn,pn,Ca,oo,io,Jr,Uc,Vc,Ss,Is,oi,ii,so,jg,Bg,Ps;const je="5";typeof window<"u"&&((Ng=window.__svelte??(window.__svelte={})).v??(Ng.v=new Set)).add(je);const Je=1,pt=2,wr=4,Vr=8,Vt=16,at=1,ci=2,$n=4,po=8,sr=16,_o=1,kt=2,go=4,fo=1,ui=2,Tr=Symbol(),_t="http://www.w3.org/1999/xhtml",mo="http://www.w3.org/2000/svg",Qr="@attach",ea=!1;var di=Array.isArray,uf=Array.prototype.indexOf,pi=Array.from,Hc=Object.defineProperty,Sn=Object.getOwnPropertyDescriptor,Wc=Object.getOwnPropertyDescriptors,df=Object.prototype,pf=Array.prototype,Cs=Object.getPrototypeOf,Yc=Object.isExtensible;function Ta(r){return typeof r=="function"}const tr=()=>{};function _f(r){return r()}function _i(r){for(var e=0;e<r.length;e++)r[e]()}function Gc(){var r,e,t=new Promise((n,a)=>{r=n,e=a});return{promise:t,resolve:r,reject:e}}function gi(r,e){if(Array.isArray(r))return r;if(e===void 0||!(Symbol.iterator in r))return Array.from(r);const t=[];for(const n of r)if(t.push(n),t.length===e)break;return t}const Hr=2,fi=4,ho=8,Ts=1<<24,Ht=16,_n=32,In=64,Ds=128,wt=512,Wr=1024,$r=2048,Wt=4096,gt=8192,gn=16384,mi=32768,Yt=65536,Kc=1<<17,Xc=1<<18,ra=1<<19,Zc=1<<20,fn=1<<25,vo=32768,As=1<<21,Fs=1<<22,Cn=1<<23,Gt=Symbol("$state"),Jc=Symbol("legacy props"),gf=Symbol(""),Da=new class extends Error{constructor(){super(...arguments);re(this,"name","StaleReactionError");re(this,"message","The reaction that called `getAbortSignal()` was re-run or destroyed")}};function Ms(r){throw new Error("https://svelte.dev/e/lifecycle_outside_component")}function ff(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function mf(r){throw new Error("https://svelte.dev/e/effect_in_teardown")}function hf(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function vf(r){throw new Error("https://svelte.dev/e/effect_orphan")}function yf(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function bf(r){throw new Error("https://svelte.dev/e/props_invalid_value")}function kf(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function wf(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function Pf(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function xf(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function Ef(){console.warn("https://svelte.dev/e/select_multiple_invalid_value")}function Sf(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}function Qc(r){return r===this.v}function zs(r,e){return r!=r?e==e:r!==e||r!==null&&typeof r=="object"||typeof r=="function"}function $c(r){return!zs(r,this.v)}let Aa=!1,If=!1;function Cf(){Aa=!0}let lr=null;function Fa(r){lr=r}function He(r){return eu().get(r)}function mr(r,e){return eu().set(r,e),e}function fe(r,e=!1,t){lr={p:lr,i:!1,c:null,e:null,s:r,x:null,l:Aa&&!e?{s:null,u:null,$:[]}:null}}function me(r){var e=lr,t=e.e;if(t!==null){e.e=null;for(var n of t)Pu(n)}return r!==void 0&&(e.x=r),e.i=!0,lr=e.p,r??{}}function Ma(){return!Aa||lr!==null&&lr.l===null}function eu(r){return lr===null&&Ms(),lr.c??(lr.c=new Map(Tf(lr)||void 0))}function Tf(r){let e=r.p;for(;e!==null;){const t=e.c;if(t!==null)return t;e=e.p}return null}let ta=[];function ru(){var r=ta;ta=[],_i(r)}function Tn(r){if(ta.length===0&&!yo){var e=ta;queueMicrotask(()=>{e===ta&&ru()})}ta.push(r)}function Df(){for(;ta.length>0;)ru()}function tu(r){var e=Qe;if(e===null)return Ge.f|=Cn,r;if((e.f&mi)===0){if((e.f&Ds)===0)throw r;e.b.error(r)}else za(r,e)}function za(r,e){for(;e!==null;){if((e.f&Ds)!==0)try{e.b.error(r);return}catch(t){r=t}e=e.parent}throw r}const Af=-7169;function Lr(r,e){r.f=r.f&Af|e}function qs(r){(r.f&wt)!==0||r.deps===null?Lr(r,Wr):Lr(r,Wt)}function nu(r){if(r!==null)for(const e of r)(e.f&Hr)===0||(e.f&vo)===0||(e.f^=vo,nu(e.deps))}function au(r,e,t){(r.f&$r)!==0?e.add(r):(r.f&Wt)!==0&&t.add(r),nu(r.deps),Lr(r,Wr)}const hi=new Set;let rr=null,vi=null,Yr=null,Pt=[],yi=null,Os=!1,yo=!1;const vs=class vs{constructor(){Be(this,Dt);re(this,"committed",!1);re(this,"current",new Map);re(this,"previous",new Map);Be(this,Qa,new Set);Be(this,$a,new Set);Be(this,wa,0);Be(this,Pa,0);Be(this,ei,null);Be(this,eo,new Set);Be(this,ro,new Set);re(this,"skipped_effects",new Set);re(this,"is_fork",!1)}is_deferred(){return this.is_fork||W(this,Pa)>0}process(e){var a;Pt=[],vi=null,this.apply();var t=[],n=[];for(const i of e)pr(this,Dt,Nc).call(this,i,t,n);this.is_fork||pr(this,Dt,sf).call(this),this.is_deferred()?(pr(this,Dt,jc).call(this,n),pr(this,Dt,jc).call(this,t)):(vi=this,rr=null,iu(n),iu(t),vi=null,(a=W(this,ei))==null||a.resolve()),Yr=null}capture(e,t){t!==Tr&&!this.previous.has(e)&&this.previous.set(e,t),(e.f&Cn)===0&&(this.current.set(e,e.v),Yr==null||Yr.set(e,e.v))}activate(){rr=this,this.apply()}deactivate(){rr===this&&(rr=null,Yr=null)}flush(){if(this.activate(),Pt.length>0){if(ou(),rr!==null&&rr!==this)return}else W(this,wa)===0&&this.process([]);this.deactivate()}discard(){for(const e of W(this,$a))e(this);W(this,$a).clear()}increment(e){Ne(this,wa,W(this,wa)+1),e&&Ne(this,Pa,W(this,Pa)+1)}decrement(e){Ne(this,wa,W(this,wa)-1),e&&Ne(this,Pa,W(this,Pa)-1),this.revive()}revive(){for(const e of W(this,eo))W(this,ro).delete(e),Lr(e,$r),mn(e);for(const e of W(this,ro))Lr(e,Wt),mn(e);this.flush()}oncommit(e){W(this,Qa).add(e)}ondiscard(e){W(this,$a).add(e)}settled(){return(W(this,ei)??Ne(this,ei,Gc())).promise}static ensure(){if(rr===null){const e=rr=new vs;hi.add(rr),yo||vs.enqueue(()=>{rr===e&&e.flush()})}return rr}static enqueue(e){Tn(e)}apply(){}};Qa=new WeakMap,$a=new WeakMap,wa=new WeakMap,Pa=new WeakMap,ei=new WeakMap,eo=new WeakMap,ro=new WeakMap,Dt=new WeakSet,Nc=function(e,t,n){e.f^=Wr;for(var a=e.first,i=null;a!==null;){var s=a.f,c=(s&(_n|In))!==0,l=c&&(s&Wr)!==0,u=l||(s&gt)!==0||this.skipped_effects.has(a);if(!u&&a.fn!==null){c?a.f^=Wr:i!==null&&(s&(fi|ho|Ts))!==0?i.b.defer_effect(a):(s&fi)!==0?t.push(a):Na(a)&&((s&Ht)!==0&&W(this,eo).add(a),ja(a));var d=a.first;if(d!==null){a=d;continue}}var p=a.parent;for(a=a.next;a===null&&p!==null;)p===i&&(i=null),a=p.next,p=p.parent}},jc=function(e){for(var t=0;t<e.length;t+=1)au(e[t],W(this,eo),W(this,ro))},sf=function(){if(W(this,Pa)===0){for(const e of W(this,Qa))e();W(this,Qa).clear()}W(this,wa)===0&&pr(this,Dt,lf).call(this)},lf=function(){var a;if(hi.size>1){this.previous.clear();var e=Yr,t=!0;for(const i of hi){if(i===this){t=!1;continue}const s=[];for(const[l,u]of this.current){if(i.current.has(l))if(t&&u!==i.current.get(l))i.current.set(l,u);else continue;s.push(l)}if(s.length===0)continue;const c=[...i.current.keys()].filter(l=>!this.current.has(l));if(c.length>0){var n=Pt;Pt=[];const l=new Set,u=new Map;for(const d of s)su(d,c,l,u);if(Pt.length>0){rr=i,i.apply();for(const d of Pt)pr(a=i,Dt,Nc).call(a,d,[],[]);i.deactivate()}Pt=n}}rr=null,Yr=e}this.committed=!0,hi.delete(this)};let Kt=vs;function Ff(r){var e=yo;yo=!0;try{for(var t;;){if(Df(),Pt.length===0&&(rr==null||rr.flush(),Pt.length===0))return yi=null,t;ou()}}finally{yo=e}}function ou(){var r=la;Os=!0;var e=null;try{var t=0;for(wi(!0);Pt.length>0;){var n=Kt.ensure();if(t++>1e3){var a,i;Mf()}n.process(Pt),An.clear()}}finally{Os=!1,wi(r),yi=null}}function Mf(){try{yf()}catch(r){za(r,yi)}}let Ot=null;function iu(r){var e=r.length;if(e!==0){for(var t=0;t<e;){var n=r[t++];if((n.f&(gn|gt))===0&&Na(n)&&(Ot=new Set,ja(n),n.deps===null&&n.first===null&&n.nodes===null&&(n.teardown===null&&n.ac===null?Cu(n):n.fn=null),(Ot==null?void 0:Ot.size)>0)){An.clear();for(const a of Ot){if((a.f&(gn|gt))!==0)continue;const i=[a];let s=a.parent;for(;s!==null;)Ot.has(s)&&(Ot.delete(s),i.push(s)),s=s.parent;for(let c=i.length-1;c>=0;c--){const l=i[c];(l.f&(gn|gt))===0&&ja(l)}}Ot.clear()}}Ot=null}}function su(r,e,t,n){if(!t.has(r)&&(t.add(r),r.reactions!==null))for(const a of r.reactions){const i=a.f;(i&Hr)!==0?su(a,e,t,n):(i&(Fs|Ht))!==0&&(i&$r)===0&&lu(a,e,n)&&(Lr(a,$r),mn(a))}}function lu(r,e,t){const n=t.get(r);if(n!==void 0)return n;if(r.deps!==null)for(const a of r.deps){if(e.includes(a))return!0;if((a.f&Hr)!==0&&lu(a,e,t))return t.set(a,!0),!0}return t.set(r,!1),!1}function mn(r){for(var e=yi=r;e.parent!==null;){e=e.parent;var t=e.f;if(Os&&e===Qe&&(t&Ht)!==0&&(t&Xc)===0)return;if((t&(In|_n))!==0){if((t&Wr)===0)return;e.f^=Wr}}Pt.push(e)}function Ls(r){let e=0,t=na(0),n;return()=>{ki()&&(o(t),oa(()=>(e===0&&(n=Ue(()=>r(()=>ko(t)))),e+=1,()=>{Tn(()=>{e-=1,e===0&&(n==null||n(),n=void 0,ko(t))})})))}}var zf=Yt|ra|Ds;function cu(r,e,t){new qf(r,e,t)}class qf{constructor(e,t,n){Be(this,Ur);re(this,"parent");re(this,"is_pending",!1);Be(this,At);Be(this,Ac,null);Be(this,ln);Be(this,xa);Be(this,cn);Be(this,Ft,null);Be(this,dt,null);Be(this,un,null);Be(this,xn,null);Be(this,Kn,null);Be(this,Ea,0);Be(this,Xn,0);Be(this,Sa,!1);Be(this,to,new Set);Be(this,no,new Set);Be(this,Zn,null);Be(this,ys,Ls(()=>(Ne(this,Zn,na(W(this,Ea))),()=>{Ne(this,Zn,null)})));Ne(this,At,e),Ne(this,ln,t),Ne(this,xa,n),this.parent=Qe.b,this.is_pending=!!W(this,ln).pending,Ne(this,cn,ia(()=>{Qe.b=this;{var a=pr(this,Ur,Bc).call(this);try{Ne(this,Ft,ot(()=>n(a)))}catch(i){this.error(i)}W(this,Xn)>0?pr(this,Ur,Es).call(this):this.is_pending=!1}return()=>{var i;(i=W(this,Kn))==null||i.remove()}},zf))}defer_effect(e){au(e,W(this,to),W(this,no))}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!W(this,ln).pending}update_pending_count(e){pr(this,Ur,Rc).call(this,e),Ne(this,Ea,W(this,Ea)+e),W(this,Zn)&&qa(W(this,Zn),W(this,Ea))}get_effect_pending(){return W(this,ys).call(this),o(W(this,Zn))}error(e){var t=W(this,ln).onerror;let n=W(this,ln).failed;if(W(this,Sa)||!t&&!n)throw e;W(this,Ft)&&(jr(W(this,Ft)),Ne(this,Ft,null)),W(this,dt)&&(jr(W(this,dt)),Ne(this,dt,null)),W(this,un)&&(jr(W(this,un)),Ne(this,un,null));var a=!1,i=!1;const s=()=>{if(a){Sf();return}a=!0,i&&xf(),Kt.ensure(),Ne(this,Ea,0),W(this,un)!==null&&sa(W(this,un),()=>{Ne(this,un,null)}),this.is_pending=this.has_pending_snippet(),Ne(this,Ft,pr(this,Ur,xs).call(this,()=>(Ne(this,Sa,!1),ot(()=>W(this,xa).call(this,W(this,At)))))),W(this,Xn)>0?pr(this,Ur,Es).call(this):this.is_pending=!1};var c=Ge;try{Xr(null),i=!0,t==null||t(e,s),i=!1}catch(l){za(l,W(this,cn)&&W(this,cn).parent)}finally{Xr(c)}n&&Tn(()=>{Ne(this,un,pr(this,Ur,xs).call(this,()=>{Kt.ensure(),Ne(this,Sa,!0);try{return ot(()=>{n(W(this,At),()=>e,()=>s)})}catch(l){return za(l,W(this,cn).parent),null}finally{Ne(this,Sa,!1)}}))})}}At=new WeakMap,Ac=new WeakMap,ln=new WeakMap,xa=new WeakMap,cn=new WeakMap,Ft=new WeakMap,dt=new WeakMap,un=new WeakMap,xn=new WeakMap,Kn=new WeakMap,Ea=new WeakMap,Xn=new WeakMap,Sa=new WeakMap,to=new WeakMap,no=new WeakMap,Zn=new WeakMap,ys=new WeakMap,Ur=new WeakSet,HI=function(){try{Ne(this,Ft,ot(()=>W(this,xa).call(this,W(this,At))))}catch(e){this.error(e)}},WI=function(){const e=W(this,ln).pending;e&&(Ne(this,dt,ot(()=>e(W(this,At)))),Kt.enqueue(()=>{var t=pr(this,Ur,Bc).call(this);Ne(this,Ft,pr(this,Ur,xs).call(this,()=>(Kt.ensure(),ot(()=>W(this,xa).call(this,t))))),W(this,Xn)>0?pr(this,Ur,Es).call(this):(sa(W(this,dt),()=>{Ne(this,dt,null)}),this.is_pending=!1)}))},Bc=function(){var e=W(this,At);return this.is_pending&&(Ne(this,Kn,Xt()),W(this,At).before(W(this,Kn)),e=W(this,Kn)),e},xs=function(e){var t=Qe,n=Ge,a=lr;Et(W(this,cn)),Xr(W(this,cn)),Fa(W(this,cn).ctx);try{return e()}catch(i){return tu(i),null}finally{Et(t),Xr(n),Fa(a)}},Es=function(){const e=W(this,ln).pending;W(this,Ft)!==null&&(Ne(this,xn,document.createDocumentFragment()),W(this,xn).append(W(this,Kn)),Au(W(this,Ft),W(this,xn))),W(this,dt)===null&&Ne(this,dt,ot(()=>e(W(this,At))))},Rc=function(e){var t;if(!this.has_pending_snippet()){this.parent&&pr(t=this.parent,Ur,Rc).call(t,e);return}if(Ne(this,Xn,W(this,Xn)+e),W(this,Xn)===0){this.is_pending=!1;for(const n of W(this,to))Lr(n,$r),mn(n);for(const n of W(this,no))Lr(n,Wt),mn(n);W(this,to).clear(),W(this,no).clear(),W(this,dt)&&sa(W(this,dt),()=>{Ne(this,dt,null)}),W(this,xn)&&(W(this,At).before(W(this,xn)),Ne(this,xn,null))}};function uu(r,e,t,n){const a=Ma()?bo:Dn;if(t.length===0&&r.length===0){n(e.map(a));return}var i=rr,s=Qe,c=Of();function l(){Promise.all(t.map(u=>Lf(u))).then(u=>{c();try{n([...e.map(a),...u])}catch(d){(s.f&gn)===0&&za(d,s)}i==null||i.deactivate(),bi()}).catch(u=>{za(u,s)})}r.length>0?Promise.all(r).then(()=>{c();try{return l()}finally{i==null||i.deactivate(),bi()}}):l()}function Of(){var r=Qe,e=Ge,t=lr,n=rr;return function(i=!0){Et(r),Xr(e),Fa(t),i&&(n==null||n.activate())}}function bi(){Et(null),Xr(null),Fa(null)}function bo(r){var e=Hr|$r,t=Ge!==null&&(Ge.f&Hr)!==0?Ge:null;return Qe!==null&&(Qe.f|=ra),{ctx:lr,deps:null,effects:null,equals:Qc,f:e,fn:r,reactions:null,rv:0,v:Tr,wv:0,parent:t??Qe,ac:null}}function Lf(r,e,t){let n=Qe;n===null&&ff();var a=n.b,i=void 0,s=na(Tr),c=!Ge,l=new Map;return Xf(()=>{var h;var u=Gc();i=u.promise;try{Promise.resolve(r()).then(u.resolve,u.reject).then(()=>{d===rr&&d.committed&&d.deactivate(),bi()})}catch(f){u.reject(f),bi()}var d=rr;if(c){var p=a.is_rendered();a.update_pending_count(1),d.increment(p),(h=l.get(d))==null||h.reject(Da),l.delete(d),l.set(d,u)}const _=(f,b=void 0)=>{if(d.activate(),b)b!==Da&&(s.f|=Cn,qa(s,b));else{(s.f&Cn)!==0&&(s.f^=Cn),qa(s,f);for(const[v,m]of l){if(l.delete(v),v===d)break;m.reject(Da)}}c&&(a.update_pending_count(-1),d.decrement(p))};u.promise.then(_,f=>_(null,f||"unknown"))}),La(()=>{for(const u of l.values())u.reject(Da)}),new Promise(u=>{function d(p){function _(){p===i?u(s):d(i)}p.then(_,_)}d(i)})}function g(r){const e=bo(r);return Mu(e),e}function Dn(r){const e=bo(r);return e.equals=$c,e}function du(r){var e=r.effects;if(e!==null){r.effects=null;for(var t=0;t<e.length;t+=1)jr(e[t])}}function Nf(r){for(var e=r.parent;e!==null;){if((e.f&Hr)===0)return(e.f&gn)===0?e:null;e=e.parent}return null}function Ns(r){var e,t=Qe;Et(Nf(r));try{r.f&=~vo,du(r),e=Nu(r)}finally{Et(t)}return e}function pu(r){var e=Ns(r);if(!r.equals(e)&&(r.wv=Ou(),(!(rr!=null&&rr.is_fork)||r.deps===null)&&(r.v=e,r.deps===null))){Lr(r,Wr);return}Fn||(Yr!==null?(ki()||rr!=null&&rr.is_fork)&&Yr.set(r,e):qs(r))}let js=new Set;const An=new Map;let _u=!1;function na(r,e){var t={f:0,v:r,reactions:null,equals:Qc,rv:0,wv:0};return t}function te(r,e){const t=na(r);return Mu(t),t}function cr(r,e=!1,t=!0){var a;const n=na(r);return e||(n.equals=$c),Aa&&t&&lr!==null&&lr.l!==null&&((a=lr.l).s??(a.s=[])).push(n),n}function F(r,e,t=!1){Ge!==null&&(!Lt||(Ge.f&Kc)!==0)&&Ma()&&(Ge.f&(Hr|Ht|Fs|Kc))!==0&&!(et!=null&&et.includes(r))&&Pf();let n=t?ar(e):e;return qa(r,n)}function qa(r,e){if(!r.equals(e)){var t=r.v;Fn?An.set(r,e):An.set(r,t),r.v=e;var n=Kt.ensure();if(n.capture(r,t),(r.f&Hr)!==0){const a=r;(r.f&$r)!==0&&Ns(a),qs(a)}r.wv=Ou(),gu(r,$r),Ma()&&Qe!==null&&(Qe.f&Wr)!==0&&(Qe.f&(_n|In))===0&&(St===null?Jf([r]):St.push(r)),!n.is_fork&&js.size>0&&!_u&&jf()}return e}function jf(){_u=!1;var r=la;wi(!0);const e=Array.from(js);try{for(const t of e)(t.f&Wr)!==0&&Lr(t,Wt),Na(t)&&ja(t)}finally{wi(r)}js.clear()}function ko(r){F(r,r.v+1)}function gu(r,e){var t=r.reactions;if(t!==null)for(var n=Ma(),a=t.length,i=0;i<a;i++){var s=t[i],c=s.f;if(!(!n&&s===Qe)){var l=(c&$r)===0;if(l&&Lr(s,e),(c&Hr)!==0){var u=s;Yr==null||Yr.delete(u),(c&vo)===0&&(c&wt&&(s.f|=vo),gu(u,Wt))}else l&&((c&Ht)!==0&&Ot!==null&&Ot.add(s),mn(s))}}}function ar(r){if(typeof r!="object"||r===null||Gt in r)return r;const e=Cs(r);if(e!==df&&e!==pf)return r;var t=new Map,n=di(r),a=te(0),i=ca,s=c=>{if(ca===i)return c();var l=Ge,u=ca;Xr(null),qu(i);var d=c();return Xr(l),qu(u),d};return n&&t.set("length",te(r.length)),new Proxy(r,{defineProperty(c,l,u){(!("value"in u)||u.configurable===!1||u.enumerable===!1||u.writable===!1)&&kf();var d=t.get(l);return d===void 0?d=s(()=>{var p=te(u.value);return t.set(l,p),p}):F(d,u.value,!0),!0},deleteProperty(c,l){var u=t.get(l);if(u===void 0){if(l in c){const d=s(()=>te(Tr));t.set(l,d),ko(a)}}else F(u,Tr),ko(a);return!0},get(c,l,u){var h;if(l===Gt)return r;var d=t.get(l),p=l in c;if(d===void 0&&(!p||(h=Sn(c,l))!=null&&h.writable)&&(d=s(()=>{var f=ar(p?c[l]:Tr),b=te(f);return b}),t.set(l,d)),d!==void 0){var _=o(d);return _===Tr?void 0:_}return Reflect.get(c,l,u)},getOwnPropertyDescriptor(c,l){var u=Reflect.getOwnPropertyDescriptor(c,l);if(u&&"value"in u){var d=t.get(l);d&&(u.value=o(d))}else if(u===void 0){var p=t.get(l),_=p==null?void 0:p.v;if(p!==void 0&&_!==Tr)return{enumerable:!0,configurable:!0,value:_,writable:!0}}return u},has(c,l){var _;if(l===Gt)return!0;var u=t.get(l),d=u!==void 0&&u.v!==Tr||Reflect.has(c,l);if(u!==void 0||Qe!==null&&(!d||(_=Sn(c,l))!=null&&_.writable)){u===void 0&&(u=s(()=>{var h=d?ar(c[l]):Tr,f=te(h);return f}),t.set(l,u));var p=o(u);if(p===Tr)return!1}return d},set(c,l,u,d){var x;var p=t.get(l),_=l in c;if(n&&l==="length")for(var h=u;h<p.v;h+=1){var f=t.get(h+"");f!==void 0?F(f,Tr):h in c&&(f=s(()=>te(Tr)),t.set(h+"",f))}if(p===void 0)(!_||(x=Sn(c,l))!=null&&x.writable)&&(p=s(()=>te(void 0)),F(p,ar(u)),t.set(l,p));else{_=p.v!==Tr;var b=s(()=>ar(u));F(p,b)}var v=Reflect.getOwnPropertyDescriptor(c,l);if(v!=null&&v.set&&v.set.call(d,u),!_){if(n&&typeof l=="string"){var m=t.get("length"),k=Number(l);Number.isInteger(k)&&k>=m.v&&F(m,k+1)}ko(a)}return!0},ownKeys(c){o(a);var l=Reflect.ownKeys(c).filter(p=>{var _=t.get(p);return _===void 0||_.v!==Tr});for(var[u,d]of t)d.v!==Tr&&!(u in c)&&l.push(u);return l},setPrototypeOf(){wf()}})}function fu(r){try{if(r!==null&&typeof r=="object"&&Gt in r)return r[Gt]}catch{}return r}function Bf(r,e){return Object.is(fu(r),fu(e))}var mu,hu,vu,yu;function Rf(){if(mu===void 0){mu=window,hu=/Firefox/.test(navigator.userAgent);var r=Element.prototype,e=Node.prototype,t=Text.prototype;vu=Sn(e,"firstChild").get,yu=Sn(e,"nextSibling").get,Yc(r)&&(r.__click=void 0,r.__className=void 0,r.__attributes=null,r.__style=void 0,r.__e=void 0),Yc(t)&&(t.__t=void 0)}}function Xt(r=""){return document.createTextNode(r)}function ft(r){return vu.call(r)}function wo(r){return yu.call(r)}function D(r,e){return ft(r)}function ce(r,e=!1){{var t=ft(r);return t instanceof Comment&&t.data===""?wo(t):t}}function B(r,e=1,t=!1){let n=r;for(;e--;)n=wo(n);return n}function Uf(r){r.textContent=""}function bu(){return!1}function Vf(r,e){if(e){const t=document.body;r.autofocus=!0,Tn(()=>{document.activeElement===t&&r.focus()})}}let ku=!1;function Hf(){ku||(ku=!0,document.addEventListener("reset",r=>{Promise.resolve().then(()=>{var e;if(!r.defaultPrevented)for(const t of r.target.elements)(e=t.__on_r)==null||e.call(t)})},{capture:!0}))}function Oa(r){var e=Ge,t=Qe;Xr(null),Et(null);try{return r()}finally{Xr(e),Et(t)}}function Wf(r,e,t,n=t){r.addEventListener(e,()=>Oa(t));const a=r.__on_r;a?r.__on_r=()=>{a(),n(!0)}:r.__on_r=()=>n(!0),Hf()}function wu(r){Qe===null&&(Ge===null&&vf(),hf()),Fn&&mf()}function Yf(r,e){var t=e.last;t===null?e.last=e.first=r:(t.next=r,r.prev=t,e.last=r)}function xt(r,e,t){var n=Qe;n!==null&&(n.f&gt)!==0&&(r|=gt);var a={ctx:lr,deps:null,nodes:null,f:r|$r|wt,first:null,fn:e,last:null,next:null,parent:n,b:n&&n.b,prev:null,teardown:null,wv:0,ac:null};if(t)try{ja(a),a.f|=mi}catch(c){throw jr(a),c}else e!==null&&mn(a);var i=a;if(t&&i.deps===null&&i.teardown===null&&i.nodes===null&&i.first===i.last&&(i.f&ra)===0&&(i=i.first,(r&Ht)!==0&&(r&Yt)!==0&&i!==null&&(i.f|=Yt)),i!==null&&(i.parent=n,n!==null&&Yf(i,n),Ge!==null&&(Ge.f&Hr)!==0&&(r&In)===0)){var s=Ge;(s.effects??(s.effects=[])).push(i)}return a}function ki(){return Ge!==null&&!Lt}function La(r){const e=xt(ho,null,!1);return Lr(e,Wr),e.teardown=r,e}function ir(r){wu();var e=Qe.f,t=!Ge&&(e&_n)!==0&&(e&mi)===0;if(t){var n=lr;(n.e??(n.e=[])).push(r)}else return Pu(r)}function Pu(r){return xt(fi|Zc,r,!1)}function Bs(r){return wu(),xt(ho|Zc,r,!0)}function Gf(r){Kt.ensure();const e=xt(In|ra,r,!0);return()=>{jr(e)}}function Kf(r){Kt.ensure();const e=xt(In|ra,r,!0);return(t={})=>new Promise(n=>{t.outro?sa(e,()=>{jr(e),n(void 0)}):(jr(e),n(void 0))})}function aa(r){return xt(fi,r,!1)}function hr(r,e){var t=lr,n={effect:null,ran:!1,deps:r};t.l.$.push(n),n.effect=oa(()=>{r(),!n.ran&&(n.ran=!0,Ue(e))})}function Rs(){var r=lr;oa(()=>{for(var e of r.l.$){e.deps();var t=e.effect;(t.f&Wr)!==0&&t.deps!==null&&Lr(t,Wt),Na(t)&&ja(t),e.ran=!1}})}function Xf(r){return xt(Fs|ra,r,!0)}function oa(r,e=0){return xt(ho|e,r,!0)}function V(r,e=[],t=[],n=[]){uu(n,e,t,a=>{xt(ho,()=>r(...a.map(o)),!0)})}function ia(r,e=0){var t=xt(Ht|e,r,!0);return t}function xu(r,e=0){var t=xt(Ts|e,r,!0);return t}function ot(r){return xt(_n|ra,r,!0)}function Eu(r){var e=r.teardown;if(e!==null){const t=Fn,n=Ge;Fu(!0),Xr(null);try{e.call(null)}finally{Fu(t),Xr(n)}}}function Su(r,e=!1){var t=r.first;for(r.first=r.last=null;t!==null;){const a=t.ac;a!==null&&Oa(()=>{a.abort(Da)});var n=t.next;(t.f&In)!==0?t.parent=null:jr(t,e),t=n}}function Zf(r){for(var e=r.first;e!==null;){var t=e.next;(e.f&_n)===0&&jr(e),e=t}}function jr(r,e=!0){var t=!1;(e||(r.f&Xc)!==0)&&r.nodes!==null&&r.nodes.end!==null&&(Iu(r.nodes.start,r.nodes.end),t=!0),Su(r,e&&!t),Pi(r,0),Lr(r,gn);var n=r.nodes&&r.nodes.t;if(n!==null)for(const i of n)i.stop();Eu(r);var a=r.parent;a!==null&&a.first!==null&&Cu(r),r.next=r.prev=r.teardown=r.ctx=r.deps=r.fn=r.nodes=r.ac=null}function Iu(r,e){for(;r!==null;){var t=r===e?null:wo(r);r.remove(),r=t}}function Cu(r){var e=r.parent,t=r.prev,n=r.next;t!==null&&(t.next=n),n!==null&&(n.prev=t),e!==null&&(e.first===r&&(e.first=n),e.last===r&&(e.last=t))}function sa(r,e,t=!0){var n=[];Tu(r,n,!0);var a=()=>{t&&jr(r),e&&e()},i=n.length;if(i>0){var s=()=>--i||a();for(var c of n)c.out(s)}else a()}function Tu(r,e,t){if((r.f&gt)===0){r.f^=gt;var n=r.nodes&&r.nodes.t;if(n!==null)for(const c of n)(c.is_global||t)&&e.push(c);for(var a=r.first;a!==null;){var i=a.next,s=(a.f&Yt)!==0||(a.f&_n)!==0&&(r.f&Ht)!==0;Tu(a,e,s?t:!1),a=i}}}function Us(r){Du(r,!0)}function Du(r,e){if((r.f&gt)!==0){r.f^=gt,(r.f&Wr)===0&&(Lr(r,$r),mn(r));for(var t=r.first;t!==null;){var n=t.next,a=(t.f&Yt)!==0||(t.f&_n)!==0;Du(t,a?e:!1),t=n}var i=r.nodes&&r.nodes.t;if(i!==null)for(const s of i)(s.is_global||e)&&s.in()}}function Au(r,e){if(r.nodes)for(var t=r.nodes.start,n=r.nodes.end;t!==null;){var a=t===n?null:wo(t);e.append(t),t=a}}let la=!1;function wi(r){la=r}let Fn=!1;function Fu(r){Fn=r}let Ge=null,Lt=!1;function Xr(r){Ge=r}let Qe=null;function Et(r){Qe=r}let et=null;function Mu(r){Ge!==null&&(et===null?et=[r]:et.push(r))}let rt=null,mt=0,St=null;function Jf(r){St=r}let zu=1,Po=0,ca=Po;function qu(r){ca=r}function Ou(){return++zu}function Na(r){var e=r.f;if((e&$r)!==0)return!0;if(e&Hr&&(r.f&=-32769),(e&Wt)!==0){for(var t=r.deps,n=t.length,a=0;a<n;a++){var i=t[a];if(Na(i)&&pu(i),i.wv>r.wv)return!0}(e&wt)!==0&&Yr===null&&Lr(r,Wr)}return!1}function Lu(r,e,t=!0){var n=r.reactions;if(n!==null&&!(et!=null&&et.includes(r)))for(var a=0;a<n.length;a++){var i=n[a];(i.f&Hr)!==0?Lu(i,e,!1):e===i&&(t?Lr(i,$r):(i.f&Wr)!==0&&Lr(i,Wt),mn(i))}}function Nu(r){var f;var e=rt,t=mt,n=St,a=Ge,i=et,s=lr,c=Lt,l=ca,u=r.f;rt=null,mt=0,St=null,Ge=(u&(_n|In))===0?r:null,et=null,Fa(r.ctx),Lt=!1,ca=++Po,r.ac!==null&&(Oa(()=>{r.ac.abort(Da)}),r.ac=null);try{r.f|=As;var d=r.fn,p=d(),_=r.deps;if(rt!==null){var h;if(Pi(r,mt),_!==null&&mt>0)for(_.length=mt+rt.length,h=0;h<rt.length;h++)_[mt+h]=rt[h];else r.deps=_=rt;if(ki()&&(r.f&wt)!==0)for(h=mt;h<_.length;h++)((f=_[h]).reactions??(f.reactions=[])).push(r)}else _!==null&&mt<_.length&&(Pi(r,mt),_.length=mt);if(Ma()&&St!==null&&!Lt&&_!==null&&(r.f&(Hr|Wt|$r))===0)for(h=0;h<St.length;h++)Lu(St[h],r);return a!==null&&a!==r&&(Po++,St!==null&&(n===null?n=St:n.push(...St))),(r.f&Cn)!==0&&(r.f^=Cn),p}catch(b){return tu(b)}finally{r.f^=As,rt=e,mt=t,St=n,Ge=a,et=i,Fa(s),Lt=c,ca=l}}function Qf(r,e){let t=e.reactions;if(t!==null){var n=uf.call(t,r);if(n!==-1){var a=t.length-1;a===0?t=e.reactions=null:(t[n]=t[a],t.pop())}}if(t===null&&(e.f&Hr)!==0&&(rt===null||!rt.includes(e))){var i=e;(i.f&wt)!==0&&(i.f^=wt,i.f&=-32769),qs(i),du(i),Pi(i,0)}}function Pi(r,e){var t=r.deps;if(t!==null)for(var n=e;n<t.length;n++)Qf(r,t[n])}function ja(r){var e=r.f;if((e&gn)===0){Lr(r,Wr);var t=Qe,n=la;Qe=r,la=!0;try{(e&(Ht|Ts))!==0?Zf(r):Su(r),Eu(r);var a=Nu(r);r.teardown=typeof a=="function"?a:null,r.wv=zu;var i;ea&&If&&(r.f&$r)!==0&&r.deps}finally{la=n,Qe=t}}}async function ju(){await Promise.resolve(),Ff()}function o(r){var e=r.f,t=(e&Hr)!==0;if(Ge!==null&&!Lt){var n=Qe!==null&&(Qe.f&gn)!==0;if(!n&&!(et!=null&&et.includes(r))){var a=Ge.deps;if((Ge.f&As)!==0)r.rv<Po&&(r.rv=Po,rt===null&&a!==null&&a[mt]===r?mt++:rt===null?rt=[r]:rt.includes(r)||rt.push(r));else{(Ge.deps??(Ge.deps=[])).push(r);var i=r.reactions;i===null?r.reactions=[Ge]:i.includes(Ge)||i.push(Ge)}}}if(Fn&&An.has(r))return An.get(r);if(t){var s=r;if(Fn){var c=s.v;return((s.f&Wr)===0&&s.reactions!==null||Ru(s))&&(c=Ns(s)),An.set(s,c),c}var l=(s.f&wt)===0&&!Lt&&Ge!==null&&(la||(Ge.f&wt)!==0),u=s.deps===null;Na(s)&&(l&&(s.f|=wt),pu(s)),l&&!u&&Bu(s)}if(Yr!=null&&Yr.has(r))return Yr.get(r);if((r.f&Cn)!==0)throw r.v;return r.v}function Bu(r){if(r.deps!==null){r.f|=wt;for(const e of r.deps)(e.reactions??(e.reactions=[])).push(r),(e.f&Hr)!==0&&(e.f&wt)===0&&Bu(e)}}function Ru(r){if(r.v===Tr)return!0;if(r.deps===null)return!1;for(const e of r.deps)if(An.has(e)||(e.f&Hr)!==0&&Ru(e))return!0;return!1}function Ue(r){var e=Lt;try{return Lt=!0,r()}finally{Lt=e}}function $f(r,e){var t={};for(var n in r)e.includes(n)||(t[n]=r[n]);for(var a of Object.getOwnPropertySymbols(r))Object.propertyIsEnumerable.call(r,a)&&!e.includes(a)&&(t[a]=r[a]);return t}function We(r){if(!(typeof r!="object"||!r||r instanceof EventTarget)){if(Gt in r)Vs(r);else if(!Array.isArray(r))for(let e in r){const t=r[e];typeof t=="object"&&t&&Gt in t&&Vs(t)}}}function Vs(r,e=new Set){if(typeof r=="object"&&r!==null&&!(r instanceof EventTarget)&&!e.has(r)){e.add(r),r instanceof Date&&r.getTime();for(let n in r)try{Vs(r[n],e)}catch{}const t=Cs(r);if(t!==Object.prototype&&t!==Array.prototype&&t!==Map.prototype&&t!==Set.prototype&&t!==Date.prototype){const n=Wc(t);for(let a in n){const i=n[a].get;if(i)try{i.call(r)}catch{}}}}}const Uu=new Set,Hs=new Set;function Ws(r,e,t,n={}){function a(i){if(n.capture||xo.call(e,i),!i.cancelBubble)return Oa(()=>t==null?void 0:t.call(this,i))}return r.startsWith("pointer")||r.startsWith("touch")||r==="wheel"?Tn(()=>{e.addEventListener(r,a,n)}):e.addEventListener(r,a,n),a}function em(r,e,t,n={}){var a=Ws(e,r,t,n);return()=>{r.removeEventListener(e,a,n)}}function Br(r,e,t,n,a){var i={capture:n,passive:a},s=Ws(r,e,t,i);(e===document.body||e===window||e===document||e instanceof HTMLMediaElement)&&La(()=>{e.removeEventListener(r,s,i)})}function Zt(r){for(var e=0;e<r.length;e++)Uu.add(r[e]);for(var t of Hs)t(r)}let Vu=null;function xo(r){var v;var e=this,t=e.ownerDocument,n=r.type,a=((v=r.composedPath)==null?void 0:v.call(r))||[],i=a[0]||r.target;Vu=r;var s=0,c=Vu===r&&r.__root;if(c){var l=a.indexOf(c);if(l!==-1&&(e===document||e===window)){r.__root=e;return}var u=a.indexOf(e);if(u===-1)return;l<=u&&(s=l)}if(i=a[s]||r.target,i!==e){Hc(r,"currentTarget",{configurable:!0,get(){return i||t}});var d=Ge,p=Qe;Xr(null),Et(null);try{for(var _,h=[];i!==null;){var f=i.assignedSlot||i.parentNode||i.host||null;try{var b=i["__"+n];b!=null&&(!i.disabled||r.target===i)&&b.call(i,r)}catch(m){_?h.push(m):_=m}if(r.cancelBubble||f===e||f===null)break;i=f}if(_){for(let m of h)queueMicrotask(()=>{throw m});throw _}}finally{r.__root=e,delete r.currentTarget,Xr(d),Et(p)}}}function Ys(r){var e=document.createElement("template");return e.innerHTML=r.replaceAll("<!>","<!---->"),e.content}function Mn(r,e){var t=Qe;t.nodes===null&&(t.nodes={start:r,end:e,a:null,t:null})}function R(r,e){var t=(e&fo)!==0,n=(e&ui)!==0,a,i=!r.startsWith("<!>");return()=>{a===void 0&&(a=Ys(i?r:"<!>"+r),t||(a=ft(a)));var s=n||hu?document.importNode(a,!0):a.cloneNode(!0);if(t){var c=ft(s),l=s.lastChild;Mn(c,l)}else Mn(s,s);return s}}function rm(r,e,t="svg"){var n=!r.startsWith("<!>"),a=(e&fo)!==0,i=`<${t}>${n?r:"<!>"+r}</${t}>`,s;return()=>{if(!s){var c=Ys(i),l=ft(c);if(a)for(s=document.createDocumentFragment();ft(l);)s.appendChild(ft(l));else s=ft(l)}var u=s.cloneNode(!0);if(a){var d=ft(u),p=u.lastChild;Mn(d,p)}else Mn(u,u);return u}}function Dr(r,e){return rm(r,e,"svg")}function ze(r=""){{var e=Xt(r+"");return Mn(e,e),e}}function Te(){var r=document.createDocumentFragment(),e=document.createComment(""),t=Xt();return r.append(e,t),Mn(e,t),r}function E(r,e){r!==null&&r.before(e)}function tm(r){return r.endsWith("capture")&&r!=="gotpointercapture"&&r!=="lostpointercapture"}const nm=["beforeinput","click","change","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"];function am(r){return nm.includes(r)}const om={formnovalidate:"formNoValidate",ismap:"isMap",nomodule:"noModule",playsinline:"playsInline",readonly:"readOnly",defaultvalue:"defaultValue",defaultchecked:"defaultChecked",srcobject:"srcObject",novalidate:"noValidate",allowfullscreen:"allowFullscreen",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback"};function im(r){return r=r.toLowerCase(),om[r]??r}const sm=["touchstart","touchmove"];function lm(r){return sm.includes(r)}let xi=!0;function Ei(r){xi=r}function ge(r,e){var t=e==null?"":typeof e=="object"?e+"":e;t!==(r.__t??(r.__t=r.nodeValue))&&(r.__t=t,r.nodeValue=t+"")}function ua(r,e){return cm(r,e)}const Ba=new Map;function cm(r,{target:e,anchor:t,props:n={},events:a,context:i,intro:s=!0}){Rf();var c=new Set,l=p=>{for(var _=0;_<p.length;_++){var h=p[_];if(!c.has(h)){c.add(h);var f=lm(h);e.addEventListener(h,xo,{passive:f});var b=Ba.get(h);b===void 0?(document.addEventListener(h,xo,{passive:f}),Ba.set(h,1)):Ba.set(h,b+1)}}};l(pi(Uu)),Hs.add(l);var u=void 0,d=Kf(()=>{var p=t??e.appendChild(Xt());return cu(p,{pending:()=>{}},_=>{if(i){fe({});var h=lr;h.c=i}a&&(n.$$events=a),xi=s,u=r(_,n)||{},xi=!0,i&&me()}),()=>{var f;for(var _ of c){e.removeEventListener(_,xo);var h=Ba.get(_);--h===0?(document.removeEventListener(_,xo),Ba.delete(_)):Ba.set(_,h)}Hs.delete(l),p!==t&&((f=p.parentNode)==null||f.removeChild(p))}});return Gs.set(u,d),u}let Gs=new WeakMap;function Eo(r,e){const t=Gs.get(r);return t?(Gs.delete(r),t(e)):Promise.resolve()}class So{constructor(e,t=!0){re(this,"anchor");Be(this,Rt,new Map);Be(this,dn,new Map);Be(this,bt,new Map);Be(this,Ia,new Set);Be(this,ri,!0);Be(this,ti,()=>{var e=rr;if(W(this,Rt).has(e)){var t=W(this,Rt).get(e),n=W(this,dn).get(t);if(n)Us(n),W(this,Ia).delete(t);else{var a=W(this,bt).get(t);a&&(W(this,dn).set(t,a.effect),W(this,bt).delete(t),a.fragment.lastChild.remove(),this.anchor.before(a.fragment),n=a.effect)}for(const[i,s]of W(this,Rt)){if(W(this,Rt).delete(i),i===e)break;const c=W(this,bt).get(s);c&&(jr(c.effect),W(this,bt).delete(s))}for(const[i,s]of W(this,dn)){if(i===t||W(this,Ia).has(i))continue;const c=()=>{if(Array.from(W(this,Rt).values()).includes(i)){var u=document.createDocumentFragment();Au(s,u),u.append(Xt()),W(this,bt).set(i,{effect:s,fragment:u})}else jr(s);W(this,Ia).delete(i),W(this,dn).delete(i)};W(this,ri)||!n?(W(this,Ia).add(i),sa(s,c,!1)):c()}}});Be(this,bs,e=>{W(this,Rt).delete(e);const t=Array.from(W(this,Rt).values());for(const[n,a]of W(this,bt))t.includes(n)||(jr(a.effect),W(this,bt).delete(n))});this.anchor=e,Ne(this,ri,t)}ensure(e,t){var n=rr,a=bu();if(t&&!W(this,dn).has(e)&&!W(this,bt).has(e))if(a){var i=document.createDocumentFragment(),s=Xt();i.append(s),W(this,bt).set(e,{effect:ot(()=>t(s)),fragment:i})}else W(this,dn).set(e,ot(()=>t(this.anchor)));if(W(this,Rt).set(n,e),a){for(const[c,l]of W(this,dn))c===e?n.skipped_effects.delete(l):n.skipped_effects.add(l);for(const[c,l]of W(this,bt))c===e?n.skipped_effects.delete(l.effect):n.skipped_effects.add(l.effect);n.oncommit(W(this,ti)),n.ondiscard(W(this,bs))}else W(this,ti).call(this)}}Rt=new WeakMap,dn=new WeakMap,bt=new WeakMap,Ia=new WeakMap,ri=new WeakMap,ti=new WeakMap,bs=new WeakMap;function Pr(r,e,...t){var n=new So(r);ia(()=>{const a=e()??null;n.ensure(a,a&&(i=>a(i,...t)))},Yt)}function xr(r){lr===null&&Ms(),Aa&&lr.l!==null?um(lr).m.push(r):ir(()=>{const e=Ue(r);if(typeof e=="function")return e})}function Nt(r){lr===null&&Ms(),xr(()=>()=>Ue(r))}function um(r){var e=r.l;return e.u??(e.u={a:[],b:[],m:[]})}function H(r,e,t=!1){var n=new So(r),a=t?Yt:0;function i(s,c){n.ensure(s,c)}ia(()=>{var s=!1;e((c,l=!0)=>{s=!0,i(l,c)}),s||i(!1,null)},a)}function Hu(r,e,t){var n=new So(r),a=!Ma();ia(()=>{var i=e();a&&i!==null&&typeof i=="object"&&(i={}),n.ensure(i,t)})}function hn(r,e){return e}function dm(r,e,t){for(var n=[],a=e.length,i,s=e.length,c=0;c<a;c++){let p=e[c];sa(p,()=>{if(i){if(i.pending.delete(p),i.done.add(p),i.pending.size===0){var _=r.outrogroups;Ks(pi(i.done)),_.delete(i),_.size===0&&(r.outrogroups=null)}}else s-=1},!1)}if(s===0){var l=n.length===0&&t!==null;if(l){var u=t,d=u.parentNode;Uf(d),d.append(u),r.items.clear()}Ks(e,!l)}else i={pending:new Set(e),done:new Set},(r.outrogroups??(r.outrogroups=new Set)).add(i)}function Ks(r,e=!0){for(var t=0;t<r.length;t++)jr(r[t],e)}var Wu;function Jt(r,e,t,n,a,i=null){var s=r,c=new Map,l=(e&wr)!==0;if(l){var u=r;s=u.appendChild(Xt())}var d=null,p=Dn(()=>{var m=t();return di(m)?m:m==null?[]:pi(m)}),_,h=!0;function f(){v.fallback=d,pm(v,_,s,e,n),d!==null&&(_.length===0?(d.f&fn)===0?Us(d):(d.f^=fn,Io(d,null,s)):sa(d,()=>{d=null}))}var b=ia(()=>{_=o(p);for(var m=_.length,k=new Set,x=rr,y=bu(),w=0;w<m;w+=1){var P=_[w],S=n(P,w),T=h?null:c.get(S);T?(T.v&&qa(T.v,P),T.i&&qa(T.i,w),y&&x.skipped_effects.delete(T.e)):(T=_m(c,h?s:Wu??(Wu=Xt()),P,S,w,a,e,t),h||(T.e.f|=fn),c.set(S,T)),k.add(S)}if(m===0&&i&&!d&&(h?d=ot(()=>i(s)):(d=ot(()=>i(Wu??(Wu=Xt()))),d.f|=fn)),!h)if(y){for(const[I,A]of c)k.has(I)||x.skipped_effects.add(A.e);x.oncommit(f),x.ondiscard(()=>{})}else f();o(p)}),v={effect:b,items:c,outrogroups:null,fallback:d};h=!1}function pm(r,e,t,n,a){var A,C,L,q,j,Y,N,M,z;var i=(n&Vr)!==0,s=e.length,c=r.items,l=r.effect.first,u,d=null,p,_=[],h=[],f,b,v,m;if(i)for(m=0;m<s;m+=1)f=e[m],b=a(f,m),v=c.get(b).e,(v.f&fn)===0&&((C=(A=v.nodes)==null?void 0:A.a)==null||C.measure(),(p??(p=new Set)).add(v));for(m=0;m<s;m+=1){if(f=e[m],b=a(f,m),v=c.get(b).e,r.outrogroups!==null)for(const U of r.outrogroups)U.pending.delete(v),U.done.delete(v);if((v.f&fn)!==0)if(v.f^=fn,v===l)Io(v,null,t);else{var k=d?d.next:l;v===r.effect.last&&(r.effect.last=v.prev),v.prev&&(v.prev.next=v.next),v.next&&(v.next.prev=v.prev),zn(r,d,v),zn(r,v,k),Io(v,k,t),d=v,_=[],h=[],l=d.next;continue}if((v.f&gt)!==0&&(Us(v),i&&((q=(L=v.nodes)==null?void 0:L.a)==null||q.unfix(),(p??(p=new Set)).delete(v))),v!==l){if(u!==void 0&&u.has(v)){if(_.length<h.length){var x=h[0],y;d=x.prev;var w=_[0],P=_[_.length-1];for(y=0;y<_.length;y+=1)Io(_[y],x,t);for(y=0;y<h.length;y+=1)u.delete(h[y]);zn(r,w.prev,P.next),zn(r,d,w),zn(r,P,x),l=x,d=P,m-=1,_=[],h=[]}else u.delete(v),Io(v,l,t),zn(r,v.prev,v.next),zn(r,v,d===null?r.effect.first:d.next),zn(r,d,v),d=v;continue}for(_=[],h=[];l!==null&&l!==v;)(u??(u=new Set)).add(l),h.push(l),l=l.next;if(l===null)continue}(v.f&fn)===0&&_.push(v),d=v,l=v.next}if(r.outrogroups!==null){for(const U of r.outrogroups)U.pending.size===0&&(Ks(pi(U.done)),(j=r.outrogroups)==null||j.delete(U));r.outrogroups.size===0&&(r.outrogroups=null)}if(l!==null||u!==void 0){var S=[];if(u!==void 0)for(v of u)(v.f&gt)===0&&S.push(v);for(;l!==null;)(l.f&gt)===0&&l!==r.fallback&&S.push(l),l=l.next;var T=S.length;if(T>0){var I=(n&wr)!==0&&s===0?t:null;if(i){for(m=0;m<T;m+=1)(N=(Y=S[m].nodes)==null?void 0:Y.a)==null||N.measure();for(m=0;m<T;m+=1)(z=(M=S[m].nodes)==null?void 0:M.a)==null||z.fix()}dm(r,S,I)}}i&&Tn(()=>{var U,O;if(p!==void 0)for(v of p)(O=(U=v.nodes)==null?void 0:U.a)==null||O.apply()})}function _m(r,e,t,n,a,i,s,c){var l=(s&Je)!==0?(s&Vt)===0?cr(t,!1,!1):na(t):null,u=(s&pt)!==0?na(a):null;return{v:l,i:u,e:ot(()=>(i(e,l??t,u??a,c),()=>{r.delete(n)}))}}function Io(r,e,t){if(r.nodes)for(var n=r.nodes.start,a=r.nodes.end,i=e&&(e.f&fn)===0?e.nodes.start:t;n!==null;){var s=wo(n);if(i.before(n),n===a)return;n=s}}function zn(r,e,t){e===null?r.effect.first=t:e.next=t,t===null?r.effect.last=e:t.prev=e}function vn(r,e,t=!1,n=!1,a=!1){var i=r,s="";V(()=>{var c=Qe;if(s!==(s=e()??"")&&(c.nodes!==null&&(Iu(c.nodes.start,c.nodes.end),c.nodes=null),s!=="")){var l=s+"";t?l=`<svg>${l}</svg>`:n&&(l=`<math>${l}</math>`);var u=Ys(l);if((t||n)&&(u=ft(u)),Mn(ft(u),u.lastChild),t||n)for(;ft(u);)i.before(ft(u));else i.before(u)}})}function gm(r,e,t){var n=new So(r);ia(()=>{var a=e()??null;n.ensure(a,a&&(i=>t(i,a)))},Yt)}const fm=()=>performance.now(),yn={tick:r=>requestAnimationFrame(r),now:()=>fm(),tasks:new Set};function Yu(){const r=yn.now();yn.tasks.forEach(e=>{e.c(r)||(yn.tasks.delete(e),e.f())}),yn.tasks.size!==0&&yn.tick(Yu)}function mm(r){let e;return yn.tasks.size===0&&yn.tick(Yu),{promise:new Promise(t=>{yn.tasks.add(e={c:r,f:t})}),abort(){yn.tasks.delete(e)}}}function Si(r,e){Oa(()=>{r.dispatchEvent(new CustomEvent(e))})}function hm(r){if(r==="float")return"cssFloat";if(r==="offset")return"cssOffset";if(r.startsWith("--"))return r;const e=r.split("-");return e.length===1?e[0]:e[0]+e.slice(1).map(t=>t[0].toUpperCase()+t.slice(1)).join("")}function Gu(r){const e={},t=r.split(";");for(const n of t){const[a,i]=n.split(":");if(!a||i===void 0)break;const s=hm(a.trim());e[s]=i.trim()}return e}const vm=r=>r;function Ku(r,e,t,n){var x;var a=(r&_o)!==0,i=(r&kt)!==0,s=a&&i,c=(r&go)!==0,l=s?"both":a?"in":"out",u,d=e.inert,p=e.style.overflow,_,h;function f(){return Oa(()=>u??(u=t()(e,(n==null?void 0:n())??{},{direction:l})))}var b={is_global:c,in(){var y;if(e.inert=d,!a){h==null||h.abort(),(y=h==null?void 0:h.reset)==null||y.call(h);return}i||_==null||_.abort(),Si(e,"introstart"),_=Xs(e,f(),h,1,()=>{Si(e,"introend"),_==null||_.abort(),_=u=void 0,e.style.overflow=p})},out(y){if(!i){y==null||y(),u=void 0;return}e.inert=!0,Si(e,"outrostart"),h=Xs(e,f(),_,0,()=>{Si(e,"outroend"),y==null||y()})},stop:()=>{_==null||_.abort(),h==null||h.abort()}},v=Qe;if(((x=v.nodes).t??(x.t=[])).push(b),a&&xi){var m=c;if(!m){for(var k=v.parent;k&&(k.f&Yt)!==0;)for(;(k=k.parent)&&(k.f&Ht)===0;);m=!k||(k.f&mi)!==0}m&&aa(()=>{Ue(()=>b.in())})}}function Xs(r,e,t,n,a){var i=n===1;if(Ta(e)){var s,c=!1;return Tn(()=>{if(!c){var v=e({direction:i?"in":"out"});s=Xs(r,v,t,n,a)}}),{abort:()=>{c=!0,s==null||s.abort()},deactivate:()=>s.deactivate(),reset:()=>s.reset(),t:()=>s.t()}}if(t==null||t.deactivate(),!(e!=null&&e.duration))return a(),{abort:tr,deactivate:tr,reset:tr,t:()=>n};const{delay:l=0,css:u,tick:d,easing:p=vm}=e;var _=[];if(i&&t===void 0&&(d&&d(0,1),u)){var h=Gu(u(0,1));_.push(h,h)}var f=()=>1-n,b=r.animate(_,{duration:l,fill:"forwards"});return b.onfinish=()=>{b.cancel();var v=(t==null?void 0:t.t())??1-n;t==null||t.abort();var m=n-v,k=e.duration*Math.abs(m),x=[];if(k>0){var y=!1;if(u)for(var w=Math.ceil(k/16.666666666666668),P=0;P<=w;P+=1){var S=v+m*p(P/w),T=Gu(u(S,1-S));x.push(T),y||(y=T.overflow==="hidden")}y&&(r.style.overflow="hidden"),f=()=>{var I=b.currentTime;return v+m*p(I/k)},d&&mm(()=>{if(b.playState!=="running")return!1;var I=f();return d(I,1-I),!0})}b=r.animate(x,{duration:k,fill:"forwards"}),b.onfinish=()=>{f=()=>n,d==null||d(n,1-n),a()}},{abort:()=>{b&&(b.cancel(),b.effect=null,b.onfinish=tr)},deactivate:()=>{a=tr},reset:()=>{n===0&&(d==null||d(1,0))},t:()=>f()}}function Zs(r,e,t,n,a,i){var s=null,c=r,l=new So(c,!1);ia(()=>{const u=e()||null;var d=u==="svg"?mo:null;if(u===null){l.ensure(null,null),Ei(!0);return}return l.ensure(u,p=>{if(u){if(s=d?document.createElementNS(d,u):document.createElement(u),Mn(s,s),n){var _=s.appendChild(Xt());n(s,_)}Qe.nodes.end=s,p.before(s)}}),Ei(!0),()=>{u&&Ei(!1)}},Yt),La(()=>{Ei(!0)})}function we(r,e){aa(()=>{var t=r.getRootNode(),n=t.host?t:t.head??t.ownerDocument.head;if(!n.querySelector("#"+e.hash)){const a=document.createElement("style");a.id=e.hash,a.textContent=e.code,n.appendChild(a)}})}function ym(r,e,t){aa(()=>{var n=Ue(()=>e(r,t==null?void 0:t())||{});if(t&&(n!=null&&n.update)){var a=!1,i={};oa(()=>{var s=t();We(s),a&&zs(i,s)&&(i=s,n.update(s))}),a=!0}if(n!=null&&n.destroy)return()=>n.destroy()})}function bm(r,e){var t=void 0,n;xu(()=>{t!==(t=e())&&(n&&(jr(n),n=null),t&&(n=ot(()=>{aa(()=>t(r))})))})}function Xu(r){var e,t,n="";if(typeof r=="string"||typeof r=="number")n+=r;else if(typeof r=="object")if(Array.isArray(r)){var a=r.length;for(e=0;e<a;e++)r[e]&&(t=Xu(r[e]))&&(n&&(n+=" "),n+=t)}else for(t in r)r[t]&&(n&&(n+=" "),n+=t);return n}function km(){for(var r,e,t=0,n="",a=arguments.length;t<a;t++)(r=arguments[t])&&(e=Xu(r))&&(n&&(n+=" "),n+=e);return n}function da(r){return typeof r=="object"?km(r):r??""}const Zu=[...`
2
+ \r\f \v\uFEFF`];function wm(r,e,t){var n=r==null?"":""+r;if(e&&(n=n?n+" "+e:e),t){for(var a in t)if(t[a])n=n?n+" "+a:a;else if(n.length)for(var i=a.length,s=0;(s=n.indexOf(a,s))>=0;){var c=s+i;(s===0||Zu.includes(n[s-1]))&&(c===n.length||Zu.includes(n[c]))?n=(s===0?"":n.substring(0,s))+n.substring(c+1):s=c}}return n===""?null:n}function Ju(r,e=!1){var t=e?" !important;":";",n="";for(var a in r){var i=r[a];i!=null&&i!==""&&(n+=" "+a+": "+i+t)}return n}function Js(r){return r[0]!=="-"||r[1]!=="-"?r.toLowerCase():r}function Pm(r,e){if(e){var t="",n,a;if(Array.isArray(e)?(n=e[0],a=e[1]):n=e,r){r=String(r).replaceAll(/\s*\/\*.*?\*\/\s*/g,"").trim();var i=!1,s=0,c=!1,l=[];n&&l.push(...Object.keys(n).map(Js)),a&&l.push(...Object.keys(a).map(Js));var u=0,d=-1;const b=r.length;for(var p=0;p<b;p++){var _=r[p];if(c?_==="/"&&r[p-1]==="*"&&(c=!1):i?i===_&&(i=!1):_==="/"&&r[p+1]==="*"?c=!0:_==='"'||_==="'"?i=_:_==="("?s++:_===")"&&s--,!c&&i===!1&&s===0){if(_===":"&&d===-1)d=p;else if(_===";"||p===b-1){if(d!==-1){var h=Js(r.substring(u,d).trim());if(!l.includes(h)){_!==";"&&p++;var f=r.substring(u,p).trim();t+=" "+f+";"}}u=p+1,d=-1}}}}return n&&(t+=Ju(n)),a&&(t+=Ju(a,!0)),t=t.trim(),t===""?null:t}return r==null?null:String(r)}function ur(r,e,t,n,a,i){var s=r.__className;if(s!==t||s===void 0){var c=wm(t,n,i);c==null?r.removeAttribute("class"):e?r.className=c:r.setAttribute("class",c),r.__className=t}else if(i&&a!==i)for(var l in i){var u=!!i[l];(a==null||u!==!!a[l])&&r.classList.toggle(l,u)}return i}function Qs(r,e={},t,n){for(var a in t){var i=t[a];e[a]!==i&&(t[a]==null?r.style.removeProperty(a):r.style.setProperty(a,i,n))}}function Oe(r,e,t,n){var a=r.__style;if(a!==e){var i=Pm(e,n);i==null?r.removeAttribute("style"):r.style.cssText=i,r.__style=e}else n&&(Array.isArray(n)?(Qs(r,t==null?void 0:t[0],n[0]),Qs(r,t==null?void 0:t[1],n[1],"important")):Qs(r,t,n));return n}function $s(r,e,t=!1){if(r.multiple){if(e==null)return;if(!di(e))return Ef();for(var n of r.options)n.selected=e.includes(Qu(n));return}for(n of r.options){var a=Qu(n);if(Bf(a,e)){n.selected=!0;return}}(!t||e!==void 0)&&(r.selectedIndex=-1)}function xm(r){var e=new MutationObserver(()=>{$s(r,r.__value)});e.observe(r,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["value"]}),La(()=>{e.disconnect()})}function Qu(r){return"__value"in r?r.__value:r.value}const Co=Symbol("class"),To=Symbol("style"),$u=Symbol("is custom element"),ed=Symbol("is html");function Em(r,e){var t=rl(r);t.checked!==(t.checked=e??void 0)&&(r.checked=e)}function Sm(r,e){e?r.hasAttribute("selected")||r.setAttribute("selected",""):r.removeAttribute("selected")}function ke(r,e,t,n){var a=rl(r);a[e]!==(a[e]=t)&&(e==="loading"&&(r[gf]=t),t==null?r.removeAttribute(e):typeof t!="string"&&td(r).includes(e)?r[e]=t:r.setAttribute(e,t))}function Im(r,e,t,n,a=!1,i=!1){var s=rl(r),c=s[$u],l=!s[ed],u=e||{},d=r.tagName==="OPTION";for(var p in e)p in t||(t[p]=null);t.class?t.class=da(t.class):(n||t[Co])&&(t.class=null),t[To]&&(t.style??(t.style=null));var _=td(r);for(const x in t){let y=t[x];if(d&&x==="value"&&y==null){r.value=r.__value="",u[x]=y;continue}if(x==="class"){var h=r.namespaceURI==="http://www.w3.org/1999/xhtml";ur(r,h,y,n,e==null?void 0:e[Co],t[Co]),u[x]=y,u[Co]=t[Co];continue}if(x==="style"){Oe(r,y,e==null?void 0:e[To],t[To]),u[x]=y,u[To]=t[To];continue}var f=u[x];if(!(y===f&&!(y===void 0&&r.hasAttribute(x)))){u[x]=y;var b=x[0]+x[1];if(b!=="$$")if(b==="on"){const w={},P="$$"+x;let S=x.slice(2);var v=am(S);if(tm(S)&&(S=S.slice(0,-7),w.capture=!0),!v&&f){if(y!=null)continue;r.removeEventListener(S,u[P],w),u[P]=null}if(y!=null)if(v)r[`__${S}`]=y,Zt([S]);else{let T=function(I){u[x].call(this,I)};u[P]=Ws(S,r,T,w)}else v&&(r[`__${S}`]=void 0)}else if(x==="style")ke(r,x,y);else if(x==="autofocus")Vf(r,!!y);else if(!c&&(x==="__value"||x==="value"&&y!=null))r.value=r.__value=y;else if(x==="selected"&&d)Sm(r,y);else{var m=x;l||(m=im(m));var k=m==="defaultValue"||m==="defaultChecked";if(y==null&&!c&&!k)if(s[x]=null,m==="value"||m==="checked"){let w=r;const P=e===void 0;if(m==="value"){let S=w.defaultValue;w.removeAttribute(m),w.defaultValue=S,w.value=w.__value=P?S:null}else{let S=w.defaultChecked;w.removeAttribute(m),w.defaultChecked=S,w.checked=P?S:!1}}else r.removeAttribute(x);else k||_.includes(m)&&(c||typeof y!="string")?(r[m]=y,m in s&&(s[m]=Tr)):typeof y!="function"&&ke(r,m,y)}}}return u}function el(r,e,t=[],n=[],a=[],i,s=!1,c=!1){uu(a,t,n,l=>{var u=void 0,d={},p=r.nodeName==="SELECT",_=!1;if(xu(()=>{var f=e(...l.map(o)),b=Im(r,u,f,i,s,c);_&&p&&"value"in f&&$s(r,f.value);for(let m of Object.getOwnPropertySymbols(d))f[m]||jr(d[m]);for(let m of Object.getOwnPropertySymbols(f)){var v=f[m];m.description===Qr&&(!u||v!==u[m])&&(d[m]&&jr(d[m]),d[m]=ot(()=>bm(r,()=>v))),b[m]=v}u=b}),p){var h=r;aa(()=>{$s(h,u.value,!0),xm(h)})}_=!0})}function rl(r){return r.__attributes??(r.__attributes={[$u]:r.nodeName.includes("-"),[ed]:r.namespaceURI===_t})}var rd=new Map;function td(r){var e=r.getAttribute("is")||r.nodeName,t=rd.get(e);if(t)return t;rd.set(e,t=[]);for(var n,a=r,i=Element.prototype;i!==a;){n=Wc(a);for(var s in n)n[s].set&&t.push(s);a=Cs(a)}return t}function Cm(r,e,t=e){var n=new WeakSet;Wf(r,"input",async a=>{var i=a?r.defaultValue:r.value;if(i=tl(r)?nl(i):i,t(i),rr!==null&&n.add(rr),await ju(),i!==(i=e())){var s=r.selectionStart,c=r.selectionEnd,l=r.value.length;if(r.value=i??"",c!==null){var u=r.value.length;s===c&&c===l&&u>l?(r.selectionStart=u,r.selectionEnd=u):(r.selectionStart=s,r.selectionEnd=Math.min(c,u))}}}),Ue(e)==null&&r.value&&(t(tl(r)?nl(r.value):r.value),rr!==null&&n.add(rr)),oa(()=>{var a=e();if(r===document.activeElement){var i=vi??rr;if(n.has(i))return}tl(r)&&a===nl(r.value)||r.type==="date"&&!a&&!r.value||a!==r.value&&(r.value=a??"")})}function tl(r){var e=r.type;return e==="number"||e==="range"}function nl(r){return r===""?null:+r}const ws=class ws{constructor(e){Be(this,ks);Be(this,Jn,new WeakMap);Be(this,ao);Be(this,ni);Ne(this,ni,e)}observe(e,t){var n=W(this,Jn).get(e)||new Set;return n.add(t),W(this,Jn).set(e,n),pr(this,ks,cf).call(this).observe(e,W(this,ni)),()=>{var a=W(this,Jn).get(e);a.delete(t),a.size===0&&(W(this,Jn).delete(e),W(this,ao).unobserve(e))}}};Jn=new WeakMap,ao=new WeakMap,ni=new WeakMap,ks=new WeakSet,cf=function(){return W(this,ao)??Ne(this,ao,new ResizeObserver(e=>{for(var t of e){ws.entries.set(t.target,t);for(var n of W(this,Jn).get(t.target)||[])n(t)}}))},re(ws,"entries",new WeakMap);let Ii=ws;var Tm=new Ii({box:"content-box"}),Dm=new Ii({box:"border-box"});function nd(r,e,t){var n=Tm,a=n.observe(r,i=>t(i[e]));La(a)}function Do(r,e,t){var n=Dm.observe(r,()=>t(r[e]));aa(()=>(Ue(()=>t(r[e])),n))}function ad(r,e){return r===e||(r==null?void 0:r[Gt])===e}function pa(r={},e,t,n){return aa(()=>{var a,i;return oa(()=>{a=i,i=[],Ue(()=>{r!==t(...i)&&(e(r,...i),a&&ad(t(...a),r)&&e(null,...a))})}),()=>{Tn(()=>{i&&ad(t(...i),r)&&e(null,...i)})}}),r}function qn(r=!1){const e=lr,t=e.l.u;if(!t)return;let n=()=>We(e.s);if(r){let a=0,i={};const s=bo(()=>{let c=!1;const l=e.s;for(const u in l)l[u]!==i[u]&&(i[u]=l[u],c=!0);return c&&a++,a});n=()=>o(s)}t.b.length&&Bs(()=>{od(e,n),_i(t.b)}),ir(()=>{const a=Ue(()=>t.m.map(_f));return()=>{for(const i of a)typeof i=="function"&&i()}}),t.a.length&&ir(()=>{od(e,n),_i(t.a)})}function od(r,e){if(r.l.s)for(const t of r.l.s)o(t);e()}function id(r,e){var i;var t=(i=r.$$events)==null?void 0:i[e.type],n=di(t)?t.slice():t==null?[]:[t];for(var a of n)a.call(this,e)}function al(r,e,t){if(r==null)return e(void 0),t&&t(void 0),tr;const n=Ue(()=>r.subscribe(e,t));return n.unsubscribe?()=>n.unsubscribe():n}const Ra=[];function it(r,e){return{subscribe:br(r,e).subscribe}}function br(r,e=tr){let t=null;const n=new Set;function a(c){if(zs(r,c)&&(r=c,t)){const l=!Ra.length;for(const u of n)u[1](),Ra.push(u,r);if(l){for(let u=0;u<Ra.length;u+=2)Ra[u][0](Ra[u+1]);Ra.length=0}}}function i(c){a(c(r))}function s(c,l=tr){const u=[c,l];return n.add(u),n.size===1&&(t=e(a,i)||tr),c(r),()=>{n.delete(u),n.size===0&&t&&(t(),t=null)}}return{set:a,update:i,subscribe:s}}function jt(r,e,t){const n=!Array.isArray(r),a=n?[r]:r;if(!a.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const i=e.length<2;return it(t,(s,c)=>{let l=!1;const u=[];let d=0,p=tr;const _=()=>{if(d)return;p();const f=e(n?u[0]:u,s,c);i?s(f):p=typeof f=="function"?f:tr},h=a.map((f,b)=>al(f,v=>{u[b]=v,d&=~(1<<b),l&&_()},()=>{d|=1<<b}));return l=!0,_(),function(){_i(h),p(),l=!1}})}function Ao(r){let e;return al(r,t=>e=t)(),e}let Ci=!1,ol=Symbol();function Re(r,e,t){const n=t[e]??(t[e]={store:null,source:cr(void 0),unsubscribe:tr});if(n.store!==r&&!(ol in t))if(n.unsubscribe(),n.store=r??null,r==null)n.source.v=void 0,n.unsubscribe=tr;else{var a=!0;n.unsubscribe=al(r,i=>{a?n.source.v=i:F(n.source,i)}),a=!1}return r&&ol in t?Ao(r):o(n.source)}function Ti(r,e){return r.set(e),e}function Ze(){const r={};function e(){La(()=>{for(var t in r)r[t].unsubscribe();Hc(r,ol,{enumerable:!1,value:!0})})}return[r,e]}function Am(r){var e=Ci;try{return Ci=!1,[r(),Ci]}finally{Ci=e}}const Fm={get(r,e){if(!r.exclude.includes(e))return r.props[e]},set(r,e){return!1},getOwnPropertyDescriptor(r,e){if(!r.exclude.includes(e)&&e in r.props)return{enumerable:!0,configurable:!0,value:r.props[e]}},has(r,e){return r.exclude.includes(e)?!1:e in r.props},ownKeys(r){return Reflect.ownKeys(r.props).filter(e=>!r.exclude.includes(e))}};function Ir(r,e,t){return new Proxy({props:r,exclude:e},Fm)}const Mm={get(r,e){let t=r.props.length;for(;t--;){let n=r.props[t];if(Ta(n)&&(n=n()),typeof n=="object"&&n!==null&&e in n)return n[e]}},set(r,e,t){let n=r.props.length;for(;n--;){let a=r.props[n];Ta(a)&&(a=a());const i=Sn(a,e);if(i&&i.set)return i.set(t),!0}return!1},getOwnPropertyDescriptor(r,e){let t=r.props.length;for(;t--;){let n=r.props[t];if(Ta(n)&&(n=n()),typeof n=="object"&&n!==null&&e in n){const a=Sn(n,e);return a&&!a.configurable&&(a.configurable=!0),a}}},has(r,e){if(e===Gt||e===Jc)return!1;for(let t of r.props)if(Ta(t)&&(t=t()),t!=null&&e in t)return!0;return!1},ownKeys(r){const e=[];for(let t of r.props)if(Ta(t)&&(t=t()),!!t){for(const n in t)e.includes(n)||e.push(n);for(const n of Object.getOwnPropertySymbols(t))e.includes(n)||e.push(n)}return e}};function _r(...r){return new Proxy({props:r},Mm)}function X(r,e,t,n){var x;var a=!Aa||(t&ci)!==0,i=(t&po)!==0,s=(t&sr)!==0,c=n,l=!0,u=()=>(l&&(l=!1,c=s?Ue(n):n),c),d;if(i){var p=Gt in r||Jc in r;d=((x=Sn(r,e))==null?void 0:x.set)??(p&&e in r?y=>r[e]=y:void 0)}var _,h=!1;i?[_,h]=Am(()=>r[e]):_=r[e],_===void 0&&n!==void 0&&(_=u(),d&&(a&&bf(),d(_)));var f;if(a?f=()=>{var y=r[e];return y===void 0?u():(l=!0,y)}:f=()=>{var y=r[e];return y!==void 0&&(c=void 0),y===void 0?c:y},a&&(t&$n)===0)return f;if(d){var b=r.$$legacy;return function(y,w){return arguments.length>0?((!a||!w||b||h)&&d(w?f():y),y):f()}}var v=!1,m=((t&at)!==0?bo:Dn)(()=>(v=!1,f()));i&&o(m);var k=Qe;return function(y,w){if(arguments.length>0){const P=w?o(m):a&&i?ar(y):y;return F(m,P),v=!0,c!==void 0&&(c=P),y}return Fn&&v||(k.f&gn)!==0?m.v:o(m)}}var Le=(r=>(r[r.UnknownError=0]="UnknownError",r[r.UserCancelledError=1]="UserCancelledError",r[r.StoreProblemError=2]="StoreProblemError",r[r.PurchaseNotAllowedError=3]="PurchaseNotAllowedError",r[r.PurchaseInvalidError=4]="PurchaseInvalidError",r[r.ProductNotAvailableForPurchaseError=5]="ProductNotAvailableForPurchaseError",r[r.ProductAlreadyPurchasedError=6]="ProductAlreadyPurchasedError",r[r.ReceiptAlreadyInUseError=7]="ReceiptAlreadyInUseError",r[r.InvalidReceiptError=8]="InvalidReceiptError",r[r.MissingReceiptFileError=9]="MissingReceiptFileError",r[r.NetworkError=10]="NetworkError",r[r.InvalidCredentialsError=11]="InvalidCredentialsError",r[r.UnexpectedBackendResponseError=12]="UnexpectedBackendResponseError",r[r.InvalidAppUserIdError=14]="InvalidAppUserIdError",r[r.OperationAlreadyInProgressError=15]="OperationAlreadyInProgressError",r[r.UnknownBackendError=16]="UnknownBackendError",r[r.InvalidAppleSubscriptionKeyError=17]="InvalidAppleSubscriptionKeyError",r[r.IneligibleError=18]="IneligibleError",r[r.InsufficientPermissionsError=19]="InsufficientPermissionsError",r[r.PaymentPendingError=20]="PaymentPendingError",r[r.InvalidSubscriberAttributesError=21]="InvalidSubscriberAttributesError",r[r.LogOutWithAnonymousUserError=22]="LogOutWithAnonymousUserError",r[r.ConfigurationError=23]="ConfigurationError",r[r.UnsupportedError=24]="UnsupportedError",r[r.EmptySubscriberAttributesError=25]="EmptySubscriberAttributesError",r[r.CustomerInfoError=28]="CustomerInfoError",r[r.SignatureVerificationError=36]="SignatureVerificationError",r[r.InvalidEmailError=38]="InvalidEmailError",r[r.TestStoreSimulatedPurchaseError=42]="TestStoreSimulatedPurchaseError",r))(Le||{});function zm(r){switch(r){case 0:return"Unknown error.";case 1:return"Purchase was cancelled.";case 2:return"There was a problem with the store.";case 3:return"The device or user is not allowed to make the purchase.";case 4:return"One or more of the arguments provided are invalid.";case 5:return"The product is not available for purchase.";case 6:return"This product is already active for the user.";case 7:return"There is already another active subscriber using the same receipt.";case 8:return"The receipt is not valid.";case 9:return"The receipt is missing.";case 10:return"Error performing request. Please check your network connection and try again.";case 11:return"There was a credentials issue. Check the underlying error for more details.";case 12:return"Received unexpected response from the backend.";case 14:return"The app user ID is not valid.";case 15:return"The operation is already in progress.";case 16:return"There was an unknown backend error.";case 17:return"Apple Subscription Key is invalid or not present. In order to provide subscription offers, you must first generate a subscription key. Please see https://docs.revenuecat.com/docs/ios-subscription-offers for more info.";case 18:return"The User is ineligible for that action.";case 19:return"App does not have sufficient permissions to make purchases.";case 20:return"The payment is pending.";case 21:return"One or more of the attributes sent could not be saved.";case 22:return"Called logOut but the current user is anonymous.";case 23:return"There is an issue with your configuration. Check the underlying error for more details.";case 24:return"There was a problem with the operation. Looks like we don't support that yet. Check the underlying error for more details.";case 25:return"A request for subscriber attributes returned none.";case 28:return"There was a problem related to the customer info.";case 36:return"Request failed signature verification. Please see https://rev.cat/trusted-entitlements for more info.";case 38:return"Email is not valid. Please provide a valid email address.";case 42:return"Purchase failure simulated successfully in Test Store."}}class Ua{static getPublicMessage(e){return zm(e)}static getErrorCodeForBackendErrorCode(e){switch(e){case 7101:case 7773:case 7898:case 7899:case 7900:case 7901:return Le.StoreProblemError;case 7102:return Le.ReceiptAlreadyInUseError;case 7103:return Le.InvalidReceiptError;case 7107:case 7224:case 7225:case 7967:return Le.InvalidCredentialsError;case 7105:case 7106:case 7814:case 7877:case 7878:return Le.PurchaseInvalidError;case 7772:return Le.ProductAlreadyPurchasedError;case 7220:return Le.InvalidAppUserIdError;case 7259:return Le.CustomerInfoError;case 7229:return Le.StoreProblemError;case 7230:case 7e3:return Le.ConfigurationError;case 7231:return Le.StoreProblemError;case 7232:return Le.IneligibleError;case 7263:case 7264:return Le.InvalidSubscriberAttributesError;case 7104:case 7234:case 7226:case 7110:return Le.UnexpectedBackendResponseError;case 7662:return Le.UnsupportedError;case 7012:case 7834:case 7879:return Le.InvalidEmailError}}static convertCodeToBackendErrorCode(e){return e in bn?e:null}static convertPurchaseFlowErrorCodeToErrorCode(e){switch(e){case be.ErrorSettingUpPurchase:return Le.StoreProblemError;case be.ErrorChargingPayment:return Le.PaymentPendingError;case be.NetworkError:return Le.NetworkError;case be.MissingEmailError:return Le.PurchaseInvalidError;case be.AlreadyPurchasedError:return Le.ProductAlreadyPurchasedError;case be.InvalidPaddleAPIKeyError:return Le.InvalidCredentialsError;default:return Le.UnknownError}}}var bn=(r=>(r[r.BackendInvalidPlatform=7e3]="BackendInvalidPlatform",r[r.BackendInvalidEmail=7012]="BackendInvalidEmail",r[r.BackendStoreProblem=7101]="BackendStoreProblem",r[r.BackendCannotTransferPurchase=7102]="BackendCannotTransferPurchase",r[r.BackendInvalidReceiptToken=7103]="BackendInvalidReceiptToken",r[r.BackendInvalidAppStoreSharedSecret=7104]="BackendInvalidAppStoreSharedSecret",r[r.BackendInvalidPaymentModeOrIntroPriceNotProvided=7105]="BackendInvalidPaymentModeOrIntroPriceNotProvided",r[r.BackendProductIdForGoogleReceiptNotProvided=7106]="BackendProductIdForGoogleReceiptNotProvided",r[r.BackendInvalidPlayStoreCredentials=7107]="BackendInvalidPlayStoreCredentials",r[r.BackendInternalServerError=7110]="BackendInternalServerError",r[r.BackendEmptyAppUserId=7220]="BackendEmptyAppUserId",r[r.BackendInvalidAuthToken=7224]="BackendInvalidAuthToken",r[r.BackendInvalidAPIKey=7225]="BackendInvalidAPIKey",r[r.BackendBadRequest=7226]="BackendBadRequest",r[r.BackendPlayStoreQuotaExceeded=7229]="BackendPlayStoreQuotaExceeded",r[r.BackendPlayStoreInvalidPackageName=7230]="BackendPlayStoreInvalidPackageName",r[r.BackendPlayStoreGenericError=7231]="BackendPlayStoreGenericError",r[r.BackendUserIneligibleForPromoOffer=7232]="BackendUserIneligibleForPromoOffer",r[r.BackendInvalidAppleSubscriptionKey=7234]="BackendInvalidAppleSubscriptionKey",r[r.BackendSubscriberNotFound=7259]="BackendSubscriberNotFound",r[r.BackendInvalidSubscriberAttributes=7263]="BackendInvalidSubscriberAttributes",r[r.BackendInvalidSubscriberAttributesBody=7264]="BackendInvalidSubscriberAttributesBody",r[r.BackendProductIDsMalformed=7662]="BackendProductIDsMalformed",r[r.BackendAlreadySubscribedError=7772]="BackendAlreadySubscribedError",r[r.BackendPaymentGatewayGenericError=7773]="BackendPaymentGatewayGenericError",r[r.BackendOfferNotFound=7814]="BackendOfferNotFound",r[r.BackendNoMXRecordsFound=7834]="BackendNoMXRecordsFound",r[r.BackendInvalidOperationSession=7877]="BackendInvalidOperationSession",r[r.BackendPurchaseCannotBeCompleted=7878]="BackendPurchaseCannotBeCompleted",r[r.BackendEmailIsRequired=7879]="BackendEmailIsRequired",r[r.BackendGatewaySetupErrorStripeTaxNotActive=7898]="BackendGatewaySetupErrorStripeTaxNotActive",r[r.BackendGatewaySetupErrorInvalidTaxOriginAddress=7899]="BackendGatewaySetupErrorInvalidTaxOriginAddress",r[r.BackendGatewaySetupErrorMissingRequiredPermission=7900]="BackendGatewaySetupErrorMissingRequiredPermission",r[r.BackendGatewaySetupErrorSandboxModeOnly=7901]="BackendGatewaySetupErrorSandboxModeOnly",r[r.BackendInvalidPaddleAPIKey=7967]="BackendInvalidPaddleAPIKey",r))(bn||{});class Xe extends Error{constructor(t,n,a,i){super(n);re(this,"toString",()=>`PurchasesError(code: ${Le[this.errorCode]}, message: ${this.message})`);this.errorCode=t,this.underlyingErrorMessage=a,this.extra=i}static getForBackendError(t,n){const a=Ua.getErrorCodeForBackendErrorCode(t);return new Xe(a,Ua.getPublicMessage(a),n,{backendErrorCode:t})}static getForPurchasesFlowError(t){return new Xe(Ua.convertPurchaseFlowErrorCodeToErrorCode(t.errorCode),t.message,t.underlyingErrorMessage)}}class sd extends Error{constructor(){super("Purchases must be configured before calling getInstance")}}var kn=(r=>(r.Started="started",r.InProgress="in_progress",r.Succeeded="succeeded",r.Failed="failed",r))(kn||{}),Va=(r=>(r[r.SetupIntentCreationFailed=1]="SetupIntentCreationFailed",r[r.PaymentMethodCreationFailed=2]="PaymentMethodCreationFailed",r[r.PaymentChargeFailed=3]="PaymentChargeFailed",r[r.SetupIntentCompletionFailed=4]="SetupIntentCompletionFailed",r[r.AlreadyPurchased=5]="AlreadyPurchased",r))(Va||{}),st=(r=>(r[r.Silent=0]="Silent",r[r.Error=1]="Error",r[r.Warn=2]="Warn",r[r.Info=3]="Info",r[r.Debug=4]="Debug",r[r.Verbose=5]="Verbose",r))(st||{});class xe{static setLogLevel(e){this.logLevel=e}static setLogHandler(e){this.logHandler=e}static log(e,t=this.logLevel){const n=`[Purchases] ${e}`;if(!(this.logLevel<t||t===st.Silent)){if(this.logHandler!==null){this.logHandler(t,n);return}switch(t){case st.Error:console.error(n);break;case st.Warn:console.warn(n);break;case st.Info:console.info(n);break;case st.Debug:console.debug(n);break;case st.Verbose:console.debug(n);break}}}static errorLog(e){this.log(e,st.Error)}static warnLog(e){this.log(e,st.Warn)}static infoLog(e){this.log(e,st.Info)}static debugLog(e){this.log(e,st.Debug)}static verboseLog(e){this.log(e,st.Verbose)}}re(xe,"logLevel",st.Silent),re(xe,"logHandler",null);function ld(r){var e;return r.operation.redemption_info?{redeemUrl:((e=r.operation.redemption_info)==null?void 0:e.redeem_url)??null}:null}var wn=(r=>(r.tax_collection_disabled="tax_collection_disabled",r.invalid_tax_location="invalid_tax_location",r.rate_limit_exceeded="rate_limit_exceeded",r.missing_required_permission="missing_required_permission",r.invalid_origin_address="invalid_origin_address",r.invalid_head_office_address="invalid_head_office_address",r.taxes_not_active="taxes_not_active",r.stripe_tax_unsupported_country="stripe_tax_unsupported_country",r.unexpected_gateway_error="unexpected_gateway_error",r))(wn||{});function cd(r,e){const t=r.original_amount_in_micros??r.total_excluding_tax_in_micros,n=r.applied_discounts??[];return{currency:r.currency,originalAmountInMicros:t,totalAmountInMicros:r.total_amount_in_micros,totalExcludingTaxInMicros:r.total_excluding_tax_in_micros,taxCalculationStatus:e,taxAmountInMicros:r.tax_amount_in_micros,taxBreakdown:r.tax_breakdown,appliedDiscounts:n.map(a=>({identifier:a.identifier,displayName:a.display_name,discountedAmountInMicros:a.discounted_amount_in_micros,percentage:a.percentage,discountCode:a.discount_code,durationMode:a.duration_mode,timeWindow:a.time_window}))}}function ud(r,e){if(r==null){e(new _e(be.UnknownError,"Got an error status but error field is empty."));return}switch(r.code){case Va.SetupIntentCreationFailed:e(new _e(be.ErrorSettingUpPurchase,"Setup intent creation failed"));return;case Va.PaymentMethodCreationFailed:e(new _e(be.ErrorSettingUpPurchase,"Payment method creation failed"));return;case Va.PaymentChargeFailed:e(new _e(be.ErrorChargingPayment,"Payment charge failed"));return;case Va.SetupIntentCompletionFailed:e(new _e(be.ErrorSettingUpPurchase,"Setup intent completion failed"));return;case Va.AlreadyPurchased:e(new _e(be.AlreadyPurchasedError,"Purchased was already completed"));return;default:e(new _e(be.UnknownError,"Unknown error code received"));return}}function dd(r){return typeof r=="object"&&r!==null&&"checkout_mode"in r&&r.checkout_mode==="subscription_change"}function pd(r){return dd(r)&&"to_product"in r}function _d(r){return dd(r)&&"new_product_id"in r}var be=(r=>(r[r.ErrorSettingUpPurchase=0]="ErrorSettingUpPurchase",r[r.ErrorChargingPayment=1]="ErrorChargingPayment",r[r.UnknownError=2]="UnknownError",r[r.NetworkError=3]="NetworkError",r[r.MissingEmailError=4]="MissingEmailError",r[r.AlreadyPurchasedError=5]="AlreadyPurchasedError",r[r.StripeTaxNotActive=6]="StripeTaxNotActive",r[r.StripeInvalidTaxOriginAddress=7]="StripeInvalidTaxOriginAddress",r[r.StripeMissingRequiredPermission=8]="StripeMissingRequiredPermission",r[r.InvalidPaddleAPIKeyError=9]="InvalidPaddleAPIKeyError",r))(be||{});class _e extends Error{constructor(e,t,n,a,i,s){super(t),this.errorCode=e,this.underlyingErrorMessage=n,this.purchasesErrorCode=a,this.extra=i,this.displayPurchaseFlowErrorCode=s}getErrorCode(){var t;const e=((t=this.extra)==null?void 0:t.backendErrorCode)??this.purchasesErrorCode;return this.displayPurchaseFlowErrorCode?this.errorCode??e:e??this.errorCode}static fromPurchasesError(e,t,n=!1){var i;let a;return e.errorCode===Le.ProductAlreadyPurchasedError?a=5:e.errorCode===Le.InvalidEmailError?a=4:e.errorCode===Le.NetworkError?a=3:a=_e.fromBackendErrorCode((i=e.extra)==null?void 0:i.backendErrorCode)??t,new _e(a,e.message,e.underlyingErrorMessage,e.errorCode,e.extra,n)}static fromBackendErrorCode(e){switch(e){case bn.BackendGatewaySetupErrorStripeTaxNotActive:return 6;case bn.BackendGatewaySetupErrorInvalidTaxOriginAddress:return 7;case bn.BackendGatewaySetupErrorMissingRequiredPermission:return 8;case bn.BackendInvalidPaddleAPIKey:return 9;default:return null}}}class Di{constructor(e,t,n=30){re(this,"operationSessionId",null);re(this,"backend");re(this,"eventsTracker");re(this,"maxNumberAttempts");re(this,"waitMSBetweenAttempts",1e3);this.backend=e,this.eventsTracker=t,this.maxNumberAttempts=n}static getBackendErrorCodeForInterruptedCheckout(e){switch(e){case wn.taxes_not_active:case wn.stripe_tax_unsupported_country:return bn.BackendGatewaySetupErrorStripeTaxNotActive;case wn.invalid_origin_address:case wn.invalid_head_office_address:return bn.BackendGatewaySetupErrorInvalidTaxOriginAddress;case wn.missing_required_permission:return bn.BackendGatewaySetupErrorMissingRequiredPermission;default:return null}}static throwIfCheckoutShouldBeInterrupted(e){if(!e.interrupt_checkout)return;const t=Di.getBackendErrorCodeForInterruptedCheckout(e.failed_reason);throw t==null?new _e(0,"There was a problem with the store.",e.failed_reason??"Checkout interrupted."):_e.fromPurchasesError(Xe.getForBackendError(t,e.failed_reason??null),0)}async prepareCheckout(e,t){try{return await this.backend.postCheckoutPrepare(e,t)}catch(n){if(n instanceof Xe)throw _e.fromPurchasesError(n,0);{const a="Unknown error preparing purchase: "+String(n);throw xe.errorLog(a),new _e(2,a)}}}async checkoutStart({appUserId:e,productId:t,purchaseOption:n,presentedOfferingContext:a,workflowPurchaseContext:i,paywallId:s,paywallSessionId:c,customerEmail:l,metadata:u,locale:d,attributionMetadata:p,productChange:_,subscriberToken:h}){try{const f=this.eventsTracker.getTraceId(),b=i==null?void 0:i.stepId,v=i==null?void 0:i.urlParameters,m=await this.backend.postCheckoutStart({appUserId:e,productId:t,purchaseOption:n,presentedOfferingContext:a,traceId:f,presentedStepId:b,urlParameters:v,paywallId:s,paywallSessionId:c,customerEmail:l,metadata:u,locale:d,attributionMetadata:p,productChange:_,subscriberToken:h});return this.operationSessionId=m.operation_session_id,m}catch(f){if(f instanceof Xe)throw _e.fromPurchasesError(f,0);{const b="Unknown error starting purchase: "+String(f);throw xe.errorLog(b),new _e(2,b)}}}async checkoutRefreshPricing({countryCode:e,postalCode:t,state:n,city:a,addressLine1:i,addressLine2:s,discountCode:c,signal:l}={}){const u=this.operationSessionId;if(!u)throw new _e(0,"No purchase started");try{const d=await this.backend.patchCheckoutRefreshPricing(u,{countryCode:e,postalCode:t,state:n,city:a,addressLine1:i,addressLine2:s,discountCode:c,signal:l});return Di.throwIfCheckoutShouldBeInterrupted(d),d}catch(d){if(d instanceof _e)throw d;if(d instanceof Xe)throw _e.fromPurchasesError(d,0);{const p="Unknown error refreshing checkout pricing: "+String(d);throw xe.errorLog(p),new _e(2,p)}}}async checkoutComplete(e={}){const t=this.operationSessionId;if(!t)throw new _e(0,"No purchase started");try{const n=await this.backend.postCheckoutComplete(t,{email:e.email,locale:e.locale});if(_d(n))throw new _e(0,"Unexpected subscription-change response for purchase checkout.");return n}catch(n){if(n instanceof _e)throw n;if(n instanceof Xe)throw _e.fromPurchasesError(n,0);const a="Unknown error starting purchase: "+String(n);throw xe.errorLog(a),new _e(2,a)}}async completeProductChange(e){const t=this.operationSessionId;if(!t)throw new _e(0,"No product change checkout session to complete.");try{const n=await this.backend.postCheckoutComplete(t,{subscriberToken:e.subscriberToken});if(!_d(n))throw new _e(1,"Unexpected checkout complete response for product change.");return{operationSessionId:n.operation_session_id,changeType:n.change_type,newProductId:n.new_product_id}}catch(n){throw n instanceof _e?n:n instanceof Xe?_e.fromPurchasesError(n,1):new _e(2,"Failed to complete product change.",n instanceof Error?n.message:String(n))}}async pollCurrentPurchaseForCompletion(){const e=this.operationSessionId;if(!e)throw new _e(0,"No purchase in progress");return new Promise((t,n)=>{const a=(i=1)=>{if(i>this.maxNumberAttempts){this.clearPurchaseInProgress(),n(new _e(2,"Max attempts reached trying to get successful purchase status"));return}this.backend.getCheckoutStatus(e).then(s=>{const c=s.operation.store_transaction_identifier,l=s.operation.product_identifier,u=s.operation.purchase_date?isNaN(Date.parse(s.operation.purchase_date))?null:new Date(s.operation.purchase_date):null;switch(s.operation.status){case kn.Started:case kn.InProgress:setTimeout(()=>a(i+1),this.waitMSBetweenAttempts);break;case kn.Succeeded:if(this.clearPurchaseInProgress(),!c||!l||!u){n(new _e(2,"Missing required fields in operation response."));return}t({redemptionInfo:ld(s),operationSessionId:e,storeTransactionIdentifier:c,productIdentifier:l,purchaseDate:u,attributionMetadata:s.attribution_metadata??void 0});return;case kn.Failed:this.clearPurchaseInProgress(),ud(s.operation.error,n)}}).catch(s=>{const c=_e.fromPurchasesError(s,3);n(c)})};a()})}clearPurchaseInProgress(){this.operationSessionId=null}}const vr="rcb-ui-translator",Rr="en",qm={"periods.week":"{{amount}} week","periods.month":"{{amount}} month","periods.year":"{{amount}} year","periods.day":"{{amount}} day","periods.weekShort":"{{amount}}wk","periods.monthShort":"{{amount}}mo","periods.yearShort":"{{amount}}yr","periods.dayShort":"{{amount}}d","periods.lifetime":"lifetime","periods.weekPlural":"{{amount}} weeks","periods.monthPlural":"{{amount}} months","periods.yearPlural":"{{amount}} years","periods.dayPlural":"{{amount}} days","periods.weekFrequency":"weekly","periods.monthFrequency":"monthly","periods.yearFrequency":"yearly","periods.dayFrequency":"daily","periods.perWeekFrequency":"per week","periods.perMonthFrequency":"per month","periods.perYearFrequency":"per year","periods.perDayFrequency":"per day","periods.unknownFrequency":"unknown","periods.weekFrequencyPlural":"every {{amount}} weeks","periods.monthFrequencyPlural":"every {{amount}} months","periods.yearFrequencyPlural":"every {{amount}} years","periods.dayFrequencyPlural":"every {{amount}} days","product_info.subscribe_to":"Subscribe to","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"Try free for {{trialDuration}}","product_info.price_after_free_trial":"After trial ends, on {{renewalDate}}","product_info.intro_price_phase_after_trial":"Then {{introPriceDuration}} for {{introPrice}}","product_info.intro_price_phase":"First {{introPriceDuration}} for {{introPrice}}","product_info.intro_price_phase_paid_once":"paid once","product_info.price_after_intro_price":"After {{introPriceDuration}}, on {{renewalDate}}","product_info.after_trial":"after trial","product_info.after":"after","product_info.total_due_today":"Total due today","product_info.renewal_frequency":"Renews {{frequency}}","product_info.continues_until_cancelled":"Continues until cancelled","product_info.cancel_anytime":"Cancel anytime","payment_entry_page.payment_step_title":"Secure checkout by RevenueCat","payment_entry_page.trial_subscription_terms_info":"After your trial ends, you will be charged {{price}} {{perFrequency}} starting {{renewalDate}}. You can cancel any time before this date.","payment_entry_page.subscription_terms_info":"By subscribing, you agree to allow {{appName}} to charge you according to their terms until you cancel.","payment_entry_page.otp_terms_info":"By purchasing, you agree to allow {{appName}} to charge you according to their terms.","payment_entry_page.terms_link_label":"Terms","payment_entry_page.checkout_consent_agreement":"I agree to the {{appName}} {{termsOfService}}.","payment_entry_page.checkout_consent_terms_of_service":"Terms of Service","payment_entry_page.subscription_info":"Subscription renews automatically. Cancel anytime.","payment_entry_page.button_pay":"Pay now","payment_entry_page.button_start_trial":"Start trial","payment_entry_page.button_with_price":"Pay {{formattedPrice}}","payment_entry_page.button_payment_method":"Pay {{formattedPrice}} with {{paymentMethod}}","payment_entry_page.express_checkout_divider":"OR PAY BY CARD","loading_page.processing_payment":"Processing payment","loading_page.keep_page_open":"The process is almost done. Keep this page open.","success_page.purchase_successful":"Payment complete","success_page.button_close":"Continue","error_page.close_button_title":"Go to {{appName}}","error_page.if_error_persists":"If it persists, please contact ","error_page.trouble_accessing":"If you're having trouble accessing your purchase, reach out to support on ","error_page.error_title_already_subscribed":"You already subscribed to {{productTitle}}","error_page.error_title_already_purchased":"You already purchased {{productTitle}}","error_page.error_title_other_errors":"Something went wrong","error_page.error_message_already_subscribed":"You can't subscribe to this product again.","error_page.error_message_already_purchased":"You can't purchase this product again.","error_page.error_title_stripe_tax_not_active":"Stripe Tax not active","error_page.error_title_stripe_invalid_tax_origin_address":"Invalid tax origin address","error_page.error_title_stripe_missing_required_permission":"Missing Stripe permission","error_page.error_message_missing_email_error":"Email is required to complete the purchase.","error_page.error_message_invalid_email_error":"The email address {{email}} couldn't be verified. Please provide a valid email address.","error_page.error_message_network_error":"Network error. Please check your internet connection.","error_page.error_message_error_charging_payment":"Payment failed.","error_page.error_message_error_setting_up_purchase":"Purchase not started due to an error (error code: {{errorCode}}).","error_page.error_message_invalid_tax_location":"We couldn't verify your billing address. Please double-check that the postal code and country are correct.","error_page.error_message_unknown_error":"An unknown error occurred (error code: {{errorCode}}).","error_page.error_message_stripe_tax_not_active":"The purchase failed because Stripe Tax isn’t enabled. In production, purchases will work without taxes applied.","error_page.error_message_stripe_invalid_tax_origin_address":"The purchase failed because the tax origin address is invalid. In production, purchases will work without taxes applied.","error_page.error_message_stripe_missing_required_permission":"The purchase failed because the Stripe app lacks a required permission. In production, purchases will work without taxes applied.","error_page.error_only_in_sandbox":"This message appears only in sandbox.","error_page.button_try_again":"Try again","error_page.button_close":"Close","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","pricing_dropdown.show_details":"Show details","pricing_dropdown.hide_details":"Hide details","pricing_dropdown.add_promo_code":"Add promo code","discount_input.label":"Promo code","pricing_table.trial_ends":"After trial ends, on {{formattedTrialEndDate}}","pricing_table.total_excluding_tax":"Total excluding tax","pricing_table.total_due_today":"Total due today","pricing_table.subtotal":"Subtotal","pricing_table.discount":"Discount","pricing_table.tax":"Tax","pricing_table.enter_billing_address_to_calculate":"Enter billing address to calculate","pricing_table.enter_postal_code_to_calculate":"Enter zip code to calculate","pricing_table.enter_state_or_postal_code_to_calculate":"Enter state or postal code to calculate","navbar_header.details":"Details","navbar_header.back_button":"Back","price_update.title":"Price update","price_update.base_message":"The total price was updated with tax based on your billing address. Please review and try again. Your card will only be charged once.","price_update.trial_message":"The subscription price was updated to include tax based on your billing address. Free trial still applies. Review and try again.","apple_pay.free_trial":"Free Trial"},Om={"periods.week":"{{amount}} semana","periods.month":"{{amount}} mes","periods.year":"{{amount}} año","periods.day":"{{amount}} día","periods.weekShort":"{{amount}} sem","periods.monthShort":"{{amount}}mes","periods.yearShort":"{{amount}}año","periods.dayShort":"{{amount}}d","periods.lifetime":"de por vida","periods.weekPlural":"{{amount}} semanas","periods.monthPlural":"{{amount}} meses","periods.yearPlural":"{{amount}} años","periods.dayPlural":"{{amount}} días","periods.weekFrequency":"semanal","periods.monthFrequency":"mensual","periods.yearFrequency":"anual","periods.dayFrequency":"diaria","periods.perWeekFrequency":"por semana","periods.perMonthFrequency":"por mes","periods.perYearFrequency":"por año","periods.perDayFrequency":"por día","periods.unknownFrequency":"desconocida","periods.weekFrequencyPlural":"cada {{amount}} semanas","periods.monthFrequencyPlural":"cada {{amount}} meses","periods.yearFrequencyPlural":"cada {{amount}} años","periods.dayFrequencyPlural":"cada {{amount}} días","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} prueba gratuita","product_info.price_after_free_trial":"Después de que termine el periodo de prueba, el {{renewalDate}}","product_info.renewal_frequency":"Se renueva {{frequency}}","product_info.continues_until_cancelled":"Continua hasta que se cancele","product_info.cancel_anytime":"Cancelar en cualquier momento","payment_entry_page.payment_step_title":"Pago seguro mediante RevenueCat","payment_entry_page.button_pay":"Pagar ahora","payment_entry_page.button_start_trial":"Comenzar prueba","success_page.purchase_successful":"Pago completado","success_page.button_close":"Continuar","error_page.if_error_persists":"Si el error persiste, contacta con ","error_page.error_title_already_subscribed":"Ya te has suscrito a {{productTitle}}","error_page.error_title_already_purchased":"Ya has comprado {{productTitle}}","error_page.error_title_other_errors":"Algo salió mal","error_page.error_message_already_subscribed":"No puedes suscribirte a este producto de nuevo.","error_page.error_message_already_purchased":"No puedes comprar este producto de nuevo.","error_page.error_message_missing_email_error":"Se requiere un correo electrónico para completar la compra.","error_page.error_message_network_error":"Error de red. Por favor, comprueba tu conexión a internet.","error_page.error_message_error_charging_payment":"Pago fallido.","error_page.error_message_error_setting_up_purchase":"No se pudo iniciar la compra debido a un error (código de error: {{errorCode}}).","error_page.error_message_invalid_tax_location":"No pudimos verificar tu dirección de facturación. Por favor, verifica que el código postal y el país sean correctos.","error_page.error_message_unknown_error":"Ocurrió un error desconocido (código de error: {{errorCode}}).","error_page.button_try_again":"Intentar de nuevo","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Total a pagar hoy","product_info.subscribe_to":"Suscribirse a","navbar_header.details":"Detalles","navbar_header.back_button":"Atrás","pricing_dropdown.show_details":"Mostrar detalles","pricing_dropdown.hide_details":"Ocultar detalles","pricing_table.tax":"Impuestos","pricing_table.trial_ends":"Después de que finalice la prueba, el {{formattedTrialEndDate}}","pricing_table.total_due_today":"Total a pagar hoy","pricing_table.total_excluding_tax":"Total sin impuestos","pricing_table.enter_billing_address_to_calculate":"Introduce la dirección de facturación para calcular","pricing_table.enter_state_or_postal_code_to_calculate":"Introduce el estado o el código postal para calcular","pricing_table.enter_postal_code_to_calculate":"Introduce el código postal para calcular","error_page.error_message_invalid_email_error":"La dirección de correo electrónico {{email}} no se pudo verificar. Por favor, proporciona una dirección de correo electrónico válida.","payment_entry_page.button_payment_method":"Pagar {{formattedPrice}} con {{paymentMethod}}","payment_entry_page.button_with_price":"Pagar {{formattedPrice}}","price_update.title":"Actualización de precio","price_update.base_message":"El precio total se actualizó con impuestos según su dirección de facturación. Revise e intente nuevamente. Solo se efectuará un cobro en su tarjeta.","price_update.trial_message":"El precio de la suscripción se actualizó para incluir impuestos según su dirección de facturación. La prueba gratuita sigue aplicándose. Revise e intente nuevamente.","payment_entry_page.express_checkout_divider":"O PAGA CON TARJETA","error_page.trouble_accessing":"Si tiene problemas para acceder a su compra, póngase en contacto con el servicio de asistencia en ","error_page.close_button_title":"Ir a {{appName}}","error_page.error_title_stripe_missing_required_permission":"Falta permiso de Stripe","error_page.button_close":"Cerrar","error_page.error_message_stripe_invalid_tax_origin_address":"La compra falló porque la dirección de origen fiscal no es válida. En producción, las compras funcionarán sin impuestos aplicados.","error_page.error_message_stripe_tax_not_active":"La compra falló porque Stripe Tax no está habilitado. En producción, las compras funcionarán sin impuestos aplicados.","error_page.error_only_in_sandbox":"Este mensaje aparece solo en el entorno de pruebas.","error_page.error_message_stripe_missing_required_permission":"La compra falló porque la aplicación Stripe carece de un permiso necesario. En producción, las compras funcionarán sin impuestos aplicados.","error_page.error_title_stripe_tax_not_active":"Stripe Tax no está activo","error_page.error_title_stripe_invalid_tax_origin_address":"Dirección de origen fiscal no válida","apple_pay.free_trial":"Prueba gratuita","product_info.price_after_intro_price":"Después de {{introPriceDuration}}, el {{renewalDate}}","product_info.after_trial":"después del período de prueba","product_info.after":"después de","product_info.intro_price_phase_after_trial":"Luego, {{introPriceDuration}} por {{introPrice}}","product_info.intro_price_phase":"Primero, {{introPriceDuration}} por {{introPrice}}","product_info.intro_price_phase_paid_once":"pago único","payment_entry_page.trial_subscription_terms_info":"Una vez finalizado el período de prueba, se te cobrarán {{price}} {{perFrequency}} a partir del {{renewalDate}}. Puedes cancelar en cualquier momento antes de esta fecha.","payment_entry_page.subscription_info":"La suscripción se renueva automáticamente. Cancela en cualquier momento.","payment_entry_page.otp_terms_info":"Al comprar, aceptas que {{appName}} te cobre de acuerdo con sus términos.","payment_entry_page.terms_link_label":"Términos","payment_entry_page.subscription_terms_info":"Al suscribirte, aceptas que {{appName}} te cobre de acuerdo con sus términos hasta que canceles.","loading_page.keep_page_open":"El proceso está casi terminado. Mantén esta página abierta.","loading_page.processing_payment":"Procesando el pago","pricing_table.discount":"Descuento","pricing_table.subtotal":"Subtotal","pricing_dropdown.add_promo_code":"Añadir código promocional","discount_input.label":"Código promocional","payment_entry_page.checkout_consent_terms_of_service":"términos de servicio","payment_entry_page.checkout_consent_agreement":"Acepto los {{termsOfService}} de {{appName}}."},Lm={"periods.week":"{{amount}} settimana","periods.month":"{{amount}} mese","periods.year":"{{amount}} anno","periods.day":"{{amount}} giorno","periods.weekShort":"{{amount}}sett","periods.monthShort":"{{amount}}mese","periods.yearShort":"{{amount}}anno","periods.dayShort":"{{amount}}g","periods.lifetime":"a vita","periods.weekPlural":"{{amount}} settimane","periods.monthPlural":"{{amount}} mesi","periods.yearPlural":"{{amount}} anni","periods.dayPlural":"{{amount}} giorni","periods.weekFrequency":"settimanale","periods.monthFrequency":"mensile","periods.yearFrequency":"annuale","periods.dayFrequency":"giornaliero","periods.perWeekFrequency":"a settimana","periods.perMonthFrequency":"al mese","periods.perYearFrequency":"all'anno","periods.perDayFrequency":"al giorno","periods.unknownFrequency":"sconosciuto","periods.weekFrequencyPlural":"ogni {{amount}} settimane","periods.monthFrequencyPlural":"ogni {{amount}} mesi","periods.yearFrequencyPlural":"ogni {{amount}} anni","periods.dayFrequencyPlural":"ogni {{amount}} giorni","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} prova gratuita","product_info.price_after_free_trial":"Dopo la fine della prova, il {{renewalDate}}","product_info.renewal_frequency":"Si rinnova {{frequency}}","product_info.continues_until_cancelled":"Continua fino a disdetta","product_info.cancel_anytime":"Disdici in qualsiasi momento","payment_entry_page.payment_step_title":"Pagamento sicuro tramite RevenueCat","payment_entry_page.button_pay":"Paga ora","payment_entry_page.button_start_trial":"Inizia la prova","success_page.purchase_successful":"Pagamento completato","success_page.button_close":"Continua","error_page.if_error_persists":"Se l'errore persiste, contatta ","error_page.error_title_already_subscribed":"Hai già un abbonamento a {{productTitle}}","error_page.error_title_already_purchased":"Hai già acquistato {{productTitle}}","error_page.error_title_other_errors":"Qualcosa è andato storto","error_page.error_message_already_subscribed":"Non puoi abbonarti di nuovo a questo prodotto.","error_page.error_message_already_purchased":"Non puoi acquistare di nuovo questo prodotto.","error_page.error_message_missing_email_error":"L'email è necessaria per completare l'acquisto.","error_page.error_message_network_error":"Errore di rete. Verifica la connessione internet.","error_page.error_message_error_charging_payment":"Pagamento fallito.","error_page.error_message_error_setting_up_purchase":"Acquisto non avviato a causa di un errore (codice errore: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Non siamo riusciti a verificare il tuo indirizzo di fatturazione. Per favore, controlla che il codice postale e il paese siano corretti.","error_page.error_message_unknown_error":"Si è verificato un errore sconosciuto (codice errore: {{errorCode}}).","error_page.button_try_again":"Riprova","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Totale dovuto oggi","product_info.subscribe_to":"Abbonati a","navbar_header.details":"Dettagli","navbar_header.back_button":"Indietro","pricing_dropdown.show_details":"Mostra dettagli","pricing_dropdown.hide_details":"Nascondi dettagli","pricing_table.tax":"Tasse","pricing_table.trial_ends":"Al termine del periodo di prova, il {{formattedTrialEndDate}}","pricing_table.total_due_today":"Totale dovuto oggi","pricing_table.total_excluding_tax":"Totale tasse escluse","pricing_table.enter_billing_address_to_calculate":"Inserisci l'indirizzo di fatturazione per calcolare","pricing_table.enter_state_or_postal_code_to_calculate":"Inserisci la regione o il codice postale per calcolare","pricing_table.enter_postal_code_to_calculate":"Inserisci il codice postale per calcolare","error_page.error_message_invalid_email_error":"L'indirizzo email {{email}} non può essere verificato. Si prega di fornire un indirizzo email valido.","payment_entry_page.button_payment_method":"Paga {{formattedPrice}} con {{paymentMethod}}","payment_entry_page.button_with_price":"Paga {{formattedPrice}}","price_update.title":"Aggiornamento prezzo","price_update.base_message":"Il prezzo totale è stato aggiornato con le tasse in base al tuo indirizzo di fatturazione. Rivedi e riprova. L'addebito sulla tua carta avverrà solo una volta.","price_update.trial_message":"Il prezzo dell'abbonamento è stato aggiornato per includere le tasse in base al tuo indirizzo di fatturazione. La prova gratuita è ancora valida. Controlla e riprova.","payment_entry_page.express_checkout_divider":"OPPURE PAGA CON CARTA","error_page.trouble_accessing":"Se hai problemi ad accedere al tuo acquisto, contatta l'assistenza all'indirizzo ","error_page.close_button_title":"Vai a {{appName}}","error_page.error_title_stripe_missing_required_permission":"Autorizzazione Stripe mancante","error_page.button_close":"Chiudi","error_page.error_message_stripe_invalid_tax_origin_address":"L'acquisto non è andato a buon fine perché l'indirizzo di origine fiscale non è valido. In produzione, gli acquisti verranno effettuati senza l'applicazione delle imposte e questo errore non sarà visibile.","error_page.error_message_stripe_tax_not_active":"L'acquisto non è andato a buon fine perché Stripe Tax non è abilitato. In produzione, gli acquisti verranno effettuati senza l'applicazione delle imposte e questo errore non sarà visibile.","error_page.error_only_in_sandbox":"Questo messaggio viene visualizzato solo in sandbox.","error_page.error_message_stripe_missing_required_permission":"L'acquisto non è andato a buon fine perché l'app Stripe non dispone dell'autorizzazione necessaria. In produzione, gli acquisti verranno effettuati senza l'applicazione delle imposte e questo errore non sarà visibile.","error_page.error_title_stripe_tax_not_active":"Stripe Tax non attivo","error_page.error_title_stripe_invalid_tax_origin_address":"Indirizzo di origine fiscale non valido","apple_pay.free_trial":"Prova gratuita","product_info.price_after_intro_price":"Dopo {{introPriceDuration}}, il {{renewalDate}}","product_info.after_trial":"dopo il periodo di prova","product_info.after":"dopo","product_info.intro_price_phase_after_trial":"Poi {{introPriceDuration}} a {{introPrice}}","product_info.intro_price_phase":"Prima {{introPriceDuration}} a {{introPrice}}","product_info.intro_price_phase_paid_once":"pagato una volta","payment_entry_page.trial_subscription_terms_info":"Al termine del periodo di prova, ti verranno addebitati {{price}} {{perFrequency}} a partire dal {{renewalDate}}. Puoi annullare in qualsiasi momento prima di questa data.","payment_entry_page.subscription_info":"L'abbonamento si rinnova automaticamente. Annulla in qualsiasi momento.","payment_entry_page.otp_terms_info":"Acquistando, accetti che {{appName}} ti addebiti l'importo in base ai suoi termini.","payment_entry_page.terms_link_label":"Termini","payment_entry_page.subscription_terms_info":"Abbonandoti, accetti che {{appName}} ti addebiti l'importo secondo i suoi termini fino all'annullamento.","loading_page.keep_page_open":"Il processo è quasi terminato. Mantieni questa pagina aperta.","loading_page.processing_payment":"Elaborazione del pagamento","pricing_table.discount":"Sconto","pricing_table.subtotal":"Subtotale","pricing_dropdown.add_promo_code":"Aggiungi codice promozionale","discount_input.label":"Codice promozionale","payment_entry_page.checkout_consent_terms_of_service":"termini di servizio","payment_entry_page.checkout_consent_agreement":"Accetto i {{termsOfService}} di {{appName}}."},Nm={"periods.week":"{{amount}} أسبوع","periods.month":"{{amount}} شهر","periods.year":"{{amount}} سنة","periods.day":"{{amount}} يوم","periods.weekShort":"{{amount}}أسبوع","periods.monthShort":"{{amount}}شهر","periods.yearShort":"{{amount}}سنة","periods.dayShort":"{{amount}}يوم","periods.lifetime":"مدى الحياة","periods.weekPlural":"{{amount}} أسابيع","periods.monthPlural":"{{amount}} أشهر","periods.yearPlural":"{{amount}} سنوات","periods.dayPlural":"{{amount}} أيام","periods.weekFrequency":"أسبوعيًا","periods.monthFrequency":"شهريًا","periods.yearFrequency":"سنويًا","periods.dayFrequency":"يوميًا","periods.perWeekFrequency":"في الأسبوع","periods.perMonthFrequency":"في الشهر","periods.perYearFrequency":"في السنة","periods.perDayFrequency":"في اليوم","periods.unknownFrequency":"غير معروف","periods.weekFrequencyPlural":"كل {{amount}} أسابيع","periods.monthFrequencyPlural":"كل {{amount}} أشهر","periods.yearFrequencyPlural":"كل {{amount}} سنوات","periods.dayFrequencyPlural":"كل {{amount}} أيام","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} تجربة مجانية","product_info.price_after_free_trial":"بعد انتهاء التجربة، في {{renewalDate}}","product_info.renewal_frequency":"يتم التجديد {{frequency}}","product_info.continues_until_cancelled":"يستمر حتى يتم إلغاؤه","product_info.cancel_anytime":"يمكن الإلغاء في أي وقت","payment_entry_page.payment_step_title":"الدفع الآمن عبر RevenueCat","payment_entry_page.button_pay":"ادفع الآن","payment_entry_page.button_start_trial":"ابدأ التجربة","success_page.purchase_successful":"تم الدفع بنجاح","success_page.button_close":"متابعة","error_page.if_error_persists":"إذا استمرت المشكلة، يرجى الاتصال بـ ","error_page.error_title_already_subscribed":"أنت مشترك بالفعل في {{productTitle}}","error_page.error_title_already_purchased":"لقد اشتريت {{productTitle}} بالفعل","error_page.error_title_other_errors":"حدث خطأ ما","error_page.error_message_already_subscribed":"لا يمكنك الاشتراك في هذا المنتج مرة أخرى.","error_page.error_message_already_purchased":"لا يمكنك شراء هذا المنتج مرة أخرى.","error_page.error_message_missing_email_error":"يُطلب البريد الإلكتروني لإتمام عملية الشراء.","error_page.error_message_network_error":"خطأ في الشبكة. يرجى التحقق من اتصال الإنترنت.","error_page.error_message_error_charging_payment":"فشل الدفع.","error_page.error_message_error_setting_up_purchase":"لم تبدأ عملية الشراء بسبب خطأ (رمز الخطأ: {{errorCode}}).","error_page.error_message_invalid_tax_location":"لم نتمكن من التحقق من عنوان الفوترة الخاص بك. يرجى التحقق مرة أخرى من الرمز البريدي والبلد للتأكد من صحتهما.","error_page.error_message_unknown_error":"حدث خطأ غير معروف (رمز الخطأ: {{errorCode}}).","error_page.button_try_again":"حاول مرة أخرى","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"إجمالي المبلغ المستحق اليوم","product_info.subscribe_to":"اشترك في","navbar_header.details":"تفاصيل","navbar_header.back_button":"عودة","pricing_dropdown.show_details":"إظهار التفاصيل","pricing_dropdown.hide_details":"إخفاء التفاصيل","pricing_table.tax":"الضريبة","pricing_table.trial_ends":"بعد انتهاء الفترة التجريبية، في {{formattedTrialEndDate}}","pricing_table.total_due_today":"الإجمالي المستحق اليوم","pricing_table.total_excluding_tax":"الإجمالي باستثناء الضريبة","pricing_table.enter_billing_address_to_calculate":"أدخل عنوان إرسال الفواتير لحسابها","pricing_table.enter_state_or_postal_code_to_calculate":"أدخل الولاية أو الرمز البريدي للحساب","pricing_table.enter_postal_code_to_calculate":"أدخل الرمز البريدي للحساب","error_page.error_message_invalid_email_error":"تعذر التحقق من عنوان البريد الإلكتروني {{email}}. يرجى تقديم عنوان بريد إلكتروني صالح.","payment_entry_page.button_payment_method":"ادفع {{formattedPrice}} باستخدام {{paymentMethod}}","payment_entry_page.button_with_price":"ادفع {{formattedPrice}}","price_update.title":"تحديث السعر","price_update.base_message":"تم تحديث السعر الإجمالي مع الضريبة بناءً على عنوان إرسال الفواتير الخاص بك. يرجى المراجعة والمحاولة مرة أخرى. لن يتم تحصيل رسوم من بطاقتك إلا مرة واحدة.","price_update.trial_message":"تم تحديث سعر الاشتراك ليشمل الضرائب بناءً على عنوان الفوترة الخاص بك. فترة التجربة المجانية لا تزال سارية. يرجى التحقق والمحاولة مرة أخرى.","payment_entry_page.express_checkout_divider":"أو ادفع بواسطة البطاقة","error_page.trouble_accessing":"إذا كنت تواجه مشكلة في الوصول إلى عملية الشراء، فتواصل مع الدعم على ","error_page.close_button_title":"اذهب إلى {{appName}}","error_page.error_title_stripe_missing_required_permission":"إذن Stripe مفقود","error_page.button_close":"إغلاق","error_page.error_message_stripe_invalid_tax_origin_address":"فشلت عملية الشراء لأن عنوان المنشأ الضريبي غير صالح. في مرحلة الإنتاج، ستعمل عمليات الشراء بدون تطبيق الضرائب.","error_page.error_message_stripe_tax_not_active":"فشلت عملية الشراء لأن ضريبة Stripe غير مفعلة. في مرحلة الإنتاج، ستعمل عمليات الشراء بدون تطبيق الضرائب.","error_page.error_only_in_sandbox":"تظهر هذه الرسالة فقط في البيئة التجريبية.","error_page.error_message_stripe_missing_required_permission":"فشلت عملية الشراء لأن تطبيق Stripe يفتقر إلى إذن مطلوب. في مرحلة الإنتاج، ستعمل عمليات الشراء بدون تطبيق الضرائب.","error_page.error_title_stripe_tax_not_active":"ضريبة Stripe غير نشطة","error_page.error_title_stripe_invalid_tax_origin_address":"عنوان منشأ ضريبي غير صالح","apple_pay.free_trial":"تجربة مجانية","product_info.price_after_intro_price":"بعد {{introPriceDuration}}، في {{renewalDate}}","product_info.after_trial":"بعد الفترة التجريبية","product_info.after":"بعد","product_info.intro_price_phase_after_trial":"ثم {{introPriceDuration}} مقابل {{introPrice}}","product_info.intro_price_phase":"أولاً {{introPriceDuration}} مقابل {{introPrice}}","product_info.intro_price_phase_paid_once":"تدفع مرة واحدة","payment_entry_page.trial_subscription_terms_info":"بعد انتهاء الفترة التجريبية، سيتم محاسبتك بمبلغ {{price}} {{perFrequency}} بدءًا من {{renewalDate}}. يمكنك الإلغاء في أي وقت قبل هذا التاريخ.","payment_entry_page.subscription_info":"يتم تجديد الاشتراك تلقائيًا. يمكنك الإلغاء في أي وقت.","payment_entry_page.otp_terms_info":"بالشراء، أنت توافق على السماح لتطبيق {{appName}} بتحصيل الرسوم منك وفقًا لشروطه.","payment_entry_page.terms_link_label":"الشروط","payment_entry_page.subscription_terms_info":"بالاشتراك، فإنك توافق على السماح لـ {{appName}} بتحصيل رسوم منك وفقًا لشروطها حتى تقوم بالإلغاء.","loading_page.keep_page_open":"العملية شارفت على الانتهاء. أبقِ هذه الصفحة مفتوحة.","loading_page.processing_payment":"جاري معالجة الدفع","pricing_table.discount":"خصم","pricing_table.subtotal":"المجموع الفرعي","pricing_dropdown.add_promo_code":"أضف رمزًا ترويجيًا","discount_input.label":"رمز ترويجي","payment_entry_page.checkout_consent_terms_of_service":"شروط الخدمة","payment_entry_page.checkout_consent_agreement":"أوافق على {{termsOfService}} لـ {{appName}}."},jm={"periods.week":"{{amount}} setmana","periods.month":"{{amount}} mes","periods.year":"{{amount}} any","periods.day":"{{amount}} dia","periods.weekShort":"{{amount}}set","periods.monthShort":"{{amount}}mes","periods.yearShort":"{{amount}}any","periods.dayShort":"{{amount}}d","periods.lifetime":"de per vida","periods.weekPlural":"{{amount}} setmanes","periods.monthPlural":"{{amount}} mesos","periods.yearPlural":"{{amount}} anys","periods.dayPlural":"{{amount}} dies","periods.weekFrequency":"setmanal","periods.monthFrequency":"mensual","periods.yearFrequency":"anual","periods.dayFrequency":"diari","periods.perWeekFrequency":"per setmana","periods.perMonthFrequency":"per mes","periods.perYearFrequency":"per any","periods.perDayFrequency":"per dia","periods.unknownFrequency":"desconeguda","periods.weekFrequencyPlural":"cada {{amount}} setmanes","periods.monthFrequencyPlural":"cada {{amount}} mesos","periods.yearFrequencyPlural":"cada {{amount}} anys","periods.dayFrequencyPlural":"cada {{amount}} dies","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} de prova gratuïta","product_info.price_after_free_trial":"Després del període de prova, el {{renewalDate}}","product_info.renewal_frequency":"Es renova {{frequency}}","product_info.continues_until_cancelled":"Continua fins que es cancel·li","product_info.cancel_anytime":"Cancel·la en qualsevol moment","payment_entry_page.payment_step_title":"Pagament segur amb RevenueCat","payment_entry_page.button_pay":"Paga ara","payment_entry_page.button_start_trial":"Comença la prova","success_page.purchase_successful":"Pagament complet","success_page.button_close":"Continua","error_page.if_error_persists":"Si l'error persisteix, contacta amb ","error_page.error_title_already_subscribed":"Ja us heu subscrit a {{productTitle}}","error_page.error_title_already_purchased":"Ja heu comprat {{productTitle}}","error_page.error_title_other_errors":"Alguna cosa ha anat malament","error_page.error_message_already_subscribed":"No us podeu subscriure a aquest producte de nou.","error_page.error_message_already_purchased":"No podeu comprar aquest producte de nou.","error_page.error_message_missing_email_error":"Es necessita un correu electrònic per completar la compra.","error_page.error_message_network_error":"Error de xarxa. Comprova la teva connexió a internet.","error_page.error_message_error_charging_payment":"El pagament ha fallat.","error_page.error_message_error_setting_up_purchase":"No s'ha iniciat la compra a causa d'un error (codi d'error: {{errorCode}}).","error_page.error_message_invalid_tax_location":"No hem pogut verificar la vostra adreça de facturació. Si us plau, verifiqueu de nou el codi postal i el país per assegurar-vos que són correctes.","error_page.error_message_unknown_error":"S'ha produït un error desconegut (codi d'error: {{errorCode}}).","error_page.button_try_again":"Torna a intentar-ho","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Total a pagar avui","product_info.subscribe_to":"Subscriu-te a","navbar_header.details":"Detalls","navbar_header.back_button":"Enrere","pricing_dropdown.show_details":"Mostra detalls","pricing_dropdown.hide_details":"Amaga detalls","pricing_table.tax":"Impostos","pricing_table.trial_ends":"Després que finalitzi la prova, el {{formattedTrialEndDate}}","pricing_table.total_due_today":"Total a pagar avui","pricing_table.total_excluding_tax":"Total sense impostos","pricing_table.enter_billing_address_to_calculate":"Introduïu l'adreça de facturació per calcular","pricing_table.enter_state_or_postal_code_to_calculate":"Introduïu la província o el codi postal per calcular","pricing_table.enter_postal_code_to_calculate":"Introduïu el codi postal per calcular","error_page.error_message_invalid_email_error":"No s'ha pogut verificar l'adreça de correu electrònic {{email}}. Si us plau, proporcioneu una adreça de correu electrònic vàlida.","payment_entry_page.button_payment_method":"Paga {{formattedPrice}} amb {{paymentMethod}}","payment_entry_page.button_with_price":"Paga {{formattedPrice}}","price_update.title":"Actualització de preu","price_update.base_message":"El preu total s'ha actualitzat amb els impostos segons la vostra adreça de facturació. Reviseu-ho i torneu-ho a provar. Només es carregarà la vostra targeta una vegada.","price_update.trial_message":"El preu de la subscripció s'ha actualitzat per incloure els impostos segons la seva adreça de facturació. El període de prova gratuït segueix vigent. Si us plau, comprovi-ho i torni-ho a provar.","payment_entry_page.express_checkout_divider":"O PAGUEU AMB TARGETA","error_page.trouble_accessing":"Si teniu problemes per accedir a la vostra compra, poseu-vos en contacte amb el servei d'assistència a ","error_page.close_button_title":"Vés a {{appName}}","error_page.error_title_stripe_missing_required_permission":"Falta el permís de Stripe","error_page.button_close":"Tanca","error_page.error_message_stripe_invalid_tax_origin_address":"La compra ha fallat perquè l'adreça d'origen fiscal no és vàlida. En producció, les compres funcionaran sense impostos aplicats.","error_page.error_message_stripe_tax_not_active":"La compra ha fallat perquè Stripe Tax no està activat. En producció, les compres funcionaran sense impostos aplicats.","error_page.error_only_in_sandbox":"Aquest missatge apareix només a l'entorn de proves.","error_page.error_message_stripe_missing_required_permission":"La compra ha fallat perquè l'aplicació Stripe no té un permís necessari. En producció, les compres funcionaran sense impostos aplicats.","error_page.error_title_stripe_tax_not_active":"Stripe Tax no està actiu","error_page.error_title_stripe_invalid_tax_origin_address":"Adreça d'origen fiscal no vàlida","apple_pay.free_trial":"Prova gratuïta","product_info.price_after_intro_price":"Després de {{introPriceDuration}}, el {{renewalDate}}","product_info.after_trial":"després del període de prova","product_info.after":"després de","product_info.intro_price_phase_after_trial":"Després {{introPriceDuration}} per {{introPrice}}","product_info.intro_price_phase":"Primer {{introPriceDuration}} per {{introPrice}}","product_info.intro_price_phase_paid_once":"pagat un cop","payment_entry_page.trial_subscription_terms_info":"Un cop finalitzat el període de prova, se us cobrarà {{price}} {{perFrequency}} a partir del {{renewalDate}}. Podeu cancel·lar-ho en qualsevol moment abans d'aquesta data.","payment_entry_page.subscription_info":"La subscripció es renova automàticament. Cancel·leu-la quan vulgueu.","payment_entry_page.otp_terms_info":"En comprar, accepteu que {{appName}} us cobri d'acord amb les seves condicions.","payment_entry_page.terms_link_label":"Condicions","payment_entry_page.subscription_terms_info":"En subscriure-us, accepteu que {{appName}} us cobri d'acord amb les seves condicions fins que ho cancel·leu.","loading_page.keep_page_open":"El procés està gairebé acabat. Mantingueu aquesta pàgina oberta.","loading_page.processing_payment":"S'està processant el pagament","pricing_table.discount":"Descompte","pricing_table.subtotal":"Subtotal","pricing_dropdown.add_promo_code":"Afegir codi promocional","discount_input.label":"Codi promocional","payment_entry_page.checkout_consent_terms_of_service":"termes del servei","payment_entry_page.checkout_consent_agreement":"Accepto els {{termsOfService}} de {{appName}}."},Bm={"periods.week":"{{amount}} 周","periods.month":"{{amount}} 月","periods.year":"{{amount}} 年","periods.day":"{{amount}} 天","periods.weekShort":"{{amount}}周","periods.monthShort":"{{amount}}月","periods.yearShort":"{{amount}}年","periods.dayShort":"{{amount}}天","periods.lifetime":"终身","periods.weekPlural":"{{amount}} 周","periods.monthPlural":"{{amount}} 个月","periods.yearPlural":"{{amount}} 年","periods.dayPlural":"{{amount}} 天","periods.weekFrequency":"每周","periods.monthFrequency":"每月","periods.yearFrequency":"每年","periods.dayFrequency":"每天","periods.perWeekFrequency":"每周","periods.perMonthFrequency":"每月","periods.perYearFrequency":"每年","periods.perDayFrequency":"每天","periods.unknownFrequency":"未知","periods.weekFrequencyPlural":"每 {{amount}} 周","periods.monthFrequencyPlural":"每 {{amount}} 个月","periods.yearFrequencyPlural":"每 {{amount}} 年","periods.dayFrequencyPlural":"每 {{amount}} 天","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} 天免费试用","product_info.price_after_free_trial":"试用期结束后,于 {{renewalDate}}","product_info.renewal_frequency":"续订 {{frequency}}","product_info.continues_until_cancelled":"持续到取消","product_info.cancel_anytime":"随时取消","payment_entry_page.payment_step_title":"RevenueCat 安全结账","payment_entry_page.button_pay":"立即支付","payment_entry_page.button_start_trial":"开始试用","success_page.purchase_successful":"支付完成","success_page.button_close":"继续","error_page.if_error_persists":"如果错误仍然存在,请联系 ","error_page.error_title_already_subscribed":"您已订阅 {{productTitle}}","error_page.error_title_already_purchased":"您已购买 {{productTitle}}","error_page.error_title_other_errors":"出现错误","error_page.error_message_already_subscribed":"您不能再次订阅此产品。","error_page.error_message_already_purchased":"您不能再次购买此产品。","error_page.error_message_missing_email_error":"完成购买需要邮箱地址。","error_page.error_message_network_error":"网络错误。请检查您的互联网连接。","error_page.error_message_error_charging_payment":"支付失败。","error_page.error_message_error_setting_up_purchase":"由于错误,购买未启动(错误代码:{{errorCode}})。","error_page.error_message_invalid_tax_location":"我们无法验证您的账单地址。请仔细检查邮政编码和国家是否正确。","error_page.error_message_unknown_error":"发生未知错误(错误代码:{{errorCode}})。","error_page.button_try_again":"重试","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"今天应付总额","product_info.subscribe_to":"订阅","navbar_header.details":"详情","navbar_header.back_button":"返回","pricing_dropdown.show_details":"显示详情","pricing_dropdown.hide_details":"隐藏详情","pricing_table.tax":"税","pricing_table.trial_ends":"试用期结束后,于{{formattedTrialEndDate}}","pricing_table.total_due_today":"今日应付总额","pricing_table.total_excluding_tax":"总计(不含税)","pricing_table.enter_billing_address_to_calculate":"输入账单地址以计算","pricing_table.enter_state_or_postal_code_to_calculate":"输入州或邮政编码以计算","pricing_table.enter_postal_code_to_calculate":"输入邮政编码以计算","error_page.error_message_invalid_email_error":"无法验证电子邮件地址{{email}}。请提供有效的电子邮件地址。","payment_entry_page.button_payment_method":"使用{{paymentMethod}}支付{{formattedPrice}}","payment_entry_page.button_with_price":"支付{{formattedPrice}}","price_update.title":"价格更新","price_update.base_message":"总价已根据您的账单地址更新了税费。请查看并重试。您的银行卡只会扣款一次。","price_update.trial_message":"根据您的账单地址,订阅价格已更新为含税价格。免费试用仍然有效。请查看并重试。","payment_entry_page.express_checkout_divider":"或使用银行卡支付","error_page.trouble_accessing":"如果您在访问购买项目时遇到问题,请通过以下方式联系支持:","error_page.close_button_title":"前往{{appName}}","error_page.error_title_stripe_missing_required_permission":"缺少Stripe权限","error_page.button_close":"关闭","error_page.error_message_stripe_invalid_tax_origin_address":"购买失败,因为税务起始地址无效。在生产环境中,购买将在不应用税款的情况下进行。","error_page.error_message_stripe_tax_not_active":"购买失败,因为Stripe Tax未启用。在生产环境中,购买将在不应用税款的情况下进行。","error_page.error_only_in_sandbox":"此消息仅在沙盒中显示。","error_page.error_message_stripe_missing_required_permission":"购买失败,因为Stripe应用程序缺少必需的权限。在生产环境中,购买将在不应用税款的情况下进行。","error_page.error_title_stripe_tax_not_active":"Stripe Tax未激活","error_page.error_title_stripe_invalid_tax_origin_address":"税务起始地址无效","apple_pay.free_trial":"免费试用","product_info.price_after_intro_price":"在{{introPriceDuration}}之后,于{{renewalDate}}开始","product_info.after_trial":"试用后","product_info.after":"之后","product_info.intro_price_phase_after_trial":"然后{{introPriceDuration}},价格为{{introPrice}}","product_info.intro_price_phase":"首先{{introPriceDuration}},价格为{{introPrice}}","product_info.intro_price_phase_paid_once":"一次性支付","payment_entry_page.trial_subscription_terms_info":"试用期结束后,您将被收取 {{price}} {{perFrequency}},从 {{renewalDate}} 开始。您可以在此日期之前的任何时间取消。","payment_entry_page.subscription_info":"订阅自动续订。随时取消。","payment_entry_page.otp_terms_info":"购买即表示您同意允许{{appName}}根据其条款向您收费。","payment_entry_page.terms_link_label":"条款","payment_entry_page.subscription_terms_info":"订阅即表示您同意允许 {{appName}} 按照其条款向您收费,直到您取消订阅。","loading_page.keep_page_open":"流程即将完成。请保持此页面打开。","loading_page.processing_payment":"正在处理付款","pricing_table.discount":"折扣","pricing_table.subtotal":"小计","pricing_dropdown.add_promo_code":"添加优惠码","discount_input.label":"优惠码","payment_entry_page.checkout_consent_terms_of_service":"服务条款","payment_entry_page.checkout_consent_agreement":"我同意{{appName}}的{{termsOfService}}。"},Rm={"periods.week":"{{amount}} 週","periods.month":"{{amount}} 個月","periods.year":"{{amount}} 年","periods.day":"{{amount}} 天","periods.weekShort":"{{amount}}週","periods.monthShort":"{{amount}}月","periods.yearShort":"{{amount}}年","periods.dayShort":"{{amount}}天","periods.lifetime":"終身","periods.weekPlural":"{{amount}} 週","periods.monthPlural":"{{amount}} 個月","periods.yearPlural":"{{amount}} 年","periods.dayPlural":"{{amount}} 天","periods.weekFrequency":"每週","periods.monthFrequency":"每月","periods.yearFrequency":"每年","periods.dayFrequency":"每天","periods.perWeekFrequency":"每週","periods.perMonthFrequency":"每月","periods.perYearFrequency":"每年","periods.perDayFrequency":"每天","periods.unknownFrequency":"未知","periods.weekFrequencyPlural":"每 {{amount}} 週","periods.monthFrequencyPlural":"每 {{amount}} 個月","periods.yearFrequencyPlural":"每 {{amount}} 年","periods.dayFrequencyPlural":"每 {{amount}} 天","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} 天免費試用","product_info.price_after_free_trial":"試用期結束後,於 {{renewalDate}}","product_info.renewal_frequency":"每 {{frequency}} 續約","product_info.continues_until_cancelled":"持續到取消","product_info.cancel_anytime":"隨時取消","payment_entry_page.payment_step_title":"RevenueCat 安全結帳","payment_entry_page.button_pay":"立即付款","payment_entry_page.button_start_trial":"開始試用","success_page.purchase_successful":"付款完成","success_page.button_close":"繼續","error_page.if_error_persists":"如果錯誤持續存在,請聯絡 ","error_page.error_title_already_subscribed":"您已經訂閱 {{productTitle}}","error_page.error_title_already_purchased":"您已經購買 {{productTitle}}","error_page.error_title_other_errors":"發生錯誤","error_page.error_message_already_subscribed":"您無法再次訂閱此產品。","error_page.error_message_already_purchased":"您無法再次購買此產品。","error_page.error_message_missing_email_error":"完成購買需要電子郵件地址。","error_page.error_message_network_error":"網路錯誤。請檢查您的網路連線。","error_page.error_message_error_charging_payment":"付款失敗。","error_page.error_message_error_setting_up_purchase":"由於發生錯誤,購買未啟動(錯誤代碼:{{errorCode}})。","error_page.error_message_invalid_tax_location":"我們無法驗證您的帳單地址。請仔細檢查郵遞區號和國家是否正確。","error_page.error_message_unknown_error":"發生不明錯誤(錯誤代碼:{{errorCode}})。","error_page.button_try_again":"再試一次","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}} ({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"今日應付總額","product_info.subscribe_to":"訂閱","navbar_header.details":"詳細資訊","navbar_header.back_button":"返回","pricing_dropdown.show_details":"顯示詳細資訊","pricing_dropdown.hide_details":"隱藏詳細資訊","pricing_table.tax":"稅金","pricing_table.trial_ends":"試用期結束後,於 {{formattedTrialEndDate}}","pricing_table.total_due_today":"今日應付總額","pricing_table.total_excluding_tax":"總計(不含稅)","pricing_table.enter_billing_address_to_calculate":"輸入帳單地址以計算","pricing_table.enter_state_or_postal_code_to_calculate":"輸入州或郵政編碼以計算","pricing_table.enter_postal_code_to_calculate":"輸入郵政編碼以計算","error_page.error_message_invalid_email_error":"無法驗證電子郵件地址 {{email}}。請提供有效的電子郵件地址。","payment_entry_page.button_payment_method":"使用 {{paymentMethod}} 支付 {{formattedPrice}}","payment_entry_page.button_with_price":"支付 {{formattedPrice}}","price_update.title":"價格更新","price_update.base_message":"總價已根據您的帳單地址更新稅金。請檢查後重試。您的信用卡只會被收取一次費用。","price_update.trial_message":"根據您的帳單地址,訂閱價格已更新為含稅價格。免費試用仍然有效。請查看並重試。","payment_entry_page.express_checkout_divider":"或以信用卡付款","error_page.trouble_accessing":"如果您在存取購買項目時遇到問題,請透過以下方式聯絡支援人員:","error_page.close_button_title":"前往{{appName}}","error_page.error_title_stripe_missing_required_permission":"缺少 Stripe 權限","error_page.button_close":"關閉","error_page.error_message_stripe_invalid_tax_origin_address":"購買失敗,因為稅務起始地址無效。在正式環境中,購買將在不套用稅金的情況下運作。","error_page.error_message_stripe_tax_not_active":"購買失敗,因為 Stripe Tax 未啟用。在正式環境中,購買將在不套用稅金的情況下運作。","error_page.error_only_in_sandbox":"此訊息僅在沙盒中顯示。","error_page.error_message_stripe_missing_required_permission":"購買失敗,因為 Stripe 應用程式缺少必要的權限。在正式環境中,購買將在不套用稅金的情況下運作。","error_page.error_title_stripe_tax_not_active":"Stripe Tax 未啟用","error_page.error_title_stripe_invalid_tax_origin_address":"無效的稅務起始地址","apple_pay.free_trial":"免費試用","product_info.price_after_intro_price":"在 {{introPriceDuration}} 之後,於 {{renewalDate}}","product_info.after_trial":"試用期後","product_info.after":"之後","product_info.intro_price_phase_after_trial":"然後 {{introPriceDuration}},價格為 {{introPrice}}","product_info.intro_price_phase":"首先 {{introPriceDuration}},價格為 {{introPrice}}","product_info.intro_price_phase_paid_once":"一次性支付","payment_entry_page.trial_subscription_terms_info":"在您的試用期結束後,您將被收取 {{price}} {{perFrequency}},從 {{renewalDate}} 開始。您可以隨時在此日期之前取消。","payment_entry_page.subscription_info":"訂閱會自動續訂。隨時取消。","payment_entry_page.otp_terms_info":"購買即表示您同意授權 {{appName}} 根據其條款向您收費。","payment_entry_page.terms_link_label":"條款","payment_entry_page.subscription_terms_info":"訂閱即表示您同意允許 {{appName}} 根據其條款向您收費,直到您取消為止。","loading_page.keep_page_open":"程序即將完成。請保持此頁面開啟。","loading_page.processing_payment":"正在處理付款","pricing_table.discount":"折扣","pricing_table.subtotal":"小計","pricing_dropdown.add_promo_code":"新增優惠碼","discount_input.label":"促銷代碼","payment_entry_page.checkout_consent_terms_of_service":"服務條款","payment_entry_page.checkout_consent_agreement":"我同意{{appName}}的{{termsOfService}}。"},Um={"periods.week":"{{amount}} tjedan","periods.month":"{{amount}} mjesec","periods.year":"{{amount}} godina","periods.day":"{{amount}} dan","periods.weekShort":"{{amount}}tj","periods.monthShort":"{{amount}}mj","periods.yearShort":"{{amount}}g","periods.dayShort":"{{amount}}d","periods.lifetime":"doživotno","periods.weekPlural":"{{amount}} tjedana","periods.monthPlural":"{{amount}} mjeseci","periods.yearPlural":"{{amount}} godina","periods.dayPlural":"{{amount}} dana","periods.weekFrequency":"tjedno","periods.monthFrequency":"mjesečno","periods.yearFrequency":"godišnje","periods.dayFrequency":"dnevno","periods.perWeekFrequency":"tjedno","periods.perMonthFrequency":"mjesečno","periods.perYearFrequency":"godišnje","periods.perDayFrequency":"dnevno","periods.unknownFrequency":"nepoznato","periods.weekFrequencyPlural":"svakih {{amount}} tjedana","periods.monthFrequencyPlural":"svakih {{amount}} mjeseci","periods.yearFrequencyPlural":"svakih {{amount}} godina","periods.dayFrequencyPlural":"svakih {{amount}} dana","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} besplatno probno razdoblje","product_info.price_after_free_trial":"Nakon isteka probnog razdoblja, {{renewalDate}}","product_info.renewal_frequency":"Obnavlja se {{frequency}}","product_info.continues_until_cancelled":"Nastavlja se dok se ne otkaže","product_info.cancel_anytime":"Otkažite u bilo kojem trenutku","payment_entry_page.payment_step_title":"Sigurna naplata putem RevenueCat","payment_entry_page.button_pay":"Plati sada","payment_entry_page.button_start_trial":"Počni probno razdoblje","success_page.purchase_successful":"Uplata je uspješna","success_page.button_close":"Nastavi","error_page.if_error_persists":"Ako se pogreška nastavi, obratite se ","error_page.error_title_already_subscribed":"Već ste pretplaćeni na {{productTitle}}","error_page.error_title_already_purchased":"Već ste kupili {{productTitle}}","error_page.error_title_other_errors":"Nešto je pošlo po zlu","error_page.error_message_already_subscribed":"Ne možete se ponovno pretplatiti na ovaj proizvod.","error_page.error_message_already_purchased":"Ne možete ponovno kupiti ovaj proizvod.","error_page.error_message_missing_email_error":"E-pošta je potrebna za dovršetak kupnje.","error_page.error_message_network_error":"Mrežna pogreška. Provjerite internetsku vezu.","error_page.error_message_error_charging_payment":"Plaćanje nije uspjelo.","error_page.error_message_error_setting_up_purchase":"Kupnja nije započela zbog pogreške (kod pogreške: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Nismo mogli potvrditi vašu adresu za naplatu. Molimo provjerite poštanski broj i državu kako biste bili sigurni da su točni.","error_page.error_message_unknown_error":"Došlo je do nepoznate pogreške (kod pogreške: {{errorCode}}).","error_page.button_try_again":"Pokušaj ponovno","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Ukupno dospijeće danas","product_info.subscribe_to":"Pretplatite se","navbar_header.details":"Detalji","navbar_header.back_button":"Natrag","pricing_dropdown.show_details":"Prikaži detalje","pricing_dropdown.hide_details":"Sakrij detalje","pricing_table.tax":"Porez","pricing_table.trial_ends":"Nakon isteka probnog razdoblja, {{formattedTrialEndDate}}","pricing_table.total_due_today":"Ukupan iznos dospijeća danas","pricing_table.total_excluding_tax":"Ukupno bez poreza","pricing_table.enter_billing_address_to_calculate":"Unesite adresu za naplatu za izračun","pricing_table.enter_state_or_postal_code_to_calculate":"Unesite državu ili poštanski broj za izračun","pricing_table.enter_postal_code_to_calculate":"Unesite poštanski broj za izračun","error_page.error_message_invalid_email_error":"Adresa e-pošte {{email}} nije se mogla potvrditi. Molimo unesite valjanu adresu e-pošte.","payment_entry_page.button_payment_method":"Plati {{formattedPrice}} putem {{paymentMethod}}","payment_entry_page.button_with_price":"Plati {{formattedPrice}}","price_update.title":"Ažuriranje cijene","price_update.base_message":"Ukupna cijena je ažurirana s porezom na temelju vaše adrese za naplatu. Pregledajte i pokušajte ponovo. Vaša kartica bit će naplaćena samo jednom.","price_update.trial_message":"Cijena pretplate je ažurirana da uključi poreze na temelju vaše adrese za naplatu. Besplatno probno razdoblje i dalje vrijedi. Molimo provjerite i pokušajte ponovno.","payment_entry_page.express_checkout_divider":"ILI PLATITE KARTICOM","error_page.trouble_accessing":"Ako imate problema s pristupom kupnji, obratite se podršci na ","error_page.close_button_title":"Idi na {{appName}}","error_page.error_title_stripe_missing_required_permission":"Nedostaje Stripe dopuštenje","error_page.button_close":"Zatvori","error_page.error_message_stripe_invalid_tax_origin_address":"Kupnja nije uspjela jer je adresa poreznog podrijetla nevažeća. U produkciji će kupnje funkcionirati bez primijenjenih poreza.","error_page.error_message_stripe_tax_not_active":"Kupnja nije uspjela jer Stripe Tax nije omogućen. U produkciji će kupnje funkcionirati bez primijenjenih poreza.","error_page.error_only_in_sandbox":"Ova se poruka pojavljuje samo u sandboxu.","error_page.error_message_stripe_missing_required_permission":"Kupnja nije uspjela jer Stripe aplikaciji nedostaje potrebno dopuštenje. U produkciji će kupnje funkcionirati bez primijenjenih poreza.","error_page.error_title_stripe_tax_not_active":"Stripe Tax nije aktivan","error_page.error_title_stripe_invalid_tax_origin_address":"Nevažeća adresa poreznog podrijetla","apple_pay.free_trial":"Besplatna proba","product_info.price_after_intro_price":"Nakon {{introPriceDuration}}, na {{renewalDate}}","product_info.after_trial":"nakon probnog perioda","product_info.after":"nakon","product_info.intro_price_phase_after_trial":"Zatim {{introPriceDuration}} za {{introPrice}}","product_info.intro_price_phase":"Prvo {{introPriceDuration}} za {{introPrice}}","product_info.intro_price_phase_paid_once":"plaća se jednokratno","payment_entry_page.trial_subscription_terms_info":"Nakon isteka probnog razdoblja, bit će vam naplaćeno {{price}} {{perFrequency}} počevši od {{renewalDate}}. Možete otkazati bilo kada prije tog datuma.","payment_entry_page.subscription_info":"Pretplata se automatski obnavlja. Otkažite bilo kada.","payment_entry_page.otp_terms_info":"Kupnjom pristajete dopustiti aplikaciji {{appName}} da vam naplati u skladu s njihovim uvjetima.","payment_entry_page.terms_link_label":"Uvjeti","payment_entry_page.subscription_terms_info":"Pretplatom se slažete da ćete dopustiti {{appName}} da vam naplaćuje u skladu s njihovim uvjetima dok ne otkažete.","loading_page.keep_page_open":"Proces je skoro gotov. Ostavite ovu stranicu otvorenom.","loading_page.processing_payment":"Obrada uplate","pricing_table.discount":"Popust","pricing_table.subtotal":"Međuzbroj","pricing_dropdown.add_promo_code":"Dodaj promotivni kod","discount_input.label":"Promo kod","payment_entry_page.checkout_consent_terms_of_service":"uvjetima korištenja","payment_entry_page.checkout_consent_agreement":"Slažem se s {{appName}} {{termsOfService}}."},Vm={"periods.week":"{{amount}} týden","periods.month":"{{amount}} měsíc","periods.year":"{{amount}} rok","periods.day":"{{amount}} den","periods.weekShort":"{{amount}}týd","periods.monthShort":"{{amount}}měs","periods.yearShort":"{{amount}}rok","periods.dayShort":"{{amount}}d","periods.lifetime":"doživotně","periods.weekPlural":"{{amount}} týdnů","periods.monthPlural":"{{amount}} měsíců","periods.yearPlural":"{{amount}} let","periods.dayPlural":"{{amount}} dnů","periods.weekFrequency":"týdně","periods.monthFrequency":"měsíčně","periods.yearFrequency":"ročně","periods.dayFrequency":"denně","periods.perWeekFrequency":"týdně","periods.perMonthFrequency":"měsíčně","periods.perYearFrequency":"ročně","periods.perDayFrequency":"denně","periods.unknownFrequency":"neznámé","periods.weekFrequencyPlural":"každých {{amount}} týdnů","periods.monthFrequencyPlural":"každých {{amount}} měsíců","periods.yearFrequencyPlural":"každých {{amount}} let","periods.dayFrequencyPlural":"každých {{amount}} dnů","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} zkušební verze zdarma","product_info.price_after_free_trial":"Po skončení zkušební verze, {{renewalDate}}","product_info.renewal_frequency":"Obnovuje se {{frequency}}","product_info.continues_until_cancelled":"Pokračuje, dokud není zrušeno","product_info.cancel_anytime":"Zrušit kdykoli","payment_entry_page.payment_step_title":"Bezpečné placení přes RevenueCat","payment_entry_page.button_pay":"Platit nyní","payment_entry_page.button_start_trial":"Spustit zkušební verzi","success_page.purchase_successful":"Platba dokončena","success_page.button_close":"Pokračovat","error_page.if_error_persists":"Pokud chyba přetrvává, kontaktujte ","error_page.error_title_already_subscribed":"Již máte předplatné pro {{productTitle}}","error_page.error_title_already_purchased":"Již jste zakoupili {{productTitle}}","error_page.error_title_other_errors":"Něco se pokazilo","error_page.error_message_already_subscribed":"Nemůžete si znovu předplatit tento produkt.","error_page.error_message_already_purchased":"Tento produkt si nemůžete znovu zakoupit.","error_page.error_message_missing_email_error":"Pro dokončení nákupu je vyžadován e-mail.","error_page.error_message_network_error":"Síťová chyba. Zkontrolujte prosím své internetové připojení.","error_page.error_message_error_charging_payment":"Platba selhala.","error_page.error_message_error_setting_up_purchase":"Nákup nebyl zahájen z důvodu chyby (kód chyby: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Nemohli jsme ověřit vaši fakturační adresu. Zkontrolujte prosím, zda je poštovní směrovací číslo a země správné.","error_page.error_message_unknown_error":"Došlo k neznámé chybě (kód chyby: {{errorCode}}).","error_page.button_try_again":"Zkusit znovu","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Celkem dnes k zaplacení","product_info.subscribe_to":"Předplatit","navbar_header.details":"Podrobnosti","navbar_header.back_button":"Zpět","pricing_dropdown.show_details":"Zobrazit podrobnosti","pricing_dropdown.hide_details":"Skrýt podrobnosti","pricing_table.tax":"Daň","pricing_table.trial_ends":"Po skončení zkušební doby, dne {{formattedTrialEndDate}}","pricing_table.total_due_today":"Celkem splatné dnes","pricing_table.total_excluding_tax":"Celkem bez daně","pricing_table.enter_billing_address_to_calculate":"Zadejte fakturační adresu pro výpočet","pricing_table.enter_state_or_postal_code_to_calculate":"Zadejte stát nebo PSČ pro výpočet","pricing_table.enter_postal_code_to_calculate":"Zadejte PSČ pro výpočet","error_page.error_message_invalid_email_error":"E-mailová adresa {{email}} nemohla být ověřena. Zadejte prosím platnou e-mailovou adresu.","payment_entry_page.button_payment_method":"Zaplatit {{formattedPrice}} pomocí {{paymentMethod}}","payment_entry_page.button_with_price":"Zaplatit {{formattedPrice}}","price_update.title":"Aktualizace ceny","price_update.base_message":"Celková cena byla aktualizována o daň na základě vaší fakturační adresy. Zkontrolujte ji a zkuste to znovu. Vaše karta bude stržena pouze jednou.","price_update.trial_message":"Cena předplatného byla aktualizována včetně daní na základě vaší fakturační adresy. Bezplatná zkušební doba stále platí. Prosím, zkontrolujte a zkuste to znovu.","payment_entry_page.express_checkout_divider":"NEBO ZAPLATIT KARTOU","error_page.trouble_accessing":"Pokud máte potíže s přístupem k zakoupenému obsahu, kontaktujte podporu na ","error_page.close_button_title":"Přejít na {{appName}}","error_page.error_title_stripe_missing_required_permission":"Chybí oprávnění Stripe","error_page.button_close":"Zavřít","error_page.error_message_stripe_invalid_tax_origin_address":"Nákup se nezdařil, protože adresa původu daně je neplatná. V produkčním prostředí budou nákupy fungovat bez uplatnění daní.","error_page.error_message_stripe_tax_not_active":"Nákup se nezdařil, protože Stripe Tax není aktivní. V produkčním prostředí budou nákupy fungovat bez uplatnění daní.","error_page.error_only_in_sandbox":"Tato zpráva se zobrazuje pouze v sandboxu.","error_page.error_message_stripe_missing_required_permission":"Nákup se nezdařil, protože aplikaci Stripe chybí požadované oprávnění. V produkčním prostředí budou nákupy fungovat bez uplatnění daní.","error_page.error_title_stripe_tax_not_active":"Stripe Tax není aktivní","error_page.error_title_stripe_invalid_tax_origin_address":"Neplatná adresa původu daně","apple_pay.free_trial":"Zkušební verze zdarma","product_info.price_after_intro_price":"Po {{introPriceDuration}}, dne {{renewalDate}}","product_info.after_trial":"po zkušební době","product_info.after":"po","product_info.intro_price_phase_after_trial":"Poté {{introPriceDuration}} za {{introPrice}}","product_info.intro_price_phase":"Nejprve {{introPriceDuration}} za {{introPrice}}","product_info.intro_price_phase_paid_once":"placeno jednorázově","payment_entry_page.trial_subscription_terms_info":"Po skončení zkušebního období vám bude účtováno {{price}} {{perFrequency}} počínaje {{renewalDate}}. Před tímto datem můžete kdykoli zrušit.","payment_entry_page.subscription_info":"Předplatné se automaticky obnovuje. Zrušit můžete kdykoli.","payment_entry_page.otp_terms_info":"Zakoupením souhlasíte s tím, že umožníte aplikaci {{appName}} účtovat vám poplatky v souladu s jejími podmínkami.","payment_entry_page.terms_link_label":"Podmínky","payment_entry_page.subscription_terms_info":"Přihlášením k odběru souhlasíte s tím, že společnost {{appName}} vám bude účtovat poplatky v souladu s jejími podmínkami, dokud odběr nezrušíte.","loading_page.keep_page_open":"Probíhá dokončování procesu. Nechte tuto stránku otevřenou.","loading_page.processing_payment":"Probíhá zpracování platby","pricing_table.discount":"Sleva","pricing_table.subtotal":"Mezisoučet","pricing_dropdown.add_promo_code":"Přidat promo kód","discount_input.label":"Promo kód","payment_entry_page.checkout_consent_terms_of_service":"podmínkami služby","payment_entry_page.checkout_consent_agreement":"Souhlasím s {{appName}} {{termsOfService}}."},Hm={"periods.week":"{{amount}} uge","periods.month":"{{amount}} måned","periods.year":"{{amount}} år","periods.day":"{{amount}} dag","periods.weekShort":"{{amount}}ug","periods.monthShort":"{{amount}}md","periods.yearShort":"{{amount}}år","periods.dayShort":"{{amount}}d","periods.lifetime":"livstid","periods.weekPlural":"{{amount}} uger","periods.monthPlural":"{{amount}} måneder","periods.yearPlural":"{{amount}} år","periods.dayPlural":"{{amount}} dage","periods.weekFrequency":"ugentligt","periods.monthFrequency":"månedligt","periods.yearFrequency":"årligt","periods.dayFrequency":"dagligt","periods.perWeekFrequency":"pr. uge","periods.perMonthFrequency":"pr. måned","periods.perYearFrequency":"pr. år","periods.perDayFrequency":"pr. dag","periods.unknownFrequency":"ukendt","periods.weekFrequencyPlural":"hver {{amount}} uger","periods.monthFrequencyPlural":"hver {{amount}} måneder","periods.yearFrequencyPlural":"hver {{amount}} år","periods.dayFrequencyPlural":"hver {{amount}} dage","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} gratis prøveperiode","product_info.price_after_free_trial":"Efter prøveperioden slutter, den {{renewalDate}}","product_info.renewal_frequency":"Fornyes {{frequency}}","product_info.continues_until_cancelled":"Fortsætter indtil annulleret","product_info.cancel_anytime":"Annuller når som helst","payment_entry_page.payment_step_title":"Sikker betaling via RevenueCat","payment_entry_page.button_pay":"Betal nu","payment_entry_page.button_start_trial":"Start prøveperiode","success_page.purchase_successful":"Betaling gennemført","success_page.button_close":"Fortsæt","error_page.if_error_persists":"Hvis fejlen fortsætter, kontakt venligst ","error_page.error_title_already_subscribed":"Du abonnerer allerede på {{productTitle}}","error_page.error_title_already_purchased":"Du har allerede købt {{productTitle}}","error_page.error_title_other_errors":"Noget gik galt","error_page.error_message_already_subscribed":"Du kan ikke abonnere på dette produkt igen.","error_page.error_message_already_purchased":"Du kan ikke købe dette produkt igen.","error_page.error_message_missing_email_error":"Email er påkrævet for at gennemføre købet.","error_page.error_message_network_error":"Netværksfejl. Kontroller din internetforbindelse.","error_page.error_message_error_charging_payment":"Betalingen mislykkedes.","error_page.error_message_error_setting_up_purchase":"Køb ikke startet på grund af en fejl (fejlkode: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Vi kunne ikke bekræfte din faktureringsadresse. Kontroller venligst, at postnummeret og landet er korrekte.","error_page.error_message_unknown_error":"Der opstod en ukendt fejl (fejlkode: {{errorCode}}).","error_page.button_try_again":"Prøv igen","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Samlet beløb for i dag","product_info.subscribe_to":"Abonner på","navbar_header.details":"Detaljer","navbar_header.back_button":"Tilbage","pricing_dropdown.show_details":"Vis detaljer","pricing_dropdown.hide_details":"Skjul detaljer","pricing_table.tax":"Moms","pricing_table.trial_ends":"Efter prøveperioden slutter, den {{formattedTrialEndDate}}","pricing_table.total_due_today":"Samlet beløb forfalden i dag","pricing_table.total_excluding_tax":"Samlet beløb eksklusive moms","pricing_table.enter_billing_address_to_calculate":"Indtast faktureringsadresse for at beregne","pricing_table.enter_state_or_postal_code_to_calculate":"Indtast stat eller postnummer for at beregne","pricing_table.enter_postal_code_to_calculate":"Indtast postnummer for at beregne","error_page.error_message_invalid_email_error":"E-mailadressen {{email}} kunne ikke bekræftes. Angiv en gyldig e-mailadresse.","payment_entry_page.button_payment_method":"Betal {{formattedPrice}} med {{paymentMethod}}","payment_entry_page.button_with_price":"Betal {{formattedPrice}}","price_update.title":"Prisopdatering","price_update.base_message":"Den samlede pris er blevet opdateret med moms baseret på din faktureringsadresse. Gennemgå og prøv igen. Dit kort vil kun blive debiteret én gang.","price_update.trial_message":"Abonnementsprisen er opdateret for at inkludere skatter baseret på din faktureringsadresse. Den gratis prøveperiode gælder stadig. Kontroller venligst og prøv igen.","payment_entry_page.express_checkout_divider":"ELLER BETAL MED KORT","error_page.trouble_accessing":"Hvis du har problemer med at få adgang til dit køb, kan du kontakte support på ","error_page.close_button_title":"Gå til {{appName}}","error_page.error_title_stripe_missing_required_permission":"Manglende Stripe-tilladelse","error_page.button_close":"Luk","error_page.error_message_stripe_invalid_tax_origin_address":"Købet mislykkedes, fordi skatteoprindelsesadressen er ugyldig. I produktion vil køb fungere uden påførte skatter.","error_page.error_message_stripe_tax_not_active":"Købet mislykkedes, fordi Stripe Tax ikke er aktiveret. I produktion vil køb fungere uden påførte skatter.","error_page.error_only_in_sandbox":"Denne meddelelse vises kun i sandkassen.","error_page.error_message_stripe_missing_required_permission":"Købet mislykkedes, fordi Stripe-appen mangler en påkrævet tilladelse. I produktion vil køb fungere uden påførte skatter.","error_page.error_title_stripe_tax_not_active":"Stripe Tax er ikke aktiv","error_page.error_title_stripe_invalid_tax_origin_address":"Ugyldig skatteoprindelsesadresse","apple_pay.free_trial":"Gratis prøveperiode","product_info.price_after_intro_price":"Efter {{introPriceDuration}}, den {{renewalDate}}","product_info.after_trial":"efter prøveperiode","product_info.after":"efter","product_info.intro_price_phase_after_trial":"Derefter {{introPriceDuration}} for {{introPrice}}","product_info.intro_price_phase":"Først {{introPriceDuration}} for {{introPrice}}","product_info.intro_price_phase_paid_once":"betales én gang","payment_entry_page.trial_subscription_terms_info":"Efter din prøveperiode slutter, vil du blive opkrævet {{price}} {{perFrequency}} fra og med {{renewalDate}}. Du kan opsige når som helst før denne dato.","payment_entry_page.subscription_info":"Abonnementet fornys automatisk. Opsig når som helst.","payment_entry_page.otp_terms_info":"Ved at købe accepterer du, at {{appName}} kan debitere dig i overensstemmelse med deres vilkår.","payment_entry_page.terms_link_label":"Vilkår","payment_entry_page.subscription_terms_info":"Ved at abonnere accepterer du, at {{appName}} kan opkræve dig i henhold til deres vilkår, indtil du opsiger.","loading_page.keep_page_open":"Processen er næsten færdig. Hold denne side åben.","loading_page.processing_payment":"Behandler betaling","pricing_table.discount":"Rabat","pricing_table.subtotal":"Subtotal","pricing_dropdown.add_promo_code":"Tilføj rabatkode","discount_input.label":"Kampagnekode","payment_entry_page.checkout_consent_terms_of_service":"servicevilkår","payment_entry_page.checkout_consent_agreement":"Jeg accepterer {{appName}}'s {{termsOfService}}."},Wm={"periods.week":"{{amount}} week","periods.month":"{{amount}} maand","periods.year":"{{amount}} jaar","periods.day":"{{amount}} dag","periods.weekShort":"{{amount}}wk","periods.monthShort":"{{amount}}maand","periods.yearShort":"{{amount}}jr","periods.dayShort":"{{amount}}d","periods.lifetime":"levenslang","periods.weekPlural":"{{amount}} weken","periods.monthPlural":"{{amount}} maanden","periods.yearPlural":"{{amount}} jaren","periods.dayPlural":"{{amount}} dagen","periods.weekFrequency":"wekelijks","periods.monthFrequency":"maandelijks","periods.yearFrequency":"jaarlijks","periods.dayFrequency":"dagelijks","periods.perWeekFrequency":"per week","periods.perMonthFrequency":"per maand","periods.perYearFrequency":"per jaar","periods.perDayFrequency":"per dag","periods.unknownFrequency":"onbekend","periods.weekFrequencyPlural":"elke {{amount}} weken","periods.monthFrequencyPlural":"elke {{amount}} maanden","periods.yearFrequencyPlural":"elke {{amount}} jaren","periods.dayFrequencyPlural":"elke {{amount}} dagen","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} gratis proefperiode","product_info.price_after_free_trial":"Na afloop van de proefperiode, op {{renewalDate}}","product_info.renewal_frequency":"Wordt verlengd {{frequency}}","product_info.continues_until_cancelled":"Wordt voortgezet tot annulering","product_info.cancel_anytime":"Annuleer op elk gewenst moment","payment_entry_page.payment_step_title":"Veilige afrekening via RevenueCat","payment_entry_page.button_pay":"Nu betalen","payment_entry_page.button_start_trial":"Start proefperiode","success_page.purchase_successful":"Betaling voltooid","success_page.button_close":"Doorgaan","error_page.if_error_persists":"Neem contact op met als de fout aanhoudt","error_page.error_title_already_subscribed":"Je bent al geabonneerd op {{productTitle}}","error_page.error_title_already_purchased":"Je hebt {{productTitle}} al gekocht","error_page.error_title_other_errors":"Er is iets misgegaan","error_page.error_message_already_subscribed":"Je kunt je niet opnieuw abonneren op dit product.","error_page.error_message_already_purchased":"Je kunt dit product niet opnieuw kopen.","error_page.error_message_missing_email_error":"Een e-mailadres is vereist om de aankoop te voltooien.","error_page.error_message_network_error":"Netwerkfout. Controleer uw internetverbinding.","error_page.error_message_error_charging_payment":"Betaling mislukt.","error_page.error_message_error_setting_up_purchase":"Aankoop niet gestart vanwege een fout (foutcode: {{errorCode}}).","error_page.error_message_invalid_tax_location":"We konden uw factuuradres niet verifiëren. Controleer of de postcode en het land correct zijn.","error_page.error_message_unknown_error":"Er is een onbekende fout opgetreden (foutcode: {{errorCode}}).","error_page.button_try_again":"Opnieuw proberen","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Totaal te betalen vandaag","product_info.subscribe_to":"Abonneren op","navbar_header.details":"Details","navbar_header.back_button":"Terug","pricing_dropdown.show_details":"Toon details","pricing_dropdown.hide_details":"Verberg details","pricing_table.tax":"Btw","pricing_table.trial_ends":"Na afloop van de proefperiode, op {{formattedTrialEndDate}}","pricing_table.total_due_today":"Totaal vandaag te betalen","pricing_table.total_excluding_tax":"Totaal exclusief btw","pricing_table.enter_billing_address_to_calculate":"Voer het factuuradres in om te berekenen","pricing_table.enter_state_or_postal_code_to_calculate":"Voer provincie of postcode in om te berekenen","pricing_table.enter_postal_code_to_calculate":"Voer postcode in om te berekenen","error_page.error_message_invalid_email_error":"Het e-mailadres {{email}} kon niet worden geverifieerd. Geef een geldig e-mailadres op.","payment_entry_page.button_payment_method":"Betaal {{formattedPrice}} met {{paymentMethod}}","payment_entry_page.button_with_price":"Betaal {{formattedPrice}}","price_update.title":"Prijsupdate","price_update.base_message":"De totale prijs is bijgewerkt met belasting op basis van uw factuuradres. Controleer en probeer het opnieuw. Uw kaart wordt slechts één keer belast.","price_update.trial_message":"De abonnementsprijs is bijgewerkt om belastingen op te nemen op basis van uw factuuradres. De gratis proefperiode blijft van toepassing. Controleer en probeer het opnieuw.","payment_entry_page.express_checkout_divider":"OF BETAAL MET EEN KAART","error_page.trouble_accessing":"Als je problemen hebt met het verkrijgen van toegang tot je aankoop, neem dan contact op met de ondersteuning via ","error_page.close_button_title":"Ga naar {{appName}}","error_page.error_title_stripe_missing_required_permission":"Ontbrekende Stripe-toestemming","error_page.button_close":"Sluiten","error_page.error_message_stripe_invalid_tax_origin_address":"De aankoop is mislukt omdat het belastingoorsprongadres ongeldig is. In productie werken aankopen zonder toegepaste belastingen.","error_page.error_message_stripe_tax_not_active":"De aankoop is mislukt omdat Stripe Tax niet is ingeschakeld. In productie werken aankopen zonder toegepaste belastingen.","error_page.error_only_in_sandbox":"Dit bericht verschijnt alleen in de sandbox.","error_page.error_message_stripe_missing_required_permission":"De aankoop is mislukt omdat de Stripe-app een vereiste toestemming mist. In productie werken aankopen zonder toegepaste belastingen.","error_page.error_title_stripe_tax_not_active":"Stripe Tax niet actief","error_page.error_title_stripe_invalid_tax_origin_address":"Ongeldig belastingoorsprongadres","apple_pay.free_trial":"Gratis proefperiode","product_info.price_after_intro_price":"Na {{introPriceDuration}}, op {{renewalDate}}","product_info.after_trial":"na proefperiode","product_info.after":"na","product_info.intro_price_phase_after_trial":"Daarna {{introPriceDuration}} voor {{introPrice}}","product_info.intro_price_phase":"Eerst {{introPriceDuration}} voor {{introPrice}}","product_info.intro_price_phase_paid_once":"eenmalig betaald","payment_entry_page.trial_subscription_terms_info":"Na afloop van uw proefperiode wordt {{price}} {{perFrequency}} in rekening gebracht, beginnend op {{renewalDate}}. U kunt op elk moment vóór deze datum annuleren.","payment_entry_page.subscription_info":"Abonnement wordt automatisch verlengd. Annuleer op elk moment.","payment_entry_page.otp_terms_info":"Door de aankoop ga je ermee akkoord dat {{appName}} kosten in rekening brengt volgens hun voorwaarden.","payment_entry_page.terms_link_label":"Voorwaarden","payment_entry_page.subscription_terms_info":"Door u te abonneren, stemt u ermee in dat {{appName}} u kosten in rekening brengt volgens hun voorwaarden totdat u annuleert.","loading_page.keep_page_open":"Het proces is bijna voltooid. Houd deze pagina open.","loading_page.processing_payment":"Betaling verwerken","pricing_table.discount":"Korting","pricing_table.subtotal":"Subtotaal","pricing_dropdown.add_promo_code":"Promotiecode toevoegen","discount_input.label":"Promotiecode","payment_entry_page.checkout_consent_terms_of_service":"servicevoorwaarden","payment_entry_page.checkout_consent_agreement":"Ik ga akkoord met de {{appName}} {{termsOfService}}."},Ym={"periods.week":"{{amount}} viikko","periods.month":"{{amount}} kuukausi","periods.year":"{{amount}} vuosi","periods.day":"{{amount}} päivä","periods.weekShort":"{{amount}}vk","periods.monthShort":"{{amount}}kk","periods.yearShort":"{{amount}}v","periods.dayShort":"{{amount}}p","periods.lifetime":"elämäaika","periods.weekPlural":"{{amount}} viikkoa","periods.monthPlural":"{{amount}} kuukautta","periods.yearPlural":"{{amount}} vuotta","periods.dayPlural":"{{amount}} päivää","periods.weekFrequency":"viikoittain","periods.monthFrequency":"kuukausittain","periods.yearFrequency":"vuosittain","periods.dayFrequency":"päivittäin","periods.perWeekFrequency":"viikossa","periods.perMonthFrequency":"kuukaudessa","periods.perYearFrequency":"vuodessa","periods.perDayFrequency":"päivässä","periods.unknownFrequency":"tuntematon","periods.weekFrequencyPlural":"joka {{amount}} viikko","periods.monthFrequencyPlural":"joka {{amount}} kuukausi","periods.yearFrequencyPlural":"joka {{amount}} vuosi","periods.dayFrequencyPlural":"joka {{amount}} päivä","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} ilmainen kokeilujakso","product_info.price_after_free_trial":"Kokeilujakson päätyttyä, {{renewalDate}}","product_info.renewal_frequency":"Uusiutuu {{frequency}}","product_info.continues_until_cancelled":"Jatkuu, kunnes peruutetaan","product_info.cancel_anytime":"Peruuta milloin tahansa","payment_entry_page.payment_step_title":"Suojautunut kassatoiminto RevenueCatin kautta","payment_entry_page.button_pay":"Maksa nyt","payment_entry_page.button_start_trial":"Aloita kokeilujakso","success_page.purchase_successful":"Maksaminen onnistui","success_page.button_close":"Jatka","error_page.if_error_persists":"Jos virhe jatkuu, ota yhteyttä ","error_page.error_title_already_subscribed":"Olet jo tilannut tuotteen {{productTitle}}","error_page.error_title_already_purchased":"Olet jo ostanut tuotteen {{productTitle}}","error_page.error_title_other_errors":"Jokin meni pieleen","error_page.error_message_already_subscribed":"Et voi tilata tätä tuotetta uudelleen.","error_page.error_message_already_purchased":"Et voi ostaa tätä tuotetta uudelleen.","error_page.error_message_missing_email_error":"Sähköpostiosoite tarvitaan ostoksen loppuun saattamiseksi.","error_page.error_message_network_error":"Verkkovirhe. Tarkista internet-yhteytesi.","error_page.error_message_error_charging_payment":"Maksaminen epäonnistui.","error_page.error_message_error_setting_up_purchase":"Ostoa ei aloitettu virheen vuoksi (virhekoodi: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Emme voineet vahvistaa laskutusosoitettasi. Tarkista, että postinumero ja maa ovat oikein.","error_page.error_message_unknown_error":"Tapahtui tuntematon virhe (virhekoodi: {{errorCode}}).","error_page.button_try_again":"Yritä uudelleen","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}} ({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Maksettava summa tänään","product_info.subscribe_to":"Tilaa","navbar_header.details":"Yksityiskohdat","navbar_header.back_button":"Takaisin","pricing_dropdown.show_details":"Näytä tiedot","pricing_dropdown.hide_details":"Piilota tiedot","pricing_table.tax":"Vero","pricing_table.trial_ends":"Kokeilujakson päätyttyä, {{formattedTrialEndDate}}","pricing_table.total_due_today":"Maksettava summa tänään","pricing_table.total_excluding_tax":"Veroton kokonaissumma","pricing_table.enter_billing_address_to_calculate":"Syötä laskutusosoite laskeaksesi","pricing_table.enter_state_or_postal_code_to_calculate":"Syötä osavaltio tai postinumero laskeaksesi","pricing_table.enter_postal_code_to_calculate":"Syötä postinumero laskeaksesi","error_page.error_message_invalid_email_error":"Sähköpostiosoitetta {{email}} ei voitu vahvistaa. Anna kelvollinen sähköpostiosoite.","payment_entry_page.button_payment_method":"Maksa {{formattedPrice}} käyttämällä {{paymentMethod}}","payment_entry_page.button_with_price":"Maksa {{formattedPrice}}","price_update.title":"Hinnan päivitys","price_update.base_message":"Kokonaishinta on päivitetty verolla laskutusosoitteesi perusteella. Tarkista ja yritä uudelleen. Korttiasi veloitetaan vain kerran.","price_update.trial_message":"Tilauksen hinta on päivitetty sisältämään verot laskutusosoitteesi perusteella. Ilmainen kokeilujakso on edelleen voimassa. Tarkista ja yritä uudelleen.","payment_entry_page.express_checkout_divider":"TAI MAKSA KORTILLA","error_page.trouble_accessing":"Jos sinulla on ongelmia ostoksesi käyttämisessä, ota yhteyttä tukeen osoitteessa ","error_page.close_button_title":"Siirry sovellukseen {{appName}}","error_page.error_title_stripe_missing_required_permission":"Puuttuva Stripe-käyttöoikeus","error_page.button_close":"Sulje","error_page.error_message_stripe_invalid_tax_origin_address":"Osto epäonnistui, koska veron alkuperäosoite on virheellinen. Tuotantoympäristössä ostot toimivat ilman veroja.","error_page.error_message_stripe_tax_not_active":"Osto epäonnistui, koska Stripe Tax ei ole käytössä. Tuotantoympäristössä ostot toimivat ilman veroja.","error_page.error_only_in_sandbox":"Tämä viesti näkyy vain hiekkalaatikossa.","error_page.error_message_stripe_missing_required_permission":"Osto epäonnistui, koska Stripe-sovellukselta puuttuu vaadittu käyttöoikeus. Tuotantoympäristössä ostot toimivat ilman veroja.","error_page.error_title_stripe_tax_not_active":"Stripe Tax ei ole aktiivinen","error_page.error_title_stripe_invalid_tax_origin_address":"Virheellinen veron alkuperäosoite","apple_pay.free_trial":"Ilmainen kokeilu","product_info.price_after_intro_price":"{{introPriceDuration}} jälkeen, {{renewalDate}}","product_info.after_trial":"kokeilujakson jälkeen","product_info.after":"jälkeen","product_info.intro_price_phase_after_trial":"Sitten {{introPriceDuration}} hintaan {{introPrice}}","product_info.intro_price_phase":"Ensimmäiset {{introPriceDuration}} hintaan {{introPrice}}","product_info.intro_price_phase_paid_once":"maksetaan kerran","payment_entry_page.trial_subscription_terms_info":"Kokeilujakson päätyttyä sinulta veloitetaan {{price}} {{perFrequency}} alkaen {{renewalDate}}. Voit peruuttaa milloin tahansa ennen tätä päivämäärää.","payment_entry_page.subscription_info":"Tilaus uusiutuu automaattisesti. Peruuta milloin tahansa.","payment_entry_page.otp_terms_info":"Ostamalla hyväksyt, että {{appName}} veloittaa sinua heidän ehtojensa mukaisesti.","payment_entry_page.terms_link_label":"Ehdot","payment_entry_page.subscription_terms_info":"Tilaamalla hyväksyt, että {{appName}} veloittaa sinulta ehtojensa mukaisesti, kunnes peruutat tilauksen.","loading_page.keep_page_open":"Prosessi on melkein valmis. Pidä tämä sivu auki.","loading_page.processing_payment":"Maksua käsitellään","pricing_table.discount":"Alennus","pricing_table.subtotal":"Välisumma","pricing_dropdown.add_promo_code":"Lisää kampanjakoodi","discount_input.label":"Kampanjakoodi","payment_entry_page.checkout_consent_terms_of_service":"käyttöehdot","payment_entry_page.checkout_consent_agreement":"Hyväksyn {{appName}}-palvelun {{termsOfService}}."},Gm={"periods.week":"{{amount}} semaine","periods.month":"{{amount}} mois","periods.year":"{{amount}} an","periods.day":"{{amount}} jour","periods.weekShort":"{{amount}}sem","periods.monthShort":"{{amount}}mois","periods.yearShort":"{{amount}}an","periods.dayShort":"{{amount}}j","periods.lifetime":"à vie","periods.weekPlural":"{{amount}} semaines","periods.monthPlural":"{{amount}} mois","periods.yearPlural":"{{amount}} ans","periods.dayPlural":"{{amount}} jours","periods.weekFrequency":"hebdomadaire","periods.monthFrequency":"mensuel","periods.yearFrequency":"annuel","periods.dayFrequency":"quotidien","periods.perWeekFrequency":"par semaine","periods.perMonthFrequency":"par mois","periods.perYearFrequency":"par an","periods.perDayFrequency":"par jour","periods.unknownFrequency":"inconnu","periods.weekFrequencyPlural":"toutes les {{amount}} semaines","periods.monthFrequencyPlural":"tous les {{amount}} mois","periods.yearFrequencyPlural":"tous les {{amount}} ans","periods.dayFrequencyPlural":"tous les {{amount}} jours","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} essai gratuit","product_info.price_after_free_trial":"Après la fin de l'essai, le {{renewalDate}}","product_info.renewal_frequency":"Renouvellement {{frequency}}","product_info.continues_until_cancelled":"Continue jusqu'à annulation","product_info.cancel_anytime":"Annulez à tout moment","payment_entry_page.payment_step_title":"Paiement sécurisé par RevenueCat","payment_entry_page.button_pay":"Payer maintenant","payment_entry_page.button_start_trial":"Commencer l'essai","success_page.purchase_successful":"Paiement effectué","success_page.button_close":"Continuer","error_page.if_error_persists":"Si l'erreur persiste, veuillez contacter ","error_page.error_title_already_subscribed":"Vous êtes déjà abonné à {{productTitle}}","error_page.error_title_already_purchased":"Vous avez déjà acheté {{productTitle}}","error_page.error_title_other_errors":"Une erreur s'est produite","error_page.error_message_already_subscribed":"Vous ne pouvez pas vous abonner à nouveau à ce produit.","error_page.error_message_already_purchased":"Vous ne pouvez pas acheter ce produit à nouveau.","error_page.error_message_missing_email_error":"L'adresse e-mail est requise pour effectuer l'achat.","error_page.error_message_network_error":"Erreur réseau. Veuillez vérifier votre connexion Internet.","error_page.error_message_error_charging_payment":"Échec du paiement.","error_page.error_message_error_setting_up_purchase":"L'achat n'a pas pu démarrer en raison d'une erreur (code d'erreur : {{errorCode}}).","error_page.error_message_invalid_tax_location":"Nous n'avons pas pu vérifier votre adresse de facturation. Veuillez vérifier que le code postal et le pays sont corrects.","error_page.error_message_unknown_error":"Une erreur inconnue s'est produite (code d'erreur : {{errorCode}}).","error_page.button_try_again":"Réessayer","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}} ({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Total dû aujourd'hui","product_info.subscribe_to":"S'abonner à","navbar_header.details":"Détails","navbar_header.back_button":"Retour","pricing_dropdown.show_details":"Afficher les détails","pricing_dropdown.hide_details":"Masquer les détails","pricing_table.tax":"Taxe","pricing_table.trial_ends":"Après la fin de l'essai, le {{formattedTrialEndDate}}","pricing_table.total_due_today":"Total dû aujourd'hui","pricing_table.total_excluding_tax":"Total hors taxes","pricing_table.enter_billing_address_to_calculate":"Saisir l'adresse de facturation pour calculer","pricing_table.enter_state_or_postal_code_to_calculate":"Entrez l'état ou le code postal pour calculer","pricing_table.enter_postal_code_to_calculate":"Entrez le code postal pour calculer","error_page.error_message_invalid_email_error":"L'adresse e-mail {{email}} n'a pas pu être vérifiée. Veuillez fournir une adresse e-mail valide.","payment_entry_page.button_payment_method":"Payer {{formattedPrice}} avec {{paymentMethod}}","payment_entry_page.button_with_price":"Payer {{formattedPrice}}","price_update.title":"Mise à jour du prix","price_update.base_message":"Le prix total a été mis à jour avec la taxe en fonction de votre adresse de facturation. Veuillez vérifier et réessayer. Votre carte ne sera débitée qu'une seule fois.","price_update.trial_message":"Le prix de l'abonnement a été mis à jour pour inclure les taxes en fonction de votre adresse de facturation. La période d'essai gratuit reste applicable. Veuillez vérifier et réessayer.","payment_entry_page.express_checkout_divider":"OU PAYER PAR CARTE","error_page.trouble_accessing":"Si vous avez des difficultés à accéder à votre achat, contactez le support à l'adresse suivante : ","error_page.close_button_title":"Aller sur {{appName}}","error_page.error_title_stripe_missing_required_permission":"Autorisation Stripe manquante","error_page.button_close":"Fermer","error_page.error_message_stripe_invalid_tax_origin_address":"L'achat a échoué car l'adresse d'origine de la taxe n'est pas valide. En production, les achats fonctionneront sans taxes appliquées.","error_page.error_message_stripe_tax_not_active":"L'achat a échoué car Stripe Tax n'est pas activé. En production, les achats fonctionneront sans taxes appliquées.","error_page.error_only_in_sandbox":"Ce message apparaît uniquement dans l'environnement de test.","error_page.error_message_stripe_missing_required_permission":"L'achat a échoué car l'application Stripe ne dispose pas d'une autorisation requise. En production, les achats fonctionneront sans taxes appliquées.","error_page.error_title_stripe_tax_not_active":"Stripe Tax non actif","error_page.error_title_stripe_invalid_tax_origin_address":"Adresse d'origine de la taxe non valide","apple_pay.free_trial":"Essai gratuit","product_info.price_after_intro_price":"Après {{introPriceDuration}}, le {{renewalDate}}","product_info.after_trial":"après l'essai","product_info.after":"après","product_info.intro_price_phase_after_trial":"Puis {{introPriceDuration}} pour {{introPrice}}","product_info.intro_price_phase":"{{introPriceDuration}} pour {{introPrice}} au départ","product_info.intro_price_phase_paid_once":"payé une fois","payment_entry_page.trial_subscription_terms_info":"Après la fin de votre essai, vous serez facturé {{price}} {{perFrequency}} à partir du {{renewalDate}}. Vous pouvez annuler à tout moment avant cette date.","payment_entry_page.subscription_info":"L'abonnement est renouvelé automatiquement. Annulez à tout moment.","payment_entry_page.otp_terms_info":"En achetant, vous acceptez d'autoriser {{appName}} à vous facturer conformément à ses conditions.","payment_entry_page.terms_link_label":"Conditions","payment_entry_page.subscription_terms_info":"En vous abonnant, vous acceptez d'autoriser {{appName}} à vous facturer conformément à ses conditions jusqu'à ce que vous annuliez.","loading_page.keep_page_open":"Le processus est presque terminé. Veuillez garder cette page ouverte.","loading_page.processing_payment":"Paiement en cours","pricing_table.discount":"Remise","pricing_table.subtotal":"Sous-total","pricing_dropdown.add_promo_code":"Ajouter un code promotionnel","discount_input.label":"Code promo","payment_entry_page.checkout_consent_terms_of_service":"conditions d'utilisation","payment_entry_page.checkout_consent_agreement":"J'accepte les {{termsOfService}} de {{appName}}."},Km={"periods.week":"{{amount}} Woche","periods.month":"{{amount}} Monat","periods.year":"{{amount}} Jahr","periods.day":"{{amount}} Tag","periods.weekShort":"{{amount}}Wo","periods.monthShort":"{{amount}}Mo","periods.yearShort":"{{amount}}J","periods.dayShort":"{{amount}}T","periods.lifetime":"lebenslang","periods.weekPlural":"{{amount}} Wochen","periods.monthPlural":"{{amount}} Monate","periods.yearPlural":"{{amount}} Jahre","periods.dayPlural":"{{amount}} Tage","periods.weekFrequency":"wöchentlich","periods.monthFrequency":"monatlich","periods.yearFrequency":"jährlich","periods.dayFrequency":"täglich","periods.perWeekFrequency":"pro Woche","periods.perMonthFrequency":"pro Monat","periods.perYearFrequency":"pro Jahr","periods.perDayFrequency":"pro Tag","periods.unknownFrequency":"unbekannt","periods.weekFrequencyPlural":"alle {{amount}} Wochen","periods.monthFrequencyPlural":"alle {{amount}} Monate","periods.yearFrequencyPlural":"alle {{amount}} Jahre","periods.dayFrequencyPlural":"alle {{amount}} Tage","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} kostenlose Testversion","product_info.price_after_free_trial":"Nach Ablauf der Testversion, am {{renewalDate}}","product_info.renewal_frequency":"Verlängert sich {{frequency}}","product_info.continues_until_cancelled":"Läuft bis zur Kündigung","product_info.cancel_anytime":"Jederzeit kündbar","payment_entry_page.payment_step_title":"Sicherer Checkout über RevenueCat","payment_entry_page.button_pay":"Jetzt bezahlen","payment_entry_page.button_start_trial":"Testversion starten","success_page.purchase_successful":"Zahlung abgeschlossen","success_page.button_close":"Weiter","error_page.if_error_persists":"Wenn der Fehler weiterhin besteht, wenden Sie sich bitte an ","error_page.error_title_already_subscribed":"Du hast {{productTitle}} bereits abonniert","error_page.error_title_already_purchased":"Du hast {{productTitle}} bereits gekauft","error_page.error_title_other_errors":"Etwas ist schief gelaufen","error_page.error_message_already_subscribed":"Du kannst dieses Produkt nicht erneut abonnieren.","error_page.error_message_already_purchased":"Du kannst dieses Produkt nicht erneut kaufen.","error_page.error_message_missing_email_error":"Für den Kauf ist eine E-Mail-Adresse erforderlich.","error_page.error_message_network_error":"Netzwerkfehler. Bitte überprüfen Sie Ihre Internetverbindung.","error_page.error_message_error_charging_payment":"Zahlung fehlgeschlagen.","error_page.error_message_error_setting_up_purchase":"Der Kauf wurde aufgrund eines Fehlers nicht gestartet (Fehlercode: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Wir konnten Ihre Rechnungsadresse nicht überprüfen. Bitte überprüfen Sie, ob die Postleitzahl und das Land korrekt sind.","error_page.error_message_unknown_error":"Ein unbekannter Fehler ist aufgetreten (Fehlercode: {{errorCode}}).","error_page.button_try_again":"Erneut versuchen","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}} ({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Heute fälliger Gesamtbetrag","product_info.subscribe_to":"Abonnieren","navbar_header.details":"Details","navbar_header.back_button":"Zurück","pricing_dropdown.show_details":"Details anzeigen","pricing_dropdown.hide_details":"Details ausblenden","pricing_table.tax":"Steuer","pricing_table.trial_ends":"Nach Ablauf der Testphase, am {{formattedTrialEndDate}}","pricing_table.total_due_today":"Heute fälliger Gesamtbetrag","pricing_table.total_excluding_tax":"Gesamtbetrag ohne Steuer","pricing_table.enter_billing_address_to_calculate":"Rechnungsadresse eingeben, um zu berechnen","pricing_table.enter_state_or_postal_code_to_calculate":"Bundesland oder Postleitzahl zur Berechnung eingeben","pricing_table.enter_postal_code_to_calculate":"Postleitzahl zur Berechnung eingeben","error_page.error_message_invalid_email_error":"Die E-Mail-Adresse {{email}} konnte nicht verifiziert werden. Bitte gib eine gültige E-Mail-Adresse an.","payment_entry_page.button_payment_method":"Mit {{paymentMethod}} für {{formattedPrice}} bezahlen","payment_entry_page.button_with_price":"{{formattedPrice}} bezahlen","price_update.title":"Preisaktualisierung","price_update.base_message":"Der Gesamtpreis wurde basierend auf Ihrer Rechnungsadresse mit Steuern aktualisiert. Bitte überprüfen Sie ihn und versuchen Sie es erneut. Ihre Karte wird erst belastet, wenn alles korrekt ist.","price_update.trial_message":"Der Abonnementpreis wurde aktualisiert, um Steuern basierend auf Ihrer Rechnungsadresse einzuschließen. Die kostenlose Testphase gilt weiterhin. Bitte überprüfen Sie und versuchen Sie es erneut.","payment_entry_page.express_checkout_divider":"ODER MIT KARTE ZAHLEN","error_page.trouble_accessing":"Wenn Sie Probleme beim Zugriff auf Ihren Kauf haben, wenden Sie sich an den Support unter ","error_page.close_button_title":"Zu {{appName}} gehen","error_page.error_title_stripe_missing_required_permission":"Fehlende Stripe-Berechtigung","error_page.button_close":"Schließen","error_page.error_message_stripe_invalid_tax_origin_address":"Der Kauf ist fehlgeschlagen, da die Steuerursprungsadresse ungültig ist. In der Produktion funktionieren Käufe ohne angewendete Steuern.","error_page.error_message_stripe_tax_not_active":"Der Kauf ist fehlgeschlagen, da Stripe Tax nicht aktiviert ist. In der Produktion funktionieren Käufe ohne angewendete Steuern.","error_page.error_only_in_sandbox":"Diese Meldung wird nur in der Sandbox angezeigt.","error_page.error_message_stripe_missing_required_permission":"Der Kauf ist fehlgeschlagen, da der Stripe-App eine erforderliche Berechtigung fehlt. In der Produktion funktionieren Käufe ohne angewendete Steuern.","error_page.error_title_stripe_tax_not_active":"Stripe Tax ist nicht aktiv","error_page.error_title_stripe_invalid_tax_origin_address":"Ungültige Steuerursprungsadresse","apple_pay.free_trial":"Kostenlose Testversion","product_info.price_after_intro_price":"Nach {{introPriceDuration}}, am {{renewalDate}}","product_info.after_trial":"nach Testphase","product_info.after":"nach","product_info.intro_price_phase_after_trial":"Danach {{introPriceDuration}} für {{introPrice}}","product_info.intro_price_phase":"Zuerst {{introPriceDuration}} für {{introPrice}}","product_info.intro_price_phase_paid_once":"einmalig bezahlt","payment_entry_page.trial_subscription_terms_info":"Nach Ablauf Ihres Testzeitraums werden Ihnen {{price}} {{perFrequency}} ab dem {{renewalDate}} berechnet. Sie können jederzeit vor diesem Datum kündigen.","payment_entry_page.subscription_info":"Das Abonnement verlängert sich automatisch. Jederzeit kündbar.","payment_entry_page.otp_terms_info":"Mit dem Kauf erklären Sie sich einverstanden, dass {{appName}} Ihnen Gebühren gemäß ihren Bedingungen berechnet.","payment_entry_page.terms_link_label":"Bedingungen","payment_entry_page.subscription_terms_info":"Mit dem Abonnieren erklären Sie sich damit einverstanden, dass {{appName}} Ihnen gemäß ihren Bedingungen Gebühren berechnet, bis Sie kündigen.","loading_page.keep_page_open":"Der Vorgang ist fast abgeschlossen. Bitte lassen Sie diese Seite geöffnet.","loading_page.processing_payment":"Zahlung wird verarbeitet","pricing_table.discount":"Rabatt","pricing_table.subtotal":"Zwischensumme","pricing_dropdown.add_promo_code":"Promo-Code hinzufügen","discount_input.label":"Gutscheincode","payment_entry_page.checkout_consent_terms_of_service":"Nutzungsbedingungen","payment_entry_page.checkout_consent_agreement":"Ich stimme den {{appName}} {{termsOfService}} zu."},Xm={"periods.week":"{{amount}} εβδομάδα","periods.month":"{{amount}} μήνας","periods.year":"{{amount}} χρόνος","periods.day":"{{amount}} ημέρα","periods.weekShort":"{{amount}} εβδ.","periods.monthShort":"{{amount}} μήν.","periods.yearShort":"{{amount}} έτ.","periods.dayShort":"{{amount}} ημ.","periods.lifetime":"διάρκεια ζωής","periods.weekPlural":"{{amount}} εβδομάδες","periods.monthPlural":"{{amount}} μήνες","periods.yearPlural":"{{amount}} χρόνια","periods.dayPlural":"{{amount}} ημέρες","periods.weekFrequency":"εβδομαδιαία","periods.monthFrequency":"μηνιαία","periods.yearFrequency":"ετήσια","periods.dayFrequency":"καθημερινά","periods.perWeekFrequency":"ανά εβδομάδα","periods.perMonthFrequency":"ανά μήνα","periods.perYearFrequency":"ανά έτος","periods.perDayFrequency":"ανά ημέρα","periods.unknownFrequency":"άγνωστο","periods.weekFrequencyPlural":"κάθε {{amount}} εβδομάδες","periods.monthFrequencyPlural":"κάθε {{amount}} μήνες","periods.yearFrequencyPlural":"κάθε {{amount}} χρόνια","periods.dayFrequencyPlural":"κάθε {{amount}} ημέρες","product_info.subscribe_to":"Εγγραφείτε στο","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"Δωρεάν για {{trialDuration}}","product_info.price_after_free_trial":"Μετά τη λήξη της δοκιμής, στις {{renewalDate}}","product_info.total_due_today":"Σύνολο πληρωτέο σήμερα","product_info.renewal_frequency":"Ανανεώνεται {{frequency}}","product_info.continues_until_cancelled":"Συνεχίζεται μέχρι την ακύρωση","product_info.cancel_anytime":"Ακύρωση ανά πάσα στιγμή","payment_entry_page.payment_step_title":"Ασφαλής ολοκλήρωση αγοράς από την RevenueCat","payment_entry_page.button_pay":"Πληρωμή τώρα","payment_entry_page.button_start_trial":"Έναρξη δοκιμής","success_page.purchase_successful":"Η πληρωμή ολοκληρώθηκε","success_page.button_close":"Συνέχεια","error_page.if_error_persists":"Εάν το σφάλμα παραμένει, επικοινωνήστε με ","error_page.error_title_already_subscribed":"Έχετε ήδη εγγραφεί στο {{productTitle}}","error_page.error_title_already_purchased":"Έχετε ήδη αγοράσει το {{productTitle}}","error_page.error_title_other_errors":"Κάτι πήγε στραβά","error_page.error_message_already_subscribed":"Δεν μπορείτε να εγγραφείτε ξανά σε αυτό το προϊόν.","error_page.error_message_already_purchased":"Δεν μπορείτε να αγοράσετε ξανά αυτό το προϊόν.","error_page.error_message_missing_email_error":"Απαιτείται email για την ολοκλήρωση της αγοράς.","error_page.error_message_network_error":"Σφάλμα δικτύου. Ελέγξτε τη σύνδεσή σας στο διαδίκτυο.","error_page.error_message_error_charging_payment":"Η πληρωμή απέτυχε.","error_page.error_message_error_setting_up_purchase":"Η αγορά δεν ξεκίνησε λόγω σφάλματος (κωδικός σφάλματος: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Δεν μπορέσαμε να επαληθεύσουμε τη διεύθυνση χρέωσής σας. Παρακαλούμε ελέγξτε ξανά τον ταχυδρομικό κώδικα και τη χώρα για να βεβαιωθείτε ότι είναι σωστά.","error_page.error_message_unknown_error":"Παρουσιάστηκε ένα άγνωστο σφάλμα (κωδικός σφάλματος: {{errorCode}}).","error_page.button_try_again":"Προσπαθήστε ξανά","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","navbar_header.details":"Λεπτομέρειες","navbar_header.back_button":"Πίσω","pricing_dropdown.show_details":"Εμφάνιση λεπτομερειών","pricing_dropdown.hide_details":"Απόκρυψη λεπτομερειών","pricing_table.tax":"Φόρος","pricing_table.trial_ends":"Μετά τη λήξη της δοκιμαστικής περιόδου, στις {{formattedTrialEndDate}}","pricing_table.total_due_today":"Σύνολο πληρωτέο σήμερα","pricing_table.total_excluding_tax":"Σύνολο χωρίς φόρο","pricing_table.enter_billing_address_to_calculate":"Εισαγάγετε τη διεύθυνση χρέωσης για να υπολογιστεί","pricing_table.enter_state_or_postal_code_to_calculate":"Εισαγάγετε την πολιτεία ή τον ταχυδρομικό κώδικα για να υπολογιστεί","pricing_table.enter_postal_code_to_calculate":"Εισαγάγετε τον ταχυδρομικό κώδικα για να υπολογιστεί","error_page.error_message_invalid_email_error":"Η διεύθυνση email {{email}} δεν μπόρεσε να επαληθευτεί. Παρακαλώ δώστε μια έγκυρη διεύθυνση email.","payment_entry_page.button_payment_method":"Πληρωμή {{formattedPrice}} με {{paymentMethod}}","payment_entry_page.button_with_price":"Πληρωμή {{formattedPrice}}","price_update.title":"Ενημέρωση τιμής","price_update.base_message":"Η συνολική τιμή ενημερώθηκε με τον φόρο βάσει της διεύθυνσης χρέωσής σας. Ελέγξτε και δοκιμάστε ξανά. Η κάρτα σας θα χρεωθεί μόνο μία φορά.","price_update.trial_message":"Η τιμή της συνδρομής ενημερώθηκε για να συμπεριλάβει τους φόρους βάσει της διεύθυνσης χρέωσής σας. Η δωρεάν δοκιμαστική περίοδος εξακολουθεί να ισχύει. Παρακαλώ ελέγξτε και δοκιμάστε ξανά.","payment_entry_page.express_checkout_divider":"Ή ΠΛΗΡΩΣΤΕ ΜΕ ΚΑΡΤΑ","error_page.trouble_accessing":"Εάν αντιμετωπίζετε προβλήματα πρόσβασης στην αγορά σας, επικοινωνήστε με την υποστήριξη στο ","error_page.close_button_title":"Μετάβαση στο {{appName}}","error_page.error_title_stripe_missing_required_permission":"Λείπει άδεια Stripe","error_page.button_close":"Κλείσιμο","error_page.error_message_stripe_invalid_tax_origin_address":"Η αγορά απέτυχε επειδή η διεύθυνση προέλευσης φόρου δεν είναι έγκυρη. Στην παραγωγή, οι αγορές θα λειτουργούν χωρίς να εφαρμόζονται φόροι.","error_page.error_message_stripe_tax_not_active":"Η αγορά απέτυχε επειδή το Stripe Tax δεν είναι ενεργοποιημένο. Στην παραγωγή, οι αγορές θα λειτουργούν χωρίς να εφαρμόζονται φόροι.","error_page.error_only_in_sandbox":"Αυτό το μήνυμα εμφανίζεται μόνο στο sandbox.","error_page.error_message_stripe_missing_required_permission":"Η αγορά απέτυχε επειδή η εφαρμογή Stripe δεν διαθέτει την απαιτούμενη άδεια. Στην παραγωγή, οι αγορές θα λειτουργούν χωρίς να εφαρμόζονται φόροι.","error_page.error_title_stripe_tax_not_active":"Το Stripe Tax δεν είναι ενεργό","error_page.error_title_stripe_invalid_tax_origin_address":"Μη έγκυρη διεύθυνση προέλευσης φόρου","apple_pay.free_trial":"Δωρεάν δοκιμή","product_info.price_after_intro_price":"Μετά από {{introPriceDuration}}, στις {{renewalDate}}","product_info.after_trial":"μετά τη δοκιμή","product_info.after":"μετά","product_info.intro_price_phase_after_trial":"Έπειτα {{introPriceDuration}} για {{introPrice}}","product_info.intro_price_phase":"Αρχικά {{introPriceDuration}} για {{introPrice}}","product_info.intro_price_phase_paid_once":"πληρωμένο εφάπαξ","payment_entry_page.trial_subscription_terms_info":"Μετά τη λήξη της δοκιμαστικής περιόδου, θα χρεωθείτε {{price}} {{perFrequency}} ξεκινώντας από {{renewalDate}}. Μπορείτε να ακυρώσετε ανά πάσα στιγμή πριν από αυτήν την ημερομηνία.","payment_entry_page.subscription_info":"Η συνδρομή ανανεώνεται αυτόματα. Ακυρώστε ανά πάσα στιγμή.","payment_entry_page.otp_terms_info":"Με την αγορά, συμφωνείτε να επιτρέψετε στην {{appName}} να σας χρεώσει σύμφωνα με τους όρους της.","payment_entry_page.terms_link_label":"Όροι","payment_entry_page.subscription_terms_info":"Με την εγγραφή σας, συμφωνείτε να επιτρέψετε στην εφαρμογή {{appName}} να σας χρεώνει σύμφωνα με τους όρους της έως ότου ακυρώσετε.","loading_page.keep_page_open":"Η διαδικασία σχεδόν ολοκληρώθηκε. Κρατήστε αυτή τη σελίδα ανοιχτή.","loading_page.processing_payment":"Επεξεργασία πληρωμής","pricing_table.discount":"Έκπτωση","pricing_table.subtotal":"Υποσύνολο","pricing_dropdown.add_promo_code":"Προσθήκη κωδικού προσφοράς","discount_input.label":"Κωδικός προσφοράς","payment_entry_page.checkout_consent_terms_of_service":"όρους χρήσης","payment_entry_page.checkout_consent_agreement":"Συμφωνώ με τους {{appName}} {{termsOfService}}."},Zm={"periods.week":"{{amount}} שבוע","periods.month":"{{amount}} חודש","periods.year":"{{amount}} שנה","periods.day":"{{amount}} יום","periods.weekShort":"{{amount}}wk","periods.monthShort":"{{amount}}mo","periods.yearShort":"{{amount}}yr","periods.dayShort":"{{amount}}d","periods.lifetime":"למשך כל החיים","periods.weekPlural":"{{amount}} שבועות","periods.monthPlural":"{{amount}} חודשים","periods.yearPlural":"{{amount}} שנים","periods.dayPlural":"{{amount}} ימים","periods.weekFrequency":"שבועי","periods.monthFrequency":"חודשי","periods.yearFrequency":"שנתי","periods.dayFrequency":"יומי","periods.perWeekFrequency":"לשבוע","periods.perMonthFrequency":"לחודש","periods.perYearFrequency":"לשנה","periods.perDayFrequency":"ליום","periods.unknownFrequency":"לא ידוע","periods.weekFrequencyPlural":"כל {{amount}} שבועות","periods.monthFrequencyPlural":"כל {{amount}} חודשים","periods.yearFrequencyPlural":"כל {{amount}} שנים","periods.dayFrequencyPlural":"כל {{amount}} ימים","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} ניסיון חינם","product_info.price_after_free_trial":"לאחר סיום הניסיון, ב-{{renewalDate}}","product_info.renewal_frequency":"מתחדש {{frequency}}","product_info.continues_until_cancelled":"נמשך עד ביטול","product_info.cancel_anytime":"ניתן לבטל בכל עת","payment_entry_page.payment_step_title":"קופה מאובטחת באמצעות RevenueCat","payment_entry_page.button_pay":"שלם עכשיו","payment_entry_page.button_start_trial":"התחל ניסיון","success_page.purchase_successful":"התשלום הושלם","success_page.button_close":"המשך","error_page.if_error_persists":"אם השגיאה נמשכת, אנא פנה אל ","error_page.error_title_already_subscribed":"כבר נרשמת כמנוי ל-{{productTitle}}","error_page.error_title_already_purchased":"כבר רכשת את {{productTitle}}","error_page.error_title_other_errors":"משהו השתבש","error_page.error_message_already_subscribed":"אינך יכול להירשם כמנוי למוצר זה שוב.","error_page.error_message_already_purchased":"אינך יכול לרכוש מוצר זה שוב.","error_page.error_message_missing_email_error":'דוא"ל נדרש כדי להשלים את הרכישה.',"error_page.error_message_network_error":"שגיאת רשת. אנא בדוק את חיבור האינטרנט שלך.","error_page.error_message_error_charging_payment":"התשלום נכשל.","error_page.error_message_error_setting_up_purchase":"הרכישה לא הופעלה עקב שגיאה (קוד שגיאה: {{errorCode}}).","error_page.error_message_invalid_tax_location":"לא הצלחנו לאמת את כתובת החיוב שלך. אנא בדוק שוב את המיקוד והמדינה כדי לוודא שהם נכונים.","error_page.error_message_unknown_error":"אירעה שגיאה לא ידועה (קוד שגיאה: {{errorCode}}).","error_page.button_try_again":"נסה שוב","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":'סה"כ לתשלום היום',"product_info.subscribe_to":"הירשם כמנוי ל-","navbar_header.details":"פרטים","navbar_header.back_button":"חזרה","pricing_dropdown.show_details":"הצג פרטים","pricing_dropdown.hide_details":"הסתר פרטים","pricing_table.tax":"מס","pricing_table.trial_ends":"לאחר סיום תקופת הניסיון, בתאריך {{formattedTrialEndDate}}","pricing_table.total_due_today":"סך הכל לתשלום היום","pricing_table.total_excluding_tax":"סך הכל לא כולל מס","pricing_table.enter_billing_address_to_calculate":"הזן כתובת לחיוב כדי לחשב","pricing_table.enter_state_or_postal_code_to_calculate":"הזן מדינה או מיקוד לחישוב","pricing_table.enter_postal_code_to_calculate":"הזן מיקוד לחישוב","error_page.error_message_invalid_email_error":"לא ניתן לאמת את כתובת האימייל {{email}}. אנא ספק כתובת אימייל חוקית.","payment_entry_page.button_payment_method":"שלם {{formattedPrice}} באמצעות {{paymentMethod}}","payment_entry_page.button_with_price":"שלם {{formattedPrice}}","price_update.title":"עדכון מחיר","price_update.base_message":"המחיר הכולל עודכן עם מס בהתבסס על כתובת החיוב שלך. אנא בדוק שוב ונסה שוב. החיוב יתבצע רק פעם אחת.","price_update.trial_message":"מחיר המנוי עודכן כדי לכלול מיסים בהתבסס על כתובת החיוב שלך. תקופת הניסיון החינמית עדיין תקפה. אנא בדוק ונסה שוב.","payment_entry_page.express_checkout_divider":"או שלם באמצעות כרטיס","error_page.trouble_accessing":"אם אתה מתקשה לגשת לרכישה שלך, פנה לתמיכה בכתובת ","error_page.close_button_title":"עבור אל {{appName}}","error_page.error_title_stripe_missing_required_permission":"חסרה הרשאה של Stripe","error_page.button_close":"סגור","error_page.error_message_stripe_invalid_tax_origin_address":"הרכישה נכשלה מכיוון שכתובת מקור המס אינה חוקית. בייצור, רכישות יעבדו ללא מסים.","error_page.error_message_stripe_tax_not_active":"הרכישה נכשלה מכיוון שמס Stripe אינו מופעל. בייצור, רכישות יעבדו ללא מסים.","error_page.error_only_in_sandbox":"הודעה זו מופיעה רק בארגז חול.","error_page.error_message_stripe_missing_required_permission":"הרכישה נכשלה מכיוון שלאפליקציית Stripe חסרה הרשאה נדרשת. בייצור, רכישות יעבדו ללא מסים.","error_page.error_title_stripe_tax_not_active":"מס Stripe לא פעיל","error_page.error_title_stripe_invalid_tax_origin_address":"כתובת מקור מס לא חוקית","apple_pay.free_trial":"תקופת ניסיון בחינם","product_info.price_after_intro_price":"לאחר {{introPriceDuration}}, בתאריך {{renewalDate}}","product_info.after_trial":"אחרי תקופת ניסיון","product_info.after":"אחרי","product_info.intro_price_phase_after_trial":"אחר כך {{introPriceDuration}} עבור {{introPrice}}","product_info.intro_price_phase":"תחילה {{introPriceDuration}} עבור {{introPrice}}","product_info.intro_price_phase_paid_once":"משולם פעם אחת","payment_entry_page.trial_subscription_terms_info":"לאחר סיום תקופת הניסיון שלך, תחויב בסך {{price}} {{perFrequency}} החל מ-{{renewalDate}}. באפשרותך לבטל בכל עת לפני תאריך זה.","payment_entry_page.subscription_info":"המנוי מתחדש אוטומטית. ניתן לבטל בכל עת.","payment_entry_page.otp_terms_info":"ברכישה, אתה מסכים לאפשר ל-{{appName}} לחייב אותך בהתאם לתנאים שלהם.","payment_entry_page.terms_link_label":"תנאים","payment_entry_page.subscription_terms_info":"על ידי הרשמה כמנוי, אתה מסכים לאפשר ל-{{appName}} לחייב אותך בהתאם לתנאים שלהם עד שתבטל.","loading_page.keep_page_open":"התהליך כמעט הסתיים. השאר דף זה פתוח.","loading_page.processing_payment":"מעבד תשלום תבעה","pricing_table.discount":"הנחה","pricing_table.subtotal":"סכום ביניים","pricing_dropdown.add_promo_code":"הוסף קוד קידום מכירות","discount_input.label":"קוד פרומו","payment_entry_page.checkout_consent_terms_of_service":"תנאי השירות","payment_entry_page.checkout_consent_agreement":"אני מסכים/ה ל{{termsOfService}} של {{appName}}."},Jm={"periods.week":"{{amount}} सप्ताह","periods.month":"{{amount}} महीना","periods.year":"{{amount}} वर्ष","periods.day":"{{amount}} दिन","periods.weekShort":"{{amount}}सप्ताह","periods.monthShort":"{{amount}}महीना","periods.yearShort":"{{amount}}वर्ष","periods.dayShort":"{{amount}}दिन","periods.lifetime":"लाइफ़टाइम","periods.weekPlural":"{{amount}} सप्ताह","periods.monthPlural":"{{amount}} महीने","periods.yearPlural":"{{amount}} वर्ष","periods.dayPlural":"{{amount}} दिन","periods.weekFrequency":"साप्ताहिक","periods.monthFrequency":"मासिक","periods.yearFrequency":"वार्षिक","periods.dayFrequency":"दैनिक","periods.perWeekFrequency":"प्रति सप्ताह","periods.perMonthFrequency":"प्रति माह","periods.perYearFrequency":"प्रति वर्ष","periods.perDayFrequency":"प्रति दिन","periods.unknownFrequency":"अज्ञात","periods.weekFrequencyPlural":"प्रत्येक {{amount}} सप्ताह","periods.monthFrequencyPlural":"प्रत्येक {{amount}} महीने","periods.yearFrequencyPlural":"प्रत्येक {{amount}} वर्ष","periods.dayFrequencyPlural":"प्रत्येक {{amount}} दिन","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} निःशुल्क परीक्षण","product_info.price_after_free_trial":"परीक्षण समाप्त होने के बाद, {{renewalDate}} को","product_info.renewal_frequency":"{{frequency}} पर नवीनीकृत होता है","product_info.continues_until_cancelled":"रद्द होने तक जारी रहता है","product_info.cancel_anytime":"किसी भी समय रद्द करें","payment_entry_page.payment_step_title":"RevenueCat द्वारा सुरक्षित चेकआउट","payment_entry_page.button_pay":"अभी भुगतान करें","payment_entry_page.button_start_trial":"परीक्षण प्रारंभ करें","success_page.purchase_successful":"भुगतान पूर्ण","success_page.button_close":"जारी रखें","error_page.if_error_persists":"यदि त्रुटि बनी रहती है, तो कृपया संपर्क करें ","error_page.error_title_already_subscribed":"आपने पहले ही {{productTitle}} की सदस्यता ले ली है","error_page.error_title_already_purchased":"आपने पहले ही {{productTitle}} खरीद लिया है","error_page.error_title_other_errors":"कुछ गलत हो गया","error_page.error_message_already_subscribed":"आप इस उत्पाद की सदस्यता फिर से नहीं ले सकते.","error_page.error_message_already_purchased":"आप इस उत्पाद को फिर से नहीं खरीद सकते.","error_page.error_message_missing_email_error":"खरीद को पूरा करने के लिए ईमेल आवश्यक है।","error_page.error_message_network_error":"नेटवर्क त्रुटि। कृपया अपना इंटरनेट कनेक्शन जांचें।","error_page.error_message_error_charging_payment":"भुगतान विफल।","error_page.error_message_error_setting_up_purchase":"किसी त्रुटि के कारण खरीदारी शुरू नहीं हुई (त्रुटि कोड: {{errorCode}})।","error_page.error_message_invalid_tax_location":"हम आपके बिलिंग पते को सत्यापित नहीं कर सके। कृपया सुनिश्चित करें कि पिन कोड और देश सही हैं।","error_page.error_message_unknown_error":"एक अज्ञात त्रुटि हुई (त्रुटि कोड: {{errorCode}})।","error_page.button_try_again":"फिर से कोशिश करें","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"आज देय कुल राशि","product_info.subscribe_to":"सदस्यता लें","navbar_header.details":"विवरण","navbar_header.back_button":"वापस","pricing_dropdown.show_details":"विवरण दिखाएँ","pricing_dropdown.hide_details":"विवरण छिपाएँ","pricing_table.tax":"कर","pricing_table.trial_ends":"{{formattedTrialEndDate}} पर परीक्षण समाप्त होने के बाद","pricing_table.total_due_today":"आज देय कुल","pricing_table.total_excluding_tax":"कर को छोड़कर कुल","pricing_table.enter_billing_address_to_calculate":"गणना करने के लिए बिलिंग पता दर्ज करें","pricing_table.enter_state_or_postal_code_to_calculate":"गणना करने के लिए राज्य या ज़िप कोड दर्ज करें","pricing_table.enter_postal_code_to_calculate":"गणना करने के लिए ज़िप कोड दर्ज करें","error_page.error_message_invalid_email_error":"ईमेल पता {{email}} सत्यापित नहीं किया जा सका. कृपया एक मान्य ईमेल पता प्रदान करें.","payment_entry_page.button_payment_method":"{{paymentMethod}} के साथ {{formattedPrice}} का भुगतान करें","payment_entry_page.button_with_price":"{{formattedPrice}} का भुगतान करें","price_update.title":"मूल्य अपडेट","price_update.base_message":"आप के बिलिंग पते के आधार पर कुल कीमत कर के साथ अपडेट की गई थी। कृपया समीक्षा करें और फिर से प्रयास करें। आपके कार्ड से केवल एक बार शुल्क लिया जाएगा।","price_update.trial_message":"सदस्यता मूल्य आपके बिलिंग पते के आधार पर करों को शामिल करने के लिए अपडेट किया गया है। निःशुल्क परीक्षण अवधि अभी भी लागू है। कृपया जांचें और पुनः प्रयास करें।","payment_entry_page.express_checkout_divider":"या कार्ड से भुगतान करें","error_page.trouble_accessing":"यदि आपको अपनी खरीदारी तक पहुंचने में परेशानी हो रही है, तो पर समर्थन के लिए संपर्क करें","error_page.close_button_title":"{{appName}} पर जाएं","error_page.error_title_stripe_missing_required_permission":"स्ट्राइप अनुमति गुम है","error_page.button_close":"बंद करें","error_page.error_message_stripe_invalid_tax_origin_address":"खरीदारी विफल रही क्योंकि कर उत्पत्ति पता अमान्य है. उत्पादन में, खरीदारी बिना करों के लागू किए काम करेगी.","error_page.error_message_stripe_tax_not_active":"खरीदारी विफल रही क्योंकि स्ट्राइप टैक्स सक्षम नहीं है. उत्पादन में, खरीदारी बिना करों के लागू किए काम करेगी.","error_page.error_only_in_sandbox":"यह संदेश केवल सैंडबॉक्स में दिखाई देता है.","error_page.error_message_stripe_missing_required_permission":"खरीदारी विफल रही क्योंकि स्ट्राइप ऐप में आवश्यक अनुमति नहीं है. उत्पादन में, खरीदारी बिना करों के लागू किए काम करेगी.","error_page.error_title_stripe_tax_not_active":"स्ट्राइप टैक्स सक्रिय नहीं है","error_page.error_title_stripe_invalid_tax_origin_address":"अमान्य कर उत्पत्ति पता","apple_pay.free_trial":"मुफ़्त ट्रायल","product_info.price_after_intro_price":"{{introPriceDuration}} के बाद, {{renewalDate}} पर","product_info.after_trial":"ट्रायल के बाद","product_info.after":"के बाद","product_info.intro_price_phase_after_trial":"फिर {{introPriceDuration}} के लिए {{introPrice}}","product_info.intro_price_phase":"पहले {{introPriceDuration}} के लिए {{introPrice}}","product_info.intro_price_phase_paid_once":"एक बार भुगतान किया गया","payment_entry_page.trial_subscription_terms_info":"आपकी परीक्षण अवधि समाप्त होने के बाद, आपसे {{renewalDate}} से शुरू होकर {{price}} {{perFrequency}} शुल्क लिया जाएगा. आप इस तिथि से पहले कभी भी रद्द कर सकते हैं.","payment_entry_page.subscription_info":"सदस्यता स्वतः नवीनीकृत हो जाती है. कभी भी रद्द करें.","payment_entry_page.otp_terms_info":"खरीदकर, आप {{appName}} को उनकी शर्तों के अनुसार आपसे शुल्क लेने की अनुमति देने के लिए सहमत हैं.","payment_entry_page.terms_link_label":"नियम","payment_entry_page.subscription_terms_info":"सदस्यता लेकर, आप {{appName}} को रद्द करने तक उनकी शर्तों के अनुसार आपसे शुल्क लेने की अनुमति देने के लिए सहमत हैं.","loading_page.keep_page_open":"प्रक्रिया लगभग पूरी हो चुकी है. इस पृष्ठ को खुला रखें.","loading_page.processing_payment":"भुगतान संसाधित किया जा रहा है","pricing_table.discount":"छूट","pricing_table.subtotal":"उपकुल योग","pricing_dropdown.add_promo_code":"प्रोमो_कोड_जोड़ें","discount_input.label":"प्रोमो कोड","payment_entry_page.checkout_consent_terms_of_service":"सेवा की शर्तें","payment_entry_page.checkout_consent_agreement":"मैं {{appName}} की {{termsOfService}} से सहमत हूँ।"},Qm={"periods.week":"{{amount}} hét","periods.month":"{{amount}} hónap","periods.year":"{{amount}} év","periods.day":"{{amount}} nap","periods.weekShort":"{{amount}}hét","periods.monthShort":"{{amount}}hó","periods.yearShort":"{{amount}}év","periods.dayShort":"{{amount}}n","periods.lifetime":"életre szóló","periods.weekPlural":"{{amount}} hét","periods.monthPlural":"{{amount}} hónap","periods.yearPlural":"{{amount}} év","periods.dayPlural":"{{amount}} nap","periods.weekFrequency":"heti","periods.monthFrequency":"havi","periods.yearFrequency":"éves","periods.dayFrequency":"napi","periods.perWeekFrequency":"hetente","periods.perMonthFrequency":"havonta","periods.perYearFrequency":"évente","periods.perDayFrequency":"naponta","periods.unknownFrequency":"ismeretlen","periods.weekFrequencyPlural":"minden {{amount}} hétben","periods.monthFrequencyPlural":"minden {{amount}} hónapban","periods.yearFrequencyPlural":"minden {{amount}} évben","periods.dayFrequencyPlural":"minden {{amount}} napban","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} próbaidőszak","product_info.price_after_free_trial":"A próbaidőszak vége után, {{renewalDate}}-kor","product_info.renewal_frequency":"{{frequency}} gyakorisággal megújul","product_info.continues_until_cancelled":"Folytatódik, amíg le nem mondják","product_info.cancel_anytime":"Bármikor lemondható","payment_entry_page.payment_step_title":"Biztonságos fizetés a RevenueCat-en keresztül","payment_entry_page.button_pay":"Fizetés most","payment_entry_page.button_start_trial":"Próbaidőszak indítása","success_page.purchase_successful":"Fizetés sikeres","success_page.button_close":"Tovább","error_page.if_error_persists":"Ha a hiba továbbra is fennáll, kérjük, vedd fel a kapcsolatot ","error_page.error_title_already_subscribed":"Már előfizettél a(z) {{productTitle}} termékre","error_page.error_title_already_purchased":"Már megvásároltad a(z) {{productTitle}} terméket","error_page.error_title_other_errors":"Valami hiba történt","error_page.error_message_already_subscribed":"Nem fizethetsz elő újra erre a termékre.","error_page.error_message_already_purchased":"Nem vásárolhatod meg újra ezt a terméket.","error_page.error_message_missing_email_error":"Az email cím szükséges a vásárlás befejezéséhez.","error_page.error_message_network_error":"Hálózati hiba. Kérjük, ellenőrizd az internetkapcsolatodat.","error_page.error_message_error_charging_payment":"A fizetés sikertelen volt.","error_page.error_message_error_setting_up_purchase":"Hiba miatt nem indult el a vásárlás (hibakód: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Nem tudtuk ellenőrizni a számlázási címét. Kérjük, ellenőrizze, hogy az irányítószám és az ország helyes-e.","error_page.error_message_unknown_error":"Ismeretlen hiba történt (hibakód: {{errorCode}}).","error_page.button_try_again":"Újrapróbálkozás","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Ma fizetendő összesen","product_info.subscribe_to":"Feliratkozás erre:","navbar_header.details":"Részletek","navbar_header.back_button":"Vissza","pricing_dropdown.show_details":"Részletek mutatása","pricing_dropdown.hide_details":"Részletek elrejtése","pricing_table.tax":"Adó","pricing_table.trial_ends":"A próbaidőszak vége: {{formattedTrialEndDate}}","pricing_table.total_due_today":"Ma fizetendő összeg","pricing_table.total_excluding_tax":"Összesen adó nélkül","pricing_table.enter_billing_address_to_calculate":"Adja meg a számlázási címet a számításhoz","pricing_table.enter_state_or_postal_code_to_calculate":"Adja meg az államot vagy az irányítószámot a számításhoz","pricing_table.enter_postal_code_to_calculate":"Adja meg az irányítószámot a számításhoz","error_page.error_message_invalid_email_error":"A(z) {{email}} e-mail címet nem sikerült ellenőrizni. Kérjük, adj meg egy érvényes e-mail címet.","payment_entry_page.button_payment_method":"Fizetés {{formattedPrice}} összeggel a következővel: {{paymentMethod}}","payment_entry_page.button_with_price":"Fizetés {{formattedPrice}}","price_update.title":"Ár frissítése","price_update.base_message":"A teljes ár frissítve lett az adóval a számlázási címed alapján. Kérjük, tekintsd át és próbáld újra. A kártyádat csak egyszer terheljük meg.","price_update.trial_message":"Az előfizetés ára adókkal együtt frissítésre került a számlázási címének megfelelően. Az ingyenes próbaidőszak továbbra is érvényes. Kérjük, ellenőrizze és próbálja újra.","payment_entry_page.express_checkout_divider":"VAGY FIZESSEN KÁRTYÁVAL","error_page.trouble_accessing":"Ha problémái vannak a vásárláshoz való hozzáféréssel, forduljon az ügyfélszolgálathoz a következő címen: ","error_page.close_button_title":"Ugrás a(z) {{appName}} alkalmazáshoz","error_page.error_title_stripe_missing_required_permission":"Hiányzó Stripe engedély","error_page.button_close":"Bezárás","error_page.error_message_stripe_invalid_tax_origin_address":"A vásárlás sikertelen volt, mert az adókiindulási cím érvénytelen. Éles környezetben a vásárlások adók alkalmazása nélkül fognak működni.","error_page.error_message_stripe_tax_not_active":"A vásárlás sikertelen volt, mert a Stripe adó nincs engedélyezve. Éles környezetben a vásárlások adók alkalmazása nélkül fognak működni.","error_page.error_only_in_sandbox":"Ez az üzenet csak a tesztkörnyezetben jelenik meg.","error_page.error_message_stripe_missing_required_permission":"A vásárlás sikertelen volt, mert a Stripe alkalmazásból hiányzik egy szükséges engedély. Éles környezetben a vásárlások adók alkalmazása nélkül fognak működni.","error_page.error_title_stripe_tax_not_active":"A Stripe adó nincs aktiválva","error_page.error_title_stripe_invalid_tax_origin_address":"Érvénytelen adókiindulási cím","apple_pay.free_trial":"Ingyenes próbaidőszak","product_info.price_after_intro_price":"{{introPriceDuration}} után, {{renewalDate}} napján","product_info.after_trial":"próbaidőszak után","product_info.after":"utána","product_info.intro_price_phase_after_trial":"Ezután {{introPriceDuration}} ideig {{introPrice}} áron","product_info.intro_price_phase":"Először {{introPriceDuration}} ideig {{introPrice}} áron","product_info.intro_price_phase_paid_once":"egyszeri fizetéssel","payment_entry_page.trial_subscription_terms_info":"A próbaidőszak vége után {{price}} összeget számítunk fel {{perFrequency}} gyakorisággal, kezdve {{renewalDate}} dátummal. Ezt a dátumot megelőzően bármikor lemondhatod.","payment_entry_page.subscription_info":"Az előfizetés automatikusan megújul. Bármikor lemondhatod.","payment_entry_page.otp_terms_info":"A vásárlással elfogadod, hogy a {{appName}} az általa meghatározott feltételek szerint terheljen.","payment_entry_page.terms_link_label":"Feltételek","payment_entry_page.subscription_terms_info":"A feliratkozással elfogadod, hogy a {{appName}} az általa meghatározott feltételek szerint terheljen, amíg le nem mondod.","loading_page.keep_page_open":"A folyamat majdnem befejeződött. Tartsa nyitva ezt az oldalt.","loading_page.processing_payment":"Fizetés feldolgozása","pricing_table.discount":"Kedvezmény","pricing_table.subtotal":"Részösszeg","pricing_dropdown.add_promo_code":"Promóciós kód hozzáadása","discount_input.label":"Promóciós kód","payment_entry_page.checkout_consent_terms_of_service":"szolgáltatási feltételek","payment_entry_page.checkout_consent_agreement":"Elfogadom a {{appName}} {{termsOfService}}."},$m={"periods.week":"{{amount}} minggu","periods.month":"{{amount}} bulan","periods.year":"{{amount}} tahun","periods.day":"{{amount}} hari","periods.weekShort":"{{amount}}mg","periods.monthShort":"{{amount}}bl","periods.yearShort":"{{amount}}th","periods.dayShort":"{{amount}}h","periods.lifetime":"seumur hidup","periods.weekPlural":"{{amount}} minggu","periods.monthPlural":"{{amount}} bulan","periods.yearPlural":"{{amount}} tahun","periods.dayPlural":"{{amount}} hari","periods.weekFrequency":"mingguan","periods.monthFrequency":"bulanan","periods.yearFrequency":"tahunan","periods.dayFrequency":"harian","periods.perWeekFrequency":"per minggu","periods.perMonthFrequency":"per bulan","periods.perYearFrequency":"per tahun","periods.perDayFrequency":"per hari","periods.unknownFrequency":"tidak diketahui","periods.weekFrequencyPlural":"setiap {{amount}} minggu","periods.monthFrequencyPlural":"setiap {{amount}} bulan","periods.yearFrequencyPlural":"setiap {{amount}} tahun","periods.dayFrequencyPlural":"setiap {{amount}} hari","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} uji coba gratis","product_info.price_after_free_trial":"Setelah uji coba berakhir, pada {{renewalDate}}","product_info.renewal_frequency":"Diperbarui {{frequency}}","product_info.continues_until_cancelled":"Berlanjut hingga dibatalkan","product_info.cancel_anytime":"Batalkan kapan saja","payment_entry_page.payment_step_title":"Pembayaran aman oleh RevenueCat","payment_entry_page.button_pay":"Bayar sekarang","payment_entry_page.button_start_trial":"Mulai Uji Coba","success_page.purchase_successful":"Pembayaran selesai","success_page.button_close":"Lanjutkan","error_page.if_error_persists":"Jika kesalahan berlanjut, silakan hubungi ","error_page.error_title_already_subscribed":"Anda sudah berlangganan ke {{productTitle}}","error_page.error_title_already_purchased":"Anda sudah membeli {{productTitle}}","error_page.error_title_other_errors":"Terjadi kesalahan","error_page.error_message_already_subscribed":"Anda tidak dapat berlangganan produk ini lagi.","error_page.error_message_already_purchased":"Anda tidak dapat membeli produk ini lagi.","error_page.error_message_missing_email_error":"Email diperlukan untuk menyelesaikan pembelian.","error_page.error_message_network_error":"Kesalahan jaringan. Periksa koneksi internet Anda.","error_page.error_message_error_charging_payment":"Pembayaran gagal.","error_page.error_message_error_setting_up_purchase":"Pembelian tidak dimulai karena kesalahan (kode kesalahan: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Kami tidak dapat memverifikasi alamat penagihan Anda. Harap periksa kembali kode pos dan negara untuk memastikan keduanya benar.","error_page.error_message_unknown_error":"Terjadi kesalahan yang tidak diketahui (kode kesalahan: {{errorCode}}).","error_page.button_try_again":"Coba lagi","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Total yang harus dibayar hari ini","product_info.subscribe_to":"Berlangganan ke","navbar_header.details":"Detail","navbar_header.back_button":"Kembali","pricing_dropdown.show_details":"Tampilkan detail","pricing_dropdown.hide_details":"Sembunyikan detail","pricing_table.tax":"Pajak","pricing_table.trial_ends":"Setelah masa percobaan berakhir, pada {{formattedTrialEndDate}}","pricing_table.total_due_today":"Total yang harus dibayar hari ini","pricing_table.total_excluding_tax":"Total belum termasuk pajak","pricing_table.enter_billing_address_to_calculate":"Masukkan alamat penagihan untuk menghitung","pricing_table.enter_state_or_postal_code_to_calculate":"Masukkan negara bagian atau kode pos untuk menghitung","pricing_table.enter_postal_code_to_calculate":"Masukkan kode pos untuk menghitung","error_page.error_message_invalid_email_error":"Alamat email {{email}} tidak dapat diverifikasi. Harap berikan alamat email yang valid.","payment_entry_page.button_payment_method":"Bayar {{formattedPrice}} dengan {{paymentMethod}}","payment_entry_page.button_with_price":"Bayar {{formattedPrice}}","price_update.title":"Pembaruan harga","price_update.base_message":"Total harga telah diperbarui dengan pajak berdasarkan alamat penagihan Anda. Harap tinjau dan coba lagi. Kartu Anda hanya akan dikenakan biaya sekali.","price_update.trial_message":"Harga langganan telah diperbarui untuk menyertakan pajak berdasarkan alamat penagihan Anda. Masa percobaan gratis masih berlaku. Silakan periksa dan coba lagi.","payment_entry_page.express_checkout_divider":"ATAU BAYAR DENGAN KARTU","error_page.trouble_accessing":"Jika Anda mengalami masalah dalam mengakses pembelian, hubungi dukungan di ","error_page.close_button_title":"Pergi ke {{appName}}","error_page.error_title_stripe_missing_required_permission":"Izin Stripe tidak ada","error_page.button_close":"Tutup","error_page.error_message_stripe_invalid_tax_origin_address":"Pembelian gagal karena alamat asal pajak tidak valid. Dalam produksi, pembelian akan berfungsi tanpa pajak yang diterapkan.","error_page.error_message_stripe_tax_not_active":"Pembelian gagal karena Stripe Tax tidak diaktifkan. Dalam produksi, pembelian akan berfungsi tanpa pajak yang diterapkan.","error_page.error_only_in_sandbox":"Pesan ini hanya muncul di sandbox.","error_page.error_message_stripe_missing_required_permission":"Pembelian gagal karena aplikasi Stripe tidak memiliki izin yang diperlukan. Dalam produksi, pembelian akan berfungsi tanpa pajak yang diterapkan.","error_page.error_title_stripe_tax_not_active":"Stripe Tax tidak aktif","error_page.error_title_stripe_invalid_tax_origin_address":"Alamat asal pajak tidak valid","apple_pay.free_trial":"Uji Coba Gratis","product_info.price_after_intro_price":"Setelah {{introPriceDuration}}, pada {{renewalDate}}","product_info.after_trial":"setelah uji coba","product_info.after":"setelah","product_info.intro_price_phase_after_trial":"Kemudian {{introPriceDuration}} dengan harga {{introPrice}}","product_info.intro_price_phase":"Pertama {{introPriceDuration}} dengan harga {{introPrice}}","product_info.intro_price_phase_paid_once":"dibayar sekali","payment_entry_page.trial_subscription_terms_info":"Setelah masa percobaan Anda berakhir, Anda akan dikenakan biaya sebesar {{price}} {{perFrequency}} mulai {{renewalDate}}. Anda dapat membatalkan kapan saja sebelum tanggal ini.","payment_entry_page.subscription_info":"Langganan diperpanjang secara otomatis. Batalkan kapan saja.","payment_entry_page.otp_terms_info":"Dengan membeli, Anda setuju untuk mengizinkan {{appName}} menagih Anda sesuai dengan ketentuan mereka.","payment_entry_page.terms_link_label":"Ketentuan","payment_entry_page.subscription_terms_info":"Dengan berlangganan, Anda setuju untuk mengizinkan {{appName}} mengenakan biaya sesuai dengan ketentuan mereka hingga Anda membatalkan.","loading_page.keep_page_open":"Prosesnya hampir selesai. Jangan tutup halaman ini.","loading_page.processing_payment":"Pembayaran sedang diproses","pricing_table.discount":"Diskon","pricing_table.subtotal":"Subtotal","pricing_dropdown.add_promo_code":"Tambahkan kode promo","discount_input.label":"Kode promo","payment_entry_page.checkout_consent_terms_of_service":"ketentuan layanan","payment_entry_page.checkout_consent_agreement":"Saya menyetujui {{termsOfService}} {{appName}}."},eh={"periods.week":"{{amount}}週間","periods.month":"{{amount}}ヶ月","periods.year":"{{amount}}年","periods.day":"{{amount}}日","periods.weekShort":"{{amount}}週","periods.monthShort":"{{amount}}ヶ月","periods.yearShort":"{{amount}}年","periods.dayShort":"{{amount}}日","periods.lifetime":"生涯","periods.weekPlural":"{{amount}}週間","periods.monthPlural":"{{amount}}ヶ月","periods.yearPlural":"{{amount}}年","periods.dayPlural":"{{amount}}日","periods.weekFrequency":"毎週","periods.monthFrequency":"毎月","periods.yearFrequency":"毎年","periods.dayFrequency":"毎日","periods.perWeekFrequency":"週ごと","periods.perMonthFrequency":"月ごと","periods.perYearFrequency":"年ごと","periods.perDayFrequency":"日ごと","periods.unknownFrequency":"不明","periods.weekFrequencyPlural":"{{amount}}週間ごと","periods.monthFrequencyPlural":"{{amount}}ヶ月ごと","periods.yearFrequencyPlural":"{{amount}}年ごと","periods.dayFrequencyPlural":"{{amount}}日ごと","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}}日間無料トライアル","product_info.price_after_free_trial":"トライアル終了後、{{renewalDate}}に","product_info.renewal_frequency":"{{frequency}}で更新","product_info.continues_until_cancelled":"キャンセルされるまで継続されます","product_info.cancel_anytime":"いつでもキャンセルできます","payment_entry_page.payment_step_title":"RevenueCatによる安全なチェックアウト","payment_entry_page.button_pay":"今すぐ支払う","payment_entry_page.button_start_trial":"トライアルを開始","success_page.purchase_successful":"支払いが完了しました","success_page.button_close":"続行","error_page.if_error_persists":"エラーが続く場合は、ご連絡ください。","error_page.error_title_already_subscribed":"すでに{{productTitle}}を購読しています","error_page.error_title_already_purchased":"すでに{{productTitle}}を購入しています","error_page.error_title_other_errors":"エラーが発生しました","error_page.error_message_already_subscribed":"この商品を再度購読することはできません。","error_page.error_message_already_purchased":"この商品を再度購入することはできません。","error_page.error_message_missing_email_error":"購入を完了するにはメールアドレスが必要です。","error_page.error_message_network_error":"ネットワークエラーです。インターネット接続を確認してください。","error_page.error_message_error_charging_payment":"支払いに失敗しました。","error_page.error_message_error_setting_up_purchase":"エラーが発生したため、購入を開始できませんでした(エラーコード:{{errorCode}})。","error_page.error_message_invalid_tax_location":"請求先住所を確認できませんでした。郵便番号と国が正しいかご確認ください。","error_page.error_message_unknown_error":"不明なエラーが発生しました(エラーコード:{{errorCode}})。","error_page.button_try_again":"再試行","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"本日のお支払い合計","product_info.subscribe_to":"購読する","navbar_header.details":"詳細","navbar_header.back_button":"戻る","pricing_dropdown.show_details":"詳細を表示","pricing_dropdown.hide_details":"詳細を隠す","pricing_table.tax":"税金","pricing_table.trial_ends":"トライアル終了後、{{formattedTrialEndDate}}","pricing_table.total_due_today":"本日お支払いいただく合計金額","pricing_table.total_excluding_tax":"税抜き合計","pricing_table.enter_billing_address_to_calculate":"請求先住所を入力して計算","pricing_table.enter_state_or_postal_code_to_calculate":"計算するには州または郵便番号を入力してください","pricing_table.enter_postal_code_to_calculate":"計算するには郵便番号を入力してください","error_page.error_message_invalid_email_error":"メールアドレス{{email}}を確認できませんでした。有効なメールアドレスを入力してください。","payment_entry_page.button_payment_method":"{{paymentMethod}}で{{formattedPrice}}を支払う","payment_entry_page.button_with_price":"{{formattedPrice}}を支払う","price_update.title":"価格の更新","price_update.base_message":"合計金額が、お客様の請求先住所に基づいて税金とともに更新されました。再度ご確認ください。カードへの請求は1回のみです。","price_update.trial_message":"請求先住所に基づいて税金を含むサブスクリプション料金が更新されました。無料トライアルは引き続き適用されます。確認して再度お試しください。","payment_entry_page.express_checkout_divider":"カードで支払う","error_page.trouble_accessing":"購入へのアクセスに問題がある場合は、サポートにお問い合わせください: ","error_page.close_button_title":"{{appName}} に移動","error_page.error_title_stripe_missing_required_permission":"必要なStripeの権限がありません","error_page.button_close":"閉じる","error_page.error_message_stripe_invalid_tax_origin_address":"税の原産地住所が無効なため、購入に失敗しました。 本番環境では、税金が適用されなくても購入は可能です。","error_page.error_message_stripe_tax_not_active":"Stripe Taxが有効になっていないため、購入に失敗しました。 本番環境では、税金が適用されなくても購入は可能です。","error_page.error_only_in_sandbox":"このメッセージはサンドボックスでのみ表示されます。","error_page.error_message_stripe_missing_required_permission":"Stripeアプリに必要な権限がないため、購入に失敗しました。 本番環境では、税金が適用されなくても購入は可能です。","error_page.error_title_stripe_tax_not_active":"Stripe Taxが有効ではありません","error_page.error_title_stripe_invalid_tax_origin_address":"税の原産地住所が無効です","apple_pay.free_trial":"無料トライアル","product_info.price_after_intro_price":"{{introPriceDuration}}の後、{{renewalDate}}に","product_info.after_trial":"トライアル後","product_info.after":"後","product_info.intro_price_phase_after_trial":"その後、{{introPriceDuration}}間は{{introPrice}}","product_info.intro_price_phase":"最初の{{introPriceDuration}}間は{{introPrice}}","product_info.intro_price_phase_paid_once":"一回払い","payment_entry_page.trial_subscription_terms_info":"トライアル期間が終了すると、{{renewalDate}}から{{price}} {{perFrequency}}が課金されます。この日より前にいつでもキャンセルできます。","payment_entry_page.subscription_info":"サブスクリプションは自動的に更新されます。いつでもキャンセルできます。","payment_entry_page.otp_terms_info":"購入することにより、{{appName}}が利用規約に基づいて料金を請求することに同意したことになります。","payment_entry_page.terms_link_label":"利用規約","payment_entry_page.subscription_terms_info":"サブスクリプションに登録すると、キャンセルするまで{{appName}}が利用規約に従って課金することを許可することに同意したことになります。","loading_page.keep_page_open":"プロセスはほぼ完了です。このページを開いたままにしてください。","loading_page.processing_payment":"お支払い手続き中","pricing_table.discount":"割引","pricing_table.subtotal":"小計","pricing_dropdown.add_promo_code":"プロモーションコードを追加","discount_input.label":"プロモーションコード","payment_entry_page.checkout_consent_terms_of_service":"利用規約","payment_entry_page.checkout_consent_agreement":"{{appName}}の{{termsOfService}}に同意します。"},rh={"periods.week":"{{amount}}주","periods.month":"{{amount}}개월","periods.year":"{{amount}}년","periods.day":"{{amount}}일","periods.weekShort":"{{amount}}주","periods.monthShort":"{{amount}}개월","periods.yearShort":"{{amount}}년","periods.dayShort":"{{amount}}일","periods.lifetime":"평생","periods.weekPlural":"{{amount}}주","periods.monthPlural":"{{amount}}개월","periods.yearPlural":"{{amount}}년","periods.dayPlural":"{{amount}}일","periods.weekFrequency":"매주","periods.monthFrequency":"매달","periods.yearFrequency":"매년","periods.dayFrequency":"매일","periods.perWeekFrequency":"주당","periods.perMonthFrequency":"월별","periods.perYearFrequency":"연간","periods.perDayFrequency":"매일","periods.unknownFrequency":"알 수 없음","periods.weekFrequencyPlural":"{{amount}}주마다","periods.monthFrequencyPlural":"{{amount}}개월마다","periods.yearFrequencyPlural":"{{amount}}년마다","periods.dayFrequencyPlural":"{{amount}}일마다","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}}일 무료 체험","product_info.price_after_free_trial":"체험 종료 후, {{renewalDate}}에","product_info.renewal_frequency":"{{frequency}}마다 갱신","product_info.continues_until_cancelled":"취소될 때까지 계속됩니다.","product_info.cancel_anytime":"언제든지 취소 가능","payment_entry_page.payment_step_title":"RevenueCat을 통한 안전한 결제","payment_entry_page.button_pay":"지금 결제","payment_entry_page.button_start_trial":"체험 시작","success_page.purchase_successful":"결제가 완료되었습니다.","success_page.button_close":"계속","error_page.if_error_persists":"오류가 지속되면 다음으로 문의하십시오.","error_page.error_title_already_subscribed":"이미 {{productTitle}}을 구독하셨습니다","error_page.error_title_already_purchased":"이미 {{productTitle}}을 구매하셨습니다","error_page.error_title_other_errors":"문제가 발생했습니다.","error_page.error_message_already_subscribed":"이 제품을 다시 구독할 수 없습니다.","error_page.error_message_already_purchased":"이 제품을 다시 구매할 수 없습니다.","error_page.error_message_missing_email_error":"구매를 완료하려면 이메일이 필요합니다.","error_page.error_message_network_error":"네트워크 오류입니다. 인터넷 연결을 확인하십시오.","error_page.error_message_error_charging_payment":"결제에 실패했습니다.","error_page.error_message_error_setting_up_purchase":"오류로 인해 구매가 시작되지 않았습니다(오류 코드: {{errorCode}}).","error_page.error_message_invalid_tax_location":"청구 주소를 확인할 수 없습니다. 우편번호와 국가가 정확한지 다시 한번 확인해 주세요.","error_page.error_message_unknown_error":"알 수 없는 오류가 발생했습니다(오류 코드: {{errorCode}}).","error_page.button_try_again":"다시 시도","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"오늘 총 결제 금액","product_info.subscribe_to":"구독하기","navbar_header.details":"세부 정보","navbar_header.back_button":"뒤로","pricing_dropdown.show_details":"세부 정보 표시","pricing_dropdown.hide_details":"세부 정보 숨기기","pricing_table.tax":"세금","pricing_table.trial_ends":"체험판 종료 후, {{formattedTrialEndDate}}","pricing_table.total_due_today":"오늘 지불해야 할 총액","pricing_table.total_excluding_tax":"세금 제외 총액","pricing_table.enter_billing_address_to_calculate":"계산을 위해 청구지 주소를 입력하세요","pricing_table.enter_state_or_postal_code_to_calculate":"주 또는 우편 번호를 입력하여 계산","pricing_table.enter_postal_code_to_calculate":"우편 번호를 입력하여 계산","error_page.error_message_invalid_email_error":"이메일 주소 {{email}}을(를) 확인할 수 없습니다. 유효한 이메일 주소를 제공해 주세요.","payment_entry_page.button_payment_method":"{{paymentMethod}}으로 {{formattedPrice}} 결제","payment_entry_page.button_with_price":"{{formattedPrice}} 결제","price_update.title":"가격 업데이트","price_update.base_message":"청구지 주소를 기준으로 세금이 포함된 총 가격이 업데이트되었습니다. 다시 확인하고 시도해 주세요. 카드는 한 번만 청구됩니다.","price_update.trial_message":"청구 주소에 따라 세금이 포함된 구독 가격이 업데이트되었습니다. 무료 체험은 계속 적용됩니다. 확인하고 다시 시도해 주세요.","payment_entry_page.express_checkout_divider":"또는 카드 결제","error_page.trouble_accessing":"구매에 문제가 있는 경우 다음 주소로 지원팀에 문의하세요. ","error_page.close_button_title":"{{appName}}으로 이동","error_page.error_title_stripe_missing_required_permission":"필수 Stripe 권한 누락","error_page.button_close":"닫기","error_page.error_message_stripe_invalid_tax_origin_address":"세금 원산지 주소가 잘못되어 구매에 실패했습니다. 프로덕션 환경에서는 세금이 적용되지 않은 상태로 구매가 진행됩니다.","error_page.error_message_stripe_tax_not_active":"Stripe Tax가 활성화되지 않아 구매에 실패했습니다. 프로덕션 환경에서는 세금이 적용되지 않은 상태로 구매가 진행됩니다.","error_page.error_only_in_sandbox":"이 메시지는 샌드박스에서만 표시됩니다.","error_page.error_message_stripe_missing_required_permission":"Stripe 앱에 필요한 권한이 없어 구매에 실패했습니다. 프로덕션 환경에서는 세금이 적용되지 않은 상태로 구매가 진행됩니다.","error_page.error_title_stripe_tax_not_active":"Stripe Tax가 활성화되지 않음","error_page.error_title_stripe_invalid_tax_origin_address":"잘못된 세금 원산지 주소","apple_pay.free_trial":"무료 체험","product_info.price_after_intro_price":"{{introPriceDuration}} 후 {{renewalDate}}에","product_info.after_trial":"체험 후","product_info.after":"후","product_info.intro_price_phase_after_trial":"다음 {{introPriceDuration}} 동안 {{introPrice}}","product_info.intro_price_phase":"처음 {{introPriceDuration}} 동안 {{introPrice}}","product_info.intro_price_phase_paid_once":"1회 결제","payment_entry_page.trial_subscription_terms_info":"체험 기간이 종료되면 {{renewalDate}}부터 {{price}} {{perFrequency}}가 청구됩니다. 이 날짜 전에는 언제든지 취소할 수 있습니다.","payment_entry_page.subscription_info":"구독은 자동으로 갱신됩니다. 언제든지 취소할 수 있습니다.","payment_entry_page.otp_terms_info":"구매하시면 {{appName}}의 약관에 따라 요금이 청구되는 것에 동의하는 것입니다.","payment_entry_page.terms_link_label":"약관","payment_entry_page.subscription_terms_info":"구독하면 취소할 때까지 {{appName}}이 약관에 따라 요금을 청구하는 데 동의하는 것입니다.","loading_page.keep_page_open":"거의 완료되었습니다. 이 페이지를 계속 열어 두세요.","loading_page.processing_payment":"결제 처리 중","pricing_table.discount":"할인","pricing_table.subtotal":"소계","pricing_dropdown.add_promo_code":"프로모션 코드 추가","discount_input.label":"프로모션 코드","payment_entry_page.checkout_consent_terms_of_service":"이용 약관","payment_entry_page.checkout_consent_agreement":"{{appName}} {{termsOfService}}에 동의합니다."},th={"periods.week":"{{amount}} minggu","periods.month":"{{amount}} bulan","periods.year":"{{amount}} tahun","periods.day":"{{amount}} hari","periods.weekShort":"{{amount}}mg","periods.monthShort":"{{amount}}bl","periods.yearShort":"{{amount}}th","periods.dayShort":"{{amount}}h","periods.lifetime":"seumur hidup","periods.weekPlural":"{{amount}} minggu","periods.monthPlural":"{{amount}} bulan","periods.yearPlural":"{{amount}} tahun","periods.dayPlural":"{{amount}} hari","periods.weekFrequency":"mingguan","periods.monthFrequency":"bulanan","periods.yearFrequency":"tahunan","periods.dayFrequency":"harian","periods.perWeekFrequency":"setiap minggu","periods.perMonthFrequency":"setiap bulan","periods.perYearFrequency":"setiap tahun","periods.perDayFrequency":"setiap hari","periods.unknownFrequency":"tidak diketahui","periods.weekFrequencyPlural":"setiap {{amount}} minggu","periods.monthFrequencyPlural":"setiap {{amount}} bulan","periods.yearFrequencyPlural":"setiap {{amount}} tahun","periods.dayFrequencyPlural":"setiap {{amount}} hari","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} percubaan percuma","product_info.price_after_free_trial":"Selepas tamat percubaan, pada {{renewalDate}}","product_info.renewal_frequency":"Diperbaharui {{frequency}}","product_info.continues_until_cancelled":"Berterusan sehingga dibatalkan","product_info.cancel_anytime":"Batal bila-bila masa","payment_entry_page.payment_step_title":"Pembayaran selamat oleh RevenueCat","payment_entry_page.button_pay":"Bayar sekarang","payment_entry_page.button_start_trial":"Mula Percubaan","success_page.purchase_successful":"Pembayaran selesai","success_page.button_close":"Teruskan","error_page.if_error_persists":"Jika ralat berterusan, sila hubungi ","error_page.error_title_already_subscribed":"Anda sudah melanggan {{productTitle}}","error_page.error_title_already_purchased":"Anda sudah membeli {{productTitle}}","error_page.error_title_other_errors":"Ada sesuatu yang tidak kena","error_page.error_message_already_subscribed":"Anda tidak boleh melanggan produk ini lagi.","error_page.error_message_already_purchased":"Anda tidak boleh membeli produk ini lagi.","error_page.error_message_missing_email_error":"Emel diperlukan untuk menyelesaikan pembelian.","error_page.error_message_network_error":"Ralat rangkaian. Sila semak sambungan internet anda.","error_page.error_message_error_charging_payment":"Pembayaran gagal.","error_page.error_message_error_setting_up_purchase":"Pembelian tidak dimulakan disebabkan ralat (kod ralat: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Kami tidak dapat mengesahkan alamat bil anda. Sila semak sama ada poskod dan negara adalah betul.","error_page.error_message_unknown_error":"Ralat yang tidak diketahui telah berlaku (kod ralat: {{errorCode}}).","error_page.button_try_again":"Cuba lagi","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Jumlah yang perlu dibayar hari ini","product_info.subscribe_to":"Langgan","navbar_header.details":"Butiran","navbar_header.back_button":"Kembali","pricing_dropdown.show_details":"Tunjukkan butiran","pricing_dropdown.hide_details":"Sembunyikan butiran","pricing_table.tax":"Cukai","pricing_table.trial_ends":"Selepas tempoh percubaan tamat, pada {{formattedTrialEndDate}}","pricing_table.total_due_today":"Jumlah yang perlu dibayar hari ini","pricing_table.total_excluding_tax":"Jumlah tidak termasuk cukai","pricing_table.enter_billing_address_to_calculate":"Masukkan alamat pengebilan untuk mengira","pricing_table.enter_state_or_postal_code_to_calculate":"Masukkan negeri atau poskod untuk mengira","pricing_table.enter_postal_code_to_calculate":"Masukkan poskod untuk mengira","error_page.error_message_invalid_email_error":"Alamat e-mel {{email}} tidak dapat disahkan. Sila berikan alamat e-mel yang sah.","payment_entry_page.button_payment_method":"Bayar {{formattedPrice}} dengan {{paymentMethod}}","payment_entry_page.button_with_price":"Bayar {{formattedPrice}}","price_update.title":"Kemaskini harga","price_update.base_message":"Jumlah harga telah dikemas kini dengan cukai berdasarkan alamat pengebilan anda. Sila semak dan cuba lagi. Kad anda hanya akan dicaj sekali.","price_update.trial_message":"Harga langganan telah dikemas kini untuk memasukkan cukai berdasarkan alamat bil anda. Tempoh percubaan percuma masih terpakai. Sila semak dan cuba lagi.","payment_entry_page.express_checkout_divider":"ATAU BAYAR DENGAN KAD","error_page.trouble_accessing":"Jika anda menghadapi masalah untuk mengakses pembelian anda, hubungi sokongan di ","error_page.close_button_title":"Pergi ke {{appName}}","error_page.error_title_stripe_missing_required_permission":"Kebenaran Stripe hilang","error_page.button_close":"Tutup","error_page.error_message_stripe_invalid_tax_origin_address":"Pembelian gagal kerana alamat asal cukai tidak sah. Dalam pengeluaran, pembelian akan berfungsi tanpa cukai dikenakan.","error_page.error_message_stripe_tax_not_active":"Pembelian gagal kerana Cukai Stripe tidak didayakan. Dalam pengeluaran, pembelian akan berfungsi tanpa cukai dikenakan.","error_page.error_only_in_sandbox":"Mesej ini hanya muncul dalam kotak pasir.","error_page.error_message_stripe_missing_required_permission":"Pembelian gagal kerana aplikasi Stripe kekurangan kebenaran yang diperlukan. Dalam pengeluaran, pembelian akan berfungsi tanpa cukai dikenakan.","error_page.error_title_stripe_tax_not_active":"Cukai Stripe tidak aktif","error_page.error_title_stripe_invalid_tax_origin_address":"Alamat asal cukai Stripe tidak sah","apple_pay.free_trial":"Percubaan Percuma","product_info.price_after_intro_price":"Selepas {{introPriceDuration}}, pada {{renewalDate}}","product_info.after_trial":"selepas percubaan","product_info.after":"selepas","product_info.intro_price_phase_after_trial":"Kemudian {{introPriceDuration}} untuk {{introPrice}}","product_info.intro_price_phase":"Pertama {{introPriceDuration}} untuk {{introPrice}}","product_info.intro_price_phase_paid_once":"dibayar sekali","payment_entry_page.trial_subscription_terms_info":"Selepas tempoh percubaan anda tamat, anda akan dikenakan bayaran sebanyak {{price}} {{perFrequency}} bermula {{renewalDate}}. Anda boleh membatalkan pada bila-bila masa sebelum tarikh ini.","payment_entry_page.subscription_info":"Langganan diperbaharui secara automatik. Batalkan bila-bila masa.","payment_entry_page.otp_terms_info":"Dengan membuat pembelian, anda bersetuju untuk membenarkan {{appName}} mengenakan bayaran kepada anda mengikut terma mereka.","payment_entry_page.terms_link_label":"Terma","payment_entry_page.subscription_terms_info":"Dengan melanggan, anda bersetuju untuk membenarkan {{appName}} mengenakan bayaran kepada anda mengikut terma mereka sehingga anda membatalkan.","loading_page.keep_page_open":"Proses hampir selesai. Pastikan halaman ini dibuka.","loading_page.processing_payment":"Memproses pembayaran","pricing_table.discount":"Diskaun","pricing_table.subtotal":"Subtotal","pricing_dropdown.add_promo_code":"Tambah kod promo","discount_input.label":"Kod promo","payment_entry_page.checkout_consent_terms_of_service":"syarat perkhidmatan","payment_entry_page.checkout_consent_agreement":"Saya bersetuju dengan {{appName}} {{termsOfService}}."},nh={"periods.week":"{{amount}} uke","periods.month":"{{amount}} måned","periods.year":"{{amount}} år","periods.day":"{{amount}} dag","periods.weekShort":"{{amount}}uk","periods.monthShort":"{{amount}}md","periods.yearShort":"{{amount}}år","periods.dayShort":"{{amount}}d","periods.lifetime":"livstid","periods.weekPlural":"{{amount}} uker","periods.monthPlural":"{{amount}} måneder","periods.yearPlural":"{{amount}} år","periods.dayPlural":"{{amount}} dager","periods.weekFrequency":"ukentlig","periods.monthFrequency":"månedlig","periods.yearFrequency":"årlig","periods.dayFrequency":"daglig","periods.perWeekFrequency":"per uke","periods.perMonthFrequency":"per måned","periods.perYearFrequency":"per år","periods.perDayFrequency":"per dag","periods.unknownFrequency":"ukjent","periods.weekFrequencyPlural":"hver {{amount}} uker","periods.monthFrequencyPlural":"hver {{amount}} måneder","periods.yearFrequencyPlural":"hver {{amount}} år","periods.dayFrequencyPlural":"hver {{amount}} dager","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} gratis prøveperiode","product_info.price_after_free_trial":"Etter prøveperioden slutter, den {{renewalDate}}","product_info.renewal_frequency":"Fornyes {{frequency}}","product_info.continues_until_cancelled":"Varer til den avbestilles","product_info.cancel_anytime":"Avbestille når som helst","payment_entry_page.payment_step_title":"Sikker betaling via RevenueCat","payment_entry_page.button_pay":"Betal nå","payment_entry_page.button_start_trial":"Start prøveperiode","success_page.purchase_successful":"Betalingen er fullført","success_page.button_close":"Fortsett","error_page.if_error_persists":"Hvis feilen vedvarer, vennligst kontakt ","error_page.error_title_already_subscribed":"Du abonnerer allerede på {{productTitle}}","error_page.error_title_already_purchased":"Du har allerede kjøpt {{productTitle}}","error_page.error_title_other_errors":"Noe gikk galt","error_page.error_message_already_subscribed":"Du kan ikke abonnere på dette produktet igjen.","error_page.error_message_already_purchased":"Du kan ikke kjøpe dette produktet igjen.","error_page.error_message_missing_email_error":"E-post er nødvendig for å fullføre kjøpet.","error_page.error_message_network_error":"Nettverksfeil. Vennligst sjekk internettforbindelsen din.","error_page.error_message_error_charging_payment":"Betalingen mislyktes.","error_page.error_message_error_setting_up_purchase":"Kjøpet ble ikke startet på grunn av en feil (feilkode: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Vi kunne ikke bekrefte faktureringsadressen din. Vennligst sjekk at postnummeret og landet er korrekte.","error_page.error_message_unknown_error":"En ukjent feil oppstod (feilkode: {{errorCode}}).","error_page.button_try_again":"Prøv igjen","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}} ({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Totalt forfaller i dag","product_info.subscribe_to":"Abonner på","navbar_header.details":"Detaljer","navbar_header.back_button":"Tilbake","pricing_dropdown.show_details":"Vis detaljer","pricing_dropdown.hide_details":"Skjul detaljer","pricing_table.tax":"Skatt","pricing_table.trial_ends":"Etter prøveperioden slutter, den {{formattedTrialEndDate}}","pricing_table.total_due_today":"Totalt forfaller i dag","pricing_table.total_excluding_tax":"Total eksklusive skatt","pricing_table.enter_billing_address_to_calculate":"Oppgi faktureringsadresse for å beregne","pricing_table.enter_state_or_postal_code_to_calculate":"Skriv inn stat eller postnummer for å beregne","pricing_table.enter_postal_code_to_calculate":"Skriv inn postnummer for å beregne","error_page.error_message_invalid_email_error":"E-postadressen {{email}} kunne ikke bekreftes. Vennligst oppgi en gyldig e-postadresse.","payment_entry_page.button_payment_method":"Betal {{formattedPrice}} med {{paymentMethod}}","payment_entry_page.button_with_price":"Betal {{formattedPrice}}","price_update.title":"Prisoppdatering","price_update.base_message":"Totalprisen er oppdatert med skatt basert på fakturaadressen din. Vennligst se gjennom og prøv igjen. Kortet ditt vil kun bli belastet én gang.","price_update.trial_message":"Abonnementsprisen er oppdatert for å inkludere skatter basert på din fakturaadresse. Den gratis prøveperioden gjelder fortsatt. Vennligst sjekk og prøv igjen.","payment_entry_page.express_checkout_divider":"ELLER BETAL MED KORT","error_page.trouble_accessing":"Hvis du har problemer med å få tilgang til kjøpet ditt, kan du kontakte support på ","error_page.close_button_title":"Gå til {{appName}}","error_page.error_title_stripe_missing_required_permission":"Mangler Stripe-tillatelse","error_page.button_close":"Lukk","error_page.error_message_stripe_invalid_tax_origin_address":"Kjøpet mislyktes fordi skatteopprinnelsesadressen er ugyldig. I produksjon vil kjøp fungere uten at skatter brukes.","error_page.error_message_stripe_tax_not_active":"Kjøpet mislyktes fordi Stripe Tax ikke er aktivert. I produksjon vil kjøp fungere uten at skatter brukes.","error_page.error_only_in_sandbox":"Denne meldingen vises bare i sandkassen.","error_page.error_message_stripe_missing_required_permission":"Kjøpet mislyktes fordi Stripe-appen mangler en nødvendig tillatelse. I produksjon vil kjøp fungere uten at skatter brukes.","error_page.error_title_stripe_tax_not_active":"Stripe Tax er ikke aktivt","error_page.error_title_stripe_invalid_tax_origin_address":"Ugyldig skatteopprinnelsesadresse","apple_pay.free_trial":"Gratis prøveperiode","product_info.price_after_intro_price":"Etter {{introPriceDuration}}, den {{renewalDate}}","product_info.after_trial":"etter prøveperiode","product_info.after":"etter","product_info.intro_price_phase_after_trial":"Deretter {{introPriceDuration}} for {{introPrice}}","product_info.intro_price_phase":"Først {{introPriceDuration}} for {{introPrice}}","product_info.intro_price_phase_paid_once":"betales én gang","payment_entry_page.trial_subscription_terms_info":"Etter at prøveperioden din er over, blir du belastet {{price}} {{perFrequency}} fra og med {{renewalDate}}. Du kan kansellere når som helst før denne datoen.","payment_entry_page.subscription_info":"Abonnementet fornyes automatisk. Avbryt når som helst.","payment_entry_page.otp_terms_info":"Ved å kjøpe godtar du at {{appName}} belaster deg i henhold til deres vilkår.","payment_entry_page.terms_link_label":"Vilkår","payment_entry_page.subscription_terms_info":"Ved å abonnere godtar du at {{appName}} belaster deg i henhold til deres vilkår til du kansellerer.","loading_page.keep_page_open":"Prosessen er nesten ferdig. Hold denne siden åpen.","loading_page.processing_payment":"Behandler betaling","pricing_table.discount":"Rabatt","pricing_table.subtotal":"Subtotal","pricing_dropdown.add_promo_code":"Legg til kampanjekode","discount_input.label":"Kampanjekode","payment_entry_page.checkout_consent_terms_of_service":"vilkår for bruk","payment_entry_page.checkout_consent_agreement":"Jeg godtar {{appName}} {{termsOfService}}."},ah={"periods.week":"{{amount}} tydzień","periods.month":"{{amount}} miesiąc","periods.year":"{{amount}} rok","periods.day":"{{amount}} dzień","periods.weekShort":"{{amount}}tydz","periods.monthShort":"{{amount}}mies","periods.yearShort":"{{amount}}rok","periods.dayShort":"{{amount}}d","periods.lifetime":"dożywotnio","periods.weekPlural":"{{amount}} tygodni","periods.monthPlural":"{{amount}} miesięcy","periods.yearPlural":"{{amount}} lat","periods.dayPlural":"{{amount}} dni","periods.weekFrequency":"tygodniowo","periods.monthFrequency":"miesięcznie","periods.yearFrequency":"rocznie","periods.dayFrequency":"dziennie","periods.perWeekFrequency":"na tydzień","periods.perMonthFrequency":"na miesiąc","periods.perYearFrequency":"na rok","periods.perDayFrequency":"na dzień","periods.unknownFrequency":"nieznany","periods.weekFrequencyPlural":"co {{amount}} tygodni","periods.monthFrequencyPlural":"co {{amount}} miesięcy","periods.yearFrequencyPlural":"co {{amount}} lat","periods.dayFrequencyPlural":"co {{amount}} dni","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} dni próbnych","product_info.price_after_free_trial":"Po zakończeniu okresu próbnego, dnia {{renewalDate}}","product_info.renewal_frequency":"Odnawialny co {{frequency}}","product_info.continues_until_cancelled":"Kontynuowane do momentu anulowania","product_info.cancel_anytime":"Możesz anulować w dowolnym momencie","payment_entry_page.payment_step_title":"Bezpieczna płatność przez RevenueCat","payment_entry_page.button_pay":"Zapłać teraz","payment_entry_page.button_start_trial":"Rozpocznij okres próbny","success_page.purchase_successful":"Płatność zakończona","success_page.button_close":"Kontynuuj","error_page.if_error_persists":"Jeśli błąd będzie się powtarzał, skontaktuj się z ","error_page.error_title_already_subscribed":"Już subskrybujesz {{productTitle}}","error_page.error_title_already_purchased":"Już zakupiłeś/aś {{productTitle}}","error_page.error_title_other_errors":"Coś poszło nie tak","error_page.error_message_already_subscribed":"Nie możesz ponownie subskrybować tego produktu.","error_page.error_message_already_purchased":"Nie możesz ponownie zakupić tego produktu.","error_page.error_message_missing_email_error":"Adres e-mail jest wymagany do dokonania zakupu.","error_page.error_message_network_error":"Błąd sieci. Sprawdź połączenie internetowe.","error_page.error_message_error_charging_payment":"Płatność nieudana.","error_page.error_message_error_setting_up_purchase":"Zakup nie został rozpoczęty z powodu błędu (kod błędu: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Nie mogliśmy zweryfikować Twojego adresu rozliczeniowego. Sprawdź, czy kod pocztowy i kraj są poprawne.","error_page.error_message_unknown_error":"Wystąpił nieznany błąd (kod błędu: {{errorCode}}).","error_page.button_try_again":"Spróbuj ponownie","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Do zapłaty dzisiaj","product_info.subscribe_to":"Subskrybuj","navbar_header.details":"Szczegóły","navbar_header.back_button":"Wstecz","pricing_dropdown.show_details":"Pokaż szczegóły","pricing_dropdown.hide_details":"Ukryj szczegóły","pricing_table.tax":"Podatek","pricing_table.trial_ends":"Po zakończeniu okresu próbnego, {{formattedTrialEndDate}}","pricing_table.total_due_today":"Suma należna dzisiaj","pricing_table.total_excluding_tax":"Suma bez podatku","pricing_table.enter_billing_address_to_calculate":"Wprowadź adres rozliczeniowy, aby obliczyć","pricing_table.enter_state_or_postal_code_to_calculate":"Wprowadź stan lub kod pocztowy, aby obliczyć","pricing_table.enter_postal_code_to_calculate":"Wprowadź kod pocztowy, aby obliczyć","error_page.error_message_invalid_email_error":"Nie można zweryfikować adresu e-mail {{email}}. Proszę podać prawidłowy adres e-mail.","payment_entry_page.button_payment_method":"Zapłać {{formattedPrice}} przez {{paymentMethod}}","payment_entry_page.button_with_price":"Zapłać {{formattedPrice}}","price_update.title":"Aktualizacja ceny","price_update.base_message":"Cena całkowita została zaktualizowana o podatek na podstawie Twojego adresu rozliczeniowego. Sprawdź i spróbuj ponownie. Twoja karta zostanie obciążona tylko raz.","price_update.trial_message":"Cena subskrypcji została zaktualizowana o podatki na podstawie Twojego adresu rozliczeniowego. Okres próbny nadal obowiązuje. Sprawdź i spróbuj ponownie.","payment_entry_page.express_checkout_divider":"LUB ZAPŁAĆ KARTĄ","error_page.trouble_accessing":"Jeśli masz problemy z dostępem do zakupu, skontaktuj się z działem pomocy pod adresem ","error_page.close_button_title":"Przejdź do {{appName}}","error_page.error_title_stripe_missing_required_permission":"Brakujące uprawnienie Stripe","error_page.button_close":"Zamknij","error_page.error_message_stripe_invalid_tax_origin_address":"Zakup nie powiódł się, ponieważ adres pochodzenia podatku jest nieprawidłowy. W środowisku produkcyjnym zakupy będą działać bez naliczania podatków.","error_page.error_message_stripe_tax_not_active":"Zakup nie powiódł się, ponieważ Stripe Tax nie jest włączony. W środowisku produkcyjnym zakupy będą działać bez naliczania podatków.","error_page.error_only_in_sandbox":"Ta wiadomość pojawia się tylko w środowisku testowym.","error_page.error_message_stripe_missing_required_permission":"Zakup nie powiódł się, ponieważ aplikacja Stripe nie ma wymaganego uprawnienia. W środowisku produkcyjnym zakupy będą działać bez naliczania podatków.","error_page.error_title_stripe_tax_not_active":"Stripe Tax nieaktywny","error_page.error_title_stripe_invalid_tax_origin_address":"Nieprawidłowy adres pochodzenia podatku","apple_pay.free_trial":"Okres próbny","product_info.price_after_intro_price":"Po {{introPriceDuration}}, od {{renewalDate}}","product_info.after_trial":"po okresie próbnym","product_info.after":"po","product_info.intro_price_phase_after_trial":"Następnie {{introPriceDuration}} za {{introPrice}}","product_info.intro_price_phase":"Najpierw {{introPriceDuration}} za {{introPrice}}","product_info.intro_price_phase_paid_once":"płatne jednorazowo","payment_entry_page.trial_subscription_terms_info":"Po zakończeniu okresu próbnego zostanie pobrana opłata w wysokości {{price}} {{perFrequency}} począwszy od {{renewalDate}}. Możesz anulować subskrypcję w dowolnym momencie przed tą datą.","payment_entry_page.subscription_info":"Subskrypcja odnawia się automatycznie. Anuluj w dowolnym momencie.","payment_entry_page.otp_terms_info":"Dokonując zakupu, zgadzasz się na obciążenie przez {{appName}} zgodnie z ich warunkami.","payment_entry_page.terms_link_label":"Warunki","payment_entry_page.subscription_terms_info":"Subskrybując, zgadzasz się na obciążanie przez {{appName}} zgodnie z ich warunkami do momentu anulowania.","loading_page.keep_page_open":"Proces jest prawie zakończony. Pozostaw tę stronę otwartą.","loading_page.processing_payment":"Przetwarzanie płatności","pricing_table.discount":"Rabat","pricing_table.subtotal":"Suma częściowa","pricing_dropdown.add_promo_code":"Dodaj kod promocyjny","discount_input.label":"Kod promocyjny","payment_entry_page.checkout_consent_terms_of_service":"regulamin","payment_entry_page.checkout_consent_agreement":"Akceptuję {{appName}} {{termsOfService}}."},oh={"periods.week":"{{amount}} semana","periods.month":"{{amount}} mês","periods.year":"{{amount}} ano","periods.day":"{{amount}} dia","periods.weekShort":"{{amount}}sem","periods.monthShort":"{{amount}}mês","periods.yearShort":"{{amount}}ano","periods.dayShort":"{{amount}}d","periods.lifetime":"vitalício","periods.weekPlural":"{{amount}} semanas","periods.monthPlural":"{{amount}} meses","periods.yearPlural":"{{amount}} anos","periods.dayPlural":"{{amount}} dias","periods.weekFrequency":"semanal","periods.monthFrequency":"mensal","periods.yearFrequency":"anual","periods.dayFrequency":"diário","periods.perWeekFrequency":"por semana","periods.perMonthFrequency":"por mês","periods.perYearFrequency":"por ano","periods.perDayFrequency":"por dia","periods.unknownFrequency":"desconhecido","periods.weekFrequencyPlural":"a cada {{amount}} semanas","periods.monthFrequencyPlural":"a cada {{amount}} meses","periods.yearFrequencyPlural":"a cada {{amount}} anos","periods.dayFrequencyPlural":"a cada {{amount}} dias","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} teste grátis","product_info.price_after_free_trial":"Após o término do teste, em {{renewalDate}}","product_info.renewal_frequency":"Renova {{frequency}}","product_info.continues_until_cancelled":"Continua até ser cancelado","product_info.cancel_anytime":"Cancelar a qualquer momento","payment_entry_page.payment_step_title":"Pagamento seguro pela RevenueCat","payment_entry_page.button_pay":"Pagar agora","payment_entry_page.button_start_trial":"Iniciar Teste","success_page.purchase_successful":"Pagamento concluído","success_page.button_close":"Continuar","error_page.if_error_persists":"Se o erro persistir, entre em contato com ","error_page.error_title_already_subscribed":"Você já se inscreveu em {{productTitle}}","error_page.error_title_already_purchased":"Você já comprou {{productTitle}}","error_page.error_title_other_errors":"Algo deu errado","error_page.error_message_already_subscribed":"Você não pode se inscrever neste produto novamente.","error_page.error_message_already_purchased":"Você não pode comprar este produto novamente.","error_page.error_message_missing_email_error":"Email é necessário para concluir a compra.","error_page.error_message_network_error":"Erro de rede. Verifique sua conexão com a internet.","error_page.error_message_error_charging_payment":"Pagamento falhou.","error_page.error_message_error_setting_up_purchase":"Compra não iniciada devido a um erro (código de erro: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Não conseguimos verificar seu endereço de cobrança. Por favor, verifique se o código postal e o país estão corretos.","error_page.error_message_unknown_error":"Ocorreu um erro desconhecido (código de erro: {{errorCode}}).","error_page.button_try_again":"Tentar novamente","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Total a pagar hoje","product_info.subscribe_to":"Subscrever","navbar_header.details":"Detalhes","navbar_header.back_button":"Voltar","pricing_dropdown.show_details":"Mostrar detalhes","pricing_dropdown.hide_details":"Ocultar detalhes","pricing_table.tax":"Imposto","pricing_table.trial_ends":"Após o término do período de avaliação, em {{formattedTrialEndDate}}","pricing_table.total_due_today":"Total a pagar hoje","pricing_table.total_excluding_tax":"Total sem impostos","pricing_table.enter_billing_address_to_calculate":"Insira o endereço de cobrança para calcular","pricing_table.enter_state_or_postal_code_to_calculate":"Insira o estado ou o CEP para calcular","pricing_table.enter_postal_code_to_calculate":"Insira o CEP para calcular","error_page.error_message_invalid_email_error":"O endereço de e-mail {{email}} não pôde ser verificado. Por favor, forneça um endereço de e-mail válido.","payment_entry_page.button_payment_method":"Pagar {{formattedPrice}} com {{paymentMethod}}","payment_entry_page.button_with_price":"Pagar {{formattedPrice}}","price_update.title":"Atualização de preço","price_update.base_message":"O preço total foi atualizado com impostos com base no seu endereço de cobrança. Por favor, revise e tente novamente. Seu cartão só será cobrado uma vez.","price_update.trial_message":"O preço da assinatura foi atualizado para incluir impostos com base no seu endereço de faturação. O período de teste gratuito continua válido. Por favor, verifique e tente novamente.","payment_entry_page.express_checkout_divider":"OU PAGUE COM CARTÃO","error_page.trouble_accessing":"Se estiver com problemas para acessar sua compra, entre em contato com o suporte em ","error_page.close_button_title":"Ir para {{appName}}","error_page.error_title_stripe_missing_required_permission":"Permissão do Stripe em falta","error_page.button_close":"Fechar","error_page.error_message_stripe_invalid_tax_origin_address":"A compra falhou porque o endereço de origem fiscal é inválido. Em produção, as compras funcionarão sem impostos aplicados.","error_page.error_message_stripe_tax_not_active":"A compra falhou porque o Stripe Tax não está ativado. Em produção, as compras funcionarão sem impostos aplicados.","error_page.error_only_in_sandbox":"Esta mensagem aparece apenas na sandbox.","error_page.error_message_stripe_missing_required_permission":"A compra falhou porque o aplicativo Stripe não tem uma permissão necessária. Em produção, as compras funcionarão sem impostos aplicados.","error_page.error_title_stripe_tax_not_active":"Stripe Tax não está ativo","error_page.error_title_stripe_invalid_tax_origin_address":"Endereço de origem fiscal inválido","apple_pay.free_trial":"Teste Gratuito","product_info.price_after_intro_price":"Após {{introPriceDuration}}, em {{renewalDate}}","product_info.after_trial":"após o período de teste","product_info.after":"após","product_info.intro_price_phase_after_trial":"Depois, {{introPriceDuration}} por {{introPrice}}","product_info.intro_price_phase":"Primeiro, {{introPriceDuration}} por {{introPrice}}","product_info.intro_price_phase_paid_once":"pago uma vez","payment_entry_page.trial_subscription_terms_info":"Após o término do período de avaliação, será cobrado o valor de {{price}} {{perFrequency}} a partir de {{renewalDate}}. Pode cancelar a qualquer momento antes desta data.","payment_entry_page.subscription_info":"A subscrição é renovada automaticamente. Cancele a qualquer momento.","payment_entry_page.otp_terms_info":"Ao comprar, você concorda em permitir que o {{appName}} cobre de acordo com os termos deles.","payment_entry_page.terms_link_label":"Termos","payment_entry_page.subscription_terms_info":"Ao subscrever, concorda em permitir que a {{appName}} lhe cobre de acordo com os seus termos até cancelar.","loading_page.keep_page_open":"O processo está quase concluído. Mantenha esta página aberta.","loading_page.processing_payment":"Processando o pagamento","pricing_table.discount":"Desconto","pricing_table.subtotal":"Subtotal","pricing_dropdown.add_promo_code":"Adicionar código promocional","discount_input.label":"Código promocional","payment_entry_page.checkout_consent_terms_of_service":"termos de serviço","payment_entry_page.checkout_consent_agreement":"Concordo com os {{termsOfService}} do {{appName}}."},ih={"periods.week":"{{amount}} săptămână","periods.month":"{{amount}} lună","periods.year":"{{amount}} an","periods.day":"{{amount}} zi","periods.weekShort":"{{amount}}săpt","periods.monthShort":"{{amount}}lun","periods.yearShort":"{{amount}}an","periods.dayShort":"{{amount}}z","periods.lifetime":"pe viață","periods.weekPlural":"{{amount}} săptămâni","periods.monthPlural":"{{amount}} luni","periods.yearPlural":"{{amount}} ani","periods.dayPlural":"{{amount}} zile","periods.weekFrequency":"săptămânal","periods.monthFrequency":"lunar","periods.yearFrequency":"anual","periods.dayFrequency":"zilnic","periods.perWeekFrequency":"pe săptămână","periods.perMonthFrequency":"pe lună","periods.perYearFrequency":"pe an","periods.perDayFrequency":"pe zi","periods.unknownFrequency":"necunoscut","periods.weekFrequencyPlural":"la fiecare {{amount}} săptămâni","periods.monthFrequencyPlural":"la fiecare {{amount}} luni","periods.yearFrequencyPlural":"la fiecare {{amount}} ani","periods.dayFrequencyPlural":"la fiecare {{amount}} zile","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} perioadă de probă gratuită","product_info.price_after_free_trial":"După terminarea perioadei de probă, pe {{renewalDate}}","product_info.renewal_frequency":"Se reînnoiește {{frequency}}","product_info.continues_until_cancelled":"Continuă până la anulare","product_info.cancel_anytime":"Anulare oricând","payment_entry_page.payment_step_title":"Plata securizată prin RevenueCat","payment_entry_page.button_pay":"Plătește acum","payment_entry_page.button_start_trial":"Începe perioada de probă","success_page.purchase_successful":"Plata efectuată","success_page.button_close":"Continuă","error_page.if_error_persists":"Dacă eroarea persistă, vă rugăm să contactați ","error_page.error_title_already_subscribed":"Sunteți deja abonat la {{productTitle}}","error_page.error_title_already_purchased":"Ați achiziționat deja {{productTitle}}","error_page.error_title_other_errors":"A apărut o eroare","error_page.error_message_already_subscribed":"Nu vă puteți abona din nou la acest produs.","error_page.error_message_already_purchased":"Nu puteți achiziționa din nou acest produs.","error_page.error_message_missing_email_error":"Adresa de e-mail este necesară pentru a finaliza achiziția.","error_page.error_message_network_error":"Eroare de rețea. Verificați conexiunea la internet.","error_page.error_message_error_charging_payment":"Plata a eșuat.","error_page.error_message_error_setting_up_purchase":"Achiziția nu a putut fi inițiată din cauza unei erori (cod de eroare: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Nu am putut verifica adresa de facturare. Vă rugăm să verificați dacă codul poștal și țara sunt corecte.","error_page.error_message_unknown_error":"A apărut o eroare necunoscută (cod de eroare: {{errorCode}}).","error_page.button_try_again":"Încearcă din nou","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Total de plată astăzi","product_info.subscribe_to":"Abonare la","navbar_header.details":"Detalii","navbar_header.back_button":"Înapoi","pricing_dropdown.show_details":"Arată detalii","pricing_dropdown.hide_details":"Ascunde detalii","pricing_table.tax":"Taxă","pricing_table.trial_ends":"După ce perioada de probă se termină, pe {{formattedTrialEndDate}}","pricing_table.total_due_today":"Total de plătit astăzi","pricing_table.total_excluding_tax":"Total fără taxe","pricing_table.enter_billing_address_to_calculate":"Introduceți adresa de facturare pentru a calcula","pricing_table.enter_state_or_postal_code_to_calculate":"Introduceți statul sau codul poștal pentru a calcula","pricing_table.enter_postal_code_to_calculate":"Introduceți codul poștal pentru a calcula","error_page.error_message_invalid_email_error":"Adresa de e-mail {{email}} nu a putut fi verificată. Vă rugăm să furnizați o adresă de e-mail validă.","payment_entry_page.button_payment_method":"Plătește {{formattedPrice}} cu {{paymentMethod}}","payment_entry_page.button_with_price":"Plătește {{formattedPrice}}","price_update.title":"Actualizare preț","price_update.base_message":"Prețul total a fost actualizat cu taxe, în funcție de adresa dumneavoastră de facturare. Vă rugăm să revizuiți și să încercați din nou. Cardul dumneavoastră va fi debitat o singură dată.","price_update.trial_message":"Prețul abonamentului a fost actualizat pentru a include taxele bazate pe adresa dvs. de facturare. Perioada de probă gratuită rămâne valabilă. Vă rugăm să verificați și să încercați din nou.","payment_entry_page.express_checkout_divider":"SAU PLĂTEȘTE CU CARDUL","error_page.trouble_accessing":"Dacă întâmpini probleme în accesarea achiziției tale, contactează serviciul de asistență la ","error_page.close_button_title":"Mergi la {{appName}}","error_page.error_title_stripe_missing_required_permission":"Permisiune Stripe lipsă","error_page.button_close":"Închide","error_page.error_message_stripe_invalid_tax_origin_address":"Achiziția a eșuat deoarece adresa de origine fiscală este nevalidă. În producție, achizițiile vor funcționa fără taxe aplicate.","error_page.error_message_stripe_tax_not_active":"Achiziția a eșuat deoarece Stripe Tax nu este activat. În producție, achizițiile vor funcționa fără taxe aplicate.","error_page.error_only_in_sandbox":"Acest mesaj apare doar în sandbox.","error_page.error_message_stripe_missing_required_permission":"Achiziția a eșuat deoarece aplicației Stripe îi lipsește o permisiune necesară. În producție, achizițiile vor funcționa fără taxe aplicate.","error_page.error_title_stripe_tax_not_active":"Stripe Tax nu este activ","error_page.error_title_stripe_invalid_tax_origin_address":"Adresă de origine fiscală Stripe nevalidă","apple_pay.free_trial":"Perioadă de probă gratuită","product_info.price_after_intro_price":"După {{introPriceDuration}}, pe {{renewalDate}}","product_info.after_trial":"după perioada de probă","product_info.after":"după","product_info.intro_price_phase_after_trial":"Apoi {{introPriceDuration}} pentru {{introPrice}}","product_info.intro_price_phase":"Mai întâi {{introPriceDuration}} pentru {{introPrice}}","product_info.intro_price_phase_paid_once":"plătit o singură dată","payment_entry_page.trial_subscription_terms_info":"După ce perioada de probă se termină, veți fi taxat cu {{price}} {{perFrequency}} începând cu {{renewalDate}}. Puteți anula oricând înainte de această dată.","payment_entry_page.subscription_info":"Abonamentul se reînnoiește automat. Anulați oricând.","payment_entry_page.otp_terms_info":"Prin achiziționarea, sunteți de acord să permiteți {{appName}} să vă taxeze conform termenilor săi.","payment_entry_page.terms_link_label":"Termeni","payment_entry_page.subscription_terms_info":"Prin abonare, sunteți de acord să permiteți {{appName}} să vă taxeze conform termenilor săi până la anulare.","loading_page.keep_page_open":"Procesul este aproape finalizat. Păstrați această pagină deschisă.","loading_page.processing_payment":"Se procesează plata","pricing_table.discount":"Reducere","pricing_table.subtotal":"Subtotal","pricing_dropdown.add_promo_code":"Adaugă cod promoțional","discount_input.label":"Cod promoțional","payment_entry_page.checkout_consent_terms_of_service":"condițiile de utilizare","payment_entry_page.checkout_consent_agreement":"Sunt de acord cu {{termsOfService}} ale {{appName}}."},sh={"periods.week":"{{amount}} неделя","periods.month":"{{amount}} месяц","periods.year":"{{amount}} год","periods.day":"{{amount}} день","periods.weekShort":"{{amount}}нед","periods.monthShort":"{{amount}}мес","periods.yearShort":"{{amount}}г","periods.dayShort":"{{amount}}д","periods.lifetime":"пожизненно","periods.weekPlural":"{{amount}} недель","periods.monthPlural":"{{amount}} месяцев","periods.yearPlural":"{{amount}} лет","periods.dayPlural":"{{amount}} дней","periods.weekFrequency":"еженедельно","periods.monthFrequency":"ежемесячно","periods.yearFrequency":"ежегодно","periods.dayFrequency":"ежедневно","periods.perWeekFrequency":"в неделю","periods.perMonthFrequency":"в месяц","periods.perYearFrequency":"в год","periods.perDayFrequency":"в день","periods.unknownFrequency":"неизвестно","periods.weekFrequencyPlural":"каждые {{amount}} недель","periods.monthFrequencyPlural":"каждые {{amount}} месяцев","periods.yearFrequencyPlural":"каждые {{amount}} лет","periods.dayFrequencyPlural":"каждые {{amount}} дней","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} бесплатная пробная версия","product_info.price_after_free_trial":"После окончания пробного периода, {{renewalDate}}","product_info.renewal_frequency":"Продлевается {{frequency}}","product_info.continues_until_cancelled":"Продолжается до отмены","product_info.cancel_anytime":"Отменить в любое время","payment_entry_page.payment_step_title":"Безопасная оплата через RevenueCat","payment_entry_page.button_pay":"Оплатить сейчас","payment_entry_page.button_start_trial":"Начать пробный период","success_page.purchase_successful":"Оплата завершена","success_page.button_close":"Продолжить","error_page.if_error_persists":"Если ошибка сохраняется, пожалуйста, свяжитесь с ","error_page.error_title_already_subscribed":"Вы уже подписаны на {{productTitle}}","error_page.error_title_already_purchased":"Вы уже приобрели {{productTitle}}","error_page.error_title_other_errors":"Что-то пошло не так","error_page.error_message_already_subscribed":"Вы не можете подписаться на этот продукт повторно.","error_page.error_message_already_purchased":"Вы не можете приобрести этот продукт повторно.","error_page.error_message_missing_email_error":"Для завершения покупки необходим адрес электронной почты.","error_page.error_message_network_error":"Ошибка сети. Проверьте ваше интернет-соединение.","error_page.error_message_error_charging_payment":"Оплата не прошла.","error_page.error_message_error_setting_up_purchase":"Покупка не была начата из-за ошибки (код ошибки: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Мы не смогли проверить ваш платежный адрес. Пожалуйста, проверьте, что почтовый индекс и страна указаны правильно.","error_page.error_message_unknown_error":"Произошла неизвестная ошибка (код ошибки: {{errorCode}}).","error_page.button_try_again":"Повторить попытку","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Всего к оплате сегодня","product_info.subscribe_to":"Подписаться","navbar_header.details":"Детали","navbar_header.back_button":"Назад","pricing_dropdown.show_details":"Показать детали","pricing_dropdown.hide_details":"Скрыть детали","pricing_table.tax":"Налог","pricing_table.trial_ends":"После окончания пробного периода, {{formattedTrialEndDate}}","pricing_table.total_due_today":"Итого к оплате сегодня","pricing_table.total_excluding_tax":"Итого без учета налога","pricing_table.enter_billing_address_to_calculate":"Введите платежный адрес для расчета","pricing_table.enter_state_or_postal_code_to_calculate":"Введите штат или почтовый индекс для расчета","pricing_table.enter_postal_code_to_calculate":"Введите почтовый индекс для расчета","error_page.error_message_invalid_email_error":"Не удалось проверить адрес электронной почты {{email}}. Пожалуйста, укажите действительный адрес электронной почты.","payment_entry_page.button_payment_method":"Оплатить {{formattedPrice}} через {{paymentMethod}}","payment_entry_page.button_with_price":"Оплатить {{formattedPrice}}","price_update.title":"Обновление цены","price_update.base_message":"Общая цена была обновлена с учетом налога на основе вашего платежного адреса. Пожалуйста, проверьте и повторите попытку. С вашей карты будет списано только один раз.","price_update.trial_message":"Цена подписки была обновлена с учетом налогов на основе вашего платежного адреса. Пробный период остается бесплатным. Пожалуйста, проверьте и попробуйте снова.","payment_entry_page.express_checkout_divider":"ИЛИ ОПЛАТИТЕ КАРТОЙ","error_page.trouble_accessing":"Если у вас возникли проблемы с доступом к вашей покупке, обратитесь в службу поддержки по адресу ","error_page.close_button_title":"Перейти в {{appName}}","error_page.error_title_stripe_missing_required_permission":"Отсутствует разрешение Stripe","error_page.button_close":"Закрыть","error_page.error_message_stripe_invalid_tax_origin_address":"Покупка не удалась, так как адрес отправления налога недействителен. В рабочей среде покупки будут работать без применения налогов.","error_page.error_message_stripe_tax_not_active":"Покупка не удалась, так как Stripe Tax не включен. В рабочей среде покупки будут работать без применения налогов.","error_page.error_only_in_sandbox":"Это сообщение появляется только в песочнице.","error_page.error_message_stripe_missing_required_permission":"Покупка не удалась, так как у приложения Stripe отсутствует необходимое разрешение. В рабочей среде покупки будут работать без применения налогов.","error_page.error_title_stripe_tax_not_active":"Stripe Tax не активен","error_page.error_title_stripe_invalid_tax_origin_address":"Недействительный адрес отправления налога","apple_pay.free_trial":"Бесплатная пробная версия","product_info.price_after_intro_price":"После {{introPriceDuration}}, {{renewalDate}}","product_info.after_trial":"после пробного периода","product_info.after":"после","product_info.intro_price_phase_after_trial":"Затем {{introPriceDuration}} за {{introPrice}}","product_info.intro_price_phase":"Сначала {{introPriceDuration}} за {{introPrice}}","product_info.intro_price_phase_paid_once":"единоразовый платеж","payment_entry_page.trial_subscription_terms_info":"По окончании пробного периода с вас будет взиматься плата в размере {{price}} {{perFrequency}}, начиная с {{renewalDate}}. Вы можете отменить подписку в любое время до этой даты.","payment_entry_page.subscription_info":"Подписка продлевается автоматически. Отменить можно в любое время.","payment_entry_page.otp_terms_info":"Совершая покупку, вы соглашаетесь с тем, что {{appName}} будет взимать с вас плату в соответствии со своими условиями.","payment_entry_page.terms_link_label":"Условия","payment_entry_page.subscription_terms_info":"Подписываясь, вы соглашаетесь с тем, что {{appName}} будет взимать с вас плату в соответствии с их условиями до тех пор, пока вы не отмените подписку.","loading_page.keep_page_open":"Процесс почти завершен. Не закрывайте эту страницу.","loading_page.processing_payment":"Обработка платежа","pricing_table.discount":"Скидка","pricing_table.subtotal":"Итого","pricing_dropdown.add_promo_code":"Добавить промокод","discount_input.label":"Промокод","payment_entry_page.checkout_consent_terms_of_service":"условиями обслуживания","payment_entry_page.checkout_consent_agreement":"Я согласен с {{appName}} {{termsOfService}}."},lh={"periods.week":"{{amount}} týždeň","periods.month":"{{amount}} mesiac","periods.year":"{{amount}} rok","periods.day":"{{amount}} deň","periods.weekShort":"{{amount}}týž","periods.monthShort":"{{amount}}mes","periods.yearShort":"{{amount}}rok","periods.dayShort":"{{amount}}d","periods.lifetime":"doživotne","periods.weekPlural":"{{amount}} týždňov","periods.monthPlural":"{{amount}} mesiacov","periods.yearPlural":"{{amount}} rokov","periods.dayPlural":"{{amount}} dní","periods.weekFrequency":"týždenne","periods.monthFrequency":"mesačne","periods.yearFrequency":"ročne","periods.dayFrequency":"denne","periods.perWeekFrequency":"týždenne","periods.perMonthFrequency":"mesačne","periods.perYearFrequency":"ročne","periods.perDayFrequency":"denne","periods.unknownFrequency":"neznáme","periods.weekFrequencyPlural":"každých {{amount}} týždňov","periods.monthFrequencyPlural":"každých {{amount}} mesiacov","periods.yearFrequencyPlural":"každých {{amount}} rokov","periods.dayFrequencyPlural":"každých {{amount}} dní","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} bezplatné skúšobné obdobie","product_info.price_after_free_trial":"Po skončení skúšobného obdobia, dňa {{renewalDate}}","product_info.renewal_frequency":"Obnovuje sa {{frequency}}","product_info.continues_until_cancelled":"Pokračuje, kým sa nezruší","product_info.cancel_anytime":"Kedykoľvek zrušiť","payment_entry_page.payment_step_title":"Bezpečný nákup prostredníctvom RevenueCat","payment_entry_page.button_pay":"Zaplatiť teraz","payment_entry_page.button_start_trial":"Spustiť skúšobné obdobie","success_page.purchase_successful":"Platba dokončená","success_page.button_close":"Pokračovať","error_page.if_error_persists":"Ak chyba pretrváva, kontaktujte ","error_page.error_title_already_subscribed":"Už ste si predplatili {{productTitle}}","error_page.error_title_already_purchased":"Už ste si zakúpili {{productTitle}}","error_page.error_title_other_errors":"Niečo sa pokazilo","error_page.error_message_already_subscribed":"Na tento produkt sa nemôžete znova prihlásiť na odber.","error_page.error_message_already_purchased":"Tento produkt si nemôžete znova zakúpiť.","error_page.error_message_missing_email_error":"Na dokončenie nákupu je potrebný e-mail.","error_page.error_message_network_error":"Chyba siete. Skontrolujte svoje internetové pripojenie.","error_page.error_message_error_charging_payment":"Platba zlyhala.","error_page.error_message_error_setting_up_purchase":"Nákup sa nespustil kvôli chybe (kód chyby: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Nepodarilo sa nám overiť vašu fakturačnú adresu. Skontrolujte, prosím, či je PSČ a krajina správne.","error_page.error_message_unknown_error":"Vyskytla sa neznáma chyba (kód chyby: {{errorCode}}).","error_page.button_try_again":"Skúsiť znova","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Celková suma splatná dnes","product_info.subscribe_to":"Prihlásiť sa na odber","navbar_header.details":"Podrobnosti","navbar_header.back_button":"Späť","pricing_dropdown.show_details":"Zobraziť podrobnosti","pricing_dropdown.hide_details":"Skryť podrobnosti","pricing_table.tax":"Daň","pricing_table.trial_ends":"Po skončení skúšobnej verzie, dňa {{formattedTrialEndDate}}","pricing_table.total_due_today":"Celková suma splatná dnes","pricing_table.total_excluding_tax":"Celkom bez dane","pricing_table.enter_billing_address_to_calculate":"Zadajte fakturačnú adresu pre výpočet","pricing_table.enter_state_or_postal_code_to_calculate":"Zadajte štát alebo PSČ pre výpočet","pricing_table.enter_postal_code_to_calculate":"Zadajte PSČ pre výpočet","error_page.error_message_invalid_email_error":"E-mailová adresa {{email}} sa nedala overiť. Zadajte platnú e-mailovú adresu.","payment_entry_page.button_payment_method":"Zaplatiť sumu {{formattedPrice}} pomocou {{paymentMethod}}","payment_entry_page.button_with_price":"Zaplatiť {{formattedPrice}}","price_update.title":"Aktualizácia ceny","price_update.base_message":"Celková cena bola aktualizovaná o daň na základe vašej fakturačnej adresy. Skontrolujte to a skúste znova. Vaša karta bude zaťažená iba raz.","price_update.trial_message":"Cena predplatného bola aktualizovaná o daňe na základe vašej fakturačnej adresy. Bezplatná skúšobná doba stále platí. Prosím, skontrolujte a skúste znova.","payment_entry_page.express_checkout_divider":"ALEBO ZAPLATIŤ KARTOU","error_page.trouble_accessing":"Ak máte problémy s prístupom k svojmu nákupu, kontaktujte podporu na ","error_page.close_button_title":"Prejsť na {{appName}}","error_page.error_title_stripe_missing_required_permission":"Chýbajúce povolenie Stripe","error_page.button_close":"Zavrieť","error_page.error_message_stripe_invalid_tax_origin_address":"Nákup sa nepodaril, pretože adresa pôvodu dane je neplatná. V produkčnom prostredí budú nákupy fungovať bez uplatnenia daní.","error_page.error_message_stripe_tax_not_active":"Nákup sa nepodaril, pretože Stripe Tax nie je povolený. V produkčnom prostredí budú nákupy fungovať bez uplatnenia daní.","error_page.error_only_in_sandbox":"Táto správa sa zobrazuje iba v testovacom prostredí (sandbox).","error_page.error_message_stripe_missing_required_permission":"Nákup sa nepodaril, pretože aplikácii Stripe chýba požadované povolenie. V produkčnom prostredí budú nákupy fungovať bez uplatnenia daní.","error_page.error_title_stripe_tax_not_active":"Stripe Tax nie je aktívny","error_page.error_title_stripe_invalid_tax_origin_address":"Neplatná adresa pôvodu dane","apple_pay.free_trial":"Skúšobná verzia zdarma","product_info.price_after_intro_price":"Po {{introPriceDuration}}, dňa {{renewalDate}}","product_info.after_trial":"po skúšobnej dobe","product_info.after":"po","product_info.intro_price_phase_after_trial":"Potom {{introPriceDuration}} za {{introPrice}}","product_info.intro_price_phase":"Najprv {{introPriceDuration}} za {{introPrice}}","product_info.intro_price_phase_paid_once":"zaplatené jednorazovo","payment_entry_page.trial_subscription_terms_info":"Po skončení skúšobného obdobia vám bude účtovaná suma {{price}} {{perFrequency}} počnúc dňom {{renewalDate}}. Pred týmto dátumom môžete kedykoľvek zrušiť.","payment_entry_page.subscription_info":"Predplatné sa automaticky obnovuje. Zrušiť môžete kedykoľvek.","payment_entry_page.otp_terms_info":"Zakúpením súhlasíte s tým, že spoločnosti {{appName}} umožníte účtovať vám poplatky v súlade s jej podmienkami.","payment_entry_page.terms_link_label":"Podmienky","payment_entry_page.subscription_terms_info":"Prihlásením na odber súhlasíte s tým, že spoločnosť {{appName}} vám bude účtovať poplatky podľa svojich podmienok, až kým odber nezrušíte.","loading_page.keep_page_open":"Proces sa takmer dokončil. Nechajte túto stránku otvorenú.","loading_page.processing_payment":"Spracováva sa platba","pricing_table.discount":"Zľava","pricing_table.subtotal":"Medzisúčet","pricing_dropdown.add_promo_code":"Pridať promo kód","discount_input.label":"Propagačný kód","payment_entry_page.checkout_consent_terms_of_service":"podmienkami používania","payment_entry_page.checkout_consent_agreement":"Súhlasím s {{appName}} {{termsOfService}}."},ch={"periods.week":"{{amount}} teden","periods.month":"{{amount}} mesec","periods.year":"{{amount}} leto","periods.day":"{{amount}} dan","periods.weekShort":"{{amount}}ted","periods.monthShort":"{{amount}}mes","periods.yearShort":"{{amount}}l","periods.dayShort":"{{amount}}d","periods.lifetime":"doživljenjsko","periods.weekPlural":"{{amount}} tednov","periods.monthPlural":"{{amount}} mesecev","periods.yearPlural":"{{amount}} let","periods.dayPlural":"{{amount}} dni","periods.weekFrequency":"tedensko","periods.monthFrequency":"mesečno","periods.yearFrequency":"letno","periods.dayFrequency":"dnevno","periods.perWeekFrequency":"na teden","periods.perMonthFrequency":"na mesec","periods.perYearFrequency":"na leto","periods.perDayFrequency":"na dan","periods.unknownFrequency":"neznano","periods.weekFrequencyPlural":"vsakih {{amount}} tednov","periods.monthFrequencyPlural":"vsakih {{amount}} mesecev","periods.yearFrequencyPlural":"vsakih {{amount}} let","periods.dayFrequencyPlural":"vsakih {{amount}} dni","product_info.subscribe_to":"Naročite se na","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"Brezplačno preizkusite za {{trialDuration}}","product_info.price_after_free_trial":"Po koncu preizkusa, dne {{renewalDate}}","product_info.intro_price_phase_after_trial":"Nato {{introPriceDuration}} za {{introPrice}}","product_info.intro_price_phase":"Prvih {{introPriceDuration}} za {{introPrice}}","product_info.intro_price_phase_paid_once":"plačano enkrat","product_info.price_after_intro_price":"Po {{introPriceDuration}}, dne {{renewalDate}}","product_info.after_trial":"po preizkusu","product_info.after":"po","product_info.total_due_today":"Skupaj za plačilo danes","product_info.renewal_frequency":"Se obnovi {{frequency}}","product_info.continues_until_cancelled":"Traja do preklica","product_info.cancel_anytime":"Prekličete lahko kadar koli","payment_entry_page.payment_step_title":"Varno plačilo prek RevenueCat","payment_entry_page.trial_subscription_terms_info":"Po koncu preizkusnega obdobja vam bo zaračunano {{price}} {{perFrequency}} z začetkom {{renewalDate}}. Prekličete lahko kadar koli pred tem datumom.","payment_entry_page.subscription_terms_info":"Z naročnino se strinjate, da vam {{appName}} zaračunava v skladu s svojimi pogoji, dokler ne prekličete.","payment_entry_page.otp_terms_info":"Z nakupom se strinjate, da vam {{appName}} zaračuna v skladu s svojimi pogoji.","payment_entry_page.terms_link_label":"Pogoji","payment_entry_page.subscription_info":"Naročnina se samodejno obnavlja. Prekličete lahko kadar koli.","payment_entry_page.button_pay":"Plačaj zdaj","payment_entry_page.button_start_trial":"Začni preizkus","payment_entry_page.button_with_price":"Plačaj {{formattedPrice}}","payment_entry_page.button_payment_method":"Plačaj {{formattedPrice}} z {{paymentMethod}}","payment_entry_page.express_checkout_divider":"ALI PLAČAJTE S KARTICO","loading_page.processing_payment":"Obdelava plačila","loading_page.keep_page_open":"Postopek je skoraj končan. Pustite to stran odprto.","success_page.purchase_successful":"Plačilo zaključeno","success_page.button_close":"Nadaljuj","error_page.close_button_title":"Pojdi na {{appName}}","error_page.if_error_persists":"Če težava ne izgine, se obrnite na ","error_page.trouble_accessing":"Če imate težave z dostopom do svojega nakupa, se obrnite na podporo na ","error_page.error_title_already_subscribed":"Na {{productTitle}} ste že naročeni","error_page.error_title_already_purchased":"{{productTitle}} ste že kupili","error_page.error_title_other_errors":"Nekaj je šlo narobe","error_page.error_message_already_subscribed":"Na ta izdelek se ne morete ponovno naročiti.","error_page.error_message_already_purchased":"Tega izdelka ne morete ponovno kupiti.","error_page.error_title_stripe_tax_not_active":"Stripe Tax ni aktiven","error_page.error_title_stripe_invalid_tax_origin_address":"Neveljaven izvorni naslov za davek","error_page.error_title_stripe_missing_required_permission":"Manjka dovoljenje Stripe","error_page.error_message_missing_email_error":"Za dokončanje nakupa je potrebna e-pošta.","error_page.error_message_invalid_email_error":"E-poštnega naslova {{email}} ni bilo mogoče preveriti. Vnesite veljaven e-poštni naslov.","error_page.error_message_network_error":"Napaka omrežja. Preverite svojo internetno povezavo.","error_page.error_message_error_charging_payment":"Plačilo ni uspelo.","error_page.error_message_error_setting_up_purchase":"Nakup se ni začel zaradi napake (koda napake: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Vašega naslova za obračun nismo mogli preveriti. Preverite, ali sta poštna številka in država pravilni.","error_page.error_message_unknown_error":"Prišlo je do neznane napake (koda napake: {{errorCode}}).","error_page.error_message_stripe_tax_not_active":"Nakup ni uspel, ker Stripe Tax ni omogočen. V produkciji bodo nakupi delovali brez obračunanih davkov.","error_page.error_message_stripe_invalid_tax_origin_address":"Nakup ni uspel, ker je izvorni naslov za davek neveljaven. V produkciji bodo nakupi delovali brez obračunanih davkov.","error_page.error_message_stripe_missing_required_permission":"Nakup ni uspel, ker aplikaciji Stripe manjka zahtevano dovoljenje. V produkciji bodo nakupi delovali brez obračunanih davkov.","error_page.error_only_in_sandbox":"To sporočilo se prikaže samo v peskovniku (sandbox).","error_page.button_try_again":"Poskusi znova","error_page.button_close":"Zapri","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","pricing_dropdown.show_details":"Prikaži podrobnosti","pricing_dropdown.hide_details":"Skrij podrobnosti","pricing_dropdown.add_promo_code":"Dodaj promocijsko kodo","discount_input.label":"Promocijska koda","pricing_table.trial_ends":"Po koncu preizkusa, dne {{formattedTrialEndDate}}","pricing_table.total_excluding_tax":"Skupaj brez davka","pricing_table.total_due_today":"Skupaj za plačilo danes","pricing_table.subtotal":"Vmesni seštevek","pricing_table.discount":"Popust","pricing_table.tax":"Davek","pricing_table.enter_billing_address_to_calculate":"Vnesite naslov za obračun za izračun","pricing_table.enter_postal_code_to_calculate":"Vnesite poštno številko za izračun","pricing_table.enter_state_or_postal_code_to_calculate":"Vnesite regijo ali poštno številko za izračun","navbar_header.details":"Podrobnosti","navbar_header.back_button":"Nazaj","price_update.title":"Posodobitev cene","price_update.base_message":"Skupna cena je bila posodobljena z davkom glede na vaš naslov za obračun. Preglejte in poskusite znova. Vaša kartica bo bremenjena samo enkrat.","price_update.trial_message":"Cena naročnine je bila posodobljena, da vključuje davek glede na vaš naslov za obračun. Brezplačni preizkus še vedno velja. Preglejte in poskusite znova.","apple_pay.free_trial":"Brezplačni preizkus","payment_entry_page.checkout_consent_terms_of_service":"pogoji storitve","payment_entry_page.checkout_consent_agreement":"Strinjam se s/z {{appName}} {{termsOfService}}."},uh={"periods.week":"{{amount}} vecka","periods.month":"{{amount}} månad","periods.year":"{{amount}} år","periods.day":"{{amount}} dag","periods.weekShort":"{{amount}}v","periods.monthShort":"{{amount}}mån","periods.yearShort":"{{amount}}år","periods.dayShort":"{{amount}}d","periods.lifetime":"livstid","periods.weekPlural":"{{amount}} veckor","periods.monthPlural":"{{amount}} månader","periods.yearPlural":"{{amount}} år","periods.dayPlural":"{{amount}} dagar","periods.weekFrequency":"veckovis","periods.monthFrequency":"månadsvis","periods.yearFrequency":"årligen","periods.dayFrequency":"dagligen","periods.perWeekFrequency":"per vecka","periods.perMonthFrequency":"per månad","periods.perYearFrequency":"per år","periods.perDayFrequency":"per dag","periods.unknownFrequency":"okänd","periods.weekFrequencyPlural":"varje {{amount}} veckor","periods.monthFrequencyPlural":"varje {{amount}} månader","periods.yearFrequencyPlural":"varje {{amount}} år","periods.dayFrequencyPlural":"varje {{amount}} dagar","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} gratis provperiod","product_info.price_after_free_trial":"Efter provperioden slutar, den {{renewalDate}}","product_info.renewal_frequency":"Förnyas {{frequency}}","product_info.continues_until_cancelled":"Gäller tills avbokad","product_info.cancel_anytime":"Avboka när som helst","payment_entry_page.payment_step_title":"Säker betalning via RevenueCat","payment_entry_page.button_pay":"Betala nu","payment_entry_page.button_start_trial":"Starta provperiod","success_page.purchase_successful":"Betalningen är klar","success_page.button_close":"Fortsätt","error_page.if_error_persists":"Om felet kvarstår, vänligen kontakta ","error_page.error_title_already_subscribed":"Du prenumererar redan på {{productTitle}}","error_page.error_title_already_purchased":"Du har redan köpt {{productTitle}}","error_page.error_title_other_errors":"Något gick fel","error_page.error_message_already_subscribed":"Du kan inte prenumerera på den här produkten igen.","error_page.error_message_already_purchased":"Du kan inte köpa den här produkten igen.","error_page.error_message_missing_email_error":"E-post krävs för att slutföra köpet.","error_page.error_message_network_error":"Nätverksfel. Kontrollera din internetanslutning.","error_page.error_message_error_charging_payment":"Betalningen misslyckades.","error_page.error_message_error_setting_up_purchase":"Köp kunde inte startas på grund av ett fel (felkod: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Vi kunde inte verifiera din faktureringsadress. Kontrollera att postnummer och land är korrekta.","error_page.error_message_unknown_error":"Ett okänt fel inträffade (felkod: {{errorCode}}).","error_page.button_try_again":"Försök igen","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}} ({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Totalt att betala idag","product_info.subscribe_to":"Prenumerera på","navbar_header.details":"Detaljer","navbar_header.back_button":"Tillbaka","pricing_dropdown.show_details":"Visa detaljer","pricing_dropdown.hide_details":"Dölj detaljer","pricing_table.tax":"Moms","pricing_table.trial_ends":"Efter provperiodens slut, den {{formattedTrialEndDate}}","pricing_table.total_due_today":"Total summa att betala idag","pricing_table.total_excluding_tax":"Totalt exklusive moms","pricing_table.enter_billing_address_to_calculate":"Ange faktureringsadress för att beräkna","pricing_table.enter_state_or_postal_code_to_calculate":"Ange delstat eller postnummer för att beräkna","pricing_table.enter_postal_code_to_calculate":"Ange postnummer för att beräkna","error_page.error_message_invalid_email_error":"E-postadressen {{email}} kunde inte verifieras. Ange en giltig e-postadress.","payment_entry_page.button_payment_method":"Betala {{formattedPrice}} med {{paymentMethod}}","payment_entry_page.button_with_price":"Betala {{formattedPrice}}","price_update.title":"Prisuppdatering","price_update.base_message":"Det totala priset har uppdaterats med moms baserat på din faktureringsadress. Granska och försök igen. Ditt kort kommer endast att debiteras en gång.","price_update.trial_message":"Prenumerationspriset har uppdaterats för att inkludera skatter baserat på din fakturaadress. Den kostnadsfria provperioden gäller fortfarande. Kontrollera och försök igen.","payment_entry_page.express_checkout_divider":"ELLER BETALA MED KORT","error_page.trouble_accessing":"Om du har problem med att komma åt ditt köp, kontakta support på ","error_page.close_button_title":"Gå till {{appName}}","error_page.error_title_stripe_missing_required_permission":"Saknar Stripe-behörighet","error_page.button_close":"Stäng","error_page.error_message_stripe_invalid_tax_origin_address":"Köpet misslyckades eftersom skatteursprungsadressen är ogiltig. I produktion kommer köp att fungera utan att skatter tillämpas.","error_page.error_message_stripe_tax_not_active":"Köpet misslyckades eftersom Stripe Tax inte är aktiverat. I produktion kommer köp att fungera utan att skatter tillämpas.","error_page.error_only_in_sandbox":"Det här meddelandet visas bara i sandlådan.","error_page.error_message_stripe_missing_required_permission":"Köpet misslyckades eftersom Stripe-appen saknar en nödvändig behörighet. I produktion kommer köp att fungera utan att skatter tillämpas.","error_page.error_title_stripe_tax_not_active":"Stripe Tax är inte aktivt","error_page.error_title_stripe_invalid_tax_origin_address":"Ogiltig skatteursprungsadress","apple_pay.free_trial":"Gratis provperiod","product_info.price_after_intro_price":"Efter {{introPriceDuration}}, den {{renewalDate}}","product_info.after_trial":"efter provperioden","product_info.after":"efter","product_info.intro_price_phase_after_trial":"Sedan {{introPriceDuration}} för {{introPrice}}","product_info.intro_price_phase":"Först {{introPriceDuration}} för {{introPrice}}","product_info.intro_price_phase_paid_once":"betalas en gång","payment_entry_page.trial_subscription_terms_info":"Efter att din provperiod slutar debiteras du {{price}} {{perFrequency}} från och med {{renewalDate}}. Du kan avbryta när som helst före detta datum.","payment_entry_page.subscription_info":"Prenumerationen förnyas automatiskt. Avbryt när som helst.","payment_entry_page.otp_terms_info":"Genom att köpa godkänner du att {{appName}} debiterar dig i enlighet med deras villkor.","payment_entry_page.terms_link_label":"Villkor","payment_entry_page.subscription_terms_info":"Genom att prenumerera godkänner du att {{appName}} debiterar dig i enlighet med deras villkor tills du avbryter.","loading_page.keep_page_open":"Processen är nästan klar. Håll den här sidan öppen.","loading_page.processing_payment":"Behandlar betalning","pricing_table.discount":"Rabatt","pricing_table.subtotal":"Delsumma","pricing_dropdown.add_promo_code":"Lägg till kampanjkod","discount_input.label":"Kampanjkod","payment_entry_page.checkout_consent_terms_of_service":"användarvillkor","payment_entry_page.checkout_consent_agreement":"Jag godkänner {{appName}} {{termsOfService}}."},dh={"periods.week":"{{amount}} สัปดาห์","periods.month":"{{amount}} เดือน","periods.year":"{{amount}} ปี","periods.day":"{{amount}} วัน","periods.weekShort":"{{amount}} สัปดาห์","periods.monthShort":"{{amount}} เดือน","periods.yearShort":"{{amount}} ปี","periods.dayShort":"{{amount}} วัน","periods.lifetime":"ตลอดชีพ","periods.weekPlural":"{{amount}} สัปดาห์","periods.monthPlural":"{{amount}} เดือน","periods.yearPlural":"{{amount}} ปี","periods.dayPlural":"{{amount}} วัน","periods.weekFrequency":"รายสัปดาห์","periods.monthFrequency":"รายเดือน","periods.yearFrequency":"รายปี","periods.dayFrequency":"รายวัน","periods.perWeekFrequency":"ต่อสัปดาห์","periods.perMonthFrequency":"ต่อเดือน","periods.perYearFrequency":"ต่อปี","periods.perDayFrequency":"ต่อวัน","periods.unknownFrequency":"ไม่รู้จัก","periods.weekFrequencyPlural":"ทุกๆ {{amount}} สัปดาห์","periods.monthFrequencyPlural":"ทุกๆ {{amount}} เดือน","periods.yearFrequencyPlural":"ทุกๆ {{amount}} ปี","periods.dayFrequencyPlural":"ทุกๆ {{amount}} วัน","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} ทดลองใช้ฟรี","product_info.price_after_free_trial":"หลังจากสิ้นสุดการทดลองใช้ ในวันที่ {{renewalDate}}","product_info.renewal_frequency":"ต่ออายุ {{frequency}}","product_info.continues_until_cancelled":"ต่อเนื่องจนกว่าจะยกเลิก","product_info.cancel_anytime":"ยกเลิกได้ตลอดเวลา","payment_entry_page.payment_step_title":"การชำระเงินอย่างปลอดภัยโดย RevenueCat","payment_entry_page.button_pay":"ชำระเงินตอนนี้","payment_entry_page.button_start_trial":"เริ่มทดลองใช้","success_page.purchase_successful":"การชำระเงินเสร็จสมบูรณ์","success_page.button_close":"ดำเนินการต่อ","error_page.if_error_persists":"หากข้อผิดพลาดยังคงอยู่ โปรดติดต่อ ","error_page.error_title_already_subscribed":"คุณได้สมัครสมาชิก {{productTitle}} แล้ว","error_page.error_title_already_purchased":"คุณได้ซื้อ {{productTitle}} แล้ว","error_page.error_title_other_errors":"มีบางอย่างผิดพลาด","error_page.error_message_already_subscribed":"คุณไม่สามารถสมัครสมาชิกผลิตภัณฑ์นี้ได้อีก","error_page.error_message_already_purchased":"คุณไม่สามารถซื้อผลิตภัณฑ์นี้ได้อีก","error_page.error_message_missing_email_error":"ต้องใช้อีเมลเพื่อทำการซื้อให้เสร็จสมบูรณ์","error_page.error_message_network_error":"ข้อผิดพลาดของเครือข่าย โปรดตรวจสอบการเชื่อมต่ออินเทอร์เน็ตของคุณ","error_page.error_message_error_charging_payment":"การชำระเงินล้มเหลว","error_page.error_message_error_setting_up_purchase":"ไม่สามารถเริ่มการซื้อได้เนื่องจากข้อผิดพลาด (รหัสข้อผิดพลาด: {{errorCode}})","error_page.error_message_invalid_tax_location":"เราไม่สามารถยืนยันที่อยู่สำหรับออกใบแจ้งหนี้ของคุณได้ กรุณาตรวจสอบรหัสไปรษณีย์และประเทศให้ถูกต้อง","error_page.error_message_unknown_error":"เกิดข้อผิดพลาดที่ไม่รู้จัก (รหัสข้อผิดพลาด: {{errorCode}})","error_page.button_try_again":"ลองอีกครั้ง","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"ยอดรวมที่ต้องชำระวันนี้","product_info.subscribe_to":"สมัครสมาชิก","navbar_header.details":"รายละเอียด","navbar_header.back_button":"ย้อนกลับ","pricing_dropdown.show_details":"แสดงรายละเอียด","pricing_dropdown.hide_details":"ซ่อนรายละเอียด","pricing_table.tax":"ภาษี","pricing_table.trial_ends":"หลังจากช่วงทดลองใช้สิ้นสุด ในวันที่ {{formattedTrialEndDate}}","pricing_table.total_due_today":"ยอดรวมที่ต้องชำระวันนี้","pricing_table.total_excluding_tax":"ราคารวมก่อนภาษี","pricing_table.enter_billing_address_to_calculate":"กรุณากรอกที่อยู่สำหรับเรียกเก็บเงินเพื่อคำนวณ","pricing_table.enter_state_or_postal_code_to_calculate":"ใส่รัฐหรือรหัสไปรษณีย์เพื่อคำนวณ","pricing_table.enter_postal_code_to_calculate":"ใส่รหัสไปรษณีย์เพื่อคำนวณ","error_page.error_message_invalid_email_error":"ไม่สามารถยืนยันที่อยู่อีเมล {{email}} ได้ โปรดระบุที่อยู่อีเมลที่ถูกต้อง","payment_entry_page.button_payment_method":"ชำระเงิน {{formattedPrice}} ด้วย {{paymentMethod}}","payment_entry_page.button_with_price":"ชำระเงิน {{formattedPrice}}","price_update.title":"อัปเดตราคา","price_update.base_message":"ราคารวมได้รับการอัปเดตพร้อมภาษีตามที่อยู่สำหรับการเรียกเก็บเงินของคุณ โปรดตรวจสอบและลองอีกครั้ง บัตรของคุณจะถูกเรียกเก็บเงินเพียงครั้งเดียวเท่านั้น","price_update.trial_message":"ราคาการสมัครสมาชิกได้รับการอัปเดตเพื่อรวมภาษีตามที่อยู่สำหรับการเรียกเก็บเงินของคุณ ระยะเวลาทดลองใช้ฟรียังคงมีผล โปรดตรวจสอบและลองอีกครั้ง","payment_entry_page.express_checkout_divider":"หรือชำระด้วยบัตร","error_page.trouble_accessing":"หากคุณมีปัญหาในการเข้าถึงการซื้อ โปรดติดต่อฝ่ายสนับสนุนที่ ","error_page.close_button_title":"ไปที่ {{appName}}","error_page.error_title_stripe_missing_required_permission":"ขาดสิทธิ์ Stripe ที่จำเป็น","error_page.button_close":"ปิด","error_page.error_message_stripe_invalid_tax_origin_address":"การซื้อล้มเหลวเนื่องจากที่อยู่ต้นทางภาษีไม่ถูกต้อง ในสภาพแวดล้อมจริง การซื้อจะทำงานได้โดยไม่มีการเรียกเก็บภาษี","error_page.error_message_stripe_tax_not_active":"การซื้อล้มเหลวเนื่องจากไม่ได้เปิดใช้งาน Stripe Tax ในสภาพแวดล้อมจริง การซื้อจะทำงานได้โดยไม่มีการเรียกเก็บภาษี","error_page.error_only_in_sandbox":"ข้อความนี้จะปรากฏเฉพาะใน sandbox เท่านั้น","error_page.error_message_stripe_missing_required_permission":"การซื้อล้มเหลวเนื่องจากแอป Stripe ขาดสิทธิ์ที่จำเป็น ในสภาพแวดล้อมจริง การซื้อจะทำงานได้โดยไม่มีการเรียกเก็บภาษี","error_page.error_title_stripe_tax_not_active":"Stripe Tax ไม่เปิดใช้งาน","error_page.error_title_stripe_invalid_tax_origin_address":"ที่อยู่ต้นทางภาษีไม่ถูกต้อง","apple_pay.free_trial":"ทดลองใช้ฟรี","product_info.price_after_intro_price":"หลังจาก {{introPriceDuration}} ในวันที่ {{renewalDate}}","product_info.after_trial":"หลังช่วงทดลองใช้","product_info.after":"หลังจาก","product_info.intro_price_phase_after_trial":"จากนั้น {{introPriceDuration}} ในราคา {{introPrice}}","product_info.intro_price_phase":"ช่วงแรก {{introPriceDuration}} ในราคา {{introPrice}}","product_info.intro_price_phase_paid_once":"ชำระครั้งเดียว","payment_entry_page.trial_subscription_terms_info":"หลังจากช่วงทดลองใช้ของคุณสิ้นสุดลง คุณจะถูกเรียกเก็บเงิน {{price}} {{perFrequency}} เริ่มตั้งแต่วันที่ {{renewalDate}} คุณสามารถยกเลิกได้ตลอดเวลาก่อนวันดังกล่าว","payment_entry_page.subscription_info":"การสมัครรับข้อมูลจะต่ออายุโดยอัตโนมัติ ยกเลิกได้ตลอดเวลา","payment_entry_page.otp_terms_info":"เมื่อทำการซื้อ คุณตกลงที่จะอนุญาตให้ {{appName}} เรียกเก็บเงินจากคุณตามข้อกำหนดของพวกเขา","payment_entry_page.terms_link_label":"ข้อกำหนด","payment_entry_page.subscription_terms_info":"เมื่อสมัครรับข้อมูล แสดงว่าคุณยินยอมให้ {{appName}} เรียกเก็บเงินจากคุณตามข้อกำหนดจนกว่าคุณจะยกเลิก","loading_page.keep_page_open":"กระบวนการเกือบเสร็จสมบูรณ์แล้ว โปรดเปิดหน้านี้ไว้","loading_page.processing_payment":"กำลังดำเนินการชำระเงิน","pricing_table.discount":"ส่วนลด","pricing_table.subtotal":"ราคารวมย่อย","pricing_dropdown.add_promo_code":"เพิ่มรหัสโปรโมชั่น","discount_input.label":"รหัสโปรโมชั่น","payment_entry_page.checkout_consent_terms_of_service":"ข้อกำหนดในการให้บริการ","payment_entry_page.checkout_consent_agreement":"ฉันยอมรับ{{termsOfService}}ของ{{appName}}"},ph={"periods.week":"{{amount}} hafta","periods.month":"{{amount}} ay","periods.year":"{{amount}} yıl","periods.day":"{{amount}} gün","periods.weekShort":"{{amount}}hf","periods.monthShort":"{{amount}}ay","periods.yearShort":"{{amount}}yl","periods.dayShort":"{{amount}}g","periods.lifetime":"ömür boyu","periods.weekPlural":"{{amount}} hafta","periods.monthPlural":"{{amount}} ay","periods.yearPlural":"{{amount}} yıl","periods.dayPlural":"{{amount}} gün","periods.weekFrequency":"haftalık","periods.monthFrequency":"aylık","periods.yearFrequency":"yıllık","periods.dayFrequency":"günlük","periods.perWeekFrequency":"haftada","periods.perMonthFrequency":"ayda","periods.perYearFrequency":"yılda","periods.perDayFrequency":"günde","periods.unknownFrequency":"bilinmiyor","periods.weekFrequencyPlural":"her {{amount}} haftada","periods.monthFrequencyPlural":"her {{amount}} ayda","periods.yearFrequencyPlural":"her {{amount}} yılda","periods.dayFrequencyPlural":"her {{amount}} günde","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} ücretsiz deneme","product_info.price_after_free_trial":"Deneme süresi sona erdiğinde, {{renewalDate}} tarihinde","product_info.renewal_frequency":"{{frequency}} sıklığında yenilenir","product_info.continues_until_cancelled":"İptal edilene kadar devam eder","product_info.cancel_anytime":"İstediğiniz zaman iptal edebilirsiniz","payment_entry_page.payment_step_title":"RevenueCat ile güvenli ödeme","payment_entry_page.button_pay":"Şimdi öde","payment_entry_page.button_start_trial":"Denemeyi başlat","success_page.purchase_successful":"Ödeme tamamlandı","success_page.button_close":"Devam et","error_page.if_error_persists":"Hata devam ederse lütfen iletişime geçin ","error_page.error_title_already_subscribed":"{{productTitle}} ürününe zaten abone oldunuz","error_page.error_title_already_purchased":"{{productTitle}} ürününü zaten satın aldınız","error_page.error_title_other_errors":"Bir şeyler ters gitti","error_page.error_message_already_subscribed":"Bu ürüne tekrar abone olamazsınız.","error_page.error_message_already_purchased":"Bu ürünü tekrar satın alamazsınız.","error_page.error_message_missing_email_error":"Satın almayı tamamlamak için e-posta gereklidir.","error_page.error_message_network_error":"Ağ hatası. Lütfen internet bağlantınızı kontrol edin.","error_page.error_message_error_charging_payment":"Ödeme başarısız oldu.","error_page.error_message_error_setting_up_purchase":"Bir hata nedeniyle satın alma başlatılamadı (hata kodu: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Fatura adresinizi doğrulayamadık. Lütfen posta kodu ve ülkenin doğru olduğunu kontrol edin.","error_page.error_message_unknown_error":"Bilinmeyen bir hata oluştu (hata kodu: {{errorCode}}).","error_page.button_try_again":"Tekrar dene","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Bugün ödenecek toplam tutar","product_info.subscribe_to":"Abone Ol","navbar_header.details":"Detaylar","navbar_header.back_button":"Geri","pricing_dropdown.show_details":"Detayları göster","pricing_dropdown.hide_details":"Detayları gizle","pricing_table.tax":"Vergi","pricing_table.trial_ends":"Deneme süresi sona erdikten sonra, {{formattedTrialEndDate}} tarihinde","pricing_table.total_due_today":"Bugün ödenecek toplam","pricing_table.total_excluding_tax":"Vergi hariç toplam","pricing_table.enter_billing_address_to_calculate":"Hesaplamak için fatura adresini girin","pricing_table.enter_state_or_postal_code_to_calculate":"Hesaplamak için eyalet veya posta kodunu girin","pricing_table.enter_postal_code_to_calculate":"Hesaplamak için posta kodunu girin","error_page.error_message_invalid_email_error":"{{email}} e-posta adresi doğrulanamadı. Lütfen geçerli bir e-posta adresi girin.","payment_entry_page.button_payment_method":"{{paymentMethod}} ile {{formattedPrice}} öde","payment_entry_page.button_with_price":"{{formattedPrice}} öde","price_update.title":"Fiyat güncellemesi","price_update.base_message":"Toplam fiyat, fatura adresinize göre vergi dahil olacak şekilde güncellendi. Lütfen inceleyip tekrar deneyin. Kartınızdan yalnızca bir kez ücret alınacaktır.","price_update.trial_message":"Abonelik fiyatı, fatura adresinize göre vergileri içerecek şekilde güncellendi. Ücretsiz deneme süresi hala geçerli. Lütfen kontrol edin ve tekrar deneyin.","payment_entry_page.express_checkout_divider":"VEYA KARTLA ÖDEYİN","error_page.trouble_accessing":"Satın alımınıza erişmekte sorun yaşıyorsanız, şu adresten destek ekibine ulaşın: ","error_page.close_button_title":"{{appName}}'e Git","error_page.error_title_stripe_missing_required_permission":"Eksik Stripe izni","error_page.button_close":"Kapat","error_page.error_message_stripe_invalid_tax_origin_address":"Vergi başlangıç adresi geçersiz olduğu için satın alma başarısız oldu. Üretimde, satın alımlar vergi uygulanmadan çalışacaktır.","error_page.error_message_stripe_tax_not_active":"Stripe Vergi etkinleştirilmediği için satın alma başarısız oldu. Üretimde, satın alımlar vergi uygulanmadan çalışacaktır.","error_page.error_only_in_sandbox":"Bu mesaj yalnızca sanal ortamda görünür.","error_page.error_message_stripe_missing_required_permission":"Stripe uygulamasında gerekli bir izin eksik olduğu için satın alma başarısız oldu. Üretimde, satın alımlar vergi uygulanmadan çalışacaktır.","error_page.error_title_stripe_tax_not_active":"Stripe Vergi aktif değil","error_page.error_title_stripe_invalid_tax_origin_address":"Geçersiz vergi başlangıç adresi","apple_pay.free_trial":"Ücretsiz Deneme","product_info.price_after_intro_price":"{{introPriceDuration}} sonra, {{renewalDate}} tarihinde","product_info.after_trial":"deneme süresinden sonra","product_info.after":"sonra","product_info.intro_price_phase_after_trial":"Sonra {{introPriceDuration}} boyunca {{introPrice}}","product_info.intro_price_phase":"İlk {{introPriceDuration}} boyunca {{introPrice}}","product_info.intro_price_phase_paid_once":"bir defaya mahsus ödenir","payment_entry_page.trial_subscription_terms_info":"Deneme süreniz sona erdikten sonra, {{renewalDate}} tarihinden itibaren {{price}} {{perFrequency}} ücretlendirileceksiniz. Bu tarihten önce istediğiniz zaman iptal edebilirsiniz.","payment_entry_page.subscription_info":"Abonelik otomatik olarak yenilenir. İstediğiniz zaman iptal edin.","payment_entry_page.otp_terms_info":"Satın alarak, {{appName}}'in sizi şartlarına göre ücretlendirmesine izin vermeyi kabul edersiniz.","payment_entry_page.terms_link_label":"Koşullar","payment_entry_page.subscription_terms_info":"Abone olarak, iptal edene kadar {{appName}}'in sizi şartlarına göre ücretlendirmesine izin vermeyi kabul edersiniz.","loading_page.keep_page_open":"İşlem neredeyse tamamlandı. Bu sayfayı açık tutun.","loading_page.processing_payment":"Ödeme işleniyor","pricing_table.discount":"İndirim","pricing_table.subtotal":"Ara Toplam","pricing_dropdown.add_promo_code":"kupon kodu ekle","discount_input.label":"Promosyon kodu","payment_entry_page.checkout_consent_terms_of_service":"hizmet şartları","payment_entry_page.checkout_consent_agreement":"{{appName}} {{termsOfService}}'ni kabul ediyorum."},_h={"periods.week":"{{amount}} тиждень","periods.month":"{{amount}} місяць","periods.year":"{{amount}} рік","periods.day":"{{amount}} день","periods.weekShort":"{{amount}}тиж","periods.monthShort":"{{amount}}міс","periods.yearShort":"{{amount}}рік","periods.dayShort":"{{amount}}дн","periods.lifetime":"пожиттєво","periods.weekPlural":"{{amount}} тижнів","periods.monthPlural":"{{amount}} місяців","periods.yearPlural":"{{amount}} років","periods.dayPlural":"{{amount}} днів","periods.weekFrequency":"щотижня","periods.monthFrequency":"щомісяця","periods.yearFrequency":"щороку","periods.dayFrequency":"щодня","periods.perWeekFrequency":"на тиждень","periods.perMonthFrequency":"на місяць","periods.perYearFrequency":"на рік","periods.perDayFrequency":"на день","periods.unknownFrequency":"невідомо","periods.weekFrequencyPlural":"кожні {{amount}} тижнів","periods.monthFrequencyPlural":"кожні {{amount}} місяців","periods.yearFrequencyPlural":"кожні {{amount}} років","periods.dayFrequencyPlural":"кожні {{amount}} днів","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} безкоштовний пробний період","product_info.price_after_free_trial":"Після закінчення пробного періоду, {{renewalDate}}","product_info.renewal_frequency":"Продовжується {{frequency}}","product_info.continues_until_cancelled":"Триває до скасування","product_info.cancel_anytime":"Можна скасувати в будь-який час","payment_entry_page.payment_step_title":"Безпечна оплата через RevenueCat","payment_entry_page.button_pay":"Оплатити зараз","payment_entry_page.button_start_trial":"Розпочати пробний період","success_page.purchase_successful":"Оплата завершена","success_page.button_close":"Продовжити","error_page.if_error_persists":"Якщо помилка повторюється, зверніться до ","error_page.error_title_already_subscribed":"Ви вже підписалися на {{productTitle}}","error_page.error_title_already_purchased":"Ви вже придбали {{productTitle}}","error_page.error_title_other_errors":"Щось пішло не так","error_page.error_message_already_subscribed":"Ви не можете підписатися на цей продукт знову.","error_page.error_message_already_purchased":"Ви не можете придбати цей продукт знову.","error_page.error_message_missing_email_error":"Для завершення покупки потрібна електронна пошта.","error_page.error_message_network_error":"Помилка мережі. Перевірте підключення до інтернету.","error_page.error_message_error_charging_payment":"Оплата не пройшла.","error_page.error_message_error_setting_up_purchase":"Помилка при ініціалізації покупки (код помилки: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Ми не змогли перевірити вашу платіжну адресу. Будь ласка, перевірте, чи правильні поштовий індекс та країна.","error_page.error_message_unknown_error":"Сталася невідома помилка (код помилки: {{errorCode}}).","error_page.button_try_again":"Спробувати ще раз","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Всього до сплати сьогодні","product_info.subscribe_to":"Підписатися на","navbar_header.details":"Деталі","navbar_header.back_button":"Назад","pricing_dropdown.show_details":"Показати деталі","pricing_dropdown.hide_details":"Приховати деталі","pricing_table.tax":"Податок","pricing_table.trial_ends":"Після закінчення пробного періоду, {{formattedTrialEndDate}}","pricing_table.total_due_today":"Загальна сума до сплати сьогодні","pricing_table.total_excluding_tax":"Загальна сума без урахування податку","pricing_table.enter_billing_address_to_calculate":"Введіть адресу виставлення рахунку для розрахунку","pricing_table.enter_state_or_postal_code_to_calculate":"Введіть штат або поштовий індекс для розрахунку","pricing_table.enter_postal_code_to_calculate":"Введіть поштовий індекс для розрахунку","error_page.error_message_invalid_email_error":"Електронну адресу {{email}} не вдалося підтвердити. Будь ласка, вкажіть дійсну електронну адресу.","payment_entry_page.button_payment_method":"Сплатити {{formattedPrice}} за допомогою {{paymentMethod}}","payment_entry_page.button_with_price":"Сплатити {{formattedPrice}}","price_update.title":"Оновлення ціни","price_update.base_message":"Загальну ціну було оновлено з урахуванням податку на основі вашої платіжної адреси. Перегляньте та спробуйте ще раз. З вашої картки буде списано кошти лише один раз.","price_update.trial_message":"Ціна підписки була оновлена для включення податків на основі вашої платіжної адреси. Безкоштовний пробний період все ще діє. Будь ласка, перевірте та спробуйте ще раз.","payment_entry_page.express_checkout_divider":"АБО СПЛАТІТЬ КАРТКОЮ","error_page.trouble_accessing":"Якщо у вас виникли проблеми з доступом до вашої покупки, зверніться до служби підтримки за адресою ","error_page.close_button_title":"Перейти до {{appName}}","error_page.error_title_stripe_missing_required_permission":"Відсутній дозвіл Stripe","error_page.button_close":"Закрити","error_page.error_message_stripe_invalid_tax_origin_address":"Покупка не вдалася, оскільки адреса походження податку недійсна. У виробництві покупки працюватимуть без застосування податків.","error_page.error_message_stripe_tax_not_active":"Покупка не вдалася, оскільки Stripe Tax не ввімкнено. У виробництві покупки працюватимуть без застосування податків.","error_page.error_only_in_sandbox":"Це повідомлення з’являється лише в пісочниці.","error_page.error_message_stripe_missing_required_permission":"Покупка не вдалася, оскільки програмі Stripe не вистачає необхідного дозволу. У виробництві покупки працюватимуть без застосування податків.","error_page.error_title_stripe_tax_not_active":"Stripe Tax не активовано","error_page.error_title_stripe_invalid_tax_origin_address":"Недійсна адреса походження податку","apple_pay.free_trial":"Безкоштовна пробна версія","product_info.price_after_intro_price":"Після {{introPriceDuration}}, {{renewalDate}}","product_info.after_trial":"після пробного періоду","product_info.after":"після","product_info.intro_price_phase_after_trial":"Потім {{introPriceDuration}} за {{introPrice}}","product_info.intro_price_phase":"Спочатку {{introPriceDuration}} за {{introPrice}}","product_info.intro_price_phase_paid_once":"сплачено один раз","payment_entry_page.trial_subscription_terms_info":"Після закінчення пробного періоду з вас буде стягуватися плата в розмірі {{price}} {{perFrequency}} починаючи з {{renewalDate}}. Ви можете скасувати підписку в будь-який час до цієї дати.","payment_entry_page.subscription_info":"Підписка поновлюється автоматично. Скасувати можна в будь-який час.","payment_entry_page.otp_terms_info":"Купуючи, ви погоджуєтеся дозволити {{appName}} стягувати з вас плату відповідно до їхніх умов.","payment_entry_page.terms_link_label":"Умови","payment_entry_page.subscription_terms_info":"Підписуючись, ви погоджуєтеся дозволити {{appName}} стягувати з вас плату відповідно до їхніх умов, поки ви не скасуєте підписку.","loading_page.keep_page_open":"Процес майже завершено. Залиште цю сторінку відкритою.","loading_page.processing_payment":"Обробка платежу","pricing_table.discount":"Знижка","pricing_table.subtotal":"Сума до сплати","pricing_dropdown.add_promo_code":"Додати промокод","discount_input.label":"Промокод","payment_entry_page.checkout_consent_terms_of_service":"умовами надання послуг","payment_entry_page.checkout_consent_agreement":"Я погоджуюся з {{appName}} {{termsOfService}}."},gh={"periods.week":"{{amount}} tuần","periods.month":"{{amount}} tháng","periods.year":"{{amount}} năm","periods.day":"{{amount}} ngày","periods.weekShort":"{{amount}}tuần","periods.monthShort":"{{amount}}tháng","periods.yearShort":"{{amount}}năm","periods.dayShort":"{{amount}}ngày","periods.lifetime":"trọn đời","periods.weekPlural":"{{amount}} tuần","periods.monthPlural":"{{amount}} tháng","periods.yearPlural":"{{amount}} năm","periods.dayPlural":"{{amount}} ngày","periods.weekFrequency":"hàng tuần","periods.monthFrequency":"hàng tháng","periods.yearFrequency":"hàng năm","periods.dayFrequency":"hàng ngày","periods.perWeekFrequency":"mỗi tuần","periods.perMonthFrequency":"mỗi tháng","periods.perYearFrequency":"mỗi năm","periods.perDayFrequency":"mỗi ngày","periods.unknownFrequency":"không xác định","periods.weekFrequencyPlural":"cứ {{amount}} tuần","periods.monthFrequencyPlural":"cứ {{amount}} tháng","periods.yearFrequencyPlural":"cứ {{amount}} năm","periods.dayFrequencyPlural":"cứ {{amount}} ngày","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} dùng thử miễn phí","product_info.price_after_free_trial":"Sau khi dùng thử kết thúc, vào {{renewalDate}}","product_info.renewal_frequency":"Gia hạn {{frequency}}","product_info.continues_until_cancelled":"Tiếp tục cho đến khi hủy","product_info.cancel_anytime":"Hủy bất cứ lúc nào","payment_entry_page.payment_step_title":"Thanh toán an toàn bởi RevenueCat","payment_entry_page.button_pay":"Thanh toán ngay","payment_entry_page.button_start_trial":"Bắt đầu dùng thử","success_page.purchase_successful":"Thanh toán hoàn tất","success_page.button_close":"Tiếp tục","error_page.if_error_persists":"Nếu lỗi vẫn tiếp diễn, vui lòng liên hệ ","error_page.error_title_already_subscribed":"Bạn đã đăng ký {{productTitle}} rồi","error_page.error_title_already_purchased":"Bạn đã mua {{productTitle}} rồi","error_page.error_title_other_errors":"Có lỗi xảy ra","error_page.error_message_already_subscribed":"Bạn không thể đăng ký sản phẩm này lần nữa.","error_page.error_message_already_purchased":"Bạn không thể mua sản phẩm này lần nữa.","error_page.error_message_missing_email_error":"Email bắt buộc để hoàn tất việc mua hàng.","error_page.error_message_network_error":"Lỗi mạng. Vui lòng kiểm tra kết nối internet của bạn.","error_page.error_message_error_charging_payment":"Thanh toán thất bại.","error_page.error_message_error_setting_up_purchase":"Không thể bắt đầu mua do lỗi (mã lỗi: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Chúng tôi không thể xác minh địa chỉ thanh toán của bạn. Vui lòng kiểm tra lại mã bưu điện và quốc gia.","error_page.error_message_unknown_error":"Đã xảy ra lỗi không xác định (mã lỗi: {{errorCode}}).","error_page.button_try_again":"Thử lại","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Tổng số tiền phải trả hôm nay","product_info.subscribe_to":"Đăng ký","navbar_header.details":"Chi tiết","navbar_header.back_button":"Quay lại","pricing_dropdown.show_details":"Xem chi tiết","pricing_dropdown.hide_details":"Ẩn chi tiết","pricing_table.tax":"Thuế","pricing_table.trial_ends":"Sau khi thời gian dùng thử kết thúc, vào {{formattedTrialEndDate}}","pricing_table.total_due_today":"Tổng số tiền phải trả hôm nay","pricing_table.total_excluding_tax":"Tổng cộng chưa bao gồm thuế","pricing_table.enter_billing_address_to_calculate":"Nhập địa chỉ thanh toán để tính toán","pricing_table.enter_state_or_postal_code_to_calculate":"Nhập tiểu bang hoặc mã bưu điện để tính toán","pricing_table.enter_postal_code_to_calculate":"Nhập mã bưu điện để tính toán","error_page.error_message_invalid_email_error":"Không thể xác minh địa chỉ email {{email}}. Vui lòng cung cấp một địa chỉ email hợp lệ.","payment_entry_page.button_payment_method":"Thanh toán {{formattedPrice}} bằng {{paymentMethod}}","payment_entry_page.button_with_price":"Thanh toán {{formattedPrice}}","price_update.title":"Cập nhật giá","price_update.base_message":"Tổng giá đã được cập nhật với thuế dựa trên địa chỉ thanh toán của bạn. Vui lòng xem lại và thử lại. Thẻ của bạn sẽ chỉ bị tính phí một lần.","price_update.trial_message":"Giá đăng ký đã được cập nhật để bao gồm thuế dựa trên địa chỉ thanh toán của bạn. Thời gian dùng thử miễn phí vẫn được áp dụng. Vui lòng kiểm tra và thử lại.","payment_entry_page.express_checkout_divider":"HOẶC THANH TOÁN BẰNG THẺ","error_page.trouble_accessing":"Nếu bạn gặp sự cố khi truy cập giao dịch mua của mình, hãy liên hệ với bộ phận hỗ trợ theo địa chỉ ","error_page.close_button_title":"Đi đến {{appName}}","error_page.error_title_stripe_missing_required_permission":"Thiếu quyền Stripe","error_page.button_close":"Đóng","error_page.error_message_stripe_invalid_tax_origin_address":"Giao dịch mua không thành công vì địa chỉ gốc thuế không hợp lệ. Trong môi trường thực tế, giao dịch mua sẽ hoạt động mà không áp dụng thuế.","error_page.error_message_stripe_tax_not_active":"Giao dịch mua không thành công vì Thuế Stripe chưa được bật. Trong môi trường thực tế, giao dịch mua sẽ hoạt động mà không áp dụng thuế.","error_page.error_only_in_sandbox":"Thông báo này chỉ xuất hiện trong môi trường thử nghiệm.","error_page.error_message_stripe_missing_required_permission":"Giao dịch mua không thành công vì ứng dụng Stripe thiếu một quyền cần thiết. Trong môi trường thực tế, giao dịch mua sẽ hoạt động mà không áp dụng thuế.","error_page.error_title_stripe_tax_not_active":"Thuế Stripe chưa hoạt động","error_page.error_title_stripe_invalid_tax_origin_address":"Địa chỉ gốc thuế không hợp lệ","apple_pay.free_trial":"Dùng thử miễn phí","product_info.price_after_intro_price":"Sau {{introPriceDuration}}, vào {{renewalDate}}","product_info.after_trial":"sau khi dùng thử","product_info.after":"sau","product_info.intro_price_phase_after_trial":"Sau đó {{introPriceDuration}} với giá {{introPrice}}","product_info.intro_price_phase":"{{introPriceDuration}} đầu tiên với giá {{introPrice}}","product_info.intro_price_phase_paid_once":"trả một lần","payment_entry_page.trial_subscription_terms_info":"Sau khi thời gian dùng thử của bạn kết thúc, bạn sẽ bị tính phí {{price}} {{perFrequency}} bắt đầu từ {{renewalDate}}. Bạn có thể hủy bất cứ lúc nào trước ngày này.","payment_entry_page.subscription_info":"Gói đăng ký tự động gia hạn. Hủy bất cứ lúc nào.","payment_entry_page.otp_terms_info":"Bằng cách mua, bạn đồng ý cho phép {{appName}} tính phí bạn theo các điều khoản của họ.","payment_entry_page.terms_link_label":"Điều khoản","payment_entry_page.subscription_terms_info":"Bằng cách đăng ký, bạn đồng ý cho phép {{appName}} tính phí bạn theo các điều khoản của họ cho đến khi bạn hủy.","loading_page.keep_page_open":"Quá trình gần hoàn tất. Vui lòng giữ trang này mở.","loading_page.processing_payment":"Đang xử lý thanh toán","pricing_table.discount":"Giảm giá","pricing_table.subtotal":"Tổng cộng","pricing_dropdown.add_promo_code":"Thêm mã khuyến mãi","discount_input.label":"Mã khuyến mãi","payment_entry_page.checkout_consent_terms_of_service":"điều khoản dịch vụ","payment_entry_page.checkout_consent_agreement":"Tôi đồng ý với {{termsOfService}} của {{appName}}."};var de=(r=>(r.PeriodsWeek="periods.week",r.PeriodsMonth="periods.month",r.PeriodsYear="periods.year",r.PeriodsDay="periods.day",r.PeriodsWeekShort="periods.weekShort",r.PeriodsMonthShort="periods.monthShort",r.PeriodsYearShort="periods.yearShort",r.PeriodsDayShort="periods.dayShort",r.PeriodsLifetime="periods.lifetime",r.PeriodsWeekPlural="periods.weekPlural",r.PeriodsMonthPlural="periods.monthPlural",r.PeriodsYearPlural="periods.yearPlural",r.PeriodsDayPlural="periods.dayPlural",r.PeriodsWeekFrequency="periods.weekFrequency",r.PeriodsMonthFrequency="periods.monthFrequency",r.PeriodsYearFrequency="periods.yearFrequency",r.PeriodsDayFrequency="periods.dayFrequency",r.PeriodsPerWeekFrequency="periods.perWeekFrequency",r.PeriodsPerMonthFrequency="periods.perMonthFrequency",r.PeriodsPerYearFrequency="periods.perYearFrequency",r.PeriodsPerDayFrequency="periods.perDayFrequency",r.PeriodsUnknownFrequency="periods.unknownFrequency",r.PeriodsWeekFrequencyPlural="periods.weekFrequencyPlural",r.PeriodsMonthFrequencyPlural="periods.monthFrequencyPlural",r.PeriodsYearFrequencyPlural="periods.yearFrequencyPlural",r.PeriodsDayFrequencyPlural="periods.dayFrequencyPlural",r.ProductInfoProductTitle="product_info.product_title",r.ProductInfoProductDescription="product_info.product_description",r.ProductInfoProductPrice="product_info.product_price",r.ProductInfoFreeTrialDuration="product_info.free_trial_duration",r.ProductInfoPriceAfterFreeTrial="product_info.price_after_free_trial",r.ProductInfoIntroPricePhaseAfterTrial="product_info.intro_price_phase_after_trial",r.ProductInfoIntroPricePhasePaidOnce="product_info.intro_price_phase_paid_once",r.ProductInfoIntroPricePhase="product_info.intro_price_phase",r.ProductInfoPriceAfterIntroPrice="product_info.price_after_intro_price",r.ProductInfoAfterTrial="product_info.after_trial",r.ProductInfoAfter="product_info.after",r.ProductInfoPriceTotalDueToday="product_info.total_due_today",r.ProductInfoSubscribeTo="product_info.subscribe_to",r.ProductInfoRenewalFrequency="product_info.renewal_frequency",r.ProductInfoContinuesUntilCancelled="product_info.continues_until_cancelled",r.ProductInfoCancelAnytime="product_info.cancel_anytime",r.PaymentEntryPagePaymentStepTitle="payment_entry_page.payment_step_title",r.PaymentEntryPageTrialSubscriptionTermsInfo="payment_entry_page.trial_subscription_terms_info",r.PaymentEntryPageSubscriptionTermsInfo="payment_entry_page.subscription_terms_info",r.PaymentEntryPageOtpTermsInfo="payment_entry_page.otp_terms_info",r.PaymentEntryPageTermsLinkLabel="payment_entry_page.terms_link_label",r.PaymentEntryPageCheckoutConsentAgreement="payment_entry_page.checkout_consent_agreement",r.PaymentEntryPageCheckoutConsentTermsOfService="payment_entry_page.checkout_consent_terms_of_service",r.PaymentEntryPageSubscriptionInfo="payment_entry_page.subscription_info",r.PaymentEntryPageButtonPay="payment_entry_page.button_pay",r.PaymentEntryPageButtonStartTrial="payment_entry_page.button_start_trial",r.PaymentEntryPageButtonWithPrice="payment_entry_page.button_with_price",r.PaymentEntryPageButtonPaymentMethod="payment_entry_page.button_payment_method",r.PaymentEntryPageExpressCheckoutDivider="payment_entry_page.express_checkout_divider",r.SuccessPagePurchaseSuccessful="success_page.purchase_successful",r.SuccessPageButtonClose="success_page.button_close",r.LoadingPageProcessingPayment="loading_page.processing_payment",r.LoadingPageKeepPageOpen="loading_page.keep_page_open",r.ErrorPageCloseButtonTitle="error_page.close_button_title",r.ErrorPageIfErrorPersists="error_page.if_error_persists",r.ErrorPageTroubleAccessing="error_page.trouble_accessing",r.ErrorPageErrorTitleAlreadySubscribed="error_page.error_title_already_subscribed",r.ErrorPageErrorTitleAlreadyPurchased="error_page.error_title_already_purchased",r.ErrorPageErrorTitleOtherErrors="error_page.error_title_other_errors",r.ErrorPageErrorTitleStripeTaxNotActive="error_page.error_title_stripe_tax_not_active",r.ErrorPageErrorTitleStripeInvalidTaxOriginAddress="error_page.error_title_stripe_invalid_tax_origin_address",r.ErrorPageErrorTitleStripeMissingRequiredPermission="error_page.error_title_stripe_missing_required_permission",r.ErrorPageErrorMessageAlreadySubscribed="error_page.error_message_already_subscribed",r.ErrorPageErrorMessageAlreadyPurchased="error_page.error_message_already_purchased",r.ErrorPageErrorMessageMissingEmailError="error_page.error_message_missing_email_error",r.ErrorPageErrorMessageInvalidEmailError="error_page.error_message_invalid_email_error",r.ErrorPageErrorMessageNetworkError="error_page.error_message_network_error",r.ErrorPageErrorMessageErrorChargingPayment="error_page.error_message_error_charging_payment",r.ErrorPageErrorMessageErrorSettingUpPurchase="error_page.error_message_error_setting_up_purchase",r.ErrorPageErrorMessageUnknownError="error_page.error_message_unknown_error",r.ErrorPageErrorMessageInvalidTaxLocation="error_page.error_message_invalid_tax_location",r.ErrorPageErrorMessageStripeTaxNotActive="error_page.error_message_stripe_tax_not_active",r.ErrorPageErrorMessageStripeInvalidTaxOriginAddress="error_page.error_message_stripe_invalid_tax_origin_address",r.ErrorPageErrorMessageStripeMissingRequiredPermission="error_page.error_message_stripe_missing_required_permission",r.ErrorPageErrorMessageOnlyInSandbox="error_page.error_only_in_sandbox",r.ErrorButtonTryAgain="error_page.button_try_again",r.ErrorButtonClose="error_page.button_close",r.PaywallVariablesPricePerPeriod="paywall_variables.price_per_period",r.PaywallVariablesSubRelativeDiscount="paywall_variables.sub_relative_discount",r.PaywallVariablesTotalPriceAndPerMonth="paywall_variables.total_price_and_per_month",r.PricingDropdownShowDetails="pricing_dropdown.show_details",r.PricingDropdownHideDetails="pricing_dropdown.hide_details",r.PricingDropdownAddPromoCode="pricing_dropdown.add_promo_code",r.DiscountInputLabel="discount_input.label",r.PricingTotalExcludingTax="pricing_table.total_excluding_tax",r.PricingTableTrialEnds="pricing_table.trial_ends",r.PricingTableTotalDueToday="pricing_table.total_due_today",r.PricingTableSubtotal="pricing_table.subtotal",r.PricingTableDiscount="pricing_table.discount",r.PricingTableTax="pricing_table.tax",r.PricingTableEnterBillingAddressToCalculate="pricing_table.enter_billing_address_to_calculate",r.PricingTableEnterStateOrPostalCodeToCalculate="pricing_table.enter_state_or_postal_code_to_calculate",r.PricingTableEnterPostalCodeToCalculate="pricing_table.enter_postal_code_to_calculate",r.NavbarHeaderDetails="navbar_header.details",r.NavbarBackButton="navbar_header.back_button",r.PriceUpdateTitle="price_update.title",r.PriceUpdateBaseMessage="price_update.base_message",r.PriceUpdateTrialMessage="price_update.trial_message",r.ApplePayFreeTrial="apple_pay.free_trial",r))(de||{});const fh={en:qm,es:Om,it:Lm,ar:Nm,ca:jm,zh_Hans:Bm,zh_Hant:Rm,hr:Um,cs:Vm,da:Hm,nl:Wm,fi:Ym,fr:Gm,de:Km,el:Xm,he:Zm,hi:Jm,hu:Qm,id:$m,ja:eh,ko:rh,ms:th,no:nh,pl:ah,pt:oh,ro:ih,ru:sh,sk:lh,sl:ch,sv:uh,th:dh,tr:ph,uk:_h,vi:gh};var gr=(r=>(r.Year="year",r.Month="month",r.Week="week",r.Day="day",r))(gr||{});function Fo(r){const e=r.match(/^PT?([0-9]+)([MDYW])$/);if(!e||e.length<3)return xe.errorLog(`Invalid ISO 8601 duration format: ${r}`),null;const t=parseInt(e[1]);switch(e[2]){case"Y":return{number:t,unit:"year"};case"M":return{number:t,unit:"month"};case"W":return{number:t,unit:"week"};case"D":return{number:t,unit:"day"};default:return xe.errorLog(`Invalid ISO 8601 unit duration format: ${r}`),null}}function Mo(r,e,t){if(!t)return null;let n=new Date(r);switch(e.unit){case"year":n.getDate()===29&&n.getMonth()===1&&e.number!==4?n.setFullYear(n.getFullYear()+e.number,n.getMonth(),28):n.setFullYear(n.getFullYear()+e.number,n.getMonth(),n.getDate());break;case"month":n.setMonth(n.getMonth()+e.number,n.getDate()),n.getDate()!==r.getDate()&&(n=new Date(r),n.setMonth(n.getMonth()+e.number+1,0));break;case"week":n.setDate(n.getDate()+e.number*7);break;case"day":n.setDate(n.getDate()+e.number);break}return n}const mh=r=>r.split("_")[0].split("-")[0].toLowerCase(),_a=r=>{if(!r)return r;const e=r.replace(/_/g,"-");try{const[n]=Intl.getCanonicalLocales(e);if(n)return n}catch{}const t=e.split("-")[0];try{const[n]=Intl.getCanonicalLocales(t);if(n)return n}catch{}return t},hh=r=>r/1e6,gd=new Map;function vh(r){const e=gd.get(r);if(e!==void 0)return e;let t;try{t=new Intl.NumberFormat("en",{style:"currency",currency:r}).resolvedOptions().maximumFractionDigits??2}catch{t=2}return gd.set(r,t),t}function Ai(r,e){const n=10**(6-vh(e)),a=Math.round(r/n*1e9)/1e9;return Math.floor(a)*n}const Pn=(r,e,t,n={})=>{const a=hh(r),i={style:"currency",currency:e,currencyDisplay:"symbol",...n,minimumFractionDigits:n.maximumFractionDigits};return new Intl.NumberFormat(_a(t),i).format(a).replace("US$","$")},yh=(r,e)=>{const t=Fo(r);return t?e.translatePeriod(t.number,t.unit)||`${t.number} ${t.unit}s`:r},bh=(r,e,{collapseSingularInEnglish:t=!1}={})=>r?t&&r.number===1&&mh(e.selectedLocale)===Rr?e.translatePeriodUnit(r.unit,{noWhitespace:!0})||"":e.translatePeriod(r.number,r.unit)||"":"",kh=r=>{try{return r.charAt(0).toUpperCase()+r.slice(1)}catch{return r}},Ha={noWhitespace:!1,short:!1},fd={useMultipleWords:!1};class On{constructor(e={},t=Rr,n=Rr){re(this,"locales",{});this.selectedLocale=t,this.defaultLocale=n;const a={};Object.entries(fh).forEach(([i,s])=>{a[i]=new md(s,i)}),this.locales=a,e&&this.override(e)}static fallback(){return new On}override(e){Object.entries(e).forEach(([t,n])=>{this.locales[t]=new md({...this.locales[t].labels||{},...n},this.getLanguageCodeString(t))})}formatPrice(e,t){const n={currencyDisplay:"narrowSymbol"};e===0&&(n.maximumFractionDigits=0);try{return Pn(e,t,this.bcp47Locale,n)}catch{xe.errorLog(`Failed to create a price formatter for locale: ${this.bcp47Locale}`)}try{return Pn(e,t,this.fallbackBcp47Locale,n)}catch{xe.errorLog(`Failed to create a price formatter for locale: ${this.fallbackBcp47Locale}`)}return Pn(e,t,Rr,n)}get bcp47Locale(){var e;return _a((e=this.getLocaleInstance(this.selectedLocale))==null?void 0:e.localeKey)||_a(this.getLanguageCodeString(this.selectedLocale))||Rr}get fallbackBcp47Locale(){var e;return _a((e=this.getLocaleInstance(this.defaultLocale))==null?void 0:e.localeKey)||_a(this.getLanguageCodeString(this.defaultLocale))||Rr}getLanguageCodeString(e){return e.split("_")[0].split("-")[0]}getLocaleInstance(e){const t=this.getLanguageCodeString(e);return this.locales[e]||this.locales[t]}translate(e,t){const n=this.getLocaleInstance(this.selectedLocale),a=this.getLocaleInstance(this.defaultLocale);return(n==null?void 0:n.translate(e,t))||(a==null?void 0:a.translate(e,t))||""}formatCountry(e){return new Intl.DisplayNames([this.bcp47Locale],{type:"region"}).of(e)||e}translatePeriod(e,t,n=Ha){const a=this.getLocaleInstance(this.selectedLocale),i=this.getLocaleInstance(this.defaultLocale);return(a==null?void 0:a.translatePeriod(e,t,n))||(i==null?void 0:i.translatePeriod(e,t,n))}translatePeriodUnit(e,t=Ha){const n=this.getLocaleInstance(this.selectedLocale),a=this.getLocaleInstance(this.defaultLocale);return(n==null?void 0:n.translatePeriodUnit(e,t))||(a==null?void 0:a.translatePeriodUnit(e,t))}translatePeriodFrequency(e,t,n=fd){const a=this.getLocaleInstance(this.selectedLocale),i=this.getLocaleInstance(this.defaultLocale);return(a==null?void 0:a.translatePeriodFrequency(e,t,n))||(i==null?void 0:i.translatePeriodFrequency(e,t,n))}translateDate(e,t={}){const n=this.getLocaleInstance(this.selectedLocale),a=this.getLocaleInstance(this.defaultLocale);return(n==null?void 0:n.translateDate(e,t))||(a==null?void 0:a.translateDate(e,t))}}class md{constructor(e={},t){this.labels=e,this.localeKey=t}replaceVariables(e,t){return Object.entries(t).reduce((n,[a,i])=>n.replace(`{{${a}}}`,`${i??""}`),e)}translate(e,t){const n=this.labels[e];if(n)return this.replaceVariables(n,t||{})}translatePeriod(e,t,n=Ha){var c;const{noWhitespace:a,short:i}={...Ha,...n},s=i?`periods.${t}Short`:Math.abs(e)===1?`periods.${t}`:`periods.${t}Plural`;return(c=this.translate(s,{amount:e.toString()}))==null?void 0:c.replace(" ",a?"":" ")}translatePeriodUnit(e,t=Ha){var s;const{noWhitespace:n,short:a}={...Ha,...t},i=`periods.${e}${a?"Short":""}`;return(s=this.translate(i,{amount:""}))==null?void 0:s.replace(" ",n?"":" ")}translatePeriodFrequency(e,t,n=fd){const a=n==null?void 0:n.useMultipleWords,i=Math.abs(e)===1?`periods.${a===!0?"per":""}${a?kh(t.toString()):t}Frequency`:`periods.${t}FrequencyPlural`;return this.translate(i,{amount:e.toString()})}translateDate(e,t={}){return e.toLocaleDateString(_a(this.localeKey),t)}}function wh(r){return r!=null}const il=7,hd=30,sl=365,ll=12,cl=sl/il,vd=cl/ll;function ul(r){const e=r.number>0?1/r.number:0;switch(r.unit){case gr.Day:return{perDay:e,perWeek:il*e,perMonth:hd*e,perYear:sl*e};case gr.Week:return{perDay:e/il,perWeek:e,perMonth:vd*e,perYear:cl*e};case gr.Month:return{perDay:e/hd,perWeek:e/vd,perMonth:e,perYear:ll*e};case gr.Year:return{perDay:e/sl,perWeek:e/cl,perMonth:e/ll,perYear:e};default:return xe.errorLog(`Unknown period unit: ${r.unit}`),{perDay:0,perWeek:0,perMonth:0,perYear:0}}}var yd=(r=>(r.Unknown="unknown",r.Custom="custom",r.Lifetime="$rc_lifetime",r.Annual="$rc_annual",r.SixMonth="$rc_six_month",r.ThreeMonth="$rc_three_month",r.TwoMonth="$rc_two_month",r.Monthly="$rc_monthly",r.Weekly="$rc_weekly",r))(yd||{}),Gr=(r=>(r.Subscription="subscription",r.Consumable="consumable",r.NonConsumable="non_consumable",r))(Gr||{});const dl=(r,e)=>({amount:r/1e4,amountMicros:r,currency:e,formattedPrice:Pn(r,e)}),bd=r=>dl(r.amount_micros,r.currency),pl=r=>{const e=r.period_duration,t=r.price?bd(r.price):null,n=e?Fo(e):null;let a=null,i=null,s=null;if(t!==null&&n!==null){const c=ul(n),l=1e4,u=Ai(t.amountMicros*c.perWeek,t.currency);a={amount:u/l,amountMicros:u,currency:t.currency,formattedPrice:Pn(u,t.currency)};const d=Ai(t.amountMicros*c.perMonth,t.currency);i={amount:d/l,amountMicros:d,currency:t.currency,formattedPrice:Pn(d,t.currency)};const p=Ai(t.amountMicros*c.perYear,t.currency);s={amount:p/l,amountMicros:p,currency:t.currency,formattedPrice:Pn(p,t.currency)}}return{periodDuration:e,period:n,cycleCount:r.cycle_count,price:t,pricePerWeek:a,pricePerMonth:i,pricePerYear:s}},kd=(r,e)=>{const t=r.duration_mode??"one_time";let n=r.time_window??null;(t==="one_time"||t==="forever")&&n===null&&e!==null&&(n=e);let a=null,i=null;const s=n?Fo(n):null;return s&&(a={number:1,unit:s.unit},i=t==="forever"?0:s.number),{timeWindow:r.time_window,durationMode:t,price:dl(r.amount_micros,r.currency),name:r.name,period:a,cycleCount:i??0,periodDuration:n,discountType:r.discount_type,percentage:r.percentage??null,fixedAmount:r.fixed_amount_micros!=null?dl(r.fixed_amount_micros,r.currency):null}},wd=r=>{var e;return r.base==null?(xe.debugLog("Missing base phase for subscription option. Ignoring."),null):{id:r.id,priceId:r.price_id,base:pl(r.base),trial:r.trial?pl(r.trial):null,introPrice:r.intro_price?pl(r.intro_price):null,discount:r.discount?kd(r.discount,(e=r.base)==null?void 0:e.period_duration):null}},Pd=r=>r.base_price==null?(xe.debugLog("Missing base price for non-subscription option. Ignoring."),null):{id:r.id,priceId:r.price_id,basePrice:bd(r.base_price),discount:r.discount?kd(r.discount,null):null},Ph=(r,e)=>{const t=r.product_type;return t==="subscription"?Sh(r,e,t):Eh(r,e,t)},xh=(r,e)=>r==="subscription"?"base"in e?wd(e):null:"base_price"in e?Pd(e):null,Eh=(r,e,t)=>{const n={};if(Object.entries(r.purchase_options).forEach(([s,c])=>{const l=Pd(c);l!=null&&(n[s]=l)}),Object.keys(n).length===0)return xe.debugLog(`Product ${r.identifier} has no purchase options. Ignoring.`),null;const a=r.default_purchase_option_id,i=a&&a in r.purchase_options?n[a]:null;return i==null?(xe.debugLog(`Product ${r.identifier} has no default purchase option. Ignoring.`),null):{identifier:r.identifier,displayName:r.title,title:r.title,description:r.description,productType:t,currentPrice:i.basePrice,normalPeriodDuration:null,presentedOfferingIdentifier:e.offeringIdentifier,presentedOfferingContext:e,defaultPurchaseOption:i,defaultSubscriptionOption:null,subscriptionOptions:{},defaultNonSubscriptionOption:i,price:i.basePrice,period:null,freeTrialPhase:null,introPricePhase:null,discountPhase:i.discount}},Sh=(r,e,t)=>{const n={};if(Object.entries(r.purchase_options).forEach(([c,l])=>{const u=wd(l);u!=null&&(n[c]=u)}),Object.keys(n).length===0)return xe.debugLog(`Product ${r.identifier} has no subscription options. Ignoring.`),null;const a=r.default_purchase_option_id,i=a&&a in n?n[a]:null;if(i==null)return xe.debugLog(`Product ${r.identifier} has no default subscription option. Ignoring.`),null;const s=i.base.price;return s==null?(xe.debugLog(`Product ${r.identifier} default option has no base price. Ignoring.`),null):{identifier:r.identifier,displayName:r.title,title:r.title,description:r.description,productType:t,currentPrice:s,normalPeriodDuration:i.base.periodDuration,presentedOfferingIdentifier:e.offeringIdentifier,presentedOfferingContext:e,defaultPurchaseOption:i,defaultSubscriptionOption:i,subscriptionOptions:n,defaultNonSubscriptionOption:null,price:s,period:i.base.period,freeTrialPhase:i.trial,introPricePhase:i.introPrice,discountPhase:i.discount}},Ih=(r,e,t)=>{const n=t[e.platform_product_identifier];if(n===void 0)return null;const a=Ph(n,r);return a===null?null:{identifier:e.identifier,rcBillingProduct:a,webBillingProduct:a,...e.web_checkout_url?{webCheckoutURL:e.web_checkout_url}:{},packageType:Ch(e.identifier)}},xd=(r,e,t,n,a)=>{const i={offeringIdentifier:e.identifier,targetingContext:r&&n?{ruleId:n.rule_id,revision:n.revision}:null,placementIdentifier:null},s=e.packages.map(l=>Ih(i,l,t)).filter(wh),c={};for(const l of s)l!=null&&(c[l.identifier]=l);return s.length==0?null:{identifier:e.identifier,serverDescription:e.description,metadata:e.metadata,...e.web_checkout_url?{webCheckoutURL:e.web_checkout_url}:{},packagesById:c,availablePackages:s,lifetime:c.$rc_lifetime??null,annual:c.$rc_annual??null,sixMonth:c.$rc_six_month??null,threeMonth:c.$rc_three_month??null,twoMonth:c.$rc_two_month??null,monthly:c.$rc_monthly??null,weekly:c.$rc_weekly??null,hasPaywall:e.paywall_components!=null,paywallComponents:e.paywall_components,...a!==void 0?{uiConfig:a}:{}}};function Ch(r){switch(r){case"$rc_lifetime":return"$rc_lifetime";case"$rc_annual":return"$rc_annual";case"$rc_six_month":return"$rc_six_month";case"$rc_three_month":return"$rc_three_month";case"$rc_two_month":return"$rc_two_month";case"$rc_monthly":return"$rc_monthly";case"$rc_weekly":return"$rc_weekly";default:return r.startsWith("$rc_")?"unknown":"custom"}}function zo(r,e=!1){return(r==null?void 0:r.full_address_collection_mode)==="always"?!0:!!(r!=null&&r.gateway_tax_collection_enabled)&&e}Cf();const Th=`<svg viewBox="0 0 124 124" fill="var(--rc-color-grey-text-dark)" xmlns="http://www.w3.org/2000/svg">
3
3
  <circle cx="62" cy="62" r="62" fill="var(--rc-color-grey-text-dark)" opacity="0.2"/>
4
4
  <path d="M87.6668 41.504L82.4968 36.334L62.0002 56.8307L41.5035 36.334L36.3335 41.504L56.8302 62.0006L36.3335 82.4973L41.5035 87.6673L62.0002 67.1706L82.4968 87.6673L87.6668 82.4973L67.1702 62.0006L87.6668 41.504Z"
5
5
  />
6
6
  </svg>
7
- `;var Ph=R('<div style="color:var(--rc-color-primary);"><!></div>');function wd(r){var e=Ph(),t=D(e);fn(t,()=>wh),P(r,e)}function xh(r,e){var t=$e,n=Ke,a=r();return{subscribe:yr(a,s=>{var c=a!==r(),l,u=Ke,d=$e;Yr(n),wt(t);try{l=Rf(()=>{ia(()=>{const _=r();c&&s(_)})})}finally{Yr(u),wt(d)}return c=!0,l}).subscribe}}function ga(r){let e;const t=Ls(a=>{let i=!1;const s=r.subscribe(c=>{e=c,i&&a()});return i=!0,s});function n(){return yi()?(t(),e):To(r)}return"set"in r?{get current(){return n()},set current(a){r.set(a)}}:{get current(){return n()}}}const Pd=Symbol("hover");function Eh(r){mr(Pd,r)}function Sh(){return He(Pd)??at(!1)}const _l=Symbol("packageInfo");function xd(r){mr(_l,r)}function Ih(){const r=He(_l);if(r===void 0)throw new Error("PackageInfo context not found");return r}const Ch=at(void 0);function Th(){return He(_l)??Ch}const Ed=Symbol("paywall");function Sd(r){mr(Ed,r)}function xt(){const r=He(Ed);if(r===void 0)throw new Error("Paywall context not found");return r}const Id=Symbol("selected");function Di(r){mr(Id,r)}function Dh(){return He(Id)??at(!1)}const Ai={Boolean:"boolean",Integer:"integer",Double:"double",String:"string"},Ah="$value",Fh=1e-10;class Cd{constructor(e={}){Be(this,Xr);Be(this,ri,yr(0));Be(this,Qn,{});Be(this,ln,{});Be(this,Ia,{});Be(this,oo,null);Be(this,io,null);ee(this,"subscribe");this.subscribe=G(this,ri).subscribe,_r(this,Xr,Vc).call(this,e)}registerDeclarations(e){let t=!1;for(const[n,a]of Object.entries(e)){if(Object.hasOwn(G(this,Qn),n))continue;const i=_r(this,Xr,Ss).call(this,a.default,a.type);i!==void 0&&(G(this,Qn)[n]=i,G(this,Ia)[n]=a.type,Object.hasOwn(G(this,ln),n)||(G(this,ln)[n]=i,t=!0))}t&&_r(this,Xr,Is).call(this)}reset(e){Ne(this,Qn,{}),Ne(this,ln,{}),Ne(this,Ia,{}),Ne(this,oo,null),Ne(this,io,null),_r(this,Xr,Vc).call(this,e),_r(this,Xr,Is).call(this)}applyUpdates(e,t){let n=!1;for(const a of e){const i=a.to===Ah?t:a.to;if(i===void 0)continue;const s=_r(this,Xr,Hc).call(this,i,a.set);s!==void 0&&G(this,ln)[a.set]!==s&&(G(this,ln)[a.set]=s,n=!0)}n&&_r(this,Xr,Is).call(this)}get values(){return G(this,oo)??Ne(this,oo,{...G(this,ln)})}get defaults(){return G(this,io)??Ne(this,io,{...G(this,Qn)})}matchesDeclaredType(e,t){return _r(this,Xr,Hc).call(this,e,t)!==void 0}}ri=new WeakMap,Qn=new WeakMap,ln=new WeakMap,Ia=new WeakMap,oo=new WeakMap,io=new WeakMap,Xr=new WeakSet,Vc=function(e){for(const[t,n]of Object.entries(e)){const a=_r(this,Xr,Ss).call(this,n.default,n.type);a!==void 0&&(G(this,Qn)[t]=a,G(this,ln)[t]=a,G(this,Ia)[t]=n.type)}},Hc=function(e,t){return _r(this,Xr,Ss).call(this,e,G(this,Ia)[t])},Ss=function(e,t){if(t!==void 0&&(t===Ai.String&&typeof e=="string"||t===Ai.Boolean&&typeof e=="boolean"||t===Ai.Double&&typeof e=="number"||t===Ai.Integer&&typeof e=="number"&&Number.isInteger(e)))return e},Is=function(){Ne(this,oo,null),Ne(this,io,null),G(this,ri).update(e=>e+1)};const Td=Symbol("paywall-state");function Dd(r){mr(Td,r)}function Fi(){return He(Td)}function zh(){return Fi()??at(0)}const gl=Symbol("variables");function fl(r){mr(gl,r)}function ml(){const r=He(gl);if(r===void 0)throw new Error("Variables context not found");return r}const Mh=at(void 0);function hl(){return He(gl)??Mh}function gt(r={}){const e=ga(Dh()),t=r.hover?ga(Sh()):null,n=ga(Th()),a=ga(xt().selectedPackageId),i=ga(hl()),s=r.state?Fi():void 0,c=r.state?ga(zh()):null;return l=>{c==null||c.current;const u={selectedPackageId:a.current,packageInfo:n.current,variables:i.current??{},selected:e.current,...l};return t&&(u.hover=t.current),r.state&&(u.stateValues=(s==null?void 0:s.values)??{},u.stateDefaults=(s==null?void 0:s.defaults)??{}),u}}const Ad=Symbol("inputValidation"),Fd=Symbol("initialInputSelections");function qh(r=!0){const e=yr(r);return{isSatisfied:e,updateSatisfaction:n=>{e.set(n)}}}function Oh(r){mr(Ad,r)}function zi(){return He(Ad)}function Lh(r){mr(Fd,r)}function zd(){return He(Fd)??{}}const Md=Symbol("localization");function Nh(r){const t={getLocalizedString:n=>{var d,_;if(!n)return"";const{selectedLocale:a,defaultLocale:i,localizations:s}=r(),l=(d=s[a??i])==null?void 0:d[n],u=(_=s[i])==null?void 0:_[n];return l??u}};return mr(Md,t),t}function Mi(){const r=He(Md);if(r===void 0)throw new Error("Localization context not found");return r}const qd={StateCondition:"state_condition"};function jh(r){switch(r.type){case"stack":{const e=[...r.components];return r.badge&&e.push(r.badge.stack),e}case"button":case"purchase_button":case"redemption_button":return[r.stack];case"carousel":return r.pages;case"countdown":{const e=[r.countdown_stack];return r.end_stack&&e.push(r.end_stack),e}case"footer":return[r.stack];case"input_multiple_choice":case"input_single_choice":case"input_option":return[r.stack];case"tabs":return[r.control.stack,...r.tabs];case"tab":return[r.stack];case"tab_control_button":return[r.stack];case"timeline":return r.items.flatMap(e=>{const t=[e.icon,e.title];return e.description&&t.push(e.description),t});case"express_purchase_button":return[r.wallet_unknown_stack,r.wallet_available_stack,r.wallet_unavailable_stack];default:return[]}}function qi(r,e){const t=[r];for(;t.length>0;){const n=t.pop();if(n.type==="package"&&e(n))return n;const a=jh(n);for(let i=a.length-1;i>=0;i--)t.push(a[i])}}function Bh({stack:r,sticky_footer:e}){const t=qi(r,a=>a.is_selected_by_default);if(t!==void 0)return t.package_id;const n=qi(r,()=>!0);if(n!==void 0)return n.package_id;if(e!=null){const a=qi(e,s=>s.is_selected_by_default);if(a!==void 0)return a.package_id;const i=qi(e,()=>!0);if(i!==void 0)return i.package_id}}const ft=(r,e)=>{if(!e)return{};let t={};for(const n of e)if(n.conditions.every(a=>Rh(a,r))){const a={...n.properties},i=n.conditions.some(s=>s.type===qd.StateCondition);(a.visible===null||a.visible===!0&&!i)&&delete a.visible,t={...t,...a}}return t},Rh=(r,e)=>{var t,n,a;if(r.type==="selected")return!!e.selected;if(r.type==="hover")return!!e.hover;if(r.type==="focus")return!!e.focus;if(r.type==="error")return!!e.error;if(r.type==="multiple_intro_offers")return!1;if(r.type==="intro_offer"||r.type==="intro_offer_condition"){const i=!!((t=e.packageInfo)!=null&&t.hasIntroOffer)||!!((n=e.packageInfo)!=null&&n.hasTrial);if(r.type==="intro_offer")return i;if(r.operator==="=")return i===r.value;if(r.operator==="!=")return i!==r.value}if(r.type==="promo_offer"||r.type==="promo_offer_condition"){const i=!!((a=e.packageInfo)!=null&&a.hasPromoOffer);if(r.type==="promo_offer")return i;if(r.operator==="=")return i===r.value;if(r.operator==="!=")return i!==r.value}if(r.type==="selected_package_condition"){const i=e.selectedPackageId??"";if(r.operator==="in")return r.packages.includes(i);if(r.operator==="not in")return!r.packages.includes(i)}if(r.type==="variable_condition"){const i=r.variable.replace(/^\$?custom\./,""),s=e.variables[i],c=r.value,l=String(typeof c=="object"&&c!==null&&"value"in c?c.value:c);if(r.operator==="=")return s===l;if(r.operator==="!=")return s!==l}if(r.type===qd.StateCondition){const i=e.stateValues??{},s=e.stateDefaults??{},c=Object.hasOwn(i,r.name),l=Object.hasOwn(s,r.name);if(!c&&!l)return!1;const u=c?i[r.name]:s[r.name];if(typeof u!=typeof r.value)return!1;const d=Uh(u,r.value);if(r.operator==="=")return d;if(r.operator==="!=")return!d}return!1};function Uh(r,e){return typeof r=="string"&&typeof e=="string"||typeof r=="boolean"&&typeof e=="boolean"?r===e:typeof r=="number"&&typeof e=="number"?Math.abs(r-e)<Fh:!1}function Od(r,e,t){return e!==!1&&(r==="workflow"||r==="complete_workflow")&&!t}function Vh(r,e){he(e,!0);const t=()=>Ue(u,"$selectedPackageId",n),[n,a]=Je(),i=Sr(e,["$$slots","$$events","$$legacy"]),{emitComponentInteraction:s,onButtonAction:c,hideBackButtons:l,selectedPackageId:u}=xt(),d=gt(),_=m(()=>({...i,...ft(d(),e.overrides)})),p=m(()=>o(_).action),f=m(()=>o(_).stack),g=zi(),{getLocalizedString:b}=Mi(),y=ga((g==null?void 0:g.isSatisfied)??at(!0)),h=()=>{switch(o(p).type){case"workflow":return{componentType:"button",componentName:e.name,componentValue:"workflow"};case"complete_workflow":{const T=b(o(p).url.url_lid);return{componentType:"button",componentName:e.name,componentValue:"navigate_to_url",...T?{componentURL:T}:{}}}case"navigate_back":return{componentType:"button",componentName:e.name,componentValue:"navigate_back"};case"close_workflow":return{componentType:"button",componentName:e.name,componentValue:"close_workflow"};case"restore_purchases":return{componentType:"button",componentName:e.name,componentValue:"restore_purchases"}}switch(o(p).destination){case"customer_center":return{componentType:"button",componentName:e.name,componentValue:"navigate_to_customer_center"};case"screen_redirect":return{componentType:"button",componentName:e.name,componentValue:"screen_redirect"};case"privacy_policy":case"terms":case"url":{const T=b(o(p).url.url_lid);return{componentType:"button",componentName:e.name,componentValue:o(p).destination==="privacy_policy"?"navigate_to_privacy_policy":o(p).destination==="terms"?"navigate_to_terms":"navigate_to_url",...T?{componentURL:T}:{}}}case"sheet":throw new Error("Sheet actions must be handled by the sheet branches in onclick");case"offer_code":return{componentType:"button",componentName:e.name,componentValue:"navigate_to_offer_code"};case"web_paywall_link":return{componentType:"button",componentName:e.name,componentValue:"navigate_to_web_paywall_link"}}},k=T=>{var S;return{componentType:"package_selection_sheet",componentName:((S=T.sheet)==null?void 0:S.name)??e.name,componentValue:"open",currentPackageId:t()}},x=()=>{if(Od(o(p).type,e.require_valid_inputs,y.current))return;const T=o(p).type==="workflow"?e.id:void 0;if(o(p).type==="navigate_to"&&o(p).destination==="sheet"){o(p).sheet!=null&&s(k(o(p))),c(o(p),T);return}s(h()),c(o(p),T)},v=m(()=>{switch(o(p).type){case"workflow":return!0;case"complete_workflow":return!0;case"restore_purchases":return!1;case"navigate_back":return!l;case"close_workflow":return!0;case"navigate_to":return o(p).destination!=="web_paywall_link";default:return!0}});var w=Se(),E=se(w);{var I=T=>{const S=m(()=>Od(o(p).type,e.require_valid_inputs,y.current));{let A=m(()=>o(S)?{opacity:"0.4","pointer-events":"none",cursor:"not-allowed"}:void 0),C=m(()=>`button-${o(p).type}`);qr(T,gr(()=>o(f),{onclick:x,get style(){return o(A)},get testId(){return o(C)}}))}};W(E,T=>{o(v)&&T(I)})}P(r,w),ve(),a()}const Ld=1e3,vl="light",Hh="#000000",zo={top:0,bottom:0,leading:0,trailing:0};class Wh{constructor(e,t){Be(this,ti);Be(this,ni);Ne(this,ti,e),Ne(this,ni,Ls(t))}get current(){return G(this,ni).call(this),G(this,ti).call(this)}}ti=new WeakMap,ni=new WeakMap;const Yh=/\(.+\)/,Gh=new Set(["all","print","screen","and","or","not","only"]);class Kh extends Wh{constructor(e,t){let n=Yh.test(e)||e.split(/[\s,]+/).some(i=>Gh.has(i.trim()))?e:`(${e})`;const a=window.matchMedia(n);super(()=>a.matches,i=>Kf(a,"change",i))}}const Nd=Symbol("color-mode");function Xh(r){const e=new Kh("prefers-color-scheme: dark",((r==null?void 0:r())??vl)==="dark"),t=()=>(r==null?void 0:r())??(e.current?"dark":vl);return mr(Nd,t),t}function it(){return He(Nd)??(()=>vl)}var jd;(function(r){r.body_s="p",r.body_m="p",r.body_l="p",r.body_xl="p",r.heading_xs="h6",r.heading_s="h5",r.heading_m="h4",r.heading_l="h3",r.heading_xl="h2",r.heading_xxl="h1"})(jd||(jd={}));var Wa;(function(r){r[r.extra_light=100]="extra_light",r[r.thin=200]="thin",r[r.light=300]="light",r[r.regular=400]="regular",r[r.medium=500]="medium",r[r.semibold=600]="semibold",r[r.bold=700]="bold",r[r.extra_bold=800]="extra_bold",r[r.black=900]="black"})(Wa||(Wa={}));var Oi;(function(r){r.body_s="13px",r.body_m="14px",r.body_l="15px",r.body_xl="16px",r.heading_xs="14px",r.heading_s="16px",r.heading_m="18px",r.heading_l="20px",r.heading_xl="26px",r.heading_xxl="32px"})(Oi||(Oi={}));var Nn;(function(r){r.leading="start",r.center="center",r.trailing="end"})(Nn||(Nn={}));var Bd;(function(r){r.vertical="column",r.horizontal="row",r.zlayer="zstack"})(Bd||(Bd={}));var Rd;(function(r){r.top="flex-start",r.leading="flex-start",r.center="center",r.bottom="flex-end",r.trailing="flex-end"})(Rd||(Rd={}));var Ud;(function(r){r.space_between="space-between",r.space_around="space-around",r.space_evenly="space-evenly",r.start="flex-start",r.center="center",r.end="flex-end"})(Ud||(Ud={}));function ar(r){return Object.entries(r).map(([e,t])=>`${e}:${t}`).join(";")}function Ir(r){return`${r}px`}function Vd(...r){return r.map(Ir).join(" ")}function et(r,e){return e[r]??e.light}function kr(r){switch(r.type){case"fill":return navigator.userAgent.includes("Firefox")?"-moz-available":"-webkit-fill-available";case"fit":return"fit-content";case"fixed":return Ir(r.value);case"relative":return`${r.value*100}%`}}function xr(r){const{top:e,bottom:t,leading:n,trailing:a}=r??zo;return Vd(e,a,t,n)}function Mo(r){if(r.type==="alias"||r.type==="hex")return r.value;const e=r.points.map(t=>`${t.color} ${t.percent}%`).join(", ");switch(r.type){case"linear":return`linear-gradient(${r.degrees}deg, ${e})`;case"radial":return`radial-gradient(circle, ${e})`}}function st(r,e){if(e==null)return"transparent";const t=et(r,e);return Mo(t)}function Li(r,e){return e==null?"transparent":st(r,e)}function jn(r,e){const t={"--rc-border-display":"none","--rc-border-bg":"transparent","--rc-border-width":"0px"};if(e==null)return{border:"none",...t};const{width:n}=e,a=et(r,e.color),i=Mo(a);return a.type==="alias"||a.type==="hex"?{border:`${n}px solid ${i}`,...t}:{border:`${n}px solid transparent`,"--rc-border-display":"block","--rc-border-bg":i,"--rc-border-width":`${n}px`}}function Zh(r){if(r==null)return"0";const{top_leading:e,top_trailing:t,bottom_trailing:n,bottom_leading:a}=r;return Vd(e,t,n,a)}function Bn(r){switch(r==null?void 0:r.type){case void 0:case"concave":case"convex":return"0";case"rectangle":return`${Zh(r.corners)}`;case"circle":case"pill":return"9999px"}}function fa(r,e){if(e==null)return"none";const{x:t,y:n,radius:a}=e,i=st(r,e.color);return`${t}px ${n}px ${a}px ${i}`}function Ya(r){switch(r){case"fill":return"cover";case"fit":return"contain"}}function Jh(r,e){const t=et(r,e),n=String(t.url_low_res??"").trim();return{url:t.url,url_low_res:n.length>0?n:null}}function qo(r,e){const t=$h(e),n=Jh(r,e.value);return{url:n.url,url_low_res:n.url_low_res,fit:Ya(t.fit_mode),position:t.fit_mode==="fill"?"center":"top center",overlay:Li(r,e.color_overlay),mute:t.mute_audio,loop:t.loop,posterWebp:t.fallback_image?et(r,t.fallback_image).webp:null}}function Qh(r,e){return`url(${et(r,e).webp})`}function $h(r){return{fit_mode:r.fit_mode??"fill",mute_audio:r.mute_audio??!0,loop:r.loop??!0,fallback_image:r.fallback_image??null}}function ev(r,e,t){return t==null?e==null?"none":st(r,e):t.type==="color"?st(r,e??t.value):t.type==="image"?Qh(r,t.value):"transparent"}function rv(r,e){var a,i;const t=(i=(a=r==null?void 0:r.components_config)==null?void 0:a.base)==null?void 0:i.background;if(t==null)return{kind:"none"};if(t.type==="video"){const s=qo(e,t);return{kind:"video",url:s.url,url_low_res:s.url_low_res,fit:s.fit,position:s.position,overlay:s.overlay,mute:s.mute,loop:s.loop,posterWebp:s.posterWebp}}if(t.type!=="image"){const s=Rn(e,null,t),c=s["--overlay"]??"none",l={...s};return delete l["--overlay"],{kind:"style",style:l,overlay:c}}return{kind:"image",src:et(e,t.value).webp,fit:Ya(t.fit_mode),position:t.fit_mode==="fill"?"center":"top center",overlay:Li(e,t.color_overlay)}}function Rn(r,e,t){if((t==null?void 0:t.type)==="video")return{background:"transparent","--overlay":Li(r,t.color_overlay)};const n=ev(r,e,t);if((t==null?void 0:t.type)!=="image")return{background:n,"--overlay":"none"};const{fit_mode:a,color_overlay:i}=t;return{background:n,"background-size":Ya(a),"background-position":a==="fill"?"center":"top center","background-repeat":"no-repeat","--overlay":Li(r,i)}}function yl(r){return r.startsWith("RCFM:")}function Oo(r){return`RevCatPaywall-${r}`}async function tv(r){var t;if(!r.app.fonts||typeof document>"u")return;const e=[];for(const[n,a]of Object.entries(r.app.fonts)){const i=a.web;if(!i||!i.url||!i.family){console.warn(`[Font Registration] Skipping font ${n}: missing web config or required fields`);continue}try{const s=`${Oo(i.family)}-${i.style}-${i.weight}`,c=new FontFace(s,`url(${i.url})`,{weight:((t=i.weight)==null?void 0:t.toString())||"400",style:i.style||"normal"});c.family=Oo(i.family);const l=c.load().then(()=>{document.fonts.add(c),console.debug(`[Font Registration] Successfully registered font: ${s} (${i.family}, ${i.weight}, ${i.style})`)}).catch(u=>{console.warn(`[Font Registration] Failed to load font ${i.family}:`,u)});e.push(l)}catch(s){console.warn(`[Font Registration] Failed to create FontFace for ${n}:`,s)}}try{await Promise.allSettled(e),console.debug(`[Font Registration] Font registration complete. Processed ${e.length} fonts.`)}catch(n){console.warn("[Font Registration] Unexpected error during font registration:",n)}}function nv(r){return r.charAt(0).toUpperCase()+r.slice(1).toLowerCase()}const av={uppercase:r=>String(r??"").toUpperCase(),lowercase:r=>String(r??"").toLowerCase(),capitalize:r=>String(r??"").replaceAll(new RegExp("(\\p{Letter}+)","giu"),nv)},ov=/^\$?custom\./;function iv(r,e){const t=/\{\{\s*([$a-z0-9._-]+)(?:\s*\|\s*([^}]*))?\s*\}\}/gi;return r.replace(t,(n,a,i)=>{var d;const s=(d=a==null?void 0:a.trim())==null?void 0:d.replace(ov,""),c=s&&e[s];if(c===void 0)return"";const l=i==null?void 0:i.trim();if(l===void 0)return c;const u=av[l];return u?u(c):c})}function Hd(r="",e){return iv(r,e??{})}const sv={light:{type:"hex",value:Hh}};function bl(r,e){const t=et(r,e),n=Mo(t);switch(t.type){case"alias":case"hex":return{color:n};case"linear":case"radial":return{color:"transparent",background:n,"-webkit-background-clip":"text","background-clip":"text"}}}const lv=(r,e,t)=>{var g;const{font_name:n,font_size:a,font_weight:i,font_weight_int:s,horizontal_alignment:c,color:l=sv,padding:u,margin:d,size:_}=e,p=t[n??""],f=(g=p==null?void 0:p.web)==null?void 0:g.family;return ar({display:"block",width:kr(_.width),height:kr(_.height),margin:xr(d),padding:xr(u),...bl(r,l),"text-align":Nn[c]||Nn.leading,"font-weight":s??Wa[i]??Wa.regular,"font-size":Number.isInteger(Number(a))?`${a}px`:Oi[a]||Oi.body_m,"font-family":yl(n??"")?Oo(f??""):"sans-serif"})};function cv(r,e,t,n){return ar({display:"block",position:"relative",width:kr(t.width),height:kr(t.height),...Rn(r,n,null)})}const uv={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function dv(r){return r.replace(/[&<>"']/g,e=>uv[e])}const pv=["http","https","mailto","tel"];function _v(r){const t=Array.from(r).filter(n=>n.charCodeAt(0)>32).join("").toLowerCase().match(/^([a-z][a-z0-9+.-]*):/);return t&&!pv.includes(t[1])?null:r}function gv(r){if(!r)return"";const e=dv(r),t=[],n=e.replaceAll(/\\([\\`*_[\]{}()#+\-.!~])/g,(s,c)=>(t.push(c),`\0RC_ESCAPED_MARKDOWN_${t.length-1}\0`)),i=Object.values({newLine:{regexp:/\\\n/g,output:"<br/>"},bold:{regexp:/\*\*(.*?)\*\*/g,output:"<b>$1</b>"},italic:{regexp:/\*(.*?)\*/g,output:"<i>$1</i>"},strikethrough:{regexp:/~(.*?)~/g,output:"<s>$1</s>"},code:{regexp:/`(.*?)`/g,output:"<span style='font-family: monospace'>$1</span>"},link:{regexp:/\[(.*?)\]\((.*?)\)/g,output:(s,c,l)=>{const u=_v(l);return u===null?c:`<a href="${u}" target='_blank' rel='noopener noreferrer'>${c}</a>`}}}).reduce((s,{regexp:c,output:l})=>s.replaceAll(c,l),n);return t.reduce((s,c,l)=>s.replaceAll(`\0RC_ESCAPED_MARKDOWN_${l}\0`,c),i)}var fv=R('<div class="rc-gradient-border"><input class="svelte-1wwo50a"/></div>');const mv={hash:"svelte-1wwo50a",code:"input.svelte-1wwo50a {width:100%;height:100%;border:none;background:transparent;border-radius:inherit;}input.svelte-1wwo50a:focus-visible {outline:none;}input.svelte-1wwo50a::placeholder {color:var(--placeholder-color);background:var(--placeholder-background);background-clip:var(--placeholder-background-clip);-webkit-background-clip:var(--placeholder-webkit-background-clip);text-align:var(--placeholder-text-align);font-weight:var(--placeholder-font-weight);font-size:var(--placeholder-font-size);font-family:var(--placeholder-font-family);}"};function hv(r,e){he(e,!0),we(r,mv);const t=()=>Ue(me,"$variables",n),[n,a]=Je(),i=Sr(e,["$$slots","$$events","$$legacy"]);let s=te(!1),c=te(!1),l=te(!e.required);const u=gt({state:!0}),d=m(()=>({...i,...ft(u({focus:o(s),error:o(c)}),e.overrides)})),_=m(()=>o(d).placeholder_lid),p=m(()=>o(d).keyboard_type),f=m(()=>o(d).capitalize),g=m(()=>o(d).field_id),b=m(()=>o(d).reserved_attribute),y=m(()=>o(d).required),h=m(()=>o(d).size),k=m(()=>o(d).padding),x=m(()=>o(d).margin),v=m(()=>o(d).vertical_alignment),w=m(()=>o(d).border),E=m(()=>o(d).shape),I=m(()=>o(d).shadow),T=m(()=>o(d).font_name),S=m(()=>o(d).font_weight_int),A=m(()=>o(d).font_size),C=m(()=>o(d).horizontal_alignment),N=m(()=>o(d).color),q=m(()=>o(d).placeholder_font_name),j=m(()=>o(d).placeholder_font_weight_int),Z=m(()=>o(d).placeholder_font_size),O=m(()=>o(d).placeholder_horizontal_alignment),z=m(()=>o(d).placeholder_color),M=m(()=>o(d).background_color),H=m(()=>o(d).visible);function L(pe){const Ye=pe.value.trim();if(o(p)==="password"){X==null||X(o(g),Ye);return}o(b)?B?B(o(b),Ye):console.error("onReservedAttributeChanged is not set"):V==null||V(o(g),Ye)}function K(pe){F(c,!pe.validity.valid),!o(c)&&L(pe)}const re=pe=>{const Ye=pe.currentTarget;F(l,Ye.validity.valid,!0),o(l)&&L(Ye),o(c)&&K(Ye)},le=pe=>{F(s,!1),F(l,pe.currentTarget.validity.valid,!0),K(pe.currentTarget)},ne=zi(),ce=it(),Q=m(ce),{uiConfig:ie,onInputChanged:V,onSensitiveInputChanged:X,onReservedAttributeChanged:B}=xt(),oe=m(()=>o(v)==="top"?"flex-start":o(v)==="bottom"?"flex-end":null),$=m(()=>ar({display:"flex",...o(oe)?{"align-items":o(oe)}:{},width:kr(o(h).width),height:kr(o(h).height),margin:xr(o(x)),...Rn(o(Q),o(M),null),...jn(o(Q),o(w)),"border-radius":Bn(o(E)),"box-shadow":fa(o(Q),o(I))})),ue=m(()=>{var dr,Er;const pe=ie.app.fonts[o(T)??""],Ye=(dr=pe==null?void 0:pe.web)==null?void 0:dr.family,Ze=ie.app.fonts[o(q)??""],ge=(Er=Ze==null?void 0:Ze.web)==null?void 0:Er.family,Re=bl(o(Q),o(z));return ar({...o(oe)?{height:"auto"}:{},padding:xr(o(k)),...bl(o(Q),o(N)),"text-align":Nn[o(C)]||Nn.leading,"font-weight":o(S)??Wa.regular,"font-size":`${o(A)}px`,"font-family":yl(o(T)??"")?Oo(Ye??""):"sans-serif","--placeholder-color":Re.color,"--placeholder-background":Re.background,"--placeholder-background-clip":Re["background-clip"],"--placeholder-webkit-background-clip":Re["-webkit-background-clip"],"--placeholder-text-align":Nn[o(O)]||Nn.leading,"--placeholder-font-weight":o(j)??Wa.regular,"--placeholder-font-size":`${o(Z)}px`,"--placeholder-font-family":yl(o(q)??"")?Oo(ge??""):"sans-serif"})}),me=hl(),{getLocalizedString:xe}=Mi(),qe=m(()=>Hd(xe(o(_)),t())),ze=m(()=>{switch(e.keyboard_type){case"decimal":case"numeric":return"number";case"email":return"email";case"password":return"password";case"tel":return"tel";case"text":return"text";case"url":return"url"}}),De=m(()=>o(p)==="password"?"text":o(p)),be=m(()=>o(H)!==!1);ne&&ir(()=>{ne.updateSatisfaction(!o(be)||o(l))});var Ae=Se(),Fe=se(Ae);{var Ee=pe=>{var Ye=fv(),Ze=D(Ye);Ze.__input=re,Y(()=>{Le(Ye,o($)),ke(Ze,"type",o(ze)),ke(Ze,"placeholder",o(qe)),Ze.required=o(y),ke(Ze,"inputmode",o(De)),ke(Ze,"autocapitalize",o(f)),Le(Ze,o(ue))}),Lr("focus",Ze,()=>F(s,!0)),Lr("blur",Ze,le),P(pe,Ye)};W(Fe,pe=>{o(be)&&pe(Ee)})}P(r,Ae),ve(),a()}Yt(["input"]);const Wd=Symbol("inputChoice");function Yd(r,e,t=!1,n=null,a=[]){const i=yr(new Set(a)),s=Ot(i,d=>(n==null?void 0:n.max)==null?!1:d.size>=n.max),c=Ot(i,d=>{const _=d.size;return!t&&n==null?!0:t&&n==null?_>=1:t&&n!=null?n.min===n.max?_===n.min:_>=n.min&&_<=n.max:!0});let l=!1;return s.subscribe(d=>l=d),{fieldId:r,mode:e,required:t,selectionRange:n,selectedOptionIds:i,selectOption:d=>{i.update(_=>{if(e==="single")return new Set([d]);const p=new Set(_);return p.has(d)?p.delete(d):l||p.add(d),p})},isAtMax:s,isSatisfied:c}}function Gd(r){mr(Wd,r)}function vv(){return He(Wd)}function yv(r,e){he(e,!0);const t=Sr(e,["$$slots","$$events","$$legacy"]),{stack:n,field_id:a,required:i=!1,selection_range:s=null}=t,l=zd()[a]??[],u=Yd(a,"multiple",i,s,l);Gd(u);const d=zi();if(d){const _=u.isSatisfied.subscribe(p=>{d.updateSatisfaction(p)});qt(_)}jo(r,{get nodeData(){return n}}),ve()}var bv=R('<div class="option-wrapper svelte-qo8e2i"><!></div>');const kv={hash:"svelte-qo8e2i",code:".option-wrapper.svelte-qo8e2i {display:contents;}"};function wv(r,e){he(e,!0),we(r,kv);const t=()=>Ue(p,"$isDisabled",n),[n,a]=Je(),i=Sr(e,["$$slots","$$events","$$legacy"]),{stack:s,option_id:c}=i,{onButtonAction:l,onInputChanged:u}=xt(),d=vv(),_=d?Ot(d.selectedOptionIds,v=>v.has(c)):at(!1);Di(_);const p=d?Ot([_,d.isAtMax],([v,w])=>!v&&w):at(!1),f=yr(!1);Eh(f);const g=()=>f.set(!0),b=()=>f.set(!1),y=()=>{var E;if(t())return;const v=(E=e.triggers)==null?void 0:E.on_press;d==null||d.selectOption(c);const w=d==null?void 0:d.fieldId;w&&(u==null||u(w,c,v)),l({type:"workflow"},v)},h=m(()=>t()?{"pointer-events":"none",opacity:"0.4"}:void 0);var k=bv(),x=D(k);qr(x,gr(()=>s,{onclick:y,get style(){return o(h)}})),Lr("mouseenter",k,g),Lr("mouseleave",k,b),P(r,k),ve(),a()}function Pv(r,e){he(e,!0);const t=Sr(e,["$$slots","$$events","$$legacy"]),{stack:n,field_id:a,required:i=!1,selection_range:s=null}=t,l=zd()[a]??[],u=Yd(a,"single",i,s,l);Gd(u);const d=zi();if(d){const _=u.isSatisfied.subscribe(p=>{d.updateSatisfaction(p)});qt(_)}jo(r,{get nodeData(){return n}}),ve()}function xv(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}var Ga={},kl,Kd;function Ev(){return Kd||(Kd=1,kl=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then}),kl}var wl={},Un={},Xd;function ma(){if(Xd)return Un;Xd=1;let r;const e=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];return Un.getSymbolSize=function(n){if(!n)throw new Error('"version" cannot be null or undefined');if(n<1||n>40)throw new Error('"version" should be in range from 1 to 40');return n*4+17},Un.getSymbolTotalCodewords=function(n){return e[n]},Un.getBCHDigit=function(t){let n=0;for(;t!==0;)n++,t>>>=1;return n},Un.setToSJISFunction=function(n){if(typeof n!="function")throw new Error('"toSJISFunc" is not a valid function.');r=n},Un.isKanjiModeEnabled=function(){return typeof r<"u"},Un.toSJIS=function(n){return r(n)},Un}var Pl={},Zd;function xl(){return Zd||(Zd=1,function(r){r.L={bit:1},r.M={bit:0},r.Q={bit:3},r.H={bit:2};function e(t){if(typeof t!="string")throw new Error("Param is not a string");switch(t.toLowerCase()){case"l":case"low":return r.L;case"m":case"medium":return r.M;case"q":case"quartile":return r.Q;case"h":case"high":return r.H;default:throw new Error("Unknown EC Level: "+t)}}r.isValid=function(n){return n&&typeof n.bit<"u"&&n.bit>=0&&n.bit<4},r.from=function(n,a){if(r.isValid(n))return n;try{return e(n)}catch{return a}}}(Pl)),Pl}var El,Jd;function Sv(){if(Jd)return El;Jd=1;function r(){this.buffer=[],this.length=0}return r.prototype={get:function(e){const t=Math.floor(e/8);return(this.buffer[t]>>>7-e%8&1)===1},put:function(e,t){for(let n=0;n<t;n++)this.putBit((e>>>t-n-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function(e){const t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}},El=r,El}var Sl,Qd;function Iv(){if(Qd)return Sl;Qd=1;function r(e){if(!e||e<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=e,this.data=new Uint8Array(e*e),this.reservedBit=new Uint8Array(e*e)}return r.prototype.set=function(e,t,n,a){const i=e*this.size+t;this.data[i]=n,a&&(this.reservedBit[i]=!0)},r.prototype.get=function(e,t){return this.data[e*this.size+t]},r.prototype.xor=function(e,t,n){this.data[e*this.size+t]^=n},r.prototype.isReserved=function(e,t){return this.reservedBit[e*this.size+t]},Sl=r,Sl}var Il={},$d;function Cv(){return $d||($d=1,function(r){const e=ma().getSymbolSize;r.getRowColCoords=function(n){if(n===1)return[];const a=Math.floor(n/7)+2,i=e(n),s=i===145?26:Math.ceil((i-13)/(2*a-2))*2,c=[i-7];for(let l=1;l<a-1;l++)c[l]=c[l-1]-s;return c.push(6),c.reverse()},r.getPositions=function(n){const a=[],i=r.getRowColCoords(n),s=i.length;for(let c=0;c<s;c++)for(let l=0;l<s;l++)c===0&&l===0||c===0&&l===s-1||c===s-1&&l===0||a.push([i[c],i[l]]);return a}}(Il)),Il}var Cl={},ep;function Tv(){if(ep)return Cl;ep=1;const r=ma().getSymbolSize,e=7;return Cl.getPositions=function(n){const a=r(n);return[[0,0],[a-e,0],[0,a-e]]},Cl}var Tl={},rp;function Dv(){return rp||(rp=1,function(r){r.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};const e={N1:3,N2:3,N3:40,N4:10};r.isValid=function(a){return a!=null&&a!==""&&!isNaN(a)&&a>=0&&a<=7},r.from=function(a){return r.isValid(a)?parseInt(a,10):void 0},r.getPenaltyN1=function(a){const i=a.size;let s=0,c=0,l=0,u=null,d=null;for(let _=0;_<i;_++){c=l=0,u=d=null;for(let p=0;p<i;p++){let f=a.get(_,p);f===u?c++:(c>=5&&(s+=e.N1+(c-5)),u=f,c=1),f=a.get(p,_),f===d?l++:(l>=5&&(s+=e.N1+(l-5)),d=f,l=1)}c>=5&&(s+=e.N1+(c-5)),l>=5&&(s+=e.N1+(l-5))}return s},r.getPenaltyN2=function(a){const i=a.size;let s=0;for(let c=0;c<i-1;c++)for(let l=0;l<i-1;l++){const u=a.get(c,l)+a.get(c,l+1)+a.get(c+1,l)+a.get(c+1,l+1);(u===4||u===0)&&s++}return s*e.N2},r.getPenaltyN3=function(a){const i=a.size;let s=0,c=0,l=0;for(let u=0;u<i;u++){c=l=0;for(let d=0;d<i;d++)c=c<<1&2047|a.get(u,d),d>=10&&(c===1488||c===93)&&s++,l=l<<1&2047|a.get(d,u),d>=10&&(l===1488||l===93)&&s++}return s*e.N3},r.getPenaltyN4=function(a){let i=0;const s=a.data.length;for(let l=0;l<s;l++)i+=a.data[l];return Math.abs(Math.ceil(i*100/s/5)-10)*e.N4};function t(n,a,i){switch(n){case r.Patterns.PATTERN000:return(a+i)%2===0;case r.Patterns.PATTERN001:return a%2===0;case r.Patterns.PATTERN010:return i%3===0;case r.Patterns.PATTERN011:return(a+i)%3===0;case r.Patterns.PATTERN100:return(Math.floor(a/2)+Math.floor(i/3))%2===0;case r.Patterns.PATTERN101:return a*i%2+a*i%3===0;case r.Patterns.PATTERN110:return(a*i%2+a*i%3)%2===0;case r.Patterns.PATTERN111:return(a*i%3+(a+i)%2)%2===0;default:throw new Error("bad maskPattern:"+n)}}r.applyMask=function(a,i){const s=i.size;for(let c=0;c<s;c++)for(let l=0;l<s;l++)i.isReserved(l,c)||i.xor(l,c,t(a,l,c))},r.getBestMask=function(a,i){const s=Object.keys(r.Patterns).length;let c=0,l=1/0;for(let u=0;u<s;u++){i(u),r.applyMask(u,a);const d=r.getPenaltyN1(a)+r.getPenaltyN2(a)+r.getPenaltyN3(a)+r.getPenaltyN4(a);r.applyMask(u,a),d<l&&(l=d,c=u)}return c}}(Tl)),Tl}var Ni={},tp;function np(){if(tp)return Ni;tp=1;const r=xl(),e=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],t=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];return Ni.getBlocksCount=function(a,i){switch(i){case r.L:return e[(a-1)*4+0];case r.M:return e[(a-1)*4+1];case r.Q:return e[(a-1)*4+2];case r.H:return e[(a-1)*4+3];default:return}},Ni.getTotalCodewordsCount=function(a,i){switch(i){case r.L:return t[(a-1)*4+0];case r.M:return t[(a-1)*4+1];case r.Q:return t[(a-1)*4+2];case r.H:return t[(a-1)*4+3];default:return}},Ni}var Dl={},Lo={},ap;function Av(){if(ap)return Lo;ap=1;const r=new Uint8Array(512),e=new Uint8Array(256);return function(){let n=1;for(let a=0;a<255;a++)r[a]=n,e[n]=a,n<<=1,n&256&&(n^=285);for(let a=255;a<512;a++)r[a]=r[a-255]}(),Lo.log=function(n){if(n<1)throw new Error("log("+n+")");return e[n]},Lo.exp=function(n){return r[n]},Lo.mul=function(n,a){return n===0||a===0?0:r[e[n]+e[a]]},Lo}var op;function Fv(){return op||(op=1,function(r){const e=Av();r.mul=function(n,a){const i=new Uint8Array(n.length+a.length-1);for(let s=0;s<n.length;s++)for(let c=0;c<a.length;c++)i[s+c]^=e.mul(n[s],a[c]);return i},r.mod=function(n,a){let i=new Uint8Array(n);for(;i.length-a.length>=0;){const s=i[0];for(let l=0;l<a.length;l++)i[l]^=e.mul(a[l],s);let c=0;for(;c<i.length&&i[c]===0;)c++;i=i.slice(c)}return i},r.generateECPolynomial=function(n){let a=new Uint8Array([1]);for(let i=0;i<n;i++)a=r.mul(a,new Uint8Array([1,e.exp(i)]));return a}}(Dl)),Dl}var Al,ip;function zv(){if(ip)return Al;ip=1;const r=Fv();function e(t){this.genPoly=void 0,this.degree=t,this.degree&&this.initialize(this.degree)}return e.prototype.initialize=function(n){this.degree=n,this.genPoly=r.generateECPolynomial(this.degree)},e.prototype.encode=function(n){if(!this.genPoly)throw new Error("Encoder not initialized");const a=new Uint8Array(n.length+this.degree);a.set(n);const i=r.mod(a,this.genPoly),s=this.degree-i.length;if(s>0){const c=new Uint8Array(this.degree);return c.set(i,s),c}return i},Al=e,Al}var Fl={},zl={},Ml={},sp;function lp(){return sp||(sp=1,Ml.isValid=function(e){return!isNaN(e)&&e>=1&&e<=40}),Ml}var Kt={},cp;function up(){if(cp)return Kt;cp=1;const r="[0-9]+",e="[A-Z $%*+\\-./:]+";let t="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";t=t.replace(/u/g,"\\u");const n="(?:(?![A-Z0-9 $%*+\\-./:]|"+t+`)(?:.|[\r
8
- ]))+`;Kt.KANJI=new RegExp(t,"g"),Kt.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),Kt.BYTE=new RegExp(n,"g"),Kt.NUMERIC=new RegExp(r,"g"),Kt.ALPHANUMERIC=new RegExp(e,"g");const a=new RegExp("^"+t+"$"),i=new RegExp("^"+r+"$"),s=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");return Kt.testKanji=function(l){return a.test(l)},Kt.testNumeric=function(l){return i.test(l)},Kt.testAlphanumeric=function(l){return s.test(l)},Kt}var dp;function ha(){return dp||(dp=1,function(r){const e=lp(),t=up();r.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},r.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},r.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},r.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},r.MIXED={bit:-1},r.getCharCountIndicator=function(i,s){if(!i.ccBits)throw new Error("Invalid mode: "+i);if(!e.isValid(s))throw new Error("Invalid version: "+s);return s>=1&&s<10?i.ccBits[0]:s<27?i.ccBits[1]:i.ccBits[2]},r.getBestModeForData=function(i){return t.testNumeric(i)?r.NUMERIC:t.testAlphanumeric(i)?r.ALPHANUMERIC:t.testKanji(i)?r.KANJI:r.BYTE},r.toString=function(i){if(i&&i.id)return i.id;throw new Error("Invalid mode")},r.isValid=function(i){return i&&i.bit&&i.ccBits};function n(a){if(typeof a!="string")throw new Error("Param is not a string");switch(a.toLowerCase()){case"numeric":return r.NUMERIC;case"alphanumeric":return r.ALPHANUMERIC;case"kanji":return r.KANJI;case"byte":return r.BYTE;default:throw new Error("Unknown mode: "+a)}}r.from=function(i,s){if(r.isValid(i))return i;try{return n(i)}catch{return s}}}(zl)),zl}var pp;function Mv(){return pp||(pp=1,function(r){const e=ma(),t=np(),n=xl(),a=ha(),i=lp(),s=7973,c=e.getBCHDigit(s);function l(p,f,g){for(let b=1;b<=40;b++)if(f<=r.getCapacity(b,g,p))return b}function u(p,f){return a.getCharCountIndicator(p,f)+4}function d(p,f){let g=0;return p.forEach(function(b){const y=u(b.mode,f);g+=y+b.getBitsLength()}),g}function _(p,f){for(let g=1;g<=40;g++)if(d(p,g)<=r.getCapacity(g,f,a.MIXED))return g}r.from=function(f,g){return i.isValid(f)?parseInt(f,10):g},r.getCapacity=function(f,g,b){if(!i.isValid(f))throw new Error("Invalid QR Code version");typeof b>"u"&&(b=a.BYTE);const y=e.getSymbolTotalCodewords(f),h=t.getTotalCodewordsCount(f,g),k=(y-h)*8;if(b===a.MIXED)return k;const x=k-u(b,f);switch(b){case a.NUMERIC:return Math.floor(x/10*3);case a.ALPHANUMERIC:return Math.floor(x/11*2);case a.KANJI:return Math.floor(x/13);case a.BYTE:default:return Math.floor(x/8)}},r.getBestVersionForData=function(f,g){let b;const y=n.from(g,n.M);if(Array.isArray(f)){if(f.length>1)return _(f,y);if(f.length===0)return 1;b=f[0]}else b=f;return l(b.mode,b.getLength(),y)},r.getEncodedBits=function(f){if(!i.isValid(f)||f<7)throw new Error("Invalid QR Code version");let g=f<<12;for(;e.getBCHDigit(g)-c>=0;)g^=s<<e.getBCHDigit(g)-c;return f<<12|g}}(Fl)),Fl}var ql={},_p;function qv(){if(_p)return ql;_p=1;const r=ma(),e=1335,t=21522,n=r.getBCHDigit(e);return ql.getEncodedBits=function(i,s){const c=i.bit<<3|s;let l=c<<10;for(;r.getBCHDigit(l)-n>=0;)l^=e<<r.getBCHDigit(l)-n;return(c<<10|l)^t},ql}var Ol={},Ll,gp;function Ov(){if(gp)return Ll;gp=1;const r=ha();function e(t){this.mode=r.NUMERIC,this.data=t.toString()}return e.getBitsLength=function(n){return 10*Math.floor(n/3)+(n%3?n%3*3+1:0)},e.prototype.getLength=function(){return this.data.length},e.prototype.getBitsLength=function(){return e.getBitsLength(this.data.length)},e.prototype.write=function(n){let a,i,s;for(a=0;a+3<=this.data.length;a+=3)i=this.data.substr(a,3),s=parseInt(i,10),n.put(s,10);const c=this.data.length-a;c>0&&(i=this.data.substr(a),s=parseInt(i,10),n.put(s,c*3+1))},Ll=e,Ll}var Nl,fp;function Lv(){if(fp)return Nl;fp=1;const r=ha(),e=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function t(n){this.mode=r.ALPHANUMERIC,this.data=n}return t.getBitsLength=function(a){return 11*Math.floor(a/2)+6*(a%2)},t.prototype.getLength=function(){return this.data.length},t.prototype.getBitsLength=function(){return t.getBitsLength(this.data.length)},t.prototype.write=function(a){let i;for(i=0;i+2<=this.data.length;i+=2){let s=e.indexOf(this.data[i])*45;s+=e.indexOf(this.data[i+1]),a.put(s,11)}this.data.length%2&&a.put(e.indexOf(this.data[i]),6)},Nl=t,Nl}var jl,mp;function Nv(){if(mp)return jl;mp=1;const r=ha();function e(t){this.mode=r.BYTE,typeof t=="string"?this.data=new TextEncoder().encode(t):this.data=new Uint8Array(t)}return e.getBitsLength=function(n){return n*8},e.prototype.getLength=function(){return this.data.length},e.prototype.getBitsLength=function(){return e.getBitsLength(this.data.length)},e.prototype.write=function(t){for(let n=0,a=this.data.length;n<a;n++)t.put(this.data[n],8)},jl=e,jl}var Bl,hp;function jv(){if(hp)return Bl;hp=1;const r=ha(),e=ma();function t(n){this.mode=r.KANJI,this.data=n}return t.getBitsLength=function(a){return a*13},t.prototype.getLength=function(){return this.data.length},t.prototype.getBitsLength=function(){return t.getBitsLength(this.data.length)},t.prototype.write=function(n){let a;for(a=0;a<this.data.length;a++){let i=e.toSJIS(this.data[a]);if(i>=33088&&i<=40956)i-=33088;else if(i>=57408&&i<=60351)i-=49472;else throw new Error("Invalid SJIS character: "+this.data[a]+`
9
- Make sure your charset is UTF-8`);i=(i>>>8&255)*192+(i&255),n.put(i,13)}},Bl=t,Bl}var Rl={exports:{}},vp;function Bv(){return vp||(vp=1,function(r){var e={single_source_shortest_paths:function(t,n,a){var i={},s={};s[n]=0;var c=e.PriorityQueue.make();c.push(n,0);for(var l,u,d,_,p,f,g,b,y;!c.empty();){l=c.pop(),u=l.value,_=l.cost,p=t[u]||{};for(d in p)p.hasOwnProperty(d)&&(f=p[d],g=_+f,b=s[d],y=typeof s[d]>"u",(y||b>g)&&(s[d]=g,c.push(d,g),i[d]=u))}if(typeof a<"u"&&typeof s[a]>"u"){var h=["Could not find a path from ",n," to ",a,"."].join("");throw new Error(h)}return i},extract_shortest_path_from_predecessor_list:function(t,n){for(var a=[],i=n;i;)a.push(i),t[i],i=t[i];return a.reverse(),a},find_path:function(t,n,a){var i=e.single_source_shortest_paths(t,n,a);return e.extract_shortest_path_from_predecessor_list(i,a)},PriorityQueue:{make:function(t){var n=e.PriorityQueue,a={},i;t=t||{};for(i in n)n.hasOwnProperty(i)&&(a[i]=n[i]);return a.queue=[],a.sorter=t.sorter||n.default_sorter,a},default_sorter:function(t,n){return t.cost-n.cost},push:function(t,n){var a={value:t,cost:n};this.queue.push(a),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return this.queue.length===0}}};r.exports=e}(Rl)),Rl.exports}var yp;function Rv(){return yp||(yp=1,function(r){const e=ha(),t=Ov(),n=Lv(),a=Nv(),i=jv(),s=up(),c=ma(),l=Bv();function u(h){return unescape(encodeURIComponent(h)).length}function d(h,k,x){const v=[];let w;for(;(w=h.exec(x))!==null;)v.push({data:w[0],index:w.index,mode:k,length:w[0].length});return v}function _(h){const k=d(s.NUMERIC,e.NUMERIC,h),x=d(s.ALPHANUMERIC,e.ALPHANUMERIC,h);let v,w;return c.isKanjiModeEnabled()?(v=d(s.BYTE,e.BYTE,h),w=d(s.KANJI,e.KANJI,h)):(v=d(s.BYTE_KANJI,e.BYTE,h),w=[]),k.concat(x,v,w).sort(function(I,T){return I.index-T.index}).map(function(I){return{data:I.data,mode:I.mode,length:I.length}})}function p(h,k){switch(k){case e.NUMERIC:return t.getBitsLength(h);case e.ALPHANUMERIC:return n.getBitsLength(h);case e.KANJI:return i.getBitsLength(h);case e.BYTE:return a.getBitsLength(h)}}function f(h){return h.reduce(function(k,x){const v=k.length-1>=0?k[k.length-1]:null;return v&&v.mode===x.mode?(k[k.length-1].data+=x.data,k):(k.push(x),k)},[])}function g(h){const k=[];for(let x=0;x<h.length;x++){const v=h[x];switch(v.mode){case e.NUMERIC:k.push([v,{data:v.data,mode:e.ALPHANUMERIC,length:v.length},{data:v.data,mode:e.BYTE,length:v.length}]);break;case e.ALPHANUMERIC:k.push([v,{data:v.data,mode:e.BYTE,length:v.length}]);break;case e.KANJI:k.push([v,{data:v.data,mode:e.BYTE,length:u(v.data)}]);break;case e.BYTE:k.push([{data:v.data,mode:e.BYTE,length:u(v.data)}])}}return k}function b(h,k){const x={},v={start:{}};let w=["start"];for(let E=0;E<h.length;E++){const I=h[E],T=[];for(let S=0;S<I.length;S++){const A=I[S],C=""+E+S;T.push(C),x[C]={node:A,lastCount:0},v[C]={};for(let N=0;N<w.length;N++){const q=w[N];x[q]&&x[q].node.mode===A.mode?(v[q][C]=p(x[q].lastCount+A.length,A.mode)-p(x[q].lastCount,A.mode),x[q].lastCount+=A.length):(x[q]&&(x[q].lastCount=A.length),v[q][C]=p(A.length,A.mode)+4+e.getCharCountIndicator(A.mode,k))}}w=T}for(let E=0;E<w.length;E++)v[w[E]].end=0;return{map:v,table:x}}function y(h,k){let x;const v=e.getBestModeForData(h);if(x=e.from(k,v),x!==e.BYTE&&x.bit<v.bit)throw new Error('"'+h+'" cannot be encoded with mode '+e.toString(x)+`.
10
- Suggested mode is: `+e.toString(v));switch(x===e.KANJI&&!c.isKanjiModeEnabled()&&(x=e.BYTE),x){case e.NUMERIC:return new t(h);case e.ALPHANUMERIC:return new n(h);case e.KANJI:return new i(h);case e.BYTE:return new a(h)}}r.fromArray=function(k){return k.reduce(function(x,v){return typeof v=="string"?x.push(y(v,null)):v.data&&x.push(y(v.data,v.mode)),x},[])},r.fromString=function(k,x){const v=_(k,c.isKanjiModeEnabled()),w=g(v),E=b(w,x),I=l.find_path(E.map,"start","end"),T=[];for(let S=1;S<I.length-1;S++)T.push(E.table[I[S]].node);return r.fromArray(f(T))},r.rawSplit=function(k){return r.fromArray(_(k,c.isKanjiModeEnabled()))}}(Ol)),Ol}var bp;function Uv(){if(bp)return wl;bp=1;const r=ma(),e=xl(),t=Sv(),n=Iv(),a=Cv(),i=Tv(),s=Dv(),c=np(),l=zv(),u=Mv(),d=qv(),_=ha(),p=Rv();function f(E,I){const T=E.size,S=i.getPositions(I);for(let A=0;A<S.length;A++){const C=S[A][0],N=S[A][1];for(let q=-1;q<=7;q++)if(!(C+q<=-1||T<=C+q))for(let j=-1;j<=7;j++)N+j<=-1||T<=N+j||(q>=0&&q<=6&&(j===0||j===6)||j>=0&&j<=6&&(q===0||q===6)||q>=2&&q<=4&&j>=2&&j<=4?E.set(C+q,N+j,!0,!0):E.set(C+q,N+j,!1,!0))}}function g(E){const I=E.size;for(let T=8;T<I-8;T++){const S=T%2===0;E.set(T,6,S,!0),E.set(6,T,S,!0)}}function b(E,I){const T=a.getPositions(I);for(let S=0;S<T.length;S++){const A=T[S][0],C=T[S][1];for(let N=-2;N<=2;N++)for(let q=-2;q<=2;q++)N===-2||N===2||q===-2||q===2||N===0&&q===0?E.set(A+N,C+q,!0,!0):E.set(A+N,C+q,!1,!0)}}function y(E,I){const T=E.size,S=u.getEncodedBits(I);let A,C,N;for(let q=0;q<18;q++)A=Math.floor(q/3),C=q%3+T-8-3,N=(S>>q&1)===1,E.set(A,C,N,!0),E.set(C,A,N,!0)}function h(E,I,T){const S=E.size,A=d.getEncodedBits(I,T);let C,N;for(C=0;C<15;C++)N=(A>>C&1)===1,C<6?E.set(C,8,N,!0):C<8?E.set(C+1,8,N,!0):E.set(S-15+C,8,N,!0),C<8?E.set(8,S-C-1,N,!0):C<9?E.set(8,15-C-1+1,N,!0):E.set(8,15-C-1,N,!0);E.set(S-8,8,1,!0)}function k(E,I){const T=E.size;let S=-1,A=T-1,C=7,N=0;for(let q=T-1;q>0;q-=2)for(q===6&&q--;;){for(let j=0;j<2;j++)if(!E.isReserved(A,q-j)){let Z=!1;N<I.length&&(Z=(I[N]>>>C&1)===1),E.set(A,q-j,Z),C--,C===-1&&(N++,C=7)}if(A+=S,A<0||T<=A){A-=S,S=-S;break}}}function x(E,I,T){const S=new t;T.forEach(function(j){S.put(j.mode.bit,4),S.put(j.getLength(),_.getCharCountIndicator(j.mode,E)),j.write(S)});const A=r.getSymbolTotalCodewords(E),C=c.getTotalCodewordsCount(E,I),N=(A-C)*8;for(S.getLengthInBits()+4<=N&&S.put(0,4);S.getLengthInBits()%8!==0;)S.putBit(0);const q=(N-S.getLengthInBits())/8;for(let j=0;j<q;j++)S.put(j%2?17:236,8);return v(S,E,I)}function v(E,I,T){const S=r.getSymbolTotalCodewords(I),A=c.getTotalCodewordsCount(I,T),C=S-A,N=c.getBlocksCount(I,T),q=S%N,j=N-q,Z=Math.floor(S/N),O=Math.floor(C/N),z=O+1,M=Z-O,H=new l(M);let L=0;const K=new Array(N),re=new Array(N);let le=0;const ne=new Uint8Array(E.buffer);for(let X=0;X<N;X++){const B=X<j?O:z;K[X]=ne.slice(L,L+B),re[X]=H.encode(K[X]),L+=B,le=Math.max(le,B)}const ce=new Uint8Array(S);let Q=0,ie,V;for(ie=0;ie<le;ie++)for(V=0;V<N;V++)ie<K[V].length&&(ce[Q++]=K[V][ie]);for(ie=0;ie<M;ie++)for(V=0;V<N;V++)ce[Q++]=re[V][ie];return ce}function w(E,I,T,S){let A;if(Array.isArray(E))A=p.fromArray(E);else if(typeof E=="string"){let Z=I;if(!Z){const O=p.rawSplit(E);Z=u.getBestVersionForData(O,T)}A=p.fromString(E,Z||40)}else throw new Error("Invalid data");const C=u.getBestVersionForData(A,T);if(!C)throw new Error("The amount of data is too big to be stored in a QR Code");if(!I)I=C;else if(I<C)throw new Error(`
7
+ `;var Dh=R('<div style="color:var(--rc-color-primary);"><!></div>');function Ed(r){var e=Dh(),t=D(e);vn(t,()=>Th),E(r,e)}function Ah(r,e){var t=Qe,n=Ge,a=r();return{subscribe:br(a,s=>{var c=a!==r(),l,u=Ge,d=Qe;Xr(n),Et(t);try{l=Gf(()=>{oa(()=>{const p=r();c&&s(p)})})}finally{Xr(u),Et(d)}return c=!0,l}).subscribe}}function ga(r){let e;const t=Ls(a=>{let i=!1;const s=r.subscribe(c=>{e=c,i&&a()});return i=!0,s});function n(){return ki()?(t(),e):Ao(r)}return"set"in r?{get current(){return n()},set current(a){r.set(a)}}:{get current(){return n()}}}const Sd=Symbol("hover");function Fh(r){mr(Sd,r)}function Mh(){return He(Sd)??it(!1)}const _l=Symbol("packageInfo");function Id(r){mr(_l,r)}function zh(){const r=He(_l);if(r===void 0)throw new Error("PackageInfo context not found");return r}const qh=it(void 0);function Oh(){return He(_l)??qh}const Cd=Symbol("paywall");function Td(r){mr(Cd,r)}function It(){const r=He(Cd);if(r===void 0)throw new Error("Paywall context not found");return r}const Dd=Symbol("selected");function Fi(r){mr(Dd,r)}function Lh(){return He(Dd)??it(!1)}const Mi={Boolean:"boolean",Integer:"integer",Double:"double",String:"string"},Nh="$value",jh=1e-10;class Ad{constructor(e={}){Be(this,Jr);Be(this,ai,br(0));Be(this,Qn,{});Be(this,pn,{});Be(this,Ca,{});Be(this,oo,null);Be(this,io,null);re(this,"subscribe");this.subscribe=W(this,ai).subscribe,pr(this,Jr,Uc).call(this,e)}registerDeclarations(e){let t=!1;for(const[n,a]of Object.entries(e)){if(Object.hasOwn(W(this,Qn),n))continue;const i=pr(this,Jr,Ss).call(this,a.default,a.type);i!==void 0&&(W(this,Qn)[n]=i,W(this,Ca)[n]=a.type,Object.hasOwn(W(this,pn),n)||(W(this,pn)[n]=i,t=!0))}t&&pr(this,Jr,Is).call(this)}reset(e){Ne(this,Qn,{}),Ne(this,pn,{}),Ne(this,Ca,{}),Ne(this,oo,null),Ne(this,io,null),pr(this,Jr,Uc).call(this,e),pr(this,Jr,Is).call(this)}applyUpdates(e,t){let n=!1;for(const a of e){const i=a.to===Nh?t:a.to;if(i===void 0)continue;const s=pr(this,Jr,Vc).call(this,i,a.set);s!==void 0&&W(this,pn)[a.set]!==s&&(W(this,pn)[a.set]=s,n=!0)}n&&pr(this,Jr,Is).call(this)}get values(){return W(this,oo)??Ne(this,oo,{...W(this,pn)})}get defaults(){return W(this,io)??Ne(this,io,{...W(this,Qn)})}matchesDeclaredType(e,t){return pr(this,Jr,Vc).call(this,e,t)!==void 0}}ai=new WeakMap,Qn=new WeakMap,pn=new WeakMap,Ca=new WeakMap,oo=new WeakMap,io=new WeakMap,Jr=new WeakSet,Uc=function(e){for(const[t,n]of Object.entries(e)){const a=pr(this,Jr,Ss).call(this,n.default,n.type);a!==void 0&&(W(this,Qn)[t]=a,W(this,pn)[t]=a,W(this,Ca)[t]=n.type)}},Vc=function(e,t){return pr(this,Jr,Ss).call(this,e,W(this,Ca)[t])},Ss=function(e,t){if(t!==void 0&&(t===Mi.String&&typeof e=="string"||t===Mi.Boolean&&typeof e=="boolean"||t===Mi.Double&&typeof e=="number"||t===Mi.Integer&&typeof e=="number"&&Number.isInteger(e)))return e},Is=function(){Ne(this,oo,null),Ne(this,io,null),W(this,ai).update(e=>e+1)};const Fd=Symbol("paywall-state");function Md(r){mr(Fd,r)}function zi(){return He(Fd)}function Bh(){return zi()??it(0)}const gl=Symbol("variables");function fl(r){mr(gl,r)}function ml(){const r=He(gl);if(r===void 0)throw new Error("Variables context not found");return r}const Rh=it(void 0);function hl(){return He(gl)??Rh}function ht(r={}){const e=ga(Lh()),t=r.hover?ga(Mh()):null,n=ga(Oh()),a=ga(It().selectedPackageId),i=ga(hl()),s=r.state?zi():void 0,c=r.state?ga(Bh()):null;return l=>{c==null||c.current;const u={selectedPackageId:a.current,packageInfo:n.current,variables:i.current??{},selected:e.current,...l};return t&&(u.hover=t.current),r.state&&(u.stateValues=(s==null?void 0:s.values)??{},u.stateDefaults=(s==null?void 0:s.defaults)??{}),u}}const zd=Symbol("inputValidation"),qd=Symbol("initialInputSelections");function Uh(r=!0){const e=br(r);return{isSatisfied:e,updateSatisfaction:n=>{e.set(n)}}}function Vh(r){mr(zd,r)}function qi(){return He(zd)}function Hh(r){mr(qd,r)}function Od(){return He(qd)??{}}const Ld=Symbol("localization");function Wh(r){const t={getLocalizedString:n=>{var d,p;if(!n)return"";const{selectedLocale:a,defaultLocale:i,localizations:s}=r(),l=(d=s[a??i])==null?void 0:d[n],u=(p=s[i])==null?void 0:p[n];return l??u}};return mr(Ld,t),t}function Oi(){const r=He(Ld);if(r===void 0)throw new Error("Localization context not found");return r}const Nd={StateCondition:"state_condition"};function Yh(r){switch(r.type){case"stack":{const e=[...r.components];return r.badge&&e.push(r.badge.stack),e}case"button":case"purchase_button":case"redemption_button":return[r.stack];case"carousel":return r.pages;case"countdown":{const e=[r.countdown_stack];return r.end_stack&&e.push(r.end_stack),e}case"footer":return[r.stack];case"input_multiple_choice":case"input_single_choice":case"input_option":return[r.stack];case"tabs":return[r.control.stack,...r.tabs];case"tab":return[r.stack];case"tab_control_button":return[r.stack];case"timeline":return r.items.flatMap(e=>{const t=[e.icon,e.title];return e.description&&t.push(e.description),t});case"express_purchase_button":return[r.wallet_unknown_stack,r.wallet_available_stack,r.wallet_unavailable_stack];default:return[]}}function Li(r,e){const t=[r];for(;t.length>0;){const n=t.pop();if(n.type==="package"&&e(n))return n;const a=Yh(n);for(let i=a.length-1;i>=0;i--)t.push(a[i])}}function Gh({stack:r,sticky_footer:e}){const t=Li(r,a=>a.is_selected_by_default);if(t!==void 0)return t.package_id;const n=Li(r,()=>!0);if(n!==void 0)return n.package_id;if(e!=null){const a=Li(e,s=>s.is_selected_by_default);if(a!==void 0)return a.package_id;const i=Li(e,()=>!0);if(i!==void 0)return i.package_id}}const vt=(r,e)=>{if(!e)return{};let t={};for(const n of e)if(n.conditions.every(a=>Kh(a,r))){const a={...n.properties},i=n.conditions.some(s=>s.type===Nd.StateCondition);(a.visible===null||a.visible===!0&&!i)&&delete a.visible,t={...t,...a}}return t},Kh=(r,e)=>{var t,n,a;if(r.type==="selected")return!!e.selected;if(r.type==="hover")return!!e.hover;if(r.type==="focus")return!!e.focus;if(r.type==="error")return!!e.error;if(r.type==="multiple_intro_offers")return!1;if(r.type==="intro_offer"||r.type==="intro_offer_condition"){const i=!!((t=e.packageInfo)!=null&&t.hasIntroOffer)||!!((n=e.packageInfo)!=null&&n.hasTrial);if(r.type==="intro_offer")return i;if(r.operator==="=")return i===r.value;if(r.operator==="!=")return i!==r.value}if(r.type==="promo_offer"||r.type==="promo_offer_condition"){const i=!!((a=e.packageInfo)!=null&&a.hasPromoOffer);if(r.type==="promo_offer")return i;if(r.operator==="=")return i===r.value;if(r.operator==="!=")return i!==r.value}if(r.type==="selected_package_condition"){const i=e.selectedPackageId??"";if(r.operator==="in")return r.packages.includes(i);if(r.operator==="not in")return!r.packages.includes(i)}if(r.type==="variable_condition"){const i=r.variable.replace(/^\$?custom\./,""),s=e.variables[i],c=r.value,l=String(typeof c=="object"&&c!==null&&"value"in c?c.value:c);if(r.operator==="=")return s===l;if(r.operator==="!=")return s!==l}if(r.type===Nd.StateCondition){const i=e.stateValues??{},s=e.stateDefaults??{},c=Object.hasOwn(i,r.name),l=Object.hasOwn(s,r.name);if(!c&&!l)return!1;const u=c?i[r.name]:s[r.name];if(typeof u!=typeof r.value)return!1;const d=Xh(u,r.value);if(r.operator==="=")return d;if(r.operator==="!=")return!d}return!1};function Xh(r,e){return typeof r=="string"&&typeof e=="string"||typeof r=="boolean"&&typeof e=="boolean"?r===e:typeof r=="number"&&typeof e=="number"?Math.abs(r-e)<jh:!1}function jd(r,e,t){return e!==!1&&(r==="workflow"||r==="complete_workflow")&&!t}function Zh(r,e){fe(e,!0);const t=()=>Re(u,"$selectedPackageId",n),[n,a]=Ze(),i=Ir(e,["$$slots","$$events","$$legacy"]),{emitComponentInteraction:s,onButtonAction:c,hideBackButtons:l,selectedPackageId:u}=It(),d=ht(),p=g(()=>({...i,...vt(d(),e.overrides)})),_=g(()=>o(p).action),h=g(()=>o(p).stack),f=qi(),{getLocalizedString:b}=Oi(),v=ga((f==null?void 0:f.isSatisfied)??it(!0)),m=()=>{switch(o(_).type){case"workflow":return{componentType:"button",componentName:e.name,componentValue:"workflow"};case"complete_workflow":{const T=b(o(_).url.url_lid);return{componentType:"button",componentName:e.name,componentValue:"navigate_to_url",...T?{componentURL:T}:{}}}case"navigate_back":return{componentType:"button",componentName:e.name,componentValue:"navigate_back"};case"close_workflow":return{componentType:"button",componentName:e.name,componentValue:"close_workflow"};case"restore_purchases":return{componentType:"button",componentName:e.name,componentValue:"restore_purchases"}}switch(o(_).destination){case"customer_center":return{componentType:"button",componentName:e.name,componentValue:"navigate_to_customer_center"};case"screen_redirect":return{componentType:"button",componentName:e.name,componentValue:"screen_redirect"};case"privacy_policy":case"terms":case"url":{const T=b(o(_).url.url_lid);return{componentType:"button",componentName:e.name,componentValue:o(_).destination==="privacy_policy"?"navigate_to_privacy_policy":o(_).destination==="terms"?"navigate_to_terms":"navigate_to_url",...T?{componentURL:T}:{}}}case"sheet":throw new Error("Sheet actions must be handled by the sheet branches in onclick");case"offer_code":return{componentType:"button",componentName:e.name,componentValue:"navigate_to_offer_code"};case"web_paywall_link":return{componentType:"button",componentName:e.name,componentValue:"navigate_to_web_paywall_link"}}},k=T=>{var I;return{componentType:"package_selection_sheet",componentName:((I=T.sheet)==null?void 0:I.name)??e.name,componentValue:"open",currentPackageId:t()}},x=()=>{if(jd(o(_).type,e.require_valid_inputs,v.current))return;const T=o(_).type==="workflow"?e.id:void 0;if(o(_).type==="navigate_to"&&o(_).destination==="sheet"){o(_).sheet!=null&&s(k(o(_))),c(o(_),T);return}s(m()),c(o(_),T)},y=g(()=>{switch(o(_).type){case"workflow":return!0;case"complete_workflow":return!0;case"restore_purchases":return!1;case"navigate_back":return!l;case"close_workflow":return!0;case"navigate_to":return o(_).destination!=="web_paywall_link";default:return!0}});var w=Te(),P=ce(w);{var S=T=>{const I=g(()=>jd(o(_).type,e.require_valid_inputs,v.current));{let A=g(()=>o(I)?{opacity:"0.4","pointer-events":"none",cursor:"not-allowed"}:void 0),C=g(()=>`button-${o(_).type}`);Nr(T,_r(()=>o(h),{onclick:x,get style(){return o(A)},get testId(){return o(C)}}))}};H(P,T=>{o(y)&&T(S)})}E(r,w),me(),a()}const Bd=1e3,vl="light",Jh="#000000",qo={top:0,bottom:0,leading:0,trailing:0};class Qh{constructor(e,t){Be(this,oi);Be(this,ii);Ne(this,oi,e),Ne(this,ii,Ls(t))}get current(){return W(this,ii).call(this),W(this,oi).call(this)}}oi=new WeakMap,ii=new WeakMap;const $h=/\(.+\)/,ev=new Set(["all","print","screen","and","or","not","only"]);class rv extends Qh{constructor(e,t){let n=$h.test(e)||e.split(/[\s,]+/).some(i=>ev.has(i.trim()))?e:`(${e})`;const a=window.matchMedia(n);super(()=>a.matches,i=>em(a,"change",i))}}const Rd=Symbol("color-mode");function tv(r){const e=new rv("prefers-color-scheme: dark",((r==null?void 0:r())??vl)==="dark"),t=()=>(r==null?void 0:r())??(e.current?"dark":vl);return mr(Rd,t),t}function lt(){return He(Rd)??(()=>vl)}var Ud;(function(r){r.body_s="p",r.body_m="p",r.body_l="p",r.body_xl="p",r.heading_xs="h6",r.heading_s="h5",r.heading_m="h4",r.heading_l="h3",r.heading_xl="h2",r.heading_xxl="h1"})(Ud||(Ud={}));var Wa;(function(r){r[r.extra_light=100]="extra_light",r[r.thin=200]="thin",r[r.light=300]="light",r[r.regular=400]="regular",r[r.medium=500]="medium",r[r.semibold=600]="semibold",r[r.bold=700]="bold",r[r.extra_bold=800]="extra_bold",r[r.black=900]="black"})(Wa||(Wa={}));var Ni;(function(r){r.body_s="13px",r.body_m="14px",r.body_l="15px",r.body_xl="16px",r.heading_xs="14px",r.heading_s="16px",r.heading_m="18px",r.heading_l="20px",r.heading_xl="26px",r.heading_xxl="32px"})(Ni||(Ni={}));var Ln;(function(r){r.leading="start",r.center="center",r.trailing="end"})(Ln||(Ln={}));var Vd;(function(r){r.vertical="column",r.horizontal="row",r.zlayer="zstack"})(Vd||(Vd={}));var Hd;(function(r){r.top="flex-start",r.leading="flex-start",r.center="center",r.bottom="flex-end",r.trailing="flex-end"})(Hd||(Hd={}));var Wd;(function(r){r.space_between="space-between",r.space_around="space-around",r.space_evenly="space-evenly",r.start="flex-start",r.center="center",r.end="flex-end"})(Wd||(Wd={}));function or(r){return Object.entries(r).map(([e,t])=>`${e}:${t}`).join(";")}function Cr(r){return`${r}px`}function Yd(...r){return r.map(Cr).join(" ")}function tt(r,e){return e[r]??e.light}function kr(r){switch(r.type){case"fill":return navigator.userAgent.includes("Firefox")?"-moz-available":"-webkit-fill-available";case"fit":return"fit-content";case"fixed":return Cr(r.value);case"relative":return`${r.value*100}%`}}function Er(r){const{top:e,bottom:t,leading:n,trailing:a}=r??qo;return Yd(e,a,t,n)}function Oo(r){if(r.type==="alias"||r.type==="hex")return r.value;const e=r.points.map(t=>`${t.color} ${t.percent}%`).join(", ");switch(r.type){case"linear":return`linear-gradient(${r.degrees}deg, ${e})`;case"radial":return`radial-gradient(circle, ${e})`}}function ct(r,e){if(e==null)return"transparent";const t=tt(r,e);return Oo(t)}function ji(r,e){return e==null?"transparent":ct(r,e)}function Nn(r,e){const t={"--rc-border-display":"none","--rc-border-bg":"transparent","--rc-border-width":"0px"};if(e==null)return{border:"none",...t};const{width:n}=e,a=tt(r,e.color),i=Oo(a);return a.type==="alias"||a.type==="hex"?{border:`${n}px solid ${i}`,...t}:{border:`${n}px solid transparent`,"--rc-border-display":"block","--rc-border-bg":i,"--rc-border-width":`${n}px`}}function nv(r){if(r==null)return"0";const{top_leading:e,top_trailing:t,bottom_trailing:n,bottom_leading:a}=r;return Yd(e,t,n,a)}function jn(r){switch(r==null?void 0:r.type){case void 0:case"concave":case"convex":return"0";case"rectangle":return`${nv(r.corners)}`;case"circle":case"pill":return"9999px"}}function fa(r,e){if(e==null)return"none";const{x:t,y:n,radius:a}=e,i=ct(r,e.color);return`${t}px ${n}px ${a}px ${i}`}function Ya(r){switch(r){case"fill":return"cover";case"fit":return"contain"}}function av(r,e){const t=tt(r,e),n=String(t.url_low_res??"").trim();return{url:t.url,url_low_res:n.length>0?n:null}}function Lo(r,e){const t=iv(e),n=av(r,e.value);return{url:n.url,url_low_res:n.url_low_res,fit:Ya(t.fit_mode),position:t.fit_mode==="fill"?"center":"top center",overlay:ji(r,e.color_overlay),mute:t.mute_audio,loop:t.loop,posterWebp:t.fallback_image?tt(r,t.fallback_image).webp:null}}function ov(r,e){return`url(${tt(r,e).webp})`}function iv(r){return{fit_mode:r.fit_mode??"fill",mute_audio:r.mute_audio??!0,loop:r.loop??!0,fallback_image:r.fallback_image??null}}function sv(r,e,t){return t==null?e==null?"none":ct(r,e):t.type==="color"?ct(r,e??t.value):t.type==="image"?ov(r,t.value):"transparent"}function lv(r,e){var a,i;const t=(i=(a=r==null?void 0:r.components_config)==null?void 0:a.base)==null?void 0:i.background;if(t==null)return{kind:"none"};if(t.type==="video"){const s=Lo(e,t);return{kind:"video",url:s.url,url_low_res:s.url_low_res,fit:s.fit,position:s.position,overlay:s.overlay,mute:s.mute,loop:s.loop,posterWebp:s.posterWebp}}if(t.type!=="image"){const s=Bn(e,null,t),c=s["--overlay"]??"none",l={...s};return delete l["--overlay"],{kind:"style",style:l,overlay:c}}return{kind:"image",src:tt(e,t.value).webp,fit:Ya(t.fit_mode),position:t.fit_mode==="fill"?"center":"top center",overlay:ji(e,t.color_overlay)}}function Bn(r,e,t){if((t==null?void 0:t.type)==="video")return{background:"transparent","--overlay":ji(r,t.color_overlay)};const n=sv(r,e,t);if((t==null?void 0:t.type)!=="image")return{background:n,"--overlay":"none"};const{fit_mode:a,color_overlay:i}=t;return{background:n,"background-size":Ya(a),"background-position":a==="fill"?"center":"top center","background-repeat":"no-repeat","--overlay":ji(r,i)}}function yl(r){return r.startsWith("RCFM:")}function No(r){return`RevCatPaywall-${r}`}async function cv(r){var t;if(!r.app.fonts||typeof document>"u")return;const e=[];for(const[n,a]of Object.entries(r.app.fonts)){const i=a.web;if(!i||!i.url||!i.family){console.warn(`[Font Registration] Skipping font ${n}: missing web config or required fields`);continue}try{const s=`${No(i.family)}-${i.style}-${i.weight}`,c=new FontFace(s,`url(${i.url})`,{weight:((t=i.weight)==null?void 0:t.toString())||"400",style:i.style||"normal"});c.family=No(i.family);const l=c.load().then(()=>{document.fonts.add(c),console.debug(`[Font Registration] Successfully registered font: ${s} (${i.family}, ${i.weight}, ${i.style})`)}).catch(u=>{console.warn(`[Font Registration] Failed to load font ${i.family}:`,u)});e.push(l)}catch(s){console.warn(`[Font Registration] Failed to create FontFace for ${n}:`,s)}}try{await Promise.allSettled(e),console.debug(`[Font Registration] Font registration complete. Processed ${e.length} fonts.`)}catch(n){console.warn("[Font Registration] Unexpected error during font registration:",n)}}function uv(r){return r.charAt(0).toUpperCase()+r.slice(1).toLowerCase()}const dv={uppercase:r=>String(r??"").toUpperCase(),lowercase:r=>String(r??"").toLowerCase(),capitalize:r=>String(r??"").replaceAll(new RegExp("(\\p{Letter}+)","giu"),uv)},pv=/^\$?custom\./;function _v(r,e){const t=/\{\{\s*([$a-z0-9._-]+)(?:\s*\|\s*([^}]*))?\s*\}\}/gi;return r.replace(t,(n,a,i)=>{var d;const s=(d=a==null?void 0:a.trim())==null?void 0:d.replace(pv,""),c=s&&e[s];if(c===void 0)return"";const l=i==null?void 0:i.trim();if(l===void 0)return c;const u=dv[l];return u?u(c):c})}function Gd(r="",e){return _v(r,e??{})}const gv={light:{type:"hex",value:Jh}};function bl(r,e){const t=tt(r,e),n=Oo(t);switch(t.type){case"alias":case"hex":return{color:n};case"linear":case"radial":return{color:"transparent",background:n,"-webkit-background-clip":"text","background-clip":"text"}}}const fv=(r,e,t)=>{var f;const{font_name:n,font_size:a,font_weight:i,font_weight_int:s,horizontal_alignment:c,color:l=gv,padding:u,margin:d,size:p}=e,_=t[n??""],h=(f=_==null?void 0:_.web)==null?void 0:f.family;return or({display:"block",width:kr(p.width),height:kr(p.height),margin:Er(d),padding:Er(u),...bl(r,l),"text-align":Ln[c]||Ln.leading,"font-weight":s??Wa[i]??Wa.regular,"font-size":Number.isInteger(Number(a))?`${a}px`:Ni[a]||Ni.body_m,"font-family":yl(n??"")?No(h??""):"sans-serif"})};function mv(r,e,t,n){return or({display:"block",position:"relative",width:kr(t.width),height:kr(t.height),...Bn(r,n,null)})}const hv={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function vv(r){return r.replace(/[&<>"']/g,e=>hv[e])}const yv=["http","https","mailto","tel"];function bv(r){const t=Array.from(r).filter(n=>n.charCodeAt(0)>32).join("").toLowerCase().match(/^([a-z][a-z0-9+.-]*):/);return t&&!yv.includes(t[1])?null:r}function kv(r){if(!r)return"";const e=vv(r),t=[],n=e.replaceAll(/\\([\\`*_[\]{}()#+\-.!~])/g,(s,c)=>(t.push(c),`\0RC_ESCAPED_MARKDOWN_${t.length-1}\0`)),i=Object.values({newLine:{regexp:/\\\n/g,output:"<br/>"},bold:{regexp:/\*\*(.*?)\*\*/g,output:"<b>$1</b>"},italic:{regexp:/\*(.*?)\*/g,output:"<i>$1</i>"},strikethrough:{regexp:/~(.*?)~/g,output:"<s>$1</s>"},code:{regexp:/`(.*?)`/g,output:"<span style='font-family: monospace'>$1</span>"},link:{regexp:/\[(.*?)\]\((.*?)\)/g,output:(s,c,l)=>{const u=bv(l);return u===null?c:`<a href="${u}" target='_blank' rel='noopener noreferrer'>${c}</a>`}}}).reduce((s,{regexp:c,output:l})=>s.replaceAll(c,l),n);return t.reduce((s,c,l)=>s.replaceAll(`\0RC_ESCAPED_MARKDOWN_${l}\0`,c),i)}var wv=R('<div class="rc-gradient-border"><input class="svelte-1wwo50a"/></div>');const Pv={hash:"svelte-1wwo50a",code:"input.svelte-1wwo50a {width:100%;height:100%;border:none;background:transparent;border-radius:inherit;}input.svelte-1wwo50a:focus-visible {outline:none;}input.svelte-1wwo50a::placeholder {color:var(--placeholder-color);background:var(--placeholder-background);background-clip:var(--placeholder-background-clip);-webkit-background-clip:var(--placeholder-webkit-background-clip);text-align:var(--placeholder-text-align);font-weight:var(--placeholder-font-weight);font-size:var(--placeholder-font-size);font-family:var(--placeholder-font-family);}"};function xv(r,e){fe(e,!0),we(r,Pv);const t=()=>Re(ye,"$variables",n),[n,a]=Ze(),i=Ir(e,["$$slots","$$events","$$legacy"]);let s=te(!1),c=te(!1),l=te(!e.required);const u=ht({state:!0}),d=g(()=>({...i,...vt(u({focus:o(s),error:o(c)}),e.overrides)})),p=g(()=>o(d).placeholder_lid),_=g(()=>o(d).keyboard_type),h=g(()=>o(d).capitalize),f=g(()=>o(d).field_id),b=g(()=>o(d).reserved_attribute),v=g(()=>o(d).required),m=g(()=>o(d).size),k=g(()=>o(d).padding),x=g(()=>o(d).margin),y=g(()=>o(d).vertical_alignment),w=g(()=>o(d).border),P=g(()=>o(d).shape),S=g(()=>o(d).shadow),T=g(()=>o(d).font_name),I=g(()=>o(d).font_weight_int),A=g(()=>o(d).font_size),C=g(()=>o(d).horizontal_alignment),L=g(()=>o(d).color),q=g(()=>o(d).placeholder_font_name),j=g(()=>o(d).placeholder_font_weight_int),Y=g(()=>o(d).placeholder_font_size),N=g(()=>o(d).placeholder_horizontal_alignment),M=g(()=>o(d).placeholder_color),z=g(()=>o(d).background_color),U=g(()=>o(d).visible);function O(he){const Ke=he.value.trim();if(o(_)==="password"){Q==null||Q(o(f),Ke);return}o(b)?ae?ae(o(b),Ke):console.error("onReservedAttributeChanged is not set"):J==null||J(o(f),Ke)}function G(he){F(c,!he.validity.valid),!o(c)&&O(he)}const Z=he=>{const Ke=he.currentTarget;F(l,Ke.validity.valid,!0),o(l)&&O(Ke),o(c)&&G(Ke)},le=he=>{F(s,!1),F(l,he.currentTarget.validity.valid,!0),G(he.currentTarget)},$=qi(),oe=lt(),Pe=g(oe),{uiConfig:Ie,onInputChanged:J,onSensitiveInputChanged:Q,onReservedAttributeChanged:ae}=It(),Ee=g(()=>o(y)==="top"?"flex-start":o(y)==="bottom"?"flex-end":null),ie=g(()=>or({display:"flex",...o(Ee)?{"align-items":o(Ee)}:{},width:kr(o(m).width),height:kr(o(m).height),margin:Er(o(x)),...Bn(o(Pe),o(z),null),...Nn(o(Pe),o(w)),"border-radius":jn(o(P)),"box-shadow":fa(o(Pe),o(S))})),Se=g(()=>{var fr,Sr;const he=Ie.app.fonts[o(T)??""],Ke=(fr=he==null?void 0:he.web)==null?void 0:fr.family,$e=Ie.app.fonts[o(q)??""],ve=(Sr=$e==null?void 0:$e.web)==null?void 0:Sr.family,Ve=bl(o(Pe),o(M));return or({...o(Ee)?{height:"auto"}:{},padding:Er(o(k)),...bl(o(Pe),o(L)),"text-align":Ln[o(C)]||Ln.leading,"font-weight":o(I)??Wa.regular,"font-size":`${o(A)}px`,"font-family":yl(o(T)??"")?No(Ke??""):"sans-serif","--placeholder-color":Ve.color,"--placeholder-background":Ve.background,"--placeholder-background-clip":Ve["background-clip"],"--placeholder-webkit-background-clip":Ve["-webkit-background-clip"],"--placeholder-text-align":Ln[o(N)]||Ln.leading,"--placeholder-font-weight":o(j)??Wa.regular,"--placeholder-font-size":`${o(Y)}px`,"--placeholder-font-family":yl(o(q)??"")?No(ve??""):"sans-serif"})}),ye=hl(),{getLocalizedString:ee}=Oi(),K=g(()=>Gd(ee(o(p)),t())),se=g(()=>{switch(e.keyboard_type){case"decimal":case"numeric":return"number";case"email":return"email";case"password":return"password";case"tel":return"tel";case"text":return"text";case"url":return"url"}}),pe=g(()=>o(_)==="password"?"text":o(_)),ue=g(()=>o(U)!==!1);$&&ir(()=>{$.updateSatisfaction(!o(ue)||o(l))});var Ae=Te(),Me=ce(Ae);{var De=he=>{var Ke=wv(),$e=D(Ke);$e.__input=Z,V(()=>{Oe(Ke,o(ie)),ke($e,"type",o(se)),ke($e,"placeholder",o(K)),$e.required=o(v),ke($e,"inputmode",o(pe)),ke($e,"autocapitalize",o(h)),Oe($e,o(Se))}),Br("focus",$e,()=>F(s,!0)),Br("blur",$e,le),E(he,Ke)};H(Me,he=>{o(ue)&&he(De)})}E(r,Ae),me(),a()}Zt(["input"]);const Kd=Symbol("inputChoice");function Xd(r,e,t=!1,n=null,a=[]){const i=br(new Set(a)),s=jt(i,d=>(n==null?void 0:n.max)==null?!1:d.size>=n.max),c=jt(i,d=>{const p=d.size;return!t&&n==null?!0:t&&n==null?p>=1:t&&n!=null?n.min===n.max?p===n.min:p>=n.min&&p<=n.max:!0});let l=!1;return s.subscribe(d=>l=d),{fieldId:r,mode:e,required:t,selectionRange:n,selectedOptionIds:i,selectOption:d=>{i.update(p=>{if(e==="single")return new Set([d]);const _=new Set(p);return _.has(d)?_.delete(d):l||_.add(d),_})},isAtMax:s,isSatisfied:c}}function Zd(r){mr(Kd,r)}function Ev(){return He(Kd)}function Sv(r,e){fe(e,!0);const t=Ir(e,["$$slots","$$events","$$legacy"]),{stack:n,field_id:a,required:i=!1,selection_range:s=null}=t,l=Od()[a]??[],u=Xd(a,"multiple",i,s,l);Zd(u);const d=qi();if(d){const p=u.isSatisfied.subscribe(_=>{d.updateSatisfaction(_)});Nt(p)}Ro(r,{get nodeData(){return n}}),me()}var Iv=R('<div class="option-wrapper svelte-qo8e2i"><!></div>');const Cv={hash:"svelte-qo8e2i",code:".option-wrapper.svelte-qo8e2i {display:contents;}"};function Tv(r,e){fe(e,!0),we(r,Cv);const t=()=>Re(_,"$isDisabled",n),[n,a]=Ze(),i=Ir(e,["$$slots","$$events","$$legacy"]),{stack:s,option_id:c}=i,{onButtonAction:l,onInputChanged:u}=It(),d=Ev(),p=d?jt(d.selectedOptionIds,y=>y.has(c)):it(!1);Fi(p);const _=d?jt([p,d.isAtMax],([y,w])=>!y&&w):it(!1),h=br(!1);Fh(h);const f=()=>h.set(!0),b=()=>h.set(!1),v=()=>{var P;if(t())return;const y=(P=e.triggers)==null?void 0:P.on_press;d==null||d.selectOption(c);const w=d==null?void 0:d.fieldId;w&&(u==null||u(w,c,y)),l({type:"workflow"},y)},m=g(()=>t()?{"pointer-events":"none",opacity:"0.4"}:void 0);var k=Iv(),x=D(k);Nr(x,_r(()=>s,{onclick:v,get style(){return o(m)}})),Br("mouseenter",k,f),Br("mouseleave",k,b),E(r,k),me(),a()}function Dv(r,e){fe(e,!0);const t=Ir(e,["$$slots","$$events","$$legacy"]),{stack:n,field_id:a,required:i=!1,selection_range:s=null}=t,l=Od()[a]??[],u=Xd(a,"single",i,s,l);Zd(u);const d=qi();if(d){const p=u.isSatisfied.subscribe(_=>{d.updateSatisfaction(_)});Nt(p)}Ro(r,{get nodeData(){return n}}),me()}function Av(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}var Ga={},kl,Jd;function Fv(){return Jd||(Jd=1,kl=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then}),kl}var wl={},Rn={},Qd;function ma(){if(Qd)return Rn;Qd=1;let r;const e=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];return Rn.getSymbolSize=function(n){if(!n)throw new Error('"version" cannot be null or undefined');if(n<1||n>40)throw new Error('"version" should be in range from 1 to 40');return n*4+17},Rn.getSymbolTotalCodewords=function(n){return e[n]},Rn.getBCHDigit=function(t){let n=0;for(;t!==0;)n++,t>>>=1;return n},Rn.setToSJISFunction=function(n){if(typeof n!="function")throw new Error('"toSJISFunc" is not a valid function.');r=n},Rn.isKanjiModeEnabled=function(){return typeof r<"u"},Rn.toSJIS=function(n){return r(n)},Rn}var Pl={},$d;function xl(){return $d||($d=1,function(r){r.L={bit:1},r.M={bit:0},r.Q={bit:3},r.H={bit:2};function e(t){if(typeof t!="string")throw new Error("Param is not a string");switch(t.toLowerCase()){case"l":case"low":return r.L;case"m":case"medium":return r.M;case"q":case"quartile":return r.Q;case"h":case"high":return r.H;default:throw new Error("Unknown EC Level: "+t)}}r.isValid=function(n){return n&&typeof n.bit<"u"&&n.bit>=0&&n.bit<4},r.from=function(n,a){if(r.isValid(n))return n;try{return e(n)}catch{return a}}}(Pl)),Pl}var El,ep;function Mv(){if(ep)return El;ep=1;function r(){this.buffer=[],this.length=0}return r.prototype={get:function(e){const t=Math.floor(e/8);return(this.buffer[t]>>>7-e%8&1)===1},put:function(e,t){for(let n=0;n<t;n++)this.putBit((e>>>t-n-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function(e){const t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}},El=r,El}var Sl,rp;function zv(){if(rp)return Sl;rp=1;function r(e){if(!e||e<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=e,this.data=new Uint8Array(e*e),this.reservedBit=new Uint8Array(e*e)}return r.prototype.set=function(e,t,n,a){const i=e*this.size+t;this.data[i]=n,a&&(this.reservedBit[i]=!0)},r.prototype.get=function(e,t){return this.data[e*this.size+t]},r.prototype.xor=function(e,t,n){this.data[e*this.size+t]^=n},r.prototype.isReserved=function(e,t){return this.reservedBit[e*this.size+t]},Sl=r,Sl}var Il={},tp;function qv(){return tp||(tp=1,function(r){const e=ma().getSymbolSize;r.getRowColCoords=function(n){if(n===1)return[];const a=Math.floor(n/7)+2,i=e(n),s=i===145?26:Math.ceil((i-13)/(2*a-2))*2,c=[i-7];for(let l=1;l<a-1;l++)c[l]=c[l-1]-s;return c.push(6),c.reverse()},r.getPositions=function(n){const a=[],i=r.getRowColCoords(n),s=i.length;for(let c=0;c<s;c++)for(let l=0;l<s;l++)c===0&&l===0||c===0&&l===s-1||c===s-1&&l===0||a.push([i[c],i[l]]);return a}}(Il)),Il}var Cl={},np;function Ov(){if(np)return Cl;np=1;const r=ma().getSymbolSize,e=7;return Cl.getPositions=function(n){const a=r(n);return[[0,0],[a-e,0],[0,a-e]]},Cl}var Tl={},ap;function Lv(){return ap||(ap=1,function(r){r.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};const e={N1:3,N2:3,N3:40,N4:10};r.isValid=function(a){return a!=null&&a!==""&&!isNaN(a)&&a>=0&&a<=7},r.from=function(a){return r.isValid(a)?parseInt(a,10):void 0},r.getPenaltyN1=function(a){const i=a.size;let s=0,c=0,l=0,u=null,d=null;for(let p=0;p<i;p++){c=l=0,u=d=null;for(let _=0;_<i;_++){let h=a.get(p,_);h===u?c++:(c>=5&&(s+=e.N1+(c-5)),u=h,c=1),h=a.get(_,p),h===d?l++:(l>=5&&(s+=e.N1+(l-5)),d=h,l=1)}c>=5&&(s+=e.N1+(c-5)),l>=5&&(s+=e.N1+(l-5))}return s},r.getPenaltyN2=function(a){const i=a.size;let s=0;for(let c=0;c<i-1;c++)for(let l=0;l<i-1;l++){const u=a.get(c,l)+a.get(c,l+1)+a.get(c+1,l)+a.get(c+1,l+1);(u===4||u===0)&&s++}return s*e.N2},r.getPenaltyN3=function(a){const i=a.size;let s=0,c=0,l=0;for(let u=0;u<i;u++){c=l=0;for(let d=0;d<i;d++)c=c<<1&2047|a.get(u,d),d>=10&&(c===1488||c===93)&&s++,l=l<<1&2047|a.get(d,u),d>=10&&(l===1488||l===93)&&s++}return s*e.N3},r.getPenaltyN4=function(a){let i=0;const s=a.data.length;for(let l=0;l<s;l++)i+=a.data[l];return Math.abs(Math.ceil(i*100/s/5)-10)*e.N4};function t(n,a,i){switch(n){case r.Patterns.PATTERN000:return(a+i)%2===0;case r.Patterns.PATTERN001:return a%2===0;case r.Patterns.PATTERN010:return i%3===0;case r.Patterns.PATTERN011:return(a+i)%3===0;case r.Patterns.PATTERN100:return(Math.floor(a/2)+Math.floor(i/3))%2===0;case r.Patterns.PATTERN101:return a*i%2+a*i%3===0;case r.Patterns.PATTERN110:return(a*i%2+a*i%3)%2===0;case r.Patterns.PATTERN111:return(a*i%3+(a+i)%2)%2===0;default:throw new Error("bad maskPattern:"+n)}}r.applyMask=function(a,i){const s=i.size;for(let c=0;c<s;c++)for(let l=0;l<s;l++)i.isReserved(l,c)||i.xor(l,c,t(a,l,c))},r.getBestMask=function(a,i){const s=Object.keys(r.Patterns).length;let c=0,l=1/0;for(let u=0;u<s;u++){i(u),r.applyMask(u,a);const d=r.getPenaltyN1(a)+r.getPenaltyN2(a)+r.getPenaltyN3(a)+r.getPenaltyN4(a);r.applyMask(u,a),d<l&&(l=d,c=u)}return c}}(Tl)),Tl}var Bi={},op;function ip(){if(op)return Bi;op=1;const r=xl(),e=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],t=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];return Bi.getBlocksCount=function(a,i){switch(i){case r.L:return e[(a-1)*4+0];case r.M:return e[(a-1)*4+1];case r.Q:return e[(a-1)*4+2];case r.H:return e[(a-1)*4+3];default:return}},Bi.getTotalCodewordsCount=function(a,i){switch(i){case r.L:return t[(a-1)*4+0];case r.M:return t[(a-1)*4+1];case r.Q:return t[(a-1)*4+2];case r.H:return t[(a-1)*4+3];default:return}},Bi}var Dl={},jo={},sp;function Nv(){if(sp)return jo;sp=1;const r=new Uint8Array(512),e=new Uint8Array(256);return function(){let n=1;for(let a=0;a<255;a++)r[a]=n,e[n]=a,n<<=1,n&256&&(n^=285);for(let a=255;a<512;a++)r[a]=r[a-255]}(),jo.log=function(n){if(n<1)throw new Error("log("+n+")");return e[n]},jo.exp=function(n){return r[n]},jo.mul=function(n,a){return n===0||a===0?0:r[e[n]+e[a]]},jo}var lp;function jv(){return lp||(lp=1,function(r){const e=Nv();r.mul=function(n,a){const i=new Uint8Array(n.length+a.length-1);for(let s=0;s<n.length;s++)for(let c=0;c<a.length;c++)i[s+c]^=e.mul(n[s],a[c]);return i},r.mod=function(n,a){let i=new Uint8Array(n);for(;i.length-a.length>=0;){const s=i[0];for(let l=0;l<a.length;l++)i[l]^=e.mul(a[l],s);let c=0;for(;c<i.length&&i[c]===0;)c++;i=i.slice(c)}return i},r.generateECPolynomial=function(n){let a=new Uint8Array([1]);for(let i=0;i<n;i++)a=r.mul(a,new Uint8Array([1,e.exp(i)]));return a}}(Dl)),Dl}var Al,cp;function Bv(){if(cp)return Al;cp=1;const r=jv();function e(t){this.genPoly=void 0,this.degree=t,this.degree&&this.initialize(this.degree)}return e.prototype.initialize=function(n){this.degree=n,this.genPoly=r.generateECPolynomial(this.degree)},e.prototype.encode=function(n){if(!this.genPoly)throw new Error("Encoder not initialized");const a=new Uint8Array(n.length+this.degree);a.set(n);const i=r.mod(a,this.genPoly),s=this.degree-i.length;if(s>0){const c=new Uint8Array(this.degree);return c.set(i,s),c}return i},Al=e,Al}var Fl={},Ml={},zl={},up;function dp(){return up||(up=1,zl.isValid=function(e){return!isNaN(e)&&e>=1&&e<=40}),zl}var Qt={},pp;function _p(){if(pp)return Qt;pp=1;const r="[0-9]+",e="[A-Z $%*+\\-./:]+";let t="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";t=t.replace(/u/g,"\\u");const n="(?:(?![A-Z0-9 $%*+\\-./:]|"+t+`)(?:.|[\r
8
+ ]))+`;Qt.KANJI=new RegExp(t,"g"),Qt.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),Qt.BYTE=new RegExp(n,"g"),Qt.NUMERIC=new RegExp(r,"g"),Qt.ALPHANUMERIC=new RegExp(e,"g");const a=new RegExp("^"+t+"$"),i=new RegExp("^"+r+"$"),s=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");return Qt.testKanji=function(l){return a.test(l)},Qt.testNumeric=function(l){return i.test(l)},Qt.testAlphanumeric=function(l){return s.test(l)},Qt}var gp;function ha(){return gp||(gp=1,function(r){const e=dp(),t=_p();r.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},r.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},r.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},r.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},r.MIXED={bit:-1},r.getCharCountIndicator=function(i,s){if(!i.ccBits)throw new Error("Invalid mode: "+i);if(!e.isValid(s))throw new Error("Invalid version: "+s);return s>=1&&s<10?i.ccBits[0]:s<27?i.ccBits[1]:i.ccBits[2]},r.getBestModeForData=function(i){return t.testNumeric(i)?r.NUMERIC:t.testAlphanumeric(i)?r.ALPHANUMERIC:t.testKanji(i)?r.KANJI:r.BYTE},r.toString=function(i){if(i&&i.id)return i.id;throw new Error("Invalid mode")},r.isValid=function(i){return i&&i.bit&&i.ccBits};function n(a){if(typeof a!="string")throw new Error("Param is not a string");switch(a.toLowerCase()){case"numeric":return r.NUMERIC;case"alphanumeric":return r.ALPHANUMERIC;case"kanji":return r.KANJI;case"byte":return r.BYTE;default:throw new Error("Unknown mode: "+a)}}r.from=function(i,s){if(r.isValid(i))return i;try{return n(i)}catch{return s}}}(Ml)),Ml}var fp;function Rv(){return fp||(fp=1,function(r){const e=ma(),t=ip(),n=xl(),a=ha(),i=dp(),s=7973,c=e.getBCHDigit(s);function l(_,h,f){for(let b=1;b<=40;b++)if(h<=r.getCapacity(b,f,_))return b}function u(_,h){return a.getCharCountIndicator(_,h)+4}function d(_,h){let f=0;return _.forEach(function(b){const v=u(b.mode,h);f+=v+b.getBitsLength()}),f}function p(_,h){for(let f=1;f<=40;f++)if(d(_,f)<=r.getCapacity(f,h,a.MIXED))return f}r.from=function(h,f){return i.isValid(h)?parseInt(h,10):f},r.getCapacity=function(h,f,b){if(!i.isValid(h))throw new Error("Invalid QR Code version");typeof b>"u"&&(b=a.BYTE);const v=e.getSymbolTotalCodewords(h),m=t.getTotalCodewordsCount(h,f),k=(v-m)*8;if(b===a.MIXED)return k;const x=k-u(b,h);switch(b){case a.NUMERIC:return Math.floor(x/10*3);case a.ALPHANUMERIC:return Math.floor(x/11*2);case a.KANJI:return Math.floor(x/13);case a.BYTE:default:return Math.floor(x/8)}},r.getBestVersionForData=function(h,f){let b;const v=n.from(f,n.M);if(Array.isArray(h)){if(h.length>1)return p(h,v);if(h.length===0)return 1;b=h[0]}else b=h;return l(b.mode,b.getLength(),v)},r.getEncodedBits=function(h){if(!i.isValid(h)||h<7)throw new Error("Invalid QR Code version");let f=h<<12;for(;e.getBCHDigit(f)-c>=0;)f^=s<<e.getBCHDigit(f)-c;return h<<12|f}}(Fl)),Fl}var ql={},mp;function Uv(){if(mp)return ql;mp=1;const r=ma(),e=1335,t=21522,n=r.getBCHDigit(e);return ql.getEncodedBits=function(i,s){const c=i.bit<<3|s;let l=c<<10;for(;r.getBCHDigit(l)-n>=0;)l^=e<<r.getBCHDigit(l)-n;return(c<<10|l)^t},ql}var Ol={},Ll,hp;function Vv(){if(hp)return Ll;hp=1;const r=ha();function e(t){this.mode=r.NUMERIC,this.data=t.toString()}return e.getBitsLength=function(n){return 10*Math.floor(n/3)+(n%3?n%3*3+1:0)},e.prototype.getLength=function(){return this.data.length},e.prototype.getBitsLength=function(){return e.getBitsLength(this.data.length)},e.prototype.write=function(n){let a,i,s;for(a=0;a+3<=this.data.length;a+=3)i=this.data.substr(a,3),s=parseInt(i,10),n.put(s,10);const c=this.data.length-a;c>0&&(i=this.data.substr(a),s=parseInt(i,10),n.put(s,c*3+1))},Ll=e,Ll}var Nl,vp;function Hv(){if(vp)return Nl;vp=1;const r=ha(),e=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function t(n){this.mode=r.ALPHANUMERIC,this.data=n}return t.getBitsLength=function(a){return 11*Math.floor(a/2)+6*(a%2)},t.prototype.getLength=function(){return this.data.length},t.prototype.getBitsLength=function(){return t.getBitsLength(this.data.length)},t.prototype.write=function(a){let i;for(i=0;i+2<=this.data.length;i+=2){let s=e.indexOf(this.data[i])*45;s+=e.indexOf(this.data[i+1]),a.put(s,11)}this.data.length%2&&a.put(e.indexOf(this.data[i]),6)},Nl=t,Nl}var jl,yp;function Wv(){if(yp)return jl;yp=1;const r=ha();function e(t){this.mode=r.BYTE,typeof t=="string"?this.data=new TextEncoder().encode(t):this.data=new Uint8Array(t)}return e.getBitsLength=function(n){return n*8},e.prototype.getLength=function(){return this.data.length},e.prototype.getBitsLength=function(){return e.getBitsLength(this.data.length)},e.prototype.write=function(t){for(let n=0,a=this.data.length;n<a;n++)t.put(this.data[n],8)},jl=e,jl}var Bl,bp;function Yv(){if(bp)return Bl;bp=1;const r=ha(),e=ma();function t(n){this.mode=r.KANJI,this.data=n}return t.getBitsLength=function(a){return a*13},t.prototype.getLength=function(){return this.data.length},t.prototype.getBitsLength=function(){return t.getBitsLength(this.data.length)},t.prototype.write=function(n){let a;for(a=0;a<this.data.length;a++){let i=e.toSJIS(this.data[a]);if(i>=33088&&i<=40956)i-=33088;else if(i>=57408&&i<=60351)i-=49472;else throw new Error("Invalid SJIS character: "+this.data[a]+`
9
+ Make sure your charset is UTF-8`);i=(i>>>8&255)*192+(i&255),n.put(i,13)}},Bl=t,Bl}var Rl={exports:{}},kp;function Gv(){return kp||(kp=1,function(r){var e={single_source_shortest_paths:function(t,n,a){var i={},s={};s[n]=0;var c=e.PriorityQueue.make();c.push(n,0);for(var l,u,d,p,_,h,f,b,v;!c.empty();){l=c.pop(),u=l.value,p=l.cost,_=t[u]||{};for(d in _)_.hasOwnProperty(d)&&(h=_[d],f=p+h,b=s[d],v=typeof s[d]>"u",(v||b>f)&&(s[d]=f,c.push(d,f),i[d]=u))}if(typeof a<"u"&&typeof s[a]>"u"){var m=["Could not find a path from ",n," to ",a,"."].join("");throw new Error(m)}return i},extract_shortest_path_from_predecessor_list:function(t,n){for(var a=[],i=n;i;)a.push(i),t[i],i=t[i];return a.reverse(),a},find_path:function(t,n,a){var i=e.single_source_shortest_paths(t,n,a);return e.extract_shortest_path_from_predecessor_list(i,a)},PriorityQueue:{make:function(t){var n=e.PriorityQueue,a={},i;t=t||{};for(i in n)n.hasOwnProperty(i)&&(a[i]=n[i]);return a.queue=[],a.sorter=t.sorter||n.default_sorter,a},default_sorter:function(t,n){return t.cost-n.cost},push:function(t,n){var a={value:t,cost:n};this.queue.push(a),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return this.queue.length===0}}};r.exports=e}(Rl)),Rl.exports}var wp;function Kv(){return wp||(wp=1,function(r){const e=ha(),t=Vv(),n=Hv(),a=Wv(),i=Yv(),s=_p(),c=ma(),l=Gv();function u(m){return unescape(encodeURIComponent(m)).length}function d(m,k,x){const y=[];let w;for(;(w=m.exec(x))!==null;)y.push({data:w[0],index:w.index,mode:k,length:w[0].length});return y}function p(m){const k=d(s.NUMERIC,e.NUMERIC,m),x=d(s.ALPHANUMERIC,e.ALPHANUMERIC,m);let y,w;return c.isKanjiModeEnabled()?(y=d(s.BYTE,e.BYTE,m),w=d(s.KANJI,e.KANJI,m)):(y=d(s.BYTE_KANJI,e.BYTE,m),w=[]),k.concat(x,y,w).sort(function(S,T){return S.index-T.index}).map(function(S){return{data:S.data,mode:S.mode,length:S.length}})}function _(m,k){switch(k){case e.NUMERIC:return t.getBitsLength(m);case e.ALPHANUMERIC:return n.getBitsLength(m);case e.KANJI:return i.getBitsLength(m);case e.BYTE:return a.getBitsLength(m)}}function h(m){return m.reduce(function(k,x){const y=k.length-1>=0?k[k.length-1]:null;return y&&y.mode===x.mode?(k[k.length-1].data+=x.data,k):(k.push(x),k)},[])}function f(m){const k=[];for(let x=0;x<m.length;x++){const y=m[x];switch(y.mode){case e.NUMERIC:k.push([y,{data:y.data,mode:e.ALPHANUMERIC,length:y.length},{data:y.data,mode:e.BYTE,length:y.length}]);break;case e.ALPHANUMERIC:k.push([y,{data:y.data,mode:e.BYTE,length:y.length}]);break;case e.KANJI:k.push([y,{data:y.data,mode:e.BYTE,length:u(y.data)}]);break;case e.BYTE:k.push([{data:y.data,mode:e.BYTE,length:u(y.data)}])}}return k}function b(m,k){const x={},y={start:{}};let w=["start"];for(let P=0;P<m.length;P++){const S=m[P],T=[];for(let I=0;I<S.length;I++){const A=S[I],C=""+P+I;T.push(C),x[C]={node:A,lastCount:0},y[C]={};for(let L=0;L<w.length;L++){const q=w[L];x[q]&&x[q].node.mode===A.mode?(y[q][C]=_(x[q].lastCount+A.length,A.mode)-_(x[q].lastCount,A.mode),x[q].lastCount+=A.length):(x[q]&&(x[q].lastCount=A.length),y[q][C]=_(A.length,A.mode)+4+e.getCharCountIndicator(A.mode,k))}}w=T}for(let P=0;P<w.length;P++)y[w[P]].end=0;return{map:y,table:x}}function v(m,k){let x;const y=e.getBestModeForData(m);if(x=e.from(k,y),x!==e.BYTE&&x.bit<y.bit)throw new Error('"'+m+'" cannot be encoded with mode '+e.toString(x)+`.
10
+ Suggested mode is: `+e.toString(y));switch(x===e.KANJI&&!c.isKanjiModeEnabled()&&(x=e.BYTE),x){case e.NUMERIC:return new t(m);case e.ALPHANUMERIC:return new n(m);case e.KANJI:return new i(m);case e.BYTE:return new a(m)}}r.fromArray=function(k){return k.reduce(function(x,y){return typeof y=="string"?x.push(v(y,null)):y.data&&x.push(v(y.data,y.mode)),x},[])},r.fromString=function(k,x){const y=p(k,c.isKanjiModeEnabled()),w=f(y),P=b(w,x),S=l.find_path(P.map,"start","end"),T=[];for(let I=1;I<S.length-1;I++)T.push(P.table[S[I]].node);return r.fromArray(h(T))},r.rawSplit=function(k){return r.fromArray(p(k,c.isKanjiModeEnabled()))}}(Ol)),Ol}var Pp;function Xv(){if(Pp)return wl;Pp=1;const r=ma(),e=xl(),t=Mv(),n=zv(),a=qv(),i=Ov(),s=Lv(),c=ip(),l=Bv(),u=Rv(),d=Uv(),p=ha(),_=Kv();function h(P,S){const T=P.size,I=i.getPositions(S);for(let A=0;A<I.length;A++){const C=I[A][0],L=I[A][1];for(let q=-1;q<=7;q++)if(!(C+q<=-1||T<=C+q))for(let j=-1;j<=7;j++)L+j<=-1||T<=L+j||(q>=0&&q<=6&&(j===0||j===6)||j>=0&&j<=6&&(q===0||q===6)||q>=2&&q<=4&&j>=2&&j<=4?P.set(C+q,L+j,!0,!0):P.set(C+q,L+j,!1,!0))}}function f(P){const S=P.size;for(let T=8;T<S-8;T++){const I=T%2===0;P.set(T,6,I,!0),P.set(6,T,I,!0)}}function b(P,S){const T=a.getPositions(S);for(let I=0;I<T.length;I++){const A=T[I][0],C=T[I][1];for(let L=-2;L<=2;L++)for(let q=-2;q<=2;q++)L===-2||L===2||q===-2||q===2||L===0&&q===0?P.set(A+L,C+q,!0,!0):P.set(A+L,C+q,!1,!0)}}function v(P,S){const T=P.size,I=u.getEncodedBits(S);let A,C,L;for(let q=0;q<18;q++)A=Math.floor(q/3),C=q%3+T-8-3,L=(I>>q&1)===1,P.set(A,C,L,!0),P.set(C,A,L,!0)}function m(P,S,T){const I=P.size,A=d.getEncodedBits(S,T);let C,L;for(C=0;C<15;C++)L=(A>>C&1)===1,C<6?P.set(C,8,L,!0):C<8?P.set(C+1,8,L,!0):P.set(I-15+C,8,L,!0),C<8?P.set(8,I-C-1,L,!0):C<9?P.set(8,15-C-1+1,L,!0):P.set(8,15-C-1,L,!0);P.set(I-8,8,1,!0)}function k(P,S){const T=P.size;let I=-1,A=T-1,C=7,L=0;for(let q=T-1;q>0;q-=2)for(q===6&&q--;;){for(let j=0;j<2;j++)if(!P.isReserved(A,q-j)){let Y=!1;L<S.length&&(Y=(S[L]>>>C&1)===1),P.set(A,q-j,Y),C--,C===-1&&(L++,C=7)}if(A+=I,A<0||T<=A){A-=I,I=-I;break}}}function x(P,S,T){const I=new t;T.forEach(function(j){I.put(j.mode.bit,4),I.put(j.getLength(),p.getCharCountIndicator(j.mode,P)),j.write(I)});const A=r.getSymbolTotalCodewords(P),C=c.getTotalCodewordsCount(P,S),L=(A-C)*8;for(I.getLengthInBits()+4<=L&&I.put(0,4);I.getLengthInBits()%8!==0;)I.putBit(0);const q=(L-I.getLengthInBits())/8;for(let j=0;j<q;j++)I.put(j%2?17:236,8);return y(I,P,S)}function y(P,S,T){const I=r.getSymbolTotalCodewords(S),A=c.getTotalCodewordsCount(S,T),C=I-A,L=c.getBlocksCount(S,T),q=I%L,j=L-q,Y=Math.floor(I/L),N=Math.floor(C/L),M=N+1,z=Y-N,U=new l(z);let O=0;const G=new Array(L),Z=new Array(L);let le=0;const $=new Uint8Array(P.buffer);for(let Q=0;Q<L;Q++){const ae=Q<j?N:M;G[Q]=$.slice(O,O+ae),Z[Q]=U.encode(G[Q]),O+=ae,le=Math.max(le,ae)}const oe=new Uint8Array(I);let Pe=0,Ie,J;for(Ie=0;Ie<le;Ie++)for(J=0;J<L;J++)Ie<G[J].length&&(oe[Pe++]=G[J][Ie]);for(Ie=0;Ie<z;Ie++)for(J=0;J<L;J++)oe[Pe++]=Z[J][Ie];return oe}function w(P,S,T,I){let A;if(Array.isArray(P))A=_.fromArray(P);else if(typeof P=="string"){let Y=S;if(!Y){const N=_.rawSplit(P);Y=u.getBestVersionForData(N,T)}A=_.fromString(P,Y||40)}else throw new Error("Invalid data");const C=u.getBestVersionForData(A,T);if(!C)throw new Error("The amount of data is too big to be stored in a QR Code");if(!S)S=C;else if(S<C)throw new Error(`
11
11
  The chosen QR Code version cannot contain this amount of data.
12
12
  Minimum version required to store current data is: `+C+`.
13
- `);const N=x(I,T,A),q=r.getSymbolSize(I),j=new n(q);return f(j,I),g(j),b(j,I),h(j,T,0),I>=7&&y(j,I),k(j,N),isNaN(S)&&(S=s.getBestMask(j,h.bind(null,j,T))),s.applyMask(S,j),h(j,T,S),{modules:j,version:I,errorCorrectionLevel:T,maskPattern:S,segments:A}}return wl.create=function(I,T){if(typeof I>"u"||I==="")throw new Error("No input text");let S=e.M,A,C;return typeof T<"u"&&(S=e.from(T.errorCorrectionLevel,e.M),A=u.from(T.version),C=s.from(T.maskPattern),T.toSJISFunc&&r.setToSJISFunction(T.toSJISFunc)),w(I,A,S,C)},wl}var Ul={},Vl={},kp;function wp(){return kp||(kp=1,function(r){function e(t){if(typeof t=="number"&&(t=t.toString()),typeof t!="string")throw new Error("Color should be defined as hex string");let n=t.slice().replace("#","").split("");if(n.length<3||n.length===5||n.length>8)throw new Error("Invalid hex color: "+t);(n.length===3||n.length===4)&&(n=Array.prototype.concat.apply([],n.map(function(i){return[i,i]}))),n.length===6&&n.push("F","F");const a=parseInt(n.join(""),16);return{r:a>>24&255,g:a>>16&255,b:a>>8&255,a:a&255,hex:"#"+n.slice(0,6).join("")}}r.getOptions=function(n){n||(n={}),n.color||(n.color={});const a=typeof n.margin>"u"||n.margin===null||n.margin<0?4:n.margin,i=n.width&&n.width>=21?n.width:void 0,s=n.scale||4;return{width:i,scale:i?4:s,margin:a,color:{dark:e(n.color.dark||"#000000ff"),light:e(n.color.light||"#ffffffff")},type:n.type,rendererOpts:n.rendererOpts||{}}},r.getScale=function(n,a){return a.width&&a.width>=n+a.margin*2?a.width/(n+a.margin*2):a.scale},r.getImageWidth=function(n,a){const i=r.getScale(n,a);return Math.floor((n+a.margin*2)*i)},r.qrToImageData=function(n,a,i){const s=a.modules.size,c=a.modules.data,l=r.getScale(s,i),u=Math.floor((s+i.margin*2)*l),d=i.margin*l,_=[i.color.light,i.color.dark];for(let p=0;p<u;p++)for(let f=0;f<u;f++){let g=(p*u+f)*4,b=i.color.light;if(p>=d&&f>=d&&p<u-d&&f<u-d){const y=Math.floor((p-d)/l),h=Math.floor((f-d)/l);b=_[c[y*s+h]?1:0]}n[g++]=b.r,n[g++]=b.g,n[g++]=b.b,n[g]=b.a}}}(Vl)),Vl}var Pp;function Vv(){return Pp||(Pp=1,function(r){const e=wp();function t(a,i,s){a.clearRect(0,0,i.width,i.height),i.style||(i.style={}),i.height=s,i.width=s,i.style.height=s+"px",i.style.width=s+"px"}function n(){try{return document.createElement("canvas")}catch{throw new Error("You need to specify a canvas element")}}r.render=function(i,s,c){let l=c,u=s;typeof l>"u"&&(!s||!s.getContext)&&(l=s,s=void 0),s||(u=n()),l=e.getOptions(l);const d=e.getImageWidth(i.modules.size,l),_=u.getContext("2d"),p=_.createImageData(d,d);return e.qrToImageData(p.data,i,l),t(_,u,d),_.putImageData(p,0,0),u},r.renderToDataURL=function(i,s,c){let l=c;typeof l>"u"&&(!s||!s.getContext)&&(l=s,s=void 0),l||(l={});const u=r.render(i,s,l),d=l.type||"image/png",_=l.rendererOpts||{};return u.toDataURL(d,_.quality)}}(Ul)),Ul}var Hl={},xp;function Hv(){if(xp)return Hl;xp=1;const r=wp();function e(a,i){const s=a.a/255,c=i+'="'+a.hex+'"';return s<1?c+" "+i+'-opacity="'+s.toFixed(2).slice(1)+'"':c}function t(a,i,s){let c=a+i;return typeof s<"u"&&(c+=" "+s),c}function n(a,i,s){let c="",l=0,u=!1,d=0;for(let _=0;_<a.length;_++){const p=Math.floor(_%i),f=Math.floor(_/i);!p&&!u&&(u=!0),a[_]?(d++,_>0&&p>0&&a[_-1]||(c+=u?t("M",p+s,.5+f+s):t("m",l,0),l=0,u=!1),p+1<i&&a[_+1]||(c+=t("h",d),d=0)):l++}return c}return Hl.render=function(i,s,c){const l=r.getOptions(s),u=i.modules.size,d=i.modules.data,_=u+l.margin*2,p=l.color.light.a?"<path "+e(l.color.light,"fill")+' d="M0 0h'+_+"v"+_+'H0z"/>':"",f="<path "+e(l.color.dark,"stroke")+' d="'+n(d,u,l.margin)+'"/>',g='viewBox="0 0 '+_+" "+_+'"',y='<svg xmlns="http://www.w3.org/2000/svg" '+(l.width?'width="'+l.width+'" height="'+l.width+'" ':"")+g+' shape-rendering="crispEdges">'+p+f+`</svg>
14
- `;return typeof c=="function"&&c(null,y),y},Hl}var Ep;function Wv(){if(Ep)return Ga;Ep=1;const r=Ev(),e=Uv(),t=Vv(),n=Hv();function a(i,s,c,l,u){const d=[].slice.call(arguments,1),_=d.length,p=typeof d[_-1]=="function";if(!p&&!r())throw new Error("Callback required as last argument");if(p){if(_<2)throw new Error("Too few arguments provided");_===2?(u=c,c=s,s=l=void 0):_===3&&(s.getContext&&typeof u>"u"?(u=l,l=void 0):(u=l,l=c,c=s,s=void 0))}else{if(_<1)throw new Error("Too few arguments provided");return _===1?(c=s,s=l=void 0):_===2&&!s.getContext&&(l=c,c=s,s=void 0),new Promise(function(f,g){try{const b=e.create(c,l);f(i(b,s,l))}catch(b){g(b)}})}try{const f=e.create(c,l);u(null,i(f,s,l))}catch(f){u(f)}}return Ga.create=e.create,Ga.toCanvas=a.bind(null,t.render),Ga.toDataURL=a.bind(null,t.renderToDataURL),Ga.toString=a.bind(null,function(i,s,c){return n.render(i,c)}),Ga}var Yv=Wv();const Gv=xv(Yv);var Kv=R('<div class="qr-wrapper svelte-1b1gmr6"><img alt="Redemption QR Code" class="qr-code svelte-1b1gmr6"/></div>');const Xv={hash:"svelte-1b1gmr6",code:".qr-wrapper.svelte-1b1gmr6 {display:flex;justify-content:center;align-items:center;align-self:center;width:fit-content;margin:0 auto;background-color:#ffffff;border-radius:8px;padding:16px;}.qr-code.svelte-1b1gmr6 {display:block;width:128px;height:128px;image-rendering:-webkit-optimize-contrast;image-rendering:crisp-edges;}"};function Zv(r,e){he(e,!0),we(r,Xv);const t=()=>Ue(i,"$variables",n),[n,a]=Je(),i=ml(),s=m(()=>{var g;return(g=t())==null?void 0:g["success.redemption_url"]});let c=te(!0),l=te(""),u=te(!1);br(()=>{const g=window.matchMedia("(max-width: 767px)");F(c,g.matches,!0);const b=y=>{F(c,y.matches,!0)};return g.addEventListener("change",b),()=>{g.removeEventListener("change",b)}}),ir(()=>{!o(c)&&o(s)&&(F(u,!1),Gv.toDataURL(o(s),{width:512,margin:2,errorCorrectionLevel:"M",color:{dark:"#000000",light:"#ffffff"}}).then(g=>{F(l,g,!0)}).catch(g=>{console.warn("Failed to generate QR code:",g),F(u,!0)}))});var d=Se(),_=se(d);{var p=g=>{qr(g,gr(()=>e.stack,{onclick:()=>{window.location.href=o(s)}}))},f=g=>{var b=Se(),y=se(b);{var h=k=>{var x=Kv(),v=D(x);Y(()=>ke(v,"src",o(l))),P(k,x)};W(y,k=>{o(l)&&k(h)},!0)}P(g,b)};W(_,g=>{(o(c)||o(u))&&o(s)?g(p):g(f,!1)})}P(r,d),ve(),a()}function Jv(r,e){const t=J(e,"style",3,""),n=J(e,"component",3,"p");var a=Se(),i=se(a);Zs(i,n,!1,(s,c)=>{el(s,()=>({style:t()}));var l=Se(),u=se(l);Pr(u,()=>e.children??rr),P(c,l)}),P(r,a)}var Qv=R("<span><!></span>");function Wl(r,e){he(e,!0);const t=()=>Ue(u,"$variables",n),[n,a]=Je(),i=Sr(e,["$$slots","$$events","$$legacy"]),{uiConfig:s,emitComponentInteraction:c,onNavigateToUrl:l}=xt(),u=hl(),d=gt({state:!0}),_=m(()=>({...i,...ft(d(),e.overrides)})),p=it(),f=m(p);let g=m(()=>lv(o(f),o(_),s.app.fonts));const b=m(()=>cv(o(f),o(_),o(_).size,o(_).background_color)),{getLocalizedString:y}=Mi(),h=m(()=>Hd(y(o(_).text_lid),t())),k=m(()=>o(_).visible!==!1),x=m(()=>gv(o(h))),v=T=>{if(T.defaultPrevented||T.button!==0||T.metaKey||T.ctrlKey||T.shiftKey||T.altKey)return;const S=T.target;if(!(S instanceof Element))return;const A=S.closest("a[href]");if(!(A instanceof HTMLAnchorElement))return;const C=A.getAttribute("href")??A.href;C&&(c({componentType:"text",componentName:e.name,componentValue:"navigate_to_url",componentURL:C}),l==null||l(C))};var w=Se(),E=se(w);{var I=T=>{var S=Qv();S.__click=v;var A=D(S);Jv(A,{get style(){return o(g)},component:"span",children:(C,N)=>{var q=Se(),j=se(q);fn(j,()=>o(x)),P(C,q)},$$slots:{default:!0}}),Y(()=>Le(S,o(b))),P(T,S)};W(E,T=>{o(k)&&T(I)})}P(r,w),ve(),a()}Yt(["click"]);function $v(r,e){return typeof r.addEventListener=="function"?(r.addEventListener("change",e),()=>r.removeEventListener("change",e)):(r.addListener(e),()=>r.removeListener(e))}function ji(r,e){r.muted=e.preferMuted||e.mutedPlaybackOverride,r.playsInline=!0}function ey(r,e){const{cancelled:t,preferMuted:n,getMutedOverride:a,setMutedOverride:i}=e;if(t()||!r.paused||(ji(r,{preferMuted:n,mutedPlaybackOverride:a()}),r.readyState<HTMLMediaElement.HAVE_CURRENT_DATA))return;const s=r.play();s!==void 0&&s.catch(()=>{t()||!r.isConnected||!n&&!a()&&(i(!0),ji(r,{preferMuted:n,mutedPlaybackOverride:!0}),r.play().catch(()=>{}))})}function Sp(r,e,t){const n=()=>{t()||e()},a=()=>n();r.readyState<HTMLMediaElement.HAVE_CURRENT_DATA?(r.addEventListener("loadeddata",a),r.addEventListener("canplay",a)):queueMicrotask(n),queueMicrotask(n),requestAnimationFrame(()=>{n()});const i=()=>n();return typeof document<"u"&&typeof window<"u"&&(document.readyState==="complete"?queueMicrotask(n):window.addEventListener("load",i)),()=>{r.removeEventListener("loadeddata",a),r.removeEventListener("canplay",a),typeof window<"u"&&window.removeEventListener("load",i)}}var ry=R('<div class="rc-bg-video svelte-16c3h6h" aria-hidden="true"><img alt="" class="fill svelte-16c3h6h"/></div>'),ty=R('<source media="(max-width: 600px)"/>'),ny=R('<div class="rc-bg-video svelte-16c3h6h" aria-hidden="true"><video class="fill svelte-16c3h6h" playsinline="" autoplay preload="auto"><!> <source/></video></div>',2);const ay={hash:"svelte-16c3h6h",code:`.rc-bg-video.svelte-16c3h6h {position:absolute;inset:0;overflow:hidden;z-index:1;pointer-events:none;}
13
+ `);const L=x(S,T,A),q=r.getSymbolSize(S),j=new n(q);return h(j,S),f(j),b(j,S),m(j,T,0),S>=7&&v(j,S),k(j,L),isNaN(I)&&(I=s.getBestMask(j,m.bind(null,j,T))),s.applyMask(I,j),m(j,T,I),{modules:j,version:S,errorCorrectionLevel:T,maskPattern:I,segments:A}}return wl.create=function(S,T){if(typeof S>"u"||S==="")throw new Error("No input text");let I=e.M,A,C;return typeof T<"u"&&(I=e.from(T.errorCorrectionLevel,e.M),A=u.from(T.version),C=s.from(T.maskPattern),T.toSJISFunc&&r.setToSJISFunction(T.toSJISFunc)),w(S,A,I,C)},wl}var Ul={},Vl={},xp;function Ep(){return xp||(xp=1,function(r){function e(t){if(typeof t=="number"&&(t=t.toString()),typeof t!="string")throw new Error("Color should be defined as hex string");let n=t.slice().replace("#","").split("");if(n.length<3||n.length===5||n.length>8)throw new Error("Invalid hex color: "+t);(n.length===3||n.length===4)&&(n=Array.prototype.concat.apply([],n.map(function(i){return[i,i]}))),n.length===6&&n.push("F","F");const a=parseInt(n.join(""),16);return{r:a>>24&255,g:a>>16&255,b:a>>8&255,a:a&255,hex:"#"+n.slice(0,6).join("")}}r.getOptions=function(n){n||(n={}),n.color||(n.color={});const a=typeof n.margin>"u"||n.margin===null||n.margin<0?4:n.margin,i=n.width&&n.width>=21?n.width:void 0,s=n.scale||4;return{width:i,scale:i?4:s,margin:a,color:{dark:e(n.color.dark||"#000000ff"),light:e(n.color.light||"#ffffffff")},type:n.type,rendererOpts:n.rendererOpts||{}}},r.getScale=function(n,a){return a.width&&a.width>=n+a.margin*2?a.width/(n+a.margin*2):a.scale},r.getImageWidth=function(n,a){const i=r.getScale(n,a);return Math.floor((n+a.margin*2)*i)},r.qrToImageData=function(n,a,i){const s=a.modules.size,c=a.modules.data,l=r.getScale(s,i),u=Math.floor((s+i.margin*2)*l),d=i.margin*l,p=[i.color.light,i.color.dark];for(let _=0;_<u;_++)for(let h=0;h<u;h++){let f=(_*u+h)*4,b=i.color.light;if(_>=d&&h>=d&&_<u-d&&h<u-d){const v=Math.floor((_-d)/l),m=Math.floor((h-d)/l);b=p[c[v*s+m]?1:0]}n[f++]=b.r,n[f++]=b.g,n[f++]=b.b,n[f]=b.a}}}(Vl)),Vl}var Sp;function Zv(){return Sp||(Sp=1,function(r){const e=Ep();function t(a,i,s){a.clearRect(0,0,i.width,i.height),i.style||(i.style={}),i.height=s,i.width=s,i.style.height=s+"px",i.style.width=s+"px"}function n(){try{return document.createElement("canvas")}catch{throw new Error("You need to specify a canvas element")}}r.render=function(i,s,c){let l=c,u=s;typeof l>"u"&&(!s||!s.getContext)&&(l=s,s=void 0),s||(u=n()),l=e.getOptions(l);const d=e.getImageWidth(i.modules.size,l),p=u.getContext("2d"),_=p.createImageData(d,d);return e.qrToImageData(_.data,i,l),t(p,u,d),p.putImageData(_,0,0),u},r.renderToDataURL=function(i,s,c){let l=c;typeof l>"u"&&(!s||!s.getContext)&&(l=s,s=void 0),l||(l={});const u=r.render(i,s,l),d=l.type||"image/png",p=l.rendererOpts||{};return u.toDataURL(d,p.quality)}}(Ul)),Ul}var Hl={},Ip;function Jv(){if(Ip)return Hl;Ip=1;const r=Ep();function e(a,i){const s=a.a/255,c=i+'="'+a.hex+'"';return s<1?c+" "+i+'-opacity="'+s.toFixed(2).slice(1)+'"':c}function t(a,i,s){let c=a+i;return typeof s<"u"&&(c+=" "+s),c}function n(a,i,s){let c="",l=0,u=!1,d=0;for(let p=0;p<a.length;p++){const _=Math.floor(p%i),h=Math.floor(p/i);!_&&!u&&(u=!0),a[p]?(d++,p>0&&_>0&&a[p-1]||(c+=u?t("M",_+s,.5+h+s):t("m",l,0),l=0,u=!1),_+1<i&&a[p+1]||(c+=t("h",d),d=0)):l++}return c}return Hl.render=function(i,s,c){const l=r.getOptions(s),u=i.modules.size,d=i.modules.data,p=u+l.margin*2,_=l.color.light.a?"<path "+e(l.color.light,"fill")+' d="M0 0h'+p+"v"+p+'H0z"/>':"",h="<path "+e(l.color.dark,"stroke")+' d="'+n(d,u,l.margin)+'"/>',f='viewBox="0 0 '+p+" "+p+'"',v='<svg xmlns="http://www.w3.org/2000/svg" '+(l.width?'width="'+l.width+'" height="'+l.width+'" ':"")+f+' shape-rendering="crispEdges">'+_+h+`</svg>
14
+ `;return typeof c=="function"&&c(null,v),v},Hl}var Cp;function Qv(){if(Cp)return Ga;Cp=1;const r=Fv(),e=Xv(),t=Zv(),n=Jv();function a(i,s,c,l,u){const d=[].slice.call(arguments,1),p=d.length,_=typeof d[p-1]=="function";if(!_&&!r())throw new Error("Callback required as last argument");if(_){if(p<2)throw new Error("Too few arguments provided");p===2?(u=c,c=s,s=l=void 0):p===3&&(s.getContext&&typeof u>"u"?(u=l,l=void 0):(u=l,l=c,c=s,s=void 0))}else{if(p<1)throw new Error("Too few arguments provided");return p===1?(c=s,s=l=void 0):p===2&&!s.getContext&&(l=c,c=s,s=void 0),new Promise(function(h,f){try{const b=e.create(c,l);h(i(b,s,l))}catch(b){f(b)}})}try{const h=e.create(c,l);u(null,i(h,s,l))}catch(h){u(h)}}return Ga.create=e.create,Ga.toCanvas=a.bind(null,t.render),Ga.toDataURL=a.bind(null,t.renderToDataURL),Ga.toString=a.bind(null,function(i,s,c){return n.render(i,c)}),Ga}var $v=Qv();const ey=Av($v);var ry=R('<div class="qr-wrapper svelte-1b1gmr6"><img alt="Redemption QR Code" class="qr-code svelte-1b1gmr6"/></div>');const ty={hash:"svelte-1b1gmr6",code:".qr-wrapper.svelte-1b1gmr6 {display:flex;justify-content:center;align-items:center;align-self:center;width:fit-content;margin:0 auto;background-color:#ffffff;border-radius:8px;padding:16px;}.qr-code.svelte-1b1gmr6 {display:block;width:128px;height:128px;image-rendering:-webkit-optimize-contrast;image-rendering:crisp-edges;}"};function ny(r,e){fe(e,!0),we(r,ty);const t=()=>Re(i,"$variables",n),[n,a]=Ze(),i=ml(),s=g(()=>{var f;return(f=t())==null?void 0:f["success.redemption_url"]});let c=te(!0),l=te(""),u=te(!1);xr(()=>{const f=window.matchMedia("(max-width: 767px)");F(c,f.matches,!0);const b=v=>{F(c,v.matches,!0)};return f.addEventListener("change",b),()=>{f.removeEventListener("change",b)}}),ir(()=>{!o(c)&&o(s)&&(F(u,!1),ey.toDataURL(o(s),{width:512,margin:2,errorCorrectionLevel:"M",color:{dark:"#000000",light:"#ffffff"}}).then(f=>{F(l,f,!0)}).catch(f=>{console.warn("Failed to generate QR code:",f),F(u,!0)}))});var d=Te(),p=ce(d);{var _=f=>{Nr(f,_r(()=>e.stack,{onclick:()=>{window.location.href=o(s)}}))},h=f=>{var b=Te(),v=ce(b);{var m=k=>{var x=ry(),y=D(x);V(()=>ke(y,"src",o(l))),E(k,x)};H(v,k=>{o(l)&&k(m)},!0)}E(f,b)};H(p,f=>{(o(c)||o(u))&&o(s)?f(_):f(h,!1)})}E(r,d),me(),a()}function ay(r,e){const t=X(e,"style",3,""),n=X(e,"component",3,"p");var a=Te(),i=ce(a);Zs(i,n,!1,(s,c)=>{el(s,()=>({style:t()}));var l=Te(),u=ce(l);Pr(u,()=>e.children??tr),E(c,l)}),E(r,a)}var oy=R("<span><!></span>");function Wl(r,e){fe(e,!0);const t=()=>Re(u,"$variables",n),[n,a]=Ze(),i=Ir(e,["$$slots","$$events","$$legacy"]),{uiConfig:s,emitComponentInteraction:c,onNavigateToUrl:l}=It(),u=hl(),d=ht({state:!0}),p=g(()=>({...i,...vt(d(),e.overrides)})),_=lt(),h=g(_);let f=g(()=>fv(o(h),o(p),s.app.fonts));const b=g(()=>mv(o(h),o(p),o(p).size,o(p).background_color)),{getLocalizedString:v}=Oi(),m=g(()=>Gd(v(o(p).text_lid),t())),k=g(()=>o(p).visible!==!1),x=g(()=>kv(o(m))),y=T=>{if(T.defaultPrevented||T.button!==0||T.metaKey||T.ctrlKey||T.shiftKey||T.altKey)return;const I=T.target;if(!(I instanceof Element))return;const A=I.closest("a[href]");if(!(A instanceof HTMLAnchorElement))return;const C=A.getAttribute("href")??A.href;C&&(c({componentType:"text",componentName:e.name,componentValue:"navigate_to_url",componentURL:C}),l==null||l(C))};var w=Te(),P=ce(w);{var S=T=>{var I=oy();I.__click=y;var A=D(I);ay(A,{get style(){return o(f)},component:"span",children:(C,L)=>{var q=Te(),j=ce(q);vn(j,()=>o(x)),E(C,q)},$$slots:{default:!0}}),V(()=>Oe(I,o(b))),E(T,I)};H(P,T=>{o(k)&&T(S)})}E(r,w),me(),a()}Zt(["click"]);function iy(r,e){return typeof r.addEventListener=="function"?(r.addEventListener("change",e),()=>r.removeEventListener("change",e)):(r.addListener(e),()=>r.removeListener(e))}function Ri(r,e){r.muted=e.preferMuted||e.mutedPlaybackOverride,r.playsInline=!0}function sy(r,e){const{cancelled:t,preferMuted:n,getMutedOverride:a,setMutedOverride:i}=e;if(t()||!r.paused||(Ri(r,{preferMuted:n,mutedPlaybackOverride:a()}),r.readyState<HTMLMediaElement.HAVE_CURRENT_DATA))return;const s=r.play();s!==void 0&&s.catch(()=>{t()||!r.isConnected||!n&&!a()&&(i(!0),Ri(r,{preferMuted:n,mutedPlaybackOverride:!0}),r.play().catch(()=>{}))})}function Tp(r,e,t){const n=()=>{t()||e()},a=()=>n();r.readyState<HTMLMediaElement.HAVE_CURRENT_DATA?(r.addEventListener("loadeddata",a),r.addEventListener("canplay",a)):queueMicrotask(n),queueMicrotask(n),requestAnimationFrame(()=>{n()});const i=()=>n();return typeof document<"u"&&typeof window<"u"&&(document.readyState==="complete"?queueMicrotask(n):window.addEventListener("load",i)),()=>{r.removeEventListener("loadeddata",a),r.removeEventListener("canplay",a),typeof window<"u"&&window.removeEventListener("load",i)}}var ly=R('<div class="rc-bg-video svelte-16c3h6h" aria-hidden="true"><img alt="" class="fill svelte-16c3h6h"/></div>'),cy=R('<source media="(max-width: 600px)"/>'),uy=R('<div class="rc-bg-video svelte-16c3h6h" aria-hidden="true"><video class="fill svelte-16c3h6h" playsinline="" autoplay preload="auto"><!> <source/></video></div>',2);const dy={hash:"svelte-16c3h6h",code:`.rc-bg-video.svelte-16c3h6h {position:absolute;inset:0;overflow:hidden;z-index:1;pointer-events:none;}
15
15
 
16
16
  /**
17
17
  * Fill the layer with absolute edges (percent heights are unreliable under nested
18
18
  * flex/absolute hosts). Beat Paywall's global \`.paywall video { max-width: 100% }\`
19
19
  * so \`object-fit: cover|contain\` applies to the full backdrop box (e.g. carousel).
20
- */.rc-bg-video.svelte-16c3h6h :is(video:where(.svelte-16c3h6h), img:where(.svelte-16c3h6h)).fill:where(.svelte-16c3h6h) {position:absolute;inset:0;width:100%;height:100%;max-width:none;max-height:none;display:block;}.rc-bg-video.svelte-16c3h6h video.fill:where(.svelte-16c3h6h) {transform:translateZ(0);-webkit-transform:translateZ(0);}`};function No(r,e){he(e,!0),we(r,ay);let t=J(e,"urlLowRes",3,null),n=J(e,"poster",3,null),a=te(null),i=te(!1),s=te(!1),c=te(!1);br(()=>{if(typeof window>"u")return;const b=window.matchMedia("(prefers-reduced-motion: reduce)");return F(s,b.matches,!0),$v(b,()=>{F(s,b.matches,!0)})}),ir(()=>{e.url,t(),Ve(()=>{F(i,!1),F(c,!1)}),queueMicrotask(()=>{var b;(b=o(a))==null||b.load()})});const l=m(()=>o(s)||o(i)),u=m(()=>`object-fit:${e.objectFit};object-position:${e.objectPosition}`);ir(()=>{if(o(l)||!o(a)){Ve(()=>{F(c,!1)});return}const b=o(a);let y=!1;const h=()=>y,x=Sp(b,()=>{ey(b,{cancelled:h,preferMuted:e.mute,getMutedOverride:()=>o(c),setMutedOverride:v=>Ve(()=>{F(c,v,!0)})})},h);return()=>{y=!0,x()}});function d(){F(i,!0)}var _=Se(),p=se(_);{var f=b=>{var y=ry(),h=D(y);Y(()=>{ke(h,"src",n()),Le(h,o(u))}),P(b,y)},g=b=>{var y=Se(),h=se(y);{var k=v=>{},x=v=>{var w=ny(),E=D(w),I=D(E);{var T=A=>{var C=ty();Y(()=>ke(C,"src",t())),P(A,C)};W(I,A=>{t()&&A(T)})}var S=U(I,2);pa(E,A=>F(a,A),()=>o(a)),Y(()=>{Le(E,o(u)),E.loop=e.loop,E.muted=e.mute||o(c),ke(E,"poster",n()??void 0),ke(S,"src",e.url)}),Lr("error",E,d),P(v,w)};W(h,v=>{o(l)?v(k):v(x,!1)},!0)}P(b,y)};W(p,b=>{o(l)&&n()?b(f):b(g,!1)})}P(r,_),ve()}function Bi(r){return`rc-${r}-video-bg`}function Ri(r){if(!r.hasVideoBg)return{};const e={isolation:"isolate"};return r.positionRelative&&(e.position="relative"),r.clipOverflow&&(e.overflow="hidden"),e}function oy(r){switch(r){case"top":return"flex-start";case"center":return"center";case"bottom":return"flex-end"}}function Ip(r,e,t){return Math.max(e,Math.min(r,t))}const iy=.2;function sy({startPage:r,dragDistance:e,pageWidth:t,pageCount:n,loop:a,advanceThreshold:i=iy}){const s=t*i;let c=r;return e<-s?c+=1:e>s&&(c-=1),a?c:Ip(c,0,n-1)}function Ui(r){if(r===null)return 0;const e=window.getComputedStyle(r);return new WebKitCSSMatrix(e.transform).m41}var ly=R('<div class="page svelte-1um8k40" role="group" aria-roledescription="slide"><!></div>');const cy={hash:"svelte-1um8k40",code:"div.svelte-1um8k40 {flex:0 0 100%;scroll-snap-align:center;scroll-snap-stop:always;}"};function Yl(r,e){we(r,cy);const t=J(e,"hidden",3,!1);var n=ly(),a=D(n);qr(a,gr(()=>e.page)),Y(()=>{ke(n,"aria-label",`Slide ${e.index+1} of ${e.pages}`),ke(n,"aria-current",e.selected),ke(n,"aria-hidden",t())}),P(r,n)}var uy=R("<div></div>"),dy=R('<div class="control rc-gradient-border svelte-f4av29"></div>');const py={hash:"svelte-f4av29",code:".control.svelte-f4av29 {align-self:center;display:flex;flex-direction:row;align-items:center;justify-content:center;}"};function _y(r,e){he(e,!0),we(r,py);const t=J(e,"background_color",3,null),n=J(e,"border",3,null),a=J(e,"shape",3,null),i=J(e,"shadow",3,null),s=it(),c=m(s);function l(g){return jn(o(c),g.stroke_width==null||g.stroke_color==null?null:{width:g.stroke_width,color:g.stroke_color})}function u(g){return ar({width:Ir(g.width),height:Ir(g.height),background:st(o(c),g.color),...l(g),"border-radius":"9999px"})}const d=m(()=>u(e.default)),_=m(()=>u(e.active)),p=m(()=>ar({order:e.position==="top"?-1:1,gap:Ir(e.spacing),margin:xr(e.margin),padding:xr(e.padding),...Rn(o(c),t(),null),...jn(o(c),n()),"border-radius":Bn(a()),"box-shadow":fa(o(c),i())}));var f=dy();Gt(f,21,()=>({length:e.length}),gn,(g,b,y)=>{var h=uy();Y(()=>Le(h,y===e.selected?o(_):o(d))),P(g,h)}),Y(()=>Le(f,o(p))),P(r,f),ve()}var gy=R('<div class="carousel-bg-video-mount svelte-oplmf"><!></div>'),fy=R('<div><!> <div class="carousel-clip svelte-oplmf"><div class="slider svelte-oplmf" role="region" aria-label="Feature carousel" aria-roledescription="carousel" aria-live="polite"><!> <!> <!></div> <!></div></div>');const my={hash:"svelte-oplmf",code:'.carousel.svelte-oplmf {max-width:100%;display:flex;flex-direction:column;flex-shrink:0;align-self:stretch;}.carousel-clip.svelte-oplmf {display:flex;flex-direction:column;flex:1;min-width:0;min-height:0;overflow:hidden;border-radius:inherit;}.carousel-bg-video-mount.svelte-oplmf {position:absolute;inset:0;z-index:1;border-radius:inherit;overflow:hidden;pointer-events:none;}.carousel.rc-carousel-video-bg.svelte-oplmf::before {content:"";position:absolute;inset:0;background:var(--overlay);pointer-events:none;z-index:2;}.carousel.rc-carousel-video-bg.svelte-oplmf .carousel-clip:where(.svelte-oplmf) {position:relative;z-index:3;}.slider.svelte-oplmf {display:flex;flex-direction:row;flex-wrap:nowrap;transition-property:transform;transition-duration:500ms;transition-timing-function:ease-in-out;transition-delay:2500ms;transform:translateX(0);touch-action:pan-y;cursor:grab;&:active {cursor:grabbing;user-select:none;}}'};function hy(r,e){he(e,!0),we(r,my);const t=Sr(e,["$$slots","$$events","$$legacy"]),{emitComponentInteraction:n}=xt(),a=gt(),i=m(()=>({...t,...ft(a(),e.overrides)})),s=m(()=>o(i).pages),c=m(()=>o(i).padding),l=m(()=>o(i).margin),u=m(()=>o(i).background),d=m(()=>o(i).shape),_=m(()=>o(i).border),p=m(()=>o(i).shadow),f=m(()=>o(i).page_alignment),g=m(()=>o(i).page_spacing),b=m(()=>o(i).page_peek),y=m(()=>o(i).page_control),h=m(()=>o(i).initial_page_index),k=m(()=>o(i).loop),x=m(()=>o(i).auto_advance),v=it(),w=m(v),E=m(()=>{var ge;return((ge=o(u))==null?void 0:ge.type)==="video"}),I=m(()=>{if(!o(E))return null;const ge=o(u);return!ge||ge.type!=="video"?null:qo(o(w),ge)}),T=m(()=>Bn(o(d))),S=m(()=>{var ge;return ar({margin:xr(o(l)),padding:xr(o(c)),...Ri({hasVideoBg:o(E),positionRelative:!0}),...Rn(o(w),null,o(u)),...jn(o(w),o(_)),"border-radius":o(T),"box-shadow":fa(o(w),o(p)),"transition-duration":`${((ge=o(x))==null?void 0:ge.ms_transition_time)??0}ms`})}),A=m(()=>ar({gap:Ir(o(g)),padding:`0 ${o(b)+o(g)}px`,"align-items":oy(o(f))})),C=m(()=>{if(!o(k))return[];const ge=o(s).length-1;switch(o(s).length){case 0:return[];case 1:return[0,0];case 2:return[0,ge];default:return[ge-1,ge]}}),N=m(()=>{if(!o(k))return[];switch(o(s).length){case 0:return[];case 1:return[0,0];default:return[0,1]}});let q=null,j=te(0),Z=te(0),O=m(()=>2*o(b)+o(g)),z=m(()=>o(Z)-o(O)),M=te(null);function H(){return o(s).at(o(h))!==void 0?o(h):0}function L(ge){return o(s).length===0?0:(ge%o(s).length+o(s).length)%o(s).length}function K(ge){var Re;return(Re=o(s)[ge])==null?void 0:Re.name}function re(ge=!0,Re){var Er,jr;if(q===null)return;const dr=ge?((Er=o(x))==null?void 0:Er.ms_time_per_page)??0:0;Re??(Re=((jr=o(x))==null?void 0:jr.ms_transition_time)??0),q.style.transition=`transform ${Re}ms ease-in-out ${dr}ms`}function le(){q!==null&&(q.style.transition="none")}const ne=m(()=>o(k)?2:0);function ce(ge){q!==null&&(q.style.transform=`translateX(${ge}px)`)}function Q(ge){if(q===null)return;ge+=o(ne);const Re=ge*-o(z);ce(Re)}function ie(ge){ge%=o(s).length+o(ne),re(!0),Q(ge)}function V(){o(x)!=null&&requestAnimationFrame(()=>{ie(o(j)+1)})}br(()=>{const ge=H();F(j,ge,!0),le(),Q(o(j)),V()});function X(ge){return Math.round(ge/-o(z))-o(ne)}function B(){const ge=Ui(q),Re=X(ge);F(j,(Re+o(s).length)%o(s).length),le(),Q(o(j)),requestAnimationFrame(()=>{V()})}let oe=te(0),$=0;function ue(ge){ge.currentTarget.setPointerCapture(ge.pointerId),F(oe,Ui(q),!0),F(M,o(j),!0),$=ge.clientX}function me(ge){const Re=ge.currentTarget;Re.hasPointerCapture(ge.pointerId)&&Re.releasePointerCapture(ge.pointerId);const dr=Ui(q),Er=sy({startPage:o(M)??X(dr),dragDistance:dr-o(oe),pageWidth:o(z),pageCount:o(s).length,loop:o(k)}),jr=L(Er);o(M)!==null&&o(M)!==jr&&n({componentType:"carousel",componentName:e.name,componentValue:jr.toString(),originIndex:o(M),destinationIndex:jr,originContextName:K(o(M)),destinationContextName:K(jr),defaultIndex:H()}),F(M,null),F(j,jr,!0),re(!1,500),Q(Er)}function xe(ge){if(!ge.currentTarget.hasPointerCapture(ge.pointerId))return;const dr=ge.clientX-$;$=ge.clientX;const[Er,jr]=o(k)?[o(oe)-o(Z),o(oe)+o(Z)]:[-(o(s).length-1)*o(z),0],cn=Ui(q),En=Ip(cn+dr,Er,jr),At=X(En);F(j,(At+o(s).length)%o(s).length),ce(En),le()}var qe=fy(),ze=D(qe);{var De=ge=>{var Re=gy(),dr=D(Re);No(dr,{get url(){return o(I).url},get urlLowRes(){return o(I).url_low_res},get objectFit(){return o(I).fit},get objectPosition(){return o(I).position},get poster(){return o(I).posterWebp},get mute(){return o(I).mute},get loop(){return o(I).loop}}),P(ge,Re)};W(ze,ge=>{o(I)&&ge(De)})}var be=U(ze,2),Ae=D(be);Ae.__pointerdown=ue,Ae.__pointerup=me,Ae.__pointermove=xe;var Fe=D(Ae);Gt(Fe,17,()=>o(C),gn,(ge,Re)=>{{let dr=m(()=>o(j)===o(Re));Yl(ge,{get page(){return o(s)[o(Re)]},get index(){return o(Re)},get pages(){return o(s).length},get selected(){return o(dr)},hidden:!0})}});var Ee=U(Fe,2);Gt(Ee,17,()=>o(s),gn,(ge,Re,dr)=>{{let Er=m(()=>o(j)===dr);Yl(ge,{get page(){return o(Re)},index:dr,get pages(){return o(s).length},get selected(){return o(Er)}})}});var pe=U(Ee,2);Gt(pe,17,()=>o(N),gn,(ge,Re)=>{{let dr=m(()=>o(j)===o(Re));Yl(ge,{get page(){return o(s)[o(Re)]},get index(){return o(Re)},get pages(){return o(s).length},get selected(){return o(dr)},hidden:!0})}}),pa(Ae,ge=>q=ge,()=>q);var Ye=U(Ae,2);{var Ze=ge=>{_y(ge,gr(()=>o(y),{get length(){return o(s).length},get selected(){return o(j)}}))};W(Ye,ge=>{o(y)!=null&&ge(Ze)})}Y(ge=>{ur(qe,1,ge,"svelte-oplmf"),Le(qe,o(S)),Le(Ae,o(A))},[()=>da(["carousel","rc-gradient-border",o(E)?Bi("carousel"):""].filter(Boolean).join(" "))]),Lr("transitionend",Ae,B),Co(Ae,"clientWidth",ge=>F(Z,ge)),P(r,qe),ve()}Yt(["pointerdown","pointerup","pointermove"]);var vy=R('<div class="rc-gradient-border"><div></div></div>');function Cp(r,e){he(e,!0);const t=Sr(e,["$$slots","$$events","$$legacy"]),n=gt({state:!0}),a=m(()=>({...t,...ft(n(),e.overrides)})),i=m(()=>o(a).base_url),s=m(()=>o(a).formats),c=m(()=>o(a).size),l=m(()=>o(a).margin),u=m(()=>o(a).padding),d=m(()=>o(a).color),_=m(()=>o(a).icon_background),p=m(()=>o(a).visible),f=it(),g=m(f),b=m(()=>{var E,I,T,S;return ar({width:kr(o(c).width),height:kr(o(c).height),margin:xr(o(l)),padding:xr(o(u)),"background-color":st(o(g),(E=o(_))==null?void 0:E.color),...jn(o(g),(I=o(_))==null?void 0:I.border),"border-radius":Bn((T=o(_))==null?void 0:T.shape),"box-shadow":fa(o(g),(S=o(_))==null?void 0:S.shadow),flex:"0 0 auto"})}),y=m(()=>o(p)!==!1),h=m(()=>`${o(i)}/${o(s).webp}`),k=m(()=>ar({width:"100%",height:"100%",position:"relative","z-index":1,overflow:"hidden","background-color":st(o(g),o(d)),"mask-image":`url(${o(h)})`,"-webkit-mask-image":`url(${o(h)})`,"mask-size":"contain","-webkit-mask-size":"contain","mask-position":"center","-webkit-mask-position":"center","mask-repeat":"no-repeat","-webkit-mask-repeat":"no-repeat"}));var x=Se(),v=se(x);{var w=E=>{var I=vy(),T=D(I);Y(()=>{Le(I,o(b)),Le(T,o(k))}),P(E,I)};W(v,E=>{o(y)&&E(w)})}P(r,x),ve()}const Tp=Symbol("selected");function yy(r){mr(Tp,r)}function Gl(){const r=He(Tp);if(r===void 0)throw new Error("Tabs context not found");return r}function by(r,e){he(e,!0);const t=()=>Ue(i,"$control",n),[n,a]=Je(),{control:i}=Gl();qr(r,gr(()=>t().stack)),ve(),a()}function ky(r,e){he(e,!0);const{selectedTabId:t,selectTab:n}=Gl();Di(Ot(t,i=>i===e.tab_id)),qr(r,gr(()=>e.stack,{onclick:()=>{n(e.tab_id,e.tab_index,"tab")}})),ve()}var wy=R('<div role="button" tabindex="0" aria-label="Toggle" class="toggle svelte-1e7gowf"><div class="thumb svelte-1e7gowf"></div></div>');const Py={hash:"svelte-1e7gowf",code:`.toggle.svelte-1e7gowf {appearance:none;--height: 31px;position:relative;width:51px;height:var(--height);border-radius:calc(var(--height) / 2);cursor:pointer;user-select:none;transition:background-color 300ms ease;}.thumb.svelte-1e7gowf {--size: 27px;position:absolute;top:2px;width:var(--size);height:var(--size);border-radius:50%;box-shadow:0 1px 3px rgba(0, 0, 0, 0.2),
20
+ */.rc-bg-video.svelte-16c3h6h :is(video:where(.svelte-16c3h6h), img:where(.svelte-16c3h6h)).fill:where(.svelte-16c3h6h) {position:absolute;inset:0;width:100%;height:100%;max-width:none;max-height:none;display:block;}.rc-bg-video.svelte-16c3h6h video.fill:where(.svelte-16c3h6h) {transform:translateZ(0);-webkit-transform:translateZ(0);}`};function Bo(r,e){fe(e,!0),we(r,dy);let t=X(e,"urlLowRes",3,null),n=X(e,"poster",3,null),a=te(null),i=te(!1),s=te(!1),c=te(!1);xr(()=>{if(typeof window>"u")return;const b=window.matchMedia("(prefers-reduced-motion: reduce)");return F(s,b.matches,!0),iy(b,()=>{F(s,b.matches,!0)})}),ir(()=>{e.url,t(),Ue(()=>{F(i,!1),F(c,!1)}),queueMicrotask(()=>{var b;(b=o(a))==null||b.load()})});const l=g(()=>o(s)||o(i)),u=g(()=>`object-fit:${e.objectFit};object-position:${e.objectPosition}`);ir(()=>{if(o(l)||!o(a)){Ue(()=>{F(c,!1)});return}const b=o(a);let v=!1;const m=()=>v,x=Tp(b,()=>{sy(b,{cancelled:m,preferMuted:e.mute,getMutedOverride:()=>o(c),setMutedOverride:y=>Ue(()=>{F(c,y,!0)})})},m);return()=>{v=!0,x()}});function d(){F(i,!0)}var p=Te(),_=ce(p);{var h=b=>{var v=ly(),m=D(v);V(()=>{ke(m,"src",n()),Oe(m,o(u))}),E(b,v)},f=b=>{var v=Te(),m=ce(v);{var k=y=>{},x=y=>{var w=uy(),P=D(w),S=D(P);{var T=A=>{var C=cy();V(()=>ke(C,"src",t())),E(A,C)};H(S,A=>{t()&&A(T)})}var I=B(S,2);pa(P,A=>F(a,A),()=>o(a)),V(()=>{Oe(P,o(u)),P.loop=e.loop,P.muted=e.mute||o(c),ke(P,"poster",n()??void 0),ke(I,"src",e.url)}),Br("error",P,d),E(y,w)};H(m,y=>{o(l)?y(k):y(x,!1)},!0)}E(b,v)};H(_,b=>{o(l)&&n()?b(h):b(f,!1)})}E(r,p),me()}function Ui(r){return`rc-${r}-video-bg`}function Vi(r){if(!r.hasVideoBg)return{};const e={isolation:"isolate"};return r.positionRelative&&(e.position="relative"),r.clipOverflow&&(e.overflow="hidden"),e}function py(r){switch(r){case"top":return"flex-start";case"center":return"center";case"bottom":return"flex-end"}}function Dp(r,e,t){return Math.max(e,Math.min(r,t))}const _y=.2;function gy({startPage:r,dragDistance:e,pageWidth:t,pageCount:n,loop:a,advanceThreshold:i=_y}){const s=t*i;let c=r;return e<-s?c+=1:e>s&&(c-=1),a?c:Dp(c,0,n-1)}function Hi(r){if(r===null)return 0;const e=window.getComputedStyle(r);return new WebKitCSSMatrix(e.transform).m41}var fy=R('<div class="page svelte-1um8k40" role="group" aria-roledescription="slide"><!></div>');const my={hash:"svelte-1um8k40",code:"div.svelte-1um8k40 {flex:0 0 100%;scroll-snap-align:center;scroll-snap-stop:always;}"};function Yl(r,e){we(r,my);const t=X(e,"hidden",3,!1);var n=fy(),a=D(n);Nr(a,_r(()=>e.page)),V(()=>{ke(n,"aria-label",`Slide ${e.index+1} of ${e.pages}`),ke(n,"aria-current",e.selected),ke(n,"aria-hidden",t())}),E(r,n)}var hy=R("<div></div>"),vy=R('<div class="control rc-gradient-border svelte-f4av29"></div>');const yy={hash:"svelte-f4av29",code:".control.svelte-f4av29 {align-self:center;display:flex;flex-direction:row;align-items:center;justify-content:center;}"};function by(r,e){fe(e,!0),we(r,yy);const t=X(e,"background_color",3,null),n=X(e,"border",3,null),a=X(e,"shape",3,null),i=X(e,"shadow",3,null),s=lt(),c=g(s);function l(f){return Nn(o(c),f.stroke_width==null||f.stroke_color==null?null:{width:f.stroke_width,color:f.stroke_color})}function u(f){return or({width:Cr(f.width),height:Cr(f.height),background:ct(o(c),f.color),...l(f),"border-radius":"9999px"})}const d=g(()=>u(e.default)),p=g(()=>u(e.active)),_=g(()=>or({order:e.position==="top"?-1:1,gap:Cr(e.spacing),margin:Er(e.margin),padding:Er(e.padding),...Bn(o(c),t(),null),...Nn(o(c),n()),"border-radius":jn(a()),"box-shadow":fa(o(c),i())}));var h=vy();Jt(h,21,()=>({length:e.length}),hn,(f,b,v)=>{var m=hy();V(()=>Oe(m,v===e.selected?o(p):o(d))),E(f,m)}),V(()=>Oe(h,o(_))),E(r,h),me()}var ky=R('<div class="carousel-bg-video-mount svelte-oplmf"><!></div>'),wy=R('<div><!> <div class="carousel-clip svelte-oplmf"><div class="slider svelte-oplmf" role="region" aria-label="Feature carousel" aria-roledescription="carousel" aria-live="polite"><!> <!> <!></div> <!></div></div>');const Py={hash:"svelte-oplmf",code:'.carousel.svelte-oplmf {max-width:100%;display:flex;flex-direction:column;flex-shrink:0;align-self:stretch;}.carousel-clip.svelte-oplmf {display:flex;flex-direction:column;flex:1;min-width:0;min-height:0;overflow:hidden;border-radius:inherit;}.carousel-bg-video-mount.svelte-oplmf {position:absolute;inset:0;z-index:1;border-radius:inherit;overflow:hidden;pointer-events:none;}.carousel.rc-carousel-video-bg.svelte-oplmf::before {content:"";position:absolute;inset:0;background:var(--overlay);pointer-events:none;z-index:2;}.carousel.rc-carousel-video-bg.svelte-oplmf .carousel-clip:where(.svelte-oplmf) {position:relative;z-index:3;}.slider.svelte-oplmf {display:flex;flex-direction:row;flex-wrap:nowrap;transition-property:transform;transition-duration:500ms;transition-timing-function:ease-in-out;transition-delay:2500ms;transform:translateX(0);touch-action:pan-y;cursor:grab;&:active {cursor:grabbing;user-select:none;}}'};function xy(r,e){fe(e,!0),we(r,Py);const t=Ir(e,["$$slots","$$events","$$legacy"]),{emitComponentInteraction:n}=It(),a=ht(),i=g(()=>({...t,...vt(a(),e.overrides)})),s=g(()=>o(i).pages),c=g(()=>o(i).padding),l=g(()=>o(i).margin),u=g(()=>o(i).background),d=g(()=>o(i).shape),p=g(()=>o(i).border),_=g(()=>o(i).shadow),h=g(()=>o(i).page_alignment),f=g(()=>o(i).page_spacing),b=g(()=>o(i).page_peek),v=g(()=>o(i).page_control),m=g(()=>o(i).initial_page_index),k=g(()=>o(i).loop),x=g(()=>o(i).auto_advance),y=lt(),w=g(y),P=g(()=>{var ve;return((ve=o(u))==null?void 0:ve.type)==="video"}),S=g(()=>{if(!o(P))return null;const ve=o(u);return!ve||ve.type!=="video"?null:Lo(o(w),ve)}),T=g(()=>jn(o(d))),I=g(()=>{var ve;return or({margin:Er(o(l)),padding:Er(o(c)),...Vi({hasVideoBg:o(P),positionRelative:!0}),...Bn(o(w),null,o(u)),...Nn(o(w),o(p)),"border-radius":o(T),"box-shadow":fa(o(w),o(_)),"transition-duration":`${((ve=o(x))==null?void 0:ve.ms_transition_time)??0}ms`})}),A=g(()=>or({gap:Cr(o(f)),padding:`0 ${o(b)+o(f)}px`,"align-items":py(o(h))})),C=g(()=>{if(!o(k))return[];const ve=o(s).length-1;switch(o(s).length){case 0:return[];case 1:return[0,0];case 2:return[0,ve];default:return[ve-1,ve]}}),L=g(()=>{if(!o(k))return[];switch(o(s).length){case 0:return[];case 1:return[0,0];default:return[0,1]}});let q=null,j=te(0),Y=te(0),N=g(()=>2*o(b)+o(f)),M=g(()=>o(Y)-o(N)),z=te(null);function U(){return o(s).at(o(m))!==void 0?o(m):0}function O(ve){return o(s).length===0?0:(ve%o(s).length+o(s).length)%o(s).length}function G(ve){var Ve;return(Ve=o(s)[ve])==null?void 0:Ve.name}function Z(ve=!0,Ve){var Sr,zr;if(q===null)return;const fr=ve?((Sr=o(x))==null?void 0:Sr.ms_time_per_page)??0:0;Ve??(Ve=((zr=o(x))==null?void 0:zr.ms_transition_time)??0),q.style.transition=`transform ${Ve}ms ease-in-out ${fr}ms`}function le(){q!==null&&(q.style.transition="none")}const $=g(()=>o(k)?2:0);function oe(ve){q!==null&&(q.style.transform=`translateX(${ve}px)`)}function Pe(ve){if(q===null)return;ve+=o($);const Ve=ve*-o(M);oe(Ve)}function Ie(ve){ve%=o(s).length+o($),Z(!0),Pe(ve)}function J(){o(x)!=null&&requestAnimationFrame(()=>{Ie(o(j)+1)})}xr(()=>{const ve=U();F(j,ve,!0),le(),Pe(o(j)),J()});function Q(ve){return Math.round(ve/-o(M))-o($)}function ae(){const ve=Hi(q),Ve=Q(ve);F(j,(Ve+o(s).length)%o(s).length),le(),Pe(o(j)),requestAnimationFrame(()=>{J()})}let Ee=te(0),ie=0;function Se(ve){ve.currentTarget.setPointerCapture(ve.pointerId),F(Ee,Hi(q),!0),F(z,o(j),!0),ie=ve.clientX}function ye(ve){const Ve=ve.currentTarget;Ve.hasPointerCapture(ve.pointerId)&&Ve.releasePointerCapture(ve.pointerId);const fr=Hi(q),Sr=gy({startPage:o(z)??Q(fr),dragDistance:fr-o(Ee),pageWidth:o(M),pageCount:o(s).length,loop:o(k)}),zr=O(Sr);o(z)!==null&&o(z)!==zr&&n({componentType:"carousel",componentName:e.name,componentValue:zr.toString(),originIndex:o(z),destinationIndex:zr,originContextName:G(o(z)),destinationContextName:G(zr),defaultIndex:U()}),F(z,null),F(j,zr,!0),Z(!1,500),Pe(Sr)}function ee(ve){if(!ve.currentTarget.hasPointerCapture(ve.pointerId))return;const fr=ve.clientX-ie;ie=ve.clientX;const[Sr,zr]=o(k)?[o(Ee)-o(Y),o(Ee)+o(Y)]:[-(o(s).length-1)*o(M),0],qr=Hi(q),Kr=Dp(qr+fr,Sr,zr),Or=Q(Kr);F(j,(Or+o(s).length)%o(s).length),oe(Kr),le()}var K=wy(),se=D(K);{var pe=ve=>{var Ve=ky(),fr=D(Ve);Bo(fr,{get url(){return o(S).url},get urlLowRes(){return o(S).url_low_res},get objectFit(){return o(S).fit},get objectPosition(){return o(S).position},get poster(){return o(S).posterWebp},get mute(){return o(S).mute},get loop(){return o(S).loop}}),E(ve,Ve)};H(se,ve=>{o(S)&&ve(pe)})}var ue=B(se,2),Ae=D(ue);Ae.__pointerdown=Se,Ae.__pointerup=ye,Ae.__pointermove=ee;var Me=D(Ae);Jt(Me,17,()=>o(C),hn,(ve,Ve)=>{{let fr=g(()=>o(j)===o(Ve));Yl(ve,{get page(){return o(s)[o(Ve)]},get index(){return o(Ve)},get pages(){return o(s).length},get selected(){return o(fr)},hidden:!0})}});var De=B(Me,2);Jt(De,17,()=>o(s),hn,(ve,Ve,fr)=>{{let Sr=g(()=>o(j)===fr);Yl(ve,{get page(){return o(Ve)},index:fr,get pages(){return o(s).length},get selected(){return o(Sr)}})}});var he=B(De,2);Jt(he,17,()=>o(L),hn,(ve,Ve)=>{{let fr=g(()=>o(j)===o(Ve));Yl(ve,{get page(){return o(s)[o(Ve)]},get index(){return o(Ve)},get pages(){return o(s).length},get selected(){return o(fr)},hidden:!0})}}),pa(Ae,ve=>q=ve,()=>q);var Ke=B(Ae,2);{var $e=ve=>{by(ve,_r(()=>o(v),{get length(){return o(s).length},get selected(){return o(j)}}))};H(Ke,ve=>{o(v)!=null&&ve($e)})}V(ve=>{ur(K,1,ve,"svelte-oplmf"),Oe(K,o(I)),Oe(Ae,o(A))},[()=>da(["carousel","rc-gradient-border",o(P)?Ui("carousel"):""].filter(Boolean).join(" "))]),Br("transitionend",Ae,ae),Do(Ae,"clientWidth",ve=>F(Y,ve)),E(r,K),me()}Zt(["pointerdown","pointerup","pointermove"]);var Ey=R('<div class="rc-gradient-border"><div></div></div>');function Ap(r,e){fe(e,!0);const t=Ir(e,["$$slots","$$events","$$legacy"]),n=ht({state:!0}),a=g(()=>({...t,...vt(n(),e.overrides)})),i=g(()=>o(a).base_url),s=g(()=>o(a).formats),c=g(()=>o(a).size),l=g(()=>o(a).margin),u=g(()=>o(a).padding),d=g(()=>o(a).color),p=g(()=>o(a).icon_background),_=g(()=>o(a).visible),h=lt(),f=g(h),b=g(()=>{var P,S,T,I;return or({width:kr(o(c).width),height:kr(o(c).height),margin:Er(o(l)),padding:Er(o(u)),"background-color":ct(o(f),(P=o(p))==null?void 0:P.color),...Nn(o(f),(S=o(p))==null?void 0:S.border),"border-radius":jn((T=o(p))==null?void 0:T.shape),"box-shadow":fa(o(f),(I=o(p))==null?void 0:I.shadow),flex:"0 0 auto"})}),v=g(()=>o(_)!==!1),m=g(()=>`${o(i)}/${o(s).webp}`),k=g(()=>or({width:"100%",height:"100%",position:"relative","z-index":1,overflow:"hidden","background-color":ct(o(f),o(d)),"mask-image":`url(${o(m)})`,"-webkit-mask-image":`url(${o(m)})`,"mask-size":"contain","-webkit-mask-size":"contain","mask-position":"center","-webkit-mask-position":"center","mask-repeat":"no-repeat","-webkit-mask-repeat":"no-repeat"}));var x=Te(),y=ce(x);{var w=P=>{var S=Ey(),T=D(S);V(()=>{Oe(S,o(b)),Oe(T,o(k))}),E(P,S)};H(y,P=>{o(v)&&P(w)})}E(r,x),me()}const Fp=Symbol("selected");function Sy(r){mr(Fp,r)}function Gl(){const r=He(Fp);if(r===void 0)throw new Error("Tabs context not found");return r}function Iy(r,e){fe(e,!0);const t=()=>Re(i,"$control",n),[n,a]=Ze(),{control:i}=Gl();Nr(r,_r(()=>t().stack)),me(),a()}function Cy(r,e){fe(e,!0);const{selectedTabId:t,selectTab:n}=Gl();Fi(jt(t,i=>i===e.tab_id)),Nr(r,_r(()=>e.stack,{onclick:()=>{n(e.tab_id,e.tab_index,"tab")}})),me()}var Ty=R('<div role="button" tabindex="0" aria-label="Toggle" class="toggle svelte-1e7gowf"><div class="thumb svelte-1e7gowf"></div></div>');const Dy={hash:"svelte-1e7gowf",code:`.toggle.svelte-1e7gowf {appearance:none;--height: 31px;position:relative;width:51px;height:var(--height);border-radius:calc(var(--height) / 2);cursor:pointer;user-select:none;transition:background-color 300ms ease;}.thumb.svelte-1e7gowf {--size: 27px;position:absolute;top:2px;width:var(--size);height:var(--size);border-radius:50%;box-shadow:0 1px 3px rgba(0, 0, 0, 0.2),
21
21
  0 1px 2px rgba(0, 0, 0, 0.12);transition:left 300ms cubic-bezier(0.25, 0.46, 0.45, 0.94),
22
- background-color 300ms ease;}`};function xy(r,e){he(e,!0),we(r,Py);const t=()=>Ue(p,"$isActive",n),[n,a]=Je(),i=Sr(e,["$$slots","$$events","$$legacy"]),s=gt({state:!0}),c=m(()=>({...i,...ft(s(),e.overrides)})),l=m(()=>o(c).thumb_color_on),u=m(()=>o(c).thumb_color_off),d=m(()=>o(c).track_color_on),_=m(()=>o(c).track_color_off),{isActive:p,selectTab:f}=Gl();Di(p);const g=it(),b=m(g),y=m(()=>ar({background:t()?st(o(b),o(d)):st(o(b),o(_))})),h=m(()=>ar({left:t()?"22px":"2px",background:t()?st(o(b),o(l)):st(o(b),o(u))})),k=()=>{f("",t()?0:1,"switch")},x=E=>{(E.code==="Enter"||E.code==="Space")&&k()};var v=wy();v.__click=k,v.__keydown=x;var w=D(v);Y(()=>{Le(v,o(y)),Le(w,o(h))}),P(r,v),ve(),a()}Yt(["click","keydown"]);var Ey=R("<div><!> <!></div>");const Sy={hash:"svelte-kpv7rn",code:'.rc-tabs-video-bg.svelte-kpv7rn::before {content:"";position:absolute;inset:0;background:var(--overlay);pointer-events:none;z-index:2;}.rc-tabs-video-bg.svelte-kpv7rn > .rc-bg-video {z-index:1;}.rc-tabs-video-bg.svelte-kpv7rn > .rc-tabs-stack-front {position:relative;z-index:3;}'};function Iy(r,e){he(e,!0),we(r,Sy);const t=()=>Ue(O,"$selectedTabIndex",a),n=()=>Ue(z,"$tab",a),[a,i]=Je(),s=Sr(e,["$$slots","$$events","$$legacy"]),{name:c,control:l,tabs:u,default_tab_id:d,state_updates:_}=s,p=gt(),f=Fi(),g=m(()=>({...s,...ft(p(),e.overrides)})),b=m(()=>o(g).size),y=m(()=>o(g).padding),h=m(()=>o(g).margin),k=m(()=>o(g).background),x=m(()=>o(g).shape),v=m(()=>o(g).border),w=m(()=>o(g).shadow),E=m(()=>o(g).visible),I=m(()=>o(E)!==!1),T=it(),S=m(T),A=m(()=>{var ne;return((ne=o(k))==null?void 0:ne.type)==="video"}),C=m(()=>{if(!o(A))return null;const ne=o(k);return!ne||ne.type!=="video"?null:qo(o(S),ne)}),N=m(()=>Bn(o(x))),q=m(()=>ar({position:"relative",width:kr(o(b).width),height:kr(o(b).height),margin:xr(o(h)),padding:xr(o(y)),...Ri({hasVideoBg:o(A),clipOverflow:o(N)!=="0"}),...Rn(o(S),null,o(k)),...jn(o(S),o(v)),"border-radius":o(N),"box-shadow":fa(o(S),o(w))})),{emitComponentInteraction:j}=xt(),Z=Math.max(0,u.findIndex(ne=>ne.id===d)),O=yr(Z),z=Ot(O,ne=>u[ne]),M=ne=>{var ce;return(ce=u[ne])==null?void 0:ce.name},H=(ne,ce,Q)=>{var X;const ie=u.findIndex(B=>B.id===ne),V=ie!==-1?ie:ce;if(V>=0&&V<u.length){const B=To(O);if(B===V)return;Q==="tab"?j({componentType:"tab",componentName:c,componentValue:((X=u[V])==null?void 0:X.id)??ne,originIndex:B,destinationIndex:V,originContextName:M(B),destinationContextName:M(V),defaultIndex:Z}):Q==="switch"&&j({componentType:"switch",componentName:c,componentValue:V===1?"on":"off"}),O.set(V)}};let L;ir(()=>{var ce;if(!o(I)||!(_!=null&&_.length))return;const ne=(ce=u[t()])==null?void 0:ce.id;ne==null||ne===L||(L=ne,f==null||f.applyUpdates(_,ne))}),yy({control:at(l),selectedTabId:Ot(z,ne=>(ne==null?void 0:ne.id)??""),selectTab:H,isActive:Ot(O,ne=>ne===1)});var K=Se(),re=se(K);{var le=ne=>{var ce=Ey(),Q=D(ce);{var ie=B=>{No(B,{get url(){return o(C).url},get urlLowRes(){return o(C).url_low_res},get objectFit(){return o(C).fit},get objectPosition(){return o(C).position},get poster(){return o(C).posterWebp},get mute(){return o(C).mute},get loop(){return o(C).loop}})};W(Q,B=>{o(C)&&B(ie)})}var V=U(Q,2);{var X=B=>{{let oe=m(()=>o(A)?"rc-tabs-stack-front":void 0);qr(B,gr(()=>n().stack,{get class(){return o(oe)}}))}};W(V,B=>{n()!==void 0&&B(X)})}Y(B=>{ur(ce,1,B,"svelte-kpv7rn"),Le(ce,o(q))},[()=>da(["rc-gradient-border",o(A)?Bi("tabs"):""].filter(Boolean).join(" "))]),P(ne,ce)};W(re,ne=>{o(I)&&ne(le)})}P(r,K),ve(),i()}const Cy=Object.freeze({leading:"flex-start",top:"flex-start",center:"center",trailing:"flex-end",bottom:"flex-end"}),Ty=Object.freeze({space_between:"space-between",space_around:"space-around",space_evenly:"space-evenly",start:"flex-start",center:"center",end:"flex-end"});function Dy(r){if(r.type!=="fixed")return{};const e=Ir(r.value);return{"min-width":e,"max-width":e}}function Ay(r){if(r.type!=="fixed")return{};const e=Ir(r.value);return{"min-height":e,"max-height":e}}function Dp(r){return r==="horizontal"?{"align-self":"stretch","min-height":0}:{height:"100%","min-height":0,...r==="vertical"?{"flex-grow":1,"flex-shrink":1,"flex-basis":"0%"}:{}}}function Kl(r){if(r.type==="zlayer")return{};const e=r.type==="vertical"?"column":"row",t=Ty[r.distribution]||"center",n=Cy[r.alignment]||"center";return{"flex-direction":e,"justify-content":t,"align-items":n}}const Fy=Object.freeze({top_leading:{justifyContent:"flex-start",alignItems:"flex-start"},top:{justifyContent:"center",alignItems:"flex-start"},top_trailing:{justifyContent:"flex-end",alignItems:"flex-start"},leading:{justifyContent:"flex-start",alignItems:"center"},center:{justifyContent:"center",alignItems:"center"},trailing:{justifyContent:"flex-end",alignItems:"center"},bottom_leading:{justifyContent:"flex-start",alignItems:"flex-end"},bottom:{justifyContent:"center",alignItems:"flex-end"},bottom_trailing:{justifyContent:"flex-end",alignItems:"flex-end"}});function zy(r){return Fy[r]}function My(r,e){if(r==null)return{};const{style:t,alignment:n}=r,a=n.startsWith("top"),i=n.endsWith("leading"),s=n.endsWith("trailing"),c=!i&&!s,l=e??0;if(t==="overlay"){const u=c?"translateX(-50%)":"",d=a?"translateY(-50%)":"translateY(50%)";return{"z-index":10,position:"absolute",width:"max-content",top:a?Ir(-l/2):"initial",bottom:a?"initial":Ir(-l/2),left:i?Ir(-l):c?"50%":"initial",right:s?Ir(-l):"initial",transform:`${u} ${d}`}}return t==="nested"?{"z-index":10,position:"absolute",inset:0,display:"flex",top:a?Ir(l):"initial",bottom:a?"initial":Ir(l),left:i?Ir(l):c?"50%":"initial",right:s?Ir(l):"initial",transform:c?"translateX(-50%)":"initial"}:{}}var qy=R('<div style="flex-grow: 1; width:100%;"></div>'),Oy=R("<div><!></div>");function Ly(r,e){he(e,!0);const t=()=>Ue(c,"$selectedPackageId",n),[n,a]=Je(),{walletButtonRender:i,onWalletButtonReady:s,selectedPackageId:c}=xt(),l=it(),u=m(l),d=Sr(e,["$$slots","$$events","$$legacy"]),_=m(()=>{const{style:T}=d;if(T!=null)return o(u)==="dark"&&T.dark!=null?T.dark:T.light}),p={width:{type:"fill"},height:{type:"fit"}},f={type:"vertical",alignment:"center",distribution:"center"},g=m(()=>({size:e.size??p,dimension:e.dimension??f,spacing:e.spacing??0,margin:e.margin??zo,border:e.border??null,shape:e.shape??null,shadow:e.shadow??null})),b=m(()=>o(g).size),y=m(()=>o(g).dimension),h=m(()=>o(g).spacing),k=m(()=>o(g).margin),x=m(()=>({display:"flex",position:"relative",width:kr(o(b).width),height:kr(o(b).height),...Kl(o(y)),gap:Ir(o(h)),margin:xr({...o(k)?{...o(k)}:{...zo}})})),v=m(()=>ar(o(x)));var w=Se(),E=se(w);{var I=T=>{var S=Oy(),A=D(S);Wu(A,()=>o(_),C=>{var N=qy();_m(N,(q,j)=>i==null?void 0:i(q,j),()=>({selectedPackageId:t(),onReady:e.onWalletButtonReady??s,walletButtonTheme:o(_)})),P(C,N)}),Y(()=>Le(S,o(v))),P(T,S)};W(E,T=>{i&&t()&&T(I)})}P(r,w),ve(),a()}var Ny=R('<div class="wallet-skeleton rc-gradient-border svelte-1iadn5o">&nbsp; <div class="wallet-skeleton-shimmer svelte-1iadn5o"></div></div>');const jy={hash:"svelte-1iadn5o",code:`.wallet-skeleton.svelte-1iadn5o {position:relative;border-radius:9999px;background-color:rgba(128, 128, 128, 0.16);backdrop-filter:blur(18px);min-height:48px;flex-grow:1;width:100%;}.wallet-skeleton-shimmer.svelte-1iadn5o {position:absolute;inset:0;overflow:hidden;border-radius:inherit;}.wallet-skeleton-shimmer.svelte-1iadn5o::before {content:"";position:absolute;inset:0;background:linear-gradient(
22
+ background-color 300ms ease;}`};function Ay(r,e){fe(e,!0),we(r,Dy);const t=()=>Re(_,"$isActive",n),[n,a]=Ze(),i=Ir(e,["$$slots","$$events","$$legacy"]),s=ht({state:!0}),c=g(()=>({...i,...vt(s(),e.overrides)})),l=g(()=>o(c).thumb_color_on),u=g(()=>o(c).thumb_color_off),d=g(()=>o(c).track_color_on),p=g(()=>o(c).track_color_off),{isActive:_,selectTab:h}=Gl();Fi(_);const f=lt(),b=g(f),v=g(()=>or({background:t()?ct(o(b),o(d)):ct(o(b),o(p))})),m=g(()=>or({left:t()?"22px":"2px",background:t()?ct(o(b),o(l)):ct(o(b),o(u))})),k=()=>{h("",t()?0:1,"switch")},x=P=>{(P.code==="Enter"||P.code==="Space")&&k()};var y=Ty();y.__click=k,y.__keydown=x;var w=D(y);V(()=>{Oe(y,o(v)),Oe(w,o(m))}),E(r,y),me(),a()}Zt(["click","keydown"]);var Fy=R("<div><!> <!></div>");const My={hash:"svelte-kpv7rn",code:'.rc-tabs-video-bg.svelte-kpv7rn::before {content:"";position:absolute;inset:0;background:var(--overlay);pointer-events:none;z-index:2;}.rc-tabs-video-bg.svelte-kpv7rn > .rc-bg-video {z-index:1;}.rc-tabs-video-bg.svelte-kpv7rn > .rc-tabs-stack-front {position:relative;z-index:3;}'};function zy(r,e){fe(e,!0),we(r,My);const t=()=>Re(N,"$selectedTabIndex",a),n=()=>Re(M,"$tab",a),[a,i]=Ze(),s=Ir(e,["$$slots","$$events","$$legacy"]),{name:c,control:l,tabs:u,default_tab_id:d,state_updates:p}=s,_=ht(),h=zi(),f=g(()=>({...s,...vt(_(),e.overrides)})),b=g(()=>o(f).size),v=g(()=>o(f).padding),m=g(()=>o(f).margin),k=g(()=>o(f).background),x=g(()=>o(f).shape),y=g(()=>o(f).border),w=g(()=>o(f).shadow),P=g(()=>o(f).visible),S=g(()=>o(P)!==!1),T=lt(),I=g(T),A=g(()=>{var $;return(($=o(k))==null?void 0:$.type)==="video"}),C=g(()=>{if(!o(A))return null;const $=o(k);return!$||$.type!=="video"?null:Lo(o(I),$)}),L=g(()=>jn(o(x))),q=g(()=>or({position:"relative",width:kr(o(b).width),height:kr(o(b).height),margin:Er(o(m)),padding:Er(o(v)),...Vi({hasVideoBg:o(A),clipOverflow:o(L)!=="0"}),...Bn(o(I),null,o(k)),...Nn(o(I),o(y)),"border-radius":o(L),"box-shadow":fa(o(I),o(w))})),{emitComponentInteraction:j}=It(),Y=Math.max(0,u.findIndex($=>$.id===d)),N=br(Y),M=jt(N,$=>u[$]),z=$=>{var oe;return(oe=u[$])==null?void 0:oe.name},U=($,oe,Pe)=>{var Q;const Ie=u.findIndex(ae=>ae.id===$),J=Ie!==-1?Ie:oe;if(J>=0&&J<u.length){const ae=Ao(N);if(ae===J)return;Pe==="tab"?j({componentType:"tab",componentName:c,componentValue:((Q=u[J])==null?void 0:Q.id)??$,originIndex:ae,destinationIndex:J,originContextName:z(ae),destinationContextName:z(J),defaultIndex:Y}):Pe==="switch"&&j({componentType:"switch",componentName:c,componentValue:J===1?"on":"off"}),N.set(J)}};let O;ir(()=>{var oe;if(!o(S)||!(p!=null&&p.length))return;const $=(oe=u[t()])==null?void 0:oe.id;$==null||$===O||(O=$,h==null||h.applyUpdates(p,$))}),Sy({control:it(l),selectedTabId:jt(M,$=>($==null?void 0:$.id)??""),selectTab:U,isActive:jt(N,$=>$===1)});var G=Te(),Z=ce(G);{var le=$=>{var oe=Fy(),Pe=D(oe);{var Ie=ae=>{Bo(ae,{get url(){return o(C).url},get urlLowRes(){return o(C).url_low_res},get objectFit(){return o(C).fit},get objectPosition(){return o(C).position},get poster(){return o(C).posterWebp},get mute(){return o(C).mute},get loop(){return o(C).loop}})};H(Pe,ae=>{o(C)&&ae(Ie)})}var J=B(Pe,2);{var Q=ae=>{{let Ee=g(()=>o(A)?"rc-tabs-stack-front":void 0);Nr(ae,_r(()=>n().stack,{get class(){return o(Ee)}}))}};H(J,ae=>{n()!==void 0&&ae(Q)})}V(ae=>{ur(oe,1,ae,"svelte-kpv7rn"),Oe(oe,o(q))},[()=>da(["rc-gradient-border",o(A)?Ui("tabs"):""].filter(Boolean).join(" "))]),E($,oe)};H(Z,$=>{o(S)&&$(le)})}E(r,G),me(),i()}const qy=Object.freeze({leading:"flex-start",top:"flex-start",center:"center",trailing:"flex-end",bottom:"flex-end"}),Oy=Object.freeze({space_between:"space-between",space_around:"space-around",space_evenly:"space-evenly",start:"flex-start",center:"center",end:"flex-end"});function Ly(r){if(r.type!=="fixed")return{};const e=Cr(r.value);return{"min-width":e,"max-width":e}}function Ny(r){if(r.type!=="fixed")return{};const e=Cr(r.value);return{"min-height":e,"max-height":e}}function Mp(r){return r==="horizontal"?{"align-self":"stretch","min-height":0}:{height:"100%","min-height":0,...r==="vertical"?{"flex-grow":1,"flex-shrink":1,"flex-basis":"0%"}:{}}}function Kl(r){if(r.type==="zlayer")return{};const e=r.type==="vertical"?"column":"row",t=Oy[r.distribution]||"center",n=qy[r.alignment]||"center";return{"flex-direction":e,"justify-content":t,"align-items":n}}const jy=Object.freeze({top_leading:{justifyContent:"flex-start",alignItems:"flex-start"},top:{justifyContent:"center",alignItems:"flex-start"},top_trailing:{justifyContent:"flex-end",alignItems:"flex-start"},leading:{justifyContent:"flex-start",alignItems:"center"},center:{justifyContent:"center",alignItems:"center"},trailing:{justifyContent:"flex-end",alignItems:"center"},bottom_leading:{justifyContent:"flex-start",alignItems:"flex-end"},bottom:{justifyContent:"center",alignItems:"flex-end"},bottom_trailing:{justifyContent:"flex-end",alignItems:"flex-end"}});function By(r){return jy[r]}function Ry(r,e){if(r==null)return{};const{style:t,alignment:n}=r,a=n.startsWith("top"),i=n.endsWith("leading"),s=n.endsWith("trailing"),c=!i&&!s,l=e??0;if(t==="overlay"){const u=c?"translateX(-50%)":"",d=a?"translateY(-50%)":"translateY(50%)";return{"z-index":10,position:"absolute",width:"max-content",top:a?Cr(-l/2):"initial",bottom:a?"initial":Cr(-l/2),left:i?Cr(-l):c?"50%":"initial",right:s?Cr(-l):"initial",transform:`${u} ${d}`}}return t==="nested"?{"z-index":10,position:"absolute",inset:0,display:"flex",top:a?Cr(l):"initial",bottom:a?"initial":Cr(l),left:i?Cr(l):c?"50%":"initial",right:s?Cr(l):"initial",transform:c?"translateX(-50%)":"initial"}:{}}var Uy=R('<div style="flex-grow: 1; width:100%;"></div>'),Vy=R("<div><!></div>");function Hy(r,e){fe(e,!0);const t=()=>Re(c,"$selectedPackageId",n),[n,a]=Ze(),{walletButtonRender:i,onWalletButtonReady:s,selectedPackageId:c}=It(),l=lt(),u=g(l),d=Ir(e,["$$slots","$$events","$$legacy"]),p=g(()=>{const{style:T}=d;if(T!=null)return o(u)==="dark"&&T.dark!=null?T.dark:T.light}),_={width:{type:"fill"},height:{type:"fit"}},h={type:"vertical",alignment:"center",distribution:"center"},f=g(()=>({size:e.size??_,dimension:e.dimension??h,spacing:e.spacing??0,margin:e.margin??qo,border:e.border??null,shape:e.shape??null,shadow:e.shadow??null})),b=g(()=>o(f).size),v=g(()=>o(f).dimension),m=g(()=>o(f).spacing),k=g(()=>o(f).margin),x=g(()=>({display:"flex",position:"relative",width:kr(o(b).width),height:kr(o(b).height),...Kl(o(v)),gap:Cr(o(m)),margin:Er({...o(k)?{...o(k)}:{...qo}})})),y=g(()=>or(o(x)));var w=Te(),P=ce(w);{var S=T=>{var I=Vy(),A=D(I);Hu(A,()=>o(p),C=>{var L=Uy();ym(L,(q,j)=>i==null?void 0:i(q,j),()=>({selectedPackageId:t(),onReady:e.onWalletButtonReady??s,walletButtonTheme:o(p)})),E(C,L)}),V(()=>Oe(I,o(y))),E(T,I)};H(P,T=>{i&&t()&&T(S)})}E(r,w),me(),a()}var Wy=R('<div class="wallet-skeleton rc-gradient-border svelte-1iadn5o">&nbsp; <div class="wallet-skeleton-shimmer svelte-1iadn5o"></div></div>');const Yy={hash:"svelte-1iadn5o",code:`.wallet-skeleton.svelte-1iadn5o {position:relative;border-radius:9999px;background-color:rgba(128, 128, 128, 0.16);backdrop-filter:blur(18px);min-height:48px;flex-grow:1;width:100%;}.wallet-skeleton-shimmer.svelte-1iadn5o {position:absolute;inset:0;overflow:hidden;border-radius:inherit;}.wallet-skeleton-shimmer.svelte-1iadn5o::before {content:"";position:absolute;inset:0;background:linear-gradient(
23
23
  135deg,
24
24
  rgba(255, 255, 255, 0.2),
25
25
  rgba(255, 255, 255, 0.01)
@@ -35,7 +35,7 @@ Minimum version required to store current data is: `+C+`.
35
35
  100% {
36
36
  transform: translateX(100%);
37
37
  }
38
- }`};function By(r,e){he(e,!0),we(r,jy);const t={width:{type:"fill"},height:{type:"fit"}},n={type:"vertical",alignment:"center",distribution:"center"},a=m(()=>({size:e.size??t,dimension:e.dimension??n,spacing:e.spacing??0,margin:e.margin??zo,border:e.border??null,shape:e.shape??null,shadow:e.shadow??null,style:e.style})),i=m(()=>o(a).size),s=m(()=>o(a).dimension),c=m(()=>o(a).spacing),l=m(()=>o(a).margin),u=m(()=>o(a).border),d=m(()=>o(a).shape),_=m(()=>o(a).shadow),p=m(()=>o(a).style),f=10,g=it(),b=m(g),y=m(()=>({...o(p),display:"flex",position:"relative",width:kr(o(i).width),height:kr(o(i).height),...Kl(o(s)),gap:Ir(o(c)),margin:xr({...o(l)?{...o(l),bottom:Math.max(o(l).bottom,f)}:{...zo,bottom:f}})})),h=m(()=>ar({...o(y),...jn(o(b),o(u)),"border-radius":Bn(o(d)),"box-shadow":fa(o(b),o(_))}));var k=Ny();ke(k,"aria-hidden",!0),Y(()=>Le(k,o(h))),P(r,k),ve()}const va=(r,e)=>{var t;return r.components.some(n=>Ap(n,e))||((t=r.badge)!=null&&t.stack?va(r.badge.stack,e):!1)},Ap=(r,e)=>{if(r.type===e||r.fallback&&Ap(r.fallback,e))return!0;switch(r.type){case"carousel":return r.pages.some(t=>va(t,e));case"package":case"purchase_button":case"tab":case"tab_control_button":return va(r.stack,e);case"stack":return va(r,e);case"tabs":return va(r.control.stack,e)||r.tabs.some(t=>va(t.stack,e));default:return!1}};var Ry=R("<div><!></div> <!>",1);const Uy={hash:"svelte-f1gs4x",code:".wallet-slot.svelte-f1gs4x {display:contents;}.wallet-slot-hidden.svelte-f1gs4x {display:none;}"};function Vy(r,e){he(e,!0),we(r,Uy);const t=Sr(e,["$$slots","$$events","$$legacy"]),{wallet_unknown_stack:n,wallet_available_stack:a,wallet_unavailable_stack:i,type:s,...c}=t,{walletButtonRender:l,...u}=xt(),d=va(a,"wallet_button");let _=te(nr(d?void 0:!1)),p=te(nr(!!l&&d));Sd({walletButtonRender:l,...u,onWalletButtonReady:h=>{F(_,h,!0),F(p,!1)}});const g=m(()=>!o(_)||!a),b=m(()=>!!(a&&o(_)&&!o(p))),y={components:[],type:"stack",visible:null,dimension:{type:"vertical",distribution:"start",alignment:"center"},background_color:null,spacing:0,...c};qr(r,gr(()=>y,{children:(h,k)=>{var x=Ry(),v=se(x),w=D(v);qr(w,gr(()=>a));var E=U(v,2);{var I=S=>{qr(S,gr(()=>n))},T=S=>{var A=Se(),C=se(A);{var N=q=>{qr(q,gr(()=>i))};W(C,q=>{o(g)&&q(N)},!0)}P(S,A)};W(E,S=>{o(p)?S(I):S(T,!1)})}Y(()=>ur(v,1,da(o(b)?"wallet-slot":"wallet-slot-hidden"),"svelte-f1gs4x")),P(h,x)},$$slots:{default:!0}})),ve()}function jo(r,e){he(e,!0);const t={button:Vh,carousel:hy,countdown:Qy,express_purchase_button:Vy,footer:Mp,header:qp,icon:Cp,image:yb,input_multiple_choice:yv,input_option:wv,input_single_choice:Pv,input_text:hv,package:wb,purchase_button:Hb,redemption_button:Zv,skeleton_loader:By,stack:qr,tab_control_button:ky,tab_control_toggle:xy,tab_control:by,tabs:Iy,text:Wl,timeline:Jb,video:ck,wallet_button:Ly,web_view:Ek},n=g=>g.type in t,a=g=>{if(n(g))return[t[g.type],g];if(g.type==="fallback_header")return;const{fallback:b}=g;if(b&&n(b))return[t[b.type],b]},i=Sr(e,["$$slots","$$events","$$legacy","nodeData"]),s=m(()=>a(e.nodeData)??[]),c=m(()=>pi(o(s),2)),l=m(()=>o(c)[0]),u=m(()=>o(c)[1]);var d={getComponentClass:a},_=Se(),p=se(_);{var f=g=>{var b=Se(),y=se(b);lm(y,()=>o(l),(h,k)=>{k(h,gr(()=>o(u)||{},()=>i))}),P(g,b)};W(p,g=>{o(l)&&g(f)})}return P(r,_),ve(d)}const Fp=Symbol("stack-dimension");function Xl(r){const e=zp();return mr(Fp,r),e}function zp(){return He(Fp)}var Hy=R("<div><!></div>"),Wy=R('<div class="rc-zlayer-layer svelte-1j9yufd"><!></div>'),Yy=R('<div style="position: relative; width: 100%; height: 100%; isolation: isolate;"></div>'),Gy=R("<!> <!> <!> <!>",1);const Ky={hash:"svelte-1j9yufd",code:`.stack.svelte-1j9yufd {appearance:none;position:relative;&[role="button"] {cursor:pointer;}&::before {content:"";position:absolute;top:0;left:0;width:100%;height:100%;background:var(--overlay);}}.stack.rc-stack-video-bg.svelte-1j9yufd::before {z-index:2;pointer-events:none;}.stack.rc-stack-video-bg.svelte-1j9yufd > .rc-bg-video {z-index:1;}
38
+ }`};function Gy(r,e){fe(e,!0),we(r,Yy);const t={width:{type:"fill"},height:{type:"fit"}},n={type:"vertical",alignment:"center",distribution:"center"},a=g(()=>({size:e.size??t,dimension:e.dimension??n,spacing:e.spacing??0,margin:e.margin??qo,border:e.border??null,shape:e.shape??null,shadow:e.shadow??null,style:e.style})),i=g(()=>o(a).size),s=g(()=>o(a).dimension),c=g(()=>o(a).spacing),l=g(()=>o(a).margin),u=g(()=>o(a).border),d=g(()=>o(a).shape),p=g(()=>o(a).shadow),_=g(()=>o(a).style),h=10,f=lt(),b=g(f),v=g(()=>({...o(_),display:"flex",position:"relative",width:kr(o(i).width),height:kr(o(i).height),...Kl(o(s)),gap:Cr(o(c)),margin:Er({...o(l)?{...o(l),bottom:Math.max(o(l).bottom,h)}:{...qo,bottom:h}})})),m=g(()=>or({...o(v),...Nn(o(b),o(u)),"border-radius":jn(o(d)),"box-shadow":fa(o(b),o(p))}));var k=Wy();ke(k,"aria-hidden",!0),V(()=>Oe(k,o(m))),E(r,k),me()}const va=(r,e)=>{var t;return r.components.some(n=>zp(n,e))||((t=r.badge)!=null&&t.stack?va(r.badge.stack,e):!1)},zp=(r,e)=>{if(r.type===e||r.fallback&&zp(r.fallback,e))return!0;switch(r.type){case"carousel":return r.pages.some(t=>va(t,e));case"package":case"purchase_button":case"tab":case"tab_control_button":return va(r.stack,e);case"stack":return va(r,e);case"tabs":return va(r.control.stack,e)||r.tabs.some(t=>va(t.stack,e));default:return!1}};var Ky=R("<div><!></div> <!>",1);const Xy={hash:"svelte-f1gs4x",code:".wallet-slot.svelte-f1gs4x {display:contents;}.wallet-slot-hidden.svelte-f1gs4x {display:none;}"};function Zy(r,e){fe(e,!0),we(r,Xy);const t=Ir(e,["$$slots","$$events","$$legacy"]),{wallet_unknown_stack:n,wallet_available_stack:a,wallet_unavailable_stack:i,type:s,...c}=t,{walletButtonRender:l,...u}=It(),d=va(a,"wallet_button");let p=te(ar(d?void 0:!1)),_=te(ar(!!l&&d));Td({walletButtonRender:l,...u,onWalletButtonReady:m=>{F(p,m,!0),F(_,!1)}});const f=g(()=>!o(p)||!a),b=g(()=>!!(a&&o(p)&&!o(_))),v={components:[],type:"stack",visible:null,dimension:{type:"vertical",distribution:"start",alignment:"center"},background_color:null,spacing:0,...c};Nr(r,_r(()=>v,{children:(m,k)=>{var x=Ky(),y=ce(x),w=D(y);Nr(w,_r(()=>a));var P=B(y,2);{var S=I=>{Nr(I,_r(()=>n))},T=I=>{var A=Te(),C=ce(A);{var L=q=>{Nr(q,_r(()=>i))};H(C,q=>{o(f)&&q(L)},!0)}E(I,A)};H(P,I=>{o(_)?I(S):I(T,!1)})}V(()=>ur(y,1,da(o(b)?"wallet-slot":"wallet-slot-hidden"),"svelte-f1gs4x")),E(m,x)},$$slots:{default:!0}})),me()}function Ro(r,e){fe(e,!0);const t={button:Zh,carousel:xy,countdown:ob,express_purchase_button:Zy,footer:Lp,header:Np,icon:Ap,image:Sb,input_multiple_choice:Sv,input_option:Tv,input_single_choice:Dv,input_text:xv,package:Tb,purchase_button:Jb,redemption_button:ny,skeleton_loader:Gy,stack:Nr,tab_control_button:Cy,tab_control_toggle:Ay,tab_control:Iy,tabs:zy,text:Wl,timeline:ak,video:mk,wallet_button:Hy,web_view:Fk},n=f=>f.type in t,a=f=>{if(n(f))return[t[f.type],f];if(f.type==="fallback_header")return;const{fallback:b}=f;if(b&&n(b))return[t[b.type],b]},i=Ir(e,["$$slots","$$events","$$legacy","nodeData"]),s=g(()=>a(e.nodeData)??[]),c=g(()=>gi(o(s),2)),l=g(()=>o(c)[0]),u=g(()=>o(c)[1]);var d={getComponentClass:a},p=Te(),_=ce(p);{var h=f=>{var b=Te(),v=ce(b);gm(v,()=>o(l),(m,k)=>{k(m,_r(()=>o(u)||{},()=>i))}),E(f,b)};H(_,f=>{o(l)&&f(h)})}return E(r,p),me(d)}const qp=Symbol("stack-dimension");function Xl(r){const e=Op();return mr(qp,r),e}function Op(){return He(qp)}var Jy=R("<div><!></div>"),Qy=R('<div class="rc-zlayer-layer svelte-1j9yufd"><!></div>'),$y=R('<div style="position: relative; width: 100%; height: 100%; isolation: isolate;"></div>'),eb=R("<!> <!> <!> <!>",1);const rb={hash:"svelte-1j9yufd",code:`.stack.svelte-1j9yufd {appearance:none;position:relative;&[role="button"] {cursor:pointer;}&::before {content:"";position:absolute;top:0;left:0;width:100%;height:100%;background:var(--overlay);}}.stack.rc-stack-video-bg.svelte-1j9yufd::before {z-index:2;pointer-events:none;}.stack.rc-stack-video-bg.svelte-1j9yufd > .rc-bg-video {z-index:1;}
39
39
 
40
40
  /* Keep flex children interactive and above tinted overlay (::before z-index). */.stack.rc-stack-video-bg.svelte-1j9yufd > :not(.rc-bg-video) {position:relative;z-index:3;}
41
41
 
@@ -44,12 +44,12 @@ Minimum version required to store current data is: `+C+`.
44
44
  * clicks anywhere over the stack — including where it has no content —
45
45
  * blocking interactive elements on the layers beneath. Only its own content
46
46
  * should be hit-testable.
47
- */.rc-zlayer-layer.svelte-1j9yufd {pointer-events:none;}.rc-zlayer-layer.svelte-1j9yufd > * {pointer-events:auto;}`};function qr(r,e){he(e,!0),we(r,Ky);const t=Sr(e,["$$slots","$$events","$$legacy"]),{onclick:n,children:a,class:i,testId:s}=t,c=gt({state:!0,hover:!0}),l=m(()=>({...t,...ft(c(),e.overrides)})),u=m(()=>o(l).components),d=m(()=>o(l).size),_=m(()=>o(l).dimension),p=m(()=>o(l).spacing),f=m(()=>o(l).margin),g=m(()=>o(l).padding),b=m(()=>o(l).background_color),y=m(()=>o(l).background),h=m(()=>o(l).border),k=m(()=>o(l).shape),x=m(()=>o(l).shadow),v=m(()=>o(l).badge),w=m(()=>o(l).visible),E=Xl(()=>o(_).type),I=it(),T=m(I),S=m(()=>{var L;return((L=o(y))==null?void 0:L.type)==="video"}),A=m(()=>{if(!o(S))return null;const L=o(y);return!L||L.type!=="video"?null:qo(o(T),L)}),C=m(()=>Bn(o(k))),N=m(()=>o(d).height.type==="fill"),q=m(()=>ar({display:"flex",position:"relative",width:kr(o(d).width),...o(N)?Dp(E==null?void 0:E()):{height:kr(o(d).height)},...Dy(o(d).width),...Ay(o(d).height),...Kl(o(_)),gap:Ir(o(p)),margin:xr(o(f)),padding:xr(o(g)),...Rn(o(T),o(b),o(y)),...jn(o(T),o(h)),"border-radius":o(C),"box-shadow":fa(o(T),o(x)),...Ri({hasVideoBg:o(S),clipOverflow:o(C)!=="0"}),...e.style})),j=L=>{if(L===0||o(_).type!=="zlayer")return"";const{justifyContent:K,alignItems:re}=zy(o(_).alignment);return ar({position:"absolute",inset:0,display:"flex","justify-content":K,"align-items":re,"z-index":L+1})},Z=m(()=>{var L;return ar(My(o(v),(L=o(h))==null?void 0:L.width))}),O=m(()=>o(w)!==!1);var z=Se(),M=se(z);{var H=L=>{var K=Se(),re=se(K);Zs(re,()=>n!==void 0?"button":"div",!1,(le,ne)=>{el(le,me=>({role:n!==void 0?"button":void 0,onclick:n,style:o(q),class:me,"data-testid":s}),[()=>["stack","rc-gradient-border",i,o(S)?Bi("stack"):""].filter(Boolean).join(" ")],void 0,void 0,"svelte-1j9yufd");var ce=Gy(),Q=se(ce);{var ie=me=>{No(me,{get url(){return o(A).url},get urlLowRes(){return o(A).url_low_res},get objectFit(){return o(A).fit},get objectPosition(){return o(A).position},get poster(){return o(A).posterWebp},get mute(){return o(A).mute},get loop(){return o(A).loop}})};W(Q,me=>{o(A)&&me(ie)})}var V=U(Q,2);{var X=me=>{var xe=Hy(),qe=D(xe);jo(qe,{get nodeData(){return o(v).stack}}),Y(()=>Le(xe,o(Z))),P(me,xe)};W(V,me=>{o(v)&&me(X)})}var B=U(V,2);{var oe=me=>{var xe=Yy();Gt(xe,21,()=>o(u),gn,(qe,ze,De)=>{var be=Wy(),Ae=D(be);jo(Ae,{get nodeData(){return o(ze)}}),Y(Fe=>Le(be,Fe),[()=>j(De)]),P(qe,be)}),P(me,xe)},$=me=>{var xe=Se(),qe=se(xe);Gt(qe,17,()=>o(u),gn,(ze,De)=>{jo(ze,{get nodeData(){return o(De)}})}),P(me,xe)};W(B,me=>{o(_).type==="zlayer"?me(oe):me($,!1)})}var ue=U(B,2);a==null||a(ue),P(ne,ce)}),P(L,K)};W(M,L=>{o(O)&&L(H)})}P(r,z),ve()}function Vi(r){return r<10?`0${r}`:`${r}`}function Hi(r){return`${r}`}function Xy(r,e=Date.now()){const n=new Date(r).getTime()-e;if(n<=0)return{count_days_with_zero:"00",count_days_without_zero:"0",count_hours_with_zero:"00",count_hours_without_zero:"0",count_minutes_with_zero:"00",count_minutes_without_zero:"0",count_seconds_with_zero:"00",count_seconds_without_zero:"0"};const a=Math.floor(n/1e3),i=Math.floor(a/60),s=Math.floor(i/60),l=Math.floor(s/24),u=s%24,d=i%60,_=a%60;return{count_days_with_zero:Vi(l),count_days_without_zero:Hi(l),count_hours_with_zero:Vi(u),count_hours_without_zero:Hi(u),count_minutes_with_zero:Vi(d),count_minutes_without_zero:Hi(d),count_seconds_with_zero:Vi(_),count_seconds_without_zero:Hi(_)}}function Zy(r,e=Date.now()){return new Date(r).getTime()<=e}const Jy=at(Date.now(),r=>{r(Date.now());let e;const t=setTimeout(()=>{r(Date.now()),e=setInterval(()=>r(Date.now()),1e3)},1e3-Date.now()%1e3);return()=>{clearTimeout(t),e!==void 0&&clearInterval(e)}});function Qy(r,e){he(e,!0);const t=()=>Ue(Jy,"$sharedNow",n),[n,a]=Je(),i=Sr(e,["$$slots","$$events","$$legacy"]),{countdown_stack:s,end_stack:c}=i,l=m(()=>Xy(e.style.date,t())),u=m(()=>Zy(e.style.date,t())),d=ml(),_=Ot([d,xh(()=>o(l))],([h,k])=>({...h,...k}));fl(_);const p=m(()=>o(u)&&c?c:s),f=m(()=>e.visible!==!1);var g=Se(),b=se(g);{var y=h=>{qr(h,gr(()=>o(p)))};W(b,h=>{o(f)&&h(y)})}P(r,g),ve(),a()}var $y=R('<div class="svelte-1k7myt1"><!></div>');const eb={hash:"svelte-1k7myt1",code:"div.svelte-1k7myt1 {width:100%;display:flex;flex-direction:row;justify-content:center;}"};function Mp(r,e){he(e,!0),we(r,eb),Xl(()=>"horizontal");var t=$y(),n=D(t);qr(n,gr(()=>e.stack)),P(r,t),ve()}var rb=R('<div class="svelte-1p7muup"><!></div>');const tb={hash:"svelte-1p7muup",code:"div.svelte-1p7muup {display:flex;flex-direction:row;justify-content:center;}"};function qp(r,e){he(e,!0),we(r,tb),Xl(()=>"horizontal");var t=rb(),n=D(t);qr(n,gr(()=>e.stack)),P(r,t),ve()}var nb=Dr("<circle></circle>"),ab=Dr("<path></path>"),ob=Dr("<path></path>"),ib=Dr("<path></path>"),sb=Dr("<!><!><!><!>",1);function Wi(r,e){he(e,!0);const t=m(()=>{var k;if(((k=e.shape)==null?void 0:k.type)!=="rectangle")return[0,0,0,0];const{corners:h}=e.shape;return[(h==null?void 0:h.top_leading)??0,(h==null?void 0:h.top_trailing)??0,(h==null?void 0:h.bottom_trailing)??0,(h==null?void 0:h.bottom_leading)??0]}),n=m(()=>pi(o(t),4)),a=m(()=>o(n)[0]),i=m(()=>o(n)[1]),s=m(()=>o(n)[2]),c=m(()=>o(n)[3]);var l=sb(),u=se(l);{var d=h=>{var k=nb();Y(x=>{ke(k,"cx",e.width/2),ke(k,"cy",e.height/2),ke(k,"r",x)},[()=>Math.min(e.width,e.height)/2]),P(h,k)};W(u,h=>{var k;((k=e.shape)==null?void 0:k.type)==="circle"&&h(d)})}var _=U(u);{var p=h=>{var k=ab();Y(()=>ke(k,"d",`M 0 0 L ${e.width} 0 L ${e.width} ${e.height} Q ${e.width/2} ${e.height-54} 0 ${e.height} Z`)),P(h,k)};W(_,h=>{var k;((k=e.shape)==null?void 0:k.type)==="concave"&&h(p)})}var f=U(_);{var g=h=>{var k=ob();Y(()=>ke(k,"d",`M 0 0 L ${e.width} 0 L ${e.width} ${e.height-27} Q ${e.width/2} ${e.height+27} 0 ${e.height-27} Z`)),P(h,k)};W(f,h=>{var k;((k=e.shape)==null?void 0:k.type)==="convex"&&h(g)})}var b=U(f);{var y=h=>{var k=ib();Y(()=>ke(k,"d",`M ${o(a)} 0 H ${e.width-o(i)} A ${o(i)} ${o(i)} 0 0 1 ${e.width} ${o(i)}
47
+ */.rc-zlayer-layer.svelte-1j9yufd {pointer-events:none;}.rc-zlayer-layer.svelte-1j9yufd > * {pointer-events:auto;}`};function Nr(r,e){fe(e,!0),we(r,rb);const t=Ir(e,["$$slots","$$events","$$legacy"]),{onclick:n,children:a,class:i,testId:s}=t,c=ht({state:!0,hover:!0}),l=g(()=>({...t,...vt(c(),e.overrides)})),u=g(()=>o(l).components),d=g(()=>o(l).size),p=g(()=>o(l).dimension),_=g(()=>o(l).spacing),h=g(()=>o(l).margin),f=g(()=>o(l).padding),b=g(()=>o(l).background_color),v=g(()=>o(l).background),m=g(()=>o(l).border),k=g(()=>o(l).shape),x=g(()=>o(l).shadow),y=g(()=>o(l).badge),w=g(()=>o(l).visible),P=Xl(()=>o(p).type),S=lt(),T=g(S),I=g(()=>{var O;return((O=o(v))==null?void 0:O.type)==="video"}),A=g(()=>{if(!o(I))return null;const O=o(v);return!O||O.type!=="video"?null:Lo(o(T),O)}),C=g(()=>jn(o(k))),L=g(()=>o(d).height.type==="fill"),q=g(()=>or({display:"flex",position:"relative",width:kr(o(d).width),...o(L)?Mp(P==null?void 0:P()):{height:kr(o(d).height)},...Ly(o(d).width),...Ny(o(d).height),...Kl(o(p)),gap:Cr(o(_)),margin:Er(o(h)),padding:Er(o(f)),...Bn(o(T),o(b),o(v)),...Nn(o(T),o(m)),"border-radius":o(C),"box-shadow":fa(o(T),o(x)),...Vi({hasVideoBg:o(I),clipOverflow:o(C)!=="0"}),...e.style})),j=O=>{if(O===0||o(p).type!=="zlayer")return"";const{justifyContent:G,alignItems:Z}=By(o(p).alignment);return or({position:"absolute",inset:0,display:"flex","justify-content":G,"align-items":Z,"z-index":O+1})},Y=g(()=>{var O;return or(Ry(o(y),(O=o(m))==null?void 0:O.width))}),N=g(()=>o(w)!==!1);var M=Te(),z=ce(M);{var U=O=>{var G=Te(),Z=ce(G);Zs(Z,()=>n!==void 0?"button":"div",!1,(le,$)=>{el(le,ye=>({role:n!==void 0?"button":void 0,onclick:n,style:o(q),class:ye,"data-testid":s}),[()=>["stack","rc-gradient-border",i,o(I)?Ui("stack"):""].filter(Boolean).join(" ")],void 0,void 0,"svelte-1j9yufd");var oe=eb(),Pe=ce(oe);{var Ie=ye=>{Bo(ye,{get url(){return o(A).url},get urlLowRes(){return o(A).url_low_res},get objectFit(){return o(A).fit},get objectPosition(){return o(A).position},get poster(){return o(A).posterWebp},get mute(){return o(A).mute},get loop(){return o(A).loop}})};H(Pe,ye=>{o(A)&&ye(Ie)})}var J=B(Pe,2);{var Q=ye=>{var ee=Jy(),K=D(ee);Ro(K,{get nodeData(){return o(y).stack}}),V(()=>Oe(ee,o(Y))),E(ye,ee)};H(J,ye=>{o(y)&&ye(Q)})}var ae=B(J,2);{var Ee=ye=>{var ee=$y();Jt(ee,21,()=>o(u),hn,(K,se,pe)=>{var ue=Qy(),Ae=D(ue);Ro(Ae,{get nodeData(){return o(se)}}),V(Me=>Oe(ue,Me),[()=>j(pe)]),E(K,ue)}),E(ye,ee)},ie=ye=>{var ee=Te(),K=ce(ee);Jt(K,17,()=>o(u),hn,(se,pe)=>{Ro(se,{get nodeData(){return o(pe)}})}),E(ye,ee)};H(ae,ye=>{o(p).type==="zlayer"?ye(Ee):ye(ie,!1)})}var Se=B(ae,2);a==null||a(Se),E($,oe)}),E(O,G)};H(z,O=>{o(N)&&O(U)})}E(r,M),me()}function Wi(r){return r<10?`0${r}`:`${r}`}function Yi(r){return`${r}`}function tb(r,e=Date.now()){const n=new Date(r).getTime()-e;if(n<=0)return{count_days_with_zero:"00",count_days_without_zero:"0",count_hours_with_zero:"00",count_hours_without_zero:"0",count_minutes_with_zero:"00",count_minutes_without_zero:"0",count_seconds_with_zero:"00",count_seconds_without_zero:"0"};const a=Math.floor(n/1e3),i=Math.floor(a/60),s=Math.floor(i/60),l=Math.floor(s/24),u=s%24,d=i%60,p=a%60;return{count_days_with_zero:Wi(l),count_days_without_zero:Yi(l),count_hours_with_zero:Wi(u),count_hours_without_zero:Yi(u),count_minutes_with_zero:Wi(d),count_minutes_without_zero:Yi(d),count_seconds_with_zero:Wi(p),count_seconds_without_zero:Yi(p)}}function nb(r,e=Date.now()){return new Date(r).getTime()<=e}const ab=it(Date.now(),r=>{r(Date.now());let e;const t=setTimeout(()=>{r(Date.now()),e=setInterval(()=>r(Date.now()),1e3)},1e3-Date.now()%1e3);return()=>{clearTimeout(t),e!==void 0&&clearInterval(e)}});function ob(r,e){fe(e,!0);const t=()=>Re(ab,"$sharedNow",n),[n,a]=Ze(),i=Ir(e,["$$slots","$$events","$$legacy"]),{countdown_stack:s,end_stack:c}=i,l=g(()=>tb(e.style.date,t())),u=g(()=>nb(e.style.date,t())),d=ml(),p=jt([d,Ah(()=>o(l))],([m,k])=>({...m,...k}));fl(p);const _=g(()=>o(u)&&c?c:s),h=g(()=>e.visible!==!1);var f=Te(),b=ce(f);{var v=m=>{Nr(m,_r(()=>o(_)))};H(b,m=>{o(h)&&m(v)})}E(r,f),me(),a()}var ib=R('<div class="svelte-1k7myt1"><!></div>');const sb={hash:"svelte-1k7myt1",code:"div.svelte-1k7myt1 {width:100%;display:flex;flex-direction:row;justify-content:center;}"};function Lp(r,e){fe(e,!0),we(r,sb),Xl(()=>"horizontal");var t=ib(),n=D(t);Nr(n,_r(()=>e.stack)),E(r,t),me()}var lb=R('<div class="svelte-1p7muup"><!></div>');const cb={hash:"svelte-1p7muup",code:"div.svelte-1p7muup {display:flex;flex-direction:row;justify-content:center;}"};function Np(r,e){fe(e,!0),we(r,cb),Xl(()=>"horizontal");var t=lb(),n=D(t);Nr(n,_r(()=>e.stack)),E(r,t),me()}var ub=Dr("<circle></circle>"),db=Dr("<path></path>"),pb=Dr("<path></path>"),_b=Dr("<path></path>"),gb=Dr("<!><!><!><!>",1);function Gi(r,e){fe(e,!0);const t=g(()=>{var k;if(((k=e.shape)==null?void 0:k.type)!=="rectangle")return[0,0,0,0];const{corners:m}=e.shape;return[(m==null?void 0:m.top_leading)??0,(m==null?void 0:m.top_trailing)??0,(m==null?void 0:m.bottom_trailing)??0,(m==null?void 0:m.bottom_leading)??0]}),n=g(()=>gi(o(t),4)),a=g(()=>o(n)[0]),i=g(()=>o(n)[1]),s=g(()=>o(n)[2]),c=g(()=>o(n)[3]);var l=gb(),u=ce(l);{var d=m=>{var k=ub();V(x=>{ke(k,"cx",e.width/2),ke(k,"cy",e.height/2),ke(k,"r",x)},[()=>Math.min(e.width,e.height)/2]),E(m,k)};H(u,m=>{var k;((k=e.shape)==null?void 0:k.type)==="circle"&&m(d)})}var p=B(u);{var _=m=>{var k=db();V(()=>ke(k,"d",`M 0 0 L ${e.width} 0 L ${e.width} ${e.height} Q ${e.width/2} ${e.height-54} 0 ${e.height} Z`)),E(m,k)};H(p,m=>{var k;((k=e.shape)==null?void 0:k.type)==="concave"&&m(_)})}var h=B(p);{var f=m=>{var k=pb();V(()=>ke(k,"d",`M 0 0 L ${e.width} 0 L ${e.width} ${e.height-27} Q ${e.width/2} ${e.height+27} 0 ${e.height-27} Z`)),E(m,k)};H(h,m=>{var k;((k=e.shape)==null?void 0:k.type)==="convex"&&m(f)})}var b=B(h);{var v=m=>{var k=_b();V(()=>ke(k,"d",`M ${o(a)} 0 H ${e.width-o(i)} A ${o(i)} ${o(i)} 0 0 1 ${e.width} ${o(i)}
48
48
  V ${e.height-o(s)} A ${o(s)} ${o(s)} 0 0 1 ${e.width-o(s)} ${e.height}
49
49
  H ${o(c)} A ${o(c)} ${o(c)} 0 0 1 0 ${e.height-o(c)}
50
- V ${o(a)} A ${o(a)} ${o(a)} 0 0 1 ${o(a)} 0 Z`)),P(h,k)};W(b,h=>{var k,x;(((k=e.shape)==null?void 0:k.type)==="rectangle"||((x=e.shape)==null?void 0:x.type)===void 0)&&h(y)})}P(r,l),ve()}var lb=Dr('<linearGradient x1="0" y1="0" x2="100%" y2="100%"><stop offset="0%"></stop><stop offset="100%"></stop></linearGradient>'),cb=Dr("<stop></stop>"),ub=Dr("<linearGradient></linearGradient>"),db=Dr("<stop></stop>"),pb=Dr("<radialGradient></radialGradient>"),_b=Dr("<!><!><!>",1);function Yi(r,e){he(e,!0);var t=_b(),n=se(t);{var a=u=>{var d=lb(),_=D(d),p=U(_);Y(()=>{ke(d,"id",e.id),ke(_,"stop-color",e.overlay.value),ke(p,"stop-color",e.overlay.value)}),P(u,d)};W(n,u=>{var d;((d=e.overlay)==null?void 0:d.type)==="hex"&&u(a)})}var i=U(n);{var s=u=>{var d=ub();Gt(d,21,()=>e.overlay.points,gn,(_,p)=>{var f=cb();Y(()=>{ke(f,"offset",`${o(p).percent}%`),ke(f,"stop-color",o(p).color)}),P(_,f)}),Y(()=>{ke(d,"id",e.id),ke(d,"gradientTransform",`rotate(${e.overlay.degrees-90}, 0.5, 0.5)`)}),P(u,d)};W(i,u=>{var d;((d=e.overlay)==null?void 0:d.type)==="linear"&&u(s)})}var c=U(i);{var l=u=>{var d=pb();Gt(d,21,()=>e.overlay.points,gn,(_,p)=>{var f=db();Y(()=>{ke(f,"offset",`${o(p).percent}%`),ke(f,"stop-color",o(p).color)}),P(_,f)}),Y(()=>ke(d,"id",e.id)),P(u,d)};W(c,u=>{var d;((d=e.overlay)==null?void 0:d.type)==="radial"&&u(l)})}P(r,t),ve()}var gb=Dr('<use fill="transparent"></use>'),fb=Dr('<rect x="0" y="0" height="100%" width="100%"></rect>'),mb=Dr('<use fill="none"></use>'),hb=R('<div><svg width="100%" height="100%"><defs><clipPath><!></clipPath><g><!></g><!><!></defs><!><g><foreignObject x="0" y="0" width="100%" height="100%"><img alt="" class="svelte-15zso79"/></foreignObject><!><!></g></svg></div>');const vb={hash:"svelte-15zso79",code:"img.svelte-15zso79 {width:100%;height:100%;object-fit:contain;object-position:center;}"};function yb(r,e){he(e,!0),we(r,vb);const t=Sr(e,["$$slots","$$events","$$legacy"]),n=gt({state:!0}),a=m(()=>({...t,...ft(n(),e.overrides)})),i=m(()=>o(a).id),s=m(()=>o(a).source),c=m(()=>o(a).size),l=m(()=>o(a).mask_shape),u=m(()=>o(a).fit_mode),d=m(()=>o(a).padding),_=m(()=>o(a).margin),p=m(()=>o(a).color_overlay),f=m(()=>o(a).border),g=m(()=>o(a).shadow),b=m(()=>o(a).visible),y=it(),h=m(y),k=m(()=>et(o(h),o(s)));let x=te(0),v=te(nr({height:0,width:0}));ir(()=>{if(o(k).width||o(k).height){F(v,{height:o(k).height,width:o(k).width},!0);return}const H=new window.Image;H.src=o(k).original;const L=()=>{F(v,{height:H.height,width:H.width},!0)};return H.addEventListener("load",L),()=>{H.removeEventListener("load",L)}});const w=m(()=>o(c).height.type==="fixed"?o(c).height.value:Math.round(o(x)*(o(v).height/o(v).width))),E=m(()=>ar({width:kr(o(c).width),height:`${o(w)}px`,margin:xr(o(_)),padding:xr(o(d)),"line-height":0,"flex-shrink":o(c).width.type==="fixed"?0:1}));let I=te(null);const T=m(()=>{var H,L;return[((H=o(I))==null?void 0:H.width)??0,((L=o(I))==null?void 0:L.height)??0]}),S=m(()=>pi(o(T),2)),A=m(()=>o(S)[0]),C=m(()=>o(S)[1]),N=m(()=>`0 0 ${o(A)} ${o(C)}`),q=m(()=>{var ne;if(!((ne=o(g))!=null&&ne.color))return"";const{x:H,y:L,radius:K,color:re}=o(g),le=st(o(h),re);return`filter: drop-shadow(${H}px ${L}px ${K}px ${le})`}),j=m(()=>o(p)&&et(o(h),o(p))),Z=m(()=>o(b)!==!1);var O=Se(),z=se(O);{var M=H=>{var L=hb(),K=D(L),re=D(K),le=D(re),ne=D(le);Wi(ne,{get shape(){return o(l)},get width(){return o(A)},get height(){return o(C)}});var ce=U(le),Q=D(ce);Wi(Q,{get shape(){return o(l)},get width(){return o(A)},get height(){return o(C)}});var ie=U(ce);{let be=m(()=>`${o(i)}-overlay`);Yi(ie,{get id(){return o(be)},get overlay(){return o(j)}})}var V=U(ie);{var X=be=>{{let Ae=m(()=>`${o(i)}-border-color`),Fe=m(()=>et(o(h),o(f).color));Yi(be,{get id(){return o(Ae)},get overlay(){return o(Fe)}})}};W(V,be=>{o(f)&&o(f).width>0&&be(X)})}var B=U(re);{var oe=be=>{var Ae=gb();Y(()=>ke(Ae,"href",`#${o(i)}-border`)),P(be,Ae)};W(B,be=>{o(f)&&o(f).width>0&&be(oe)})}var $=U(B),ue=D($),me=D(ue),xe=U(ue);{var qe=be=>{var Ae=fb();Y(()=>ke(Ae,"fill",`url(#${o(i)}-overlay)`)),P(be,Ae)};W(xe,be=>{o(j)&&be(qe)})}var ze=U(xe);{var De=be=>{var Ae=mb();Y(()=>{ke(Ae,"href",`#${o(i)}-border`),ke(Ae,"stroke",`url(#${o(i)}-border-color)`),ke(Ae,"stroke-width",o(f).width*2)}),P(be,Ae)};W(ze,be=>{o(f)&&o(f).width>0&&be(De)})}Y(be=>{Le(L,o(E)),ke(K,"viewBox",o(N)),Le(K,o(q)),ke(le,"id",`${o(i)}-path`),ke(ce,"id",`${o(i)}-border`),ke($,"clip-path",`url(#${o(i)}-path)`),ke(me,"src",o(k).original),Le(me,`object-fit:${be??""}`)},[()=>Ya(o(u))]),ad(K,"contentRect",be=>F(I,be)),Co(L,"clientWidth",be=>F(x,be)),P(H,L)};W(z,H=>{o(Z)&&H(M)})}P(r,O),ve()}const Op=Symbol("packageId");function bb(r){mr(Op,r)}function kb(){return He(Op)}function wb(r,e){he(e,!0);const t=()=>Ue(f,"$selectedPackageId",l),n=()=>Ue(g,"$variablesPerPackage",l),a=()=>Ue(v,"$fallbackVariables",l),i=()=>Ue(b,"$baseVariables",l),s=()=>Ue(y,"$infoPerPackage",l),c=()=>Ue(I,"$fallbackPackageInfo",l),[l,u]=Je(),d=yr(e.package_id);ir(()=>{d.set(e.package_id)}),bb(d);const{defaultPackageId:_,emitComponentInteraction:p,selectedPackageId:f,variablesPerPackage:g,baseVariables:b,infoPerPackage:y}=xt();ir(()=>{if(e.is_selected_by_default){const A=e.package_id;Ve(()=>{Ii(f,A)})}});const h=m(()=>t()===e.package_id),k=yr(o(h));ir(()=>{k.set(o(h))}),Di(k);const x=()=>{const A=t();A!==e.package_id&&(Ii(f,e.package_id),p({componentType:"package",componentName:e.name,componentValue:e.package_id,originPackageId:A,destinationPackageId:e.package_id,defaultPackageId:_}))},v=ml(),w=m(()=>{var C;const A=(C=n())==null?void 0:C[e.package_id];return A===void 0?a():{...i(),...A}}),E=yr(o(w));ir(()=>{E.set(o(w))}),fl(E);const I=Ih(),T=m(()=>{var A;return((A=s())==null?void 0:A[e.package_id])??c()}),S=yr(o(T));ir(()=>{S.set(o(T))}),xd(S),qr(r,gr(()=>e.stack,{onclick:x})),ve(),u()}var Lp;(function(r){r.weekly="$rc_weekly",r.monthly="$rc_monthly",r.two_month="$rc_two_month",r.three_month="$rc_three_month",r.six_month="$rc_six_month",r.annual="$rc_annual",r.lifetime="$rc_lifetime"})(Lp||(Lp={}));const Pb={string:r=>({type:"string",value:r}),number:r=>({type:"number",value:r}),boolean:r=>({type:"boolean",value:r})};function Np(r,e){const t=Object.fromEntries(Object.entries(r).map(([a,{value:i}])=>[a,String(i)]));return e?{...Object.fromEntries(Object.entries(e.custom_variables??{}).map(([a,{default_value:i}])=>[a,String(i)])),...t}:t}const jp="--rc-purchases-ui-bg-color";function xb(r,e,t){const n=a=>t==="dark"?a==null?void 0:a.dark:a==null?void 0:a.light;return n(r)??n(e)??null}const Bp=/^#[0-9a-fA-F]{6}([0-9a-fA-F]{2})?$/;function Eb(r){return Bp.test(r)}function Sb(r){const e=Bp.exec(r);return e!=null&&(e[1]==null||e[1].toLowerCase()==="ff")}function Gi(r){return r.length===7?`${r.toLowerCase()}ff`:r.toLowerCase()}function Rp(r,e,t){const n=xb(r,e,t);return n?Mo(n):null}function Zl(r,e){const t=r[0],n=r.at(-1);if(t==null||n==null)return null;if(e<=t.percent)return Gi(t.color);if(e>=n.percent)return Gi(n.color);const a=r.findIndex(c=>c.percent>=e),i=r[a-1],s=r[a];return i==null||s==null?null:i.color.toLowerCase()===s.color.toLowerCase()?Gi(i.color):i.percent===s.percent?Gi(s.color):null}function Ib(r){return r.filter(e=>Number.isFinite(e.percent)&&Eb(e.color)).slice().sort((e,t)=>e.percent-t.percent)}function Up(r,[e,t]){const n=Zl(r,e);if(n==null||!Sb(n))return null;const a=[e,...r.map(s=>s.percent).filter(s=>s>e&&s<t),t];return a.every((s,c)=>{if(Zl(r,s)!==n)return!1;const l=a[c+1];return l==null||l===s?!0:Zl(r,(s+l)/2)===n})?n:null}function Vp(r){return Math.abs(r)<1e-10?0:r}function Hp(r,e,t,n){const a=r*Math.PI/180,i=Vp(Math.sin(a)),s=Vp(-Math.cos(a)),c=Math.abs(i)*n.width+Math.abs(s)*n.height;return((e-n.width/2)*i+(t-n.height/2)*s+c/2)/c*100}function Cb(r,e,t){const n=e==="top"?0:t.height,a=Hp(r,0,n,t),i=Hp(r,t.width,n,t);return[Math.min(a,i),Math.max(a,i)]}function Wp(r,e,t){const n=Math.hypot(t.width/2,t.height/2);return Math.hypot(r-t.width/2,e-t.height/2)/n*100}function Tb(r,e){const t=r==="top"?0:e.height,n=Wp(e.width/2,t,e),a=Wp(0,t,e);return[Math.min(n,a),Math.max(n,a)]}function Yp(r,e,t,n){switch(r.type){case"hex":case"alias":return Mo(r);case"linear":return Up(n??[],Cb(r.degrees,e,t));case"radial":return Up(n??[],Tb(e,t))}}function Db(r,e,t,n){let a=null,i=null;if((r==null?void 0:r.type)==="color"){const s=et(e,r.value),c=s.type==="linear"||s.type==="radial"?Ib(s.points):null;a=Yp(s,"top",t,c),i=Yp(s,"bottom",t,c)}if(n!=null&&n.stickyComponents){const s=n.stickyComponents.hasHeader===!0,c=n.stickyComponents.hasFooter===!0;a=c&&!s?a:null,i=s&&!c?i:null}if((n==null?void 0:n.paywallFallbackColor)!=null||(n==null?void 0:n.hostFallbackColor)!=null){const s=Rp(n.paywallFallbackColor,n.hostFallbackColor,e);a=a??s,i=i??s}return{top:a,bottom:i}}let Jl=null;function Ab(r,e,t){var u;if(typeof document>"u")return()=>{};const{paywallData:n,colorMode:a,hostFallbackColor:i}=t,s=document.documentElement,c=(u=n==null?void 0:n.components_config)==null?void 0:u.base;let l=null;if(e.kind==="style"&&e.style.background){const d=e.style.background;if(!d.includes("gradient"))l=d;else{const _=Db(c==null?void 0:c.background,a,{width:window.innerWidth,height:window.innerHeight},{stickyComponents:{hasHeader:(c==null?void 0:c.header)!=null,hasFooter:(c==null?void 0:c.sticky_footer)!=null}});l=_.top??_.bottom}}return l===null&&(l=Rp(c==null?void 0:c.safe_area_fallback_color,i,a)),l!==null&&(Jl=r,s.style.setProperty(jp,l)),()=>{Jl===r&&(Jl=null,s.style.removeProperty(jp))}}function Fb(r,e,t){return{...r.type==="fill"?{}:{height:"auto"},...e?{"margin-top":`-${t}px`}:{}}}var zb=R('<div class="backdrop svelte-1ji2860" role="presentation" tabindex="-1" aria-hidden="true"><div role="dialog" aria-modal="true"><!> <!></div></div>');const Mb={hash:"svelte-1ji2860",code:`.backdrop.svelte-1ji2860 {position:absolute;inset:0 0 0 0;width:100%;height:100%;background-color:#0000003f;display:flex;flex-direction:column;}.sheet.svelte-1ji2860 {position:absolute;inset:auto 0 0 0;transition-property:transform;transition-duration:225ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:translateY(100%);&::before {content:"";position:absolute;inset:0;background:var(--overlay);pointer-events:none;}&.visible {transform:translateY(0);}}.sheet.rc-sheet-video-bg.svelte-1ji2860::before {z-index:2;}
50
+ V ${o(a)} A ${o(a)} ${o(a)} 0 0 1 ${o(a)} 0 Z`)),E(m,k)};H(b,m=>{var k,x;(((k=e.shape)==null?void 0:k.type)==="rectangle"||((x=e.shape)==null?void 0:x.type)===void 0)&&m(v)})}E(r,l),me()}var fb=Dr('<linearGradient x1="0" y1="0" x2="100%" y2="100%"><stop offset="0%"></stop><stop offset="100%"></stop></linearGradient>'),mb=Dr("<stop></stop>"),hb=Dr("<linearGradient></linearGradient>"),vb=Dr("<stop></stop>"),yb=Dr("<radialGradient></radialGradient>"),bb=Dr("<!><!><!>",1);function Ki(r,e){fe(e,!0);var t=bb(),n=ce(t);{var a=u=>{var d=fb(),p=D(d),_=B(p);V(()=>{ke(d,"id",e.id),ke(p,"stop-color",e.overlay.value),ke(_,"stop-color",e.overlay.value)}),E(u,d)};H(n,u=>{var d;((d=e.overlay)==null?void 0:d.type)==="hex"&&u(a)})}var i=B(n);{var s=u=>{var d=hb();Jt(d,21,()=>e.overlay.points,hn,(p,_)=>{var h=mb();V(()=>{ke(h,"offset",`${o(_).percent}%`),ke(h,"stop-color",o(_).color)}),E(p,h)}),V(()=>{ke(d,"id",e.id),ke(d,"gradientTransform",`rotate(${e.overlay.degrees-90}, 0.5, 0.5)`)}),E(u,d)};H(i,u=>{var d;((d=e.overlay)==null?void 0:d.type)==="linear"&&u(s)})}var c=B(i);{var l=u=>{var d=yb();Jt(d,21,()=>e.overlay.points,hn,(p,_)=>{var h=vb();V(()=>{ke(h,"offset",`${o(_).percent}%`),ke(h,"stop-color",o(_).color)}),E(p,h)}),V(()=>ke(d,"id",e.id)),E(u,d)};H(c,u=>{var d;((d=e.overlay)==null?void 0:d.type)==="radial"&&u(l)})}E(r,t),me()}var kb=Dr('<use fill="transparent"></use>'),wb=Dr('<rect x="0" y="0" height="100%" width="100%"></rect>'),Pb=Dr('<use fill="none"></use>'),xb=R('<div><svg width="100%" height="100%"><defs><clipPath><!></clipPath><g><!></g><!><!></defs><!><g><foreignObject x="0" y="0" width="100%" height="100%"><img alt="" class="svelte-15zso79"/></foreignObject><!><!></g></svg></div>');const Eb={hash:"svelte-15zso79",code:"img.svelte-15zso79 {width:100%;height:100%;object-fit:contain;object-position:center;}"};function Sb(r,e){fe(e,!0),we(r,Eb);const t=Ir(e,["$$slots","$$events","$$legacy"]),n=ht({state:!0}),a=g(()=>({...t,...vt(n(),e.overrides)})),i=g(()=>o(a).id),s=g(()=>o(a).source),c=g(()=>o(a).size),l=g(()=>o(a).mask_shape),u=g(()=>o(a).fit_mode),d=g(()=>o(a).padding),p=g(()=>o(a).margin),_=g(()=>o(a).color_overlay),h=g(()=>o(a).border),f=g(()=>o(a).shadow),b=g(()=>o(a).visible),v=lt(),m=g(v),k=g(()=>tt(o(m),o(s)));let x=te(0),y=te(ar({height:0,width:0}));ir(()=>{if(o(k).width||o(k).height){F(y,{height:o(k).height,width:o(k).width},!0);return}const U=new window.Image;U.src=o(k).original;const O=()=>{F(y,{height:U.height,width:U.width},!0)};return U.addEventListener("load",O),()=>{U.removeEventListener("load",O)}});const w=g(()=>o(c).height.type==="fixed"?o(c).height.value:Math.round(o(x)*(o(y).height/o(y).width))),P=g(()=>or({width:kr(o(c).width),height:`${o(w)}px`,margin:Er(o(p)),padding:Er(o(d)),"line-height":0,"flex-shrink":o(c).width.type==="fixed"?0:1}));let S=te(null);const T=g(()=>{var U,O;return[((U=o(S))==null?void 0:U.width)??0,((O=o(S))==null?void 0:O.height)??0]}),I=g(()=>gi(o(T),2)),A=g(()=>o(I)[0]),C=g(()=>o(I)[1]),L=g(()=>`0 0 ${o(A)} ${o(C)}`),q=g(()=>{var $;if(!(($=o(f))!=null&&$.color))return"";const{x:U,y:O,radius:G,color:Z}=o(f),le=ct(o(m),Z);return`filter: drop-shadow(${U}px ${O}px ${G}px ${le})`}),j=g(()=>o(_)&&tt(o(m),o(_))),Y=g(()=>o(b)!==!1);var N=Te(),M=ce(N);{var z=U=>{var O=xb(),G=D(O),Z=D(G),le=D(Z),$=D(le);Gi($,{get shape(){return o(l)},get width(){return o(A)},get height(){return o(C)}});var oe=B(le),Pe=D(oe);Gi(Pe,{get shape(){return o(l)},get width(){return o(A)},get height(){return o(C)}});var Ie=B(oe);{let ue=g(()=>`${o(i)}-overlay`);Ki(Ie,{get id(){return o(ue)},get overlay(){return o(j)}})}var J=B(Ie);{var Q=ue=>{{let Ae=g(()=>`${o(i)}-border-color`),Me=g(()=>tt(o(m),o(h).color));Ki(ue,{get id(){return o(Ae)},get overlay(){return o(Me)}})}};H(J,ue=>{o(h)&&o(h).width>0&&ue(Q)})}var ae=B(Z);{var Ee=ue=>{var Ae=kb();V(()=>ke(Ae,"href",`#${o(i)}-border`)),E(ue,Ae)};H(ae,ue=>{o(h)&&o(h).width>0&&ue(Ee)})}var ie=B(ae),Se=D(ie),ye=D(Se),ee=B(Se);{var K=ue=>{var Ae=wb();V(()=>ke(Ae,"fill",`url(#${o(i)}-overlay)`)),E(ue,Ae)};H(ee,ue=>{o(j)&&ue(K)})}var se=B(ee);{var pe=ue=>{var Ae=Pb();V(()=>{ke(Ae,"href",`#${o(i)}-border`),ke(Ae,"stroke",`url(#${o(i)}-border-color)`),ke(Ae,"stroke-width",o(h).width*2)}),E(ue,Ae)};H(se,ue=>{o(h)&&o(h).width>0&&ue(pe)})}V(ue=>{Oe(O,o(P)),ke(G,"viewBox",o(L)),Oe(G,o(q)),ke(le,"id",`${o(i)}-path`),ke(oe,"id",`${o(i)}-border`),ke(ie,"clip-path",`url(#${o(i)}-path)`),ke(ye,"src",o(k).original),Oe(ye,`object-fit:${ue??""}`)},[()=>Ya(o(u))]),nd(G,"contentRect",ue=>F(S,ue)),Do(O,"clientWidth",ue=>F(x,ue)),E(U,O)};H(M,U=>{o(Y)&&U(z)})}E(r,N),me()}const jp=Symbol("packageId");function Ib(r){mr(jp,r)}function Cb(){return He(jp)}function Tb(r,e){fe(e,!0);const t=()=>Re(h,"$selectedPackageId",l),n=()=>Re(f,"$variablesPerPackage",l),a=()=>Re(y,"$fallbackVariables",l),i=()=>Re(b,"$baseVariables",l),s=()=>Re(v,"$infoPerPackage",l),c=()=>Re(S,"$fallbackPackageInfo",l),[l,u]=Ze(),d=br(e.package_id);ir(()=>{d.set(e.package_id)}),Ib(d);const{defaultPackageId:p,emitComponentInteraction:_,selectedPackageId:h,variablesPerPackage:f,baseVariables:b,infoPerPackage:v}=It();ir(()=>{if(e.is_selected_by_default){const A=e.package_id;Ue(()=>{Ti(h,A)})}});const m=g(()=>t()===e.package_id),k=br(o(m));ir(()=>{k.set(o(m))}),Fi(k);const x=()=>{const A=t();A!==e.package_id&&(Ti(h,e.package_id),_({componentType:"package",componentName:e.name,componentValue:e.package_id,originPackageId:A,destinationPackageId:e.package_id,defaultPackageId:p}))},y=ml(),w=g(()=>{var C;const A=(C=n())==null?void 0:C[e.package_id];return A===void 0?a():{...i(),...A}}),P=br(o(w));ir(()=>{P.set(o(w))}),fl(P);const S=zh(),T=g(()=>{var A;return((A=s())==null?void 0:A[e.package_id])??c()}),I=br(o(T));ir(()=>{I.set(o(T))}),Id(I),Nr(r,_r(()=>e.stack,{onclick:x})),me(),u()}var Bp;(function(r){r.weekly="$rc_weekly",r.monthly="$rc_monthly",r.two_month="$rc_two_month",r.three_month="$rc_three_month",r.six_month="$rc_six_month",r.annual="$rc_annual",r.lifetime="$rc_lifetime"})(Bp||(Bp={}));const Db={string:r=>({type:"string",value:r}),number:r=>({type:"number",value:r}),boolean:r=>({type:"boolean",value:r})};function Rp(r,e){const t=Object.fromEntries(Object.entries(r).map(([a,{value:i}])=>[a,String(i)]));return e?{...Object.fromEntries(Object.entries(e.custom_variables??{}).map(([a,{default_value:i}])=>[a,String(i)])),...t}:t}const Up="--rc-purchases-ui-bg-color";function Ab(r,e,t){const n=a=>t==="dark"?a==null?void 0:a.dark:a==null?void 0:a.light;return n(r)??n(e)??null}const Vp=/^#[0-9a-fA-F]{6}([0-9a-fA-F]{2})?$/;function Fb(r){return Vp.test(r)}function Mb(r){const e=Vp.exec(r);return e!=null&&(e[1]==null||e[1].toLowerCase()==="ff")}function Xi(r){return r.length===7?`${r.toLowerCase()}ff`:r.toLowerCase()}function Hp(r,e,t){const n=Ab(r,e,t);return n?Oo(n):null}function Zl(r,e){const t=r[0],n=r.at(-1);if(t==null||n==null)return null;if(e<=t.percent)return Xi(t.color);if(e>=n.percent)return Xi(n.color);const a=r.findIndex(c=>c.percent>=e),i=r[a-1],s=r[a];return i==null||s==null?null:i.color.toLowerCase()===s.color.toLowerCase()?Xi(i.color):i.percent===s.percent?Xi(s.color):null}function zb(r){return r.filter(e=>Number.isFinite(e.percent)&&Fb(e.color)).slice().sort((e,t)=>e.percent-t.percent)}function Wp(r,[e,t]){const n=Zl(r,e);if(n==null||!Mb(n))return null;const a=[e,...r.map(s=>s.percent).filter(s=>s>e&&s<t),t];return a.every((s,c)=>{if(Zl(r,s)!==n)return!1;const l=a[c+1];return l==null||l===s?!0:Zl(r,(s+l)/2)===n})?n:null}function Yp(r){return Math.abs(r)<1e-10?0:r}function Gp(r,e,t,n){const a=r*Math.PI/180,i=Yp(Math.sin(a)),s=Yp(-Math.cos(a)),c=Math.abs(i)*n.width+Math.abs(s)*n.height;return((e-n.width/2)*i+(t-n.height/2)*s+c/2)/c*100}function qb(r,e,t){const n=e==="top"?0:t.height,a=Gp(r,0,n,t),i=Gp(r,t.width,n,t);return[Math.min(a,i),Math.max(a,i)]}function Kp(r,e,t){const n=Math.hypot(t.width/2,t.height/2);return Math.hypot(r-t.width/2,e-t.height/2)/n*100}function Ob(r,e){const t=r==="top"?0:e.height,n=Kp(e.width/2,t,e),a=Kp(0,t,e);return[Math.min(n,a),Math.max(n,a)]}function Xp(r,e,t,n){switch(r.type){case"hex":case"alias":return Oo(r);case"linear":return Wp(n??[],qb(r.degrees,e,t));case"radial":return Wp(n??[],Ob(e,t))}}function Lb(r,e,t,n){let a=null,i=null;if((r==null?void 0:r.type)==="color"){const s=tt(e,r.value),c=s.type==="linear"||s.type==="radial"?zb(s.points):null;a=Xp(s,"top",t,c),i=Xp(s,"bottom",t,c)}if(n!=null&&n.stickyComponents){const s=n.stickyComponents.hasHeader===!0,c=n.stickyComponents.hasFooter===!0;a=c&&!s?a:null,i=s&&!c?i:null}if((n==null?void 0:n.paywallFallbackColor)!=null||(n==null?void 0:n.hostFallbackColor)!=null){const s=Hp(n.paywallFallbackColor,n.hostFallbackColor,e);a=a??s,i=i??s}return{top:a,bottom:i}}let Jl=null;function Nb(r,e,t){var u;if(typeof document>"u")return()=>{};const{paywallData:n,colorMode:a,hostFallbackColor:i}=t,s=document.documentElement,c=(u=n==null?void 0:n.components_config)==null?void 0:u.base;let l=null;if(e.kind==="style"&&e.style.background){const d=e.style.background;if(!d.includes("gradient"))l=d;else{const p=Lb(c==null?void 0:c.background,a,{width:window.innerWidth,height:window.innerHeight},{stickyComponents:{hasHeader:(c==null?void 0:c.header)!=null,hasFooter:(c==null?void 0:c.sticky_footer)!=null}});l=p.top??p.bottom}}return l===null&&(l=Hp(c==null?void 0:c.safe_area_fallback_color,i,a)),l!==null&&(Jl=r,s.style.setProperty(Up,l)),()=>{Jl===r&&(Jl=null,s.style.removeProperty(Up))}}function jb(r,e,t){return{...r.type==="fill"?{}:{height:"auto"},...e?{"margin-top":`-${t}px`}:{}}}var Bb=R('<div class="backdrop svelte-1ji2860" role="presentation" tabindex="-1" aria-hidden="true"><div role="dialog" aria-modal="true"><!> <!></div></div>');const Rb={hash:"svelte-1ji2860",code:`.backdrop.svelte-1ji2860 {position:absolute;inset:0 0 0 0;width:100%;height:100%;background-color:#0000003f;display:flex;flex-direction:column;}.sheet.svelte-1ji2860 {position:absolute;inset:auto 0 0 0;transition-property:transform;transition-duration:225ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:translateY(100%);&::before {content:"";position:absolute;inset:0;background:var(--overlay);pointer-events:none;}&.visible {transform:translateY(0);}}.sheet.rc-sheet-video-bg.svelte-1ji2860::before {z-index:2;}
51
51
 
52
- /* Match stack video stacking: tint above video (::before z-index). */.sheet.rc-sheet-video-bg.svelte-1ji2860 > .rc-bg-video {z-index:1;}.sheet.rc-sheet-video-bg.svelte-1ji2860 > .rc-sheet-stack-above-video {position:relative;z-index:3;}`};function qb(r,e){he(e,!0),we(r,Mb);const t=Sr(e,["$$slots","$$events","$$legacy"]),{stack:n}=t,a=gt({state:!0}),i=m(()=>({...t,...ft(a(),e.overrides)})),s=m(()=>o(i).size),c=m(()=>o(i).background),l=m(()=>o(i).background_blur),u=it(),d=m(u),_=m(()=>{var N;return((N=o(c))==null?void 0:N.type)==="video"}),p=m(()=>{if(!o(_))return null;const N=o(c);return!N||N.type!=="video"?null:qo(o(d),N)}),f=m(()=>ar({background:o(l)?"#0000003f":""})),g=m(()=>ar({height:kr(o(s).height),...Ri({hasVideoBg:o(_),clipOverflow:!0}),...Rn(o(d),null,o(c))})),{onButtonAction:b}=xt();let y,h=te(!1);br(()=>{requestAnimationFrame(()=>{F(h,!0)})});const k=()=>{F(h,!1)},x=()=>{o(h)||b({type:"navigate_to",destination:"sheet",sheet:null})},v=N=>{N.target===N.currentTarget&&k()},w=N=>{N.key==="Escape"&&k()};let E=m(()=>[`sheet ${o(h)?"visible":""}`,o(_)?Bi("sheet"):""].filter(Boolean).join(" "));var I=zb();I.__click=v,I.__keydown=w;var T=D(I),S=D(T);{var A=N=>{No(N,{get url(){return o(p).url},get urlLowRes(){return o(p).url_low_res},get objectFit(){return o(p).fit},get objectPosition(){return o(p).position},get poster(){return o(p).posterWebp},get mute(){return o(p).mute},get loop(){return o(p).loop}})};W(S,N=>{o(p)&&N(A)})}var C=U(S,2);{let N=m(()=>o(_)?"rc-sheet-stack-above-video":void 0);qr(C,gr(()=>n,{get class(){return o(N)}}))}pa(T,N=>y=N,()=>y),Y(()=>{Le(I,o(f)),ur(T,1,da(o(E)),"svelte-1ji2860"),Le(T,o(g))}),Lr("transitionend",T,x),P(r,I),ve()}Yt(["click","keydown"]);var Ob=R("<div></div>"),Lb=R('<div class="viewport-backdrop svelte-172lhdf"><!> <!></div>');const Nb={hash:"svelte-172lhdf",code:".viewport-backdrop.svelte-172lhdf {position:fixed;inset:0;z-index:0;pointer-events:none;overflow:hidden;isolation:isolate;}.viewport-backdrop-overlay.svelte-172lhdf {position:absolute;inset:0;pointer-events:none;z-index:1;}.viewport-backdrop-overlay.z-over-video-bg.svelte-172lhdf {z-index:2;}"};function jb(r,e){he(e,!0),we(r,Nb);const t=m(()=>{var l;return e.model.kind==="style"&&((l=e.model.style.background)!=null&&l.includes("gradient"))?Object.entries(e.model.style).map(([u,d])=>`${u}:${d}`).join(";"):e.model.kind==="image"?[`background-image:url("${e.model.src}")`,`background-size:${e.model.fit}`,`background-position:${e.model.position}`,"background-repeat:no-repeat"].join(";"):""}),n=m(()=>e.model.kind!=="image"&&e.model.kind!=="video"||!e.model.overlay||e.model.overlay==="none"?null:`background:${e.model.overlay}`),a=m(()=>o(t)!==""||e.model.kind==="video");var i=Se(),s=se(i);{var c=l=>{var u=Lb(),d=D(u);{var _=g=>{No(g,{get url(){return e.model.url},get urlLowRes(){return e.model.url_low_res},get objectFit(){return e.model.fit},get objectPosition(){return e.model.position},get poster(){return e.model.posterWebp},get mute(){return e.model.mute},get loop(){return e.model.loop}})};W(d,g=>{e.model.kind==="video"&&g(_)})}var p=U(d,2);{var f=g=>{var b=Ob();let y;Y(()=>{y=ur(b,1,"viewport-backdrop-overlay svelte-172lhdf",null,y,{"z-over-video-bg":e.model.kind==="video"}),Le(b,o(n))}),P(g,b)};W(p,g=>{o(n)&&g(f)})}Y(()=>Le(u,o(t)!==""?o(t):void 0)),P(l,u)};W(s,l=>{o(a)&&l(c)})}P(r,i),ve()}var Bb=R('<div class="header-wrapper svelte-1p6c93t"><!></div>'),Rb=R('<div class="footer-wrapper svelte-1p6c93t"><!></div>'),Ub=R('<div><!> <!> <div class="paywall-content svelte-1p6c93t"><!></div> <!></div> <!>',1);const Vb={hash:"svelte-1p6c93t",code:`.paywall.svelte-1p6c93t {position:relative;display:flex;flex-direction:column;align-items:stretch;height:100%;transition-property:filter, transform;transition-duration:0.1s;transition-timing-function:ease-in-out;transform-origin:center;&.blur {filter:blur(10px) brightness(0.8);transform:scale(1.045);}}.header-wrapper.svelte-1p6c93t {position:sticky;top:0;width:100%;}.footer-wrapper.svelte-1p6c93t {position:sticky;bottom:0;width:100%;flex-shrink:0;}.paywall-content.svelte-1p6c93t {z-index:2;width:100%;flex:1 1 auto;display:flex;flex-direction:column;min-height:0;& > .paywall-content-scroll {flex:1 1 auto;min-height:0;overflow-y:auto;}}
52
+ /* Match stack video stacking: tint above video (::before z-index). */.sheet.rc-sheet-video-bg.svelte-1ji2860 > .rc-bg-video {z-index:1;}.sheet.rc-sheet-video-bg.svelte-1ji2860 > .rc-sheet-stack-above-video {position:relative;z-index:3;}`};function Ub(r,e){fe(e,!0),we(r,Rb);const t=Ir(e,["$$slots","$$events","$$legacy"]),{stack:n}=t,a=ht({state:!0}),i=g(()=>({...t,...vt(a(),e.overrides)})),s=g(()=>o(i).size),c=g(()=>o(i).background),l=g(()=>o(i).background_blur),u=lt(),d=g(u),p=g(()=>{var L;return((L=o(c))==null?void 0:L.type)==="video"}),_=g(()=>{if(!o(p))return null;const L=o(c);return!L||L.type!=="video"?null:Lo(o(d),L)}),h=g(()=>or({background:o(l)?"#0000003f":""})),f=g(()=>or({height:kr(o(s).height),...Vi({hasVideoBg:o(p),clipOverflow:!0}),...Bn(o(d),null,o(c))})),{onButtonAction:b}=It();let v,m=te(!1);xr(()=>{requestAnimationFrame(()=>{F(m,!0)})});const k=()=>{F(m,!1)},x=()=>{o(m)||b({type:"navigate_to",destination:"sheet",sheet:null})},y=L=>{L.target===L.currentTarget&&k()},w=L=>{L.key==="Escape"&&k()};let P=g(()=>[`sheet ${o(m)?"visible":""}`,o(p)?Ui("sheet"):""].filter(Boolean).join(" "));var S=Bb();S.__click=y,S.__keydown=w;var T=D(S),I=D(T);{var A=L=>{Bo(L,{get url(){return o(_).url},get urlLowRes(){return o(_).url_low_res},get objectFit(){return o(_).fit},get objectPosition(){return o(_).position},get poster(){return o(_).posterWebp},get mute(){return o(_).mute},get loop(){return o(_).loop}})};H(I,L=>{o(_)&&L(A)})}var C=B(I,2);{let L=g(()=>o(p)?"rc-sheet-stack-above-video":void 0);Nr(C,_r(()=>n,{get class(){return o(L)}}))}pa(T,L=>v=L,()=>v),V(()=>{Oe(S,o(h)),ur(T,1,da(o(P)),"svelte-1ji2860"),Oe(T,o(f))}),Br("transitionend",T,x),E(r,S),me()}Zt(["click","keydown"]);var Vb=R("<div></div>"),Hb=R('<div class="viewport-backdrop svelte-172lhdf"><!> <!></div>');const Wb={hash:"svelte-172lhdf",code:".viewport-backdrop.svelte-172lhdf {position:fixed;inset:0;z-index:0;pointer-events:none;overflow:hidden;isolation:isolate;}.viewport-backdrop-overlay.svelte-172lhdf {position:absolute;inset:0;pointer-events:none;z-index:1;}.viewport-backdrop-overlay.z-over-video-bg.svelte-172lhdf {z-index:2;}"};function Yb(r,e){fe(e,!0),we(r,Wb);const t=g(()=>{var l;return e.model.kind==="style"&&((l=e.model.style.background)!=null&&l.includes("gradient"))?Object.entries(e.model.style).map(([u,d])=>`${u}:${d}`).join(";"):e.model.kind==="image"?[`background-image:url("${e.model.src}")`,`background-size:${e.model.fit}`,`background-position:${e.model.position}`,"background-repeat:no-repeat"].join(";"):""}),n=g(()=>e.model.kind!=="image"&&e.model.kind!=="video"||!e.model.overlay||e.model.overlay==="none"?null:`background:${e.model.overlay}`),a=g(()=>o(t)!==""||e.model.kind==="video");var i=Te(),s=ce(i);{var c=l=>{var u=Hb(),d=D(u);{var p=f=>{Bo(f,{get url(){return e.model.url},get urlLowRes(){return e.model.url_low_res},get objectFit(){return e.model.fit},get objectPosition(){return e.model.position},get poster(){return e.model.posterWebp},get mute(){return e.model.mute},get loop(){return e.model.loop}})};H(d,f=>{e.model.kind==="video"&&f(p)})}var _=B(d,2);{var h=f=>{var b=Vb();let v;V(()=>{v=ur(b,1,"viewport-backdrop-overlay svelte-172lhdf",null,v,{"z-over-video-bg":e.model.kind==="video"}),Oe(b,o(n))}),E(f,b)};H(_,f=>{o(n)&&f(h)})}V(()=>Oe(u,o(t)!==""?o(t):void 0)),E(l,u)};H(s,l=>{o(a)&&l(c)})}E(r,i),me()}var Gb=R('<div class="header-wrapper svelte-1p6c93t"><!></div>'),Kb=R('<div class="footer-wrapper svelte-1p6c93t"><!></div>'),Xb=R('<div><!> <!> <div class="paywall-content svelte-1p6c93t"><!></div> <!></div> <!>',1);const Zb={hash:"svelte-1p6c93t",code:`.paywall.svelte-1p6c93t {position:relative;display:flex;flex-direction:column;align-items:stretch;height:100%;transition-property:filter, transform;transition-duration:0.1s;transition-timing-function:ease-in-out;transform-origin:center;&.blur {filter:blur(10px) brightness(0.8);transform:scale(1.045);}}.header-wrapper.svelte-1p6c93t {position:sticky;top:0;width:100%;}.footer-wrapper.svelte-1p6c93t {position:sticky;bottom:0;width:100%;flex-shrink:0;}.paywall-content.svelte-1p6c93t {z-index:2;width:100%;flex:1 1 auto;display:flex;flex-direction:column;min-height:0;& > .paywall-content-scroll {flex:1 1 auto;min-height:0;overflow-y:auto;}}
53
53
  /* Scoped reset - same as original but only affects .paywall descendants */.paywall *,
54
54
  .paywall *::before,
55
55
  .paywall *::after {box-sizing:border-box;margin:0;padding:0;font-family:inherit;}.paywall {font-family:sans-serif;line-height:1.5;-webkit-font-smoothing:antialiased;}.paywall img,
@@ -72,11 +72,11 @@ Minimum version required to store current data is: `+C+`.
72
72
  .paywall h5,
73
73
  .paywall h6 {text-wrap:balance;}.paywall .rc-gradient-border {position:relative;}.paywall .rc-gradient-border::after {content:"";display:var(--rc-border-display, none);position:absolute;inset:calc(-1 * var(--rc-border-width, 0px));border-radius:inherit;padding:var(--rc-border-width, 0px);background:var(--rc-border-bg, transparent);mask:linear-gradient(#fff 0 0) content-box,
74
74
  linear-gradient(#fff 0 0);-webkit-mask:linear-gradient(#fff 0 0) content-box,
75
- linear-gradient(#fff 0 0);mask-composite:exclude;-webkit-mask-composite:xor;pointer-events:none;}`};function Gp(r,e){he(e,!0),we(r,Vb);const t=()=>Ue(w,"$selectedPackageId",n),[n,a]=Je(),i=J(e,"variablesPerPackage",19,()=>({})),s=J(e,"globalVariables",19,()=>({})),c=J(e,"infoPerPackage",19,()=>({})),l=J(e,"hideBackButtons",3,!1),u=J(e,"initialInputSelections",19,()=>({})),d=J(e,"customVariables",19,()=>({})),_=Xh(()=>e.preferredColorMode),p=m(()=>rv(e.paywallData,_())),f=Symbol();ir(()=>Ab(f,o(p),{paywallData:e.paywallData,colorMode:_(),hostFallbackColor:e.safeAreaFallbackColor}));const{default_locale:g,components_config:b,components_localizations:y}=e.paywallData,{base:h}=b,k=Bh(h),x=m(()=>{const X=o(p);return X.kind==="style"&&X.style.background&&!X.style.background.includes("gradient")?ar(X.style):""}),{getLocalizedString:v}=Nh(()=>({defaultLocale:g,selectedLocale:e.selectedLocale,localizations:y})),w=yr(k),E=X=>{if(X!==void 0)return X.trim().length>0?X:void 0},I=X=>{var B;(B=e.onComponentInteraction)==null||B.call(e,{...X,componentName:E(X.componentName)})},T=X=>{var oe;const B=t();B!==void 0&&((oe=e.onPurchaseClicked)==null||oe.call(e,B,X??""))};let S=te(void 0);const A=(X,B)=>{var oe,$,ue,me,xe,qe,ze,De;switch(X.type){case"workflow":B&&((oe=e.onActionTriggered)==null||oe.call(e,B));return;case"complete_workflow":{const be=v(X.url.url_lid);if(!be)return;($=e.onCompleteWorkflowNavigate)==null||$.call(e,{url:be,method:X.url.method,url_query_params:X.url_query_params});return}case"navigate_back":(ue=e.onBackClicked)==null||ue.call(e);return;case"close_workflow":(me=e.onClose)==null||me.call(e);return;case"restore_purchases":(xe=e.onRestorePurchasesClicked)==null||xe.call(e);return}switch(X.destination){case"customer_center":(qe=e.onVisitCustomerCenterClicked)==null||qe.call(e);return;case"screen_redirect":(ze=e.onActionTriggered)==null||ze.call(e,"screen_redirect");return;case"privacy_policy":case"terms":case"url":const be=v(X.url.url_lid);be&&((De=e.onNavigateToUrlClicked)==null||De.call(e,be));return;case"sheet":if(X.sheet)F(S,{props:X.sheet,rootSelectedPackageId:t()},!0);else{if(o(S)){const Ae=o(S).rootSelectedPackageId;I({componentType:"package_selection_sheet",componentName:o(S).props.name,componentValue:"close",currentPackageId:t(),resultingPackageId:Ae}),w.set(Ae)}F(S,void 0)}return;case"offer_code":case"web_paywall_link":return}},C=Np(d(),e.uiConfig);Sd({defaultPackageId:k,selectedPackageId:w,variablesPerPackage:at(i()),baseVariables:at({...s(),...C}),infoPerPackage:at(c()),onPurchase:T,emitComponentInteraction:I,onNavigateToUrl:e.onNavigateToUrlClicked,onButtonAction:A,onInputChanged:e.onInputChanged,onSensitiveInputChanged:e.onSensitiveInputChanged,onReservedAttributeChanged:e.onReservedAttributeChanged,walletButtonRender:e.walletButtonRender,uiConfig:e.uiConfig,hideBackButtons:l()});const N=Fi(),q=N??new Cd;q.registerDeclarations(e.paywallData.state_declarations??{}),N||Dd(q);const j=qh();Oh(j),Lh(u());const Z=Ot(w,X=>{const B=i()[X||""];return{...s(),...C,...B}});fl(Z);const O=Ot(w,X=>c()[X||""]);xd(O),br(()=>{tv(e.uiConfig)});const z=m(()=>o(S)?"paywall blur":"paywall"),{stack:M,sticky_footer:H,header:L}=h,K=M.components[0],re=(K==null?void 0:K.type)==="image"&&K.size.width.type==="fill",le=!!L&&re;let ne=te(0),ce=te(0);const Q=m(()=>e.maxContentWidth?`max-width: ${e.maxContentWidth}; margin-inline: auto;`:"");var ie=Se(),V=se(ie);uu(V,{get onerror(){return e.onError}},X=>{var B=Ub(),oe=se(B),$=D(oe);jb($,{get model(){return o(p)}});var ue=U($,2);{var me=Fe=>{var Ee=Bb(),pe=D(Ee);qp(pe,gr(()=>L)),Y(()=>Le(Ee,`z-index: ${Ld};`)),Co(Ee,"clientHeight",Ye=>F(ne,Ye)),P(Fe,Ee)};W(ue,Fe=>{L&&Fe(me)})}var xe=U(ue,2),qe=D(xe);{let Fe=m(()=>{var pe;return H?{...M.padding,bottom:(((pe=M.padding)==null?void 0:pe.bottom)??0)+o(ce)}:M.padding}),Ee=m(()=>Fb(M.size.height,le,o(ne)));qr(qe,gr(()=>M,{class:"paywall-content-scroll",get padding(){return o(Fe)},get style(){return o(Ee)}}))}var ze=U(xe,2);{var De=Fe=>{var Ee=Rb(),pe=D(Ee);Mp(pe,gr(()=>H)),Y(()=>Le(Ee,`z-index: ${Ld}; margin-top: -${o(ce)??""}px; ${o(Q)??""}`)),Co(Ee,"clientHeight",Ye=>F(ce,Ye)),P(Fe,Ee)};W(ze,Fe=>{H&&Fe(De)})}var be=U(oe,2);{var Ae=Fe=>{qb(Fe,gr(()=>o(S).props))};W(be,Fe=>{o(S)&&Fe(Ae)})}Y(()=>{ur(oe,1,da(o(z)),"svelte-1p6c93t"),Le(oe,o(x)),Le(xe,o(Q))}),P(X,B)}),P(r,ie),ve(),a()}function Hb(r,e){he(e,!0);const t=()=>Ue(_,"$infoPerPackage",a),n=()=>Ue(d,"$selectedPackageId",a),[a,i]=Je(),s=Sr(e,["$$slots","$$events","$$legacy"]),{stack:c}=s,{emitComponentInteraction:l,onPurchase:u,selectedPackageId:d,infoPerPackage:_}=xt(),{getLocalizedString:p}=Mi(),f=kb(),g=(h,k,x)=>{const v=h.indexOf("#"),w=v===-1?"":h.slice(v),E=v===-1?h:h.slice(0,v),I=E.includes("?")?"&":"?";return`${E}${I}${encodeURIComponent(k)}=${encodeURIComponent(x)}${w}`},b=h=>{var w,E,I,T,S;let k;const x=((w=e.method)==null?void 0:w.type)==="unknown"||(E=e.method)==null?void 0:E.type,v=(T=(I=t())==null?void 0:I[h])==null?void 0:T.webCheckoutURL;if(((S=e.method)==null?void 0:S.type)==="custom_web_checkout"){const A=p(e.method.custom_url.url_lid);if(A){const C=e.method.custom_url.package_param;k=C?g(A,C,h):A}}if(k===void 0){const A=x??e.action;(A==="web_checkout"||A==="web_product_selection"||A==="custom_web_checkout")&&(k=v)}return{componentType:"purchase_button",componentName:e.name,componentValue:x??e.action??"web_checkout",...k?{componentURL:k}:{},currentPackageId:h}};qr(r,gr(()=>c,{onclick:()=>{var k;const h=(f?To(f):void 0)??n();h!==void 0&&(Ii(d,h),l(b(h))),u((k=e.triggers)==null?void 0:k.on_purchase_press)}})),ve(),i()}function Wb(r){return{display:"grid","grid-template-columns":"auto 1fr","column-gap":`${r.column_gutter}px`,"align-items":"stretch",position:"relative",flex:"0 1 auto",width:kr(r.size.width),height:kr(r.size.height),padding:xr(r.padding),margin:xr(r.margin)}}function Yb(r,e){return{display:"flex","flex-direction":"column","justify-content":"flex-start","align-items":"flex-start",gap:`${e.text_spacing}px`,height:"fit-content","margin-bottom":`${e.item_spacing}px`}}var Gb=R("<div><div></div></div>"),Kb=R("<div><!> <div><!></div></div> <div><!> <!></div>",1);function Xb(r,e){he(e,!0);const t=Sr(e,["$$slots","$$events","$$legacy"]),n=gt(),a=m(()=>({...t,...ft(n(),e.overrides)})),i=m(()=>o(a).icon),s=m(()=>o(a).title),c=m(()=>o(a).description),l=m(()=>o(a).connector),u=m(()=>o(a).text_spacing),d=m(()=>o(a).item_spacing),_=it(),p=m(_),f=ar({position:"relative"}),g=ar({position:"relative","z-index":"2"}),b=m(()=>ar(Yb(o(p),{text_spacing:o(u),item_spacing:o(d)}))),y=m(()=>{var N;return o(l)?ar({position:"absolute",left:"50%",top:`${(((N=o(i))==null?void 0:N.size.width.value)??24)/2}px`,transform:"translateX(-50%)","z-index":"1",width:`${o(l).width}px`,height:"100%","padding-top":`${o(l).margin.top}px`,"padding-bottom":`${o(l).margin.bottom}px`}):""}),h=m(()=>{if(!o(l))return"";const N=st(o(p),o(l).color);return ar({width:"100%",height:"100%",background:N})});var k=Kb(),x=se(k),v=D(x);{var w=N=>{var q=Gb(),j=D(q);Y(()=>{Le(q,o(y)),Le(j,o(h))}),P(N,q)};W(v,N=>{o(l)&&N(w)})}var E=U(v,2),I=D(E);Cp(I,gr(()=>o(i)));var T=U(x,2),S=D(T);Wl(S,gr(()=>o(s)));var A=U(S,2);{var C=N=>{Wl(N,gr(()=>o(c)))};W(A,N=>{o(c)&&N(C)})}Y(()=>{Le(x,f),Le(E,g),Le(T,o(b))}),P(r,k),ve()}var Zb=R("<div></div>");function Jb(r,e){he(e,!0);const t=Sr(e,["$$slots","$$events","$$legacy"]),n=gt(),a=m(()=>({...t,...ft(n(),e.overrides)})),i=m(()=>o(a).items),s=m(()=>o(a).text_spacing),c=m(()=>o(a).item_spacing),l=m(()=>o(a).column_gutter),u=m(()=>o(a).icon_alignment),d=m(()=>o(a).size),_=m(()=>o(a).padding),p=m(()=>o(a).margin),f=m(()=>o(a).visible),g=m(()=>Gf(o(a),["items","text_spacing","item_spacing","column_gutter","icon_alignment","size","padding","margin","visible"])),b=m(()=>o(f)!==!1),y=m(()=>ar(Wb({items:o(i),text_spacing:o(s),item_spacing:o(c),column_gutter:o(l),icon_alignment:o(u),size:o(d),padding:o(_),margin:o(p),...o(g)})));var h=Se(),k=se(h);{var x=v=>{var w=Zb();Gt(w,21,()=>o(i),E=>E.id,(E,I)=>{Xb(E,gr(()=>o(I),{get text_spacing(){return o(s)},get item_spacing(){return o(c)}}))}),Y(()=>Le(w,o(y))),P(v,w)};W(k,v=>{o(b)&&o(i).length&&v(x)})}P(r,h),ve()}var Qb=R("<div><p>No paywall data provided</p></div>"),$b=R('<div class="paywall-container"><!></div>');function ek(r,e){he(e,!0);const t=J(e,"selectedLocale",3,"en_US"),n=J(e,"globalVariables",19,()=>({})),a=J(e,"containerId",3,"screen-container"),i=J(e,"initialInputSelections",19,()=>({}));var s=$b(),c=D(s);{var l=d=>{Gp(d,{get paywallData(){return e.paywallComponents},get selectedLocale(){return t()},get uiConfig(){return e.uiConfig},get variablesPerPackage(){return e.variablesPerPackage},get infoPerPackage(){return e.infoPerPackage},get globalVariables(){return n()},get maxContentWidth(){return e.maxContentWidth},get initialInputSelections(){return i()},onNavigateToUrlClicked:_=>{e.onNavigateToUrlClicked?e.onNavigateToUrlClicked(_):window.open(_,"_blank")},get onCompleteWorkflowNavigate(){return e.onCompleteWorkflowNavigate},onVisitCustomerCenterClicked:()=>{var _;return(_=e.onVisitCustomerCenterClicked)==null?void 0:_.call(e)},get onBackClicked(){return e.onBackClicked},get onClose(){return e.onClose},onRestorePurchasesClicked:()=>{var _;return(_=e.onRestorePurchasesClicked)==null?void 0:_.call(e)},onActionTriggered:_=>{var p;(p=e.onActionTriggered)==null||p.call(e,_)},get onComponentInteraction(){return e.onComponentInteraction},get onPurchaseClicked(){return e.onPurchaseClicked},get onInputChanged(){return e.onInputChanged},get onSensitiveInputChanged(){return e.onSensitiveInputChanged},get onReservedAttributeChanged(){return e.onReservedAttributeChanged},get walletButtonRender(){return e.walletButtonRender},get safeAreaFallbackColor(){return e.safeAreaFallbackColor},get hideBackButtons(){return e.hideBackButtons},onError:_=>{console.error("Paywall error:",_)}})},u=d=>{var _=Qb();P(d,_)};W(c,d=>{e.paywallComponents?d(l):d(u,!1)})}Y(()=>ke(s,"id",a())),P(r,s),ve()}function rk(r,e){he(e,!0);function t(y){return y.type==="step"&&typeof y.step_id=="string"}const n=new Cd;Dd(n);function a(y){const h={};for(const k of Object.values(y))for(const[x,v]of Object.entries(k.state_declarations??{}))Object.hasOwn(h,x)||(h[x]=v);return h}let i=te(void 0);Bs(()=>{o(i)!==e.workflow.workflowId&&(F(i,e.workflow.workflowId,!0),n.reset(a(e.workflow.pages)))});let s=te(nr([])),c=te(void 0);const l=m(()=>o(s)[o(s).length-1]??{pageId:e.workflow.initial_page_id,stepId:e.workflow.initial_step_id}),u=m(()=>e.workflow.pages[o(l).pageId]);Bs(()=>{const y=`${e.workflow.workflowId}:${e.workflow.initial_page_id}`;o(c)!==y&&(F(c,y),F(s,[{pageId:e.workflow.initial_page_id,stepId:e.workflow.initial_step_id}],!0),_({workflowId:e.workflow.workflowId,stepId:e.workflow.initial_step_id,fromStepId:void 0,toStepId:void 0,reason:"start",...d(e.workflow.initial_step_id)}))});function d(y){const h=e.workflow.steps[y];return{isFirstStep:y===e.workflow.initial_step_id,isLastStep:h!==void 0&&!Object.values(h.trigger_actions).some(k=>t(k))}}function _(y){var h;(h=e.onStepChanged)==null||h.call(e,y)}function p(y){var T,S,A,C;const h=e.workflow.steps[o(l).stepId];if(!h){console.warn(`[Workflow] onActionTriggered: no current step found for step_id "${o(l).stepId}"`);return}const k=(T=h.triggers.find(N=>N.component_id===y))==null?void 0:T.action_id;if(!k){console.warn(`[Workflow] onActionTriggered: no trigger entry found for component "${y}" on step "${o(l).stepId}"`),(S=e.onActionTriggered)==null||S.call(e,y);return}const x=h.trigger_actions[k];if(!x){console.warn(`[Workflow] onActionTriggered: no trigger_action found for action_id "${k}" on step "${o(l).stepId}"`),(A=e.onActionTriggered)==null||A.call(e,y);return}if(!t(x)){console.warn("[Workflow] onActionTriggered: trigger_action is not a simple step action, falling back to onActionTriggered"),(C=e.onActionTriggered)==null||C.call(e,y);return}const v=e.workflow.steps[x.step_id];if(!v){console.warn(`[Workflow] onActionTriggered: step_id "${x.step_id}" not found in workflow steps`);return}const w=v.screen_id;if(!w){console.warn(`[Workflow] onActionTriggered: step "${x.step_id}" has no screen_id (logic/experiment step?)`);return}if(!e.workflow.pages[w]){console.warn(`[Workflow] onActionTriggered: screen_id "${w}" not found in workflow pages`);return}const E=o(l).stepId,I=x.step_id;_({workflowId:e.workflow.workflowId,stepId:E,fromStepId:void 0,toStepId:I,reason:"completed",...d(E)}),F(s,[...o(s),{pageId:w,stepId:I}],!0),_({workflowId:e.workflow.workflowId,stepId:I,fromStepId:E,toStepId:void 0,reason:"forward",...d(I)})}function f(){var y;if(o(s).length>1){const h=o(l).stepId,k=o(s)[o(s).length-2].stepId;_({workflowId:e.workflow.workflowId,stepId:h,fromStepId:void 0,toStepId:k,reason:"completed",...d(h)}),F(s,o(s).slice(0,-1),!0),_({workflowId:e.workflow.workflowId,stepId:k,fromStepId:h,toStepId:void 0,reason:"back",...d(k)})}else _({workflowId:e.workflow.workflowId,stepId:o(l).stepId,fromStepId:void 0,toStepId:void 0,reason:"completed",...d(o(l).stepId)}),(y=e.onExitBack)==null||y.call(e)}var g=Se(),b=se(g);Wu(b,()=>o(l).pageId,y=>{ek(y,{get paywallComponents(){return o(u)},get uiConfig(){return e.uiConfig},get selectedLocale(){return e.selectedLocale},get globalVariables(){return e.globalVariables},get variablesPerPackage(){return e.variablesPerPackage},get infoPerPackage(){return e.infoPerPackage},get maxContentWidth(){return e.maxContentWidth},get initialInputSelections(){return e.initialInputSelections},get containerId(){return e.containerId},get walletButtonRender(){return e.walletButtonRender},get safeAreaFallbackColor(){return e.safeAreaFallbackColor},get hideBackButtons(){return e.hideBackButtons},get onPurchaseClicked(){return e.onPurchaseClicked},onActionTriggered:p,get onInputChanged(){return e.onInputChanged},get onSensitiveInputChanged(){return e.onSensitiveInputChanged},get onReservedAttributeChanged(){return e.onReservedAttributeChanged},get onCompleteWorkflowNavigate(){return e.onCompleteWorkflowNavigate},get onNavigateToUrlClicked(){return e.onNavigateToUrlClicked},get onRestorePurchasesClicked(){return e.onRestorePurchasesClicked},get onVisitCustomerCenterClicked(){return e.onVisitCustomerCenterClicked},get onComponentInteraction(){return e.onComponentInteraction},onBackClicked:f,onClose:()=>{var h;_({workflowId:e.workflow.workflowId,stepId:o(l).stepId,fromStepId:void 0,toStepId:void 0,reason:"completed",...d(o(l).stepId)}),(h=e.onClose)==null||h.call(e)}})}),P(r,g),ve()}var tk=R('<img alt="" class="svelte-bgamhd"/>'),nk=R('<video playsinline="" class="svelte-bgamhd"><track kind="captions"/></video>',2),ak=Dr('<use fill="transparent"></use>'),ok=Dr('<rect x="0" y="0" height="100%" width="100%"></rect>'),ik=Dr('<use fill="none"></use>'),sk=R('<div class="video-outer svelte-bgamhd"><div class="video-media svelte-bgamhd"><div class="video-clip"><!></div> <svg class="video-deco svelte-bgamhd" width="100%" height="100%"><defs><clipPath><!></clipPath><g><!></g><!><!></defs><!><g><!><!></g></svg></div></div>');const lk={hash:"svelte-bgamhd",code:`.video-outer.svelte-bgamhd {position:relative;}.video-media.svelte-bgamhd {position:relative;width:100%;height:100%;min-height:0;}.video-deco.svelte-bgamhd {position:absolute;inset:0;width:100%;height:100%;pointer-events:none;}video.svelte-bgamhd,
75
+ linear-gradient(#fff 0 0);mask-composite:exclude;-webkit-mask-composite:xor;pointer-events:none;}`};function Zp(r,e){fe(e,!0),we(r,Zb);const t=()=>Re(w,"$selectedPackageId",n),[n,a]=Ze(),i=X(e,"variablesPerPackage",19,()=>({})),s=X(e,"globalVariables",19,()=>({})),c=X(e,"infoPerPackage",19,()=>({})),l=X(e,"hideBackButtons",3,!1),u=X(e,"initialInputSelections",19,()=>({})),d=X(e,"customVariables",19,()=>({})),p=tv(()=>e.preferredColorMode),_=g(()=>lv(e.paywallData,p())),h=Symbol();ir(()=>Nb(h,o(_),{paywallData:e.paywallData,colorMode:p(),hostFallbackColor:e.safeAreaFallbackColor}));const{default_locale:f,components_config:b,components_localizations:v}=e.paywallData,{base:m}=b,k=Gh(m),x=g(()=>{const Q=o(_);return Q.kind==="style"&&Q.style.background&&!Q.style.background.includes("gradient")?or(Q.style):""}),{getLocalizedString:y}=Wh(()=>({defaultLocale:f,selectedLocale:e.selectedLocale,localizations:v})),w=br(k),P=Q=>{if(Q!==void 0)return Q.trim().length>0?Q:void 0},S=Q=>{var ae;(ae=e.onComponentInteraction)==null||ae.call(e,{...Q,componentName:P(Q.componentName)})},T=Q=>{var Ee;const ae=t();ae!==void 0&&((Ee=e.onPurchaseClicked)==null||Ee.call(e,ae,Q??""))};let I=te(void 0);const A=(Q,ae)=>{var Ee,ie,Se,ye,ee,K,se,pe;switch(Q.type){case"workflow":ae&&((Ee=e.onActionTriggered)==null||Ee.call(e,ae));return;case"complete_workflow":{const ue=y(Q.url.url_lid);if(!ue)return;(ie=e.onCompleteWorkflowNavigate)==null||ie.call(e,{url:ue,method:Q.url.method,url_query_params:Q.url_query_params});return}case"navigate_back":(Se=e.onBackClicked)==null||Se.call(e);return;case"close_workflow":(ye=e.onClose)==null||ye.call(e);return;case"restore_purchases":(ee=e.onRestorePurchasesClicked)==null||ee.call(e);return}switch(Q.destination){case"customer_center":(K=e.onVisitCustomerCenterClicked)==null||K.call(e);return;case"screen_redirect":(se=e.onActionTriggered)==null||se.call(e,"screen_redirect");return;case"privacy_policy":case"terms":case"url":const ue=y(Q.url.url_lid);ue&&((pe=e.onNavigateToUrlClicked)==null||pe.call(e,ue));return;case"sheet":if(Q.sheet)F(I,{props:Q.sheet,rootSelectedPackageId:t()},!0);else{if(o(I)){const Ae=o(I).rootSelectedPackageId;S({componentType:"package_selection_sheet",componentName:o(I).props.name,componentValue:"close",currentPackageId:t(),resultingPackageId:Ae}),w.set(Ae)}F(I,void 0)}return;case"offer_code":case"web_paywall_link":return}},C=Rp(d(),e.uiConfig);Td({defaultPackageId:k,selectedPackageId:w,variablesPerPackage:it(i()),baseVariables:it({...s(),...C}),infoPerPackage:it(c()),onPurchase:T,emitComponentInteraction:S,onNavigateToUrl:e.onNavigateToUrlClicked,onButtonAction:A,onInputChanged:e.onInputChanged,onSensitiveInputChanged:e.onSensitiveInputChanged,onReservedAttributeChanged:e.onReservedAttributeChanged,walletButtonRender:e.walletButtonRender,uiConfig:e.uiConfig,hideBackButtons:l()});const L=zi(),q=L??new Ad;q.registerDeclarations(e.paywallData.state_declarations??{}),L||Md(q);const j=Uh();Vh(j),Hh(u());const Y=jt(w,Q=>{const ae=i()[Q||""];return{...s(),...C,...ae}});fl(Y);const N=jt(w,Q=>c()[Q||""]);Id(N),xr(()=>{cv(e.uiConfig)});const M=g(()=>o(I)?"paywall blur":"paywall"),{stack:z,sticky_footer:U,header:O}=m,G=z.components[0],Z=(G==null?void 0:G.type)==="image"&&G.size.width.type==="fill",le=!!O&&Z;let $=te(0),oe=te(0);const Pe=g(()=>e.maxContentWidth?`max-width: ${e.maxContentWidth}; margin-inline: auto;`:"");var Ie=Te(),J=ce(Ie);cu(J,{get onerror(){return e.onError}},Q=>{var ae=Xb(),Ee=ce(ae),ie=D(Ee);Yb(ie,{get model(){return o(_)}});var Se=B(ie,2);{var ye=Me=>{var De=Gb(),he=D(De);Np(he,_r(()=>O)),V(()=>Oe(De,`z-index: ${Bd};`)),Do(De,"clientHeight",Ke=>F($,Ke)),E(Me,De)};H(Se,Me=>{O&&Me(ye)})}var ee=B(Se,2),K=D(ee);{let Me=g(()=>{var he;return U?{...z.padding,bottom:(((he=z.padding)==null?void 0:he.bottom)??0)+o(oe)}:z.padding}),De=g(()=>jb(z.size.height,le,o($)));Nr(K,_r(()=>z,{class:"paywall-content-scroll",get padding(){return o(Me)},get style(){return o(De)}}))}var se=B(ee,2);{var pe=Me=>{var De=Kb(),he=D(De);Lp(he,_r(()=>U)),V(()=>Oe(De,`z-index: ${Bd}; margin-top: -${o(oe)??""}px; ${o(Pe)??""}`)),Do(De,"clientHeight",Ke=>F(oe,Ke)),E(Me,De)};H(se,Me=>{U&&Me(pe)})}var ue=B(Ee,2);{var Ae=Me=>{Ub(Me,_r(()=>o(I).props))};H(ue,Me=>{o(I)&&Me(Ae)})}V(()=>{ur(Ee,1,da(o(M)),"svelte-1p6c93t"),Oe(Ee,o(x)),Oe(ee,o(Pe))}),E(Q,ae)}),E(r,Ie),me(),a()}function Jb(r,e){fe(e,!0);const t=()=>Re(p,"$infoPerPackage",a),n=()=>Re(d,"$selectedPackageId",a),[a,i]=Ze(),s=Ir(e,["$$slots","$$events","$$legacy"]),{stack:c}=s,{emitComponentInteraction:l,onPurchase:u,selectedPackageId:d,infoPerPackage:p}=It(),{getLocalizedString:_}=Oi(),h=Cb(),f=(m,k,x)=>{const y=m.indexOf("#"),w=y===-1?"":m.slice(y),P=y===-1?m:m.slice(0,y),S=P.includes("?")?"&":"?";return`${P}${S}${encodeURIComponent(k)}=${encodeURIComponent(x)}${w}`},b=m=>{var w,P,S,T,I;let k;const x=((w=e.method)==null?void 0:w.type)==="unknown"||(P=e.method)==null?void 0:P.type,y=(T=(S=t())==null?void 0:S[m])==null?void 0:T.webCheckoutURL;if(((I=e.method)==null?void 0:I.type)==="custom_web_checkout"){const A=_(e.method.custom_url.url_lid);if(A){const C=e.method.custom_url.package_param;k=C?f(A,C,m):A}}if(k===void 0){const A=x??e.action;(A==="web_checkout"||A==="web_product_selection"||A==="custom_web_checkout")&&(k=y)}return{componentType:"purchase_button",componentName:e.name,componentValue:x??e.action??"web_checkout",...k?{componentURL:k}:{},currentPackageId:m}};Nr(r,_r(()=>c,{onclick:()=>{var k;const m=(h?Ao(h):void 0)??n();m!==void 0&&(Ti(d,m),l(b(m))),u((k=e.triggers)==null?void 0:k.on_purchase_press)}})),me(),i()}function Qb(r){return{display:"grid","grid-template-columns":"auto 1fr","column-gap":`${r.column_gutter}px`,"align-items":"stretch",position:"relative",flex:"0 1 auto",width:kr(r.size.width),height:kr(r.size.height),padding:Er(r.padding),margin:Er(r.margin)}}function $b(r,e){return{display:"flex","flex-direction":"column","justify-content":"flex-start","align-items":"flex-start",gap:`${e.text_spacing}px`,height:"fit-content","margin-bottom":`${e.item_spacing}px`}}var ek=R("<div><div></div></div>"),rk=R("<div><!> <div><!></div></div> <div><!> <!></div>",1);function tk(r,e){fe(e,!0);const t=Ir(e,["$$slots","$$events","$$legacy"]),n=ht(),a=g(()=>({...t,...vt(n(),e.overrides)})),i=g(()=>o(a).icon),s=g(()=>o(a).title),c=g(()=>o(a).description),l=g(()=>o(a).connector),u=g(()=>o(a).text_spacing),d=g(()=>o(a).item_spacing),p=lt(),_=g(p),h=or({position:"relative"}),f=or({position:"relative","z-index":"2"}),b=g(()=>or($b(o(_),{text_spacing:o(u),item_spacing:o(d)}))),v=g(()=>{var L;return o(l)?or({position:"absolute",left:"50%",top:`${(((L=o(i))==null?void 0:L.size.width.value)??24)/2}px`,transform:"translateX(-50%)","z-index":"1",width:`${o(l).width}px`,height:"100%","padding-top":`${o(l).margin.top}px`,"padding-bottom":`${o(l).margin.bottom}px`}):""}),m=g(()=>{if(!o(l))return"";const L=ct(o(_),o(l).color);return or({width:"100%",height:"100%",background:L})});var k=rk(),x=ce(k),y=D(x);{var w=L=>{var q=ek(),j=D(q);V(()=>{Oe(q,o(v)),Oe(j,o(m))}),E(L,q)};H(y,L=>{o(l)&&L(w)})}var P=B(y,2),S=D(P);Ap(S,_r(()=>o(i)));var T=B(x,2),I=D(T);Wl(I,_r(()=>o(s)));var A=B(I,2);{var C=L=>{Wl(L,_r(()=>o(c)))};H(A,L=>{o(c)&&L(C)})}V(()=>{Oe(x,h),Oe(P,f),Oe(T,o(b))}),E(r,k),me()}var nk=R("<div></div>");function ak(r,e){fe(e,!0);const t=Ir(e,["$$slots","$$events","$$legacy"]),n=ht(),a=g(()=>({...t,...vt(n(),e.overrides)})),i=g(()=>o(a).items),s=g(()=>o(a).text_spacing),c=g(()=>o(a).item_spacing),l=g(()=>o(a).column_gutter),u=g(()=>o(a).icon_alignment),d=g(()=>o(a).size),p=g(()=>o(a).padding),_=g(()=>o(a).margin),h=g(()=>o(a).visible),f=g(()=>$f(o(a),["items","text_spacing","item_spacing","column_gutter","icon_alignment","size","padding","margin","visible"])),b=g(()=>o(h)!==!1),v=g(()=>or(Qb({items:o(i),text_spacing:o(s),item_spacing:o(c),column_gutter:o(l),icon_alignment:o(u),size:o(d),padding:o(p),margin:o(_),...o(f)})));var m=Te(),k=ce(m);{var x=y=>{var w=nk();Jt(w,21,()=>o(i),P=>P.id,(P,S)=>{tk(P,_r(()=>o(S),{get text_spacing(){return o(s)},get item_spacing(){return o(c)}}))}),V(()=>Oe(w,o(v))),E(y,w)};H(k,y=>{o(b)&&o(i).length&&y(x)})}E(r,m),me()}var ok=R("<div><p>No paywall data provided</p></div>"),ik=R('<div class="paywall-container"><!></div>');function sk(r,e){fe(e,!0);const t=X(e,"selectedLocale",3,"en_US"),n=X(e,"globalVariables",19,()=>({})),a=X(e,"containerId",3,"screen-container"),i=X(e,"initialInputSelections",19,()=>({}));var s=ik(),c=D(s);{var l=d=>{Zp(d,{get paywallData(){return e.paywallComponents},get selectedLocale(){return t()},get uiConfig(){return e.uiConfig},get variablesPerPackage(){return e.variablesPerPackage},get infoPerPackage(){return e.infoPerPackage},get globalVariables(){return n()},get maxContentWidth(){return e.maxContentWidth},get initialInputSelections(){return i()},onNavigateToUrlClicked:p=>{e.onNavigateToUrlClicked?e.onNavigateToUrlClicked(p):window.open(p,"_blank")},get onCompleteWorkflowNavigate(){return e.onCompleteWorkflowNavigate},onVisitCustomerCenterClicked:()=>{var p;return(p=e.onVisitCustomerCenterClicked)==null?void 0:p.call(e)},get onBackClicked(){return e.onBackClicked},get onClose(){return e.onClose},onRestorePurchasesClicked:()=>{var p;return(p=e.onRestorePurchasesClicked)==null?void 0:p.call(e)},onActionTriggered:p=>{var _;(_=e.onActionTriggered)==null||_.call(e,p)},get onComponentInteraction(){return e.onComponentInteraction},get onPurchaseClicked(){return e.onPurchaseClicked},get onInputChanged(){return e.onInputChanged},get onSensitiveInputChanged(){return e.onSensitiveInputChanged},get onReservedAttributeChanged(){return e.onReservedAttributeChanged},get walletButtonRender(){return e.walletButtonRender},get safeAreaFallbackColor(){return e.safeAreaFallbackColor},get hideBackButtons(){return e.hideBackButtons},onError:p=>{console.error("Paywall error:",p)}})},u=d=>{var p=ok();E(d,p)};H(c,d=>{e.paywallComponents?d(l):d(u,!1)})}V(()=>ke(s,"id",a())),E(r,s),me()}function lk(r,e){fe(e,!0);function t(v){return v.type==="step"&&typeof v.step_id=="string"}const n=new Ad;Md(n);function a(v){const m={};for(const k of Object.values(v))for(const[x,y]of Object.entries(k.state_declarations??{}))Object.hasOwn(m,x)||(m[x]=y);return m}let i=te(void 0);Bs(()=>{o(i)!==e.workflow.workflowId&&(F(i,e.workflow.workflowId,!0),n.reset(a(e.workflow.pages)))});let s=te(ar([])),c=te(void 0);const l=g(()=>o(s)[o(s).length-1]??{pageId:e.workflow.initial_page_id,stepId:e.workflow.initial_step_id}),u=g(()=>e.workflow.pages[o(l).pageId]);Bs(()=>{const v=`${e.workflow.workflowId}:${e.workflow.initial_page_id}`;o(c)!==v&&(F(c,v),F(s,[{pageId:e.workflow.initial_page_id,stepId:e.workflow.initial_step_id}],!0),p({workflowId:e.workflow.workflowId,stepId:e.workflow.initial_step_id,fromStepId:void 0,toStepId:void 0,reason:"start",...d(e.workflow.initial_step_id)}))});function d(v){const m=e.workflow.steps[v];return{isFirstStep:v===e.workflow.initial_step_id,isLastStep:m!==void 0&&!Object.values(m.trigger_actions).some(k=>t(k))}}function p(v){var m;(m=e.onStepChanged)==null||m.call(e,v)}function _(v){var T,I,A,C;const m=e.workflow.steps[o(l).stepId];if(!m){console.warn(`[Workflow] onActionTriggered: no current step found for step_id "${o(l).stepId}"`);return}const k=(T=m.triggers.find(L=>L.component_id===v))==null?void 0:T.action_id;if(!k){console.warn(`[Workflow] onActionTriggered: no trigger entry found for component "${v}" on step "${o(l).stepId}"`),(I=e.onActionTriggered)==null||I.call(e,v);return}const x=m.trigger_actions[k];if(!x){console.warn(`[Workflow] onActionTriggered: no trigger_action found for action_id "${k}" on step "${o(l).stepId}"`),(A=e.onActionTriggered)==null||A.call(e,v);return}if(!t(x)){console.warn("[Workflow] onActionTriggered: trigger_action is not a simple step action, falling back to onActionTriggered"),(C=e.onActionTriggered)==null||C.call(e,v);return}const y=e.workflow.steps[x.step_id];if(!y){console.warn(`[Workflow] onActionTriggered: step_id "${x.step_id}" not found in workflow steps`);return}const w=y.screen_id;if(!w){console.warn(`[Workflow] onActionTriggered: step "${x.step_id}" has no screen_id (logic/experiment step?)`);return}if(!e.workflow.pages[w]){console.warn(`[Workflow] onActionTriggered: screen_id "${w}" not found in workflow pages`);return}const P=o(l).stepId,S=x.step_id;p({workflowId:e.workflow.workflowId,stepId:P,fromStepId:void 0,toStepId:S,reason:"completed",...d(P)}),F(s,[...o(s),{pageId:w,stepId:S}],!0),p({workflowId:e.workflow.workflowId,stepId:S,fromStepId:P,toStepId:void 0,reason:"forward",...d(S)})}function h(){var v;if(o(s).length>1){const m=o(l).stepId,k=o(s)[o(s).length-2].stepId;p({workflowId:e.workflow.workflowId,stepId:m,fromStepId:void 0,toStepId:k,reason:"completed",...d(m)}),F(s,o(s).slice(0,-1),!0),p({workflowId:e.workflow.workflowId,stepId:k,fromStepId:m,toStepId:void 0,reason:"back",...d(k)})}else p({workflowId:e.workflow.workflowId,stepId:o(l).stepId,fromStepId:void 0,toStepId:void 0,reason:"completed",...d(o(l).stepId)}),(v=e.onExitBack)==null||v.call(e)}var f=Te(),b=ce(f);Hu(b,()=>o(l).pageId,v=>{sk(v,{get paywallComponents(){return o(u)},get uiConfig(){return e.uiConfig},get selectedLocale(){return e.selectedLocale},get globalVariables(){return e.globalVariables},get variablesPerPackage(){return e.variablesPerPackage},get infoPerPackage(){return e.infoPerPackage},get maxContentWidth(){return e.maxContentWidth},get initialInputSelections(){return e.initialInputSelections},get containerId(){return e.containerId},get walletButtonRender(){return e.walletButtonRender},get safeAreaFallbackColor(){return e.safeAreaFallbackColor},get hideBackButtons(){return e.hideBackButtons},get onPurchaseClicked(){return e.onPurchaseClicked},onActionTriggered:_,get onInputChanged(){return e.onInputChanged},get onSensitiveInputChanged(){return e.onSensitiveInputChanged},get onReservedAttributeChanged(){return e.onReservedAttributeChanged},get onCompleteWorkflowNavigate(){return e.onCompleteWorkflowNavigate},get onNavigateToUrlClicked(){return e.onNavigateToUrlClicked},get onRestorePurchasesClicked(){return e.onRestorePurchasesClicked},get onVisitCustomerCenterClicked(){return e.onVisitCustomerCenterClicked},get onComponentInteraction(){return e.onComponentInteraction},onBackClicked:h,onClose:()=>{var m;p({workflowId:e.workflow.workflowId,stepId:o(l).stepId,fromStepId:void 0,toStepId:void 0,reason:"completed",...d(o(l).stepId)}),(m=e.onClose)==null||m.call(e)}})}),E(r,f),me()}var ck=R('<img alt="" class="svelte-bgamhd"/>'),uk=R('<video playsinline="" class="svelte-bgamhd"><track kind="captions"/></video>',2),dk=Dr('<use fill="transparent"></use>'),pk=Dr('<rect x="0" y="0" height="100%" width="100%"></rect>'),_k=Dr('<use fill="none"></use>'),gk=R('<div class="video-outer svelte-bgamhd"><div class="video-media svelte-bgamhd"><div class="video-clip"><!></div> <svg class="video-deco svelte-bgamhd" width="100%" height="100%"><defs><clipPath><!></clipPath><g><!></g><!><!></defs><!><g><!><!></g></svg></div></div>');const fk={hash:"svelte-bgamhd",code:`.video-outer.svelte-bgamhd {position:relative;}.video-media.svelte-bgamhd {position:relative;width:100%;height:100%;min-height:0;}.video-deco.svelte-bgamhd {position:absolute;inset:0;width:100%;height:100%;pointer-events:none;}video.svelte-bgamhd,
76
76
  img.svelte-bgamhd {width:100%;height:100%;object-fit:contain;object-position:center;}
77
77
 
78
- /* Own compositing layer — mitigates WebKit freezing video frames under animated/transform ancestors */video.svelte-bgamhd {transform:translateZ(0);-webkit-transform:translateZ(0);}`};function ck(r,e){he(e,!0),we(r,lk);const t=Sr(e,["$$slots","$$events","$$legacy"]),n=gt(),a=m(()=>({...t,...ft(n(),e.overrides)})),i=m(()=>o(a).id),s=m(()=>o(a).source),c=m(()=>o(a).fallback_source),l=m(()=>o(a).size),u=m(()=>o(a).mask_shape),d=m(()=>o(a).fit_mode),_=m(()=>o(a).padding),p=m(()=>o(a).margin),f=m(()=>o(a).color_overlay),g=m(()=>o(a).border),b=m(()=>o(a).shadow),y=m(()=>o(a).auto_play),h=m(()=>o(a).loop),k=m(()=>o(a).mute_audio),x=m(()=>o(a).show_controls),v=m(()=>o(a).visible),w=it(),E=m(w),I=m(()=>o(s)?et(o(E),o(s)):null),T=m(()=>o(c)?et(o(E),o(c)):null);let S=te(0),A=te(nr({height:0,width:0})),C=te(null),N=te(!1),q=te(!1),j=te(null);ir(()=>{if(o(I)){if(o(I).width&&o(I).height){F(A,{height:o(I).height,width:o(I).width},!0);return}if(o(C)){const $=()=>{var me,xe;F(A,{height:((me=o(C))==null?void 0:me.videoHeight)??0,width:((xe=o(C))==null?void 0:xe.videoWidth)??0},!0)},ue=()=>{F(N,!0)};return o(C).addEventListener("loadedmetadata",$),o(C).addEventListener("error",ue),()=>{var me,xe;(me=o(C))==null||me.removeEventListener("loadedmetadata",$),(xe=o(C))==null||xe.removeEventListener("error",ue)}}}else if(o(T)){if(o(T).width&&o(T).height){F(A,{height:o(T).height,width:o(T).width},!0);return}const $=new window.Image;$.src=o(T).original;const ue=()=>{F(A,{height:$.height,width:$.width},!0)};return $.addEventListener("load",ue),()=>{$.removeEventListener("load",ue)}}});const Z=m(()=>{if(o(l).height.type==="fixed")return o(l).height.value;const $=o(A).width,ue=o(A).height;return!Number.isFinite($)||!Number.isFinite(ue)||$<=0||ue<=0?o(S)>0?Math.round(o(S)*(9/16)):200:Math.round(o(S)*(ue/$))}),O=m(()=>ar({width:kr(o(l).width),height:`${o(Z)}px`,margin:xr(o(p)),padding:xr(o(_)),"line-height":0,"flex-shrink":o(l).width.type==="fixed"?0:1}));let z=te(null);const M=m(()=>{var $,ue;return[(($=o(z))==null?void 0:$.width)??0,((ue=o(z))==null?void 0:ue.height)??0]}),H=m(()=>pi(o(M),2)),L=m(()=>o(H)[0]),K=m(()=>o(H)[1]),re=m(()=>`0 0 ${o(L)} ${o(K)}`),le=m(()=>{var ze;if(!((ze=o(b))!=null&&ze.color))return"";const{x:$,y:ue,radius:me,color:xe}=o(b),qe=st(o(E),xe);return`filter:drop-shadow(${$}px ${ue}px ${me}px ${qe})`}),ne=m(()=>o(le)?`${o(O)};${o(le)}`:o(O)),ce=m(()=>{var $,ue;return ar({width:"100%",height:"100%",overflow:"hidden","border-radius":Bn(o(u)),"clip-path":(($=o(u))==null?void 0:$.type)==="concave"||((ue=o(u))==null?void 0:ue.type)==="convex"?`url(#${o(i)}-path)`:"none"})}),Q=m(()=>o(f)&&et(o(E),o(f))),ie=m(()=>o(N)||!o(I));ir(()=>{if(!o(y)){Ve(()=>{F(q,!1)});return}if(o(ie)||!o(I)){Ve(()=>{F(q,!1)});return}const $=o(C);if(!$)return;const ue=o(I).url,me=o(j)!==ue;me&&(F(j,ue,!0),Ve(()=>{F(q,!1)}));let xe=!1;const qe=()=>{ji($,{preferMuted:o(k),mutedPlaybackOverride:o(q)})};let ze=null;const De=()=>{ze!==null&&($.removeEventListener("playing",ze),ze=null)},be=()=>{if(xe||!$.paused||(qe(),$.readyState<HTMLMediaElement.HAVE_CURRENT_DATA))return;const Ee=$.play();Ee!==void 0&&Ee.catch(()=>{if(!(xe||!$.isConnected)&&!o(k)&&!o(q)){Ve(()=>{F(q,!0)}),ji($,{preferMuted:o(k),mutedPlaybackOverride:!0});let pe=!1;const Ye=()=>{pe||o(k)||xe||!$.isConnected||(pe=!0,queueMicrotask(()=>{if(xe)return;Ve(()=>{F(q,!1)}),qe(),$.volume=1;const Re=$.play();Re!==void 0&&Re.catch(()=>{xe||!$.isConnected||(Ve(()=>{F(q,!0)}),qe())})}))},Ze=()=>{xe||!$.isConnected||(ze=null,Ye())},ge=$.play();ge!==void 0?ge.then(()=>{xe||o(k)||pe||(ze=Ze,$.addEventListener("playing",Ze,{once:!0}),queueMicrotask(()=>{if(!(xe||o(k)||pe||$.paused)){if(!$.muted){De();return}Ye()}}))}):(ze=Ze,$.addEventListener("playing",Ze,{once:!0}))}})},Ae=()=>{if(qe(),o(k))$.play().catch(()=>{});else try{$.load()}catch{}};me&&$.readyState<HTMLMediaElement.HAVE_CURRENT_DATA&&Ae();const Fe=Sp($,be,()=>xe);return()=>{xe=!0,De(),Fe()}});const V=m(()=>o(v)!==!1);var X=Se(),B=se(X);{var oe=$=>{var ue=sk(),me=D(ue),xe=D(me),qe=D(xe);{var ze=or=>{var Cr=tk();Y($n=>{ke(Cr,"src",o(T).original),Le(Cr,`object-fit:${$n??""}`)},[()=>Ya(o(d))]),P(or,Cr)},De=or=>{var Cr=Se(),$n=se(Cr);{var Ps=lo=>{var Ft=nk();pa(Ft,oi=>F(C,oi),()=>o(C)),Y(oi=>{ke(Ft,"src",o(I).url),Le(Ft,`object-fit:${oi??""}`),Ft.loop=o(h),Ft.muted=o(k)||o(q),Ft.controls=o(x),Ft.autoplay=o(y),ke(Ft,"preload",o(y)?"auto":"metadata")},[()=>Ya(o(d))]),P(lo,Ft)};W($n,lo=>{o(I)&&lo(Ps)},!0)}P(or,Cr)};W(qe,or=>{o(ie)&&o(T)?or(ze):or(De,!1)})}var be=U(xe,2),Ae=D(be),Fe=D(Ae),Ee=D(Fe);Wi(Ee,{get shape(){return o(u)},get width(){return o(L)},get height(){return o(K)}});var pe=U(Fe),Ye=D(pe);Wi(Ye,{get shape(){return o(u)},get width(){return o(L)},get height(){return o(K)}});var Ze=U(pe);{let or=m(()=>`${o(i)}-overlay`);Yi(Ze,{get id(){return o(or)},get overlay(){return o(Q)}})}var ge=U(Ze);{var Re=or=>{{let Cr=m(()=>`${o(i)}-border-color`),$n=m(()=>et(o(E),o(g).color));Yi(or,{get id(){return o(Cr)},get overlay(){return o($n)}})}};W(ge,or=>{o(g)&&o(g).width>0&&or(Re)})}var dr=U(Ae);{var Er=or=>{var Cr=ak();Y(()=>ke(Cr,"href",`#${o(i)}-border`)),P(or,Cr)};W(dr,or=>{o(g)&&o(g).width>0&&or(Er)})}var jr=U(dr),cn=D(jr);{var En=or=>{var Cr=ok();Y(()=>ke(Cr,"fill",`url(#${o(i)}-overlay)`)),P(or,Cr)};W(cn,or=>{o(Q)&&or(En)})}var At=U(cn);{var ai=or=>{var Cr=ik();Y(()=>{ke(Cr,"href",`#${o(i)}-border`),ke(Cr,"stroke",`url(#${o(i)}-border-color)`),ke(Cr,"stroke-width",o(g).width*2)}),P(or,Cr)};W(At,or=>{o(g)&&o(g).width>0&&or(ai)})}Y(()=>{Le(ue,o(ne)),Le(xe,o(ce)),ke(be,"viewBox",o(re)),ke(Fe,"id",`${o(i)}-path`),ke(pe,"id",`${o(i)}-border`),ke(jr,"clip-path",`url(#${o(i)}-path)`)}),ad(be,"contentRect",or=>F(z,or)),Co(ue,"clientWidth",or=>F(S,or)),P($,ue)};W(B,$=>{o(V)&&$(oe)})}P(r,X),ve()}const uk="https:";function dk(r){const e=Array.from(r).filter(n=>n.charCodeAt(0)>32).join("");let t;try{t=new URL(e)}catch{return null}return t.protocol.toLowerCase()!==uk||t.username!==""||t.password!==""?null:t.href}function pk(r,e){try{return new URL(r).origin===e}catch{return!0}}var _k="resize",gk="fit",fk=["connect","init","reject","message","request","response","error"];new Set(fk);const mk="https://sdk.revenuecat-static.com";let hk=bk;const Ki=new Map;function vk(r){return`${mk}/v${r}/rc-host.iife.js`}function yk(r){if(!Number.isInteger(r)||r<1)throw new Error(`invalid web_view protocol_version: ${r}`)}function Ql(r){var t;const e=(t=window.RCHost)==null?void 0:t.createHostBridge;if(typeof e!="function")throw new Error(`rc-host.iife.js at ${r} did not register window.RCHost.createHostBridge`);return e}function bk(r){var e;return typeof document>"u"?Promise.reject(new Error("web_view host bridge requires a document to load the CDN script")):typeof((e=window.RCHost)==null?void 0:e.createHostBridge)=="function"?Promise.resolve(Ql(r)):new Promise((t,n)=>{var s;const a=document.querySelector(`script[data-rc-host-sdk="${r.replace(/"/g,'\\"')}"]`);if(a){const c=()=>{try{t(Ql(r))}catch(l){n(l)}};if(typeof((s=window.RCHost)==null?void 0:s.createHostBridge)=="function"){c();return}a.addEventListener("load",c),a.addEventListener("error",()=>{n(new Error(`failed to load ${r}`))});return}const i=document.createElement("script");i.src=r,i.async=!0,i.dataset.rcHostSdk=r,i.onload=()=>{try{t(Ql(r))}catch(c){n(c)}},i.onerror=()=>{n(new Error(`failed to load ${r}`))},document.head.appendChild(i)})}function kk(r){const e=Ki.get(r);if(e)return e;const t=vk(r),n=hk(t);return n.catch(()=>{Ki.get(r)===n&&Ki.delete(r)}),Ki.set(r,n),n}async function wk(r){return yk(r),kk(r)}var Pk=R('<div class="web-view svelte-ek1owy"><iframe sandbox="allow-scripts allow-same-origin" referrerpolicy="no-referrer" allow="" class="svelte-ek1owy"></iframe></div>');const xk={hash:"svelte-ek1owy",code:`.web-view.svelte-ek1owy {position:relative;overflow:hidden;background:transparent;
79
- /* Match content's dual scheme so the UA keeps a transparent iframe canvas. */color-scheme:light dark;}iframe.svelte-ek1owy {display:block;width:100%;height:100%;border:0;background:transparent;color-scheme:light dark;}`};function Ek(r,e){he(e,!0),we(r,xk);const t=300,n=1e4,a=v=>Math.max(1,Math.min(n,Math.round(v))),i=v=>typeof v=="number"&&Number.isFinite(v)&&v>0,s=zp();let c=te(!1);br(()=>{F(c,!0)});const l=m(()=>dk(e.url)),u=m(()=>o(c)&&o(l)!==null&&!pk(o(l),window.location.origin));let d=te(void 0),_=te(void 0);const p=v=>v.type==="fit"&&typeof v.default=="number"?v.default:t,f=m(()=>{const{width:v,height:w}=e.size,E=v.type==="fit",I=w.type==="fit",T=w.type==="fill",S=T&&(s==null?void 0:s())==="vertical",A=E?a(o(d)??p(v)):null,C=I?a(o(_)??p(w)):null;return ar({width:A!=null?Ir(A):kr(v),...T?Dp(s==null?void 0:s()):{height:C!=null?Ir(C):kr(w)},...A!=null?{"max-width":"100%"}:{},...C!=null?{"max-height":"100%"}:{},...S?{}:{"flex-shrink":v.type==="fixed"||E||I?0:1},"line-height":0})}),g=m(()=>e.visible!==!1);let b=te(void 0),y;ir(()=>{const v=o(l);v!==y&&(F(d,void 0),F(_,void 0),y=v);const w=o(b),E=e.id,I=e.protocol_version,T=e.size.width.type==="fit",S=e.size.height.type==="fit";if(!w||!v)return;let A=!1,C;return wk(I).then(N=>{if(!A)try{C=N({iframe:w,allowedOrigin:new URL(v).origin,componentId:E,protocolVersion:I}),(T||S)&&C.onReady(()=>C==null?void 0:C.send(gk,{width:T,height:S})),C.on(_k,q=>{const{width:j,height:Z}=q??{};T&&i(j)&&F(d,j,!0),S&&i(Z)&&F(_,Z,!0)})}catch(q){console.warn("web_view: failed to wire host bridge",q)}}).catch(()=>{}),()=>{A=!0,C==null||C.destroy()}});var h=Se(),k=se(h);{var x=v=>{var w=Pk(),E=D(w);pa(E,I=>F(b,I),()=>o(b)),Y(()=>{Le(w,o(f)),ke(E,"title",e.name??"Web view"),ke(E,"src",o(l))}),P(v,w)};W(k,v=>{o(g)&&o(l)&&o(u)&&v(x)})}P(r,h),ve()}function Sk(r){const e=r.steps[r.initial_step_id];if(!e)return console.warn(`[workflowDataToNavData] initial_step_id "${r.initial_step_id}" not found in steps`),null;const t=e.screen_id;return t?r.screens[t]?{workflowId:r.id,initial_page_id:t,initial_step_id:r.initial_step_id,pages:r.screens,steps:r.steps}:(console.warn(`[workflowDataToNavData] screen_id "${t}" not found in screens`),null):(console.warn(`[workflowDataToNavData] initial step "${r.initial_step_id}" has no screen_id (logic/experiment step?)`),null)}var Ik=R("<span><!></span>");const Ck={hash:"svelte-1pt0ai6",code:`
78
+ /* Own compositing layer — mitigates WebKit freezing video frames under animated/transform ancestors */video.svelte-bgamhd {transform:translateZ(0);-webkit-transform:translateZ(0);}`};function mk(r,e){fe(e,!0),we(r,fk);const t=Ir(e,["$$slots","$$events","$$legacy"]),n=ht(),a=g(()=>({...t,...vt(n(),e.overrides)})),i=g(()=>o(a).id),s=g(()=>o(a).source),c=g(()=>o(a).fallback_source),l=g(()=>o(a).size),u=g(()=>o(a).mask_shape),d=g(()=>o(a).fit_mode),p=g(()=>o(a).padding),_=g(()=>o(a).margin),h=g(()=>o(a).color_overlay),f=g(()=>o(a).border),b=g(()=>o(a).shadow),v=g(()=>o(a).auto_play),m=g(()=>o(a).loop),k=g(()=>o(a).mute_audio),x=g(()=>o(a).show_controls),y=g(()=>o(a).visible),w=lt(),P=g(w),S=g(()=>o(s)?tt(o(P),o(s)):null),T=g(()=>o(c)?tt(o(P),o(c)):null);let I=te(0),A=te(ar({height:0,width:0})),C=te(null),L=te(!1),q=te(!1),j=te(null);ir(()=>{if(o(S)){if(o(S).width&&o(S).height){F(A,{height:o(S).height,width:o(S).width},!0);return}if(o(C)){const ie=()=>{var ye,ee;F(A,{height:((ye=o(C))==null?void 0:ye.videoHeight)??0,width:((ee=o(C))==null?void 0:ee.videoWidth)??0},!0)},Se=()=>{F(L,!0)};return o(C).addEventListener("loadedmetadata",ie),o(C).addEventListener("error",Se),()=>{var ye,ee;(ye=o(C))==null||ye.removeEventListener("loadedmetadata",ie),(ee=o(C))==null||ee.removeEventListener("error",Se)}}}else if(o(T)){if(o(T).width&&o(T).height){F(A,{height:o(T).height,width:o(T).width},!0);return}const ie=new window.Image;ie.src=o(T).original;const Se=()=>{F(A,{height:ie.height,width:ie.width},!0)};return ie.addEventListener("load",Se),()=>{ie.removeEventListener("load",Se)}}});const Y=g(()=>{if(o(l).height.type==="fixed")return o(l).height.value;const ie=o(A).width,Se=o(A).height;return!Number.isFinite(ie)||!Number.isFinite(Se)||ie<=0||Se<=0?o(I)>0?Math.round(o(I)*(9/16)):200:Math.round(o(I)*(Se/ie))}),N=g(()=>or({width:kr(o(l).width),height:`${o(Y)}px`,margin:Er(o(_)),padding:Er(o(p)),"line-height":0,"flex-shrink":o(l).width.type==="fixed"?0:1}));let M=te(null);const z=g(()=>{var ie,Se;return[((ie=o(M))==null?void 0:ie.width)??0,((Se=o(M))==null?void 0:Se.height)??0]}),U=g(()=>gi(o(z),2)),O=g(()=>o(U)[0]),G=g(()=>o(U)[1]),Z=g(()=>`0 0 ${o(O)} ${o(G)}`),le=g(()=>{var se;if(!((se=o(b))!=null&&se.color))return"";const{x:ie,y:Se,radius:ye,color:ee}=o(b),K=ct(o(P),ee);return`filter:drop-shadow(${ie}px ${Se}px ${ye}px ${K})`}),$=g(()=>o(le)?`${o(N)};${o(le)}`:o(N)),oe=g(()=>{var ie,Se;return or({width:"100%",height:"100%",overflow:"hidden","border-radius":jn(o(u)),"clip-path":((ie=o(u))==null?void 0:ie.type)==="concave"||((Se=o(u))==null?void 0:Se.type)==="convex"?`url(#${o(i)}-path)`:"none"})}),Pe=g(()=>o(h)&&tt(o(P),o(h))),Ie=g(()=>o(L)||!o(S));ir(()=>{if(!o(v)){Ue(()=>{F(q,!1)});return}if(o(Ie)||!o(S)){Ue(()=>{F(q,!1)});return}const ie=o(C);if(!ie)return;const Se=o(S).url,ye=o(j)!==Se;ye&&(F(j,Se,!0),Ue(()=>{F(q,!1)}));let ee=!1;const K=()=>{Ri(ie,{preferMuted:o(k),mutedPlaybackOverride:o(q)})};let se=null;const pe=()=>{se!==null&&(ie.removeEventListener("playing",se),se=null)},ue=()=>{if(ee||!ie.paused||(K(),ie.readyState<HTMLMediaElement.HAVE_CURRENT_DATA))return;const De=ie.play();De!==void 0&&De.catch(()=>{if(!(ee||!ie.isConnected)&&!o(k)&&!o(q)){Ue(()=>{F(q,!0)}),Ri(ie,{preferMuted:o(k),mutedPlaybackOverride:!0});let he=!1;const Ke=()=>{he||o(k)||ee||!ie.isConnected||(he=!0,queueMicrotask(()=>{if(ee)return;Ue(()=>{F(q,!1)}),K(),ie.volume=1;const Ve=ie.play();Ve!==void 0&&Ve.catch(()=>{ee||!ie.isConnected||(Ue(()=>{F(q,!0)}),K())})}))},$e=()=>{ee||!ie.isConnected||(se=null,Ke())},ve=ie.play();ve!==void 0?ve.then(()=>{ee||o(k)||he||(se=$e,ie.addEventListener("playing",$e,{once:!0}),queueMicrotask(()=>{if(!(ee||o(k)||he||ie.paused)){if(!ie.muted){pe();return}Ke()}}))}):(se=$e,ie.addEventListener("playing",$e,{once:!0}))}})},Ae=()=>{if(K(),o(k))ie.play().catch(()=>{});else try{ie.load()}catch{}};ye&&ie.readyState<HTMLMediaElement.HAVE_CURRENT_DATA&&Ae();const Me=Tp(ie,ue,()=>ee);return()=>{ee=!0,pe(),Me()}});const J=g(()=>o(y)!==!1);var Q=Te(),ae=ce(Q);{var Ee=ie=>{var Se=gk(),ye=D(Se),ee=D(ye),K=D(ee);{var se=er=>{var yr=ck();V(zt=>{ke(yr,"src",o(T).original),Oe(yr,`object-fit:${zt??""}`)},[()=>Ya(o(d))]),E(er,yr)},pe=er=>{var yr=Te(),zt=ce(yr);{var lo=co=>{var qt=uk();pa(qt,si=>F(C,si),()=>o(C)),V(si=>{ke(qt,"src",o(S).url),Oe(qt,`object-fit:${si??""}`),qt.loop=o(m),qt.muted=o(k)||o(q),qt.controls=o(x),qt.autoplay=o(v),ke(qt,"preload",o(v)?"auto":"metadata")},[()=>Ya(o(d))]),E(co,qt)};H(zt,co=>{o(S)&&co(lo)},!0)}E(er,yr)};H(K,er=>{o(Ie)&&o(T)?er(se):er(pe,!1)})}var ue=B(ee,2),Ae=D(ue),Me=D(Ae),De=D(Me);Gi(De,{get shape(){return o(u)},get width(){return o(O)},get height(){return o(G)}});var he=B(Me),Ke=D(he);Gi(Ke,{get shape(){return o(u)},get width(){return o(O)},get height(){return o(G)}});var $e=B(he);{let er=g(()=>`${o(i)}-overlay`);Ki($e,{get id(){return o(er)},get overlay(){return o(Pe)}})}var ve=B($e);{var Ve=er=>{{let yr=g(()=>`${o(i)}-border-color`),zt=g(()=>tt(o(P),o(f).color));Ki(er,{get id(){return o(yr)},get overlay(){return o(zt)}})}};H(ve,er=>{o(f)&&o(f).width>0&&er(Ve)})}var fr=B(Ae);{var Sr=er=>{var yr=dk();V(()=>ke(yr,"href",`#${o(i)}-border`)),E(er,yr)};H(fr,er=>{o(f)&&o(f).width>0&&er(Sr)})}var zr=B(fr),qr=D(zr);{var Kr=er=>{var yr=pk();V(()=>ke(yr,"fill",`url(#${o(i)}-overlay)`)),E(er,yr)};H(qr,er=>{o(Pe)&&er(Kr)})}var Or=B(qr);{var Ut=er=>{var yr=_k();V(()=>{ke(yr,"href",`#${o(i)}-border`),ke(yr,"stroke",`url(#${o(i)}-border-color)`),ke(yr,"stroke-width",o(f).width*2)}),E(er,yr)};H(Or,er=>{o(f)&&o(f).width>0&&er(Ut)})}V(()=>{Oe(Se,o($)),Oe(ee,o(oe)),ke(ue,"viewBox",o(Z)),ke(Me,"id",`${o(i)}-path`),ke(he,"id",`${o(i)}-border`),ke(zr,"clip-path",`url(#${o(i)}-path)`)}),nd(ue,"contentRect",er=>F(M,er)),Do(Se,"clientWidth",er=>F(I,er)),E(ie,Se)};H(ae,ie=>{o(J)&&ie(Ee)})}E(r,Q),me()}const hk="https:";function vk(r){const e=Array.from(r).filter(n=>n.charCodeAt(0)>32).join("");let t;try{t=new URL(e)}catch{return null}return t.protocol.toLowerCase()!==hk||t.username!==""||t.password!==""?null:t.href}function yk(r,e){try{return new URL(r).origin===e}catch{return!0}}var bk="resize",kk="fit",wk=["connect","init","reject","message","request","response","error"];new Set(wk);const Pk="https://sdk.revenuecat-static.com";let xk=Ik;const Zi=new Map;function Ek(r){return`${Pk}/v${r}/rc-host.iife.js`}function Sk(r){if(!Number.isInteger(r)||r<1)throw new Error(`invalid web_view protocol_version: ${r}`)}function Ql(r){var t;const e=(t=window.RCHost)==null?void 0:t.createHostBridge;if(typeof e!="function")throw new Error(`rc-host.iife.js at ${r} did not register window.RCHost.createHostBridge`);return e}function Ik(r){var e;return typeof document>"u"?Promise.reject(new Error("web_view host bridge requires a document to load the CDN script")):typeof((e=window.RCHost)==null?void 0:e.createHostBridge)=="function"?Promise.resolve(Ql(r)):new Promise((t,n)=>{var s;const a=document.querySelector(`script[data-rc-host-sdk="${r.replace(/"/g,'\\"')}"]`);if(a){const c=()=>{try{t(Ql(r))}catch(l){n(l)}};if(typeof((s=window.RCHost)==null?void 0:s.createHostBridge)=="function"){c();return}a.addEventListener("load",c),a.addEventListener("error",()=>{n(new Error(`failed to load ${r}`))});return}const i=document.createElement("script");i.src=r,i.async=!0,i.dataset.rcHostSdk=r,i.onload=()=>{try{t(Ql(r))}catch(c){n(c)}},i.onerror=()=>{n(new Error(`failed to load ${r}`))},document.head.appendChild(i)})}function Ck(r){const e=Zi.get(r);if(e)return e;const t=Ek(r),n=xk(t);return n.catch(()=>{Zi.get(r)===n&&Zi.delete(r)}),Zi.set(r,n),n}async function Tk(r){return Sk(r),Ck(r)}var Dk=R('<div class="web-view svelte-ek1owy"><iframe sandbox="allow-scripts allow-same-origin" referrerpolicy="no-referrer" allow="" class="svelte-ek1owy"></iframe></div>');const Ak={hash:"svelte-ek1owy",code:`.web-view.svelte-ek1owy {position:relative;overflow:hidden;background:transparent;
79
+ /* Match content's dual scheme so the UA keeps a transparent iframe canvas. */color-scheme:light dark;}iframe.svelte-ek1owy {display:block;width:100%;height:100%;border:0;background:transparent;color-scheme:light dark;}`};function Fk(r,e){fe(e,!0),we(r,Ak);const t=300,n=1e4,a=y=>Math.max(1,Math.min(n,Math.round(y))),i=y=>typeof y=="number"&&Number.isFinite(y)&&y>0,s=Op();let c=te(!1);xr(()=>{F(c,!0)});const l=g(()=>vk(e.url)),u=g(()=>o(c)&&o(l)!==null&&!yk(o(l),window.location.origin));let d=te(void 0),p=te(void 0);const _=y=>y.type==="fit"&&typeof y.default=="number"?y.default:t,h=g(()=>{const{width:y,height:w}=e.size,P=y.type==="fit",S=w.type==="fit",T=w.type==="fill",I=T&&(s==null?void 0:s())==="vertical",A=P?a(o(d)??_(y)):null,C=S?a(o(p)??_(w)):null;return or({width:A!=null?Cr(A):kr(y),...T?Mp(s==null?void 0:s()):{height:C!=null?Cr(C):kr(w)},...A!=null?{"max-width":"100%"}:{},...C!=null?{"max-height":"100%"}:{},...I?{}:{"flex-shrink":y.type==="fixed"||P||S?0:1},"line-height":0})}),f=g(()=>e.visible!==!1);let b=te(void 0),v;ir(()=>{const y=o(l);y!==v&&(F(d,void 0),F(p,void 0),v=y);const w=o(b),P=e.id,S=e.protocol_version,T=e.size.width.type==="fit",I=e.size.height.type==="fit";if(!w||!y)return;let A=!1,C;return Tk(S).then(L=>{if(!A)try{C=L({iframe:w,allowedOrigin:new URL(y).origin,componentId:P,protocolVersion:S}),(T||I)&&C.onReady(()=>C==null?void 0:C.send(kk,{width:T,height:I})),C.on(bk,q=>{const{width:j,height:Y}=q??{};T&&i(j)&&F(d,j,!0),I&&i(Y)&&F(p,Y,!0)})}catch(q){console.warn("web_view: failed to wire host bridge",q)}}).catch(()=>{}),()=>{A=!0,C==null||C.destroy()}});var m=Te(),k=ce(m);{var x=y=>{var w=Dk(),P=D(w);pa(P,S=>F(b,S),()=>o(b)),V(()=>{Oe(w,o(h)),ke(P,"title",e.name??"Web view"),ke(P,"src",o(l))}),E(y,w)};H(k,y=>{o(f)&&o(l)&&o(u)&&y(x)})}E(r,m),me()}function Mk(r){const e=r.steps[r.initial_step_id];if(!e)return console.warn(`[workflowDataToNavData] initial_step_id "${r.initial_step_id}" not found in steps`),null;const t=e.screen_id;return t?r.screens[t]?{workflowId:r.id,initial_page_id:t,initial_step_id:r.initial_step_id,pages:r.screens,steps:r.steps}:(console.warn(`[workflowDataToNavData] screen_id "${t}" not found in screens`),null):(console.warn(`[workflowDataToNavData] initial step "${r.initial_step_id}" has no screen_id (logic/experiment step?)`),null)}var zk=R("<span><!></span>");const qk={hash:"svelte-1pt0ai6",code:`
80
80
  /* svelte-ignore css-unused-selector */.rcb-typography-heading-2xl.svelte-1pt0ai6 {font:var(--rc-text-heading2xl-mobile);}
81
81
 
82
82
  /* svelte-ignore css-unused-selector */.rcb-typography-heading-xl.svelte-1pt0ai6 {font:var(--rc-text-headingXl-mobile);}
@@ -117,7 +117,7 @@ Minimum version required to store current data is: `+C+`.
117
117
  /* svelte-ignore css-unused-selector */.rcb-typography-caption-default.svelte-1pt0ai6 {font:var(--rc-text-captionDefault-desktop);}
118
118
 
119
119
  /* svelte-ignore css-unused-selector */.rcb-typography-caption-link.svelte-1pt0ai6 {font:var(--rc-text-captionLink-desktop);}
120
- }`};function Tk(r,e){we(r,Ck);const t=J(e,"size",3,"body-base");var n=Ik(),a=D(n);Pr(a,()=>e.children??rr),Y(()=>ur(n,1,`rcb-typography rcb-typography-${t()??""}`,"svelte-1pt0ai6")),P(r,n)}const Dk={outerPadding:{mobile:"clamp(1.3125rem, 5.6vw, 1.5rem)",desktop:"clamp(1.5rem, 9.44vw, 5rem)"},outerPaddingSmall:{mobile:"clamp(0.75rem, 4.2vw, 1rem)",desktop:"clamp(1.5rem, 9.44vw, 5rem)"},gapSmall:{mobile:"0.25rem",desktop:"0.375rem"},gapMedium:{mobile:"0.5rem",desktop:"0.75rem"},gapLarge:{mobile:"0.75rem",desktop:"0.75rem"},gapXLarge:{mobile:"1rem",desktop:"1.5rem"},gapXXLarge:{mobile:"1.25rem",desktop:"2.25rem"},gapXXXLarge:{mobile:"2.25rem",desktop:"4.5rem"},inputHeight:{mobile:"3rem",desktop:"3rem"},gapStripeElement:{mobile:"0.70rem",desktop:"1rem"}},Kp="-apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Cantarell, Ubuntu, roboto, noto, arial, sans-serif",Xt={regular:"400",medium:"500",semibold:"600"},Et={12:"12px",14:"14px",16:"16px",18:"18px",24:"24px",28:"28px",32:"32px",36:"36px"},Zt={120:"120%",130:"130%",140:"140%"},Jt={tight:"0.20%",regular:"0"},Ar={heading2xl:{fontSize:Et[28],lineHeight:Zt[120],fontWeight:Xt.semibold,letterSpacing:Jt.tight},headingXl:{fontSize:Et[24],lineHeight:Zt[130],fontWeight:Xt.semibold,letterSpacing:Jt.regular},headingLg:{fontSize:"20px",lineHeight:Zt[130],fontWeight:Xt.semibold,letterSpacing:Jt.regular},headingMd:{fontSize:"16px",lineHeight:Zt[140],fontWeight:Xt.medium,letterSpacing:Jt.regular},bodyBase:{fontSize:Et[16],lineHeight:Zt[140],fontWeight:Xt.regular,letterSpacing:Jt.regular},bodySmall:{fontSize:Et[14],lineHeight:Zt[140],fontWeight:Xt.regular,letterSpacing:Jt.regular},labelButton:{fontSize:Et[16],lineHeight:Zt[140],fontWeight:Xt.regular,letterSpacing:Jt.tight},labelDefault:{fontSize:Et[14],lineHeight:Zt[140],fontWeight:Xt.regular,letterSpacing:Jt.tight},captionDefault:{fontSize:Et[12],lineHeight:Zt[140],fontWeight:Xt.regular,letterSpacing:Jt.regular},captionLink:{fontSize:Et[12],lineHeight:Zt[140],fontWeight:Xt.regular,letterSpacing:Jt.regular}},Qt={heading2xl:{...Ar.heading2xl,fontSize:Et[36]},headingXl:{...Ar.headingXl,fontSize:Et[32]},headingLg:{...Ar.headingLg,fontSize:Et[24]},headingMd:{...Ar.headingMd,fontSize:Et[18]},bodyBase:{...Ar.bodyBase},bodySmall:{...Ar.bodySmall},labelButton:{...Ar.labelButton},labelDefault:{...Ar.labelDefault},captionDefault:{...Ar.captionDefault},captionLink:{...Ar.captionLink}},Ak={heading2xl:{mobile:Ar.heading2xl,desktop:Qt.heading2xl},headingXl:{desktop:Qt.headingXl,mobile:Ar.headingXl},headingLg:{desktop:Qt.headingLg,mobile:Ar.headingLg},headingMd:{desktop:Qt.headingMd,mobile:Ar.headingMd},bodyBase:{desktop:Qt.bodyBase,mobile:Ar.bodyBase},bodySmall:{desktop:Qt.bodySmall,mobile:Ar.bodySmall},labelButton:{desktop:Qt.labelButton,mobile:Ar.labelButton},labelDefault:{desktop:Qt.labelDefault,mobile:Ar.labelDefault},captionDefault:{desktop:Qt.captionDefault,mobile:Ar.captionDefault},captionLink:{desktop:Qt.captionLink,mobile:Ar.captionLink}},Fk={error:"#B0171F",warning:"#f4e971",focus:"#1148B8",accent:"#767676",primary:"#576CDB","primary-hover":"rgba(87, 108, 219, .8)","primary-pressed":"rgba(87, 108, 219, .9)","primary-text":"#ffffff",white:"#ffffff","grey-text-dark":"rgba(0,0,0,1)","grey-text-light":"rgba(0,0,0,0.7)","grey-ui-dark":"rgba(0,0,0,0.3)","grey-ui-light":"rgba(0,0,0,0.1)","input-background":"white",background:"white"},zk={error:"#B0171F",warning:"#f4e971",focus:"#1148B8",accent:"#767676",primary:"#576CDB","primary-hover":"rgba(87, 108, 219, .8)","primary-pressed":"rgba(87, 108, 219, .9)","primary-text":"#ffffff",white:"#ffffff","grey-text-dark":"rgba(0,0,0,1)","grey-text-light":"rgba(0,0,0,0.7)","grey-ui-dark":"rgba(0,0,0,0.3)","grey-ui-light":"rgba(0,0,0,0.1)","input-background":"white",background:"#EFF3FA"},Xp={error:"color_error",focus:"color_accent",accent:"color_accent",primary:"color_buttons_primary"},Mk={...Xp,"input-background":"color_form_bg",background:"color_form_bg"},qk={...Xp,"input-background":"color_product_info_bg",background:"color_product_info_bg"},Zp={"input-border-radius":"4px","input-button-border-radius":"8px"},Ok={"input-border-radius":"0px","input-button-border-radius":"0px"},Lk={"input-border-radius":"12px","input-button-border-radius":"9999px"},Jp=Zp,Bo=r=>r.length==7?{r:parseInt(r.slice(1,3),16),g:parseInt(r.slice(3,5),16),b:parseInt(r.slice(5,7),16)}:r.length==4?{r:parseInt(r[1],16),g:parseInt(r[2],16),b:parseInt(r[3],16)}:null,$l=({r,g:e,b:t,luminanceThreshold:n})=>{const a=s=>(s=s/255,s<=.03928?s/12.92:Math.pow((s+.055)/1.055,2.4));return .2126*a(r)+.7152*a(e)+.0722*a(t)>n},ec=.37,Nk=(r,e=ec)=>{const t=$l({...r,luminanceThreshold:e})?"0,0,0":"255,255,255";return{"grey-text-dark":`rgb(${t})`,"grey-text-light":`rgba(${t},0.70)`,"grey-ui-dark":`rgba(${t},0.3)`,"grey-ui-light":`rgba(${t},0.1)`}};function jk(r,e,t){const n=Bo(r)||{r:0,g:0,b:0},a=Bo(e)||{r:255,g:255,b:255},i=Math.round(a.r*t+n.r*(1-t)),s=Math.round(a.g*t+n.g*(1-t)),c=Math.round(a.b*t+n.b*(1-t));return`#${rc(i)}${rc(s)}${rc(c)}`}function Qp(r,e){const t={r:255,g:255,b:255},n=Math.max(0,Math.min(1,e));let a=r,i=Bo(r)||t;(isNaN(i.r)||isNaN(i.g)||isNaN(i.b))&&(i=t,a="#FFFFFF");const c=$l({...i,luminanceThreshold:ec})?"#000000":"#FFFFFF";return jk(a,c,n)}function rc(r){return r.toString(16).padStart(2,"0").toUpperCase()}const Bk=(r,e,t,n,a=ec)=>{const i={"grey-text-dark":n["grey-text-dark"],"grey-text-light":n["grey-text-light"],"grey-ui-dark":n["grey-ui-dark"],"grey-ui-light":n["grey-ui-light"],"primary-text":n["primary-text"]};if(r!=null&&r.startsWith("#")){const s=Bo(r);s!==null&&Object.assign(i,Nk(s))}if(t)i["primary-text"]=t;else if(e!=null&&e.startsWith("#")){const s=Bo(e);s!==null&&(i["primary-text"]=$l({...s,luminanceThreshold:a})?"black":"white")}return i},Rk=r=>({"primary-hover":Qp(r,.1),"primary-pressed":Qp(r,.15)}),Uk=(r,e)=>r||e,Vk=(r,e,t)=>{const n=Object.entries(r).map(([a,i])=>[a,Uk(t?t[i]:null,e[a])]);return Object.fromEntries(n)},$p=(r,e,t)=>{const n=Vk(r,e,t);return t?{...e,...n,...Bk(n.background,n.primary,t.color_buttons_primary_text,e),...Rk(n.primary)}:{...e}},Hk=r=>$p(qk,zk,r),e_=r=>$p(Mk,Fk,r),tc=r=>{if(!r)return Jp;switch(r.shapes){case"rounded":return Zp;case"rectangle":return Ok;case"pill":return Lk;default:return Jp}},Xi=(r="",e)=>e.map(([t,n])=>`--rc-${r}-${t}: ${n}`).join("; "),Wk=r=>{const e=Xi("color",Object.entries(Hk(r))),t=Xi("shape",Object.entries(tc(r)));return[e,t].join("; ")},Yk=r=>{const e=Xi("color",Object.entries(e_(r))),t=Xi("shape",Object.entries(tc(r)));return[e,t].join("; ")},Gk=(r="",e)=>Object.entries(e).flatMap(([t,{desktop:n,mobile:a}])=>[`--rc-${r}-${t}-desktop: normal normal ${n.fontWeight} ${n.fontSize}/${n.lineHeight} ${Kp}`,`--rc-${r}-${t}-mobile: normal normal ${a.fontWeight} ${a.fontSize}/${a.lineHeight} ${Kp}`,`--rc-${r}-${t}-desktop-font-size: ${n.fontSize}`,`--rc-${r}-${t}-mobile-font-size: ${a.fontSize}`]).join("; "),Kk=(r="",e)=>Object.entries(e).map(([t,{mobile:n,desktop:a}])=>`--rc-${r}-${t}-mobile: ${n}; --rc-${r}-${t}-desktop: ${a};`).join(" ");let Xk=class{constructor(e){ee(this,"brandingAppearance");e?this.brandingAppearance=e:this.brandingAppearance=void 0}get shape(){return tc(this.brandingAppearance)}get formColors(){return e_(this.brandingAppearance)}get formStyleVars(){return Yk(this.brandingAppearance)}get productInfoStyleVars(){return Wk(this.brandingAppearance)}get spacing(){return Dk}get textStyles(){return Ak}get textStyleVars(){return Gk("text",this.textStyles)}get spacingStyleVars(){return Kk("spacing",this.spacing)}};var Zk=R('<div class="rcb-processing svelte-19bflum"></div>');const Jk={hash:"svelte-19bflum",code:`.rcb-processing.svelte-19bflum {width:var(--width, 12px);aspect-ratio:1;border-radius:50%;
120
+ }`};function Ok(r,e){we(r,qk);const t=X(e,"size",3,"body-base");var n=zk(),a=D(n);Pr(a,()=>e.children??tr),V(()=>ur(n,1,`rcb-typography rcb-typography-${t()??""}`,"svelte-1pt0ai6")),E(r,n)}const Lk={outerPadding:{mobile:"clamp(1.3125rem, 5.6vw, 1.5rem)",desktop:"clamp(1.5rem, 9.44vw, 5rem)"},outerPaddingSmall:{mobile:"clamp(0.75rem, 4.2vw, 1rem)",desktop:"clamp(1.5rem, 9.44vw, 5rem)"},gapSmall:{mobile:"0.25rem",desktop:"0.375rem"},gapMedium:{mobile:"0.5rem",desktop:"0.75rem"},gapLarge:{mobile:"0.75rem",desktop:"0.75rem"},gapXLarge:{mobile:"1rem",desktop:"1.5rem"},gapXXLarge:{mobile:"1.25rem",desktop:"2.25rem"},gapXXXLarge:{mobile:"2.25rem",desktop:"4.5rem"},inputHeight:{mobile:"3rem",desktop:"3rem"},gapStripeElement:{mobile:"0.70rem",desktop:"1rem"}},Jp="-apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Cantarell, Ubuntu, roboto, noto, arial, sans-serif",$t={regular:"400",medium:"500",semibold:"600"},Ct={12:"12px",14:"14px",16:"16px",18:"18px",24:"24px",28:"28px",32:"32px",36:"36px"},en={120:"120%",130:"130%",140:"140%"},rn={tight:"0.20%",regular:"0"},Ar={heading2xl:{fontSize:Ct[28],lineHeight:en[120],fontWeight:$t.semibold,letterSpacing:rn.tight},headingXl:{fontSize:Ct[24],lineHeight:en[130],fontWeight:$t.semibold,letterSpacing:rn.regular},headingLg:{fontSize:"20px",lineHeight:en[130],fontWeight:$t.semibold,letterSpacing:rn.regular},headingMd:{fontSize:"16px",lineHeight:en[140],fontWeight:$t.medium,letterSpacing:rn.regular},bodyBase:{fontSize:Ct[16],lineHeight:en[140],fontWeight:$t.regular,letterSpacing:rn.regular},bodySmall:{fontSize:Ct[14],lineHeight:en[140],fontWeight:$t.regular,letterSpacing:rn.regular},labelButton:{fontSize:Ct[16],lineHeight:en[140],fontWeight:$t.regular,letterSpacing:rn.tight},labelDefault:{fontSize:Ct[14],lineHeight:en[140],fontWeight:$t.regular,letterSpacing:rn.tight},captionDefault:{fontSize:Ct[12],lineHeight:en[140],fontWeight:$t.regular,letterSpacing:rn.regular},captionLink:{fontSize:Ct[12],lineHeight:en[140],fontWeight:$t.regular,letterSpacing:rn.regular}},tn={heading2xl:{...Ar.heading2xl,fontSize:Ct[36]},headingXl:{...Ar.headingXl,fontSize:Ct[32]},headingLg:{...Ar.headingLg,fontSize:Ct[24]},headingMd:{...Ar.headingMd,fontSize:Ct[18]},bodyBase:{...Ar.bodyBase},bodySmall:{...Ar.bodySmall},labelButton:{...Ar.labelButton},labelDefault:{...Ar.labelDefault},captionDefault:{...Ar.captionDefault},captionLink:{...Ar.captionLink}},Nk={heading2xl:{mobile:Ar.heading2xl,desktop:tn.heading2xl},headingXl:{desktop:tn.headingXl,mobile:Ar.headingXl},headingLg:{desktop:tn.headingLg,mobile:Ar.headingLg},headingMd:{desktop:tn.headingMd,mobile:Ar.headingMd},bodyBase:{desktop:tn.bodyBase,mobile:Ar.bodyBase},bodySmall:{desktop:tn.bodySmall,mobile:Ar.bodySmall},labelButton:{desktop:tn.labelButton,mobile:Ar.labelButton},labelDefault:{desktop:tn.labelDefault,mobile:Ar.labelDefault},captionDefault:{desktop:tn.captionDefault,mobile:Ar.captionDefault},captionLink:{desktop:tn.captionLink,mobile:Ar.captionLink}},jk={error:"#B0171F",warning:"#f4e971",focus:"#1148B8",accent:"#767676",primary:"#576CDB","primary-hover":"rgba(87, 108, 219, .8)","primary-pressed":"rgba(87, 108, 219, .9)","primary-text":"#ffffff",white:"#ffffff","grey-text-dark":"rgba(0,0,0,1)","grey-text-light":"rgba(0,0,0,0.7)","grey-ui-dark":"rgba(0,0,0,0.3)","grey-ui-light":"rgba(0,0,0,0.1)","input-background":"white",background:"white"},Bk={error:"#B0171F",warning:"#f4e971",focus:"#1148B8",accent:"#767676",primary:"#576CDB","primary-hover":"rgba(87, 108, 219, .8)","primary-pressed":"rgba(87, 108, 219, .9)","primary-text":"#ffffff",white:"#ffffff","grey-text-dark":"rgba(0,0,0,1)","grey-text-light":"rgba(0,0,0,0.7)","grey-ui-dark":"rgba(0,0,0,0.3)","grey-ui-light":"rgba(0,0,0,0.1)","input-background":"white",background:"#EFF3FA"},Qp={error:"color_error",focus:"color_accent",accent:"color_accent",primary:"color_buttons_primary"},Rk={...Qp,"input-background":"color_form_bg",background:"color_form_bg"},Uk={...Qp,"input-background":"color_product_info_bg",background:"color_product_info_bg"},$p={"input-border-radius":"4px","input-button-border-radius":"8px"},Vk={"input-border-radius":"0px","input-button-border-radius":"0px"},Hk={"input-border-radius":"12px","input-button-border-radius":"9999px"},e_=$p,Uo=r=>r.length==7?{r:parseInt(r.slice(1,3),16),g:parseInt(r.slice(3,5),16),b:parseInt(r.slice(5,7),16)}:r.length==4?{r:parseInt(r[1],16),g:parseInt(r[2],16),b:parseInt(r[3],16)}:null,$l=({r,g:e,b:t,luminanceThreshold:n})=>{const a=s=>(s=s/255,s<=.03928?s/12.92:Math.pow((s+.055)/1.055,2.4));return .2126*a(r)+.7152*a(e)+.0722*a(t)>n},ec=.37,Wk=(r,e=ec)=>{const t=$l({...r,luminanceThreshold:e})?"0,0,0":"255,255,255";return{"grey-text-dark":`rgb(${t})`,"grey-text-light":`rgba(${t},0.70)`,"grey-ui-dark":`rgba(${t},0.3)`,"grey-ui-light":`rgba(${t},0.1)`}};function Yk(r,e,t){const n=Uo(r)||{r:0,g:0,b:0},a=Uo(e)||{r:255,g:255,b:255},i=Math.round(a.r*t+n.r*(1-t)),s=Math.round(a.g*t+n.g*(1-t)),c=Math.round(a.b*t+n.b*(1-t));return`#${rc(i)}${rc(s)}${rc(c)}`}function r_(r,e){const t={r:255,g:255,b:255},n=Math.max(0,Math.min(1,e));let a=r,i=Uo(r)||t;(isNaN(i.r)||isNaN(i.g)||isNaN(i.b))&&(i=t,a="#FFFFFF");const c=$l({...i,luminanceThreshold:ec})?"#000000":"#FFFFFF";return Yk(a,c,n)}function rc(r){return r.toString(16).padStart(2,"0").toUpperCase()}const Gk=(r,e,t,n,a=ec)=>{const i={"grey-text-dark":n["grey-text-dark"],"grey-text-light":n["grey-text-light"],"grey-ui-dark":n["grey-ui-dark"],"grey-ui-light":n["grey-ui-light"],"primary-text":n["primary-text"]};if(r!=null&&r.startsWith("#")){const s=Uo(r);s!==null&&Object.assign(i,Wk(s))}if(t)i["primary-text"]=t;else if(e!=null&&e.startsWith("#")){const s=Uo(e);s!==null&&(i["primary-text"]=$l({...s,luminanceThreshold:a})?"black":"white")}return i},Kk=r=>({"primary-hover":r_(r,.1),"primary-pressed":r_(r,.15)}),Xk=(r,e)=>r||e,Zk=(r,e,t)=>{const n=Object.entries(r).map(([a,i])=>[a,Xk(t?t[i]:null,e[a])]);return Object.fromEntries(n)},t_=(r,e,t)=>{const n=Zk(r,e,t);return t?{...e,...n,...Gk(n.background,n.primary,t.color_buttons_primary_text,e),...Kk(n.primary)}:{...e}},Jk=r=>t_(Uk,Bk,r),n_=r=>t_(Rk,jk,r),tc=r=>{if(!r)return e_;switch(r.shapes){case"rounded":return $p;case"rectangle":return Vk;case"pill":return Hk;default:return e_}},Ji=(r="",e)=>e.map(([t,n])=>`--rc-${r}-${t}: ${n}`).join("; "),Qk=r=>{const e=Ji("color",Object.entries(Jk(r))),t=Ji("shape",Object.entries(tc(r)));return[e,t].join("; ")},$k=r=>{const e=Ji("color",Object.entries(n_(r))),t=Ji("shape",Object.entries(tc(r)));return[e,t].join("; ")},ew=(r="",e)=>Object.entries(e).flatMap(([t,{desktop:n,mobile:a}])=>[`--rc-${r}-${t}-desktop: normal normal ${n.fontWeight} ${n.fontSize}/${n.lineHeight} ${Jp}`,`--rc-${r}-${t}-mobile: normal normal ${a.fontWeight} ${a.fontSize}/${a.lineHeight} ${Jp}`,`--rc-${r}-${t}-desktop-font-size: ${n.fontSize}`,`--rc-${r}-${t}-mobile-font-size: ${a.fontSize}`]).join("; "),rw=(r="",e)=>Object.entries(e).map(([t,{mobile:n,desktop:a}])=>`--rc-${r}-${t}-mobile: ${n}; --rc-${r}-${t}-desktop: ${a};`).join(" ");let tw=class{constructor(e){re(this,"brandingAppearance");e?this.brandingAppearance=e:this.brandingAppearance=void 0}get shape(){return tc(this.brandingAppearance)}get formColors(){return n_(this.brandingAppearance)}get formStyleVars(){return $k(this.brandingAppearance)}get productInfoStyleVars(){return Qk(this.brandingAppearance)}get spacing(){return Lk}get textStyles(){return Nk}get textStyleVars(){return ew("text",this.textStyles)}get spacingStyleVars(){return rw("spacing",this.spacing)}};var nw=R('<div class="rcb-processing svelte-19bflum"></div>');const aw={hash:"svelte-19bflum",code:`.rcb-processing.svelte-19bflum {width:var(--width, 12px);aspect-ratio:1;border-radius:50%;
121
121
  animation: svelte-19bflum-l5 1.5s infinite linear;}
122
122
 
123
123
  @keyframes svelte-19bflum-l5 {
@@ -151,16 +151,16 @@ Minimum version required to store current data is: `+C+`.
151
151
  calc(-1 * var(--shadow-offset)) 0 #fff2;
152
152
  background: #fff2;
153
153
  }
154
- }`};function Qk(r,e){we(r,Jk);let t=J(e,"size",8,"medium");const n={small:{width:"8px",offset:"10px"},medium:{width:"12px",offset:"20px"},large:{width:"16px",offset:"30px"}};var a=Zk();Y(()=>Le(a,`--shadow-offset: ${We(t()),Ve(()=>n[t()].offset)??""}; --width: ${We(t()),Ve(()=>n[t()].width)??""};`)),P(r,a)}var $k=R("<button><!></button>");const ew={hash:"svelte-a82hce",code:`button.svelte-a82hce {border:none;border-radius:var(--rc-shape-input-button-border-radius);cursor:pointer;height:var(--rc-spacing-inputHeight-mobile);color:var(--rc-color-grey-text-dark);background-color:var(--rc-color-grey-ui-dark);display:flex;align-items:center;justify-content:center;-webkit-tap-highlight-color:rgba(0, 0, 0, 0);-webkit-tap-highlight-color:transparent;transition:background-color 0.15s ease-in-out;user-select:none;}
154
+ }`};function ow(r,e){we(r,aw);let t=X(e,"size",8,"medium");const n={small:{width:"8px",offset:"10px"},medium:{width:"12px",offset:"20px"},large:{width:"16px",offset:"30px"}};var a=nw();V(()=>Oe(a,`--shadow-offset: ${We(t()),Ue(()=>n[t()].offset)??""}; --width: ${We(t()),Ue(()=>n[t()].width)??""};`)),E(r,a)}var iw=R("<button><!></button>");const sw={hash:"svelte-a82hce",code:`button.svelte-a82hce {border:none;border-radius:var(--rc-shape-input-button-border-radius);cursor:pointer;height:var(--rc-spacing-inputHeight-mobile);color:var(--rc-color-grey-text-dark);background-color:var(--rc-color-grey-ui-dark);display:flex;align-items:center;justify-content:center;-webkit-tap-highlight-color:rgba(0, 0, 0, 0);-webkit-tap-highlight-color:transparent;transition:background-color 0.15s ease-in-out;user-select:none;}
155
155
 
156
156
  @container layout-query-container (width >= 768px) {button.svelte-a82hce {height:var(--rc-spacing-inputHeight-desktop);}
157
157
  }
158
158
 
159
159
  /* focus-visible is triggered only when focused with keyboard/reader */button.svelte-a82hce:focus-visible {outline:2px solid var(--rc-color-focus);}button.intent-primary.svelte-a82hce {background-color:var(--rc-color-primary);color:var(--rc-color-primary-text);}button.svelte-a82hce:disabled {color:var(--rc-color-grey-text-light);background-color:var(--rc-color-grey-ui-light);outline:none;}button.intent-primary.svelte-a82hce:not(:disabled):hover {background-color:var(--rc-color-primary-hover);}button.intent-primary.svelte-a82hce:not(:disabled):active,
160
- button.svelte-a82hce:active {background-color:var(--rc-color-primary-pressed);outline:none;}button.intent-primary.svelte-a82hce:disabled {color:var(--rc-color-grey-text-light);background-color:var(--rc-color-grey-ui-light);}`};function nc(r,e){he(e,!0),we(r,ew);const t=J(e,"intent",3,"primary"),n=J(e,"disabled",3,!1),a=J(e,"loading",3,!1),i=m(()=>new Xk(e.brandingAppearance)),s=m(()=>o(i).textStyleVars),c=m(()=>o(i).spacingStyleVars),l=m(()=>o(i).productInfoStyleVars),u=m(()=>o(i).formStyleVars),d=m(()=>[e.styleOverrides,o(s),o(c),o(l),o(u)].join("; "));var _=$k();_.__click=function(...b){var y;(y=e.onclick)==null||y.apply(this,b)};var p=D(_);{var f=b=>{Qk(b,{size:"small"})},g=b=>{Tk(b,{size:"body-base",children:(y,h)=>{var k=Se(),x=se(k);Pr(x,()=>e.children??rr),P(y,k)},$$slots:{default:!0}})};W(p,b=>{a()?b(f):b(g,!1)})}Y(()=>{ur(_,1,`intent-${t()}`,"svelte-a82hce"),_.disabled=n(),ke(_,"data-testid",e.testId),ke(_,"type",e.type),Le(_,o(d))}),P(r,_),ve()}Yt(["click"]);var rw=R('<footer class="rcb-modal-footer svelte-gz2zuy"><!></footer>');const tw={hash:"svelte-gz2zuy",code:"footer.svelte-gz2zuy {display:flex;flex-direction:column;}"};function nw(r,e){we(r,tw);let t=J(e,"children",8);var n=rw(),a=D(n);Pr(a,()=>t()??rr),P(r,n)}const aw={hash:"svelte-1lkpm18",code:".rcb-modal-section.svelte-1lkpm18 {padding:8px 0px;display:flex;}section.rcb-modal-section.svelte-1lkpm18 {flex-grow:1;}.rcb-modal-section.svelte-1lkpm18:last-of-type {padding:0;}"};function ow(r,e){we(r,aw);let t=J(e,"as",8,"section"),n=J(e,"children",8);var a=Se(),i=se(a);Zs(i,t,!1,(s,c)=>{el(s,()=>({class:"rcb-modal-section"}),void 0,void 0,void 0,"svelte-1lkpm18");var l=Se(),u=se(l);Pr(u,()=>n()??rr),P(c,l)}),P(r,a)}var iw=R("<div><!></div>");const sw={hash:"svelte-7lmlfa",code:`.rcb-column.svelte-7lmlfa {display:flex;flex-direction:column;justify-content:flex-start;flex-grow:1;min-width:100%;}.rcb-column.justify-center.svelte-7lmlfa {justify-content:center;}.rcb-column.justify-end.svelte-7lmlfa {justify-content:flex-end;}.rcb-column.align-center.svelte-7lmlfa {align-items:center;}.rcb-column.align-end.svelte-7lmlfa {align-items:flex-end;}.rcb-column.gap-small.svelte-7lmlfa {gap:var(--rc-spacing-gapSmall-mobile);}.rcb-column.gap-medium.svelte-7lmlfa {gap:var(--rc-spacing-gapXLarge-mobile);}.rcb-column.gap-large.svelte-7lmlfa {gap:var(--rc-spacing-gapXXLarge-mobile);}
160
+ button.svelte-a82hce:active {background-color:var(--rc-color-primary-pressed);outline:none;}button.intent-primary.svelte-a82hce:disabled {color:var(--rc-color-grey-text-light);background-color:var(--rc-color-grey-ui-light);}`};function nc(r,e){fe(e,!0),we(r,sw);const t=X(e,"intent",3,"primary"),n=X(e,"disabled",3,!1),a=X(e,"loading",3,!1),i=g(()=>new tw(e.brandingAppearance)),s=g(()=>o(i).textStyleVars),c=g(()=>o(i).spacingStyleVars),l=g(()=>o(i).productInfoStyleVars),u=g(()=>o(i).formStyleVars),d=g(()=>[e.styleOverrides,o(s),o(c),o(l),o(u)].join("; "));var p=iw();p.__click=function(...b){var v;(v=e.onclick)==null||v.apply(this,b)};var _=D(p);{var h=b=>{ow(b,{size:"small"})},f=b=>{Ok(b,{size:"body-base",children:(v,m)=>{var k=Te(),x=ce(k);Pr(x,()=>e.children??tr),E(v,k)},$$slots:{default:!0}})};H(_,b=>{a()?b(h):b(f,!1)})}V(()=>{ur(p,1,`intent-${t()}`,"svelte-a82hce"),p.disabled=n(),ke(p,"data-testid",e.testId),ke(p,"type",e.type),Oe(p,o(d))}),E(r,p),me()}Zt(["click"]);var lw=R('<footer class="rcb-modal-footer svelte-gz2zuy"><!></footer>');const cw={hash:"svelte-gz2zuy",code:"footer.svelte-gz2zuy {display:flex;flex-direction:column;}"};function uw(r,e){we(r,cw);let t=X(e,"children",8);var n=lw(),a=D(n);Pr(a,()=>t()??tr),E(r,n)}const dw={hash:"svelte-1lkpm18",code:".rcb-modal-section.svelte-1lkpm18 {padding:8px 0px;display:flex;}section.rcb-modal-section.svelte-1lkpm18 {flex-grow:1;}.rcb-modal-section.svelte-1lkpm18:last-of-type {padding:0;}"};function pw(r,e){we(r,dw);let t=X(e,"as",8,"section"),n=X(e,"children",8);var a=Te(),i=ce(a);Zs(i,t,!1,(s,c)=>{el(s,()=>({class:"rcb-modal-section"}),void 0,void 0,void 0,"svelte-1lkpm18");var l=Te(),u=ce(l);Pr(u,()=>n()??tr),E(c,l)}),E(r,a)}var _w=R("<div><!></div>");const gw={hash:"svelte-7lmlfa",code:`.rcb-column.svelte-7lmlfa {display:flex;flex-direction:column;justify-content:flex-start;flex-grow:1;min-width:100%;}.rcb-column.justify-center.svelte-7lmlfa {justify-content:center;}.rcb-column.justify-end.svelte-7lmlfa {justify-content:flex-end;}.rcb-column.align-center.svelte-7lmlfa {align-items:center;}.rcb-column.align-end.svelte-7lmlfa {align-items:flex-end;}.rcb-column.gap-small.svelte-7lmlfa {gap:var(--rc-spacing-gapSmall-mobile);}.rcb-column.gap-medium.svelte-7lmlfa {gap:var(--rc-spacing-gapXLarge-mobile);}.rcb-column.gap-large.svelte-7lmlfa {gap:var(--rc-spacing-gapXXLarge-mobile);}
161
161
 
162
162
  @container layout-query-container (width >= 768px) {.rcb-column.gap-small.svelte-7lmlfa {gap:var(--rc-spacing-gapSmall-desktop);}.rcb-column.gap-medium.svelte-7lmlfa {gap:var(--rc-spacing-gapLarge-desktop);}.rcb-column.gap-large.svelte-7lmlfa {gap:var(--rc-spacing-gapXXLarge-desktop);}
163
- }`};function Ro(r,e){we(r,sw);let t=J(e,"gap",8,"small"),n=J(e,"justify",8,"start"),a=J(e,"align",8,"start"),i=J(e,"children",8);var s=iw(),c=D(s);Pr(c,()=>i()??rr),Y(()=>ur(s,1,`rcb-column gap-${t()??""} justify-${n()??""} align-${a()??""}`,"svelte-7lmlfa")),P(r,s)}var lw=R('<div class="rcb-row svelte-130pyos"><!></div>');const cw={hash:"svelte-130pyos",code:".rcb-row.svelte-130pyos {display:flex;flex-direction:row;justify-content:flex-start;}"};function uw(r,e){we(r,cw);let t=J(e,"children",8);var n=lw(),a=D(n);Pr(a,()=>t()??rr),P(r,n)}var dw=R("<span><!></span>");const pw={hash:"svelte-y2q9vo",code:`.rcb-typography.svelte-y2q9vo {display:inline-block;line-height:normal;}
163
+ }`};function Vo(r,e){we(r,gw);let t=X(e,"gap",8,"small"),n=X(e,"justify",8,"start"),a=X(e,"align",8,"start"),i=X(e,"children",8);var s=_w(),c=D(s);Pr(c,()=>i()??tr),V(()=>ur(s,1,`rcb-column gap-${t()??""} justify-${n()??""} align-${a()??""}`,"svelte-7lmlfa")),E(r,s)}var fw=R('<div class="rcb-row svelte-130pyos"><!></div>');const mw={hash:"svelte-130pyos",code:".rcb-row.svelte-130pyos {display:flex;flex-direction:row;justify-content:flex-start;}"};function hw(r,e){we(r,mw);let t=X(e,"children",8);var n=fw(),a=D(n);Pr(a,()=>t()??tr),E(r,n)}var vw=R("<span><!></span>");const yw={hash:"svelte-y2q9vo",code:`.rcb-typography.svelte-y2q9vo {display:inline-block;line-height:normal;}
164
164
 
165
165
  /* svelte-ignore css-unused-selector */.rcb-typography-heading-2xl.svelte-y2q9vo {font:var(--rc-text-heading2xl-mobile);}.rcb-typography-heading-2xl.rcb-typography-branded.svelte-y2q9vo {font:var(--rc-text-heading2xl-branded-mobile);}
166
166
 
@@ -203,13 +203,13 @@ Minimum version required to store current data is: `+C+`.
203
203
  /* svelte-ignore css-unused-selector */.rcb-typography-caption-default.svelte-y2q9vo {font:var(--rc-text-captionDefault-desktop);}.rcb-typography-caption-default.rcb-typography-branded.svelte-y2q9vo {font:var(--rc-text-captionDefault-branded-desktop);}
204
204
 
205
205
  /* svelte-ignore css-unused-selector */.rcb-typography-caption-link.svelte-y2q9vo {font:var(--rc-text-captionLink-desktop);}.rcb-typography-caption-link.rcb-typography-branded.svelte-y2q9vo {font:var(--rc-text-captionLink-branded-desktop);}
206
- }`};function Ce(r,e){we(r,pw);const t=J(e,"size",3,"body-base"),n=J(e,"branded",3,!1);var a=dw(),i=D(a);Pr(i,()=>e.children??rr),Y(()=>ur(a,1,`rcb-typography rcb-typography-${t()??""} ${n()?"rcb-typography-branded":""}`,"svelte-y2q9vo")),P(r,a)}var _w=R("<div><!></div>"),gw=R('<span style="display: block;"><!></span>'),fw=R("<!> <!>",1),mw=R("<!> <!>",1),hw=R('<div class="rcb-modal-message svelte-1ldqsgm" data-type="error"><!></div>');const vw={hash:"svelte-1ldqsgm",code:`.rcb-modal-message-icon.svelte-1ldqsgm {flex-shrink:0;align-self:center;margin-right:16px;}.rcb-modal-message.svelte-1ldqsgm {width:100%;min-height:160px;display:flex;justify-content:center;align-items:center;flex-direction:column;text-align:left;margin-top:4px;}.rcb-modal-message[data-has-title="false"].svelte-1ldqsgm {margin-top:var(--rc-spacing-gapXXLarge-mobile);}.rcb-modal-message-icon.small.svelte-1ldqsgm {height:var(--rc-text-headingLg-mobile-font-size);width:var(--rc-text-headingLg-mobile-font-size);}.rcb-modal-message-icon.large.svelte-1ldqsgm {height:calc(2 * var(--rc-text-headingMd-mobile-font-size));width:calc(2 * var(--rc-text-headingMd-mobile-font-size));}
206
+ }`};function Fe(r,e){we(r,yw);const t=X(e,"size",3,"body-base"),n=X(e,"branded",3,!1);var a=vw(),i=D(a);Pr(i,()=>e.children??tr),V(()=>ur(a,1,`rcb-typography rcb-typography-${t()??""} ${n()?"rcb-typography-branded":""}`,"svelte-y2q9vo")),E(r,a)}var bw=R("<div><!></div>"),kw=R('<span style="display: block;"><!></span>'),ww=R("<!> <!>",1),Pw=R("<!> <!>",1),xw=R('<div class="rcb-modal-message svelte-1ldqsgm" data-type="error"><!></div>');const Ew={hash:"svelte-1ldqsgm",code:`.rcb-modal-message-icon.svelte-1ldqsgm {flex-shrink:0;align-self:center;margin-right:16px;}.rcb-modal-message.svelte-1ldqsgm {width:100%;min-height:160px;display:flex;justify-content:center;align-items:center;flex-direction:column;text-align:left;margin-top:4px;}.rcb-modal-message[data-has-title="false"].svelte-1ldqsgm {margin-top:var(--rc-spacing-gapXXLarge-mobile);}.rcb-modal-message-icon.small.svelte-1ldqsgm {height:var(--rc-text-headingLg-mobile-font-size);width:var(--rc-text-headingLg-mobile-font-size);}.rcb-modal-message-icon.large.svelte-1ldqsgm {height:calc(2 * var(--rc-text-headingMd-mobile-font-size));width:calc(2 * var(--rc-text-headingMd-mobile-font-size));}
207
207
 
208
208
  @container layout-query-container (width >= 768px) {.rcb-modal-message-icon.small.svelte-1ldqsgm {height:var(--rc-text-headingLg-desktop-font-size);width:var(--rc-text-headingLg-desktop-font-size);}.rcb-modal-message-icon.large.svelte-1ldqsgm {height:calc(2 * var(--rc-text-headingMd-desktop-font-size));width:calc(2 * var(--rc-text-headingMd-desktop-font-size));}.rcb-modal-message[data-has-title="false"].svelte-1ldqsgm {margin-top:var(--rc-spacing-gapXXLarge-desktop);}
209
- }`};function yw(r,e){he(e,!0),we(r,vw);const t=J(e,"title",3,null),n=J(e,"icon",3,null),a=32;let i=te(null),s=te(!1),c;br(()=>(o(i)&&(c=new ResizeObserver(()=>{var d;F(s,(((d=o(i))==null?void 0:d.offsetHeight)??0)>a)}),c.observe(o(i))),()=>{c==null||c.disconnect()}));var l=hw(),u=D(l);Ro(u,{gap:"medium",justify:"start",children:(d,_)=>{var p=mw(),f=se(p);uw(f,{children:(y,h)=>{var k=fw(),x=se(k);{var v=I=>{var T=_w(),S=D(T);Pr(S,n),Y(()=>ur(T,1,`rcb-modal-message-icon ${o(s)?"large":"small"}`,"svelte-1ldqsgm")),P(I,T)};W(x,I=>{n()&&I(v)})}var w=U(x,2);{var E=I=>{var T=gw(),S=D(T);Ce(S,{size:"heading-md",children:(A,C)=>{var N=Te();Y(()=>_e(N,t())),P(A,N)},$$slots:{default:!0}}),pa(T,A=>F(i,A),()=>o(i)),P(I,T)};W(w,I=>{t()&&I(E)})}P(y,k)},$$slots:{default:!0}});var g=U(f,2);{var b=y=>{Ce(y,{size:"body-small",children:(h,k)=>{var x=Se(),v=se(x);Pr(v,()=>e.message??rr),P(h,x)},$$slots:{default:!0}})};W(g,y=>{e.message&&y(b)})}P(d,p)},$$slots:{default:!0}}),Y(()=>ke(l,"data-has-title",!!t())),P(r,l),ve()}var bw=R('<div class="rcb-modal-message-icon svelte-1h8pwwr"><!></div>'),kw=R("<!> <!>",1),ww=R('<div class="rcb-modal-message svelte-1h8pwwr" data-type="success"><!></div>');const Pw={hash:"svelte-1h8pwwr",code:`.rcb-modal-message-icon.svelte-1h8pwwr {height:54px;width:54px;margin:0 auto;}.rcb-modal-message[data-has-title="false"].svelte-1h8pwwr {margin-top:var(--rc-spacing-gapXXLarge-mobile);}.rcb-modal-message.svelte-1h8pwwr {width:100%;min-height:160px;display:flex;justify-content:center;align-items:center;flex-direction:column;text-align:center;}
209
+ }`};function Sw(r,e){fe(e,!0),we(r,Ew);const t=X(e,"title",3,null),n=X(e,"icon",3,null),a=32;let i=te(null),s=te(!1),c;xr(()=>(o(i)&&(c=new ResizeObserver(()=>{var d;F(s,(((d=o(i))==null?void 0:d.offsetHeight)??0)>a)}),c.observe(o(i))),()=>{c==null||c.disconnect()}));var l=xw(),u=D(l);Vo(u,{gap:"medium",justify:"start",children:(d,p)=>{var _=Pw(),h=ce(_);hw(h,{children:(v,m)=>{var k=ww(),x=ce(k);{var y=S=>{var T=bw(),I=D(T);Pr(I,n),V(()=>ur(T,1,`rcb-modal-message-icon ${o(s)?"large":"small"}`,"svelte-1ldqsgm")),E(S,T)};H(x,S=>{n()&&S(y)})}var w=B(x,2);{var P=S=>{var T=kw(),I=D(T);Fe(I,{size:"heading-md",children:(A,C)=>{var L=ze();V(()=>ge(L,t())),E(A,L)},$$slots:{default:!0}}),pa(T,A=>F(i,A),()=>o(i)),E(S,T)};H(w,S=>{t()&&S(P)})}E(v,k)},$$slots:{default:!0}});var f=B(h,2);{var b=v=>{Fe(v,{size:"body-small",children:(m,k)=>{var x=Te(),y=ce(x);Pr(y,()=>e.message??tr),E(m,x)},$$slots:{default:!0}})};H(f,v=>{e.message&&v(b)})}E(d,_)},$$slots:{default:!0}}),V(()=>ke(l,"data-has-title",!!t())),E(r,l),me()}var Iw=R('<div class="rcb-modal-message-icon svelte-1h8pwwr"><!></div>'),Cw=R("<!> <!>",1),Tw=R('<div class="rcb-modal-message svelte-1h8pwwr" data-type="success"><!></div>');const Dw={hash:"svelte-1h8pwwr",code:`.rcb-modal-message-icon.svelte-1h8pwwr {height:54px;width:54px;margin:0 auto;}.rcb-modal-message[data-has-title="false"].svelte-1h8pwwr {margin-top:var(--rc-spacing-gapXXLarge-mobile);}.rcb-modal-message.svelte-1h8pwwr {width:100%;min-height:160px;display:flex;justify-content:center;align-items:center;flex-direction:column;text-align:center;}
210
210
 
211
211
  @container layout-query-container (width >= 768px) {.rcb-modal-message[data-has-title="false"].svelte-1h8pwwr {margin-top:var(--rc-spacing-gapXXLarge-desktop);}
212
- }`};function xw(r,e){we(r,Pw);const t=J(e,"title",3,null),n=J(e,"icon",3,null);var a=ww(),i=D(a);Ro(i,{gap:"large",justify:"center",children:(s,c)=>{var l=kw(),u=se(l);{var d=f=>{var g=bw(),b=D(g);Pr(b,n),P(f,g)};W(u,f=>{n()&&f(d)})}var _=U(u,2);{var p=f=>{Ce(f,{size:"heading-md",children:(g,b)=>{var y=Te();Y(()=>_e(y,t())),P(g,y)},$$slots:{default:!0}})};W(_,f=>{t()&&f(p)})}P(s,l)},$$slots:{default:!0}}),Y(()=>ke(a,"data-has-title",!!t())),P(r,a)}const Uo="rcb-ui-events-tracker",Vn="branding";var Ew=R("<div><div><!></div> <div><!></div></div>");const Sw={hash:"svelte-clabfx",code:`.message-layout.svelte-clabfx {display:flex;flex-direction:column;}.message-layout-content.svelte-clabfx {flex-grow:1;display:flex;flex-direction:column;justify-content:center;}.message-layout-content-full-width.svelte-clabfx {padding-left:var(--rc-spacing-outerPadding-mobile);padding-right:var(--rc-spacing-outerPadding-mobile);}.message-layout-footer-full-width.svelte-clabfx {padding-left:var(--rc-spacing-outerPadding-mobile);padding-right:var(--rc-spacing-outerPadding-mobile);}
212
+ }`};function Aw(r,e){we(r,Dw);const t=X(e,"title",3,null),n=X(e,"icon",3,null);var a=Tw(),i=D(a);Vo(i,{gap:"large",justify:"center",children:(s,c)=>{var l=Cw(),u=ce(l);{var d=h=>{var f=Iw(),b=D(f);Pr(b,n),E(h,f)};H(u,h=>{n()&&h(d)})}var p=B(u,2);{var _=h=>{Fe(h,{size:"heading-md",children:(f,b)=>{var v=ze();V(()=>ge(v,t())),E(f,v)},$$slots:{default:!0}})};H(p,h=>{t()&&h(_)})}E(s,l)},$$slots:{default:!0}}),V(()=>ke(a,"data-has-title",!!t())),E(r,a)}const Ho="rcb-ui-events-tracker",Un="branding";var Fw=R("<div><div><!></div> <div><!></div></div>");const Mw={hash:"svelte-clabfx",code:`.message-layout.svelte-clabfx {display:flex;flex-direction:column;}.message-layout-content.svelte-clabfx {flex-grow:1;display:flex;flex-direction:column;justify-content:center;}.message-layout-content-full-width.svelte-clabfx {padding-left:var(--rc-spacing-outerPadding-mobile);padding-right:var(--rc-spacing-outerPadding-mobile);}.message-layout-footer-full-width.svelte-clabfx {padding-left:var(--rc-spacing-outerPadding-mobile);padding-right:var(--rc-spacing-outerPadding-mobile);}
213
213
 
214
214
  @container layout-query-container (width < 768px) {.message-layout.svelte-clabfx {flex-grow:1;gap:var(--rc-spacing-gapXXLarge-mobile);}
215
215
  }
@@ -218,19 +218,19 @@ Minimum version required to store current data is: `+C+`.
218
218
  }.message-layout-full-width.svelte-clabfx {width:100%;}
219
219
 
220
220
  @media (min-width: 768px) {.message-layout-full-width.svelte-clabfx {width:544px;}
221
- }`};function ac(r,e){he(e,!0),we(r,Sw);const t=()=>Ue(d,"$brandingAppearanceStore",n),[n,a]=Je();let i=J(e,"title",3,null),s=J(e,"closeButtonTitle",3,"Go back to app"),c=J(e,"icon",3,null),l=J(e,"message",3,null),u=J(e,"fullWidth",3,!1);const d=He(Vn),_=m(()=>t()??void 0);function p(){e.onDismiss()}var f=Ew();let g;var b=D(f);let y;var h=D(b);ow(h,{children:(w,E)=>{var I=Se(),T=se(I);{var S=C=>{xw(C,{get title(){return i()},get icon(){return c()}})},A=C=>{yw(C,{get title(){return i()},get icon(){return c()},get message(){return l()}})};W(T,C=>{e.type==="success"?C(S):C(A,!1)})}P(w,I)},$$slots:{default:!0}});var k=U(b,2);let x;var v=D(k);nw(v,{children:(w,E)=>{nc(w,{onclick:p,type:"submit",get brandingAppearance(){return o(_)},children:(I,T)=>{var S=Te();Y(()=>_e(S,s())),P(I,S)},$$slots:{default:!0}})},$$slots:{default:!0}}),Y(()=>{g=ur(f,1,"message-layout svelte-clabfx",null,g,{"message-layout-full-width":u()}),y=ur(b,1,"message-layout-content svelte-clabfx",null,y,{"message-layout-content-full-width":u()}),x=ur(k,1,"message-layout-footer svelte-clabfx",null,x,{"message-layout-footer-full-width":u()})}),P(r,f),ve(),a()}function mt(r,e){he(e,!0);const t=()=>Ue(s,"$translator",n),[n,a]=Je(),i=J(e,"key",3,""),s=He(hr),c=m(()=>i()?t().translate(i()||"",e.variables):void 0);var l=Se(),u=se(l);{var d=p=>{var f=Te();Y(()=>_e(f,o(c))),P(p,f)},_=p=>{var f=Se(),g=se(f);Pr(g,()=>e.children??rr),P(p,f)};W(u,p=>{o(c)?p(d):p(_,!1)})}P(r,l),ve(),a()}const Iw=7,Cw=30,Tw=365,Dw=4.33,Aw=52,Fw=12;function Vo(r){switch(r.unit){case fr.Year:return r.number*Tw;case fr.Month:return r.number*Cw;case fr.Week:return r.number*Iw;case fr.Day:return r.number}}function zw(r){switch(r.unit){case fr.Year:return r.number*Aw;case fr.Month:return Math.floor(r.number*Dw);case fr.Week:return r.number;case fr.Day:return 0}}function Mw(r){switch(r.unit){case fr.Year:return r.number*Fw;case fr.Month:return r.number;case fr.Week:case fr.Day:return 0}}function qw(r){switch(r.unit){case fr.Year:return r.number;case fr.Month:case fr.Week:case fr.Day:return 0}}function oc(r,e){const{unit:t,number:n}=r;return{period:e.translatePeriodUnit(t,{noWhitespace:!0})??"",periodAbbreviated:e.translatePeriodUnit(t,{noWhitespace:!0,short:!0})??"",periodWithUnit:e.translatePeriod(n,t)??"",periodInDays:Vo(r).toString(),periodInWeeks:zw(r).toString(),periodInMonths:Mw(r).toString(),periodInYears:qw(r).toString()}}var Ow=R('<p class="footer-caption rcb-checkout-footer svelte-1fu2zos"><!></p>'),Lw=R('<p class="footer-caption svelte-1fu2zos"><!></p>'),Nw=R('<p class="footer-caption svelte-1fu2zos"><!></p>'),jw=R("<!> <!>",1),Bw=R('<a class="terms-link svelte-1fu2zos" rel="noopener noreferrer" target="_blank"><!></a> <span class="terms-divider svelte-1fu2zos"></span>',1),Rw=R("<!> <!>",1),Uw=R('<div class="footer-caption-container svelte-1fu2zos"><!> <p class="footer-caption svelte-1fu2zos"><!></p></div>');const Vw={hash:"svelte-1fu2zos",code:`.footer-caption-container.svelte-1fu2zos {display:flex;flex-direction:column;gap:var(--rc-spacing-gapLarge-mobile);}.footer-caption.svelte-1fu2zos {color:var(--rc-color-grey-text-light);text-align:center;margin:0;}.rcb-checkout-footer.svelte-1fu2zos {white-space:pre-wrap;}.terms-link.svelte-1fu2zos {color:inherit;}.terms-divider.svelte-1fu2zos {margin:0 4px;}
221
+ }`};function ac(r,e){fe(e,!0),we(r,Mw);const t=()=>Re(d,"$brandingAppearanceStore",n),[n,a]=Ze();let i=X(e,"title",3,null),s=X(e,"closeButtonTitle",3,"Go back to app"),c=X(e,"icon",3,null),l=X(e,"message",3,null),u=X(e,"fullWidth",3,!1);const d=He(Un),p=g(()=>t()??void 0);function _(){e.onDismiss()}var h=Fw();let f;var b=D(h);let v;var m=D(b);pw(m,{children:(w,P)=>{var S=Te(),T=ce(S);{var I=C=>{Aw(C,{get title(){return i()},get icon(){return c()}})},A=C=>{Sw(C,{get title(){return i()},get icon(){return c()},get message(){return l()}})};H(T,C=>{e.type==="success"?C(I):C(A,!1)})}E(w,S)},$$slots:{default:!0}});var k=B(b,2);let x;var y=D(k);uw(y,{children:(w,P)=>{nc(w,{onclick:_,type:"submit",get brandingAppearance(){return o(p)},children:(S,T)=>{var I=ze();V(()=>ge(I,s())),E(S,I)},$$slots:{default:!0}})},$$slots:{default:!0}}),V(()=>{f=ur(h,1,"message-layout svelte-clabfx",null,f,{"message-layout-full-width":u()}),v=ur(b,1,"message-layout-content svelte-clabfx",null,v,{"message-layout-content-full-width":u()}),x=ur(k,1,"message-layout-footer svelte-clabfx",null,x,{"message-layout-footer-full-width":u()})}),E(r,h),me(),a()}function yt(r,e){fe(e,!0);const t=()=>Re(s,"$translator",n),[n,a]=Ze(),i=X(e,"key",3,""),s=He(vr),c=g(()=>i()?t().translate(i()||"",e.variables):void 0);var l=Te(),u=ce(l);{var d=_=>{var h=ze();V(()=>ge(h,o(c))),E(_,h)},p=_=>{var h=Te(),f=ce(h);Pr(f,()=>e.children??tr),E(_,h)};H(u,_=>{o(c)?_(d):_(p,!1)})}E(r,l),me(),a()}const zw=7,qw=30,Ow=365,Lw=4.33,Nw=52,jw=12;function Wo(r){switch(r.unit){case gr.Year:return r.number*Ow;case gr.Month:return r.number*qw;case gr.Week:return r.number*zw;case gr.Day:return r.number}}function Bw(r){switch(r.unit){case gr.Year:return r.number*Nw;case gr.Month:return Math.floor(r.number*Lw);case gr.Week:return r.number;case gr.Day:return 0}}function Rw(r){switch(r.unit){case gr.Year:return r.number*jw;case gr.Month:return r.number;case gr.Week:case gr.Day:return 0}}function Uw(r){switch(r.unit){case gr.Year:return r.number;case gr.Month:case gr.Week:case gr.Day:return 0}}function oc(r,e){const{unit:t,number:n}=r;return{period:e.translatePeriodUnit(t,{noWhitespace:!0})??"",periodAbbreviated:e.translatePeriodUnit(t,{noWhitespace:!0,short:!0})??"",periodWithUnit:e.translatePeriod(n,t)??"",periodInDays:Wo(r).toString(),periodInWeeks:Bw(r).toString(),periodInMonths:Rw(r).toString(),periodInYears:Uw(r).toString()}}var Vw=R('<p class="footer-caption rcb-checkout-footer svelte-1fu2zos"><!></p>'),Hw=R('<p class="footer-caption svelte-1fu2zos"><!></p>'),Ww=R('<p class="footer-caption svelte-1fu2zos"><!></p>'),Yw=R("<!> <!>",1),Gw=R('<a class="terms-link svelte-1fu2zos" rel="noopener noreferrer" target="_blank"><!></a> <span class="terms-divider svelte-1fu2zos"></span>',1),Kw=R("<!> <!>",1),Xw=R('<div class="footer-caption-container svelte-1fu2zos"><!> <p class="footer-caption svelte-1fu2zos"><!></p></div>');const Zw={hash:"svelte-1fu2zos",code:`.footer-caption-container.svelte-1fu2zos {display:flex;flex-direction:column;gap:var(--rc-spacing-gapLarge-mobile);}.footer-caption.svelte-1fu2zos {color:var(--rc-color-grey-text-light);text-align:center;margin:0;}.rcb-checkout-footer.svelte-1fu2zos {white-space:pre-wrap;}.terms-link.svelte-1fu2zos {color:inherit;}.terms-divider.svelte-1fu2zos {margin:0 4px;}
222
222
 
223
223
  @container layout-query-container (width >= 768px) {.footer-caption-container.svelte-1fu2zos {gap:var(--rc-spacing-gapLarge-desktop);}
224
- }`};function Hw(r,e){he(e,!1),we(r,Vw);const t=()=>Ue(v,"$translator",n),[n,a]=Je(),i=cr(),s=cr(),c=cr(),l=cr(),u=cr(),d=cr(),_=cr(),p=cr(),f=cr(),g=cr(),b=cr(),y=cr();let h=J(e,"brandingInfo",8,null),k=J(e,"purchaseOption",8,null),x=J(e,"termsAndConditionsUrl",8,null);const v=He(hr);function w(L){return L!=null&&"base"in L}function E(L){return L!=null&&"basePrice"in L}function I(L){return L?L.trial?de.PaymentEntryPageTrialSubscriptionTermsInfo:de.PaymentEntryPageSubscriptionTermsInfo:de.PaymentEntryPageOtpTermsInfo}const T="Discount applied to your subscription. Auto-renews at the discounted rate. Cancel anytime.",S="Discount applies to your first payment only. Subscription auto-renews at the standard rate. Cancel anytime.",A="One-time discount applied. Auto-renews at the standard rate. Cancel anytime.",C="Limited-time discount. Auto-renews at the standard rate. Cancel anytime.";function N(L,K){if(K.durationMode!=="time_window")return!1;const re=L.base.period,le=K.period;if(!re||!le||K.cycleCount<=0)return!1;const ne=Vo(re),ce=Vo({number:le.number*K.cycleCount,unit:le.unit});return ne>0&&ce<=ne}function q(L){const K=L==null?void 0:L.discount;if(!L||!K)return null;switch(K.durationMode){case"forever":return T;case"one_time":return A;case"time_window":return N(L,K)?S:C;default:return null}}vr(()=>We(k()),()=>{F(i,w(k())?k():null)}),vr(()=>We(k()),()=>{F(s,E(k())?k():null)}),vr(()=>o(i),()=>{F(c,I(o(i)))}),vr(()=>o(i),()=>{var L,K,re;F(l,((L=o(i))==null?void 0:L.discount)??((K=o(i))==null?void 0:K.introPrice)??((re=o(i))==null?void 0:re.base)??null)}),vr(()=>(o(s),o(l)),()=>{var L,K,re,le;F(u,((K=(L=o(s))==null?void 0:L.discount)==null?void 0:K.price)||((re=o(s))==null?void 0:re.basePrice)||((le=o(l))==null?void 0:le.price))}),vr(()=>(o(u),t()),()=>{F(d,o(u)?bn(o(u).amountMicros,o(u).currency,t().bcp47Locale||t().fallbackBcp47Locale):null)}),vr(()=>(o(l),t()),()=>{var L,K,re,le,ne;F(_,(L=o(l))!=null&&L.period?t().translatePeriodFrequency(((re=(K=o(l))==null?void 0:K.period)==null?void 0:re.number)||1,(ne=(le=o(l))==null?void 0:le.period)==null?void 0:ne.unit,{useMultipleWords:!0}):null)}),vr(()=>(o(i),t(),Ao),()=>{var L,K;F(p,(K=(L=o(i))==null?void 0:L.trial)!=null&&K.period?t().translateDate(Ao(new Date,o(i).trial.period,!0),{year:"numeric",month:"long",day:"numeric"}):null)}),vr(()=>(We(h()),o(u),t(),o(c),o(d),o(_),o(p)),()=>{var L;F(f,h()&&o(u)?t().translate(o(c),{appName:(L=h())==null?void 0:L.app_name,price:o(d),perFrequency:o(_),renewalDate:o(p)}):null)}),vr(()=>o(i),()=>{F(g,q(o(i)))}),vr(()=>(o(g),o(f)),()=>{F(b,o(g)??o(f))}),vr(()=>(o(i),t(),de),()=>{F(y,o(i)?t().translate(de.PaymentEntryPageSubscriptionInfo):null)}),Rs(),Ln();var j=Uw(),Z=D(j);{var O=L=>{var K=Ow(),re=D(K);Ce(re,{size:"caption-default",children:(le,ne)=>{var ce=Te();Y(()=>_e(ce,(We(h()),Ve(()=>h().checkout_footer)))),P(le,ce)},$$slots:{default:!0}}),P(L,K)},z=L=>{var K=jw(),re=se(K);{var le=Q=>{var ie=Lw(),V=D(ie);Ce(V,{size:"caption-default",children:(X,B)=>{var oe=Te();Y(()=>_e(oe,o(b))),P(X,oe)},$$slots:{default:!0}}),P(Q,ie)};W(re,Q=>{o(b)&&Q(le)})}var ne=U(re,2);{var ce=Q=>{var ie=Nw(),V=D(ie);Ce(V,{size:"caption-default",children:(X,B)=>{var oe=Te();Y(()=>_e(oe,o(y))),P(X,oe)},$$slots:{default:!0}}),P(Q,ie)};W(ne,Q=>{o(y)&&!o(g)&&Q(ce)})}P(L,K)};W(Z,L=>{We(h()),Ve(()=>{var K;return(K=h())==null?void 0:K.checkout_footer})?L(O):L(z,!1)})}var M=U(Z,2),H=D(M);Ce(H,{size:"caption-default",children:(L,K)=>{var re=Rw(),le=se(re);{var ne=Q=>{var ie=Bw(),V=se(ie),X=D(V);mt(X,{get key(){return We(de),Ve(()=>de.PaymentEntryPageTermsLinkLabel)}});var B=U(V,2);B.textContent="|",Y(()=>ke(V,"href",x())),P(Q,ie)};W(le,Q=>{x()&&Q(ne)})}var ce=U(le,2);mt(ce,{get key(){return We(de),Ve(()=>de.PaymentEntryPagePaymentStepTitle)}}),P(L,re)},$$slots:{default:!0}}),P(r,j),ve(),a()}var Ww=R(' <a target="_blank" rel="noopener noreferrer" data-testid="CheckoutConsentTermsLink"> </a> ',1),Yw=R('<label class="rcb-checkout-consent svelte-1v4vd7h" data-testid="CheckoutConsent"><span class="rcb-checkout-consent-checkbox-target svelte-1v4vd7h"><input type="checkbox" class="rcb-checkout-consent-checkbox svelte-1v4vd7h" data-testid="CheckoutConsentCheckbox"/></span> <!></label>');const Gw={hash:"svelte-1v4vd7h",code:`.rcb-checkout-consent.svelte-1v4vd7h {display:flex;align-items:center;gap:8px;margin-top:32px;margin-bottom:24px;cursor:pointer;}.rcb-checkout-consent-checkbox-target.svelte-1v4vd7h {display:flex;align-items:center;justify-content:center;flex-shrink:0;width:44px;height:44px;
224
+ }`};function Jw(r,e){fe(e,!1),we(r,Zw);const t=()=>Re(y,"$translator",n),[n,a]=Ze(),i=cr(),s=cr(),c=cr(),l=cr(),u=cr(),d=cr(),p=cr(),_=cr(),h=cr(),f=cr(),b=cr(),v=cr();let m=X(e,"brandingInfo",8,null),k=X(e,"purchaseOption",8,null),x=X(e,"termsAndConditionsUrl",8,null);const y=He(vr);function w(O){return O!=null&&"base"in O}function P(O){return O!=null&&"basePrice"in O}function S(O){return O?O.trial?de.PaymentEntryPageTrialSubscriptionTermsInfo:de.PaymentEntryPageSubscriptionTermsInfo:de.PaymentEntryPageOtpTermsInfo}const T="Discount applied to your subscription. Auto-renews at the discounted rate. Cancel anytime.",I="Discount applies to your first payment only. Subscription auto-renews at the standard rate. Cancel anytime.",A="One-time discount applied. Auto-renews at the standard rate. Cancel anytime.",C="Limited-time discount. Auto-renews at the standard rate. Cancel anytime.";function L(O,G){if(G.durationMode!=="time_window")return!1;const Z=O.base.period,le=G.period;if(!Z||!le||G.cycleCount<=0)return!1;const $=Wo(Z),oe=Wo({number:le.number*G.cycleCount,unit:le.unit});return $>0&&oe<=$}function q(O){const G=O==null?void 0:O.discount;if(!O||!G)return null;switch(G.durationMode){case"forever":return T;case"one_time":return A;case"time_window":return L(O,G)?I:C;default:return null}}hr(()=>We(k()),()=>{F(i,w(k())?k():null)}),hr(()=>We(k()),()=>{F(s,P(k())?k():null)}),hr(()=>o(i),()=>{F(c,S(o(i)))}),hr(()=>o(i),()=>{var O,G,Z;F(l,((O=o(i))==null?void 0:O.discount)??((G=o(i))==null?void 0:G.introPrice)??((Z=o(i))==null?void 0:Z.base)??null)}),hr(()=>(o(s),o(l)),()=>{var O,G,Z,le;F(u,((G=(O=o(s))==null?void 0:O.discount)==null?void 0:G.price)||((Z=o(s))==null?void 0:Z.basePrice)||((le=o(l))==null?void 0:le.price))}),hr(()=>(o(u),t()),()=>{F(d,o(u)?Pn(o(u).amountMicros,o(u).currency,t().bcp47Locale||t().fallbackBcp47Locale):null)}),hr(()=>(o(l),t()),()=>{var O,G,Z,le,$;F(p,(O=o(l))!=null&&O.period?t().translatePeriodFrequency(((Z=(G=o(l))==null?void 0:G.period)==null?void 0:Z.number)||1,($=(le=o(l))==null?void 0:le.period)==null?void 0:$.unit,{useMultipleWords:!0}):null)}),hr(()=>(o(i),t(),Mo),()=>{var O,G;F(_,(G=(O=o(i))==null?void 0:O.trial)!=null&&G.period?t().translateDate(Mo(new Date,o(i).trial.period,!0),{year:"numeric",month:"long",day:"numeric"}):null)}),hr(()=>(We(m()),o(u),t(),o(c),o(d),o(p),o(_)),()=>{var O;F(h,m()&&o(u)?t().translate(o(c),{appName:(O=m())==null?void 0:O.app_name,price:o(d),perFrequency:o(p),renewalDate:o(_)}):null)}),hr(()=>o(i),()=>{F(f,q(o(i)))}),hr(()=>(o(f),o(h)),()=>{F(b,o(f)??o(h))}),hr(()=>(o(i),t(),de),()=>{F(v,o(i)?t().translate(de.PaymentEntryPageSubscriptionInfo):null)}),Rs(),qn();var j=Xw(),Y=D(j);{var N=O=>{var G=Vw(),Z=D(G);Fe(Z,{size:"caption-default",children:(le,$)=>{var oe=ze();V(()=>ge(oe,(We(m()),Ue(()=>m().checkout_footer)))),E(le,oe)},$$slots:{default:!0}}),E(O,G)},M=O=>{var G=Yw(),Z=ce(G);{var le=Pe=>{var Ie=Hw(),J=D(Ie);Fe(J,{size:"caption-default",children:(Q,ae)=>{var Ee=ze();V(()=>ge(Ee,o(b))),E(Q,Ee)},$$slots:{default:!0}}),E(Pe,Ie)};H(Z,Pe=>{o(b)&&Pe(le)})}var $=B(Z,2);{var oe=Pe=>{var Ie=Ww(),J=D(Ie);Fe(J,{size:"caption-default",children:(Q,ae)=>{var Ee=ze();V(()=>ge(Ee,o(v))),E(Q,Ee)},$$slots:{default:!0}}),E(Pe,Ie)};H($,Pe=>{o(v)&&!o(f)&&Pe(oe)})}E(O,G)};H(Y,O=>{We(m()),Ue(()=>{var G;return(G=m())==null?void 0:G.checkout_footer})?O(N):O(M,!1)})}var z=B(Y,2),U=D(z);Fe(U,{size:"caption-default",children:(O,G)=>{var Z=Kw(),le=ce(Z);{var $=Pe=>{var Ie=Gw(),J=ce(Ie),Q=D(J);yt(Q,{get key(){return We(de),Ue(()=>de.PaymentEntryPageTermsLinkLabel)}});var ae=B(J,2);ae.textContent="|",V(()=>ke(J,"href",x())),E(Pe,Ie)};H(le,Pe=>{x()&&Pe($)})}var oe=B(le,2);yt(oe,{get key(){return We(de),Ue(()=>de.PaymentEntryPagePaymentStepTitle)}}),E(O,Z)},$$slots:{default:!0}}),E(r,j),me(),a()}var Qw=R(' <a target="_blank" rel="noopener noreferrer" data-testid="CheckoutConsentTermsLink"> </a> ',1),$w=R('<label class="rcb-checkout-consent svelte-1v4vd7h" data-testid="CheckoutConsent"><span class="rcb-checkout-consent-checkbox-target svelte-1v4vd7h"><input type="checkbox" class="rcb-checkout-consent-checkbox svelte-1v4vd7h" data-testid="CheckoutConsentCheckbox"/></span> <!></label>');const eP={hash:"svelte-1v4vd7h",code:`.rcb-checkout-consent.svelte-1v4vd7h {display:flex;align-items:center;gap:8px;margin-top:32px;margin-bottom:24px;cursor:pointer;}.rcb-checkout-consent-checkbox-target.svelte-1v4vd7h {display:flex;align-items:center;justify-content:center;flex-shrink:0;width:44px;height:44px;
225
225
  /* Negative margins collapse the tap target back to the checkbox's 20px
226
226
  footprint so the row keeps its original alignment and spacing. */margin:-12px;}.rcb-checkout-consent-checkbox.svelte-1v4vd7h {width:20px;height:20px;flex-shrink:0;margin:0;}
227
227
 
228
228
  @container layout-query-container (width >= 768px) {.rcb-checkout-consent-checkbox-target.svelte-1v4vd7h {width:16px;height:16px;margin:0;}.rcb-checkout-consent-checkbox.svelte-1v4vd7h {width:16px;height:16px;}
229
- }.rcb-checkout-consent.svelte-1v4vd7h a {color:inherit;text-decoration:underline;}`};function Kw(r,e){he(e,!0),we(r,Gw);const t=()=>Ue(c,"$translator",n),[n,a]=Je(),i="__TERMS_OF_SERVICE__";let s=J(e,"checked",15,!1);const c=He(hr),l=m(()=>t().translate(de.PaymentEntryPageCheckoutConsentTermsOfService)),u=m(()=>{const b=t().translate(de.PaymentEntryPageCheckoutConsentAgreement,{appName:e.appName??"",termsOfService:i}),[y="",h=""]=b.split(i);return{before:y,after:h}}),d=b=>{const y=b.currentTarget;s(y.checked),e.onChange(y.checked)};var _=Yw(),p=D(_),f=D(p);f.__change=d;var g=U(p,2);Ce(g,{size:"body-small",children:(b,y)=>{var h=Ww(),k=se(h,!0),x=U(k);x.__click=E=>E.stopPropagation();var v=D(x),w=U(x,1,!0);Y(()=>{_e(k,o(u).before),ke(x,"href",e.termsAndConditionsUrl),_e(v,o(l)),_e(w,o(u).after)}),P(b,h)},$$slots:{default:!0}}),Y(()=>ym(f,s())),P(r,_),ve(),a()}Yt(["change","click"]);function Xw({brandingInfo:r,termsAndConditionsUrl:e}){return(e??(r!=null&&r.require_checkout_consent?r.terms_and_conditions_url:void 0))||void 0}function Zw({brandingInfo:r,termsAndConditionsUrl:e,productDetails:t}){return!!(r!=null&&r.require_checkout_consent)&&!!e&&t.productType===Wr.Subscription}var Gr=(r=>(r.SDKInitialized="sdk_initialized",r.CheckoutSessionStart="checkout_session_start",r.CheckoutSessionEnd="checkout_session_end",r.CheckoutFlowError="checkout_flow_error",r.CheckoutPaymentTaxCalculation="checkout_payment_tax_calculation",r.CheckoutPaymentFormImpression="checkout_payment_form_impression",r.CheckoutPaymentFormError="checkout_payment_form_error",r.CheckoutPaymentFormDismiss="checkout_payment_form_dismiss",r.CheckoutPaymentFormSubmit="checkout_payment_form_submit",r.CheckoutPaymentFormGatewayError="checkout_payment_form_gateway_error",r.CheckoutPurchaseSuccessfulImpression="checkout_purchase_successful_impression",r.CheckoutPurchaseSuccessfulDismiss="checkout_purchase_successful_dismiss",r.WorkflowStepStarted="workflow_step_started",r.WorkflowStepCompleted="workflow_step_completed",r))(Gr||{});function r_(r){const e={};for(const t in r)if(Object.prototype.hasOwnProperty.call(r,t)){const n=t.replace(/([A-Z])/g,"_$1").toLowerCase(),a=r[t];a&&typeof a=="object"&&!Array.isArray(a)?e[n]=r_(a):e[n]=a}return e}function t_(r){for(let e=0;e<r.length;e++)r[e]=Math.floor(Math.random()*256)}function Hn(){const r=typeof crypto<"u"?crypto:globalThis.crypto;if(r&&r.randomUUID)return r.randomUUID();const e=new Uint8Array(16);try{r&&r.getRandomValues?r.getRandomValues(e):t_(e)}catch(n){console.log(`Error using crypto.getRandomValues(), falling back to Math.random. + ${n}`),t_(e)}e[6]=e[6]&15|64,e[8]=e[8]&63|128;const t=Array.from(e).map(n=>n.toString(16).padStart(2,"0"));return[t.slice(0,4).join(""),t.slice(4,6).join(""),t.slice(6,8).join(""),t.slice(8,10).join(""),t.slice(10,16).join("")].join("-")}const rt="sdk_checkout";class Jw{constructor(e){ee(this,"EVENT_TYPE","web_billing");ee(this,"id");ee(this,"timestampMs");ee(this,"data");this.id=Hn(),this.timestampMs=Date.now(),this.data=e}toJSON(){return r_({id:this.id,timestampMs:this.timestampMs,type:this.EVENT_TYPE,eventName:this.data.eventName,appUserId:this.data.appUserId,context:{...this.data.context},properties:{...this.data.properties,traceId:this.data.traceId,...this.data.workflowIdentifier!==void 0?{workflowIdentifier:this.data.workflowIdentifier}:{}}})}}function n_({errorCode:r,errorMessage:e,mode:t=rt}){return{eventName:Gr.CheckoutFlowError,properties:{mode:t,errorCode:r,errorMessage:e}}}function Qw({errorCode:r,errorMessage:e,mode:t=rt}){return{eventName:Gr.CheckoutPaymentFormError,properties:{mode:t,errorCode:r,errorMessage:e}}}function Zi({appearance:r,rcPackage:e,purchaseOptionToUse:t,customerEmail:n,mode:a=rt}){return{eventName:Gr.CheckoutSessionStart,properties:{mode:a,customizationColorButtonsPrimary:(r==null?void 0:r.color_buttons_primary)??null,customizationColorAccent:(r==null?void 0:r.color_accent)??null,customizationColorError:(r==null?void 0:r.color_error)??null,customizationColorProductInfoBg:(r==null?void 0:r.color_product_info_bg)??null,customizationColorFormBg:(r==null?void 0:r.color_form_bg)??null,customizationColorPageBg:(r==null?void 0:r.color_page_bg)??null,customizationFont:(r==null?void 0:r.font)??null,customizationShapes:(r==null?void 0:r.shapes)??null,customizationShowProductDescription:(r==null?void 0:r.show_product_description)??null,productInterval:e.webBillingProduct.normalPeriodDuration,productPrice:e.webBillingProduct.price.amountMicros,productCurrency:e.webBillingProduct.price.currency,selectedProductId:e.webBillingProduct.identifier,selectedPackageId:e.identifier,selectedPurchaseOption:t.id,customerEmailProvidedByDeveloper:!!n}}}function a_({redemptionInfo:r,mode:e=rt}){return{eventName:Gr.CheckoutSessionEnd,properties:{mode:e,outcome:"finished",withRedemptionInfo:!!r}}}function o_(r){return{eventName:Gr.CheckoutSessionEnd,properties:{mode:(r==null?void 0:r.mode)??rt,outcome:"closed"}}}function i_({errorCode:r,errorMessage:e,mode:t=rt}){return{eventName:Gr.CheckoutSessionEnd,properties:{mode:t,outcome:"errored",errorCode:r,errorMessage:e}}}function s_({taxCalculation:r,taxCustomerDetails:e,mode:t=rt}){const n=r.failed_reason===yn.tax_collection_disabled?"disabled":r.failed_reason?"failed":r.tax_amount_in_micros===0?"not-taxed":"taxed",a=e===null?"auto":"form";return{eventName:Gr.CheckoutPaymentTaxCalculation,properties:{mode:t,outcome:n,ui_element:a,tax_inclusive:r.tax_inclusive,error_code:r.failed_reason??null}}}function l_({selectedPaymentMethod:r,mode:e=rt}){return{eventName:Gr.CheckoutPaymentFormSubmit,properties:{mode:e,selectedPaymentMethod:r??null}}}function ic({errorCode:r,errorMessage:e,mode:t=rt}){return{eventName:Gr.CheckoutPaymentFormGatewayError,properties:{mode:t,errorCode:r,errorMessage:e}}}function $w(r,e=rt){return{eventName:Gr.CheckoutPurchaseSuccessfulDismiss,properties:{mode:e,ui_element:r}}}function eP(r=rt){return{eventName:Gr.CheckoutPurchaseSuccessfulImpression,properties:{mode:r}}}const rP=`<svg width="80" height="80" viewBox="0 0 24 24" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
229
+ }.rcb-checkout-consent.svelte-1v4vd7h a {color:inherit;text-decoration:underline;}`};function rP(r,e){fe(e,!0),we(r,eP);const t=()=>Re(c,"$translator",n),[n,a]=Ze(),i="__TERMS_OF_SERVICE__";let s=X(e,"checked",15,!1);const c=He(vr),l=g(()=>t().translate(de.PaymentEntryPageCheckoutConsentTermsOfService)),u=g(()=>{const b=t().translate(de.PaymentEntryPageCheckoutConsentAgreement,{appName:e.appName??"",termsOfService:i}),[v="",m=""]=b.split(i);return{before:v,after:m}}),d=b=>{const v=b.currentTarget;s(v.checked),e.onChange(v.checked)};var p=$w(),_=D(p),h=D(_);h.__change=d;var f=B(_,2);Fe(f,{size:"body-small",children:(b,v)=>{var m=Qw(),k=ce(m,!0),x=B(k);x.__click=P=>P.stopPropagation();var y=D(x),w=B(x,1,!0);V(()=>{ge(k,o(u).before),ke(x,"href",e.termsAndConditionsUrl),ge(y,o(l)),ge(w,o(u).after)}),E(b,m)},$$slots:{default:!0}}),V(()=>Em(h,s())),E(r,p),me(),a()}Zt(["change","click"]);function tP({brandingInfo:r,termsAndConditionsUrl:e}){return(e??(r!=null&&r.require_checkout_consent?r.terms_and_conditions_url:void 0))||void 0}function nP({brandingInfo:r,termsAndConditionsUrl:e,productDetails:t}){return!!(r!=null&&r.require_checkout_consent)&&!!e&&t.productType===Gr.Subscription}var Zr=(r=>(r.SDKInitialized="sdk_initialized",r.CheckoutSessionStart="checkout_session_start",r.CheckoutSessionEnd="checkout_session_end",r.CheckoutFlowError="checkout_flow_error",r.CheckoutPaymentTaxCalculation="checkout_payment_tax_calculation",r.CheckoutPaymentFormImpression="checkout_payment_form_impression",r.CheckoutPaymentFormError="checkout_payment_form_error",r.CheckoutPaymentFormDismiss="checkout_payment_form_dismiss",r.CheckoutPaymentFormSubmit="checkout_payment_form_submit",r.CheckoutPaymentFormGatewayError="checkout_payment_form_gateway_error",r.CheckoutPurchaseSuccessfulImpression="checkout_purchase_successful_impression",r.CheckoutPurchaseSuccessfulDismiss="checkout_purchase_successful_dismiss",r.WorkflowStepStarted="workflow_step_started",r.WorkflowStepCompleted="workflow_step_completed",r))(Zr||{});function a_(r){const e={};for(const t in r)if(Object.prototype.hasOwnProperty.call(r,t)){const n=t.replace(/([A-Z])/g,"_$1").toLowerCase(),a=r[t];a&&typeof a=="object"&&!Array.isArray(a)?e[n]=a_(a):e[n]=a}return e}function o_(r){for(let e=0;e<r.length;e++)r[e]=Math.floor(Math.random()*256)}function Vn(){const r=typeof crypto<"u"?crypto:globalThis.crypto;if(r&&r.randomUUID)return r.randomUUID();const e=new Uint8Array(16);try{r&&r.getRandomValues?r.getRandomValues(e):o_(e)}catch(n){console.log(`Error using crypto.getRandomValues(), falling back to Math.random. + ${n}`),o_(e)}e[6]=e[6]&15|64,e[8]=e[8]&63|128;const t=Array.from(e).map(n=>n.toString(16).padStart(2,"0"));return[t.slice(0,4).join(""),t.slice(4,6).join(""),t.slice(6,8).join(""),t.slice(8,10).join(""),t.slice(10,16).join("")].join("-")}const nt="sdk_checkout";class aP{constructor(e){re(this,"EVENT_TYPE","web_billing");re(this,"id");re(this,"timestampMs");re(this,"data");this.id=Vn(),this.timestampMs=Date.now(),this.data=e}toJSON(){return a_({id:this.id,timestampMs:this.timestampMs,type:this.EVENT_TYPE,eventName:this.data.eventName,appUserId:this.data.appUserId,context:{...this.data.context},properties:{...this.data.properties,traceId:this.data.traceId,...this.data.workflowIdentifier!==void 0?{workflowIdentifier:this.data.workflowIdentifier}:{}}})}}function i_({errorCode:r,errorMessage:e,mode:t=nt}){return{eventName:Zr.CheckoutFlowError,properties:{mode:t,errorCode:r,errorMessage:e}}}function oP({errorCode:r,errorMessage:e,mode:t=nt}){return{eventName:Zr.CheckoutPaymentFormError,properties:{mode:t,errorCode:r,errorMessage:e}}}function Qi({appearance:r,rcPackage:e,purchaseOptionToUse:t,customerEmail:n,mode:a=nt}){return{eventName:Zr.CheckoutSessionStart,properties:{mode:a,customizationColorButtonsPrimary:(r==null?void 0:r.color_buttons_primary)??null,customizationColorAccent:(r==null?void 0:r.color_accent)??null,customizationColorError:(r==null?void 0:r.color_error)??null,customizationColorProductInfoBg:(r==null?void 0:r.color_product_info_bg)??null,customizationColorFormBg:(r==null?void 0:r.color_form_bg)??null,customizationColorPageBg:(r==null?void 0:r.color_page_bg)??null,customizationFont:(r==null?void 0:r.font)??null,customizationShapes:(r==null?void 0:r.shapes)??null,customizationShowProductDescription:(r==null?void 0:r.show_product_description)??null,productInterval:e.webBillingProduct.normalPeriodDuration,productPrice:e.webBillingProduct.price.amountMicros,productCurrency:e.webBillingProduct.price.currency,selectedProductId:e.webBillingProduct.identifier,selectedPackageId:e.identifier,selectedPurchaseOption:t.id,customerEmailProvidedByDeveloper:!!n}}}function s_({redemptionInfo:r,mode:e=nt}){return{eventName:Zr.CheckoutSessionEnd,properties:{mode:e,outcome:"finished",withRedemptionInfo:!!r}}}function l_(r){return{eventName:Zr.CheckoutSessionEnd,properties:{mode:(r==null?void 0:r.mode)??nt,outcome:"closed"}}}function c_({errorCode:r,errorMessage:e,mode:t=nt}){return{eventName:Zr.CheckoutSessionEnd,properties:{mode:t,outcome:"errored",errorCode:r,errorMessage:e}}}function u_({taxCalculation:r,taxCustomerDetails:e,mode:t=nt}){const n=r.failed_reason===wn.tax_collection_disabled?"disabled":r.failed_reason?"failed":r.tax_amount_in_micros===0?"not-taxed":"taxed",a=e===null?"auto":"form";return{eventName:Zr.CheckoutPaymentTaxCalculation,properties:{mode:t,outcome:n,ui_element:a,tax_inclusive:r.tax_inclusive,error_code:r.failed_reason??null}}}function d_({selectedPaymentMethod:r,mode:e=nt}){return{eventName:Zr.CheckoutPaymentFormSubmit,properties:{mode:e,selectedPaymentMethod:r??null}}}function ic({errorCode:r,errorMessage:e,mode:t=nt}){return{eventName:Zr.CheckoutPaymentFormGatewayError,properties:{mode:t,errorCode:r,errorMessage:e}}}function iP(r,e=nt){return{eventName:Zr.CheckoutPurchaseSuccessfulDismiss,properties:{mode:e,ui_element:r}}}function sP(r=nt){return{eventName:Zr.CheckoutPurchaseSuccessfulImpression,properties:{mode:r}}}const lP=`<svg width="80" height="80" viewBox="0 0 24 24" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
230
230
  <g transform="scale(0.5)" transform-origin="center">
231
231
  <path d="M12 3.5C7.30558 3.5 3.5 7.30558 3.5 12C3.5 16.6944 7.30558 20.5 12 20.5C16.6944 20.5 20.5 16.6944 20.5 12C20.5 11.5858 20.8358 11.25 21.25 11.25C21.6642 11.25 22 11.5858 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C12.4142 2 12.75 2.33579 12.75 2.75C12.75 3.16421 12.4142 3.5 12 3.5Z" fill="currentColor"/>
232
232
  </g>
233
- </svg>`;var tP=R('<div class="rcb-ui-asset-icon svelte-6k29hu"><!></div>');const nP={hash:"svelte-6k29hu",code:`
233
+ </svg>`;var cP=R('<div class="rcb-ui-asset-icon svelte-6k29hu"><!></div>');const uP={hash:"svelte-6k29hu",code:`
234
234
  @-webkit-keyframes svelte-6k29hu-rotating /* Safari and Chrome */ {
235
235
  from {
236
236
  -webkit-transform: rotate(0deg);
@@ -263,28 +263,28 @@ Minimum version required to store current data is: `+C+`.
263
263
  -moz-animation: svelte-6k29hu-rotating 2s ease-in-out infinite;
264
264
  -ms-animation: svelte-6k29hu-rotating 2s ease-in-out infinite;
265
265
  -o-animation: svelte-6k29hu-rotating 2s ease-in-out infinite;
266
- animation: svelte-6k29hu-rotating 2s ease-in-out infinite;}`};function Ji(r,e){we(r,nP);const t=J(e,"color",3,"var(--rc-color-accent)");var n=tP(),a=D(n);fn(a,()=>rP),Y(()=>Le(n,`color:${t()??""};`)),P(r,n)}var aP=R('<div class="rcb-modal-loader svelte-rhstd0"><!></div>');const oP={hash:"svelte-rhstd0",code:`.rcb-modal-loader.svelte-rhstd0 {width:100%;flex-grow:1;display:flex;justify-content:center;align-items:center;}
266
+ animation: svelte-6k29hu-rotating 2s ease-in-out infinite;}`};function $i(r,e){we(r,uP);const t=X(e,"color",3,"var(--rc-color-accent)");var n=cP(),a=D(n);vn(a,()=>lP),V(()=>Oe(n,`color:${t()??""};`)),E(r,n)}var dP=R('<div class="rcb-modal-loader svelte-rhstd0"><!></div>');const pP={hash:"svelte-rhstd0",code:`.rcb-modal-loader.svelte-rhstd0 {width:100%;flex-grow:1;display:flex;justify-content:center;align-items:center;}
267
267
 
268
268
  @container layout-query-container (width >= 768px) {.rcb-modal-loader.svelte-rhstd0 {align-items:flex-start;margin-top:calc(var(--rc-spacing-gapXXLarge-desktop) * 6);}
269
- }`};function c_(r){we(r,oP);var e=aP(),t=D(e);Ji(t,{}),P(r,e)}function iP(r,e){var p,f;he(e,!0);const t=()=>Ue(c,"$brandingAppearanceStore",a),n=()=>Ue(s,"$translator",a),[a,i]=Je(),s=He(hr),c=He(Vn),l=m(()=>t()??void 0),u=m(()=>e.priceBreakdown?n().formatPrice(e.priceBreakdown.totalAmountInMicros,e.priceBreakdown.currency):null),d=(f=(p=e.subscriptionOption)==null?void 0:p.trial)==null?void 0:f.period,_=m(()=>d?n().translatePeriod(d.number,d.unit):null);nc(r,{get disabled(){return e.disabled},testId:"PayButton",get brandingAppearance(){return o(l)},children:(g,b)=>{var y=Se(),h=se(y);{var k=v=>{{let w=m(()=>({trialPeriodLabel:o(_)}));mt(v,{get key(){return de.PaymentEntryPageButtonStartTrial},get variables(){return o(w)}})}},x=v=>{var w=Se(),E=se(w);{var I=S=>{{let A=m(()=>({formattedPrice:o(u)}));mt(S,{get key(){return de.PaymentEntryPageButtonWithPrice},get variables(){return o(A)}})}},T=S=>{mt(S,{get key(){return de.PaymentEntryPageButtonPay}})};W(E,S=>{o(u)?S(I):S(T,!1)},!0)}P(v,w)};W(h,v=>{var w;(w=e.subscriptionOption)!=null&&w.trial?v(k):v(x,!1)})}P(g,y)},$$slots:{default:!0}}),ve(),i()}function Ho(r){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Ho=function(e){return typeof e}:Ho=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ho(r)}var u_="dahlia",sP=function(e){return e===3?"v3":e},d_="https://js.stripe.com",lP="".concat(d_,"/").concat(u_,"/stripe.js"),cP=/^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/,uP=/^https:\/\/js\.stripe\.com\/(v3|[a-z]+)\/stripe\.js(\?.*)?$/,p_="loadStripe.setLoadParameters was called but an existing Stripe.js script already exists in the document; existing script parameters will be used",dP=function(e){return cP.test(e)||uP.test(e)},pP=function(){for(var e=document.querySelectorAll('script[src^="'.concat(d_,'"]')),t=0;t<e.length;t++){var n=e[t];if(dP(n.src))return n}return null},__=function(e){var t=e&&!e.advancedFraudSignals?"?advancedFraudSignals=false":"",n=document.createElement("script");n.src="".concat(lP).concat(t);var a=document.head||document.body;if(!a)throw new Error("Expected document.body not to be null. Stripe.js requires a <body> element.");return a.appendChild(n),n},_P=function(e,t){!e||!e._registerWrapper||e._registerWrapper({name:"stripe-js",version:"9.7.0",startTime:t})},Wo=null,Qi=null,$i=null,gP=function(e){return function(t){e(new Error("Failed to load Stripe.js",{cause:t}))}},fP=function(e,t){return function(){window.Stripe?e(window.Stripe):t(new Error("Stripe.js not available"))}},mP=function(e){return Wo!==null?Wo:(Wo=new Promise(function(t,n){if(typeof window>"u"||typeof document>"u"){t(null);return}if(window.Stripe&&e&&console.warn(p_),window.Stripe){t(window.Stripe);return}try{var a=pP();if(a&&e)console.warn(p_);else if(!a)a=__(e);else if(a&&$i!==null&&Qi!==null){var i;a.removeEventListener("load",$i),a.removeEventListener("error",Qi),(i=a.parentNode)===null||i===void 0||i.removeChild(a),a=__(e)}$i=fP(t,n),Qi=gP(n),a.addEventListener("load",$i),a.addEventListener("error",Qi)}catch(s){n(s);return}}),Wo.catch(function(t){return Wo=null,Promise.reject(t)}))},hP=function(e,t,n){if(e===null)return null;var a=t[0];if(typeof a!="string")throw new Error("Expected publishable key to be of type string, got type ".concat(Ho(a)," instead."));var i=a.match(/^pk_test/),s=sP(e.version),c=u_;i&&s!==c&&console.warn("Stripe.js@".concat(s," was loaded on the page, but @stripe/stripe-js@").concat("9.7.0"," expected Stripe.js@").concat(c,". This may result in unexpected behavior. For more information, see https://docs.stripe.com/sdks/stripejs-versioning"));var l=e.apply(void 0,t);return _P(l,n),l},g_=function(e){var t=`invalid load parameters; expected object of shape
269
+ }`};function p_(r){we(r,pP);var e=dP(),t=D(e);$i(t,{}),E(r,e)}function _P(r,e){var _,h;fe(e,!0);const t=()=>Re(c,"$brandingAppearanceStore",a),n=()=>Re(s,"$translator",a),[a,i]=Ze(),s=He(vr),c=He(Un),l=g(()=>t()??void 0),u=g(()=>e.priceBreakdown?n().formatPrice(e.priceBreakdown.totalAmountInMicros,e.priceBreakdown.currency):null),d=(h=(_=e.subscriptionOption)==null?void 0:_.trial)==null?void 0:h.period,p=g(()=>d?n().translatePeriod(d.number,d.unit):null);nc(r,{get disabled(){return e.disabled},testId:"PayButton",get brandingAppearance(){return o(l)},children:(f,b)=>{var v=Te(),m=ce(v);{var k=y=>{{let w=g(()=>({trialPeriodLabel:o(p)}));yt(y,{get key(){return de.PaymentEntryPageButtonStartTrial},get variables(){return o(w)}})}},x=y=>{var w=Te(),P=ce(w);{var S=I=>{{let A=g(()=>({formattedPrice:o(u)}));yt(I,{get key(){return de.PaymentEntryPageButtonWithPrice},get variables(){return o(A)}})}},T=I=>{yt(I,{get key(){return de.PaymentEntryPageButtonPay}})};H(P,I=>{o(u)?I(S):I(T,!1)},!0)}E(y,w)};H(m,y=>{var w;(w=e.subscriptionOption)!=null&&w.trial?y(k):y(x,!1)})}E(f,v)},$$slots:{default:!0}}),me(),i()}function Yo(r){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Yo=function(e){return typeof e}:Yo=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Yo(r)}var __="dahlia",gP=function(e){return e===3?"v3":e},g_="https://js.stripe.com",fP="".concat(g_,"/").concat(__,"/stripe.js"),mP=/^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/,hP=/^https:\/\/js\.stripe\.com\/(v3|[a-z]+)\/stripe\.js(\?.*)?$/,f_="loadStripe.setLoadParameters was called but an existing Stripe.js script already exists in the document; existing script parameters will be used",vP=function(e){return mP.test(e)||hP.test(e)},yP=function(){for(var e=document.querySelectorAll('script[src^="'.concat(g_,'"]')),t=0;t<e.length;t++){var n=e[t];if(vP(n.src))return n}return null},m_=function(e){var t=e&&!e.advancedFraudSignals?"?advancedFraudSignals=false":"",n=document.createElement("script");n.src="".concat(fP).concat(t);var a=document.head||document.body;if(!a)throw new Error("Expected document.body not to be null. Stripe.js requires a <body> element.");return a.appendChild(n),n},bP=function(e,t){!e||!e._registerWrapper||e._registerWrapper({name:"stripe-js",version:"9.7.0",startTime:t})},Go=null,es=null,rs=null,kP=function(e){return function(t){e(new Error("Failed to load Stripe.js",{cause:t}))}},wP=function(e,t){return function(){window.Stripe?e(window.Stripe):t(new Error("Stripe.js not available"))}},PP=function(e){return Go!==null?Go:(Go=new Promise(function(t,n){if(typeof window>"u"||typeof document>"u"){t(null);return}if(window.Stripe&&e&&console.warn(f_),window.Stripe){t(window.Stripe);return}try{var a=yP();if(a&&e)console.warn(f_);else if(!a)a=m_(e);else if(a&&rs!==null&&es!==null){var i;a.removeEventListener("load",rs),a.removeEventListener("error",es),(i=a.parentNode)===null||i===void 0||i.removeChild(a),a=m_(e)}rs=wP(t,n),es=kP(n),a.addEventListener("load",rs),a.addEventListener("error",es)}catch(s){n(s);return}}),Go.catch(function(t){return Go=null,Promise.reject(t)}))},xP=function(e,t,n){if(e===null)return null;var a=t[0];if(typeof a!="string")throw new Error("Expected publishable key to be of type string, got type ".concat(Yo(a)," instead."));var i=a.match(/^pk_test/),s=gP(e.version),c=__;i&&s!==c&&console.warn("Stripe.js@".concat(s," was loaded on the page, but @stripe/stripe-js@").concat("9.7.0"," expected Stripe.js@").concat(c,". This may result in unexpected behavior. For more information, see https://docs.stripe.com/sdks/stripejs-versioning"));var l=e.apply(void 0,t);return bP(l,n),l},h_=function(e){var t=`invalid load parameters; expected object of shape
270
270
 
271
271
  {advancedFraudSignals: boolean}
272
272
 
273
273
  but received
274
274
 
275
275
  `.concat(JSON.stringify(e),`
276
- `);if(e===null||Ho(e)!=="object")throw new Error(t);if(Object.keys(e).length===1&&typeof e.advancedFraudSignals=="boolean")return e;throw new Error(t)},es,sc=!1,f_=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];sc=!0;var a=Date.now();return mP(es).then(function(i){return hP(i,t,a)})};f_.setLoadParameters=function(r){if(sc&&es){var e=g_(r),t=Object.keys(e),n=t.reduce(function(a,i){var s;return a&&r[i]===((s=es)===null||s===void 0?void 0:s[i])},!0);if(n)return}if(sc)throw new Error("You cannot change load parameters after calling loadStripe");es=g_(r)};const vP={error:"#B0171F",warning:"#f4e971",focus:"#1148B8",accent:"#767676",primary:"#576CDB","primary-hover":"rgba(87, 108, 219, .8)","primary-pressed":"rgba(87, 108, 219, .9)","primary-text":"#ffffff",white:"#ffffff","grey-text-dark":"rgba(0,0,0,1)","grey-text-light":"rgba(0,0,0,0.7)","grey-ui-dark":"rgba(0,0,0,0.3)","grey-ui-light":"rgba(0,0,0,0.1)","input-background":"white",background:"white"},yP={error:"#B0171F",warning:"#f4e971",focus:"#1148B8",accent:"#767676",primary:"#576CDB","primary-hover":"rgba(87, 108, 219, .8)","primary-pressed":"rgba(87, 108, 219, .9)","primary-text":"#ffffff",white:"#ffffff","grey-text-dark":"rgba(0,0,0,1)","grey-text-light":"rgba(0,0,0,0.7)","grey-ui-dark":"rgba(0,0,0,0.3)","grey-ui-light":"rgba(0,0,0,0.1)","input-background":"white",background:"#EFF3FA"},bP={error:"#B0171F",warning:"#f4e971",focus:"#1148B8",accent:"#767676",primary:"#576CDB","primary-hover":"rgba(87, 108, 219, .8)","primary-pressed":"rgba(87, 108, 219, .9)","primary-text":"#ffffff",white:"#ffffff","grey-text-dark":"rgba(0,0,0,1)","grey-text-light":"rgba(0,0,0,0.7)","grey-ui-dark":"rgba(0,0,0,0.3)","grey-ui-light":"rgba(0,0,0,0.1)","input-background":"white",background:"#ffffff"},lc={error:"color_error",focus:"color_accent",accent:"color_accent",primary:"color_buttons_primary"},kP={...lc,"input-background":"color_form_bg",background:"color_form_bg"},wP={...lc,"input-background":"color_product_info_bg",background:"color_product_info_bg"},PP={...lc,"input-background":"color_page_bg",background:"color_page_bg"},m_={"input-border-radius":"4px","input-button-border-radius":"8px"},xP={"input-border-radius":"0px","input-button-border-radius":"0px"},EP={"input-border-radius":"12px","input-button-border-radius":"9999px"},h_=m_,Yo="-apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Cantarell, Ubuntu, roboto, noto, arial, sans-serif",v_="BrandCustomFont",y_=`${v_}, ${Yo}`,$t={regular:"400",medium:"500",semibold:"600"},St={12:"12px",14:"14px",16:"16px",18:"18px",24:"24px",28:"28px",32:"32px",36:"36px"},en={130:"130%",140:"140%"},rn={tight:"0.20%",regular:"0",loose:"0.20%"},Fr={heading2xl:{fontSize:St[28],lineHeight:en[130],fontWeight:$t.semibold,letterSpacing:rn.loose},headingXl:{fontSize:St[24],lineHeight:en[130],fontWeight:$t.semibold,letterSpacing:rn.loose},headingLg:{fontSize:"20px",lineHeight:en[130],fontWeight:$t.semibold,letterSpacing:rn.loose},headingMd:{fontSize:"16px",lineHeight:en[140],fontWeight:$t.medium,letterSpacing:rn.regular},bodyBase:{fontSize:St[16],lineHeight:en[140],fontWeight:$t.regular,letterSpacing:rn.regular},bodySmall:{fontSize:St[14],lineHeight:en[140],fontWeight:$t.regular,letterSpacing:rn.regular},labelButton:{fontSize:St[16],lineHeight:en[140],fontWeight:$t.semibold,letterSpacing:rn.tight},labelDefault:{fontSize:St[14],lineHeight:en[140],fontWeight:$t.regular,letterSpacing:rn.tight},captionDefault:{fontSize:St[12],lineHeight:en[140],fontWeight:$t.regular,letterSpacing:rn.regular},captionLink:{fontSize:St[12],lineHeight:en[140],fontWeight:$t.regular,letterSpacing:rn.regular}},tn={heading2xl:{...Fr.heading2xl,fontSize:St[36]},headingXl:{...Fr.headingXl,fontSize:St[32]},headingLg:{...Fr.headingLg,fontSize:St[24]},headingMd:{...Fr.headingMd,fontSize:St[18]},bodyBase:{...Fr.bodyBase},bodySmall:{...Fr.bodySmall},labelButton:{...Fr.labelButton},labelDefault:{...Fr.labelDefault},captionDefault:{...Fr.captionDefault},captionLink:{...Fr.captionLink}},cc={heading2xl:{mobile:Fr.heading2xl,desktop:tn.heading2xl},headingXl:{desktop:tn.headingXl,mobile:Fr.headingXl},headingLg:{desktop:tn.headingLg,mobile:Fr.headingLg},headingMd:{desktop:tn.headingMd,mobile:Fr.headingMd},bodyBase:{desktop:tn.bodyBase,mobile:Fr.bodyBase},bodySmall:{desktop:tn.bodySmall,mobile:Fr.bodySmall},labelButton:{desktop:tn.labelButton,mobile:Fr.labelButton},labelDefault:{desktop:tn.labelDefault,mobile:Fr.labelDefault},captionDefault:{desktop:tn.captionDefault,mobile:Fr.captionDefault},captionLink:{desktop:tn.captionLink,mobile:Fr.captionLink}},Ka=r=>r.length==7?{r:parseInt(r.slice(1,3),16),g:parseInt(r.slice(3,5),16),b:parseInt(r.slice(5,7),16)}:r.length==4?{r:parseInt(r[1],16),g:parseInt(r[2],16),b:parseInt(r[3],16)}:null,rs=({r,g:e,b:t,luminanceThreshold:n})=>{const a=s=>(s=s/255,s<=.03928?s/12.92:Math.pow((s+.055)/1.055,2.4));return .2126*a(r)+.7152*a(e)+.0722*a(t)>n},ts=.37,SP=(r,e=ts)=>{const t=Ka(r);return t?rs({...t,luminanceThreshold:e}):!0},IP=(r,e=ts)=>{const t=rs({...r,luminanceThreshold:e})?"0,0,0":"255,255,255";return{"grey-text-dark":`rgb(${t})`,"grey-text-light":`rgba(${t},0.70)`,"grey-ui-dark":`rgba(${t},0.3)`,"grey-ui-light":`rgba(${t},0.1)`}};function CP(r,e,t){const n=Ka(r)||{r:0,g:0,b:0},a=Ka(e)||{r:255,g:255,b:255},i=Math.round(a.r*t+n.r*(1-t)),s=Math.round(a.g*t+n.g*(1-t)),c=Math.round(a.b*t+n.b*(1-t));return`#${uc(i)}${uc(s)}${uc(c)}`}function b_(r,e){const t={r:255,g:255,b:255},n=Math.max(0,Math.min(1,e));let a=r,i=Ka(r)||t;(isNaN(i.r)||isNaN(i.g)||isNaN(i.b))&&(i=t,a="#FFFFFF");const c=rs({...i,luminanceThreshold:ts})?"#000000":"#FFFFFF";return CP(a,c,n)}function uc(r){return r.toString(16).padStart(2,"0").toUpperCase()}const TP=(r,e,t,n,a=ts)=>{const i={"grey-text-dark":n["grey-text-dark"],"grey-text-light":n["grey-text-light"],"grey-ui-dark":n["grey-ui-dark"],"grey-ui-light":n["grey-ui-light"],"primary-text":n["primary-text"]};if(r!=null&&r.startsWith("#")){const s=Ka(r);s!==null&&Object.assign(i,IP(s))}if(t)i["primary-text"]=t;else if(e!=null&&e.startsWith("#")){const s=Ka(e);s!==null&&(i["primary-text"]=rs({...s,luminanceThreshold:a})?"black":"white")}return i},DP=r=>({"primary-hover":b_(r,.1),"primary-pressed":b_(r,.15)}),AP=(r,e)=>r||e,FP=(r,e,t)=>{const n=Object.entries(r).map(([a,i])=>[a,AP(t?t[i]:null,e[a])]);return Object.fromEntries(n)},dc=(r,e,t)=>{const n=FP(r,e,t);return t?{...e,...n,...TP(n.background,n.primary,t.color_buttons_primary_text,e),...DP(n.primary)}:{...e}},k_=r=>dc(wP,yP,r),w_=r=>dc(kP,vP,r),zP=r=>dc(PP,bP,r),ns=r=>{if(!r)return h_;switch(r.shapes){case"rounded":return m_;case"rectangle":return xP;case"pill":return EP;default:return h_}},Xa=(r="",e)=>e.map(([t,n])=>`--rc-${r}-${t}: ${n}`).join("; "),P_=r=>{const e=Xa("color",Object.entries(k_(r))),t=Xa("shape",Object.entries(ns(r)));return[e,t].join("; ")},MP=r=>{const e=Xa("color",Object.entries(w_(r))),t=Xa("shape",Object.entries(ns(r)));return[e,t].join("; ")},qP=r=>{const e=Xa("color",Object.entries(zP(r))),t=Xa("shape",Object.entries(ns(r)));return[e,t].join("; ")},OP=(r="",e,t)=>Object.entries(e).flatMap(([n,{desktop:a,mobile:i}])=>{const s=`normal normal ${a.fontWeight} ${a.fontSize}/${a.lineHeight} ${Yo}`,c=`normal normal ${i.fontWeight} ${i.fontSize}/${i.lineHeight} ${Yo}`,l=`normal normal ${t==null?void 0:t.desktop.font_weight} ${t==null?void 0:t.desktop.font_size} ${y_}`,u=`normal normal ${t==null?void 0:t.mobile.font_weight} ${t==null?void 0:t.mobile.font_size} ${y_}`;return[`--rc-${r}-${n}-desktop: ${s}`,`--rc-${r}-${n}-mobile: ${c}`,`--rc-${r}-${n}-branded-desktop: ${t?l:s}`,`--rc-${r}-${n}-branded-mobile: ${t?u:c}`,`--rc-${r}-${n}-desktop-font-size: ${a.fontSize}`,`--rc-${r}-${n}-mobile-font-size: ${i.fontSize}`]}).join("; "),LP=(r="",e)=>Object.entries(e).map(([t,{mobile:n,desktop:a}])=>`--rc-${r}-${t}-mobile: ${n}; --rc-${r}-${t}-desktop: ${a};`).join(" "),NP={outerPaddingTop:{mobile:"0.25rem",desktop:"clamp(1rem, 8.44vw, 7.5rem)"},outerPadding:{mobile:"clamp(1.3125rem, 5.6vw, 1.5rem)",desktop:"clamp(3rem, 6.44vw, 4.5rem)"},gapSmall:{mobile:"0.25rem",desktop:"0.5rem"},gapMedium:{mobile:"0.5rem",desktop:"0.75rem"},gapLarge:{mobile:"0.75rem",desktop:"1rem"},gapXLarge:{mobile:"1rem",desktop:"2rem"},gapXXLarge:{mobile:"1.25rem",desktop:"2.25rem"},gapXXXLarge:{mobile:"2.25rem",desktop:"5rem"},inputHeight:{mobile:"3rem",desktop:"3rem"}};class Wn{constructor(e){ee(this,"brandingAppearance");e?this.brandingAppearance=e:this.brandingAppearance=void 0}get shape(){return ns(this.brandingAppearance)}get formColors(){return w_(this.brandingAppearance)}get formStyleVars(){return MP(this.brandingAppearance)}get productInfoStyleVars(){return P_(this.brandingAppearance)}get pageStyleVars(){return qP(this.brandingAppearance)}get spacing(){return NP}get textStyles(){return cc}getTextStyleVars(e){return OP("text",this.textStyles,e)}get spacingStyleVars(){return LP("spacing",this.spacing)}}var pc=(r=>(r[r.ErrorLoadingStripe=0]="ErrorLoadingStripe",r[r.HandledFormError=1]="HandledFormError",r[r.UnhandledFormError=2]="UnhandledFormError",r))(pc||{});class Go{constructor(e,t,n){this.code=e,this.gatewayErrorCode=t,this.message=n}}const Dt=class Dt{static getStripeLocale(e){if(["ca","hi","uk"].includes(e))return"auto";const n={zh_Hans:"zh","zh-Hans":"zh",zh_Hant:"zh-TW","zh-Hant":"zh-TW"};return Object.keys(n).includes(e)?n[e]:e}static async getStripeClient(e,t){const n=await f_(t,{stripeAccount:e}).catch(a=>{throw this.mapInitializationError(a)});if(!n)throw{code:0,gatewayErrorCode:void 0,message:"Stripe client not found"};return{stripe:n}}static async initializeStripe(e,t,n,a,i,s,c){if(!t||!e||!n)throw{code:0,gatewayErrorCode:void 0,message:"Stripe configuration is missing"};const{stripe:l}=await this.getStripeClient(e,t),u=new Wn(a==null?void 0:a.appearance),d=u.shape,_=u.formColors,p=u.textStyles,f=cc.bodyBase[c].fontSize||cc.bodyBase.mobile.fontSize;let g;try{g=l.elements({mode:n.mode,paymentMethodTypes:n.payment_method_types,setupFutureUsage:n.setup_future_usage,amount:n.amount,currency:n.currency,loader:"always",locale:i,appearance:{theme:"stripe",labels:"floating",variables:{borderRadius:d["input-border-radius"],focusBoxShadow:"none",colorDanger:_.error,colorTextPlaceholder:_["grey-text-light"],colorText:_["grey-text-dark"],colorTextSecondary:_["grey-text-light"],fontSizeBase:f,...s},rules:{".Input":{boxShadow:"none",paddingTop:"6px",paddingBottom:"6px",fontSize:f,border:`1px solid ${_["grey-ui-dark"]}`,backgroundColor:_["input-background"],color:_["grey-text-dark"]},".Input:focus":{border:`1px solid ${_.focus}`,outline:"none"},".Label":{fontWeight:p.labelDefault[c].fontWeight,lineHeight:"22px",color:_["grey-text-dark"]},".Label--floating":{opacity:"1"},".Input--invalid":{boxShadow:"none"}}}})}catch(b){throw this.mapInitializationError(b)}return{stripe:l,elements:g}}static async initializeStripeCheckout(e,t,n,a){if(!e||!t||!n)throw{code:0,gatewayErrorCode:void 0,message:"Stripe configuration is missing"};const{stripe:i}=await this.getStripeClient(e,t);let s;try{s=await i.createEmbeddedCheckoutPage({fetchClientSecret:()=>Promise.resolve(n.client_secret),onComplete:a})}catch(c){throw this.mapInitializationError(c)}return{stripe:i,embeddedCheckout:s}}static updateElementsConfiguration(e,t){e.update({mode:t.mode,paymentMethodTypes:t.payment_method_types,setupFutureUsage:t.setup_future_usage,amount:t.amount,currency:t.currency})}static isStripeHandledFormError(e){const t=e.type==="validation_error",n=e.type==="card_error"&&e.code&&this.FORM_VALIDATED_CARD_ERROR_CODES.includes(e.code);return t||n}static createPaymentElement(e,t){return e.create("payment",{business:t?{name:t}:void 0,layout:{type:"tabs"},terms:{applePay:"never",auBecsDebit:"never",bancontact:"never",card:"never",cashapp:"never",googlePay:"never",ideal:"never",paypal:"never",sepaDebit:"never",sofort:"never",usBankAccount:"never"}})}static countryRequiresFullAddressForTaxes(e){return!!e&&Dt.FULL_ADDRESS_REQUIRED_TAX_COUNTRY_CODES.includes(e)}static createAddressElement(e,t){return e.create("address",{mode:"billing",display:{name:"full"},...t?{defaultValues:{address:{country:t}}}:{}})}static createExpressCheckoutElement(e,t,n){const a={billingAddressRequired:!0,emailRequired:!0,...t?{paymentMethods:{applePay:"always",googlePay:"always"}}:{},...n||{}};return e.create("expressCheckout",a)}static createLinkAuthenticationElement(e,t){return e.create("linkAuthentication",{defaultValues:{email:t??""}})}static async submitElements(e){const{error:t}=await e.submit();if(t)throw this.mapError(t)}static mapInitializationError(e){return new Go(0,e.code,e.message)}static mapError(e){return this.isStripeHandledFormError(e)?new Go(1,e.code,e.message):new Go(2,e.code,e.message)}static async confirmElements(e,t,n,a){const i={clientSecret:n,redirect:"if_required"},s=a?{...i,confirmParams:{confirmation_token:a}}:{...i,elements:t},c=n.startsWith("seti_");let l;if(c?l=await e.confirmSetup(s):l=await e.confirmPayment(s),l!=null&&l.error)throw this.mapError(l.error)}static async extractTaxCustomerDetails(e,t){var s,c;const{error:n,confirmationToken:a}=await t.createConfirmationToken({elements:e});if(n)throw this.mapError(n);const i=(c=(s=a.payment_method_preview)==null?void 0:s.billing_details)==null?void 0:c.address;return{customerDetails:{countryCode:(i==null?void 0:i.country)??void 0,postalCode:(i==null?void 0:i.postal_code)??void 0,state:(i==null?void 0:i.state)??void 0,city:(i==null?void 0:i.city)??void 0,addressLine1:(i==null?void 0:i.line1)??void 0,addressLine2:(i==null?void 0:i.line2)??void 0},confirmationTokenId:a.id}}static nextDateForPeriod(e,t){return e.unit===fr.Year?(t.setFullYear(t.getFullYear()+e.number),t):e.unit===fr.Month?(t.setMonth(t.getMonth()+e.number),t):e.unit===fr.Week?(t.setDate(t.getDate()+e.number*7),t):(e.unit===fr.Day&&t.setDate(t.getDate()+e.number),t)}static applePayPeriod(e){return e.unit===fr.Week?{recurringPaymentIntervalUnit:"day",recurringPaymentIntervalCount:e.number*7}:{recurringPaymentIntervalUnit:e.unit,recurringPaymentIntervalCount:e.number}}static microsToMinimumAmountPrice(e,t){return["BIF","CLP","DJF","GNF","JPY","KMF","KRW","MGA","PYG","RWF","UGX","VND","VUV","XAF","XOF","XPF"].includes(t)?Math.floor(e/1e6):Math.floor(e/1e4)}static toExpressCheckoutLineItems(e,t,n){const{currency:a}=t,i=Dt.microsToMinimumAmountPrice(t.totalAmountInMicros,a),s=Dt.microsToMinimumAmountPrice(n.discountAmountInMicros,a);return[{name:e,amount:i+s},{name:n.label,amount:-s}]}static buildStripeExpressCheckoutOptionsForSubscription(e,t,n,a,i,s,c,l,u){var k;const d={maxRows:c,maxColumns:l,overflow:u},_=s&&s.discountAmountInMicros>0?Dt.toExpressCheckoutLineItems(e.title,t,s):void 0,p=Dt.microsToMinimumAmountPrice(t.totalAmountInMicros,t.currency),f=n.trial,g=(k=n.trial)==null?void 0:k.period,b=n.base.period,y=f&&g?Dt.nextDateForPeriod(g,new Date):void 0,h=b?Dt.applePayPeriod(b):{};return{layout:d,..._?{lineItems:_}:{},applePay:{recurringPaymentRequest:{paymentDescription:e.title,managementURL:i,...f?{trialBilling:{label:a.translate(de.ApplePayFreeTrial),amount:0}}:{},regularBilling:{label:e.title,amount:p,recurringPaymentStartDate:y,...h}}}}}static buildStripeExpressCheckoutOptionsForNonSubscription(e,t,n,a,i,s){const c={maxRows:a,maxColumns:i,overflow:s},l=n&&n.discountAmountInMicros>0?Dt.toExpressCheckoutLineItems(e.title,t,n):void 0;return{layout:c,...l?{lineItems:l}:{}}}};ee(Dt,"FORM_VALIDATED_CARD_ERROR_CODES",["card_declined","expired_card","incorrect_cvc","incorrect_number"]),ee(Dt,"FULL_ADDRESS_REQUIRED_TAX_COUNTRY_CODES",["CA","PR","IN"]);let tr=Dt;var jP=R("<div></div>");function BP(r,e){he(e,!0);let t=null;const n="payment-element",a=async s=>{await e.onError(tr.mapInitializationError(s.error))};br(()=>{var s;try{t=tr.createPaymentElement(e.elements,(s=e.brandingInfo)==null?void 0:s.app_name),t.mount(`#${n}`),t.on("ready",e.onReady),t.on("change",e.onChange),t.on("loaderror",a)}catch(c){e.onError(tr.mapInitializationError(c))}}),qt(()=>{t==null||t.destroy(),t=null});var i=jP();ke(i,"id",n),P(r,i),ve()}var RP=R("<div></div>");function UP(r,e){he(e,!0);let t=null;const n="link-authentication-element",a=async s=>{await e.onError(tr.mapInitializationError(s.error))};br(()=>{try{t=tr.createLinkAuthenticationElement(e.elements,e.email),t.mount(`#${n}`),t.on("ready",e.onReady),t.on("change",e.onChange),t.on("loaderror",a)}catch(s){e.onError(tr.mapInitializationError(s))}}),qt(()=>{t==null||t.destroy(),t=null});var i=RP();ke(i,"id",n),P(r,i),ve()}var VP=R('<div class="text-separator svelte-3efq78"><hr class="line svelte-3efq78"/> <span class="text svelte-3efq78"><!></span> <hr class="line svelte-3efq78"/></div>');const HP={hash:"svelte-3efq78",code:`.text-separator.svelte-3efq78 {display:flex;align-items:center;justify-content:center;gap:var(--rc-spacing-gapSmall-mobile);}
276
+ `);if(e===null||Yo(e)!=="object")throw new Error(t);if(Object.keys(e).length===1&&typeof e.advancedFraudSignals=="boolean")return e;throw new Error(t)},ts,sc=!1,v_=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];sc=!0;var a=Date.now();return PP(ts).then(function(i){return xP(i,t,a)})};v_.setLoadParameters=function(r){if(sc&&ts){var e=h_(r),t=Object.keys(e),n=t.reduce(function(a,i){var s;return a&&r[i]===((s=ts)===null||s===void 0?void 0:s[i])},!0);if(n)return}if(sc)throw new Error("You cannot change load parameters after calling loadStripe");ts=h_(r)};const EP={error:"#B0171F",warning:"#f4e971",focus:"#1148B8",accent:"#767676",primary:"#576CDB","primary-hover":"rgba(87, 108, 219, .8)","primary-pressed":"rgba(87, 108, 219, .9)","primary-text":"#ffffff",white:"#ffffff","grey-text-dark":"rgba(0,0,0,1)","grey-text-light":"rgba(0,0,0,0.7)","grey-ui-dark":"rgba(0,0,0,0.3)","grey-ui-light":"rgba(0,0,0,0.1)","input-background":"white",background:"white"},SP={error:"#B0171F",warning:"#f4e971",focus:"#1148B8",accent:"#767676",primary:"#576CDB","primary-hover":"rgba(87, 108, 219, .8)","primary-pressed":"rgba(87, 108, 219, .9)","primary-text":"#ffffff",white:"#ffffff","grey-text-dark":"rgba(0,0,0,1)","grey-text-light":"rgba(0,0,0,0.7)","grey-ui-dark":"rgba(0,0,0,0.3)","grey-ui-light":"rgba(0,0,0,0.1)","input-background":"white",background:"#EFF3FA"},IP={error:"#B0171F",warning:"#f4e971",focus:"#1148B8",accent:"#767676",primary:"#576CDB","primary-hover":"rgba(87, 108, 219, .8)","primary-pressed":"rgba(87, 108, 219, .9)","primary-text":"#ffffff",white:"#ffffff","grey-text-dark":"rgba(0,0,0,1)","grey-text-light":"rgba(0,0,0,0.7)","grey-ui-dark":"rgba(0,0,0,0.3)","grey-ui-light":"rgba(0,0,0,0.1)","input-background":"white",background:"#ffffff"},lc={error:"color_error",focus:"color_accent",accent:"color_accent",primary:"color_buttons_primary"},CP={...lc,"input-background":"color_form_bg",background:"color_form_bg"},TP={...lc,"input-background":"color_product_info_bg",background:"color_product_info_bg"},DP={...lc,"input-background":"color_page_bg",background:"color_page_bg"},y_={"input-border-radius":"4px","input-button-border-radius":"8px"},AP={"input-border-radius":"0px","input-button-border-radius":"0px"},FP={"input-border-radius":"12px","input-button-border-radius":"9999px"},b_=y_,Ko="-apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Cantarell, Ubuntu, roboto, noto, arial, sans-serif",k_="BrandCustomFont",w_=`${k_}, ${Ko}`,nn={regular:"400",medium:"500",semibold:"600"},Tt={12:"12px",14:"14px",16:"16px",18:"18px",24:"24px",28:"28px",32:"32px",36:"36px"},an={130:"130%",140:"140%"},on={tight:"0.20%",regular:"0",loose:"0.20%"},Fr={heading2xl:{fontSize:Tt[28],lineHeight:an[130],fontWeight:nn.semibold,letterSpacing:on.loose},headingXl:{fontSize:Tt[24],lineHeight:an[130],fontWeight:nn.semibold,letterSpacing:on.loose},headingLg:{fontSize:"20px",lineHeight:an[130],fontWeight:nn.semibold,letterSpacing:on.loose},headingMd:{fontSize:"16px",lineHeight:an[140],fontWeight:nn.medium,letterSpacing:on.regular},bodyBase:{fontSize:Tt[16],lineHeight:an[140],fontWeight:nn.regular,letterSpacing:on.regular},bodySmall:{fontSize:Tt[14],lineHeight:an[140],fontWeight:nn.regular,letterSpacing:on.regular},labelButton:{fontSize:Tt[16],lineHeight:an[140],fontWeight:nn.semibold,letterSpacing:on.tight},labelDefault:{fontSize:Tt[14],lineHeight:an[140],fontWeight:nn.regular,letterSpacing:on.tight},captionDefault:{fontSize:Tt[12],lineHeight:an[140],fontWeight:nn.regular,letterSpacing:on.regular},captionLink:{fontSize:Tt[12],lineHeight:an[140],fontWeight:nn.regular,letterSpacing:on.regular}},sn={heading2xl:{...Fr.heading2xl,fontSize:Tt[36]},headingXl:{...Fr.headingXl,fontSize:Tt[32]},headingLg:{...Fr.headingLg,fontSize:Tt[24]},headingMd:{...Fr.headingMd,fontSize:Tt[18]},bodyBase:{...Fr.bodyBase},bodySmall:{...Fr.bodySmall},labelButton:{...Fr.labelButton},labelDefault:{...Fr.labelDefault},captionDefault:{...Fr.captionDefault},captionLink:{...Fr.captionLink}},cc={heading2xl:{mobile:Fr.heading2xl,desktop:sn.heading2xl},headingXl:{desktop:sn.headingXl,mobile:Fr.headingXl},headingLg:{desktop:sn.headingLg,mobile:Fr.headingLg},headingMd:{desktop:sn.headingMd,mobile:Fr.headingMd},bodyBase:{desktop:sn.bodyBase,mobile:Fr.bodyBase},bodySmall:{desktop:sn.bodySmall,mobile:Fr.bodySmall},labelButton:{desktop:sn.labelButton,mobile:Fr.labelButton},labelDefault:{desktop:sn.labelDefault,mobile:Fr.labelDefault},captionDefault:{desktop:sn.captionDefault,mobile:Fr.captionDefault},captionLink:{desktop:sn.captionLink,mobile:Fr.captionLink}},Ka=r=>r.length==7?{r:parseInt(r.slice(1,3),16),g:parseInt(r.slice(3,5),16),b:parseInt(r.slice(5,7),16)}:r.length==4?{r:parseInt(r[1],16),g:parseInt(r[2],16),b:parseInt(r[3],16)}:null,ns=({r,g:e,b:t,luminanceThreshold:n})=>{const a=s=>(s=s/255,s<=.03928?s/12.92:Math.pow((s+.055)/1.055,2.4));return .2126*a(r)+.7152*a(e)+.0722*a(t)>n},as=.37,MP=(r,e=as)=>{const t=Ka(r);return t?ns({...t,luminanceThreshold:e}):!0},zP=(r,e=as)=>{const t=ns({...r,luminanceThreshold:e})?"0,0,0":"255,255,255";return{"grey-text-dark":`rgb(${t})`,"grey-text-light":`rgba(${t},0.70)`,"grey-ui-dark":`rgba(${t},0.3)`,"grey-ui-light":`rgba(${t},0.1)`}};function qP(r,e,t){const n=Ka(r)||{r:0,g:0,b:0},a=Ka(e)||{r:255,g:255,b:255},i=Math.round(a.r*t+n.r*(1-t)),s=Math.round(a.g*t+n.g*(1-t)),c=Math.round(a.b*t+n.b*(1-t));return`#${uc(i)}${uc(s)}${uc(c)}`}function P_(r,e){const t={r:255,g:255,b:255},n=Math.max(0,Math.min(1,e));let a=r,i=Ka(r)||t;(isNaN(i.r)||isNaN(i.g)||isNaN(i.b))&&(i=t,a="#FFFFFF");const c=ns({...i,luminanceThreshold:as})?"#000000":"#FFFFFF";return qP(a,c,n)}function uc(r){return r.toString(16).padStart(2,"0").toUpperCase()}const OP=(r,e,t,n,a=as)=>{const i={"grey-text-dark":n["grey-text-dark"],"grey-text-light":n["grey-text-light"],"grey-ui-dark":n["grey-ui-dark"],"grey-ui-light":n["grey-ui-light"],"primary-text":n["primary-text"]};if(r!=null&&r.startsWith("#")){const s=Ka(r);s!==null&&Object.assign(i,zP(s))}if(t)i["primary-text"]=t;else if(e!=null&&e.startsWith("#")){const s=Ka(e);s!==null&&(i["primary-text"]=ns({...s,luminanceThreshold:a})?"black":"white")}return i},LP=r=>({"primary-hover":P_(r,.1),"primary-pressed":P_(r,.15)}),NP=(r,e)=>r||e,jP=(r,e,t)=>{const n=Object.entries(r).map(([a,i])=>[a,NP(t?t[i]:null,e[a])]);return Object.fromEntries(n)},dc=(r,e,t)=>{const n=jP(r,e,t);return t?{...e,...n,...OP(n.background,n.primary,t.color_buttons_primary_text,e),...LP(n.primary)}:{...e}},x_=r=>dc(TP,SP,r),E_=r=>dc(CP,EP,r),BP=r=>dc(DP,IP,r),os=r=>{if(!r)return b_;switch(r.shapes){case"rounded":return y_;case"rectangle":return AP;case"pill":return FP;default:return b_}},Xa=(r="",e)=>e.map(([t,n])=>`--rc-${r}-${t}: ${n}`).join("; "),S_=r=>{const e=Xa("color",Object.entries(x_(r))),t=Xa("shape",Object.entries(os(r)));return[e,t].join("; ")},RP=r=>{const e=Xa("color",Object.entries(E_(r))),t=Xa("shape",Object.entries(os(r)));return[e,t].join("; ")},UP=r=>{const e=Xa("color",Object.entries(BP(r))),t=Xa("shape",Object.entries(os(r)));return[e,t].join("; ")},VP=(r="",e,t)=>Object.entries(e).flatMap(([n,{desktop:a,mobile:i}])=>{const s=`normal normal ${a.fontWeight} ${a.fontSize}/${a.lineHeight} ${Ko}`,c=`normal normal ${i.fontWeight} ${i.fontSize}/${i.lineHeight} ${Ko}`,l=`normal normal ${t==null?void 0:t.desktop.font_weight} ${t==null?void 0:t.desktop.font_size} ${w_}`,u=`normal normal ${t==null?void 0:t.mobile.font_weight} ${t==null?void 0:t.mobile.font_size} ${w_}`;return[`--rc-${r}-${n}-desktop: ${s}`,`--rc-${r}-${n}-mobile: ${c}`,`--rc-${r}-${n}-branded-desktop: ${t?l:s}`,`--rc-${r}-${n}-branded-mobile: ${t?u:c}`,`--rc-${r}-${n}-desktop-font-size: ${a.fontSize}`,`--rc-${r}-${n}-mobile-font-size: ${i.fontSize}`]}).join("; "),HP=(r="",e)=>Object.entries(e).map(([t,{mobile:n,desktop:a}])=>`--rc-${r}-${t}-mobile: ${n}; --rc-${r}-${t}-desktop: ${a};`).join(" "),WP={outerPaddingTop:{mobile:"0.25rem",desktop:"clamp(1rem, 8.44vw, 7.5rem)"},outerPadding:{mobile:"clamp(1.3125rem, 5.6vw, 1.5rem)",desktop:"clamp(3rem, 6.44vw, 4.5rem)"},gapSmall:{mobile:"0.25rem",desktop:"0.5rem"},gapMedium:{mobile:"0.5rem",desktop:"0.75rem"},gapLarge:{mobile:"0.75rem",desktop:"1rem"},gapXLarge:{mobile:"1rem",desktop:"2rem"},gapXXLarge:{mobile:"1.25rem",desktop:"2.25rem"},gapXXXLarge:{mobile:"2.25rem",desktop:"5rem"},inputHeight:{mobile:"3rem",desktop:"3rem"}};class Hn{constructor(e){re(this,"brandingAppearance");e?this.brandingAppearance=e:this.brandingAppearance=void 0}get shape(){return os(this.brandingAppearance)}get formColors(){return E_(this.brandingAppearance)}get formStyleVars(){return RP(this.brandingAppearance)}get productInfoStyleVars(){return S_(this.brandingAppearance)}get pageStyleVars(){return UP(this.brandingAppearance)}get spacing(){return WP}get textStyles(){return cc}getTextStyleVars(e){return VP("text",this.textStyles,e)}get spacingStyleVars(){return HP("spacing",this.spacing)}}var pc=(r=>(r[r.ErrorLoadingStripe=0]="ErrorLoadingStripe",r[r.HandledFormError=1]="HandledFormError",r[r.UnhandledFormError=2]="UnhandledFormError",r))(pc||{});class Xo{constructor(e,t,n){this.code=e,this.gatewayErrorCode=t,this.message=n}}const Mt=class Mt{static getStripeLocale(e){if(["ca","hi","uk"].includes(e))return"auto";const n={zh_Hans:"zh","zh-Hans":"zh",zh_Hant:"zh-TW","zh-Hant":"zh-TW"};return Object.keys(n).includes(e)?n[e]:e}static async getStripeClient(e,t){const n=await v_(t,{stripeAccount:e}).catch(a=>{throw this.mapInitializationError(a)});if(!n)throw{code:0,gatewayErrorCode:void 0,message:"Stripe client not found"};return{stripe:n}}static async initializeStripe(e,t,n,a,i,s,c){if(!t||!e||!n)throw{code:0,gatewayErrorCode:void 0,message:"Stripe configuration is missing"};const{stripe:l}=await this.getStripeClient(e,t),u=new Hn(a==null?void 0:a.appearance),d=u.shape,p=u.formColors,_=u.textStyles,h=cc.bodyBase[c].fontSize||cc.bodyBase.mobile.fontSize;let f;try{f=l.elements({mode:n.mode,paymentMethodTypes:n.payment_method_types,setupFutureUsage:n.setup_future_usage,amount:n.amount,currency:n.currency,loader:"always",locale:i,appearance:{theme:"stripe",labels:"floating",variables:{borderRadius:d["input-border-radius"],focusBoxShadow:"none",colorDanger:p.error,colorTextPlaceholder:p["grey-text-light"],colorText:p["grey-text-dark"],colorTextSecondary:p["grey-text-light"],fontSizeBase:h,...s},rules:{".Input":{boxShadow:"none",paddingTop:"6px",paddingBottom:"6px",fontSize:h,border:`1px solid ${p["grey-ui-dark"]}`,backgroundColor:p["input-background"],color:p["grey-text-dark"]},".Input:focus":{border:`1px solid ${p.focus}`,outline:"none"},".Label":{fontWeight:_.labelDefault[c].fontWeight,lineHeight:"22px",color:p["grey-text-dark"]},".Label--floating":{opacity:"1"},".Input--invalid":{boxShadow:"none"}}}})}catch(b){throw this.mapInitializationError(b)}return{stripe:l,elements:f}}static async initializeStripeCheckout(e,t,n,a){if(!e||!t||!n)throw{code:0,gatewayErrorCode:void 0,message:"Stripe configuration is missing"};const{stripe:i}=await this.getStripeClient(e,t);let s;try{s=await i.createEmbeddedCheckoutPage({fetchClientSecret:()=>Promise.resolve(n.client_secret),onComplete:a})}catch(c){throw this.mapInitializationError(c)}return{stripe:i,embeddedCheckout:s}}static updateElementsConfiguration(e,t){e.update({mode:t.mode,paymentMethodTypes:t.payment_method_types,setupFutureUsage:t.setup_future_usage,amount:t.amount,currency:t.currency})}static isStripeHandledFormError(e){const t=e.type==="validation_error",n=e.type==="card_error"&&e.code&&this.FORM_VALIDATED_CARD_ERROR_CODES.includes(e.code);return t||n}static createPaymentElement(e,t){return e.create("payment",{business:t?{name:t}:void 0,layout:{type:"tabs"},terms:{applePay:"never",auBecsDebit:"never",bancontact:"never",card:"never",cashapp:"never",googlePay:"never",ideal:"never",paypal:"never",sepaDebit:"never",sofort:"never",usBankAccount:"never"}})}static countryRequiresFullAddressForTaxes(e){return!!e&&Mt.FULL_ADDRESS_REQUIRED_TAX_COUNTRY_CODES.includes(e)}static createAddressElement(e,t){return e.create("address",{mode:"billing",display:{name:"full"},...t?{defaultValues:{address:{country:t}}}:{}})}static createExpressCheckoutElement(e,t,n){const a={billingAddressRequired:!0,emailRequired:!0,...t?{paymentMethods:{applePay:"always",googlePay:"always"}}:{},...n||{}};return e.create("expressCheckout",a)}static createLinkAuthenticationElement(e,t){return e.create("linkAuthentication",{defaultValues:{email:t??""}})}static async submitElements(e){const{error:t}=await e.submit();if(t)throw this.mapError(t)}static mapInitializationError(e){return new Xo(0,e.code,e.message)}static mapError(e){return this.isStripeHandledFormError(e)?new Xo(1,e.code,e.message):new Xo(2,e.code,e.message)}static async confirmElements(e,t,n,a){const i={clientSecret:n,redirect:"if_required"},s=a?{...i,confirmParams:{confirmation_token:a}}:{...i,elements:t},c=n.startsWith("seti_");let l;if(c?l=await e.confirmSetup(s):l=await e.confirmPayment(s),l!=null&&l.error)throw this.mapError(l.error)}static async extractTaxCustomerDetails(e,t){var s,c;const{error:n,confirmationToken:a}=await t.createConfirmationToken({elements:e});if(n)throw this.mapError(n);const i=(c=(s=a.payment_method_preview)==null?void 0:s.billing_details)==null?void 0:c.address;return{customerDetails:{countryCode:(i==null?void 0:i.country)??void 0,postalCode:(i==null?void 0:i.postal_code)??void 0,state:(i==null?void 0:i.state)??void 0,city:(i==null?void 0:i.city)??void 0,addressLine1:(i==null?void 0:i.line1)??void 0,addressLine2:(i==null?void 0:i.line2)??void 0},confirmationTokenId:a.id}}static nextDateForPeriod(e,t){return e.unit===gr.Year?(t.setFullYear(t.getFullYear()+e.number),t):e.unit===gr.Month?(t.setMonth(t.getMonth()+e.number),t):e.unit===gr.Week?(t.setDate(t.getDate()+e.number*7),t):(e.unit===gr.Day&&t.setDate(t.getDate()+e.number),t)}static applePayPeriod(e){return e.unit===gr.Week?{recurringPaymentIntervalUnit:"day",recurringPaymentIntervalCount:e.number*7}:{recurringPaymentIntervalUnit:e.unit,recurringPaymentIntervalCount:e.number}}static microsToMinimumAmountPrice(e,t){return["BIF","CLP","DJF","GNF","JPY","KMF","KRW","MGA","PYG","RWF","UGX","VND","VUV","XAF","XOF","XPF"].includes(t)?Math.floor(e/1e6):Math.floor(e/1e4)}static toExpressCheckoutLineItems(e,t,n){const{currency:a}=t,i=Mt.microsToMinimumAmountPrice(t.totalAmountInMicros,a),s=Mt.microsToMinimumAmountPrice(n.discountAmountInMicros,a);return[{name:e,amount:i+s},{name:n.label,amount:-s}]}static buildStripeExpressCheckoutOptionsForSubscription(e,t,n,a,i,s,c,l,u){var k;const d={maxRows:c,maxColumns:l,overflow:u},p=s&&s.discountAmountInMicros>0?Mt.toExpressCheckoutLineItems(e.title,t,s):void 0,_=Mt.microsToMinimumAmountPrice(t.totalAmountInMicros,t.currency),h=n.trial,f=(k=n.trial)==null?void 0:k.period,b=n.base.period,v=h&&f?Mt.nextDateForPeriod(f,new Date):void 0,m=b?Mt.applePayPeriod(b):{};return{layout:d,...p?{lineItems:p}:{},applePay:{recurringPaymentRequest:{paymentDescription:e.title,managementURL:i,...h?{trialBilling:{label:a.translate(de.ApplePayFreeTrial),amount:0}}:{},regularBilling:{label:e.title,amount:_,recurringPaymentStartDate:v,...m}}}}}static buildStripeExpressCheckoutOptionsForNonSubscription(e,t,n,a,i,s){const c={maxRows:a,maxColumns:i,overflow:s},l=n&&n.discountAmountInMicros>0?Mt.toExpressCheckoutLineItems(e.title,t,n):void 0;return{layout:c,...l?{lineItems:l}:{}}}};re(Mt,"FORM_VALIDATED_CARD_ERROR_CODES",["card_declined","expired_card","incorrect_cvc","incorrect_number"]),re(Mt,"FULL_ADDRESS_REQUIRED_TAX_COUNTRY_CODES",["CA","PR","IN"]);let nr=Mt;var YP=R("<div></div>");function GP(r,e){fe(e,!0);let t=null;const n="payment-element",a=async s=>{await e.onError(nr.mapInitializationError(s.error))};xr(()=>{var s;try{t=nr.createPaymentElement(e.elements,(s=e.brandingInfo)==null?void 0:s.app_name),t.mount(`#${n}`),t.on("ready",e.onReady),t.on("change",e.onChange),t.on("loaderror",a)}catch(c){e.onError(nr.mapInitializationError(c))}}),Nt(()=>{t==null||t.destroy(),t=null});var i=YP();ke(i,"id",n),E(r,i),me()}var KP=R("<div></div>");function XP(r,e){fe(e,!0);let t=null;const n="link-authentication-element",a=async s=>{await e.onError(nr.mapInitializationError(s.error))};xr(()=>{try{t=nr.createLinkAuthenticationElement(e.elements,e.email),t.mount(`#${n}`),t.on("ready",e.onReady),t.on("change",e.onChange),t.on("loaderror",a)}catch(s){e.onError(nr.mapInitializationError(s))}}),Nt(()=>{t==null||t.destroy(),t=null});var i=KP();ke(i,"id",n),E(r,i),me()}var ZP=R('<div class="text-separator svelte-3efq78"><hr class="line svelte-3efq78"/> <span class="text svelte-3efq78"><!></span> <hr class="line svelte-3efq78"/></div>');const JP={hash:"svelte-3efq78",code:`.text-separator.svelte-3efq78 {display:flex;align-items:center;justify-content:center;gap:var(--rc-spacing-gapSmall-mobile);}
277
277
 
278
278
  @container layout-query-container (width >= 768px) {.text-separator.svelte-3efq78 {gap:var(--rc-spacing-gapSmall-desktop);}
279
- }.line.svelte-3efq78 {flex:1;height:1px;background-color:var(--rc-color-grey-ui-dark);border:none;}.text.svelte-3efq78 {color:var(--rc-color-grey-text-light);text-transform:uppercase;white-space:nowrap;}`};function WP(r,e){we(r,HP);let t=J(e,"text",8);var n=VP(),a=U(D(n),2),i=D(a);Ce(i,{size:"caption-default",children:(s,c)=>{var l=Te();Y(()=>_e(l,t())),P(s,l)},$$slots:{default:!0}}),P(r,n)}var YP=R("<div></div> <!>",1);const GP={hash:"svelte-jy91ia",code:".rcb-express-checkout-hidden.svelte-jy91ia {display:none;}"};function x_(r,e){he(e,!0),we(r,GP);const t=()=>Ue(c,"$translator",n),[n,a]=Je(),i=J(e,"hideCheckoutSeparator",3,!1),s=J(e,"allowExpressCheckout",3,!0),c=He(hr);let l=null,u=te(!1);const d=`express-checkout-element-${Hn()}`,_=async()=>{e.onCancel&&e.onCancel()},p=async w=>{if(!s())return;const{business:E,...I}=e.expressCheckoutOptions??{};e.onClick&&e.onClick(w),w.resolve(I)},f=async w=>{await e.onError(tr.mapInitializationError(w.error))},g=async w=>{var E;return e.onSubmit(w.expressPaymentType,((E=w.billingDetails)==null?void 0:E.email)??"",w)},b=async w=>{F(u,!w.availablePaymentMethods),e.onReady&&e.onReady(w)};br(()=>{try{l=tr.createExpressCheckoutElement(e.elements,e.forceEnableWalletMethods,e.expressCheckoutOptions),l.mount(`#${d}`),l.on("ready",b),l.on("confirm",g),l.on("loaderror",f),l.on("click",p),l.on("cancel",_)}catch(w){e.onError(tr.mapInitializationError(w))}}),qt(()=>{l==null||l.destroy(),l=null});var y=YP(),h=se(y);let k;var x=U(h,2);{var v=w=>{{let E=m(()=>t().translate(de.PaymentEntryPageExpressCheckoutDivider));WP(w,{get text(){return o(E)}})}};W(x,w=>{!i()&&s()&&!o(u)&&w(v)})}Y(()=>{ke(h,"id",d),ke(h,"aria-hidden",!s()||o(u)),k=ur(h,1,"svelte-jy91ia",null,k,{"rcb-express-checkout-hidden":!s()||o(u)})}),P(r,y),ve(),a()}var KP=R("<div></div>");function XP(r,e){he(e,!0);let t=null;const n="address-element";let a=null,i=null;const s=async d=>{await e.onError(tr.mapInitializationError(d.error))},c=async d=>{const{complete:_}=d,p=d.value.address,f=_!==a,g=!l(i,p);!f&&!g||(a=_,i=p,await e.onChange(_,p))},l=(d,_)=>(d==null?void 0:d.country)===_.country&&(d==null?void 0:d.postal_code)===_.postal_code&&(d==null?void 0:d.state)===_.state&&(d==null?void 0:d.city)===_.city&&(d==null?void 0:d.line1)===_.line1&&(d==null?void 0:d.line2)===_.line2;br(()=>{try{t=tr.createAddressElement(e.elements,e.defaultCountryCode),t.mount(`#${n}`),t.on("ready",e.onReady),t.on("change",c),t.on("loaderror",s)}catch(d){e.onError(tr.mapInitializationError(d))}}),qt(()=>{t==null||t.destroy(),t=null});var u=KP();ke(u,"id",n),P(r,u),ve()}var ZP=R('<div class="rc-elements svelte-kvz7kd"><!> <!> <!> <!></div>');const JP={hash:"svelte-kvz7kd",code:`.rc-elements.svelte-kvz7kd {display:flex;flex-direction:column;gap:var(--rc-spacing-gapXLarge-mobile);}
279
+ }.line.svelte-3efq78 {flex:1;height:1px;background-color:var(--rc-color-grey-ui-dark);border:none;}.text.svelte-3efq78 {color:var(--rc-color-grey-text-light);text-transform:uppercase;white-space:nowrap;}`};function QP(r,e){we(r,JP);let t=X(e,"text",8);var n=ZP(),a=B(D(n),2),i=D(a);Fe(i,{size:"caption-default",children:(s,c)=>{var l=ze();V(()=>ge(l,t())),E(s,l)},$$slots:{default:!0}}),E(r,n)}var $P=R("<div></div> <!>",1);const e1={hash:"svelte-jy91ia",code:".rcb-express-checkout-hidden.svelte-jy91ia {display:none;}"};function I_(r,e){fe(e,!0),we(r,e1);const t=()=>Re(c,"$translator",n),[n,a]=Ze(),i=X(e,"hideCheckoutSeparator",3,!1),s=X(e,"allowExpressCheckout",3,!0),c=He(vr);let l=null,u=te(!1);const d=`express-checkout-element-${Vn()}`,p=async()=>{e.onCancel&&e.onCancel()},_=async w=>{if(!s())return;const{business:P,...S}=e.expressCheckoutOptions??{};e.onClick&&e.onClick(w),w.resolve(S)},h=async w=>{await e.onError(nr.mapInitializationError(w.error))},f=async w=>{var P;return e.onSubmit(w.expressPaymentType,((P=w.billingDetails)==null?void 0:P.email)??"",w)},b=async w=>{F(u,!w.availablePaymentMethods),e.onReady&&e.onReady(w)};xr(()=>{try{l=nr.createExpressCheckoutElement(e.elements,e.forceEnableWalletMethods,e.expressCheckoutOptions),l.mount(`#${d}`),l.on("ready",b),l.on("confirm",f),l.on("loaderror",h),l.on("click",_),l.on("cancel",p)}catch(w){e.onError(nr.mapInitializationError(w))}}),Nt(()=>{l==null||l.destroy(),l=null});var v=$P(),m=ce(v);let k;var x=B(m,2);{var y=w=>{{let P=g(()=>t().translate(de.PaymentEntryPageExpressCheckoutDivider));QP(w,{get text(){return o(P)}})}};H(x,w=>{!i()&&s()&&!o(u)&&w(y)})}V(()=>{ke(m,"id",d),ke(m,"aria-hidden",!s()||o(u)),k=ur(m,1,"svelte-jy91ia",null,k,{"rcb-express-checkout-hidden":!s()||o(u)})}),E(r,v),me(),a()}var r1=R("<div></div>");function t1(r,e){fe(e,!0);let t=null;const n="address-element";let a=null,i=null;const s=async d=>{await e.onError(nr.mapInitializationError(d.error))},c=async d=>{const{complete:p}=d,_=d.value.address,h=p!==a,f=!l(i,_);!h&&!f||(a=p,i=_,await e.onChange(p,_))},l=(d,p)=>(d==null?void 0:d.country)===p.country&&(d==null?void 0:d.postal_code)===p.postal_code&&(d==null?void 0:d.state)===p.state&&(d==null?void 0:d.city)===p.city&&(d==null?void 0:d.line1)===p.line1&&(d==null?void 0:d.line2)===p.line2;xr(()=>{try{t=nr.createAddressElement(e.elements,e.defaultCountryCode),t.mount(`#${n}`),t.on("ready",e.onReady),t.on("change",c),t.on("loaderror",s)}catch(d){e.onError(nr.mapInitializationError(d))}}),Nt(()=>{t==null||t.destroy(),t=null});var u=r1();ke(u,"id",n),E(r,u),me()}var n1=R('<div class="rc-elements svelte-kvz7kd"><!> <!> <!> <!></div>');const a1={hash:"svelte-kvz7kd",code:`.rc-elements.svelte-kvz7kd {display:flex;flex-direction:column;gap:var(--rc-spacing-gapXLarge-mobile);}
280
280
 
281
281
  @container layout-query-container (width >= 768px) {.rc-elements.svelte-kvz7kd {gap:var(--rc-spacing-gapLarge-desktop);}
282
- }`};function QP(r,e){he(e,!0),we(r,JP);const t=()=>Ue(l,"$translator",n),[n,a]=Je();let i=J(e,"stripe",15,null),s=J(e,"elements",15,null),c=J(e,"allowExpressCheckout",3,!0);const l=He(hr),u=tr.getStripeLocale(t().bcp47Locale||t().fallbackBcp47Locale);let d=te(void 0),_=te(nr(Fo(e.brandingInfo)));ir(()=>{Fo(e.brandingInfo,tr.countryRequiresFullAddressForTaxes(o(d)))&&F(_,!0)});let p=te(!1),f=te(nr(e.skipEmail)),g=te(!1),b=te(!Fo(e.brandingInfo)),y=te(void 0),h=te("mobile"),k=te(void 0);function x(){window.matchMedia&&window.matchMedia("(max-width: 767px)").matches?F(h,"mobile"):F(h,"desktop"),F(y,{fontSizeBase:"14px",fontFamily:Yo,spacingGridRow:"16px"},!0)}function v(){clearTimeout(o(k)),F(k,setTimeout(()=>{x()},150),!0)}const w=z=>{e.onError(z),e.onLoadingComplete()},E=()=>{o(f)&&o(p)&&o(g)&&o(b)&&e.onLoadingComplete()},I=async()=>{o(f)||(F(f,!0),E())},T=async()=>{o(g)||(F(g,!0),E())},S=async()=>{o(p)||(F(p,!0),E())},A=async()=>{o(b)||(F(b,!0),E())},C=async(z,M)=>{e.onAddressInfoChange(z,M)},N=async z=>{var H,L;const M=(L=(H=z.value.billingDetails)==null?void 0:H.address)==null?void 0:L.country;M&&F(d,M,!0),e.onPaymentInfoChange({complete:z.complete,paymentMethod:z.complete?z.value.type:void 0,countryCode:o(d)})},q=async z=>{e.onEmailChange(z.complete,z.value.email)};br(()=>(window.addEventListener("resize",v),()=>{window.removeEventListener("resize",v)})),br(async()=>{x(),!i()&&(s()||!e.stripeAccountId||!e.publishableApiKey||!e.elementsConfiguration||await tr.initializeStripe(e.stripeAccountId,e.publishableApiKey,e.elementsConfiguration,e.brandingInfo,u,o(y),o(h)).then(({stripe:z,elements:M})=>{i(z),s(M)}).catch(z=>{e.onError(z)}))}),ir(()=>{e.elementsConfiguration&&s()&&tr.updateElementsConfiguration(s(),e.elementsConfiguration)});var j=Se(),Z=se(j);{var O=z=>{var M=ZP(),H=D(M);x_(H,{get elements(){return s()},onError:w,onReady:T,get onSubmit(){return e.onExpressCheckoutElementSubmit},get expressCheckoutOptions(){return e.expressCheckoutOptions},get forceEnableWalletMethods(){return e.forceEnableWalletMethods},get allowExpressCheckout(){return c()}});var L=U(H,2);{var K=ce=>{UP(ce,{get elements(){return s()},onReady:I,onChange:q,onError:w})};W(L,ce=>{e.skipEmail||ce(K)})}var re=U(L,2);BP(re,{get elements(){return s()},get brandingInfo(){return e.brandingInfo},onReady:S,onChange:N,onError:w});var le=U(re,2);{var ne=ce=>{XP(ce,{get elements(){return s()},get defaultCountryCode(){return o(d)},onReady:A,onChange:C,onError:w})};W(le,ce=>{o(_)&&ce(ne)})}P(z,M)};W(Z,z=>{s()&&z(O)})}P(r,j),ve(),a()}const $P=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor">
282
+ }`};function o1(r,e){fe(e,!0),we(r,a1);const t=()=>Re(l,"$translator",n),[n,a]=Ze();let i=X(e,"stripe",15,null),s=X(e,"elements",15,null),c=X(e,"allowExpressCheckout",3,!0);const l=He(vr),u=nr.getStripeLocale(t().bcp47Locale||t().fallbackBcp47Locale);let d=te(void 0),p=te(ar(zo(e.brandingInfo)));ir(()=>{zo(e.brandingInfo,nr.countryRequiresFullAddressForTaxes(o(d)))&&F(p,!0)});let _=te(!1),h=te(ar(e.skipEmail)),f=te(!1),b=te(!zo(e.brandingInfo)),v=te(void 0),m=te("mobile"),k=te(void 0);function x(){window.matchMedia&&window.matchMedia("(max-width: 767px)").matches?F(m,"mobile"):F(m,"desktop"),F(v,{fontSizeBase:"14px",fontFamily:Ko,spacingGridRow:"16px"},!0)}function y(){clearTimeout(o(k)),F(k,setTimeout(()=>{x()},150),!0)}const w=M=>{e.onError(M),e.onLoadingComplete()},P=()=>{o(h)&&o(_)&&o(f)&&o(b)&&e.onLoadingComplete()},S=async()=>{o(h)||(F(h,!0),P())},T=async()=>{o(f)||(F(f,!0),P())},I=async()=>{o(_)||(F(_,!0),P())},A=async()=>{o(b)||(F(b,!0),P())},C=async(M,z)=>{e.onAddressInfoChange(M,z)},L=async M=>{var U,O;const z=(O=(U=M.value.billingDetails)==null?void 0:U.address)==null?void 0:O.country;z&&F(d,z,!0),e.onPaymentInfoChange({complete:M.complete,paymentMethod:M.complete?M.value.type:void 0,countryCode:o(d)})},q=async M=>{e.onEmailChange(M.complete,M.value.email)};xr(()=>(window.addEventListener("resize",y),()=>{window.removeEventListener("resize",y)})),xr(async()=>{x(),!i()&&(s()||!e.stripeAccountId||!e.publishableApiKey||!e.elementsConfiguration||await nr.initializeStripe(e.stripeAccountId,e.publishableApiKey,e.elementsConfiguration,e.brandingInfo,u,o(v),o(m)).then(({stripe:M,elements:z})=>{i(M),s(z)}).catch(M=>{e.onError(M)}))}),ir(()=>{e.elementsConfiguration&&s()&&nr.updateElementsConfiguration(s(),e.elementsConfiguration)});var j=Te(),Y=ce(j);{var N=M=>{var z=n1(),U=D(z);I_(U,{get elements(){return s()},onError:w,onReady:T,get onSubmit(){return e.onExpressCheckoutElementSubmit},get expressCheckoutOptions(){return e.expressCheckoutOptions},get forceEnableWalletMethods(){return e.forceEnableWalletMethods},get allowExpressCheckout(){return c()}});var O=B(U,2);{var G=oe=>{XP(oe,{get elements(){return s()},onReady:S,onChange:q,onError:w})};H(O,oe=>{e.skipEmail||oe(G)})}var Z=B(O,2);GP(Z,{get elements(){return s()},get brandingInfo(){return e.brandingInfo},onReady:I,onChange:L,onError:w});var le=B(Z,2);{var $=oe=>{t1(oe,{get elements(){return s()},get defaultCountryCode(){return o(d)},onReady:A,onChange:C,onError:w})};H(le,oe=>{o(p)&&oe($)})}E(M,z)};H(Y,M=>{s()&&M(N)})}E(r,j),me(),a()}const i1=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor">
283
283
  <path fill-rule="evenodd" d="M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm0 6.5a1.25 1.25 0 100-2.5 1.25 1.25 0 000 2.5zm1.25 4.5a1.25 1.25 0 10-2.5 0v4.5a1.25 1.25 0 102.5 0v-4.5z" clip-rule="evenodd" />
284
- </svg> `;var e1=R('<div class="rcb-ui-asset-icon svelte-a15aei"><!></div>');const r1={hash:"svelte-a15aei",code:".rcb-ui-asset-icon.svelte-a15aei {display:inline-block;width:1em;height:1em;}"};function E_(r){we(r,r1);var e=e1(),t=D(e);fn(t,()=>$P),P(r,e)}var t1=R('<div class="rcb-info svelte-jea5iu"><div class="rcb-info-icon-wrapper svelte-jea5iu"><!></div> <div class="rcb-info-content svelte-jea5iu"><div class="rcb-info-title svelte-jea5iu"><!></div> <div class="rcb-info-message svelte-jea5iu"><!></div></div></div>');const n1={hash:"svelte-jea5iu",code:`.rcb-info.svelte-jea5iu {display:flex;align-items:flex-start;background-color:var(--rc-color-grey-ui-light);border-radius:var(--rc-shape-input-border-radius);gap:var(--rc-spacing-gapLarge-mobile);padding:var(--rc-spacing-gapLarge-mobile);}.rcb-info-content.svelte-jea5iu {flex:1;}.rcb-info-icon-wrapper.svelte-jea5iu {flex-shrink:0;color:var(--rc-color-accent-primary);}.rcb-info-title.svelte-jea5iu {color:var(--rc-color-grey-text-dark);margin-bottom:var(--rc-spacing-gapSmall-mobile);display:flex;}.rcb-info-message.svelte-jea5iu {color:var(--rc-color-grey-text-light);}
284
+ </svg> `;var s1=R('<div class="rcb-ui-asset-icon svelte-a15aei"><!></div>');const l1={hash:"svelte-a15aei",code:".rcb-ui-asset-icon.svelte-a15aei {display:inline-block;width:1em;height:1em;}"};function C_(r){we(r,l1);var e=s1(),t=D(e);vn(t,()=>i1),E(r,e)}var c1=R('<div class="rcb-info svelte-jea5iu"><div class="rcb-info-icon-wrapper svelte-jea5iu"><!></div> <div class="rcb-info-content svelte-jea5iu"><div class="rcb-info-title svelte-jea5iu"><!></div> <div class="rcb-info-message svelte-jea5iu"><!></div></div></div>');const u1={hash:"svelte-jea5iu",code:`.rcb-info.svelte-jea5iu {display:flex;align-items:flex-start;background-color:var(--rc-color-grey-ui-light);border-radius:var(--rc-shape-input-border-radius);gap:var(--rc-spacing-gapLarge-mobile);padding:var(--rc-spacing-gapLarge-mobile);}.rcb-info-content.svelte-jea5iu {flex:1;}.rcb-info-icon-wrapper.svelte-jea5iu {flex-shrink:0;color:var(--rc-color-accent-primary);}.rcb-info-title.svelte-jea5iu {color:var(--rc-color-grey-text-dark);margin-bottom:var(--rc-spacing-gapSmall-mobile);display:flex;}.rcb-info-message.svelte-jea5iu {color:var(--rc-color-grey-text-light);}
285
285
 
286
286
  @container layout-query-container (width >= 768px) {.rcb-info.svelte-jea5iu {gap:var(--rc-spacing-gapLarge-desktop);padding:var(--rc-spacing-gapLarge-desktop);}.rcb-info-title.svelte-jea5iu {margin-bottom:var(--rc-spacing-gapSmall-desktop);}
287
- }`};function a1(r,e){we(r,n1);var t=t1(),n=D(t),a=D(n);E_(a);var i=U(n,2),s=D(i),c=D(s);Ce(c,{size:"body-small",children:(d,_)=>{var p=Te();Y(()=>_e(p,e.title)),P(d,p)},$$slots:{default:!0}});var l=U(s,2),u=D(l);Ce(u,{size:"body-small",children:(d,_)=>{var p=Te();Y(()=>_e(p,e.message)),P(d,p)},$$slots:{default:!0}}),P(r,t)}function o1(r,e){he(e,!0);const t=()=>Ue(i,"$translator",n),[n,a]=Je(),i=He(hr);{let s=m(()=>t().translate(de.PriceUpdateTitle)),c=m(()=>{var l;return t().translate((l=e.subscriptionOption)!=null&&l.trial?de.PriceUpdateTrialMessage:de.PriceUpdateBaseMessage)});a1(r,{get title(){return o(s)},get message(){return o(c)}})}ve(),a()}function Ko(r,e){var n,a,i;if(r.productType==="subscription"){const s=e,c=((n=s.discount)==null?void 0:n.price)??((a=s.introPrice)==null?void 0:a.price)??s.base.price;if(c)return c}else{const s=e;return((i=s.discount)==null?void 0:i.price)??s.basePrice}return r.price}function i1(r,e){if(!r||!e)return!1;const t=Vo(r),n=Vo(e);return t>0&&n>t}function as(r){return`${r}% off`}function _c(r,e,t,n){if(!i1(t,e))return as(r);const a=n.translatePeriod(e.number,e.unit);return`${r}% off for ${a}`}function s1(r){return r.durationMode==="time_window"&&r.timeWindow?Do(r.timeWindow):r.durationMode==="time_window"&&r.period&&r.cycleCount>0?{number:r.period.number*r.cycleCount,unit:r.period.unit}:null}function S_(r,e,t){return r.percentage==null?null:r.durationMode==="time_window"?_c(r.percentage,s1(r),e,t):as(r.percentage)}function l1({appliedDiscount:r,purchaseOptionDiscount:e,basePeriod:t,translator:n}){const a=r.percentage;if(a==null)return null;if(r.durationMode==="time_window"&&r.timeWindow)return _c(a,Do(r.timeWindow),t,n);if(!e||e.durationMode!=="time_window")return as(a);const i=e.period;return!i||e.cycleCount<=0?as(a):_c(a,{number:i.number*e.cycleCount,unit:i.unit},t,n)}function I_(r,e,t){const n=(r==null?void 0:r.trim())||t;return e?`${n} (${e})`:n}function c1(r,e,t,n,a){const i=S_(e,t,n);return I_(r,i,a)}function u1({priceBreakdown:r,purchaseOptionDiscount:e,fullPriceMicros:t,basePeriod:n,translator:a,fallbackDiscountName:i}){var _,p;const s=(_=r.appliedDiscounts)==null?void 0:_[0];if(s&&s.discountedAmountInMicros>0){const f=l1({appliedDiscount:s,purchaseOptionDiscount:e,basePeriod:n,translator:a}),g=s.displayName;return{discountAmountInMicros:s.discountedAmountInMicros,displayName:(g==null?void 0:g.trim())||i,suffix:f,label:I_(g,f,i)}}if(!e)return null;const c=(p=e.price)==null?void 0:p.amountMicros;if(c==null)return null;const l=t-c;if(l<=0)return null;const u=S_(e,n,a),d=e.name;return{discountAmountInMicros:l,displayName:(d==null?void 0:d.trim())||i,suffix:u,label:c1(d,e,n,a,i)}}function gc({priceBreakdown:r,productDetails:e,purchaseOption:t,translator:n}){var d;const a=e.productType===Wr.Subscription,i=a?t:null,s=a?null:t,c=(i==null?void 0:i.discount)??(s==null?void 0:s.discount)??null,l=a?((d=i==null?void 0:i.base.price)==null?void 0:d.amountMicros)??e.price.amountMicros:(s==null?void 0:s.basePrice.amountMicros)??e.price.amountMicros,u=a?i==null?void 0:i.base.period:null;return u1({priceBreakdown:r,purchaseOptionDiscount:c,fullPriceMicros:l,basePeriod:u,translator:n,fallbackDiscountName:n.translate(de.PricingTableDiscount)})}class C_ extends Error{}const d1=500;var p1=R('<div class="rc-loading svelte-zfhfge"><!></div>'),_1=R('<div class="rc-checkout-container svelte-zfhfge"><!> <!> <form data-testid="payment-form" class="rc-checkout-form svelte-zfhfge"><div><div class="rc-elements-container svelte-zfhfge"><!></div> <div><!></div> <div><!> <!> <div class="rc-checkout-secure-container svelte-zfhfge"><!></div></div></div></form></div>');const g1={hash:"svelte-zfhfge",code:`.rc-checkout-secure-container.svelte-zfhfge {margin-top:var(--rc-spacing-gapXLarge-mobile);}.rc-checkout-container.svelte-zfhfge {display:flex;flex-direction:column;gap:var(--rc-spacing-gapXLarge-mobile);user-select:none;position:relative;}.rc-checkout-price-update-info-container.svelte-zfhfge {margin-top:var(--rc-spacing-gapXLarge-mobile);}.fully-hidden.svelte-zfhfge {display:none;height:0;}.rc-checkout-pay-container.svelte-zfhfge {display:flex;flex-direction:column;margin-top:var(--rc-spacing-gapXLarge-mobile);}.rc-checkout-pay-container.fully-hidden.svelte-zfhfge {display:none;}.rc-checkout-form-container.svelte-zfhfge {width:100%;}.rc-elements-container.svelte-zfhfge {
287
+ }`};function d1(r,e){we(r,u1);var t=c1(),n=D(t),a=D(n);C_(a);var i=B(n,2),s=D(i),c=D(s);Fe(c,{size:"body-small",children:(d,p)=>{var _=ze();V(()=>ge(_,e.title)),E(d,_)},$$slots:{default:!0}});var l=B(s,2),u=D(l);Fe(u,{size:"body-small",children:(d,p)=>{var _=ze();V(()=>ge(_,e.message)),E(d,_)},$$slots:{default:!0}}),E(r,t)}function p1(r,e){fe(e,!0);const t=()=>Re(i,"$translator",n),[n,a]=Ze(),i=He(vr);{let s=g(()=>t().translate(de.PriceUpdateTitle)),c=g(()=>{var l;return t().translate((l=e.subscriptionOption)!=null&&l.trial?de.PriceUpdateTrialMessage:de.PriceUpdateBaseMessage)});d1(r,{get title(){return o(s)},get message(){return o(c)}})}me(),a()}function Zo(r,e){var n,a,i;if(r.productType==="subscription"){const s=e,c=((n=s.discount)==null?void 0:n.price)??((a=s.introPrice)==null?void 0:a.price)??s.base.price;if(c)return c}else{const s=e;return((i=s.discount)==null?void 0:i.price)??s.basePrice}return r.price}function _1(r,e){if(!r||!e)return!1;const t=Wo(r),n=Wo(e);return t>0&&n>t}function is(r){return`${r}% off`}function _c(r,e,t,n){if(!_1(t,e))return is(r);const a=n.translatePeriod(e.number,e.unit);return`${r}% off for ${a}`}function g1(r){return r.durationMode==="time_window"&&r.timeWindow?Fo(r.timeWindow):r.durationMode==="time_window"&&r.period&&r.cycleCount>0?{number:r.period.number*r.cycleCount,unit:r.period.unit}:null}function T_(r,e,t){return r.percentage==null?null:r.durationMode==="time_window"?_c(r.percentage,g1(r),e,t):is(r.percentage)}function f1({appliedDiscount:r,purchaseOptionDiscount:e,basePeriod:t,translator:n}){const a=r.percentage;if(a==null)return null;if(r.durationMode==="time_window"&&r.timeWindow)return _c(a,Fo(r.timeWindow),t,n);if(!e||e.durationMode!=="time_window")return is(a);const i=e.period;return!i||e.cycleCount<=0?is(a):_c(a,{number:i.number*e.cycleCount,unit:i.unit},t,n)}function D_(r,e,t){const n=(r==null?void 0:r.trim())||t;return e?`${n} (${e})`:n}function m1(r,e,t,n,a){const i=T_(e,t,n);return D_(r,i,a)}function h1({priceBreakdown:r,purchaseOptionDiscount:e,fullPriceMicros:t,basePeriod:n,translator:a,fallbackDiscountName:i}){var p,_;const s=(p=r.appliedDiscounts)==null?void 0:p[0];if(s&&s.discountedAmountInMicros>0){const h=f1({appliedDiscount:s,purchaseOptionDiscount:e,basePeriod:n,translator:a}),f=s.displayName;return{discountAmountInMicros:s.discountedAmountInMicros,displayName:(f==null?void 0:f.trim())||i,suffix:h,label:D_(f,h,i)}}if(!e)return null;const c=(_=e.price)==null?void 0:_.amountMicros;if(c==null)return null;const l=t-c;if(l<=0)return null;const u=T_(e,n,a),d=e.name;return{discountAmountInMicros:l,displayName:(d==null?void 0:d.trim())||i,suffix:u,label:m1(d,e,n,a,i)}}function gc({priceBreakdown:r,productDetails:e,purchaseOption:t,translator:n}){var d;const a=e.productType===Gr.Subscription,i=a?t:null,s=a?null:t,c=(i==null?void 0:i.discount)??(s==null?void 0:s.discount)??null,l=a?((d=i==null?void 0:i.base.price)==null?void 0:d.amountMicros)??e.price.amountMicros:(s==null?void 0:s.basePrice.amountMicros)??e.price.amountMicros,u=a?i==null?void 0:i.base.period:null;return h1({priceBreakdown:r,purchaseOptionDiscount:c,fullPriceMicros:l,basePeriod:u,translator:n,fallbackDiscountName:n.translate(de.PricingTableDiscount)})}class A_ extends Error{}const v1=500;var y1=R('<div class="rc-loading svelte-zfhfge"><!></div>'),b1=R('<div class="rc-checkout-container svelte-zfhfge"><!> <!> <form data-testid="payment-form" class="rc-checkout-form svelte-zfhfge"><div><div class="rc-elements-container svelte-zfhfge"><!></div> <div><!></div> <div><!> <!> <div class="rc-checkout-secure-container svelte-zfhfge"><!></div></div></div></form></div>');const k1={hash:"svelte-zfhfge",code:`.rc-checkout-secure-container.svelte-zfhfge {margin-top:var(--rc-spacing-gapXLarge-mobile);}.rc-checkout-container.svelte-zfhfge {display:flex;flex-direction:column;gap:var(--rc-spacing-gapXLarge-mobile);user-select:none;position:relative;}.rc-checkout-price-update-info-container.svelte-zfhfge {margin-top:var(--rc-spacing-gapXLarge-mobile);}.fully-hidden.svelte-zfhfge {display:none;height:0;}.rc-checkout-pay-container.svelte-zfhfge {display:flex;flex-direction:column;margin-top:var(--rc-spacing-gapXLarge-mobile);}.rc-checkout-pay-container.fully-hidden.svelte-zfhfge {display:none;}.rc-checkout-form-container.svelte-zfhfge {width:100%;}.rc-elements-container.svelte-zfhfge {
288
288
  /* The standard height of the payment form from Stripe */
289
289
  /* Added to avoid the card getting smaller while loading */min-height:210px;}.rc-checkout-form-container.invisible.svelte-zfhfge {visibility:hidden;}.rc-loading.svelte-zfhfge {width:100%;height:100%;display:flex;justify-content:center;align-items:center;}
290
290
 
@@ -292,7 +292,7 @@ but received
292
292
  }
293
293
 
294
294
  @container layout-query-container (width >= 768px) {.rc-checkout-secure-container.svelte-zfhfge {margin-top:var(--rc-spacing-gapXLarge-desktop);}.rc-checkout-container.svelte-zfhfge {gap:var(--rc-spacing-gapXLarge-desktop);}.rc-checkout-pay-container.svelte-zfhfge {margin-top:var(--rc-spacing-gapXLarge-desktop);}.rc-checkout-price-update-info-container.svelte-zfhfge {margin-top:var(--rc-spacing-gapXLarge-desktop);}
295
- }form.svelte-zfhfge {display:flex;flex-direction:column;flex-grow:1;}`};function f1(r,e){var Bg,Rg,Ug,Vg,Hg,Wg,Yg,Gg;he(e,!0),we(r,g1);const t=()=>Ue(u,"$translator",n),[n,a]=Je();let i=J(e,"onSessionPricingUpdated",3,void 0),s=J(e,"onProcessingStateChange",3,void 0),c=J(e,"lastTaxCustomerDetailsStore",19,()=>yr(null));const l=He(Uo),u=He(hr),d=m(()=>"base"in e.purchaseOption?e.purchaseOption:null),_=m(()=>Ko(e.productDetails,e.purchaseOption));let p=te(nr(((Bg=e.defaultPriceBreakdown)==null?void 0:Bg.taxCalculationStatus)??((Rg=e.brandingInfo)!=null&&Rg.gateway_tax_collection_enabled?"unavailable":"disabled"))),f=te(nr(((Ug=e.defaultPriceBreakdown)==null?void 0:Ug.originalAmountInMicros)??o(_).amountMicros)),g=te(nr(((Vg=e.defaultPriceBreakdown)==null?void 0:Vg.taxAmountInMicros)??null)),b=te(nr(((Hg=e.defaultPriceBreakdown)==null?void 0:Hg.taxBreakdown)??null)),y=te(nr(((Wg=e.defaultPriceBreakdown)==null?void 0:Wg.totalExcludingTaxInMicros)??o(_).amountMicros)),h=te(nr(((Yg=e.defaultPriceBreakdown)==null?void 0:Yg.totalAmountInMicros)??o(_).amountMicros)),k=te(nr(((Gg=e.defaultPriceBreakdown)==null?void 0:Gg.appliedDiscounts)??[])),x=m(()=>({currency:o(_).currency,originalAmountInMicros:o(f),totalAmountInMicros:o(h),totalExcludingTaxInMicros:o(y),taxCalculationStatus:o(p),taxAmountInMicros:o(g),taxBreakdown:o(b),appliedDiscounts:o(k)})),v=te(nr(e.gatewayParams.elements_configuration)),w=te(null),E=te(null),I=te(nr(e.customerEmail??void 0)),T=te(nr(!!e.customerEmail)),S=te(!0),A=te(!1),C=te(void 0),N=te(!1),q=te(nr(Fo(e.brandingInfo)));ir(()=>{Fo(e.brandingInfo,tr.countryRequiresFullAddressForTaxes(o(C)))&&F(q,!0)});const j=m(()=>!o(q)||o(N));let Z=te(void 0),O=te(void 0),z=te(void 0),M=te(!1),H=te(null),L=null,K=m(()=>o(S)||o(M)?"loading":o(O)?"error":"form"),re=te("unavailable"),le=null,ne=m(()=>Zw({brandingInfo:e.brandingInfo,termsAndConditionsUrl:e.termsAndConditionsUrl,productDetails:e.productDetails})),ce=te(!1),Q=m(()=>!o(M)&&o(A)&&o(T)&&o(j)&&(!o(ne)||o(ce))&&(o(p)==="disabled"||o(p)==="calculated"||o(p)==="miss-match")),ie=m(()=>gc({priceBreakdown:o(x),productDetails:e.productDetails,purchaseOption:e.purchaseOption,translator:t()})),V=m(()=>o(x)&&(e.productDetails.productType===Wr.Subscription?o(d)&&e.managementUrl?tr.buildStripeExpressCheckoutOptionsForSubscription(e.productDetails,o(x),o(d),t(),e.managementUrl,o(ie)):void 0:e.productDetails.defaultNonSubscriptionOption?tr.buildStripeExpressCheckoutOptionsForNonSubscription(e.productDetails,o(x),o(ie)):void 0));ir(()=>{e.onPriceBreakdownUpdated(o(x))});function X(ae){F(p,ae.taxCalculationStatus,!0),F(f,ae.originalAmountInMicros??o(_).amountMicros,!0),F(g,ae.taxAmountInMicros,!0),F(b,ae.taxBreakdown,!0),F(y,ae.totalExcludingTaxInMicros,!0),F(h,ae.totalAmountInMicros,!0),F(k,ae.appliedDiscounts??[],!0)}ir(()=>{e.defaultPriceBreakdown||(F(f,o(_).amountMicros,!0),F(g,null),F(b,null),F(y,o(_).amountMicros,!0),F(h,o(_).amountMicros,!0),F(k,[],!0))}),ir(()=>{e.defaultPriceBreakdown&&X(e.defaultPriceBreakdown)}),ir(()=>{F(v,e.gatewayParams.elements_configuration,!0)}),ir(()=>{var ae;(ae=s())==null||ae(o(M))}),br(async()=>{o(p)==="unavailable"&&await B(null).catch(Er)}),qt(()=>{L&&(clearTimeout(L),L=null),o(H)&&(o(H).abort(),F(H,null))});async function B(ae,Oe){await e.purchaseOperationHelper.checkoutRefreshPricing({countryCode:ae==null?void 0:ae.countryCode,postalCode:ae==null?void 0:ae.postalCode,state:ae==null?void 0:ae.state,city:ae==null?void 0:ae.city,addressLine1:ae==null?void 0:ae.addressLine1,addressLine2:ae==null?void 0:ae.addressLine2,signal:Oe}).then(Ge=>{const pr=s_({taxCalculation:Ge,taxCustomerDetails:ae});l.trackSDKEvent(pr),Oe==null||Oe.throwIfAborted();let Sn;Ge.failed_reason?!ae&&Ge.failed_reason===yn.invalid_tax_location?Sn="pending":Sn="disabled":Sn="calculated",oe(Ge,Sn,ae)})}function oe(ae,Oe,Ge){const pr=ud(ae,Oe);X(pr),i()?i()(ae,pr):F(v,ae.gateway_params.elements_configuration,!0),le=Ge,$(Ge)}function $(ae){ae!=null&&ae.countryCode&&Ii(c(),ae)}function ue(){l.trackSDKEvent({eventName:Gr.CheckoutPaymentFormImpression,properties:{mode:rt}}),F(S,!1)}function me(ae,Oe){F(I,Oe,!0),F(T,ae,!0),ze()}function xe({complete:ae,paymentMethod:Oe,countryCode:Ge}){F(Z,Oe,!0),F(A,ae,!0),F(C,Ge,!0),ze()}function qe(ae,Oe){F(N,ae,!0),$({countryCode:Oe.country??void 0,postalCode:Oe.postal_code??void 0,state:Oe.state??void 0,city:Oe.city??void 0,addressLine1:Oe.line1??void 0,addressLine2:Oe.line2??void 0}),ze()}function ze(){Ae()&&o(p)!=="loading"&&(F(re,o(p),!0),F(p,"loading")),L&&clearTimeout(L),L=setTimeout(()=>{L=null,Fe()},d1)}async function De(ae){if(ae==null||ae.preventDefault(),o(M)||o(ne)&&!o(ce))return;const Oe=l_({selectedPaymentMethod:o(Z)??null});l.trackSDKEvent(Oe),F(M,!0),await Ee()?e.onContinue():F(M,!1)}async function be(ae,Oe){F(Z,ae,!0),F(I,e.customerEmail??Oe,!0),await De()}function Ae(){return o(Z)==="card"&&o(T)&&o(A)&&o(j)&&!o(M)&&o(p)!=="disabled"}async function Fe(){if(!Ae()){o(p)==="loading"&&F(p,o(re),!0);return}o(p)!=="loading"&&(F(re,o(p),!0),F(p,"loading")),await pe(async ae=>{await Ye().then(()=>ae.throwIfAborted()).then(()=>Ze(ae)).then(()=>ae.throwIfAborted()).catch(Oe=>{ae.aborted||Er(Oe)}).finally(()=>{o(p)==="loading"&&!ae.aborted&&F(p,o(re),!0)})})}async function Ee(){return await pe(async ae=>{const Oe=o(h);let Ge;return await Ye().then(()=>ae.throwIfAborted()).then(()=>Ze(ae)).then(pr=>{Ge=pr}).then(()=>ae.throwIfAborted()).then(ge(Oe)).then(()=>ae.throwIfAborted()).then(Re).then(()=>ae.throwIfAborted()).then(()=>dr(Ge)).then(()=>ae.throwIfAborted()).then(()=>!0).catch(pr=>(ae.aborted||Er(pr),!1))})}async function pe(ae){o(H)&&o(H).abort(),F(H,new AbortController,!0);const Oe=o(H).signal;try{return await ae(Oe)}catch(Ge){if(Ge instanceof DOMException&&Ge.name==="AbortError")return Promise.resolve(void 0);throw Ge}}async function Ye(){o(E)&&await tr.submitElements(o(E))}async function Ze(ae){if(o(p)==="unavailable"||o(p)==="disabled"||!o(E)||!o(w))return;const{customerDetails:Oe,confirmationTokenId:Ge}=await tr.extractTaxCustomerDetails(o(E),o(w));ae==null||ae.throwIfAborted();const pr=le;return Oe.postalCode===(pr==null?void 0:pr.postalCode)&&Oe.countryCode===(pr==null?void 0:pr.countryCode)&&Oe.state===(pr==null?void 0:pr.state)&&Oe.city===(pr==null?void 0:pr.city)&&Oe.addressLine1===(pr==null?void 0:pr.addressLine1)&&Oe.addressLine2===(pr==null?void 0:pr.addressLine2)||await B(Oe,ae),Ge&&o(Z)!=="card"?Ge:void 0}function ge(ae){return()=>{if(o(h)!==ae)throw new C_}}async function Re(){var Ge;const ae=await e.purchaseOperationHelper.checkoutComplete(o(I),t().selectedLocale),Oe=(Ge=ae==null?void 0:ae.gateway_params)==null?void 0:Ge.client_secret;Oe&&F(z,Oe,!0)}async function dr(ae){!o(w)||!o(E)||!o(z)||await tr.confirmElements(o(w),o(E),o(z),ae)}async function Er(ae){if(ae instanceof C_)F(p,"miss-match");else if(ae instanceof fe){const Oe=Qw({errorCode:ae.errorCode.toString(),errorMessage:ae.message});l.trackSDKEvent(Oe),ae.errorCode===ye.MissingEmailError?F(O,t().translate(de.ErrorPageErrorMessageInvalidEmailError,{email:o(I)}),!0):e.onError(ae)}else if(ae instanceof Go)await jr(ae);else throw ae}async function jr(ae){const Oe=ic({errorCode:ae.gatewayErrorCode??"",errorMessage:ae.message??""});l.trackSDKEvent(Oe),ae.code===pc.HandledFormError||(ae.code===pc.UnhandledFormError?F(O,ae.message,!0):e.onError(new fe(ye.ErrorSettingUpPurchase,"Failed to initialize payment form",ae.message)))}const cn=()=>{F(O,void 0)};var En=_1(),At=D(En);{var ai=ae=>{var Oe=p1(),Ge=D(Oe);c_(Ge),P(ae,Oe)};W(At,ae=>{o(K)==="loading"&&ae(ai)})}var or=U(At,2);{var Cr=ae=>{{const Oe=Sn=>{wd(Sn)},Ge=Sn=>{var Mc=Te();Y(()=>_e(Mc,o(O))),P(Sn,Mc)};let pr=m(()=>t().translate(de.ErrorButtonTryAgain));ac(ae,{title:null,type:"error",get closeButtonTitle(){return o(pr)},onDismiss:cn,icon:Oe,message:Ge,$$slots:{icon:!0,message:!0}})}};W(or,ae=>{o(K)==="error"&&ae(Cr)})}var $n=U(or,2),Ps=D($n);let lo;var Ft=D(Ps),oi=D(Ft);{let ae=m(()=>!!e.customerEmail),Oe=m(()=>!o(ne)||o(ce));QP(oi,{get stripeAccountId(){return e.gatewayParams.stripe_account_id},get publishableApiKey(){return e.gatewayParams.publishable_api_key},get elementsConfiguration(){return o(v)},get brandingInfo(){return e.brandingInfo},get forceEnableWalletMethods(){return e.forceEnableWalletMethods},get skipEmail(){return o(ae)},onLoadingComplete:ue,onError:jr,onEmailChange:me,onPaymentInfoChange:xe,onAddressInfoChange:qe,onExpressCheckoutElementSubmit:be,get expressCheckoutOptions(){return o(V)},get allowExpressCheckout(){return o(Oe)},get stripe(){return o(w)},set stripe(Ge){F(w,Ge,!0)},get elements(){return o(E)},set elements(Ge){F(E,Ge,!0)}})}var zc=U(Ft,2);let qg;var AI=D(zc);o1(AI,{get subscriptionOption(){return o(d)}});var Og=U(zc,2);let Lg;var Ng=D(Og);{var FI=ae=>{{let Oe=m(()=>{var Ge;return(Ge=e.brandingInfo)==null?void 0:Ge.app_name});Kw(ae,{get appName(){return o(Oe)},get termsAndConditionsUrl(){return e.termsAndConditionsUrl},onChange:Ge=>F(ce,Ge,!0),get checked(){return o(ce)},set checked(Ge){F(ce,Ge,!0)}})}};W(Ng,ae=>{o(ne)&&e.termsAndConditionsUrl&&ae(FI)})}var jg=U(Ng,2);{let ae=m(()=>!o(Q)),Oe=m(()=>{var Ge;return(Ge=e.brandingInfo)!=null&&Ge.gateway_tax_collection_enabled?o(x):void 0});iP(jg,{get disabled(){return o(ae)},get subscriptionOption(){return o(d)},get priceBreakdown(){return o(Oe)}})}var zI=U(jg,2),MI=D(zI);Hw(MI,{get brandingInfo(){return e.brandingInfo},get purchaseOption(){return e.purchaseOption},get termsAndConditionsUrl(){return e.termsAndConditionsUrl}}),Y(()=>{lo=ur(Ps,1,"rc-checkout-form-container svelte-zfhfge",null,lo,{invisible:o(K)!=="form"}),qg=ur(zc,1,"rc-checkout-price-update-info-container svelte-zfhfge",null,qg,{"fully-hidden":o(p)!=="miss-match"||o(K)!=="form"}),Lg=ur(Og,1,"rc-checkout-pay-container svelte-zfhfge",null,Lg,{"fully-hidden":o(K)!=="form"})}),Lr("submit",$n,De),P(r,En),ve(),a()}var m1=Dr('<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M4.94 5.72656L8 8.7799L11.06 5.72656L12 6.66656L8 10.6666L4 6.66656L4.94 5.72656Z" class="arrow-fill svelte-1eerlbf" fill-opacity="0.7"></path></svg>');const h1={hash:"svelte-1eerlbf",code:".arrow.svelte-1eerlbf {transition:transform 0.3s ease;}.arrow-fill.svelte-1eerlbf {fill:var(--rc-color-grey-text-dark);}.arrow.left.svelte-1eerlbf {transform:rotate(90deg);}.arrow.up.svelte-1eerlbf {transform:rotate(180deg);}.arrow.right.svelte-1eerlbf {transform:rotate(-90deg);}.arrow.down.svelte-1eerlbf {transform:rotate(0deg);}"};function os(r,e){we(r,h1);let t=J(e,"direction",8);var n=m1();Y(()=>ur(n,0,`arrow ${t()??""}`,"svelte-1eerlbf")),P(r,n)}var v1=Dr('<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" class="arrow"><path d="M15.41 7.41L14 6L8 12L14 18L15.41 16.59L10.83 12L15.41 7.41Z" class="arrow-fill svelte-159d2rl" fill-opacity="0.7"></path></svg>');const y1={hash:"svelte-159d2rl",code:".arrow-fill.svelte-159d2rl {fill:var(--rc-color-grey-text-dark);}"};function b1(r){we(r,y1);var e=v1();P(r,e)}const k1=`<svg width="24" height="24" viewBox="0 0 24 24" fill="currentColor"
295
+ }form.svelte-zfhfge {display:flex;flex-direction:column;flex-grow:1;}`};function w1(r,e){var Yg,Gg,Kg,Xg,Zg,Jg,Qg,$g;fe(e,!0),we(r,k1);const t=()=>Re(u,"$translator",n),[n,a]=Ze();let i=X(e,"onSessionPricingUpdated",3,void 0),s=X(e,"onProcessingStateChange",3,void 0),c=X(e,"lastTaxCustomerDetailsStore",19,()=>br(null));const l=He(Ho),u=He(vr),d=g(()=>"base"in e.purchaseOption?e.purchaseOption:null),p=g(()=>Zo(e.productDetails,e.purchaseOption));let _=te(ar(((Yg=e.defaultPriceBreakdown)==null?void 0:Yg.taxCalculationStatus)??((Gg=e.brandingInfo)!=null&&Gg.gateway_tax_collection_enabled?"unavailable":"disabled"))),h=te(ar(((Kg=e.defaultPriceBreakdown)==null?void 0:Kg.originalAmountInMicros)??o(p).amountMicros)),f=te(ar(((Xg=e.defaultPriceBreakdown)==null?void 0:Xg.taxAmountInMicros)??null)),b=te(ar(((Zg=e.defaultPriceBreakdown)==null?void 0:Zg.taxBreakdown)??null)),v=te(ar(((Jg=e.defaultPriceBreakdown)==null?void 0:Jg.totalExcludingTaxInMicros)??o(p).amountMicros)),m=te(ar(((Qg=e.defaultPriceBreakdown)==null?void 0:Qg.totalAmountInMicros)??o(p).amountMicros)),k=te(ar((($g=e.defaultPriceBreakdown)==null?void 0:$g.appliedDiscounts)??[])),x=g(()=>({currency:o(p).currency,originalAmountInMicros:o(h),totalAmountInMicros:o(m),totalExcludingTaxInMicros:o(v),taxCalculationStatus:o(_),taxAmountInMicros:o(f),taxBreakdown:o(b),appliedDiscounts:o(k)})),y=te(ar(e.gatewayParams.elements_configuration)),w=te(null),P=te(null),S=te(ar(e.customerEmail??void 0)),T=te(ar(!!e.customerEmail)),I=te(!0),A=te(!1),C=te(void 0),L=te(!1),q=te(ar(zo(e.brandingInfo)));ir(()=>{zo(e.brandingInfo,nr.countryRequiresFullAddressForTaxes(o(C)))&&F(q,!0)});const j=g(()=>!o(q)||o(L));let Y=te(void 0),N=te(void 0),M=te(void 0),z=te(!1),U=te(null),O=null,G=g(()=>o(I)||o(z)?"loading":o(N)?"error":"form"),Z=te("unavailable"),le=null,$=g(()=>nP({brandingInfo:e.brandingInfo,termsAndConditionsUrl:e.termsAndConditionsUrl,productDetails:e.productDetails})),oe=te(!1),Pe=g(()=>!o(z)&&o(A)&&o(T)&&o(j)&&(!o($)||o(oe))&&(o(_)==="disabled"||o(_)==="calculated"||o(_)==="miss-match")),Ie=g(()=>gc({priceBreakdown:o(x),productDetails:e.productDetails,purchaseOption:e.purchaseOption,translator:t()})),J=g(()=>o(x)&&(e.productDetails.productType===Gr.Subscription?o(d)&&e.managementUrl?nr.buildStripeExpressCheckoutOptionsForSubscription(e.productDetails,o(x),o(d),t(),e.managementUrl,o(Ie)):void 0:e.productDetails.defaultNonSubscriptionOption?nr.buildStripeExpressCheckoutOptionsForNonSubscription(e.productDetails,o(x),o(Ie)):void 0));ir(()=>{e.onPriceBreakdownUpdated(o(x))});function Q(ne){F(_,ne.taxCalculationStatus,!0),F(h,ne.originalAmountInMicros??o(p).amountMicros,!0),F(f,ne.taxAmountInMicros,!0),F(b,ne.taxBreakdown,!0),F(v,ne.totalExcludingTaxInMicros,!0),F(m,ne.totalAmountInMicros,!0),F(k,ne.appliedDiscounts??[],!0)}ir(()=>{e.defaultPriceBreakdown||(F(h,o(p).amountMicros,!0),F(f,null),F(b,null),F(v,o(p).amountMicros,!0),F(m,o(p).amountMicros,!0),F(k,[],!0))}),ir(()=>{e.defaultPriceBreakdown&&Q(e.defaultPriceBreakdown)}),ir(()=>{F(y,e.gatewayParams.elements_configuration,!0)}),ir(()=>{var ne;(ne=s())==null||ne(o(z))}),xr(async()=>{o(_)==="unavailable"&&await ae(null).catch(Sr)}),Nt(()=>{O&&(clearTimeout(O),O=null),o(U)&&(o(U).abort(),F(U,null))});async function ae(ne,qe){await e.purchaseOperationHelper.checkoutRefreshPricing({countryCode:ne==null?void 0:ne.countryCode,postalCode:ne==null?void 0:ne.postalCode,state:ne==null?void 0:ne.state,city:ne==null?void 0:ne.city,addressLine1:ne==null?void 0:ne.addressLine1,addressLine2:ne==null?void 0:ne.addressLine2,signal:qe}).then(Ye=>{const dr=u_({taxCalculation:Ye,taxCustomerDetails:ne});l.trackSDKEvent(dr),qe==null||qe.throwIfAborted();let En;Ye.failed_reason?!ne&&Ye.failed_reason===wn.invalid_tax_location?En="pending":En="disabled":En="calculated",Ee(Ye,En,ne)})}function Ee(ne,qe,Ye){const dr=cd(ne,qe);Q(dr),i()?i()(ne,dr):F(y,ne.gateway_params.elements_configuration,!0),le=Ye,ie(Ye)}function ie(ne){ne!=null&&ne.countryCode&&Ti(c(),ne)}function Se(){l.trackSDKEvent({eventName:Zr.CheckoutPaymentFormImpression,properties:{mode:nt}}),F(I,!1)}function ye(ne,qe){F(S,qe,!0),F(T,ne,!0),se()}function ee({complete:ne,paymentMethod:qe,countryCode:Ye}){F(Y,qe,!0),F(A,ne,!0),F(C,Ye,!0),se()}function K(ne,qe){F(L,ne,!0),ie({countryCode:qe.country??void 0,postalCode:qe.postal_code??void 0,state:qe.state??void 0,city:qe.city??void 0,addressLine1:qe.line1??void 0,addressLine2:qe.line2??void 0}),se()}function se(){Ae()&&o(_)!=="loading"&&(F(Z,o(_),!0),F(_,"loading")),O&&clearTimeout(O),O=setTimeout(()=>{O=null,Me()},v1)}async function pe(ne){if(ne==null||ne.preventDefault(),o(z)||o($)&&!o(oe))return;const qe=d_({selectedPaymentMethod:o(Y)??null});l.trackSDKEvent(qe),F(z,!0),await De()?e.onContinue():F(z,!1)}async function ue(ne,qe){F(Y,ne,!0),F(S,e.customerEmail??qe,!0),await pe()}function Ae(){return o(Y)==="card"&&o(T)&&o(A)&&o(j)&&!o(z)&&o(_)!=="disabled"}async function Me(){if(!Ae()){o(_)==="loading"&&F(_,o(Z),!0);return}o(_)!=="loading"&&(F(Z,o(_),!0),F(_,"loading")),await he(async ne=>{await Ke().then(()=>ne.throwIfAborted()).then(()=>$e(ne)).then(()=>ne.throwIfAborted()).catch(qe=>{ne.aborted||Sr(qe)}).finally(()=>{o(_)==="loading"&&!ne.aborted&&F(_,o(Z),!0)})})}async function De(){return await he(async ne=>{const qe=o(m);let Ye;return await Ke().then(()=>ne.throwIfAborted()).then(()=>$e(ne)).then(dr=>{Ye=dr}).then(()=>ne.throwIfAborted()).then(ve(qe)).then(()=>ne.throwIfAborted()).then(Ve).then(()=>ne.throwIfAborted()).then(()=>fr(Ye)).then(()=>ne.throwIfAborted()).then(()=>!0).catch(dr=>(ne.aborted||Sr(dr),!1))})}async function he(ne){o(U)&&o(U).abort(),F(U,new AbortController,!0);const qe=o(U).signal;try{return await ne(qe)}catch(Ye){if(Ye instanceof DOMException&&Ye.name==="AbortError")return Promise.resolve(void 0);throw Ye}}async function Ke(){o(P)&&await nr.submitElements(o(P))}async function $e(ne){if(o(_)==="unavailable"||o(_)==="disabled"||!o(P)||!o(w))return;const{customerDetails:qe,confirmationTokenId:Ye}=await nr.extractTaxCustomerDetails(o(P),o(w));ne==null||ne.throwIfAborted();const dr=le;return qe.postalCode===(dr==null?void 0:dr.postalCode)&&qe.countryCode===(dr==null?void 0:dr.countryCode)&&qe.state===(dr==null?void 0:dr.state)&&qe.city===(dr==null?void 0:dr.city)&&qe.addressLine1===(dr==null?void 0:dr.addressLine1)&&qe.addressLine2===(dr==null?void 0:dr.addressLine2)||await ae(qe,ne),Ye&&o(Y)!=="card"?Ye:void 0}function ve(ne){return()=>{if(o(m)!==ne)throw new A_}}async function Ve(){var Ye;const qe=(Ye=(await e.purchaseOperationHelper.checkoutComplete({email:o(S),locale:t().selectedLocale})).gateway_params)==null?void 0:Ye.client_secret;qe&&F(M,qe,!0)}async function fr(ne){!o(w)||!o(P)||!o(M)||await nr.confirmElements(o(w),o(P),o(M),ne)}async function Sr(ne){if(ne instanceof A_)F(_,"miss-match");else if(ne instanceof _e){const qe=oP({errorCode:ne.errorCode.toString(),errorMessage:ne.message});l.trackSDKEvent(qe),ne.errorCode===be.MissingEmailError?F(N,t().translate(de.ErrorPageErrorMessageInvalidEmailError,{email:o(S)}),!0):e.onError(ne)}else if(ne instanceof Xo)await zr(ne);else throw ne}async function zr(ne){const qe=ic({errorCode:ne.gatewayErrorCode??"",errorMessage:ne.message??""});l.trackSDKEvent(qe),ne.code===pc.HandledFormError||(ne.code===pc.UnhandledFormError?F(N,ne.message,!0):e.onError(new _e(be.ErrorSettingUpPurchase,"Failed to initialize payment form",ne.message)))}const qr=()=>{F(N,void 0)};var Kr=b1(),Or=D(Kr);{var Ut=ne=>{var qe=y1(),Ye=D(qe);p_(Ye),E(ne,qe)};H(Or,ne=>{o(G)==="loading"&&ne(Ut)})}var er=B(Or,2);{var yr=ne=>{{const qe=En=>{Ed(En)},Ye=En=>{var Mc=ze();V(()=>ge(Mc,o(N))),E(En,Mc)};let dr=g(()=>t().translate(de.ErrorButtonTryAgain));ac(ne,{title:null,type:"error",get closeButtonTitle(){return o(dr)},onDismiss:qr,icon:qe,message:Ye,$$slots:{icon:!0,message:!0}})}};H(er,ne=>{o(G)==="error"&&ne(yr)})}var zt=B(er,2),lo=D(zt);let co;var qt=D(lo),si=D(qt);{let ne=g(()=>!!e.customerEmail),qe=g(()=>!o($)||o(oe));o1(si,{get stripeAccountId(){return e.gatewayParams.stripe_account_id},get publishableApiKey(){return e.gatewayParams.publishable_api_key},get elementsConfiguration(){return o(y)},get brandingInfo(){return e.brandingInfo},get forceEnableWalletMethods(){return e.forceEnableWalletMethods},get skipEmail(){return o(ne)},onLoadingComplete:Se,onError:zr,onEmailChange:ye,onPaymentInfoChange:ee,onAddressInfoChange:K,onExpressCheckoutElementSubmit:ue,get expressCheckoutOptions(){return o(J)},get allowExpressCheckout(){return o(qe)},get stripe(){return o(w)},set stripe(Ye){F(w,Ye,!0)},get elements(){return o(P)},set elements(Ye){F(P,Ye,!0)}})}var Fc=B(qt,2);let Rg;var OI=D(Fc);p1(OI,{get subscriptionOption(){return o(d)}});var Ug=B(Fc,2);let Vg;var Hg=D(Ug);{var LI=ne=>{{let qe=g(()=>{var Ye;return(Ye=e.brandingInfo)==null?void 0:Ye.app_name});rP(ne,{get appName(){return o(qe)},get termsAndConditionsUrl(){return e.termsAndConditionsUrl},onChange:Ye=>F(oe,Ye,!0),get checked(){return o(oe)},set checked(Ye){F(oe,Ye,!0)}})}};H(Hg,ne=>{o($)&&e.termsAndConditionsUrl&&ne(LI)})}var Wg=B(Hg,2);{let ne=g(()=>!o(Pe)),qe=g(()=>{var Ye;return(Ye=e.brandingInfo)!=null&&Ye.gateway_tax_collection_enabled?o(x):void 0});_P(Wg,{get disabled(){return o(ne)},get subscriptionOption(){return o(d)},get priceBreakdown(){return o(qe)}})}var NI=B(Wg,2),jI=D(NI);Jw(jI,{get brandingInfo(){return e.brandingInfo},get purchaseOption(){return e.purchaseOption},get termsAndConditionsUrl(){return e.termsAndConditionsUrl}}),V(()=>{co=ur(lo,1,"rc-checkout-form-container svelte-zfhfge",null,co,{invisible:o(G)!=="form"}),Rg=ur(Fc,1,"rc-checkout-price-update-info-container svelte-zfhfge",null,Rg,{"fully-hidden":o(_)!=="miss-match"||o(G)!=="form"}),Vg=ur(Ug,1,"rc-checkout-pay-container svelte-zfhfge",null,Vg,{"fully-hidden":o(G)!=="form"})}),Br("submit",zt,pe),E(r,Kr),me(),a()}var P1=Dr('<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M4.94 5.72656L8 8.7799L11.06 5.72656L12 6.66656L8 10.6666L4 6.66656L4.94 5.72656Z" class="arrow-fill svelte-1eerlbf" fill-opacity="0.7"></path></svg>');const x1={hash:"svelte-1eerlbf",code:".arrow.svelte-1eerlbf {transition:transform 0.3s ease;}.arrow-fill.svelte-1eerlbf {fill:var(--rc-color-grey-text-dark);}.arrow.left.svelte-1eerlbf {transform:rotate(90deg);}.arrow.up.svelte-1eerlbf {transform:rotate(180deg);}.arrow.right.svelte-1eerlbf {transform:rotate(-90deg);}.arrow.down.svelte-1eerlbf {transform:rotate(0deg);}"};function ss(r,e){we(r,x1);let t=X(e,"direction",8);var n=P1();V(()=>ur(n,0,`arrow ${t()??""}`,"svelte-1eerlbf")),E(r,n)}var E1=Dr('<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" class="arrow"><path d="M15.41 7.41L14 6L8 12L14 18L15.41 16.59L10.83 12L15.41 7.41Z" class="arrow-fill svelte-159d2rl" fill-opacity="0.7"></path></svg>');const S1={hash:"svelte-159d2rl",code:".arrow-fill.svelte-159d2rl {fill:var(--rc-color-grey-text-dark);}"};function I1(r){we(r,S1);var e=E1();E(r,e)}const C1=`<svg width="24" height="24" viewBox="0 0 24 24" fill="currentColor"
296
296
  xmlns="http://www.w3.org/2000/svg">
297
297
  <g opacity="0.5" clip-path="url(#clip0_344_3390)">
298
298
  <path d="M7 18C5.9 18 5.01 18.9 5.01 20C5.01 21.1 5.9 22 7 22C8.1 22 9 21.1 9 20C9 18.9 8.1 18 7 18ZM1 2V4H3L6.6 11.59L5.25 14.04C5.09 14.32 5 14.65 5 15C5 16.1 5.9 17 7 17H19V15H7.42C7.28 15 7.17 14.89 7.17 14.75L7.2 14.63L8.1 13H15.55C16.3 13 16.96 12.59 17.3 11.97L20.88 5.48C20.96 5.34 21 5.17 21 5C21 4.45 20.55 4 20 4H5.21L4.27 2H1ZM17 18C15.9 18 15.01 18.9 15.01 20C15.01 21.1 15.9 22 17 22C18.1 22 19 21.1 19 20C19 18.9 18.1 18 17 18Z"
@@ -304,35 +304,39 @@ but received
304
304
  </clipPath>
305
305
  </defs>
306
306
  </svg>
307
- `;var w1=R('<div style="color:var(--rc-color-gray-text-dark);"><!></div>');function P1(r){var e=w1(),t=D(e);fn(t,()=>k1),P(r,e)}const x1=`<svg width="24" height="24" viewBox="0 0 24 24" fill="currentColor"
307
+ `;var T1=R('<div style="color:var(--rc-color-gray-text-dark);"><!></div>');function D1(r){var e=T1(),t=D(e);vn(t,()=>C1),E(r,e)}const A1=`<svg width="24" height="24" viewBox="0 0 24 24" fill="currentColor"
308
308
  xmlns="http://www.w3.org/2000/svg">
309
309
  <path d="M18 8H17V6C17 3.24 14.76 1 12 1C9.24 1 7 3.24 7 6V8H6C4.9 8 4 8.9 4 10V20C4 21.1 4.9 22 6 22H18C19.1 22 20 21.1 20 20V10C20 8.9 19.1 8 18 8ZM12 17C10.9 17 10 16.1 10 15C10 13.9 10.9 13 12 13C13.1 13 14 13.9 14 15C14 16.1 13.1 17 12 17ZM15.1 8H8.9V6C8.9 4.29 10.29 2.9 12 2.9C13.71 2.9 15.1 4.29 15.1 6V8Z"
310
310
  fill="currentColor"/>
311
311
  </svg>
312
- `;var E1=R('<div style="color:var(--rc-color-accent);" class="rcb-ui-asset-icon svelte-1dhcigx"><!></div>');const S1={hash:"svelte-1dhcigx",code:"div.svelte-1dhcigx {height:24px;width:24px;}"};function I1(r){we(r,S1);var e=E1(),t=D(e);fn(t,()=>x1),P(r,e)}const C1=`<svg viewBox="0 0 124 124" fill="var(--rc-color-grey-text-dark)" xmlns="http://www.w3.org/2000/svg">
312
+ `;var F1=R('<div style="color:var(--rc-color-accent);" class="rcb-ui-asset-icon svelte-1dhcigx"><!></div>');const M1={hash:"svelte-1dhcigx",code:"div.svelte-1dhcigx {height:24px;width:24px;}"};function z1(r){we(r,M1);var e=F1(),t=D(e);vn(t,()=>A1),E(r,e)}const q1=`<svg viewBox="0 0 124 124" fill="var(--rc-color-grey-text-dark)" xmlns="http://www.w3.org/2000/svg">
313
313
  <circle cx="62" cy="62" r="62" fill="var(--rc-color-grey-text-dark)" opacity="0.2"/>
314
314
  <rect x="44.1116" y="56" width="27.5" height="11" transform="rotate(45 44.1116 56)" fill="var(--rc-color-grey-text-dark)"/>
315
315
  <rect x="79.1133" y="44.334" width="11" height="44" transform="rotate(45 79.1133 44.334)" fill="var(--rc-color-grey-text-dark)"/>
316
316
  </svg>
317
- `;var T1=R('<div style="color:var(--rc-color-primary)"><!></div>');function T_(r){var e=T1(),t=D(e);fn(t,()=>C1),P(r,e)}var D1=Dr('<svg width="20" height="20" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M19 6.41L17.59 5L12 10.59L6.41 5L5 6.41L10.59 12L5 17.59L6.41 19L12 13.41L17.59 19L19 17.59L13.41 12L19 6.41Z" class="arrow-fill svelte-1prqhxu" fill-opacity="0.7"></path></svg>');const A1={hash:"svelte-1prqhxu",code:".arrow-fill.svelte-1prqhxu {fill:var(--arrow-fill-color, var(--rc-color-grey-text-dark));}"};function F1(r){we(r,A1);var e=D1();P(r,e)}const z1=`<svg xmlns="http://www.w3.org/2000/svg" width="16" height="15" viewBox="0 0 16 15" fill="none">
317
+ `;var O1=R('<div style="color:var(--rc-color-primary)"><!></div>');function F_(r){var e=O1(),t=D(e);vn(t,()=>q1),E(r,e)}var L1=Dr('<svg width="20" height="20" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M19 6.41L17.59 5L12 10.59L6.41 5L5 6.41L10.59 12L5 17.59L6.41 19L12 13.41L17.59 19L19 17.59L13.41 12L19 6.41Z" class="arrow-fill svelte-1prqhxu" fill-opacity="0.7"></path></svg>');const N1={hash:"svelte-1prqhxu",code:".arrow-fill.svelte-1prqhxu {fill:var(--arrow-fill-color, var(--rc-color-grey-text-dark));}"};function j1(r){we(r,N1);var e=L1();E(r,e)}const B1=`<svg xmlns="http://www.w3.org/2000/svg" width="16" height="15" viewBox="0 0 16 15" fill="none">
318
318
  <path d="M7.99697 9.21971C8.54919 9.21978 8.99697 9.66747 8.99697 10.2197C8.99696 10.772 8.54919 11.2196 7.99697 11.2197C7.44469 11.2197 6.996 10.772 6.99599 10.2197C6.99599 9.66743 7.44468 9.21971 7.99697 9.21971Z" fill="var(--rc-color-grey-text-dark)" fill-opacity="0.9"/>
319
319
  <path d="M7.99599 4.21971C8.54822 4.21978 8.99599 4.66747 8.99599 5.21971V7.21971C8.99598 7.77195 8.54821 8.21965 7.99599 8.21971C7.44371 8.21971 6.996 7.77199 6.99599 7.21971V5.21971C6.99599 4.66743 7.44371 4.21971 7.99599 4.21971Z" fill="var(--rc-color-grey-text-dark)" fill-opacity="0.9"/>
320
320
  <path fill-rule="evenodd" clip-rule="evenodd" d="M5.15615 1.63964C6.4187 -0.546529 9.57428 -0.546561 10.8368 1.63964L15.5477 9.79979C16.8097 11.9862 15.2322 14.7192 12.7079 14.7197H3.28505C0.76025 14.7196 -0.818142 11.9864 0.444233 9.79979L5.15615 1.63964ZM9.10537 2.63964C8.61269 1.78643 7.3803 1.78645 6.88759 2.63964L2.17665 10.7998C1.68403 11.6531 2.29983 12.7196 3.28505 12.7197H12.7079C13.6926 12.7192 14.3084 11.6528 13.8163 10.7998L9.10537 2.63964Z" fill="var(--rc-color-grey-text-dark)" fill-opacity="0.9"/>
321
- </svg>`;var M1=R('<div class="rcb-ui-asset-icon svelte-18og1ci"><!></div>');const q1={hash:"svelte-18og1ci",code:".rcb-ui-asset-icon.svelte-18og1ci {display:inline-block;width:1em;height:1em;}"};function O1(r){we(r,q1);var e=M1(),t=D(e);fn(t,()=>z1),P(r,e)}const L1={cart:P1,error:wd,lock:I1,success:T_,back:b1,info:E_,close:F1,warning:O1,"chevron-left":os,"chevron-right":os,"chevron-up":os,"chevron-down":os};function Yn(r,e){he(e,!0);const t=L1[e.name];let n=te(nr({}));if(e.name.startsWith("chevron")){const a=e.name.split("-")[1];F(n,{direction:a},!0)}t(r,gr(()=>o(n))),ve()}var N1=R('<span class="rc-sandbox-only-error svelte-1dod9xz"><!></span> <br/> <br/>',1),j1=R('<!> <a class="svelte-1dod9xz"> </a>.',1),B1=R("<!> <!>",1);const R1={hash:"svelte-1dod9xz",code:"a.svelte-1dod9xz {color:var(--rc-color-grey-text-dark);}.rc-sandbox-only-error.svelte-1dod9xz {font-weight:bold;}"};function is(r,e){he(e,!0),we(r,R1);const t=()=>Ue(c,"$translator",n),[n,a]=Je(),i=J(e,"fullWidth",3,!1),s=m(()=>e.lastError??new fe(ye.UnknownError,"Unknown error without state set.")),c=He(hr),l=m(()=>o(s).errorCode===ye.StripeTaxNotActive||o(s).errorCode===ye.StripeInvalidTaxOriginAddress||o(s).errorCode===ye.StripeMissingRequiredPermission);br(()=>{Pe.errorLog(`Displayed error: ${ye[o(s).errorCode]}. Message: ${o(s).message??"None"}. Underlying error: ${o(s).underlyingErrorMessage??"None"}`)});function u(){return o(s).errorCode===ye.AlreadyPurchasedError?t().translate(de.ErrorPageCloseButtonTitle,{appName:e.appName??"App"}):o(l)?t().translate(de.ErrorButtonClose):t().translate(de.ErrorButtonTryAgain)}function d(){switch(o(s).errorCode){case ye.AlreadyPurchasedError:return e.productDetails.productType===Wr.Subscription?t().translate(de.ErrorPageErrorTitleAlreadySubscribed,{productTitle:e.productDetails.title}):t().translate(de.ErrorPageErrorTitleAlreadyPurchased,{productTitle:e.productDetails.title});case ye.StripeTaxNotActive:return t().translate(de.ErrorPageErrorTitleStripeTaxNotActive);case ye.StripeInvalidTaxOriginAddress:return t().translate(de.ErrorPageErrorTitleStripeInvalidTaxOriginAddress);case ye.StripeMissingRequiredPermission:return t().translate(de.ErrorPageErrorTitleStripeMissingRequiredPermission);default:return t().translate(de.ErrorPageErrorTitleOtherErrors)}}function _(){const g=o(s).getErrorCode();switch(o(s).errorCode){case ye.ErrorSettingUpPurchase:case ye.InvalidPaddleAPIKeyError:return t().translate(de.ErrorPageErrorMessageErrorSettingUpPurchase,{errorCode:g});case ye.ErrorChargingPayment:return t().translate(de.ErrorPageErrorMessageErrorChargingPayment,{errorCode:g});case ye.AlreadyPurchasedError:return e.productDetails.productType===Wr.Subscription?t().translate(de.ErrorPageErrorMessageAlreadySubscribed,{errorCode:g}):t().translate(de.ErrorPageErrorMessageAlreadyPurchased,{errorCode:g});case ye.StripeTaxNotActive:return t().translate(de.ErrorPageErrorMessageStripeTaxNotActive,{errorCode:g});case ye.StripeInvalidTaxOriginAddress:return t().translate(de.ErrorPageErrorMessageStripeInvalidTaxOriginAddress,{errorCode:g});case ye.StripeMissingRequiredPermission:return t().translate(de.ErrorPageErrorMessageStripeMissingRequiredPermission,{errorCode:g});case ye.NetworkError:return t().translate(de.ErrorPageErrorMessageNetworkError,{errorCode:g});default:return t().translate(de.ErrorPageErrorMessageUnknownError,{errorCode:g})}}function p(){return o(s).errorCode===ye.AlreadyPurchasedError?de.ErrorPageTroubleAccessing:de.ErrorPageIfErrorPersists}function f(){return o(s).errorCode===ye.AlreadyPurchasedError?"success":"error"}{const g=k=>{{let x=m(f);Yn(k,{get name(){return o(x)}})}},b=k=>{var x=B1(),v=se(x);{var w=S=>{var A=N1(),C=se(A),N=D(C);mt(N,{get key(){return de.ErrorPageErrorMessageOnlyInSandbox}}),P(S,A)};W(v,S=>{o(l)&&S(w)})}var E=U(v),I=U(E);{var T=S=>{var A=j1(),C=se(A);{let j=m(p);mt(C,{get key(){return o(j)}})}var N=U(C,2),q=D(N);Y(()=>{ke(N,"href",`mailto:${e.supportEmail??""}`),_e(q,e.supportEmail)}),P(S,A)};W(I,S=>{!o(l)&&e.supportEmail&&S(T)})}Y(S=>_e(E,` ${S??""} `),[_]),P(k,x)};let y=m(d),h=m(u);ac(r,{get title(){return o(y)},get onDismiss(){return e.onDismiss},type:"error",get closeButtonTitle(){return o(h)},get fullWidth(){return i()},icon:g,message:b,$$slots:{icon:!0,message:!0}})}ve(),a()}function ss(r,e){he(e,!1);const t=()=>Ue(u,"$translator",n),[n,a]=Je();let i=J(e,"onContinue",8),s=J(e,"title",8,void 0),c=J(e,"closeButtonTitle",8,void 0),l=J(e,"fullWidth",8,!1);const u=He(hr),d=He(Uo);function _(){d.trackSDKEvent($w("go_back_to_app",rt)),i()()}br(()=>{d.trackSDKEvent(eP(rt))}),Ln();{const p=b=>{T_(b)};let f=An(()=>(We(s()),t(),We(de),Ve(()=>s()??t().translate(de.SuccessPagePurchaseSuccessful)))),g=An(()=>(We(c()),t(),We(de),Ve(()=>c()??t().translate(de.SuccessPageButtonClose))));ac(r,{type:"success",get title(){return o(f)},onDismiss:_,get closeButtonTitle(){return o(g)},get fullWidth(){return l()},icon:p,$$slots:{icon:!0}})}ve(),a()}function U1(r){c_(r)}var V1=R('<button class="rcb-applied-discount-chip svelte-56pxsq" type="button"><span class="rcb-applied-discount-code svelte-56pxsq"> </span> <span class="rcb-applied-discount-icon svelte-56pxsq" aria-hidden="true"><!></span></button>'),H1=R('<div class="rcb-applied-discount-chip rcb-applied-discount-chip--static svelte-56pxsq"><span class="rcb-applied-discount-code svelte-56pxsq"> </span></div>'),W1=R('<div class="rcb-applied-discount-label svelte-56pxsq"> </div>'),Y1=R('<div class="rcb-applied-discount svelte-56pxsq"><!> <!></div>'),G1=R('<div class="rcb-discount-error svelte-56pxsq" role="alert"><span class="rcb-discount-error-icon svelte-56pxsq" aria-hidden="true"><!></span> <span> </span></div>'),K1=R('<div class="rcb-discount-input svelte-56pxsq"><div class="rcb-discount-input-row svelte-56pxsq"><div><label class="rcb-discount-field-label svelte-56pxsq" for="rc-discount-code"> </label> <input class="rcb-discount-field-input svelte-56pxsq" id="rc-discount-code" type="text" autocomplete="off" placeholder=" "/></div> <button type="button"> </button></div> <!></div>'),X1=R('<div class="rcb-product-price-container svelte-56pxsq"><!></div>');const Z1={hash:"svelte-56pxsq",code:`.rcb-product-price-container.svelte-56pxsq {display:flex;flex-direction:column;justify-content:space-between;gap:var(--rc-spacing-gapMedium-mobile);color:var(--rc-color-grey-text-dark);}.rcb-discount-input.svelte-56pxsq {display:flex;flex-direction:column;gap:4px;}.rcb-discount-input-row.svelte-56pxsq {display:flex;gap:8px;width:100%;}.rcb-discount-field.svelte-56pxsq {position:relative;display:flex;align-items:flex-end;flex:1 1 auto;min-width:0;min-height:48px;padding:4px 12px;border:1px solid var(--rc-color-grey-ui-dark);border-radius:var(--rc-shape-input-border-radius);background:var(--rc-color-background);transition:border-color 150ms ease;}.rcb-discount-field--focused.svelte-56pxsq {border-color:var(--rc-color-grey-text-light);}.rcb-discount-field-label.svelte-56pxsq {position:absolute;top:50%;left:12px;max-width:calc(100% - 24px);overflow:hidden;color:var(--rc-color-grey-text-light);font:var(--rc-text-bodySmall-mobile);text-overflow:ellipsis;pointer-events:none;transform:translateY(-50%);transform-origin:left top;transition:top 150ms ease,
321
+ </svg>`;var R1=R('<div class="rcb-ui-asset-icon svelte-18og1ci"><!></div>');const U1={hash:"svelte-18og1ci",code:".rcb-ui-asset-icon.svelte-18og1ci {display:inline-block;width:1em;height:1em;}"};function V1(r){we(r,U1);var e=R1(),t=D(e);vn(t,()=>B1),E(r,e)}const H1={cart:D1,error:Ed,lock:z1,success:F_,back:I1,info:C_,close:j1,warning:V1,"chevron-left":ss,"chevron-right":ss,"chevron-up":ss,"chevron-down":ss};function Wn(r,e){fe(e,!0);const t=H1[e.name];let n=te(ar({}));if(e.name.startsWith("chevron")){const a=e.name.split("-")[1];F(n,{direction:a},!0)}t(r,_r(()=>o(n))),me()}var W1=R('<span class="rc-sandbox-only-error svelte-1dod9xz"><!></span> <br/> <br/>',1),Y1=R('<!> <a class="svelte-1dod9xz"> </a>.',1),G1=R("<!> <!>",1);const K1={hash:"svelte-1dod9xz",code:"a.svelte-1dod9xz {color:var(--rc-color-grey-text-dark);}.rc-sandbox-only-error.svelte-1dod9xz {font-weight:bold;}"};function ls(r,e){fe(e,!0),we(r,K1);const t=()=>Re(c,"$translator",n),[n,a]=Ze(),i=X(e,"fullWidth",3,!1),s=g(()=>e.lastError??new _e(be.UnknownError,"Unknown error without state set.")),c=He(vr),l=g(()=>o(s).errorCode===be.StripeTaxNotActive||o(s).errorCode===be.StripeInvalidTaxOriginAddress||o(s).errorCode===be.StripeMissingRequiredPermission);xr(()=>{xe.errorLog(`Displayed error: ${be[o(s).errorCode]}. Message: ${o(s).message??"None"}. Underlying error: ${o(s).underlyingErrorMessage??"None"}`)});function u(){return o(s).errorCode===be.AlreadyPurchasedError?t().translate(de.ErrorPageCloseButtonTitle,{appName:e.appName??"App"}):o(l)?t().translate(de.ErrorButtonClose):t().translate(de.ErrorButtonTryAgain)}function d(){switch(o(s).errorCode){case be.AlreadyPurchasedError:return e.productDetails.productType===Gr.Subscription?t().translate(de.ErrorPageErrorTitleAlreadySubscribed,{productTitle:e.productDetails.title}):t().translate(de.ErrorPageErrorTitleAlreadyPurchased,{productTitle:e.productDetails.title});case be.StripeTaxNotActive:return t().translate(de.ErrorPageErrorTitleStripeTaxNotActive);case be.StripeInvalidTaxOriginAddress:return t().translate(de.ErrorPageErrorTitleStripeInvalidTaxOriginAddress);case be.StripeMissingRequiredPermission:return t().translate(de.ErrorPageErrorTitleStripeMissingRequiredPermission);default:return t().translate(de.ErrorPageErrorTitleOtherErrors)}}function p(){const f=o(s).getErrorCode();switch(o(s).errorCode){case be.ErrorSettingUpPurchase:case be.InvalidPaddleAPIKeyError:return t().translate(de.ErrorPageErrorMessageErrorSettingUpPurchase,{errorCode:f});case be.ErrorChargingPayment:return t().translate(de.ErrorPageErrorMessageErrorChargingPayment,{errorCode:f});case be.AlreadyPurchasedError:return e.productDetails.productType===Gr.Subscription?t().translate(de.ErrorPageErrorMessageAlreadySubscribed,{errorCode:f}):t().translate(de.ErrorPageErrorMessageAlreadyPurchased,{errorCode:f});case be.StripeTaxNotActive:return t().translate(de.ErrorPageErrorMessageStripeTaxNotActive,{errorCode:f});case be.StripeInvalidTaxOriginAddress:return t().translate(de.ErrorPageErrorMessageStripeInvalidTaxOriginAddress,{errorCode:f});case be.StripeMissingRequiredPermission:return t().translate(de.ErrorPageErrorMessageStripeMissingRequiredPermission,{errorCode:f});case be.NetworkError:return t().translate(de.ErrorPageErrorMessageNetworkError,{errorCode:f});default:return t().translate(de.ErrorPageErrorMessageUnknownError,{errorCode:f})}}function _(){return o(s).errorCode===be.AlreadyPurchasedError?de.ErrorPageTroubleAccessing:de.ErrorPageIfErrorPersists}function h(){return o(s).errorCode===be.AlreadyPurchasedError?"success":"error"}{const f=k=>{{let x=g(h);Wn(k,{get name(){return o(x)}})}},b=k=>{var x=G1(),y=ce(x);{var w=I=>{var A=W1(),C=ce(A),L=D(C);yt(L,{get key(){return de.ErrorPageErrorMessageOnlyInSandbox}}),E(I,A)};H(y,I=>{o(l)&&I(w)})}var P=B(y),S=B(P);{var T=I=>{var A=Y1(),C=ce(A);{let j=g(_);yt(C,{get key(){return o(j)}})}var L=B(C,2),q=D(L);V(()=>{ke(L,"href",`mailto:${e.supportEmail??""}`),ge(q,e.supportEmail)}),E(I,A)};H(S,I=>{!o(l)&&e.supportEmail&&I(T)})}V(I=>ge(P,` ${I??""} `),[p]),E(k,x)};let v=g(d),m=g(u);ac(r,{get title(){return o(v)},get onDismiss(){return e.onDismiss},type:"error",get closeButtonTitle(){return o(m)},get fullWidth(){return i()},icon:f,message:b,$$slots:{icon:!0,message:!0}})}me(),a()}function cs(r,e){fe(e,!1);const t=()=>Re(u,"$translator",n),[n,a]=Ze();let i=X(e,"onContinue",8),s=X(e,"title",8,void 0),c=X(e,"closeButtonTitle",8,void 0),l=X(e,"fullWidth",8,!1);const u=He(vr),d=He(Ho);function p(){d.trackSDKEvent(iP("go_back_to_app",nt)),i()()}xr(()=>{d.trackSDKEvent(sP(nt))}),qn();{const _=b=>{F_(b)};let h=Dn(()=>(We(s()),t(),We(de),Ue(()=>s()??t().translate(de.SuccessPagePurchaseSuccessful)))),f=Dn(()=>(We(c()),t(),We(de),Ue(()=>c()??t().translate(de.SuccessPageButtonClose))));ac(r,{type:"success",get title(){return o(h)},onDismiss:p,get closeButtonTitle(){return o(f)},get fullWidth(){return l()},icon:_,$$slots:{icon:!0}})}me(),a()}function X1(r){p_(r)}var Z1=R('<div class="rcb-upgrade-section svelte-hmx3uo"><div class="rcb-upgrade-section-label svelte-hmx3uo"><!></div> <!></div>'),J1=R('<div class="rcb-upgrade-section svelte-hmx3uo"><div class="rcb-upgrade-section-label svelte-hmx3uo"><!></div> <!></div>'),Q1=R('<div class="rcb-upgrade-section rcb-upgrade-section-label svelte-hmx3uo"><!></div>'),$1=R('<div class="rcb-upgrade-checkout svelte-hmx3uo"><div class="rcb-upgrade-details svelte-hmx3uo"><div class="rcb-upgrade-section svelte-hmx3uo"><div class="rcb-upgrade-section-label svelte-hmx3uo"><!></div> <!></div> <!> <!> <!></div> <!> <div class="rcb-upgrade-actions svelte-hmx3uo"><!></div></div>');const e0={hash:"svelte-hmx3uo",code:`.rcb-upgrade-checkout.svelte-hmx3uo {display:flex;flex-direction:column;gap:var(--rc-spacing-gapXXLarge-mobile);user-select:none;}.rcb-upgrade-details.svelte-hmx3uo {display:flex;flex-direction:column;gap:var(--rc-spacing-gapXLarge-mobile);}.rcb-upgrade-section.svelte-hmx3uo {display:flex;flex-direction:column;gap:var(--rc-spacing-gapSmall-mobile);}.rcb-upgrade-section-label.svelte-hmx3uo {color:var(--rc-color-grey-text-light);}.rcb-upgrade-actions.svelte-hmx3uo {display:flex;flex-direction:column;}
322
+
323
+ @container layout-query-container (width >= 768px) {.rcb-upgrade-checkout.svelte-hmx3uo {gap:var(--rc-spacing-gapXXLarge-desktop);}.rcb-upgrade-details.svelte-hmx3uo {gap:var(--rc-spacing-gapXLarge-desktop);}
324
+ }`};function r0(r,e){fe(e,!0),we(r,e0);const t=X(e,"brandingAppearance",3,void 0),n=g(()=>e.startData.change_type==="deferred"?"Confirm schedule":"Pay now"),a=g(()=>{const P=e.startData.payment_method;if(!P)return null;const S=P.brand??P.type;return P.last_4?`${S} •••• ${P.last_4}`:S}),i=g(()=>{const P=e.startData.billing_address;return P?[P.postal_code,P.country_code].filter(Boolean).join(", ")||"On file":null});var s=$1(),c=D(s),l=D(c),u=D(l),d=D(u);Fe(d,{size:"body-small",children:(P,S)=>{var T=ze("Email");E(P,T)},$$slots:{default:!0}});var p=B(u,2);Fe(p,{size:"body-base",children:(P,S)=>{var T=ze();V(()=>ge(T,e.startData.email)),E(P,T)},$$slots:{default:!0}});var _=B(l,2);{var h=P=>{var S=Z1(),T=D(S),I=D(T);Fe(I,{size:"body-small",children:(C,L)=>{var q=ze("Payment method");E(C,q)},$$slots:{default:!0}});var A=B(T,2);Fe(A,{size:"body-base",children:(C,L)=>{var q=ze();V(()=>ge(q,o(a))),E(C,q)},$$slots:{default:!0}}),E(P,S)};H(_,P=>{o(a)&&P(h)})}var f=B(_,2);{var b=P=>{var S=J1(),T=D(S),I=D(T);Fe(I,{size:"body-small",children:(C,L)=>{var q=ze("Billing address");E(C,q)},$$slots:{default:!0}});var A=B(T,2);Fe(A,{size:"body-base",children:(C,L)=>{var q=ze();V(()=>ge(q,o(i))),E(C,q)},$$slots:{default:!0}}),E(P,S)};H(f,P=>{o(i)&&P(b)})}var v=B(f,2);{var m=P=>{var S=Q1(),T=D(S);Fe(T,{size:"body-small",children:(I,A)=>{var C=ze(`This change will take effect at the end of your current billing
325
+ period. You will not be charged now.`);E(I,C)},$$slots:{default:!0}}),E(P,S)};H(v,P=>{e.startData.change_type==="deferred"&&P(m)})}var k=B(c,2);{var x=P=>{Fe(P,{size:"body-base",children:(S,T)=>{var I=ze();V(()=>ge(I,e.confirmError)),E(S,I)},$$slots:{default:!0}})};H(k,P=>{e.confirmError&&P(x)})}var y=B(k,2),w=D(y);nc(w,{get disabled(){return e.confirming},get onclick(){return e.onConfirm},get brandingAppearance(){return t()},children:(P,S)=>{var T=ze();V(()=>ge(T,e.confirming?"Confirming…":o(n))),E(P,T)},$$slots:{default:!0}}),E(r,s),me()}var t0=R('<button class="rcb-applied-discount-chip svelte-56pxsq" type="button"><span class="rcb-applied-discount-code svelte-56pxsq"> </span> <span class="rcb-applied-discount-icon svelte-56pxsq" aria-hidden="true"><!></span></button>'),n0=R('<div class="rcb-applied-discount-chip rcb-applied-discount-chip--static svelte-56pxsq"><span class="rcb-applied-discount-code svelte-56pxsq"> </span></div>'),a0=R('<div class="rcb-applied-discount-label svelte-56pxsq"> </div>'),o0=R('<div class="rcb-applied-discount svelte-56pxsq"><!> <!></div>'),i0=R('<div class="rcb-discount-error svelte-56pxsq" role="alert"><span class="rcb-discount-error-icon svelte-56pxsq" aria-hidden="true"><!></span> <span> </span></div>'),s0=R('<div class="rcb-discount-input svelte-56pxsq"><div class="rcb-discount-input-row svelte-56pxsq"><div><label class="rcb-discount-field-label svelte-56pxsq" for="rc-discount-code"> </label> <input class="rcb-discount-field-input svelte-56pxsq" id="rc-discount-code" type="text" autocomplete="off" placeholder=" "/></div> <button type="button"> </button></div> <!></div>'),l0=R('<div class="rcb-product-price-container svelte-56pxsq"><!></div>');const c0={hash:"svelte-56pxsq",code:`.rcb-product-price-container.svelte-56pxsq {display:flex;flex-direction:column;justify-content:space-between;gap:var(--rc-spacing-gapMedium-mobile);color:var(--rc-color-grey-text-dark);}.rcb-discount-input.svelte-56pxsq {display:flex;flex-direction:column;gap:4px;}.rcb-discount-input-row.svelte-56pxsq {display:flex;gap:8px;width:100%;}.rcb-discount-field.svelte-56pxsq {position:relative;display:flex;align-items:flex-end;flex:1 1 auto;min-width:0;min-height:48px;padding:4px 12px;border:1px solid var(--rc-color-grey-ui-dark);border-radius:var(--rc-shape-input-border-radius);background:var(--rc-color-background);transition:border-color 150ms ease;}.rcb-discount-field--focused.svelte-56pxsq {border-color:var(--rc-color-grey-text-light);}.rcb-discount-field-label.svelte-56pxsq {position:absolute;top:50%;left:12px;max-width:calc(100% - 24px);overflow:hidden;color:var(--rc-color-grey-text-light);font:var(--rc-text-bodySmall-mobile);text-overflow:ellipsis;pointer-events:none;transform:translateY(-50%);transform-origin:left top;transition:top 150ms ease,
322
326
  transform 150ms ease,
323
327
  font-size 150ms ease,
324
328
  color 150ms ease;white-space:nowrap;}.rcb-discount-field--floating.svelte-56pxsq .rcb-discount-field-label:where(.svelte-56pxsq) {top:8px;font-size:12px;transform:translateY(0);}.rcb-discount-field-input.svelte-56pxsq {width:100%;min-width:0;padding:14px 0 0;border:none;outline:none;background:transparent;color:var(--rc-color-grey-text-dark);font:var(--rc-text-bodySmall-mobile);}.rcb-discount-field-input.svelte-56pxsq::placeholder {color:transparent;}.rcb-discount-field-input.svelte-56pxsq:disabled {cursor:not-allowed;}.rcb-discount-action-button.svelte-56pxsq {flex:0 0 auto;min-width:82px;min-height:48px;padding:0 16px;border-radius:var(--rc-shape-input-button-border-radius);color:var(--rc-color-grey-text-light);font:var(--rc-text-bodyBase-desktop);transition:background-color 150ms ease,
325
329
  color 150ms ease,
326
330
  opacity 150ms ease;}.rcb-discount-action-button--enabled.svelte-56pxsq {border:1px solid var(--rc-color-grey-ui-dark);background-color:var(--rc-color-grey-ui-light);color:var(--rc-color-grey-text-light);cursor:pointer;}.rcb-discount-action-button.svelte-56pxsq:disabled {background-color:var(--rc-color-grey-ui-light);cursor:not-allowed;opacity:0.7;}.rcb-discount-error.svelte-56pxsq {display:flex;align-items:center;gap:8px;color:var(--rc-color-grey-text-dark);font:var(--rc-text-bodySmall-mobile);}.rcb-discount-error-icon.svelte-56pxsq {display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:16px;height:16px;}.rcb-discount-error-icon.svelte-56pxsq {display:block;width:16px;height:16px;}.rcb-applied-discount.svelte-56pxsq {display:flex;flex-direction:column;align-items:flex-start;gap:4px;max-width:100%;}.rcb-applied-discount-chip.svelte-56pxsq {--arrow-fill-color: var(--rc-color-grey-text-dark);display:inline-flex;align-items:center;gap:8px;width:fit-content;max-width:100%;padding:0 12px;border:1px solid var(--rc-color-grey-ui-light);border-radius:var(--rc-shape-input-button-border-radius);background-color:var(--rc-color-grey-ui-light);color:var(--rc-color-grey-text-dark);font:var(--rc-text-bodySmall-mobile);font-weight:500;transition:background-color 150ms ease,
327
331
  border-color 150ms ease,
328
- opacity 150ms ease;}button.rcb-applied-discount-chip.svelte-56pxsq {cursor:pointer;}.rcb-applied-discount-chip--static.svelte-56pxsq {cursor:default;}button.rcb-applied-discount-chip.svelte-56pxsq:disabled {cursor:not-allowed;opacity:0.7;}.rcb-applied-discount-code.svelte-56pxsq {overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:4px 0;}.rcb-applied-discount-icon.svelte-56pxsq {display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;color:var(--rc-color-grey-text-light);}.rcb-applied-discount-icon.svelte-56pxsq {width:16px;height:16px;}.rcb-applied-discount-label.svelte-56pxsq {color:var(--rc-color-grey-text-light);font:var(--rc-text-bodySmall-mobile);}`};function D_(r,e){he(e,!1),we(r,Z1);const t=()=>Ue(w,"$translator",n),[n,a]=Je(),i=cr(),s=cr(),c=cr(),l=cr(),u=cr();let d=J(e,"showDiscountCodeField",8,!1),_=J(e,"discountCode",12,""),p=J(e,"appliedDiscountCode",8,null),f=J(e,"discountSuffix",8,null),g=J(e,"discountCodeError",8,null),b=J(e,"isUpdatingDiscountCode",8,!1),y=J(e,"isDiscountCodeControlsEnabled",8,!1),h=J(e,"onDiscountCodeChange",8,void 0),k=J(e,"onApplyDiscountCode",8,void 0),x=J(e,"onRemoveDiscountCode",8,void 0),v=cr(!1);const w=He(hr),E=q=>q.toUpperCase(),I=()=>{var q;_(E(_())),(q=h())==null||q(_())},T=q=>{var j;q.key==="Enter"&&(q.preventDefault(),q.stopPropagation(),o(c)&&((j=k())==null||j()))};vr(()=>We(_()),()=>{F(i,_().trim().length>0)}),vr(()=>(o(v),o(i)),()=>{F(s,o(v)||o(i))}),vr(()=>(We(y()),We(b()),o(i)),()=>{F(c,y()&&!b()&&o(i))}),vr(()=>We(g()),()=>{F(l,g()==="Enter a discount code."?g():"Code can't be applied.")}),vr(()=>We(p()),()=>{F(u,p()?E(p()):null)}),Rs(),Ln();var S=X1(),A=D(S);{var C=q=>{var j=Y1(),Z=D(j);{var O=L=>{var K=V1();K.__click=()=>{var Q;return(Q=x())==null?void 0:Q()};var re=D(K),le=D(re),ne=U(re,2),ce=D(ne);Yn(ce,{name:"close"}),Y(()=>{K.disabled=b(),ke(K,"aria-label",`Remove promo code ${o(u)}`),_e(le,o(u))}),P(L,K)},z=L=>{var K=H1(),re=D(K),le=D(re);Y(()=>_e(le,o(u))),P(L,K)};W(Z,L=>{y()?L(O):L(z,!1)})}var M=U(Z,2);{var H=L=>{var K=W1(),re=D(K);Y(()=>_e(re,`
329
- ${f()??""}`)),P(L,K)};W(M,L=>{f()&&L(H)})}P(q,j)},N=q=>{var j=Se(),Z=se(j);{var O=z=>{var M=K1(),H=D(M),L=D(H);let K;var re=D(L),le=D(re),ne=U(re,2);ne.__input=I,ne.__keydown=T;var ce=U(L,2);let Q;ce.__click=()=>{var B;return(B=k())==null?void 0:B()};var ie=D(ce),V=U(H,2);{var X=B=>{var oe=G1(),$=D(oe),ue=D($);Yn(ue,{name:"warning"});var me=U($,2),xe=D(me);Y(()=>_e(xe,o(l))),P(B,oe)};W(V,B=>{g()&&B(X)})}Y((B,oe)=>{K=ur(L,1,"rcb-discount-field svelte-56pxsq",null,K,{"rcb-discount-field--focused":o(v),"rcb-discount-field--floating":o(s)}),_e(le,B),ke(ne,"aria-invalid",!!g()),ne.disabled=b()||!y(),Q=ur(ce,1,"rcb-discount-action-button svelte-56pxsq",null,Q,{"rcb-discount-action-button--enabled":o(c)}),ce.disabled=oe,_e(ie,b()?"Applying...":"Apply")},[()=>(t(),We(de),Ve(()=>t().translate(de.DiscountInputLabel))),()=>(We(b()),We(y()),We(_()),Ve(()=>b()||!y()||!_().trim()))]),Lr("focus",ne,()=>F(v,!0)),Lr("blur",ne,()=>F(v,!1)),wm(ne,_),P(z,M)};W(Z,z=>{d()&&z(O)},!0)}P(q,j)};W(A,q=>{p()?q(C):q(N,!1)})}P(r,S),ve(),a()}Yt(["click","input","keydown"]);var J1=R('<div class="rcb-pricing-dropdown svelte-v5skdw"><div class="rcb-pricing-dropdown-header svelte-v5skdw" tabindex="0" role="button"><!> <span class="rcb-pricing-dropdown-toggle svelte-v5skdw"><!></span></div> <div><div class="rcb-pricing-dropdown-content-inner svelte-v5skdw"><!></div></div></div>');const Q1={hash:"svelte-v5skdw",code:`.rcb-pricing-dropdown.svelte-v5skdw {width:100%;overflow:hidden;display:flex;flex-direction:column;}.rcb-pricing-dropdown-header.svelte-v5skdw {padding-top:var(--rc-spacing-gapSmall-mobile);padding-bottom:var(--rc-spacing-gapSmall-mobile);padding-left:var(--rc-spacing-gapLarge-mobile);padding-right:var(--rc-spacing-gapMedium-mobile);color:var(--rc-color-grey-text-light);border-radius:var(--rc-shape-input-button-border-radius);cursor:pointer;display:inline-flex;align-items:center;background-color:var(--rc-color-grey-ui-light);width:fit-content;user-select:none;}.rcb-pricing-dropdown-toggle.svelte-v5skdw {display:flex;align-items:center;margin-left:var(--rc-spacing-gapSmall-mobile);}.rcb-pricing-dropdown-content.svelte-v5skdw {display:flex;flex-direction:column;overflow:hidden;}
332
+ opacity 150ms ease;}button.rcb-applied-discount-chip.svelte-56pxsq {cursor:pointer;}.rcb-applied-discount-chip--static.svelte-56pxsq {cursor:default;}button.rcb-applied-discount-chip.svelte-56pxsq:disabled {cursor:not-allowed;opacity:0.7;}.rcb-applied-discount-code.svelte-56pxsq {overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:4px 0;}.rcb-applied-discount-icon.svelte-56pxsq {display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;color:var(--rc-color-grey-text-light);}.rcb-applied-discount-icon.svelte-56pxsq {width:16px;height:16px;}.rcb-applied-discount-label.svelte-56pxsq {color:var(--rc-color-grey-text-light);font:var(--rc-text-bodySmall-mobile);}`};function M_(r,e){fe(e,!1),we(r,c0);const t=()=>Re(w,"$translator",n),[n,a]=Ze(),i=cr(),s=cr(),c=cr(),l=cr(),u=cr();let d=X(e,"showDiscountCodeField",8,!1),p=X(e,"discountCode",12,""),_=X(e,"appliedDiscountCode",8,null),h=X(e,"discountSuffix",8,null),f=X(e,"discountCodeError",8,null),b=X(e,"isUpdatingDiscountCode",8,!1),v=X(e,"isDiscountCodeControlsEnabled",8,!1),m=X(e,"onDiscountCodeChange",8,void 0),k=X(e,"onApplyDiscountCode",8,void 0),x=X(e,"onRemoveDiscountCode",8,void 0),y=cr(!1);const w=He(vr),P=q=>q.toUpperCase(),S=()=>{var q;p(P(p())),(q=m())==null||q(p())},T=q=>{var j;q.key==="Enter"&&(q.preventDefault(),q.stopPropagation(),o(c)&&((j=k())==null||j()))};hr(()=>We(p()),()=>{F(i,p().trim().length>0)}),hr(()=>(o(y),o(i)),()=>{F(s,o(y)||o(i))}),hr(()=>(We(v()),We(b()),o(i)),()=>{F(c,v()&&!b()&&o(i))}),hr(()=>We(f()),()=>{F(l,f()==="Enter a discount code."?f():"Code can't be applied.")}),hr(()=>We(_()),()=>{F(u,_()?P(_()):null)}),Rs(),qn();var I=l0(),A=D(I);{var C=q=>{var j=o0(),Y=D(j);{var N=O=>{var G=t0();G.__click=()=>{var Pe;return(Pe=x())==null?void 0:Pe()};var Z=D(G),le=D(Z),$=B(Z,2),oe=D($);Wn(oe,{name:"close"}),V(()=>{G.disabled=b(),ke(G,"aria-label",`Remove promo code ${o(u)}`),ge(le,o(u))}),E(O,G)},M=O=>{var G=n0(),Z=D(G),le=D(Z);V(()=>ge(le,o(u))),E(O,G)};H(Y,O=>{v()?O(N):O(M,!1)})}var z=B(Y,2);{var U=O=>{var G=a0(),Z=D(G);V(()=>ge(Z,`
333
+ ${h()??""}`)),E(O,G)};H(z,O=>{h()&&O(U)})}E(q,j)},L=q=>{var j=Te(),Y=ce(j);{var N=M=>{var z=s0(),U=D(z),O=D(U);let G;var Z=D(O),le=D(Z),$=B(Z,2);$.__input=S,$.__keydown=T;var oe=B(O,2);let Pe;oe.__click=()=>{var ae;return(ae=k())==null?void 0:ae()};var Ie=D(oe),J=B(U,2);{var Q=ae=>{var Ee=i0(),ie=D(Ee),Se=D(ie);Wn(Se,{name:"warning"});var ye=B(ie,2),ee=D(ye);V(()=>ge(ee,o(l))),E(ae,Ee)};H(J,ae=>{f()&&ae(Q)})}V((ae,Ee)=>{G=ur(O,1,"rcb-discount-field svelte-56pxsq",null,G,{"rcb-discount-field--focused":o(y),"rcb-discount-field--floating":o(s)}),ge(le,ae),ke($,"aria-invalid",!!f()),$.disabled=b()||!v(),Pe=ur(oe,1,"rcb-discount-action-button svelte-56pxsq",null,Pe,{"rcb-discount-action-button--enabled":o(c)}),oe.disabled=Ee,ge(Ie,b()?"Applying...":"Apply")},[()=>(t(),We(de),Ue(()=>t().translate(de.DiscountInputLabel))),()=>(We(b()),We(v()),We(p()),Ue(()=>b()||!v()||!p().trim()))]),Br("focus",$,()=>F(y,!0)),Br("blur",$,()=>F(y,!1)),Cm($,p),E(M,z)};H(Y,M=>{d()&&M(N)},!0)}E(q,j)};H(A,q=>{_()?q(C):q(L,!1)})}E(r,I),me(),a()}Zt(["click","input","keydown"]);var u0=R('<div class="rcb-pricing-dropdown svelte-v5skdw"><div class="rcb-pricing-dropdown-header svelte-v5skdw" tabindex="0" role="button"><!> <span class="rcb-pricing-dropdown-toggle svelte-v5skdw"><!></span></div> <div><div class="rcb-pricing-dropdown-content-inner svelte-v5skdw"><!></div></div></div>');const d0={hash:"svelte-v5skdw",code:`.rcb-pricing-dropdown.svelte-v5skdw {width:100%;overflow:hidden;display:flex;flex-direction:column;}.rcb-pricing-dropdown-header.svelte-v5skdw {padding-top:var(--rc-spacing-gapSmall-mobile);padding-bottom:var(--rc-spacing-gapSmall-mobile);padding-left:var(--rc-spacing-gapLarge-mobile);padding-right:var(--rc-spacing-gapMedium-mobile);color:var(--rc-color-grey-text-light);border-radius:var(--rc-shape-input-button-border-radius);cursor:pointer;display:inline-flex;align-items:center;background-color:var(--rc-color-grey-ui-light);width:fit-content;user-select:none;}.rcb-pricing-dropdown-toggle.svelte-v5skdw {display:flex;align-items:center;margin-left:var(--rc-spacing-gapSmall-mobile);}.rcb-pricing-dropdown-content.svelte-v5skdw {display:flex;flex-direction:column;overflow:hidden;}
330
334
 
331
335
  @container layout-query-container (width < 768px) {.rcb-pricing-dropdown-content.svelte-v5skdw {max-height:1000px; /* Set a large max-height for animation */transition:max-height 0.2s ease-in-out;}.rcb-pricing-dropdown-content.collapsed.svelte-v5skdw {max-height:0;}.rcb-pricing-dropdown-content-inner.svelte-v5skdw {padding-top:var(--rc-spacing-gapMedium-mobile);}
332
336
  }
333
337
 
334
338
  @container layout-query-container (width >= 768px) {.rcb-pricing-dropdown-header.svelte-v5skdw {display:none;}
335
- }`};function $1(r,e){he(e,!1),we(r,Q1);const t=()=>Ue(l,"$translator",n),[n,a]=Je();let i=J(e,"isExpanded",12,!0),s=J(e,"showDiscountCodeField",8,!1),c=J(e,"children",8);const l=He(hr);function u(){i(!i())}Ln();var d=J1(),_=D(d),p=D(_);Ce(p,{size:"label-default",children:(w,E)=>{var I=Se(),T=se(I);{var S=C=>{var N=Te();Y(q=>_e(N,q),[()=>(t(),We(de),Ve(()=>t().translate(de.PricingDropdownHideDetails)))]),P(C,N)},A=C=>{var N=Se(),q=se(N);{var j=O=>{var z=Te();Y(M=>_e(z,M),[()=>(t(),We(de),Ve(()=>t().translate(de.PricingDropdownAddPromoCode)))]),P(O,z)},Z=O=>{var z=Te();Y(M=>_e(z,M),[()=>(t(),We(de),Ve(()=>t().translate(de.PricingDropdownShowDetails)))]),P(O,z)};W(q,O=>{s()?O(j):O(Z,!1)},!0)}P(C,N)};W(T,C=>{i()?C(S):C(A,!1)})}P(w,I)},$$slots:{default:!0}});var f=U(p,2),g=D(f);{var b=w=>{Yn(w,{name:"chevron-up"})},y=w=>{Yn(w,{name:"chevron-down"})};W(g,w=>{i()?w(b):w(y,!1)})}var h=U(_,2);let k;var x=D(h),v=D(x);Pr(v,()=>c()??rr),Y(()=>{ke(_,"aria-expanded",i()),k=ur(h,1,"rcb-pricing-dropdown-content svelte-v5skdw",null,k,{collapsed:!i()})}),Lr("click",_,u),Lr("keydown",_,w=>w.key==="Enter"||w.key===" "?u():null),P(r,d),ve(),a()}var e0=R('<div class="rcb-pricing-table-value-loading svelte-w1kcbi"><!></div>');const r0={hash:"svelte-w1kcbi",code:`.rcb-pricing-table-value-loading.svelte-w1kcbi {color:transparent;
339
+ }`};function p0(r,e){fe(e,!1),we(r,d0);const t=()=>Re(l,"$translator",n),[n,a]=Ze();let i=X(e,"isExpanded",12,!0),s=X(e,"showDiscountCodeField",8,!1),c=X(e,"children",8);const l=He(vr);function u(){i(!i())}qn();var d=u0(),p=D(d),_=D(p);Fe(_,{size:"label-default",children:(w,P)=>{var S=Te(),T=ce(S);{var I=C=>{var L=ze();V(q=>ge(L,q),[()=>(t(),We(de),Ue(()=>t().translate(de.PricingDropdownHideDetails)))]),E(C,L)},A=C=>{var L=Te(),q=ce(L);{var j=N=>{var M=ze();V(z=>ge(M,z),[()=>(t(),We(de),Ue(()=>t().translate(de.PricingDropdownAddPromoCode)))]),E(N,M)},Y=N=>{var M=ze();V(z=>ge(M,z),[()=>(t(),We(de),Ue(()=>t().translate(de.PricingDropdownShowDetails)))]),E(N,M)};H(q,N=>{s()?N(j):N(Y,!1)},!0)}E(C,L)};H(T,C=>{i()?C(I):C(A,!1)})}E(w,S)},$$slots:{default:!0}});var h=B(_,2),f=D(h);{var b=w=>{Wn(w,{name:"chevron-up"})},v=w=>{Wn(w,{name:"chevron-down"})};H(f,w=>{i()?w(b):w(v,!1)})}var m=B(p,2);let k;var x=D(m),y=D(x);Pr(y,()=>c()??tr),V(()=>{ke(p,"aria-expanded",i()),k=ur(m,1,"rcb-pricing-dropdown-content svelte-v5skdw",null,k,{collapsed:!i()})}),Br("click",p,u),Br("keydown",p,w=>w.key==="Enter"||w.key===" "?u():null),E(r,d),me(),a()}var _0=R('<div class="rcb-pricing-table-value-loading svelte-w1kcbi"><!></div>');const g0={hash:"svelte-w1kcbi",code:`.rcb-pricing-table-value-loading.svelte-w1kcbi {color:transparent;
336
340
  animation: svelte-w1kcbi-rcb-pricing-table-value-loading 1.5s ease-in-out 0s infinite
337
341
  normal none running;cursor:progress;background-color:var(--rc-color-grey-text-dark);user-select:none;border-radius:var(--rc-shape-input-border-radius);}
338
342
 
@@ -344,18 +348,21 @@ but received
344
348
  50% {
345
349
  opacity: 0.3;
346
350
  }
347
- }`};function A_(r,e){we(r,r0);let t=J(e,"children",8);var n=e0(),a=D(n);Pr(a,()=>t()??rr),P(r,n)}var t0=R('<div class="rcb-pricing-table-row svelte-1cr4unj"><div class="rcb-pricing-table-header svelte-1cr4unj"><div class="rcb-pricing-table-value"><!></div></div> <div class="rcb-pricing-table-value svelte-1cr4unj"><!></div></div> <div class="rcb-pricing-table-row svelte-1cr4unj"><div class="rcb-pricing-table-header svelte-1cr4unj"><div class="rcb-pricing-table-value"><!></div></div> <div class="rcb-pricing-table-value svelte-1cr4unj"><!></div></div> <div class="rcb-pricing-table-separator svelte-1cr4unj"></div>',1),n0=R('<div class="rcb-pricing-table-row svelte-1cr4unj"><div class="rcb-pricing-table-header svelte-1cr4unj"><div class="rcb-pricing-table-value"><!></div></div> <div class="rcb-pricing-table-value svelte-1cr4unj"><!></div></div> <div class="rcb-pricing-table-row rcb-pricing-table-row-applied-discount svelte-1cr4unj"><!> <div class="rcb-pricing-table-value svelte-1cr4unj"><!></div></div>',1),a0=R('<div class="rcb-pricing-table-row svelte-1cr4unj" data-testid="tax-loading-skeleton"><div class="rcb-pricing-table-header svelte-1cr4unj"><!></div> <div class="rcb-pricing-table-value svelte-1cr4unj"><!></div></div>'),o0=R('<div class="rcb-pricing-table-row svelte-1cr4unj"><div class="rcb-pricing-table-header svelte-1cr4unj"> </div> <div class="rcb-pricing-table-value svelte-1cr4unj"><!></div></div>'),i0=R('<div class="rcb-pricing-table-row svelte-1cr4unj"><div class="rcb-pricing-table-header svelte-1cr4unj"><!></div> <div class="rcb-pricing-table-value svelte-1cr4unj"><!></div></div>'),s0=R('<div class="rcb-pricing-table-row svelte-1cr4unj"><div class="rcb-pricing-table-header svelte-1cr4unj"><!></div> <div class="rcb-pricing-table-value svelte-1cr4unj"><!></div></div> <!>',1),l0=R('<div class="rcb-pricing-table-separator svelte-1cr4unj"></div>'),c0=R('<div class="rcb-pricing-table-row svelte-1cr4unj"><div class="rcb-pricing-table-header svelte-1cr4unj"><!></div> <div class="rcb-pricing-table-value svelte-1cr4unj"><!></div></div>'),u0=R('<div class="rcb-pricing-table svelte-1cr4unj"><!> <!> <!> <!> <!> <div class="rcb-pricing-table-row rcb-header svelte-1cr4unj"><div class="rcb-pricing-table-header svelte-1cr4unj"><!></div> <div class="rcb-pricing-table-value svelte-1cr4unj"><!></div></div></div>');const d0={hash:"svelte-1cr4unj",code:`.rcb-pricing-table.svelte-1cr4unj {display:flex;flex-direction:column;gap:var(--rc-spacing-gapSmall-mobile);}.rcb-pricing-table-row.svelte-1cr4unj {display:flex;flex-direction:row;align-items:center;justify-content:space-between;}.rcb-pricing-table-row-applied-discount.svelte-1cr4unj {align-items:flex-end;}.rcb-pricing-table-separator.svelte-1cr4unj {height:1px;background-color:var(--rc-color-grey-ui-dark);}.rcb-pricing-table-row.svelte-1cr4unj > .rcb-pricing-table-header:where(.svelte-1cr4unj) {color:var(--rc-color-grey-text-light);}.rcb-pricing-table-row.svelte-1cr4unj > .rcb-pricing-table-value:where(.svelte-1cr4unj) {color:var(--rc-color-grey-text-dark);}.rcb-pricing-table-row.svelte-1cr4unj:last-child > .rcb-pricing-table-header:where(.svelte-1cr4unj),
351
+ }`};function z_(r,e){we(r,g0);let t=X(e,"children",8);var n=_0(),a=D(n);Pr(a,()=>t()??tr),E(r,n)}var f0=R('<div class="rcb-pricing-table-row svelte-1cr4unj"><div class="rcb-pricing-table-header svelte-1cr4unj"><div class="rcb-pricing-table-value"><!></div></div> <div class="rcb-pricing-table-value svelte-1cr4unj"><!></div></div> <div class="rcb-pricing-table-row svelte-1cr4unj"><div class="rcb-pricing-table-header svelte-1cr4unj"><div class="rcb-pricing-table-value"><!></div></div> <div class="rcb-pricing-table-value svelte-1cr4unj"><!></div></div> <div class="rcb-pricing-table-separator svelte-1cr4unj"></div>',1),m0=R('<div class="rcb-pricing-table-row svelte-1cr4unj"><div class="rcb-pricing-table-header svelte-1cr4unj"><div class="rcb-pricing-table-value"><!></div></div> <div class="rcb-pricing-table-value svelte-1cr4unj"><!></div></div> <div class="rcb-pricing-table-row rcb-pricing-table-row-applied-discount svelte-1cr4unj"><!> <div class="rcb-pricing-table-value svelte-1cr4unj"><!></div></div>',1),h0=R('<div class="rcb-pricing-table-row svelte-1cr4unj" data-testid="tax-loading-skeleton"><div class="rcb-pricing-table-header svelte-1cr4unj"><!></div> <div class="rcb-pricing-table-value svelte-1cr4unj"><!></div></div>'),v0=R('<div class="rcb-pricing-table-row svelte-1cr4unj"><div class="rcb-pricing-table-header svelte-1cr4unj"> </div> <div class="rcb-pricing-table-value svelte-1cr4unj"><!></div></div>'),y0=R('<div class="rcb-pricing-table-row svelte-1cr4unj"><div class="rcb-pricing-table-header svelte-1cr4unj"><!></div> <div class="rcb-pricing-table-value svelte-1cr4unj"><!></div></div>'),b0=R('<div class="rcb-pricing-table-row svelte-1cr4unj"><div class="rcb-pricing-table-header svelte-1cr4unj"><!></div> <div class="rcb-pricing-table-value svelte-1cr4unj"><!></div></div> <!>',1),k0=R('<div class="rcb-pricing-table-separator svelte-1cr4unj"></div>'),w0=R('<div class="rcb-pricing-table-row svelte-1cr4unj"><div class="rcb-pricing-table-header svelte-1cr4unj"><!></div> <div class="rcb-pricing-table-value svelte-1cr4unj"><!></div></div>'),P0=R('<div class="rcb-pricing-table svelte-1cr4unj"><!> <!> <!> <!> <!> <div class="rcb-pricing-table-row rcb-header svelte-1cr4unj"><div class="rcb-pricing-table-header svelte-1cr4unj"><!></div> <div class="rcb-pricing-table-value svelte-1cr4unj"><!></div></div></div>');const x0={hash:"svelte-1cr4unj",code:`.rcb-pricing-table.svelte-1cr4unj {display:flex;flex-direction:column;gap:var(--rc-spacing-gapSmall-mobile);}.rcb-pricing-table-row.svelte-1cr4unj {display:flex;flex-direction:row;align-items:center;justify-content:space-between;}.rcb-pricing-table-row-applied-discount.svelte-1cr4unj {align-items:flex-end;}.rcb-pricing-table-separator.svelte-1cr4unj {height:1px;background-color:var(--rc-color-grey-ui-dark);}.rcb-pricing-table-row.svelte-1cr4unj > .rcb-pricing-table-header:where(.svelte-1cr4unj) {color:var(--rc-color-grey-text-light);}.rcb-pricing-table-row.svelte-1cr4unj > .rcb-pricing-table-value:where(.svelte-1cr4unj) {color:var(--rc-color-grey-text-dark);}.rcb-pricing-table-row.svelte-1cr4unj:last-child > .rcb-pricing-table-header:where(.svelte-1cr4unj),
348
352
  .rcb-pricing-table-row.svelte-1cr4unj:last-child > .rcb-pricing-table-value:where(.svelte-1cr4unj) {color:var(--rc-color-grey-text-dark);}
349
353
 
350
354
  @container layout-query-container (width >= 768px) {.rcb-pricing-table-separator.svelte-1cr4unj {display:none;}.rcb-pricing-table.svelte-1cr4unj {gap:var(--rc-spacing-gapSmall-desktop);}.rcb-pricing-table-row.svelte-1cr4unj > .rcb-pricing-table-header:where(.svelte-1cr4unj),
351
355
  .rcb-pricing-table-row.svelte-1cr4unj > .rcb-pricing-table-value:where(.svelte-1cr4unj) {color:var(--rc-color-grey-text-light);}
352
- }`};function F_(r,e){he(e,!0),we(r,d0);const t=()=>Ue(u,"$translator",n),[n,a]=Je(),i=w=>{var E=u0(),I=D(E);{var T=re=>{var le=t0(),ne=se(le),ce=D(ne),Q=D(ce),ie=D(Q);Ce(ie,{size:"body-small",children:(qe,ze)=>{var De=Te();Y(be=>_e(De,be),[()=>t().translate(de.PricingTableSubtotal)]),P(qe,De)},$$slots:{default:!0}});var V=U(ce,2),X=D(V);Ce(X,{size:"body-small",children:(qe,ze)=>{var De=Te();Y(be=>_e(De,be),[()=>t().formatPrice(o(f),e.priceBreakdown.currency)]),P(qe,De)},$$slots:{default:!0}});var B=U(ne,2),oe=D(B),$=D(oe),ue=D($);Ce(ue,{size:"body-small",children:(qe,ze)=>{var De=Te();Y(be=>_e(De,`${be??""}${e.resolvedDiscount.displayName?`: ${e.resolvedDiscount.displayName}`:""}${o(b)?` (${o(b)})`:""}`),[()=>t().translate(de.PricingTableDiscount)]),P(qe,De)},$$slots:{default:!0}});var me=U(oe,2),xe=D(me);Ce(xe,{size:"body-small",children:(qe,ze)=>{var De=Te();Y(be=>_e(De,`-${be??""}`),[()=>t().formatPrice(o(g),e.priceBreakdown.currency)]),P(qe,De)},$$slots:{default:!0}}),P(re,le)};W(I,re=>{e.resolvedDiscount&&!e.showDiscountCodeField&&re(T)})}var S=U(I,2);{var A=re=>{var le=Se(),ne=se(le);{var ce=ie=>{D_(ie,{get showDiscountCodeField(){return e.showDiscountCodeField},get discountCode(){return e.discountCode},get appliedDiscountCode(){return e.appliedDiscountCode},get discountSuffix(){return o(b)},get discountCodeError(){return e.discountCodeError},get isUpdatingDiscountCode(){return e.isUpdatingDiscountCode},get isDiscountCodeControlsEnabled(){return e.isDiscountCodeControlsEnabled},get onDiscountCodeChange(){return e.onDiscountCodeChange},get onApplyDiscountCode(){return e.onApplyDiscountCode},get onRemoveDiscountCode(){return e.onRemoveDiscountCode}})},Q=ie=>{var V=n0(),X=se(V),B=D(X),oe=D(B),$=D(oe);Ce($,{size:"body-small",children:(be,Ae)=>{var Fe=Te();Y(Ee=>_e(Fe,Ee),[()=>t().translate(de.PricingTableSubtotal)]),P(be,Fe)},$$slots:{default:!0}});var ue=U(B,2),me=D(ue);Ce(me,{size:"body-small",children:(be,Ae)=>{var Fe=Te();Y(Ee=>_e(Fe,Ee),[()=>t().formatPrice(o(f),e.priceBreakdown.currency)]),P(be,Fe)},$$slots:{default:!0}});var xe=U(X,2),qe=D(xe);D_(qe,{get showDiscountCodeField(){return e.showDiscountCodeField},get discountCode(){return e.discountCode},get appliedDiscountCode(){return e.appliedDiscountCode},get discountSuffix(){return o(b)},get discountCodeError(){return e.discountCodeError},get isUpdatingDiscountCode(){return e.isUpdatingDiscountCode},get isDiscountCodeControlsEnabled(){return e.isDiscountCodeControlsEnabled},get onDiscountCodeChange(){return e.onDiscountCodeChange},get onApplyDiscountCode(){return e.onApplyDiscountCode},get onRemoveDiscountCode(){return e.onRemoveDiscountCode}});var ze=U(qe,2),De=D(ze);Ce(De,{size:"body-small",children:(be,Ae)=>{var Fe=Te();Y(Ee=>_e(Fe,`-${Ee??""}`),[()=>t().formatPrice(o(g),e.priceBreakdown.currency)]),P(be,Fe)},$$slots:{default:!0}}),P(ie,V)};W(ne,ie=>{e.appliedDiscountCode?ie(Q,!1):ie(ce)})}P(re,le)};W(S,re=>{e.showDiscountCodeField&&re(A)})}var C=U(S,2);{var N=re=>{var le=s0(),ne=se(le),ce=D(ne),Q=D(ce);Ce(Q,{size:"body-small",children:($,ue)=>{var me=Te();Y(xe=>_e(me,xe),[()=>t().translate(de.PricingTotalExcludingTax)]),P($,me)},$$slots:{default:!0}});var ie=U(ce,2),V=D(ie);Ce(V,{size:"body-small",children:($,ue)=>{var me=Se(),xe=se(me);{var qe=De=>{A_(De,{children:(be,Ae)=>{var Fe=Te();Y(Ee=>_e(Fe,Ee),[()=>t().formatPrice(e.priceBreakdown.totalExcludingTaxInMicros,e.priceBreakdown.currency)]),P(be,Fe)},$$slots:{default:!0}})},ze=De=>{var be=Te();Y(Ae=>_e(be,Ae),[()=>t().formatPrice(e.priceBreakdown.totalExcludingTaxInMicros,e.priceBreakdown.currency)]),P(De,be)};W(xe,De=>{e.priceBreakdown.taxCalculationStatus==="loading"?De(qe):De(ze,!1)})}P($,me)},$$slots:{default:!0}});var X=U(ne,2);{var B=$=>{var ue=a0(),me=D(ue),xe=D(me);Ce(xe,{size:"body-small",children:(De,be)=>{var Ae=Te();Y(Fe=>_e(Ae,Fe),[()=>t().translate(de.PricingTableTax)]),P(De,Ae)},$$slots:{default:!0}});var qe=U(me,2),ze=D(qe);Ce(ze,{size:"body-small",children:(De,be)=>{A_(De,{children:(Ae,Fe)=>{var Ee=Te();Y(pe=>_e(Ee,pe),[()=>t().formatPrice(1234e4,e.priceBreakdown.currency)]),P(Ae,Ee)},$$slots:{default:!0}})},$$slots:{default:!0}}),P($,ue)},oe=$=>{var ue=Se(),me=se(ue);{var xe=ze=>{var De=o0(),be=D(De),Ae=D(be),Fe=U(be,2),Ee=D(Fe);Ce(Ee,{size:"body-small",children:(pe,Ye)=>{var Ze=Te();Y(ge=>_e(Ze,ge),[()=>s()??t().translate(de.PricingTableEnterBillingAddressToCalculate)]),P(pe,Ze)},$$slots:{default:!0}}),Y(pe=>_e(Ae,pe),[()=>t().translate(de.PricingTableTax)]),P(ze,De)},qe=ze=>{var De=Se(),be=se(De);{var Ae=Fe=>{var Ee=Se(),pe=se(Ee);Gt(pe,17,()=>e.priceBreakdown.taxBreakdown,gn,(Ye,Ze)=>{var ge=i0(),Re=D(ge),dr=D(Re);Ce(dr,{size:"body-small",children:(cn,En)=>{var At=Te();Y(()=>_e(At,o(Ze).display_name)),P(cn,At)},$$slots:{default:!0}});var Er=U(Re,2),jr=D(Er);Ce(jr,{size:"body-small",children:(cn,En)=>{var At=Te();Y(ai=>_e(At,ai),[()=>t().formatPrice(o(Ze).tax_amount_in_micros,e.priceBreakdown.currency)]),P(cn,At)},$$slots:{default:!0}}),P(Ye,ge)}),P(Fe,Ee)};W(be,Fe=>{e.priceBreakdown.taxBreakdown!==null&&Fe(Ae)},!0)}P(ze,De)};W(me,ze=>{e.priceBreakdown.taxCalculationStatus==="pending"?ze(xe):ze(qe,!1)},!0)}P($,ue)};W(X,$=>{e.priceBreakdown.taxCalculationStatus==="loading"?$(B):$(oe,!1)})}P(re,le)};W(C,re=>{o(_)&&re(N)})}var q=U(C,2);{var j=re=>{var le=l0();P(re,le)};W(q,re=>{(o(_)||e.appliedDiscountCode)&&re(j)})}var Z=U(q,2);{var O=re=>{var le=c0(),ne=D(le),ce=D(ne);Ce(ce,{size:"body-small",children:(V,X)=>{var B=Te();Y(oe=>_e(B,oe),[()=>t().translate(de.PricingTableTrialEnds,{formattedTrialEndDate:t().translateDate(o(l),{dateStyle:"medium"})})]),P(V,B)},$$slots:{default:!0}});var Q=U(ne,2),ie=D(Q);Ce(ie,{size:"body-small",children:(V,X)=>{var B=Te();Y(oe=>_e(B,oe),[()=>t().formatPrice(e.priceBreakdown.totalAmountInMicros,e.priceBreakdown.currency)]),P(V,B)},$$slots:{default:!0}}),P(re,le)};W(Z,re=>{o(l)&&re(O)})}var z=U(Z,2),M=D(z),H=D(M);Ce(H,{size:"body-small",children:(re,le)=>{var ne=Te();Y(ce=>_e(ne,ce),[()=>c()??t().translate(de.PricingTableTotalDueToday)]),P(re,ne)},$$slots:{default:!0}});var L=U(M,2),K=D(L);Ce(K,{size:"body-small",children:(re,le)=>{var ne=Te();Y(ce=>_e(ne,ce),[()=>t().formatPrice(o(y),e.priceBreakdown.currency)]),P(re,ne)},$$slots:{default:!0}}),P(w,E)};let s=J(e,"pendingTaxLabel",3,null),c=J(e,"totalRowLabel",3,null);const l=m(()=>{var w;return(w=e.trialPhase)!=null&&w.period?Ao(new Date,e.trialPhase.period,!0):null}),u=He(hr),d=m(()=>e.priceBreakdown.taxCalculationStatus==="loading"||e.priceBreakdown.taxCalculationStatus==="pending"),_=m(()=>{var w;return e.priceBreakdown.taxCalculationStatus!=="unavailable"&&e.priceBreakdown.taxCalculationStatus!=="disabled"&&(o(d)||(((w=e.priceBreakdown.taxBreakdown)==null?void 0:w.length)??0)>0)}),p=m(()=>e.showDiscountCodeField||o(_)),f=m(()=>{var w,E;return e.priceBreakdown.originalAmountInMicros??((E=(w=e.basePhase)==null?void 0:w.price)==null?void 0:E.amountMicros)??e.priceBreakdown.totalAmountInMicros}),g=m(()=>{var w;return((w=e.resolvedDiscount)==null?void 0:w.discountAmountInMicros)??0}),b=m(()=>{var w;return((w=e.resolvedDiscount)==null?void 0:w.suffix)??null}),y=m(()=>o(l)?0:e.priceBreakdown.totalAmountInMicros);var h=Se(),k=se(h);{var x=w=>{$1(w,{get showDiscountCodeField(){return e.showDiscountCodeField},children:(E,I)=>{i(E)},$$slots:{default:!0}})},v=w=>{i(w)};W(k,w=>{o(p)?w(x):w(v,!1)})}P(r,h),ve(),a()}var p0=R('<div class="rcb-subscribe-to svelte-sdtx9l"><!></div>'),_0=R('<span class="rcb-product-description svelte-sdtx9l"><!></span>'),g0=R('<div class="rcb-pricing-info-header svelte-sdtx9l"><!> <div class="rcb-product-title svelte-sdtx9l"><!></div> <!></div>');const f0={hash:"svelte-sdtx9l",code:`.rcb-pricing-info-header.svelte-sdtx9l {display:flex;flex-direction:column;gap:var(--rc-spacing-gapMedium-mobile);}.rcb-product-title.svelte-sdtx9l {color:var(--rc-color-grey-text-dark);}.rcb-product-description.svelte-sdtx9l {color:var(--rc-color-grey-text-light);}.rcb-subscribe-to.svelte-sdtx9l {display:none;}
356
+ }`};function q_(r,e){fe(e,!0),we(r,x0);const t=()=>Re(u,"$translator",n),[n,a]=Ze(),i=w=>{var P=P0(),S=D(P);{var T=Z=>{var le=f0(),$=ce(le),oe=D($),Pe=D(oe),Ie=D(Pe);Fe(Ie,{size:"body-small",children:(K,se)=>{var pe=ze();V(ue=>ge(pe,ue),[()=>t().translate(de.PricingTableSubtotal)]),E(K,pe)},$$slots:{default:!0}});var J=B(oe,2),Q=D(J);Fe(Q,{size:"body-small",children:(K,se)=>{var pe=ze();V(ue=>ge(pe,ue),[()=>t().formatPrice(o(h),e.priceBreakdown.currency)]),E(K,pe)},$$slots:{default:!0}});var ae=B($,2),Ee=D(ae),ie=D(Ee),Se=D(ie);Fe(Se,{size:"body-small",children:(K,se)=>{var pe=ze();V(ue=>ge(pe,`${ue??""}${e.resolvedDiscount.displayName?`: ${e.resolvedDiscount.displayName}`:""}${o(b)?` (${o(b)})`:""}`),[()=>t().translate(de.PricingTableDiscount)]),E(K,pe)},$$slots:{default:!0}});var ye=B(Ee,2),ee=D(ye);Fe(ee,{size:"body-small",children:(K,se)=>{var pe=ze();V(ue=>ge(pe,`-${ue??""}`),[()=>t().formatPrice(o(f),e.priceBreakdown.currency)]),E(K,pe)},$$slots:{default:!0}}),E(Z,le)};H(S,Z=>{e.resolvedDiscount&&!e.showDiscountCodeField&&Z(T)})}var I=B(S,2);{var A=Z=>{var le=Te(),$=ce(le);{var oe=Ie=>{M_(Ie,{get showDiscountCodeField(){return e.showDiscountCodeField},get discountCode(){return e.discountCode},get appliedDiscountCode(){return e.appliedDiscountCode},get discountSuffix(){return o(b)},get discountCodeError(){return e.discountCodeError},get isUpdatingDiscountCode(){return e.isUpdatingDiscountCode},get isDiscountCodeControlsEnabled(){return e.isDiscountCodeControlsEnabled},get onDiscountCodeChange(){return e.onDiscountCodeChange},get onApplyDiscountCode(){return e.onApplyDiscountCode},get onRemoveDiscountCode(){return e.onRemoveDiscountCode}})},Pe=Ie=>{var J=m0(),Q=ce(J),ae=D(Q),Ee=D(ae),ie=D(Ee);Fe(ie,{size:"body-small",children:(ue,Ae)=>{var Me=ze();V(De=>ge(Me,De),[()=>t().translate(de.PricingTableSubtotal)]),E(ue,Me)},$$slots:{default:!0}});var Se=B(ae,2),ye=D(Se);Fe(ye,{size:"body-small",children:(ue,Ae)=>{var Me=ze();V(De=>ge(Me,De),[()=>t().formatPrice(o(h),e.priceBreakdown.currency)]),E(ue,Me)},$$slots:{default:!0}});var ee=B(Q,2),K=D(ee);M_(K,{get showDiscountCodeField(){return e.showDiscountCodeField},get discountCode(){return e.discountCode},get appliedDiscountCode(){return e.appliedDiscountCode},get discountSuffix(){return o(b)},get discountCodeError(){return e.discountCodeError},get isUpdatingDiscountCode(){return e.isUpdatingDiscountCode},get isDiscountCodeControlsEnabled(){return e.isDiscountCodeControlsEnabled},get onDiscountCodeChange(){return e.onDiscountCodeChange},get onApplyDiscountCode(){return e.onApplyDiscountCode},get onRemoveDiscountCode(){return e.onRemoveDiscountCode}});var se=B(K,2),pe=D(se);Fe(pe,{size:"body-small",children:(ue,Ae)=>{var Me=ze();V(De=>ge(Me,`-${De??""}`),[()=>t().formatPrice(o(f),e.priceBreakdown.currency)]),E(ue,Me)},$$slots:{default:!0}}),E(Ie,J)};H($,Ie=>{e.appliedDiscountCode?Ie(Pe,!1):Ie(oe)})}E(Z,le)};H(I,Z=>{e.showDiscountCodeField&&Z(A)})}var C=B(I,2);{var L=Z=>{var le=b0(),$=ce(le),oe=D($),Pe=D(oe);Fe(Pe,{size:"body-small",children:(ie,Se)=>{var ye=ze();V(ee=>ge(ye,ee),[()=>t().translate(de.PricingTotalExcludingTax)]),E(ie,ye)},$$slots:{default:!0}});var Ie=B(oe,2),J=D(Ie);Fe(J,{size:"body-small",children:(ie,Se)=>{var ye=Te(),ee=ce(ye);{var K=pe=>{z_(pe,{children:(ue,Ae)=>{var Me=ze();V(De=>ge(Me,De),[()=>t().formatPrice(e.priceBreakdown.totalExcludingTaxInMicros,e.priceBreakdown.currency)]),E(ue,Me)},$$slots:{default:!0}})},se=pe=>{var ue=ze();V(Ae=>ge(ue,Ae),[()=>t().formatPrice(e.priceBreakdown.totalExcludingTaxInMicros,e.priceBreakdown.currency)]),E(pe,ue)};H(ee,pe=>{e.priceBreakdown.taxCalculationStatus==="loading"?pe(K):pe(se,!1)})}E(ie,ye)},$$slots:{default:!0}});var Q=B($,2);{var ae=ie=>{var Se=h0(),ye=D(Se),ee=D(ye);Fe(ee,{size:"body-small",children:(pe,ue)=>{var Ae=ze();V(Me=>ge(Ae,Me),[()=>t().translate(de.PricingTableTax)]),E(pe,Ae)},$$slots:{default:!0}});var K=B(ye,2),se=D(K);Fe(se,{size:"body-small",children:(pe,ue)=>{z_(pe,{children:(Ae,Me)=>{var De=ze();V(he=>ge(De,he),[()=>t().formatPrice(1234e4,e.priceBreakdown.currency)]),E(Ae,De)},$$slots:{default:!0}})},$$slots:{default:!0}}),E(ie,Se)},Ee=ie=>{var Se=Te(),ye=ce(Se);{var ee=se=>{var pe=v0(),ue=D(pe),Ae=D(ue),Me=B(ue,2),De=D(Me);Fe(De,{size:"body-small",children:(he,Ke)=>{var $e=ze();V(ve=>ge($e,ve),[()=>s()??t().translate(de.PricingTableEnterBillingAddressToCalculate)]),E(he,$e)},$$slots:{default:!0}}),V(he=>ge(Ae,he),[()=>t().translate(de.PricingTableTax)]),E(se,pe)},K=se=>{var pe=Te(),ue=ce(pe);{var Ae=Me=>{var De=Te(),he=ce(De);Jt(he,17,()=>e.priceBreakdown.taxBreakdown,hn,(Ke,$e)=>{var ve=y0(),Ve=D(ve),fr=D(Ve);Fe(fr,{size:"body-small",children:(qr,Kr)=>{var Or=ze();V(()=>ge(Or,o($e).display_name)),E(qr,Or)},$$slots:{default:!0}});var Sr=B(Ve,2),zr=D(Sr);Fe(zr,{size:"body-small",children:(qr,Kr)=>{var Or=ze();V(Ut=>ge(Or,Ut),[()=>t().formatPrice(o($e).tax_amount_in_micros,e.priceBreakdown.currency)]),E(qr,Or)},$$slots:{default:!0}}),E(Ke,ve)}),E(Me,De)};H(ue,Me=>{e.priceBreakdown.taxBreakdown!==null&&Me(Ae)},!0)}E(se,pe)};H(ye,se=>{e.priceBreakdown.taxCalculationStatus==="pending"?se(ee):se(K,!1)},!0)}E(ie,Se)};H(Q,ie=>{e.priceBreakdown.taxCalculationStatus==="loading"?ie(ae):ie(Ee,!1)})}E(Z,le)};H(C,Z=>{o(p)&&Z(L)})}var q=B(C,2);{var j=Z=>{var le=k0();E(Z,le)};H(q,Z=>{(o(p)||e.appliedDiscountCode)&&Z(j)})}var Y=B(q,2);{var N=Z=>{var le=w0(),$=D(le),oe=D($);Fe(oe,{size:"body-small",children:(J,Q)=>{var ae=ze();V(Ee=>ge(ae,Ee),[()=>t().translate(de.PricingTableTrialEnds,{formattedTrialEndDate:t().translateDate(o(l),{dateStyle:"medium"})})]),E(J,ae)},$$slots:{default:!0}});var Pe=B($,2),Ie=D(Pe);Fe(Ie,{size:"body-small",children:(J,Q)=>{var ae=ze();V(Ee=>ge(ae,Ee),[()=>t().formatPrice(e.priceBreakdown.totalAmountInMicros,e.priceBreakdown.currency)]),E(J,ae)},$$slots:{default:!0}}),E(Z,le)};H(Y,Z=>{o(l)&&Z(N)})}var M=B(Y,2),z=D(M),U=D(z);Fe(U,{size:"body-small",children:(Z,le)=>{var $=ze();V(oe=>ge($,oe),[()=>c()??t().translate(de.PricingTableTotalDueToday)]),E(Z,$)},$$slots:{default:!0}});var O=B(z,2),G=D(O);Fe(G,{size:"body-small",children:(Z,le)=>{var $=ze();V(oe=>ge($,oe),[()=>t().formatPrice(o(v),e.priceBreakdown.currency)]),E(Z,$)},$$slots:{default:!0}}),E(w,P)};let s=X(e,"pendingTaxLabel",3,null),c=X(e,"totalRowLabel",3,null);const l=g(()=>{var w;return(w=e.trialPhase)!=null&&w.period?Mo(new Date,e.trialPhase.period,!0):null}),u=He(vr),d=g(()=>e.priceBreakdown.taxCalculationStatus==="loading"||e.priceBreakdown.taxCalculationStatus==="pending"),p=g(()=>{var w;return e.priceBreakdown.taxCalculationStatus!=="unavailable"&&e.priceBreakdown.taxCalculationStatus!=="disabled"&&(o(d)||(((w=e.priceBreakdown.taxBreakdown)==null?void 0:w.length)??0)>0)}),_=g(()=>e.showDiscountCodeField||o(p)),h=g(()=>{var w,P;return e.priceBreakdown.originalAmountInMicros??((P=(w=e.basePhase)==null?void 0:w.price)==null?void 0:P.amountMicros)??e.priceBreakdown.totalAmountInMicros}),f=g(()=>{var w;return((w=e.resolvedDiscount)==null?void 0:w.discountAmountInMicros)??0}),b=g(()=>{var w;return((w=e.resolvedDiscount)==null?void 0:w.suffix)??null}),v=g(()=>o(l)?0:e.priceBreakdown.totalAmountInMicros);var m=Te(),k=ce(m);{var x=w=>{p0(w,{get showDiscountCodeField(){return e.showDiscountCodeField},children:(P,S)=>{i(P)},$$slots:{default:!0}})},y=w=>{i(w)};H(k,w=>{o(_)?w(x):w(y,!1)})}E(r,m),me(),a()}var E0=R('<div class="rcb-pricing-info svelte-r306bb"><div class="rcb-pricing-info-header svelte-r306bb"><div class="rcb-upgrade-product svelte-r306bb"><div class="rcb-upgrade-label svelte-r306bb"><!></div> <div class="rcb-product-title svelte-r306bb"><!></div></div> <div class="rcb-upgrade-product svelte-r306bb"><div class="rcb-upgrade-label svelte-r306bb"><!></div> <div class="rcb-product-title svelte-r306bb"><!></div></div></div> <!></div>');const S0={hash:"svelte-r306bb",code:`.rcb-pricing-info.svelte-r306bb {display:flex;flex-direction:column;user-select:none;gap:var(--rc-spacing-gapXXLarge-mobile);}.rcb-pricing-info-header.svelte-r306bb {display:flex;flex-direction:column;gap:var(--rc-spacing-gapLarge-mobile);}.rcb-upgrade-product.svelte-r306bb {display:flex;flex-direction:column;gap:var(--rc-spacing-gapMedium-mobile);}.rcb-upgrade-label.svelte-r306bb {color:var(--rc-color-grey-text-light);}.rcb-product-title.svelte-r306bb {color:var(--rc-color-grey-text-dark);}
357
+
358
+ @container layout-query-container (width >= 768px) {.rcb-pricing-info.svelte-r306bb {gap:var(--rc-spacing-gapXXXLarge-desktop);}.rcb-pricing-info-header.svelte-r306bb {gap:var(--rc-spacing-gapLarge-desktop);}.rcb-upgrade-product.svelte-r306bb {gap:var(--rc-spacing-gapMedium-desktop);}
359
+ }`};function I0(r,e){fe(e,!0),we(r,S0);const t=()=>Re(i,"$translator",n),[n,a]=Ze(),i=He(vr),s=g(()=>e.startData.from_product.display_name??e.startData.from_product.product_id),c=g(()=>e.startData.to_product.display_name??e.startData.to_product.product_id),l=g(()=>t().formatPrice(e.startData.from_product.price_in_micros,e.startData.from_product.currency)),u=g(()=>t().formatPrice(e.startData.to_product.price_in_micros,e.startData.to_product.currency));function d(C){const L=C.tax_amount_in_micros;return{currency:C.currency,totalAmountInMicros:C.total_amount_in_micros,totalExcludingTaxInMicros:C.total_excluding_tax_in_micros,originalAmountInMicros:C.original_amount_in_micros??void 0,taxAmountInMicros:L,taxCalculationStatus:L!=null?"calculated":"pending",taxBreakdown:L!=null?[{display_name:"Tax (estimated)",tax_amount_in_micros:L}]:null}}const p=g(()=>{const C=e.startData.price_breakdown??e.startData.estimated_renewal_price;return C?d(C):{currency:e.startData.to_product.currency,totalAmountInMicros:0,totalExcludingTaxInMicros:0,taxAmountInMicros:null,taxCalculationStatus:"disabled",taxBreakdown:null}}),_=g(()=>e.startData.change_type==="deferred"&&e.startData.estimated_renewal_price?"Estimated at next renewal":null),h=g(()=>e.startData.price_breakdown||e.startData.estimated_renewal_price?"Calculated later":null);var f=E0(),b=D(f),v=D(b),m=D(v),k=D(m);Fe(k,{size:"body-base",children:(C,L)=>{var q=ze("Upgrade from");E(C,q)},$$slots:{default:!0}});var x=B(m,2),y=D(x);Fe(y,{size:"heading-lg",branded:!0,children:(C,L)=>{var q=ze();V(()=>ge(q,`${o(s)??""} — ${o(l)??""}`)),E(C,q)},$$slots:{default:!0}});var w=B(v,2),P=D(w),S=D(P);Fe(S,{size:"body-base",children:(C,L)=>{var q=ze("Upgrade to");E(C,q)},$$slots:{default:!0}});var T=B(P,2),I=D(T);Fe(I,{size:"heading-lg",branded:!0,children:(C,L)=>{var q=ze();V(()=>ge(q,`${o(c)??""} — ${o(u)??""}`)),E(C,q)},$$slots:{default:!0}});var A=B(b,2);q_(A,{get priceBreakdown(){return o(p)},trialPhase:null,basePhase:null,resolvedDiscount:null,showDiscountCodeField:!1,discountCode:"",appliedDiscountCode:null,discountCodeError:null,isUpdatingDiscountCode:!1,isDiscountCodeControlsEnabled:!1,onDiscountCodeChange:void 0,onApplyDiscountCode:void 0,onRemoveDiscountCode:void 0,get pendingTaxLabel(){return o(h)},get totalRowLabel(){return o(_)}}),E(r,f),me(),a()}var C0=R('<div class="rcb-subscribe-to svelte-sdtx9l"><!></div>'),T0=R('<span class="rcb-product-description svelte-sdtx9l"><!></span>'),D0=R('<div class="rcb-pricing-info-header svelte-sdtx9l"><!> <div class="rcb-product-title svelte-sdtx9l"><!></div> <!></div>');const A0={hash:"svelte-sdtx9l",code:`.rcb-pricing-info-header.svelte-sdtx9l {display:flex;flex-direction:column;gap:var(--rc-spacing-gapMedium-mobile);}.rcb-product-title.svelte-sdtx9l {color:var(--rc-color-grey-text-dark);}.rcb-product-description.svelte-sdtx9l {color:var(--rc-color-grey-text-light);}.rcb-subscribe-to.svelte-sdtx9l {display:none;}
353
360
 
354
361
  @container layout-query-container (width >= 768px) {.rcb-subscribe-to.svelte-sdtx9l {display:block;}.rcb-pricing-info-header.svelte-sdtx9l {display:flex;flex-direction:column;gap:var(--rc-spacing-gapMedium-desktop);}
355
- }`};function m0(r,e){he(e,!1),we(r,f0);let t=J(e,"productDetails",8),n=J(e,"showProductDescription",8);const a=t().productType===Wr.Subscription;Ln();var i=g0(),s=D(i);{var c=p=>{var f=p0(),g=D(f);Ce(g,{size:"body-base",children:(b,y)=>{{let h=An(()=>(We(t()),Ve(()=>({productTitle:t().title}))));mt(b,{get key(){return We(de),Ve(()=>de.ProductInfoSubscribeTo)},get variables(){return o(h)}})}},$$slots:{default:!0}}),P(p,f)};W(s,p=>{a&&p(c)})}var l=U(s,2),u=D(l);Ce(u,{size:"heading-lg",branded:!0,children:(p,f)=>{{let g=An(()=>(We(t()),Ve(()=>({productTitle:t().title}))));mt(p,{get key(){return We(de),Ve(()=>de.ProductInfoProductTitle)},get variables(){return o(g)}})}},$$slots:{default:!0}});var d=U(l,2);{var _=p=>{var f=_0(),g=D(f);Ce(g,{size:"body-small",children:(b,y)=>{{let h=An(()=>(We(t()),Ve(()=>({productDescription:t().description}))));mt(b,{get key(){return We(de),Ve(()=>de.ProductInfoProductDescription)},get variables(){return o(h)}})}},$$slots:{default:!0}}),P(p,f)};W(d,p=>{We(n()),We(t()),Ve(()=>n()&&t().description)&&p(_)})}P(r,i),ve()}var h0=R("<div><!></div>"),v0=R("<div><!> <!></div>"),y0=R('<div class="rcb-product-price-container svelte-17etw2v"><!> <!> <div><!> <!> <!></div></div>');const b0={hash:"svelte-17etw2v",code:".rcb-product-price-container.svelte-17etw2v {display:flex;flex-direction:column;justify-content:space-between;gap:var(--rc-spacing-gapMedium-mobile);color:var(--rc-color-grey-text-dark);}"};function k0(r,e){he(e,!0),we(r,b0);const t=()=>Ue(i,"$translator",n),[n,a]=Je(),i=He(hr),s=m(()=>{var j;return!!((j=e.trialPhase)!=null&&j.periodDuration)}),c=m(()=>{var j;return((j=e.introPricePhase)==null?void 0:j.cycleCount)===1}),l=m(()=>!!e.introPricePhase),u=m(()=>{var j;return!!e.discountPhase||(((j=e.priceBreakdown.appliedDiscounts)==null?void 0:j.length)??0)>0}),d=m(()=>{var O,z;if(!o(l)||!((O=e.introPricePhase)!=null&&O.period))return"";const j=e.introPricePhase.period.number*((z=e.introPricePhase)==null?void 0:z.cycleCount),Z=e.introPricePhase.period.unit;return j==null||Z==null?"":j===1&&!o(s)&&t().selectedLocale===Hr?t().translatePeriodUnit(Z)||"":t().translatePeriod(j,Z)||""}),_=m(()=>{var j,Z;return(j=e.introPricePhase)!=null&&j.period?o(c)?t().translate(de.ProductInfoIntroPricePhasePaidOnce):e.introPricePhase&&((Z=e.introPricePhase)!=null&&Z.period)&&t().translatePeriodFrequency(e.introPricePhase.period.number,e.introPricePhase.period.unit,{useMultipleWords:!0})||"":""}),p=m(()=>o(s)?de.ProductInfoIntroPricePhaseAfterTrial:de.ProductInfoIntroPricePhase),f=m(()=>t().formatPrice(e.priceBreakdown.totalAmountInMicros,e.priceBreakdown.currency)),g=m(()=>{var Z,O;const j=e.introPricePhase||o(u)?((O=(Z=e.basePhase)==null?void 0:Z.price)==null?void 0:O.amountMicros)??0:e.priceBreakdown.totalAmountInMicros;return t().formatPrice(j,e.priceBreakdown.currency)}),b=m(()=>o(l)?de.ProductInfoAfter:o(s)?de.ProductInfoAfterTrial:null),y="heading-lg",h=m(()=>o(s)?"heading-md":"heading-lg"),k=m(()=>o(s)||o(l)?"heading-md":"heading-lg");var x=y0(),v=D(x);{var w=j=>{var Z=h0(),O=D(Z);Ce(O,{size:y,children:(z,M)=>{{let H=m(()=>({trialDuration:ph(e.trialPhase.periodDuration,t())}));mt(z,{get key(){return de.ProductInfoFreeTrialDuration},get variables(){return o(H)}})}},$$slots:{default:!0}}),P(j,Z)};W(v,j=>{o(s)&&j(w)})}var E=U(v,2);{var I=j=>{var Z=v0(),O=D(Z);Ce(O,{get size(){return o(h)},children:(H,L)=>{{let K=m(()=>({introPriceDuration:o(d),introPrice:o(f)}));mt(H,{get key(){return o(p)},get variables(){return o(K)}})}},$$slots:{default:!0}});var z=U(O,2);{var M=H=>{Ce(H,{size:"body-small",children:(L,K)=>{var re=Te();Y(()=>_e(re,o(_))),P(L,re)},$$slots:{default:!0}})};W(z,H=>{o(_)&&H(M)})}P(j,Z)};W(E,j=>{o(l)&&j(I)})}var T=U(E,2),S=D(T);Ce(S,{get size(){return o(k)},children:(j,Z)=>{var O=Te();Y(()=>_e(O,o(g))),P(j,O)},$$slots:{default:!0}});var A=U(S,2);{var C=j=>{Ce(j,{size:"body-small",children:(Z,O)=>{var z=Te();Y(M=>_e(z,M),[()=>t().translatePeriodFrequency(e.basePhase.period.number,e.basePhase.period.unit,{useMultipleWords:!0})]),P(Z,z)},$$slots:{default:!0}})};W(A,j=>{var Z;(Z=e.basePhase)!=null&&Z.period&&j(C)})}var N=U(A,2);{var q=j=>{Ce(j,{size:"body-small",children:(Z,O)=>{mt(Z,{get key(){return o(b)}})},$$slots:{default:!0}})};W(N,j=>{o(b)&&j(q)})}P(r,x),ve(),a()}var w0=R("<div><!></div>");function P0(r,e){he(e,!0);const t=()=>Ue(i,"$translator",n),[n,a]=Je(),i=He(hr),s=m(()=>{var d,_;return t().formatPrice(((_=(d=e.basePhase)==null?void 0:d.price)==null?void 0:_.amountMicros)??0,e.priceBreakdown.currency)}),c="heading-lg";var l=w0(),u=D(l);Ce(u,{size:c,children:(d,_)=>{var p=Te();Y(()=>_e(p,o(s))),P(d,p)},$$slots:{default:!0}}),P(r,l),ve(),a()}var x0=R('<div class="rcb-pricing-info svelte-1jzyaxi"><div class="rcb-pricing-info-header svelte-1jzyaxi"><!> <!></div> <!></div>');const E0={hash:"svelte-1jzyaxi",code:`.rcb-pricing-info.svelte-1jzyaxi {display:flex;flex-direction:column;user-select:none;gap:var(--rc-spacing-gapXXLarge-mobile);}.rcb-pricing-info-header.svelte-1jzyaxi {display:flex;flex-direction:column;gap:var(--rc-spacing-gapLarge-mobile);}
362
+ }`};function F0(r,e){fe(e,!1),we(r,A0);let t=X(e,"productDetails",8),n=X(e,"showProductDescription",8);const a=t().productType===Gr.Subscription;qn();var i=D0(),s=D(i);{var c=_=>{var h=C0(),f=D(h);Fe(f,{size:"body-base",children:(b,v)=>{{let m=Dn(()=>(We(t()),Ue(()=>({productTitle:t().title}))));yt(b,{get key(){return We(de),Ue(()=>de.ProductInfoSubscribeTo)},get variables(){return o(m)}})}},$$slots:{default:!0}}),E(_,h)};H(s,_=>{a&&_(c)})}var l=B(s,2),u=D(l);Fe(u,{size:"heading-lg",branded:!0,children:(_,h)=>{{let f=Dn(()=>(We(t()),Ue(()=>({productTitle:t().title}))));yt(_,{get key(){return We(de),Ue(()=>de.ProductInfoProductTitle)},get variables(){return o(f)}})}},$$slots:{default:!0}});var d=B(l,2);{var p=_=>{var h=T0(),f=D(h);Fe(f,{size:"body-small",children:(b,v)=>{{let m=Dn(()=>(We(t()),Ue(()=>({productDescription:t().description}))));yt(b,{get key(){return We(de),Ue(()=>de.ProductInfoProductDescription)},get variables(){return o(m)}})}},$$slots:{default:!0}}),E(_,h)};H(d,_=>{We(n()),We(t()),Ue(()=>n()&&t().description)&&_(p)})}E(r,i),me()}var M0=R("<div><!></div>"),z0=R("<div><!> <!></div>"),q0=R('<div class="rcb-product-price-container svelte-17etw2v"><!> <!> <div><!> <!> <!></div></div>');const O0={hash:"svelte-17etw2v",code:".rcb-product-price-container.svelte-17etw2v {display:flex;flex-direction:column;justify-content:space-between;gap:var(--rc-spacing-gapMedium-mobile);color:var(--rc-color-grey-text-dark);}"};function L0(r,e){fe(e,!0),we(r,O0);const t=()=>Re(i,"$translator",n),[n,a]=Ze(),i=He(vr),s=g(()=>{var j;return!!((j=e.trialPhase)!=null&&j.periodDuration)}),c=g(()=>{var j;return((j=e.introPricePhase)==null?void 0:j.cycleCount)===1}),l=g(()=>!!e.introPricePhase),u=g(()=>{var j;return!!e.discountPhase||(((j=e.priceBreakdown.appliedDiscounts)==null?void 0:j.length)??0)>0}),d=g(()=>{var N,M;if(!o(l)||!((N=e.introPricePhase)!=null&&N.period))return"";const j=e.introPricePhase.period.number*((M=e.introPricePhase)==null?void 0:M.cycleCount),Y=e.introPricePhase.period.unit;return j==null||Y==null?"":j===1&&!o(s)&&t().selectedLocale===Rr?t().translatePeriodUnit(Y)||"":t().translatePeriod(j,Y)||""}),p=g(()=>{var j,Y;return(j=e.introPricePhase)!=null&&j.period?o(c)?t().translate(de.ProductInfoIntroPricePhasePaidOnce):e.introPricePhase&&((Y=e.introPricePhase)!=null&&Y.period)&&t().translatePeriodFrequency(e.introPricePhase.period.number,e.introPricePhase.period.unit,{useMultipleWords:!0})||"":""}),_=g(()=>o(s)?de.ProductInfoIntroPricePhaseAfterTrial:de.ProductInfoIntroPricePhase),h=g(()=>t().formatPrice(e.priceBreakdown.totalAmountInMicros,e.priceBreakdown.currency)),f=g(()=>{var Y,N;const j=e.introPricePhase||o(u)?((N=(Y=e.basePhase)==null?void 0:Y.price)==null?void 0:N.amountMicros)??0:e.priceBreakdown.totalAmountInMicros;return t().formatPrice(j,e.priceBreakdown.currency)}),b=g(()=>o(l)?de.ProductInfoAfter:o(s)?de.ProductInfoAfterTrial:null),v="heading-lg",m=g(()=>o(s)?"heading-md":"heading-lg"),k=g(()=>o(s)||o(l)?"heading-md":"heading-lg");var x=q0(),y=D(x);{var w=j=>{var Y=M0(),N=D(Y);Fe(N,{size:v,children:(M,z)=>{{let U=g(()=>({trialDuration:yh(e.trialPhase.periodDuration,t())}));yt(M,{get key(){return de.ProductInfoFreeTrialDuration},get variables(){return o(U)}})}},$$slots:{default:!0}}),E(j,Y)};H(y,j=>{o(s)&&j(w)})}var P=B(y,2);{var S=j=>{var Y=z0(),N=D(Y);Fe(N,{get size(){return o(m)},children:(U,O)=>{{let G=g(()=>({introPriceDuration:o(d),introPrice:o(h)}));yt(U,{get key(){return o(_)},get variables(){return o(G)}})}},$$slots:{default:!0}});var M=B(N,2);{var z=U=>{Fe(U,{size:"body-small",children:(O,G)=>{var Z=ze();V(()=>ge(Z,o(p))),E(O,Z)},$$slots:{default:!0}})};H(M,U=>{o(p)&&U(z)})}E(j,Y)};H(P,j=>{o(l)&&j(S)})}var T=B(P,2),I=D(T);Fe(I,{get size(){return o(k)},children:(j,Y)=>{var N=ze();V(()=>ge(N,o(f))),E(j,N)},$$slots:{default:!0}});var A=B(I,2);{var C=j=>{Fe(j,{size:"body-small",children:(Y,N)=>{var M=ze();V(z=>ge(M,z),[()=>t().translatePeriodFrequency(e.basePhase.period.number,e.basePhase.period.unit,{useMultipleWords:!0})]),E(Y,M)},$$slots:{default:!0}})};H(A,j=>{var Y;(Y=e.basePhase)!=null&&Y.period&&j(C)})}var L=B(A,2);{var q=j=>{Fe(j,{size:"body-small",children:(Y,N)=>{yt(Y,{get key(){return o(b)}})},$$slots:{default:!0}})};H(L,j=>{o(b)&&j(q)})}E(r,x),me(),a()}var N0=R("<div><!></div>");function j0(r,e){fe(e,!0);const t=()=>Re(i,"$translator",n),[n,a]=Ze(),i=He(vr),s=g(()=>{var d,p;return t().formatPrice(((p=(d=e.basePhase)==null?void 0:d.price)==null?void 0:p.amountMicros)??0,e.priceBreakdown.currency)}),c="heading-lg";var l=N0(),u=D(l);Fe(u,{size:c,children:(d,p)=>{var _=ze();V(()=>ge(_,o(s))),E(d,_)},$$slots:{default:!0}}),E(r,l),me(),a()}var B0=R('<div class="rcb-pricing-info svelte-1jzyaxi"><div class="rcb-pricing-info-header svelte-1jzyaxi"><!> <!></div> <!></div>');const R0={hash:"svelte-1jzyaxi",code:`.rcb-pricing-info.svelte-1jzyaxi {display:flex;flex-direction:column;user-select:none;gap:var(--rc-spacing-gapXXLarge-mobile);}.rcb-pricing-info-header.svelte-1jzyaxi {display:flex;flex-direction:column;gap:var(--rc-spacing-gapLarge-mobile);}
356
363
 
357
364
  @container layout-query-container (width >= 768px) {.rcb-pricing-info.svelte-1jzyaxi {gap:var(--rc-spacing-gapXXXLarge-desktop);}.rcb-pricing-info-header.svelte-1jzyaxi {gap:var(--rc-spacing-gapLarge-desktop);}
358
- }`};function S0(r,e){he(e,!1),we(r,E0);const t=()=>Ue(A,"$translator",n),[n,a]=Je(),i=cr();let s=J(e,"productDetails",8),c=J(e,"purchaseOption",8),l=J(e,"showProductDescription",8),u=J(e,"priceBreakdown",8),d=J(e,"showDiscountCodeField",8,!1),_=J(e,"discountCode",8,""),p=J(e,"appliedDiscountCode",8,null),f=J(e,"discountCodeError",8,null),g=J(e,"isUpdatingDiscountCode",8,!1),b=J(e,"isDiscountCodeControlsEnabled",8,!1),y=J(e,"onDiscountCodeChange",8,void 0),h=J(e,"onApplyDiscountCode",8,void 0),k=J(e,"onRemoveDiscountCode",8,void 0),x=cr(),v=cr(),w=cr(),E=cr(),I=cr(),T=cr(),S=cr();const A=He(hr);vr(()=>We(s()),()=>{F(x,s().productType==="subscription")}),vr(()=>(o(x),We(c())),()=>{F(v,o(x)?c():null)}),vr(()=>(o(x),We(c())),()=>{F(w,o(x)?null:c())}),vr(()=>(o(x),o(v),o(w)),()=>{var M,H;F(E,o(x)?((M=o(v))==null?void 0:M.base)??null:(H=o(w))!=null&&H.basePrice?{periodDuration:null,period:null,cycleCount:1,price:o(w).basePrice,pricePerWeek:null,pricePerMonth:null,pricePerYear:null}:null)}),vr(()=>o(v),()=>{var M;F(I,((M=o(v))==null?void 0:M.trial)??null)}),vr(()=>(o(v),o(w)),()=>{var M,H;F(T,((M=o(v))==null?void 0:M.discount)??((H=o(w))==null?void 0:H.discount)??null)}),vr(()=>o(v),()=>{var M;F(S,((M=o(v))==null?void 0:M.introPrice)??null)}),vr(()=>(We(u()),We(s()),We(c()),t()),()=>{F(i,gc({priceBreakdown:u(),productDetails:s(),purchaseOption:c(),translator:t()}))}),Rs(),Ln();var C=x0(),N=D(C),q=D(N);m0(q,{get productDetails(){return s()},get showProductDescription(){return l()}});var j=U(q,2);{var Z=M=>{k0(M,{get priceBreakdown(){return u()},get basePhase(){return o(E)},get trialPhase(){return o(I)},get discountPhase(){return o(T)},get introPricePhase(){return o(S)}})},O=M=>{P0(M,{get priceBreakdown(){return u()},get basePhase(){return o(E)}})};W(j,M=>{o(x)?M(Z):M(O,!1)})}var z=U(N,2);F_(z,{get priceBreakdown(){return u()},get trialPhase(){return o(I)},get basePhase(){return o(E)},get resolvedDiscount(){return o(i)},get showDiscountCodeField(){return d()},get discountCode(){return _()},get appliedDiscountCode(){return p()},get discountCodeError(){return f()},get isUpdatingDiscountCode(){return g()},get isDiscountCodeControlsEnabled(){return b()},get onDiscountCodeChange(){return y()},get onApplyDiscountCode(){return h()},get onRemoveDiscountCode(){return k()}}),P(r,C),ve(),a()}const Za=r=>`https://da08ctfrofx1b.cloudfront.net/${r}`;var I0=R("<div><!></div>");const C0={hash:"svelte-18ddpt0",code:`.rcb-ui-container.svelte-18ddpt0 {display:flex;flex-direction:column;inset:0;color-scheme:none;line-height:1.5em;font-family:-apple-system,
365
+ }`};function U0(r,e){fe(e,!1),we(r,R0);const t=()=>Re(A,"$translator",n),[n,a]=Ze(),i=cr();let s=X(e,"productDetails",8),c=X(e,"purchaseOption",8),l=X(e,"showProductDescription",8),u=X(e,"priceBreakdown",8),d=X(e,"showDiscountCodeField",8,!1),p=X(e,"discountCode",8,""),_=X(e,"appliedDiscountCode",8,null),h=X(e,"discountCodeError",8,null),f=X(e,"isUpdatingDiscountCode",8,!1),b=X(e,"isDiscountCodeControlsEnabled",8,!1),v=X(e,"onDiscountCodeChange",8,void 0),m=X(e,"onApplyDiscountCode",8,void 0),k=X(e,"onRemoveDiscountCode",8,void 0),x=cr(),y=cr(),w=cr(),P=cr(),S=cr(),T=cr(),I=cr();const A=He(vr);hr(()=>We(s()),()=>{F(x,s().productType==="subscription")}),hr(()=>(o(x),We(c())),()=>{F(y,o(x)?c():null)}),hr(()=>(o(x),We(c())),()=>{F(w,o(x)?null:c())}),hr(()=>(o(x),o(y),o(w)),()=>{var z,U;F(P,o(x)?((z=o(y))==null?void 0:z.base)??null:(U=o(w))!=null&&U.basePrice?{periodDuration:null,period:null,cycleCount:1,price:o(w).basePrice,pricePerWeek:null,pricePerMonth:null,pricePerYear:null}:null)}),hr(()=>o(y),()=>{var z;F(S,((z=o(y))==null?void 0:z.trial)??null)}),hr(()=>(o(y),o(w)),()=>{var z,U;F(T,((z=o(y))==null?void 0:z.discount)??((U=o(w))==null?void 0:U.discount)??null)}),hr(()=>o(y),()=>{var z;F(I,((z=o(y))==null?void 0:z.introPrice)??null)}),hr(()=>(We(u()),We(s()),We(c()),t()),()=>{F(i,gc({priceBreakdown:u(),productDetails:s(),purchaseOption:c(),translator:t()}))}),Rs(),qn();var C=B0(),L=D(C),q=D(L);F0(q,{get productDetails(){return s()},get showProductDescription(){return l()}});var j=B(q,2);{var Y=z=>{L0(z,{get priceBreakdown(){return u()},get basePhase(){return o(P)},get trialPhase(){return o(S)},get discountPhase(){return o(T)},get introPricePhase(){return o(I)}})},N=z=>{j0(z,{get priceBreakdown(){return u()},get basePhase(){return o(P)}})};H(j,z=>{o(x)?z(Y):z(N,!1)})}var M=B(L,2);q_(M,{get priceBreakdown(){return u()},get trialPhase(){return o(S)},get basePhase(){return o(P)},get resolvedDiscount(){return o(i)},get showDiscountCodeField(){return d()},get discountCode(){return p()},get appliedDiscountCode(){return _()},get discountCodeError(){return h()},get isUpdatingDiscountCode(){return f()},get isDiscountCodeControlsEnabled(){return b()},get onDiscountCodeChange(){return v()},get onApplyDiscountCode(){return m()},get onRemoveDiscountCode(){return k()}}),E(r,C),me(),a()}const Za=r=>`https://da08ctfrofx1b.cloudfront.net/${r}`;var V0=R("<div><!></div>");const H0={hash:"svelte-18ddpt0",code:`.rcb-ui-container.svelte-18ddpt0 {display:flex;flex-direction:column;inset:0;color-scheme:none;line-height:1.5em;font-family:-apple-system,
359
366
  BlinkMacSystemFont,
360
367
  avenir next,
361
368
  avenir,
@@ -367,27 +374,27 @@ but received
367
374
  roboto,
368
375
  noto,
369
376
  arial,
370
- sans-serif;overflow-x:hidden;overflow-y:auto;}.rcb-ui-container.fullscreen.svelte-18ddpt0 {position:fixed;top:0;left:0;right:0;bottom:0;overscroll-behavior:none;z-index:1000001;}.rcb-ui-container.inside.svelte-18ddpt0 {position:relative;width:100%;z-index:unset;height:100%;top:0;left:0;}`};function z_(r,e){he(e,!0),we(r,C0);const t=J(e,"brandingAppearance",3,void 0),n=J(e,"brandFontConfig",3,void 0),a=J(e,"isInElement",3,!1),i=m(()=>new Wn(t()).getTextStyleVars(n())),s=m(()=>new Wn(t()).spacingStyleVars),c=m(()=>[o(i),o(s)].join("; ")),l=m(()=>{var f;return(f=n())!=null&&f.font_url?Za(n().font_url):null}),u=async f=>{try{const g=new FontFace(v_,`url(${f})`);await g.load(),document.fonts.add(g)}catch(g){console.error("Failed to set brand font:",g)}};ir(()=>{o(l)&&u(o(l))});var d=I0();let _;var p=D(d);Pr(p,()=>e.children??rr),Y(()=>{_=ur(d,1,"rcb-ui-container svelte-18ddpt0",null,_,{fullscreen:!a(),inside:a()}),Le(d,o(c))}),P(r,d),ve()}var T0=R('<div id="layout-query-container" class="svelte-1ewgunr"><div class="rcb-ui-layout svelte-1ewgunr"><!></div></div>');const D0={hash:"svelte-1ewgunr",code:`#layout-query-container.svelte-1ewgunr {width:100%;height:100%;container-type:size;container-name:layout-query-container;overflow-y:auto;overscroll-behavior:none;}.rcb-ui-layout.svelte-1ewgunr {width:100%;min-height:100%;display:flex;box-sizing:border-box;flex-direction:column;overscroll-behavior:none;}
377
+ sans-serif;overflow-x:hidden;overflow-y:auto;}.rcb-ui-container.fullscreen.svelte-18ddpt0 {position:fixed;top:0;left:0;right:0;bottom:0;overscroll-behavior:none;z-index:1000001;}.rcb-ui-container.inside.svelte-18ddpt0 {position:relative;width:100%;z-index:unset;height:100%;top:0;left:0;}`};function O_(r,e){fe(e,!0),we(r,H0);const t=X(e,"brandingAppearance",3,void 0),n=X(e,"brandFontConfig",3,void 0),a=X(e,"isInElement",3,!1),i=g(()=>new Hn(t()).getTextStyleVars(n())),s=g(()=>new Hn(t()).spacingStyleVars),c=g(()=>[o(i),o(s)].join("; ")),l=g(()=>{var h;return(h=n())!=null&&h.font_url?Za(n().font_url):null}),u=async h=>{try{const f=new FontFace(k_,`url(${h})`);await f.load(),document.fonts.add(f)}catch(f){console.error("Failed to set brand font:",f)}};ir(()=>{o(l)&&u(o(l))});var d=V0();let p;var _=D(d);Pr(_,()=>e.children??tr),V(()=>{p=ur(d,1,"rcb-ui-container svelte-18ddpt0",null,p,{fullscreen:!a(),inside:a()}),Oe(d,o(c))}),E(r,d),me()}var W0=R('<div id="layout-query-container" class="svelte-1ewgunr"><div class="rcb-ui-layout svelte-1ewgunr"><!></div></div>');const Y0={hash:"svelte-1ewgunr",code:`#layout-query-container.svelte-1ewgunr {width:100%;height:100%;container-type:size;container-name:layout-query-container;overflow-y:auto;overscroll-behavior:none;}.rcb-ui-layout.svelte-1ewgunr {width:100%;min-height:100%;display:flex;box-sizing:border-box;flex-direction:column;overscroll-behavior:none;}
371
378
 
372
379
  @container layout-query-container (width < 768px) {.rcb-ui-layout.svelte-1ewgunr {flex-grow:1;}
373
380
  }
374
381
 
375
382
  @container layout-query-container (width >= 768px) {.rcb-ui-layout.svelte-1ewgunr {flex-direction:row;}
376
- }`};function A0(r,e){we(r,D0);let t=J(e,"style",8,""),n=J(e,"children",8);var a=T0(),i=D(a),s=D(i);Pr(s,()=>n()??rr),Y(()=>Le(i,t())),P(r,a)}const F0=r=>r;function z0(r){const e=r-1;return e*e*e+1}function M_(r){const e=typeof r=="string"&&r.match(/^\s*(-?[\d.]+)([^\s]*)\s*$/);return e?[parseFloat(e[1]),e[2]||"px"]:[r,"px"]}function M0(r,{delay:e=0,duration:t=400,easing:n=F0}={}){const a=+getComputedStyle(r).opacity;return{delay:e,duration:t,easing:n,css:i=>`opacity: ${i*a}`}}function q0(r,{delay:e=0,duration:t=400,easing:n=z0,x:a=0,y:i=0,opacity:s=0}={}){const c=getComputedStyle(r),l=+c.opacity,u=c.transform==="none"?"":c.transform,d=l*(1-s),[_,p]=M_(a),[f,g]=M_(i);return{delay:e,duration:t,easing:n,css:(b,y)=>`
377
- transform: ${u} translate(${(1-b)*_}${p}, ${(1-b)*f}${g});
378
- opacity: ${l-d*y}`}}var O0=R('<div><div class="layout-wrapper svelte-13h5jq9"><div><!></div></div></div>');const L0={hash:"svelte-13h5jq9",code:`.layout-wrapper-outer.svelte-13h5jq9 {flex:1;display:flex;background-color:var(--rc-color-background);}.layout-wrapper-outer.rcb-navbar.svelte-13h5jq9 {justify-content:flex-end;}.layout-wrapper.svelte-13h5jq9 {width:100%;}.layout-content.svelte-13h5jq9 {box-sizing:border-box;background-color:var(--rc-color-background);color:var(--rc-color-grey-text-dark);display:flex;flex-direction:column;}.layout-content.rcb-navbar.svelte-13h5jq9 {display:flex;flex-direction:column;gap:var(--rc-spacing-gapXLarge-mobile);}
383
+ }`};function G0(r,e){we(r,Y0);let t=X(e,"style",8,""),n=X(e,"children",8);var a=W0(),i=D(a),s=D(i);Pr(s,()=>n()??tr),V(()=>Oe(i,t())),E(r,a)}const K0=r=>r;function X0(r){const e=r-1;return e*e*e+1}function L_(r){const e=typeof r=="string"&&r.match(/^\s*(-?[\d.]+)([^\s]*)\s*$/);return e?[parseFloat(e[1]),e[2]||"px"]:[r,"px"]}function Z0(r,{delay:e=0,duration:t=400,easing:n=K0}={}){const a=+getComputedStyle(r).opacity;return{delay:e,duration:t,easing:n,css:i=>`opacity: ${i*a}`}}function J0(r,{delay:e=0,duration:t=400,easing:n=X0,x:a=0,y:i=0,opacity:s=0}={}){const c=getComputedStyle(r),l=+c.opacity,u=c.transform==="none"?"":c.transform,d=l*(1-s),[p,_]=L_(a),[h,f]=L_(i);return{delay:e,duration:t,easing:n,css:(b,v)=>`
384
+ transform: ${u} translate(${(1-b)*p}${_}, ${(1-b)*h}${f});
385
+ opacity: ${l-d*v}`}}var Q0=R('<div><div class="layout-wrapper svelte-13h5jq9"><div><!></div></div></div>');const $0={hash:"svelte-13h5jq9",code:`.layout-wrapper-outer.svelte-13h5jq9 {flex:1;display:flex;background-color:var(--rc-color-background);}.layout-wrapper-outer.rcb-navbar.svelte-13h5jq9 {justify-content:flex-end;}.layout-wrapper.svelte-13h5jq9 {width:100%;}.layout-content.svelte-13h5jq9 {box-sizing:border-box;background-color:var(--rc-color-background);color:var(--rc-color-grey-text-dark);display:flex;flex-direction:column;}.layout-content.rcb-navbar.svelte-13h5jq9 {display:flex;flex-direction:column;gap:var(--rc-spacing-gapXLarge-mobile);}
379
386
 
380
387
  @container layout-query-container (width < 768px) {.layout-wrapper.svelte-13h5jq9 {width:100%;min-width:300px;display:flex;flex-grow:1;}.layout-content.svelte-13h5jq9 {flex-grow:1;height:100%;}.layout-content.rcb-navbar.svelte-13h5jq9 {padding-bottom:var(--rc-spacing-outerPadding-mobile);}.layout-content.rcb-main-block.svelte-13h5jq9 {padding:var(--rc-spacing-outerPadding-mobile);}
381
388
  }
382
389
 
383
390
  @container layout-query-container (width >= 768px) {.layout-wrapper.svelte-13h5jq9 {flex-basis:544px;}.layout-content.rcb-main-block.svelte-13h5jq9 {padding-left:var(--rc-spacing-outerPadding-desktop);padding-right:var(--rc-spacing-outerPadding-desktop);}.layout-content.rcb-navbar.svelte-13h5jq9 {gap:var(--rc-spacing-gapXXLarge-desktop);}.layout-wrapper-outer.svelte-13h5jq9 {padding-top:var(--rc-spacing-outerPaddingTop-desktop);padding-bottom:var(--rc-spacing-outerPadding-desktop);}
384
- }`};function q_(r,e){we(r,L0);const t=`rcb-${e.location}`;var n=O0(),a=D(n),i=D(a),s=D(i);Pr(s,()=>e.children??rr),Y(()=>{ur(n,1,`layout-wrapper-outer ${t}`,"svelte-13h5jq9"),ur(i,1,`layout-content ${t}`,"svelte-13h5jq9")}),Xu(3,i,()=>M0,()=>({duration:500,delay:50})),P(r,n)}var N0=R('<div class="navbar-body svelte-191m2u3"><!></div>'),j0=R('<div class="navbar-header svelte-191m2u3"><!></div> <!>',1),B0=R('<div class="rcb-ui-navbar svelte-191m2u3"><!></div>');const R0={hash:"svelte-191m2u3",code:`.rcb-ui-navbar.svelte-191m2u3 {width:100%;max-width:none;flex-shrink:0;background-color:var(--rc-color-background);}
391
+ }`};function N_(r,e){we(r,$0);const t=`rcb-${e.location}`;var n=Q0(),a=D(n),i=D(a),s=D(i);Pr(s,()=>e.children??tr),V(()=>{ur(n,1,`layout-wrapper-outer ${t}`,"svelte-13h5jq9"),ur(i,1,`layout-content ${t}`,"svelte-13h5jq9")}),Ku(3,i,()=>Z0,()=>({duration:500,delay:50})),E(r,n)}var ex=R('<div class="navbar-body svelte-191m2u3"><!></div>'),rx=R('<div class="navbar-header svelte-191m2u3"><!></div> <!>',1),tx=R('<div class="rcb-ui-navbar svelte-191m2u3"><!></div>');const nx={hash:"svelte-191m2u3",code:`.rcb-ui-navbar.svelte-191m2u3 {width:100%;max-width:none;flex-shrink:0;background-color:var(--rc-color-background);}
385
392
 
386
393
  @container layout-query-container (width < 768px) {.navbar-body.svelte-191m2u3 {padding-left:var(--rc-spacing-outerPadding-mobile);padding-right:var(--rc-spacing-outerPadding-mobile);}
387
394
  }
388
395
 
389
396
  @container layout-query-container (width >= 768px) {.rcb-ui-navbar.svelte-191m2u3 {width:50vw;display:flex;justify-content:flex-end;}.navbar-header.svelte-191m2u3 {padding-left:var(--rc-spacing-outerPadding-desktop);padding-right:var(--rc-spacing-outerPadding-desktop);}.navbar-body.svelte-191m2u3 {padding-left:var(--rc-spacing-outerPadding-desktop);padding-right:var(--rc-spacing-outerPadding-desktop);}
390
- }`};function U0(r,e){he(e,!0),we(r,R0);const t=J(e,"brandingAppearance",3,void 0),n=m(()=>new Wn(t()).productInfoStyleVars);var a=B0(),i=D(a);q_(i,{location:"navbar",children:(s,c)=>{var l=j0(),u=se(l),d=D(u);Pr(d,()=>e.headerContent??rr);var _=U(u,2);{var p=f=>{var g=N0(),b=D(g);Pr(b,()=>e.bodyContent??rr),P(f,g)};W(_,f=>{e.bodyContent&&f(p)})}P(s,l)}}),Y(()=>Le(a,o(n))),P(r,a),ve()}var V0=R('<button class="rcb-close-button svelte-8qlvu1" data-testid="close-button"><!></button>');const H0={hash:"svelte-8qlvu1",code:".rcb-close-button.svelte-8qlvu1 {padding:10px;border:none;cursor:pointer;background-color:transparent;border-radius:50%;color:var(--rc-color-grey-text-dark);display:inline-flex;align-items:center;justify-content:center;width:fit-content;height:fit-content;}.rcb-close-button.svelte-8qlvu1:active {transition:outline 0.1s ease-in-out;outline:2px solid var(--rc-color-focus);}.rcb-close-button.svelte-8qlvu1:hover {color:var(--rc-color-grey-text-dark);}"};function O_(r,e){we(r,H0);var t=V0(),n=D(t);Yn(n,{name:"close"}),Lr("click",t,function(a){sd.call(this,e,a)}),P(r,t)}const W0=`<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12" fill="none">
397
+ }`};function ax(r,e){fe(e,!0),we(r,nx);const t=X(e,"brandingAppearance",3,void 0),n=g(()=>new Hn(t()).productInfoStyleVars);var a=tx(),i=D(a);N_(i,{location:"navbar",children:(s,c)=>{var l=rx(),u=ce(l),d=D(u);Pr(d,()=>e.headerContent??tr);var p=B(u,2);{var _=h=>{var f=ex(),b=D(f);Pr(b,()=>e.bodyContent??tr),E(h,f)};H(p,h=>{e.bodyContent&&h(_)})}E(s,l)}}),V(()=>Oe(a,o(n))),E(r,a),me()}var ox=R('<button class="rcb-close-button svelte-8qlvu1" data-testid="close-button"><!></button>');const ix={hash:"svelte-8qlvu1",code:".rcb-close-button.svelte-8qlvu1 {padding:10px;border:none;cursor:pointer;background-color:transparent;border-radius:50%;color:var(--rc-color-grey-text-dark);display:inline-flex;align-items:center;justify-content:center;width:fit-content;height:fit-content;}.rcb-close-button.svelte-8qlvu1:active {transition:outline 0.1s ease-in-out;outline:2px solid var(--rc-color-focus);}.rcb-close-button.svelte-8qlvu1:hover {color:var(--rc-color-grey-text-dark);}"};function j_(r,e){we(r,ix);var t=ox(),n=D(t);Wn(n,{name:"close"}),Br("click",t,function(a){id.call(this,e,a)}),E(r,t)}const sx=`<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12" fill="none">
391
398
  <g clip-path="url(#clip0_6333_13826)">
392
399
  <rect opacity="0.2" width="12" height="12" rx="2.25" fill="black"/>
393
400
  <path fill-rule="evenodd" clip-rule="evenodd" d="M8.53206 2.06972C9.28201 2.17252 9.88339 2.78615 9.96146 3.52824L10.2298 6.07852C10.2893 6.64453 9.87503 7.12287 9.30441 7.14692C8.73379 7.17097 8.22294 6.73163 8.16339 6.16562L8.08036 5.37641L6.00414 7.35193C5.6039 7.73275 4.94623 7.70146 4.53518 7.28205C4.12413 6.86263 4.11537 6.2139 4.51561 5.83307L6.59182 3.85756L5.79425 3.74823C5.22225 3.66982 4.79448 3.15142 4.83881 2.59036C4.88313 2.02929 5.38276 1.63802 5.95476 1.71643L8.53206 2.06972Z" fill="black"/>
@@ -398,32 +405,25 @@ but received
398
405
  </clipPath>
399
406
  </defs>
400
407
  </svg>
401
- `;var Y0=R('<div style="color:var(--rc-color-accent);" class="rcb-ui-asset-icon svelte-w5b346"><!></div>');const G0={hash:"svelte-w5b346",code:"div.svelte-w5b346 {height:12px;width:12px;}"};function K0(r){we(r,G0);var e=Y0(),t=D(e);fn(t,()=>W0),P(r,e)}var X0=R('<span class="rcb-sandbox-text svelte-bwwvt4">SANDBOX</span>'),Z0=R('<span class="rcb-sandbox-text svelte-bwwvt4">Share feedback</span>'),J0=R('<a class="rcb-ui-sandbox-banner-link svelte-bwwvt4" target="_blank"><!> <!></a>'),Q0=R('<div><div class="rcb-sandbox-banner-spacer svelte-bwwvt4"></div> <div class="rcb-sandbox-banner-title-wrapper svelte-bwwvt4"><!></div> <div class="rcb-sandbox-banner-actions-wrapper svelte-bwwvt4" style="--arrow-fill-color: black"><!> <!></div></div>');const $0={hash:"svelte-bwwvt4",code:`.rcb-ui-sandbox-banner.svelte-bwwvt4 {position:static;background-color:var(--rc-color-warning);color:black;padding:var(--rc-spacing-gapMedium-mobile) 0;display:flex;justify-content:space-between;align-items:center;height:24px;}.rcb-sandbox-text.svelte-bwwvt4 {font-weight:bold;color:black;line-height:2;}.rcb-sandbox-banner-spacer.svelte-bwwvt4 {flex:1;}.rcb-sandbox-banner-title-wrapper.svelte-bwwvt4 {flex:0;text-align:center;}
408
+ `;var lx=R('<div style="color:var(--rc-color-accent);" class="rcb-ui-asset-icon svelte-w5b346"><!></div>');const cx={hash:"svelte-w5b346",code:"div.svelte-w5b346 {height:12px;width:12px;}"};function ux(r){we(r,cx);var e=lx(),t=D(e);vn(t,()=>sx),E(r,e)}var dx=R('<span class="rcb-sandbox-text svelte-bwwvt4">SANDBOX</span>'),px=R('<span class="rcb-sandbox-text svelte-bwwvt4">Share feedback</span>'),_x=R('<a class="rcb-ui-sandbox-banner-link svelte-bwwvt4" target="_blank"><!> <!></a>'),gx=R('<div><div class="rcb-sandbox-banner-spacer svelte-bwwvt4"></div> <div class="rcb-sandbox-banner-title-wrapper svelte-bwwvt4"><!></div> <div class="rcb-sandbox-banner-actions-wrapper svelte-bwwvt4" style="--arrow-fill-color: black"><!> <!></div></div>');const fx={hash:"svelte-bwwvt4",code:`.rcb-ui-sandbox-banner.svelte-bwwvt4 {position:static;background-color:var(--rc-color-warning);color:black;padding:var(--rc-spacing-gapMedium-mobile) 0;display:flex;justify-content:space-between;align-items:center;height:24px;}.rcb-sandbox-text.svelte-bwwvt4 {font-weight:bold;color:black;line-height:2;}.rcb-sandbox-banner-spacer.svelte-bwwvt4 {flex:1;}.rcb-sandbox-banner-title-wrapper.svelte-bwwvt4 {flex:0;text-align:center;}
402
409
 
403
410
  @media (max-width: 768px) {.rcb-sandbox-banner-spacer.svelte-bwwvt4 {flex:0;}.rcb-sandbox-banner-title-wrapper.svelte-bwwvt4 {padding-left:var(--rc-spacing-gapXXLarge-mobile);}
404
- }.rcb-sandbox-banner-actions-wrapper.svelte-bwwvt4 {flex:1;display:flex;justify-content:flex-end;align-items:center;}.rcb-ui-sandbox-banner-link.svelte-bwwvt4 {display:flex;align-items:center;gap:var(--rc-spacing-gapSmall-mobile);line-height:12px;}`};function L_(r,e){he(e,!1),we(r,$0);let t=J(e,"style",8,""),n=J(e,"isInElement",8,!1),a=J(e,"brandingInfo",8,null),i=cr(!0);function s(){Pe.debugLog("closeBanner"),F(i,!1)}Ln();var c=Se(),l=se(c);{var u=d=>{var _=Q0();let p;var f=U(D(_),2),g=D(f);Ce(g,{size:"caption-default",children:(x,v)=>{var w=X0();P(x,w)},$$slots:{default:!0}});var b=U(f,2),y=D(b);{var h=x=>{var v=J0(),w=D(v);K0(w);var E=U(w,2);Ce(E,{size:"caption-link",children:(I,T)=>{var S=Z0();P(I,S)},$$slots:{default:!0}}),Y(()=>ke(v,"href",(We(a()),Ve(()=>a().sandbox_configuration.checkout_feedback_form_url)))),P(x,v)};W(y,x=>{We(a()),Ve(()=>{var v;return(v=a())==null?void 0:v.sandbox_configuration})&&x(h)})}var k=U(y,2);O_(k,{$$events:{click:s}}),Y(()=>{p=ur(_,1,"rcb-ui-sandbox-banner svelte-bwwvt4",null,p,{isInElement:n()}),Le(_,t())}),Xu(2,_,()=>q0,()=>({y:-100,duration:300})),P(d,_)};W(l,d=>{o(i)&&d(u)})}P(r,c),ve()}var ex=R('<div class="rcb-ui-main svelte-iuk1gs"><!></div>');const rx={hash:"svelte-iuk1gs",code:".rcb-ui-main.svelte-iuk1gs {flex:1;display:flex;background-color:var(--rc-color-background);}"};function tx(r,e){he(e,!0),we(r,rx);const t=m(()=>new Wn(e.brandingAppearance).formStyleVars);var n=ex(),a=D(n);q_(a,{location:"main-block",children:(i,s)=>{var c=Se(),l=se(c);Pr(l,()=>e.children??rr),P(i,c)}}),Y(()=>Le(n,o(t))),P(r,n),ve()}var nx=R("<!> <!>",1),ax=R("<!> <!>",1);function fc(r,e){he(e,!0);const t=m(()=>{var n;return P_((n=e.brandingInfo)==null?void 0:n.appearance)??""});{let n=m(()=>{var i;return(i=e.brandingInfo)==null?void 0:i.appearance}),a=m(()=>{var i;return(i=e.brandingInfo)==null?void 0:i.brand_font_config});z_(r,{get brandingAppearance(){return o(n)},get brandFontConfig(){return o(a)},get isInElement(){return e.isInElement},children:(i,s)=>{var c=ax(),l=se(c);{var u=_=>{L_(_,{get style(){return o(t)},get isInElement(){return e.isInElement},get brandingInfo(){return e.brandingInfo}})};W(l,_=>{e.isSandbox&&_(u)})}var d=U(l,2);A0(d,{get style(){return o(t)},children:(_,p)=>{var f=nx(),g=se(f);{var b=h=>{{let k=m(()=>{var x;return(x=e.brandingInfo)==null?void 0:x.appearance});U0(h,{get brandingAppearance(){return o(k)},get headerContent(){return e.navbarHeaderContent},get bodyContent(){return e.navbarBodyContent}})}};W(g,h=>{(e.navbarHeaderContent||e.navbarBodyContent)&&h(b)})}var y=U(g,2);{let h=m(()=>{var k;return(k=e.brandingInfo)==null?void 0:k.appearance});tx(y,{get brandingAppearance(){return o(h)},children:(k,x)=>{var v=Se(),w=se(v);Pr(w,()=>e.mainContent??rr),P(k,v)},$$slots:{default:!0}})}P(_,f)},$$slots:{default:!0}}),P(i,c)},$$slots:{default:!0}})}ve()}var ox=R('<source type="image/webp"/>'),ix=R('<picture class="rcb-app-icon-picture-container svelte-15hivnw"><!> <img class="rcb-app-icon svelte-15hivnw" alt="App icon"/></picture>'),sx=R('<div class="rcb-app-icon loading svelte-15hivnw"></div>');const lx={hash:"svelte-15hivnw",code:".rcb-app-icon.svelte-15hivnw {width:32px;height:32px;border-radius:12px;box-shadow:0px 1px 10px 0px rgba(0, 0, 0, 0.1);}.rcb-app-icon-picture-container.svelte-15hivnw {height:32px;}.rcb-app-icon.loading.svelte-15hivnw {background-color:gray;}"};function cx(r,e){we(r,lx);var t=Se(),n=se(t);{var a=s=>{var c=ix(),l=D(c);{var u=_=>{var p=ox();Y(()=>ke(p,"srcset",e.srcWebp)),P(_,p)};W(l,_=>{e.srcWebp&&_(u)})}var d=U(l,2);Y(()=>ke(d,"src",e.src)),P(s,c)},i=s=>{var c=sx();P(s,c)};W(n,s=>{e.src?s(a):s(i,!1)})}P(r,t)}const ls=r=>!r||r.trim()===""?null:r,ux={icon:null,iconWebp:null,wordmark:null,wordmarkWebp:null,src:null,srcWebp:null,wordmarkSrc:null,wordmarkSrcWebp:null},dx=r=>{if(!r)return ux;const e=ls(r.app_icon),t=ls(r.app_icon_webp),n=ls(r.app_wordmark),a=ls(r.app_wordmark_webp);return{src:e?Za(e):null,srcWebp:t?Za(t):null,wordmarkSrc:n?Za(n):null,wordmarkSrcWebp:a?Za(a):null}};var px=R('<button class="rcb-back-button svelte-7773d6" data-testid="close-button"><!></button>');const _x={hash:"svelte-7773d6",code:".rcb-back-button.svelte-7773d6 {padding:8px;border:none;cursor:pointer;background-color:transparent;border-radius:50%;color:var(--rc-color-grey-text-dark);display:inline-flex;align-items:center;justify-content:center;width:fit-content;height:fit-content;}"};function gx(r,e){we(r,_x);let t=J(e,"disabled",3,!1);var n=px(),a=D(n);Yn(a,{name:"back"}),Y(()=>n.disabled=t()),Lr("click",n,function(i){sd.call(this,e,i)}),P(r,n)}var fx=R('<source type="image/webp" class="rcb-app-icon svelte-7clux6"/>'),mx=R('<picture class="rcb-app-icon svelte-7clux6"><!> <img class="rcb-app-icon svelte-7clux6" alt="App icon"/></picture>');const hx={hash:"svelte-7clux6",code:".rcb-app-icon.svelte-7clux6 {height:32px;}"};function vx(r,e){we(r,hx);var t=mx(),n=D(t);{var a=s=>{var c=fx();Y(()=>ke(c,"srcset",e.srcWebp)),P(s,c)};W(n,s=>{e.srcWebp&&s(a)})}var i=U(n,2);Y(()=>ke(i,"src",e.src)),P(r,t)}var yx=R('<div class="rcb-back-wrapper svelte-11a99mf"><!></div>'),bx=R('<div class="rcb-close-wrapper svelte-11a99mf"><!></div>'),kx=R('<div><!> <div class="rcb-header svelte-11a99mf"><div class="rcb-title svelte-11a99mf"><!> <!></div></div> <!></div>');const wx={hash:"svelte-11a99mf",code:`.rcb-header-wrapper.svelte-11a99mf {display:flex;position:relative;justify-content:space-between;align-items:center;}.rcb-header.svelte-11a99mf {display:flex;flex-direction:row;align-items:center;padding-top:var(--rc-spacing-gapSmall-mobile);padding-bottom:var(--rc-spacing-gapSmall-mobile);height:40px;justify-content:space-between;}.rcb-title.svelte-11a99mf {display:flex;align-items:center;position:relative;gap:var(--rc-spacing-gapMedium-mobile);}.rcb-close-wrapper.svelte-11a99mf,
411
+ }.rcb-sandbox-banner-actions-wrapper.svelte-bwwvt4 {flex:1;display:flex;justify-content:flex-end;align-items:center;}.rcb-ui-sandbox-banner-link.svelte-bwwvt4 {display:flex;align-items:center;gap:var(--rc-spacing-gapSmall-mobile);line-height:12px;}`};function B_(r,e){fe(e,!1),we(r,fx);let t=X(e,"style",8,""),n=X(e,"isInElement",8,!1),a=X(e,"brandingInfo",8,null),i=cr(!0);function s(){xe.debugLog("closeBanner"),F(i,!1)}qn();var c=Te(),l=ce(c);{var u=d=>{var p=gx();let _;var h=B(D(p),2),f=D(h);Fe(f,{size:"caption-default",children:(x,y)=>{var w=dx();E(x,w)},$$slots:{default:!0}});var b=B(h,2),v=D(b);{var m=x=>{var y=_x(),w=D(y);ux(w);var P=B(w,2);Fe(P,{size:"caption-link",children:(S,T)=>{var I=px();E(S,I)},$$slots:{default:!0}}),V(()=>ke(y,"href",(We(a()),Ue(()=>a().sandbox_configuration.checkout_feedback_form_url)))),E(x,y)};H(v,x=>{We(a()),Ue(()=>{var y;return(y=a())==null?void 0:y.sandbox_configuration})&&x(m)})}var k=B(v,2);j_(k,{$$events:{click:s}}),V(()=>{_=ur(p,1,"rcb-ui-sandbox-banner svelte-bwwvt4",null,_,{isInElement:n()}),Oe(p,t())}),Ku(2,p,()=>J0,()=>({y:-100,duration:300})),E(d,p)};H(l,d=>{o(i)&&d(u)})}E(r,c),me()}var mx=R('<div class="rcb-ui-main svelte-iuk1gs"><!></div>');const hx={hash:"svelte-iuk1gs",code:".rcb-ui-main.svelte-iuk1gs {flex:1;display:flex;background-color:var(--rc-color-background);}"};function vx(r,e){fe(e,!0),we(r,hx);const t=g(()=>new Hn(e.brandingAppearance).formStyleVars);var n=mx(),a=D(n);N_(a,{location:"main-block",children:(i,s)=>{var c=Te(),l=ce(c);Pr(l,()=>e.children??tr),E(i,c)}}),V(()=>Oe(n,o(t))),E(r,n),me()}var yx=R("<!> <!>",1),bx=R("<!> <!>",1);function R_(r,e){fe(e,!0);const t=g(()=>{var n;return S_((n=e.brandingInfo)==null?void 0:n.appearance)??""});{let n=g(()=>{var i;return(i=e.brandingInfo)==null?void 0:i.appearance}),a=g(()=>{var i;return(i=e.brandingInfo)==null?void 0:i.brand_font_config});O_(r,{get brandingAppearance(){return o(n)},get brandFontConfig(){return o(a)},get isInElement(){return e.isInElement},children:(i,s)=>{var c=bx(),l=ce(c);{var u=p=>{B_(p,{get style(){return o(t)},get isInElement(){return e.isInElement},get brandingInfo(){return e.brandingInfo}})};H(l,p=>{e.isSandbox&&p(u)})}var d=B(l,2);G0(d,{get style(){return o(t)},children:(p,_)=>{var h=yx(),f=ce(h);{var b=m=>{{let k=g(()=>{var x;return(x=e.brandingInfo)==null?void 0:x.appearance});ax(m,{get brandingAppearance(){return o(k)},get headerContent(){return e.navbarHeaderContent},get bodyContent(){return e.navbarBodyContent}})}};H(f,m=>{(e.navbarHeaderContent||e.navbarBodyContent)&&m(b)})}var v=B(f,2);{let m=g(()=>{var k;return(k=e.brandingInfo)==null?void 0:k.appearance});vx(v,{get brandingAppearance(){return o(m)},children:(k,x)=>{var y=Te(),w=ce(y);Pr(w,()=>e.mainContent??tr),E(k,y)},$$slots:{default:!0}})}E(p,h)},$$slots:{default:!0}}),E(i,c)},$$slots:{default:!0}})}me()}var kx=R('<source type="image/webp"/>'),wx=R('<picture class="rcb-app-icon-picture-container svelte-15hivnw"><!> <img class="rcb-app-icon svelte-15hivnw" alt="App icon"/></picture>'),Px=R('<div class="rcb-app-icon loading svelte-15hivnw"></div>');const xx={hash:"svelte-15hivnw",code:".rcb-app-icon.svelte-15hivnw {width:32px;height:32px;border-radius:12px;box-shadow:0px 1px 10px 0px rgba(0, 0, 0, 0.1);}.rcb-app-icon-picture-container.svelte-15hivnw {height:32px;}.rcb-app-icon.loading.svelte-15hivnw {background-color:gray;}"};function Ex(r,e){we(r,xx);var t=Te(),n=ce(t);{var a=s=>{var c=wx(),l=D(c);{var u=p=>{var _=kx();V(()=>ke(_,"srcset",e.srcWebp)),E(p,_)};H(l,p=>{e.srcWebp&&p(u)})}var d=B(l,2);V(()=>ke(d,"src",e.src)),E(s,c)},i=s=>{var c=Px();E(s,c)};H(n,s=>{e.src?s(a):s(i,!1)})}E(r,t)}const us=r=>!r||r.trim()===""?null:r,Sx={icon:null,iconWebp:null,wordmark:null,wordmarkWebp:null,src:null,srcWebp:null,wordmarkSrc:null,wordmarkSrcWebp:null},Ix=r=>{if(!r)return Sx;const e=us(r.app_icon),t=us(r.app_icon_webp),n=us(r.app_wordmark),a=us(r.app_wordmark_webp);return{src:e?Za(e):null,srcWebp:t?Za(t):null,wordmarkSrc:n?Za(n):null,wordmarkSrcWebp:a?Za(a):null}};var Cx=R('<button class="rcb-back-button svelte-7773d6" data-testid="close-button"><!></button>');const Tx={hash:"svelte-7773d6",code:".rcb-back-button.svelte-7773d6 {padding:8px;border:none;cursor:pointer;background-color:transparent;border-radius:50%;color:var(--rc-color-grey-text-dark);display:inline-flex;align-items:center;justify-content:center;width:fit-content;height:fit-content;}"};function Dx(r,e){we(r,Tx);let t=X(e,"disabled",3,!1);var n=Cx(),a=D(n);Wn(a,{name:"back"}),V(()=>n.disabled=t()),Br("click",n,function(i){id.call(this,e,i)}),E(r,n)}var Ax=R('<source type="image/webp" class="rcb-app-icon svelte-7clux6"/>'),Fx=R('<picture class="rcb-app-icon svelte-7clux6"><!> <img class="rcb-app-icon svelte-7clux6" alt="App icon"/></picture>');const Mx={hash:"svelte-7clux6",code:".rcb-app-icon.svelte-7clux6 {height:32px;}"};function zx(r,e){we(r,Mx);var t=Fx(),n=D(t);{var a=s=>{var c=Ax();V(()=>ke(c,"srcset",e.srcWebp)),E(s,c)};H(n,s=>{e.srcWebp&&s(a)})}var i=B(n,2);V(()=>ke(i,"src",e.src)),E(r,t)}var qx=R('<div class="rcb-back-wrapper svelte-11a99mf"><!></div>'),Ox=R('<div class="rcb-close-wrapper svelte-11a99mf"><!></div>'),Lx=R('<div><!> <div class="rcb-header svelte-11a99mf"><div class="rcb-title svelte-11a99mf"><!> <!></div></div> <!></div>');const Nx={hash:"svelte-11a99mf",code:`.rcb-header-wrapper.svelte-11a99mf {display:flex;position:relative;justify-content:space-between;align-items:center;}.rcb-header.svelte-11a99mf {display:flex;flex-direction:row;align-items:center;padding-top:var(--rc-spacing-gapSmall-mobile);padding-bottom:var(--rc-spacing-gapSmall-mobile);height:40px;justify-content:space-between;}.rcb-title.svelte-11a99mf {display:flex;align-items:center;position:relative;gap:var(--rc-spacing-gapMedium-mobile);}.rcb-close-wrapper.svelte-11a99mf,
405
412
  .rcb-back-wrapper.svelte-11a99mf {padding:var(--rc-spacing-gapSmall-mobile);}
406
413
 
407
414
  @container layout-query-container (width < 768px) {.rcb-header.svelte-11a99mf {padding-top:var(--rc-spacing-gapMedium-mobile);}.rcb-close-wrapper.svelte-11a99mf {padding-top:var(--rc-spacing-gapMedium-mobile);}.rcb-header-wrapper.svelte-11a99mf {padding-top:var(--rc-spacing-gapSmall-mobile);padding-bottom:var(--rc-spacing-gapSmall-mobile);padding-left:var(--rc-spacing-outerPadding-mobile);padding-right:var(--rc-spacing-outerPadding-mobile);}.rcb-header-wrapper.rcb-with-close-button.svelte-11a99mf {padding-right:var(--rc-spacing-gapSmall-mobile);}.rcb-back-wrapper.svelte-11a99mf {display:none;}.rcb-header-wrapper.svelte-11a99mf {padding-left:var(--rc-spacing-outerPadding-mobile);padding-right:var(--rc-spacing-outerPadding-mobile);}
408
415
  }
409
416
 
410
417
  @container layout-query-container (width >= 768px) {.rcb-close-wrapper.svelte-11a99mf {display:none;}.rcb-back-wrapper.svelte-11a99mf {position:absolute;left:-48px;margin-left:0;}
411
- }`};function N_(r,e){he(e,!0),we(r,wx);const t=m(()=>dx(e.brandingInfo)),n=m(()=>o(t).wordmarkSrc),a=m(()=>o(t).wordmarkSrcWebp),i=m(()=>o(t).src),s=m(()=>o(t).srcWebp),c=()=>{e.onClose&&e.onClose()};var l=kx();let u;var d=D(l);{var _=w=>{var E=yx(),I=D(E);gx(I,{$$events:{click:c}}),P(w,E)};W(d,w=>{e.showCloseButton&&w(_)})}var p=U(d,2),f=D(p),g=D(f);{var b=w=>{vx(w,{get src(){return o(n)},get srcWebp(){return o(a)}})},y=w=>{var E=Se(),I=se(E);{var T=S=>{cx(S,{get src(){return o(i)},get srcWebp(){return o(s)}})};W(I,S=>{o(i)!==null&&o(s)!==null&&S(T)},!0)}P(w,E)};W(g,w=>{o(n)!==null?w(b):w(y,!1)})}var h=U(g,2);{var k=w=>{Ce(w,{size:"body-base",children:(E,I)=>{var T=Te();Y(()=>{var S;return _e(T,(S=e.brandingInfo)==null?void 0:S.app_name)}),P(E,T)},$$slots:{default:!0}})};W(h,w=>{o(n)===null&&w(k)})}var x=U(p,2);{var v=w=>{var E=bx(),I=D(E);O_(I,{$$events:{click:c}}),P(w,E)};W(x,w=>{e.showCloseButton&&w(v)})}Y(()=>u=ur(l,1,"rcb-header-wrapper svelte-11a99mf",null,u,{"rcb-with-close-button":e.showCloseButton})),P(r,l),ve()}var Px=R("<!> <!> <!> <!>",1);function xx(r,e){he(e,!0);let t=J(e,"showDiscountCodeField",3,!1),n=J(e,"draftDiscountCode",3,""),a=J(e,"appliedDiscountCode",3,null),i=J(e,"discountCodeError",3,null),s=J(e,"isUpdatingDiscountCode",3,!1),c=J(e,"isDiscountCodeControlsEnabled",3,!1),l=J(e,"onDraftDiscountCodeChange",3,void 0),u=J(e,"onApplyDiscountCode",3,void 0),d=J(e,"onRemoveDiscountCode",3,void 0),_=J(e,"onPaymentProcessingChange",3,void 0),p=J(e,"onSessionPricingUpdated",3,void 0),f=J(e,"onClose",3,void 0),g=J(e,"hideBackButton",3,!1),b=J(e,"lastTaxCustomerDetailsStore",19,()=>yr(null));const y=Ko(e.productDetails,e.purchaseOptionToUse);let h=te(nr(e.defaultPriceBreakdown??{currency:y.currency,totalAmountInMicros:y.amountMicros,totalExcludingTaxInMicros:y.amountMicros,taxCalculationStatus:"unavailable",taxAmountInMicros:null,taxBreakdown:null}));ir(()=>{const x=Ko(e.productDetails,e.purchaseOptionToUse);F(h,e.defaultPriceBreakdown??{currency:x.currency,totalAmountInMicros:x.amountMicros,totalExcludingTaxInMicros:x.amountMicros,taxCalculationStatus:"unavailable",taxAmountInMicros:null,taxBreakdown:null},!0)});const k=x=>{F(h,x,!0)};fc(r,{get brandingInfo(){return e.brandingInfo},get isInElement(){return e.isInElement},get isSandbox(){return e.isSandbox},get onClose(){return f()},navbarHeaderContent:E=>{{let I=m(()=>!e.isInElement&&!!f()&&!g());N_(E,{get brandingInfo(){return e.brandingInfo},get onClose(){return f()},get showCloseButton(){return o(I)}})}},navbarBodyContent:E=>{{let I=m(()=>{var T,S;return((S=(T=e.brandingInfo)==null?void 0:T.appearance)==null?void 0:S.show_product_description)??!1});S0(E,{get productDetails(){return e.productDetails},get purchaseOption(){return e.purchaseOptionToUse},get showProductDescription(){return o(I)},get showDiscountCodeField(){return t()},get discountCode(){return n()},get appliedDiscountCode(){return a()},get discountCodeError(){return i()},get isUpdatingDiscountCode(){return s()},get isDiscountCodeControlsEnabled(){return c()},get onDiscountCodeChange(){return l()},get onApplyDiscountCode(){return u()},get onRemoveDiscountCode(){return d()},get priceBreakdown(){return o(h)}})}},mainContent:E=>{var I=Px(),T=se(I);{var S=O=>{U1(O)};W(T,O=>{e.currentPage==="payment-entry-loading"&&O(S)})}var A=U(T,2);{var C=O=>{f1(O,{get productDetails(){return e.productDetails},get purchaseOption(){return e.purchaseOptionToUse},get brandingInfo(){return e.brandingInfo},get purchaseOperationHelper(){return e.purchaseOperationHelper},get gatewayParams(){return e.gatewayParams},get managementUrl(){return e.managementUrl},get customerEmail(){return e.customerEmail},get forceEnableWalletMethods(){return e.forceEnableWalletMethods},get defaultPriceBreakdown(){return e.defaultPriceBreakdown},get termsAndConditionsUrl(){return e.termsAndConditionsUrl},get onContinue(){return e.onContinue},get onError(){return e.onError},onPriceBreakdownUpdated:k,get onSessionPricingUpdated(){return p()},get onProcessingStateChange(){return _()},get lastTaxCustomerDetailsStore(){return b()}})};W(A,O=>{e.currentPage==="payment-entry"&&O(C)})}var N=U(A,2);{var q=O=>{{let z=m(()=>{var H;return((H=e.brandingInfo)==null?void 0:H.support_email)??null}),M=m(()=>{var H;return((H=e.brandingInfo)==null?void 0:H.app_name)??null});is(O,{get lastError(){return e.lastError},get productDetails(){return e.productDetails},get supportEmail(){return o(z)},get onDismiss(){return e.closeWithError},get appName(){return o(M)}})}};W(N,O=>{e.currentPage==="error"&&O(q)})}var j=U(N,2);{var Z=O=>{ss(O,{get onContinue(){return e.onContinue}})};W(j,O=>{e.currentPage==="success"&&O(Z)})}P(E,I)},$$slots:{navbarHeaderContent:!0,navbarBodyContent:!0,mainContent:!0}}),ve()}function j_(r){return r.trim()===""?"You need to provide your email address to continue.":r.match(/^[^@]+@[^@]+\.[^@]+$/)?null:"Email is not valid. Please provide a valid email address."}function Ex(r){if(r&&!r.match(/^[A-Z]{3}$/)){const e=`Currency code ${r} is not valid. Please provide a valid ISO 4217 currency code.`;throw Pe.errorLog(e),new Xe(Me.ConfigurationError,e)}}function Sx(r,e,t){const n=t==null?void 0:t.selected_purchase_option;return n?mh(r.productType,n)??e:e}function Ix(r,e){var X;he(e,!0);const t=J(e,"customTranslations",19,()=>({})),n=J(e,"skipSuccessPage",3,!1),a=J(e,"showDiscountCodeField",3,!1),i=J(e,"discountCode",3,void 0),s=J(e,"hideBackButton",3,!1),c=e.customerEmail?j_(e.customerEmail):null;let l=te(nr(c?void 0:e.customerEmail)),u=nr(e.rcPackage.webBillingProduct),d=te(null);const _=yr(null);let p=m(()=>Sx(u,e.purchaseOption,o(d))),f=te(null),g=te(nr(i()??"")),b=te(null),y=te(!1),h=te(!1),k=te("payment-entry-loading"),x=te(null),v=te(nr({})),w=te(null),E=te(void 0),I=m(()=>{var B,oe,$;return(($=(oe=(B=o(d))==null?void 0:B.applied_discounts)==null?void 0:oe[0])==null?void 0:$.discount_code)??null}),T=m(()=>{var B,oe;return{...o(v),...(oe=(B=o(d))==null?void 0:B.gateway_params)!=null&&oe.elements_configuration?{elements_configuration:o(d).gateway_params.elements_configuration}:{}}}),S=te(null),A=te(null),C=te(null),N=new kn(t(),e.selectedLocale,e.defaultLocale),q=yr(N);const j=yr(((X=e.brandingInfo)==null?void 0:X.appearance)??null);mr(hr,q),mr(Vn,j),br(()=>{e.isInElement||(F(S,document.documentElement.style.height,!0),F(A,document.documentElement.style.overflow,!0),F(C,document.body.style.height,!0),document.documentElement.style.height="100%",document.body.style.height="100%",document.documentElement.style.overflow="hidden")}),qt(()=>{if(!e.isInElement){const B=(oe,$,ue)=>{ue===""?oe.style.removeProperty($):oe.style.setProperty($,ue)};B(document.documentElement,"height",o(S)),B(document.body,"height",o(C)),B(document.documentElement,"overflow",o(A))}}),mr(Uo,e.eventsTracker);let Z=nr(typeof e.purchases._shouldForceEnableWalletMethods=="function"?e.purchases._shouldForceEnableWalletMethods():!1);const O=(B,oe,$)=>{const ue=B.identifier??null;return ue===null?Promise.reject(new fe(ye.ErrorSettingUpPurchase,"Product ID was not set before purchase.")):e.purchaseOperationHelper.checkoutStart({appUserId:e.appUserId,productId:ue,purchaseOption:oe,presentedOfferingContext:B.presentedOfferingContext,customerEmail:$,metadata:e.metadata,workflowPurchaseContext:e.workflowPurchaseContext,attributionMetadata:e.attributionMetadata,paywallId:e.paywallId,paywallSessionId:e.paywallSessionId,locale:e.selectedLocale}).then(me=>({result:me,emailToUse:$})).catch(me=>{if(me.errorCode!==ye.MissingEmailError)throw me;return e.purchaseOperationHelper.checkoutStart({appUserId:e.appUserId,productId:ue,purchaseOption:oe,presentedOfferingContext:B.presentedOfferingContext,customerEmail:void 0,metadata:e.metadata,workflowPurchaseContext:e.workflowPurchaseContext,attributionMetadata:e.attributionMetadata,paywallId:e.paywallId,paywallSessionId:e.paywallSessionId,locale:e.selectedLocale}).then(xe=>({result:xe,emailToUse:void 0}))})},z=B=>B?B===yn.invalid_tax_location?"pending":"disabled":"calculated",M=B=>B instanceof fe&&[ye.StripeTaxNotActive,ye.StripeInvalidTaxOriginAddress,ye.StripeMissingRequiredPermission].includes(B.errorCode),H=()=>{const B=To(_);return{countryCode:B==null?void 0:B.countryCode,postalCode:B==null?void 0:B.postalCode,state:B==null?void 0:B.state,city:B==null?void 0:B.city,addressLine1:B==null?void 0:B.addressLine1,addressLine2:B==null?void 0:B.addressLine2}},L=(B,oe)=>{F(d,B,!0),F(E,oe??ud(B,z(B.failed_reason)),!0)};br(async()=>{try{const{result:B,emailToUse:oe}=await O(u,o(p),o(l));if(F(f,null),F(l,oe,!0),F(v,B.gateway_params,!0),F(w,B.management_url,!0),i())try{const $=await e.purchaseOperationHelper.checkoutRefreshPricing({...H(),discountCode:i()});L($)}catch($){if(M($))throw $;if(a())F(b,$ instanceof Error?$.message:"Failed to apply discount code.",!0);else throw $ instanceof fe?$:new fe(ye.ErrorSettingUpPurchase,"Failed to apply discount code.")}F(k,"payment-entry")}catch(B){ie(B instanceof fe?B:new fe(ye.UnknownError,B instanceof Error?B.message:String(B)))}});const K=B=>{F(g,B,!0),F(b,null)},re=B=>{F(h,B,!0)},le=async B=>{var $;const oe=(B==null?void 0:B.trim())||null;if(B!==null&&oe===null){F(b,"Enter a discount code.");return}F(y,!0),F(b,null);try{const ue=await e.purchaseOperationHelper.checkoutRefreshPricing({...H(),discountCode:oe});L(ue),F(g,oe??"",!0),F(f,null),($=e.onDiscountCodeChanged)==null||$.call(e,oe)}catch(ue){if(M(ue)){ie(ue);return}F(b,ue instanceof Error?ue.message:"Failed to apply discount code.",!0)}finally{F(y,!1)}},ne=async()=>{await le(o(g))},ce=async()=>{await le(null)},Q=()=>{if(o(k)==="payment-entry"){e.purchaseOperationHelper.pollCurrentPurchaseForCompletion().then(B=>{F(x,B,!0),n()?e.onFinished(B):F(k,"success")}).catch(B=>{ie(B)});return}if(o(k)==="success"||o(k)==="error"){e.onFinished(o(x));return}F(k,"success")},ie=B=>{const oe=n_({errorCode:B.getErrorCode().toString(),errorMessage:B.message});e.eventsTracker.trackSDKEvent(oe),F(f,B,!0),F(k,"error")},V=()=>{e.onError(o(f)??new fe(ye.UnknownError,"Unknown error without state set."))};{let B=m(()=>e.purchases.isSandbox()),oe=m(()=>o(k)==="payment-entry"&&!o(h)),$=m(()=>o(l)??null);xx(r,{get isSandbox(){return o(B)},get currentPage(){return o(k)},get brandingInfo(){return e.brandingInfo},get productDetails(){return u},get purchaseOptionToUse(){return o(p)},get lastError(){return o(f)},get gatewayParams(){return o(T)},get managementUrl(){return o(w)},get purchaseOperationHelper(){return e.purchaseOperationHelper},get isInElement(){return e.isInElement},get termsAndConditionsUrl(){return e.termsAndConditionsUrl},get showDiscountCodeField(){return a()},get draftDiscountCode(){return o(g)},get appliedDiscountCode(){return o(I)},get discountCodeError(){return o(b)},get isUpdatingDiscountCode(){return o(y)},get isDiscountCodeControlsEnabled(){return o(oe)},get forceEnableWalletMethods(){return Z},get customerEmail(){return o($)},get defaultPriceBreakdown(){return o(E)},closeWithError:V,onDraftDiscountCodeChange:K,onApplyDiscountCode:ne,onRemoveDiscountCode:ce,onPaymentProcessingChange:re,onSessionPricingUpdated:L,onContinue:Q,onError:ie,get onClose(){return e.onClose},get hideBackButton(){return s()},get lastTaxCustomerDetailsStore(){return _}})}ve()}function B_(r,e,t,n,a,i,s){try{var c=r[i](s),l=c.value}catch(u){return void t(u)}c.done?e(l):Promise.resolve(l).then(n,a)}function Cx(r){return function(){var e=this,t=arguments;return new Promise(function(n,a){var i=r.apply(e,t);function s(l){B_(i,n,a,s,c,"next",l)}function c(l){B_(i,n,a,s,c,"throw",l)}s(void 0)})}}function Tx(r,e,t){return(e=Fx(e))in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}function R_(r,e){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(r);e&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(r,a).enumerable})),t.push.apply(t,n)}return t}function mc(r){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?R_(Object(t),!0).forEach(function(n){Tx(r,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(t)):R_(Object(t)).forEach(function(n){Object.defineProperty(r,n,Object.getOwnPropertyDescriptor(t,n))})}return r}function U_(r,e){if(r==null)return{};var t,n,a=Dx(r,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(r);for(n=0;n<i.length;n++)t=i[n],e.includes(t)||{}.propertyIsEnumerable.call(r,t)&&(a[t]=r[t])}return a}function Dx(r,e){if(r==null)return{};var t={};for(var n in r)if({}.hasOwnProperty.call(r,n)){if(e.includes(n))continue;t[n]=r[n]}return t}function hc(){hc=function(){return e};var r,e={},t=Object.prototype,n=t.hasOwnProperty,a=Object.defineProperty||function(O,z,M){O[z]=M.value},i=typeof Symbol=="function"?Symbol:{},s=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function u(O,z,M){return Object.defineProperty(O,z,{value:M,enumerable:!0,configurable:!0,writable:!0}),O[z]}try{u({},"")}catch{u=function(z,M,H){return z[M]=H}}function d(O,z,M,H){var L=z&&z.prototype instanceof h?z:h,K=Object.create(L.prototype),re=new j(H||[]);return a(K,"_invoke",{value:A(O,M,re)}),K}function _(O,z,M){try{return{type:"normal",arg:O.call(z,M)}}catch(H){return{type:"throw",arg:H}}}e.wrap=d;var p="suspendedStart",f="suspendedYield",g="executing",b="completed",y={};function h(){}function k(){}function x(){}var v={};u(v,s,function(){return this});var w=Object.getPrototypeOf,E=w&&w(w(Z([])));E&&E!==t&&n.call(E,s)&&(v=E);var I=x.prototype=h.prototype=Object.create(v);function T(O){["next","throw","return"].forEach(function(z){u(O,z,function(M){return this._invoke(z,M)})})}function S(O,z){function M(L,K,re,le){var ne=_(O[L],O,K);if(ne.type!=="throw"){var ce=ne.arg,Q=ce.value;return Q&&typeof Q=="object"&&n.call(Q,"__await")?z.resolve(Q.__await).then(function(ie){M("next",ie,re,le)},function(ie){M("throw",ie,re,le)}):z.resolve(Q).then(function(ie){ce.value=ie,re(ce)},function(ie){return M("throw",ie,re,le)})}le(ne.arg)}var H;a(this,"_invoke",{value:function(L,K){function re(){return new z(function(le,ne){M(L,K,le,ne)})}return H=H?H.then(re,re):re()}})}function A(O,z,M){var H=p;return function(L,K){if(H===g)throw Error("Generator is already running");if(H===b){if(L==="throw")throw K;return{value:r,done:!0}}for(M.method=L,M.arg=K;;){var re=M.delegate;if(re){var le=C(re,M);if(le){if(le===y)continue;return le}}if(M.method==="next")M.sent=M._sent=M.arg;else if(M.method==="throw"){if(H===p)throw H=b,M.arg;M.dispatchException(M.arg)}else M.method==="return"&&M.abrupt("return",M.arg);H=g;var ne=_(O,z,M);if(ne.type==="normal"){if(H=M.done?b:f,ne.arg===y)continue;return{value:ne.arg,done:M.done}}ne.type==="throw"&&(H=b,M.method="throw",M.arg=ne.arg)}}}function C(O,z){var M=z.method,H=O.iterator[M];if(H===r)return z.delegate=null,M==="throw"&&O.iterator.return&&(z.method="return",z.arg=r,C(O,z),z.method==="throw")||M!=="return"&&(z.method="throw",z.arg=new TypeError("The iterator does not provide a '"+M+"' method")),y;var L=_(H,O.iterator,z.arg);if(L.type==="throw")return z.method="throw",z.arg=L.arg,z.delegate=null,y;var K=L.arg;return K?K.done?(z[O.resultName]=K.value,z.next=O.nextLoc,z.method!=="return"&&(z.method="next",z.arg=r),z.delegate=null,y):K:(z.method="throw",z.arg=new TypeError("iterator result is not an object"),z.delegate=null,y)}function N(O){var z={tryLoc:O[0]};1 in O&&(z.catchLoc=O[1]),2 in O&&(z.finallyLoc=O[2],z.afterLoc=O[3]),this.tryEntries.push(z)}function q(O){var z=O.completion||{};z.type="normal",delete z.arg,O.completion=z}function j(O){this.tryEntries=[{tryLoc:"root"}],O.forEach(N,this),this.reset(!0)}function Z(O){if(O||O===""){var z=O[s];if(z)return z.call(O);if(typeof O.next=="function")return O;if(!isNaN(O.length)){var M=-1,H=function L(){for(;++M<O.length;)if(n.call(O,M))return L.value=O[M],L.done=!1,L;return L.value=r,L.done=!0,L};return H.next=H}}throw new TypeError(typeof O+" is not iterable")}return k.prototype=x,a(I,"constructor",{value:x,configurable:!0}),a(x,"constructor",{value:k,configurable:!0}),k.displayName=u(x,l,"GeneratorFunction"),e.isGeneratorFunction=function(O){var z=typeof O=="function"&&O.constructor;return!!z&&(z===k||(z.displayName||z.name)==="GeneratorFunction")},e.mark=function(O){return Object.setPrototypeOf?Object.setPrototypeOf(O,x):(O.__proto__=x,u(O,l,"GeneratorFunction")),O.prototype=Object.create(I),O},e.awrap=function(O){return{__await:O}},T(S.prototype),u(S.prototype,c,function(){return this}),e.AsyncIterator=S,e.async=function(O,z,M,H,L){L===void 0&&(L=Promise);var K=new S(d(O,z,M,H),L);return e.isGeneratorFunction(z)?K:K.next().then(function(re){return re.done?re.value:K.next()})},T(I),u(I,l,"Generator"),u(I,s,function(){return this}),u(I,"toString",function(){return"[object Generator]"}),e.keys=function(O){var z=Object(O),M=[];for(var H in z)M.push(H);return M.reverse(),function L(){for(;M.length;){var K=M.pop();if(K in z)return L.value=K,L.done=!1,L}return L.done=!0,L}},e.values=Z,j.prototype={constructor:j,reset:function(O){if(this.prev=0,this.next=0,this.sent=this._sent=r,this.done=!1,this.delegate=null,this.method="next",this.arg=r,this.tryEntries.forEach(q),!O)for(var z in this)z.charAt(0)==="t"&&n.call(this,z)&&!isNaN(+z.slice(1))&&(this[z]=r)},stop:function(){this.done=!0;var O=this.tryEntries[0].completion;if(O.type==="throw")throw O.arg;return this.rval},dispatchException:function(O){if(this.done)throw O;var z=this;function M(ne,ce){return K.type="throw",K.arg=O,z.next=ne,ce&&(z.method="next",z.arg=r),!!ce}for(var H=this.tryEntries.length-1;H>=0;--H){var L=this.tryEntries[H],K=L.completion;if(L.tryLoc==="root")return M("end");if(L.tryLoc<=this.prev){var re=n.call(L,"catchLoc"),le=n.call(L,"finallyLoc");if(re&&le){if(this.prev<L.catchLoc)return M(L.catchLoc,!0);if(this.prev<L.finallyLoc)return M(L.finallyLoc)}else if(re){if(this.prev<L.catchLoc)return M(L.catchLoc,!0)}else{if(!le)throw Error("try statement without catch or finally");if(this.prev<L.finallyLoc)return M(L.finallyLoc)}}}},abrupt:function(O,z){for(var M=this.tryEntries.length-1;M>=0;--M){var H=this.tryEntries[M];if(H.tryLoc<=this.prev&&n.call(H,"finallyLoc")&&this.prev<H.finallyLoc){var L=H;break}}L&&(O==="break"||O==="continue")&&L.tryLoc<=z&&z<=L.finallyLoc&&(L=null);var K=L?L.completion:{};return K.type=O,K.arg=z,L?(this.method="next",this.next=L.finallyLoc,y):this.complete(K)},complete:function(O,z){if(O.type==="throw")throw O.arg;return O.type==="break"||O.type==="continue"?this.next=O.arg:O.type==="return"?(this.rval=this.arg=O.arg,this.method="return",this.next="end"):O.type==="normal"&&z&&(this.next=z),y},finish:function(O){for(var z=this.tryEntries.length-1;z>=0;--z){var M=this.tryEntries[z];if(M.finallyLoc===O)return this.complete(M.completion,M.afterLoc),q(M),y}},catch:function(O){for(var z=this.tryEntries.length-1;z>=0;--z){var M=this.tryEntries[z];if(M.tryLoc===O){var H=M.completion;if(H.type==="throw"){var L=H.arg;q(M)}return L}}throw Error("illegal catch attempt")},delegateYield:function(O,z,M){return this.delegate={iterator:Z(O),resultName:z,nextLoc:M},this.method==="next"&&(this.arg=r),y}},e}function Ax(r,e){if(typeof r!="object"||!r)return r;var t=r[Symbol.toPrimitive];if(t!==void 0){var n=t.call(r,e);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(r)}function Fx(r){var e=Ax(r,"string");return typeof e=="symbol"?e:e+""}var Xo={CLASSIC:"classic",V1:"v1"},zx=Xo.V1,Mx="https://cdn.paddle.com/paddle/paddle.js",qx="https://cdn.paddle.com/paddle/v2/paddle.js",Ox={url:Mx},Lx={url:qx};function Nx(r){return document.querySelector('script[src="'.concat(r,'"]'))||void 0}function jx(r){var e=document.createElement("script");e.src=r;var t=document.head||document.body;if(!t)throw new Error("Cannot inject Paddle.js. It needs a <head> or <body> element.");return t.appendChild(e),e}var vc={classic:void 0,v1:void 0},Bx={classic:"PaddleClassic",v1:"PaddleBillingV1"};function Rx(r){var e,t=(e=Ux(r))===null||e===void 0?void 0:e.url;if(t){var n=vc[r],a=Bx[r];return n!==void 0?n:(vc[r]=new Promise(function(i,s){if(typeof window>"u"){i(void 0);return}if(window[a]){i(window[a]);return}try{var c=Nx(t);c||(c=jx(t)),c.addEventListener("load",function(){window[a]?i(window[a]):s(new Error("Paddle.js not available"))}),c.addEventListener("error",function(){s(new Error("Failed to load Paddle.js - ".concat(r)))})}catch(l){s(l);return}}),vc[r])}}function Ux(r){if(r===Xo.CLASSIC)return Ox;if(r===Xo.V1)return Lx;console.error("[Paddle] Unknown Paddle Version")}var Vx=["environment","version"],Hx=["environment","version"];function Wx(r,e){var t=r.environment;r.version;var n=U_(r,Vx);try{t&&e.Environment.set(t),e.Initialized?e.Update(mc({},n)):e.Initialize(mc({},n))}catch(a){console.warn("[Paddle] Paddle Initialization failed. Please check the inputs",a)}}function Yx(r,e){var t=r.environment;r.version;var n=U_(r,Hx);try{t&&e.Environment.set(t),e.Setup(mc({},n))}catch(a){console.warn("[Paddle] Paddle Initialization failed. Please check the inputs",a)}}var Ja;(function(r){r.CHECKOUT_LOADED="checkout.loaded",r.CHECKOUT_CLOSED="checkout.closed",r.CHECKOUT_UPDATED="checkout.updated",r.CHECKOUT_COMPLETED="checkout.completed",r.CHECKOUT_ERROR="checkout.error",r.CHECKOUT_FAILED="checkout.failed",r.CHECKOUT_ITEMS_UPDATED="checkout.items.updated",r.CHECKOUT_ITEMS_REMOVED="checkout.items.removed",r.CHECKOUT_CUSTOMER_CREATED="checkout.customer.created",r.CHECKOUT_CUSTOMER_UPDATED="checkout.customer.updated",r.CHECKOUT_CUSTOMER_REMOVED="checkout.customer.removed",r.CHECKOUT_PAYMENT_SELECTED="checkout.payment.selected",r.CHECKOUT_PAYMENT_INITIATED="checkout.payment.initiated",r.CHECKOUT_PAYMENT_FAILED="checkout.payment.failed",r.CHECKOUT_PAYMENT_ERROR="checkout.payment.error",r.CHECKOUT_DISCOUNT_APPLIED="checkout.discount.applied",r.CHECKOUT_DISCOUNT_REMOVED="checkout.discount.removed",r.CHECKOUT_UPSELL_CANCELED="checkout.upsell.canceled"})(Ja||(Ja={}));var V_;(function(r){r.DAY="day",r.WEEK="week",r.MONTH="month",r.YEAR="year"})(V_||(V_={}));var H_;(function(r){r.ALIPAY="alipay",r.APPLE_PAY="apple-pay",r.CARD="card",r.GOOGLE_PAY="google-pay",r.IDEAL="ideal",r.PAYPAL="paypal",r.WECHAT_PAY="wechat-pay",r.WIRE_TRANSFER="wire-transfer",r.NONE="none"})(H_||(H_={}));var W_;(function(r){r.AMERICAN_EXPRESS="american_express",r.DINERS_CLUB="diners_club",r.DISCOVER="discover",r.JCB="jcb",r.MADA="mada",r.MAESTRO="maestro",r.MASTER_CARD="mastercard",r.UNION_PAY="union_pay",r.VISA="visa",r.UNKNOWN="unknown"})(W_||(W_={}));var Y_;(function(r){r.DRAFT="draft",r.READY="ready",r.COMPLETED="completed",r.BILLED="billed",r.canceled="canceled",r.PAST_DUE="past_due"})(Y_||(Y_={}));function Gx(r){return yc.apply(this,arguments)}function yc(){return yc=Cx(hc().mark(function r(e){var t,n;return hc().wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return t=(e==null?void 0:e.version)||zx,i.next=3,Rx(t);case 3:if(n=i.sent,!n){i.next=9;break}return e&&(t===Xo.V1?Wx(e,n):t===Xo.CLASSIC&&Yx(e,n)),i.abrupt("return",n);case 9:return console.error("[Paddle] Error Loading Paddle"),i.abrupt("return");case 11:case"end":return i.stop()}},r)})),yc.apply(this,arguments)}const G_="paddle-checkout-container",Kx=450,Xx="width:100%; min-width:312px; background-color:transparent; border:none;";function Zx({transactionId:r,locale:e,customerEmail:t,displayMode:n="overlay",theme:a="light"}){const i={theme:a,variant:"one-page",locale:e,allowLogout:!1,showAddDiscounts:!1,showAddTaxId:!1,allowDiscountRemoval:!1},s=n==="inline"?{...i,displayMode:"inline",frameTarget:G_,frameInitialHeight:Kx,frameStyle:Xx}:{...i,displayMode:"overlay"};return{transactionId:r,settings:s,...t&&{customer:{email:t}}}}class Jx{constructor(e,t,n=30){ee(this,"paddleInstance");ee(this,"backend");ee(this,"eventsTracker");ee(this,"maxNumberAttempts");ee(this,"waitMSBetweenAttempts",1e3);this.backend=e,this.eventsTracker=t,this.maxNumberAttempts=n}async initializePaddle(e,t){var a;if((a=this.paddleInstance)!=null&&a.Initialized)return Pe.debugLog("Paddle already initialized, returning existing instance"),this.paddleInstance;const n=t?"sandbox":"production";try{const i=await Gx({token:e,version:"v1",environment:n});if(!i)throw new fe(ye.UnknownError,"Paddle client not found");return this.paddleInstance=i,Pe.debugLog(`Paddle initialized with environment: ${n}`),i}catch(i){throw i instanceof fe?i:new fe(ye.UnknownError,`Error initializing Paddle: ${i}`)}}getPaddleInstance(){var e;if(!((e=this.paddleInstance)!=null&&e.Initialized))throw new fe(ye.UnknownError,"Paddle not initialized.");return this.paddleInstance}closeCheckout(){var e;(e=this.paddleInstance)!=null&&e.Initialized&&this.paddleInstance.Checkout.close()}async startCheckout({appUserId:e,productId:t,presentedOfferingContext:n,purchaseOption:a,customerEmail:i,metadata:s,locale:c,attributionMetadata:l,workflowPurchaseContext:u}){try{const d=this.eventsTracker.getTraceId(),_=u==null?void 0:u.stepId,p=u==null?void 0:u.urlParameters,f=await this.backend.postCheckoutStart({appUserId:e,productId:t,purchaseOption:a,presentedOfferingContext:n,traceId:d,presentedStepId:_,urlParameters:p,customerEmail:i??void 0,metadata:s,locale:c,attributionMetadata:l});return await this.initializePaddle(f.paddle_billing_params.client_side_token,f.paddle_billing_params.is_sandbox),f}catch(d){throw d instanceof Xe?fe.fromPurchasesError(d,ye.ErrorSettingUpPurchase,d.errorCode===Me.InvalidCredentialsError):new fe(ye.UnknownError,`Error starting Paddle checkout: ${d}`)}}async purchase({operationSessionId:e,transactionId:t,onCheckoutLoaded:n,onClose:a,params:i,displayMode:s="overlay",theme:c="light",onCheckoutTotals:l,onCheckoutCompleted:u}){const d=this.getPaddleInstance(),{customerEmail:_,locale:p="en"}=i,f=g=>{var b,y,h;if(l&&(g!=null&&g.totals)){const k=(b=g.items)==null?void 0:b[0];l({currencyCode:g.currency_code,subtotalAmount:g.totals.subtotal,taxAmount:g.totals.tax,totalAmount:g.totals.total,recurringTotalAmount:((y=g.recurring_totals)==null?void 0:y.total)??null,productName:((h=k==null?void 0:k.product)==null?void 0:h.name)??null,priceName:(k==null?void 0:k.price_name)??null})}};return new Promise((g,b)=>{d.Update({eventCallback:async h=>{const k=h.name,x=h.data;try{if(k===Ja.CHECKOUT_LOADED)n(),f(x);else if(k===Ja.CHECKOUT_UPDATED)f(x);else if(k===Ja.CHECKOUT_COMPLETED){u==null||u(),d.Checkout.close();const v=await this.pollOperationStatus(e);g(v)}else k===Ja.CHECKOUT_CLOSED&&(x!=null&&x.status)&&a()}catch(v){d.Checkout.close(),v instanceof fe?b(v):v instanceof Xe?b(fe.fromPurchasesError(v,ye.UnknownError)):b(new fe(ye.UnknownError,`Paddle event handler error: ${v}`))}}});const y=Zx({transactionId:t,locale:p,customerEmail:_,displayMode:s,theme:c});try{d.Checkout.open(y)}catch(h){b(new fe(ye.UnknownError,`Failed to open Paddle checkout: ${h}`))}})}async pollOperationStatus(e){if(!e)throw new fe(ye.ErrorSettingUpPurchase,"No purchase in progress");return new Promise((t,n)=>{const a=(i=1)=>{if(i>this.maxNumberAttempts){n(new fe(ye.UnknownError,"Max attempts reached trying to get successful purchase status"));return}this.backend.getCheckoutStatus(e).then(s=>{const c=s.operation.store_transaction_identifier,l=s.operation.product_identifier,u=s.operation.purchase_date?isNaN(Date.parse(s.operation.purchase_date))?null:new Date(s.operation.purchase_date):null;switch(s.operation.status){case vn.Started:case vn.InProgress:setTimeout(()=>a(i+1),this.waitMSBetweenAttempts);break;case vn.Succeeded:if(!c||!l||!u){n(new fe(ye.UnknownError,"Missing required fields in operation response."));return}t({redemptionInfo:cd(s),operationSessionId:e,storeTransactionIdentifier:c??"",productIdentifier:l,purchaseDate:u??new Date,attributionMetadata:s.attribution_metadata??void 0});return;case vn.Failed:dd(s.operation.error,n)}}).catch(s=>{if(s instanceof Xe){const c=fe.fromPurchasesError(s,ye.NetworkError);n(c)}else n(new fe(ye.NetworkError,`Failed to get checkout status: ${s}`))})};a()})}}const cs=(r,e)=>r instanceof fe?r:r instanceof Xe?fe.fromPurchasesError(r,ye.UnknownError):new fe(ye.UnknownError,e);var Qx=R('<!> <div class="rcb-fullscreen-wrapper svelte-skuziz"><div class="rcb-fullscreen-content svelte-skuziz"><!></div></div>',1);const $x={hash:"svelte-skuziz",code:".rcb-fullscreen-wrapper.svelte-skuziz {width:100%;min-height:100%;display:flex;flex-direction:column;align-items:center;}.rcb-fullscreen-content.svelte-skuziz {flex:1;width:100%;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--rc-color-grey-text-dark);}"};function K_(r,e){he(e,!0),we(r,$x);const t=()=>Ue(i,"$brandingAppearanceStore",n),[n,a]=Je(),i=He(Vn),s=m(()=>{var u;return t()??((u=e.brandingInfo)==null?void 0:u.appearance)??null}),c=m(()=>new Wn(o(s)).pageStyleVars),l=m(()=>{var u;return((u=o(s))==null?void 0:u.color_page_bg)??"#ffffff"});{let u=m(()=>{var d;return(d=e.brandingInfo)==null?void 0:d.brand_font_config});z_(r,{get brandingAppearance(){return o(s)},get brandFontConfig(){return o(u)},get isInElement(){return e.isInElement},children:(d,_)=>{var p=Qx(),f=se(p);{var g=k=>{L_(k,{get style(){return o(c)},get isInElement(){return e.isInElement},get brandingInfo(){return e.brandingInfo}})};W(f,k=>{e.isSandbox&&k(g)})}var b=U(f,2),y=D(b),h=D(y);Pr(h,()=>e.mainContent??rr),Y(()=>Le(b,`${o(c)??""}; background-color: ${o(l)??""}`)),P(d,p)},$$slots:{default:!0}})}ve(),a()}var eE=R("<!> <!> <!>",1),rE=R('<div class="rcb-ui-loading-container svelte-1r889ax"><!></div>');const tE={hash:"svelte-1r889ax",code:".rcb-ui-loading-container.svelte-1r889ax {display:flex;flex-direction:column;align-items:center;}"};function nE(r,e){he(e,!0),we(r,tE);const t=()=>Ue(i,"$translator",n),[n,a]=Je(),i=He(hr);K_(r,{get brandingInfo(){return e.brandingInfo},get isInElement(){return e.isInElement},get isSandbox(){return e.isSandbox},mainContent:c=>{var l=Se(),u=se(l);{var d=p=>{var f=rE(),g=D(f);Ro(g,{gap:"medium",align:"center",children:(b,y)=>{var h=eE(),k=se(h);Ji(k,{color:"var(--rc-color-grey-text-dark)"});var x=U(k,2);Ce(x,{size:"heading-md",children:(w,E)=>{var I=Te();Y(T=>_e(I,T),[()=>t().translate(de.LoadingPageProcessingPayment)]),P(w,I)},$$slots:{default:!0}});var v=U(x,2);Ce(v,{size:"body-small",children:(w,E)=>{var I=Te();Y(T=>_e(I,T),[()=>t().translate(de.LoadingPageKeepPageOpen)]),P(w,I)},$$slots:{default:!0}}),P(b,h)},$$slots:{default:!0}}),P(p,f)},_=p=>{var f=Se(),g=se(f);{var b=h=>{ss(h,{get onContinue(){return e.onContinue},fullWidth:!0})},y=h=>{var k=Se(),x=se(k);{var v=w=>{{let E=m(()=>{var T;return((T=e.brandingInfo)==null?void 0:T.support_email)??null}),I=m(()=>{var T;return((T=e.brandingInfo)==null?void 0:T.app_name)??null});is(w,{get lastError(){return e.lastError},get productDetails(){return e.productDetails},get supportEmail(){return o(E)},get onDismiss(){return e.closeWithError},get appName(){return o(I)},fullWidth:!0})}};W(x,w=>{e.currentPage==="error"&&w(v)},!0)}P(h,k)};W(g,h=>{e.currentPage==="success"?h(b):h(y,!1)},!0)}P(p,f)};W(u,p=>{e.currentPage==="loading"?p(d):p(_,!1)})}P(c,l)},$$slots:{mainContent:!0}}),ve(),a()}var aE=R('<span class="rcb-paddle-summary-muted svelte-1k1pux8">inc. tax</span>'),oE=R('<span class="rcb-paddle-summary-muted rcb-paddle-summary-price-name svelte-1k1pux8"> </span>'),iE=R('<span class="rcb-paddle-summary-muted svelte-1k1pux8"> </span>'),sE=R('<div class="rcb-paddle-summary-row svelte-1k1pux8"><span class="rcb-paddle-summary-muted svelte-1k1pux8"> </span> <span> </span></div>'),lE=R('<div class="rcb-paddle-summary-row svelte-1k1pux8"><span class="rcb-paddle-summary-muted svelte-1k1pux8"> </span> <span> </span></div>'),cE=R('<div class="rcb-paddle-summary-card svelte-1k1pux8"><div class="rcb-paddle-summary-row svelte-1k1pux8"><span class="rcb-paddle-summary-muted svelte-1k1pux8"> </span> <span> </span></div> <!> <hr class="rcb-paddle-summary-divider svelte-1k1pux8"/> <div class="rcb-paddle-summary-row rcb-paddle-summary-row-strong svelte-1k1pux8"><span> </span> <span> </span></div> <!></div>'),uE=R('<div class="rcb-paddle-summary svelte-1k1pux8"><div class="rcb-paddle-summary-card svelte-1k1pux8"><div class="rcb-paddle-summary-amount-row svelte-1k1pux8"><span class="rcb-paddle-summary-amount svelte-1k1pux8"> </span> <!></div> <!> <div class="rcb-paddle-summary-product svelte-1k1pux8"><!> <!> <div class="rcb-paddle-summary-product-price svelte-1k1pux8"><span> </span> <!></div></div></div> <!></div>');const dE={hash:"svelte-1k1pux8",code:`.rcb-paddle-summary.svelte-1k1pux8 {display:flex;flex-direction:column;gap:var(--rc-spacing-gapLarge-mobile, 16px);width:100%;}.rcb-paddle-summary-card.svelte-1k1pux8 {background:var(--rcb-card-bg);border-radius:16px;padding:28px;display:flex;flex-direction:column;gap:var(--rc-spacing-gapMedium-mobile, 12px);}.rcb-paddle-summary-amount-row.svelte-1k1pux8 {display:flex;align-items:baseline;gap:8px;}.rcb-paddle-summary-amount.svelte-1k1pux8 {color:var(--rc-color-primary);font-weight:700;font-size:2rem;line-height:1.1;}.rcb-paddle-summary-product.svelte-1k1pux8 {display:flex;flex-direction:column;gap:2px;
418
+ }`};function jx(r,e){fe(e,!0),we(r,Nx);const t=g(()=>Ix(e.brandingInfo)),n=g(()=>o(t).wordmarkSrc),a=g(()=>o(t).wordmarkSrcWebp),i=g(()=>o(t).src),s=g(()=>o(t).srcWebp),c=()=>{e.onClose&&e.onClose()};var l=Lx();let u;var d=D(l);{var p=w=>{var P=qx(),S=D(P);Dx(S,{$$events:{click:c}}),E(w,P)};H(d,w=>{e.showCloseButton&&w(p)})}var _=B(d,2),h=D(_),f=D(h);{var b=w=>{zx(w,{get src(){return o(n)},get srcWebp(){return o(a)}})},v=w=>{var P=Te(),S=ce(P);{var T=I=>{Ex(I,{get src(){return o(i)},get srcWebp(){return o(s)}})};H(S,I=>{o(i)!==null&&o(s)!==null&&I(T)},!0)}E(w,P)};H(f,w=>{o(n)!==null?w(b):w(v,!1)})}var m=B(f,2);{var k=w=>{Fe(w,{size:"body-base",children:(P,S)=>{var T=ze();V(()=>{var I;return ge(T,(I=e.brandingInfo)==null?void 0:I.app_name)}),E(P,T)},$$slots:{default:!0}})};H(m,w=>{o(n)===null&&w(k)})}var x=B(_,2);{var y=w=>{var P=Ox(),S=D(P);j_(S,{$$events:{click:c}}),E(w,P)};H(x,w=>{e.showCloseButton&&w(y)})}V(()=>u=ur(l,1,"rcb-header-wrapper svelte-11a99mf",null,u,{"rcb-with-close-button":e.showCloseButton})),E(r,l),me()}var Bx=R("<!> <!> <!> <!> <!>",1);function Rx(r,e){fe(e,!0);let t=X(e,"showDiscountCodeField",3,!1),n=X(e,"draftDiscountCode",3,""),a=X(e,"appliedDiscountCode",3,null),i=X(e,"discountCodeError",3,null),s=X(e,"isUpdatingDiscountCode",3,!1),c=X(e,"isDiscountCodeControlsEnabled",3,!1),l=X(e,"onDraftDiscountCodeChange",3,void 0),u=X(e,"onApplyDiscountCode",3,void 0),d=X(e,"onRemoveDiscountCode",3,void 0),p=X(e,"onPaymentProcessingChange",3,void 0),_=X(e,"onSessionPricingUpdated",3,void 0),h=X(e,"onClose",3,void 0),f=X(e,"hideBackButton",3,!1),b=X(e,"lastTaxCustomerDetailsStore",19,()=>br(null)),v=X(e,"subscriptionChangeStartData",3,null),m=X(e,"isConfirmingProductChange",3,!1),k=X(e,"productChangeConfirmError",3,null),x=X(e,"onConfirmProductChange",3,void 0);const y=Zo(e.productDetails,e.purchaseOptionToUse);let w=te(ar(e.defaultPriceBreakdown??{currency:y.currency,totalAmountInMicros:y.amountMicros,totalExcludingTaxInMicros:y.amountMicros,taxCalculationStatus:"unavailable",taxAmountInMicros:null,taxBreakdown:null}));ir(()=>{const S=Zo(e.productDetails,e.purchaseOptionToUse);F(w,e.defaultPriceBreakdown??{currency:S.currency,totalAmountInMicros:S.amountMicros,totalExcludingTaxInMicros:S.amountMicros,taxCalculationStatus:"unavailable",taxAmountInMicros:null,taxBreakdown:null},!0)});const P=S=>{F(w,S,!0)};R_(r,{get brandingInfo(){return e.brandingInfo},get isInElement(){return e.isInElement},get isSandbox(){return e.isSandbox},get onClose(){return h()},navbarHeaderContent:A=>{{let C=g(()=>!e.isInElement&&!!h()&&!f());jx(A,{get brandingInfo(){return e.brandingInfo},get onClose(){return h()},get showCloseButton(){return o(C)}})}},navbarBodyContent:A=>{var C=Te(),L=ce(C);{var q=Y=>{I0(Y,{get startData(){return v()}})},j=Y=>{{let N=g(()=>{var M,z;return((z=(M=e.brandingInfo)==null?void 0:M.appearance)==null?void 0:z.show_product_description)??!1});U0(Y,{get productDetails(){return e.productDetails},get purchaseOption(){return e.purchaseOptionToUse},get showProductDescription(){return o(N)},get showDiscountCodeField(){return t()},get discountCode(){return n()},get appliedDiscountCode(){return a()},get discountCodeError(){return i()},get isUpdatingDiscountCode(){return s()},get isDiscountCodeControlsEnabled(){return c()},get onDiscountCodeChange(){return l()},get onApplyDiscountCode(){return u()},get onRemoveDiscountCode(){return d()},get priceBreakdown(){return o(w)}})}};H(L,Y=>{v()?Y(q):Y(j,!1)})}E(A,C)},mainContent:A=>{var C=Bx(),L=ce(C);{var q=Z=>{X1(Z)};H(L,Z=>{e.currentPage==="payment-entry-loading"&&Z(q)})}var j=B(L,2);{var Y=Z=>{w1(Z,{get productDetails(){return e.productDetails},get purchaseOption(){return e.purchaseOptionToUse},get brandingInfo(){return e.brandingInfo},get purchaseOperationHelper(){return e.purchaseOperationHelper},get gatewayParams(){return e.gatewayParams},get managementUrl(){return e.managementUrl},get customerEmail(){return e.customerEmail},get forceEnableWalletMethods(){return e.forceEnableWalletMethods},get defaultPriceBreakdown(){return e.defaultPriceBreakdown},get termsAndConditionsUrl(){return e.termsAndConditionsUrl},get onContinue(){return e.onContinue},get onError(){return e.onError},onPriceBreakdownUpdated:P,get onSessionPricingUpdated(){return _()},get onProcessingStateChange(){return p()},get lastTaxCustomerDetailsStore(){return b()}})};H(j,Z=>{e.currentPage==="payment-entry"&&Z(Y)})}var N=B(j,2);{var M=Z=>{{let le=g(()=>{var oe;return((oe=e.brandingInfo)==null?void 0:oe.appearance)??void 0}),$=g(()=>x()??(()=>{}));r0(Z,{get startData(){return v()},get confirming(){return m()},get confirmError(){return k()},get brandingAppearance(){return o(le)},get onConfirm(){return o($)}})}};H(N,Z=>{e.currentPage==="upgrade-confirm"&&v()&&Z(M)})}var z=B(N,2);{var U=Z=>{{let le=g(()=>{var oe;return((oe=e.brandingInfo)==null?void 0:oe.support_email)??null}),$=g(()=>{var oe;return((oe=e.brandingInfo)==null?void 0:oe.app_name)??null});ls(Z,{get lastError(){return e.lastError},get productDetails(){return e.productDetails},get supportEmail(){return o(le)},get onDismiss(){return e.closeWithError},get appName(){return o($)}})}};H(z,Z=>{e.currentPage==="error"&&Z(U)})}var O=B(z,2);{var G=Z=>{cs(Z,{get onContinue(){return e.onContinue}})};H(O,Z=>{e.currentPage==="success"&&Z(G)})}E(A,C)},$$slots:{navbarHeaderContent:!0,navbarBodyContent:!0,mainContent:!0}}),me()}function U_(r){return r.trim()===""?"You need to provide your email address to continue.":r.match(/^[^@]+@[^@]+\.[^@]+$/)?null:"Email is not valid. Please provide a valid email address."}function Ux(r){if(r&&!r.match(/^[A-Z]{3}$/)){const e=`Currency code ${r} is not valid. Please provide a valid ISO 4217 currency code.`;throw xe.errorLog(e),new Xe(Le.ConfigurationError,e)}}function Vx(r,e,t){const n=t==null?void 0:t.selected_purchase_option;return n?xh(r.productType,n)??e:e}function Hx(r,e){var ee;fe(e,!0);const t=X(e,"customTranslations",19,()=>({})),n=X(e,"skipSuccessPage",3,!1),a=X(e,"showDiscountCodeField",3,!1),i=X(e,"discountCode",3,void 0),s=X(e,"productChange",3,void 0),c=X(e,"onProductChangeFinished",3,void 0),l=X(e,"hideBackButton",3,!1),u=e.customerEmail?U_(e.customerEmail):null;let d=te(ar(u?void 0:e.customerEmail)),p=ar(e.rcPackage.webBillingProduct),_=te(null);const h=br(null);let f=g(()=>Vx(p,e.purchaseOption,o(_))),b=te(null),v=te(ar(i()??"")),m=te(null),k=te(!1),x=te(!1),y=te("payment-entry-loading"),w=te(null),P=te(ar({})),S=te(null),T=te(void 0),I=g(()=>{var K,se,pe;return((pe=(se=(K=o(_))==null?void 0:K.applied_discounts)==null?void 0:se[0])==null?void 0:pe.discount_code)??null}),A=g(()=>{var K,se;return{...o(P),...(se=(K=o(_))==null?void 0:K.gateway_params)!=null&&se.elements_configuration?{elements_configuration:o(_).gateway_params.elements_configuration}:{}}}),C=te(null),L=te(null),q=te(null),j=new On(t(),e.selectedLocale,e.defaultLocale),Y=br(j);const N=br(((ee=e.brandingInfo)==null?void 0:ee.appearance)??null);mr(vr,Y),mr(Un,N),xr(()=>{e.isInElement||(F(C,document.documentElement.style.height,!0),F(L,document.documentElement.style.overflow,!0),F(q,document.body.style.height,!0),document.documentElement.style.height="100%",document.body.style.height="100%",document.documentElement.style.overflow="hidden")}),Nt(()=>{if(!e.isInElement){const K=(se,pe,ue)=>{ue===""?se.style.removeProperty(pe):se.style.setProperty(pe,ue)};K(document.documentElement,"height",o(C)),K(document.body,"height",o(q)),K(document.documentElement,"overflow",o(L))}}),mr(Ho,e.eventsTracker);let M=ar(typeof e.purchases._shouldForceEnableWalletMethods=="function"?e.purchases._shouldForceEnableWalletMethods():!1),z=te(null),U=te(!1),O=te(null);const G=(K,se,pe)=>{var Ae;const ue=K.identifier??null;return ue===null?Promise.reject(new _e(be.ErrorSettingUpPurchase,"Product ID was not set before purchase.")):e.purchaseOperationHelper.checkoutStart({appUserId:e.appUserId,productId:ue,purchaseOption:se,presentedOfferingContext:K.presentedOfferingContext,customerEmail:pe,metadata:e.metadata,workflowPurchaseContext:e.workflowPurchaseContext,attributionMetadata:e.attributionMetadata,paywallId:e.paywallId,paywallSessionId:e.paywallSessionId,locale:e.selectedLocale,productChange:s()?{subscriptionId:s().subscriptionId,productIdentifier:s().productIdentifier}:void 0,subscriberToken:(Ae=s())==null?void 0:Ae.subscriberToken}).then(Me=>({result:Me,emailToUse:pe})).catch(Me=>{var De;if(Me.errorCode!==be.MissingEmailError)throw Me;return e.purchaseOperationHelper.checkoutStart({appUserId:e.appUserId,productId:ue,purchaseOption:se,presentedOfferingContext:K.presentedOfferingContext,customerEmail:void 0,metadata:e.metadata,workflowPurchaseContext:e.workflowPurchaseContext,attributionMetadata:e.attributionMetadata,paywallId:e.paywallId,paywallSessionId:e.paywallSessionId,locale:e.selectedLocale,productChange:s()?{subscriptionId:s().subscriptionId,productIdentifier:s().productIdentifier}:void 0,subscriberToken:(De=s())==null?void 0:De.subscriberToken}).then(he=>({result:he,emailToUse:void 0}))})},Z=async()=>{var K;if(!(!s()||o(U))){F(U,!0),F(O,null);try{const se=await e.purchaseOperationHelper.completeProductChange({subscriberToken:s().subscriberToken});(K=c())==null||K(se)}catch(se){const pe=se instanceof _e?se:new _e(be.ErrorChargingPayment,"Failed to confirm product change.",se instanceof Error?se.message:String(se));F(O,pe.message,!0)}finally{F(U,!1)}}},le=K=>K?K===wn.invalid_tax_location?"pending":"disabled":"calculated",$=K=>K instanceof _e&&[be.StripeTaxNotActive,be.StripeInvalidTaxOriginAddress,be.StripeMissingRequiredPermission].includes(K.errorCode),oe=()=>{const K=Ao(h);return{countryCode:K==null?void 0:K.countryCode,postalCode:K==null?void 0:K.postalCode,state:K==null?void 0:K.state,city:K==null?void 0:K.city,addressLine1:K==null?void 0:K.addressLine1,addressLine2:K==null?void 0:K.addressLine2}},Pe=(K,se)=>{F(_,K,!0),F(T,se??cd(K,le(K.failed_reason)),!0)};xr(async()=>{try{const{result:K,emailToUse:se}=await G(p,o(f),o(d));if(F(b,null),F(d,se,!0),pd(K)){F(z,K,!0),F(y,"upgrade-confirm");return}if(F(P,K.gateway_params,!0),F(S,K.management_url,!0),i())try{const pe=await e.purchaseOperationHelper.checkoutRefreshPricing({...oe(),discountCode:i()});Pe(pe)}catch(pe){if($(pe))throw pe;if(a())F(m,pe instanceof Error?pe.message:"Failed to apply discount code.",!0);else throw pe instanceof _e?pe:new _e(be.ErrorSettingUpPurchase,"Failed to apply discount code.")}F(y,"payment-entry")}catch(K){Se(K instanceof _e?K:new _e(be.UnknownError,K instanceof Error?K.message:String(K)))}});const Ie=K=>{F(v,K,!0),F(m,null)},J=K=>{F(x,K,!0)},Q=async K=>{var pe;const se=(K==null?void 0:K.trim())||null;if(K!==null&&se===null){F(m,"Enter a discount code.");return}F(k,!0),F(m,null);try{const ue=await e.purchaseOperationHelper.checkoutRefreshPricing({...oe(),discountCode:se});Pe(ue),F(v,se??"",!0),F(b,null),(pe=e.onDiscountCodeChanged)==null||pe.call(e,se)}catch(ue){if($(ue)){Se(ue);return}F(m,ue instanceof Error?ue.message:"Failed to apply discount code.",!0)}finally{F(k,!1)}},ae=async()=>{await Q(o(v))},Ee=async()=>{await Q(null)},ie=()=>{if(o(y)==="payment-entry"){e.purchaseOperationHelper.pollCurrentPurchaseForCompletion().then(K=>{F(w,K,!0),n()?e.onFinished(K):F(y,"success")}).catch(K=>{Se(K)});return}if(o(y)==="success"||o(y)==="error"){e.onFinished(o(w));return}F(y,"success")},Se=K=>{const se=i_({errorCode:K.getErrorCode().toString(),errorMessage:K.message});e.eventsTracker.trackSDKEvent(se),F(b,K,!0),F(y,"error")},ye=()=>{e.onError(o(b)??new _e(be.UnknownError,"Unknown error without state set."))};{let K=g(()=>e.purchases.isSandbox()),se=g(()=>o(y)==="payment-entry"&&!o(x)),pe=g(()=>o(d)??null);Rx(r,{get isSandbox(){return o(K)},get currentPage(){return o(y)},get brandingInfo(){return e.brandingInfo},get productDetails(){return p},get purchaseOptionToUse(){return o(f)},get lastError(){return o(b)},get gatewayParams(){return o(A)},get managementUrl(){return o(S)},get purchaseOperationHelper(){return e.purchaseOperationHelper},get isInElement(){return e.isInElement},get termsAndConditionsUrl(){return e.termsAndConditionsUrl},get showDiscountCodeField(){return a()},get draftDiscountCode(){return o(v)},get appliedDiscountCode(){return o(I)},get discountCodeError(){return o(m)},get isUpdatingDiscountCode(){return o(k)},get isDiscountCodeControlsEnabled(){return o(se)},get forceEnableWalletMethods(){return M},get customerEmail(){return o(pe)},get defaultPriceBreakdown(){return o(T)},closeWithError:ye,onDraftDiscountCodeChange:Ie,onApplyDiscountCode:ae,onRemoveDiscountCode:Ee,onPaymentProcessingChange:J,onSessionPricingUpdated:Pe,onContinue:ie,onError:Se,get onClose(){return e.onClose},get hideBackButton(){return l()},get lastTaxCustomerDetailsStore(){return h},get subscriptionChangeStartData(){return o(z)},get isConfirmingProductChange(){return o(U)},get productChangeConfirmError(){return o(O)},onConfirmProductChange:Z})}me()}function V_(r,e,t,n,a,i,s){try{var c=r[i](s),l=c.value}catch(u){return void t(u)}c.done?e(l):Promise.resolve(l).then(n,a)}function Wx(r){return function(){var e=this,t=arguments;return new Promise(function(n,a){var i=r.apply(e,t);function s(l){V_(i,n,a,s,c,"next",l)}function c(l){V_(i,n,a,s,c,"throw",l)}s(void 0)})}}function Yx(r,e,t){return(e=Xx(e))in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}function H_(r,e){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(r);e&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(r,a).enumerable})),t.push.apply(t,n)}return t}function fc(r){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?H_(Object(t),!0).forEach(function(n){Yx(r,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(t)):H_(Object(t)).forEach(function(n){Object.defineProperty(r,n,Object.getOwnPropertyDescriptor(t,n))})}return r}function W_(r,e){if(r==null)return{};var t,n,a=Gx(r,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(r);for(n=0;n<i.length;n++)t=i[n],e.includes(t)||{}.propertyIsEnumerable.call(r,t)&&(a[t]=r[t])}return a}function Gx(r,e){if(r==null)return{};var t={};for(var n in r)if({}.hasOwnProperty.call(r,n)){if(e.includes(n))continue;t[n]=r[n]}return t}function mc(){mc=function(){return e};var r,e={},t=Object.prototype,n=t.hasOwnProperty,a=Object.defineProperty||function(N,M,z){N[M]=z.value},i=typeof Symbol=="function"?Symbol:{},s=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function u(N,M,z){return Object.defineProperty(N,M,{value:z,enumerable:!0,configurable:!0,writable:!0}),N[M]}try{u({},"")}catch{u=function(M,z,U){return M[z]=U}}function d(N,M,z,U){var O=M&&M.prototype instanceof m?M:m,G=Object.create(O.prototype),Z=new j(U||[]);return a(G,"_invoke",{value:A(N,z,Z)}),G}function p(N,M,z){try{return{type:"normal",arg:N.call(M,z)}}catch(U){return{type:"throw",arg:U}}}e.wrap=d;var _="suspendedStart",h="suspendedYield",f="executing",b="completed",v={};function m(){}function k(){}function x(){}var y={};u(y,s,function(){return this});var w=Object.getPrototypeOf,P=w&&w(w(Y([])));P&&P!==t&&n.call(P,s)&&(y=P);var S=x.prototype=m.prototype=Object.create(y);function T(N){["next","throw","return"].forEach(function(M){u(N,M,function(z){return this._invoke(M,z)})})}function I(N,M){function z(O,G,Z,le){var $=p(N[O],N,G);if($.type!=="throw"){var oe=$.arg,Pe=oe.value;return Pe&&typeof Pe=="object"&&n.call(Pe,"__await")?M.resolve(Pe.__await).then(function(Ie){z("next",Ie,Z,le)},function(Ie){z("throw",Ie,Z,le)}):M.resolve(Pe).then(function(Ie){oe.value=Ie,Z(oe)},function(Ie){return z("throw",Ie,Z,le)})}le($.arg)}var U;a(this,"_invoke",{value:function(O,G){function Z(){return new M(function(le,$){z(O,G,le,$)})}return U=U?U.then(Z,Z):Z()}})}function A(N,M,z){var U=_;return function(O,G){if(U===f)throw Error("Generator is already running");if(U===b){if(O==="throw")throw G;return{value:r,done:!0}}for(z.method=O,z.arg=G;;){var Z=z.delegate;if(Z){var le=C(Z,z);if(le){if(le===v)continue;return le}}if(z.method==="next")z.sent=z._sent=z.arg;else if(z.method==="throw"){if(U===_)throw U=b,z.arg;z.dispatchException(z.arg)}else z.method==="return"&&z.abrupt("return",z.arg);U=f;var $=p(N,M,z);if($.type==="normal"){if(U=z.done?b:h,$.arg===v)continue;return{value:$.arg,done:z.done}}$.type==="throw"&&(U=b,z.method="throw",z.arg=$.arg)}}}function C(N,M){var z=M.method,U=N.iterator[z];if(U===r)return M.delegate=null,z==="throw"&&N.iterator.return&&(M.method="return",M.arg=r,C(N,M),M.method==="throw")||z!=="return"&&(M.method="throw",M.arg=new TypeError("The iterator does not provide a '"+z+"' method")),v;var O=p(U,N.iterator,M.arg);if(O.type==="throw")return M.method="throw",M.arg=O.arg,M.delegate=null,v;var G=O.arg;return G?G.done?(M[N.resultName]=G.value,M.next=N.nextLoc,M.method!=="return"&&(M.method="next",M.arg=r),M.delegate=null,v):G:(M.method="throw",M.arg=new TypeError("iterator result is not an object"),M.delegate=null,v)}function L(N){var M={tryLoc:N[0]};1 in N&&(M.catchLoc=N[1]),2 in N&&(M.finallyLoc=N[2],M.afterLoc=N[3]),this.tryEntries.push(M)}function q(N){var M=N.completion||{};M.type="normal",delete M.arg,N.completion=M}function j(N){this.tryEntries=[{tryLoc:"root"}],N.forEach(L,this),this.reset(!0)}function Y(N){if(N||N===""){var M=N[s];if(M)return M.call(N);if(typeof N.next=="function")return N;if(!isNaN(N.length)){var z=-1,U=function O(){for(;++z<N.length;)if(n.call(N,z))return O.value=N[z],O.done=!1,O;return O.value=r,O.done=!0,O};return U.next=U}}throw new TypeError(typeof N+" is not iterable")}return k.prototype=x,a(S,"constructor",{value:x,configurable:!0}),a(x,"constructor",{value:k,configurable:!0}),k.displayName=u(x,l,"GeneratorFunction"),e.isGeneratorFunction=function(N){var M=typeof N=="function"&&N.constructor;return!!M&&(M===k||(M.displayName||M.name)==="GeneratorFunction")},e.mark=function(N){return Object.setPrototypeOf?Object.setPrototypeOf(N,x):(N.__proto__=x,u(N,l,"GeneratorFunction")),N.prototype=Object.create(S),N},e.awrap=function(N){return{__await:N}},T(I.prototype),u(I.prototype,c,function(){return this}),e.AsyncIterator=I,e.async=function(N,M,z,U,O){O===void 0&&(O=Promise);var G=new I(d(N,M,z,U),O);return e.isGeneratorFunction(M)?G:G.next().then(function(Z){return Z.done?Z.value:G.next()})},T(S),u(S,l,"Generator"),u(S,s,function(){return this}),u(S,"toString",function(){return"[object Generator]"}),e.keys=function(N){var M=Object(N),z=[];for(var U in M)z.push(U);return z.reverse(),function O(){for(;z.length;){var G=z.pop();if(G in M)return O.value=G,O.done=!1,O}return O.done=!0,O}},e.values=Y,j.prototype={constructor:j,reset:function(N){if(this.prev=0,this.next=0,this.sent=this._sent=r,this.done=!1,this.delegate=null,this.method="next",this.arg=r,this.tryEntries.forEach(q),!N)for(var M in this)M.charAt(0)==="t"&&n.call(this,M)&&!isNaN(+M.slice(1))&&(this[M]=r)},stop:function(){this.done=!0;var N=this.tryEntries[0].completion;if(N.type==="throw")throw N.arg;return this.rval},dispatchException:function(N){if(this.done)throw N;var M=this;function z($,oe){return G.type="throw",G.arg=N,M.next=$,oe&&(M.method="next",M.arg=r),!!oe}for(var U=this.tryEntries.length-1;U>=0;--U){var O=this.tryEntries[U],G=O.completion;if(O.tryLoc==="root")return z("end");if(O.tryLoc<=this.prev){var Z=n.call(O,"catchLoc"),le=n.call(O,"finallyLoc");if(Z&&le){if(this.prev<O.catchLoc)return z(O.catchLoc,!0);if(this.prev<O.finallyLoc)return z(O.finallyLoc)}else if(Z){if(this.prev<O.catchLoc)return z(O.catchLoc,!0)}else{if(!le)throw Error("try statement without catch or finally");if(this.prev<O.finallyLoc)return z(O.finallyLoc)}}}},abrupt:function(N,M){for(var z=this.tryEntries.length-1;z>=0;--z){var U=this.tryEntries[z];if(U.tryLoc<=this.prev&&n.call(U,"finallyLoc")&&this.prev<U.finallyLoc){var O=U;break}}O&&(N==="break"||N==="continue")&&O.tryLoc<=M&&M<=O.finallyLoc&&(O=null);var G=O?O.completion:{};return G.type=N,G.arg=M,O?(this.method="next",this.next=O.finallyLoc,v):this.complete(G)},complete:function(N,M){if(N.type==="throw")throw N.arg;return N.type==="break"||N.type==="continue"?this.next=N.arg:N.type==="return"?(this.rval=this.arg=N.arg,this.method="return",this.next="end"):N.type==="normal"&&M&&(this.next=M),v},finish:function(N){for(var M=this.tryEntries.length-1;M>=0;--M){var z=this.tryEntries[M];if(z.finallyLoc===N)return this.complete(z.completion,z.afterLoc),q(z),v}},catch:function(N){for(var M=this.tryEntries.length-1;M>=0;--M){var z=this.tryEntries[M];if(z.tryLoc===N){var U=z.completion;if(U.type==="throw"){var O=U.arg;q(z)}return O}}throw Error("illegal catch attempt")},delegateYield:function(N,M,z){return this.delegate={iterator:Y(N),resultName:M,nextLoc:z},this.method==="next"&&(this.arg=r),v}},e}function Kx(r,e){if(typeof r!="object"||!r)return r;var t=r[Symbol.toPrimitive];if(t!==void 0){var n=t.call(r,e);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(r)}function Xx(r){var e=Kx(r,"string");return typeof e=="symbol"?e:e+""}var Jo={CLASSIC:"classic",V1:"v1"},Zx=Jo.V1,Jx="https://cdn.paddle.com/paddle/paddle.js",Qx="https://cdn.paddle.com/paddle/v2/paddle.js",$x={url:Jx},eE={url:Qx};function rE(r){return document.querySelector('script[src="'.concat(r,'"]'))||void 0}function tE(r){var e=document.createElement("script");e.src=r;var t=document.head||document.body;if(!t)throw new Error("Cannot inject Paddle.js. It needs a <head> or <body> element.");return t.appendChild(e),e}var hc={classic:void 0,v1:void 0},nE={classic:"PaddleClassic",v1:"PaddleBillingV1"};function aE(r){var e,t=(e=oE(r))===null||e===void 0?void 0:e.url;if(t){var n=hc[r],a=nE[r];return n!==void 0?n:(hc[r]=new Promise(function(i,s){if(typeof window>"u"){i(void 0);return}if(window[a]){i(window[a]);return}try{var c=rE(t);c||(c=tE(t)),c.addEventListener("load",function(){window[a]?i(window[a]):s(new Error("Paddle.js not available"))}),c.addEventListener("error",function(){s(new Error("Failed to load Paddle.js - ".concat(r)))})}catch(l){s(l);return}}),hc[r])}}function oE(r){if(r===Jo.CLASSIC)return $x;if(r===Jo.V1)return eE;console.error("[Paddle] Unknown Paddle Version")}var iE=["environment","version"],sE=["environment","version"];function lE(r,e){var t=r.environment;r.version;var n=W_(r,iE);try{t&&e.Environment.set(t),e.Initialized?e.Update(fc({},n)):e.Initialize(fc({},n))}catch(a){console.warn("[Paddle] Paddle Initialization failed. Please check the inputs",a)}}function cE(r,e){var t=r.environment;r.version;var n=W_(r,sE);try{t&&e.Environment.set(t),e.Setup(fc({},n))}catch(a){console.warn("[Paddle] Paddle Initialization failed. Please check the inputs",a)}}var Ja;(function(r){r.CHECKOUT_LOADED="checkout.loaded",r.CHECKOUT_CLOSED="checkout.closed",r.CHECKOUT_UPDATED="checkout.updated",r.CHECKOUT_COMPLETED="checkout.completed",r.CHECKOUT_ERROR="checkout.error",r.CHECKOUT_FAILED="checkout.failed",r.CHECKOUT_ITEMS_UPDATED="checkout.items.updated",r.CHECKOUT_ITEMS_REMOVED="checkout.items.removed",r.CHECKOUT_CUSTOMER_CREATED="checkout.customer.created",r.CHECKOUT_CUSTOMER_UPDATED="checkout.customer.updated",r.CHECKOUT_CUSTOMER_REMOVED="checkout.customer.removed",r.CHECKOUT_PAYMENT_SELECTED="checkout.payment.selected",r.CHECKOUT_PAYMENT_INITIATED="checkout.payment.initiated",r.CHECKOUT_PAYMENT_FAILED="checkout.payment.failed",r.CHECKOUT_PAYMENT_ERROR="checkout.payment.error",r.CHECKOUT_DISCOUNT_APPLIED="checkout.discount.applied",r.CHECKOUT_DISCOUNT_REMOVED="checkout.discount.removed",r.CHECKOUT_UPSELL_CANCELED="checkout.upsell.canceled"})(Ja||(Ja={}));var Y_;(function(r){r.DAY="day",r.WEEK="week",r.MONTH="month",r.YEAR="year"})(Y_||(Y_={}));var G_;(function(r){r.ALIPAY="alipay",r.APPLE_PAY="apple-pay",r.CARD="card",r.GOOGLE_PAY="google-pay",r.IDEAL="ideal",r.PAYPAL="paypal",r.WECHAT_PAY="wechat-pay",r.WIRE_TRANSFER="wire-transfer",r.NONE="none"})(G_||(G_={}));var K_;(function(r){r.AMERICAN_EXPRESS="american_express",r.DINERS_CLUB="diners_club",r.DISCOVER="discover",r.JCB="jcb",r.MADA="mada",r.MAESTRO="maestro",r.MASTER_CARD="mastercard",r.UNION_PAY="union_pay",r.VISA="visa",r.UNKNOWN="unknown"})(K_||(K_={}));var X_;(function(r){r.DRAFT="draft",r.READY="ready",r.COMPLETED="completed",r.BILLED="billed",r.canceled="canceled",r.PAST_DUE="past_due"})(X_||(X_={}));function uE(r){return vc.apply(this,arguments)}function vc(){return vc=Wx(mc().mark(function r(e){var t,n;return mc().wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return t=(e==null?void 0:e.version)||Zx,i.next=3,aE(t);case 3:if(n=i.sent,!n){i.next=9;break}return e&&(t===Jo.V1?lE(e,n):t===Jo.CLASSIC&&cE(e,n)),i.abrupt("return",n);case 9:return console.error("[Paddle] Error Loading Paddle"),i.abrupt("return");case 11:case"end":return i.stop()}},r)})),vc.apply(this,arguments)}const Z_="paddle-checkout-container",dE=450,pE="width:100%; min-width:312px; background-color:transparent; border:none;";function _E({transactionId:r,locale:e,customerEmail:t,checkoutSettings:n={},displayMode:a="overlay",theme:i="light"}){const s={theme:i,variant:"one-page",locale:e,allowLogout:!1,showAddDiscounts:!1,showAddTaxId:!1,allowDiscountRemoval:!1,...n},c=a==="inline"?{...s,displayMode:"inline",frameTarget:Z_,frameInitialHeight:dE,frameStyle:pE}:{...s,displayMode:"overlay"};return{transactionId:r,settings:c,...t&&{customer:{email:t}}}}class gE{constructor(e,t,n=30){re(this,"paddleInstance");re(this,"backend");re(this,"eventsTracker");re(this,"maxNumberAttempts");re(this,"waitMSBetweenAttempts",1e3);this.backend=e,this.eventsTracker=t,this.maxNumberAttempts=n}async initializePaddle(e,t){var a;if((a=this.paddleInstance)!=null&&a.Initialized)return xe.debugLog("Paddle already initialized, returning existing instance"),this.paddleInstance;const n=t?"sandbox":"production";try{const i=await uE({token:e,version:"v1",environment:n});if(!i)throw new _e(be.UnknownError,"Paddle client not found");return this.paddleInstance=i,xe.debugLog(`Paddle initialized with environment: ${n}`),i}catch(i){throw i instanceof _e?i:new _e(be.UnknownError,`Error initializing Paddle: ${i}`)}}getPaddleInstance(){var e;if(!((e=this.paddleInstance)!=null&&e.Initialized))throw new _e(be.UnknownError,"Paddle not initialized.");return this.paddleInstance}closeCheckout(){var e;(e=this.paddleInstance)!=null&&e.Initialized&&this.paddleInstance.Checkout.close()}async startCheckout({appUserId:e,productId:t,presentedOfferingContext:n,purchaseOption:a,customerEmail:i,metadata:s,locale:c,attributionMetadata:l,workflowPurchaseContext:u}){try{const d=this.eventsTracker.getTraceId(),p=u==null?void 0:u.stepId,_=u==null?void 0:u.urlParameters,h=await this.backend.postCheckoutStart({appUserId:e,productId:t,purchaseOption:a,presentedOfferingContext:n,traceId:d,presentedStepId:p,urlParameters:_,customerEmail:i??void 0,metadata:s,locale:c,attributionMetadata:l});return await this.initializePaddle(h.paddle_billing_params.client_side_token,h.paddle_billing_params.is_sandbox),h}catch(d){throw d instanceof Xe?_e.fromPurchasesError(d,be.ErrorSettingUpPurchase,d.errorCode===Le.InvalidCredentialsError):new _e(be.UnknownError,`Error starting Paddle checkout: ${d}`)}}async purchase({operationSessionId:e,transactionId:t,onCheckoutLoaded:n,onClose:a,params:i,checkoutSettings:s,displayMode:c="overlay",theme:l="light",onCheckoutTotals:u,onCheckoutCompleted:d}){const p=this.getPaddleInstance(),{customerEmail:_,locale:h="en"}=i,f=b=>{var v,m,k;if(u&&(b!=null&&b.totals)){const x=(v=b.items)==null?void 0:v[0];u({currencyCode:b.currency_code,subtotalAmount:b.totals.subtotal,taxAmount:b.totals.tax,totalAmount:b.totals.total,recurringTotalAmount:((m=b.recurring_totals)==null?void 0:m.total)??null,productName:((k=x==null?void 0:x.product)==null?void 0:k.name)??null,priceName:(x==null?void 0:x.price_name)??null})}};return new Promise((b,v)=>{p.Update({eventCallback:async k=>{const x=k.name,y=k.data;try{if(x===Ja.CHECKOUT_LOADED)n(),f(y);else if(x===Ja.CHECKOUT_UPDATED)f(y);else if(x===Ja.CHECKOUT_COMPLETED){d==null||d(),p.Checkout.close();const w=await this.pollOperationStatus(e);b(w)}else x===Ja.CHECKOUT_CLOSED&&(y!=null&&y.status)&&a()}catch(w){p.Checkout.close(),w instanceof _e?v(w):w instanceof Xe?v(_e.fromPurchasesError(w,be.UnknownError)):v(new _e(be.UnknownError,`Paddle event handler error: ${w}`))}}});const m=_E({transactionId:t,locale:h,customerEmail:_,checkoutSettings:s,displayMode:c,theme:l});try{p.Checkout.open(m)}catch(k){v(new _e(be.UnknownError,`Failed to open Paddle checkout: ${k}`))}})}async pollOperationStatus(e){if(!e)throw new _e(be.ErrorSettingUpPurchase,"No purchase in progress");return new Promise((t,n)=>{const a=(i=1)=>{if(i>this.maxNumberAttempts){n(new _e(be.UnknownError,"Max attempts reached trying to get successful purchase status"));return}this.backend.getCheckoutStatus(e).then(s=>{const c=s.operation.store_transaction_identifier,l=s.operation.product_identifier,u=s.operation.purchase_date?isNaN(Date.parse(s.operation.purchase_date))?null:new Date(s.operation.purchase_date):null;switch(s.operation.status){case kn.Started:case kn.InProgress:setTimeout(()=>a(i+1),this.waitMSBetweenAttempts);break;case kn.Succeeded:if(!c||!l||!u){n(new _e(be.UnknownError,"Missing required fields in operation response."));return}t({redemptionInfo:ld(s),operationSessionId:e,storeTransactionIdentifier:c??"",productIdentifier:l,purchaseDate:u??new Date,attributionMetadata:s.attribution_metadata??void 0});return;case kn.Failed:ud(s.operation.error,n)}}).catch(s=>{if(s instanceof Xe){const c=_e.fromPurchasesError(s,be.NetworkError);n(c)}else n(new _e(be.NetworkError,`Failed to get checkout status: ${s}`))})};a()})}}const ds=(r,e)=>r instanceof _e?r:r instanceof Xe?_e.fromPurchasesError(r,be.UnknownError):new _e(be.UnknownError,e);var fE=R('<!> <div class="rcb-fullscreen-wrapper svelte-skuziz"><div class="rcb-fullscreen-content svelte-skuziz"><!></div></div>',1);const mE={hash:"svelte-skuziz",code:".rcb-fullscreen-wrapper.svelte-skuziz {width:100%;min-height:100%;display:flex;flex-direction:column;align-items:center;}.rcb-fullscreen-content.svelte-skuziz {flex:1;width:100%;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--rc-color-grey-text-dark);}"};function J_(r,e){fe(e,!0),we(r,mE);const t=()=>Re(i,"$brandingAppearanceStore",n),[n,a]=Ze(),i=He(Un),s=g(()=>{var u;return t()??((u=e.brandingInfo)==null?void 0:u.appearance)??null}),c=g(()=>new Hn(o(s)).pageStyleVars),l=g(()=>{var u;return((u=o(s))==null?void 0:u.color_page_bg)??"#ffffff"});{let u=g(()=>{var d;return(d=e.brandingInfo)==null?void 0:d.brand_font_config});O_(r,{get brandingAppearance(){return o(s)},get brandFontConfig(){return o(u)},get isInElement(){return e.isInElement},children:(d,p)=>{var _=fE(),h=ce(_);{var f=k=>{B_(k,{get style(){return o(c)},get isInElement(){return e.isInElement},get brandingInfo(){return e.brandingInfo}})};H(h,k=>{e.isSandbox&&k(f)})}var b=B(h,2),v=D(b),m=D(v);Pr(m,()=>e.mainContent??tr),V(()=>Oe(b,`${o(c)??""}; background-color: ${o(l)??""}`)),E(d,_)},$$slots:{default:!0}})}me(),a()}var hE=R("<!> <!> <!>",1),vE=R('<div class="rcb-ui-loading-container svelte-1r889ax"><!></div>');const yE={hash:"svelte-1r889ax",code:".rcb-ui-loading-container.svelte-1r889ax {display:flex;flex-direction:column;align-items:center;}"};function bE(r,e){fe(e,!0),we(r,yE);const t=()=>Re(i,"$translator",n),[n,a]=Ze(),i=He(vr);J_(r,{get brandingInfo(){return e.brandingInfo},get isInElement(){return e.isInElement},get isSandbox(){return e.isSandbox},mainContent:c=>{var l=Te(),u=ce(l);{var d=_=>{var h=vE(),f=D(h);Vo(f,{gap:"medium",align:"center",children:(b,v)=>{var m=hE(),k=ce(m);$i(k,{color:"var(--rc-color-grey-text-dark)"});var x=B(k,2);Fe(x,{size:"heading-md",children:(w,P)=>{var S=ze();V(T=>ge(S,T),[()=>t().translate(de.LoadingPageProcessingPayment)]),E(w,S)},$$slots:{default:!0}});var y=B(x,2);Fe(y,{size:"body-small",children:(w,P)=>{var S=ze();V(T=>ge(S,T),[()=>t().translate(de.LoadingPageKeepPageOpen)]),E(w,S)},$$slots:{default:!0}}),E(b,m)},$$slots:{default:!0}}),E(_,h)},p=_=>{var h=Te(),f=ce(h);{var b=m=>{cs(m,{get onContinue(){return e.onContinue},fullWidth:!0})},v=m=>{var k=Te(),x=ce(k);{var y=w=>{{let P=g(()=>{var T;return((T=e.brandingInfo)==null?void 0:T.support_email)??null}),S=g(()=>{var T;return((T=e.brandingInfo)==null?void 0:T.app_name)??null});ls(w,{get lastError(){return e.lastError},get productDetails(){return e.productDetails},get supportEmail(){return o(P)},get onDismiss(){return e.closeWithError},get appName(){return o(S)},fullWidth:!0})}};H(x,w=>{e.currentPage==="error"&&w(y)},!0)}E(m,k)};H(f,m=>{e.currentPage==="success"?m(b):m(v,!1)},!0)}E(_,h)};H(u,_=>{e.currentPage==="loading"?_(d):_(p,!1)})}E(c,l)},$$slots:{mainContent:!0}}),me(),a()}function ps(r,e,t){return t.formatPrice(Ai(r,e),e)}function Q_(r,e,t){if(e===null){const a=t.formatPrice(r.amountMicros,r.currency);return{pricePerDay:a,pricePerWeek:a,pricePerMonth:a,pricePerYear:a}}const n=ul(e);return{pricePerDay:ps(r.amountMicros*n.perDay,r.currency,t),pricePerWeek:ps(r.amountMicros*n.perWeek,r.currency,t),pricePerMonth:ps(r.amountMicros*n.perMonth,r.currency,t),pricePerYear:ps(r.amountMicros*n.perYear,r.currency,t)}}function kE(r){return r.cycleCount>0?r.cycleCount:1}function wE(r){return"durationMode"in r&&r.durationMode==="forever"}function PE(r){return"durationMode"in r&&r.durationMode==="time_window"}function xE(r,e){return PE(e)?r.base.period:e.period}function $_(r){return r.period===null||wE(r)?null:{number:r.period.number*kE(r),unit:r.period.unit}}function EE(r,e){const t=Mo(new Date,r,!0);return t?e.translateDate(t,{dateStyle:"long"})??"":""}function SE(r,e,t){const n=r.discount??r.trial??r.introPrice,a=r.trial&&!r.discount?r.introPrice:null;if(n===null)return;const i=$_(n),s=xE(r,n),{price:c}=n;if(c!==null){const l=Q_(c,s,e);t["product.offer_price"]=e.formatPrice(c.amountMicros,c.currency),t["product.offer_price_per_day"]=l.pricePerDay,t["product.offer_price_per_week"]=l.pricePerWeek,t["product.offer_price_per_month"]=l.pricePerMonth,t["product.offer_price_per_year"]=l.pricePerYear}if(i!==null){const l=oc(i,e);t["product.offer_period"]=l.period,t["product.offer_period_abbreviated"]=l.periodAbbreviated,t["product.offer_period_with_unit"]=l.periodWithUnit,t["product.offer_period_in_days"]=l.periodInDays,t["product.offer_period_in_weeks"]=l.periodInWeeks,t["product.offer_period_in_months"]=l.periodInMonths,t["product.offer_period_in_years"]=l.periodInYears,t["product.offer_end_date"]=EE(i,e)}if(a!==null&&(a.price!==null&&(t["product.secondary_offer_price"]=e.formatPrice(a.price.amountMicros,a.price.currency)),a.period!==null)){const l=oc(a.period,e);t["product.secondary_offer_period"]=l.period,t["product.secondary_offer_period_abbreviated"]=l.periodAbbreviated}}function IE(r,e,t){var a;const n=((a=r.discount)==null?void 0:a.price)??null;n!==null&&(t["product.offer_price"]=e.formatPrice(n.amountMicros,n.currency))}var CE=R('<span class="rcb-paddle-summary-muted svelte-1k1pux8">inc. tax</span>'),TE=R('<span class="rcb-paddle-summary-muted rcb-paddle-summary-price-name svelte-1k1pux8"> </span>'),DE=R('<span class="rcb-paddle-summary-muted svelte-1k1pux8"> </span>'),AE=R('<div class="rcb-paddle-summary-row svelte-1k1pux8"><span class="rcb-paddle-summary-muted svelte-1k1pux8"> </span> <span> </span></div>'),FE=R('<div class="rcb-paddle-summary-row svelte-1k1pux8"><span class="rcb-paddle-summary-muted svelte-1k1pux8"> </span> <span> </span></div>'),ME=R('<div class="rcb-paddle-summary-card svelte-1k1pux8"><div class="rcb-paddle-summary-row svelte-1k1pux8"><span class="rcb-paddle-summary-muted svelte-1k1pux8"> </span> <span> </span></div> <!> <hr class="rcb-paddle-summary-divider svelte-1k1pux8"/> <div class="rcb-paddle-summary-row rcb-paddle-summary-row-strong svelte-1k1pux8"><span> </span> <span> </span></div> <!></div>'),zE=R('<div class="rcb-paddle-summary svelte-1k1pux8"><div class="rcb-paddle-summary-card svelte-1k1pux8"><div class="rcb-paddle-summary-amount-row svelte-1k1pux8"><span class="rcb-paddle-summary-amount svelte-1k1pux8"> </span> <!></div> <!> <div class="rcb-paddle-summary-product svelte-1k1pux8"><!> <!> <div class="rcb-paddle-summary-product-price svelte-1k1pux8"><span> </span> <!></div></div></div> <!></div>');const qE={hash:"svelte-1k1pux8",code:`.rcb-paddle-summary.svelte-1k1pux8 {display:flex;flex-direction:column;gap:var(--rc-spacing-gapLarge-mobile, 16px);width:100%;}.rcb-paddle-summary-card.svelte-1k1pux8 {background:var(--rcb-card-bg);border-radius:16px;padding:28px;display:flex;flex-direction:column;gap:var(--rc-spacing-gapMedium-mobile, 12px);}.rcb-paddle-summary-amount-row.svelte-1k1pux8 {display:flex;align-items:baseline;gap:8px;}.rcb-paddle-summary-amount.svelte-1k1pux8 {color:var(--rc-color-primary);font-weight:700;font-size:2rem;line-height:1.1;}.rcb-paddle-summary-product.svelte-1k1pux8 {display:flex;flex-direction:column;gap:2px;
412
419
  /* Extra separation between the amount/billing line and the product block. */margin-top:var(--rc-spacing-gapLarge-mobile, 16px);}.rcb-paddle-summary-price-name.svelte-1k1pux8 {font-size:0.8125rem;}.rcb-paddle-summary-product-price.svelte-1k1pux8 {display:flex;align-items:baseline;gap:6px;font-weight:600;font-size:1.25rem;
413
- /* A bit more separation from the price-name line above. */margin-top:var(--rc-spacing-gapSmall-mobile, 8px);}.rcb-paddle-summary-row.svelte-1k1pux8 {display:flex;justify-content:space-between;align-items:center;}.rcb-paddle-summary-row-strong.svelte-1k1pux8 {font-weight:700;}.rcb-paddle-summary-muted.svelte-1k1pux8 {color:var(--rc-color-grey-text-light);}.rcb-paddle-summary-divider.svelte-1k1pux8 {border:none;border-top:1px solid var(--rc-color-grey-ui-light);margin:4px 0;width:100%;}`};function pE(r,e){var ce;he(e,!0),we(r,dE);const t=()=>Ue(i,"$translator",n),[n,a]=Je(),i=He(hr),c=new Wn(((ce=e.brandingInfo)==null?void 0:ce.appearance)??null).formColors.background,u=(Q=>"base"in Q)(e.purchaseOption)?e.purchaseOption.base.period??null:null,d=Q=>Math.round(Q*1e6),_=Ko(e.productDetails,e.purchaseOption),p=m(()=>{var Q;return((Q=e.totals)==null?void 0:Q.currencyCode)??_.currency}),f=m(()=>e.totals?d(e.totals.totalAmount):_.amountMicros),g=Q=>t().formatPrice(Q,o(p)),b=m(()=>u?t().translatePeriodUnit(u.unit):null),y=m(()=>u?t().translatePeriodFrequency(u.number,u.unit):null),h=m(()=>{var Q;return((Q=e.totals)==null?void 0:Q.productName)??e.productDetails.title}),k=m(()=>{var Q;return((Q=e.totals)==null?void 0:Q.priceName)??null}),x=m(()=>!!e.totals&&e.totals.taxAmount>0),v=m(()=>{if(!e.totals||e.totals.recurringTotalAmount===null||!u)return null;const Q=Ao(new Date,u,!0);return Q?new Intl.DateTimeFormat(_a(t().selectedLocale),{day:"numeric",month:"long",year:"numeric"}).format(Q):null});var w=uE(),E=D(w),I=D(E),T=D(I),S=D(T),A=U(T,2);{var C=Q=>{var ie=aE();P(Q,ie)};W(A,Q=>{o(x)&&Q(C)})}var N=U(I,2);{var q=Q=>{Ce(Q,{size:"body-small",children:(ie,V)=>{var X=Te();Y(()=>_e(X,`billed ${o(y)??""}`)),P(ie,X)},$$slots:{default:!0}})};W(N,Q=>{o(y)&&Q(q)})}var j=U(N,2),Z=D(j);Ce(Z,{size:"body-base",children:(Q,ie)=>{var V=Te();Y(()=>_e(V,o(h))),P(Q,V)},$$slots:{default:!0}});var O=U(Z,2);{var z=Q=>{var ie=oE(),V=D(ie);Y(()=>_e(V,o(k))),P(Q,ie)};W(O,Q=>{o(k)&&Q(z)})}var M=U(O,2),H=D(M),L=D(H),K=U(H,2);{var re=Q=>{var ie=iE(),V=D(ie);Y(()=>_e(V,`/ ${o(b)??""}`)),P(Q,ie)};W(K,Q=>{o(b)&&Q(re)})}var le=U(E,2);{var ne=Q=>{var ie=cE(),V=D(ie),X=D(V),B=D(X),oe=U(X,2),$=D(oe),ue=U(V,2);{var me=Ee=>{var pe=sE(),Ye=D(pe),Ze=D(Ye),ge=U(Ye,2),Re=D(ge);Y((dr,Er)=>{_e(Ze,dr),_e(Re,Er)},[()=>t().translate(de.PricingTableTax),()=>g(d(e.totals.taxAmount))]),P(Ee,pe)};W(ue,Ee=>{o(x)&&Ee(me)})}var xe=U(ue,4),qe=D(xe),ze=D(qe),De=U(qe,2),be=D(De),Ae=U(xe,2);{var Fe=Ee=>{var pe=lE(),Ye=D(pe),Ze=D(Ye),ge=U(Ye,2),Re=D(ge);Y(dr=>{_e(Ze,`Due on ${o(v)??""}`),_e(Re,dr)},[()=>g(d(e.totals.recurringTotalAmount))]),P(Ee,pe)};W(Ae,Ee=>{e.totals.recurringTotalAmount!==null&&o(v)&&Ee(Fe)})}Y((Ee,pe,Ye,Ze)=>{_e(B,Ee),_e($,pe),_e(ze,Ye),_e(be,Ze)},[()=>t().translate(de.PricingTableSubtotal),()=>g(d(e.totals.subtotalAmount)),()=>t().translate(de.PricingTableTotalDueToday),()=>g(d(e.totals.totalAmount))]),P(Q,ie)};W(le,Q=>{e.totals&&Q(ne)})}Y((Q,ie)=>{Le(w,`--rcb-card-bg: ${c??""};`),_e(S,Q),_e(L,ie)},[()=>g(o(f)),()=>g(o(f))]),P(r,w),ve(),a()}var _E=R('<button type="button" class="rcb-paddle-return-button svelte-5dakll" data-testid="paddle-return-button"><!> <span> </span></button>'),gE=R("<!> <!> <!>",1),fE=R('<div class="rcb-paddle-processing svelte-5dakll"><!></div>'),mE=R('<div data-testid="paddle-inline-checkout-container" style="width: 100%; min-height: 450px;"></div>');const hE={hash:"svelte-5dakll",code:".rcb-paddle-return-button.svelte-5dakll {display:inline-flex;align-items:center;gap:var(--rc-spacing-gapSmall-mobile, 8px);padding:8px 0;border:none;background:transparent;cursor:pointer;color:var(--rc-color-accent);font:inherit;}.rcb-paddle-processing.svelte-5dakll {display:flex;justify-content:center;width:100%;min-height:450px;align-items:center;}"};function vE(r,e){var l;he(e,!0),we(r,hE);const t=()=>Ue(s,"$translator",n),[n,a]=Je(),i=J(e,"hideBackButton",3,!1),s=He(hr),c=((l=e.brandingInfo)==null?void 0:l.app_name)??null;fc(r,{get brandingInfo(){return e.brandingInfo},get isInElement(){return e.isInElement},get isSandbox(){return e.isSandbox},get onClose(){return e.onClose},navbarHeaderContent:p=>{var f=Se(),g=se(f);{var b=y=>{var h=_E();h.__click=function(...w){var E;(E=e.onClose)==null||E.apply(this,w)};var k=D(h);Yn(k,{name:"back"});var x=U(k,2),v=D(x);Y(()=>_e(v,c?`Return to ${c}`:"Back")),P(y,h)};W(g,y=>{!e.isInElement&&!i()&&y(b)})}P(p,f)},navbarBodyContent:p=>{pE(p,{get brandingInfo(){return e.brandingInfo},get productDetails(){return e.productDetails},get purchaseOption(){return e.purchaseOption},get totals(){return e.totals}})},mainContent:p=>{var f=Se(),g=se(f);{var b=h=>{ss(h,{get onContinue(){return e.onContinue}})},y=h=>{var k=Se(),x=se(k);{var v=E=>{{let I=m(()=>{var S;return((S=e.brandingInfo)==null?void 0:S.support_email)??null}),T=m(()=>{var S;return((S=e.brandingInfo)==null?void 0:S.app_name)??null});is(E,{get lastError(){return e.lastError},get productDetails(){return e.productDetails},get supportEmail(){return o(I)},get onDismiss(){return e.closeWithError},get appName(){return o(T)}})}},w=E=>{var I=Se(),T=se(I);{var S=C=>{var N=fE(),q=D(N);Ro(q,{gap:"medium",align:"center",children:(j,Z)=>{var O=gE(),z=se(O);Ji(z,{color:"var(--rc-color-grey-text-dark)"});var M=U(z,2);Ce(M,{size:"heading-md",children:(L,K)=>{var re=Te();Y(le=>_e(re,le),[()=>t().translate(de.LoadingPageProcessingPayment)]),P(L,re)},$$slots:{default:!0}});var H=U(M,2);Ce(H,{size:"body-small",children:(L,K)=>{var re=Te();Y(le=>_e(re,le),[()=>t().translate(de.LoadingPageKeepPageOpen)]),P(L,re)},$$slots:{default:!0}}),P(j,O)},$$slots:{default:!0}}),P(C,N)},A=C=>{var N=mE();Y(()=>ur(N,1,da(G_),"svelte-5dakll")),P(C,N)};W(T,C=>{e.checkoutCompleted?C(S):C(A,!1)},!0)}P(E,I)};W(x,E=>{e.currentPage==="error"?E(v):E(w,!1)},!0)}P(h,k)};W(g,h=>{e.currentPage==="success"?h(b):h(y,!1)})}P(p,f)},$$slots:{navbarHeaderContent:!0,navbarBodyContent:!0,mainContent:!0}}),ve(),a()}Yt(["click"]);function yE(r,e){var N,q,j;he(e,!0);const t=J(e,"customTranslations",19,()=>({})),n=J(e,"skipSuccessPage",3,!1),a=J(e,"hideBackButton",3,!1);let i=new kn(t(),e.selectedLocale,e.defaultLocale),s=yr(i);const c=yr(((N=e.brandingInfo)==null?void 0:N.appearance)??null);mr(hr,s),mr(Vn,c),mr(Uo,e.eventsTracker);let l=te(!1),u=te(null),d=te(null),_=te("waiting"),p=te(!1),f=te(null);const g=m(()=>{var Z;return((Z=o(f))==null?void 0:Z.paddle_billing_params.inline_checkout_enabled)??!1});let b=te(null);const y=Z=>{F(b,Z,!0)},h=SP(((j=(q=e.brandingInfo)==null?void 0:q.appearance)==null?void 0:j.color_page_bg)??"#ffffff")?"light":"dark";ir(()=>{o(_)==="success"&&o(u)&&n()&&e.onFinished(o(u))});const k=()=>{o(_)==="success"&&o(u)&&e.onFinished(o(u))},x=()=>{e.paddleService.closeCheckout(),e.onClose()},v=()=>{e.onError(o(d)??new fe(ye.UnknownError,"Unknown error without state set.")),e.unmountPaddlePurchaseUi()};let w=null,E=null,I=null;br(async()=>{var H;e.isInElement||(w=document.documentElement.style.height,E=document.documentElement.style.overflow,I=document.body.style.height,document.documentElement.style.height="100%",document.body.style.height="100%",document.documentElement.style.overflow="hidden");const Z=()=>{F(_,"loading")},O=()=>{F(p,!0),F(_,"loading")},z={offeringIdentifier:e.productDetails.presentedOfferingContext.offeringIdentifier,targetingContext:null,placementIdentifier:null};let M;try{M=await e.paddleService.startCheckout({appUserId:e.appUserId,productId:e.productDetails.identifier,presentedOfferingContext:z,purchaseOption:e.purchaseOption,customerEmail:e.customerEmail,metadata:e.metadata,locale:e.selectedLocale,attributionMetadata:e.attributionMetadata,workflowPurchaseContext:e.workflowPurchaseContext}),F(f,M,!0),F(l,M.paddle_billing_params.is_sandbox,!0),o(g)&&await Bu()}catch(L){const K=cs(L,`Start Paddle checkout failed: ${L}`);F(d,K,!0),F(_,"error"),e.onError(K);return}try{const L=await e.paddleService.purchase({operationSessionId:M.operation_session_id,transactionId:(H=M.paddle_billing_params)==null?void 0:H.transaction_id,onCheckoutLoaded:Z,onClose:e.onClose,params:{rcPackage:e.rcPackage,purchaseOption:e.purchaseOption,appUserId:e.appUserId,presentedOfferingIdentifier:e.productDetails.presentedOfferingContext.offeringIdentifier,customerEmail:e.customerEmail,locale:e.selectedLocale||e.defaultLocale},...o(g)&&{displayMode:"inline",theme:h,onCheckoutTotals:y,onCheckoutCompleted:O}});n()?e.onFinished(L):(F(u,L,!0),F(_,"success"))}catch(L){const K=cs(L,`Paddle purchase failed: ${L}`);F(d,K,!0),F(_,"error"),e.onError(K)}}),qt(()=>{if(!e.isInElement){const Z=(O,z,M)=>{M===""?O.style.removeProperty(z):O.style.setProperty(z,M)};Z(document.documentElement,"height",w),Z(document.body,"height",I),Z(document.documentElement,"overflow",E)}});var T=Se(),S=se(T);{var A=Z=>{vE(Z,{get brandingInfo(){return e.brandingInfo},get isSandbox(){return o(l)},get isInElement(){return e.isInElement},onClose:x,get hideBackButton(){return a()},get productDetails(){return e.productDetails},get purchaseOption(){return e.purchaseOption},get totals(){return o(b)},get currentPage(){return o(_)},get checkoutCompleted(){return o(p)},get lastError(){return o(d)},onContinue:k,closeWithError:v})},C=Z=>{var O=Se(),z=se(O);{var M=H=>{nE(H,{get currentPage(){return o(_)},get brandingInfo(){return e.brandingInfo},get productDetails(){return e.productDetails},get isSandbox(){return o(l)},get lastError(){return o(d)},get isInElement(){return e.isInElement},onContinue:k,closeWithError:v})};W(z,H=>{o(_)!=="waiting"&&H(M)},!0)}P(Z,O)};W(S,Z=>{o(g)?Z(A):Z(C,!1)})}P(r,T),ve()}var bE=R('<div class="stripe-checkout-container svelte-1kxsl49" data-testid="stripe-checkout-container"><div class="stripe-checkout-mount svelte-1kxsl49" data-testid="stripe-checkout-mount"></div></div>');const kE={hash:"svelte-1kxsl49",code:".stripe-checkout-container.svelte-1kxsl49 {width:100%;min-height:400px;display:flex;flex-direction:column;}.stripe-checkout-mount.svelte-1kxsl49 {width:100%;flex:1;}"};function wE(r,e){he(e,!0),we(r,kE);let t,n=null;async function a(){try{e.onContinue()}catch(c){e.onError(c instanceof fe?c:new fe(ye.ErrorSettingUpPurchase,c instanceof Error?c.message:"Failed to complete checkout"))}}br(async()=>{try{const c=e.stripeBillingParams.publishable_api_key,l=e.stripeBillingParams.stripe_account_id,{embeddedCheckout:u}=await tr.initializeStripeCheckout(l,c,e.stripeBillingParams,a);n=u,t&&u.mount(t)}catch(c){e.onError(c instanceof Error?new fe(ye.ErrorSettingUpPurchase,c.message):new fe(ye.ErrorSettingUpPurchase,"Failed to initialize Stripe Checkout"))}}),qt(()=>{n&&(n.destroy(),n=null)});var i=bE(),s=D(i);pa(s,c=>t=c,()=>t),P(r,i),ve()}var PE=R('<div class="stripe-checkout-wrapper svelte-zapbpj"><!></div>'),xE=R("<!> <!>",1),EE=R("<!> <!>",1),SE=R('<div class="rcb-ui-loading-container svelte-zapbpj"><!></div>');const IE={hash:"svelte-zapbpj",code:`.rcb-ui-loading-container.svelte-zapbpj {display:flex;flex-direction:column;align-items:center;}.stripe-checkout-wrapper.svelte-zapbpj {width:100%;min-height:100%;display:flex;flex-direction:column;overflow:hidden auto;}
420
+ /* A bit more separation from the price-name line above. */margin-top:var(--rc-spacing-gapSmall-mobile, 8px);}.rcb-paddle-summary-row.svelte-1k1pux8 {display:flex;justify-content:space-between;align-items:center;}.rcb-paddle-summary-row-strong.svelte-1k1pux8 {font-weight:700;}.rcb-paddle-summary-muted.svelte-1k1pux8 {color:var(--rc-color-grey-text-light);}.rcb-paddle-summary-divider.svelte-1k1pux8 {border:none;border-top:1px solid var(--rc-color-grey-ui-light);margin:4px 0;width:100%;}`};function OE(r,e){var ye;fe(e,!0),we(r,qE);const t=()=>Re(i,"$translator",n),[n,a]=Ze(),i=He(vr),c=new Hn(((ye=e.brandingInfo)==null?void 0:ye.appearance)??null).formColors.background,l=ee=>"base"in ee,u=g(()=>l(e.purchaseOption)?e.purchaseOption:null),d=g(()=>{var ee;return((ee=o(u))==null?void 0:ee.base.period)??null}),p=g(()=>{var ee,K,se;return((ee=o(u))==null?void 0:ee.discount)??((K=o(u))==null?void 0:K.trial)??((se=o(u))==null?void 0:se.introPrice)??null}),_=g(()=>(o(p)?$_(o(p)):null)??o(d)),h=g(()=>{var ee;return(ee=o(u))!=null&&ee.trial&&!o(u).discount?o(u).introPrice??null:null}),f=g(()=>o(h)!==null),b=ee=>Math.round(ee*1e6),v=g(()=>Zo(e.productDetails,e.purchaseOption)),m=g(()=>{var ee;return((ee=e.totals)==null?void 0:ee.currencyCode)??o(v).currency}),k=g(()=>e.totals?b(e.totals.totalAmount):o(v).amountMicros),x=g(()=>{var ee;return((ee=e.totals)==null?void 0:ee.recurringTotalAmount)!=null&&!o(f)?b(e.totals.recurringTotalAmount):null}),y=g(()=>o(x)!==null&&o(x)!==o(k)),w=ee=>t().formatPrice(ee,o(m)),P=g(()=>o(d)?t().translatePeriodUnit(o(d).unit):null),S=g(()=>o(d)?t().translatePeriodFrequency(o(d).number,o(d).unit):null),T=g(()=>bh(o(_),t(),{collapseSingularInEnglish:!0})),I=g(()=>o(S)?o(y)&&o(T)?`first ${o(T)}, then ${w(o(x))} ${o(S)}`:`billed ${o(S)}`:null),A=g(()=>{var ee;return((ee=e.totals)==null?void 0:ee.productName)??e.productDetails.title}),C=g(()=>{var ee;return((ee=e.totals)==null?void 0:ee.priceName)??null}),L=g(()=>!!e.totals&&e.totals.taxAmount>0),q=g(()=>{if(o(x)===null||!o(_))return null;const ee=Mo(new Date,o(_),!0);return ee?ee.toLocaleDateString(_a(t().selectedLocale),{day:"numeric",month:"long",year:"numeric"}):null});var j=zE(),Y=D(j),N=D(Y),M=D(N),z=D(M),U=B(M,2);{var O=ee=>{var K=CE();E(ee,K)};H(U,ee=>{o(L)&&ee(O)})}var G=B(N,2);{var Z=ee=>{Fe(ee,{size:"body-small",children:(K,se)=>{var pe=ze();V(()=>ge(pe,o(I))),E(K,pe)},$$slots:{default:!0}})};H(G,ee=>{o(I)&&ee(Z)})}var le=B(G,2),$=D(le);Fe($,{size:"body-base",children:(ee,K)=>{var se=ze();V(()=>ge(se,o(A))),E(ee,se)},$$slots:{default:!0}});var oe=B($,2);{var Pe=ee=>{var K=TE(),se=D(K);V(()=>ge(se,o(C))),E(ee,K)};H(oe,ee=>{o(C)&&ee(Pe)})}var Ie=B(oe,2),J=D(Ie),Q=D(J),ae=B(J,2);{var Ee=ee=>{var K=DE(),se=D(K);V(()=>ge(se,`/ ${o(P)??""}`)),E(ee,K)};H(ae,ee=>{o(P)&&ee(Ee)})}var ie=B(Y,2);{var Se=ee=>{var K=ME(),se=D(K),pe=D(se),ue=D(pe),Ae=B(pe,2),Me=D(Ae),De=B(se,2);{var he=qr=>{var Kr=AE(),Or=D(Kr),Ut=D(Or),er=B(Or,2),yr=D(er);V((zt,lo)=>{ge(Ut,zt),ge(yr,lo)},[()=>t().translate(de.PricingTableTax),()=>w(b(e.totals.taxAmount))]),E(qr,Kr)};H(De,qr=>{o(L)&&qr(he)})}var Ke=B(De,4),$e=D(Ke),ve=D($e),Ve=B($e,2),fr=D(Ve),Sr=B(Ke,2);{var zr=qr=>{var Kr=FE(),Or=D(Kr),Ut=D(Or),er=B(Or,2),yr=D(er);V(zt=>{ge(Ut,`Due on ${o(q)??""}`),ge(yr,zt)},[()=>w(o(x))]),E(qr,Kr)};H(Sr,qr=>{o(x)!==null&&o(q)&&qr(zr)})}V((qr,Kr,Or,Ut)=>{ge(ue,qr),ge(Me,Kr),ge(ve,Or),ge(fr,Ut)},[()=>t().translate(de.PricingTableSubtotal),()=>w(b(e.totals.subtotalAmount)),()=>t().translate(de.PricingTableTotalDueToday),()=>w(b(e.totals.totalAmount))]),E(ee,K)};H(ie,ee=>{e.totals&&ee(Se)})}V((ee,K)=>{Oe(j,`--rcb-card-bg: ${c??""};`),ge(z,ee),ge(Q,K)},[()=>w(o(k)),()=>w(o(x)??o(k))]),E(r,j),me(),a()}var LE=R('<button type="button" class="rcb-paddle-return-button svelte-5dakll" data-testid="paddle-return-button"><!> <span> </span></button>'),NE=R("<!> <!> <!>",1),jE=R('<div class="rcb-paddle-processing svelte-5dakll"><!></div>'),BE=R('<div data-testid="paddle-inline-checkout-container" style="width: 100%; min-height: 450px;"></div>');const RE={hash:"svelte-5dakll",code:".rcb-paddle-return-button.svelte-5dakll {display:inline-flex;align-items:center;gap:var(--rc-spacing-gapSmall-mobile, 8px);padding:8px 0;border:none;background:transparent;cursor:pointer;color:var(--rc-color-accent);font:inherit;}.rcb-paddle-processing.svelte-5dakll {display:flex;justify-content:center;width:100%;min-height:450px;align-items:center;}"};function UE(r,e){var l;fe(e,!0),we(r,RE);const t=()=>Re(s,"$translator",n),[n,a]=Ze(),i=X(e,"hideBackButton",3,!1),s=He(vr),c=((l=e.brandingInfo)==null?void 0:l.app_name)??null;R_(r,{get brandingInfo(){return e.brandingInfo},get isInElement(){return e.isInElement},get isSandbox(){return e.isSandbox},get onClose(){return e.onClose},navbarHeaderContent:_=>{var h=Te(),f=ce(h);{var b=v=>{var m=LE();m.__click=function(...w){var P;(P=e.onClose)==null||P.apply(this,w)};var k=D(m);Wn(k,{name:"back"});var x=B(k,2),y=D(x);V(()=>ge(y,c?`Return to ${c}`:"Back")),E(v,m)};H(f,v=>{!e.isInElement&&!i()&&v(b)})}E(_,h)},navbarBodyContent:_=>{OE(_,{get brandingInfo(){return e.brandingInfo},get productDetails(){return e.productDetails},get purchaseOption(){return e.purchaseOption},get totals(){return e.totals}})},mainContent:_=>{var h=Te(),f=ce(h);{var b=m=>{cs(m,{get onContinue(){return e.onContinue}})},v=m=>{var k=Te(),x=ce(k);{var y=P=>{{let S=g(()=>{var I;return((I=e.brandingInfo)==null?void 0:I.support_email)??null}),T=g(()=>{var I;return((I=e.brandingInfo)==null?void 0:I.app_name)??null});ls(P,{get lastError(){return e.lastError},get productDetails(){return e.productDetails},get supportEmail(){return o(S)},get onDismiss(){return e.closeWithError},get appName(){return o(T)}})}},w=P=>{var S=Te(),T=ce(S);{var I=C=>{var L=jE(),q=D(L);Vo(q,{gap:"medium",align:"center",children:(j,Y)=>{var N=NE(),M=ce(N);$i(M,{color:"var(--rc-color-grey-text-dark)"});var z=B(M,2);Fe(z,{size:"heading-md",children:(O,G)=>{var Z=ze();V(le=>ge(Z,le),[()=>t().translate(de.LoadingPageProcessingPayment)]),E(O,Z)},$$slots:{default:!0}});var U=B(z,2);Fe(U,{size:"body-small",children:(O,G)=>{var Z=ze();V(le=>ge(Z,le),[()=>t().translate(de.LoadingPageKeepPageOpen)]),E(O,Z)},$$slots:{default:!0}}),E(j,N)},$$slots:{default:!0}}),E(C,L)},A=C=>{var L=BE();V(()=>ur(L,1,da(Z_),"svelte-5dakll")),E(C,L)};H(T,C=>{e.checkoutCompleted?C(I):C(A,!1)},!0)}E(P,S)};H(x,P=>{e.currentPage==="error"?P(y):P(w,!1)},!0)}E(m,k)};H(f,m=>{e.currentPage==="success"?m(b):m(v,!1)})}E(_,h)},$$slots:{navbarHeaderContent:!0,navbarBodyContent:!0,mainContent:!0}}),me(),a()}Zt(["click"]);function VE(r,e){var L,q,j;fe(e,!0);const t=X(e,"customTranslations",19,()=>({})),n=X(e,"skipSuccessPage",3,!1),a=X(e,"hideBackButton",3,!1);let i=new On(t(),e.selectedLocale,e.defaultLocale),s=br(i);const c=br(((L=e.brandingInfo)==null?void 0:L.appearance)??null);mr(vr,s),mr(Un,c),mr(Ho,e.eventsTracker);let l=te(!1),u=te(null),d=te(null),p=te("waiting"),_=te(!1),h=te(null);const f=g(()=>{var Y;return((Y=o(h))==null?void 0:Y.paddle_billing_params.inline_checkout_enabled)??!1});let b=te(null);const v=Y=>{F(b,Y,!0)},m=MP(((j=(q=e.brandingInfo)==null?void 0:q.appearance)==null?void 0:j.color_page_bg)??"#ffffff")?"light":"dark";ir(()=>{o(p)==="success"&&o(u)&&n()&&e.onFinished(o(u))});const k=()=>{o(p)==="success"&&o(u)&&e.onFinished(o(u))},x=()=>{e.paddleService.closeCheckout(),e.onClose()},y=()=>{e.onError(o(d)??new _e(be.UnknownError,"Unknown error without state set.")),e.unmountPaddlePurchaseUi()};let w=null,P=null,S=null;xr(async()=>{var U;e.isInElement||(w=document.documentElement.style.height,P=document.documentElement.style.overflow,S=document.body.style.height,document.documentElement.style.height="100%",document.body.style.height="100%",document.documentElement.style.overflow="hidden");const Y=()=>{F(p,"loading")},N=()=>{F(_,!0),F(p,"loading")},M={offeringIdentifier:e.productDetails.presentedOfferingContext.offeringIdentifier,targetingContext:null,placementIdentifier:null};let z;try{z=await e.paddleService.startCheckout({appUserId:e.appUserId,productId:e.productDetails.identifier,presentedOfferingContext:M,purchaseOption:e.purchaseOption,customerEmail:e.customerEmail,metadata:e.metadata,locale:e.selectedLocale,attributionMetadata:e.attributionMetadata,workflowPurchaseContext:e.workflowPurchaseContext}),F(h,z,!0),F(l,z.paddle_billing_params.is_sandbox,!0),o(f)&&await ju()}catch(O){const G=ds(O,`Start Paddle checkout failed: ${O}`);F(d,G,!0),F(p,"error"),e.onError(G);return}try{const O=await e.paddleService.purchase({operationSessionId:z.operation_session_id,transactionId:(U=z.paddle_billing_params)==null?void 0:U.transaction_id,onCheckoutLoaded:Y,onClose:e.onClose,checkoutSettings:z.paddle_billing_params.checkout_settings,params:{rcPackage:e.rcPackage,purchaseOption:e.purchaseOption,appUserId:e.appUserId,presentedOfferingIdentifier:e.productDetails.presentedOfferingContext.offeringIdentifier,customerEmail:e.customerEmail,locale:e.selectedLocale||e.defaultLocale},...o(f)&&{displayMode:"inline",theme:m,onCheckoutTotals:v,onCheckoutCompleted:N}});n()?e.onFinished(O):(F(u,O,!0),F(p,"success"))}catch(O){const G=ds(O,`Paddle purchase failed: ${O}`);F(d,G,!0),F(p,"error"),e.onError(G)}}),Nt(()=>{if(!e.isInElement){const Y=(N,M,z)=>{z===""?N.style.removeProperty(M):N.style.setProperty(M,z)};Y(document.documentElement,"height",w),Y(document.body,"height",S),Y(document.documentElement,"overflow",P)}});var T=Te(),I=ce(T);{var A=Y=>{UE(Y,{get brandingInfo(){return e.brandingInfo},get isSandbox(){return o(l)},get isInElement(){return e.isInElement},onClose:x,get hideBackButton(){return a()},get productDetails(){return e.productDetails},get purchaseOption(){return e.purchaseOption},get totals(){return o(b)},get currentPage(){return o(p)},get checkoutCompleted(){return o(_)},get lastError(){return o(d)},onContinue:k,closeWithError:y})},C=Y=>{var N=Te(),M=ce(N);{var z=U=>{bE(U,{get currentPage(){return o(p)},get brandingInfo(){return e.brandingInfo},get productDetails(){return e.productDetails},get isSandbox(){return o(l)},get lastError(){return o(d)},get isInElement(){return e.isInElement},onContinue:k,closeWithError:y})};H(M,U=>{o(p)!=="waiting"&&U(z)},!0)}E(Y,N)};H(I,Y=>{o(f)?Y(A):Y(C,!1)})}E(r,T),me()}var HE=R('<div class="stripe-checkout-container svelte-1kxsl49" data-testid="stripe-checkout-container"><div class="stripe-checkout-mount svelte-1kxsl49" data-testid="stripe-checkout-mount"></div></div>');const WE={hash:"svelte-1kxsl49",code:".stripe-checkout-container.svelte-1kxsl49 {width:100%;min-height:400px;display:flex;flex-direction:column;}.stripe-checkout-mount.svelte-1kxsl49 {width:100%;flex:1;}"};function YE(r,e){fe(e,!0),we(r,WE);let t,n=null;async function a(){try{e.onContinue()}catch(c){e.onError(c instanceof _e?c:new _e(be.ErrorSettingUpPurchase,c instanceof Error?c.message:"Failed to complete checkout"))}}xr(async()=>{try{const c=e.stripeBillingParams.publishable_api_key,l=e.stripeBillingParams.stripe_account_id,{embeddedCheckout:u}=await nr.initializeStripeCheckout(l,c,e.stripeBillingParams,a);n=u,t&&u.mount(t)}catch(c){e.onError(c instanceof Error?new _e(be.ErrorSettingUpPurchase,c.message):new _e(be.ErrorSettingUpPurchase,"Failed to initialize Stripe Checkout"))}}),Nt(()=>{n&&(n.destroy(),n=null)});var i=HE(),s=D(i);pa(s,c=>t=c,()=>t),E(r,i),me()}var GE=R('<div class="stripe-checkout-wrapper svelte-zapbpj"><!></div>'),KE=R("<!> <!>",1),XE=R("<!> <!>",1),ZE=R('<div class="rcb-ui-loading-container svelte-zapbpj"><!></div>');const JE={hash:"svelte-zapbpj",code:`.rcb-ui-loading-container.svelte-zapbpj {display:flex;flex-direction:column;align-items:center;}.stripe-checkout-wrapper.svelte-zapbpj {width:100%;min-height:100%;display:flex;flex-direction:column;overflow:hidden auto;}
414
421
 
415
422
  /* 991px is the breakpoint for the mobile layout in Stripe Checkout */
416
423
  @media (min-width: 991px) {.stripe-checkout-wrapper.svelte-zapbpj {justify-content:center;align-items:center;}
417
- }`};function CE(r,e){he(e,!0),we(r,IE);const t=()=>Ue(s,"$brandingAppearanceStore",a),n=()=>Ue(d,"$translator",a),[a,i]=Je(),s=He(Vn),c=m(()=>t()??void 0),l=m(()=>new Wn(o(c)).pageStyleVars),u=m(()=>k_(o(c)).background),d=He(hr);K_(r,{get brandingInfo(){return e.brandingInfo},get isInElement(){return e.isInElement},get isSandbox(){return e.isSandbox},mainContent:p=>{var f=Se(),g=se(f);{var b=h=>{var k=Se(),x=se(k);{var v=w=>{var E=PE(),I=D(E);wE(I,{get stripeBillingParams(){return e.stripeBillingParams},get onContinue(){return e.onContinue},get onError(){return e.onError}}),Y(()=>Le(E,`${o(l)??""}; background-color: ${o(u)??""}`)),P(w,E)};W(x,w=>{e.stripeBillingParams&&w(v)})}P(h,k)},y=h=>{var k=Se(),x=se(k);{var v=E=>{var I=SE(),T=D(I);Ro(T,{gap:"medium",align:"center",children:(S,A)=>{var C=EE(),N=se(C);Ji(N,{color:"var(--rc-color-grey-text-dark)"});var q=U(N,2);{var j=Z=>{var O=xE(),z=se(O);Ce(z,{size:"heading-md",children:(H,L)=>{var K=Te();Y(re=>_e(K,re),[()=>n().translate(de.LoadingPageProcessingPayment)]),P(H,K)},$$slots:{default:!0}});var M=U(z,2);Ce(M,{size:"body-small",children:(H,L)=>{var K=Te();Y(re=>_e(K,re),[()=>n().translate(de.LoadingPageKeepPageOpen)]),P(H,K)},$$slots:{default:!0}}),P(Z,O)};W(q,Z=>{e.currentPage==="purchasing"&&Z(j)})}P(S,C)},$$slots:{default:!0}}),P(E,I)},w=E=>{var I=Se(),T=se(I);{var S=C=>{ss(C,{get onContinue(){return e.onContinue},fullWidth:!0})},A=C=>{var N=Se(),q=se(N);{var j=Z=>{{let O=m(()=>{var M;return((M=e.brandingInfo)==null?void 0:M.support_email)??null}),z=m(()=>{var M;return((M=e.brandingInfo)==null?void 0:M.app_name)??null});is(Z,{get lastError(){return e.lastError},get productDetails(){return e.productDetails},get supportEmail(){return o(O)},get onDismiss(){return e.closeWithError},get appName(){return o(z)},fullWidth:!0})}};W(q,Z=>{e.currentPage==="error"&&Z(j)},!0)}P(C,N)};W(T,C=>{e.currentPage==="success"?C(S):C(A,!1)},!0)}P(E,I)};W(x,E=>{e.currentPage==="loading"||e.currentPage==="purchasing"?E(v):E(w,!1)},!0)}P(h,k)};W(g,h=>{e.currentPage==="stripe-checkout"?h(b):h(y,!1)})}P(p,f)},$$slots:{mainContent:!0}}),ve(),i()}function TE(r,e){var x;he(e,!0);const t=J(e,"customTranslations",19,()=>({})),n=J(e,"skipSuccessPage",3,!1);let a=e.rcPackage.webBillingProduct,i=new kn(t(),e.selectedLocale,e.defaultLocale),s=yr(i);mr(hr,s),mr(Uo,e.eventsTracker);const c=yr(((x=e.brandingInfo)==null?void 0:x.appearance)??null);mr(Vn,c);let l=te(!1),u=te(null),d=te(null),_=te("loading"),p=te(null);const f=()=>{if(o(_)==="stripe-checkout"){F(_,"purchasing"),e.purchaseOperationHelper.pollCurrentPurchaseForCompletion().then(v=>{F(u,v,!0),n()?e.onFinished(v):F(_,"success")}).catch(v=>{g(cs(v,"Failed to complete purchase"))});return}o(_)==="success"&&o(u)&&e.onFinished(o(u))},g=v=>{F(d,v,!0),F(_,"error")},b=()=>{e.onError(o(d)??new fe(ye.UnknownError,"Unknown error without state set."))};let y=null,h=null,k=null;br(async()=>{e.isInElement||(y=document.documentElement.style.height,h=document.documentElement.style.overflow,k=document.body.style.height,document.documentElement.style.height="100%",document.body.style.height="100%",document.documentElement.style.overflow="hidden");const v=a.identifier;if(!v){g(new fe(ye.ErrorSettingUpPurchase,"Product ID was not set before purchase."));return}let w=e.customerEmail;(w?j_(w):null)&&(w=void 0);try{const I=await e.purchaseOperationHelper.checkoutStart({appUserId:e.appUserId,productId:v,purchaseOption:e.purchaseOption,presentedOfferingContext:e.rcPackage.webBillingProduct.presentedOfferingContext,customerEmail:w,metadata:e.metadata,workflowPurchaseContext:e.workflowPurchaseContext,attributionMetadata:e.attributionMetadata,paywallId:e.paywallId,paywallSessionId:e.paywallSessionId,locale:e.selectedLocale});if(!I.stripe_billing_params){g(new fe(ye.ErrorSettingUpPurchase,"Missing Stripe Checkout parameters"));return}F(l,I.stripe_billing_params.environment.toLowerCase()==="sandbox"),F(p,I.stripe_billing_params,!0),F(_,"stripe-checkout")}catch(I){g(cs(I,"Failed to start Stripe Checkout"))}}),qt(()=>{if(!e.isInElement){const v=(w,E,I)=>{I===""?w.style.removeProperty(E):w.style.setProperty(E,I)};v(document.documentElement,"height",y),v(document.body,"height",k),v(document.documentElement,"overflow",h)}}),CE(r,{get currentPage(){return o(_)},get brandingInfo(){return e.brandingInfo},get productDetails(){return a},get isSandbox(){return o(l)},get lastError(){return o(d)},get isInElement(){return e.isInElement},get stripeBillingParams(){return o(p)},onContinue:f,onError:g,closeWithError:b}),ve()}class DE{constructor(e){ee(this,"operationSessionId",null);ee(this,"startResponse",null);this.backend=e}async start(e,t,n,a){try{const i=await this.backend.postSubscriptionChangeCheckoutStart(e,t,n,a);return this.operationSessionId=i.operation_session_id,this.startResponse=i,i}catch(i){throw this.toFlowError(i,"Failed to start product change checkout.",ye.ErrorSettingUpPurchase)}}getStartResponse(){return this.startResponse}async confirm(e){if(!this.operationSessionId)throw new fe(ye.ErrorSettingUpPurchase,"No product change checkout session to confirm.");try{const t=await this.backend.postSubscriptionChangeCheckoutConfirm(this.operationSessionId,e);return{operationSessionId:t.operation_session_id,changeType:t.change_type,newProductId:t.new_product_id}}catch(t){throw this.toFlowError(t,"Failed to confirm product change.",ye.ErrorChargingPayment)}}toFlowError(e,t,n){return e instanceof fe?e:e instanceof Xe?fe.fromPurchasesError(e,n):new fe(ye.UnknownError,t,e instanceof Error?e.message:String(e))}}var AE=R('<div class="rcb-pricing-info svelte-r306bb"><div class="rcb-pricing-info-header svelte-r306bb"><div class="rcb-upgrade-product svelte-r306bb"><div class="rcb-upgrade-label svelte-r306bb"><!></div> <div class="rcb-product-title svelte-r306bb"><!></div></div> <div class="rcb-upgrade-product svelte-r306bb"><div class="rcb-upgrade-label svelte-r306bb"><!></div> <div class="rcb-product-title svelte-r306bb"><!></div></div></div> <!></div>');const FE={hash:"svelte-r306bb",code:`.rcb-pricing-info.svelte-r306bb {display:flex;flex-direction:column;user-select:none;gap:var(--rc-spacing-gapXXLarge-mobile);}.rcb-pricing-info-header.svelte-r306bb {display:flex;flex-direction:column;gap:var(--rc-spacing-gapLarge-mobile);}.rcb-upgrade-product.svelte-r306bb {display:flex;flex-direction:column;gap:var(--rc-spacing-gapMedium-mobile);}.rcb-upgrade-label.svelte-r306bb {color:var(--rc-color-grey-text-light);}.rcb-product-title.svelte-r306bb {color:var(--rc-color-grey-text-dark);}
418
-
419
- @container layout-query-container (width >= 768px) {.rcb-pricing-info.svelte-r306bb {gap:var(--rc-spacing-gapXXXLarge-desktop);}.rcb-pricing-info-header.svelte-r306bb {gap:var(--rc-spacing-gapLarge-desktop);}.rcb-upgrade-product.svelte-r306bb {gap:var(--rc-spacing-gapMedium-desktop);}
420
- }`};function zE(r,e){he(e,!0),we(r,FE);const t=()=>Ue(i,"$translator",n),[n,a]=Je(),i=He(hr),s=m(()=>e.startData.from_product.display_name??e.startData.from_product.product_id),c=m(()=>e.startData.to_product.display_name??e.startData.to_product.product_id),l=m(()=>t().formatPrice(e.startData.from_product.price_in_micros,e.startData.from_product.currency)),u=m(()=>t().formatPrice(e.startData.to_product.price_in_micros,e.startData.to_product.currency));function d(C){const N=C.tax_amount_in_micros;return{currency:C.currency,totalAmountInMicros:C.total_amount_in_micros,totalExcludingTaxInMicros:C.total_excluding_tax_in_micros,originalAmountInMicros:C.original_amount_in_micros??void 0,taxAmountInMicros:N,taxCalculationStatus:N!=null?"calculated":"pending",taxBreakdown:N!=null?[{display_name:"Tax (estimated)",tax_amount_in_micros:N}]:null}}const _=m(()=>{const C=e.startData.price_breakdown??e.startData.estimated_renewal_price;return C?d(C):{currency:e.startData.to_product.currency,totalAmountInMicros:0,totalExcludingTaxInMicros:0,taxAmountInMicros:null,taxCalculationStatus:"disabled",taxBreakdown:null}}),p=m(()=>e.startData.change_type==="deferred"&&e.startData.estimated_renewal_price?"Estimated at next renewal":null),f=m(()=>e.startData.price_breakdown||e.startData.estimated_renewal_price?"Calculated later":null);var g=AE(),b=D(g),y=D(b),h=D(y),k=D(h);Ce(k,{size:"body-base",children:(C,N)=>{var q=Te("Upgrade from");P(C,q)},$$slots:{default:!0}});var x=U(h,2),v=D(x);Ce(v,{size:"heading-lg",branded:!0,children:(C,N)=>{var q=Te();Y(()=>_e(q,`${o(s)??""} — ${o(l)??""}`)),P(C,q)},$$slots:{default:!0}});var w=U(y,2),E=D(w),I=D(E);Ce(I,{size:"body-base",children:(C,N)=>{var q=Te("Upgrade to");P(C,q)},$$slots:{default:!0}});var T=U(E,2),S=D(T);Ce(S,{size:"heading-lg",branded:!0,children:(C,N)=>{var q=Te();Y(()=>_e(q,`${o(c)??""} — ${o(u)??""}`)),P(C,q)},$$slots:{default:!0}});var A=U(b,2);F_(A,{get priceBreakdown(){return o(_)},trialPhase:null,basePhase:null,resolvedDiscount:null,showDiscountCodeField:!1,discountCode:"",appliedDiscountCode:null,discountCodeError:null,isUpdatingDiscountCode:!1,isDiscountCodeControlsEnabled:!1,onDiscountCodeChange:void 0,onApplyDiscountCode:void 0,onRemoveDiscountCode:void 0,get pendingTaxLabel(){return o(f)},get totalRowLabel(){return o(p)}}),P(r,g),ve(),a()}var ME=R('<div class="rcb-upgrade-section svelte-1l4fjhq"><div class="rcb-upgrade-section-label svelte-1l4fjhq"><!></div> <!></div>'),qE=R('<div class="rcb-upgrade-section svelte-1l4fjhq"><div class="rcb-upgrade-section-label svelte-1l4fjhq"><!></div> <!></div>'),OE=R('<div class="rcb-upgrade-section rcb-upgrade-section-label svelte-1l4fjhq"><!></div>'),LE=R('<div class="rcb-upgrade-details svelte-1l4fjhq"><div class="rcb-upgrade-section svelte-1l4fjhq"><div class="rcb-upgrade-section-label svelte-1l4fjhq"><!></div> <!></div> <!> <!> <!></div> <!> <div class="rcb-upgrade-actions svelte-1l4fjhq"><!></div>',1),NE=R('<div class="rcb-upgrade-checkout svelte-1l4fjhq"><!></div>');const jE={hash:"svelte-1l4fjhq",code:`.rcb-upgrade-checkout.svelte-1l4fjhq {display:flex;flex-direction:column;gap:var(--rc-spacing-gapXXLarge-mobile);user-select:none;}.rcb-upgrade-details.svelte-1l4fjhq {display:flex;flex-direction:column;gap:var(--rc-spacing-gapXLarge-mobile);}.rcb-upgrade-section.svelte-1l4fjhq {display:flex;flex-direction:column;gap:var(--rc-spacing-gapSmall-mobile);}.rcb-upgrade-section-label.svelte-1l4fjhq {color:var(--rc-color-grey-text-light);}.rcb-upgrade-actions.svelte-1l4fjhq {display:flex;flex-direction:column;}
421
-
422
- @container layout-query-container (width >= 768px) {.rcb-upgrade-checkout.svelte-1l4fjhq {gap:var(--rc-spacing-gapXXLarge-desktop);}.rcb-upgrade-details.svelte-1l4fjhq {gap:var(--rc-spacing-gapXLarge-desktop);}
423
- }`};function BE(r,e){he(e,!0),we(r,jE);let t=te(!0),n=te(!1),a=te(null),i=te(null);const s=m(()=>{var p;return((p=e.brandingInfo)==null?void 0:p.appearance)??void 0}),c=yr(new kn);mr(hr,c),br(async()=>{try{F(a,await e.productChangeOperationHelper.start(e.newProductId,e.subscriptionId,e.productIdentifier,e.subscriberToken),!0)}catch(p){const f=p instanceof fe?p:new fe(ye.ErrorSettingUpPurchase,"Failed to load upgrade checkout.",p instanceof Error?p.message:String(p));F(i,f.message,!0),e.onError(f)}finally{F(t,!1)}});async function l(){if(!(!o(a)||o(n))){F(n,!0),F(i,null);try{const p=await e.productChangeOperationHelper.confirm(e.subscriberToken);e.onFinished(p)}catch(p){const f=p instanceof fe?p:new fe(ye.ErrorChargingPayment,"Failed to confirm product change.",p instanceof Error?p.message:String(p));F(i,f.message,!0),e.onError(f)}finally{F(n,!1)}}}const u=m(()=>{var p;return((p=o(a))==null?void 0:p.change_type)==="deferred"?"Confirm schedule":"Pay now"}),d=m(()=>{var g;const p=(g=o(a))==null?void 0:g.payment_method;if(!p)return null;const f=p.brand??p.type;return p.last_4?`${f} •••• ${p.last_4}`:f}),_=m(()=>{var f;const p=(f=o(a))==null?void 0:f.billing_address;return p?[p.postal_code,p.country_code].filter(Boolean).join(", ")||"On file":null});fc(r,{get brandingInfo(){return e.brandingInfo},get isInElement(){return e.isInElement},get isSandbox(){return e.isSandbox},get onClose(){return e.onClose},navbarHeaderContent:b=>{{let y=m(()=>!e.isInElement);N_(b,{get brandingInfo(){return e.brandingInfo},get showCloseButton(){return o(y)},get onClose(){return e.onClose}})}},navbarBodyContent:b=>{var y=Se(),h=se(y);{var k=x=>{zE(x,{get startData(){return o(a)}})};W(h,x=>{o(a)&&x(k)})}P(b,y)},mainContent:b=>{var y=NE(),h=D(y);{var k=v=>{Ce(v,{size:"body-base",children:(w,E)=>{var I=Te("Loading upgrade checkout…");P(w,I)},$$slots:{default:!0}})},x=v=>{var w=Se(),E=se(w);{var I=S=>{var A=LE(),C=se(A),N=D(C),q=D(N),j=D(q);Ce(j,{size:"body-small",children:(Q,ie)=>{var V=Te("Email");P(Q,V)},$$slots:{default:!0}});var Z=U(q,2);Ce(Z,{size:"body-base",children:(Q,ie)=>{var V=Te();Y(()=>_e(V,o(a).email)),P(Q,V)},$$slots:{default:!0}});var O=U(N,2);{var z=Q=>{var ie=ME(),V=D(ie),X=D(V);Ce(X,{size:"body-small",children:(oe,$)=>{var ue=Te("Payment method");P(oe,ue)},$$slots:{default:!0}});var B=U(V,2);Ce(B,{size:"body-base",children:(oe,$)=>{var ue=Te();Y(()=>_e(ue,o(d))),P(oe,ue)},$$slots:{default:!0}}),P(Q,ie)};W(O,Q=>{o(d)&&Q(z)})}var M=U(O,2);{var H=Q=>{var ie=qE(),V=D(ie),X=D(V);Ce(X,{size:"body-small",children:(oe,$)=>{var ue=Te("Billing address");P(oe,ue)},$$slots:{default:!0}});var B=U(V,2);Ce(B,{size:"body-base",children:(oe,$)=>{var ue=Te();Y(()=>_e(ue,o(_))),P(oe,ue)},$$slots:{default:!0}}),P(Q,ie)};W(M,Q=>{o(_)&&Q(H)})}var L=U(M,2);{var K=Q=>{var ie=OE(),V=D(ie);Ce(V,{size:"body-small",children:(X,B)=>{var oe=Te(`This change will take effect at the end of your current billing
424
- period. You will not be charged now.`);P(X,oe)},$$slots:{default:!0}}),P(Q,ie)};W(L,Q=>{o(a).change_type==="deferred"&&Q(K)})}var re=U(C,2);{var le=Q=>{Ce(Q,{size:"body-base",children:(ie,V)=>{var X=Te();Y(()=>_e(X,o(i))),P(ie,X)},$$slots:{default:!0}})};W(re,Q=>{o(i)&&Q(le)})}var ne=U(re,2),ce=D(ne);nc(ce,{get disabled(){return o(n)},onclick:l,get brandingAppearance(){return o(s)},children:(Q,ie)=>{var V=Te();Y(()=>_e(V,o(n)?"Confirming…":o(u))),P(Q,V)},$$slots:{default:!0}}),P(S,A)},T=S=>{var A=Se(),C=se(A);{var N=q=>{Ce(q,{size:"body-base",children:(j,Z)=>{var O=Te();Y(()=>_e(O,o(i))),P(j,O)},$$slots:{default:!0}})};W(C,q=>{o(i)&&q(N)},!0)}P(S,A)};W(E,S=>{o(a)?S(I):S(T,!1)},!0)}P(v,w)};W(h,v=>{o(t)?v(k):v(x,!1)})}P(b,y)},$$slots:{navbarHeaderContent:!0,navbarBodyContent:!0,mainContent:!0}}),ve()}function X_(r){return r==null?!0:new Date(r)>new Date}function RE(r,e,t,n){const a=e.product_identifier;if(a in t)return UE(r,e,t[a]);if(a in n)return VE(r,e,n[a]);throw new Xe(Me.CustomerInfoError,"Could not find entitlement product in subscriptions or non-subscriptions.")}function UE(r,e,t){return{identifier:r,isActive:X_(e.expires_date),willRenew:Z_(e.expires_date,t),store:(t==null?void 0:t.store)??"unknown",latestPurchaseDate:new Date(e.purchase_date),originalPurchaseDate:new Date(e.purchase_date),expirationDate:Lt(e.expires_date),productIdentifier:e.product_identifier,productPlanIdentifier:e.product_plan_identifier??null,unsubscribeDetectedAt:Lt(t==null?void 0:t.unsubscribe_detected_at),billingIssueDetectedAt:Lt(t==null?void 0:t.billing_issues_detected_at),isSandbox:(t==null?void 0:t.is_sandbox)??!1,periodType:(t==null?void 0:t.period_type)??"normal",ownershipType:(t==null?void 0:t.ownership_type)??"UNKNOWN"}}function VE(r,e,t){return{identifier:r,isActive:!0,willRenew:!1,store:t.store,latestPurchaseDate:new Date(e.purchase_date),originalPurchaseDate:new Date(t.original_purchase_date),expirationDate:null,productIdentifier:e.product_identifier,productPlanIdentifier:null,unsubscribeDetectedAt:null,billingIssueDetectedAt:null,isSandbox:t.is_sandbox,periodType:"normal",ownershipType:"UNKNOWN"}}function HE(r,e,t){const n={},a={};for(const i in r){const s=RE(i,r[i],e,t);n[i]=s,s.isActive&&(a[i]=s)}return{all:n,active:a}}function Lt(r){return r==null?null:new Date(r)}function WE(r){if(!r)return null;const e=r.amount*1e6;return{amount:r.amount*100,amountMicros:e,currency:r.currency,formattedPrice:bn(e,r.currency)}}function bc(r){const e=GE(r),t=r.subscriber,n=XE(t.non_subscriptions),a=Object.entries(r.subscriber.non_subscriptions).flatMap(([c,l])=>l.map(u=>({transactionIdentifier:u.id,productIdentifier:c,purchaseDate:new Date(u.purchase_date||u.original_purchase_date),storeTransactionId:u.store_transaction_id||null,store:u.store}))),i=new Date(r.request_date),s=Object.fromEntries(Object.entries(r.subscriber.subscriptions).map(([c,l])=>[c,{productIdentifier:c,productPlanIdentifier:l.product_plan_identifier??null,purchaseDate:new Date(l.purchase_date),originalPurchaseDate:Lt(l.original_purchase_date),expiresDate:Lt(l.expires_date),store:l.store,unsubscribeDetectedAt:Lt(l.unsubscribe_detected_at),isSandbox:l.is_sandbox,billingIssuesDetectedAt:Lt(l.billing_issues_detected_at),gracePeriodExpiresDate:Lt(l.grace_period_expires_date),ownershipType:l.ownership_type??"UNKNOWN",periodType:l.period_type,refundedAt:Lt(l.refunded_at),storeTransactionId:l.store_transaction_id||null,managementURL:l.management_url??null,isActive:X_(l.expires_date),willRenew:Z_(l.expires_date,l),displayName:l.display_name??null,autoResumeDate:Lt(l.auto_resume_date),price:WE(l.price)}]));return{entitlements:HE(t.entitlements,t.subscriptions,n),allExpirationDatesByProduct:e,allPurchaseDatesByProduct:YE(r,n),activeSubscriptions:KE(e),managementURL:t.management_url,requestDate:i,firstSeenDate:new Date(t.first_seen),originalPurchaseDate:Lt(t.original_purchase_date),originalAppUserId:r.subscriber.original_app_user_id,nonSubscriptionTransactions:a,subscriptionsByProductIdentifier:s}}function Z_(r,e){if(e==null)return!1;const t=e.store=="promotional",n=r==null,a=e.unsubscribe_detected_at!=null,i=e.billing_issues_detected_at!=null;return!(t||n||a||i)}function YE(r,e){const t={};for(const n in r.subscriber.subscriptions){const a=r.subscriber.subscriptions[n];t[n]=new Date(a.purchase_date)}for(const n in e){const a=e[n].purchase_date;a==null?t[n]=null:t[n]=new Date(a)}return t}function GE(r){const e={};for(const t in r.subscriber.subscriptions){const n=r.subscriber.subscriptions[t];n.expires_date==null?e[t]=null:e[t]=new Date(n.expires_date)}return e}function KE(r){const e=new Set,t=new Date;for(const n in r){const a=r[n];(a==null||a>t)&&e.add(n)}return e}function XE(r){const e={};for(const t in r){if(r[t].length===0)continue;const n=r[t].length;e[t]=r[t][n-1]}return e}const J_="1.51.2",ZE="https://api.revenuecat.com",JE="https://e.revenue.cat";var us;(function(r){r[r.CONTINUE=100]="CONTINUE",r[r.SWITCHING_PROTOCOLS=101]="SWITCHING_PROTOCOLS",r[r.PROCESSING=102]="PROCESSING",r[r.EARLY_HINTS=103]="EARLY_HINTS",r[r.OK=200]="OK",r[r.CREATED=201]="CREATED",r[r.ACCEPTED=202]="ACCEPTED",r[r.NON_AUTHORITATIVE_INFORMATION=203]="NON_AUTHORITATIVE_INFORMATION",r[r.NO_CONTENT=204]="NO_CONTENT",r[r.RESET_CONTENT=205]="RESET_CONTENT",r[r.PARTIAL_CONTENT=206]="PARTIAL_CONTENT",r[r.MULTI_STATUS=207]="MULTI_STATUS",r[r.MULTIPLE_CHOICES=300]="MULTIPLE_CHOICES",r[r.MOVED_PERMANENTLY=301]="MOVED_PERMANENTLY",r[r.MOVED_TEMPORARILY=302]="MOVED_TEMPORARILY",r[r.SEE_OTHER=303]="SEE_OTHER",r[r.NOT_MODIFIED=304]="NOT_MODIFIED",r[r.USE_PROXY=305]="USE_PROXY",r[r.TEMPORARY_REDIRECT=307]="TEMPORARY_REDIRECT",r[r.PERMANENT_REDIRECT=308]="PERMANENT_REDIRECT",r[r.BAD_REQUEST=400]="BAD_REQUEST",r[r.UNAUTHORIZED=401]="UNAUTHORIZED",r[r.PAYMENT_REQUIRED=402]="PAYMENT_REQUIRED",r[r.FORBIDDEN=403]="FORBIDDEN",r[r.NOT_FOUND=404]="NOT_FOUND",r[r.METHOD_NOT_ALLOWED=405]="METHOD_NOT_ALLOWED",r[r.NOT_ACCEPTABLE=406]="NOT_ACCEPTABLE",r[r.PROXY_AUTHENTICATION_REQUIRED=407]="PROXY_AUTHENTICATION_REQUIRED",r[r.REQUEST_TIMEOUT=408]="REQUEST_TIMEOUT",r[r.CONFLICT=409]="CONFLICT",r[r.GONE=410]="GONE",r[r.LENGTH_REQUIRED=411]="LENGTH_REQUIRED",r[r.PRECONDITION_FAILED=412]="PRECONDITION_FAILED",r[r.REQUEST_TOO_LONG=413]="REQUEST_TOO_LONG",r[r.REQUEST_URI_TOO_LONG=414]="REQUEST_URI_TOO_LONG",r[r.UNSUPPORTED_MEDIA_TYPE=415]="UNSUPPORTED_MEDIA_TYPE",r[r.REQUESTED_RANGE_NOT_SATISFIABLE=416]="REQUESTED_RANGE_NOT_SATISFIABLE",r[r.EXPECTATION_FAILED=417]="EXPECTATION_FAILED",r[r.IM_A_TEAPOT=418]="IM_A_TEAPOT",r[r.INSUFFICIENT_SPACE_ON_RESOURCE=419]="INSUFFICIENT_SPACE_ON_RESOURCE",r[r.METHOD_FAILURE=420]="METHOD_FAILURE",r[r.MISDIRECTED_REQUEST=421]="MISDIRECTED_REQUEST",r[r.UNPROCESSABLE_ENTITY=422]="UNPROCESSABLE_ENTITY",r[r.LOCKED=423]="LOCKED",r[r.FAILED_DEPENDENCY=424]="FAILED_DEPENDENCY",r[r.UPGRADE_REQUIRED=426]="UPGRADE_REQUIRED",r[r.PRECONDITION_REQUIRED=428]="PRECONDITION_REQUIRED",r[r.TOO_MANY_REQUESTS=429]="TOO_MANY_REQUESTS",r[r.REQUEST_HEADER_FIELDS_TOO_LARGE=431]="REQUEST_HEADER_FIELDS_TOO_LARGE",r[r.UNAVAILABLE_FOR_LEGAL_REASONS=451]="UNAVAILABLE_FOR_LEGAL_REASONS",r[r.INTERNAL_SERVER_ERROR=500]="INTERNAL_SERVER_ERROR",r[r.NOT_IMPLEMENTED=501]="NOT_IMPLEMENTED",r[r.BAD_GATEWAY=502]="BAD_GATEWAY",r[r.SERVICE_UNAVAILABLE=503]="SERVICE_UNAVAILABLE",r[r.GATEWAY_TIMEOUT=504]="GATEWAY_TIMEOUT",r[r.HTTP_VERSION_NOT_SUPPORTED=505]="HTTP_VERSION_NOT_SUPPORTED",r[r.INSUFFICIENT_STORAGE=507]="INSUFFICIENT_STORAGE",r[r.NETWORK_AUTHENTICATION_REQUIRED=511]="NETWORK_AUTHENTICATION_REQUIRED"})(us||(us={}));const QE=/^rcb_[a-zA-Z0-9_.-]+$/,$E=/^pdl_[a-zA-Z0-9_.-]+$/,eS=/^test_[a-zA-Z0-9_.-]+$/,rS=/^strp_[a-zA-Z0-9_.-]+$/;function ds(r){return r?r.startsWith("rcb_sb_"):!1}function ps(r){return r?QE.test(r):!1}function kc(r){return r?$E.test(r):!1}function wc(r){return r?rS.test(r):!1}function Gn(r){return r?eS.test(r):!1}async function Kr(r,e,t){return(await Q_(r,e,t)).data}async function Q_(r,e,t){const{apiKey:n,body:a,headers:i,httpConfig:s}=e,l=`${(s==null?void 0:s.proxyURL)??ZE}${r.urlPath()}`;try{const u=await fetch(l,{method:r.method,headers:sg(n,i,s==null?void 0:s.additionalHeaders),body:nS(a),signal:t});await tS(u,r);const d=u.status;return{data:await u.json(),statusCode:d}}catch(u){throw u instanceof TypeError?new Xe(Me.NetworkError,Ua.getPublicMessage(Me.NetworkError),u.message):u}}async function tS(r,e){const t=r.status;if(t>=us.INTERNAL_SERVER_ERROR)Pc(e,t,await r.text());else if(t>=us.BAD_REQUEST){const n=await r.json(),a=n?JSON.stringify(n):null,i=n==null?void 0:n.code,s=n==null?void 0:n.message;if(i!=null){const c=Ua.convertCodeToBackendErrorCode(i);if(c==null)Pc(e,t,a,i);else throw Xe.getForBackendError(c,s)}else Pc(e,t,a)}}function Pc(r,e,t,n){throw new Xe(Me.UnknownBackendError,"Unknown backend error.",`Request: ${r.name}. Status code: ${e}. Body: ${t}.`,{backendErrorCode:n})}function nS(r){return r==null?null:JSON.stringify(r)}const $_="Authorization",eg="Content-Type",rg="Accept",tg="X-Platform",ng="X-Version",ag="X-Platform-Flavor",og="X-Platform-Flavor-Version",ig="X-Is-Sandbox",aS=new Set([$_,eg,rg,tg,ng,ig,ag,og]);function sg(r,e,t){let n={[$_]:`Bearer ${r}`,[eg]:"application/json",[rg]:"application/json",[tg]:"web",[ng]:J_,[ig]:`${ds(r)}`};const a=ms.getPlatformInfo();if(a){const i={[ag]:a.flavor,[og]:a.version};n={...n,...i}}return e&&(n={...n,...e}),t&&(n={...t,...n}),n}const ya="/v1/subscribers",wn="/rcbilling/v1";class oS{constructor(e){ee(this,"appUserId");ee(this,"method","GET");ee(this,"name","getOfferings");this.appUserId=e}urlPath(){const e=encodeURIComponent(this.appUserId);return`${ya}/${e}/offerings`}}class lg{constructor(e,t,n,a){ee(this,"method","GET");ee(this,"name","getProducts");ee(this,"appUserId");ee(this,"productIds");ee(this,"currency");ee(this,"discountCode");this.appUserId=e,this.productIds=t,this.currency=n,this.discountCode=a}urlPath(){const e=encodeURIComponent(this.appUserId),t=this.productIds.map(encodeURIComponent).join("&id="),n=this.currency?`&currency=${this.currency}`:"",a=this.discountCode?`&discount_code=${encodeURIComponent(this.discountCode)}`:"";return`${wn}/subscribers/${e}/products?id=${t}${n}${a}`}}class iS{constructor(e){ee(this,"method","GET");ee(this,"name","getCustomerInfo");ee(this,"appUserId");this.appUserId=e}urlPath(){const e=encodeURIComponent(this.appUserId);return`${ya}/${e}`}}class sS{constructor(){ee(this,"method","POST");ee(this,"name","identify")}urlPath(){return`${ya}/identify`}}class lS{constructor(){ee(this,"method","GET");ee(this,"name","getBrandingInfo")}urlPath(){return`${wn}/branding`}}class cS{constructor(){ee(this,"method","POST");ee(this,"name","postCheckoutPrepare")}urlPath(){return`${wn}/checkout/prepare`}}class uS{constructor(){ee(this,"method","POST");ee(this,"name","postCheckoutStart")}urlPath(){return`${wn}/checkout/start`}}class dS{constructor(e){ee(this,"method","PATCH");ee(this,"name","patchCheckoutRefreshPricing");ee(this,"operationSessionId");this.operationSessionId=e}urlPath(){return`${wn}/checkout/${this.operationSessionId}`}}class pS{constructor(e){ee(this,"method","POST");ee(this,"name","postCheckoutComplete");ee(this,"operationSessionId");this.operationSessionId=e}urlPath(){return`${wn}/checkout/${this.operationSessionId}/complete`}}class _S{constructor(e){ee(this,"method","GET");ee(this,"name","getCheckoutStatus");ee(this,"operationSessionId");this.operationSessionId=e}urlPath(){return`${wn}/checkout/${this.operationSessionId}`}}class gS{constructor(){ee(this,"method","POST");ee(this,"name","postSubscriptionChangeCheckoutStart")}urlPath(){return`${wn}/subscription/change/checkout/start`}}class fS{constructor(e){ee(this,"method","POST");ee(this,"name","postSubscriptionChangeCheckoutConfirm");ee(this,"operationSessionId");this.operationSessionId=e}urlPath(){return`${wn}/subscription/change/checkout/${this.operationSessionId}/confirm`}}class mS{constructor(e){ee(this,"method","POST");ee(this,"name","setAttributes");ee(this,"appUserId");this.appUserId=e}urlPath(){const e=encodeURIComponent(this.appUserId);return`${ya}/${e}/attributes`}}class hS{constructor(){ee(this,"method","POST");ee(this,"name","postReceipt")}urlPath(){return"/v1/receipts"}}class vS{constructor(e){ee(this,"method","GET");ee(this,"name","getVirtualCurrencies");ee(this,"appUserId");this.appUserId=e}urlPath(){const e=encodeURIComponent(this.appUserId);return`${ya}/${e}/virtual_currencies`}}class yS{constructor(e){ee(this,"method","GET");ee(this,"name","getWorkflows");ee(this,"appUserId");this.appUserId=e}urlPath(){return`${ya}/${encodeURIComponent(this.appUserId)}/workflows?type=paywall`}}class bS{constructor(e,t){ee(this,"method","GET");ee(this,"name","getWorkflowData");ee(this,"appUserId");ee(this,"workflowId");this.appUserId=e,this.workflowId=t}urlPath(){return`${ya}/${encodeURIComponent(this.appUserId)}/workflows/${encodeURIComponent(this.workflowId)}`}}const xc={},kS=2e3;class wS{constructor(e,t=xc,n){ee(this,"API_KEY");ee(this,"httpConfig");ee(this,"isSandbox");ee(this,"purchasesContext");this.API_KEY=e,this.httpConfig=t,this.isSandbox=ds(e),this.purchasesContext=n}getIsSandbox(){return this.isSandbox}async getOfferings(e){return await Kr(new oS(e),{apiKey:this.API_KEY,httpConfig:this.httpConfig})}async getCustomerInfo(e){return await Kr(new iS(e),{apiKey:this.API_KEY,httpConfig:this.httpConfig})}async identify(e,t){const n={app_user_id:e,new_app_user_id:t},a=await Q_(new sS,{apiKey:this.API_KEY,body:n,httpConfig:this.httpConfig}),i=a.statusCode===201;return{...a.data,was_created:i}}async getProducts(e,t,n,a){const i=Array.from(new Set(t)),s=this.batchProductIdsByUrlLength(e,i,n,a),c=[];for(const l of s){const u=await Kr(new lg(e,l,n,a),{apiKey:this.API_KEY,httpConfig:this.httpConfig});c.push(...u.product_details)}return{product_details:c}}batchProductIdsByUrlLength(e,t,n,a){const i=[];let s=[];for(const c of t){const l=[...s,c],u=new lg(e,l,n,a).urlPath().length;s.length>0&&u>kS?(i.push(s),s=[c]):s=l}return s.length>0&&i.push(s),i}async getBrandingInfo(){return await Kr(new lS,{apiKey:this.API_KEY,httpConfig:this.httpConfig})}async postCheckoutPrepare(e,t){const n={product_id:e,price_id:t.priceId};return t.id!=="base_option"&&(n.offer_id=t.id),await Kr(new cS,{apiKey:this.API_KEY,body:n,httpConfig:this.httpConfig})}async postCheckoutStart({appUserId:e,productId:t,purchaseOption:n,presentedOfferingContext:a,traceId:i,presentedStepId:s,urlParameters:c,paywallId:l,paywallSessionId:u,customerEmail:d,metadata:_,locale:p,attributionMetadata:f}){var b,y;const g={app_user_id:e,product_id:t,email:d,price_id:n.priceId,presented_offering_identifier:a.offeringIdentifier,trace_id:i};return _&&(g.metadata=_),n.id!=="base_option"&&(g.offer_id=n.id),a.targetingContext&&(g.applied_targeting_rule={rule_id:a.targetingContext.ruleId,revision:a.targetingContext.revision}),a.placementIdentifier&&(g.presented_placement_identifier=a.placementIdentifier),(y=(b=this.purchasesContext)==null?void 0:b.workflowContext)!=null&&y.workflowIdentifier&&(g.presented_workflow_id=this.purchasesContext.workflowContext.workflowIdentifier),s&&(g.presented_step_id=s),c&&Object.keys(c).length>0&&(g.url_parameters=c),l&&(g.paywall={paywall_id:l,...u?{paywall_session_id:u}:{}}),p&&(g.locale=p),f&&(g.attribution_metadata=f),await Kr(new uS,{apiKey:this.API_KEY,body:g,httpConfig:this.httpConfig})}async patchCheckoutRefreshPricing(e,{countryCode:t,postalCode:n,state:a,city:i,addressLine1:s,addressLine2:c,discountCode:l,signal:u}={}){const d={country_code:t,postal_code:n,state:a,city:i,address_line1:s,address_line2:c,discount_code:l};return await Kr(new dS(e),{apiKey:this.API_KEY,body:d,httpConfig:this.httpConfig},u)}async postCheckoutComplete(e,t,n){const a={email:t};return n&&(a.locale=n),await Kr(new pS(e),{apiKey:this.API_KEY,body:a,httpConfig:this.httpConfig})}async getCheckoutStatus(e){return await Kr(new _S(e),{apiKey:this.API_KEY,httpConfig:this.httpConfig})}async postSubscriptionChangeCheckoutStart(e,t,n,a){const i={new_product_id:e};return t&&(i.subscription_id=t),n&&(i.from_product_id=n),await Kr(new gS,{apiKey:this.API_KEY,body:i,headers:{Authorization:`Bearer ${a}`},httpConfig:this.httpConfig})}async postSubscriptionChangeCheckoutConfirm(e,t){return await Kr(new fS(e),{apiKey:this.API_KEY,headers:{Authorization:`Bearer ${t}`},httpConfig:this.httpConfig})}async setAttributes(e,t){const n=Date.now(),a={};for(const[s,c]of Object.entries(t))a[s]={value:c,updated_at_ms:n};const i={attributes:a};return await Kr(new mS(e),{apiKey:this.API_KEY,body:i,httpConfig:this.httpConfig})}async postReceipt(e,t,n,a,i,s,c){var d,_;let l=null;i.targetingContext&&(l={rule_id:i.targetingContext.ruleId,revision:i.targetingContext.revision});const u={fetch_token:a,product_id:t,currency:n,app_user_id:e,presented_offering_identifier:i.offeringIdentifier,presented_placement_identifier:i.placementIdentifier,presented_workflow_id:(_=(d=this.purchasesContext)==null?void 0:d.workflowContext)==null?void 0:_.workflowIdentifier,applied_targeting_rule:l,initiation_source:s};return c&&(u.paywall={paywall_id:c}),await Kr(new hS,{apiKey:this.API_KEY,body:u,httpConfig:this.httpConfig})}async getVirtualCurrencies(e){return await Kr(new vS(e),{apiKey:this.API_KEY,httpConfig:this.httpConfig})}async getWorkflows(e){return await Kr(new yS(e),{apiKey:this.API_KEY,httpConfig:this.httpConfig})}async getWorkflowById(e,t){const n=await Kr(new bS(e,t),{apiKey:this.API_KEY,httpConfig:this.httpConfig});if(!("action"in n))return n;if(n.action==="inline")return n.data;if(n.action!=="use_cdn")throw new Error(`Unexpected workflow action: ${n.action}`);const a=await fetch(n.url);if(!a.ok)throw new Error(`Failed to fetch workflow from CDN: ${a.statusText}`);return await a.json()}}function PS(r){if(!(ps(r)||Gn(r)||kc(r)||wc(r)))throw new Xe(Me.InvalidCredentialsError,"Invalid API key. Use your Web Billing API key.")}function Ec(r){if(!r||new Set(["no_user","null","none","nil","(null)","NaN","\\x00","","unidentified","undefined","unknown"]).has(r)||r.includes("/"))throw new Xe(Me.InvalidAppUserIdError,'Provided user id: "'+(r??"[Not provided]")+'" is not valid. See https://www.revenuecat.com/docs/customers/user-ids#tips-for-setting-app-user-ids for more information.')}function xS(r){if(r!=null&&r.endsWith("/"))throw new Xe(Me.ConfigurationError,"Invalid proxy URL. The proxy URL should not end with a trailing slash.")}function ES(r){if(r){for(const e in r)if(aS.has(e))throw new Xe(Me.ConfigurationError,"Invalid additional headers. Some headers are reserved for internal use.")}}var Sc=(r=>(r.Current="current",r))(Sc||{});function cg(r,e){async function t(...n){return await this.preload(),await r.call(this,...n)}return t}const ug=(r,e)=>{const t={...r.webBillingProduct,presentedOfferingContext:{...r.webBillingProduct.presentedOfferingContext,placementIdentifier:e}};return{...r,webBillingProduct:t,rcBillingProduct:t}},ba=(r,e)=>r==null?null:ug(r,e),SS=(r,e,t)=>{const n=r.offering_ids_by_placement??{},a=r.fallback_offering_id;let i;if(t in n){const c=n[t]??null;c&&(i=e[c])}if(!i&&a&&a in e&&(i=e[a]),!i)return null;const s=Object.fromEntries(Object.entries(i.packagesById).map(([c,l])=>[c,ug(l,t)]));return{...i,packagesById:s,availablePackages:Object.values(s),weekly:ba(i.weekly,t),monthly:ba(i.monthly,t),twoMonth:ba(i.twoMonth,t),threeMonth:ba(i.threeMonth,t),sixMonth:ba(i.sixMonth,t),annual:ba(i.annual,t),lifetime:ba(i.lifetime,t)}};function IS(r,e){const t={};e.product_details.forEach(i=>{t[i.identifier]=i});const n={};r.offerings.forEach(i=>{const s=i.identifier===r.current_offering_id,c=bh(s,i,t,r.targeting,r.ui_config);c!=null&&(n[i.identifier]=c)});const a=r.current_offering_id?n[r.current_offering_id]??null:null;return Object.keys(n).length==0&&Pe.debugLog("Empty offerings. Please make sure you've configured offerings correctly in the RevenueCat dashboard and that the products are properly configured."),{all:n,current:a}}const CS=1000001;function _s(r,e,t){return t.formatPrice(Ti(r,e),e)}function dg(r,e,t){if(e===null){const a=t.formatPrice(r.amountMicros,r.currency);return{pricePerDay:a,pricePerWeek:a,pricePerMonth:a,pricePerYear:a}}const n=ul(e);return{pricePerDay:_s(r.amountMicros*n.perDay,r.currency,t),pricePerWeek:_s(r.amountMicros*n.perWeek,r.currency,t),pricePerMonth:_s(r.amountMicros*n.perMonth,r.currency,t),pricePerYear:_s(r.amountMicros*n.perYear,r.currency,t)}}function TS(r){return r.cycleCount>0?r.cycleCount:1}function DS(r){return"durationMode"in r&&r.durationMode==="forever"}function AS(r){return"durationMode"in r&&r.durationMode==="time_window"}function FS(r,e){return AS(e)?r.base.period:e.period}function zS(r){return r.period===null||DS(r)?null:{number:r.period.number*TS(r),unit:r.period.unit}}function MS(r,e){const t=Ao(new Date,r,!0);return t?e.translateDate(t,{dateStyle:"long"})??"":""}function qS(r,e,t){const n=r.discount??r.trial??r.introPrice,a=r.trial&&!r.discount?r.introPrice:null;if(n===null)return;const i=zS(n),s=FS(r,n),{price:c}=n;if(c!==null){const l=dg(c,s,e);t["product.offer_price"]=e.formatPrice(c.amountMicros,c.currency),t["product.offer_price_per_day"]=l.pricePerDay,t["product.offer_price_per_week"]=l.pricePerWeek,t["product.offer_price_per_month"]=l.pricePerMonth,t["product.offer_price_per_year"]=l.pricePerYear}if(i!==null){const l=oc(i,e);t["product.offer_period"]=l.period,t["product.offer_period_abbreviated"]=l.periodAbbreviated,t["product.offer_period_with_unit"]=l.periodWithUnit,t["product.offer_period_in_days"]=l.periodInDays,t["product.offer_period_in_weeks"]=l.periodInWeeks,t["product.offer_period_in_months"]=l.periodInMonths,t["product.offer_period_in_years"]=l.periodInYears,t["product.offer_end_date"]=MS(i,e)}if(a!==null&&(a.price!==null&&(t["product.secondary_offer_price"]=e.formatPrice(a.price.amountMicros,a.price.currency)),a.period!==null)){const l=oc(a.period,e);t["product.secondary_offer_period"]=l.period,t["product.secondary_offer_period_abbreviated"]=l.periodAbbreviated}}function OS(r,e,t){var a;const n=((a=r.discount)==null?void 0:a.price)??null;n!==null&&(t["product.offer_price"]=e.formatPrice(n.amountMicros,n.currency))}function pg(r,e={}){var a;if(e.translator)return fg(r,e.translator);const t=((a=r.paywallComponents)==null?void 0:a.default_locale)||Hr,n=new kn(e.customTranslations??{},e.selectedLocale??t,e.fallbackLocale??t);return fg(r,n)}function gs(r){var a;const e=r.webBillingProduct.price,t=_g(r),n=r.webBillingProduct.period||((a=t==null?void 0:t.base)==null?void 0:a.period);return!n||!n.number||n.number<=0?e.amountMicros:e.amountMicros*ul(n).perMonth}function _g(r){return r.webBillingProduct.productType===Wr.Subscription?r.webBillingProduct.defaultSubscriptionOption:r.webBillingProduct.productType===Wr.NonConsumable||r.webBillingProduct.productType===Wr.Consumable?r.webBillingProduct.defaultNonSubscriptionOption:r.webBillingProduct.defaultPurchaseOption}function LS(r,e){return r===Wr.Subscription&&e!=null}function NS(r,e){return r!==Wr.Subscription&&e!=null}function gg(r,e,t,n=!1){return t.translate(de.PaywallVariablesPricePerPeriod,{formattedPrice:r,period:e.base.period?e.base.period.number===1?t.translatePeriodUnit(e.base.period.unit,{noWhitespace:!0,short:!n}):t.translatePeriod(e.base.period.number,e.base.period.unit,{noWhitespace:!0,short:!n}):""})}function fg(r,e){const t=r.availablePackages,n=t.filter(i=>i.webBillingProduct.productType===Wr.Subscription),a=n.length>0?n.reduce((i,s)=>{const c=gs(i),l=gs(s);return c>l?i:s}):null;return t.reduce((i,s)=>(i[s.identifier]=jS(s,a,e),i),{})}function jS(r,e,t){const n=r.webBillingProduct,a=n.price,i=t.formatPrice(a.amountMicros,a.currency),s=_g(r),c=n.productType,l={"product.store_product_name":n.title,"product.price":i,"product.price_per_period":"","product.price_per_period_abbreviated":"","product.price_per_day":"","product.price_per_week":"","product.price_per_month":"","product.price_per_year":"","product.period":"","product.period_abbreviated":"","product.periodly":"","product.period_in_days":"","product.period_in_weeks":"","product.period_in_months":"","product.period_in_years":"","product.period_with_unit":"","product.currency_code":a.currency,"product.currency_symbol":t.formatPrice(0,a.currency).replace("0",""),"product.offer_price":"","product.offer_price_per_day":"","product.offer_price_per_week":"","product.offer_price_per_month":"","product.offer_price_per_year":"","product.offer_period":"","product.offer_period_abbreviated":"","product.offer_period_in_days":"","product.offer_period_in_weeks":"","product.offer_period_in_months":"","product.offer_period_in_years":"","product.offer_period_with_unit":"","product.offer_end_date":"","product.secondary_offer_price":"","product.secondary_offer_period":"","product.secondary_offer_period_abbreviated":"","product.relative_discount":""};if(LS(c,s)){l["product.price_per_period_abbreviated"]=gg(i,s,t),l["product.price_per_period"]=gg(i,s,t,!0);const u=n.period||s.base.period,d=dg(a,u,t);if(l["product.price_per_day"]=d.pricePerDay,l["product.price_per_week"]=d.pricePerWeek,l["product.price_per_month"]=d.pricePerMonth,l["product.price_per_year"]=d.pricePerYear,u){const _=oc(u,t);l["product.period"]=_.period,l["product.period_abbreviated"]=_.periodAbbreviated,l["product.period_with_unit"]=_.periodWithUnit,l["product.period_in_days"]=_.periodInDays,l["product.period_in_weeks"]=_.periodInWeeks,l["product.period_in_months"]=_.periodInMonths,l["product.period_in_years"]=_.periodInYears,l["product.periodly"]=t.translatePeriodFrequency(u.number,u.unit)||""}if(e){const _=gs(r),p=gs(e),f=(p-_)*100/p;l["product.relative_discount"]=f<1?"":t.translate(de.PaywallVariablesSubRelativeDiscount,{discount:f.toFixed(0)})}qS(s,t,l)}return NS(c,s)&&(l["product.price"]=i,l["product.price_per_period"]=i,l["product.price_per_period_abbreviated"]=i,l["product.price_per_month"]=i,l["product.period_with_unit"]=t.translate(de.PeriodsLifetime),l["product.period_in_months"]=t.translate(de.PeriodsLifetime),l["product.periodly"]=t.translate(de.PeriodsLifetime),l["product.price_per_week"]="",l["product.relative_discount"]="",l["product.period"]="",l["product.period_abbreviated"]="",OS(s,t,l)),l}var BS=/(%?)(%([sdijo]))/g;function RS(r,e){switch(e){case"s":return r;case"d":case"i":return Number(r);case"j":return JSON.stringify(r);case"o":{if(typeof r=="string")return r;const t=JSON.stringify(r);return t==="{}"||t==="[]"||/^\[object .+?\]$/.test(t)?r:t}}}function Ic(r,...e){if(e.length===0)return r;let t=0,n=r.replace(BS,(a,i,s,c)=>{const l=e[t],u=RS(l,c);return i?a:(t++,u)});return t<e.length&&(n+=` ${e.slice(t).join(" ")}`),n=n.replace(/%{2,2}/g,"%"),n}var US=2;function VS(r){if(!r.stack)return;const e=r.stack.split(`
425
- `);e.splice(1,US),r.stack=e.join(`
426
- `)}var HS=class extends Error{constructor(r,...e){super(r),this.message=r,this.name="Invariant Violation",this.message=Ic(r,...e),VS(this)}},mg=(r,e,...t)=>{if(!r)throw new HS(e,...t)};mg.as=(r,e,t,...n)=>{if(!e){const a=n.length===0?t:Ic(t,...n);let i;try{i=Reflect.construct(r,[a])}catch{i=r(a)}throw i}};const WS="[MSW]";function Cc(r,...e){const t=Ic(r,...e);return`${WS} ${t}`}function YS(r,...e){console.warn(Cc(r,...e))}function GS(r,...e){console.error(Cc(r,...e))}const KS={formatMessage:Cc,warn:YS,error:GS};function XS(){mg(typeof URL<"u",KS.formatMessage(`Global "URL" class is not defined. This likely means that you're running MSW in an environment that doesn't support all Node.js standard API (e.g. React Native). If that's the case, please use an appropriate polyfill for the "URL" class, like "react-native-url-polyfill".`))}var hg=(r=>(r.HEAD="HEAD",r.GET="GET",r.POST="POST",r.PUT="PUT",r.PATCH="PATCH",r.OPTIONS="OPTIONS",r.DELETE="DELETE",r))(hg||{});XS();class ZS{constructor(e,t,n,a){ee(this,"initialDelay");ee(this,"maxDelay");ee(this,"jitterPercent");ee(this,"callback");ee(this,"currentDelay");ee(this,"timeoutId");ee(this,"executingCallback",!1);ee(this,"stopped",!1);ee(this,"currentFlushPromise",null);this.initialDelay=e,this.currentDelay=e,this.maxDelay=t,this.jitterPercent=n,this.callback=a}tryFlush(){if(!this.stopped){if(this.backingOff()){Pe.debugLog("Backing off, not flushing");return}this.clearTimeout(),this.executeCallbackWithRetries().catch(()=>{})}}start(){this.stopped=!1,this.currentDelay=this.initialDelay}stop(){this.stopped=!0,this.clearTimeout()}flushImmediately(e){return this.clearTimeout(),this.executeCallbackWithRetries(e)}async flushUntilDrain(e){const t=this.currentFlushPromise;if(t)try{await t}catch{}this.stop();try{let n=!1;for(;!n;)n=await this.flushImmediately(e)}finally{this.start()}}schedule(e){if(this.stopped||this.timeoutId!==void 0)return;const t=this.addJitter(e||this.currentDelay);this.timeoutId=setTimeout(()=>{this.timeoutId=void 0,this.executeCallbackWithRetries().catch(()=>{})},t)}backoff(){const e=this.currentDelay,t=Math.min(this.currentDelay*2,this.maxDelay);Pe.debugLog(`Backing next off to ${e}ms delay`),this.clearTimeout(),this.currentDelay=t,this.schedule(e)}reset(){this.currentDelay!==this.initialDelay&&(this.clearTimeout(),this.currentDelay=this.initialDelay)}async executeCallbackWithRetries(e){if(this.executingCallback)return Pe.debugLog("Callback already running, rescheduling"),this.schedule(),!0;this.executingCallback=!0;let t;try{t=Promise.resolve(this.callback(e))}catch(n){t=Promise.reject(n)}this.currentFlushPromise=t.then(()=>{},()=>{});try{const n=await t;return this.reset(),n}catch{return this.backoff(),!0}finally{this.executingCallback=!1,this.currentFlushPromise=null}}backingOff(){return this.currentDelay>this.initialDelay}clearTimeout(){clearTimeout(this.timeoutId),this.timeoutId=void 0}addJitter(e){const t=e*this.jitterPercent,n=e-t,a=e+t;return Math.floor(Math.random()*(a-n+1)+n)}}const JS=Object.entries({componentType:"component_type",componentName:"component_name",componentValue:"component_value",componentURL:"component_url",originIndex:"origin_index",destinationIndex:"destination_index",originContextName:"origin_context_name",destinationContextName:"destination_context_name",defaultIndex:"default_index",originPackageId:"origin_package_id",destinationPackageId:"destination_package_id",defaultPackageId:"default_package_id",originProductId:"origin_product_id",destinationProductId:"destination_product_id",defaultProductId:"default_product_id",currentPackageId:"current_package_id",resultingPackageId:"resulting_package_id",currentProductId:"current_product_id",resultingProductId:"resulting_product_id"}),vg=r=>r.displayMode===void 0?{}:{display_mode:r.displayMode,dark_mode:r.darkMode??!1,locale:r.locale??"en_US"},QS=r=>{const e={};for(const[t,n]of JS){const a=r[t];a!==void 0&&Object.assign(e,{[n]:a})}return e};function $S(r){return!r||!r.placementIdentifier&&!r.targetingContext?null:{...r.placementIdentifier?{placement_identifier:r.placementIdentifier}:{},...r.targetingContext?{targeting_revision:r.targetingContext.revision,targeting_rule_id:r.targetingContext.ruleId}:{}}}const eI=(r,e,t)=>{const n={version:1,id:e,app_user_id:r.appUserId,session_id:r.sessionId,offering_id:r.offeringId,paywall_revision:r.paywallRevision,timestamp:t,paywall_rc_public_id:r.paywallRcPublicId},a=$S(r.presentedOfferingContext);return a&&(n.presented_offering_context=a),n};class yg{constructor(e){ee(this,"id");ee(this,"timestamp");ee(this,"data");this.id=Hn(),this.timestamp=Date.now(),this.data=e}toJSON(){const e=eI(this.data,this.id,this.timestamp);switch(this.data.type){case"paywall_impression":return{type:this.data.type,...e,...vg(this.data)};case"paywall_close":case"paywall_cancel":return{type:this.data.type,...e};case"paywall_component_interacted":return{type:this.data.type,...e,...vg(this.data),...QS(this.data)}}}}function Pn(){if(typeof window<"u")return window;throw new Xe(Me.UnsupportedError,"window is not available. This SDK requires a browser environment for this operation.")}function Zo(){if(typeof window<"u")return window}function Tc(){if(typeof document<"u")return document;throw new Xe(Me.UnsupportedError,"document is not available. This SDK requires a browser environment for this operation.")}function Dc(){if(typeof document<"u")return document}function rI(r,e){const t=Zo(),n=t!=null&&t.location?new URLSearchParams(t.location.search):new URLSearchParams;let a=null,i=null;typeof screen<"u"&&screen&&(a=screen.width,i=screen.height);const s=Dc(),c=(s==null?void 0:s.referrer)??null,l=(s==null?void 0:s.title)??null;return{libraryName:"purchases-js",libraryVersion:J_,locale:navigator.language,userAgent:navigator.userAgent,timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone,screenWidth:a,screenHeight:i,utmSource:n.get("utm_source")??null,utmMedium:n.get("utm_medium")??null,utmCampaign:n.get("utm_campaign")??null,utmContent:n.get("utm_content")??null,utmTerm:n.get("utm_term")??null,pageReferrer:c,pageUrl:t!=null&&t.location?`${t.location.origin}${t.location.pathname}`:"",pageTitle:l,source:r,rcSource:e}}const tI=2e3,nI=5*6e4,aI=.1,bg=50*1024;class oI{constructor(e){ee(this,"apiKey");ee(this,"eventsQueue",[]);ee(this,"eventsUrl");ee(this,"flushManager");ee(this,"traceId");ee(this,"appUserId");ee(this,"isSilent");ee(this,"rcSource");ee(this,"workflowContext");ee(this,"isDisposed",!1);var t;this.apiKey=e.apiKey,this.eventsUrl=`${((t=e.httpConfig)==null?void 0:t.eventsURL)??JE}/v1/events`,this.appUserId=e.appUserId,this.isSilent=e.silent||!1,this.rcSource=e.rcSource,this.workflowContext=e.workflowContext,this.traceId=e.trace_id||Hn(),this.flushManager=new ZS(tI,nI,aI,this.doFlush.bind(this))}async updateUser(e){this.appUserId=e}getTraceId(){return this.traceId}trackSDKEvent(e){this.trackEvent({...e,source:"sdk"})}trackExternalEvent(e){this.trackEvent({...e})}trackPaywallEvent(e){if(this.isSilent){Pe.verboseLog("Skipping event tracking, the EventsTracker is silent");return}try{const t=new yg(e);Pe.debugLog(`[PaywallEvent] Queuing ${e.type} (queue size: ${this.eventsQueue.length+1}, url: ${this.eventsUrl})`),Pe.debugLog(`[PaywallEvent] Payload: ${JSON.stringify(t.toJSON())}`),this.eventsQueue.push(t),this.flushManager.tryFlush()}catch(t){Pe.errorLog(`Error while tracking paywall event ${e.type}: ${t}`)}}trackEvent(e){var t;if(this.isSilent){Pe.verboseLog("Skipping event tracking, the EventsTracker is silent");return}try{const n=new Jw({eventName:e.eventName,traceId:this.traceId,appUserId:this.appUserId,context:rI(e.source,this.rcSource),workflowIdentifier:(t=this.workflowContext)==null?void 0:t.workflowIdentifier,properties:e.properties||{mode:rt}});this.eventsQueue.push(n),this.flushManager.tryFlush()}catch(n){Pe.errorLog(`Error while tracking event ${e.eventName}: ${n}`)}}dispose(){this.isDisposed||(this.flushManager.stop(),this.eventsQueue.length>0&&this.flushManager.flushUntilDrain({ignoreDisposed:!0}).catch(e=>{Pe.debugLog(`Failed to flush events on dispose: ${e}`)}),this.isDisposed=!0)}async flushAllEvents(){this.isDisposed||(await this.flushManager.flushUntilDrain(),!this.isDisposed&&this.eventsQueue.length>0&&this.flushManager.schedule())}estimateSingleEventSize(e){try{return JSON.stringify(e).length}catch{return bg}}batchEventsForKeepalive(){const e=[];let t=16;for(const n of this.eventsQueue){const a=this.estimateSingleEventSize(n),i=e.length>0?1:0,s=t+a+i;if(s<=bg)e.push(n),t=s;else if(e.length===0){const c=n instanceof yg?n.data.type:n.data.eventName;return Pe.warnLog(`Event exceeds keepalive size limit (${a} bytes): ${c}`),this.eventsQueue.shift(),null}else break}return e}doFlush(e){if(!(e!=null&&e.ignoreDisposed)&&this.isDisposed||this.eventsQueue.length===0)return Promise.resolve(!0);const t=this.batchEventsForKeepalive();if(!t)return Promise.resolve(this.eventsQueue.length===0);const n=JSON.stringify({events:t});return Pe.debugLog(`[EventsTracker] Flushing ${t.length} event(s) to ${this.eventsUrl}`),Pe.debugLog(`[EventsTracker] Body: ${n}`),fetch(this.eventsUrl,{method:hg.POST,headers:sg(this.apiKey),body:n,keepalive:!0}).then(a=>{if(Pe.debugLog(`[EventsTracker] Flush response: ${a.status}`),a.status===200||a.status===201)return this.eventsQueue.splice(0,t.length),this.eventsQueue.length>0&&this.flushManager.schedule(),this.eventsQueue.length===0;throw Pe.debugLog("Events failed to flush due to server error"),new Error("Events failed to flush due to server error")}).catch(a=>{throw Pe.debugLog(`[EventsTracker] Flush error: ${a}`),a})}}const fs=()=>{const r=Zo(),e=r!=null&&r.location?new URLSearchParams(r.location.search):new URLSearchParams,t=["utm_source","utm_medium","utm_campaign","utm_term","utm_content"],n={};return t.forEach(a=>{const i=e.get(a);i!==null&&(n[a]=i)}),n},kg=["app","embedded"],Ac={autoCollectUTMAsMetadata:!0,collectAnalyticsEvents:!0,storeLoadTime:"configuration"};var iI=R('<p class="svelte-17914yi"><strong>Free Trial:</strong> </p>'),sI=R('<p class="svelte-17914yi"><strong>Intro Price:</strong> </p>'),lI=R('<p class="svelte-17914yi"><strong>Discount Price:</strong> </p>'),cI=R('<div class="rc-simulated-store-modal-overlay svelte-17914yi"><div class="rc-simulated-store-modal svelte-17914yi"><div class="rc-simulated-store-modal-content svelte-17914yi"><h2 class="rc-simulated-store-modal-title svelte-17914yi">Test Store Purchase</h2> <div class="rc-simulated-store-modal-details svelte-17914yi"><div><p class="svelte-17914yi"><strong>Product:</strong> </p> <p class="svelte-17914yi"><strong>Type:</strong> </p> <p class="svelte-17914yi"><strong>Price:</strong> </p> <!> <!> <!></div></div> <div class="rc-simulated-store-modal-buttons svelte-17914yi"><button type="button" class="rc-simulated-store-modal-button rc-simulated-store-modal-button-primary svelte-17914yi">Test valid purchase</button> <button type="button" class="rc-simulated-store-modal-button rc-simulated-store-modal-button-secondary svelte-17914yi">Test failed purchase</button> <button type="button" class="rc-simulated-store-modal-button rc-simulated-store-modal-button-cancel svelte-17914yi">Cancel</button></div></div></div></div>');const uI={hash:"svelte-17914yi",code:`.rc-simulated-store-modal-overlay.svelte-17914yi {position:fixed;top:0;left:0;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.5);display:flex;justify-content:center;align-items:center;font-family:-apple-system,
424
+ }`};function QE(r,e){fe(e,!0),we(r,JE);const t=()=>Re(s,"$brandingAppearanceStore",a),n=()=>Re(d,"$translator",a),[a,i]=Ze(),s=He(Un),c=g(()=>t()??void 0),l=g(()=>new Hn(o(c)).pageStyleVars),u=g(()=>x_(o(c)).background),d=He(vr);J_(r,{get brandingInfo(){return e.brandingInfo},get isInElement(){return e.isInElement},get isSandbox(){return e.isSandbox},mainContent:_=>{var h=Te(),f=ce(h);{var b=m=>{var k=Te(),x=ce(k);{var y=w=>{var P=GE(),S=D(P);YE(S,{get stripeBillingParams(){return e.stripeBillingParams},get onContinue(){return e.onContinue},get onError(){return e.onError}}),V(()=>Oe(P,`${o(l)??""}; background-color: ${o(u)??""}`)),E(w,P)};H(x,w=>{e.stripeBillingParams&&w(y)})}E(m,k)},v=m=>{var k=Te(),x=ce(k);{var y=P=>{var S=ZE(),T=D(S);Vo(T,{gap:"medium",align:"center",children:(I,A)=>{var C=XE(),L=ce(C);$i(L,{color:"var(--rc-color-grey-text-dark)"});var q=B(L,2);{var j=Y=>{var N=KE(),M=ce(N);Fe(M,{size:"heading-md",children:(U,O)=>{var G=ze();V(Z=>ge(G,Z),[()=>n().translate(de.LoadingPageProcessingPayment)]),E(U,G)},$$slots:{default:!0}});var z=B(M,2);Fe(z,{size:"body-small",children:(U,O)=>{var G=ze();V(Z=>ge(G,Z),[()=>n().translate(de.LoadingPageKeepPageOpen)]),E(U,G)},$$slots:{default:!0}}),E(Y,N)};H(q,Y=>{e.currentPage==="purchasing"&&Y(j)})}E(I,C)},$$slots:{default:!0}}),E(P,S)},w=P=>{var S=Te(),T=ce(S);{var I=C=>{cs(C,{get onContinue(){return e.onContinue},fullWidth:!0})},A=C=>{var L=Te(),q=ce(L);{var j=Y=>{{let N=g(()=>{var z;return((z=e.brandingInfo)==null?void 0:z.support_email)??null}),M=g(()=>{var z;return((z=e.brandingInfo)==null?void 0:z.app_name)??null});ls(Y,{get lastError(){return e.lastError},get productDetails(){return e.productDetails},get supportEmail(){return o(N)},get onDismiss(){return e.closeWithError},get appName(){return o(M)},fullWidth:!0})}};H(q,Y=>{e.currentPage==="error"&&Y(j)},!0)}E(C,L)};H(T,C=>{e.currentPage==="success"?C(I):C(A,!1)},!0)}E(P,S)};H(x,P=>{e.currentPage==="loading"||e.currentPage==="purchasing"?P(y):P(w,!1)},!0)}E(m,k)};H(f,m=>{e.currentPage==="stripe-checkout"?m(b):m(v,!1)})}E(_,h)},$$slots:{mainContent:!0}}),me(),i()}function $E(r,e){var x;fe(e,!0);const t=X(e,"customTranslations",19,()=>({})),n=X(e,"skipSuccessPage",3,!1);let a=e.rcPackage.webBillingProduct,i=new On(t(),e.selectedLocale,e.defaultLocale),s=br(i);mr(vr,s),mr(Ho,e.eventsTracker);const c=br(((x=e.brandingInfo)==null?void 0:x.appearance)??null);mr(Un,c);let l=te(!1),u=te(null),d=te(null),p=te("loading"),_=te(null);const h=()=>{if(o(p)==="stripe-checkout"){F(p,"purchasing"),e.purchaseOperationHelper.pollCurrentPurchaseForCompletion().then(y=>{F(u,y,!0),n()?e.onFinished(y):F(p,"success")}).catch(y=>{f(ds(y,"Failed to complete purchase"))});return}o(p)==="success"&&o(u)&&e.onFinished(o(u))},f=y=>{F(d,y,!0),F(p,"error")},b=()=>{e.onError(o(d)??new _e(be.UnknownError,"Unknown error without state set."))};let v=null,m=null,k=null;xr(async()=>{e.isInElement||(v=document.documentElement.style.height,m=document.documentElement.style.overflow,k=document.body.style.height,document.documentElement.style.height="100%",document.body.style.height="100%",document.documentElement.style.overflow="hidden");const y=a.identifier;if(!y){f(new _e(be.ErrorSettingUpPurchase,"Product ID was not set before purchase."));return}let w=e.customerEmail;(w?U_(w):null)&&(w=void 0);try{const S=await e.purchaseOperationHelper.checkoutStart({appUserId:e.appUserId,productId:y,purchaseOption:e.purchaseOption,presentedOfferingContext:e.rcPackage.webBillingProduct.presentedOfferingContext,customerEmail:w,metadata:e.metadata,workflowPurchaseContext:e.workflowPurchaseContext,attributionMetadata:e.attributionMetadata,paywallId:e.paywallId,paywallSessionId:e.paywallSessionId,locale:e.selectedLocale});if(!("stripe_billing_params"in S)||!S.stripe_billing_params){f(new _e(be.ErrorSettingUpPurchase,"Missing Stripe Checkout parameters"));return}F(l,S.stripe_billing_params.environment.toLowerCase()==="sandbox"),F(_,S.stripe_billing_params,!0),F(p,"stripe-checkout")}catch(S){f(ds(S,"Failed to start Stripe Checkout"))}}),Nt(()=>{if(!e.isInElement){const y=(w,P,S)=>{S===""?w.style.removeProperty(P):w.style.setProperty(P,S)};y(document.documentElement,"height",v),y(document.body,"height",k),y(document.documentElement,"overflow",m)}}),QE(r,{get currentPage(){return o(p)},get brandingInfo(){return e.brandingInfo},get productDetails(){return a},get isSandbox(){return o(l)},get lastError(){return o(d)},get isInElement(){return e.isInElement},get stripeBillingParams(){return o(_)},onContinue:h,onError:f,closeWithError:b}),me()}function eg(r){return r==null?!0:new Date(r)>new Date}function eS(r,e,t,n){const a=e.product_identifier;if(a in t)return rS(r,e,t[a]);if(a in n)return tS(r,e,n[a]);throw new Xe(Le.CustomerInfoError,"Could not find entitlement product in subscriptions or non-subscriptions.")}function rS(r,e,t){return{identifier:r,isActive:eg(e.expires_date),willRenew:rg(e.expires_date,t),store:(t==null?void 0:t.store)??"unknown",latestPurchaseDate:new Date(e.purchase_date),originalPurchaseDate:new Date(e.purchase_date),expirationDate:Bt(e.expires_date),productIdentifier:e.product_identifier,productPlanIdentifier:e.product_plan_identifier??null,unsubscribeDetectedAt:Bt(t==null?void 0:t.unsubscribe_detected_at),billingIssueDetectedAt:Bt(t==null?void 0:t.billing_issues_detected_at),isSandbox:(t==null?void 0:t.is_sandbox)??!1,periodType:(t==null?void 0:t.period_type)??"normal",ownershipType:(t==null?void 0:t.ownership_type)??"UNKNOWN"}}function tS(r,e,t){return{identifier:r,isActive:!0,willRenew:!1,store:t.store,latestPurchaseDate:new Date(e.purchase_date),originalPurchaseDate:new Date(t.original_purchase_date),expirationDate:null,productIdentifier:e.product_identifier,productPlanIdentifier:null,unsubscribeDetectedAt:null,billingIssueDetectedAt:null,isSandbox:t.is_sandbox,periodType:"normal",ownershipType:"UNKNOWN"}}function nS(r,e,t){const n={},a={};for(const i in r){const s=eS(i,r[i],e,t);n[i]=s,s.isActive&&(a[i]=s)}return{all:n,active:a}}function Bt(r){return r==null?null:new Date(r)}function aS(r){if(!r)return null;const e=r.amount*1e6;return{amount:r.amount*100,amountMicros:e,currency:r.currency,formattedPrice:Pn(e,r.currency)}}function yc(r){const e=iS(r),t=r.subscriber,n=lS(t.non_subscriptions),a=Object.entries(r.subscriber.non_subscriptions).flatMap(([c,l])=>l.map(u=>({transactionIdentifier:u.id,productIdentifier:c,purchaseDate:new Date(u.purchase_date||u.original_purchase_date),storeTransactionId:u.store_transaction_id||null,store:u.store}))),i=new Date(r.request_date),s=Object.fromEntries(Object.entries(r.subscriber.subscriptions).map(([c,l])=>[c,{productIdentifier:c,productPlanIdentifier:l.product_plan_identifier??null,purchaseDate:new Date(l.purchase_date),originalPurchaseDate:Bt(l.original_purchase_date),expiresDate:Bt(l.expires_date),store:l.store,unsubscribeDetectedAt:Bt(l.unsubscribe_detected_at),isSandbox:l.is_sandbox,billingIssuesDetectedAt:Bt(l.billing_issues_detected_at),gracePeriodExpiresDate:Bt(l.grace_period_expires_date),ownershipType:l.ownership_type??"UNKNOWN",periodType:l.period_type,refundedAt:Bt(l.refunded_at),storeTransactionId:l.store_transaction_id||null,managementURL:l.management_url??null,isActive:eg(l.expires_date),willRenew:rg(l.expires_date,l),displayName:l.display_name??null,autoResumeDate:Bt(l.auto_resume_date),price:aS(l.price)}]));return{entitlements:nS(t.entitlements,t.subscriptions,n),allExpirationDatesByProduct:e,allPurchaseDatesByProduct:oS(r,n),activeSubscriptions:sS(e),managementURL:t.management_url,requestDate:i,firstSeenDate:new Date(t.first_seen),originalPurchaseDate:Bt(t.original_purchase_date),originalAppUserId:r.subscriber.original_app_user_id,nonSubscriptionTransactions:a,subscriptionsByProductIdentifier:s}}function rg(r,e){if(e==null)return!1;const t=e.store=="promotional",n=r==null,a=e.unsubscribe_detected_at!=null,i=e.billing_issues_detected_at!=null;return!(t||n||a||i)}function oS(r,e){const t={};for(const n in r.subscriber.subscriptions){const a=r.subscriber.subscriptions[n];t[n]=new Date(a.purchase_date)}for(const n in e){const a=e[n].purchase_date;a==null?t[n]=null:t[n]=new Date(a)}return t}function iS(r){const e={};for(const t in r.subscriber.subscriptions){const n=r.subscriber.subscriptions[t];n.expires_date==null?e[t]=null:e[t]=new Date(n.expires_date)}return e}function sS(r){const e=new Set,t=new Date;for(const n in r){const a=r[n];(a==null||a>t)&&e.add(n)}return e}function lS(r){const e={};for(const t in r){if(r[t].length===0)continue;const n=r[t].length;e[t]=r[t][n-1]}return e}const tg="1.52.1",cS="https://api.revenuecat.com",uS="https://e.revenue.cat";var _s;(function(r){r[r.CONTINUE=100]="CONTINUE",r[r.SWITCHING_PROTOCOLS=101]="SWITCHING_PROTOCOLS",r[r.PROCESSING=102]="PROCESSING",r[r.EARLY_HINTS=103]="EARLY_HINTS",r[r.OK=200]="OK",r[r.CREATED=201]="CREATED",r[r.ACCEPTED=202]="ACCEPTED",r[r.NON_AUTHORITATIVE_INFORMATION=203]="NON_AUTHORITATIVE_INFORMATION",r[r.NO_CONTENT=204]="NO_CONTENT",r[r.RESET_CONTENT=205]="RESET_CONTENT",r[r.PARTIAL_CONTENT=206]="PARTIAL_CONTENT",r[r.MULTI_STATUS=207]="MULTI_STATUS",r[r.MULTIPLE_CHOICES=300]="MULTIPLE_CHOICES",r[r.MOVED_PERMANENTLY=301]="MOVED_PERMANENTLY",r[r.MOVED_TEMPORARILY=302]="MOVED_TEMPORARILY",r[r.SEE_OTHER=303]="SEE_OTHER",r[r.NOT_MODIFIED=304]="NOT_MODIFIED",r[r.USE_PROXY=305]="USE_PROXY",r[r.TEMPORARY_REDIRECT=307]="TEMPORARY_REDIRECT",r[r.PERMANENT_REDIRECT=308]="PERMANENT_REDIRECT",r[r.BAD_REQUEST=400]="BAD_REQUEST",r[r.UNAUTHORIZED=401]="UNAUTHORIZED",r[r.PAYMENT_REQUIRED=402]="PAYMENT_REQUIRED",r[r.FORBIDDEN=403]="FORBIDDEN",r[r.NOT_FOUND=404]="NOT_FOUND",r[r.METHOD_NOT_ALLOWED=405]="METHOD_NOT_ALLOWED",r[r.NOT_ACCEPTABLE=406]="NOT_ACCEPTABLE",r[r.PROXY_AUTHENTICATION_REQUIRED=407]="PROXY_AUTHENTICATION_REQUIRED",r[r.REQUEST_TIMEOUT=408]="REQUEST_TIMEOUT",r[r.CONFLICT=409]="CONFLICT",r[r.GONE=410]="GONE",r[r.LENGTH_REQUIRED=411]="LENGTH_REQUIRED",r[r.PRECONDITION_FAILED=412]="PRECONDITION_FAILED",r[r.REQUEST_TOO_LONG=413]="REQUEST_TOO_LONG",r[r.REQUEST_URI_TOO_LONG=414]="REQUEST_URI_TOO_LONG",r[r.UNSUPPORTED_MEDIA_TYPE=415]="UNSUPPORTED_MEDIA_TYPE",r[r.REQUESTED_RANGE_NOT_SATISFIABLE=416]="REQUESTED_RANGE_NOT_SATISFIABLE",r[r.EXPECTATION_FAILED=417]="EXPECTATION_FAILED",r[r.IM_A_TEAPOT=418]="IM_A_TEAPOT",r[r.INSUFFICIENT_SPACE_ON_RESOURCE=419]="INSUFFICIENT_SPACE_ON_RESOURCE",r[r.METHOD_FAILURE=420]="METHOD_FAILURE",r[r.MISDIRECTED_REQUEST=421]="MISDIRECTED_REQUEST",r[r.UNPROCESSABLE_ENTITY=422]="UNPROCESSABLE_ENTITY",r[r.LOCKED=423]="LOCKED",r[r.FAILED_DEPENDENCY=424]="FAILED_DEPENDENCY",r[r.UPGRADE_REQUIRED=426]="UPGRADE_REQUIRED",r[r.PRECONDITION_REQUIRED=428]="PRECONDITION_REQUIRED",r[r.TOO_MANY_REQUESTS=429]="TOO_MANY_REQUESTS",r[r.REQUEST_HEADER_FIELDS_TOO_LARGE=431]="REQUEST_HEADER_FIELDS_TOO_LARGE",r[r.UNAVAILABLE_FOR_LEGAL_REASONS=451]="UNAVAILABLE_FOR_LEGAL_REASONS",r[r.INTERNAL_SERVER_ERROR=500]="INTERNAL_SERVER_ERROR",r[r.NOT_IMPLEMENTED=501]="NOT_IMPLEMENTED",r[r.BAD_GATEWAY=502]="BAD_GATEWAY",r[r.SERVICE_UNAVAILABLE=503]="SERVICE_UNAVAILABLE",r[r.GATEWAY_TIMEOUT=504]="GATEWAY_TIMEOUT",r[r.HTTP_VERSION_NOT_SUPPORTED=505]="HTTP_VERSION_NOT_SUPPORTED",r[r.INSUFFICIENT_STORAGE=507]="INSUFFICIENT_STORAGE",r[r.NETWORK_AUTHENTICATION_REQUIRED=511]="NETWORK_AUTHENTICATION_REQUIRED"})(_s||(_s={}));const dS=/^rcb_[a-zA-Z0-9_.-]+$/,pS=/^pdl_[a-zA-Z0-9_.-]+$/,_S=/^test_[a-zA-Z0-9_.-]+$/,gS=/^strp_[a-zA-Z0-9_.-]+$/;function gs(r){return r?r.startsWith("rcb_sb_"):!1}function Qo(r){return r?dS.test(r):!1}function bc(r){return r?pS.test(r):!1}function kc(r){return r?gS.test(r):!1}function Yn(r){return r?_S.test(r):!1}async function ut(r,e,t){return(await ng(r,e,t)).data}async function ng(r,e,t){const{apiKey:n,body:a,headers:i,httpConfig:s}=e,l=`${(s==null?void 0:s.proxyURL)??cS}${r.urlPath()}`;try{const u=await fetch(l,{method:r.method,headers:pg(n,i,s==null?void 0:s.additionalHeaders),body:mS(a),signal:t});await fS(u,r);const d=u.status;return{data:await u.json(),statusCode:d}}catch(u){throw u instanceof TypeError?new Xe(Le.NetworkError,Ua.getPublicMessage(Le.NetworkError),u.message):u}}async function fS(r,e){const t=r.status;if(t>=_s.INTERNAL_SERVER_ERROR)wc(e,t,await r.text());else if(t>=_s.BAD_REQUEST){const n=await r.json(),a=n?JSON.stringify(n):null,i=n==null?void 0:n.code,s=n==null?void 0:n.message;if(i!=null){const c=Ua.convertCodeToBackendErrorCode(i);if(c==null)wc(e,t,a,i);else throw Xe.getForBackendError(c,s)}else wc(e,t,a)}}function wc(r,e,t,n){throw new Xe(Le.UnknownBackendError,"Unknown backend error.",`Request: ${r.name}. Status code: ${e}. Body: ${t}.`,{backendErrorCode:n})}function mS(r){return r==null?null:JSON.stringify(r)}const ag="Authorization",og="Content-Type",ig="Accept",sg="X-Platform",lg="X-Version",cg="X-Platform-Flavor",ug="X-Platform-Flavor-Version",dg="X-Is-Sandbox",hS="X-RC-Subscriber-Token",vS=new Set([ag,og,ig,sg,lg,dg,cg,ug,hS]);function pg(r,e,t){let n={[ag]:`Bearer ${r}`,[og]:"application/json",[ig]:"application/json",[sg]:"web",[lg]:tg,[dg]:`${gs(r)}`};const a=hs.getPlatformInfo();if(a){const i={[cg]:a.flavor,[ug]:a.version};n={...n,...i}}return e&&(n={...n,...e}),t&&(n={...t,...n}),n}const ya="/v1/subscribers",ba="/rcbilling/v1";class yS{constructor(e){re(this,"appUserId");re(this,"method","GET");re(this,"name","getOfferings");this.appUserId=e}urlPath(){const e=encodeURIComponent(this.appUserId);return`${ya}/${e}/offerings`}}class _g{constructor(e,t,n,a){re(this,"method","GET");re(this,"name","getProducts");re(this,"appUserId");re(this,"productIds");re(this,"currency");re(this,"discountCode");this.appUserId=e,this.productIds=t,this.currency=n,this.discountCode=a}urlPath(){const e=encodeURIComponent(this.appUserId),t=this.productIds.map(encodeURIComponent).join("&id="),n=this.currency?`&currency=${this.currency}`:"",a=this.discountCode?`&discount_code=${encodeURIComponent(this.discountCode)}`:"";return`${ba}/subscribers/${e}/products?id=${t}${n}${a}`}}class bS{constructor(e){re(this,"method","GET");re(this,"name","getCustomerInfo");re(this,"appUserId");this.appUserId=e}urlPath(){const e=encodeURIComponent(this.appUserId);return`${ya}/${e}`}}class kS{constructor(){re(this,"method","POST");re(this,"name","identify")}urlPath(){return`${ya}/identify`}}class wS{constructor(){re(this,"method","GET");re(this,"name","getBrandingInfo")}urlPath(){return`${ba}/branding`}}class PS{constructor(){re(this,"method","POST");re(this,"name","postCheckoutPrepare")}urlPath(){return`${ba}/checkout/prepare`}}class xS{constructor(){re(this,"method","POST");re(this,"name","postCheckoutStart")}urlPath(){return`${ba}/checkout/start`}}class ES{constructor(e){re(this,"method","PATCH");re(this,"name","patchCheckoutRefreshPricing");re(this,"operationSessionId");this.operationSessionId=e}urlPath(){return`${ba}/checkout/${this.operationSessionId}`}}class SS{constructor(e){re(this,"method","POST");re(this,"name","postCheckoutComplete");re(this,"operationSessionId");this.operationSessionId=e}urlPath(){return`${ba}/checkout/${this.operationSessionId}/complete`}}class IS{constructor(e){re(this,"method","GET");re(this,"name","getCheckoutStatus");re(this,"operationSessionId");this.operationSessionId=e}urlPath(){return`${ba}/checkout/${this.operationSessionId}`}}class CS{constructor(e){re(this,"method","POST");re(this,"name","setAttributes");re(this,"appUserId");this.appUserId=e}urlPath(){const e=encodeURIComponent(this.appUserId);return`${ya}/${e}/attributes`}}class TS{constructor(){re(this,"method","POST");re(this,"name","postReceipt")}urlPath(){return"/v1/receipts"}}class DS{constructor(e){re(this,"method","GET");re(this,"name","getVirtualCurrencies");re(this,"appUserId");this.appUserId=e}urlPath(){const e=encodeURIComponent(this.appUserId);return`${ya}/${e}/virtual_currencies`}}class AS{constructor(e){re(this,"method","GET");re(this,"name","getWorkflows");re(this,"appUserId");this.appUserId=e}urlPath(){return`${ya}/${encodeURIComponent(this.appUserId)}/workflows?type=paywall`}}class FS{constructor(e,t){re(this,"method","GET");re(this,"name","getWorkflowData");re(this,"appUserId");re(this,"workflowId");this.appUserId=e,this.workflowId=t}urlPath(){return`${ya}/${encodeURIComponent(this.appUserId)}/workflows/${encodeURIComponent(this.workflowId)}`}}const Pc={},MS=2e3;class zS{constructor(e,t=Pc,n){re(this,"API_KEY");re(this,"httpConfig");re(this,"isSandbox");re(this,"purchasesContext");this.API_KEY=e,this.httpConfig=t,this.isSandbox=gs(e),this.purchasesContext=n}getIsSandbox(){return this.isSandbox}async getOfferings(e){return await ut(new yS(e),{apiKey:this.API_KEY,httpConfig:this.httpConfig})}async getCustomerInfo(e){return await ut(new bS(e),{apiKey:this.API_KEY,httpConfig:this.httpConfig})}async identify(e,t){const n={app_user_id:e,new_app_user_id:t},a=await ng(new kS,{apiKey:this.API_KEY,body:n,httpConfig:this.httpConfig}),i=a.statusCode===201;return{...a.data,was_created:i}}async getProducts(e,t,n,a){const i=Array.from(new Set(t)),s=this.batchProductIdsByUrlLength(e,i,n,a),c=[];for(const l of s){const u=await ut(new _g(e,l,n,a),{apiKey:this.API_KEY,httpConfig:this.httpConfig});c.push(...u.product_details)}return{product_details:c}}batchProductIdsByUrlLength(e,t,n,a){const i=[];let s=[];for(const c of t){const l=[...s,c],u=new _g(e,l,n,a).urlPath().length;s.length>0&&u>MS?(i.push(s),s=[c]):s=l}return s.length>0&&i.push(s),i}async getBrandingInfo(){return await ut(new wS,{apiKey:this.API_KEY,httpConfig:this.httpConfig})}async postCheckoutPrepare(e,t){const n={product_id:e,price_id:t.priceId};return t.id!=="base_option"&&(n.offer_id=t.id),await ut(new PS,{apiKey:this.API_KEY,body:n,httpConfig:this.httpConfig})}async postCheckoutStart({appUserId:e,productId:t,purchaseOption:n,presentedOfferingContext:a,traceId:i,presentedStepId:s,urlParameters:c,paywallId:l,paywallSessionId:u,customerEmail:d,metadata:p,locale:_,attributionMetadata:h,productChange:f,subscriberToken:b}){var m,k;const v={app_user_id:e,product_id:t,email:d,price_id:n.priceId,presented_offering_identifier:a.offeringIdentifier,trace_id:i};return p&&(v.metadata=p),n.id!=="base_option"&&(v.offer_id=n.id),a.targetingContext&&(v.applied_targeting_rule={rule_id:a.targetingContext.ruleId,revision:a.targetingContext.revision}),a.placementIdentifier&&(v.presented_placement_identifier=a.placementIdentifier),(k=(m=this.purchasesContext)==null?void 0:m.workflowContext)!=null&&k.workflowIdentifier&&(v.presented_workflow_id=this.purchasesContext.workflowContext.workflowIdentifier),s&&(v.presented_step_id=s),c&&Object.keys(c).length>0&&(v.url_parameters=c),l&&(v.paywall={paywall_id:l,...u?{paywall_session_id:u}:{}}),_&&(v.locale=_),h&&(v.attribution_metadata=h),f&&(v.product_change={...f.subscriptionId?{subscription_id:f.subscriptionId}:{},...f.productIdentifier?{from_product_id:f.productIdentifier}:{}}),await ut(new xS,{apiKey:this.API_KEY,body:v,headers:b?{"X-RC-Subscriber-Token":b}:void 0,httpConfig:this.httpConfig})}async patchCheckoutRefreshPricing(e,{countryCode:t,postalCode:n,state:a,city:i,addressLine1:s,addressLine2:c,discountCode:l,signal:u}={}){const d={country_code:t,postal_code:n,state:a,city:i,address_line1:s,address_line2:c,discount_code:l};return await ut(new ES(e),{apiKey:this.API_KEY,body:d,httpConfig:this.httpConfig},u)}async postCheckoutComplete(e,t={}){const n={};return t.email&&(n.email=t.email),t.locale&&(n.locale=t.locale),await ut(new SS(e),{apiKey:this.API_KEY,body:n,headers:t.subscriberToken?{"X-RC-Subscriber-Token":t.subscriberToken}:void 0,httpConfig:this.httpConfig})}async getCheckoutStatus(e){return await ut(new IS(e),{apiKey:this.API_KEY,httpConfig:this.httpConfig})}async setAttributes(e,t){const n=Date.now(),a={};for(const[s,c]of Object.entries(t))a[s]={value:c,updated_at_ms:n};const i={attributes:a};return await ut(new CS(e),{apiKey:this.API_KEY,body:i,httpConfig:this.httpConfig})}async postReceipt(e,t,n,a,i,s,c){var d,p;let l=null;i.targetingContext&&(l={rule_id:i.targetingContext.ruleId,revision:i.targetingContext.revision});const u={fetch_token:a,product_id:t,currency:n,app_user_id:e,presented_offering_identifier:i.offeringIdentifier,presented_placement_identifier:i.placementIdentifier,presented_workflow_id:(p=(d=this.purchasesContext)==null?void 0:d.workflowContext)==null?void 0:p.workflowIdentifier,applied_targeting_rule:l,initiation_source:s};return c&&(u.paywall={paywall_id:c}),await ut(new TS,{apiKey:this.API_KEY,body:u,httpConfig:this.httpConfig})}async getVirtualCurrencies(e){return await ut(new DS(e),{apiKey:this.API_KEY,httpConfig:this.httpConfig})}async getWorkflows(e){return await ut(new AS(e),{apiKey:this.API_KEY,httpConfig:this.httpConfig})}async getWorkflowById(e,t){const n=await ut(new FS(e,t),{apiKey:this.API_KEY,httpConfig:this.httpConfig});if(!("action"in n))return n;if(n.action==="inline")return n.data;if(n.action!=="use_cdn")throw new Error(`Unexpected workflow action: ${n.action}`);const a=await fetch(n.url);if(!a.ok)throw new Error(`Failed to fetch workflow from CDN: ${a.statusText}`);return await a.json()}}function qS(r){if(!(Qo(r)||Yn(r)||bc(r)||kc(r)))throw new Xe(Le.InvalidCredentialsError,"Invalid API key. Use your Web Billing API key.")}function xc(r){if(!r||new Set(["no_user","null","none","nil","(null)","NaN","\\x00","","unidentified","undefined","unknown"]).has(r)||r.includes("/"))throw new Xe(Le.InvalidAppUserIdError,'Provided user id: "'+(r??"[Not provided]")+'" is not valid. See https://www.revenuecat.com/docs/customers/user-ids#tips-for-setting-app-user-ids for more information.')}function OS(r){if(r!=null&&r.endsWith("/"))throw new Xe(Le.ConfigurationError,"Invalid proxy URL. The proxy URL should not end with a trailing slash.")}function LS(r){if(r){for(const e in r)if(vS.has(e))throw new Xe(Le.ConfigurationError,"Invalid additional headers. Some headers are reserved for internal use.")}}var Ec=(r=>(r.Current="current",r))(Ec||{});function gg(r,e){async function t(...n){return await this.preload(),await r.call(this,...n)}return t}const fg=(r,e)=>{const t={...r.webBillingProduct,presentedOfferingContext:{...r.webBillingProduct.presentedOfferingContext,placementIdentifier:e}};return{...r,webBillingProduct:t,rcBillingProduct:t}},ka=(r,e)=>r==null?null:fg(r,e),NS=(r,e)=>{var n;return{offeringIdForPlacement:((n=r.offering_ids_by_placement)==null?void 0:n[e])??null,fallbackOfferingId:r.fallback_offering_id}},mg=(r,e)=>{const t=Object.fromEntries(Object.entries(e.packagesById).map(([n,a])=>[n,fg(a,r)]));return{...e,packagesById:t,availablePackages:Object.values(t),weekly:ka(e.weekly,r),monthly:ka(e.monthly,r),twoMonth:ka(e.twoMonth,r),threeMonth:ka(e.threeMonth,r),sixMonth:ka(e.sixMonth,r),annual:ka(e.annual,r),lifetime:ka(e.lifetime,r)}};function hg(r){const e={};return r.product_details.forEach(t=>{e[t.identifier]=t}),e}function jS(r,e,t){const n=e.offerings.find(s=>s.identifier===r);if(!n)return null;const a=hg(t),i=n.identifier===e.current_offering_id;return xd(i,n,a,e.targeting,e.ui_config)}function BS(r,e){const t=hg(e),n={};r.offerings.forEach(i=>{const s=i.identifier===r.current_offering_id,c=xd(s,i,t,r.targeting,r.ui_config);c!=null&&(n[i.identifier]=c)});const a=r.current_offering_id?n[r.current_offering_id]??null:null;return Object.keys(n).length==0&&xe.debugLog("Empty offerings. Please make sure you've configured offerings correctly in the RevenueCat dashboard and that the products are properly configured."),{all:n,current:a}}const RS=1000001;function vg(r,e={}){var a;if(e.translator)return kg(r,e.translator);const t=((a=r.paywallComponents)==null?void 0:a.default_locale)||Rr,n=new On(e.customTranslations??{},e.selectedLocale??t,e.fallbackLocale??t);return kg(r,n)}function fs(r){var a;const e=r.webBillingProduct.price,t=yg(r),n=r.webBillingProduct.period||((a=t==null?void 0:t.base)==null?void 0:a.period);return!n||!n.number||n.number<=0?e.amountMicros:e.amountMicros*ul(n).perMonth}function yg(r){return r.webBillingProduct.productType===Gr.Subscription?r.webBillingProduct.defaultSubscriptionOption:r.webBillingProduct.productType===Gr.NonConsumable||r.webBillingProduct.productType===Gr.Consumable?r.webBillingProduct.defaultNonSubscriptionOption:r.webBillingProduct.defaultPurchaseOption}function US(r,e){return r===Gr.Subscription&&e!=null}function VS(r,e){return r!==Gr.Subscription&&e!=null}function bg(r,e,t,n=!1){return t.translate(de.PaywallVariablesPricePerPeriod,{formattedPrice:r,period:e.base.period?e.base.period.number===1?t.translatePeriodUnit(e.base.period.unit,{noWhitespace:!0,short:!n}):t.translatePeriod(e.base.period.number,e.base.period.unit,{noWhitespace:!0,short:!n}):""})}function kg(r,e){const t=r.availablePackages,n=t.filter(i=>i.webBillingProduct.productType===Gr.Subscription),a=n.length>0?n.reduce((i,s)=>{const c=fs(i),l=fs(s);return c>l?i:s}):null;return t.reduce((i,s)=>(i[s.identifier]=HS(s,a,e),i),{})}function HS(r,e,t){const n=r.webBillingProduct,a=n.price,i=t.formatPrice(a.amountMicros,a.currency),s=yg(r),c=n.productType,l={"product.store_product_name":n.title,"product.price":i,"product.price_per_period":"","product.price_per_period_abbreviated":"","product.price_per_day":"","product.price_per_week":"","product.price_per_month":"","product.price_per_year":"","product.period":"","product.period_abbreviated":"","product.periodly":"","product.period_in_days":"","product.period_in_weeks":"","product.period_in_months":"","product.period_in_years":"","product.period_with_unit":"","product.currency_code":a.currency,"product.currency_symbol":t.formatPrice(0,a.currency).replace("0",""),"product.offer_price":"","product.offer_price_per_day":"","product.offer_price_per_week":"","product.offer_price_per_month":"","product.offer_price_per_year":"","product.offer_period":"","product.offer_period_abbreviated":"","product.offer_period_in_days":"","product.offer_period_in_weeks":"","product.offer_period_in_months":"","product.offer_period_in_years":"","product.offer_period_with_unit":"","product.offer_end_date":"","product.secondary_offer_price":"","product.secondary_offer_period":"","product.secondary_offer_period_abbreviated":"","product.relative_discount":""};if(US(c,s)){l["product.price_per_period_abbreviated"]=bg(i,s,t),l["product.price_per_period"]=bg(i,s,t,!0);const u=n.period||s.base.period,d=Q_(a,u,t);if(l["product.price_per_day"]=d.pricePerDay,l["product.price_per_week"]=d.pricePerWeek,l["product.price_per_month"]=d.pricePerMonth,l["product.price_per_year"]=d.pricePerYear,u){const p=oc(u,t);l["product.period"]=p.period,l["product.period_abbreviated"]=p.periodAbbreviated,l["product.period_with_unit"]=p.periodWithUnit,l["product.period_in_days"]=p.periodInDays,l["product.period_in_weeks"]=p.periodInWeeks,l["product.period_in_months"]=p.periodInMonths,l["product.period_in_years"]=p.periodInYears,l["product.periodly"]=t.translatePeriodFrequency(u.number,u.unit)||""}if(e){const p=fs(r),_=fs(e),h=(_-p)*100/_;l["product.relative_discount"]=h<1?"":t.translate(de.PaywallVariablesSubRelativeDiscount,{discount:h.toFixed(0)})}SE(s,t,l)}return VS(c,s)&&(l["product.price"]=i,l["product.price_per_period"]=i,l["product.price_per_period_abbreviated"]=i,l["product.price_per_month"]=i,l["product.period_with_unit"]=t.translate(de.PeriodsLifetime),l["product.period_in_months"]=t.translate(de.PeriodsLifetime),l["product.periodly"]=t.translate(de.PeriodsLifetime),l["product.price_per_week"]="",l["product.relative_discount"]="",l["product.period"]="",l["product.period_abbreviated"]="",IE(s,t,l)),l}var WS=/(%?)(%([sdijo]))/g;function YS(r,e){switch(e){case"s":return r;case"d":case"i":return Number(r);case"j":return JSON.stringify(r);case"o":{if(typeof r=="string")return r;const t=JSON.stringify(r);return t==="{}"||t==="[]"||/^\[object .+?\]$/.test(t)?r:t}}}function Sc(r,...e){if(e.length===0)return r;let t=0,n=r.replace(WS,(a,i,s,c)=>{const l=e[t],u=YS(l,c);return i?a:(t++,u)});return t<e.length&&(n+=` ${e.slice(t).join(" ")}`),n=n.replace(/%{2,2}/g,"%"),n}var GS=2;function KS(r){if(!r.stack)return;const e=r.stack.split(`
425
+ `);e.splice(1,GS),r.stack=e.join(`
426
+ `)}var XS=class extends Error{constructor(r,...e){super(r),this.message=r,this.name="Invariant Violation",this.message=Sc(r,...e),KS(this)}},wg=(r,e,...t)=>{if(!r)throw new XS(e,...t)};wg.as=(r,e,t,...n)=>{if(!e){const a=n.length===0?t:Sc(t,...n);let i;try{i=Reflect.construct(r,[a])}catch{i=r(a)}throw i}};const ZS="[MSW]";function Ic(r,...e){const t=Sc(r,...e);return`${ZS} ${t}`}function JS(r,...e){console.warn(Ic(r,...e))}function QS(r,...e){console.error(Ic(r,...e))}const $S={formatMessage:Ic,warn:JS,error:QS};function eI(){wg(typeof URL<"u",$S.formatMessage(`Global "URL" class is not defined. This likely means that you're running MSW in an environment that doesn't support all Node.js standard API (e.g. React Native). If that's the case, please use an appropriate polyfill for the "URL" class, like "react-native-url-polyfill".`))}var Pg=(r=>(r.HEAD="HEAD",r.GET="GET",r.POST="POST",r.PUT="PUT",r.PATCH="PATCH",r.OPTIONS="OPTIONS",r.DELETE="DELETE",r))(Pg||{});eI();class rI{constructor(e,t,n,a){re(this,"initialDelay");re(this,"maxDelay");re(this,"jitterPercent");re(this,"callback");re(this,"currentDelay");re(this,"timeoutId");re(this,"executingCallback",!1);re(this,"stopped",!1);re(this,"currentFlushPromise",null);this.initialDelay=e,this.currentDelay=e,this.maxDelay=t,this.jitterPercent=n,this.callback=a}tryFlush(){if(!this.stopped){if(this.backingOff()){xe.debugLog("Backing off, not flushing");return}this.clearTimeout(),this.executeCallbackWithRetries().catch(()=>{})}}start(){this.stopped=!1,this.currentDelay=this.initialDelay}stop(){this.stopped=!0,this.clearTimeout()}flushImmediately(e){return this.clearTimeout(),this.executeCallbackWithRetries(e)}async flushUntilDrain(e){const t=this.currentFlushPromise;if(t)try{await t}catch{}this.stop();try{let n=!1;for(;!n;)n=await this.flushImmediately(e)}finally{this.start()}}schedule(e){if(this.stopped||this.timeoutId!==void 0)return;const t=this.addJitter(e||this.currentDelay);this.timeoutId=setTimeout(()=>{this.timeoutId=void 0,this.executeCallbackWithRetries().catch(()=>{})},t)}backoff(){const e=this.currentDelay,t=Math.min(this.currentDelay*2,this.maxDelay);xe.debugLog(`Backing next off to ${e}ms delay`),this.clearTimeout(),this.currentDelay=t,this.schedule(e)}reset(){this.currentDelay!==this.initialDelay&&(this.clearTimeout(),this.currentDelay=this.initialDelay)}async executeCallbackWithRetries(e){if(this.executingCallback)return xe.debugLog("Callback already running, rescheduling"),this.schedule(),!0;this.executingCallback=!0;let t;try{t=Promise.resolve(this.callback(e))}catch(n){t=Promise.reject(n)}this.currentFlushPromise=t.then(()=>{},()=>{});try{const n=await t;return this.reset(),n}catch{return this.backoff(),!0}finally{this.executingCallback=!1,this.currentFlushPromise=null}}backingOff(){return this.currentDelay>this.initialDelay}clearTimeout(){clearTimeout(this.timeoutId),this.timeoutId=void 0}addJitter(e){const t=e*this.jitterPercent,n=e-t,a=e+t;return Math.floor(Math.random()*(a-n+1)+n)}}const tI=Object.entries({componentType:"component_type",componentName:"component_name",componentValue:"component_value",componentURL:"component_url",originIndex:"origin_index",destinationIndex:"destination_index",originContextName:"origin_context_name",destinationContextName:"destination_context_name",defaultIndex:"default_index",originPackageId:"origin_package_id",destinationPackageId:"destination_package_id",defaultPackageId:"default_package_id",originProductId:"origin_product_id",destinationProductId:"destination_product_id",defaultProductId:"default_product_id",currentPackageId:"current_package_id",resultingPackageId:"resulting_package_id",currentProductId:"current_product_id",resultingProductId:"resulting_product_id"}),xg=r=>r.displayMode===void 0?{}:{display_mode:r.displayMode,dark_mode:r.darkMode??!1,locale:r.locale??"en_US"},nI=r=>{const e={};for(const[t,n]of tI){const a=r[t];a!==void 0&&Object.assign(e,{[n]:a})}return e};function aI(r){return!r||!r.placementIdentifier&&!r.targetingContext?null:{...r.placementIdentifier?{placement_identifier:r.placementIdentifier}:{},...r.targetingContext?{targeting_revision:r.targetingContext.revision,targeting_rule_id:r.targetingContext.ruleId}:{}}}const oI=(r,e,t)=>{const n={version:1,id:e,app_user_id:r.appUserId,session_id:r.sessionId,offering_id:r.offeringId,paywall_revision:r.paywallRevision,timestamp:t,paywall_rc_public_id:r.paywallRcPublicId},a=aI(r.presentedOfferingContext);return a&&(n.presented_offering_context=a),n};class Eg{constructor(e){re(this,"id");re(this,"timestamp");re(this,"data");this.id=Vn(),this.timestamp=Date.now(),this.data=e}toJSON(){const e=oI(this.data,this.id,this.timestamp);switch(this.data.type){case"paywall_impression":return{type:this.data.type,...e,...xg(this.data)};case"paywall_close":case"paywall_cancel":return{type:this.data.type,...e};case"paywall_component_interacted":return{type:this.data.type,...e,...xg(this.data),...nI(this.data)}}}}function Gn(){if(typeof window<"u")return window;throw new Xe(Le.UnsupportedError,"window is not available. This SDK requires a browser environment for this operation.")}function $o(){if(typeof window<"u")return window}function Cc(){if(typeof document<"u")return document;throw new Xe(Le.UnsupportedError,"document is not available. This SDK requires a browser environment for this operation.")}function Tc(){if(typeof document<"u")return document}function iI(r,e){const t=$o(),n=t!=null&&t.location?new URLSearchParams(t.location.search):new URLSearchParams;let a=null,i=null;typeof screen<"u"&&screen&&(a=screen.width,i=screen.height);const s=Tc(),c=(s==null?void 0:s.referrer)??null,l=(s==null?void 0:s.title)??null;return{libraryName:"purchases-js",libraryVersion:tg,locale:navigator.language,userAgent:navigator.userAgent,timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone,screenWidth:a,screenHeight:i,utmSource:n.get("utm_source")??null,utmMedium:n.get("utm_medium")??null,utmCampaign:n.get("utm_campaign")??null,utmContent:n.get("utm_content")??null,utmTerm:n.get("utm_term")??null,pageReferrer:c,pageUrl:t!=null&&t.location?`${t.location.origin}${t.location.pathname}`:"",pageTitle:l,source:r,rcSource:e}}const sI=2e3,lI=5*6e4,cI=.1,Sg=50*1024;class uI{constructor(e){re(this,"apiKey");re(this,"eventsQueue",[]);re(this,"eventsUrl");re(this,"flushManager");re(this,"traceId");re(this,"appUserId");re(this,"isSilent");re(this,"rcSource");re(this,"workflowContext");re(this,"isDisposed",!1);var t;this.apiKey=e.apiKey,this.eventsUrl=`${((t=e.httpConfig)==null?void 0:t.eventsURL)??uS}/v1/events`,this.appUserId=e.appUserId,this.isSilent=e.silent||!1,this.rcSource=e.rcSource,this.workflowContext=e.workflowContext,this.traceId=e.trace_id||Vn(),this.flushManager=new rI(sI,lI,cI,this.doFlush.bind(this))}async updateUser(e){this.appUserId=e}getTraceId(){return this.traceId}trackSDKEvent(e){this.trackEvent({...e,source:"sdk"})}trackExternalEvent(e){this.trackEvent({...e})}trackPaywallEvent(e){if(this.isSilent){xe.verboseLog("Skipping event tracking, the EventsTracker is silent");return}try{const t=new Eg(e);xe.debugLog(`[PaywallEvent] Queuing ${e.type} (queue size: ${this.eventsQueue.length+1}, url: ${this.eventsUrl})`),xe.debugLog(`[PaywallEvent] Payload: ${JSON.stringify(t.toJSON())}`),this.eventsQueue.push(t),this.flushManager.tryFlush()}catch(t){xe.errorLog(`Error while tracking paywall event ${e.type}: ${t}`)}}trackEvent(e){var t;if(this.isSilent){xe.verboseLog("Skipping event tracking, the EventsTracker is silent");return}try{const n=new aP({eventName:e.eventName,traceId:this.traceId,appUserId:this.appUserId,context:iI(e.source,this.rcSource),workflowIdentifier:(t=this.workflowContext)==null?void 0:t.workflowIdentifier,properties:e.properties||{mode:nt}});this.eventsQueue.push(n),this.flushManager.tryFlush()}catch(n){xe.errorLog(`Error while tracking event ${e.eventName}: ${n}`)}}dispose(){this.isDisposed||(this.flushManager.stop(),this.eventsQueue.length>0&&this.flushManager.flushUntilDrain({ignoreDisposed:!0}).catch(e=>{xe.debugLog(`Failed to flush events on dispose: ${e}`)}),this.isDisposed=!0)}async flushAllEvents(){this.isDisposed||(await this.flushManager.flushUntilDrain(),!this.isDisposed&&this.eventsQueue.length>0&&this.flushManager.schedule())}estimateSingleEventSize(e){try{return JSON.stringify(e).length}catch{return Sg}}batchEventsForKeepalive(){const e=[];let t=16;for(const n of this.eventsQueue){const a=this.estimateSingleEventSize(n),i=e.length>0?1:0,s=t+a+i;if(s<=Sg)e.push(n),t=s;else if(e.length===0){const c=n instanceof Eg?n.data.type:n.data.eventName;return xe.warnLog(`Event exceeds keepalive size limit (${a} bytes): ${c}`),this.eventsQueue.shift(),null}else break}return e}doFlush(e){if(!(e!=null&&e.ignoreDisposed)&&this.isDisposed||this.eventsQueue.length===0)return Promise.resolve(!0);const t=this.batchEventsForKeepalive();if(!t)return Promise.resolve(this.eventsQueue.length===0);const n=JSON.stringify({events:t});return xe.debugLog(`[EventsTracker] Flushing ${t.length} event(s) to ${this.eventsUrl}`),xe.debugLog(`[EventsTracker] Body: ${n}`),fetch(this.eventsUrl,{method:Pg.POST,headers:pg(this.apiKey),body:n,keepalive:!0}).then(a=>{if(xe.debugLog(`[EventsTracker] Flush response: ${a.status}`),a.status===200||a.status===201)return this.eventsQueue.splice(0,t.length),this.eventsQueue.length>0&&this.flushManager.schedule(),this.eventsQueue.length===0;throw xe.debugLog("Events failed to flush due to server error"),new Error("Events failed to flush due to server error")}).catch(a=>{throw xe.debugLog(`[EventsTracker] Flush error: ${a}`),a})}}const ms=()=>{const r=$o(),e=r!=null&&r.location?new URLSearchParams(r.location.search):new URLSearchParams,t=["utm_source","utm_medium","utm_campaign","utm_term","utm_content"],n={};return t.forEach(a=>{const i=e.get(a);i!==null&&(n[a]=i)}),n},Ig=["app","embedded"],Dc={autoCollectUTMAsMetadata:!0,collectAnalyticsEvents:!0,storeLoadTime:"configuration"};var dI=R('<p class="svelte-17914yi"><strong>Free Trial:</strong> </p>'),pI=R('<p class="svelte-17914yi"><strong>Intro Price:</strong> </p>'),_I=R('<p class="svelte-17914yi"><strong>Discount Price:</strong> </p>'),gI=R('<div class="rc-simulated-store-modal-overlay svelte-17914yi"><div class="rc-simulated-store-modal svelte-17914yi"><div class="rc-simulated-store-modal-content svelte-17914yi"><h2 class="rc-simulated-store-modal-title svelte-17914yi">Test Store Purchase</h2> <div class="rc-simulated-store-modal-details svelte-17914yi"><div><p class="svelte-17914yi"><strong>Product:</strong> </p> <p class="svelte-17914yi"><strong>Type:</strong> </p> <p class="svelte-17914yi"><strong>Price:</strong> </p> <!> <!> <!></div></div> <div class="rc-simulated-store-modal-buttons svelte-17914yi"><button type="button" class="rc-simulated-store-modal-button rc-simulated-store-modal-button-primary svelte-17914yi">Test valid purchase</button> <button type="button" class="rc-simulated-store-modal-button rc-simulated-store-modal-button-secondary svelte-17914yi">Test failed purchase</button> <button type="button" class="rc-simulated-store-modal-button rc-simulated-store-modal-button-cancel svelte-17914yi">Cancel</button></div></div></div></div>');const fI={hash:"svelte-17914yi",code:`.rc-simulated-store-modal-overlay.svelte-17914yi {position:fixed;top:0;left:0;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.5);display:flex;justify-content:center;align-items:center;font-family:-apple-system,
427
427
  BlinkMacSystemFont,
428
428
  avenir next,
429
429
  avenir,
@@ -440,6 +440,6 @@ but received
440
440
 
441
441
  /* Mobile responsive - full screen on small screens */
442
442
  @media (max-width: 768px) {.rc-simulated-store-modal-overlay.svelte-17914yi {padding:0;}.rc-simulated-store-modal.svelte-17914yi {width:100%;height:100%;border-radius:0;max-width:none;max-height:none;}.rc-simulated-store-modal-content.svelte-17914yi {height:100%;display:flex;flex-direction:column;justify-content:center;}
443
- }`};function dI(r,e){he(e,!1),we(r,uI);let t=J(e,"productIdentifier",8),n=J(e,"productType",8),a=J(e,"basePrice",8),i=J(e,"freeTrialPeriod",8,void 0),s=J(e,"introPriceFormatted",8,void 0),c=J(e,"discountFormatted",8,void 0),l=J(e,"onValidPurchase",8),u=J(e,"onFailedPurchase",8),d=J(e,"onCancel",8);function _(z){z.target===z.currentTarget&&d()()}Ln();var p=cI(),f=D(p),g=D(f),b=U(D(g),2),y=D(b),h=D(y),k=U(D(h)),x=U(h,2),v=U(D(x)),w=U(x,2),E=U(D(w)),I=U(w,2);{var T=z=>{var M=iI(),H=U(D(M));Y(()=>_e(H,` ${i()??""}`)),P(z,M)};W(I,z=>{i()&&z(T)})}var S=U(I,2);{var A=z=>{var M=sI(),H=U(D(M));Y(()=>_e(H,` ${s()??""}`)),P(z,M)};W(S,z=>{s()&&z(A)})}var C=U(S,2);{var N=z=>{var M=lI(),H=U(D(M));Y(()=>_e(H,` ${c()??""}`)),P(z,M)};W(C,z=>{c()&&z(N)})}var q=U(b,2),j=D(q),Z=U(j,2),O=U(Z,2);Y(()=>{_e(k,` ${t()??""}`),_e(v,` ${n()??""}`),_e(E,` ${a()??""}`)}),Lr("click",j,function(...z){var M;(M=l())==null||M.apply(this,z)}),Lr("click",Z,function(...z){var M;(M=u())==null||M.apply(this,z)}),Lr("click",O,function(...z){var M;(M=d())==null||M.apply(this,z)}),Lr("click",p,_),P(r,p),ve()}async function wg(r,e,t,n){const a=new Date,i=`test_${a.getTime()}_${Hn()}`,s=`test_store_operation_session_${Hn()}`,l={storeTransactionId:i,productIdentifier:r.identifier,purchaseDate:a},u=await e.postReceipt(t,r.identifier,r.price.currency,i,r.presentedOfferingContext,"purchase",n);return{customerInfo:bc(u),redemptionInfo:null,operationSessionId:s,storeTransaction:l}}function pI(r,e,t){const n=r.rcPackage.webBillingProduct,a=n.productType,i=n.freeTrialPhase,s=n.introPricePhase,c=n.discountPhase,l=n.price,u=d=>d?`${d.number} ${d.unit}${d.number>1?"s":""}`:"N/A";return new Promise((d,_)=>{var y,h;const p=Tc(),f=p.createElement("div");p.body.appendChild(f);const g=()=>{b&&Ba(b),p.body.removeChild(f)};let b=null;b=qn(dI,{target:f,props:{productIdentifier:n.identifier,productType:a,basePrice:l.formattedPrice,freeTrialPeriod:i?u(i.period):void 0,introPriceFormatted:(y=s==null?void 0:s.price)==null?void 0:y.formattedPrice,discountFormatted:(h=c==null?void 0:c.price)==null?void 0:h.formattedPrice,onValidPurchase:async()=>{g(),Pe.debugLog("[Test store] Performing test purchase. This purchase won't appear in production.");try{d(await wg(n,e,t,r.paywallId))}catch(k){_(k)}},onFailedPurchase:()=>{g(),Pe.debugLog("[Test store] Purchase failure simulated successfully in Test Store."),_(new Xe(Me.TestStoreSimulatedPurchaseError,Ua.getPublicMessage(Me.TestStoreSimulatedPurchaseError),"Simulated error successfully."))},onCancel:()=>{g(),_(new Xe(Me.UserCancelledError))}}})})}class _I{constructor(){ee(this,"virtualCurrenciesCache",new Map);ee(this,"CACHE_EXPIRY_MS",5*60*1e3)}invalidateAllCaches(){this.virtualCurrenciesCache.clear()}cacheVirtualCurrencies(e,t){this.virtualCurrenciesCache.set(e,{data:t,lastUpdatedAt:Date.now()})}getCachedVirtualCurrencies(e,t=!1){const n=this.virtualCurrenciesCache.get(e);return this.getCachedData(n??null,t)}invalidateVirtualCurrenciesCache(e){this.virtualCurrenciesCache.delete(e)}getCachedData(e,t=!1){return e?t?e.data:Date.now()-e.lastUpdatedAt>=this.CACHE_EXPIRY_MS?null:e.data:null}}function gI(r){return{balance:r.balance,name:r.name,code:r.code,serverDescription:r.description??null}}function fI(r){const e={};for(const[t,n]of Object.entries(r.virtual_currencies))e[t]=gI(n);return{all:e}}function mI(r,e){const t=r.webCheckoutURL;if(typeof t=="string"&&t.length>0)return t;if(typeof e=="string"&&e.length>0)return e}function hI(r,e){const t=r.webBillingProduct,n=mI(r,e),a=n!==void 0?{webCheckoutURL:n}:{},i=t.productType===Wr.Subscription,s=t.defaultSubscriptionOption;if(i&&s)return{hasTrial:s.trial!==null,hasIntroOffer:s.introPrice!==null,hasPromoOffer:s.discount!==null,...a};const c=t.defaultNonSubscriptionOption;return!i&&c?{hasTrial:!1,hasIntroOffer:!1,hasPromoOffer:c.discount!==null,...a}:{hasTrial:!1,hasIntroOffer:!1,hasPromoOffer:!1,...a}}function Pg(r){const e=Object.entries(r.packagesById).map(([t,n])=>[t,hI(n,r.webCheckoutURL)]);return Object.fromEntries(e)}const vI=(r,e)=>{var n;if(r.productType===Wr.Subscription){const a=((n=r.subscriptionOptions)==null?void 0:n[e.id])||r.defaultSubscriptionOption;if(!a)throw new fe(ye.ErrorSettingUpPurchase);return a}const t=r.defaultNonSubscriptionOption;if(!t)throw new fe(ye.ErrorSettingUpPurchase);return t},yI=(r,e)=>{const t=Ko(r,e);return{currency:t.currency,taxCalculationStatus:"unavailable",totalAmountInMicros:t.amountMicros,totalExcludingTaxInMicros:t.amountMicros,taxAmountInMicros:null,taxBreakdown:null}},xg=(r,e,t,n,a,i)=>{const s=r.webBillingProduct,c=vI(s,e),l=yI(s,c),u=gc({priceBreakdown:l,productDetails:s,purchaseOption:c,translator:n}),_=s.productType===Wr.Subscription?tr.buildStripeExpressCheckoutOptionsForSubscription(s,l,c,n,t,u,2,1):tr.buildStripeExpressCheckoutOptionsForNonSubscription(s,l,u,2,1);return i&&(_.buttonTheme={applePay:i,googlePay:i==="white-outline"?"white":i}),a&&(_.business={name:a}),_},Eg=(r,e,t,n,a,i,s,c)=>{if(!e.elements_configuration)throw new fe(ye.ErrorSettingUpPurchase);return tr.updateElementsConfiguration(r,e.elements_configuration),{expOptions:xg(n,a,t,i,s==null?void 0:s.app_name,c)}},bI=async(r,e,t,n,a,i,s)=>{var h,k;if(!r.elements_configuration)throw new fe(ye.ErrorSettingUpPurchase);const c=r.stripe_account_id,l=r.publishable_api_key,u=tr.getStripeLocale(a.bcp47Locale||a.fallbackBcp47Locale),d={fontSizeBase:"14px",fontFamily:Yo,spacingGridRow:"16px"},_=((h=Zo())==null?void 0:h.matchMedia)&&((k=Zo())==null?void 0:k.matchMedia("(max-width: 767px)").matches);let p="mobile";if(_?p="mobile":p="desktop",!c||!l)throw new fe(ye.ErrorSettingUpPurchase);const f=r.elements_configuration,{stripe:g,elements:b}=await tr.initializeStripe(c,l,f,i,u,d,p),y=xg(t,n,e,a,i==null?void 0:i.app_name,s);return{stripeInstance:g,elementsInstance:b,expOptions:y}};var kI=R("<div><!></div>");function wI(r,e){var T;he(e,!0);const t="express_purchase_button";let n=yr(e.translator);const a=yr(((T=e.brandingInfo)==null?void 0:T.appearance)??null);mr(hr,n),mr(Vn,a);let i=te(!0),s=te(!1),c=te(null),l=te(null),u=te(null);const d=S=>{const A=n_({errorCode:S.getErrorCode().toString(),errorMessage:S.message,mode:t});e.eventsTracker.trackSDKEvent(A),e.onError(S)};let _=!1;const p=async()=>{if(_)return;_=!0;let S;try{S=await e.purchaseOperationHelper.prepareCheckout(e.rcPackage.webBillingProduct.identifier,e.purchaseOption)}catch(C){d(C);return}if(!S.stripe_gateway_params){const C=new fe(ye.ErrorSettingUpPurchase,"We couldn’t download Stripe params for this purchase. Please try again.");d(C);return}const A="http://blank";try{if(!o(l)||!o(c)){const{stripeInstance:C,elementsInstance:N,expOptions:q}=await bI(S.stripe_gateway_params,A,e.rcPackage,e.purchaseOption,e.translator,e.brandingInfo,e.walletButtonTheme);F(l,C,!0),F(c,N,!0),F(u,q,!0)}else{const{expOptions:C}=Eg(o(c),S.stripe_gateway_params,A,e.rcPackage,e.purchaseOption,e.translator,e.brandingInfo,e.walletButtonTheme);F(u,C,!0)}}catch(C){d(C);return}F(i,!1)};ir(()=>{_=!1,p().then(()=>{})});const f=S=>{const A=ic({errorCode:S.gatewayErrorCode??null,errorMessage:S.message??"",mode:t});e.eventsTracker.trackSDKEvent(A),d(new fe(ye.ErrorSettingUpPurchase,"Failed to initialize payment form",S.message))},g=async(S,A)=>{var q;const{customerDetails:C,confirmationTokenId:N}=await tr.extractTaxCustomerDetails(S,A);if((q=e.brandingInfo)!=null&&q.gateway_tax_collection_enabled){const j=await e.purchaseOperationHelper.checkoutRefreshPricing({countryCode:C.countryCode,postalCode:C.postalCode}),Z=s_({taxCalculation:j,taxCustomerDetails:C,mode:t});e.eventsTracker.trackSDKEvent(Z)}return N};async function b(S){var q,j;if(!o(c)||!o(l))return!1;await tr.submitElements(o(c));const A=await e.purchaseOperationHelper.checkoutComplete(S,e.translator.selectedLocale),C=(q=A==null?void 0:A.gateway_params)==null?void 0:q.client_secret;if(!C)return!1;const N=(j=e.brandingInfo)!=null&&j.gateway_tax_collection_enabled?await g(o(c),o(l)):void 0;return await tr.confirmElements(o(l),o(c),C,N),!0}const y=async(S,A,C)=>{if(o(s))return;const N=l_({selectedPaymentMethod:S??null,mode:t});e.eventsTracker.trackSDKEvent(N),F(s,!0);try{const q=await b(A);if(F(s,!1),!q)return;const j=await e.purchaseOperationHelper.pollCurrentPurchaseForCompletion();e.onFinished(j),F(s,!1)}catch(q){if(q instanceof fe)d(q);else if(q instanceof Go){const j=ic({errorCode:q.gatewayErrorCode??null,errorMessage:q.message??"",mode:t});e.eventsTracker.trackSDKEvent(j),d(new fe(ye.ErrorSettingUpPurchase,"Failed to complete payment",q.message))}C.paymentFailed(),F(s,!1)}},h=async()=>{var A;const S=Zi({appearance:(A=e.brandingInfo)==null?void 0:A.appearance,rcPackage:e.rcPackage,purchaseOptionToUse:e.purchaseOption,customerEmail:e.customerEmail,mode:"express_purchase_button"});e.eventsTracker.trackSDKEvent(S);try{const C=await e.purchaseOperationHelper.checkoutStart({appUserId:e.appUserId,productId:e.rcPackage.webBillingProduct.identifier,purchaseOption:e.purchaseOption,presentedOfferingContext:e.rcPackage.webBillingProduct.presentedOfferingContext,customerEmail:e.customerEmail,metadata:e.metadata,locale:e.translator.selectedLocale}),N=C.management_url;if(!o(c))throw new fe(ye.ErrorSettingUpPurchase);const{expOptions:q}=Eg(o(c),C.gateway_params,N,e.rcPackage,e.purchaseOption,e.translator,e.brandingInfo,e.walletButtonTheme);return{applePay:q.applePay,lineItems:q.lineItems}}catch(C){throw d(C instanceof fe?C:new fe(ye.ErrorSettingUpPurchase)),C}},k=S=>{var A,C;(C=(A=e.listener)==null?void 0:A.onPurchaseStarted)==null||C.call(A,e.rcPackage),h().then(N=>S.resolve(N))},x=()=>{var S,A;e.eventsTracker.trackSDKEvent(o_({mode:"express_purchase_button"})),(A=(S=e.listener)==null?void 0:S.onPurchaseCancelled)==null||A.call(S)};function v(S){var C,N;const A=((C=S.availablePaymentMethods)==null?void 0:C.applePay)||((N=S.availablePaymentMethods)==null?void 0:N.googlePay);e.onReady&&e.onReady(!!A)}var w=kI(),E=D(w);{var I=S=>{x_(S,{get elements(){return o(c)},onError:f,onSubmit:y,onClick:k,onCancel:x,onReady:v,get expressCheckoutOptions(){return o(u)},forceEnableWalletMethods:!1,hideCheckoutSeparator:!0})};W(E,S=>{!o(i)&&o(c)&&o(u)&&e.brandingInfo&&S(I)})}P(r,w),ve()}class PI{constructor(e,t,n){Be(this,so);ee(this,"button");Ne(this,so,te(nr({props:n})));const i={updatePurchase:(s,c)=>{this.changePackage(s,c)}};this.state.props.onReady=s=>{t(i,s)},this.button=qn(wI,{target:e,props:this.state.props})}get state(){return o(G(this,so))}set state(e){F(G(this,so),e,!0)}changePackage(e,t){this.state.props&&(this.state.props.rcPackage=e,this.state.props.purchaseOption=t??e.webBillingProduct.defaultPurchaseOption)}}so=new WeakMap;const xI=new Set(["javascript:","data:","vbscript:"]);function EI(r){return xI.has(r.toLowerCase())}function SI(r,e){const t=r.trim();if(t.length===0)return!1;let n;try{n=new URL(t)}catch{return!1}return EI(n.protocol)?!1:e==="deep_link"?!0:n.protocol==="http:"||n.protocol==="https:"}const Sg='link[rel~="apple-touch-icon"]',Ig="data-rc-apple-touch-icon",Cg="true",Tg=`link[${Ig}="${Cg}"]`,II=r=>!!r.head.querySelector(Sg),CI=({doc:r,win:e,ignoredLink:t})=>{const n=r.head.querySelector(Sg);if(n&&n!==t)return!0;if(!e)return!1;let a=e;for(;a.parent!==a;){const i=a.parent;try{if(II(i.document))return!0}catch{return!1}a=i}return!1},TI=r=>{var e;(e=r.head.querySelector(Tg))==null||e.remove()},DI=({doc:r,win:e,href:t})=>{const n=r.head.querySelector(Tg);if(!t){n==null||n.remove();return}if(CI({doc:r,win:e,ignoredLink:n})){n==null||n.remove();return}const a=n??r.createElement("link");a.rel="apple-touch-icon",a.href=t,a.setAttribute(Ig,Cg),n||r.head.appendChild(a)};var Dg=(r=>(r.DisplayName="$displayName",r.Email="$email",r.PhoneNumber="$phoneNumber",r.IDFA="$idfa",r.IDFV="$idfv",r.GPSAdId="$gpsAdId",r.AndroidId="$androidId",r.AmazonAdId="$amazonAdId",r.IP="$ip",r.AdjustId="$adjustId",r.AmplitudeDeviceId="$amplitudeDeviceId",r.AmplitudeUserId="$amplitudeUserId",r.AppsflyerId="$appsflyerId",r.AppsflyerSharingFilter="$appsflyerSharingFilter",r.BranchId="$branchId",r.BrazeAliasName="$brazeAliasName",r.BrazeAliasLabel="$brazeAliasLabel",r.ClevertapId="$clevertapId",r.FbAnonId="$fbAnonId",r.MparticleId="$mparticleId",r.OnesignalId="$onesignalId",r.OnesignalUserId="$onesignalUserId",r.IntercomContactId="$intercomContactId",r.MediaSource="$mediaSource",r.Campaign="$campaign",r.AdGroup="$adGroup",r.AdId="$ad",r.Keyword="$keyword",r.Creative="$creative",r.APNSTokens="$apnsTokens",r.FCMTokens="$fcmTokens",r.AirshipChannelId="$airshipChannelId",r.SegmentId="$segmentId",r.IterableUserId="$iterableUserId",r.IterableCampaignId="$iterableCampaignId",r.IterableTemplateId="$iterableTemplateId",r.FirebaseAppInstanceId="$firebaseAppInstanceId",r.MixpanelDistinctId="$mixpanelDistinctId",r.ATTConsentStatus="$attConsentStatus",r.KochavaDeviceId="$kochavaDeviceId",r.DeviceVersion="$deviceVersion",r.PosthogUserId="$posthogUserId",r.TelemetryDeckUserId="$telemetryDeckUserId",r.TelemetryDeckAppId="$telemetryDeckAppId",r.AppleRefundHandlingPreference="$appleRefundHandlingPreference",r.CustomerioId="$customerioId",r.TenjinId="$tenjinId",r))(Dg||{});const Ag="$RCAnonymousID:";Mg=[cg],zg=[cg];const zr=class zr{constructor(e,t,n=xc,a=Ac,i,s,c){$g(ws,5,this);ee(this,"_API_KEY");ee(this,"_appUserId");ee(this,"_brandingInfo",null);ee(this,"_loadingResourcesPromise",null);ee(this,"_flags");ee(this,"_subscriberToken");ee(this,"_context");ee(this,"backend");ee(this,"purchaseOperationHelper");ee(this,"eventsTracker");ee(this,"inMemoryCache");var l;this._API_KEY=e,this._appUserId=t,this._flags={...Ac,...a},this._subscriberToken=i??null,this._context=s,ds(e)?Pe.debugLog("Initializing Purchases SDK with Web billing sandbox API Key"):Gn(e)&&Pe.debugLog("Initializing Purchases SDK with RC Test store API Key."),this.eventsTracker=new oI({apiKey:this._API_KEY,appUserId:this._appUserId,silent:!this._flags.collectAnalyticsEvents,rcSource:this._flags.rcSource??null,workflowContext:(l=this._context)==null?void 0:l.workflowContext,trace_id:c,httpConfig:n}),this.backend=new wS(this._API_KEY,n,this._context),this.inMemoryCache=new _I,this.purchaseOperationHelper=new Ci(this.backend,this.eventsTracker),this.eventsTracker.trackSDKEvent({eventName:Gr.SDKInitialized})}static setLogLevel(e){Pe.setLogLevel(e)}static setLogHandler(e){Pe.setLogHandler(e)}static setPlatformInfo(e){zr._platformInfo=e}static buildVariablesPerPackage(e,t={}){return pg(e,t)}static buildInfoPerPackage(e){return Pg(e)}static getPlatformInfo(){return zr._platformInfo}static getSharedInstance(){if(zr.isConfigured())return zr.instance;throw new ld}static isConfigured(){return zr.instance!==void 0}static configure(e,t,n,a){zr.instance!==void 0&&Pe.warnLog("Purchases is already initialized. You normally should only configure Purchases once. Creating and returning new instance.");let i;if(typeof e=="object"&&e!==null)i=e;else{if(typeof e!="string")throw new Xe(Me.ConfigurationError,"API key must be provided as a string");if(typeof t!="string")throw new Xe(Me.ConfigurationError,"App user ID must be provided as a string");i={apiKey:e,appUserId:t,httpConfig:n,flags:a}}return zr.configureInternal(i),zr.getSharedInstance()}static configureInternal(e){const{apiKey:t,appUserId:n,httpConfig:a,flags:i,subscriberToken:s,context:c,trace_id:l}=e,u=a??xc,d=i??Ac;zr.validateConfig(e),zr.instance=new zr(t,n,u,d,s,c,l)}static validateConfig(e){var t,n;PS(e.apiKey),Ec(e.appUserId),xS((t=e.httpConfig)==null?void 0:t.proxyURL),ES((n=e.httpConfig)==null?void 0:n.additionalHeaders)}async preload(){if(this.hasLoadedResources()){Pe.verboseLog("Purchases resources are loaded. Skipping.");return}if(this._loadingResourcesPromise!==null){Pe.verboseLog("Purchases resources are loading. Waiting."),await this._loadingResourcesPromise;return}return this._loadingResourcesPromise=this.fetchAndCacheBrandingInfo().catch(e=>{let t=`${e}`;e instanceof Xe&&(t=`${e.message}. ${e.underlyingErrorMessage?`Underlying error: ${e.underlyingErrorMessage}`:""}`),Pe.errorLog(`Error fetching branding info: ${t}`)}).finally(()=>{this._loadingResourcesPromise=null}),this._loadingResourcesPromise}async fetchAndCacheBrandingInfo(){if(Gn(this._API_KEY)){Pe.warnLog("Branding info is not available for RC Test Store API keys.");return}this._brandingInfo=await this.backend.getBrandingInfo(),this.syncApplePayWebsiteIcon()}syncApplePayWebsiteIcon(){var a,i;if(!this._flags.applePayBrandingLogoEnabled)return;const e=Dc(),t=Zo();if(!e)return;const n=(i=(a=this._brandingInfo)==null?void 0:a.app_icon)==null?void 0:i.trim();DI({doc:e,win:t,href:n?Za(n):null})}hasLoadedResources(){return this._brandingInfo!==null}async presentPaywall(e){var K,re,le,ne,ce,Q,ie;const t=e.htmlTarget;let n=!1;const a=Tc();let i=t??a.getElementById("rcb-ui-pw-root");if(i===null){n=!0;const V=a.createElement("div");V.id="rcb-ui-pw-root",V.className="rcb-ui-pw-root",V.style.zIndex=`${CS}`,V.style.position="fixed",V.style.top="0",V.style.left="0",V.style.width="100%",V.style.height="100%",V.style.overflow="auto",V.style.backgroundColor="var(--rc-purchases-ui-bg-color, Canvas)",a.body.offsetWidth>968&&(V.style.display="flex",V.style.justifyContent="center",V.style.alignItems="center"),V.style.transition="opacity 0.3s",V.style.opacity="0",a.body.appendChild(V),i=V}if(i===null)throw new Error("Could not generate a mount point for the paywall widget");const s=i,c=e.offering?e.offering:(await this.getOfferings()).current;if(!c)throw new Error("No offering found.");const l=await this.backend.getWorkflows(this._appUserId).catch(V=>(Pe.warnLog(`Failed to fetch workflows: ${V}`),null)),u=(K=l==null?void 0:l.workflows)==null?void 0:K.find(V=>V.offering_id===c.identifier);if(!u&&!c.paywallComponents)throw new Error("This offering doesn't have a paywall attached.");if(!u&&!c.uiConfig)throw new Error("No ui_config found for this offering, please contact support!");const d=(V,X)=>{const B={},oe=me=>me.toLowerCase().split("_")[0];Object.keys(V.components_localizations).forEach(me=>{B[oe(me)]===void 0&&(B[oe(me)]=[]),B[oe(me)].push(me)});const $=B[oe(X)];if(!$)return V.default_locale;const ue=$.find(me=>me.toLowerCase()===X);return ue||$[0]},_=e.selectedLocale?e.selectedLocale:navigator.language,p=c.paywallComponents?d(c.paywallComponents,_):_,f=new kn({},p,((re=c.paywallComponents)==null?void 0:re.default_locale)??Hr),g=Hn(),b={appUserId:this._appUserId,sessionId:g,offeringId:c.identifier,paywallRevision:0,paywallRcPublicId:((le=c.paywallComponents)==null?void 0:le.id)??null,presentedOfferingContext:(ce=(ne=c.availablePackages[0])==null?void 0:ne.webBillingProduct)==null?void 0:ce.presentedOfferingContext},y={displayMode:"full_screen",darkMode:((ie=(Q=Pn())==null?void 0:Q.matchMedia)==null?void 0:ie.call(Q,"(prefers-color-scheme: dark)").matches)??!1,locale:p},h=new Map(c.availablePackages.map(V=>[V.identifier,V.webBillingProduct.identifier])),k=V=>{if(V!==void 0)return h.get(V)},x=V=>{const X=V;return{type:"paywall_component_interacted",...b,...y,componentType:V.componentType,componentName:V.componentName,componentValue:V.componentValue,componentURL:X.componentURL,originIndex:X.originIndex,destinationIndex:X.destinationIndex,originContextName:X.originContextName,destinationContextName:X.destinationContextName,defaultIndex:X.defaultIndex,originPackageId:X.originPackageId,destinationPackageId:X.destinationPackageId,defaultPackageId:X.defaultPackageId,originProductId:X.originProductId??k(X.originPackageId),destinationProductId:X.destinationProductId??k(X.destinationPackageId),defaultProductId:X.defaultProductId??k(X.defaultPackageId),currentPackageId:X.currentPackageId,resultingPackageId:X.resultingPackageId,currentProductId:X.currentProductId??k(X.currentPackageId),resultingProductId:X.resultingProductId??k(X.resultingPackageId)}},v=V=>{this.eventsTracker.trackPaywallEvent({type:V,...b,...V==="paywall_impression"?{...y}:{}})},w=async(V,X=p)=>{var $,ue;const B=c.availablePackages.find(me=>me.identifier===V);if(B===void 0)throw new Error(`No package found for ${V}`);return{...await this.purchase({rcPackage:B,htmlTarget:e.purchaseHtmlTarget,customerEmail:e.customerEmail,showDiscountCodeField:e.showDiscountCodeField,discountCode:e.discountCode,onDiscountCodeChanged:e.onDiscountCodeChanged,selectedLocale:X,defaultLocale:(($=c.paywallComponents)==null?void 0:$.default_locale)??Hr,paywallId:(ue=c.paywallComponents)==null?void 0:ue.id,paywallSessionId:g}),selectedPackage:B}};let E=null,I=null;const T=V=>{const X=V.target;if(!(X instanceof Element))return;const B=X.closest("a[href]");if(!(B instanceof HTMLAnchorElement)||!s.contains(B))return;const oe=B.getAttribute("href")??B.href;oe&&(I={url:oe,defaultPrevented:V.defaultPrevented})},S=V=>{var oe;const X=(E==null?void 0:E.componentURL)===V?E:null;if(E=null,e.onNavigateToUrl){e.onNavigateToUrl(V);return}if((X==null?void 0:X.componentType)==="text"){queueMicrotask(()=>{var me;const $=(I==null?void 0:I.url)===V?I:null;if(I=null,($==null?void 0:$.defaultPrevented)!==!0)return;(me=Pn().open(V,"_blank"))==null||me.focus()});return}(oe=Pn().open(V,"_blank"))==null||oe.focus()},A=async V=>{var B;if(e.onCompleteWorkflowNavigate){await e.onCompleteWorkflowNavigate(V);return}if(!SI(V.url,V.method)){Pe.warnLog("Blocked complete-workflow navigation to a disallowed URL.");return}const X=Pn();V.method==="external_browser"?(B=X.open(V.url,"_blank","noopener,noreferrer"))==null||B.focus():X.location.assign(V.url)},C=()=>{},N=()=>{if(e.onVisitCustomerCenter){e.onVisitCustomerCenter();return}},q=pg(c,{translator:f}),j=Pg(c),Z=e.listener,O=V=>{if(Z!=null&&Z.onPurchaseStarted)try{Z.onPurchaseStarted(V)}catch(X){Pe.errorLog(`Error in listener.onPurchaseStarted: ${X}`)}},z=V=>{if(V instanceof Xe&&V.errorCode===Me.UserCancelledError){if(Z!=null&&Z.onPurchaseCancelled)try{Z.onPurchaseCancelled()}catch(X){Pe.errorLog(`Error in listener.onPurchaseCancelled: ${X}`)}}else{if(Z!=null&&Z.onPurchaseError)try{Z.onPurchaseError(V)}catch(X){Pe.errorLog(`Error in listener.onPurchaseError: ${X}`)}e.onPurchaseError&&e.onPurchaseError(V)}};let M,H,L=_;if(u){const V=await this.backend.getWorkflowById(this._appUserId,u.id).catch(B=>(Pe.warnLog(`Failed to fetch workflow data, falling back to standard paywall: ${B}`),null)),X=V?Sk(V):null;if(V&&X){H=V,M=X;const B=X.pages[X.initial_page_id];B&&(L=d(B,_))}else{if(V&&!X&&Pe.warnLog("Failed to resolve workflow navigation data, falling back to standard paywall."),!c.paywallComponents)throw new Error("This offering doesn't have a paywall attached and the workflow could not be loaded.");if(!c.uiConfig)throw new Error("No ui_config found for this offering, please contact support!")}}return new Promise((V,X)=>{let B=null,oe=!1,$=!1;s.addEventListener("click",T);const ue=()=>{$||($=!0,oe&&v("paywall_close"))},me=Ee=>{!oe||$||this.eventsTracker.trackPaywallEvent(x(Ee))},xe=Ee=>{const pe=Ee;E=pe.componentURL===void 0?null:{componentType:Ee.componentType,componentURL:pe.componentURL},me(Ee)},qe=new MutationObserver(()=>{s.childElementCount===0&&(ue(),qe.disconnect())}),ze=()=>{qe.disconnect(),s.removeEventListener("click",T),ue(),B&&(Ba(B),B=null),s.innerHTML="",n&&s.parentNode&&s.parentNode.removeChild(s)},De=()=>{Pe.debugLog("Purchase cancelled by user"),ze(),X(new Xe(Me.UserCancelledError)),this.eventsTracker.flushAllEvents().catch(Ee=>{Pe.debugLog(`Failed to flush paywall events on close: ${Ee}`)})},be=Ee=>{ze(),V(Ee),this.eventsTracker.flushAllEvents().catch(pe=>{Pe.debugLog(`Failed to flush paywall events after purchase: ${pe}`)})},Ae=Ee=>pe=>{pe instanceof Xe&&pe.errorCode===Me.UserCancelledError&&v("paywall_cancel"),Pe.errorLog(`${Ee}: ${pe}`),z(pe)},Fe=this.getWalletButtonRender(c,be,e.customerEmail,Ae("Error presenting express purchase button"),Z);if(s.innerHTML="",M&&H)try{const Ee=pe=>{if(pe.reason==="completed")this.eventsTracker.trackSDKEvent({eventName:Gr.WorkflowStepCompleted,properties:{workflow_id:pe.workflowId,step_id:pe.stepId,...pe.toStepId!==void 0?{to_step_id:pe.toStepId}:{},is_first_step:pe.isFirstStep,is_last_step:pe.isLastStep}});else{const Ye=pe.reason;this.eventsTracker.trackSDKEvent({eventName:Gr.WorkflowStepStarted,properties:{workflow_id:pe.workflowId,step_id:pe.stepId,...pe.fromStepId!==void 0?{from_step_id:pe.fromStepId}:{},entry_reason:Ye,is_first_step:pe.isFirstStep,is_last_step:pe.isLastStep}}),pe.isLastStep&&!oe&&(v("paywall_impression"),oe=!0)}};B=qn(rk,{target:s,props:{workflow:M,uiConfig:H.ui_config,selectedLocale:L,hideBackButtons:e.hideBackButtons,variablesPerPackage:q,infoPerPackage:j,walletButtonRender:Fe,onPurchaseClicked:pe=>{const Ye=c.packagesById[pe];Ye&&O(Ye),w(pe,L).then(be).catch(Ae("Error performing purchase"))},onClose:De,onExitBack:()=>{if(e.onBack){e.onBack(De);return}De()},onCompleteWorkflowNavigate:A,onNavigateToUrlClicked:S,onRestorePurchasesClicked:C,onVisitCustomerCenterClicked:N,onComponentInteraction:xe,onStepChanged:Ee,globalVariables:e.customVariables?Np(e.customVariables,H.ui_config):void 0,maxContentWidth:H.content_max_width?String(H.content_max_width):void 0}})}catch(Ee){ze(),X(Ee);return}else B=qn(Gp,{target:s,props:{paywallData:c.paywallComponents,selectedLocale:p,onNavigateToUrlClicked:S,appUserId:this._appUserId,onCompleteWorkflowNavigate:A,onVisitCustomerCenterClicked:N,uiConfig:c.uiConfig,onBackClicked:()=>{if(e.onBack){e.onBack(De);return}De()},onRestorePurchasesClicked:C,onPurchaseClicked:Ee=>{const pe=c.packagesById[Ee];pe&&O(pe),w(Ee).then(be).catch(Ae("Error performing purchase"))},onError:Ee=>{ze(),X(Ee)},variablesPerPackage:q,infoPerPackage:j,hideBackButtons:e.hideBackButtons,walletButtonRender:Fe,customVariables:e.customVariables,onComponentInteraction:xe}});qe.observe(s,{childList:!0}),M||(v("paywall_impression"),oe=!0),s.style.opacity==="0"&&(s.style.opacity="1")})}async getOfferings(e){Ex(e==null?void 0:e.currency);const t=this._appUserId,n=await this.backend.getOfferings(t),a=(e==null?void 0:e.offeringIdentifier)===Sc.Current?n.current_offering_id:e==null?void 0:e.offeringIdentifier;return a&&(n.offerings=n.offerings.filter(i=>i.identifier===a)),await this.getAllOfferings(n,t,e)}async getCurrentOfferingForPlacement(e,t){const n=this._appUserId,a=await this.backend.getOfferings(n),i=await this.getAllOfferings(a,n,t),s=a.placements??null;return s==null?null:SS(s,i.all,e)}async getAllOfferings(e,t,n){const a=e.offerings.flatMap(s=>s.packages).map(s=>s.platform_product_identifier),i=await this.backend.getProducts(t,a,n==null?void 0:n.currency,n==null?void 0:n.discountCode);return this.logMissingProductIds(a,i.product_details),IS(e,i)}async isEntitledTo(e){const t=await this.getCustomerInfo();return e in t.entitlements.active}purchasePackage(e,t,n){return this.purchase({rcPackage:e,customerEmail:t,htmlTarget:n})}async presentExpressPurchaseButton(e){const{rcPackage:t,purchaseOption:n,htmlTarget:a,customerEmail:i,selectedLocale:s=Hr,defaultLocale:c=Hr,onButtonReady:l=()=>{},walletButtonTheme:u}=e,d=this._appUserId;if(!ps(this._API_KEY))throw new Error("The Express Purchase button is only available with Web Billing API Keys.");const _=n??t.webBillingProduct.defaultPurchaseOption,f={...this._flags.autoCollectUTMAsMetadata?fs():{},...e.metadata||{}},g=new kn({},s,c);return new Promise((b,y)=>{const h=async x=>{const v=a_({redemptionInfo:x.redemptionInfo,mode:"express_purchase_button"});this.eventsTracker.trackSDKEvent(v),Pe.debugLog("Purchase finished");const w={customerInfo:await this._getCustomerInfoForUserId(d),redemptionInfo:x.redemptionInfo,operationSessionId:x.operationSessionId,attributionMetadata:x.attributionMetadata,storeTransaction:{storeTransactionId:x.storeTransactionIdentifier,productIdentifier:x.productIdentifier,purchaseDate:x.purchaseDate}};b(w)},k=x=>{var w;const v=i_({errorCode:(w=x.errorCode)==null?void 0:w.toString(),errorMessage:x.message,mode:"express_purchase_button"});this.eventsTracker.trackSDKEvent(v),y(x)};new PI(a,l,{appUserId:d,rcPackage:t,purchaseOption:_,customerEmail:i,purchases:this,eventsTracker:this.eventsTracker,brandingInfo:this._brandingInfo,purchaseOperationHelper:this.purchaseOperationHelper,metadata:f,customTranslations:e.labelsOverride,translator:g,onFinished:h,onError:k,listener:e.listener,walletButtonTheme:u})})}getWalletButtonRender(e,t,n,a,i){if(ps(this._API_KEY))return(s,{selectedPackageId:c,onReady:l,walletButtonTheme:u})=>{const d=e.packagesById[c];if(!d)return{};let _=d,p=null;return this.presentExpressPurchaseButton({rcPackage:d,customerEmail:n,htmlTarget:s,onButtonReady:(f,g)=>{p=f,l==null||l(g)},listener:i,walletButtonTheme:u}).then(f=>{t({...f,selectedPackage:_})}).catch(a),{destroy(){s.innerHTML=""},update({selectedPackageId:f}){if(p){const g=e.packagesById[f];if(!g)return;const b=g.webBillingProduct.defaultPurchaseOption;_=g,p.updatePurchase(g,b)}}}}}async purchase(e){if(e.productChangeInfo)return await this.productChangePurchase(e);if(Gn(this._API_KEY)){const a=await pI(e,this.backend,this._appUserId);return this.inMemoryCache.invalidateAllCaches(),a}return kc(this._API_KEY)?await this.performPaddlePurchase(e):wc(this._API_KEY)?await this.performStripePurchase(e):await this.performWebBillingPurchase(e)}async performStripePurchase(e){var I;const{rcPackage:t,purchaseOption:n,htmlTarget:a,customerEmail:i,workflowPurchaseContext:s,attributionMetadata:c,paywallId:l,paywallSessionId:u,selectedLocale:d=Hr,defaultLocale:_=Hr,skipSuccessPage:p=!1}=e,f=this.resolveHTMLTarget(a),g=this._appUserId;Pe.debugLog(`Presenting Stripe checkout for package ${t.identifier}`);const b=d||_,y=n??t.webBillingProduct.defaultPurchaseOption,h=Zi({appearance:(I=this._brandingInfo)==null?void 0:I.appearance,rcPackage:t,purchaseOptionToUse:y,customerEmail:i});this.eventsTracker.trackSDKEvent(h);const x={...this._flags.autoCollectUTMAsMetadata?fs():{},...e.metadata||{}};let v=null;const w=this._brandingInfo;w&&e.brandingAppearanceOverride&&(w.appearance=e.brandingAppearanceOverride);const E=a!==void 0;return new Promise((T,S)=>{const A=Pn();E||A.history.pushState({checkoutOpen:!0},"");const C=()=>{v&&Ba(v),f.innerHTML=""},N=this.createCheckoutOnCloseHandler(S,C);!E&&N&&A.addEventListener("popstate",N);const q=this.createCheckoutOnFinishedHandler(T,g,t,C),j=this.createCheckoutOnErrorHandler(S,C);v=qn(TE,{target:f,props:{isInElement:E,appUserId:g,rcPackage:t,purchaseOption:y,customerEmail:i,workflowPurchaseContext:s,attributionMetadata:c,paywallId:l,paywallSessionId:u,onFinished:q,onClose:N,onError:j,eventsTracker:this.eventsTracker,brandingInfo:this._brandingInfo,purchaseOperationHelper:this.purchaseOperationHelper,selectedLocale:b,metadata:x,defaultLocale:_,customTranslations:e.labelsOverride,skipSuccessPage:p}})})}async performWebBillingPurchase(e){var S;const{rcPackage:t,purchaseOption:n,htmlTarget:a,customerEmail:i,workflowPurchaseContext:s,attributionMetadata:c,selectedLocale:l=Hr,defaultLocale:u=Hr,skipSuccessPage:d=!1,showDiscountCodeField:_=!1,discountCode:p,onDiscountCodeChanged:f}=e,g=this.resolveHTMLTarget(a),b=this._appUserId;Pe.debugLog(`Presenting purchase form for package ${t.identifier}`);const y=l||u,h=n??t.webBillingProduct.defaultPurchaseOption,k=Zi({appearance:(S=this._brandingInfo)==null?void 0:S.appearance,rcPackage:t,purchaseOptionToUse:h,customerEmail:i});this.eventsTracker.trackSDKEvent(k);const v={...this._flags.autoCollectUTMAsMetadata?fs():{},...e.metadata||{}};let w=null;const E=this._brandingInfo;E&&e.brandingAppearanceOverride&&(E.appearance=e.brandingAppearanceOverride);const I=Xw({brandingInfo:E,termsAndConditionsUrl:e.termsAndConditionsUrl}),T=a!==void 0;return new Promise((A,C)=>{const N=Pn();T||N.history.pushState({checkoutOpen:!0},"");const q=()=>{w&&Ba(w),g.innerHTML=""},j=this.createCheckoutOnCloseHandler(C,q);!T&&j&&N.addEventListener("popstate",j);const Z=this.createCheckoutOnFinishedHandler(A,b,t,q),O=this.createCheckoutOnErrorHandler(C,q);w=qn(Ix,{target:g,props:{isInElement:T,appUserId:b,rcPackage:t,purchaseOption:h,customerEmail:i,workflowPurchaseContext:s,attributionMetadata:c,paywallId:e.paywallId,paywallSessionId:e.paywallSessionId,onFinished:Z,onClose:j,onError:O,purchases:this,eventsTracker:this.eventsTracker,brandingInfo:this._brandingInfo,purchaseOperationHelper:this.purchaseOperationHelper,selectedLocale:y,metadata:v,defaultLocale:u,customTranslations:e.labelsOverride,termsAndConditionsUrl:I,showDiscountCodeField:_,discountCode:p,onDiscountCodeChanged:f,skipSuccessPage:d,hideBackButton:this.shouldHideCheckoutBackButton()}})})}async performPaddlePurchase(e){var w;const{rcPackage:t,purchaseOption:n,customerEmail:a,attributionMetadata:i,workflowPurchaseContext:s,selectedLocale:c=Hr,defaultLocale:l=Hr,skipSuccessPage:u=!1,htmlTarget:d}=e,_=this.resolveHTMLTarget(d),p=this._appUserId;Pe.debugLog(`Presenting Paddle checkout for package ${t.identifier}`);const f=n??t.webBillingProduct.defaultPurchaseOption,b={source:"paddle",...this._flags.autoCollectUTMAsMetadata?fs():{},...e.metadata||{}},y=this._brandingInfo;y&&e.brandingAppearanceOverride&&(y.appearance=e.brandingAppearanceOverride);const h=Zi({appearance:(w=this._brandingInfo)==null?void 0:w.appearance,rcPackage:t,purchaseOptionToUse:f,customerEmail:a});this.eventsTracker.trackSDKEvent(h);const k=new Jx(this.backend,this.eventsTracker);let x=null;const v=d!==void 0;return new Promise((E,I)=>{const T=Pn();v||T.history.pushState({checkoutOpen:!0},"");const S=()=>{x&&Ba(x),_.innerHTML=""},A=this.createCheckoutOnCloseHandler(I,S)??(()=>{S()});v||T.addEventListener("popstate",A);const C=this.createCheckoutOnFinishedHandler(E,p,t,S),N=this.createCheckoutOnErrorHandler(I);x||(x=qn(yE,{target:_,props:{eventsTracker:this.eventsTracker,brandingInfo:this._brandingInfo,selectedLocale:c||l,defaultLocale:l,customTranslations:e.labelsOverride,isInElement:v,onClose:A,onFinished:C,onError:N,skipSuccessPage:u,productDetails:t.webBillingProduct,rcPackage:t,appUserId:p,purchaseOption:f,customerEmail:a,attributionMetadata:i,workflowPurchaseContext:s,metadata:b,unmountPaddlePurchaseUi:S,paddleService:k,hideBackButton:this.shouldHideCheckoutBackButton()}}))})}resolveHTMLTarget(e){const t=Tc();let n=e??t.getElementById("rcb-ui-root");if(n===null){const a=t.createElement("div");a.className="rcb-ui-root",t.body.appendChild(a),n=a}if(n===null)throw new Error("Could not generate a mount point for the billing widget");return n}createCheckoutOnCloseHandler(e,t){if(this._flags.rcSource&&kg.includes(this._flags.rcSource))return;const a=()=>{const i=o_();this.eventsTracker.trackSDKEvent(i),Pn().removeEventListener("popstate",a),t==null||t(),Pe.debugLog("Purchase cancelled by user"),e(new Xe(Me.UserCancelledError))};return a}shouldHideCheckoutBackButton(){return this._flags.hideBackButton===!0||!!this._flags.rcSource&&kg.includes(this._flags.rcSource)}createCheckoutOnFinishedHandler(e,t,n,a){return async s=>{const c=a_({redemptionInfo:s.redemptionInfo});this.eventsTracker.trackSDKEvent(c),this.inMemoryCache.invalidateAllCaches(),Pe.debugLog("Purchase finished"),a==null||a();const l={customerInfo:await this._getCustomerInfoForUserId(t),redemptionInfo:s.redemptionInfo,operationSessionId:s.operationSessionId,attributionMetadata:s.attributionMetadata,storeTransaction:{storeTransactionId:s.storeTransactionIdentifier,productIdentifier:n.webBillingProduct.identifier,purchaseDate:s.purchaseDate}};e(l)}}createCheckoutOnErrorHandler(e,t){return a=>{var s;const i=i_({errorCode:(s=a.errorCode)==null?void 0:s.toString(),errorMessage:a.message});this.eventsTracker.trackSDKEvent(i),t==null||t(),e(Xe.getForPurchasesFlowError(a))}}_isConfiguredWithSimulatedStore(){return Gn(this._API_KEY)}_shouldForceEnableWalletMethods(){return!!this._flags.forceEnableWalletMethods}async _postSimulatedStoreReceipt(e){if(!Gn(this._API_KEY))throw new Xe(Me.ConfigurationError,"Posting a test store receipt is only available for RC Test Store API keys.");return await wg(e,this.backend,this._appUserId,void 0)}async getCustomerInfo(){return await this._getCustomerInfoForUserId(this._appUserId)}getAppUserId(){return this._appUserId}async setAttributes(e){return await this.getCustomerInfo(),await this.backend.setAttributes(this._appUserId,e)}async changeUser(e){return await this.replaceUserId(e),await this.getCustomerInfo()}async identifyUser(e){if(Ec(e),e===this._appUserId)return Pe.debugLog(`aliasUser called with the current appUserID: ${e}. Ignoring.`),{customerInfo:await this.getCustomerInfo(),wasCreated:!1};const t=await this.backend.identify(this._appUserId,e);return await this.replaceUserId(e),{customerInfo:bc(t),wasCreated:t.was_created}}async productChangePurchase(e){const t=e.productChangeInfo;if(!t)throw new Xe(Me.PurchaseInvalidError,"productChangeInfo is required.");const n=t.subscriptionId||void 0,a=t.productIdentifier||void 0,i=t.subscriberToken??this._subscriberToken??void 0,{rcPackage:s,htmlTarget:c}=e,l=s.webBillingProduct.identifier;if(!i)throw new Xe(Me.ConfigurationError,"subscriberToken is required for product changes.","Pass a subscriber access token via PurchasesConfig.subscriberToken or productChangeInfo.subscriberToken.");this.validateSubscriberToken(i);const u=this.resolveHTMLTarget(c),d=c!==void 0,_=new DE(this.backend);let p=null;return new Promise((f,g)=>{const b=Pn();d||b.history.pushState({checkoutOpen:!0},"");const y=()=>{p&&Ba(p),u.innerHTML=""},h=this.createCheckoutOnCloseHandler(g,y);!d&&h&&b.addEventListener("popstate",h);const k=async v=>{this.inMemoryCache.invalidateAllCaches(),y();try{const w=await this.getCustomerInfo();f({customerInfo:w,redemptionInfo:null,operationSessionId:v.operationSessionId,storeTransaction:{storeTransactionId:v.operationSessionId,productIdentifier:v.newProductId,purchaseDate:new Date},productChange:{changeType:v.changeType}})}catch(w){g(w)}},x=this.createCheckoutOnErrorHandler(g);p=qn(BE,{target:u,props:{newProductId:l,subscriptionId:n,productIdentifier:a,subscriberToken:i,brandingInfo:this._brandingInfo,isInElement:d,isSandbox:this.isSandbox(),productChangeOperationHelper:_,onFinished:k,onClose:h,onError:x}})})}validateSubscriberToken(e){if(ps(e)||kc(e)||wc(e)||Gn(e)||e.startsWith("sk_")||!e)throw new Xe(Me.ConfigurationError,"Invalid subscriber token.")}async replaceUserId(e){Ec(e),this._appUserId=e,await this.eventsTracker.updateUser(e),this.inMemoryCache.invalidateAllCaches()}logMissingProductIds(e,t){const n={};t.forEach(i=>n[i.identifier]=i);const a=[];e.forEach(i=>{n[i]===void 0&&a.push(i)}),a.length>0&&Pe.debugLog(`Could not find product data for product ids:
443
+ }`};function mI(r,e){fe(e,!1),we(r,fI);let t=X(e,"productIdentifier",8),n=X(e,"productType",8),a=X(e,"basePrice",8),i=X(e,"freeTrialPeriod",8,void 0),s=X(e,"introPriceFormatted",8,void 0),c=X(e,"discountFormatted",8,void 0),l=X(e,"onValidPurchase",8),u=X(e,"onFailedPurchase",8),d=X(e,"onCancel",8);function p(M){M.target===M.currentTarget&&d()()}qn();var _=gI(),h=D(_),f=D(h),b=B(D(f),2),v=D(b),m=D(v),k=B(D(m)),x=B(m,2),y=B(D(x)),w=B(x,2),P=B(D(w)),S=B(w,2);{var T=M=>{var z=dI(),U=B(D(z));V(()=>ge(U,` ${i()??""}`)),E(M,z)};H(S,M=>{i()&&M(T)})}var I=B(S,2);{var A=M=>{var z=pI(),U=B(D(z));V(()=>ge(U,` ${s()??""}`)),E(M,z)};H(I,M=>{s()&&M(A)})}var C=B(I,2);{var L=M=>{var z=_I(),U=B(D(z));V(()=>ge(U,` ${c()??""}`)),E(M,z)};H(C,M=>{c()&&M(L)})}var q=B(b,2),j=D(q),Y=B(j,2),N=B(Y,2);V(()=>{ge(k,` ${t()??""}`),ge(y,` ${n()??""}`),ge(P,` ${a()??""}`)}),Br("click",j,function(...M){var z;(z=l())==null||z.apply(this,M)}),Br("click",Y,function(...M){var z;(z=u())==null||z.apply(this,M)}),Br("click",N,function(...M){var z;(z=d())==null||z.apply(this,M)}),Br("click",_,p),E(r,_),me()}async function Cg(r,e,t,n){const a=new Date,i=`test_${a.getTime()}_${Vn()}`,s=`test_store_operation_session_${Vn()}`,l={storeTransactionId:i,productIdentifier:r.identifier,purchaseDate:a},u=await e.postReceipt(t,r.identifier,r.price.currency,i,r.presentedOfferingContext,"purchase",n);return{customerInfo:yc(u),redemptionInfo:null,operationSessionId:s,storeTransaction:l}}function hI(r,e,t){const n=r.rcPackage.webBillingProduct,a=n.productType,i=n.freeTrialPhase,s=n.introPricePhase,c=n.discountPhase,l=n.price,u=d=>d?`${d.number} ${d.unit}${d.number>1?"s":""}`:"N/A";return new Promise((d,p)=>{var v,m;const _=Cc(),h=_.createElement("div");_.body.appendChild(h);const f=()=>{b&&Eo(b),_.body.removeChild(h)};let b=null;b=ua(mI,{target:h,props:{productIdentifier:n.identifier,productType:a,basePrice:l.formattedPrice,freeTrialPeriod:i?u(i.period):void 0,introPriceFormatted:(v=s==null?void 0:s.price)==null?void 0:v.formattedPrice,discountFormatted:(m=c==null?void 0:c.price)==null?void 0:m.formattedPrice,onValidPurchase:async()=>{f(),xe.debugLog("[Test store] Performing test purchase. This purchase won't appear in production.");try{d(await Cg(n,e,t,r.paywallId))}catch(k){p(k)}},onFailedPurchase:()=>{f(),xe.debugLog("[Test store] Purchase failure simulated successfully in Test Store."),p(new Xe(Le.TestStoreSimulatedPurchaseError,Ua.getPublicMessage(Le.TestStoreSimulatedPurchaseError),"Simulated error successfully."))},onCancel:()=>{f(),p(new Xe(Le.UserCancelledError))}}})})}class vI{constructor(){re(this,"virtualCurrenciesCache",new Map);re(this,"CACHE_EXPIRY_MS",5*60*1e3)}invalidateAllCaches(){this.virtualCurrenciesCache.clear()}cacheVirtualCurrencies(e,t){this.virtualCurrenciesCache.set(e,{data:t,lastUpdatedAt:Date.now()})}getCachedVirtualCurrencies(e,t=!1){const n=this.virtualCurrenciesCache.get(e);return this.getCachedData(n??null,t)}invalidateVirtualCurrenciesCache(e){this.virtualCurrenciesCache.delete(e)}getCachedData(e,t=!1){return e?t?e.data:Date.now()-e.lastUpdatedAt>=this.CACHE_EXPIRY_MS?null:e.data:null}}function yI(r){return{balance:r.balance,name:r.name,code:r.code,serverDescription:r.description??null}}function bI(r){const e={};for(const[t,n]of Object.entries(r.virtual_currencies))e[t]=yI(n);return{all:e}}function kI(r,e){const t=r.webCheckoutURL;if(typeof t=="string"&&t.length>0)return t;if(typeof e=="string"&&e.length>0)return e}function wI(r,e){const t=r.webBillingProduct,n=kI(r,e),a=n!==void 0?{webCheckoutURL:n}:{},i=t.productType===Gr.Subscription,s=t.defaultSubscriptionOption;if(i&&s)return{hasTrial:s.trial!==null,hasIntroOffer:s.introPrice!==null,hasPromoOffer:s.discount!==null,...a};const c=t.defaultNonSubscriptionOption;return!i&&c?{hasTrial:!1,hasIntroOffer:!1,hasPromoOffer:c.discount!==null,...a}:{hasTrial:!1,hasIntroOffer:!1,hasPromoOffer:!1,...a}}function Tg(r){const e=Object.entries(r.packagesById).map(([t,n])=>[t,wI(n,r.webCheckoutURL)]);return Object.fromEntries(e)}const PI=(r,e)=>{var n;if(r.productType===Gr.Subscription){const a=((n=r.subscriptionOptions)==null?void 0:n[e.id])||r.defaultSubscriptionOption;if(!a)throw new _e(be.ErrorSettingUpPurchase);return a}const t=r.defaultNonSubscriptionOption;if(!t)throw new _e(be.ErrorSettingUpPurchase);return t},xI=(r,e)=>{const t=Zo(r,e);return{currency:t.currency,taxCalculationStatus:"unavailable",totalAmountInMicros:t.amountMicros,totalExcludingTaxInMicros:t.amountMicros,taxAmountInMicros:null,taxBreakdown:null}},Dg=(r,e,t,n,a,i)=>{const s=r.webBillingProduct,c=PI(s,e),l=xI(s,c),u=gc({priceBreakdown:l,productDetails:s,purchaseOption:c,translator:n}),p=s.productType===Gr.Subscription?nr.buildStripeExpressCheckoutOptionsForSubscription(s,l,c,n,t,u,2,1):nr.buildStripeExpressCheckoutOptionsForNonSubscription(s,l,u,2,1);return i&&(p.buttonTheme={applePay:i,googlePay:i==="white-outline"?"white":i}),a&&(p.business={name:a}),p},Ag=(r,e,t,n,a,i,s,c)=>{if(!e.elements_configuration)throw new _e(be.ErrorSettingUpPurchase);return nr.updateElementsConfiguration(r,e.elements_configuration),{expOptions:Dg(n,a,t,i,s==null?void 0:s.app_name,c)}},EI=async(r,e,t,n,a,i,s)=>{var m,k;if(!r.elements_configuration)throw new _e(be.ErrorSettingUpPurchase);const c=r.stripe_account_id,l=r.publishable_api_key,u=nr.getStripeLocale(a.bcp47Locale||a.fallbackBcp47Locale),d={fontSizeBase:"14px",fontFamily:Ko,spacingGridRow:"16px"},p=((m=$o())==null?void 0:m.matchMedia)&&((k=$o())==null?void 0:k.matchMedia("(max-width: 767px)").matches);let _="mobile";if(p?_="mobile":_="desktop",!c||!l)throw new _e(be.ErrorSettingUpPurchase);const h=r.elements_configuration,{stripe:f,elements:b}=await nr.initializeStripe(c,l,h,i,u,d,_),v=Dg(t,n,e,a,i==null?void 0:i.app_name,s);return{stripeInstance:f,elementsInstance:b,expOptions:v}};var SI=R("<div><!></div>");function II(r,e){var T;fe(e,!0);const t="express_purchase_button";let n=br(e.translator);const a=br(((T=e.brandingInfo)==null?void 0:T.appearance)??null);mr(vr,n),mr(Un,a);let i=te(!0),s=te(!1),c=te(null),l=te(null),u=te(null);const d=I=>{const A=i_({errorCode:I.getErrorCode().toString(),errorMessage:I.message,mode:t});e.eventsTracker.trackSDKEvent(A),e.onError(I)};let p=!1;const _=async()=>{if(p)return;p=!0;let I;try{I=await e.purchaseOperationHelper.prepareCheckout(e.rcPackage.webBillingProduct.identifier,e.purchaseOption)}catch(C){d(C);return}if(!I.stripe_gateway_params){const C=new _e(be.ErrorSettingUpPurchase,"We couldn’t download Stripe params for this purchase. Please try again.");d(C);return}const A="http://blank";try{if(!o(l)||!o(c)){const{stripeInstance:C,elementsInstance:L,expOptions:q}=await EI(I.stripe_gateway_params,A,e.rcPackage,e.purchaseOption,e.translator,e.brandingInfo,e.walletButtonTheme);F(l,C,!0),F(c,L,!0),F(u,q,!0)}else{const{expOptions:C}=Ag(o(c),I.stripe_gateway_params,A,e.rcPackage,e.purchaseOption,e.translator,e.brandingInfo,e.walletButtonTheme);F(u,C,!0)}}catch(C){d(C);return}F(i,!1)};ir(()=>{p=!1,_().then(()=>{})});const h=I=>{const A=ic({errorCode:I.gatewayErrorCode??null,errorMessage:I.message??"",mode:t});e.eventsTracker.trackSDKEvent(A),d(new _e(be.ErrorSettingUpPurchase,"Failed to initialize payment form",I.message))},f=async(I,A)=>{var q;const{customerDetails:C,confirmationTokenId:L}=await nr.extractTaxCustomerDetails(I,A);if((q=e.brandingInfo)!=null&&q.gateway_tax_collection_enabled){const j=await e.purchaseOperationHelper.checkoutRefreshPricing({countryCode:C.countryCode,postalCode:C.postalCode}),Y=u_({taxCalculation:j,taxCustomerDetails:C,mode:t});e.eventsTracker.trackSDKEvent(Y)}return L};async function b(I){var q,j;if(!o(c)||!o(l))return!1;await nr.submitElements(o(c));const C=(q=(await e.purchaseOperationHelper.checkoutComplete({email:I,locale:e.translator.selectedLocale})).gateway_params)==null?void 0:q.client_secret;if(!C)return!1;const L=(j=e.brandingInfo)!=null&&j.gateway_tax_collection_enabled?await f(o(c),o(l)):void 0;return await nr.confirmElements(o(l),o(c),C,L),!0}const v=async(I,A,C)=>{if(o(s))return;const L=d_({selectedPaymentMethod:I??null,mode:t});e.eventsTracker.trackSDKEvent(L),F(s,!0);try{const q=await b(A);if(F(s,!1),!q)return;const j=await e.purchaseOperationHelper.pollCurrentPurchaseForCompletion();e.onFinished(j),F(s,!1)}catch(q){if(q instanceof _e)d(q);else if(q instanceof Xo){const j=ic({errorCode:q.gatewayErrorCode??null,errorMessage:q.message??"",mode:t});e.eventsTracker.trackSDKEvent(j),d(new _e(be.ErrorSettingUpPurchase,"Failed to complete payment",q.message))}C.paymentFailed(),F(s,!1)}},m=async()=>{var A;const I=Qi({appearance:(A=e.brandingInfo)==null?void 0:A.appearance,rcPackage:e.rcPackage,purchaseOptionToUse:e.purchaseOption,customerEmail:e.customerEmail,mode:"express_purchase_button"});e.eventsTracker.trackSDKEvent(I);try{const C=await e.purchaseOperationHelper.checkoutStart({appUserId:e.appUserId,productId:e.rcPackage.webBillingProduct.identifier,purchaseOption:e.purchaseOption,presentedOfferingContext:e.rcPackage.webBillingProduct.presentedOfferingContext,customerEmail:e.customerEmail,metadata:e.metadata,locale:e.translator.selectedLocale});if(pd(C))throw new _e(be.ErrorSettingUpPurchase,"Unexpected subscription-change response for express purchase.");const L=C.management_url;if(!o(c))throw new _e(be.ErrorSettingUpPurchase);const{expOptions:q}=Ag(o(c),C.gateway_params,L,e.rcPackage,e.purchaseOption,e.translator,e.brandingInfo,e.walletButtonTheme);return{applePay:q.applePay,lineItems:q.lineItems}}catch(C){throw d(C instanceof _e?C:new _e(be.ErrorSettingUpPurchase)),C}},k=I=>{var A,C;(C=(A=e.listener)==null?void 0:A.onPurchaseStarted)==null||C.call(A,e.rcPackage),m().then(L=>I.resolve(L))},x=()=>{var I,A;e.eventsTracker.trackSDKEvent(l_({mode:"express_purchase_button"})),(A=(I=e.listener)==null?void 0:I.onPurchaseCancelled)==null||A.call(I)};function y(I){var C,L;const A=((C=I.availablePaymentMethods)==null?void 0:C.applePay)||((L=I.availablePaymentMethods)==null?void 0:L.googlePay);e.onReady&&e.onReady(!!A)}var w=SI(),P=D(w);{var S=I=>{I_(I,{get elements(){return o(c)},onError:h,onSubmit:v,onClick:k,onCancel:x,onReady:y,get expressCheckoutOptions(){return o(u)},forceEnableWalletMethods:!1,hideCheckoutSeparator:!0})};H(P,I=>{!o(i)&&o(c)&&o(u)&&e.brandingInfo&&I(S)})}E(r,w),me()}class CI{constructor(e,t,n){Be(this,so);re(this,"button");Ne(this,so,te(ar({props:n})));const i={updatePurchase:(s,c)=>{this.changePackage(s,c)}};this.state.props.onReady=s=>{t(i,s)},this.button=ua(II,{target:e,props:this.state.props})}get state(){return o(W(this,so))}set state(e){F(W(this,so),e,!0)}changePackage(e,t){this.state.props&&(this.state.props.rcPackage=e,this.state.props.purchaseOption=t??e.webBillingProduct.defaultPurchaseOption)}}so=new WeakMap;const TI=new Set(["javascript:","data:","vbscript:"]);function DI(r){return TI.has(r.toLowerCase())}function AI(r,e){const t=r.trim();if(t.length===0)return!1;let n;try{n=new URL(t)}catch{return!1}return DI(n.protocol)?!1:e==="deep_link"?!0:n.protocol==="http:"||n.protocol==="https:"}const Fg='link[rel~="apple-touch-icon"]',Mg="data-rc-apple-touch-icon",zg="true",qg=`link[${Mg}="${zg}"]`,FI=r=>!!r.head.querySelector(Fg),MI=({doc:r,win:e,ignoredLink:t})=>{const n=r.head.querySelector(Fg);if(n&&n!==t)return!0;if(!e)return!1;let a=e;for(;a.parent!==a;){const i=a.parent;try{if(FI(i.document))return!0}catch{return!1}a=i}return!1},zI=r=>{var e;(e=r.head.querySelector(qg))==null||e.remove()},qI=({doc:r,win:e,href:t})=>{const n=r.head.querySelector(qg);if(!t){n==null||n.remove();return}if(MI({doc:r,win:e,ignoredLink:n})){n==null||n.remove();return}const a=n??r.createElement("link");a.rel="apple-touch-icon",a.href=t,a.setAttribute(Mg,zg),n||r.head.appendChild(a)};var Og=(r=>(r.DisplayName="$displayName",r.Email="$email",r.PhoneNumber="$phoneNumber",r.IDFA="$idfa",r.IDFV="$idfv",r.GPSAdId="$gpsAdId",r.AndroidId="$androidId",r.AmazonAdId="$amazonAdId",r.IP="$ip",r.AdjustId="$adjustId",r.AmplitudeDeviceId="$amplitudeDeviceId",r.AmplitudeUserId="$amplitudeUserId",r.AppsflyerId="$appsflyerId",r.AppsflyerSharingFilter="$appsflyerSharingFilter",r.BranchId="$branchId",r.BrazeAliasName="$brazeAliasName",r.BrazeAliasLabel="$brazeAliasLabel",r.ClevertapId="$clevertapId",r.FbAnonId="$fbAnonId",r.MparticleId="$mparticleId",r.OnesignalId="$onesignalId",r.OnesignalUserId="$onesignalUserId",r.IntercomContactId="$intercomContactId",r.MediaSource="$mediaSource",r.Campaign="$campaign",r.AdGroup="$adGroup",r.AdId="$ad",r.Keyword="$keyword",r.Creative="$creative",r.APNSTokens="$apnsTokens",r.FCMTokens="$fcmTokens",r.AirshipChannelId="$airshipChannelId",r.SegmentId="$segmentId",r.IterableUserId="$iterableUserId",r.IterableCampaignId="$iterableCampaignId",r.IterableTemplateId="$iterableTemplateId",r.FirebaseAppInstanceId="$firebaseAppInstanceId",r.MixpanelDistinctId="$mixpanelDistinctId",r.ATTConsentStatus="$attConsentStatus",r.KochavaDeviceId="$kochavaDeviceId",r.DeviceVersion="$deviceVersion",r.PosthogUserId="$posthogUserId",r.TelemetryDeckUserId="$telemetryDeckUserId",r.TelemetryDeckAppId="$telemetryDeckAppId",r.AppleRefundHandlingPreference="$appleRefundHandlingPreference",r.CustomerioId="$customerioId",r.TenjinId="$tenjinId",r))(Og||{});const Lg="$RCAnonymousID:";Bg=[gg],jg=[gg];const Mr=class Mr{constructor(e,t,n=Pc,a=Dc,i,s,c){of(Ps,5,this);re(this,"_API_KEY");re(this,"_appUserId");re(this,"_brandingInfo",null);re(this,"_loadingResourcesPromise",null);re(this,"_flags");re(this,"_subscriberToken");re(this,"_context");re(this,"backend");re(this,"purchaseOperationHelper");re(this,"eventsTracker");re(this,"inMemoryCache");var l;this._API_KEY=e,this._appUserId=t,this._flags={...Dc,...a},this._subscriberToken=i??null,this._context=s,gs(e)?xe.debugLog("Initializing Purchases SDK with Web billing sandbox API Key"):Yn(e)&&xe.debugLog("Initializing Purchases SDK with RC Test store API Key."),this.eventsTracker=new uI({apiKey:this._API_KEY,appUserId:this._appUserId,silent:!this._flags.collectAnalyticsEvents,rcSource:this._flags.rcSource??null,workflowContext:(l=this._context)==null?void 0:l.workflowContext,trace_id:c,httpConfig:n}),this.backend=new zS(this._API_KEY,n,this._context),this.inMemoryCache=new vI,this.purchaseOperationHelper=new Di(this.backend,this.eventsTracker),this.eventsTracker.trackSDKEvent({eventName:Zr.SDKInitialized})}static setLogLevel(e){xe.setLogLevel(e)}static setLogHandler(e){xe.setLogHandler(e)}static setPlatformInfo(e){Mr._platformInfo=e}static buildVariablesPerPackage(e,t={}){return vg(e,t)}static buildInfoPerPackage(e){return Tg(e)}static getPlatformInfo(){return Mr._platformInfo}static getSharedInstance(){if(Mr.isConfigured())return Mr.instance;throw new sd}static isConfigured(){return Mr.instance!==void 0}static configure(e,t,n,a){Mr.instance!==void 0&&xe.warnLog("Purchases is already initialized. You normally should only configure Purchases once. Creating and returning new instance.");let i;if(typeof e=="object"&&e!==null)i=e;else{if(typeof e!="string")throw new Xe(Le.ConfigurationError,"API key must be provided as a string");if(typeof t!="string")throw new Xe(Le.ConfigurationError,"App user ID must be provided as a string");i={apiKey:e,appUserId:t,httpConfig:n,flags:a}}return Mr.configureInternal(i),Mr.getSharedInstance()}static configureInternal(e){const{apiKey:t,appUserId:n,httpConfig:a,flags:i,subscriberToken:s,context:c,trace_id:l}=e,u=a??Pc,d=i??Dc;Mr.validateConfig(e),Mr.instance=new Mr(t,n,u,d,s,c,l)}static validateConfig(e){var t,n;qS(e.apiKey),xc(e.appUserId),OS((t=e.httpConfig)==null?void 0:t.proxyURL),LS((n=e.httpConfig)==null?void 0:n.additionalHeaders)}async preload(){if(this.hasLoadedResources()){xe.verboseLog("Purchases resources are loaded. Skipping.");return}if(this._loadingResourcesPromise!==null){xe.verboseLog("Purchases resources are loading. Waiting."),await this._loadingResourcesPromise;return}return this._loadingResourcesPromise=this.fetchAndCacheBrandingInfo().catch(e=>{let t=`${e}`;e instanceof Xe&&(t=`${e.message}. ${e.underlyingErrorMessage?`Underlying error: ${e.underlyingErrorMessage}`:""}`),xe.errorLog(`Error fetching branding info: ${t}`)}).finally(()=>{this._loadingResourcesPromise=null}),this._loadingResourcesPromise}async fetchAndCacheBrandingInfo(){if(Yn(this._API_KEY)){xe.warnLog("Branding info is not available for RC Test Store API keys.");return}this._brandingInfo=await this.backend.getBrandingInfo(),this.syncApplePayWebsiteIcon()}syncApplePayWebsiteIcon(){var a,i;if(!this._flags.applePayBrandingLogoEnabled)return;const e=Tc(),t=$o();if(!e)return;const n=(i=(a=this._brandingInfo)==null?void 0:a.app_icon)==null?void 0:i.trim();qI({doc:e,win:t,href:n?Za(n):null})}hasLoadedResources(){return this._brandingInfo!==null}async presentPaywall(e){var G,Z,le,$,oe,Pe,Ie;const t=e.htmlTarget;let n=!1;const a=Cc();let i=t??a.getElementById("rcb-ui-pw-root");if(i===null){n=!0;const J=a.createElement("div");J.id="rcb-ui-pw-root",J.className="rcb-ui-pw-root",J.style.zIndex=`${RS}`,J.style.position="fixed",J.style.top="0",J.style.left="0",J.style.width="100%",J.style.height="100%",J.style.overflow="auto",J.style.backgroundColor="var(--rc-purchases-ui-bg-color, Canvas)",a.body.offsetWidth>968&&(J.style.display="flex",J.style.justifyContent="center",J.style.alignItems="center"),J.style.transition="opacity 0.3s",J.style.opacity="0",a.body.appendChild(J),i=J}if(i===null)throw new Error("Could not generate a mount point for the paywall widget");const s=i,c=e.offering?e.offering:(await this.getOfferings()).current;if(!c)throw new Error("No offering found.");const l=await this.backend.getWorkflows(this._appUserId).catch(J=>(xe.warnLog(`Failed to fetch workflows: ${J}`),null)),u=(G=l==null?void 0:l.workflows)==null?void 0:G.find(J=>J.offering_id===c.identifier);if(!u&&!c.paywallComponents)throw new Error("This offering doesn't have a paywall attached.");if(!u&&!c.uiConfig)throw new Error("No ui_config found for this offering, please contact support!");const d=(J,Q)=>{const ae={},Ee=ye=>ye.toLowerCase().split("_")[0];Object.keys(J.components_localizations).forEach(ye=>{ae[Ee(ye)]===void 0&&(ae[Ee(ye)]=[]),ae[Ee(ye)].push(ye)});const ie=ae[Ee(Q)];if(!ie)return J.default_locale;const Se=ie.find(ye=>ye.toLowerCase()===Q);return Se||ie[0]},p=e.selectedLocale?e.selectedLocale:navigator.language,_=c.paywallComponents?d(c.paywallComponents,p):p,h=new On({},_,((Z=c.paywallComponents)==null?void 0:Z.default_locale)??Rr),f=Vn(),b={appUserId:this._appUserId,sessionId:f,offeringId:c.identifier,paywallRevision:0,paywallRcPublicId:((le=c.paywallComponents)==null?void 0:le.id)??null,presentedOfferingContext:(oe=($=c.availablePackages[0])==null?void 0:$.webBillingProduct)==null?void 0:oe.presentedOfferingContext},v={displayMode:"full_screen",darkMode:((Ie=(Pe=Gn())==null?void 0:Pe.matchMedia)==null?void 0:Ie.call(Pe,"(prefers-color-scheme: dark)").matches)??!1,locale:_},m=new Map(c.availablePackages.map(J=>[J.identifier,J.webBillingProduct.identifier])),k=J=>{if(J!==void 0)return m.get(J)},x=J=>{const Q=J;return{type:"paywall_component_interacted",...b,...v,componentType:J.componentType,componentName:J.componentName,componentValue:J.componentValue,componentURL:Q.componentURL,originIndex:Q.originIndex,destinationIndex:Q.destinationIndex,originContextName:Q.originContextName,destinationContextName:Q.destinationContextName,defaultIndex:Q.defaultIndex,originPackageId:Q.originPackageId,destinationPackageId:Q.destinationPackageId,defaultPackageId:Q.defaultPackageId,originProductId:Q.originProductId??k(Q.originPackageId),destinationProductId:Q.destinationProductId??k(Q.destinationPackageId),defaultProductId:Q.defaultProductId??k(Q.defaultPackageId),currentPackageId:Q.currentPackageId,resultingPackageId:Q.resultingPackageId,currentProductId:Q.currentProductId??k(Q.currentPackageId),resultingProductId:Q.resultingProductId??k(Q.resultingPackageId)}},y=J=>{this.eventsTracker.trackPaywallEvent({type:J,...b,...J==="paywall_impression"?{...v}:{}})},w=async(J,Q=_)=>{var ie,Se;const ae=c.availablePackages.find(ye=>ye.identifier===J);if(ae===void 0)throw new Error(`No package found for ${J}`);return{...await this.purchase({rcPackage:ae,htmlTarget:e.purchaseHtmlTarget,customerEmail:e.customerEmail,showDiscountCodeField:e.showDiscountCodeField,discountCode:e.discountCode,onDiscountCodeChanged:e.onDiscountCodeChanged,selectedLocale:Q,defaultLocale:((ie=c.paywallComponents)==null?void 0:ie.default_locale)??Rr,paywallId:(Se=c.paywallComponents)==null?void 0:Se.id,paywallSessionId:f,productChangeInfo:e.productChangeInfo}),selectedPackage:ae}};let P=null,S=null;const T=J=>{const Q=J.target;if(!(Q instanceof Element))return;const ae=Q.closest("a[href]");if(!(ae instanceof HTMLAnchorElement)||!s.contains(ae))return;const Ee=ae.getAttribute("href")??ae.href;Ee&&(S={url:Ee,defaultPrevented:J.defaultPrevented})},I=J=>{var Ee;const Q=(P==null?void 0:P.componentURL)===J?P:null;if(P=null,e.onNavigateToUrl){e.onNavigateToUrl(J);return}if((Q==null?void 0:Q.componentType)==="text"){queueMicrotask(()=>{var ye;const ie=(S==null?void 0:S.url)===J?S:null;if(S=null,(ie==null?void 0:ie.defaultPrevented)!==!0)return;(ye=Gn().open(J,"_blank"))==null||ye.focus()});return}(Ee=Gn().open(J,"_blank"))==null||Ee.focus()},A=async J=>{var ae;if(e.onCompleteWorkflowNavigate){await e.onCompleteWorkflowNavigate(J);return}if(!AI(J.url,J.method)){xe.warnLog("Blocked complete-workflow navigation to a disallowed URL.");return}const Q=Gn();J.method==="external_browser"?(ae=Q.open(J.url,"_blank","noopener,noreferrer"))==null||ae.focus():Q.location.assign(J.url)},C=()=>{},L=()=>{if(e.onVisitCustomerCenter){e.onVisitCustomerCenter();return}},q=vg(c,{translator:h}),j=Tg(c),Y=e.listener,N=J=>{if(Y!=null&&Y.onPurchaseStarted)try{Y.onPurchaseStarted(J)}catch(Q){xe.errorLog(`Error in listener.onPurchaseStarted: ${Q}`)}},M=J=>{if(J instanceof Xe&&J.errorCode===Le.UserCancelledError){if(Y!=null&&Y.onPurchaseCancelled)try{Y.onPurchaseCancelled()}catch(Q){xe.errorLog(`Error in listener.onPurchaseCancelled: ${Q}`)}}else{if(Y!=null&&Y.onPurchaseError)try{Y.onPurchaseError(J)}catch(Q){xe.errorLog(`Error in listener.onPurchaseError: ${Q}`)}e.onPurchaseError&&e.onPurchaseError(J)}};let z,U,O=p;if(u){const J=await this.backend.getWorkflowById(this._appUserId,u.id).catch(ae=>(xe.warnLog(`Failed to fetch workflow data, falling back to standard paywall: ${ae}`),null)),Q=J?Mk(J):null;if(J&&Q){U=J,z=Q;const ae=Q.pages[Q.initial_page_id];ae&&(O=d(ae,p))}else{if(J&&!Q&&xe.warnLog("Failed to resolve workflow navigation data, falling back to standard paywall."),!c.paywallComponents)throw new Error("This offering doesn't have a paywall attached and the workflow could not be loaded.");if(!c.uiConfig)throw new Error("No ui_config found for this offering, please contact support!")}}return new Promise((J,Q)=>{let ae=null,Ee=!1,ie=!1;s.addEventListener("click",T);const Se=()=>{ie||(ie=!0,Ee&&y("paywall_close"))},ye=De=>{!Ee||ie||this.eventsTracker.trackPaywallEvent(x(De))},ee=De=>{const he=De;P=he.componentURL===void 0?null:{componentType:De.componentType,componentURL:he.componentURL},ye(De)},K=new MutationObserver(()=>{s.childElementCount===0&&(Se(),K.disconnect())}),se=()=>{K.disconnect(),s.removeEventListener("click",T),Se(),ae&&(Eo(ae),ae=null),s.innerHTML="",n&&s.parentNode&&s.parentNode.removeChild(s)},pe=()=>{xe.debugLog("Purchase cancelled by user"),se(),Q(new Xe(Le.UserCancelledError)),this.eventsTracker.flushAllEvents().catch(De=>{xe.debugLog(`Failed to flush paywall events on close: ${De}`)})},ue=De=>{se(),J(De),this.eventsTracker.flushAllEvents().catch(he=>{xe.debugLog(`Failed to flush paywall events after purchase: ${he}`)})},Ae=De=>he=>{he instanceof Xe&&he.errorCode===Le.UserCancelledError&&y("paywall_cancel"),xe.errorLog(`${De}: ${he}`),M(he)},Me=this.getWalletButtonRender(c,ue,e.customerEmail,Ae("Error presenting express purchase button"),Y);if(s.innerHTML="",z&&U)try{const De=he=>{if(he.reason==="completed")this.eventsTracker.trackSDKEvent({eventName:Zr.WorkflowStepCompleted,properties:{workflow_id:he.workflowId,step_id:he.stepId,...he.toStepId!==void 0?{to_step_id:he.toStepId}:{},is_first_step:he.isFirstStep,is_last_step:he.isLastStep}});else{const Ke=he.reason;this.eventsTracker.trackSDKEvent({eventName:Zr.WorkflowStepStarted,properties:{workflow_id:he.workflowId,step_id:he.stepId,...he.fromStepId!==void 0?{from_step_id:he.fromStepId}:{},entry_reason:Ke,is_first_step:he.isFirstStep,is_last_step:he.isLastStep}}),he.isLastStep&&!Ee&&(y("paywall_impression"),Ee=!0)}};ae=ua(lk,{target:s,props:{workflow:z,uiConfig:U.ui_config,selectedLocale:O,hideBackButtons:e.hideBackButtons,variablesPerPackage:q,infoPerPackage:j,walletButtonRender:Me,onPurchaseClicked:he=>{const Ke=c.packagesById[he];Ke&&N(Ke),w(he,O).then(ue).catch(Ae("Error performing purchase"))},onClose:pe,onExitBack:()=>{if(e.onBack){e.onBack(pe);return}pe()},onCompleteWorkflowNavigate:A,onNavigateToUrlClicked:I,onRestorePurchasesClicked:C,onVisitCustomerCenterClicked:L,onComponentInteraction:ee,onStepChanged:De,globalVariables:e.customVariables?Rp(e.customVariables,U.ui_config):void 0,maxContentWidth:U.content_max_width?String(U.content_max_width):void 0}})}catch(De){se(),Q(De);return}else ae=ua(Zp,{target:s,props:{paywallData:c.paywallComponents,selectedLocale:_,onNavigateToUrlClicked:I,appUserId:this._appUserId,onCompleteWorkflowNavigate:A,onVisitCustomerCenterClicked:L,uiConfig:c.uiConfig,onBackClicked:()=>{if(e.onBack){e.onBack(pe);return}pe()},onRestorePurchasesClicked:C,onPurchaseClicked:De=>{const he=c.packagesById[De];he&&N(he),w(De).then(ue).catch(Ae("Error performing purchase"))},onError:De=>{se(),Q(De)},variablesPerPackage:q,infoPerPackage:j,hideBackButtons:e.hideBackButtons,walletButtonRender:Me,customVariables:e.customVariables,onComponentInteraction:ee}});K.observe(s,{childList:!0}),z||(y("paywall_impression"),Ee=!0),s.style.opacity==="0"&&(s.style.opacity="1")})}async getOfferings(e){Ux(e==null?void 0:e.currency);const t=this._appUserId,n=await this.backend.getOfferings(t),a=(e==null?void 0:e.offeringIdentifier)===Ec.Current?n.current_offering_id:e==null?void 0:e.offeringIdentifier;return a&&(n.offerings=n.offerings.filter(i=>i.identifier===a)),await this.getAllOfferings(n,t,e)}async getCurrentOfferingForPlacement(e,t){const n=this._appUserId,a=await this.backend.getOfferings(n),i=a.placements??null;if(i==null)return null;const{offeringIdForPlacement:s,fallbackOfferingId:c}=NS(i,e);if(!s&&!c)return null;const l=s?await this.findOfferingById(s,a,n,t):null;if(l!==null)return mg(e,l);if(s===c)return null;const u=c?await this.findOfferingById(c,a,n,t):null;return u!==null?mg(e,u):null}async findOfferingById(e,t,n,a){const i=t.offerings.find(c=>c.identifier===e);if(i==null)return null;const s=await this.fetchProductsForOfferings([i],n,a);return jS(e,t,s)}async getAllOfferings(e,t,n){const a=await this.fetchProductsForOfferings(e.offerings,t,n);return BS(e,a)}async fetchProductsForOfferings(e,t,n){const a=e.flatMap(s=>s.packages).map(s=>s.platform_product_identifier),i=await this.backend.getProducts(t,a,n==null?void 0:n.currency,n==null?void 0:n.discountCode);return this.logMissingProductIds(a,i.product_details),i}async isEntitledTo(e){const t=await this.getCustomerInfo();return e in t.entitlements.active}purchasePackage(e,t,n){return this.purchase({rcPackage:e,customerEmail:t,htmlTarget:n})}async presentExpressPurchaseButton(e){const{rcPackage:t,purchaseOption:n,htmlTarget:a,customerEmail:i,selectedLocale:s=Rr,defaultLocale:c=Rr,onButtonReady:l=()=>{},walletButtonTheme:u}=e,d=this._appUserId;if(!Qo(this._API_KEY))throw new Error("The Express Purchase button is only available with Web Billing API Keys.");const p=n??t.webBillingProduct.defaultPurchaseOption,h={...this._flags.autoCollectUTMAsMetadata?ms():{},...e.metadata||{}},f=new On({},s,c);return new Promise((b,v)=>{const m=async x=>{const y=s_({redemptionInfo:x.redemptionInfo,mode:"express_purchase_button"});this.eventsTracker.trackSDKEvent(y),xe.debugLog("Purchase finished");const w={customerInfo:await this._getCustomerInfoForUserId(d),redemptionInfo:x.redemptionInfo,operationSessionId:x.operationSessionId,attributionMetadata:x.attributionMetadata,storeTransaction:{storeTransactionId:x.storeTransactionIdentifier,productIdentifier:x.productIdentifier,purchaseDate:x.purchaseDate}};b(w)},k=x=>{var w;const y=c_({errorCode:(w=x.errorCode)==null?void 0:w.toString(),errorMessage:x.message,mode:"express_purchase_button"});this.eventsTracker.trackSDKEvent(y),v(x)};new CI(a,l,{appUserId:d,rcPackage:t,purchaseOption:p,customerEmail:i,purchases:this,eventsTracker:this.eventsTracker,brandingInfo:this._brandingInfo,purchaseOperationHelper:this.purchaseOperationHelper,metadata:h,customTranslations:e.labelsOverride,translator:f,onFinished:m,onError:k,listener:e.listener,walletButtonTheme:u})})}getWalletButtonRender(e,t,n,a,i){if(Qo(this._API_KEY))return(s,{selectedPackageId:c,onReady:l,walletButtonTheme:u})=>{const d=e.packagesById[c];if(!d)return{};let p=d,_=null;return this.presentExpressPurchaseButton({rcPackage:d,customerEmail:n,htmlTarget:s,onButtonReady:(h,f)=>{_=h,l==null||l(f)},listener:i,walletButtonTheme:u}).then(h=>{t({...h,selectedPackage:p})}).catch(a),{destroy(){s.innerHTML=""},update({selectedPackageId:h}){if(_){const f=e.packagesById[h];if(!f)return;const b=f.webBillingProduct.defaultPurchaseOption;p=f,_.updatePurchase(f,b)}}}}}async purchase(e){if(Yn(this._API_KEY)){const a=await hI(e,this.backend,this._appUserId);return this.inMemoryCache.invalidateAllCaches(),a}return bc(this._API_KEY)?await this.performPaddlePurchase(e):kc(this._API_KEY)?await this.performStripePurchase(e):await this.performWebBillingPurchase(e)}async performStripePurchase(e){var S;const{rcPackage:t,purchaseOption:n,htmlTarget:a,customerEmail:i,workflowPurchaseContext:s,attributionMetadata:c,paywallId:l,paywallSessionId:u,selectedLocale:d=Rr,defaultLocale:p=Rr,skipSuccessPage:_=!1}=e,h=this.resolveHTMLTarget(a),f=this._appUserId;xe.debugLog(`Presenting Stripe checkout for package ${t.identifier}`);const b=d||p,v=n??t.webBillingProduct.defaultPurchaseOption,m=Qi({appearance:(S=this._brandingInfo)==null?void 0:S.appearance,rcPackage:t,purchaseOptionToUse:v,customerEmail:i});this.eventsTracker.trackSDKEvent(m);const x={...this._flags.autoCollectUTMAsMetadata?ms():{},...e.metadata||{}};let y=null;const w=this._brandingInfo;w&&e.brandingAppearanceOverride&&(w.appearance=e.brandingAppearanceOverride);const P=a!==void 0;return new Promise((T,I)=>{const A=Gn();P||A.history.pushState({checkoutOpen:!0},"");const C=()=>{y&&Eo(y),h.innerHTML=""},L=this.createCheckoutOnCloseHandler(I,C);!P&&L&&A.addEventListener("popstate",L);const q=this.createCheckoutOnFinishedHandler(T,f,t,C),j=this.createCheckoutOnErrorHandler(I,C);y=ua($E,{target:h,props:{isInElement:P,appUserId:f,rcPackage:t,purchaseOption:v,customerEmail:i,workflowPurchaseContext:s,attributionMetadata:c,paywallId:l,paywallSessionId:u,onFinished:q,onClose:L,onError:j,eventsTracker:this.eventsTracker,brandingInfo:this._brandingInfo,purchaseOperationHelper:this.purchaseOperationHelper,selectedLocale:b,metadata:x,defaultLocale:p,customTranslations:e.labelsOverride,skipSuccessPage:_}})})}async performWebBillingPurchase(e){var A;const t=this.resolveProductChange(e),{rcPackage:n,purchaseOption:a,htmlTarget:i,customerEmail:s,workflowPurchaseContext:c,attributionMetadata:l,selectedLocale:u=Rr,defaultLocale:d=Rr,skipSuccessPage:p=!1,showDiscountCodeField:_=!1,discountCode:h,onDiscountCodeChanged:f}=e,b=this.resolveHTMLTarget(i),v=this._appUserId;xe.debugLog(`Presenting purchase form for package ${n.identifier}`);const m=u||d,k=a??n.webBillingProduct.defaultPurchaseOption,x=Qi({appearance:(A=this._brandingInfo)==null?void 0:A.appearance,rcPackage:n,purchaseOptionToUse:k,customerEmail:s});this.eventsTracker.trackSDKEvent(x);const w={...this._flags.autoCollectUTMAsMetadata?ms():{},...e.metadata||{}};let P=null;const S=this._brandingInfo;S&&e.brandingAppearanceOverride&&(S.appearance=e.brandingAppearanceOverride);const T=tP({brandingInfo:S,termsAndConditionsUrl:e.termsAndConditionsUrl}),I=i!==void 0;return new Promise((C,L)=>{const q=Gn();I||q.history.pushState({checkoutOpen:!0},"");const j=()=>{P&&Eo(P),b.innerHTML=""},Y=this.createCheckoutOnCloseHandler(L,j);!I&&Y&&q.addEventListener("popstate",Y);const N=this.createCheckoutOnFinishedHandler(C,v,n,j),M=async U=>{this.inMemoryCache.invalidateAllCaches(),j();try{const O=await this.getCustomerInfo();C({customerInfo:O,redemptionInfo:null,operationSessionId:U.operationSessionId,storeTransaction:{storeTransactionId:U.operationSessionId,productIdentifier:U.newProductId,purchaseDate:new Date},productChange:{changeType:U.changeType}})}catch(O){L(O)}},z=this.createCheckoutOnErrorHandler(L,j);P=ua(Hx,{target:b,props:{isInElement:I,appUserId:v,rcPackage:n,purchaseOption:k,customerEmail:s,workflowPurchaseContext:c,attributionMetadata:l,paywallId:e.paywallId,paywallSessionId:e.paywallSessionId,productChange:t,onFinished:N,onProductChangeFinished:M,onClose:Y,onError:z,purchases:this,eventsTracker:this.eventsTracker,brandingInfo:this._brandingInfo,purchaseOperationHelper:this.purchaseOperationHelper,selectedLocale:m,metadata:w,defaultLocale:d,customTranslations:e.labelsOverride,termsAndConditionsUrl:T,showDiscountCodeField:_,discountCode:h,onDiscountCodeChanged:f,skipSuccessPage:p,hideBackButton:this.shouldHideCheckoutBackButton()}})})}async performPaddlePurchase(e){var w;const{rcPackage:t,purchaseOption:n,customerEmail:a,attributionMetadata:i,workflowPurchaseContext:s,selectedLocale:c=Rr,defaultLocale:l=Rr,skipSuccessPage:u=!1,htmlTarget:d}=e,p=this.resolveHTMLTarget(d),_=this._appUserId;xe.debugLog(`Presenting Paddle checkout for package ${t.identifier}`);const h=n??t.webBillingProduct.defaultPurchaseOption,b={source:"paddle",...this._flags.autoCollectUTMAsMetadata?ms():{},...e.metadata||{}},v=this._brandingInfo;v&&e.brandingAppearanceOverride&&(v.appearance=e.brandingAppearanceOverride);const m=Qi({appearance:(w=this._brandingInfo)==null?void 0:w.appearance,rcPackage:t,purchaseOptionToUse:h,customerEmail:a});this.eventsTracker.trackSDKEvent(m);const k=new gE(this.backend,this.eventsTracker);let x=null;const y=d!==void 0;return new Promise((P,S)=>{const T=Gn();y||T.history.pushState({checkoutOpen:!0},"");const I=()=>{x&&Eo(x),p.innerHTML=""},A=this.createCheckoutOnCloseHandler(S,I)??(()=>{I()});y||T.addEventListener("popstate",A);const C=this.createCheckoutOnFinishedHandler(P,_,t,I),L=this.createCheckoutOnErrorHandler(S);x||(x=ua(VE,{target:p,props:{eventsTracker:this.eventsTracker,brandingInfo:this._brandingInfo,selectedLocale:c||l,defaultLocale:l,customTranslations:e.labelsOverride,isInElement:y,onClose:A,onFinished:C,onError:L,skipSuccessPage:u,productDetails:t.webBillingProduct,rcPackage:t,appUserId:_,purchaseOption:h,customerEmail:a,attributionMetadata:i,workflowPurchaseContext:s,metadata:b,unmountPaddlePurchaseUi:I,paddleService:k,hideBackButton:this.shouldHideCheckoutBackButton()}}))})}resolveHTMLTarget(e){const t=Cc();let n=e??t.getElementById("rcb-ui-root");if(n===null){const a=t.createElement("div");a.className="rcb-ui-root",t.body.appendChild(a),n=a}if(n===null)throw new Error("Could not generate a mount point for the billing widget");return n}createCheckoutOnCloseHandler(e,t){if(this._flags.rcSource&&Ig.includes(this._flags.rcSource))return;const a=()=>{const i=l_();this.eventsTracker.trackSDKEvent(i),Gn().removeEventListener("popstate",a),t==null||t(),xe.debugLog("Purchase cancelled by user"),e(new Xe(Le.UserCancelledError))};return a}shouldHideCheckoutBackButton(){return this._flags.hideBackButton===!0||!!this._flags.rcSource&&Ig.includes(this._flags.rcSource)}createCheckoutOnFinishedHandler(e,t,n,a){return async s=>{const c=s_({redemptionInfo:s.redemptionInfo});this.eventsTracker.trackSDKEvent(c),this.inMemoryCache.invalidateAllCaches(),xe.debugLog("Purchase finished"),a==null||a();const l={customerInfo:await this._getCustomerInfoForUserId(t),redemptionInfo:s.redemptionInfo,operationSessionId:s.operationSessionId,attributionMetadata:s.attributionMetadata,storeTransaction:{storeTransactionId:s.storeTransactionIdentifier,productIdentifier:n.webBillingProduct.identifier,purchaseDate:s.purchaseDate}};e(l)}}createCheckoutOnErrorHandler(e,t){return a=>{var s;const i=c_({errorCode:(s=a.errorCode)==null?void 0:s.toString(),errorMessage:a.message});this.eventsTracker.trackSDKEvent(i),t==null||t(),e(Xe.getForPurchasesFlowError(a))}}_isConfiguredWithSimulatedStore(){return Yn(this._API_KEY)}_shouldForceEnableWalletMethods(){return!!this._flags.forceEnableWalletMethods}async _postSimulatedStoreReceipt(e){if(!Yn(this._API_KEY))throw new Xe(Le.ConfigurationError,"Posting a test store receipt is only available for RC Test Store API keys.");return await Cg(e,this.backend,this._appUserId,void 0)}async getCustomerInfo(){return await this._getCustomerInfoForUserId(this._appUserId)}getAppUserId(){return this._appUserId}async setAttributes(e){return await this.getCustomerInfo(),await this.backend.setAttributes(this._appUserId,e)}async changeUser(e){return await this.replaceUserId(e),await this.getCustomerInfo()}async identifyUser(e){if(xc(e),e===this._appUserId)return xe.debugLog(`aliasUser called with the current appUserID: ${e}. Ignoring.`),{customerInfo:await this.getCustomerInfo(),wasCreated:!1};const t=await this.backend.identify(this._appUserId,e);return await this.replaceUserId(e),{customerInfo:yc(t),wasCreated:t.was_created}}resolveProductChange(e){const t=e.productChangeInfo;if(!t||!Qo(this._API_KEY))return;const n=t.subscriberToken??this._subscriberToken??void 0;if(n)return this.validateSubscriberToken(n),{subscriptionId:t.subscriptionId||void 0,productIdentifier:t.productIdentifier||void 0,subscriberToken:n}}validateSubscriberToken(e){if(Qo(e)||bc(e)||kc(e)||Yn(e)||e.startsWith("sk_")||!e)throw new Xe(Le.ConfigurationError,"Invalid subscriber token.")}async replaceUserId(e){xc(e),this._appUserId=e,await this.eventsTracker.updateUser(e),this.inMemoryCache.invalidateAllCaches()}logMissingProductIds(e,t){const n={};t.forEach(i=>n[i.identifier]=i);const a=[];e.forEach(i=>{n[i]===void 0&&a.push(i)}),a.length>0&&xe.debugLog(`Could not find product data for product ids:
444
444
  ${a.join()}.
445
- Please check that your product configuration is correct.`)}isSandbox(){return ds(this._API_KEY)||Gn(this._API_KEY)}isAnonymous(){return this._appUserId.startsWith(Ag)}async getVirtualCurrencies(){return await this._getVirtualCurrenciesForUserId(this._appUserId)}getCachedVirtualCurrencies(){return this.inMemoryCache.getCachedVirtualCurrencies(this._appUserId,!0)}invalidateVirtualCurrenciesCache(){this.inMemoryCache.invalidateVirtualCurrenciesCache(this._appUserId)}close(){if(zr.instance===this){if(this.eventsTracker&&this.eventsTracker.dispose(),this._flags.applePayBrandingLogoEnabled){const e=Dc();e&&TI(e)}zr.instance=void 0}else Pe.warnLog("Trying to close a Purchases instance that is not the current instance. Ignoring.")}async _getCustomerInfoForUserId(e){const t=await this.backend.getCustomerInfo(e);return bc(t)}async _getVirtualCurrenciesForUserId(e){const t=this.inMemoryCache.getCachedVirtualCurrencies(e);if(t)return Pe.debugLog("Vending VirtualCurrencies from cache."),t;const n=await this.backend.getVirtualCurrencies(e),a=fI(n);return Pe.debugLog("VirtualCurrencies updated from the network."),this.inMemoryCache.cacheVirtualCurrencies(e,a),a}static generateRevenueCatAnonymousAppUserId(){return`${Ag}${Hn().replace(/-/g,"")}`}_trackEvent(e){this.eventsTracker.trackExternalEvent(e)}_flushAllEvents(){return this.eventsTracker.flushAllEvents()}};ws=Jg(null),Lc(ws,1,"presentExpressPurchaseButton",Mg,zr),Lc(ws,1,"purchase",zg,zr),Oc(ws,zr),ee(zr,"_platformInfo"),ee(zr,"instance");let ms=zr;Ie.CustomVariableValue=Pb,Ie.ErrorCode=Me,Ie.LogLevel=ot,Ie.OfferingKeyword=Sc,Ie.PackageType=hd,Ie.PeriodUnit=fr,Ie.ProductType=Wr,Ie.Purchases=ms,Ie.PurchasesError=Xe,Ie.ReservedCustomerAttribute=Dg,Ie.UninitializedPurchasesError=ld,Object.defineProperty(Ie,Symbol.toStringTag,{value:"Module"})});
445
+ Please check that your product configuration is correct.`)}isSandbox(){return gs(this._API_KEY)||Yn(this._API_KEY)}isAnonymous(){return this._appUserId.startsWith(Lg)}async getVirtualCurrencies(){return await this._getVirtualCurrenciesForUserId(this._appUserId)}getCachedVirtualCurrencies(){return this.inMemoryCache.getCachedVirtualCurrencies(this._appUserId,!0)}invalidateVirtualCurrenciesCache(){this.inMemoryCache.invalidateVirtualCurrenciesCache(this._appUserId)}close(){if(Mr.instance===this){if(this.eventsTracker&&this.eventsTracker.dispose(),this._flags.applePayBrandingLogoEnabled){const e=Tc();e&&zI(e)}Mr.instance=void 0}else xe.warnLog("Trying to close a Purchases instance that is not the current instance. Ignoring.")}async _getCustomerInfoForUserId(e){const t=await this.backend.getCustomerInfo(e);return yc(t)}async _getVirtualCurrenciesForUserId(e){const t=this.inMemoryCache.getCachedVirtualCurrencies(e);if(t)return xe.debugLog("Vending VirtualCurrencies from cache."),t;const n=await this.backend.getVirtualCurrencies(e),a=bI(n);return xe.debugLog("VirtualCurrencies updated from the network."),this.inMemoryCache.cacheVirtualCurrencies(e,a),a}static generateRevenueCatAnonymousAppUserId(){return`${Lg}${Vn().replace(/-/g,"")}`}_trackEvent(e){this.eventsTracker.trackExternalEvent(e)}_flushAllEvents(){return this.eventsTracker.flushAllEvents()}};Ps=nf(null),Oc(Ps,1,"presentExpressPurchaseButton",Bg,Mr),Oc(Ps,1,"purchase",jg,Mr),qc(Ps,Mr),re(Mr,"_platformInfo"),re(Mr,"instance");let hs=Mr;Ce.CustomVariableValue=Db,Ce.ErrorCode=Le,Ce.LogLevel=st,Ce.OfferingKeyword=Ec,Ce.PackageType=yd,Ce.PeriodUnit=gr,Ce.ProductType=Gr,Ce.Purchases=hs,Ce.PurchasesError=Xe,Ce.ReservedCustomerAttribute=Og,Ce.UninitializedPurchasesError=sd,Object.defineProperty(Ce,Symbol.toStringTag,{value:"Module"})});