@revenuecat/purchases-js 1.51.2 → 1.52.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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(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 LI=Object.create;var qc=Object.defineProperty;var NI=Object.getOwnPropertyDescriptor;var Zg=(Ie,je)=>(je=Symbol[Ie])?je:Symbol.for("Symbol."+Ie),po=Ie=>{throw TypeError(Ie)};var Jg=(Ie,je,Je)=>je in Ie?qc(Ie,je,{enumerable:!0,configurable:!0,writable:!0,value:Je}):Ie[je]=Je;var Xg=(Ie,je)=>qc(Ie,"name",{value:je,configurable:!0});var Qg=Ie=>[,,,LI((Ie==null?void 0:Ie[Zg("metadata")])??null)],$g=["class","method","getter","setter","accessor","field","value","get","set"],si=Ie=>Ie!==void 0&&typeof Ie!="function"?po("Function expected"):Ie,jI=(Ie,je,Je,pt,Pr)=>({kind:$g[Ie],name:je,metadata:pt,addInitializer:Vr=>Je._?po("Already initialized"):Pr.push(si(Vr||null))}),Oc=(Ie,je)=>Jg(je,Zg("metadata"),Ie[3]),ef=(Ie,je,Je,pt)=>{for(var Pr=0,Vr=Ie[je>>1],Vt=Vr&&Vr.length;Pr<Vt;Pr++)je&1?Vr[Pr].call(Je):pt=Vr[Pr].call(Je,pt);return pt},Lc=(Ie,je,Je,pt,Pr,Vr)=>{var Vt,ot,li,ra,_o,sr=je&7,go=!!(je&8),kt=!!(je&16),fo=sr>3?Ie.length+1:sr?go?1:2:0,mo=$g[sr+5],ci=sr>3&&(Ie[fo-1]=[]),Tr=Ie[fo]||(Ie[fo]=[]),_t=sr&&(!kt&&!go&&(Pr=Pr.prototype),sr<5&&(sr>3||!kt)&&NI(sr<4?Pr:{get[Je](){return G(this,Vr)},set[Je]($r){return Ne(this,Vr,$r)}},Je));sr?kt&&sr<4&&Xg(Vr,(sr>2?"set ":sr>1?"get ":"")+Je):Xg(Pr,Je);for(var ho=pt.length-1;ho>=0;ho--)ra=jI(sr,Je,li={},Ie[3],Tr),sr&&(ra.static=go,ra.private=kt,_o=ra.access={has:kt?$r=>BI(Pr,$r):$r=>Je in $r},sr^3&&(_o.get=kt?$r=>(sr^1?G:pr)($r,Pr,sr^4?Vr:_t.get):$r=>$r[Je]),sr>2&&(_o.set=kt?($r,ta)=>Ne($r,Pr,ta,sr^4?Vr:_t.set):($r,ta)=>$r[Je]=ta)),ot=(0,pt[ho])(sr?sr<4?kt?Vr:_t[mo]:sr>4?void 0:{get:_t.get,set:_t.set}:Pr,ra),li._=1,sr^4||ot===void 0?si(ot)&&(sr>4?ci.unshift(ot):sr?kt?Vr=ot:_t[mo]=ot:Pr=ot):typeof ot!="object"||ot===null?po("Object expected"):(si(Vt=ot.get)&&(_t.get=Vt),si(Vt=ot.set)&&(_t.set=Vt),si(Vt=ot.init)&&ci.unshift(Vt));return sr||Oc(Ie,Pr),_t&&qc(Pr,Je,_t),kt?sr^4?Vr:_t:Pr},$=(Ie,je,Je)=>Jg(Ie,typeof je!="symbol"?je+"":je,Je),Nc=(Ie,je,Je)=>je.has(Ie)||po("Cannot "+Je),BI=(Ie,je)=>Object(je)!==je?po('Cannot use the "in" operator on this value'):Ie.has(je),G=(Ie,je,Je)=>(Nc(Ie,je,"read from private field"),Je?Je.call(Ie):je.get(Ie)),Be=(Ie,je,Je)=>je.has(Ie)?po("Cannot add the same private member more than once"):je instanceof WeakSet?je.add(Ie):je.set(Ie,Je),Ne=(Ie,je,Je,pt)=>(Nc(Ie,je,"write to private field"),pt?pt.call(Ie,Je):je.set(Ie,Je),Je),pr=(Ie,je,Je)=>(Nc(Ie,je,"access private method"),Je);var zg,$a,eo,wa,Pa,$o,ro,to,Dt,jc,Bc,rf,tf,At,Fc,ln,xa,cn,Ft,dt,un,In,Zn,Ea,Jn,Sa,no,ao,Qn,ys,Ur,RI,UI,Rc,xs,Es,Uc,Rt,dn,bt,Ia,ei,ri,bs,$n,oo,ti,ks,nf,ni,ea,pn,Ca,io,so,Qr,Vc,Hc,Ss,Is,ai,oi,lo,Mg,qg,Ps;const je="5";typeof window<"u"&&((zg=window.__svelte??(window.__svelte={})).v??(zg.v=new Set)).add(je);const Je=1,pt=2,Pr=4,Vr=8,Vt=16,ot=1,li=2,ra=4,_o=8,sr=16,go=1,kt=2,fo=4,mo=1,ci=2,Tr=Symbol(),_t="http://www.w3.org/1999/xhtml",ho="http://www.w3.org/2000/svg",$r="@attach",ta=!1;var ui=Array.isArray,af=Array.prototype.indexOf,di=Array.from,Wc=Object.defineProperty,Tn=Object.getOwnPropertyDescriptor,Yc=Object.getOwnPropertyDescriptors,of=Object.prototype,sf=Array.prototype,Cs=Object.getPrototypeOf,Gc=Object.isExtensible;function Ta(r){return typeof r=="function"}const tr=()=>{};function lf(r){return r()}function pi(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 _i(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,gi=4,vo=8,Ts=1<<24,Ht=16,_n=32,Dn=64,Ds=128,wt=512,Wr=1024,et=2048,Wt=4096,gt=8192,gn=16384,fi=32768,Yt=65536,Xc=1<<17,Zc=1<<18,na=1<<19,Jc=1<<20,fn=1<<25,yo=32768,As=1<<21,Fs=1<<22,An=1<<23,Gt=Symbol("$state"),Qc=Symbol("legacy props"),cf=Symbol(""),Da=new class extends Error{constructor(){super(...arguments);$(this,"name","StaleReactionError");$(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 uf(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function df(r){throw new Error("https://svelte.dev/e/effect_in_teardown")}function pf(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function _f(r){throw new Error("https://svelte.dev/e/effect_orphan")}function gf(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function ff(r){throw new Error("https://svelte.dev/e/props_invalid_value")}function mf(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function hf(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function vf(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function yf(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function bf(){console.warn("https://svelte.dev/e/select_multiple_invalid_value")}function kf(){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 Aa=!1,wf=!1;function Pf(){Aa=!0}let lr=null;function Fa(r){lr=r}function He(r){return ru().get(r)}function mr(r,e){return ru().set(r,e),e}function me(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 he(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 za(){return!Aa||lr!==null&&lr.l===null}function ru(r){return lr===null&&zs(),lr.c??(lr.c=new Map(xf(lr)||void 0))}function xf(r){let e=r.p;for(;e!==null;){const t=e.c;if(t!==null)return t;e=e.p}return null}let aa=[];function tu(){var r=aa;aa=[],pi(r)}function Fn(r){if(aa.length===0&&!bo){var e=aa;queueMicrotask(()=>{e===aa&&tu()})}aa.push(r)}function Ef(){for(;aa.length>0;)tu()}function nu(r){var e=Qe;if(e===null)return Ge.f|=An,r;if((e.f&fi)===0){if((e.f&Ds)===0)throw r;e.b.error(r)}else Ma(r,e)}function Ma(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 Sf=-7169;function Lr(r,e){r.f=r.f&Sf|e}function qs(r){(r.f&wt)!==0||r.deps===null?Lr(r,Wr):Lr(r,Wt)}function au(r){if(r!==null)for(const e of r)(e.f&Hr)===0||(e.f&yo)===0||(e.f^=yo,au(e.deps))}function ou(r,e,t){(r.f&et)!==0?e.add(r):(r.f&Wt)!==0&&t.add(r),au(r.deps),Lr(r,Wr)}const mi=new Set;let rr=null,hi=null,Yr=null,Pt=[],vi=null,Os=!1,bo=!1;const vs=class vs{constructor(){Be(this,Dt);$(this,"committed",!1);$(this,"current",new Map);$(this,"previous",new Map);Be(this,$a,new Set);Be(this,eo,new Set);Be(this,wa,0);Be(this,Pa,0);Be(this,$o,null);Be(this,ro,new Set);Be(this,to,new Set);$(this,"skipped_effects",new Set);$(this,"is_fork",!1)}is_deferred(){return this.is_fork||G(this,Pa)>0}process(e){var a;Pt=[],hi=null,this.apply();var t=[],n=[];for(const i of e)pr(this,Dt,jc).call(this,i,t,n);this.is_fork||pr(this,Dt,rf).call(this),this.is_deferred()?(pr(this,Dt,Bc).call(this,n),pr(this,Dt,Bc).call(this,t)):(hi=this,rr=null,su(n),su(t),hi=null,(a=G(this,$o))==null||a.resolve()),Yr=null}capture(e,t){t!==Tr&&!this.previous.has(e)&&this.previous.set(e,t),(e.f&An)===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(iu(),rr!==null&&rr!==this)return}else G(this,wa)===0&&this.process([]);this.deactivate()}discard(){for(const e of G(this,eo))e(this);G(this,eo).clear()}increment(e){Ne(this,wa,G(this,wa)+1),e&&Ne(this,Pa,G(this,Pa)+1)}decrement(e){Ne(this,wa,G(this,wa)-1),e&&Ne(this,Pa,G(this,Pa)-1),this.revive()}revive(){for(const e of G(this,ro))G(this,to).delete(e),Lr(e,et),mn(e);for(const e of G(this,to))Lr(e,Wt),mn(e);this.flush()}oncommit(e){G(this,$a).add(e)}ondiscard(e){G(this,eo).add(e)}settled(){return(G(this,$o)??Ne(this,$o,Kc())).promise}static ensure(){if(rr===null){const e=rr=new vs;mi.add(rr),bo||vs.enqueue(()=>{rr===e&&e.flush()})}return rr}static enqueue(e){Fn(e)}apply(){}};$a=new WeakMap,eo=new WeakMap,wa=new WeakMap,Pa=new WeakMap,$o=new WeakMap,ro=new WeakMap,to=new WeakMap,Dt=new WeakSet,jc=function(e,t,n){e.f^=Wr;for(var a=e.first,i=null;a!==null;){var s=a.f,c=(s&(_n|Dn))!==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&(gi|vo|Ts))!==0?i.b.defer_effect(a):(s&gi)!==0?t.push(a):Na(a)&&((s&Ht)!==0&&G(this,ro).add(a),ja(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,ro),G(this,to))},rf=function(){if(G(this,Pa)===0){for(const e of G(this,$a))e();G(this,$a).clear()}G(this,wa)===0&&pr(this,Dt,tf).call(this)},tf=function(){var a;if(mi.size>1){this.previous.clear();var e=Yr,t=!0;for(const i of mi){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)lu(d,c,l,u);if(Pt.length>0){rr=i,i.apply();for(const d of Pt)pr(a=i,Dt,jc).call(a,d,[],[]);i.deactivate()}Pt=n}}rr=null,Yr=e}this.committed=!0,mi.delete(this)};let Kt=vs;function If(r){var e=bo;bo=!0;try{for(var t;;){if(Ef(),Pt.length===0&&(rr==null||rr.flush(),Pt.length===0))return vi=null,t;iu()}}finally{bo=e}}function iu(){var r=ua;Os=!0;var e=null;try{var t=0;for(ki(!0);Pt.length>0;){var n=Kt.ensure();if(t++>1e3){var a,i;Cf()}n.process(Pt),Mn.clear()}}finally{Os=!1,ki(r),vi=null}}function Cf(){try{gf()}catch(r){Ma(r,vi)}}let Ot=null;function su(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?Tu(n):n.fn=null),(Ot==null?void 0:Ot.size)>0)){Mn.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 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&Hr)!==0?lu(a,e,t,n):(i&(Fs|Ht))!==0&&(i&et)===0&&cu(a,e,n)&&(Lr(a,et),mn(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&Hr)!==0&&cu(a,e,t))return t.set(a,!0),!0}return t.set(r,!1),!1}function mn(r){for(var e=vi=r;e.parent!==null;){e=e.parent;var t=e.f;if(Os&&e===Qe&&(t&Ht)!==0&&(t&Zc)===0)return;if((t&(Dn|_n))!==0){if((t&Wr)===0)return;e.f^=Wr}}Pt.push(e)}function Ls(r){let e=0,t=oa(0),n;return()=>{bi()&&(o(t),sa(()=>(e===0&&(n=Ue(()=>r(()=>wo(t)))),e+=1,()=>{Fn(()=>{e-=1,e===0&&(n==null||n(),n=void 0,wo(t))})})))}}var Tf=Yt|na|Ds;function uu(r,e,t){new Df(r,e,t)}class Df{constructor(e,t,n){Be(this,Ur);$(this,"parent");$(this,"is_pending",!1);Be(this,At);Be(this,Fc,null);Be(this,ln);Be(this,xa);Be(this,cn);Be(this,Ft,null);Be(this,dt,null);Be(this,un,null);Be(this,In,null);Be(this,Zn,null);Be(this,Ea,0);Be(this,Jn,0);Be(this,Sa,!1);Be(this,no,new Set);Be(this,ao,new Set);Be(this,Qn,null);Be(this,ys,Ls(()=>(Ne(this,Qn,oa(G(this,Ea))),()=>{Ne(this,Qn,null)})));Ne(this,At,e),Ne(this,ln,t),Ne(this,xa,n),this.parent=Qe.b,this.is_pending=!!G(this,ln).pending,Ne(this,cn,la(()=>{Qe.b=this;{var a=pr(this,Ur,Rc).call(this);try{Ne(this,Ft,it(()=>n(a)))}catch(i){this.error(i)}G(this,Jn)>0?pr(this,Ur,Es).call(this):this.is_pending=!1}return()=>{var i;(i=G(this,Zn))==null||i.remove()}},Tf))}defer_effect(e){ou(e,G(this,no),G(this,ao))}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!G(this,ln).pending}update_pending_count(e){pr(this,Ur,Uc).call(this,e),Ne(this,Ea,G(this,Ea)+e),G(this,Qn)&&qa(G(this,Qn),G(this,Ea))}get_effect_pending(){return G(this,ys).call(this),o(G(this,Qn))}error(e){var t=G(this,ln).onerror;let n=G(this,ln).failed;if(G(this,Sa)||!t&&!n)throw e;G(this,Ft)&&(jr(G(this,Ft)),Ne(this,Ft,null)),G(this,dt)&&(jr(G(this,dt)),Ne(this,dt,null)),G(this,un)&&(jr(G(this,un)),Ne(this,un,null));var a=!1,i=!1;const s=()=>{if(a){kf();return}a=!0,i&&yf(),Kt.ensure(),Ne(this,Ea,0),G(this,un)!==null&&ca(G(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),it(()=>G(this,xa).call(this,G(this,At)))))),G(this,Jn)>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){Ma(l,G(this,cn)&&G(this,cn).parent)}finally{Xr(c)}n&&Fn(()=>{Ne(this,un,pr(this,Ur,xs).call(this,()=>{Kt.ensure(),Ne(this,Sa,!0);try{return it(()=>{n(G(this,At),()=>e,()=>s)})}catch(l){return Ma(l,G(this,cn).parent),null}finally{Ne(this,Sa,!1)}}))})}}At=new WeakMap,Fc=new WeakMap,ln=new WeakMap,xa=new WeakMap,cn=new WeakMap,Ft=new WeakMap,dt=new WeakMap,un=new WeakMap,In=new WeakMap,Zn=new WeakMap,Ea=new WeakMap,Jn=new WeakMap,Sa=new WeakMap,no=new WeakMap,ao=new WeakMap,Qn=new WeakMap,ys=new WeakMap,Ur=new WeakSet,RI=function(){try{Ne(this,Ft,it(()=>G(this,xa).call(this,G(this,At))))}catch(e){this.error(e)}},UI=function(){const e=G(this,ln).pending;e&&(Ne(this,dt,it(()=>e(G(this,At)))),Kt.enqueue(()=>{var t=pr(this,Ur,Rc).call(this);Ne(this,Ft,pr(this,Ur,xs).call(this,()=>(Kt.ensure(),it(()=>G(this,xa).call(this,t))))),G(this,Jn)>0?pr(this,Ur,Es).call(this):(ca(G(this,dt),()=>{Ne(this,dt,null)}),this.is_pending=!1)}))},Rc=function(){var e=G(this,At);return this.is_pending&&(Ne(this,Zn,Xt()),G(this,At).before(G(this,Zn)),e=G(this,Zn)),e},xs=function(e){var t=Qe,n=Ge,a=lr;Et(G(this,cn)),Xr(G(this,cn)),Fa(G(this,cn).ctx);try{return e()}catch(i){return nu(i),null}finally{Et(t),Xr(n),Fa(a)}},Es=function(){const e=G(this,ln).pending;G(this,Ft)!==null&&(Ne(this,In,document.createDocumentFragment()),G(this,In).append(G(this,Zn)),Fu(G(this,Ft),G(this,In))),G(this,dt)===null&&Ne(this,dt,it(()=>e(G(this,At))))},Uc=function(e){var t;if(!this.has_pending_snippet()){this.parent&&pr(t=this.parent,Ur,Uc).call(t,e);return}if(Ne(this,Jn,G(this,Jn)+e),G(this,Jn)===0){this.is_pending=!1;for(const n of G(this,no))Lr(n,et),mn(n);for(const n of G(this,ao))Lr(n,Wt),mn(n);G(this,no).clear(),G(this,ao).clear(),G(this,dt)&&ca(G(this,dt),()=>{Ne(this,dt,null)}),G(this,In)&&(G(this,At).before(G(this,In)),Ne(this,In,null))}};function du(r,e,t,n){const a=za()?ko:zn;if(t.length===0&&r.length===0){n(e.map(a));return}var i=rr,s=Qe,c=Af();function l(){Promise.all(t.map(u=>Ff(u))).then(u=>{c();try{n([...e.map(a),...u])}catch(d){(s.f&gn)===0&&Ma(d,s)}i==null||i.deactivate(),yi()}).catch(u=>{Ma(u,s)})}r.length>0?Promise.all(r).then(()=>{c();try{return l()}finally{i==null||i.deactivate(),yi()}}):l()}function Af(){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 yi(){Et(null),Xr(null),Fa(null)}function ko(r){var e=Hr|et,t=Ge!==null&&(Ge.f&Hr)!==0?Ge:null;return Qe!==null&&(Qe.f|=na),{ctx:lr,deps:null,effects:null,equals:$c,f:e,fn:r,reactions:null,rv:0,v:Tr,wv:0,parent:t??Qe,ac:null}}function Ff(r,e,t){let n=Qe;n===null&&uf();var a=n.b,i=void 0,s=oa(Tr),c=!Ge,l=new Map;return Hf(()=>{var m;var u=Kc();i=u.promise;try{Promise.resolve(r()).then(u.resolve,u.reject).then(()=>{d===rr&&d.committed&&d.deactivate(),yi()})}catch(f){u.reject(f),yi()}var d=rr;if(c){var _=a.is_rendered();a.update_pending_count(1),d.increment(_),(m=l.get(d))==null||m.reject(Da),l.delete(d),l.set(d,u)}const p=(f,v=void 0)=>{if(d.activate(),v)v!==Da&&(s.f|=An,qa(s,v));else{(s.f&An)!==0&&(s.f^=An),qa(s,f);for(const[y,h]of l){if(l.delete(y),y===d)break;h.reject(Da)}}c&&(a.update_pending_count(-1),d.decrement(_))};u.promise.then(p,f=>p(null,f||"unknown"))}),La(()=>{for(const u of l.values())u.reject(Da)}),new Promise(u=>{function d(_){function p(){_===i?u(s):d(i)}_.then(p,p)}d(i)})}function g(r){const e=ko(r);return Mu(e),e}function zn(r){const e=ko(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)jr(e[t])}}function zf(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(zf(r));try{r.f&=~yo,pu(r),e=ju(r)}finally{Et(t)}return e}function _u(r){var e=Ns(r);if(!r.equals(e)&&(r.wv=Lu(),(!(rr!=null&&rr.is_fork)||r.deps===null)&&(r.v=e,r.deps===null))){Lr(r,Wr);return}qn||(Yr!==null?(bi()||rr!=null&&rr.is_fork)&&Yr.set(r,e):qs(r))}let js=new Set;const Mn=new Map;let gu=!1;function oa(r,e){var t={f:0,v:r,reactions:null,equals:$c,rv:0,wv:0};return t}function te(r,e){const t=oa(r);return Mu(t),t}function cr(r,e=!1,t=!0){var a;const n=oa(r);return e||(n.equals=eu),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&Xc)!==0)&&za()&&(Ge.f&(Hr|Ht|Fs|Xc))!==0&&!(rt!=null&&rt.includes(r))&&vf();let n=t?ar(e):e;return qa(r,n)}function qa(r,e){if(!r.equals(e)){var t=r.v;qn?Mn.set(r,e):Mn.set(r,t),r.v=e;var n=Kt.ensure();if(n.capture(r,t),(r.f&Hr)!==0){const a=r;(r.f&et)!==0&&Ns(a),qs(a)}r.wv=Lu(),fu(r,et),za()&&Qe!==null&&(Qe.f&Wr)!==0&&(Qe.f&(_n|Dn))===0&&(St===null?Yf([r]):St.push(r)),!n.is_fork&&js.size>0&&!gu&&Mf()}return e}function Mf(){gu=!1;var r=ua;ki(!0);const e=Array.from(js);try{for(const t of e)(t.f&Wr)!==0&&Lr(t,Wt),Na(t)&&ja(t)}finally{ki(r)}js.clear()}function wo(r){F(r,r.v+1)}function fu(r,e){var t=r.reactions;if(t!==null)for(var n=za(),a=t.length,i=0;i<a;i++){var s=t[i],c=s.f;if(!(!n&&s===Qe)){var l=(c&et)===0;if(l&&Lr(s,e),(c&Hr)!==0){var u=s;Yr==null||Yr.delete(u),(c&yo)===0&&(c&wt&&(s.f|=yo),fu(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!==of&&e!==sf)return r;var t=new Map,n=ui(r),a=te(0),i=da,s=c=>{if(da===i)return c();var l=Ge,u=da;Xr(null),Ou(i);var d=c();return Xr(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)&&mf();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),wo(a)}}else F(u,Tr),wo(a);return!0},get(c,l,u){var m;if(l===Gt)return r;var d=t.get(l),_=l in c;if(d===void 0&&(!_||(m=Tn(c,l))!=null&&m.writable)&&(d=s(()=>{var f=ar(_?c[l]:Tr),v=te(f);return v}),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===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||(p=Tn(c,l))!=null&&p.writable)){u===void 0&&(u=s(()=>{var m=d?ar(c[l]):Tr,f=te(m);return f}),t.set(l,u));var _=o(u);if(_===Tr)return!1}return d},set(c,l,u,d){var P;var _=t.get(l),p=l in c;if(n&&l==="length")for(var m=u;m<_.v;m+=1){var f=t.get(m+"");f!==void 0?F(f,Tr):m in c&&(f=s(()=>te(Tr)),t.set(m+"",f))}if(_===void 0)(!p||(P=Tn(c,l))!=null&&P.writable)&&(_=s(()=>te(void 0)),F(_,ar(u)),t.set(l,_));else{p=_.v!==Tr;var v=s(()=>ar(u));F(_,v)}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)}wo(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(){hf()}})}function mu(r){try{if(r!==null&&typeof r=="object"&&Gt in r)return r[Gt]}catch{}return r}function qf(r,e){return Object.is(mu(r),mu(e))}var hu,vu,yu,bu;function Of(){if(hu===void 0){hu=window,vu=/Firefox/.test(navigator.userAgent);var r=Element.prototype,e=Node.prototype,t=Text.prototype;yu=Tn(e,"firstChild").get,bu=Tn(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 Xt(r=""){return document.createTextNode(r)}function ft(r){return yu.call(r)}function Po(r){return bu.call(r)}function D(r,e){return ft(r)}function ie(r,e=!1){{var t=ft(r);return t instanceof Comment&&t.data===""?Po(t):t}}function U(r,e=1,t=!1){let n=r;for(;e--;)n=Po(n);return n}function Lf(r){r.textContent=""}function ku(){return!1}function Nf(r,e){if(e){const t=document.body;r.autofocus=!0,Fn(()=>{document.activeElement===t&&r.focus()})}}let wu=!1;function jf(){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 Oa(r){var e=Ge,t=Qe;Xr(null),Et(null);try{return r()}finally{Xr(e),Et(t)}}function Bf(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),jf()}function Pu(r){Qe===null&&(Ge===null&&_f(),pf()),qn&&df()}function Rf(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|et|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|=fi}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&na)===0&&(i=i.first,(r&Ht)!==0&&(r&Yt)!==0&&i!==null&&(i.f|=Yt)),i!==null&&(i.parent=n,n!==null&&Rf(i,n),Ge!==null&&(Ge.f&Hr)!==0&&(r&Dn)===0)){var s=Ge;(s.effects??(s.effects=[])).push(i)}return a}function bi(){return Ge!==null&&!Lt}function La(r){const e=xt(vo,null,!1);return Lr(e,Wr),e.teardown=r,e}function ir(r){Pu();var e=Qe.f,t=!Ge&&(e&_n)!==0&&(e&fi)===0;if(t){var n=lr;(n.e??(n.e=[])).push(r)}else return xu(r)}function xu(r){return xt(gi|Jc,r,!1)}function Bs(r){return Pu(),xt(vo|Jc,r,!0)}function Uf(r){Kt.ensure();const e=xt(Dn|na,r,!0);return()=>{jr(e)}}function Vf(r){Kt.ensure();const e=xt(Dn|na,r,!0);return(t={})=>new Promise(n=>{t.outro?ca(e,()=>{jr(e),n(void 0)}):(jr(e),n(void 0))})}function ia(r){return xt(gi,r,!1)}function vr(r,e){var t=lr,n={effect:null,ran:!1,deps:r};t.l.$.push(n),n.effect=sa(()=>{r(),!n.ran&&(n.ran=!0,Ue(e))})}function Rs(){var r=lr;sa(()=>{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 Hf(r){return xt(Fs|na,r,!0)}function sa(r,e=0){return xt(vo|e,r,!0)}function W(r,e=[],t=[],n=[]){du(n,e,t,a=>{xt(vo,()=>r(...a.map(o)),!0)})}function la(r,e=0){var t=xt(Ht|e,r,!0);return t}function Eu(r,e=0){var t=xt(Ts|e,r,!0);return t}function it(r){return xt(_n|na,r,!0)}function Su(r){var e=r.teardown;if(e!==null){const t=qn,n=Ge;zu(!0),Xr(null);try{e.call(null)}finally{zu(t),Xr(n)}}}function Iu(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&Dn)!==0?t.parent=null:jr(t,e),t=n}}function Wf(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&Zc)!==0)&&r.nodes!==null&&r.nodes.end!==null&&(Cu(r.nodes.start,r.nodes.end),t=!0),Iu(r,e&&!t),wi(r,0),Lr(r,gn);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:Po(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 ca(r,e,t=!0){var n=[];Du(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 Du(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;Du(a,e,s?t:!1),a=i}}}function Us(r){Au(r,!0)}function Au(r,e){if((r.f&gt)!==0){r.f^=gt,(r.f&Wr)===0&&(Lr(r,et),mn(r));for(var t=r.first;t!==null;){var n=t.next,a=(t.f&Yt)!==0||(t.f&_n)!==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:Po(t);e.append(t),t=a}}let ua=!1;function ki(r){ua=r}let qn=!1;function zu(r){qn=r}let Ge=null,Lt=!1;function Xr(r){Ge=r}let Qe=null;function Et(r){Qe=r}let rt=null;function Mu(r){Ge!==null&&(rt===null?rt=[r]:rt.push(r))}let tt=null,mt=0,St=null;function Yf(r){St=r}let qu=1,xo=0,da=xo;function Ou(r){da=r}function Lu(){return++qu}function Na(r){var e=r.f;if((e&et)!==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)&&_u(i),i.wv>r.wv)return!0}(e&wt)!==0&&Yr===null&&Lr(r,Wr)}return!1}function Nu(r,e,t=!0){var n=r.reactions;if(n!==null&&!(rt!=null&&rt.includes(r)))for(var a=0;a<n.length;a++){var i=n[a];(i.f&Hr)!==0?Nu(i,e,!1):e===i&&(t?Lr(i,et):(i.f&Wr)!==0&&Lr(i,Wt),mn(i))}}function ju(r){var f;var e=tt,t=mt,n=St,a=Ge,i=rt,s=lr,c=Lt,l=da,u=r.f;tt=null,mt=0,St=null,Ge=(u&(_n|Dn))===0?r:null,rt=null,Fa(r.ctx),Lt=!1,da=++xo,r.ac!==null&&(Oa(()=>{r.ac.abort(Da)}),r.ac=null);try{r.f|=As;var d=r.fn,_=d(),p=r.deps;if(tt!==null){var m;if(wi(r,mt),p!==null&&mt>0)for(p.length=mt+tt.length,m=0;m<tt.length;m++)p[mt+m]=tt[m];else r.deps=p=tt;if(bi()&&(r.f&wt)!==0)for(m=mt;m<p.length;m++)((f=p[m]).reactions??(f.reactions=[])).push(r)}else p!==null&&mt<p.length&&(wi(r,mt),p.length=mt);if(za()&&St!==null&&!Lt&&p!==null&&(r.f&(Hr|Wt|et))===0)for(m=0;m<St.length;m++)Nu(St[m],r);return a!==null&&a!==r&&(xo++,St!==null&&(n===null?n=St:n.push(...St))),(r.f&An)!==0&&(r.f^=An),_}catch(v){return nu(v)}finally{r.f^=As,tt=e,mt=t,St=n,Ge=a,rt=i,Fa(s),Lt=c,da=l}}function Gf(r,e){let t=e.reactions;if(t!==null){var n=af.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&&(tt===null||!tt.includes(e))){var i=e;(i.f&wt)!==0&&(i.f^=wt,i.f&=-32769),qs(i),pu(i),wi(i,0)}}function wi(r,e){var t=r.deps;if(t!==null)for(var n=e;n<t.length;n++)Gf(r,t[n])}function ja(r){var e=r.f;if((e&gn)===0){Lr(r,Wr);var t=Qe,n=ua;Qe=r,ua=!0;try{(e&(Ht|Ts))!==0?Wf(r):Iu(r),Su(r);var a=ju(r);r.teardown=typeof a=="function"?a:null,r.wv=qu;var i;ta&&wf&&(r.f&et)!==0&&r.deps}finally{ua=n,Qe=t}}}async function Bu(){await Promise.resolve(),If()}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&&!(rt!=null&&rt.includes(r))){var a=Ge.deps;if((Ge.f&As)!==0)r.rv<xo&&(r.rv=xo,tt===null&&a!==null&&a[mt]===r?mt++:tt===null?tt=[r]:tt.includes(r)||tt.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(qn&&Mn.has(r))return Mn.get(r);if(t){var s=r;if(qn){var c=s.v;return((s.f&Wr)===0&&s.reactions!==null||Uu(s))&&(c=Ns(s)),Mn.set(s,c),c}var l=(s.f&wt)===0&&!Lt&&Ge!==null&&(ua||(Ge.f&wt)!==0),u=s.deps===null;Na(s)&&(l&&(s.f|=wt),_u(s)),l&&!u&&Ru(s)}if(Yr!=null&&Yr.has(r))return Yr.get(r);if((r.f&An)!==0)throw r.v;return r.v}function Ru(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&&Ru(e)}}function Uu(r){if(r.v===Tr)return!0;if(r.deps===null)return!1;for(const e of r.deps)if(Mn.has(e)||(e.f&Hr)!==0&&Uu(e))return!0;return!1}function Ue(r){var e=Lt;try{return Lt=!0,r()}finally{Lt=e}}function Kf(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=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||Eo.call(e,i),!i.cancelBubble)return Oa(()=>t==null?void 0:t.call(this,i))}return r.startsWith("pointer")||r.startsWith("touch")||r==="wheel"?Fn(()=>{e.addEventListener(r,a,n)}):e.addEventListener(r,a,n),a}function Xf(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++)Vu.add(r[e]);for(var t of Hs)t(r)}let Hu=null;function Eo(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=Ge,_=Qe;Xr(null),Et(null);try{for(var p,m=[];i!==null;){var f=i.assignedSlot||i.parentNode||i.host||null;try{var v=i["__"+n];v!=null&&(!i.disabled||r.target===i)&&v.call(i,r)}catch(h){p?m.push(h):p=h}if(r.cancelBubble||f===e||f===null)break;i=f}if(p){for(let h of m)queueMicrotask(()=>{throw h});throw p}}finally{r.__root=e,delete r.currentTarget,Xr(d),Et(_)}}}function Ys(r){var e=document.createElement("template");return e.innerHTML=r.replaceAll("<!>","<!---->"),e.content}function On(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&mo)!==0,n=(e&ci)!==0,a,i=!r.startsWith("<!>");return()=>{a===void 0&&(a=Ys(i?r:"<!>"+r),t||(a=ft(a)));var s=n||vu?document.importNode(a,!0):a.cloneNode(!0);if(t){var c=ft(s),l=s.lastChild;On(c,l)}else On(s,s);return s}}function Zf(r,e,t="svg"){var n=!r.startsWith("<!>"),a=(e&mo)!==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),_=u.lastChild;On(d,_)}else On(u,u);return u}}function Dr(r,e){return Zf(r,e,"svg")}function Fe(r=""){{var e=Xt(r+"");return On(e,e),e}}function Se(){var r=document.createDocumentFragment(),e=document.createComment(""),t=Xt();return r.append(e,t),On(e,t),r}function x(r,e){r!==null&&r.before(e)}function Jf(r){return r.endsWith("capture")&&r!=="gotpointercapture"&&r!=="lostpointercapture"}const Qf=["beforeinput","click","change","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"];function $f(r){return Qf.includes(r)}const em={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 rm(r){return r=r.toLowerCase(),em[r]??r}const tm=["touchstart","touchmove"];function nm(r){return tm.includes(r)}let Pi=!0;function xi(r){Pi=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 Ln(r,e){return am(r,e)}const Ba=new Map;function am(r,{target:e,anchor:t,props:n={},events:a,context:i,intro:s=!0}){Of();var c=new Set,l=_=>{for(var p=0;p<_.length;p++){var m=_[p];if(!c.has(m)){c.add(m);var f=nm(m);e.addEventListener(m,Eo,{passive:f});var v=Ba.get(m);v===void 0?(document.addEventListener(m,Eo,{passive:f}),Ba.set(m,1)):Ba.set(m,v+1)}}};l(di(Vu)),Hs.add(l);var u=void 0,d=Vf(()=>{var _=t??e.appendChild(Xt());return uu(_,{pending:()=>{}},p=>{if(i){me({});var m=lr;m.c=i}a&&(n.$$events=a),Pi=s,u=r(p,n)||{},Pi=!0,i&&he()}),()=>{var f;for(var p of c){e.removeEventListener(p,Eo);var m=Ba.get(p);--m===0?(document.removeEventListener(p,Eo),Ba.delete(p)):Ba.set(p,m)}Hs.delete(l),_!==t&&((f=_.parentNode)==null||f.removeChild(_))}});return Gs.set(u,d),u}let Gs=new WeakMap;function Ra(r,e){const t=Gs.get(r);return t?(Gs.delete(r),t(e)):Promise.resolve()}class So{constructor(e,t=!0){$(this,"anchor");Be(this,Rt,new Map);Be(this,dn,new Map);Be(this,bt,new Map);Be(this,Ia,new Set);Be(this,ei,!0);Be(this,ri,()=>{var e=rr;if(G(this,Rt).has(e)){var t=G(this,Rt).get(e),n=G(this,dn).get(t);if(n)Us(n),G(this,Ia).delete(t);else{var a=G(this,bt).get(t);a&&(G(this,dn).set(t,a.effect),G(this,bt).delete(t),a.fragment.lastChild.remove(),this.anchor.before(a.fragment),n=a.effect)}for(const[i,s]of G(this,Rt)){if(G(this,Rt).delete(i),i===e)break;const c=G(this,bt).get(s);c&&(jr(c.effect),G(this,bt).delete(s))}for(const[i,s]of G(this,dn)){if(i===t||G(this,Ia).has(i))continue;const c=()=>{if(Array.from(G(this,Rt).values()).includes(i)){var u=document.createDocumentFragment();Fu(s,u),u.append(Xt()),G(this,bt).set(i,{effect:s,fragment:u})}else jr(s);G(this,Ia).delete(i),G(this,dn).delete(i)};G(this,ei)||!n?(G(this,Ia).add(i),ca(s,c,!1)):c()}}});Be(this,bs,e=>{G(this,Rt).delete(e);const t=Array.from(G(this,Rt).values());for(const[n,a]of G(this,bt))t.includes(n)||(jr(a.effect),G(this,bt).delete(n))});this.anchor=e,Ne(this,ei,t)}ensure(e,t){var n=rr,a=ku();if(t&&!G(this,dn).has(e)&&!G(this,bt).has(e))if(a){var i=document.createDocumentFragment(),s=Xt();i.append(s),G(this,bt).set(e,{effect:it(()=>t(s)),fragment:i})}else G(this,dn).set(e,it(()=>t(this.anchor)));if(G(this,Rt).set(n,e),a){for(const[c,l]of G(this,dn))c===e?n.skipped_effects.delete(l):n.skipped_effects.add(l);for(const[c,l]of G(this,bt))c===e?n.skipped_effects.delete(l.effect):n.skipped_effects.add(l.effect);n.oncommit(G(this,ri)),n.ondiscard(G(this,bs))}else G(this,ri).call(this)}}Rt=new WeakMap,dn=new WeakMap,bt=new WeakMap,Ia=new WeakMap,ei=new WeakMap,ri=new WeakMap,bs=new WeakMap;function xr(r,e,...t){var n=new So(r);la(()=>{const a=e()??null;n.ensure(a,a&&(i=>a(i,...t)))},Yt)}function kr(r){lr===null&&zs(),Aa&&lr.l!==null?om(lr).m.push(r):ir(()=>{const e=Ue(r);if(typeof e=="function")return e})}function Nt(r){lr===null&&zs(),kr(()=>()=>Ue(r))}function om(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)}la(()=>{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 So(r),a=!za();la(()=>{var i=e();a&&i!==null&&typeof i=="object"&&(i={}),n.ensure(i,t)})}function hn(r,e){return e}function im(r,e,t){for(var n=[],a=e.length,i,s=e.length,c=0;c<a;c++){let _=e[c];ca(_,()=>{if(i){if(i.pending.delete(_),i.done.add(_),i.pending.size===0){var p=r.outrogroups;Ks(di(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;Lf(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 Yu;function Jt(r,e,t,n,a,i=null){var s=r,c=new Map,l=(e&Pr)!==0;if(l){var u=r;s=u.appendChild(Xt())}var d=null,_=zn(()=>{var h=t();return ui(h)?h:h==null?[]:di(h)}),p,m=!0;function f(){y.fallback=d,sm(y,p,s,e,n),d!==null&&(p.length===0?(d.f&fn)===0?Us(d):(d.f^=fn,Io(d,null,s)):ca(d,()=>{d=null}))}var v=la(()=>{p=o(_);for(var h=p.length,k=new Set,P=rr,b=ku(),w=0;w<h;w+=1){var E=p[w],I=n(E,w),T=m?null:c.get(I);T?(T.v&&qa(T.v,E),T.i&&qa(T.i,w),b&&P.skipped_effects.delete(T.e)):(T=lm(c,m?s:Yu??(Yu=Xt()),E,I,w,a,e,t),m||(T.e.f|=fn),c.set(I,T)),k.add(I)}if(h===0&&i&&!d&&(m?d=it(()=>i(s)):(d=it(()=>i(Yu??(Yu=Xt()))),d.f|=fn)),!m)if(b){for(const[S,A]of c)k.has(S)||P.skipped_effects.add(A.e);P.oncommit(f),P.ondiscard(()=>{})}else f();o(_)}),y={effect:v,items:c,outrogroups:null,fallback:d};m=!1}function sm(r,e,t,n,a){var A,C,N,q,j,Z,O,z,M;var i=(n&Vr)!==0,s=e.length,c=r.items,l=r.effect.first,u,d=null,_,p=[],m=[],f,v,y,h;if(i)for(h=0;h<s;h+=1)f=e[h],v=a(f,h),y=c.get(v).e,(y.f&fn)===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(f=e[h],v=a(f,h),y=c.get(v).e,r.outrogroups!==null)for(const V of r.outrogroups)V.pending.delete(y),V.done.delete(y);if((y.f&fn)!==0)if(y.f^=fn,y===l)Io(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),Nn(r,d,y),Nn(r,y,k),Io(y,k,t),d=y,p=[],m=[],l=d.next;continue}if((y.f&gt)!==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<m.length){var P=m[0],b;d=P.prev;var w=p[0],E=p[p.length-1];for(b=0;b<p.length;b+=1)Io(p[b],P,t);for(b=0;b<m.length;b+=1)u.delete(m[b]);Nn(r,w.prev,E.next),Nn(r,d,w),Nn(r,E,P),l=P,d=E,h-=1,p=[],m=[]}else u.delete(y),Io(y,l,t),Nn(r,y.prev,y.next),Nn(r,y,d===null?r.effect.first:d.next),Nn(r,d,y),d=y;continue}for(p=[],m=[];l!==null&&l!==y;)(u??(u=new Set)).add(l),m.push(l),l=l.next;if(l===null)continue}(y.f&fn)===0&&p.push(y),d=y,l=y.next}if(r.outrogroups!==null){for(const V of r.outrogroups)V.pending.size===0&&(Ks(di(V.done)),(j=r.outrogroups)==null||j.delete(V));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&gt)===0&&I.push(y);for(;l!==null;)(l.f&gt)===0&&l!==r.fallback&&I.push(l),l=l.next;var T=I.length;if(T>0){var S=(n&Pr)!==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()}im(r,I,S)}}i&&Fn(()=>{var V,L;if(_!==void 0)for(y of _)(L=(V=y.nodes)==null?void 0:V.a)==null||L.apply()})}function lm(r,e,t,n,a,i,s,c){var l=(s&Je)!==0?(s&Vt)===0?cr(t,!1,!1):oa(t):null,u=(s&pt)!==0?oa(a):null;return{v:l,i:u,e:it(()=>(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=Po(n);if(i.before(n),n===a)return;n=s}}function Nn(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="";W(()=>{var c=Qe;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=ft(u)),On(ft(u),u.lastChild),t||n)for(;ft(u);)i.before(ft(u));else i.before(u)}})}function cm(r,e,t){var n=new So(r);la(()=>{var a=e()??null;n.ensure(a,a&&(i=>t(i,a)))},Yt)}const um=()=>performance.now(),yn={tick:r=>requestAnimationFrame(r),now:()=>um(),tasks:new Set};function Gu(){const r=yn.now();yn.tasks.forEach(e=>{e.c(r)||(yn.tasks.delete(e),e.f())}),yn.tasks.size!==0&&yn.tick(Gu)}function dm(r){let e;return yn.tasks.size===0&&yn.tick(Gu),{promise:new Promise(t=>{yn.tasks.add(e={c:r,f:t})}),abort(){yn.tasks.delete(e)}}}function Ei(r,e){Oa(()=>{r.dispatchEvent(new CustomEvent(e))})}function pm(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=pm(a.trim());e[s]=i.trim()}return e}const _m=r=>r;function Xu(r,e,t,n){var P;var a=(r&go)!==0,i=(r&kt)!==0,s=a&&i,c=(r&fo)!==0,l=s?"both":a?"in":"out",u,d=e.inert,_=e.style.overflow,p,m;function f(){return Oa(()=>u??(u=t()(e,(n==null?void 0:n())??{},{direction:l})))}var v={is_global:c,in(){var b;if(e.inert=d,!a){m==null||m.abort(),(b=m==null?void 0:m.reset)==null||b.call(m);return}i||p==null||p.abort(),Ei(e,"introstart"),p=Xs(e,f(),m,1,()=>{Ei(e,"introend"),p==null||p.abort(),p=u=void 0,e.style.overflow=_})},out(b){if(!i){b==null||b(),u=void 0;return}e.inert=!0,Ei(e,"outrostart"),m=Xs(e,f(),p,0,()=>{Ei(e,"outroend"),b==null||b()})},stop:()=>{p==null||p.abort(),m==null||m.abort()}},y=Qe;if(((P=y.nodes).t??(P.t=[])).push(v),a&&Pi){var h=c;if(!h){for(var k=y.parent;k&&(k.f&Yt)!==0;)for(;(k=k.parent)&&(k.f&Ht)===0;);h=!k||(k.f&fi)!==0}h&&ia(()=>{Ue(()=>v.in())})}}function Xs(r,e,t,n,a){var i=n===1;if(Ta(e)){var s,c=!1;return Fn(()=>{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:tr,deactivate:tr,reset:tr,t:()=>n};const{delay:l=0,css:u,tick:d,easing:_=_m}=e;var p=[];if(i&&t===void 0&&(d&&d(0,1),u)){var m=Ku(u(0,1));p.push(m,m)}var f=()=>1-n,v=r.animate(p,{duration:l,fill:"forwards"});return v.onfinish=()=>{v.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),P=[];if(k>0){var b=!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));P.push(T),b||(b=T.overflow==="hidden")}b&&(r.style.overflow="hidden"),f=()=>{var S=v.currentTime;return y+h*_(S/k)},d&&dm(()=>{if(v.playState!=="running")return!1;var S=f();return d(S,1-S),!0})}v=r.animate(P,{duration:k,fill:"forwards"}),v.onfinish=()=>{f=()=>n,d==null||d(n,1-n),a()}},{abort:()=>{v&&(v.cancel(),v.effect=null,v.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);la(()=>{const u=e()||null;var d=u==="svg"?ho:null;if(u===null){l.ensure(null,null),xi(!0);return}return l.ensure(u,_=>{if(u){if(s=d?document.createElementNS(d,u):document.createElement(u),On(s,s),n){var p=s.appendChild(Xt());n(s,p)}Qe.nodes.end=s,_.before(s)}}),xi(!0),()=>{u&&xi(!1)}},Yt),La(()=>{xi(!0)})}function Pe(r,e){ia(()=>{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 gm(r,e,t){ia(()=>{var n=Ue(()=>e(r,t==null?void 0:t())||{});if(t&&(n!=null&&n.update)){var a=!1,i={};sa(()=>{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 fm(r,e){var t=void 0,n;Eu(()=>{t!==(t=e())&&(n&&(jr(n),n=null),t&&(n=it(()=>{ia(()=>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 mm(){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 pa(r){return typeof r=="object"?mm(r):r??""}const Ju=[...`
2
+ \r\f \v\uFEFF`];function hm(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 vm(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 v=r.length;for(var _=0;_<v;_++){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===";"||_===v-1){if(d!==-1){var m=Js(r.substring(u,d).trim());if(!l.includes(m)){p!==";"&&_++;var f=r.substring(u,_).trim();t+=" "+f+";"}}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=hm(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=vm(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(!ui(e))return bf();for(var n of r.options)n.selected=e.includes($u(n));return}for(n of r.options){var a=$u(n);if(qf(a,e)){n.selected=!0;return}}(!t||e!==void 0)&&(r.selectedIndex=-1)}function ym(r){var e=new MutationObserver(()=>{$s(r,r.__value)});e.observe(r,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["value"]}),La(()=>{e.disconnect()})}function $u(r){return"__value"in r?r.__value:r.value}const Co=Symbol("class"),To=Symbol("style"),ed=Symbol("is custom element"),rd=Symbol("is html");function bm(r,e){var t=rl(r);t.checked!==(t.checked=e??void 0)&&(r.checked=e)}function km(r,e){e?r.hasAttribute("selected")||r.setAttribute("selected",""):r.removeAttribute("selected")}function we(r,e,t,n){var a=rl(r);a[e]!==(a[e]=t)&&(e==="loading"&&(r[cf]=t),t==null?r.removeAttribute(e):typeof t!="string"&&nd(r).includes(e)?r[e]=t:r.setAttribute(e,t))}function wm(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=pa(t.class):(n||t[Co])&&(t.class=null),t[To]&&(t.style??(t.style=null));var p=nd(r);for(const P in t){let b=t[P];if(d&&P==="value"&&b==null){r.value=r.__value="",u[P]=b;continue}if(P==="class"){var m=r.namespaceURI==="http://www.w3.org/1999/xhtml";ur(r,m,b,n,e==null?void 0:e[Co],t[Co]),u[P]=b,u[Co]=t[Co];continue}if(P==="style"){Le(r,b,e==null?void 0:e[To],t[To]),u[P]=b,u[To]=t[To];continue}var f=u[P];if(!(b===f&&!(b===void 0&&r.hasAttribute(P)))){u[P]=b;var v=P[0]+P[1];if(v!=="$$")if(v==="on"){const w={},E="$$"+P;let I=P.slice(2);var y=$f(I);if(Jf(I)&&(I=I.slice(0,-7),w.capture=!0),!y&&f){if(b!=null)continue;r.removeEventListener(I,u[E],w),u[E]=null}if(b!=null)if(y)r[`__${I}`]=b,Zt([I]);else{let T=function(S){u[P].call(this,S)};u[E]=Ws(I,r,T,w)}else y&&(r[`__${I}`]=void 0)}else if(P==="style")we(r,P,b);else if(P==="autofocus")Nf(r,!!b);else if(!c&&(P==="__value"||P==="value"&&b!=null))r.value=r.__value=b;else if(P==="selected"&&d)km(r,b);else{var h=P;l||(h=rm(h));var k=h==="defaultValue"||h==="defaultChecked";if(b==null&&!c&&!k)if(s[P]=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(P);else k||p.includes(h)&&(c||typeof b!="string")?(r[h]=b,h in s&&(s[h]=Tr)):typeof b!="function"&&we(r,h,b)}}}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 f=e(...l.map(o)),v=wm(r,u,f,i,s,c);p&&_&&"value"in f&&$s(r,f.value);for(let h of Object.getOwnPropertySymbols(d))f[h]||jr(d[h]);for(let h of Object.getOwnPropertySymbols(f)){var y=f[h];h.description===$r&&(!u||y!==u[h])&&(d[h]&&jr(d[h]),d[h]=it(()=>fm(r,()=>y))),v[h]=y}u=v}),_){var m=r;ia(()=>{$s(m,u.value,!0),ym(m)})}p=!0})}function rl(r){return r.__attributes??(r.__attributes={[ed]:r.nodeName.includes("-"),[rd]:r.namespaceURI===_t})}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 Pm(r,e,t=e){var n=new WeakSet;Bf(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 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))}}}),Ue(e)==null&&r.value&&(t(tl(r)?nl(r.value):r.value),rr!==null&&n.add(rr)),sa(()=>{var a=e();if(r===document.activeElement){var i=hi??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,$n,new WeakMap);Be(this,oo);Be(this,ti);Ne(this,ti,e)}observe(e,t){var n=G(this,$n).get(e)||new Set;return n.add(t),G(this,$n).set(e,n),pr(this,ks,nf).call(this).observe(e,G(this,ti)),()=>{var a=G(this,$n).get(e);a.delete(t),a.size===0&&(G(this,$n).delete(e),G(this,oo).unobserve(e))}}};$n=new WeakMap,oo=new WeakMap,ti=new WeakMap,ks=new WeakSet,nf=function(){return G(this,oo)??Ne(this,oo,new ResizeObserver(e=>{for(var t of e){ws.entries.set(t.target,t);for(var n of G(this,$n).get(t.target)||[])n(t)}}))},$(ws,"entries",new WeakMap);let Si=ws;var xm=new Si({box:"content-box"}),Em=new Si({box:"border-box"});function ad(r,e,t){var n=xm,a=n.observe(r,i=>t(i[e]));La(a)}function Do(r,e,t){var n=Em.observe(r,()=>t(r[e]));ia(()=>(Ue(()=>t(r[e])),n))}function od(r,e){return r===e||(r==null?void 0:r[Gt])===e}function _a(r={},e,t,n){return ia(()=>{var a,i;return sa(()=>{a=i,i=[],Ue(()=>{r!==t(...i)&&(e(r,...i),a&&od(t(...a),r)&&e(null,...a))})}),()=>{Fn(()=>{i&&od(t(...i),r)&&e(null,...i)})}}),r}function jn(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=ko(()=>{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),pi(t.b)}),ir(()=>{const a=Ue(()=>t.m.map(lf));return()=>{for(const i of a)typeof i=="function"&&i()}}),t.a.length&&ir(()=>{id(e,n),pi(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=ui(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 Ua=[];function st(r,e){return{subscribe:br(r,e).subscribe}}function br(r,e=tr){let t=null;const n=new Set;function a(c){if(Ms(r,c)&&(r=c,t)){const l=!Ua.length;for(const u of n)u[1](),Ua.push(u,r);if(l){for(let u=0;u<Ua.length;u+=2)Ua[u][0](Ua[u+1]);Ua.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 st(t,(s,c)=>{let l=!1;const u=[];let d=0,_=tr;const p=()=>{if(d)return;_();const f=e(n?u[0]:u,s,c);i?s(f):_=typeof f=="function"?f:tr},m=a.map((f,v)=>al(f,y=>{u[v]=y,d&=~(1<<v),l&&p()},()=>{d|=1<<v}));return l=!0,p(),function(){pi(m),_(),l=!1}})}function Ao(r){let e;return al(r,t=>e=t)(),e}let Ii=!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 Ci(r,e){return r.set(e),e}function Ze(){const r={};function e(){La(()=>{for(var t in r)r[t].unsubscribe();Wc(r,ol,{enumerable:!1,value:!0})})}return[r,e]}function Sm(r){var e=Ii;try{return Ii=!1,[r(),Ii]}finally{Ii=e}}const Im={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},Im)}const Cm={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=Tn(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=Tn(n,e);return a&&!a.configurable&&(a.configurable=!0),a}}},has(r,e){if(e===Gt||e===Qc)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},Cm)}function J(r,e,t,n){var P;var a=!Aa||(t&li)!==0,i=(t&_o)!==0,s=(t&sr)!==0,c=n,l=!0,u=()=>(l&&(l=!1,c=s?Ue(n):n),c),d;if(i){var _=Gt in r||Qc in r;d=((P=Tn(r,e))==null?void 0:P.set)??(_&&e in r?b=>r[e]=b:void 0)}var p,m=!1;i?[p,m]=Sm(()=>r[e]):p=r[e],p===void 0&&n!==void 0&&(p=u(),d&&(a&&ff(),d(p)));var f;if(a?f=()=>{var b=r[e];return b===void 0?u():(l=!0,b)}:f=()=>{var b=r[e];return b!==void 0&&(c=void 0),b===void 0?c:b},a&&(t&ra)===0)return f;if(d){var v=r.$$legacy;return function(b,w){return arguments.length>0?((!a||!w||v||m)&&d(w?f():b),b):f()}}var y=!1,h=((t&ot)!==0?ko:zn)(()=>(y=!1,f()));i&&o(h);var k=Qe;return function(b,w){if(arguments.length>0){const E=w?o(h):a&&i?ar(b):b;return F(h,E),y=!0,c!==void 0&&(c=E),b}return qn&&y||(k.f&gn)!==0?h.v:o(h)}}var qe=(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))(qe||{});function Tm(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 Va{static getPublicMessage(e){return Tm(e)}static getErrorCodeForBackendErrorCode(e){switch(e){case 7101:case 7773:case 7898:case 7899:case 7900:case 7901:return qe.StoreProblemError;case 7102:return qe.ReceiptAlreadyInUseError;case 7103:return qe.InvalidReceiptError;case 7107:case 7224:case 7225:case 7967:return qe.InvalidCredentialsError;case 7105:case 7106:case 7814:case 7877:case 7878:return qe.PurchaseInvalidError;case 7772:return qe.ProductAlreadyPurchasedError;case 7220:return qe.InvalidAppUserIdError;case 7259:return qe.CustomerInfoError;case 7229:return qe.StoreProblemError;case 7230:case 7e3:return qe.ConfigurationError;case 7231:return qe.StoreProblemError;case 7232:return qe.IneligibleError;case 7263:case 7264:return qe.InvalidSubscriberAttributesError;case 7104:case 7234:case 7226:case 7110:return qe.UnexpectedBackendResponseError;case 7662:return qe.UnsupportedError;case 7012:case 7834:case 7879:return qe.InvalidEmailError}}static convertCodeToBackendErrorCode(e){return e in bn?e:null}static convertPurchaseFlowErrorCodeToErrorCode(e){switch(e){case ve.ErrorSettingUpPurchase:return qe.StoreProblemError;case ve.ErrorChargingPayment:return qe.PaymentPendingError;case ve.NetworkError:return qe.NetworkError;case ve.MissingEmailError:return qe.PurchaseInvalidError;case ve.AlreadyPurchasedError:return qe.ProductAlreadyPurchasedError;case ve.InvalidPaddleAPIKeyError:return qe.InvalidCredentialsError;default:return qe.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 Ke extends Error{constructor(t,n,a,i){super(n);$(this,"toString",()=>`PurchasesError(code: ${qe[this.errorCode]}, message: ${this.message})`);this.errorCode=t,this.underlyingErrorMessage=a,this.extra=i}static getForBackendError(t,n){const a=Va.getErrorCodeForBackendErrorCode(t);return new Ke(a,Va.getPublicMessage(a),n,{backendErrorCode:t})}static getForPurchasesFlowError(t){return new Ke(Va.convertPurchaseFlowErrorCodeToErrorCode(t.errorCode),t.message,t.underlyingErrorMessage)}}class ld 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||{}),Ha=(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))(Ha||{}),lt=(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))(lt||{});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===lt.Silent)){if(this.logHandler!==null){this.logHandler(t,n);return}switch(t){case lt.Error:console.error(n);break;case lt.Warn:console.warn(n);break;case lt.Info:console.info(n);break;case lt.Debug:console.debug(n);break;case lt.Verbose:console.debug(n);break}}}static errorLog(e){this.log(e,lt.Error)}static warnLog(e){this.log(e,lt.Warn)}static infoLog(e){this.log(e,lt.Info)}static debugLog(e){this.log(e,lt.Debug)}static verboseLog(e){this.log(e,lt.Verbose)}}$(xe,"logLevel",lt.Silent),$(xe,"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 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 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(ve.UnknownError,"Got an error status but error field is empty."));return}switch(r.code){case Ha.SetupIntentCreationFailed:e(new fe(ve.ErrorSettingUpPurchase,"Setup intent creation failed"));return;case Ha.PaymentMethodCreationFailed:e(new fe(ve.ErrorSettingUpPurchase,"Payment method creation failed"));return;case Ha.PaymentChargeFailed:e(new fe(ve.ErrorChargingPayment,"Payment charge failed"));return;case Ha.SetupIntentCompletionFailed:e(new fe(ve.ErrorSettingUpPurchase,"Setup intent completion failed"));return;case Ha.AlreadyPurchased:e(new fe(ve.AlreadyPurchasedError,"Purchased was already completed"));return;default:e(new fe(ve.UnknownError,"Unknown error code received"));return}}var ve=(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))(ve||{});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===qe.ProductAlreadyPurchasedError?a=5:e.errorCode===qe.InvalidEmailError?a=4:e.errorCode===qe.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 bn.BackendGatewaySetupErrorStripeTaxNotActive:return 6;case bn.BackendGatewaySetupErrorInvalidTaxOriginAddress:return 7;case bn.BackendGatewaySetupErrorMissingRequiredPermission:return 8;case bn.BackendInvalidPaddleAPIKey:return 9;default:return null}}}class Ti{constructor(e,t,n=30){$(this,"operationSessionId",null);$(this,"backend");$(this,"eventsTracker");$(this,"maxNumberAttempts");$(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=Ti.getBackendErrorCodeForInterruptedCheckout(e.failed_reason);throw t==null?new fe(0,"There was a problem with the store.",e.failed_reason??"Checkout interrupted."):fe.fromPurchasesError(Ke.getForBackendError(t,e.failed_reason??null),0)}async prepareCheckout(e,t){try{return await this.backend.postCheckoutPrepare(e,t)}catch(n){if(n instanceof Ke)throw fe.fromPurchasesError(n,0);{const a="Unknown error preparing purchase: "+String(n);throw xe.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(),m=i==null?void 0:i.stepId,f=i==null?void 0:i.urlParameters,v=await this.backend.postCheckoutStart({appUserId:e,productId:t,purchaseOption:n,presentedOfferingContext:a,traceId:p,presentedStepId:m,urlParameters:f,paywallId:s,paywallSessionId:c,customerEmail:l,metadata:u,locale:d,attributionMetadata:_});return this.operationSessionId=v.operation_session_id,v}catch(p){if(p instanceof Ke)throw fe.fromPurchasesError(p,0);{const m="Unknown error starting purchase: "+String(p);throw xe.errorLog(m),new fe(2,m)}}}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 Ti.throwIfCheckoutShouldBeInterrupted(d),d}catch(d){if(d instanceof fe)throw d;if(d instanceof Ke)throw fe.fromPurchasesError(d,0);{const _="Unknown error refreshing checkout pricing: "+String(d);throw xe.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 Ke)throw fe.fromPurchasesError(a,0);{const i="Unknown error starting purchase: "+String(a);throw xe.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 kn.Started:case kn.InProgress:setTimeout(()=>a(i+1),this.waitMSBetweenAttempts);break;case kn.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 kn.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",Rr="en",Dm={"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"},Am={"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}}."},Fm={"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}}."},zm={"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}}."},Mm={"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}}."},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}} 週","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}}。"},Lm={"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}}."},Nm={"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}}."},jm={"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}}."},Bm={"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}}."},Rm={"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}}."},Um={"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}}."},Vm={"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."},Hm={"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}}."},Wm={"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}}."},Ym={"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}} से सहमत हूँ।"},Gm={"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}}."},Km={"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}}."},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":"合計金額が、お客様の請求先住所に基づいて税金とともに更新されました。再度ご確認ください。カードへの請求は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}}に同意します。"},Zm={"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}}에 동의합니다."},Jm={"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}}."},Qm={"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}}."},$m={"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}}."},eh={"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}}."},rh={"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}}."},th={"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}}."},nh={"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}}."},ah={"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}}."},oh={"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}}."},ih={"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}}"},sh={"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."},lh={"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}}."},ch={"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 uh={en:Dm,es:Am,it:Fm,ar:zm,ca:Mm,zh_Hans:qm,zh_Hant:Om,hr:Lm,cs:Nm,da:jm,nl:Bm,fi:Rm,fr:Um,de:Vm,el:Hm,he:Wm,hi:Ym,hu:Gm,id:Km,ja:Xm,ko:Zm,ms:Jm,no:Qm,pl:$m,pt:eh,ro:rh,ru:th,sk:nh,sl:ah,sv:oh,th:ih,tr:sh,uk:lh,vi:ch};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 zo(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 dh=r=>r.split("_")[0].split("-")[0].toLowerCase(),ga=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},ph=r=>r/1e6,pd=new Map;function _h(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 Di(r,e){const n=10**(6-_h(e)),a=Math.round(r/n*1e9)/1e9;return Math.floor(a)*n}const Pn=(r,e,t,n={})=>{const a=ph(r),i={style:"currency",currency:e,currencyDisplay:"symbol",...n,minimumFractionDigits:n.maximumFractionDigits};return new Intl.NumberFormat(ga(t),i).format(a).replace("US$","$")},gh=(r,e)=>{const t=Fo(r);return t?e.translatePeriod(t.number,t.unit)||`${t.number} ${t.unit}s`:r},fh=(r,e,{collapseSingularInEnglish:t=!1}={})=>r?t&&r.number===1&&dh(e.selectedLocale)===Rr?e.translatePeriodUnit(r.unit,{noWhitespace:!0})||"":e.translatePeriod(r.number,r.unit)||"":"",mh=r=>{try{return r.charAt(0).toUpperCase()+r.slice(1)}catch{return r}},Wa={noWhitespace:!1,short:!1},_d={useMultipleWords:!1};class xn{constructor(e={},t=Rr,n=Rr){$(this,"locales",{});this.selectedLocale=t,this.defaultLocale=n;const a={};Object.entries(uh).forEach(([i,s])=>{a[i]=new gd(s,i)}),this.locales=a,e&&this.override(e)}static fallback(){return new xn}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 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 ga((e=this.getLocaleInstance(this.selectedLocale))==null?void 0:e.localeKey)||ga(this.getLanguageCodeString(this.selectedLocale))||Rr}get fallbackBcp47Locale(){var e;return ga((e=this.getLocaleInstance(this.defaultLocale))==null?void 0:e.localeKey)||ga(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=Wa){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=Wa){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=Wa){var c;const{noWhitespace:a,short:i}={...Wa,...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=Wa){var s;const{noWhitespace:n,short:a}={...Wa,...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?mh(t.toString()):t}Frequency`:`periods.${t}FrequencyPlural`;return this.translate(i,{amount:e.toString()})}translateDate(e,t={}){return e.toLocaleDateString(ga(this.localeKey),t)}}function hh(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 gr.Day:return{perDay:e,perWeek:il*e,perMonth:fd*e,perYear:sl*e};case gr.Week:return{perDay:e/il,perWeek:e,perMonth:md*e,perYear:cl*e};case gr.Month:return{perDay:e/fd,perWeek:e/md,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 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||{}),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)}),vd=r=>dl(r.amount_micros,r.currency),pl=r=>{const e=r.period_duration,t=r.price?vd(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=Di(t.amountMicros*c.perWeek,t.currency);a={amount:u/l,amountMicros:u,currency:t.currency,formattedPrice:Pn(u,t.currency)};const d=Di(t.amountMicros*c.perMonth,t.currency);i={amount:d/l,amountMicros:d,currency:t.currency,formattedPrice:Pn(d,t.currency)};const _=Di(t.amountMicros*c.perYear,t.currency);s={amount:_/l,amountMicros:_,currency:t.currency,formattedPrice:Pn(_,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?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}},bd=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?yd(r.discount,(e=r.base)==null?void 0:e.period_duration):null}},kd=r=>r.base_price==null?(xe.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},vh=(r,e)=>{const t=r.product_type;return t==="subscription"?kh(r,e,t):bh(r,e,t)},yh=(r,e)=>r==="subscription"?"base"in e?bd(e):null:"base_price"in e?kd(e):null,bh=(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 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}},kh=(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 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}},wh=(r,e,t)=>{const n=t[e.platform_product_identifier];if(n===void 0)return null;const a=vh(n,r);return a===null?null:{identifier:e.identifier,rcBillingProduct:a,webBillingProduct:a,...e.web_checkout_url?{webCheckoutURL:e.web_checkout_url}:{},packageType:xh(e.identifier)}},Ph=(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=>wh(i,l,t)).filter(hh),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 xh(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 Mo(r,e=!1){return(r==null?void 0:r.full_address_collection_mode)==="always"?!0:!!(r!=null&&r.gateway_tax_collection_enabled)&&e}Pf();const Eh=`<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 Sh=R('<div style="color:var(--rc-color-primary);"><!></div>');function wd(r){var e=Sh(),t=D(e);vn(t,()=>Eh),x(r,e)}function Ih(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=Uf(()=>{sa(()=>{const _=r();c&&s(_)})})}finally{Xr(u),Et(d)}return c=!0,l}).subscribe}}function fa(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 bi()?(t(),e):Ao(r)}return"set"in r?{get current(){return n()},set current(a){r.set(a)}}:{get current(){return n()}}}const Pd=Symbol("hover");function Ch(r){mr(Pd,r)}function Th(){return He(Pd)??st(!1)}const _l=Symbol("packageInfo");function xd(r){mr(_l,r)}function Dh(){const r=He(_l);if(r===void 0)throw new Error("PackageInfo context not found");return r}const Ah=st(void 0);function Fh(){return He(_l)??Ah}const Ed=Symbol("paywall");function Sd(r){mr(Ed,r)}function It(){const r=He(Ed);if(r===void 0)throw new Error("Paywall context not found");return r}const Id=Symbol("selected");function Ai(r){mr(Id,r)}function zh(){return He(Id)??st(!1)}const Fi={Boolean:"boolean",Integer:"integer",Double:"double",String:"string"},Mh="$value",qh=1e-10;class Cd{constructor(e={}){Be(this,Qr);Be(this,ni,br(0));Be(this,ea,{});Be(this,pn,{});Be(this,Ca,{});Be(this,io,null);Be(this,so,null);$(this,"subscribe");this.subscribe=G(this,ni).subscribe,pr(this,Qr,Vc).call(this,e)}registerDeclarations(e){let t=!1;for(const[n,a]of Object.entries(e)){if(Object.hasOwn(G(this,ea),n))continue;const i=pr(this,Qr,Ss).call(this,a.default,a.type);i!==void 0&&(G(this,ea)[n]=i,G(this,Ca)[n]=a.type,Object.hasOwn(G(this,pn),n)||(G(this,pn)[n]=i,t=!0))}t&&pr(this,Qr,Is).call(this)}reset(e){Ne(this,ea,{}),Ne(this,pn,{}),Ne(this,Ca,{}),Ne(this,io,null),Ne(this,so,null),pr(this,Qr,Vc).call(this,e),pr(this,Qr,Is).call(this)}applyUpdates(e,t){let n=!1;for(const a of e){const i=a.to===Mh?t:a.to;if(i===void 0)continue;const s=pr(this,Qr,Hc).call(this,i,a.set);s!==void 0&&G(this,pn)[a.set]!==s&&(G(this,pn)[a.set]=s,n=!0)}n&&pr(this,Qr,Is).call(this)}get values(){return G(this,io)??Ne(this,io,{...G(this,pn)})}get defaults(){return G(this,so)??Ne(this,so,{...G(this,ea)})}matchesDeclaredType(e,t){return pr(this,Qr,Hc).call(this,e,t)!==void 0}}ni=new WeakMap,ea=new WeakMap,pn=new WeakMap,Ca=new WeakMap,io=new WeakMap,so=new WeakMap,Qr=new WeakSet,Vc=function(e){for(const[t,n]of Object.entries(e)){const a=pr(this,Qr,Ss).call(this,n.default,n.type);a!==void 0&&(G(this,ea)[t]=a,G(this,pn)[t]=a,G(this,Ca)[t]=n.type)}},Hc=function(e,t){return pr(this,Qr,Ss).call(this,e,G(this,Ca)[t])},Ss=function(e,t){if(t!==void 0&&(t===Fi.String&&typeof e=="string"||t===Fi.Boolean&&typeof e=="boolean"||t===Fi.Double&&typeof e=="number"||t===Fi.Integer&&typeof e=="number"&&Number.isInteger(e)))return e},Is=function(){Ne(this,io,null),Ne(this,so,null),G(this,ni).update(e=>e+1)};const Td=Symbol("paywall-state");function Dd(r){mr(Td,r)}function zi(){return He(Td)}function Oh(){return zi()??st(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 Lh=st(void 0);function hl(){return He(gl)??Lh}function ht(r={}){const e=fa(zh()),t=r.hover?fa(Th()):null,n=fa(Fh()),a=fa(It().selectedPackageId),i=fa(hl()),s=r.state?zi():void 0,c=r.state?fa(Oh()):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 Nh(r=!0){const e=br(r);return{isSatisfied:e,updateSatisfaction:n=>{e.set(n)}}}function jh(r){mr(Ad,r)}function Mi(){return He(Ad)}function Bh(r){mr(Fd,r)}function zd(){return He(Fd)??{}}const Md=Symbol("localization");function Rh(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 qi(){const r=He(Md);if(r===void 0)throw new Error("Localization context not found");return r}const qd={StateCondition:"state_condition"};function Uh(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 Oi(r,e){const t=[r];for(;t.length>0;){const n=t.pop();if(n.type==="package"&&e(n))return n;const a=Uh(n);for(let i=a.length-1;i>=0;i--)t.push(a[i])}}function Vh({stack:r,sticky_footer:e}){const t=Oi(r,a=>a.is_selected_by_default);if(t!==void 0)return t.package_id;const n=Oi(r,()=>!0);if(n!==void 0)return n.package_id;if(e!=null){const a=Oi(e,s=>s.is_selected_by_default);if(a!==void 0)return a.package_id;const i=Oi(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=>Hh(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},Hh=(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=Wh(u,r.value);if(r.operator==="=")return d;if(r.operator==="!=")return!d}return!1};function Wh(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)<qh:!1}function Od(r,e,t){return e!==!1&&(r==="workflow"||r==="complete_workflow")&&!t}function Yh(r,e){me(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(),_=g(()=>({...i,...vt(d(),e.overrides)})),p=g(()=>o(_).action),m=g(()=>o(_).stack),f=Mi(),{getLocalizedString:v}=qi(),y=fa((f==null?void 0:f.isSatisfied)??st(!0)),h=()=>{switch(o(p).type){case"workflow":return{componentType:"button",componentName:e.name,componentValue:"workflow"};case"complete_workflow":{const T=v(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=v(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()}},P=()=>{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)},b=g(()=>{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=ie(w);{var I=T=>{const S=g(()=>Od(o(p).type,e.require_valid_inputs,y.current));{let A=g(()=>o(S)?{opacity:"0.4","pointer-events":"none",cursor:"not-allowed"}:void 0),C=g(()=>`button-${o(p).type}`);Nr(T,_r(()=>o(m),{onclick:P,get style(){return o(A)},get testId(){return o(C)}}))}};H(E,T=>{o(b)&&T(I)})}x(r,w),he(),a()}const Ld=1e3,vl="light",Gh="#000000",qo={top:0,bottom:0,leading:0,trailing:0};class Kh{constructor(e,t){Be(this,ai);Be(this,oi);Ne(this,ai,e),Ne(this,oi,Ls(t))}get current(){return G(this,oi).call(this),G(this,ai).call(this)}}ai=new WeakMap,oi=new WeakMap;const Xh=/\(.+\)/,Zh=new Set(["all","print","screen","and","or","not","only"]);class Jh extends Kh{constructor(e,t){let n=Xh.test(e)||e.split(/[\s,]+/).some(i=>Zh.has(i.trim()))?e:`(${e})`;const a=window.matchMedia(n);super(()=>a.matches,i=>Xf(a,"change",i))}}const Nd=Symbol("color-mode");function Qh(r){const e=new Jh("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 ct(){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 Ya;(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"})(Ya||(Ya={}));var Li;(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"})(Li||(Li={}));var Bn;(function(r){r.leading="start",r.center="center",r.trailing="end"})(Bn||(Bn={}));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 or(r){return Object.entries(r).map(([e,t])=>`${e}:${t}`).join(";")}function Cr(r){return`${r}px`}function Vd(...r){return r.map(Cr).join(" ")}function nt(r,e){return e[r]??e.light}function wr(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 Vd(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 ut(r,e){if(e==null)return"transparent";const t=nt(r,e);return Oo(t)}function Ni(r,e){return e==null?"transparent":ut(r,e)}function Rn(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=nt(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 $h(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 Un(r){switch(r==null?void 0:r.type){case void 0:case"concave":case"convex":return"0";case"rectangle":return`${$h(r.corners)}`;case"circle":case"pill":return"9999px"}}function ma(r,e){if(e==null)return"none";const{x:t,y:n,radius:a}=e,i=ut(r,e.color);return`${t}px ${n}px ${a}px ${i}`}function Ga(r){switch(r){case"fill":return"cover";case"fit":return"contain"}}function ev(r,e){const t=nt(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=tv(e),n=ev(r,e.value);return{url:n.url,url_low_res:n.url_low_res,fit:Ga(t.fit_mode),position:t.fit_mode==="fill"?"center":"top center",overlay:Ni(r,e.color_overlay),mute:t.mute_audio,loop:t.loop,posterWebp:t.fallback_image?nt(r,t.fallback_image).webp:null}}function rv(r,e){return`url(${nt(r,e).webp})`}function tv(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 nv(r,e,t){return t==null?e==null?"none":ut(r,e):t.type==="color"?ut(r,e??t.value):t.type==="image"?rv(r,t.value):"transparent"}function av(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=Vn(e,null,t),c=s["--overlay"]??"none",l={...s};return delete l["--overlay"],{kind:"style",style:l,overlay:c}}return{kind:"image",src:nt(e,t.value).webp,fit:Ga(t.fit_mode),position:t.fit_mode==="fill"?"center":"top center",overlay:Ni(e,t.color_overlay)}}function Vn(r,e,t){if((t==null?void 0:t.type)==="video")return{background:"transparent","--overlay":Ni(r,t.color_overlay)};const n=nv(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":Ga(a),"background-position":a==="fill"?"center":"top center","background-repeat":"no-repeat","--overlay":Ni(r,i)}}function yl(r){return r.startsWith("RCFM:")}function No(r){return`RevCatPaywall-${r}`}async function ov(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 iv(r){return r.charAt(0).toUpperCase()+r.slice(1).toLowerCase()}const sv={uppercase:r=>String(r??"").toUpperCase(),lowercase:r=>String(r??"").toLowerCase(),capitalize:r=>String(r??"").replaceAll(new RegExp("(\\p{Letter}+)","giu"),iv)},lv=/^\$?custom\./;function cv(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(lv,""),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=sv[l];return u?u(c):c})}function Hd(r="",e){return cv(r,e??{})}const uv={light:{type:"hex",value:Gh}};function bl(r,e){const t=nt(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 dv=(r,e,t)=>{var f;const{font_name:n,font_size:a,font_weight:i,font_weight_int:s,horizontal_alignment:c,color:l=uv,padding:u,margin:d,size:_}=e,p=t[n??""],m=(f=p==null?void 0:p.web)==null?void 0:f.family;return or({display:"block",width:wr(_.width),height:wr(_.height),margin:Er(d),padding:Er(u),...bl(r,l),"text-align":Bn[c]||Bn.leading,"font-weight":s??Ya[i]??Ya.regular,"font-size":Number.isInteger(Number(a))?`${a}px`:Li[a]||Li.body_m,"font-family":yl(n??"")?No(m??""):"sans-serif"})};function pv(r,e,t,n){return or({display:"block",position:"relative",width:wr(t.width),height:wr(t.height),...Vn(r,n,null)})}const _v={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function gv(r){return r.replace(/[&<>"']/g,e=>_v[e])}const fv=["http","https","mailto","tel"];function mv(r){const t=Array.from(r).filter(n=>n.charCodeAt(0)>32).join("").toLowerCase().match(/^([a-z][a-z0-9+.-]*):/);return t&&!fv.includes(t[1])?null:r}function hv(r){if(!r)return"";const e=gv(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=mv(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 vv=R('<div class="rc-gradient-border"><input class="svelte-1wwo50a"/></div>');const yv={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 bv(r,e){me(e,!0),Pe(r,yv);const t=()=>Re(ge,"$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)})),_=g(()=>o(d).placeholder_lid),p=g(()=>o(d).keyboard_type),m=g(()=>o(d).capitalize),f=g(()=>o(d).field_id),v=g(()=>o(d).reserved_attribute),y=g(()=>o(d).required),h=g(()=>o(d).size),k=g(()=>o(d).padding),P=g(()=>o(d).margin),b=g(()=>o(d).vertical_alignment),w=g(()=>o(d).border),E=g(()=>o(d).shape),I=g(()=>o(d).shadow),T=g(()=>o(d).font_name),S=g(()=>o(d).font_weight_int),A=g(()=>o(d).font_size),C=g(()=>o(d).horizontal_alignment),N=g(()=>o(d).color),q=g(()=>o(d).placeholder_font_name),j=g(()=>o(d).placeholder_font_weight_int),Z=g(()=>o(d).placeholder_font_size),O=g(()=>o(d).placeholder_horizontal_alignment),z=g(()=>o(d).placeholder_color),M=g(()=>o(d).background_color),V=g(()=>o(d).visible);function L(ke){const Xe=ke.value.trim();if(o(p)==="password"){X==null||X(o(f),Xe);return}o(v)?B?B(o(v),Xe):console.error("onReservedAttributeChanged is not set"):Y==null||Y(o(f),Xe)}function K(ke){F(c,!ke.validity.valid),!o(c)&&L(ke)}const ee=ke=>{const Xe=ke.currentTarget;F(l,Xe.validity.valid,!0),o(l)&&L(Xe),o(c)&&K(Xe)},se=ke=>{F(s,!1),F(l,ke.currentTarget.validity.valid,!0),K(ke.currentTarget)},ne=Mi(),le=ct(),ce=g(le),{uiConfig:pe,onInputChanged:Y,onSensitiveInputChanged:X,onReservedAttributeChanged:B}=It(),oe=g(()=>o(b)==="top"?"flex-start":o(b)==="bottom"?"flex-end":null),Q=g(()=>or({display:"flex",...o(oe)?{"align-items":o(oe)}:{},width:wr(o(h).width),height:wr(o(h).height),margin:Er(o(P)),...Vn(o(ce),o(M),null),...Rn(o(ce),o(w)),"border-radius":Un(o(E)),"box-shadow":ma(o(ce),o(I))})),ue=g(()=>{var fr,Sr;const ke=pe.app.fonts[o(T)??""],Xe=(fr=ke==null?void 0:ke.web)==null?void 0:fr.family,$e=pe.app.fonts[o(q)??""],ye=(Sr=$e==null?void 0:$e.web)==null?void 0:Sr.family,Ve=bl(o(ce),o(z));return or({...o(oe)?{height:"auto"}:{},padding:Er(o(k)),...bl(o(ce),o(N)),"text-align":Bn[o(C)]||Bn.leading,"font-weight":o(S)??Ya.regular,"font-size":`${o(A)}px`,"font-family":yl(o(T)??"")?No(Xe??""):"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":Bn[o(O)]||Bn.leading,"--placeholder-font-weight":o(j)??Ya.regular,"--placeholder-font-size":`${o(Z)}px`,"--placeholder-font-family":yl(o(q)??"")?No(ye??""):"sans-serif"})}),ge=hl(),{getLocalizedString:re}=qi(),Ee=g(()=>Hd(re(o(_)),t())),Ce=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"}}),De=g(()=>o(p)==="password"?"text":o(p)),be=g(()=>o(V)!==!1);ne&&ir(()=>{ne.updateSatisfaction(!o(be)||o(l))});var ze=Se(),Me=ie(ze);{var Ae=ke=>{var Xe=vv(),$e=D(Xe);$e.__input=ee,W(()=>{Le(Xe,o(Q)),we($e,"type",o(Ce)),we($e,"placeholder",o(Ee)),$e.required=o(y),we($e,"inputmode",o(De)),we($e,"autocapitalize",o(m)),Le($e,o(ue))}),Br("focus",$e,()=>F(s,!0)),Br("blur",$e,se),x(ke,Xe)};H(Me,ke=>{o(be)&&ke(Ae)})}x(r,ze),he(),a()}Zt(["input"]);const Wd=Symbol("inputChoice");function Yd(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 _=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 kv(){return He(Wd)}function wv(r,e){me(e,!0);const t=Ir(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=Mi();if(d){const _=u.isSatisfied.subscribe(p=>{d.updateSatisfaction(p)});Nt(_)}Ro(r,{get nodeData(){return n}}),he()}var Pv=R('<div class="option-wrapper svelte-qo8e2i"><!></div>');const xv={hash:"svelte-qo8e2i",code:".option-wrapper.svelte-qo8e2i {display:contents;}"};function Ev(r,e){me(e,!0),Pe(r,xv);const t=()=>Re(p,"$isDisabled",n),[n,a]=Ze(),i=Ir(e,["$$slots","$$events","$$legacy"]),{stack:s,option_id:c}=i,{onButtonAction:l,onInputChanged:u}=It(),d=kv(),_=d?jt(d.selectedOptionIds,b=>b.has(c)):st(!1);Ai(_);const p=d?jt([_,d.isAtMax],([b,w])=>!b&&w):st(!1),m=br(!1);Ch(m);const f=()=>m.set(!0),v=()=>m.set(!1),y=()=>{var E;if(t())return;const b=(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,b)),l({type:"workflow"},b)},h=g(()=>t()?{"pointer-events":"none",opacity:"0.4"}:void 0);var k=Pv(),P=D(k);Nr(P,_r(()=>s,{onclick:y,get style(){return o(h)}})),Br("mouseenter",k,f),Br("mouseleave",k,v),x(r,k),he(),a()}function Sv(r,e){me(e,!0);const t=Ir(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=Mi();if(d){const _=u.isSatisfied.subscribe(p=>{d.updateSatisfaction(p)});Nt(_)}Ro(r,{get nodeData(){return n}}),he()}function Iv(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}var Ka={},kl,Kd;function Cv(){return Kd||(Kd=1,kl=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then}),kl}var wl={},Hn={},Xd;function ha(){if(Xd)return Hn;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 Hn.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},Hn.getSymbolTotalCodewords=function(n){return e[n]},Hn.getBCHDigit=function(t){let n=0;for(;t!==0;)n++,t>>>=1;return n},Hn.setToSJISFunction=function(n){if(typeof n!="function")throw new Error('"toSJISFunc" is not a valid function.');r=n},Hn.isKanjiModeEnabled=function(){return typeof r<"u"},Hn.toSJIS=function(n){return r(n)},Hn}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 Tv(){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 Dv(){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 Av(){return $d||($d=1,function(r){const e=ha().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 Fv(){if(ep)return Cl;ep=1;const r=ha().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 zv(){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 m=a.get(_,p);m===u?c++:(c>=5&&(s+=e.N1+(c-5)),u=m,c=1),m=a.get(p,_),m===d?l++:(l>=5&&(s+=e.N1+(l-5)),d=m,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 ji={},tp;function np(){if(tp)return ji;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 ji.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}},ji.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}},ji}var Dl={},jo={},ap;function Mv(){if(ap)return jo;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]}(),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 op;function qv(){return op||(op=1,function(r){const e=Mv();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 Ov(){if(ip)return Al;ip=1;const r=qv();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 Qt={},cp;function up(){if(cp)return Qt;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
+ ]))+`;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 dp;function va(){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 Lv(){return pp||(pp=1,function(r){const e=ha(),t=np(),n=xl(),a=va(),i=lp(),s=7973,c=e.getBCHDigit(s);function l(p,m,f){for(let v=1;v<=40;v++)if(m<=r.getCapacity(v,f,p))return v}function u(p,m){return a.getCharCountIndicator(p,m)+4}function d(p,m){let f=0;return p.forEach(function(v){const y=u(v.mode,m);f+=y+v.getBitsLength()}),f}function _(p,m){for(let f=1;f<=40;f++)if(d(p,f)<=r.getCapacity(f,m,a.MIXED))return f}r.from=function(m,f){return i.isValid(m)?parseInt(m,10):f},r.getCapacity=function(m,f,v){if(!i.isValid(m))throw new Error("Invalid QR Code version");typeof v>"u"&&(v=a.BYTE);const y=e.getSymbolTotalCodewords(m),h=t.getTotalCodewordsCount(m,f),k=(y-h)*8;if(v===a.MIXED)return k;const P=k-u(v,m);switch(v){case a.NUMERIC:return Math.floor(P/10*3);case a.ALPHANUMERIC:return Math.floor(P/11*2);case a.KANJI:return Math.floor(P/13);case a.BYTE:default:return Math.floor(P/8)}},r.getBestVersionForData=function(m,f){let v;const y=n.from(f,n.M);if(Array.isArray(m)){if(m.length>1)return _(m,y);if(m.length===0)return 1;v=m[0]}else v=m;return l(v.mode,v.getLength(),y)},r.getEncodedBits=function(m){if(!i.isValid(m)||m<7)throw new Error("Invalid QR Code version");let f=m<<12;for(;e.getBCHDigit(f)-c>=0;)f^=s<<e.getBCHDigit(f)-c;return m<<12|f}}(Fl)),Fl}var ql={},_p;function Nv(){if(_p)return ql;_p=1;const r=ha(),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 jv(){if(gp)return Ll;gp=1;const r=va();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 Bv(){if(fp)return Nl;fp=1;const r=va(),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 Rv(){if(mp)return jl;mp=1;const r=va();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 Uv(){if(hp)return Bl;hp=1;const r=va(),e=ha();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 Vv(){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,m,f,v,y;!c.empty();){l=c.pop(),u=l.value,_=l.cost,p=t[u]||{};for(d in p)p.hasOwnProperty(d)&&(m=p[d],f=_+m,v=s[d],y=typeof s[d]>"u",(y||v>f)&&(s[d]=f,c.push(d,f),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 Hv(){return yp||(yp=1,function(r){const e=va(),t=jv(),n=Bv(),a=Rv(),i=Uv(),s=up(),c=ha(),l=Vv();function u(h){return unescape(encodeURIComponent(h)).length}function d(h,k,P){const b=[];let w;for(;(w=h.exec(P))!==null;)b.push({data:w[0],index:w.index,mode:k,length:w[0].length});return b}function _(h){const k=d(s.NUMERIC,e.NUMERIC,h),P=d(s.ALPHANUMERIC,e.ALPHANUMERIC,h);let b,w;return c.isKanjiModeEnabled()?(b=d(s.BYTE,e.BYTE,h),w=d(s.KANJI,e.KANJI,h)):(b=d(s.BYTE_KANJI,e.BYTE,h),w=[]),k.concat(P,b,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 m(h){return h.reduce(function(k,P){const b=k.length-1>=0?k[k.length-1]:null;return b&&b.mode===P.mode?(k[k.length-1].data+=P.data,k):(k.push(P),k)},[])}function f(h){const k=[];for(let P=0;P<h.length;P++){const b=h[P];switch(b.mode){case e.NUMERIC:k.push([b,{data:b.data,mode:e.ALPHANUMERIC,length:b.length},{data:b.data,mode:e.BYTE,length:b.length}]);break;case e.ALPHANUMERIC:k.push([b,{data:b.data,mode:e.BYTE,length:b.length}]);break;case e.KANJI:k.push([b,{data:b.data,mode:e.BYTE,length:u(b.data)}]);break;case e.BYTE:k.push([{data:b.data,mode:e.BYTE,length:u(b.data)}])}}return k}function v(h,k){const P={},b={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),P[C]={node:A,lastCount:0},b[C]={};for(let N=0;N<w.length;N++){const q=w[N];P[q]&&P[q].node.mode===A.mode?(b[q][C]=p(P[q].lastCount+A.length,A.mode)-p(P[q].lastCount,A.mode),P[q].lastCount+=A.length):(P[q]&&(P[q].lastCount=A.length),b[q][C]=p(A.length,A.mode)+4+e.getCharCountIndicator(A.mode,k))}}w=T}for(let E=0;E<w.length;E++)b[w[E]].end=0;return{map:b,table:P}}function y(h,k){let P;const b=e.getBestModeForData(h);if(P=e.from(k,b),P!==e.BYTE&&P.bit<b.bit)throw new Error('"'+h+'" cannot be encoded with mode '+e.toString(P)+`.
10
+ Suggested mode is: `+e.toString(b));switch(P===e.KANJI&&!c.isKanjiModeEnabled()&&(P=e.BYTE),P){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(P,b){return typeof b=="string"?P.push(y(b,null)):b.data&&P.push(y(b.data,b.mode)),P},[])},r.fromString=function(k,P){const b=_(k,c.isKanjiModeEnabled()),w=f(b),E=v(w,P),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(m(T))},r.rawSplit=function(k){return r.fromArray(_(k,c.isKanjiModeEnabled()))}}(Ol)),Ol}var bp;function Wv(){if(bp)return wl;bp=1;const r=ha(),e=xl(),t=Tv(),n=Dv(),a=Av(),i=Fv(),s=zv(),c=np(),l=Ov(),u=Lv(),d=Nv(),_=va(),p=Hv();function m(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 f(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 v(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 P(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 b(S,E,I)}function b(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,V=new l(M);let L=0;const K=new Array(N),ee=new Array(N);let se=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),ee[X]=V.encode(K[X]),L+=B,se=Math.max(se,B)}const le=new Uint8Array(S);let ce=0,pe,Y;for(pe=0;pe<se;pe++)for(Y=0;Y<N;Y++)pe<K[Y].length&&(le[ce++]=K[Y][pe]);for(pe=0;pe<M;pe++)for(Y=0;Y<N;Y++)le[ce++]=ee[Y][pe];return le}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(`
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 N=P(I,T,A),q=r.getSymbolSize(I),j=new n(q);return m(j,I),f(j),v(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 m=0;m<u;m++){let f=(p*u+m)*4,v=i.color.light;if(p>=d&&m>=d&&p<u-d&&m<u-d){const y=Math.floor((p-d)/l),h=Math.floor((m-d)/l);v=_[c[y*s+h]?1:0]}n[f++]=v.r,n[f++]=v.g,n[f++]=v.b,n[f]=v.a}}}(Vl)),Vl}var Pp;function Yv(){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 Gv(){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),m=Math.floor(_/i);!p&&!u&&(u=!0),a[_]?(d++,_>0&&p>0&&a[_-1]||(c+=u?t("M",p+s,.5+m+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"/>':"",m="<path "+e(l.color.dark,"stroke")+' d="'+n(d,u,l.margin)+'"/>',f='viewBox="0 0 '+_+" "+_+'"',y='<svg xmlns="http://www.w3.org/2000/svg" '+(l.width?'width="'+l.width+'" height="'+l.width+'" ':"")+f+' shape-rendering="crispEdges">'+p+m+`</svg>
14
+ `;return typeof c=="function"&&c(null,y),y},Hl}var Ep;function Kv(){if(Ep)return Ka;Ep=1;const r=Cv(),e=Wv(),t=Yv(),n=Gv();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(m,f){try{const v=e.create(c,l);m(i(v,s,l))}catch(v){f(v)}})}try{const m=e.create(c,l);u(null,i(m,s,l))}catch(m){u(m)}}return Ka.create=e.create,Ka.toCanvas=a.bind(null,t.render),Ka.toDataURL=a.bind(null,t.renderToDataURL),Ka.toString=a.bind(null,function(i,s,c){return n.render(i,c)}),Ka}var Xv=Kv();const Zv=Iv(Xv);var Jv=R('<div class="qr-wrapper svelte-1b1gmr6"><img alt="Redemption QR Code" class="qr-code svelte-1b1gmr6"/></div>');const Qv={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 $v(r,e){me(e,!0),Pe(r,Qv);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);kr(()=>{const f=window.matchMedia("(max-width: 767px)");F(c,f.matches,!0);const v=y=>{F(c,y.matches,!0)};return f.addEventListener("change",v),()=>{f.removeEventListener("change",v)}}),ir(()=>{!o(c)&&o(s)&&(F(u,!1),Zv.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=Se(),_=ie(d);{var p=f=>{Nr(f,_r(()=>e.stack,{onclick:()=>{window.location.href=o(s)}}))},m=f=>{var v=Se(),y=ie(v);{var h=k=>{var P=Jv(),b=D(P);W(()=>we(b,"src",o(l))),x(k,P)};H(y,k=>{o(l)&&k(h)},!0)}x(f,v)};H(_,f=>{(o(c)||o(u))&&o(s)?f(p):f(m,!1)})}x(r,d),he(),a()}function ey(r,e){const t=J(e,"style",3,""),n=J(e,"component",3,"p");var a=Se(),i=ie(a);Zs(i,n,!1,(s,c)=>{el(s,()=>({style:t()}));var l=Se(),u=ie(l);xr(u,()=>e.children??tr),x(c,l)}),x(r,a)}var ry=R("<span><!></span>");function Wl(r,e){me(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}),_=g(()=>({...i,...vt(d(),e.overrides)})),p=ct(),m=g(p);let f=g(()=>dv(o(m),o(_),s.app.fonts));const v=g(()=>pv(o(m),o(_),o(_).size,o(_).background_color)),{getLocalizedString:y}=qi(),h=g(()=>Hd(y(o(_).text_lid),t())),k=g(()=>o(_).visible!==!1),P=g(()=>hv(o(h))),b=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=ie(w);{var I=T=>{var S=ry();S.__click=b;var A=D(S);ey(A,{get style(){return o(f)},component:"span",children:(C,N)=>{var q=Se(),j=ie(q);vn(j,()=>o(P)),x(C,q)},$$slots:{default:!0}}),W(()=>Le(S,o(v))),x(T,S)};H(E,T=>{o(k)&&T(I)})}x(r,w),he(),a()}Zt(["click"]);function ty(r,e){return typeof r.addEventListener=="function"?(r.addEventListener("change",e),()=>r.removeEventListener("change",e)):(r.addListener(e),()=>r.removeListener(e))}function Bi(r,e){r.muted=e.preferMuted||e.mutedPlaybackOverride,r.playsInline=!0}function ny(r,e){const{cancelled:t,preferMuted:n,getMutedOverride:a,setMutedOverride:i}=e;if(t()||!r.paused||(Bi(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),Bi(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 ay=R('<div class="rc-bg-video svelte-16c3h6h" aria-hidden="true"><img alt="" class="fill svelte-16c3h6h"/></div>'),oy=R('<source media="(max-width: 600px)"/>'),iy=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 sy={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){me(e,!0),Pe(r,sy);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);kr(()=>{if(typeof window>"u")return;const v=window.matchMedia("(prefers-reduced-motion: reduce)");return F(s,v.matches,!0),ty(v,()=>{F(s,v.matches,!0)})}),ir(()=>{e.url,t(),Ue(()=>{F(i,!1),F(c,!1)}),queueMicrotask(()=>{var v;(v=o(a))==null||v.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 v=o(a);let y=!1;const h=()=>y,P=Sp(v,()=>{ny(v,{cancelled:h,preferMuted:e.mute,getMutedOverride:()=>o(c),setMutedOverride:b=>Ue(()=>{F(c,b,!0)})})},h);return()=>{y=!0,P()}});function d(){F(i,!0)}var _=Se(),p=ie(_);{var m=v=>{var y=ay(),h=D(y);W(()=>{we(h,"src",n()),Le(h,o(u))}),x(v,y)},f=v=>{var y=Se(),h=ie(y);{var k=b=>{},P=b=>{var w=iy(),E=D(w),I=D(E);{var T=A=>{var C=oy();W(()=>we(C,"src",t())),x(A,C)};H(I,A=>{t()&&A(T)})}var S=U(I,2);_a(E,A=>F(a,A),()=>o(a)),W(()=>{Le(E,o(u)),E.loop=e.loop,E.muted=e.mute||o(c),we(E,"poster",n()??void 0),we(S,"src",e.url)}),Br("error",E,d),x(b,w)};H(h,b=>{o(l)?b(k):b(P,!1)},!0)}x(v,y)};H(p,v=>{o(l)&&n()?v(m):v(f,!1)})}x(r,_),he()}function Ri(r){return`rc-${r}-video-bg`}function Ui(r){if(!r.hasVideoBg)return{};const e={isolation:"isolate"};return r.positionRelative&&(e.position="relative"),r.clipOverflow&&(e.overflow="hidden"),e}function ly(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 cy=.2;function uy({startPage:r,dragDistance:e,pageWidth:t,pageCount:n,loop:a,advanceThreshold:i=cy}){const s=t*i;let c=r;return e<-s?c+=1:e>s&&(c-=1),a?c:Ip(c,0,n-1)}function Vi(r){if(r===null)return 0;const e=window.getComputedStyle(r);return new WebKitCSSMatrix(e.transform).m41}var dy=R('<div class="page svelte-1um8k40" role="group" aria-roledescription="slide"><!></div>');const py={hash:"svelte-1um8k40",code:"div.svelte-1um8k40 {flex:0 0 100%;scroll-snap-align:center;scroll-snap-stop:always;}"};function Yl(r,e){Pe(r,py);const t=J(e,"hidden",3,!1);var n=dy(),a=D(n);Nr(a,_r(()=>e.page)),W(()=>{we(n,"aria-label",`Slide ${e.index+1} of ${e.pages}`),we(n,"aria-current",e.selected),we(n,"aria-hidden",t())}),x(r,n)}var _y=R("<div></div>"),gy=R('<div class="control rc-gradient-border svelte-f4av29"></div>');const fy={hash:"svelte-f4av29",code:".control.svelte-f4av29 {align-self:center;display:flex;flex-direction:row;align-items:center;justify-content:center;}"};function my(r,e){me(e,!0),Pe(r,fy);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=ct(),c=g(s);function l(f){return Rn(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:ut(o(c),f.color),...l(f),"border-radius":"9999px"})}const d=g(()=>u(e.default)),_=g(()=>u(e.active)),p=g(()=>or({order:e.position==="top"?-1:1,gap:Cr(e.spacing),margin:Er(e.margin),padding:Er(e.padding),...Vn(o(c),t(),null),...Rn(o(c),n()),"border-radius":Un(a()),"box-shadow":ma(o(c),i())}));var m=gy();Jt(m,21,()=>({length:e.length}),hn,(f,v,y)=>{var h=_y();W(()=>Le(h,y===e.selected?o(_):o(d))),x(f,h)}),W(()=>Le(m,o(p))),x(r,m),he()}var hy=R('<div class="carousel-bg-video-mount svelte-oplmf"><!></div>'),vy=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 yy={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 by(r,e){me(e,!0),Pe(r,yy);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),_=g(()=>o(i).border),p=g(()=>o(i).shadow),m=g(()=>o(i).page_alignment),f=g(()=>o(i).page_spacing),v=g(()=>o(i).page_peek),y=g(()=>o(i).page_control),h=g(()=>o(i).initial_page_index),k=g(()=>o(i).loop),P=g(()=>o(i).auto_advance),b=ct(),w=g(b),E=g(()=>{var ye;return((ye=o(u))==null?void 0:ye.type)==="video"}),I=g(()=>{if(!o(E))return null;const ye=o(u);return!ye||ye.type!=="video"?null:Lo(o(w),ye)}),T=g(()=>Un(o(d))),S=g(()=>{var ye;return or({margin:Er(o(l)),padding:Er(o(c)),...Ui({hasVideoBg:o(E),positionRelative:!0}),...Vn(o(w),null,o(u)),...Rn(o(w),o(_)),"border-radius":o(T),"box-shadow":ma(o(w),o(p)),"transition-duration":`${((ye=o(P))==null?void 0:ye.ms_transition_time)??0}ms`})}),A=g(()=>or({gap:Cr(o(f)),padding:`0 ${o(v)+o(f)}px`,"align-items":ly(o(m))})),C=g(()=>{if(!o(k))return[];const ye=o(s).length-1;switch(o(s).length){case 0:return[];case 1:return[0,0];case 2:return[0,ye];default:return[ye-1,ye]}}),N=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),Z=te(0),O=g(()=>2*o(v)+o(f)),z=g(()=>o(Z)-o(O)),M=te(null);function V(){return o(s).at(o(h))!==void 0?o(h):0}function L(ye){return o(s).length===0?0:(ye%o(s).length+o(s).length)%o(s).length}function K(ye){var Ve;return(Ve=o(s)[ye])==null?void 0:Ve.name}function ee(ye=!0,Ve){var Sr,Mr;if(q===null)return;const fr=ye?((Sr=o(P))==null?void 0:Sr.ms_time_per_page)??0:0;Ve??(Ve=((Mr=o(P))==null?void 0:Mr.ms_transition_time)??0),q.style.transition=`transform ${Ve}ms ease-in-out ${fr}ms`}function se(){q!==null&&(q.style.transition="none")}const ne=g(()=>o(k)?2:0);function le(ye){q!==null&&(q.style.transform=`translateX(${ye}px)`)}function ce(ye){if(q===null)return;ye+=o(ne);const Ve=ye*-o(z);le(Ve)}function pe(ye){ye%=o(s).length+o(ne),ee(!0),ce(ye)}function Y(){o(P)!=null&&requestAnimationFrame(()=>{pe(o(j)+1)})}kr(()=>{const ye=V();F(j,ye,!0),se(),ce(o(j)),Y()});function X(ye){return Math.round(ye/-o(z))-o(ne)}function B(){const ye=Vi(q),Ve=X(ye);F(j,(Ve+o(s).length)%o(s).length),se(),ce(o(j)),requestAnimationFrame(()=>{Y()})}let oe=te(0),Q=0;function ue(ye){ye.currentTarget.setPointerCapture(ye.pointerId),F(oe,Vi(q),!0),F(M,o(j),!0),Q=ye.clientX}function ge(ye){const Ve=ye.currentTarget;Ve.hasPointerCapture(ye.pointerId)&&Ve.releasePointerCapture(ye.pointerId);const fr=Vi(q),Sr=uy({startPage:o(M)??X(fr),dragDistance:fr-o(oe),pageWidth:o(z),pageCount:o(s).length,loop:o(k)}),Mr=L(Sr);o(M)!==null&&o(M)!==Mr&&n({componentType:"carousel",componentName:e.name,componentValue:Mr.toString(),originIndex:o(M),destinationIndex:Mr,originContextName:K(o(M)),destinationContextName:K(Mr),defaultIndex:V()}),F(M,null),F(j,Mr,!0),ee(!1,500),ce(Sr)}function re(ye){if(!ye.currentTarget.hasPointerCapture(ye.pointerId))return;const fr=ye.clientX-Q;Q=ye.clientX;const[Sr,Mr]=o(k)?[o(oe)-o(Z),o(oe)+o(Z)]:[-(o(s).length-1)*o(z),0],qr=Vi(q),Kr=Ip(qr+fr,Sr,Mr),Or=X(Kr);F(j,(Or+o(s).length)%o(s).length),le(Kr),se()}var Ee=vy(),Ce=D(Ee);{var De=ye=>{var Ve=hy(),fr=D(Ve);Bo(fr,{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}}),x(ye,Ve)};H(Ce,ye=>{o(I)&&ye(De)})}var be=U(Ce,2),ze=D(be);ze.__pointerdown=ue,ze.__pointerup=ge,ze.__pointermove=re;var Me=D(ze);Jt(Me,17,()=>o(C),hn,(ye,Ve)=>{{let fr=g(()=>o(j)===o(Ve));Yl(ye,{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 Ae=U(Me,2);Jt(Ae,17,()=>o(s),hn,(ye,Ve,fr)=>{{let Sr=g(()=>o(j)===fr);Yl(ye,{get page(){return o(Ve)},index:fr,get pages(){return o(s).length},get selected(){return o(Sr)}})}});var ke=U(Ae,2);Jt(ke,17,()=>o(N),hn,(ye,Ve)=>{{let fr=g(()=>o(j)===o(Ve));Yl(ye,{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})}}),_a(ze,ye=>q=ye,()=>q);var Xe=U(ze,2);{var $e=ye=>{my(ye,_r(()=>o(y),{get length(){return o(s).length},get selected(){return o(j)}}))};H(Xe,ye=>{o(y)!=null&&ye($e)})}W(ye=>{ur(Ee,1,ye,"svelte-oplmf"),Le(Ee,o(S)),Le(ze,o(A))},[()=>pa(["carousel","rc-gradient-border",o(E)?Ri("carousel"):""].filter(Boolean).join(" "))]),Br("transitionend",ze,B),Do(ze,"clientWidth",ye=>F(Z,ye)),x(r,Ee),he()}Zt(["pointerdown","pointerup","pointermove"]);var ky=R('<div class="rc-gradient-border"><div></div></div>');function Cp(r,e){me(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),_=g(()=>o(a).icon_background),p=g(()=>o(a).visible),m=ct(),f=g(m),v=g(()=>{var E,I,T,S;return or({width:wr(o(c).width),height:wr(o(c).height),margin:Er(o(l)),padding:Er(o(u)),"background-color":ut(o(f),(E=o(_))==null?void 0:E.color),...Rn(o(f),(I=o(_))==null?void 0:I.border),"border-radius":Un((T=o(_))==null?void 0:T.shape),"box-shadow":ma(o(f),(S=o(_))==null?void 0:S.shadow),flex:"0 0 auto"})}),y=g(()=>o(p)!==!1),h=g(()=>`${o(i)}/${o(s).webp}`),k=g(()=>or({width:"100%",height:"100%",position:"relative","z-index":1,overflow:"hidden","background-color":ut(o(f),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 P=Se(),b=ie(P);{var w=E=>{var I=ky(),T=D(I);W(()=>{Le(I,o(v)),Le(T,o(k))}),x(E,I)};H(b,E=>{o(y)&&E(w)})}x(r,P),he()}const Tp=Symbol("selected");function wy(r){mr(Tp,r)}function Gl(){const r=He(Tp);if(r===void 0)throw new Error("Tabs context not found");return r}function Py(r,e){me(e,!0);const t=()=>Re(i,"$control",n),[n,a]=Ze(),{control:i}=Gl();Nr(r,_r(()=>t().stack)),he(),a()}function xy(r,e){me(e,!0);const{selectedTabId:t,selectTab:n}=Gl();Ai(jt(t,i=>i===e.tab_id)),Nr(r,_r(()=>e.stack,{onclick:()=>{n(e.tab_id,e.tab_index,"tab")}})),he()}var Ey=R('<div role="button" tabindex="0" aria-label="Toggle" class="toggle svelte-1e7gowf"><div class="thumb svelte-1e7gowf"></div></div>');const Sy={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 Iy(r,e){me(e,!0),Pe(r,Sy);const t=()=>Re(p,"$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),_=g(()=>o(c).track_color_off),{isActive:p,selectTab:m}=Gl();Ai(p);const f=ct(),v=g(f),y=g(()=>or({background:t()?ut(o(v),o(d)):ut(o(v),o(_))})),h=g(()=>or({left:t()?"22px":"2px",background:t()?ut(o(v),o(l)):ut(o(v),o(u))})),k=()=>{m("",t()?0:1,"switch")},P=E=>{(E.code==="Enter"||E.code==="Space")&&k()};var b=Ey();b.__click=k,b.__keydown=P;var w=D(b);W(()=>{Le(b,o(y)),Le(w,o(h))}),x(r,b),he(),a()}Zt(["click","keydown"]);var Cy=R("<div><!> <!></div>");const Ty={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 Dy(r,e){me(e,!0),Pe(r,Ty);const t=()=>Re(O,"$selectedTabIndex",a),n=()=>Re(z,"$tab",a),[a,i]=Ze(),s=Ir(e,["$$slots","$$events","$$legacy"]),{name:c,control:l,tabs:u,default_tab_id:d,state_updates:_}=s,p=ht(),m=zi(),f=g(()=>({...s,...vt(p(),e.overrides)})),v=g(()=>o(f).size),y=g(()=>o(f).padding),h=g(()=>o(f).margin),k=g(()=>o(f).background),P=g(()=>o(f).shape),b=g(()=>o(f).border),w=g(()=>o(f).shadow),E=g(()=>o(f).visible),I=g(()=>o(E)!==!1),T=ct(),S=g(T),A=g(()=>{var ne;return((ne=o(k))==null?void 0:ne.type)==="video"}),C=g(()=>{if(!o(A))return null;const ne=o(k);return!ne||ne.type!=="video"?null:Lo(o(S),ne)}),N=g(()=>Un(o(P))),q=g(()=>or({position:"relative",width:wr(o(v).width),height:wr(o(v).height),margin:Er(o(h)),padding:Er(o(y)),...Ui({hasVideoBg:o(A),clipOverflow:o(N)!=="0"}),...Vn(o(S),null,o(k)),...Rn(o(S),o(b)),"border-radius":o(N),"box-shadow":ma(o(S),o(w))})),{emitComponentInteraction:j}=It(),Z=Math.max(0,u.findIndex(ne=>ne.id===d)),O=br(Z),z=jt(O,ne=>u[ne]),M=ne=>{var le;return(le=u[ne])==null?void 0:le.name},V=(ne,le,ce)=>{var X;const pe=u.findIndex(B=>B.id===ne),Y=pe!==-1?pe:le;if(Y>=0&&Y<u.length){const B=Ao(O);if(B===Y)return;ce==="tab"?j({componentType:"tab",componentName:c,componentValue:((X=u[Y])==null?void 0:X.id)??ne,originIndex:B,destinationIndex:Y,originContextName:M(B),destinationContextName:M(Y),defaultIndex:Z}):ce==="switch"&&j({componentType:"switch",componentName:c,componentValue:Y===1?"on":"off"}),O.set(Y)}};let L;ir(()=>{var le;if(!o(I)||!(_!=null&&_.length))return;const ne=(le=u[t()])==null?void 0:le.id;ne==null||ne===L||(L=ne,m==null||m.applyUpdates(_,ne))}),wy({control:st(l),selectedTabId:jt(z,ne=>(ne==null?void 0:ne.id)??""),selectTab:V,isActive:jt(O,ne=>ne===1)});var K=Se(),ee=ie(K);{var se=ne=>{var le=Cy(),ce=D(le);{var pe=B=>{Bo(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}})};H(ce,B=>{o(C)&&B(pe)})}var Y=U(ce,2);{var X=B=>{{let oe=g(()=>o(A)?"rc-tabs-stack-front":void 0);Nr(B,_r(()=>n().stack,{get class(){return o(oe)}}))}};H(Y,B=>{n()!==void 0&&B(X)})}W(B=>{ur(le,1,B,"svelte-kpv7rn"),Le(le,o(q))},[()=>pa(["rc-gradient-border",o(A)?Ri("tabs"):""].filter(Boolean).join(" "))]),x(ne,le)};H(ee,ne=>{o(I)&&ne(se)})}x(r,K),he(),i()}const Ay=Object.freeze({leading:"flex-start",top:"flex-start",center:"center",trailing:"flex-end",bottom:"flex-end"}),Fy=Object.freeze({space_between:"space-between",space_around:"space-around",space_evenly:"space-evenly",start:"flex-start",center:"center",end:"flex-end"});function zy(r){if(r.type!=="fixed")return{};const e=Cr(r.value);return{"min-width":e,"max-width":e}}function My(r){if(r.type!=="fixed")return{};const e=Cr(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=Fy[r.distribution]||"center",n=Ay[r.alignment]||"center";return{"flex-direction":e,"justify-content":t,"align-items":n}}const qy=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 Oy(r){return qy[r]}function Ly(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 Ny=R('<div style="flex-grow: 1; width:100%;"></div>'),jy=R("<div><!></div>");function By(r,e){me(e,!0);const t=()=>Re(c,"$selectedPackageId",n),[n,a]=Ze(),{walletButtonRender:i,onWalletButtonReady:s,selectedPackageId:c}=It(),l=ct(),u=g(l),d=Ir(e,["$$slots","$$events","$$legacy"]),_=g(()=>{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"}},m={type:"vertical",alignment:"center",distribution:"center"},f=g(()=>({size:e.size??p,dimension:e.dimension??m,spacing:e.spacing??0,margin:e.margin??qo,border:e.border??null,shape:e.shape??null,shadow:e.shadow??null})),v=g(()=>o(f).size),y=g(()=>o(f).dimension),h=g(()=>o(f).spacing),k=g(()=>o(f).margin),P=g(()=>({display:"flex",position:"relative",width:wr(o(v).width),height:wr(o(v).height),...Kl(o(y)),gap:Cr(o(h)),margin:Er({...o(k)?{...o(k)}:{...qo}})})),b=g(()=>or(o(P)));var w=Se(),E=ie(w);{var I=T=>{var S=jy(),A=D(S);Wu(A,()=>o(_),C=>{var N=Ny();gm(N,(q,j)=>i==null?void 0:i(q,j),()=>({selectedPackageId:t(),onReady:e.onWalletButtonReady??s,walletButtonTheme:o(_)})),x(C,N)}),W(()=>Le(S,o(b))),x(T,S)};H(E,T=>{i&&t()&&T(I)})}x(r,w),he(),a()}var Ry=R('<div class="wallet-skeleton rc-gradient-border svelte-1iadn5o">&nbsp; <div class="wallet-skeleton-shimmer svelte-1iadn5o"></div></div>');const Uy={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 Vy(r,e){me(e,!0),Pe(r,Uy);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),_=g(()=>o(a).shadow),p=g(()=>o(a).style),m=10,f=ct(),v=g(f),y=g(()=>({...o(p),display:"flex",position:"relative",width:wr(o(i).width),height:wr(o(i).height),...Kl(o(s)),gap:Cr(o(c)),margin:Er({...o(l)?{...o(l),bottom:Math.max(o(l).bottom,m)}:{...qo,bottom:m}})})),h=g(()=>or({...o(y),...Rn(o(v),o(u)),"border-radius":Un(o(d)),"box-shadow":ma(o(v),o(_))}));var k=Ry();we(k,"aria-hidden",!0),W(()=>Le(k,o(h))),x(r,k),he()}const ya=(r,e)=>{var t;return r.components.some(n=>Ap(n,e))||((t=r.badge)!=null&&t.stack?ya(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=>ya(t,e));case"package":case"purchase_button":case"tab":case"tab_control_button":return ya(r.stack,e);case"stack":return ya(r,e);case"tabs":return ya(r.control.stack,e)||r.tabs.some(t=>ya(t.stack,e));default:return!1}};var Hy=R("<div><!></div> <!>",1);const Wy={hash:"svelte-f1gs4x",code:".wallet-slot.svelte-f1gs4x {display:contents;}.wallet-slot-hidden.svelte-f1gs4x {display:none;}"};function Yy(r,e){me(e,!0),Pe(r,Wy);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=ya(a,"wallet_button");let _=te(ar(d?void 0:!1)),p=te(ar(!!l&&d));Sd({walletButtonRender:l,...u,onWalletButtonReady:h=>{F(_,h,!0),F(p,!1)}});const f=g(()=>!o(_)||!a),v=g(()=>!!(a&&o(_)&&!o(p))),y={components:[],type:"stack",visible:null,dimension:{type:"vertical",distribution:"start",alignment:"center"},background_color:null,spacing:0,...c};Nr(r,_r(()=>y,{children:(h,k)=>{var P=Hy(),b=ie(P),w=D(b);Nr(w,_r(()=>a));var E=U(b,2);{var I=S=>{Nr(S,_r(()=>n))},T=S=>{var A=Se(),C=ie(A);{var N=q=>{Nr(q,_r(()=>i))};H(C,q=>{o(f)&&q(N)},!0)}x(S,A)};H(E,S=>{o(p)?S(I):S(T,!1)})}W(()=>ur(b,1,pa(o(v)?"wallet-slot":"wallet-slot-hidden"),"svelte-f1gs4x")),x(h,P)},$$slots:{default:!0}})),he()}function Ro(r,e){me(e,!0);const t={button:Yh,carousel:by,countdown:rb,express_purchase_button:Yy,footer:Mp,header:qp,icon:Cp,image:wb,input_multiple_choice:wv,input_option:Ev,input_single_choice:Sv,input_text:bv,package:Eb,purchase_button:Gb,redemption_button:$v,skeleton_loader:Vy,stack:Nr,tab_control_button:xy,tab_control_toggle:Iy,tab_control:Py,tabs:Dy,text:Wl,timeline:ek,video:pk,wallet_button:By,web_view:Ck},n=f=>f.type in t,a=f=>{if(n(f))return[t[f.type],f];if(f.type==="fallback_header")return;const{fallback:v}=f;if(v&&n(v))return[t[v.type],v]},i=Ir(e,["$$slots","$$events","$$legacy","nodeData"]),s=g(()=>a(e.nodeData)??[]),c=g(()=>_i(o(s),2)),l=g(()=>o(c)[0]),u=g(()=>o(c)[1]);var d={getComponentClass:a},_=Se(),p=ie(_);{var m=f=>{var v=Se(),y=ie(v);cm(y,()=>o(l),(h,k)=>{k(h,_r(()=>o(u)||{},()=>i))}),x(f,v)};H(p,f=>{o(l)&&f(m)})}return x(r,_),he(d)}const Fp=Symbol("stack-dimension");function Xl(r){const e=zp();return mr(Fp,r),e}function zp(){return He(Fp)}var Gy=R("<div><!></div>"),Ky=R('<div class="rc-zlayer-layer svelte-1j9yufd"><!></div>'),Xy=R('<div style="position: relative; width: 100%; height: 100%; isolation: isolate;"></div>'),Zy=R("<!> <!> <!> <!>",1);const Jy={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){me(e,!0),Pe(r,Jy);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),_=g(()=>o(l).dimension),p=g(()=>o(l).spacing),m=g(()=>o(l).margin),f=g(()=>o(l).padding),v=g(()=>o(l).background_color),y=g(()=>o(l).background),h=g(()=>o(l).border),k=g(()=>o(l).shape),P=g(()=>o(l).shadow),b=g(()=>o(l).badge),w=g(()=>o(l).visible),E=Xl(()=>o(_).type),I=ct(),T=g(I),S=g(()=>{var L;return((L=o(y))==null?void 0:L.type)==="video"}),A=g(()=>{if(!o(S))return null;const L=o(y);return!L||L.type!=="video"?null:Lo(o(T),L)}),C=g(()=>Un(o(k))),N=g(()=>o(d).height.type==="fill"),q=g(()=>or({display:"flex",position:"relative",width:wr(o(d).width),...o(N)?Dp(E==null?void 0:E()):{height:wr(o(d).height)},...zy(o(d).width),...My(o(d).height),...Kl(o(_)),gap:Cr(o(p)),margin:Er(o(m)),padding:Er(o(f)),...Vn(o(T),o(v),o(y)),...Rn(o(T),o(h)),"border-radius":o(C),"box-shadow":ma(o(T),o(P)),...Ui({hasVideoBg:o(S),clipOverflow:o(C)!=="0"}),...e.style})),j=L=>{if(L===0||o(_).type!=="zlayer")return"";const{justifyContent:K,alignItems:ee}=Oy(o(_).alignment);return or({position:"absolute",inset:0,display:"flex","justify-content":K,"align-items":ee,"z-index":L+1})},Z=g(()=>{var L;return or(Ly(o(b),(L=o(h))==null?void 0:L.width))}),O=g(()=>o(w)!==!1);var z=Se(),M=ie(z);{var V=L=>{var K=Se(),ee=ie(K);Zs(ee,()=>n!==void 0?"button":"div",!1,(se,ne)=>{el(se,ge=>({role:n!==void 0?"button":void 0,onclick:n,style:o(q),class:ge,"data-testid":s}),[()=>["stack","rc-gradient-border",i,o(S)?Ri("stack"):""].filter(Boolean).join(" ")],void 0,void 0,"svelte-1j9yufd");var le=Zy(),ce=ie(le);{var pe=ge=>{Bo(ge,{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(ce,ge=>{o(A)&&ge(pe)})}var Y=U(ce,2);{var X=ge=>{var re=Gy(),Ee=D(re);Ro(Ee,{get nodeData(){return o(b).stack}}),W(()=>Le(re,o(Z))),x(ge,re)};H(Y,ge=>{o(b)&&ge(X)})}var B=U(Y,2);{var oe=ge=>{var re=Xy();Jt(re,21,()=>o(u),hn,(Ee,Ce,De)=>{var be=Ky(),ze=D(be);Ro(ze,{get nodeData(){return o(Ce)}}),W(Me=>Le(be,Me),[()=>j(De)]),x(Ee,be)}),x(ge,re)},Q=ge=>{var re=Se(),Ee=ie(re);Jt(Ee,17,()=>o(u),hn,(Ce,De)=>{Ro(Ce,{get nodeData(){return o(De)}})}),x(ge,re)};H(B,ge=>{o(_).type==="zlayer"?ge(oe):ge(Q,!1)})}var ue=U(B,2);a==null||a(ue),x(ne,le)}),x(L,K)};H(M,L=>{o(O)&&L(V)})}x(r,z),he()}function Hi(r){return r<10?`0${r}`:`${r}`}function Wi(r){return`${r}`}function Qy(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:Hi(l),count_days_without_zero:Wi(l),count_hours_with_zero:Hi(u),count_hours_without_zero:Wi(u),count_minutes_with_zero:Hi(d),count_minutes_without_zero:Wi(d),count_seconds_with_zero:Hi(_),count_seconds_without_zero:Wi(_)}}function $y(r,e=Date.now()){return new Date(r).getTime()<=e}const eb=st(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 rb(r,e){me(e,!0);const t=()=>Re(eb,"$sharedNow",n),[n,a]=Ze(),i=Ir(e,["$$slots","$$events","$$legacy"]),{countdown_stack:s,end_stack:c}=i,l=g(()=>Qy(e.style.date,t())),u=g(()=>$y(e.style.date,t())),d=ml(),_=jt([d,Ih(()=>o(l))],([h,k])=>({...h,...k}));fl(_);const p=g(()=>o(u)&&c?c:s),m=g(()=>e.visible!==!1);var f=Se(),v=ie(f);{var y=h=>{Nr(h,_r(()=>o(p)))};H(v,h=>{o(m)&&h(y)})}x(r,f),he(),a()}var tb=R('<div class="svelte-1k7myt1"><!></div>');const nb={hash:"svelte-1k7myt1",code:"div.svelte-1k7myt1 {width:100%;display:flex;flex-direction:row;justify-content:center;}"};function Mp(r,e){me(e,!0),Pe(r,nb),Xl(()=>"horizontal");var t=tb(),n=D(t);Nr(n,_r(()=>e.stack)),x(r,t),he()}var ab=R('<div class="svelte-1p7muup"><!></div>');const ob={hash:"svelte-1p7muup",code:"div.svelte-1p7muup {display:flex;flex-direction:row;justify-content:center;}"};function qp(r,e){me(e,!0),Pe(r,ob),Xl(()=>"horizontal");var t=ab(),n=D(t);Nr(n,_r(()=>e.stack)),x(r,t),he()}var ib=Dr("<circle></circle>"),sb=Dr("<path></path>"),lb=Dr("<path></path>"),cb=Dr("<path></path>"),ub=Dr("<!><!><!><!>",1);function Yi(r,e){me(e,!0);const t=g(()=>{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=g(()=>_i(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=ub(),u=ie(l);{var d=h=>{var k=ib();W(P=>{we(k,"cx",e.width/2),we(k,"cy",e.height/2),we(k,"r",P)},[()=>Math.min(e.width,e.height)/2]),x(h,k)};H(u,h=>{var k;((k=e.shape)==null?void 0:k.type)==="circle"&&h(d)})}var _=U(u);{var p=h=>{var k=sb();W(()=>we(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`)),x(h,k)};H(_,h=>{var k;((k=e.shape)==null?void 0:k.type)==="concave"&&h(p)})}var m=U(_);{var f=h=>{var k=lb();W(()=>we(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`)),x(h,k)};H(m,h=>{var k;((k=e.shape)==null?void 0:k.type)==="convex"&&h(f)})}var v=U(m);{var y=h=>{var k=cb();W(()=>we(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`)),x(h,k)};H(v,h=>{var k,P;(((k=e.shape)==null?void 0:k.type)==="rectangle"||((P=e.shape)==null?void 0:P.type)===void 0)&&h(y)})}x(r,l),he()}var db=Dr('<linearGradient x1="0" y1="0" x2="100%" y2="100%"><stop offset="0%"></stop><stop offset="100%"></stop></linearGradient>'),pb=Dr("<stop></stop>"),_b=Dr("<linearGradient></linearGradient>"),gb=Dr("<stop></stop>"),fb=Dr("<radialGradient></radialGradient>"),mb=Dr("<!><!><!>",1);function Gi(r,e){me(e,!0);var t=mb(),n=ie(t);{var a=u=>{var d=db(),_=D(d),p=U(_);W(()=>{we(d,"id",e.id),we(_,"stop-color",e.overlay.value),we(p,"stop-color",e.overlay.value)}),x(u,d)};H(n,u=>{var d;((d=e.overlay)==null?void 0:d.type)==="hex"&&u(a)})}var i=U(n);{var s=u=>{var d=_b();Jt(d,21,()=>e.overlay.points,hn,(_,p)=>{var m=pb();W(()=>{we(m,"offset",`${o(p).percent}%`),we(m,"stop-color",o(p).color)}),x(_,m)}),W(()=>{we(d,"id",e.id),we(d,"gradientTransform",`rotate(${e.overlay.degrees-90}, 0.5, 0.5)`)}),x(u,d)};H(i,u=>{var d;((d=e.overlay)==null?void 0:d.type)==="linear"&&u(s)})}var c=U(i);{var l=u=>{var d=fb();Jt(d,21,()=>e.overlay.points,hn,(_,p)=>{var m=gb();W(()=>{we(m,"offset",`${o(p).percent}%`),we(m,"stop-color",o(p).color)}),x(_,m)}),W(()=>we(d,"id",e.id)),x(u,d)};H(c,u=>{var d;((d=e.overlay)==null?void 0:d.type)==="radial"&&u(l)})}x(r,t),he()}var hb=Dr('<use fill="transparent"></use>'),vb=Dr('<rect x="0" y="0" height="100%" width="100%"></rect>'),yb=Dr('<use fill="none"></use>'),bb=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 kb={hash:"svelte-15zso79",code:"img.svelte-15zso79 {width:100%;height:100%;object-fit:contain;object-position:center;}"};function wb(r,e){me(e,!0),Pe(r,kb);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),_=g(()=>o(a).margin),p=g(()=>o(a).color_overlay),m=g(()=>o(a).border),f=g(()=>o(a).shadow),v=g(()=>o(a).visible),y=ct(),h=g(y),k=g(()=>nt(o(h),o(s)));let P=te(0),b=te(ar({height:0,width:0}));ir(()=>{if(o(k).width||o(k).height){F(b,{height:o(k).height,width:o(k).width},!0);return}const V=new window.Image;V.src=o(k).original;const L=()=>{F(b,{height:V.height,width:V.width},!0)};return V.addEventListener("load",L),()=>{V.removeEventListener("load",L)}});const w=g(()=>o(c).height.type==="fixed"?o(c).height.value:Math.round(o(P)*(o(b).height/o(b).width))),E=g(()=>or({width:wr(o(c).width),height:`${o(w)}px`,margin:Er(o(_)),padding:Er(o(d)),"line-height":0,"flex-shrink":o(c).width.type==="fixed"?0:1}));let I=te(null);const T=g(()=>{var V,L;return[((V=o(I))==null?void 0:V.width)??0,((L=o(I))==null?void 0:L.height)??0]}),S=g(()=>_i(o(T),2)),A=g(()=>o(S)[0]),C=g(()=>o(S)[1]),N=g(()=>`0 0 ${o(A)} ${o(C)}`),q=g(()=>{var ne;if(!((ne=o(f))!=null&&ne.color))return"";const{x:V,y:L,radius:K,color:ee}=o(f),se=ut(o(h),ee);return`filter: drop-shadow(${V}px ${L}px ${K}px ${se})`}),j=g(()=>o(p)&&nt(o(h),o(p))),Z=g(()=>o(v)!==!1);var O=Se(),z=ie(O);{var M=V=>{var L=bb(),K=D(L),ee=D(K),se=D(ee),ne=D(se);Yi(ne,{get shape(){return o(l)},get width(){return o(A)},get height(){return o(C)}});var le=U(se),ce=D(le);Yi(ce,{get shape(){return o(l)},get width(){return o(A)},get height(){return o(C)}});var pe=U(le);{let be=g(()=>`${o(i)}-overlay`);Gi(pe,{get id(){return o(be)},get overlay(){return o(j)}})}var Y=U(pe);{var X=be=>{{let ze=g(()=>`${o(i)}-border-color`),Me=g(()=>nt(o(h),o(m).color));Gi(be,{get id(){return o(ze)},get overlay(){return o(Me)}})}};H(Y,be=>{o(m)&&o(m).width>0&&be(X)})}var B=U(ee);{var oe=be=>{var ze=hb();W(()=>we(ze,"href",`#${o(i)}-border`)),x(be,ze)};H(B,be=>{o(m)&&o(m).width>0&&be(oe)})}var Q=U(B),ue=D(Q),ge=D(ue),re=U(ue);{var Ee=be=>{var ze=vb();W(()=>we(ze,"fill",`url(#${o(i)}-overlay)`)),x(be,ze)};H(re,be=>{o(j)&&be(Ee)})}var Ce=U(re);{var De=be=>{var ze=yb();W(()=>{we(ze,"href",`#${o(i)}-border`),we(ze,"stroke",`url(#${o(i)}-border-color)`),we(ze,"stroke-width",o(m).width*2)}),x(be,ze)};H(Ce,be=>{o(m)&&o(m).width>0&&be(De)})}W(be=>{Le(L,o(E)),we(K,"viewBox",o(N)),Le(K,o(q)),we(se,"id",`${o(i)}-path`),we(le,"id",`${o(i)}-border`),we(Q,"clip-path",`url(#${o(i)}-path)`),we(ge,"src",o(k).original),Le(ge,`object-fit:${be??""}`)},[()=>Ga(o(u))]),ad(K,"contentRect",be=>F(I,be)),Do(L,"clientWidth",be=>F(P,be)),x(V,L)};H(z,V=>{o(Z)&&V(M)})}x(r,O),he()}const Op=Symbol("packageId");function Pb(r){mr(Op,r)}function xb(){return He(Op)}function Eb(r,e){me(e,!0);const t=()=>Re(m,"$selectedPackageId",l),n=()=>Re(f,"$variablesPerPackage",l),a=()=>Re(b,"$fallbackVariables",l),i=()=>Re(v,"$baseVariables",l),s=()=>Re(y,"$infoPerPackage",l),c=()=>Re(I,"$fallbackPackageInfo",l),[l,u]=Ze(),d=br(e.package_id);ir(()=>{d.set(e.package_id)}),Pb(d);const{defaultPackageId:_,emitComponentInteraction:p,selectedPackageId:m,variablesPerPackage:f,baseVariables:v,infoPerPackage:y}=It();ir(()=>{if(e.is_selected_by_default){const A=e.package_id;Ue(()=>{Ci(m,A)})}});const h=g(()=>t()===e.package_id),k=br(o(h));ir(()=>{k.set(o(h))}),Ai(k);const P=()=>{const A=t();A!==e.package_id&&(Ci(m,e.package_id),p({componentType:"package",componentName:e.name,componentValue:e.package_id,originPackageId:A,destinationPackageId:e.package_id,defaultPackageId:_}))},b=ml(),w=g(()=>{var C;const A=(C=n())==null?void 0:C[e.package_id];return A===void 0?a():{...i(),...A}}),E=br(o(w));ir(()=>{E.set(o(w))}),fl(E);const I=Dh(),T=g(()=>{var A;return((A=s())==null?void 0:A[e.package_id])??c()}),S=br(o(T));ir(()=>{S.set(o(T))}),xd(S),Nr(r,_r(()=>e.stack,{onclick:P})),he(),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 Sb={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 Ib(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 Cb(r){return Bp.test(r)}function Tb(r){const e=Bp.exec(r);return e!=null&&(e[1]==null||e[1].toLowerCase()==="ff")}function Ki(r){return r.length===7?`${r.toLowerCase()}ff`:r.toLowerCase()}function Rp(r,e,t){const n=Ib(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 Ki(t.color);if(e>=n.percent)return Ki(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()?Ki(i.color):i.percent===s.percent?Ki(s.color):null}function Db(r){return r.filter(e=>Number.isFinite(e.percent)&&Cb(e.color)).slice().sort((e,t)=>e.percent-t.percent)}function Up(r,[e,t]){const n=Zl(r,e);if(n==null||!Tb(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 Ab(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 Fb(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 Oo(r);case"linear":return Up(n??[],Ab(r.degrees,e,t));case"radial":return Up(n??[],Fb(e,t))}}function zb(r,e,t,n){let a=null,i=null;if((r==null?void 0:r.type)==="color"){const s=nt(e,r.value),c=s.type==="linear"||s.type==="radial"?Db(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 Mb(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 _=zb(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 qb(r,e,t){return{...r.type==="fill"?{}:{height:"auto"},...e?{"margin-top":`-${t}px`}:{}}}var Ob=R('<div class="backdrop svelte-1ji2860" role="presentation" tabindex="-1" aria-hidden="true"><div role="dialog" aria-modal="true"><!> <!></div></div>');const Lb={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 Nb(r,e){me(e,!0),Pe(r,Lb);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=ct(),d=g(u),_=g(()=>{var N;return((N=o(c))==null?void 0:N.type)==="video"}),p=g(()=>{if(!o(_))return null;const N=o(c);return!N||N.type!=="video"?null:Lo(o(d),N)}),m=g(()=>or({background:o(l)?"#0000003f":""})),f=g(()=>or({height:wr(o(s).height),...Ui({hasVideoBg:o(_),clipOverflow:!0}),...Vn(o(d),null,o(c))})),{onButtonAction:v}=It();let y,h=te(!1);kr(()=>{requestAnimationFrame(()=>{F(h,!0)})});const k=()=>{F(h,!1)},P=()=>{o(h)||v({type:"navigate_to",destination:"sheet",sheet:null})},b=N=>{N.target===N.currentTarget&&k()},w=N=>{N.key==="Escape"&&k()};let E=g(()=>[`sheet ${o(h)?"visible":""}`,o(_)?Ri("sheet"):""].filter(Boolean).join(" "));var I=Ob();I.__click=b,I.__keydown=w;var T=D(I),S=D(T);{var A=N=>{Bo(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}})};H(S,N=>{o(p)&&N(A)})}var C=U(S,2);{let N=g(()=>o(_)?"rc-sheet-stack-above-video":void 0);Nr(C,_r(()=>n,{get class(){return o(N)}}))}_a(T,N=>y=N,()=>y),W(()=>{Le(I,o(m)),ur(T,1,pa(o(E)),"svelte-1ji2860"),Le(T,o(f))}),Br("transitionend",T,P),x(r,I),he()}Zt(["click","keydown"]);var jb=R("<div></div>"),Bb=R('<div class="viewport-backdrop svelte-172lhdf"><!> <!></div>');const Rb={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 Ub(r,e){me(e,!0),Pe(r,Rb);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=Se(),s=ie(i);{var c=l=>{var u=Bb(),d=D(u);{var _=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(_)})}var p=U(d,2);{var m=f=>{var v=jb();let y;W(()=>{y=ur(v,1,"viewport-backdrop-overlay svelte-172lhdf",null,y,{"z-over-video-bg":e.model.kind==="video"}),Le(v,o(n))}),x(f,v)};H(p,f=>{o(n)&&f(m)})}W(()=>Le(u,o(t)!==""?o(t):void 0)),x(l,u)};H(s,l=>{o(a)&&l(c)})}x(r,i),he()}var Vb=R('<div class="header-wrapper svelte-1p6c93t"><!></div>'),Hb=R('<div class="footer-wrapper svelte-1p6c93t"><!></div>'),Wb=R('<div><!> <!> <div class="paywall-content svelte-1p6c93t"><!></div> <!></div> <!>',1);const Yb={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 Gp(r,e){me(e,!0),Pe(r,Yb);const t=()=>Re(w,"$selectedPackageId",n),[n,a]=Ze(),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,()=>({})),_=Qh(()=>e.preferredColorMode),p=g(()=>av(e.paywallData,_())),m=Symbol();ir(()=>Mb(m,o(p),{paywallData:e.paywallData,colorMode:_(),hostFallbackColor:e.safeAreaFallbackColor}));const{default_locale:f,components_config:v,components_localizations:y}=e.paywallData,{base:h}=v,k=Vh(h),P=g(()=>{const X=o(p);return X.kind==="style"&&X.style.background&&!X.style.background.includes("gradient")?or(X.style):""}),{getLocalizedString:b}=Rh(()=>({defaultLocale:f,selectedLocale:e.selectedLocale,localizations:y})),w=br(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,Q,ue,ge,re,Ee,Ce,De;switch(X.type){case"workflow":B&&((oe=e.onActionTriggered)==null||oe.call(e,B));return;case"complete_workflow":{const be=b(X.url.url_lid);if(!be)return;(Q=e.onCompleteWorkflowNavigate)==null||Q.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":(ge=e.onClose)==null||ge.call(e);return;case"restore_purchases":(re=e.onRestorePurchasesClicked)==null||re.call(e);return}switch(X.destination){case"customer_center":(Ee=e.onVisitCustomerCenterClicked)==null||Ee.call(e);return;case"screen_redirect":(Ce=e.onActionTriggered)==null||Ce.call(e,"screen_redirect");return;case"privacy_policy":case"terms":case"url":const be=b(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 ze=o(S).rootSelectedPackageId;I({componentType:"package_selection_sheet",componentName:o(S).props.name,componentValue:"close",currentPackageId:t(),resultingPackageId:ze}),w.set(ze)}F(S,void 0)}return;case"offer_code":case"web_paywall_link":return}},C=Np(d(),e.uiConfig);Sd({defaultPackageId:k,selectedPackageId:w,variablesPerPackage:st(i()),baseVariables:st({...s(),...C}),infoPerPackage:st(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=zi(),q=N??new Cd;q.registerDeclarations(e.paywallData.state_declarations??{}),N||Dd(q);const j=Nh();jh(j),Bh(u());const Z=jt(w,X=>{const B=i()[X||""];return{...s(),...C,...B}});fl(Z);const O=jt(w,X=>c()[X||""]);xd(O),kr(()=>{ov(e.uiConfig)});const z=g(()=>o(S)?"paywall blur":"paywall"),{stack:M,sticky_footer:V,header:L}=h,K=M.components[0],ee=(K==null?void 0:K.type)==="image"&&K.size.width.type==="fill",se=!!L&&ee;let ne=te(0),le=te(0);const ce=g(()=>e.maxContentWidth?`max-width: ${e.maxContentWidth}; margin-inline: auto;`:"");var pe=Se(),Y=ie(pe);uu(Y,{get onerror(){return e.onError}},X=>{var B=Wb(),oe=ie(B),Q=D(oe);Ub(Q,{get model(){return o(p)}});var ue=U(Q,2);{var ge=Me=>{var Ae=Vb(),ke=D(Ae);qp(ke,_r(()=>L)),W(()=>Le(Ae,`z-index: ${Ld};`)),Do(Ae,"clientHeight",Xe=>F(ne,Xe)),x(Me,Ae)};H(ue,Me=>{L&&Me(ge)})}var re=U(ue,2),Ee=D(re);{let Me=g(()=>{var ke;return V?{...M.padding,bottom:(((ke=M.padding)==null?void 0:ke.bottom)??0)+o(le)}:M.padding}),Ae=g(()=>qb(M.size.height,se,o(ne)));Nr(Ee,_r(()=>M,{class:"paywall-content-scroll",get padding(){return o(Me)},get style(){return o(Ae)}}))}var Ce=U(re,2);{var De=Me=>{var Ae=Hb(),ke=D(Ae);Mp(ke,_r(()=>V)),W(()=>Le(Ae,`z-index: ${Ld}; margin-top: -${o(le)??""}px; ${o(ce)??""}`)),Do(Ae,"clientHeight",Xe=>F(le,Xe)),x(Me,Ae)};H(Ce,Me=>{V&&Me(De)})}var be=U(oe,2);{var ze=Me=>{Nb(Me,_r(()=>o(S).props))};H(be,Me=>{o(S)&&Me(ze)})}W(()=>{ur(oe,1,pa(o(z)),"svelte-1p6c93t"),Le(oe,o(P)),Le(re,o(ce))}),x(X,B)}),x(r,pe),he(),a()}function Gb(r,e){me(e,!0);const t=()=>Re(_,"$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:_}=It(),{getLocalizedString:p}=qi(),m=xb(),f=(h,k,P)=>{const b=h.indexOf("#"),w=b===-1?"":h.slice(b),E=b===-1?h:h.slice(0,b),I=E.includes("?")?"&":"?";return`${E}${I}${encodeURIComponent(k)}=${encodeURIComponent(P)}${w}`},v=h=>{var w,E,I,T,S;let k;const P=((w=e.method)==null?void 0:w.type)==="unknown"||(E=e.method)==null?void 0:E.type,b=(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?f(A,C,h):A}}if(k===void 0){const A=P??e.action;(A==="web_checkout"||A==="web_product_selection"||A==="custom_web_checkout")&&(k=b)}return{componentType:"purchase_button",componentName:e.name,componentValue:P??e.action??"web_checkout",...k?{componentURL:k}:{},currentPackageId:h}};Nr(r,_r(()=>c,{onclick:()=>{var k;const h=(m?Ao(m):void 0)??n();h!==void 0&&(Ci(d,h),l(v(h))),u((k=e.triggers)==null?void 0:k.on_purchase_press)}})),he(),i()}function Kb(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:wr(r.size.width),height:wr(r.size.height),padding:Er(r.padding),margin:Er(r.margin)}}function Xb(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 Zb=R("<div><div></div></div>"),Jb=R("<div><!> <div><!></div></div> <div><!> <!></div>",1);function Qb(r,e){me(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),_=ct(),p=g(_),m=or({position:"relative"}),f=or({position:"relative","z-index":"2"}),v=g(()=>or(Xb(o(p),{text_spacing:o(u),item_spacing:o(d)}))),y=g(()=>{var N;return o(l)?or({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=g(()=>{if(!o(l))return"";const N=ut(o(p),o(l).color);return or({width:"100%",height:"100%",background:N})});var k=Jb(),P=ie(k),b=D(P);{var w=N=>{var q=Zb(),j=D(q);W(()=>{Le(q,o(y)),Le(j,o(h))}),x(N,q)};H(b,N=>{o(l)&&N(w)})}var E=U(b,2),I=D(E);Cp(I,_r(()=>o(i)));var T=U(P,2),S=D(T);Wl(S,_r(()=>o(s)));var A=U(S,2);{var C=N=>{Wl(N,_r(()=>o(c)))};H(A,N=>{o(c)&&N(C)})}W(()=>{Le(P,m),Le(E,f),Le(T,o(v))}),x(r,k),he()}var $b=R("<div></div>");function ek(r,e){me(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),_=g(()=>o(a).padding),p=g(()=>o(a).margin),m=g(()=>o(a).visible),f=g(()=>Kf(o(a),["items","text_spacing","item_spacing","column_gutter","icon_alignment","size","padding","margin","visible"])),v=g(()=>o(m)!==!1),y=g(()=>or(Kb({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(f)})));var h=Se(),k=ie(h);{var P=b=>{var w=$b();Jt(w,21,()=>o(i),E=>E.id,(E,I)=>{Qb(E,_r(()=>o(I),{get text_spacing(){return o(s)},get item_spacing(){return o(c)}}))}),W(()=>Le(w,o(y))),x(b,w)};H(k,b=>{o(v)&&o(i).length&&b(P)})}x(r,h),he()}var rk=R("<div><p>No paywall data provided</p></div>"),tk=R('<div class="paywall-container"><!></div>');function nk(r,e){me(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=tk(),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 _=rk();x(d,_)};H(c,d=>{e.paywallComponents?d(l):d(u,!1)})}W(()=>we(s,"id",a())),x(r,s),he()}function ak(r,e){me(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[P,b]of Object.entries(k.state_declarations??{}))Object.hasOwn(h,P)||(h[P]=b);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(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 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 P=h.trigger_actions[k];if(!P){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(P)){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 b=e.workflow.steps[P.step_id];if(!b){console.warn(`[Workflow] onActionTriggered: step_id "${P.step_id}" not found in workflow steps`);return}const w=b.screen_id;if(!w){console.warn(`[Workflow] onActionTriggered: step "${P.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=P.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 m(){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 f=Se(),v=ie(f);Wu(v,()=>o(l).pageId,y=>{nk(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:m,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)}})}),x(r,f),he()}var ok=R('<img alt="" class="svelte-bgamhd"/>'),ik=R('<video playsinline="" class="svelte-bgamhd"><track kind="captions"/></video>',2),sk=Dr('<use fill="transparent"></use>'),lk=Dr('<rect x="0" y="0" height="100%" width="100%"></rect>'),ck=Dr('<use fill="none"></use>'),uk=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 dk={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 pk(r,e){me(e,!0),Pe(r,dk);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),_=g(()=>o(a).padding),p=g(()=>o(a).margin),m=g(()=>o(a).color_overlay),f=g(()=>o(a).border),v=g(()=>o(a).shadow),y=g(()=>o(a).auto_play),h=g(()=>o(a).loop),k=g(()=>o(a).mute_audio),P=g(()=>o(a).show_controls),b=g(()=>o(a).visible),w=ct(),E=g(w),I=g(()=>o(s)?nt(o(E),o(s)):null),T=g(()=>o(c)?nt(o(E),o(c)):null);let S=te(0),A=te(ar({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 Q=()=>{var ge,re;F(A,{height:((ge=o(C))==null?void 0:ge.videoHeight)??0,width:((re=o(C))==null?void 0:re.videoWidth)??0},!0)},ue=()=>{F(N,!0)};return o(C).addEventListener("loadedmetadata",Q),o(C).addEventListener("error",ue),()=>{var ge,re;(ge=o(C))==null||ge.removeEventListener("loadedmetadata",Q),(re=o(C))==null||re.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 Q=new window.Image;Q.src=o(T).original;const ue=()=>{F(A,{height:Q.height,width:Q.width},!0)};return Q.addEventListener("load",ue),()=>{Q.removeEventListener("load",ue)}}});const Z=g(()=>{if(o(l).height.type==="fixed")return o(l).height.value;const Q=o(A).width,ue=o(A).height;return!Number.isFinite(Q)||!Number.isFinite(ue)||Q<=0||ue<=0?o(S)>0?Math.round(o(S)*(9/16)):200:Math.round(o(S)*(ue/Q))}),O=g(()=>or({width:wr(o(l).width),height:`${o(Z)}px`,margin:Er(o(p)),padding:Er(o(_)),"line-height":0,"flex-shrink":o(l).width.type==="fixed"?0:1}));let z=te(null);const M=g(()=>{var Q,ue;return[((Q=o(z))==null?void 0:Q.width)??0,((ue=o(z))==null?void 0:ue.height)??0]}),V=g(()=>_i(o(M),2)),L=g(()=>o(V)[0]),K=g(()=>o(V)[1]),ee=g(()=>`0 0 ${o(L)} ${o(K)}`),se=g(()=>{var Ce;if(!((Ce=o(v))!=null&&Ce.color))return"";const{x:Q,y:ue,radius:ge,color:re}=o(v),Ee=ut(o(E),re);return`filter:drop-shadow(${Q}px ${ue}px ${ge}px ${Ee})`}),ne=g(()=>o(se)?`${o(O)};${o(se)}`:o(O)),le=g(()=>{var Q,ue;return or({width:"100%",height:"100%",overflow:"hidden","border-radius":Un(o(u)),"clip-path":((Q=o(u))==null?void 0:Q.type)==="concave"||((ue=o(u))==null?void 0:ue.type)==="convex"?`url(#${o(i)}-path)`:"none"})}),ce=g(()=>o(m)&&nt(o(E),o(m))),pe=g(()=>o(N)||!o(I));ir(()=>{if(!o(y)){Ue(()=>{F(q,!1)});return}if(o(pe)||!o(I)){Ue(()=>{F(q,!1)});return}const Q=o(C);if(!Q)return;const ue=o(I).url,ge=o(j)!==ue;ge&&(F(j,ue,!0),Ue(()=>{F(q,!1)}));let re=!1;const Ee=()=>{Bi(Q,{preferMuted:o(k),mutedPlaybackOverride:o(q)})};let Ce=null;const De=()=>{Ce!==null&&(Q.removeEventListener("playing",Ce),Ce=null)},be=()=>{if(re||!Q.paused||(Ee(),Q.readyState<HTMLMediaElement.HAVE_CURRENT_DATA))return;const Ae=Q.play();Ae!==void 0&&Ae.catch(()=>{if(!(re||!Q.isConnected)&&!o(k)&&!o(q)){Ue(()=>{F(q,!0)}),Bi(Q,{preferMuted:o(k),mutedPlaybackOverride:!0});let ke=!1;const Xe=()=>{ke||o(k)||re||!Q.isConnected||(ke=!0,queueMicrotask(()=>{if(re)return;Ue(()=>{F(q,!1)}),Ee(),Q.volume=1;const Ve=Q.play();Ve!==void 0&&Ve.catch(()=>{re||!Q.isConnected||(Ue(()=>{F(q,!0)}),Ee())})}))},$e=()=>{re||!Q.isConnected||(Ce=null,Xe())},ye=Q.play();ye!==void 0?ye.then(()=>{re||o(k)||ke||(Ce=$e,Q.addEventListener("playing",$e,{once:!0}),queueMicrotask(()=>{if(!(re||o(k)||ke||Q.paused)){if(!Q.muted){De();return}Xe()}}))}):(Ce=$e,Q.addEventListener("playing",$e,{once:!0}))}})},ze=()=>{if(Ee(),o(k))Q.play().catch(()=>{});else try{Q.load()}catch{}};ge&&Q.readyState<HTMLMediaElement.HAVE_CURRENT_DATA&&ze();const Me=Sp(Q,be,()=>re);return()=>{re=!0,De(),Me()}});const Y=g(()=>o(b)!==!1);var X=Se(),B=ie(X);{var oe=Q=>{var ue=uk(),ge=D(ue),re=D(ge),Ee=D(re);{var Ce=er=>{var yr=ok();W(Mt=>{we(yr,"src",o(T).original),Le(yr,`object-fit:${Mt??""}`)},[()=>Ga(o(d))]),x(er,yr)},De=er=>{var yr=Se(),Mt=ie(yr);{var co=uo=>{var qt=ik();_a(qt,ii=>F(C,ii),()=>o(C)),W(ii=>{we(qt,"src",o(I).url),Le(qt,`object-fit:${ii??""}`),qt.loop=o(h),qt.muted=o(k)||o(q),qt.controls=o(P),qt.autoplay=o(y),we(qt,"preload",o(y)?"auto":"metadata")},[()=>Ga(o(d))]),x(uo,qt)};H(Mt,uo=>{o(I)&&uo(co)},!0)}x(er,yr)};H(Ee,er=>{o(pe)&&o(T)?er(Ce):er(De,!1)})}var be=U(re,2),ze=D(be),Me=D(ze),Ae=D(Me);Yi(Ae,{get shape(){return o(u)},get width(){return o(L)},get height(){return o(K)}});var ke=U(Me),Xe=D(ke);Yi(Xe,{get shape(){return o(u)},get width(){return o(L)},get height(){return o(K)}});var $e=U(ke);{let er=g(()=>`${o(i)}-overlay`);Gi($e,{get id(){return o(er)},get overlay(){return o(ce)}})}var ye=U($e);{var Ve=er=>{{let yr=g(()=>`${o(i)}-border-color`),Mt=g(()=>nt(o(E),o(f).color));Gi(er,{get id(){return o(yr)},get overlay(){return o(Mt)}})}};H(ye,er=>{o(f)&&o(f).width>0&&er(Ve)})}var fr=U(ze);{var Sr=er=>{var yr=sk();W(()=>we(yr,"href",`#${o(i)}-border`)),x(er,yr)};H(fr,er=>{o(f)&&o(f).width>0&&er(Sr)})}var Mr=U(fr),qr=D(Mr);{var Kr=er=>{var yr=lk();W(()=>we(yr,"fill",`url(#${o(i)}-overlay)`)),x(er,yr)};H(qr,er=>{o(ce)&&er(Kr)})}var Or=U(qr);{var Ut=er=>{var yr=ck();W(()=>{we(yr,"href",`#${o(i)}-border`),we(yr,"stroke",`url(#${o(i)}-border-color)`),we(yr,"stroke-width",o(f).width*2)}),x(er,yr)};H(Or,er=>{o(f)&&o(f).width>0&&er(Ut)})}W(()=>{Le(ue,o(ne)),Le(re,o(le)),we(be,"viewBox",o(ee)),we(Me,"id",`${o(i)}-path`),we(ke,"id",`${o(i)}-border`),we(Mr,"clip-path",`url(#${o(i)}-path)`)}),ad(be,"contentRect",er=>F(z,er)),Do(ue,"clientWidth",er=>F(S,er)),x(Q,ue)};H(B,Q=>{o(Y)&&Q(oe)})}x(r,X),he()}const _k="https:";function gk(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()!==_k||t.username!==""||t.password!==""?null:t.href}function fk(r,e){try{return new URL(r).origin===e}catch{return!0}}var mk="resize",hk="fit",vk=["connect","init","reject","message","request","response","error"];new Set(vk);const yk="https://sdk.revenuecat-static.com";let bk=Pk;const Xi=new Map;function kk(r){return`${yk}/v${r}/rc-host.iife.js`}function wk(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 Pk(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 xk(r){const e=Xi.get(r);if(e)return e;const t=kk(r),n=bk(t);return n.catch(()=>{Xi.get(r)===n&&Xi.delete(r)}),Xi.set(r,n),n}async function Ek(r){return wk(r),xk(r)}var Sk=R('<div class="web-view svelte-ek1owy"><iframe sandbox="allow-scripts allow-same-origin" referrerpolicy="no-referrer" allow="" class="svelte-ek1owy"></iframe></div>');const Ik={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 Ck(r,e){me(e,!0),Pe(r,Ik);const t=300,n=1e4,a=b=>Math.max(1,Math.min(n,Math.round(b))),i=b=>typeof b=="number"&&Number.isFinite(b)&&b>0,s=zp();let c=te(!1);kr(()=>{F(c,!0)});const l=g(()=>gk(e.url)),u=g(()=>o(c)&&o(l)!==null&&!fk(o(l),window.location.origin));let d=te(void 0),_=te(void 0);const p=b=>b.type==="fit"&&typeof b.default=="number"?b.default:t,m=g(()=>{const{width:b,height:w}=e.size,E=b.type==="fit",I=w.type==="fit",T=w.type==="fill",S=T&&(s==null?void 0:s())==="vertical",A=E?a(o(d)??p(b)):null,C=I?a(o(_)??p(w)):null;return or({width:A!=null?Cr(A):wr(b),...T?Dp(s==null?void 0:s()):{height:C!=null?Cr(C):wr(w)},...A!=null?{"max-width":"100%"}:{},...C!=null?{"max-height":"100%"}:{},...S?{}:{"flex-shrink":b.type==="fixed"||E||I?0:1},"line-height":0})}),f=g(()=>e.visible!==!1);let v=te(void 0),y;ir(()=>{const b=o(l);b!==y&&(F(d,void 0),F(_,void 0),y=b);const w=o(v),E=e.id,I=e.protocol_version,T=e.size.width.type==="fit",S=e.size.height.type==="fit";if(!w||!b)return;let A=!1,C;return Ek(I).then(N=>{if(!A)try{C=N({iframe:w,allowedOrigin:new URL(b).origin,componentId:E,protocolVersion:I}),(T||S)&&C.onReady(()=>C==null?void 0:C.send(hk,{width:T,height:S})),C.on(mk,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=ie(h);{var P=b=>{var w=Sk(),E=D(w);_a(E,I=>F(v,I),()=>o(v)),W(()=>{Le(w,o(m)),we(E,"title",e.name??"Web view"),we(E,"src",o(l))}),x(b,w)};H(k,b=>{o(f)&&o(l)&&o(u)&&b(P)})}x(r,h),he()}function Tk(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 Dk=R("<span><!></span>");const Ak={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 Fk(r,e){Pe(r,Ak);const t=J(e,"size",3,"body-base");var n=Dk(),a=D(n);xr(a,()=>e.children??tr),W(()=>ur(n,1,`rcb-typography rcb-typography-${t()??""}`,"svelte-1pt0ai6")),x(r,n)}const zk={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",$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}},Mk={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}},qk={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"},Ok={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"},Lk={...Xp,"input-background":"color_form_bg",background:"color_form_bg"},Nk={...Xp,"input-background":"color_product_info_bg",background:"color_product_info_bg"},Zp={"input-border-radius":"4px","input-button-border-radius":"8px"},jk={"input-border-radius":"0px","input-button-border-radius":"0px"},Bk={"input-border-radius":"12px","input-button-border-radius":"9999px"},Jp=Zp,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,Rk=(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 Uk(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 Qp(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 Uk(a,c,n)}function rc(r){return r.toString(16).padStart(2,"0").toUpperCase()}const Vk=(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,Rk(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},Hk=r=>({"primary-hover":Qp(r,.1),"primary-pressed":Qp(r,.15)}),Wk=(r,e)=>r||e,Yk=(r,e,t)=>{const n=Object.entries(r).map(([a,i])=>[a,Wk(t?t[i]:null,e[a])]);return Object.fromEntries(n)},$p=(r,e,t)=>{const n=Yk(r,e,t);return t?{...e,...n,...Vk(n.background,n.primary,t.color_buttons_primary_text,e),...Hk(n.primary)}:{...e}},Gk=r=>$p(Nk,Ok,r),e_=r=>$p(Lk,qk,r),tc=r=>{if(!r)return Jp;switch(r.shapes){case"rounded":return Zp;case"rectangle":return jk;case"pill":return Bk;default:return Jp}},Zi=(r="",e)=>e.map(([t,n])=>`--rc-${r}-${t}: ${n}`).join("; "),Kk=r=>{const e=Zi("color",Object.entries(Gk(r))),t=Zi("shape",Object.entries(tc(r)));return[e,t].join("; ")},Xk=r=>{const e=Zi("color",Object.entries(e_(r))),t=Zi("shape",Object.entries(tc(r)));return[e,t].join("; ")},Zk=(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("; "),Jk=(r="",e)=>Object.entries(e).map(([t,{mobile:n,desktop:a}])=>`--rc-${r}-${t}-mobile: ${n}; --rc-${r}-${t}-desktop: ${a};`).join(" ");let Qk=class{constructor(e){$(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 Xk(this.brandingAppearance)}get productInfoStyleVars(){return Kk(this.brandingAppearance)}get spacing(){return zk}get textStyles(){return Mk}get textStyleVars(){return Zk("text",this.textStyles)}get spacingStyleVars(){return Jk("spacing",this.spacing)}};var $k=R('<div class="rcb-processing svelte-19bflum"></div>');const ew={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 rw(r,e){Pe(r,ew);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=$k();W(()=>Le(a,`--shadow-offset: ${We(t()),Ue(()=>n[t()].offset)??""}; --width: ${We(t()),Ue(()=>n[t()].width)??""};`)),x(r,a)}var tw=R("<button><!></button>");const nw={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){me(e,!0),Pe(r,nw);const t=J(e,"intent",3,"primary"),n=J(e,"disabled",3,!1),a=J(e,"loading",3,!1),i=g(()=>new Qk(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 _=tw();_.__click=function(...v){var y;(y=e.onclick)==null||y.apply(this,v)};var p=D(_);{var m=v=>{rw(v,{size:"small"})},f=v=>{Fk(v,{size:"body-base",children:(y,h)=>{var k=Se(),P=ie(k);xr(P,()=>e.children??tr),x(y,k)},$$slots:{default:!0}})};H(p,v=>{a()?v(m):v(f,!1)})}W(()=>{ur(_,1,`intent-${t()}`,"svelte-a82hce"),_.disabled=n(),we(_,"data-testid",e.testId),we(_,"type",e.type),Le(_,o(d))}),x(r,_),he()}Zt(["click"]);var aw=R('<footer class="rcb-modal-footer svelte-gz2zuy"><!></footer>');const ow={hash:"svelte-gz2zuy",code:"footer.svelte-gz2zuy {display:flex;flex-direction:column;}"};function iw(r,e){Pe(r,ow);let t=J(e,"children",8);var n=aw(),a=D(n);xr(a,()=>t()??tr),x(r,n)}const sw={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 lw(r,e){Pe(r,sw);let t=J(e,"as",8,"section"),n=J(e,"children",8);var a=Se(),i=ie(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=ie(l);xr(u,()=>n()??tr),x(c,l)}),x(r,a)}var cw=R("<div><!></div>");const uw={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){Pe(r,uw);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=cw(),c=D(s);xr(c,()=>i()??tr),W(()=>ur(s,1,`rcb-column gap-${t()??""} justify-${n()??""} align-${a()??""}`,"svelte-7lmlfa")),x(r,s)}var dw=R('<div class="rcb-row svelte-130pyos"><!></div>');const pw={hash:"svelte-130pyos",code:".rcb-row.svelte-130pyos {display:flex;flex-direction:row;justify-content:flex-start;}"};function _w(r,e){Pe(r,pw);let t=J(e,"children",8);var n=dw(),a=D(n);xr(a,()=>t()??tr),x(r,n)}var gw=R("<span><!></span>");const fw={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 Te(r,e){Pe(r,fw);const t=J(e,"size",3,"body-base"),n=J(e,"branded",3,!1);var a=gw(),i=D(a);xr(i,()=>e.children??tr),W(()=>ur(a,1,`rcb-typography rcb-typography-${t()??""} ${n()?"rcb-typography-branded":""}`,"svelte-y2q9vo")),x(r,a)}var mw=R("<div><!></div>"),hw=R('<span style="display: block;"><!></span>'),vw=R("<!> <!>",1),yw=R("<!> <!>",1),bw=R('<div class="rcb-modal-message svelte-1ldqsgm" data-type="error"><!></div>');const kw={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 ww(r,e){me(e,!0),Pe(r,kw);const t=J(e,"title",3,null),n=J(e,"icon",3,null),a=32;let i=te(null),s=te(!1),c;kr(()=>(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=bw(),u=D(l);Vo(u,{gap:"medium",justify:"start",children:(d,_)=>{var p=yw(),m=ie(p);_w(m,{children:(y,h)=>{var k=vw(),P=ie(k);{var b=I=>{var T=mw(),S=D(T);xr(S,n),W(()=>ur(T,1,`rcb-modal-message-icon ${o(s)?"large":"small"}`,"svelte-1ldqsgm")),x(I,T)};H(P,I=>{n()&&I(b)})}var w=U(P,2);{var E=I=>{var T=hw(),S=D(T);Te(S,{size:"heading-md",children:(A,C)=>{var N=Fe();W(()=>_e(N,t())),x(A,N)},$$slots:{default:!0}}),_a(T,A=>F(i,A),()=>o(i)),x(I,T)};H(w,I=>{t()&&I(E)})}x(y,k)},$$slots:{default:!0}});var f=U(m,2);{var v=y=>{Te(y,{size:"body-small",children:(h,k)=>{var P=Se(),b=ie(P);xr(b,()=>e.message??tr),x(h,P)},$$slots:{default:!0}})};H(f,y=>{e.message&&y(v)})}x(d,p)},$$slots:{default:!0}}),W(()=>we(l,"data-has-title",!!t())),x(r,l),he()}var Pw=R('<div class="rcb-modal-message-icon svelte-1h8pwwr"><!></div>'),xw=R("<!> <!>",1),Ew=R('<div class="rcb-modal-message svelte-1h8pwwr" data-type="success"><!></div>');const Sw={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 Iw(r,e){Pe(r,Sw);const t=J(e,"title",3,null),n=J(e,"icon",3,null);var a=Ew(),i=D(a);Vo(i,{gap:"large",justify:"center",children:(s,c)=>{var l=xw(),u=ie(l);{var d=m=>{var f=Pw(),v=D(f);xr(v,n),x(m,f)};H(u,m=>{n()&&m(d)})}var _=U(u,2);{var p=m=>{Te(m,{size:"heading-md",children:(f,v)=>{var y=Fe();W(()=>_e(y,t())),x(f,y)},$$slots:{default:!0}})};H(_,m=>{t()&&m(p)})}x(s,l)},$$slots:{default:!0}}),W(()=>we(a,"data-has-title",!!t())),x(r,a)}const Ho="rcb-ui-events-tracker",Wn="branding";var Cw=R("<div><div><!></div> <div><!></div></div>");const Tw={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){me(e,!0),Pe(r,Tw);const t=()=>Re(d,"$brandingAppearanceStore",n),[n,a]=Ze();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(Wn),_=g(()=>t()??void 0);function p(){e.onDismiss()}var m=Cw();let f;var v=D(m);let y;var h=D(v);lw(h,{children:(w,E)=>{var I=Se(),T=ie(I);{var S=C=>{Iw(C,{get title(){return i()},get icon(){return c()}})},A=C=>{ww(C,{get title(){return i()},get icon(){return c()},get message(){return l()}})};H(T,C=>{e.type==="success"?C(S):C(A,!1)})}x(w,I)},$$slots:{default:!0}});var k=U(v,2);let P;var b=D(k);iw(b,{children:(w,E)=>{nc(w,{onclick:p,type:"submit",get brandingAppearance(){return o(_)},children:(I,T)=>{var S=Fe();W(()=>_e(S,s())),x(I,S)},$$slots:{default:!0}})},$$slots:{default:!0}}),W(()=>{f=ur(m,1,"message-layout svelte-clabfx",null,f,{"message-layout-full-width":u()}),y=ur(v,1,"message-layout-content svelte-clabfx",null,y,{"message-layout-content-full-width":u()}),P=ur(k,1,"message-layout-footer svelte-clabfx",null,P,{"message-layout-footer-full-width":u()})}),x(r,m),he(),a()}function yt(r,e){me(e,!0);const t=()=>Re(s,"$translator",n),[n,a]=Ze(),i=J(e,"key",3,""),s=He(hr),c=g(()=>i()?t().translate(i()||"",e.variables):void 0);var l=Se(),u=ie(l);{var d=p=>{var m=Fe();W(()=>_e(m,o(c))),x(p,m)},_=p=>{var m=Se(),f=ie(m);xr(f,()=>e.children??tr),x(p,m)};H(u,p=>{o(c)?p(d):p(_,!1)})}x(r,l),he(),a()}const Dw=7,Aw=30,Fw=365,zw=4.33,Mw=52,qw=12;function Wo(r){switch(r.unit){case gr.Year:return r.number*Fw;case gr.Month:return r.number*Aw;case gr.Week:return r.number*Dw;case gr.Day:return r.number}}function Ow(r){switch(r.unit){case gr.Year:return r.number*Mw;case gr.Month:return Math.floor(r.number*zw);case gr.Week:return r.number;case gr.Day:return 0}}function Lw(r){switch(r.unit){case gr.Year:return r.number*qw;case gr.Month:return r.number;case gr.Week:case gr.Day:return 0}}function Nw(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:Ow(r).toString(),periodInMonths:Lw(r).toString(),periodInYears:Nw(r).toString()}}var jw=R('<p class="footer-caption rcb-checkout-footer svelte-1fu2zos"><!></p>'),Bw=R('<p class="footer-caption svelte-1fu2zos"><!></p>'),Rw=R('<p class="footer-caption svelte-1fu2zos"><!></p>'),Uw=R("<!> <!>",1),Vw=R('<a class="terms-link svelte-1fu2zos" rel="noopener noreferrer" target="_blank"><!></a> <span class="terms-divider svelte-1fu2zos"></span>',1),Hw=R("<!> <!>",1),Ww=R('<div class="footer-caption-container svelte-1fu2zos"><!> <p class="footer-caption svelte-1fu2zos"><!></p></div>');const Yw={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 Gw(r,e){me(e,!1),Pe(r,Yw);const t=()=>Re(b,"$translator",n),[n,a]=Ze(),i=cr(),s=cr(),c=cr(),l=cr(),u=cr(),d=cr(),_=cr(),p=cr(),m=cr(),f=cr(),v=cr(),y=cr();let h=J(e,"brandingInfo",8,null),k=J(e,"purchaseOption",8,null),P=J(e,"termsAndConditionsUrl",8,null);const b=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 ee=L.base.period,se=K.period;if(!ee||!se||K.cycleCount<=0)return!1;const ne=Wo(ee),le=Wo({number:se.number*K.cycleCount,unit:se.unit});return ne>0&&le<=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,ee;F(l,((L=o(i))==null?void 0:L.discount)??((K=o(i))==null?void 0:K.introPrice)??((ee=o(i))==null?void 0:ee.base)??null)}),vr(()=>(o(s),o(l)),()=>{var L,K,ee,se;F(u,((K=(L=o(s))==null?void 0:L.discount)==null?void 0:K.price)||((ee=o(s))==null?void 0:ee.basePrice)||((se=o(l))==null?void 0:se.price))}),vr(()=>(o(u),t()),()=>{F(d,o(u)?Pn(o(u).amountMicros,o(u).currency,t().bcp47Locale||t().fallbackBcp47Locale):null)}),vr(()=>(o(l),t()),()=>{var L,K,ee,se,ne;F(_,(L=o(l))!=null&&L.period?t().translatePeriodFrequency(((ee=(K=o(l))==null?void 0:K.period)==null?void 0:ee.number)||1,(ne=(se=o(l))==null?void 0:se.period)==null?void 0:ne.unit,{useMultipleWords:!0}):null)}),vr(()=>(o(i),t(),zo),()=>{var L,K;F(p,(K=(L=o(i))==null?void 0:L.trial)!=null&&K.period?t().translateDate(zo(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(m,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(f,q(o(i)))}),vr(()=>(o(f),o(m)),()=>{F(v,o(f)??o(m))}),vr(()=>(o(i),t(),de),()=>{F(y,o(i)?t().translate(de.PaymentEntryPageSubscriptionInfo):null)}),Rs(),jn();var j=Ww(),Z=D(j);{var O=L=>{var K=jw(),ee=D(K);Te(ee,{size:"caption-default",children:(se,ne)=>{var le=Fe();W(()=>_e(le,(We(h()),Ue(()=>h().checkout_footer)))),x(se,le)},$$slots:{default:!0}}),x(L,K)},z=L=>{var K=Uw(),ee=ie(K);{var se=ce=>{var pe=Bw(),Y=D(pe);Te(Y,{size:"caption-default",children:(X,B)=>{var oe=Fe();W(()=>_e(oe,o(v))),x(X,oe)},$$slots:{default:!0}}),x(ce,pe)};H(ee,ce=>{o(v)&&ce(se)})}var ne=U(ee,2);{var le=ce=>{var pe=Rw(),Y=D(pe);Te(Y,{size:"caption-default",children:(X,B)=>{var oe=Fe();W(()=>_e(oe,o(y))),x(X,oe)},$$slots:{default:!0}}),x(ce,pe)};H(ne,ce=>{o(y)&&!o(f)&&ce(le)})}x(L,K)};H(Z,L=>{We(h()),Ue(()=>{var K;return(K=h())==null?void 0:K.checkout_footer})?L(O):L(z,!1)})}var M=U(Z,2),V=D(M);Te(V,{size:"caption-default",children:(L,K)=>{var ee=Hw(),se=ie(ee);{var ne=ce=>{var pe=Vw(),Y=ie(pe),X=D(Y);yt(X,{get key(){return We(de),Ue(()=>de.PaymentEntryPageTermsLinkLabel)}});var B=U(Y,2);B.textContent="|",W(()=>we(Y,"href",P())),x(ce,pe)};H(se,ce=>{P()&&ce(ne)})}var le=U(se,2);yt(le,{get key(){return We(de),Ue(()=>de.PaymentEntryPagePaymentStepTitle)}}),x(L,ee)},$$slots:{default:!0}}),x(r,j),he(),a()}var Kw=R(' <a target="_blank" rel="noopener noreferrer" data-testid="CheckoutConsentTermsLink"> </a> ',1),Xw=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 Zw={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 Jw(r,e){me(e,!0),Pe(r,Zw);const t=()=>Re(c,"$translator",n),[n,a]=Ze(),i="__TERMS_OF_SERVICE__";let s=J(e,"checked",15,!1);const c=He(hr),l=g(()=>t().translate(de.PaymentEntryPageCheckoutConsentTermsOfService)),u=g(()=>{const v=t().translate(de.PaymentEntryPageCheckoutConsentAgreement,{appName:e.appName??"",termsOfService:i}),[y="",h=""]=v.split(i);return{before:y,after:h}}),d=v=>{const y=v.currentTarget;s(y.checked),e.onChange(y.checked)};var _=Xw(),p=D(_),m=D(p);m.__change=d;var f=U(p,2);Te(f,{size:"body-small",children:(v,y)=>{var h=Kw(),k=ie(h,!0),P=U(k);P.__click=E=>E.stopPropagation();var b=D(P),w=U(P,1,!0);W(()=>{_e(k,o(u).before),we(P,"href",e.termsAndConditionsUrl),_e(b,o(l)),_e(w,o(u).after)}),x(v,h)},$$slots:{default:!0}}),W(()=>bm(m,s())),x(r,_),he(),a()}Zt(["change","click"]);function Qw({brandingInfo:r,termsAndConditionsUrl:e}){return(e??(r!=null&&r.require_checkout_consent?r.terms_and_conditions_url:void 0))||void 0}function $w({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 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 Yn(){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 at="sdk_checkout";class eP{constructor(e){$(this,"EVENT_TYPE","web_billing");$(this,"id");$(this,"timestampMs");$(this,"data");this.id=Yn(),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=at}){return{eventName:Zr.CheckoutFlowError,properties:{mode:t,errorCode:r,errorMessage:e}}}function rP({errorCode:r,errorMessage:e,mode:t=at}){return{eventName:Zr.CheckoutPaymentFormError,properties:{mode:t,errorCode:r,errorMessage:e}}}function Ji({appearance:r,rcPackage:e,purchaseOptionToUse:t,customerEmail:n,mode:a=at}){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 a_({redemptionInfo:r,mode:e=at}){return{eventName:Zr.CheckoutSessionEnd,properties:{mode:e,outcome:"finished",withRedemptionInfo:!!r}}}function o_(r){return{eventName:Zr.CheckoutSessionEnd,properties:{mode:(r==null?void 0:r.mode)??at,outcome:"closed"}}}function i_({errorCode:r,errorMessage:e,mode:t=at}){return{eventName:Zr.CheckoutSessionEnd,properties:{mode:t,outcome:"errored",errorCode:r,errorMessage:e}}}function s_({taxCalculation:r,taxCustomerDetails:e,mode:t=at}){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 l_({selectedPaymentMethod:r,mode:e=at}){return{eventName:Zr.CheckoutPaymentFormSubmit,properties:{mode:e,selectedPaymentMethod:r??null}}}function ic({errorCode:r,errorMessage:e,mode:t=at}){return{eventName:Zr.CheckoutPaymentFormGatewayError,properties:{mode:t,errorCode:r,errorMessage:e}}}function tP(r,e=at){return{eventName:Zr.CheckoutPurchaseSuccessfulDismiss,properties:{mode:e,ui_element:r}}}function nP(r=at){return{eventName:Zr.CheckoutPurchaseSuccessfulImpression,properties:{mode:r}}}const aP=`<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 oP=R('<div class="rcb-ui-asset-icon svelte-6k29hu"><!></div>');const iP={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 Qi(r,e){Pe(r,iP);const t=J(e,"color",3,"var(--rc-color-accent)");var n=oP(),a=D(n);vn(a,()=>aP),W(()=>Le(n,`color:${t()??""};`)),x(r,n)}var sP=R('<div class="rcb-modal-loader svelte-rhstd0"><!></div>');const lP={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 c_(r){Pe(r,lP);var e=sP(),t=D(e);Qi(t,{}),x(r,e)}function cP(r,e){var p,m;me(e,!0);const t=()=>Re(c,"$brandingAppearanceStore",a),n=()=>Re(s,"$translator",a),[a,i]=Ze(),s=He(hr),c=He(Wn),l=g(()=>t()??void 0),u=g(()=>e.priceBreakdown?n().formatPrice(e.priceBreakdown.totalAmountInMicros,e.priceBreakdown.currency):null),d=(m=(p=e.subscriptionOption)==null?void 0:p.trial)==null?void 0:m.period,_=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,v)=>{var y=Se(),h=ie(y);{var k=b=>{{let w=g(()=>({trialPeriodLabel:o(_)}));yt(b,{get key(){return de.PaymentEntryPageButtonStartTrial},get variables(){return o(w)}})}},P=b=>{var w=Se(),E=ie(w);{var I=S=>{{let A=g(()=>({formattedPrice:o(u)}));yt(S,{get key(){return de.PaymentEntryPageButtonWithPrice},get variables(){return o(A)}})}},T=S=>{yt(S,{get key(){return de.PaymentEntryPageButtonPay}})};H(E,S=>{o(u)?S(I):S(T,!1)},!0)}x(b,w)};H(h,b=>{var w;(w=e.subscriptionOption)!=null&&w.trial?b(k):b(P,!1)})}x(f,y)},$$slots:{default:!0}}),he(),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 u_="dahlia",uP=function(e){return e===3?"v3":e},d_="https://js.stripe.com",dP="".concat(d_,"/").concat(u_,"/stripe.js"),pP=/^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/,_P=/^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",gP=function(e){return pP.test(e)||_P.test(e)},fP=function(){for(var e=document.querySelectorAll('script[src^="'.concat(d_,'"]')),t=0;t<e.length;t++){var n=e[t];if(gP(n.src))return n}return null},__=function(e){var t=e&&!e.advancedFraudSignals?"?advancedFraudSignals=false":"",n=document.createElement("script");n.src="".concat(dP).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},mP=function(e,t){!e||!e._registerWrapper||e._registerWrapper({name:"stripe-js",version:"9.7.0",startTime:t})},Go=null,$i=null,es=null,hP=function(e){return function(t){e(new Error("Failed to load Stripe.js",{cause:t}))}},vP=function(e,t){return function(){window.Stripe?e(window.Stripe):t(new Error("Stripe.js not available"))}},yP=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(p_),window.Stripe){t(window.Stripe);return}try{var a=fP();if(a&&e)console.warn(p_);else if(!a)a=__(e);else if(a&&es!==null&&$i!==null){var i;a.removeEventListener("load",es),a.removeEventListener("error",$i),(i=a.parentNode)===null||i===void 0||i.removeChild(a),a=__(e)}es=vP(t,n),$i=hP(n),a.addEventListener("load",es),a.addEventListener("error",$i)}catch(s){n(s);return}}),Go.catch(function(t){return Go=null,Promise.reject(t)}))},bP=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=uP(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 mP(l,n),l},g_=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)},rs,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 yP(rs).then(function(i){return bP(i,t,a)})};f_.setLoadParameters=function(r){if(sc&&rs){var e=g_(r),t=Object.keys(e),n=t.reduce(function(a,i){var s;return a&&r[i]===((s=rs)===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");rs=g_(r)};const kP={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"},wP={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"},PP={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"},xP={...lc,"input-background":"color_form_bg",background:"color_form_bg"},EP={...lc,"input-background":"color_product_info_bg",background:"color_product_info_bg"},SP={...lc,"input-background":"color_page_bg",background:"color_page_bg"},m_={"input-border-radius":"4px","input-button-border-radius":"8px"},IP={"input-border-radius":"0px","input-button-border-radius":"0px"},CP={"input-border-radius":"12px","input-button-border-radius":"9999px"},h_=m_,Ko="-apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Cantarell, Ubuntu, roboto, noto, arial, sans-serif",v_="BrandCustomFont",y_=`${v_}, ${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}},Xa=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,ts=({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},ns=.37,TP=(r,e=ns)=>{const t=Xa(r);return t?ts({...t,luminanceThreshold:e}):!0},DP=(r,e=ns)=>{const t=ts({...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 AP(r,e,t){const n=Xa(r)||{r:0,g:0,b:0},a=Xa(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=Xa(r)||t;(isNaN(i.r)||isNaN(i.g)||isNaN(i.b))&&(i=t,a="#FFFFFF");const c=ts({...i,luminanceThreshold:ns})?"#000000":"#FFFFFF";return AP(a,c,n)}function uc(r){return r.toString(16).padStart(2,"0").toUpperCase()}const FP=(r,e,t,n,a=ns)=>{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=Xa(r);s!==null&&Object.assign(i,DP(s))}if(t)i["primary-text"]=t;else if(e!=null&&e.startsWith("#")){const s=Xa(e);s!==null&&(i["primary-text"]=ts({...s,luminanceThreshold:a})?"black":"white")}return i},zP=r=>({"primary-hover":b_(r,.1),"primary-pressed":b_(r,.15)}),MP=(r,e)=>r||e,qP=(r,e,t)=>{const n=Object.entries(r).map(([a,i])=>[a,MP(t?t[i]:null,e[a])]);return Object.fromEntries(n)},dc=(r,e,t)=>{const n=qP(r,e,t);return t?{...e,...n,...FP(n.background,n.primary,t.color_buttons_primary_text,e),...zP(n.primary)}:{...e}},k_=r=>dc(EP,wP,r),w_=r=>dc(xP,kP,r),OP=r=>dc(SP,PP,r),as=r=>{if(!r)return h_;switch(r.shapes){case"rounded":return m_;case"rectangle":return IP;case"pill":return CP;default:return h_}},Za=(r="",e)=>e.map(([t,n])=>`--rc-${r}-${t}: ${n}`).join("; "),P_=r=>{const e=Za("color",Object.entries(k_(r))),t=Za("shape",Object.entries(as(r)));return[e,t].join("; ")},LP=r=>{const e=Za("color",Object.entries(w_(r))),t=Za("shape",Object.entries(as(r)));return[e,t].join("; ")},NP=r=>{const e=Za("color",Object.entries(OP(r))),t=Za("shape",Object.entries(as(r)));return[e,t].join("; ")},jP=(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} ${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("; "),BP=(r="",e)=>Object.entries(e).map(([t,{mobile:n,desktop:a}])=>`--rc-${r}-${t}-mobile: ${n}; --rc-${r}-${t}-desktop: ${a};`).join(" "),RP={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 Gn{constructor(e){$(this,"brandingAppearance");e?this.brandingAppearance=e:this.brandingAppearance=void 0}get shape(){return as(this.brandingAppearance)}get formColors(){return w_(this.brandingAppearance)}get formStyleVars(){return LP(this.brandingAppearance)}get productInfoStyleVars(){return P_(this.brandingAppearance)}get pageStyleVars(){return NP(this.brandingAppearance)}get spacing(){return RP}get textStyles(){return cc}getTextStyleVars(e){return jP("text",this.textStyles,e)}get spacingStyleVars(){return BP("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 zt=class zt{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 Gn(a==null?void 0:a.appearance),d=u.shape,_=u.formColors,p=u.textStyles,m=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:_.error,colorTextPlaceholder:_["grey-text-light"],colorText:_["grey-text-dark"],colorTextSecondary:_["grey-text-light"],fontSizeBase:m,...s},rules:{".Input":{boxShadow:"none",paddingTop:"6px",paddingBottom:"6px",fontSize:m,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(v){throw this.mapInitializationError(v)}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&&zt.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=zt.microsToMinimumAmountPrice(t.totalAmountInMicros,a),s=zt.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?zt.toExpressCheckoutLineItems(e.title,t,s):void 0,p=zt.microsToMinimumAmountPrice(t.totalAmountInMicros,t.currency),m=n.trial,f=(k=n.trial)==null?void 0:k.period,v=n.base.period,y=m&&f?zt.nextDateForPeriod(f,new Date):void 0,h=v?zt.applePayPeriod(v):{};return{layout:d,..._?{lineItems:_}:{},applePay:{recurringPaymentRequest:{paymentDescription:e.title,managementURL:i,...m?{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?zt.toExpressCheckoutLineItems(e.title,t,n):void 0;return{layout:c,...l?{lineItems:l}:{}}}};$(zt,"FORM_VALIDATED_CARD_ERROR_CODES",["card_declined","expired_card","incorrect_cvc","incorrect_number"]),$(zt,"FULL_ADDRESS_REQUIRED_TAX_COUNTRY_CODES",["CA","PR","IN"]);let nr=zt;var UP=R("<div></div>");function VP(r,e){me(e,!0);let t=null;const n="payment-element",a=async s=>{await e.onError(nr.mapInitializationError(s.error))};kr(()=>{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=UP();we(i,"id",n),x(r,i),he()}var HP=R("<div></div>");function WP(r,e){me(e,!0);let t=null;const n="link-authentication-element",a=async s=>{await e.onError(nr.mapInitializationError(s.error))};kr(()=>{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=HP();we(i,"id",n),x(r,i),he()}var YP=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 GP={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 KP(r,e){Pe(r,GP);let t=J(e,"text",8);var n=YP(),a=U(D(n),2),i=D(a);Te(i,{size:"caption-default",children:(s,c)=>{var l=Fe();W(()=>_e(l,t())),x(s,l)},$$slots:{default:!0}}),x(r,n)}var XP=R("<div></div> <!>",1);const ZP={hash:"svelte-jy91ia",code:".rcb-express-checkout-hidden.svelte-jy91ia {display:none;}"};function x_(r,e){me(e,!0),Pe(r,ZP);const t=()=>Re(c,"$translator",n),[n,a]=Ze(),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-${Yn()}`,_=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)},m=async w=>{await e.onError(nr.mapInitializationError(w.error))},f=async w=>{var E;return e.onSubmit(w.expressPaymentType,((E=w.billingDetails)==null?void 0:E.email)??"",w)},v=async w=>{F(u,!w.availablePaymentMethods),e.onReady&&e.onReady(w)};kr(()=>{try{l=nr.createExpressCheckoutElement(e.elements,e.forceEnableWalletMethods,e.expressCheckoutOptions),l.mount(`#${d}`),l.on("ready",v),l.on("confirm",f),l.on("loaderror",m),l.on("click",p),l.on("cancel",_)}catch(w){e.onError(nr.mapInitializationError(w))}}),Nt(()=>{l==null||l.destroy(),l=null});var y=XP(),h=ie(y);let k;var P=U(h,2);{var b=w=>{{let E=g(()=>t().translate(de.PaymentEntryPageExpressCheckoutDivider));KP(w,{get text(){return o(E)}})}};H(P,w=>{!i()&&s()&&!o(u)&&w(b)})}W(()=>{we(h,"id",d),we(h,"aria-hidden",!s()||o(u)),k=ur(h,1,"svelte-jy91ia",null,k,{"rcb-express-checkout-hidden":!s()||o(u)})}),x(r,y),he(),a()}var JP=R("<div></div>");function QP(r,e){me(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:_}=d,p=d.value.address,m=_!==a,f=!l(i,p);!m&&!f||(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;kr(()=>{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=JP();we(u,"id",n),x(r,u),he()}var $P=R('<div class="rc-elements svelte-kvz7kd"><!> <!> <!> <!></div>');const e1={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 r1(r,e){me(e,!0),Pe(r,e1);const t=()=>Re(l,"$translator",n),[n,a]=Ze();let i=J(e,"stripe",15,null),s=J(e,"elements",15,null),c=J(e,"allowExpressCheckout",3,!0);const l=He(hr),u=nr.getStripeLocale(t().bcp47Locale||t().fallbackBcp47Locale);let d=te(void 0),_=te(ar(Mo(e.brandingInfo)));ir(()=>{Mo(e.brandingInfo,nr.countryRequiresFullAddressForTaxes(o(d)))&&F(_,!0)});let p=te(!1),m=te(ar(e.skipEmail)),f=te(!1),v=te(!Mo(e.brandingInfo)),y=te(void 0),h=te("mobile"),k=te(void 0);function P(){window.matchMedia&&window.matchMedia("(max-width: 767px)").matches?F(h,"mobile"):F(h,"desktop"),F(y,{fontSizeBase:"14px",fontFamily:Ko,spacingGridRow:"16px"},!0)}function b(){clearTimeout(o(k)),F(k,setTimeout(()=>{P()},150),!0)}const w=z=>{e.onError(z),e.onLoadingComplete()},E=()=>{o(m)&&o(p)&&o(f)&&o(v)&&e.onLoadingComplete()},I=async()=>{o(m)||(F(m,!0),E())},T=async()=>{o(f)||(F(f,!0),E())},S=async()=>{o(p)||(F(p,!0),E())},A=async()=>{o(v)||(F(v,!0),E())},C=async(z,M)=>{e.onAddressInfoChange(z,M)},N=async z=>{var V,L;const M=(L=(V=z.value.billingDetails)==null?void 0:V.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)};kr(()=>(window.addEventListener("resize",b),()=>{window.removeEventListener("resize",b)})),kr(async()=>{P(),!i()&&(s()||!e.stripeAccountId||!e.publishableApiKey||!e.elementsConfiguration||await nr.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()&&nr.updateElementsConfiguration(s(),e.elementsConfiguration)});var j=Se(),Z=ie(j);{var O=z=>{var M=$P(),V=D(M);x_(V,{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(V,2);{var K=le=>{WP(le,{get elements(){return s()},onReady:I,onChange:q,onError:w})};H(L,le=>{e.skipEmail||le(K)})}var ee=U(L,2);VP(ee,{get elements(){return s()},get brandingInfo(){return e.brandingInfo},onReady:S,onChange:N,onError:w});var se=U(ee,2);{var ne=le=>{QP(le,{get elements(){return s()},get defaultCountryCode(){return o(d)},onReady:A,onChange:C,onError:w})};H(se,le=>{o(_)&&le(ne)})}x(z,M)};H(Z,z=>{s()&&z(O)})}x(r,j),he(),a()}const t1=`<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 n1=R('<div class="rcb-ui-asset-icon svelte-a15aei"><!></div>');const a1={hash:"svelte-a15aei",code:".rcb-ui-asset-icon.svelte-a15aei {display:inline-block;width:1em;height:1em;}"};function E_(r){Pe(r,a1);var e=n1(),t=D(e);vn(t,()=>t1),x(r,e)}var o1=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 i1={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 s1(r,e){Pe(r,i1);var t=o1(),n=D(t),a=D(n);E_(a);var i=U(n,2),s=D(i),c=D(s);Te(c,{size:"body-small",children:(d,_)=>{var p=Fe();W(()=>_e(p,e.title)),x(d,p)},$$slots:{default:!0}});var l=U(s,2),u=D(l);Te(u,{size:"body-small",children:(d,_)=>{var p=Fe();W(()=>_e(p,e.message)),x(d,p)},$$slots:{default:!0}}),x(r,t)}function l1(r,e){me(e,!0);const t=()=>Re(i,"$translator",n),[n,a]=Ze(),i=He(hr);{let s=g(()=>t().translate(de.PriceUpdateTitle)),c=g(()=>{var l;return t().translate((l=e.subscriptionOption)!=null&&l.trial?de.PriceUpdateTrialMessage:de.PriceUpdateBaseMessage)});s1(r,{get title(){return o(s)},get message(){return o(c)}})}he(),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 c1(r,e){if(!r||!e)return!1;const t=Wo(r),n=Wo(e);return t>0&&n>t}function os(r){return`${r}% off`}function _c(r,e,t,n){if(!c1(t,e))return os(r);const a=n.translatePeriod(e.number,e.unit);return`${r}% off for ${a}`}function u1(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 S_(r,e,t){return r.percentage==null?null:r.durationMode==="time_window"?_c(r.percentage,u1(r),e,t):os(r.percentage)}function d1({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 os(a);const i=e.period;return!i||e.cycleCount<=0?os(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 p1(r,e,t,n,a){const i=S_(e,t,n);return I_(r,i,a)}function _1({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 m=d1({appliedDiscount:s,purchaseOptionDiscount:e,basePeriod:n,translator:a}),f=s.displayName;return{discountAmountInMicros:s.discountedAmountInMicros,displayName:(f==null?void 0:f.trim())||i,suffix:m,label:I_(f,m,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:p1(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 _1({priceBreakdown:r,purchaseOptionDiscount:c,fullPriceMicros:l,basePeriod:u,translator:n,fallbackDiscountName:n.translate(de.PricingTableDiscount)})}class C_ extends Error{}const g1=500;var f1=R('<div class="rc-loading svelte-zfhfge"><!></div>'),m1=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 h1={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 v1(r,e){var Rg,Ug,Vg,Hg,Wg,Yg,Gg,Kg;me(e,!0),Pe(r,h1);const t=()=>Re(u,"$translator",n),[n,a]=Ze();let i=J(e,"onSessionPricingUpdated",3,void 0),s=J(e,"onProcessingStateChange",3,void 0),c=J(e,"lastTaxCustomerDetailsStore",19,()=>br(null));const l=He(Ho),u=He(hr),d=g(()=>"base"in e.purchaseOption?e.purchaseOption:null),_=g(()=>Zo(e.productDetails,e.purchaseOption));let p=te(ar(((Rg=e.defaultPriceBreakdown)==null?void 0:Rg.taxCalculationStatus)??((Ug=e.brandingInfo)!=null&&Ug.gateway_tax_collection_enabled?"unavailable":"disabled"))),m=te(ar(((Vg=e.defaultPriceBreakdown)==null?void 0:Vg.originalAmountInMicros)??o(_).amountMicros)),f=te(ar(((Hg=e.defaultPriceBreakdown)==null?void 0:Hg.taxAmountInMicros)??null)),v=te(ar(((Wg=e.defaultPriceBreakdown)==null?void 0:Wg.taxBreakdown)??null)),y=te(ar(((Yg=e.defaultPriceBreakdown)==null?void 0:Yg.totalExcludingTaxInMicros)??o(_).amountMicros)),h=te(ar(((Gg=e.defaultPriceBreakdown)==null?void 0:Gg.totalAmountInMicros)??o(_).amountMicros)),k=te(ar(((Kg=e.defaultPriceBreakdown)==null?void 0:Kg.appliedDiscounts)??[])),P=g(()=>({currency:o(_).currency,originalAmountInMicros:o(m),totalAmountInMicros:o(h),totalExcludingTaxInMicros:o(y),taxCalculationStatus:o(p),taxAmountInMicros:o(f),taxBreakdown:o(v),appliedDiscounts:o(k)})),b=te(ar(e.gatewayParams.elements_configuration)),w=te(null),E=te(null),I=te(ar(e.customerEmail??void 0)),T=te(ar(!!e.customerEmail)),S=te(!0),A=te(!1),C=te(void 0),N=te(!1),q=te(ar(Mo(e.brandingInfo)));ir(()=>{Mo(e.brandingInfo,nr.countryRequiresFullAddressForTaxes(o(C)))&&F(q,!0)});const j=g(()=>!o(q)||o(N));let Z=te(void 0),O=te(void 0),z=te(void 0),M=te(!1),V=te(null),L=null,K=g(()=>o(S)||o(M)?"loading":o(O)?"error":"form"),ee=te("unavailable"),se=null,ne=g(()=>$w({brandingInfo:e.brandingInfo,termsAndConditionsUrl:e.termsAndConditionsUrl,productDetails:e.productDetails})),le=te(!1),ce=g(()=>!o(M)&&o(A)&&o(T)&&o(j)&&(!o(ne)||o(le))&&(o(p)==="disabled"||o(p)==="calculated"||o(p)==="miss-match")),pe=g(()=>gc({priceBreakdown:o(P),productDetails:e.productDetails,purchaseOption:e.purchaseOption,translator:t()})),Y=g(()=>o(P)&&(e.productDetails.productType===Gr.Subscription?o(d)&&e.managementUrl?nr.buildStripeExpressCheckoutOptionsForSubscription(e.productDetails,o(P),o(d),t(),e.managementUrl,o(pe)):void 0:e.productDetails.defaultNonSubscriptionOption?nr.buildStripeExpressCheckoutOptionsForNonSubscription(e.productDetails,o(P),o(pe)):void 0));ir(()=>{e.onPriceBreakdownUpdated(o(P))});function X(ae){F(p,ae.taxCalculationStatus,!0),F(m,ae.originalAmountInMicros??o(_).amountMicros,!0),F(f,ae.taxAmountInMicros,!0),F(v,ae.taxBreakdown,!0),F(y,ae.totalExcludingTaxInMicros,!0),F(h,ae.totalAmountInMicros,!0),F(k,ae.appliedDiscounts??[],!0)}ir(()=>{e.defaultPriceBreakdown||(F(m,o(_).amountMicros,!0),F(f,null),F(v,null),F(y,o(_).amountMicros,!0),F(h,o(_).amountMicros,!0),F(k,[],!0))}),ir(()=>{e.defaultPriceBreakdown&&X(e.defaultPriceBreakdown)}),ir(()=>{F(b,e.gatewayParams.elements_configuration,!0)}),ir(()=>{var ae;(ae=s())==null||ae(o(M))}),kr(async()=>{o(p)==="unavailable"&&await B(null).catch(Sr)}),Nt(()=>{L&&(clearTimeout(L),L=null),o(V)&&(o(V).abort(),F(V,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(Ye=>{const dr=s_({taxCalculation:Ye,taxCustomerDetails:ae});l.trackSDKEvent(dr),Oe==null||Oe.throwIfAborted();let Cn;Ye.failed_reason?!ae&&Ye.failed_reason===wn.invalid_tax_location?Cn="pending":Cn="disabled":Cn="calculated",oe(Ye,Cn,ae)})}function oe(ae,Oe,Ye){const dr=ud(ae,Oe);X(dr),i()?i()(ae,dr):F(b,ae.gateway_params.elements_configuration,!0),se=Ye,Q(Ye)}function Q(ae){ae!=null&&ae.countryCode&&Ci(c(),ae)}function ue(){l.trackSDKEvent({eventName:Zr.CheckoutPaymentFormImpression,properties:{mode:at}}),F(S,!1)}function ge(ae,Oe){F(I,Oe,!0),F(T,ae,!0),Ce()}function re({complete:ae,paymentMethod:Oe,countryCode:Ye}){F(Z,Oe,!0),F(A,ae,!0),F(C,Ye,!0),Ce()}function Ee(ae,Oe){F(N,ae,!0),Q({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}),Ce()}function Ce(){ze()&&o(p)!=="loading"&&(F(ee,o(p),!0),F(p,"loading")),L&&clearTimeout(L),L=setTimeout(()=>{L=null,Me()},g1)}async function De(ae){if(ae==null||ae.preventDefault(),o(M)||o(ne)&&!o(le))return;const Oe=l_({selectedPaymentMethod:o(Z)??null});l.trackSDKEvent(Oe),F(M,!0),await Ae()?e.onContinue():F(M,!1)}async function be(ae,Oe){F(Z,ae,!0),F(I,e.customerEmail??Oe,!0),await De()}function ze(){return o(Z)==="card"&&o(T)&&o(A)&&o(j)&&!o(M)&&o(p)!=="disabled"}async function Me(){if(!ze()){o(p)==="loading"&&F(p,o(ee),!0);return}o(p)!=="loading"&&(F(ee,o(p),!0),F(p,"loading")),await ke(async ae=>{await Xe().then(()=>ae.throwIfAborted()).then(()=>$e(ae)).then(()=>ae.throwIfAborted()).catch(Oe=>{ae.aborted||Sr(Oe)}).finally(()=>{o(p)==="loading"&&!ae.aborted&&F(p,o(ee),!0)})})}async function Ae(){return await ke(async ae=>{const Oe=o(h);let Ye;return await Xe().then(()=>ae.throwIfAborted()).then(()=>$e(ae)).then(dr=>{Ye=dr}).then(()=>ae.throwIfAborted()).then(ye(Oe)).then(()=>ae.throwIfAborted()).then(Ve).then(()=>ae.throwIfAborted()).then(()=>fr(Ye)).then(()=>ae.throwIfAborted()).then(()=>!0).catch(dr=>(ae.aborted||Sr(dr),!1))})}async function ke(ae){o(V)&&o(V).abort(),F(V,new AbortController,!0);const Oe=o(V).signal;try{return await ae(Oe)}catch(Ye){if(Ye instanceof DOMException&&Ye.name==="AbortError")return Promise.resolve(void 0);throw Ye}}async function Xe(){o(E)&&await nr.submitElements(o(E))}async function $e(ae){if(o(p)==="unavailable"||o(p)==="disabled"||!o(E)||!o(w))return;const{customerDetails:Oe,confirmationTokenId:Ye}=await nr.extractTaxCustomerDetails(o(E),o(w));ae==null||ae.throwIfAborted();const dr=se;return Oe.postalCode===(dr==null?void 0:dr.postalCode)&&Oe.countryCode===(dr==null?void 0:dr.countryCode)&&Oe.state===(dr==null?void 0:dr.state)&&Oe.city===(dr==null?void 0:dr.city)&&Oe.addressLine1===(dr==null?void 0:dr.addressLine1)&&Oe.addressLine2===(dr==null?void 0:dr.addressLine2)||await B(Oe,ae),Ye&&o(Z)!=="card"?Ye:void 0}function ye(ae){return()=>{if(o(h)!==ae)throw new C_}}async function Ve(){var Ye;const ae=await e.purchaseOperationHelper.checkoutComplete(o(I),t().selectedLocale),Oe=(Ye=ae==null?void 0:ae.gateway_params)==null?void 0:Ye.client_secret;Oe&&F(z,Oe,!0)}async function fr(ae){!o(w)||!o(E)||!o(z)||await nr.confirmElements(o(w),o(E),o(z),ae)}async function Sr(ae){if(ae instanceof C_)F(p,"miss-match");else if(ae instanceof fe){const Oe=rP({errorCode:ae.errorCode.toString(),errorMessage:ae.message});l.trackSDKEvent(Oe),ae.errorCode===ve.MissingEmailError?F(O,t().translate(de.ErrorPageErrorMessageInvalidEmailError,{email:o(I)}),!0):e.onError(ae)}else if(ae instanceof Xo)await Mr(ae);else throw ae}async function Mr(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(ve.ErrorSettingUpPurchase,"Failed to initialize payment form",ae.message)))}const qr=()=>{F(O,void 0)};var Kr=m1(),Or=D(Kr);{var Ut=ae=>{var Oe=f1(),Ye=D(Oe);c_(Ye),x(ae,Oe)};H(Or,ae=>{o(K)==="loading"&&ae(Ut)})}var er=U(Or,2);{var yr=ae=>{{const Oe=Cn=>{wd(Cn)},Ye=Cn=>{var Mc=Fe();W(()=>_e(Mc,o(O))),x(Cn,Mc)};let dr=g(()=>t().translate(de.ErrorButtonTryAgain));ac(ae,{title:null,type:"error",get closeButtonTitle(){return o(dr)},onDismiss:qr,icon:Oe,message:Ye,$$slots:{icon:!0,message:!0}})}};H(er,ae=>{o(K)==="error"&&ae(yr)})}var Mt=U(er,2),co=D(Mt);let uo;var qt=D(co),ii=D(qt);{let ae=g(()=>!!e.customerEmail),Oe=g(()=>!o(ne)||o(le));r1(ii,{get stripeAccountId(){return e.gatewayParams.stripe_account_id},get publishableApiKey(){return e.gatewayParams.publishable_api_key},get elementsConfiguration(){return o(b)},get brandingInfo(){return e.brandingInfo},get forceEnableWalletMethods(){return e.forceEnableWalletMethods},get skipEmail(){return o(ae)},onLoadingComplete:ue,onError:Mr,onEmailChange:ge,onPaymentInfoChange:re,onAddressInfoChange:Ee,onExpressCheckoutElementSubmit:be,get expressCheckoutOptions(){return o(Y)},get allowExpressCheckout(){return o(Oe)},get stripe(){return o(w)},set stripe(Ye){F(w,Ye,!0)},get elements(){return o(E)},set elements(Ye){F(E,Ye,!0)}})}var zc=U(qt,2);let Og;var zI=D(zc);l1(zI,{get subscriptionOption(){return o(d)}});var Lg=U(zc,2);let Ng;var jg=D(Lg);{var MI=ae=>{{let Oe=g(()=>{var Ye;return(Ye=e.brandingInfo)==null?void 0:Ye.app_name});Jw(ae,{get appName(){return o(Oe)},get termsAndConditionsUrl(){return e.termsAndConditionsUrl},onChange:Ye=>F(le,Ye,!0),get checked(){return o(le)},set checked(Ye){F(le,Ye,!0)}})}};H(jg,ae=>{o(ne)&&e.termsAndConditionsUrl&&ae(MI)})}var Bg=U(jg,2);{let ae=g(()=>!o(ce)),Oe=g(()=>{var Ye;return(Ye=e.brandingInfo)!=null&&Ye.gateway_tax_collection_enabled?o(P):void 0});cP(Bg,{get disabled(){return o(ae)},get subscriptionOption(){return o(d)},get priceBreakdown(){return o(Oe)}})}var qI=U(Bg,2),OI=D(qI);Gw(OI,{get brandingInfo(){return e.brandingInfo},get purchaseOption(){return e.purchaseOption},get termsAndConditionsUrl(){return e.termsAndConditionsUrl}}),W(()=>{uo=ur(co,1,"rc-checkout-form-container svelte-zfhfge",null,uo,{invisible:o(K)!=="form"}),Og=ur(zc,1,"rc-checkout-price-update-info-container svelte-zfhfge",null,Og,{"fully-hidden":o(p)!=="miss-match"||o(K)!=="form"}),Ng=ur(Lg,1,"rc-checkout-pay-container svelte-zfhfge",null,Ng,{"fully-hidden":o(K)!=="form"})}),Br("submit",Mt,De),x(r,Kr),he(),a()}var y1=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 b1={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 is(r,e){Pe(r,b1);let t=J(e,"direction",8);var n=y1();W(()=>ur(n,0,`arrow ${t()??""}`,"svelte-1eerlbf")),x(r,n)}var k1=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 w1={hash:"svelte-159d2rl",code:".arrow-fill.svelte-159d2rl {fill:var(--rc-color-grey-text-dark);}"};function P1(r){Pe(r,w1);var e=k1();x(r,e)}const x1=`<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,35 @@ 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 E1=R('<div style="color:var(--rc-color-gray-text-dark);"><!></div>');function S1(r){var e=E1(),t=D(e);vn(t,()=>x1),x(r,e)}const I1=`<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 C1=R('<div style="color:var(--rc-color-accent);" class="rcb-ui-asset-icon svelte-1dhcigx"><!></div>');const T1={hash:"svelte-1dhcigx",code:"div.svelte-1dhcigx {height:24px;width:24px;}"};function D1(r){Pe(r,T1);var e=C1(),t=D(e);vn(t,()=>I1),x(r,e)}const A1=`<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 F1=R('<div style="color:var(--rc-color-primary)"><!></div>');function T_(r){var e=F1(),t=D(e);vn(t,()=>A1),x(r,e)}var z1=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 M1={hash:"svelte-1prqhxu",code:".arrow-fill.svelte-1prqhxu {fill:var(--arrow-fill-color, var(--rc-color-grey-text-dark));}"};function q1(r){Pe(r,M1);var e=z1();x(r,e)}const O1=`<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 L1=R('<div class="rcb-ui-asset-icon svelte-18og1ci"><!></div>');const N1={hash:"svelte-18og1ci",code:".rcb-ui-asset-icon.svelte-18og1ci {display:inline-block;width:1em;height:1em;}"};function j1(r){Pe(r,N1);var e=L1(),t=D(e);vn(t,()=>O1),x(r,e)}const B1={cart:S1,error:wd,lock:D1,success:T_,back:P1,info:E_,close:q1,warning:j1,"chevron-left":is,"chevron-right":is,"chevron-up":is,"chevron-down":is};function Kn(r,e){me(e,!0);const t=B1[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))),he()}var R1=R('<span class="rc-sandbox-only-error svelte-1dod9xz"><!></span> <br/> <br/>',1),U1=R('<!> <a class="svelte-1dod9xz"> </a>.',1),V1=R("<!> <!>",1);const H1={hash:"svelte-1dod9xz",code:"a.svelte-1dod9xz {color:var(--rc-color-grey-text-dark);}.rc-sandbox-only-error.svelte-1dod9xz {font-weight:bold;}"};function ss(r,e){me(e,!0),Pe(r,H1);const t=()=>Re(c,"$translator",n),[n,a]=Ze(),i=J(e,"fullWidth",3,!1),s=g(()=>e.lastError??new fe(ve.UnknownError,"Unknown error without state set.")),c=He(hr),l=g(()=>o(s).errorCode===ve.StripeTaxNotActive||o(s).errorCode===ve.StripeInvalidTaxOriginAddress||o(s).errorCode===ve.StripeMissingRequiredPermission);kr(()=>{xe.errorLog(`Displayed error: ${ve[o(s).errorCode]}. Message: ${o(s).message??"None"}. Underlying error: ${o(s).underlyingErrorMessage??"None"}`)});function u(){return o(s).errorCode===ve.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 ve.AlreadyPurchasedError:return e.productDetails.productType===Gr.Subscription?t().translate(de.ErrorPageErrorTitleAlreadySubscribed,{productTitle:e.productDetails.title}):t().translate(de.ErrorPageErrorTitleAlreadyPurchased,{productTitle:e.productDetails.title});case ve.StripeTaxNotActive:return t().translate(de.ErrorPageErrorTitleStripeTaxNotActive);case ve.StripeInvalidTaxOriginAddress:return t().translate(de.ErrorPageErrorTitleStripeInvalidTaxOriginAddress);case ve.StripeMissingRequiredPermission:return t().translate(de.ErrorPageErrorTitleStripeMissingRequiredPermission);default:return t().translate(de.ErrorPageErrorTitleOtherErrors)}}function _(){const f=o(s).getErrorCode();switch(o(s).errorCode){case ve.ErrorSettingUpPurchase:case ve.InvalidPaddleAPIKeyError:return t().translate(de.ErrorPageErrorMessageErrorSettingUpPurchase,{errorCode:f});case ve.ErrorChargingPayment:return t().translate(de.ErrorPageErrorMessageErrorChargingPayment,{errorCode:f});case ve.AlreadyPurchasedError:return e.productDetails.productType===Gr.Subscription?t().translate(de.ErrorPageErrorMessageAlreadySubscribed,{errorCode:f}):t().translate(de.ErrorPageErrorMessageAlreadyPurchased,{errorCode:f});case ve.StripeTaxNotActive:return t().translate(de.ErrorPageErrorMessageStripeTaxNotActive,{errorCode:f});case ve.StripeInvalidTaxOriginAddress:return t().translate(de.ErrorPageErrorMessageStripeInvalidTaxOriginAddress,{errorCode:f});case ve.StripeMissingRequiredPermission:return t().translate(de.ErrorPageErrorMessageStripeMissingRequiredPermission,{errorCode:f});case ve.NetworkError:return t().translate(de.ErrorPageErrorMessageNetworkError,{errorCode:f});default:return t().translate(de.ErrorPageErrorMessageUnknownError,{errorCode:f})}}function p(){return o(s).errorCode===ve.AlreadyPurchasedError?de.ErrorPageTroubleAccessing:de.ErrorPageIfErrorPersists}function m(){return o(s).errorCode===ve.AlreadyPurchasedError?"success":"error"}{const f=k=>{{let P=g(m);Kn(k,{get name(){return o(P)}})}},v=k=>{var P=V1(),b=ie(P);{var w=S=>{var A=R1(),C=ie(A),N=D(C);yt(N,{get key(){return de.ErrorPageErrorMessageOnlyInSandbox}}),x(S,A)};H(b,S=>{o(l)&&S(w)})}var E=U(b),I=U(E);{var T=S=>{var A=U1(),C=ie(A);{let j=g(p);yt(C,{get key(){return o(j)}})}var N=U(C,2),q=D(N);W(()=>{we(N,"href",`mailto:${e.supportEmail??""}`),_e(q,e.supportEmail)}),x(S,A)};H(I,S=>{!o(l)&&e.supportEmail&&S(T)})}W(S=>_e(E,` ${S??""} `),[_]),x(k,P)};let y=g(d),h=g(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:f,message:v,$$slots:{icon:!0,message:!0}})}he(),a()}function ls(r,e){me(e,!1);const t=()=>Re(u,"$translator",n),[n,a]=Ze();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(Ho);function _(){d.trackSDKEvent(tP("go_back_to_app",at)),i()()}kr(()=>{d.trackSDKEvent(nP(at))}),jn();{const p=v=>{T_(v)};let m=zn(()=>(We(s()),t(),We(de),Ue(()=>s()??t().translate(de.SuccessPagePurchaseSuccessful)))),f=zn(()=>(We(c()),t(),We(de),Ue(()=>c()??t().translate(de.SuccessPageButtonClose))));ac(r,{type:"success",get title(){return o(m)},onDismiss:_,get closeButtonTitle(){return o(f)},get fullWidth(){return l()},icon:p,$$slots:{icon:!0}})}he(),a()}function W1(r){c_(r)}var Y1=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>'),G1=R('<div class="rcb-applied-discount-chip rcb-applied-discount-chip--static svelte-56pxsq"><span class="rcb-applied-discount-code svelte-56pxsq"> </span></div>'),K1=R('<div class="rcb-applied-discount-label svelte-56pxsq"> </div>'),X1=R('<div class="rcb-applied-discount svelte-56pxsq"><!> <!></div>'),Z1=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>'),J1=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>'),Q1=R('<div class="rcb-product-price-container svelte-56pxsq"><!></div>');const $1={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
322
  transform 150ms ease,
323
323
  font-size 150ms ease,
324
324
  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
325
  color 150ms ease,
326
326
  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
327
  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;}
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){me(e,!1),Pe(r,$1);const t=()=>Re(w,"$translator",n),[n,a]=Ze(),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),m=J(e,"discountSuffix",8,null),f=J(e,"discountCodeError",8,null),v=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),P=J(e,"onRemoveDiscountCode",8,void 0),b=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(b),o(i)),()=>{F(s,o(b)||o(i))}),vr(()=>(We(y()),We(v()),o(i)),()=>{F(c,y()&&!v()&&o(i))}),vr(()=>We(f()),()=>{F(l,f()==="Enter a discount code."?f():"Code can't be applied.")}),vr(()=>We(p()),()=>{F(u,p()?E(p()):null)}),Rs(),jn();var S=Q1(),A=D(S);{var C=q=>{var j=X1(),Z=D(j);{var O=L=>{var K=Y1();K.__click=()=>{var ce;return(ce=P())==null?void 0:ce()};var ee=D(K),se=D(ee),ne=U(ee,2),le=D(ne);Kn(le,{name:"close"}),W(()=>{K.disabled=v(),we(K,"aria-label",`Remove promo code ${o(u)}`),_e(se,o(u))}),x(L,K)},z=L=>{var K=G1(),ee=D(K),se=D(ee);W(()=>_e(se,o(u))),x(L,K)};H(Z,L=>{y()?L(O):L(z,!1)})}var M=U(Z,2);{var V=L=>{var K=K1(),ee=D(K);W(()=>_e(ee,`
329
+ ${m()??""}`)),x(L,K)};H(M,L=>{m()&&L(V)})}x(q,j)},N=q=>{var j=Se(),Z=ie(j);{var O=z=>{var M=J1(),V=D(M),L=D(V);let K;var ee=D(L),se=D(ee),ne=U(ee,2);ne.__input=I,ne.__keydown=T;var le=U(L,2);let ce;le.__click=()=>{var B;return(B=k())==null?void 0:B()};var pe=D(le),Y=U(V,2);{var X=B=>{var oe=Z1(),Q=D(oe),ue=D(Q);Kn(ue,{name:"warning"});var ge=U(Q,2),re=D(ge);W(()=>_e(re,o(l))),x(B,oe)};H(Y,B=>{f()&&B(X)})}W((B,oe)=>{K=ur(L,1,"rcb-discount-field svelte-56pxsq",null,K,{"rcb-discount-field--focused":o(b),"rcb-discount-field--floating":o(s)}),_e(se,B),we(ne,"aria-invalid",!!f()),ne.disabled=v()||!y(),ce=ur(le,1,"rcb-discount-action-button svelte-56pxsq",null,ce,{"rcb-discount-action-button--enabled":o(c)}),le.disabled=oe,_e(pe,v()?"Applying...":"Apply")},[()=>(t(),We(de),Ue(()=>t().translate(de.DiscountInputLabel))),()=>(We(v()),We(y()),We(_()),Ue(()=>v()||!y()||!_().trim()))]),Br("focus",ne,()=>F(b,!0)),Br("blur",ne,()=>F(b,!1)),Pm(ne,_),x(z,M)};H(Z,z=>{d()&&z(O)},!0)}x(q,j)};H(A,q=>{p()?q(C):q(N,!1)})}x(r,S),he(),a()}Zt(["click","input","keydown"]);var e0=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 r0={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
330
 
331
331
  @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
332
  }
333
333
 
334
334
  @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;
335
+ }`};function t0(r,e){me(e,!1),Pe(r,r0);const t=()=>Re(l,"$translator",n),[n,a]=Ze();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())}jn();var d=e0(),_=D(d),p=D(_);Te(p,{size:"label-default",children:(w,E)=>{var I=Se(),T=ie(I);{var S=C=>{var N=Fe();W(q=>_e(N,q),[()=>(t(),We(de),Ue(()=>t().translate(de.PricingDropdownHideDetails)))]),x(C,N)},A=C=>{var N=Se(),q=ie(N);{var j=O=>{var z=Fe();W(M=>_e(z,M),[()=>(t(),We(de),Ue(()=>t().translate(de.PricingDropdownAddPromoCode)))]),x(O,z)},Z=O=>{var z=Fe();W(M=>_e(z,M),[()=>(t(),We(de),Ue(()=>t().translate(de.PricingDropdownShowDetails)))]),x(O,z)};H(q,O=>{s()?O(j):O(Z,!1)},!0)}x(C,N)};H(T,C=>{i()?C(S):C(A,!1)})}x(w,I)},$$slots:{default:!0}});var m=U(p,2),f=D(m);{var v=w=>{Kn(w,{name:"chevron-up"})},y=w=>{Kn(w,{name:"chevron-down"})};H(f,w=>{i()?w(v):w(y,!1)})}var h=U(_,2);let k;var P=D(h),b=D(P);xr(b,()=>c()??tr),W(()=>{we(_,"aria-expanded",i()),k=ur(h,1,"rcb-pricing-dropdown-content svelte-v5skdw",null,k,{collapsed:!i()})}),Br("click",_,u),Br("keydown",_,w=>w.key==="Enter"||w.key===" "?u():null),x(r,d),he(),a()}var n0=R('<div class="rcb-pricing-table-value-loading svelte-w1kcbi"><!></div>');const a0={hash:"svelte-w1kcbi",code:`.rcb-pricing-table-value-loading.svelte-w1kcbi {color:transparent;
336
336
  animation: svelte-w1kcbi-rcb-pricing-table-value-loading 1.5s ease-in-out 0s infinite
337
337
  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
338
 
@@ -344,18 +344,18 @@ but received
344
344
  50% {
345
345
  opacity: 0.3;
346
346
  }
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),
347
+ }`};function A_(r,e){Pe(r,a0);let t=J(e,"children",8);var n=n0(),a=D(n);xr(a,()=>t()??tr),x(r,n)}var o0=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),i0=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),s0=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>'),l0=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>'),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-row svelte-1cr4unj"><div class="rcb-pricing-table-header svelte-1cr4unj"><!></div> <div class="rcb-pricing-table-value svelte-1cr4unj"><!></div></div> <!>',1),d0=R('<div class="rcb-pricing-table-separator svelte-1cr4unj"></div>'),p0=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>'),_0=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 g0={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
348
  .rcb-pricing-table-row.svelte-1cr4unj:last-child > .rcb-pricing-table-value:where(.svelte-1cr4unj) {color:var(--rc-color-grey-text-dark);}
349
349
 
350
350
  @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
351
  .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;}
352
+ }`};function F_(r,e){me(e,!0),Pe(r,g0);const t=()=>Re(u,"$translator",n),[n,a]=Ze(),i=w=>{var E=_0(),I=D(E);{var T=ee=>{var se=o0(),ne=ie(se),le=D(ne),ce=D(le),pe=D(ce);Te(pe,{size:"body-small",children:(Ee,Ce)=>{var De=Fe();W(be=>_e(De,be),[()=>t().translate(de.PricingTableSubtotal)]),x(Ee,De)},$$slots:{default:!0}});var Y=U(le,2),X=D(Y);Te(X,{size:"body-small",children:(Ee,Ce)=>{var De=Fe();W(be=>_e(De,be),[()=>t().formatPrice(o(m),e.priceBreakdown.currency)]),x(Ee,De)},$$slots:{default:!0}});var B=U(ne,2),oe=D(B),Q=D(oe),ue=D(Q);Te(ue,{size:"body-small",children:(Ee,Ce)=>{var De=Fe();W(be=>_e(De,`${be??""}${e.resolvedDiscount.displayName?`: ${e.resolvedDiscount.displayName}`:""}${o(v)?` (${o(v)})`:""}`),[()=>t().translate(de.PricingTableDiscount)]),x(Ee,De)},$$slots:{default:!0}});var ge=U(oe,2),re=D(ge);Te(re,{size:"body-small",children:(Ee,Ce)=>{var De=Fe();W(be=>_e(De,`-${be??""}`),[()=>t().formatPrice(o(f),e.priceBreakdown.currency)]),x(Ee,De)},$$slots:{default:!0}}),x(ee,se)};H(I,ee=>{e.resolvedDiscount&&!e.showDiscountCodeField&&ee(T)})}var S=U(I,2);{var A=ee=>{var se=Se(),ne=ie(se);{var le=pe=>{D_(pe,{get showDiscountCodeField(){return e.showDiscountCodeField},get discountCode(){return e.discountCode},get appliedDiscountCode(){return e.appliedDiscountCode},get discountSuffix(){return o(v)},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}})},ce=pe=>{var Y=i0(),X=ie(Y),B=D(X),oe=D(B),Q=D(oe);Te(Q,{size:"body-small",children:(be,ze)=>{var Me=Fe();W(Ae=>_e(Me,Ae),[()=>t().translate(de.PricingTableSubtotal)]),x(be,Me)},$$slots:{default:!0}});var ue=U(B,2),ge=D(ue);Te(ge,{size:"body-small",children:(be,ze)=>{var Me=Fe();W(Ae=>_e(Me,Ae),[()=>t().formatPrice(o(m),e.priceBreakdown.currency)]),x(be,Me)},$$slots:{default:!0}});var re=U(X,2),Ee=D(re);D_(Ee,{get showDiscountCodeField(){return e.showDiscountCodeField},get discountCode(){return e.discountCode},get appliedDiscountCode(){return e.appliedDiscountCode},get discountSuffix(){return o(v)},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 Ce=U(Ee,2),De=D(Ce);Te(De,{size:"body-small",children:(be,ze)=>{var Me=Fe();W(Ae=>_e(Me,`-${Ae??""}`),[()=>t().formatPrice(o(f),e.priceBreakdown.currency)]),x(be,Me)},$$slots:{default:!0}}),x(pe,Y)};H(ne,pe=>{e.appliedDiscountCode?pe(ce,!1):pe(le)})}x(ee,se)};H(S,ee=>{e.showDiscountCodeField&&ee(A)})}var C=U(S,2);{var N=ee=>{var se=u0(),ne=ie(se),le=D(ne),ce=D(le);Te(ce,{size:"body-small",children:(Q,ue)=>{var ge=Fe();W(re=>_e(ge,re),[()=>t().translate(de.PricingTotalExcludingTax)]),x(Q,ge)},$$slots:{default:!0}});var pe=U(le,2),Y=D(pe);Te(Y,{size:"body-small",children:(Q,ue)=>{var ge=Se(),re=ie(ge);{var Ee=De=>{A_(De,{children:(be,ze)=>{var Me=Fe();W(Ae=>_e(Me,Ae),[()=>t().formatPrice(e.priceBreakdown.totalExcludingTaxInMicros,e.priceBreakdown.currency)]),x(be,Me)},$$slots:{default:!0}})},Ce=De=>{var be=Fe();W(ze=>_e(be,ze),[()=>t().formatPrice(e.priceBreakdown.totalExcludingTaxInMicros,e.priceBreakdown.currency)]),x(De,be)};H(re,De=>{e.priceBreakdown.taxCalculationStatus==="loading"?De(Ee):De(Ce,!1)})}x(Q,ge)},$$slots:{default:!0}});var X=U(ne,2);{var B=Q=>{var ue=s0(),ge=D(ue),re=D(ge);Te(re,{size:"body-small",children:(De,be)=>{var ze=Fe();W(Me=>_e(ze,Me),[()=>t().translate(de.PricingTableTax)]),x(De,ze)},$$slots:{default:!0}});var Ee=U(ge,2),Ce=D(Ee);Te(Ce,{size:"body-small",children:(De,be)=>{A_(De,{children:(ze,Me)=>{var Ae=Fe();W(ke=>_e(Ae,ke),[()=>t().formatPrice(1234e4,e.priceBreakdown.currency)]),x(ze,Ae)},$$slots:{default:!0}})},$$slots:{default:!0}}),x(Q,ue)},oe=Q=>{var ue=Se(),ge=ie(ue);{var re=Ce=>{var De=l0(),be=D(De),ze=D(be),Me=U(be,2),Ae=D(Me);Te(Ae,{size:"body-small",children:(ke,Xe)=>{var $e=Fe();W(ye=>_e($e,ye),[()=>s()??t().translate(de.PricingTableEnterBillingAddressToCalculate)]),x(ke,$e)},$$slots:{default:!0}}),W(ke=>_e(ze,ke),[()=>t().translate(de.PricingTableTax)]),x(Ce,De)},Ee=Ce=>{var De=Se(),be=ie(De);{var ze=Me=>{var Ae=Se(),ke=ie(Ae);Jt(ke,17,()=>e.priceBreakdown.taxBreakdown,hn,(Xe,$e)=>{var ye=c0(),Ve=D(ye),fr=D(Ve);Te(fr,{size:"body-small",children:(qr,Kr)=>{var Or=Fe();W(()=>_e(Or,o($e).display_name)),x(qr,Or)},$$slots:{default:!0}});var Sr=U(Ve,2),Mr=D(Sr);Te(Mr,{size:"body-small",children:(qr,Kr)=>{var Or=Fe();W(Ut=>_e(Or,Ut),[()=>t().formatPrice(o($e).tax_amount_in_micros,e.priceBreakdown.currency)]),x(qr,Or)},$$slots:{default:!0}}),x(Xe,ye)}),x(Me,Ae)};H(be,Me=>{e.priceBreakdown.taxBreakdown!==null&&Me(ze)},!0)}x(Ce,De)};H(ge,Ce=>{e.priceBreakdown.taxCalculationStatus==="pending"?Ce(re):Ce(Ee,!1)},!0)}x(Q,ue)};H(X,Q=>{e.priceBreakdown.taxCalculationStatus==="loading"?Q(B):Q(oe,!1)})}x(ee,se)};H(C,ee=>{o(_)&&ee(N)})}var q=U(C,2);{var j=ee=>{var se=d0();x(ee,se)};H(q,ee=>{(o(_)||e.appliedDiscountCode)&&ee(j)})}var Z=U(q,2);{var O=ee=>{var se=p0(),ne=D(se),le=D(ne);Te(le,{size:"body-small",children:(Y,X)=>{var B=Fe();W(oe=>_e(B,oe),[()=>t().translate(de.PricingTableTrialEnds,{formattedTrialEndDate:t().translateDate(o(l),{dateStyle:"medium"})})]),x(Y,B)},$$slots:{default:!0}});var ce=U(ne,2),pe=D(ce);Te(pe,{size:"body-small",children:(Y,X)=>{var B=Fe();W(oe=>_e(B,oe),[()=>t().formatPrice(e.priceBreakdown.totalAmountInMicros,e.priceBreakdown.currency)]),x(Y,B)},$$slots:{default:!0}}),x(ee,se)};H(Z,ee=>{o(l)&&ee(O)})}var z=U(Z,2),M=D(z),V=D(M);Te(V,{size:"body-small",children:(ee,se)=>{var ne=Fe();W(le=>_e(ne,le),[()=>c()??t().translate(de.PricingTableTotalDueToday)]),x(ee,ne)},$$slots:{default:!0}});var L=U(M,2),K=D(L);Te(K,{size:"body-small",children:(ee,se)=>{var ne=Fe();W(le=>_e(ne,le),[()=>t().formatPrice(o(y),e.priceBreakdown.currency)]),x(ee,ne)},$$slots:{default:!0}}),x(w,E)};let s=J(e,"pendingTaxLabel",3,null),c=J(e,"totalRowLabel",3,null);const l=g(()=>{var w;return(w=e.trialPhase)!=null&&w.period?zo(new Date,e.trialPhase.period,!0):null}),u=He(hr),d=g(()=>e.priceBreakdown.taxCalculationStatus==="loading"||e.priceBreakdown.taxCalculationStatus==="pending"),_=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)}),p=g(()=>e.showDiscountCodeField||o(_)),m=g(()=>{var w,E;return e.priceBreakdown.originalAmountInMicros??((E=(w=e.basePhase)==null?void 0:w.price)==null?void 0:E.amountMicros)??e.priceBreakdown.totalAmountInMicros}),f=g(()=>{var w;return((w=e.resolvedDiscount)==null?void 0:w.discountAmountInMicros)??0}),v=g(()=>{var w;return((w=e.resolvedDiscount)==null?void 0:w.suffix)??null}),y=g(()=>o(l)?0:e.priceBreakdown.totalAmountInMicros);var h=Se(),k=ie(h);{var P=w=>{t0(w,{get showDiscountCodeField(){return e.showDiscountCodeField},children:(E,I)=>{i(E)},$$slots:{default:!0}})},b=w=>{i(w)};H(k,w=>{o(p)?w(P):w(b,!1)})}x(r,h),he(),a()}var f0=R('<div class="rcb-subscribe-to svelte-sdtx9l"><!></div>'),m0=R('<span class="rcb-product-description svelte-sdtx9l"><!></span>'),h0=R('<div class="rcb-pricing-info-header svelte-sdtx9l"><!> <div class="rcb-product-title svelte-sdtx9l"><!></div> <!></div>');const v0={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
353
 
354
354
  @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);}
355
+ }`};function y0(r,e){me(e,!1),Pe(r,v0);let t=J(e,"productDetails",8),n=J(e,"showProductDescription",8);const a=t().productType===Gr.Subscription;jn();var i=h0(),s=D(i);{var c=p=>{var m=f0(),f=D(m);Te(f,{size:"body-base",children:(v,y)=>{{let h=zn(()=>(We(t()),Ue(()=>({productTitle:t().title}))));yt(v,{get key(){return We(de),Ue(()=>de.ProductInfoSubscribeTo)},get variables(){return o(h)}})}},$$slots:{default:!0}}),x(p,m)};H(s,p=>{a&&p(c)})}var l=U(s,2),u=D(l);Te(u,{size:"heading-lg",branded:!0,children:(p,m)=>{{let f=zn(()=>(We(t()),Ue(()=>({productTitle:t().title}))));yt(p,{get key(){return We(de),Ue(()=>de.ProductInfoProductTitle)},get variables(){return o(f)}})}},$$slots:{default:!0}});var d=U(l,2);{var _=p=>{var m=m0(),f=D(m);Te(f,{size:"body-small",children:(v,y)=>{{let h=zn(()=>(We(t()),Ue(()=>({productDescription:t().description}))));yt(v,{get key(){return We(de),Ue(()=>de.ProductInfoProductDescription)},get variables(){return o(h)}})}},$$slots:{default:!0}}),x(p,m)};H(d,p=>{We(n()),We(t()),Ue(()=>n()&&t().description)&&p(_)})}x(r,i),he()}var b0=R("<div><!></div>"),k0=R("<div><!> <!></div>"),w0=R('<div class="rcb-product-price-container svelte-17etw2v"><!> <!> <div><!> <!> <!></div></div>');const P0={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 x0(r,e){me(e,!0),Pe(r,P0);const t=()=>Re(i,"$translator",n),[n,a]=Ze(),i=He(hr),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 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===Rr?t().translatePeriodUnit(Z)||"":t().translatePeriod(j,Z)||""}),_=g(()=>{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=g(()=>o(s)?de.ProductInfoIntroPricePhaseAfterTrial:de.ProductInfoIntroPricePhase),m=g(()=>t().formatPrice(e.priceBreakdown.totalAmountInMicros,e.priceBreakdown.currency)),f=g(()=>{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)}),v=g(()=>o(l)?de.ProductInfoAfter:o(s)?de.ProductInfoAfterTrial:null),y="heading-lg",h=g(()=>o(s)?"heading-md":"heading-lg"),k=g(()=>o(s)||o(l)?"heading-md":"heading-lg");var P=w0(),b=D(P);{var w=j=>{var Z=b0(),O=D(Z);Te(O,{size:y,children:(z,M)=>{{let V=g(()=>({trialDuration:gh(e.trialPhase.periodDuration,t())}));yt(z,{get key(){return de.ProductInfoFreeTrialDuration},get variables(){return o(V)}})}},$$slots:{default:!0}}),x(j,Z)};H(b,j=>{o(s)&&j(w)})}var E=U(b,2);{var I=j=>{var Z=k0(),O=D(Z);Te(O,{get size(){return o(h)},children:(V,L)=>{{let K=g(()=>({introPriceDuration:o(d),introPrice:o(m)}));yt(V,{get key(){return o(p)},get variables(){return o(K)}})}},$$slots:{default:!0}});var z=U(O,2);{var M=V=>{Te(V,{size:"body-small",children:(L,K)=>{var ee=Fe();W(()=>_e(ee,o(_))),x(L,ee)},$$slots:{default:!0}})};H(z,V=>{o(_)&&V(M)})}x(j,Z)};H(E,j=>{o(l)&&j(I)})}var T=U(E,2),S=D(T);Te(S,{get size(){return o(k)},children:(j,Z)=>{var O=Fe();W(()=>_e(O,o(f))),x(j,O)},$$slots:{default:!0}});var A=U(S,2);{var C=j=>{Te(j,{size:"body-small",children:(Z,O)=>{var z=Fe();W(M=>_e(z,M),[()=>t().translatePeriodFrequency(e.basePhase.period.number,e.basePhase.period.unit,{useMultipleWords:!0})]),x(Z,z)},$$slots:{default:!0}})};H(A,j=>{var Z;(Z=e.basePhase)!=null&&Z.period&&j(C)})}var N=U(A,2);{var q=j=>{Te(j,{size:"body-small",children:(Z,O)=>{yt(Z,{get key(){return o(v)}})},$$slots:{default:!0}})};H(N,j=>{o(v)&&j(q)})}x(r,P),he(),a()}var E0=R("<div><!></div>");function S0(r,e){me(e,!0);const t=()=>Re(i,"$translator",n),[n,a]=Ze(),i=He(hr),s=g(()=>{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=E0(),u=D(l);Te(u,{size:c,children:(d,_)=>{var p=Fe();W(()=>_e(p,o(s))),x(d,p)},$$slots:{default:!0}}),x(r,l),he(),a()}var I0=R('<div class="rcb-pricing-info svelte-1jzyaxi"><div class="rcb-pricing-info-header svelte-1jzyaxi"><!> <!></div> <!></div>');const C0={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
356
 
357
357
  @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,
358
+ }`};function T0(r,e){me(e,!1),Pe(r,C0);const t=()=>Re(A,"$translator",n),[n,a]=Ze(),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),m=J(e,"discountCodeError",8,null),f=J(e,"isUpdatingDiscountCode",8,!1),v=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),P=cr(),b=cr(),w=cr(),E=cr(),I=cr(),T=cr(),S=cr();const A=He(hr);vr(()=>We(s()),()=>{F(P,s().productType==="subscription")}),vr(()=>(o(P),We(c())),()=>{F(b,o(P)?c():null)}),vr(()=>(o(P),We(c())),()=>{F(w,o(P)?null:c())}),vr(()=>(o(P),o(b),o(w)),()=>{var M,V;F(E,o(P)?((M=o(b))==null?void 0:M.base)??null:(V=o(w))!=null&&V.basePrice?{periodDuration:null,period:null,cycleCount:1,price:o(w).basePrice,pricePerWeek:null,pricePerMonth:null,pricePerYear:null}:null)}),vr(()=>o(b),()=>{var M;F(I,((M=o(b))==null?void 0:M.trial)??null)}),vr(()=>(o(b),o(w)),()=>{var M,V;F(T,((M=o(b))==null?void 0:M.discount)??((V=o(w))==null?void 0:V.discount)??null)}),vr(()=>o(b),()=>{var M;F(S,((M=o(b))==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(),jn();var C=I0(),N=D(C),q=D(N);y0(q,{get productDetails(){return s()},get showProductDescription(){return l()}});var j=U(q,2);{var Z=M=>{x0(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=>{S0(M,{get priceBreakdown(){return u()},get basePhase(){return o(E)}})};H(j,M=>{o(P)?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 m()},get isUpdatingDiscountCode(){return f()},get isDiscountCodeControlsEnabled(){return v()},get onDiscountCodeChange(){return y()},get onApplyDiscountCode(){return h()},get onRemoveDiscountCode(){return k()}}),x(r,C),he(),a()}const Ja=r=>`https://da08ctfrofx1b.cloudfront.net/${r}`;var D0=R("<div><!></div>");const A0={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
359
  BlinkMacSystemFont,
360
360
  avenir next,
361
361
  avenir,
@@ -367,27 +367,27 @@ but received
367
367
  roboto,
368
368
  noto,
369
369
  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;}
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){me(e,!0),Pe(r,A0);const t=J(e,"brandingAppearance",3,void 0),n=J(e,"brandFontConfig",3,void 0),a=J(e,"isInElement",3,!1),i=g(()=>new Gn(t()).getTextStyleVars(n())),s=g(()=>new Gn(t()).spacingStyleVars),c=g(()=>[o(i),o(s)].join("; ")),l=g(()=>{var m;return(m=n())!=null&&m.font_url?Ja(n().font_url):null}),u=async m=>{try{const f=new FontFace(v_,`url(${m})`);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=D0();let _;var p=D(d);xr(p,()=>e.children??tr),W(()=>{_=ur(d,1,"rcb-ui-container svelte-18ddpt0",null,_,{fullscreen:!a(),inside:a()}),Le(d,o(c))}),x(r,d),he()}var F0=R('<div id="layout-query-container" class="svelte-1ewgunr"><div class="rcb-ui-layout svelte-1ewgunr"><!></div></div>');const z0={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
371
 
372
372
  @container layout-query-container (width < 768px) {.rcb-ui-layout.svelte-1ewgunr {flex-grow:1;}
373
373
  }
374
374
 
375
375
  @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);}
376
+ }`};function M0(r,e){Pe(r,z0);let t=J(e,"style",8,""),n=J(e,"children",8);var a=F0(),i=D(a),s=D(i);xr(s,()=>n()??tr),W(()=>Le(i,t())),x(r,a)}const q0=r=>r;function O0(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 L0(r,{delay:e=0,duration:t=400,easing:n=q0}={}){const a=+getComputedStyle(r).opacity;return{delay:e,duration:t,easing:n,css:i=>`opacity: ${i*a}`}}function N0(r,{delay:e=0,duration:t=400,easing:n=O0,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),[m,f]=M_(i);return{delay:e,duration:t,easing:n,css:(v,y)=>`
377
+ transform: ${u} translate(${(1-v)*_}${p}, ${(1-v)*m}${f});
378
+ opacity: ${l-d*y}`}}var j0=R('<div><div class="layout-wrapper svelte-13h5jq9"><div><!></div></div></div>');const B0={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
379
 
380
380
  @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
381
  }
382
382
 
383
383
  @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);}
384
+ }`};function q_(r,e){Pe(r,B0);const t=`rcb-${e.location}`;var n=j0(),a=D(n),i=D(a),s=D(i);xr(s,()=>e.children??tr),W(()=>{ur(n,1,`layout-wrapper-outer ${t}`,"svelte-13h5jq9"),ur(i,1,`layout-content ${t}`,"svelte-13h5jq9")}),Xu(3,i,()=>L0,()=>({duration:500,delay:50})),x(r,n)}var R0=R('<div class="navbar-body svelte-191m2u3"><!></div>'),U0=R('<div class="navbar-header svelte-191m2u3"><!></div> <!>',1),V0=R('<div class="rcb-ui-navbar svelte-191m2u3"><!></div>');const H0={hash:"svelte-191m2u3",code:`.rcb-ui-navbar.svelte-191m2u3 {width:100%;max-width:none;flex-shrink:0;background-color:var(--rc-color-background);}
385
385
 
386
386
  @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
387
  }
388
388
 
389
389
  @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">
390
+ }`};function W0(r,e){me(e,!0),Pe(r,H0);const t=J(e,"brandingAppearance",3,void 0),n=g(()=>new Gn(t()).productInfoStyleVars);var a=V0(),i=D(a);q_(i,{location:"navbar",children:(s,c)=>{var l=U0(),u=ie(l),d=D(u);xr(d,()=>e.headerContent??tr);var _=U(u,2);{var p=m=>{var f=R0(),v=D(f);xr(v,()=>e.bodyContent??tr),x(m,f)};H(_,m=>{e.bodyContent&&m(p)})}x(s,l)}}),W(()=>Le(a,o(n))),x(r,a),he()}var Y0=R('<button class="rcb-close-button svelte-8qlvu1" data-testid="close-button"><!></button>');const G0={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){Pe(r,G0);var t=Y0(),n=D(t);Kn(n,{name:"close"}),Br("click",t,function(a){sd.call(this,e,a)}),x(r,t)}const K0=`<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12" fill="none">
391
391
  <g clip-path="url(#clip0_6333_13826)">
392
392
  <rect opacity="0.2" width="12" height="12" rx="2.25" fill="black"/>
393
393
  <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 +398,32 @@ but received
398
398
  </clipPath>
399
399
  </defs>
400
400
  </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;}
401
+ `;var X0=R('<div style="color:var(--rc-color-accent);" class="rcb-ui-asset-icon svelte-w5b346"><!></div>');const Z0={hash:"svelte-w5b346",code:"div.svelte-w5b346 {height:12px;width:12px;}"};function J0(r){Pe(r,Z0);var e=X0(),t=D(e);vn(t,()=>K0),x(r,e)}var Q0=R('<span class="rcb-sandbox-text svelte-bwwvt4">SANDBOX</span>'),$0=R('<span class="rcb-sandbox-text svelte-bwwvt4">Share feedback</span>'),ex=R('<a class="rcb-ui-sandbox-banner-link svelte-bwwvt4" target="_blank"><!> <!></a>'),rx=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 tx={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
402
 
403
403
  @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,
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){me(e,!1),Pe(r,tx);let t=J(e,"style",8,""),n=J(e,"isInElement",8,!1),a=J(e,"brandingInfo",8,null),i=cr(!0);function s(){xe.debugLog("closeBanner"),F(i,!1)}jn();var c=Se(),l=ie(c);{var u=d=>{var _=rx();let p;var m=U(D(_),2),f=D(m);Te(f,{size:"caption-default",children:(P,b)=>{var w=Q0();x(P,w)},$$slots:{default:!0}});var v=U(m,2),y=D(v);{var h=P=>{var b=ex(),w=D(b);J0(w);var E=U(w,2);Te(E,{size:"caption-link",children:(I,T)=>{var S=$0();x(I,S)},$$slots:{default:!0}}),W(()=>we(b,"href",(We(a()),Ue(()=>a().sandbox_configuration.checkout_feedback_form_url)))),x(P,b)};H(y,P=>{We(a()),Ue(()=>{var b;return(b=a())==null?void 0:b.sandbox_configuration})&&P(h)})}var k=U(y,2);O_(k,{$$events:{click:s}}),W(()=>{p=ur(_,1,"rcb-ui-sandbox-banner svelte-bwwvt4",null,p,{isInElement:n()}),Le(_,t())}),Xu(2,_,()=>N0,()=>({y:-100,duration:300})),x(d,_)};H(l,d=>{o(i)&&d(u)})}x(r,c),he()}var nx=R('<div class="rcb-ui-main svelte-iuk1gs"><!></div>');const ax={hash:"svelte-iuk1gs",code:".rcb-ui-main.svelte-iuk1gs {flex:1;display:flex;background-color:var(--rc-color-background);}"};function ox(r,e){me(e,!0),Pe(r,ax);const t=g(()=>new Gn(e.brandingAppearance).formStyleVars);var n=nx(),a=D(n);q_(a,{location:"main-block",children:(i,s)=>{var c=Se(),l=ie(c);xr(l,()=>e.children??tr),x(i,c)}}),W(()=>Le(n,o(t))),x(r,n),he()}var ix=R("<!> <!>",1),sx=R("<!> <!>",1);function fc(r,e){me(e,!0);const t=g(()=>{var n;return P_((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});z_(r,{get brandingAppearance(){return o(n)},get brandFontConfig(){return o(a)},get isInElement(){return e.isInElement},children:(i,s)=>{var c=sx(),l=ie(c);{var u=_=>{L_(_,{get style(){return o(t)},get isInElement(){return e.isInElement},get brandingInfo(){return e.brandingInfo}})};H(l,_=>{e.isSandbox&&_(u)})}var d=U(l,2);M0(d,{get style(){return o(t)},children:(_,p)=>{var m=ix(),f=ie(m);{var v=h=>{{let k=g(()=>{var P;return(P=e.brandingInfo)==null?void 0:P.appearance});W0(h,{get brandingAppearance(){return o(k)},get headerContent(){return e.navbarHeaderContent},get bodyContent(){return e.navbarBodyContent}})}};H(f,h=>{(e.navbarHeaderContent||e.navbarBodyContent)&&h(v)})}var y=U(f,2);{let h=g(()=>{var k;return(k=e.brandingInfo)==null?void 0:k.appearance});ox(y,{get brandingAppearance(){return o(h)},children:(k,P)=>{var b=Se(),w=ie(b);xr(w,()=>e.mainContent??tr),x(k,b)},$$slots:{default:!0}})}x(_,m)},$$slots:{default:!0}}),x(i,c)},$$slots:{default:!0}})}he()}var lx=R('<source type="image/webp"/>'),cx=R('<picture class="rcb-app-icon-picture-container svelte-15hivnw"><!> <img class="rcb-app-icon svelte-15hivnw" alt="App icon"/></picture>'),ux=R('<div class="rcb-app-icon loading svelte-15hivnw"></div>');const dx={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 px(r,e){Pe(r,dx);var t=Se(),n=ie(t);{var a=s=>{var c=cx(),l=D(c);{var u=_=>{var p=lx();W(()=>we(p,"srcset",e.srcWebp)),x(_,p)};H(l,_=>{e.srcWebp&&_(u)})}var d=U(l,2);W(()=>we(d,"src",e.src)),x(s,c)},i=s=>{var c=ux();x(s,c)};H(n,s=>{e.src?s(a):s(i,!1)})}x(r,t)}const cs=r=>!r||r.trim()===""?null:r,_x={icon:null,iconWebp:null,wordmark:null,wordmarkWebp:null,src:null,srcWebp:null,wordmarkSrc:null,wordmarkSrcWebp:null},gx=r=>{if(!r)return _x;const e=cs(r.app_icon),t=cs(r.app_icon_webp),n=cs(r.app_wordmark),a=cs(r.app_wordmark_webp);return{src:e?Ja(e):null,srcWebp:t?Ja(t):null,wordmarkSrc:n?Ja(n):null,wordmarkSrcWebp:a?Ja(a):null}};var fx=R('<button class="rcb-back-button svelte-7773d6" data-testid="close-button"><!></button>');const mx={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 hx(r,e){Pe(r,mx);let t=J(e,"disabled",3,!1);var n=fx(),a=D(n);Kn(a,{name:"back"}),W(()=>n.disabled=t()),Br("click",n,function(i){sd.call(this,e,i)}),x(r,n)}var vx=R('<source type="image/webp" class="rcb-app-icon svelte-7clux6"/>'),yx=R('<picture class="rcb-app-icon svelte-7clux6"><!> <img class="rcb-app-icon svelte-7clux6" alt="App icon"/></picture>');const bx={hash:"svelte-7clux6",code:".rcb-app-icon.svelte-7clux6 {height:32px;}"};function kx(r,e){Pe(r,bx);var t=yx(),n=D(t);{var a=s=>{var c=vx();W(()=>we(c,"srcset",e.srcWebp)),x(s,c)};H(n,s=>{e.srcWebp&&s(a)})}var i=U(n,2);W(()=>we(i,"src",e.src)),x(r,t)}var wx=R('<div class="rcb-back-wrapper svelte-11a99mf"><!></div>'),Px=R('<div class="rcb-close-wrapper svelte-11a99mf"><!></div>'),xx=R('<div><!> <div class="rcb-header svelte-11a99mf"><div class="rcb-title svelte-11a99mf"><!> <!></div></div> <!></div>');const Ex={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
405
  .rcb-back-wrapper.svelte-11a99mf {padding:var(--rc-spacing-gapSmall-mobile);}
406
406
 
407
407
  @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
408
  }
409
409
 
410
410
  @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;
411
+ }`};function N_(r,e){me(e,!0),Pe(r,Ex);const t=g(()=>gx(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=xx();let u;var d=D(l);{var _=w=>{var E=wx(),I=D(E);hx(I,{$$events:{click:c}}),x(w,E)};H(d,w=>{e.showCloseButton&&w(_)})}var p=U(d,2),m=D(p),f=D(m);{var v=w=>{kx(w,{get src(){return o(n)},get srcWebp(){return o(a)}})},y=w=>{var E=Se(),I=ie(E);{var T=S=>{px(S,{get src(){return o(i)},get srcWebp(){return o(s)}})};H(I,S=>{o(i)!==null&&o(s)!==null&&S(T)},!0)}x(w,E)};H(f,w=>{o(n)!==null?w(v):w(y,!1)})}var h=U(f,2);{var k=w=>{Te(w,{size:"body-base",children:(E,I)=>{var T=Fe();W(()=>{var S;return _e(T,(S=e.brandingInfo)==null?void 0:S.app_name)}),x(E,T)},$$slots:{default:!0}})};H(h,w=>{o(n)===null&&w(k)})}var P=U(p,2);{var b=w=>{var E=Px(),I=D(E);O_(I,{$$events:{click:c}}),x(w,E)};H(P,w=>{e.showCloseButton&&w(b)})}W(()=>u=ur(l,1,"rcb-header-wrapper svelte-11a99mf",null,u,{"rcb-with-close-button":e.showCloseButton})),x(r,l),he()}var Sx=R("<!> <!> <!> <!>",1);function Ix(r,e){me(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),m=J(e,"onClose",3,void 0),f=J(e,"hideBackButton",3,!1),v=J(e,"lastTaxCustomerDetailsStore",19,()=>br(null));const y=Zo(e.productDetails,e.purchaseOptionToUse);let h=te(ar(e.defaultPriceBreakdown??{currency:y.currency,totalAmountInMicros:y.amountMicros,totalExcludingTaxInMicros:y.amountMicros,taxCalculationStatus:"unavailable",taxAmountInMicros:null,taxBreakdown:null}));ir(()=>{const P=Zo(e.productDetails,e.purchaseOptionToUse);F(h,e.defaultPriceBreakdown??{currency:P.currency,totalAmountInMicros:P.amountMicros,totalExcludingTaxInMicros:P.amountMicros,taxCalculationStatus:"unavailable",taxAmountInMicros:null,taxBreakdown:null},!0)});const k=P=>{F(h,P,!0)};fc(r,{get brandingInfo(){return e.brandingInfo},get isInElement(){return e.isInElement},get isSandbox(){return e.isSandbox},get onClose(){return m()},navbarHeaderContent:E=>{{let I=g(()=>!e.isInElement&&!!m()&&!f());N_(E,{get brandingInfo(){return e.brandingInfo},get onClose(){return m()},get showCloseButton(){return o(I)}})}},navbarBodyContent:E=>{{let I=g(()=>{var T,S;return((S=(T=e.brandingInfo)==null?void 0:T.appearance)==null?void 0:S.show_product_description)??!1});T0(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=Sx(),T=ie(I);{var S=O=>{W1(O)};H(T,O=>{e.currentPage==="payment-entry-loading"&&O(S)})}var A=U(T,2);{var C=O=>{v1(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 v()}})};H(A,O=>{e.currentPage==="payment-entry"&&O(C)})}var N=U(A,2);{var q=O=>{{let z=g(()=>{var V;return((V=e.brandingInfo)==null?void 0:V.support_email)??null}),M=g(()=>{var V;return((V=e.brandingInfo)==null?void 0:V.app_name)??null});ss(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)}})}};H(N,O=>{e.currentPage==="error"&&O(q)})}var j=U(N,2);{var Z=O=>{ls(O,{get onContinue(){return e.onContinue}})};H(j,O=>{e.currentPage==="success"&&O(Z)})}x(E,I)},$$slots:{navbarHeaderContent:!0,navbarBodyContent:!0,mainContent:!0}}),he()}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 Cx(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 Ke(qe.ConfigurationError,e)}}function Tx(r,e,t){const n=t==null?void 0:t.selected_purchase_option;return n?yh(r.productType,n)??e:e}function Dx(r,e){var X;me(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(ar(c?void 0:e.customerEmail)),u=ar(e.rcPackage.webBillingProduct),d=te(null);const _=br(null);let p=g(()=>Tx(u,e.purchaseOption,o(d))),m=te(null),f=te(ar(i()??"")),v=te(null),y=te(!1),h=te(!1),k=te("payment-entry-loading"),P=te(null),b=te(ar({})),w=te(null),E=te(void 0),I=g(()=>{var B,oe,Q;return((Q=(oe=(B=o(d))==null?void 0:B.applied_discounts)==null?void 0:oe[0])==null?void 0:Q.discount_code)??null}),T=g(()=>{var B,oe;return{...o(b),...(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 xn(t(),e.selectedLocale,e.defaultLocale),q=br(N);const j=br(((X=e.brandingInfo)==null?void 0:X.appearance)??null);mr(hr,q),mr(Wn,j),kr(()=>{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")}),Nt(()=>{if(!e.isInElement){const B=(oe,Q,ue)=>{ue===""?oe.style.removeProperty(Q):oe.style.setProperty(Q,ue)};B(document.documentElement,"height",o(S)),B(document.body,"height",o(C)),B(document.documentElement,"overflow",o(A))}}),mr(Ho,e.eventsTracker);let Z=ar(typeof e.purchases._shouldForceEnableWalletMethods=="function"?e.purchases._shouldForceEnableWalletMethods():!1);const O=(B,oe,Q)=>{const ue=B.identifier??null;return ue===null?Promise.reject(new fe(ve.ErrorSettingUpPurchase,"Product ID was not set before purchase.")):e.purchaseOperationHelper.checkoutStart({appUserId:e.appUserId,productId:ue,purchaseOption:oe,presentedOfferingContext:B.presentedOfferingContext,customerEmail:Q,metadata:e.metadata,workflowPurchaseContext:e.workflowPurchaseContext,attributionMetadata:e.attributionMetadata,paywallId:e.paywallId,paywallSessionId:e.paywallSessionId,locale:e.selectedLocale}).then(ge=>({result:ge,emailToUse:Q})).catch(ge=>{if(ge.errorCode!==ve.MissingEmailError)throw ge;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(re=>({result:re,emailToUse:void 0}))})},z=B=>B?B===wn.invalid_tax_location?"pending":"disabled":"calculated",M=B=>B instanceof fe&&[ve.StripeTaxNotActive,ve.StripeInvalidTaxOriginAddress,ve.StripeMissingRequiredPermission].includes(B.errorCode),V=()=>{const B=Ao(_);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)};kr(async()=>{try{const{result:B,emailToUse:oe}=await O(u,o(p),o(l));if(F(m,null),F(l,oe,!0),F(b,B.gateway_params,!0),F(w,B.management_url,!0),i())try{const Q=await e.purchaseOperationHelper.checkoutRefreshPricing({...V(),discountCode:i()});L(Q)}catch(Q){if(M(Q))throw Q;if(a())F(v,Q instanceof Error?Q.message:"Failed to apply discount code.",!0);else throw Q instanceof fe?Q:new fe(ve.ErrorSettingUpPurchase,"Failed to apply discount code.")}F(k,"payment-entry")}catch(B){pe(B instanceof fe?B:new fe(ve.UnknownError,B instanceof Error?B.message:String(B)))}});const K=B=>{F(f,B,!0),F(v,null)},ee=B=>{F(h,B,!0)},se=async B=>{var Q;const oe=(B==null?void 0:B.trim())||null;if(B!==null&&oe===null){F(v,"Enter a discount code.");return}F(y,!0),F(v,null);try{const ue=await e.purchaseOperationHelper.checkoutRefreshPricing({...V(),discountCode:oe});L(ue),F(f,oe??"",!0),F(m,null),(Q=e.onDiscountCodeChanged)==null||Q.call(e,oe)}catch(ue){if(M(ue)){pe(ue);return}F(v,ue instanceof Error?ue.message:"Failed to apply discount code.",!0)}finally{F(y,!1)}},ne=async()=>{await se(o(f))},le=async()=>{await se(null)},ce=()=>{if(o(k)==="payment-entry"){e.purchaseOperationHelper.pollCurrentPurchaseForCompletion().then(B=>{F(P,B,!0),n()?e.onFinished(B):F(k,"success")}).catch(B=>{pe(B)});return}if(o(k)==="success"||o(k)==="error"){e.onFinished(o(P));return}F(k,"success")},pe=B=>{const oe=n_({errorCode:B.getErrorCode().toString(),errorMessage:B.message});e.eventsTracker.trackSDKEvent(oe),F(m,B,!0),F(k,"error")},Y=()=>{e.onError(o(m)??new fe(ve.UnknownError,"Unknown error without state set."))};{let B=g(()=>e.purchases.isSandbox()),oe=g(()=>o(k)==="payment-entry"&&!o(h)),Q=g(()=>o(l)??null);Ix(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(m)},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(f)},get appliedDiscountCode(){return o(I)},get discountCodeError(){return o(v)},get isUpdatingDiscountCode(){return o(y)},get isDiscountCodeControlsEnabled(){return o(oe)},get forceEnableWalletMethods(){return Z},get customerEmail(){return o(Q)},get defaultPriceBreakdown(){return o(E)},closeWithError:Y,onDraftDiscountCodeChange:K,onApplyDiscountCode:ne,onRemoveDiscountCode:le,onPaymentProcessingChange:ee,onSessionPricingUpdated:L,onContinue:ce,onError:pe,get onClose(){return e.onClose},get hideBackButton(){return s()},get lastTaxCustomerDetailsStore(){return _}})}he()}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 Ax(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 Fx(r,e,t){return(e=qx(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){Fx(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=zx(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 zx(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,V){return z[M]=V}}function d(O,z,M,V){var L=z&&z.prototype instanceof h?z:h,K=Object.create(L.prototype),ee=new j(V||[]);return a(K,"_invoke",{value:A(O,M,ee)}),K}function _(O,z,M){try{return{type:"normal",arg:O.call(z,M)}}catch(V){return{type:"throw",arg:V}}}e.wrap=d;var p="suspendedStart",m="suspendedYield",f="executing",v="completed",y={};function h(){}function k(){}function P(){}var b={};u(b,s,function(){return this});var w=Object.getPrototypeOf,E=w&&w(w(Z([])));E&&E!==t&&n.call(E,s)&&(b=E);var I=P.prototype=h.prototype=Object.create(b);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,ee,se){var ne=_(O[L],O,K);if(ne.type!=="throw"){var le=ne.arg,ce=le.value;return ce&&typeof ce=="object"&&n.call(ce,"__await")?z.resolve(ce.__await).then(function(pe){M("next",pe,ee,se)},function(pe){M("throw",pe,ee,se)}):z.resolve(ce).then(function(pe){le.value=pe,ee(le)},function(pe){return M("throw",pe,ee,se)})}se(ne.arg)}var V;a(this,"_invoke",{value:function(L,K){function ee(){return new z(function(se,ne){M(L,K,se,ne)})}return V=V?V.then(ee,ee):ee()}})}function A(O,z,M){var V=p;return function(L,K){if(V===f)throw Error("Generator is already running");if(V===v){if(L==="throw")throw K;return{value:r,done:!0}}for(M.method=L,M.arg=K;;){var ee=M.delegate;if(ee){var se=C(ee,M);if(se){if(se===y)continue;return se}}if(M.method==="next")M.sent=M._sent=M.arg;else if(M.method==="throw"){if(V===p)throw V=v,M.arg;M.dispatchException(M.arg)}else M.method==="return"&&M.abrupt("return",M.arg);V=f;var ne=_(O,z,M);if(ne.type==="normal"){if(V=M.done?v:m,ne.arg===y)continue;return{value:ne.arg,done:M.done}}ne.type==="throw"&&(V=v,M.method="throw",M.arg=ne.arg)}}}function C(O,z){var M=z.method,V=O.iterator[M];if(V===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=_(V,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,V=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 V.next=V}}throw new TypeError(typeof O+" is not iterable")}return k.prototype=P,a(I,"constructor",{value:P,configurable:!0}),a(P,"constructor",{value:k,configurable:!0}),k.displayName=u(P,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,P):(O.__proto__=P,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,V,L){L===void 0&&(L=Promise);var K=new S(d(O,z,M,V),L);return e.isGeneratorFunction(z)?K:K.next().then(function(ee){return ee.done?ee.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 V in z)M.push(V);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,le){return K.type="throw",K.arg=O,z.next=ne,le&&(z.method="next",z.arg=r),!!le}for(var V=this.tryEntries.length-1;V>=0;--V){var L=this.tryEntries[V],K=L.completion;if(L.tryLoc==="root")return M("end");if(L.tryLoc<=this.prev){var ee=n.call(L,"catchLoc"),se=n.call(L,"finallyLoc");if(ee&&se){if(this.prev<L.catchLoc)return M(L.catchLoc,!0);if(this.prev<L.finallyLoc)return M(L.finallyLoc)}else if(ee){if(this.prev<L.catchLoc)return M(L.catchLoc,!0)}else{if(!se)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 V=this.tryEntries[M];if(V.tryLoc<=this.prev&&n.call(V,"finallyLoc")&&this.prev<V.finallyLoc){var L=V;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 V=M.completion;if(V.type==="throw"){var L=V.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 Mx(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 qx(r){var e=Mx(r,"string");return typeof e=="symbol"?e:e+""}var Jo={CLASSIC:"classic",V1:"v1"},Ox=Jo.V1,Lx="https://cdn.paddle.com/paddle/paddle.js",Nx="https://cdn.paddle.com/paddle/v2/paddle.js",jx={url:Lx},Bx={url:Nx};function Rx(r){return document.querySelector('script[src="'.concat(r,'"]'))||void 0}function Ux(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},Vx={classic:"PaddleClassic",v1:"PaddleBillingV1"};function Hx(r){var e,t=(e=Wx(r))===null||e===void 0?void 0:e.url;if(t){var n=vc[r],a=Vx[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=Rx(t);c||(c=Ux(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 Wx(r){if(r===Jo.CLASSIC)return jx;if(r===Jo.V1)return Bx;console.error("[Paddle] Unknown Paddle Version")}var Yx=["environment","version"],Gx=["environment","version"];function Kx(r,e){var t=r.environment;r.version;var n=U_(r,Yx);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 Xx(r,e){var t=r.environment;r.version;var n=U_(r,Gx);try{t&&e.Environment.set(t),e.Setup(mc({},n))}catch(a){console.warn("[Paddle] Paddle Initialization failed. Please check the inputs",a)}}var Qa;(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"})(Qa||(Qa={}));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 Zx(r){return yc.apply(this,arguments)}function yc(){return yc=Ax(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)||Ox,i.next=3,Hx(t);case 3:if(n=i.sent,!n){i.next=9;break}return e&&(t===Jo.V1?Kx(e,n):t===Jo.CLASSIC&&Xx(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",Jx=450,Qx="width:100%; min-width:312px; background-color:transparent; border:none;";function $x({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:G_,frameInitialHeight:Jx,frameStyle:Qx}:{...s,displayMode:"overlay"};return{transactionId:r,settings:c,...t&&{customer:{email:t}}}}class eE{constructor(e,t,n=30){$(this,"paddleInstance");$(this,"backend");$(this,"eventsTracker");$(this,"maxNumberAttempts");$(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 Zx({token:e,version:"v1",environment:n});if(!i)throw new fe(ve.UnknownError,"Paddle client not found");return this.paddleInstance=i,xe.debugLog(`Paddle initialized with environment: ${n}`),i}catch(i){throw i instanceof fe?i:new fe(ve.UnknownError,`Error initializing Paddle: ${i}`)}}getPaddleInstance(){var e;if(!((e=this.paddleInstance)!=null&&e.Initialized))throw new fe(ve.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,m=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(m.paddle_billing_params.client_side_token,m.paddle_billing_params.is_sandbox),m}catch(d){throw d instanceof Ke?fe.fromPurchasesError(d,ve.ErrorSettingUpPurchase,d.errorCode===qe.InvalidCredentialsError):new fe(ve.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 _=this.getPaddleInstance(),{customerEmail:p,locale:m="en"}=i,f=v=>{var y,h,k;if(u&&(v!=null&&v.totals)){const P=(y=v.items)==null?void 0:y[0];u({currencyCode:v.currency_code,subtotalAmount:v.totals.subtotal,taxAmount:v.totals.tax,totalAmount:v.totals.total,recurringTotalAmount:((h=v.recurring_totals)==null?void 0:h.total)??null,productName:((k=P==null?void 0:P.product)==null?void 0:k.name)??null,priceName:(P==null?void 0:P.price_name)??null})}};return new Promise((v,y)=>{_.Update({eventCallback:async k=>{const P=k.name,b=k.data;try{if(P===Qa.CHECKOUT_LOADED)n(),f(b);else if(P===Qa.CHECKOUT_UPDATED)f(b);else if(P===Qa.CHECKOUT_COMPLETED){d==null||d(),_.Checkout.close();const w=await this.pollOperationStatus(e);v(w)}else P===Qa.CHECKOUT_CLOSED&&(b!=null&&b.status)&&a()}catch(w){_.Checkout.close(),w instanceof fe?y(w):w instanceof Ke?y(fe.fromPurchasesError(w,ve.UnknownError)):y(new fe(ve.UnknownError,`Paddle event handler error: ${w}`))}}});const h=$x({transactionId:t,locale:m,customerEmail:p,checkoutSettings:s,displayMode:c,theme:l});try{_.Checkout.open(h)}catch(k){y(new fe(ve.UnknownError,`Failed to open Paddle checkout: ${k}`))}})}async pollOperationStatus(e){if(!e)throw new fe(ve.ErrorSettingUpPurchase,"No purchase in progress");return new Promise((t,n)=>{const a=(i=1)=>{if(i>this.maxNumberAttempts){n(new fe(ve.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 fe(ve.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 kn.Failed:dd(s.operation.error,n)}}).catch(s=>{if(s instanceof Ke){const c=fe.fromPurchasesError(s,ve.NetworkError);n(c)}else n(new fe(ve.NetworkError,`Failed to get checkout status: ${s}`))})};a()})}}const us=(r,e)=>r instanceof fe?r:r instanceof Ke?fe.fromPurchasesError(r,ve.UnknownError):new fe(ve.UnknownError,e);var rE=R('<!> <div class="rcb-fullscreen-wrapper svelte-skuziz"><div class="rcb-fullscreen-content svelte-skuziz"><!></div></div>',1);const tE={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){me(e,!0),Pe(r,tE);const t=()=>Re(i,"$brandingAppearanceStore",n),[n,a]=Ze(),i=He(Wn),s=g(()=>{var u;return t()??((u=e.brandingInfo)==null?void 0:u.appearance)??null}),c=g(()=>new Gn(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});z_(r,{get brandingAppearance(){return o(s)},get brandFontConfig(){return o(u)},get isInElement(){return e.isInElement},children:(d,_)=>{var p=rE(),m=ie(p);{var f=k=>{L_(k,{get style(){return o(c)},get isInElement(){return e.isInElement},get brandingInfo(){return e.brandingInfo}})};H(m,k=>{e.isSandbox&&k(f)})}var v=U(m,2),y=D(v),h=D(y);xr(h,()=>e.mainContent??tr),W(()=>Le(v,`${o(c)??""}; background-color: ${o(l)??""}`)),x(d,p)},$$slots:{default:!0}})}he(),a()}var nE=R("<!> <!> <!>",1),aE=R('<div class="rcb-ui-loading-container svelte-1r889ax"><!></div>');const oE={hash:"svelte-1r889ax",code:".rcb-ui-loading-container.svelte-1r889ax {display:flex;flex-direction:column;align-items:center;}"};function iE(r,e){me(e,!0),Pe(r,oE);const t=()=>Re(i,"$translator",n),[n,a]=Ze(),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=ie(l);{var d=p=>{var m=aE(),f=D(m);Vo(f,{gap:"medium",align:"center",children:(v,y)=>{var h=nE(),k=ie(h);Qi(k,{color:"var(--rc-color-grey-text-dark)"});var P=U(k,2);Te(P,{size:"heading-md",children:(w,E)=>{var I=Fe();W(T=>_e(I,T),[()=>t().translate(de.LoadingPageProcessingPayment)]),x(w,I)},$$slots:{default:!0}});var b=U(P,2);Te(b,{size:"body-small",children:(w,E)=>{var I=Fe();W(T=>_e(I,T),[()=>t().translate(de.LoadingPageKeepPageOpen)]),x(w,I)},$$slots:{default:!0}}),x(v,h)},$$slots:{default:!0}}),x(p,m)},_=p=>{var m=Se(),f=ie(m);{var v=h=>{ls(h,{get onContinue(){return e.onContinue},fullWidth:!0})},y=h=>{var k=Se(),P=ie(k);{var b=w=>{{let E=g(()=>{var T;return((T=e.brandingInfo)==null?void 0:T.support_email)??null}),I=g(()=>{var T;return((T=e.brandingInfo)==null?void 0:T.app_name)??null});ss(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})}};H(P,w=>{e.currentPage==="error"&&w(b)},!0)}x(h,k)};H(f,h=>{e.currentPage==="success"?h(v):h(y,!1)},!0)}x(p,m)};H(u,p=>{e.currentPage==="loading"?p(d):p(_,!1)})}x(c,l)},$$slots:{mainContent:!0}}),he(),a()}function ds(r,e,t){return t.formatPrice(Di(r,e),e)}function X_(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:ds(r.amountMicros*n.perDay,r.currency,t),pricePerWeek:ds(r.amountMicros*n.perWeek,r.currency,t),pricePerMonth:ds(r.amountMicros*n.perMonth,r.currency,t),pricePerYear:ds(r.amountMicros*n.perYear,r.currency,t)}}function sE(r){return r.cycleCount>0?r.cycleCount:1}function lE(r){return"durationMode"in r&&r.durationMode==="forever"}function cE(r){return"durationMode"in r&&r.durationMode==="time_window"}function uE(r,e){return cE(e)?r.base.period:e.period}function Z_(r){return r.period===null||lE(r)?null:{number:r.period.number*sE(r),unit:r.period.unit}}function dE(r,e){const t=zo(new Date,r,!0);return t?e.translateDate(t,{dateStyle:"long"})??"":""}function pE(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=Z_(n),s=uE(r,n),{price:c}=n;if(c!==null){const l=X_(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"]=dE(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 _E(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 gE=R('<span class="rcb-paddle-summary-muted svelte-1k1pux8">inc. tax</span>'),fE=R('<span class="rcb-paddle-summary-muted rcb-paddle-summary-price-name svelte-1k1pux8"> </span>'),mE=R('<span class="rcb-paddle-summary-muted svelte-1k1pux8"> </span>'),hE=R('<div class="rcb-paddle-summary-row svelte-1k1pux8"><span class="rcb-paddle-summary-muted svelte-1k1pux8"> </span> <span> </span></div>'),vE=R('<div class="rcb-paddle-summary-row svelte-1k1pux8"><span class="rcb-paddle-summary-muted svelte-1k1pux8"> </span> <span> </span></div>'),yE=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>'),bE=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 kE={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
412
  /* 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;}
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 wE(r,e){var ge;me(e,!0),Pe(r,kE);const t=()=>Re(i,"$translator",n),[n,a]=Ze(),i=He(hr),c=new Gn(((ge=e.brandingInfo)==null?void 0:ge.appearance)??null).formColors.background,l=re=>"base"in re,u=g(()=>l(e.purchaseOption)?e.purchaseOption:null),d=g(()=>{var re;return((re=o(u))==null?void 0:re.base.period)??null}),_=g(()=>{var re,Ee,Ce;return((re=o(u))==null?void 0:re.discount)??((Ee=o(u))==null?void 0:Ee.trial)??((Ce=o(u))==null?void 0:Ce.introPrice)??null}),p=g(()=>(o(_)?Z_(o(_)):null)??o(d)),m=g(()=>{var re;return(re=o(u))!=null&&re.trial&&!o(u).discount?o(u).introPrice??null:null}),f=g(()=>o(m)!==null),v=re=>Math.round(re*1e6),y=g(()=>Zo(e.productDetails,e.purchaseOption)),h=g(()=>{var re;return((re=e.totals)==null?void 0:re.currencyCode)??o(y).currency}),k=g(()=>e.totals?v(e.totals.totalAmount):o(y).amountMicros),P=g(()=>{var re;return((re=e.totals)==null?void 0:re.recurringTotalAmount)!=null&&!o(f)?v(e.totals.recurringTotalAmount):null}),b=g(()=>o(P)!==null&&o(P)!==o(k)),w=re=>t().formatPrice(re,o(h)),E=g(()=>o(d)?t().translatePeriodUnit(o(d).unit):null),I=g(()=>o(d)?t().translatePeriodFrequency(o(d).number,o(d).unit):null),T=g(()=>fh(o(p),t(),{collapseSingularInEnglish:!0})),S=g(()=>o(I)?o(b)&&o(T)?`first ${o(T)}, then ${w(o(P))} ${o(I)}`:`billed ${o(I)}`:null),A=g(()=>{var re;return((re=e.totals)==null?void 0:re.productName)??e.productDetails.title}),C=g(()=>{var re;return((re=e.totals)==null?void 0:re.priceName)??null}),N=g(()=>!!e.totals&&e.totals.taxAmount>0),q=g(()=>{if(o(P)===null||!o(p))return null;const re=zo(new Date,o(p),!0);return re?re.toLocaleDateString(ga(t().selectedLocale),{day:"numeric",month:"long",year:"numeric"}):null});var j=bE(),Z=D(j),O=D(Z),z=D(O),M=D(z),V=U(z,2);{var L=re=>{var Ee=gE();x(re,Ee)};H(V,re=>{o(N)&&re(L)})}var K=U(O,2);{var ee=re=>{Te(re,{size:"body-small",children:(Ee,Ce)=>{var De=Fe();W(()=>_e(De,o(S))),x(Ee,De)},$$slots:{default:!0}})};H(K,re=>{o(S)&&re(ee)})}var se=U(K,2),ne=D(se);Te(ne,{size:"body-base",children:(re,Ee)=>{var Ce=Fe();W(()=>_e(Ce,o(A))),x(re,Ce)},$$slots:{default:!0}});var le=U(ne,2);{var ce=re=>{var Ee=fE(),Ce=D(Ee);W(()=>_e(Ce,o(C))),x(re,Ee)};H(le,re=>{o(C)&&re(ce)})}var pe=U(le,2),Y=D(pe),X=D(Y),B=U(Y,2);{var oe=re=>{var Ee=mE(),Ce=D(Ee);W(()=>_e(Ce,`/ ${o(E)??""}`)),x(re,Ee)};H(B,re=>{o(E)&&re(oe)})}var Q=U(Z,2);{var ue=re=>{var Ee=yE(),Ce=D(Ee),De=D(Ce),be=D(De),ze=U(De,2),Me=D(ze),Ae=U(Ce,2);{var ke=qr=>{var Kr=hE(),Or=D(Kr),Ut=D(Or),er=U(Or,2),yr=D(er);W((Mt,co)=>{_e(Ut,Mt),_e(yr,co)},[()=>t().translate(de.PricingTableTax),()=>w(v(e.totals.taxAmount))]),x(qr,Kr)};H(Ae,qr=>{o(N)&&qr(ke)})}var Xe=U(Ae,4),$e=D(Xe),ye=D($e),Ve=U($e,2),fr=D(Ve),Sr=U(Xe,2);{var Mr=qr=>{var Kr=vE(),Or=D(Kr),Ut=D(Or),er=U(Or,2),yr=D(er);W(Mt=>{_e(Ut,`Due on ${o(q)??""}`),_e(yr,Mt)},[()=>w(o(P))]),x(qr,Kr)};H(Sr,qr=>{o(P)!==null&&o(q)&&qr(Mr)})}W((qr,Kr,Or,Ut)=>{_e(be,qr),_e(Me,Kr),_e(ye,Or),_e(fr,Ut)},[()=>t().translate(de.PricingTableSubtotal),()=>w(v(e.totals.subtotalAmount)),()=>t().translate(de.PricingTableTotalDueToday),()=>w(v(e.totals.totalAmount))]),x(re,Ee)};H(Q,re=>{e.totals&&re(ue)})}W((re,Ee)=>{Le(j,`--rcb-card-bg: ${c??""};`),_e(M,re),_e(X,Ee)},[()=>w(o(k)),()=>w(o(P)??o(k))]),x(r,j),he(),a()}var PE=R('<button type="button" class="rcb-paddle-return-button svelte-5dakll" data-testid="paddle-return-button"><!> <span> </span></button>'),xE=R("<!> <!> <!>",1),EE=R('<div class="rcb-paddle-processing svelte-5dakll"><!></div>'),SE=R('<div data-testid="paddle-inline-checkout-container" style="width: 100%; min-height: 450px;"></div>');const IE={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 CE(r,e){var l;me(e,!0),Pe(r,IE);const t=()=>Re(s,"$translator",n),[n,a]=Ze(),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 m=Se(),f=ie(m);{var v=y=>{var h=PE();h.__click=function(...w){var E;(E=e.onClose)==null||E.apply(this,w)};var k=D(h);Kn(k,{name:"back"});var P=U(k,2),b=D(P);W(()=>_e(b,c?`Return to ${c}`:"Back")),x(y,h)};H(f,y=>{!e.isInElement&&!i()&&y(v)})}x(p,m)},navbarBodyContent:p=>{wE(p,{get brandingInfo(){return e.brandingInfo},get productDetails(){return e.productDetails},get purchaseOption(){return e.purchaseOption},get totals(){return e.totals}})},mainContent:p=>{var m=Se(),f=ie(m);{var v=h=>{ls(h,{get onContinue(){return e.onContinue}})},y=h=>{var k=Se(),P=ie(k);{var b=E=>{{let I=g(()=>{var S;return((S=e.brandingInfo)==null?void 0:S.support_email)??null}),T=g(()=>{var S;return((S=e.brandingInfo)==null?void 0:S.app_name)??null});ss(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=ie(I);{var S=C=>{var N=EE(),q=D(N);Vo(q,{gap:"medium",align:"center",children:(j,Z)=>{var O=xE(),z=ie(O);Qi(z,{color:"var(--rc-color-grey-text-dark)"});var M=U(z,2);Te(M,{size:"heading-md",children:(L,K)=>{var ee=Fe();W(se=>_e(ee,se),[()=>t().translate(de.LoadingPageProcessingPayment)]),x(L,ee)},$$slots:{default:!0}});var V=U(M,2);Te(V,{size:"body-small",children:(L,K)=>{var ee=Fe();W(se=>_e(ee,se),[()=>t().translate(de.LoadingPageKeepPageOpen)]),x(L,ee)},$$slots:{default:!0}}),x(j,O)},$$slots:{default:!0}}),x(C,N)},A=C=>{var N=SE();W(()=>ur(N,1,pa(G_),"svelte-5dakll")),x(C,N)};H(T,C=>{e.checkoutCompleted?C(S):C(A,!1)},!0)}x(E,I)};H(P,E=>{e.currentPage==="error"?E(b):E(w,!1)},!0)}x(h,k)};H(f,h=>{e.currentPage==="success"?h(v):h(y,!1)})}x(p,m)},$$slots:{navbarHeaderContent:!0,navbarBodyContent:!0,mainContent:!0}}),he(),a()}Zt(["click"]);function TE(r,e){var N,q,j;me(e,!0);const t=J(e,"customTranslations",19,()=>({})),n=J(e,"skipSuccessPage",3,!1),a=J(e,"hideBackButton",3,!1);let i=new xn(t(),e.selectedLocale,e.defaultLocale),s=br(i);const c=br(((N=e.brandingInfo)==null?void 0:N.appearance)??null);mr(hr,s),mr(Wn,c),mr(Ho,e.eventsTracker);let l=te(!1),u=te(null),d=te(null),_=te("waiting"),p=te(!1),m=te(null);const f=g(()=>{var Z;return((Z=o(m))==null?void 0:Z.paddle_billing_params.inline_checkout_enabled)??!1});let v=te(null);const y=Z=>{F(v,Z,!0)},h=TP(((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))},P=()=>{e.paddleService.closeCheckout(),e.onClose()},b=()=>{e.onError(o(d)??new fe(ve.UnknownError,"Unknown error without state set.")),e.unmountPaddlePurchaseUi()};let w=null,E=null,I=null;kr(async()=>{var V;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(m,M,!0),F(l,M.paddle_billing_params.is_sandbox,!0),o(f)&&await Bu()}catch(L){const K=us(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:(V=M.paddle_billing_params)==null?void 0:V.transaction_id,onCheckoutLoaded:Z,onClose:e.onClose,checkoutSettings:M.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:h,onCheckoutTotals:y,onCheckoutCompleted:O}});n()?e.onFinished(L):(F(u,L,!0),F(_,"success"))}catch(L){const K=us(L,`Paddle purchase failed: ${L}`);F(d,K,!0),F(_,"error"),e.onError(K)}}),Nt(()=>{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=ie(T);{var A=Z=>{CE(Z,{get brandingInfo(){return e.brandingInfo},get isSandbox(){return o(l)},get isInElement(){return e.isInElement},onClose:P,get hideBackButton(){return a()},get productDetails(){return e.productDetails},get purchaseOption(){return e.purchaseOption},get totals(){return o(v)},get currentPage(){return o(_)},get checkoutCompleted(){return o(p)},get lastError(){return o(d)},onContinue:k,closeWithError:b})},C=Z=>{var O=Se(),z=ie(O);{var M=V=>{iE(V,{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:b})};H(z,V=>{o(_)!=="waiting"&&V(M)},!0)}x(Z,O)};H(S,Z=>{o(f)?Z(A):Z(C,!1)})}x(r,T),he()}var DE=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 AE={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 FE(r,e){me(e,!0),Pe(r,AE);let t,n=null;async function a(){try{e.onContinue()}catch(c){e.onError(c instanceof fe?c:new fe(ve.ErrorSettingUpPurchase,c instanceof Error?c.message:"Failed to complete checkout"))}}kr(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 fe(ve.ErrorSettingUpPurchase,c.message):new fe(ve.ErrorSettingUpPurchase,"Failed to initialize Stripe Checkout"))}}),Nt(()=>{n&&(n.destroy(),n=null)});var i=DE(),s=D(i);_a(s,c=>t=c,()=>t),x(r,i),he()}var zE=R('<div class="stripe-checkout-wrapper svelte-zapbpj"><!></div>'),ME=R("<!> <!>",1),qE=R("<!> <!>",1),OE=R('<div class="rcb-ui-loading-container svelte-zapbpj"><!></div>');const LE={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
414
 
415
415
  /* 991px is the breakpoint for the mobile layout in Stripe Checkout */
416
416
  @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);}
417
+ }`};function NE(r,e){me(e,!0),Pe(r,LE);const t=()=>Re(s,"$brandingAppearanceStore",a),n=()=>Re(d,"$translator",a),[a,i]=Ze(),s=He(Wn),c=g(()=>t()??void 0),l=g(()=>new Gn(o(c)).pageStyleVars),u=g(()=>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 m=Se(),f=ie(m);{var v=h=>{var k=Se(),P=ie(k);{var b=w=>{var E=zE(),I=D(E);FE(I,{get stripeBillingParams(){return e.stripeBillingParams},get onContinue(){return e.onContinue},get onError(){return e.onError}}),W(()=>Le(E,`${o(l)??""}; background-color: ${o(u)??""}`)),x(w,E)};H(P,w=>{e.stripeBillingParams&&w(b)})}x(h,k)},y=h=>{var k=Se(),P=ie(k);{var b=E=>{var I=OE(),T=D(I);Vo(T,{gap:"medium",align:"center",children:(S,A)=>{var C=qE(),N=ie(C);Qi(N,{color:"var(--rc-color-grey-text-dark)"});var q=U(N,2);{var j=Z=>{var O=ME(),z=ie(O);Te(z,{size:"heading-md",children:(V,L)=>{var K=Fe();W(ee=>_e(K,ee),[()=>n().translate(de.LoadingPageProcessingPayment)]),x(V,K)},$$slots:{default:!0}});var M=U(z,2);Te(M,{size:"body-small",children:(V,L)=>{var K=Fe();W(ee=>_e(K,ee),[()=>n().translate(de.LoadingPageKeepPageOpen)]),x(V,K)},$$slots:{default:!0}}),x(Z,O)};H(q,Z=>{e.currentPage==="purchasing"&&Z(j)})}x(S,C)},$$slots:{default:!0}}),x(E,I)},w=E=>{var I=Se(),T=ie(I);{var S=C=>{ls(C,{get onContinue(){return e.onContinue},fullWidth:!0})},A=C=>{var N=Se(),q=ie(N);{var j=Z=>{{let O=g(()=>{var M;return((M=e.brandingInfo)==null?void 0:M.support_email)??null}),z=g(()=>{var M;return((M=e.brandingInfo)==null?void 0:M.app_name)??null});ss(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})}};H(q,Z=>{e.currentPage==="error"&&Z(j)},!0)}x(C,N)};H(T,C=>{e.currentPage==="success"?C(S):C(A,!1)},!0)}x(E,I)};H(P,E=>{e.currentPage==="loading"||e.currentPage==="purchasing"?E(b):E(w,!1)},!0)}x(h,k)};H(f,h=>{e.currentPage==="stripe-checkout"?h(v):h(y,!1)})}x(p,m)},$$slots:{mainContent:!0}}),he(),i()}function jE(r,e){var P;me(e,!0);const t=J(e,"customTranslations",19,()=>({})),n=J(e,"skipSuccessPage",3,!1);let a=e.rcPackage.webBillingProduct,i=new xn(t(),e.selectedLocale,e.defaultLocale),s=br(i);mr(hr,s),mr(Ho,e.eventsTracker);const c=br(((P=e.brandingInfo)==null?void 0:P.appearance)??null);mr(Wn,c);let l=te(!1),u=te(null),d=te(null),_=te("loading"),p=te(null);const m=()=>{if(o(_)==="stripe-checkout"){F(_,"purchasing"),e.purchaseOperationHelper.pollCurrentPurchaseForCompletion().then(b=>{F(u,b,!0),n()?e.onFinished(b):F(_,"success")}).catch(b=>{f(us(b,"Failed to complete purchase"))});return}o(_)==="success"&&o(u)&&e.onFinished(o(u))},f=b=>{F(d,b,!0),F(_,"error")},v=()=>{e.onError(o(d)??new fe(ve.UnknownError,"Unknown error without state set."))};let y=null,h=null,k=null;kr(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 b=a.identifier;if(!b){f(new fe(ve.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:b,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){f(new fe(ve.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){f(us(I,"Failed to start Stripe Checkout"))}}),Nt(()=>{if(!e.isInElement){const b=(w,E,I)=>{I===""?w.style.removeProperty(E):w.style.setProperty(E,I)};b(document.documentElement,"height",y),b(document.body,"height",k),b(document.documentElement,"overflow",h)}}),NE(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:m,onError:f,closeWithError:v}),he()}class BE{constructor(e){$(this,"operationSessionId",null);$(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.",ve.ErrorSettingUpPurchase)}}getStartResponse(){return this.startResponse}async confirm(e){if(!this.operationSessionId)throw new fe(ve.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.",ve.ErrorChargingPayment)}}toFlowError(e,t,n){return e instanceof fe?e:e instanceof Ke?fe.fromPurchasesError(e,n):new fe(ve.UnknownError,t,e instanceof Error?e.message:String(e))}}var RE=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 UE={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
418
 
419
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;}
420
+ }`};function VE(r,e){me(e,!0),Pe(r,UE);const t=()=>Re(i,"$translator",n),[n,a]=Ze(),i=He(hr),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 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 _=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}}),p=g(()=>e.startData.change_type==="deferred"&&e.startData.estimated_renewal_price?"Estimated at next renewal":null),m=g(()=>e.startData.price_breakdown||e.startData.estimated_renewal_price?"Calculated later":null);var f=RE(),v=D(f),y=D(v),h=D(y),k=D(h);Te(k,{size:"body-base",children:(C,N)=>{var q=Fe("Upgrade from");x(C,q)},$$slots:{default:!0}});var P=U(h,2),b=D(P);Te(b,{size:"heading-lg",branded:!0,children:(C,N)=>{var q=Fe();W(()=>_e(q,`${o(s)??""} — ${o(l)??""}`)),x(C,q)},$$slots:{default:!0}});var w=U(y,2),E=D(w),I=D(E);Te(I,{size:"body-base",children:(C,N)=>{var q=Fe("Upgrade to");x(C,q)},$$slots:{default:!0}});var T=U(E,2),S=D(T);Te(S,{size:"heading-lg",branded:!0,children:(C,N)=>{var q=Fe();W(()=>_e(q,`${o(c)??""} — ${o(u)??""}`)),x(C,q)},$$slots:{default:!0}});var A=U(v,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(m)},get totalRowLabel(){return o(p)}}),x(r,f),he(),a()}var HE=R('<div class="rcb-upgrade-section svelte-1l4fjhq"><div class="rcb-upgrade-section-label svelte-1l4fjhq"><!></div> <!></div>'),WE=R('<div class="rcb-upgrade-section svelte-1l4fjhq"><div class="rcb-upgrade-section-label svelte-1l4fjhq"><!></div> <!></div>'),YE=R('<div class="rcb-upgrade-section rcb-upgrade-section-label svelte-1l4fjhq"><!></div>'),GE=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),KE=R('<div class="rcb-upgrade-checkout svelte-1l4fjhq"><!></div>');const XE={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
421
 
422
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,
423
+ }`};function ZE(r,e){me(e,!0),Pe(r,XE);let t=te(!0),n=te(!1),a=te(null),i=te(null);const s=g(()=>{var p;return((p=e.brandingInfo)==null?void 0:p.appearance)??void 0}),c=br(new xn);mr(hr,c),kr(async()=>{try{F(a,await e.productChangeOperationHelper.start(e.newProductId,e.subscriptionId,e.productIdentifier,e.subscriberToken),!0)}catch(p){const m=p instanceof fe?p:new fe(ve.ErrorSettingUpPurchase,"Failed to load upgrade checkout.",p instanceof Error?p.message:String(p));F(i,m.message,!0),e.onError(m)}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 m=p instanceof fe?p:new fe(ve.ErrorChargingPayment,"Failed to confirm product change.",p instanceof Error?p.message:String(p));F(i,m.message,!0),e.onError(m)}finally{F(n,!1)}}}const u=g(()=>{var p;return((p=o(a))==null?void 0:p.change_type)==="deferred"?"Confirm schedule":"Pay now"}),d=g(()=>{var f;const p=(f=o(a))==null?void 0:f.payment_method;if(!p)return null;const m=p.brand??p.type;return p.last_4?`${m} •••• ${p.last_4}`:m}),_=g(()=>{var m;const p=(m=o(a))==null?void 0:m.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:v=>{{let y=g(()=>!e.isInElement);N_(v,{get brandingInfo(){return e.brandingInfo},get showCloseButton(){return o(y)},get onClose(){return e.onClose}})}},navbarBodyContent:v=>{var y=Se(),h=ie(y);{var k=P=>{VE(P,{get startData(){return o(a)}})};H(h,P=>{o(a)&&P(k)})}x(v,y)},mainContent:v=>{var y=KE(),h=D(y);{var k=b=>{Te(b,{size:"body-base",children:(w,E)=>{var I=Fe("Loading upgrade checkout…");x(w,I)},$$slots:{default:!0}})},P=b=>{var w=Se(),E=ie(w);{var I=S=>{var A=GE(),C=ie(A),N=D(C),q=D(N),j=D(q);Te(j,{size:"body-small",children:(ce,pe)=>{var Y=Fe("Email");x(ce,Y)},$$slots:{default:!0}});var Z=U(q,2);Te(Z,{size:"body-base",children:(ce,pe)=>{var Y=Fe();W(()=>_e(Y,o(a).email)),x(ce,Y)},$$slots:{default:!0}});var O=U(N,2);{var z=ce=>{var pe=HE(),Y=D(pe),X=D(Y);Te(X,{size:"body-small",children:(oe,Q)=>{var ue=Fe("Payment method");x(oe,ue)},$$slots:{default:!0}});var B=U(Y,2);Te(B,{size:"body-base",children:(oe,Q)=>{var ue=Fe();W(()=>_e(ue,o(d))),x(oe,ue)},$$slots:{default:!0}}),x(ce,pe)};H(O,ce=>{o(d)&&ce(z)})}var M=U(O,2);{var V=ce=>{var pe=WE(),Y=D(pe),X=D(Y);Te(X,{size:"body-small",children:(oe,Q)=>{var ue=Fe("Billing address");x(oe,ue)},$$slots:{default:!0}});var B=U(Y,2);Te(B,{size:"body-base",children:(oe,Q)=>{var ue=Fe();W(()=>_e(ue,o(_))),x(oe,ue)},$$slots:{default:!0}}),x(ce,pe)};H(M,ce=>{o(_)&&ce(V)})}var L=U(M,2);{var K=ce=>{var pe=YE(),Y=D(pe);Te(Y,{size:"body-small",children:(X,B)=>{var oe=Fe(`This change will take effect at the end of your current billing
424
+ period. You will not be charged now.`);x(X,oe)},$$slots:{default:!0}}),x(ce,pe)};H(L,ce=>{o(a).change_type==="deferred"&&ce(K)})}var ee=U(C,2);{var se=ce=>{Te(ce,{size:"body-base",children:(pe,Y)=>{var X=Fe();W(()=>_e(X,o(i))),x(pe,X)},$$slots:{default:!0}})};H(ee,ce=>{o(i)&&ce(se)})}var ne=U(ee,2),le=D(ne);nc(le,{get disabled(){return o(n)},onclick:l,get brandingAppearance(){return o(s)},children:(ce,pe)=>{var Y=Fe();W(()=>_e(Y,o(n)?"Confirming…":o(u))),x(ce,Y)},$$slots:{default:!0}}),x(S,A)},T=S=>{var A=Se(),C=ie(A);{var N=q=>{Te(q,{size:"body-base",children:(j,Z)=>{var O=Fe();W(()=>_e(O,o(i))),x(j,O)},$$slots:{default:!0}})};H(C,q=>{o(i)&&q(N)},!0)}x(S,A)};H(E,S=>{o(a)?S(I):S(T,!1)},!0)}x(b,w)};H(h,b=>{o(t)?b(k):b(P,!1)})}x(v,y)},$$slots:{navbarHeaderContent:!0,navbarBodyContent:!0,mainContent:!0}}),he()}function J_(r){return r==null?!0:new Date(r)>new Date}function JE(r,e,t,n){const a=e.product_identifier;if(a in t)return QE(r,e,t[a]);if(a in n)return $E(r,e,n[a]);throw new Ke(qe.CustomerInfoError,"Could not find entitlement product in subscriptions or non-subscriptions.")}function QE(r,e,t){return{identifier:r,isActive:J_(e.expires_date),willRenew:Q_(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 $E(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 eS(r,e,t){const n={},a={};for(const i in r){const s=JE(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 rS(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 bc(r){const e=nS(r),t=r.subscriber,n=oS(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:J_(l.expires_date),willRenew:Q_(l.expires_date,l),displayName:l.display_name??null,autoResumeDate:Bt(l.auto_resume_date),price:rS(l.price)}]));return{entitlements:eS(t.entitlements,t.subscriptions,n),allExpirationDatesByProduct:e,allPurchaseDatesByProduct:tS(r,n),activeSubscriptions:aS(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 Q_(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 tS(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 nS(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 aS(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 oS(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 $_="1.52.0",iS="https://api.revenuecat.com",sS="https://e.revenue.cat";var ps;(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"})(ps||(ps={}));const lS=/^rcb_[a-zA-Z0-9_.-]+$/,cS=/^pdl_[a-zA-Z0-9_.-]+$/,uS=/^test_[a-zA-Z0-9_.-]+$/,dS=/^strp_[a-zA-Z0-9_.-]+$/;function _s(r){return r?r.startsWith("rcb_sb_"):!1}function gs(r){return r?lS.test(r):!1}function kc(r){return r?cS.test(r):!1}function wc(r){return r?dS.test(r):!1}function Xn(r){return r?uS.test(r):!1}async function Jr(r,e,t){return(await eg(r,e,t)).data}async function eg(r,e,t){const{apiKey:n,body:a,headers:i,httpConfig:s}=e,l=`${(s==null?void 0:s.proxyURL)??iS}${r.urlPath()}`;try{const u=await fetch(l,{method:r.method,headers:cg(n,i,s==null?void 0:s.additionalHeaders),body:_S(a),signal:t});await pS(u,r);const d=u.status;return{data:await u.json(),statusCode:d}}catch(u){throw u instanceof TypeError?new Ke(qe.NetworkError,Va.getPublicMessage(qe.NetworkError),u.message):u}}async function pS(r,e){const t=r.status;if(t>=ps.INTERNAL_SERVER_ERROR)Pc(e,t,await r.text());else if(t>=ps.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=Va.convertCodeToBackendErrorCode(i);if(c==null)Pc(e,t,a,i);else throw Ke.getForBackendError(c,s)}else Pc(e,t,a)}}function Pc(r,e,t,n){throw new Ke(qe.UnknownBackendError,"Unknown backend error.",`Request: ${r.name}. Status code: ${e}. Body: ${t}.`,{backendErrorCode:n})}function _S(r){return r==null?null:JSON.stringify(r)}const rg="Authorization",tg="Content-Type",ng="Accept",ag="X-Platform",og="X-Version",ig="X-Platform-Flavor",sg="X-Platform-Flavor-Version",lg="X-Is-Sandbox",gS=new Set([rg,tg,ng,ag,og,lg,ig,sg]);function cg(r,e,t){let n={[rg]:`Bearer ${r}`,[tg]:"application/json",[ng]:"application/json",[ag]:"web",[og]:$_,[lg]:`${_s(r)}`};const a=hs.getPlatformInfo();if(a){const i={[ig]:a.flavor,[sg]:a.version};n={...n,...i}}return e&&(n={...n,...e}),t&&(n={...t,...n}),n}const ba="/v1/subscribers",En="/rcbilling/v1";class fS{constructor(e){$(this,"appUserId");$(this,"method","GET");$(this,"name","getOfferings");this.appUserId=e}urlPath(){const e=encodeURIComponent(this.appUserId);return`${ba}/${e}/offerings`}}class ug{constructor(e,t,n,a){$(this,"method","GET");$(this,"name","getProducts");$(this,"appUserId");$(this,"productIds");$(this,"currency");$(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`${En}/subscribers/${e}/products?id=${t}${n}${a}`}}class mS{constructor(e){$(this,"method","GET");$(this,"name","getCustomerInfo");$(this,"appUserId");this.appUserId=e}urlPath(){const e=encodeURIComponent(this.appUserId);return`${ba}/${e}`}}class hS{constructor(){$(this,"method","POST");$(this,"name","identify")}urlPath(){return`${ba}/identify`}}class vS{constructor(){$(this,"method","GET");$(this,"name","getBrandingInfo")}urlPath(){return`${En}/branding`}}class yS{constructor(){$(this,"method","POST");$(this,"name","postCheckoutPrepare")}urlPath(){return`${En}/checkout/prepare`}}class bS{constructor(){$(this,"method","POST");$(this,"name","postCheckoutStart")}urlPath(){return`${En}/checkout/start`}}class kS{constructor(e){$(this,"method","PATCH");$(this,"name","patchCheckoutRefreshPricing");$(this,"operationSessionId");this.operationSessionId=e}urlPath(){return`${En}/checkout/${this.operationSessionId}`}}class wS{constructor(e){$(this,"method","POST");$(this,"name","postCheckoutComplete");$(this,"operationSessionId");this.operationSessionId=e}urlPath(){return`${En}/checkout/${this.operationSessionId}/complete`}}class PS{constructor(e){$(this,"method","GET");$(this,"name","getCheckoutStatus");$(this,"operationSessionId");this.operationSessionId=e}urlPath(){return`${En}/checkout/${this.operationSessionId}`}}class xS{constructor(){$(this,"method","POST");$(this,"name","postSubscriptionChangeCheckoutStart")}urlPath(){return`${En}/subscription/change/checkout/start`}}class ES{constructor(e){$(this,"method","POST");$(this,"name","postSubscriptionChangeCheckoutConfirm");$(this,"operationSessionId");this.operationSessionId=e}urlPath(){return`${En}/subscription/change/checkout/${this.operationSessionId}/confirm`}}class SS{constructor(e){$(this,"method","POST");$(this,"name","setAttributes");$(this,"appUserId");this.appUserId=e}urlPath(){const e=encodeURIComponent(this.appUserId);return`${ba}/${e}/attributes`}}class IS{constructor(){$(this,"method","POST");$(this,"name","postReceipt")}urlPath(){return"/v1/receipts"}}class CS{constructor(e){$(this,"method","GET");$(this,"name","getVirtualCurrencies");$(this,"appUserId");this.appUserId=e}urlPath(){const e=encodeURIComponent(this.appUserId);return`${ba}/${e}/virtual_currencies`}}class TS{constructor(e){$(this,"method","GET");$(this,"name","getWorkflows");$(this,"appUserId");this.appUserId=e}urlPath(){return`${ba}/${encodeURIComponent(this.appUserId)}/workflows?type=paywall`}}class DS{constructor(e,t){$(this,"method","GET");$(this,"name","getWorkflowData");$(this,"appUserId");$(this,"workflowId");this.appUserId=e,this.workflowId=t}urlPath(){return`${ba}/${encodeURIComponent(this.appUserId)}/workflows/${encodeURIComponent(this.workflowId)}`}}const xc={},AS=2e3;class FS{constructor(e,t=xc,n){$(this,"API_KEY");$(this,"httpConfig");$(this,"isSandbox");$(this,"purchasesContext");this.API_KEY=e,this.httpConfig=t,this.isSandbox=_s(e),this.purchasesContext=n}getIsSandbox(){return this.isSandbox}async getOfferings(e){return await Jr(new fS(e),{apiKey:this.API_KEY,httpConfig:this.httpConfig})}async getCustomerInfo(e){return await Jr(new mS(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 eg(new hS,{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 Jr(new ug(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 ug(e,l,n,a).urlPath().length;s.length>0&&u>AS?(i.push(s),s=[c]):s=l}return s.length>0&&i.push(s),i}async getBrandingInfo(){return await Jr(new vS,{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 Jr(new yS,{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:m}){var v,y;const f={app_user_id:e,product_id:t,email:d,price_id:n.priceId,presented_offering_identifier:a.offeringIdentifier,trace_id:i};return _&&(f.metadata=_),n.id!=="base_option"&&(f.offer_id=n.id),a.targetingContext&&(f.applied_targeting_rule={rule_id:a.targetingContext.ruleId,revision:a.targetingContext.revision}),a.placementIdentifier&&(f.presented_placement_identifier=a.placementIdentifier),(y=(v=this.purchasesContext)==null?void 0:v.workflowContext)!=null&&y.workflowIdentifier&&(f.presented_workflow_id=this.purchasesContext.workflowContext.workflowIdentifier),s&&(f.presented_step_id=s),c&&Object.keys(c).length>0&&(f.url_parameters=c),l&&(f.paywall={paywall_id:l,...u?{paywall_session_id:u}:{}}),p&&(f.locale=p),m&&(f.attribution_metadata=m),await Jr(new bS,{apiKey:this.API_KEY,body:f,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 Jr(new kS(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 Jr(new wS(e),{apiKey:this.API_KEY,body:a,httpConfig:this.httpConfig})}async getCheckoutStatus(e){return await Jr(new PS(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 Jr(new xS,{apiKey:this.API_KEY,body:i,headers:{Authorization:`Bearer ${a}`},httpConfig:this.httpConfig})}async postSubscriptionChangeCheckoutConfirm(e,t){return await Jr(new ES(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 Jr(new SS(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 Jr(new IS,{apiKey:this.API_KEY,body:u,httpConfig:this.httpConfig})}async getVirtualCurrencies(e){return await Jr(new CS(e),{apiKey:this.API_KEY,httpConfig:this.httpConfig})}async getWorkflows(e){return await Jr(new TS(e),{apiKey:this.API_KEY,httpConfig:this.httpConfig})}async getWorkflowById(e,t){const n=await Jr(new DS(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 zS(r){if(!(gs(r)||Xn(r)||kc(r)||wc(r)))throw new Ke(qe.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 Ke(qe.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 MS(r){if(r!=null&&r.endsWith("/"))throw new Ke(qe.ConfigurationError,"Invalid proxy URL. The proxy URL should not end with a trailing slash.")}function qS(r){if(r){for(const e in r)if(gS.has(e))throw new Ke(qe.ConfigurationError,"Invalid additional headers. Some headers are reserved for internal use.")}}var Sc=(r=>(r.Current="current",r))(Sc||{});function dg(r,e){async function t(...n){return await this.preload(),await r.call(this,...n)}return t}const pg=(r,e)=>{const t={...r.webBillingProduct,presentedOfferingContext:{...r.webBillingProduct.presentedOfferingContext,placementIdentifier:e}};return{...r,webBillingProduct:t,rcBillingProduct:t}},ka=(r,e)=>r==null?null:pg(r,e),OS=(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,pg(l,t)]));return{...i,packagesById:s,availablePackages:Object.values(s),weekly:ka(i.weekly,t),monthly:ka(i.monthly,t),twoMonth:ka(i.twoMonth,t),threeMonth:ka(i.threeMonth,t),sixMonth:ka(i.sixMonth,t),annual:ka(i.annual,t),lifetime:ka(i.lifetime,t)}};function LS(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=Ph(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 NS=1000001;function _g(r,e={}){var a;if(e.translator)return mg(r,e.translator);const t=((a=r.paywallComponents)==null?void 0:a.default_locale)||Rr,n=new xn(e.customTranslations??{},e.selectedLocale??t,e.fallbackLocale??t);return mg(r,n)}function fs(r){var a;const e=r.webBillingProduct.price,t=gg(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 gg(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 jS(r,e){return r===Gr.Subscription&&e!=null}function BS(r,e){return r!==Gr.Subscription&&e!=null}function fg(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 mg(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]=RS(s,a,e),i),{})}function RS(r,e,t){const n=r.webBillingProduct,a=n.price,i=t.formatPrice(a.amountMicros,a.currency),s=gg(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(jS(c,s)){l["product.price_per_period_abbreviated"]=fg(i,s,t),l["product.price_per_period"]=fg(i,s,t,!0);const u=n.period||s.base.period,d=X_(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 _=fs(r),p=fs(e),m=(p-_)*100/p;l["product.relative_discount"]=m<1?"":t.translate(de.PaywallVariablesSubRelativeDiscount,{discount:m.toFixed(0)})}pE(s,t,l)}return BS(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"]="",_E(s,t,l)),l}var US=/(%?)(%([sdijo]))/g;function VS(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(US,(a,i,s,c)=>{const l=e[t],u=VS(l,c);return i?a:(t++,u)});return t<e.length&&(n+=` ${e.slice(t).join(" ")}`),n=n.replace(/%{2,2}/g,"%"),n}var HS=2;function WS(r){if(!r.stack)return;const e=r.stack.split(`
425
+ `);e.splice(1,HS),r.stack=e.join(`
426
+ `)}var YS=class extends Error{constructor(r,...e){super(r),this.message=r,this.name="Invariant Violation",this.message=Ic(r,...e),WS(this)}},hg=(r,e,...t)=>{if(!r)throw new YS(e,...t)};hg.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 GS="[MSW]";function Cc(r,...e){const t=Ic(r,...e);return`${GS} ${t}`}function KS(r,...e){console.warn(Cc(r,...e))}function XS(r,...e){console.error(Cc(r,...e))}const ZS={formatMessage:Cc,warn:KS,error:XS};function JS(){hg(typeof URL<"u",ZS.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 vg=(r=>(r.HEAD="HEAD",r.GET="GET",r.POST="POST",r.PUT="PUT",r.PATCH="PATCH",r.OPTIONS="OPTIONS",r.DELETE="DELETE",r))(vg||{});JS();class QS{constructor(e,t,n,a){$(this,"initialDelay");$(this,"maxDelay");$(this,"jitterPercent");$(this,"callback");$(this,"currentDelay");$(this,"timeoutId");$(this,"executingCallback",!1);$(this,"stopped",!1);$(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 $S=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"}),yg=r=>r.displayMode===void 0?{}:{display_mode:r.displayMode,dark_mode:r.darkMode??!1,locale:r.locale??"en_US"},eI=r=>{const e={};for(const[t,n]of $S){const a=r[t];a!==void 0&&Object.assign(e,{[n]:a})}return e};function rI(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 tI=(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=rI(r.presentedOfferingContext);return a&&(n.presented_offering_context=a),n};class bg{constructor(e){$(this,"id");$(this,"timestamp");$(this,"data");this.id=Yn(),this.timestamp=Date.now(),this.data=e}toJSON(){const e=tI(this.data,this.id,this.timestamp);switch(this.data.type){case"paywall_impression":return{type:this.data.type,...e,...yg(this.data)};case"paywall_close":case"paywall_cancel":return{type:this.data.type,...e};case"paywall_component_interacted":return{type:this.data.type,...e,...yg(this.data),...eI(this.data)}}}}function Sn(){if(typeof window<"u")return window;throw new Ke(qe.UnsupportedError,"window is not available. This SDK requires a browser environment for this operation.")}function Qo(){if(typeof window<"u")return window}function Tc(){if(typeof document<"u")return document;throw new Ke(qe.UnsupportedError,"document is not available. This SDK requires a browser environment for this operation.")}function Dc(){if(typeof document<"u")return document}function nI(r,e){const t=Qo(),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:$_,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 aI=2e3,oI=5*6e4,iI=.1,kg=50*1024;class sI{constructor(e){$(this,"apiKey");$(this,"eventsQueue",[]);$(this,"eventsUrl");$(this,"flushManager");$(this,"traceId");$(this,"appUserId");$(this,"isSilent");$(this,"rcSource");$(this,"workflowContext");$(this,"isDisposed",!1);var t;this.apiKey=e.apiKey,this.eventsUrl=`${((t=e.httpConfig)==null?void 0:t.eventsURL)??sS}/v1/events`,this.appUserId=e.appUserId,this.isSilent=e.silent||!1,this.rcSource=e.rcSource,this.workflowContext=e.workflowContext,this.traceId=e.trace_id||Yn(),this.flushManager=new QS(aI,oI,iI,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 bg(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 eP({eventName:e.eventName,traceId:this.traceId,appUserId:this.appUserId,context:nI(e.source,this.rcSource),workflowIdentifier:(t=this.workflowContext)==null?void 0:t.workflowIdentifier,properties:e.properties||{mode:at}});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 kg}}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<=kg)e.push(n),t=s;else if(e.length===0){const c=n instanceof bg?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:vg.POST,headers:cg(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=Qo(),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},wg=["app","embedded"],Ac={autoCollectUTMAsMetadata:!0,collectAnalyticsEvents:!0,storeLoadTime:"configuration"};var lI=R('<p class="svelte-17914yi"><strong>Free Trial:</strong> </p>'),cI=R('<p class="svelte-17914yi"><strong>Intro Price:</strong> </p>'),uI=R('<p class="svelte-17914yi"><strong>Discount Price:</strong> </p>'),dI=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 pI={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 _I(r,e){me(e,!1),Pe(r,pI);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()()}jn();var p=dI(),m=D(p),f=D(m),v=U(D(f),2),y=D(v),h=D(y),k=U(D(h)),P=U(h,2),b=U(D(P)),w=U(P,2),E=U(D(w)),I=U(w,2);{var T=z=>{var M=lI(),V=U(D(M));W(()=>_e(V,` ${i()??""}`)),x(z,M)};H(I,z=>{i()&&z(T)})}var S=U(I,2);{var A=z=>{var M=cI(),V=U(D(M));W(()=>_e(V,` ${s()??""}`)),x(z,M)};H(S,z=>{s()&&z(A)})}var C=U(S,2);{var N=z=>{var M=uI(),V=U(D(M));W(()=>_e(V,` ${c()??""}`)),x(z,M)};H(C,z=>{c()&&z(N)})}var q=U(v,2),j=D(q),Z=U(j,2),O=U(Z,2);W(()=>{_e(k,` ${t()??""}`),_e(b,` ${n()??""}`),_e(E,` ${a()??""}`)}),Br("click",j,function(...z){var M;(M=l())==null||M.apply(this,z)}),Br("click",Z,function(...z){var M;(M=u())==null||M.apply(this,z)}),Br("click",O,function(...z){var M;(M=d())==null||M.apply(this,z)}),Br("click",p,_),x(r,p),he()}async function Pg(r,e,t,n){const a=new Date,i=`test_${a.getTime()}_${Yn()}`,s=`test_store_operation_session_${Yn()}`,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 gI(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(),m=p.createElement("div");p.body.appendChild(m);const f=()=>{v&&Ra(v),p.body.removeChild(m)};let v=null;v=Ln(_I,{target:m,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()=>{f(),xe.debugLog("[Test store] Performing test purchase. This purchase won't appear in production.");try{d(await Pg(n,e,t,r.paywallId))}catch(k){_(k)}},onFailedPurchase:()=>{f(),xe.debugLog("[Test store] Purchase failure simulated successfully in Test Store."),_(new Ke(qe.TestStoreSimulatedPurchaseError,Va.getPublicMessage(qe.TestStoreSimulatedPurchaseError),"Simulated error successfully."))},onCancel:()=>{f(),_(new Ke(qe.UserCancelledError))}}})})}class fI{constructor(){$(this,"virtualCurrenciesCache",new Map);$(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 mI(r){return{balance:r.balance,name:r.name,code:r.code,serverDescription:r.description??null}}function hI(r){const e={};for(const[t,n]of Object.entries(r.virtual_currencies))e[t]=mI(n);return{all:e}}function vI(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 yI(r,e){const t=r.webBillingProduct,n=vI(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 xg(r){const e=Object.entries(r.packagesById).map(([t,n])=>[t,yI(n,r.webCheckoutURL)]);return Object.fromEntries(e)}const bI=(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 fe(ve.ErrorSettingUpPurchase);return a}const t=r.defaultNonSubscriptionOption;if(!t)throw new fe(ve.ErrorSettingUpPurchase);return t},kI=(r,e)=>{const t=Zo(r,e);return{currency:t.currency,taxCalculationStatus:"unavailable",totalAmountInMicros:t.amountMicros,totalExcludingTaxInMicros:t.amountMicros,taxAmountInMicros:null,taxBreakdown:null}},Eg=(r,e,t,n,a,i)=>{const s=r.webBillingProduct,c=bI(s,e),l=kI(s,c),u=gc({priceBreakdown:l,productDetails:s,purchaseOption:c,translator:n}),_=s.productType===Gr.Subscription?nr.buildStripeExpressCheckoutOptionsForSubscription(s,l,c,n,t,u,2,1):nr.buildStripeExpressCheckoutOptionsForNonSubscription(s,l,u,2,1);return i&&(_.buttonTheme={applePay:i,googlePay:i==="white-outline"?"white":i}),a&&(_.business={name:a}),_},Sg=(r,e,t,n,a,i,s,c)=>{if(!e.elements_configuration)throw new fe(ve.ErrorSettingUpPurchase);return nr.updateElementsConfiguration(r,e.elements_configuration),{expOptions:Eg(n,a,t,i,s==null?void 0:s.app_name,c)}},wI=async(r,e,t,n,a,i,s)=>{var h,k;if(!r.elements_configuration)throw new fe(ve.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"},_=((h=Qo())==null?void 0:h.matchMedia)&&((k=Qo())==null?void 0:k.matchMedia("(max-width: 767px)").matches);let p="mobile";if(_?p="mobile":p="desktop",!c||!l)throw new fe(ve.ErrorSettingUpPurchase);const m=r.elements_configuration,{stripe:f,elements:v}=await nr.initializeStripe(c,l,m,i,u,d,p),y=Eg(t,n,e,a,i==null?void 0:i.app_name,s);return{stripeInstance:f,elementsInstance:v,expOptions:y}};var PI=R("<div><!></div>");function xI(r,e){var T;me(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(hr,n),mr(Wn,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(ve.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 wI(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}=Sg(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 m=S=>{const A=ic({errorCode:S.gatewayErrorCode??null,errorMessage:S.message??"",mode:t});e.eventsTracker.trackSDKEvent(A),d(new fe(ve.ErrorSettingUpPurchase,"Failed to initialize payment form",S.message))},f=async(S,A)=>{var q;const{customerDetails:C,confirmationTokenId:N}=await nr.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 v(S){var q,j;if(!o(c)||!o(l))return!1;await nr.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 f(o(c),o(l)):void 0;return await nr.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 v(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 Xo){const j=ic({errorCode:q.gatewayErrorCode??null,errorMessage:q.message??"",mode:t});e.eventsTracker.trackSDKEvent(j),d(new fe(ve.ErrorSettingUpPurchase,"Failed to complete payment",q.message))}C.paymentFailed(),F(s,!1)}},h=async()=>{var A;const S=Ji({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(ve.ErrorSettingUpPurchase);const{expOptions:q}=Sg(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(ve.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))},P=()=>{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 b(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=PI(),E=D(w);{var I=S=>{x_(S,{get elements(){return o(c)},onError:m,onSubmit:y,onClick:k,onCancel:P,onReady:b,get expressCheckoutOptions(){return o(u)},forceEnableWalletMethods:!1,hideCheckoutSeparator:!0})};H(E,S=>{!o(i)&&o(c)&&o(u)&&e.brandingInfo&&S(I)})}x(r,w),he()}class EI{constructor(e,t,n){Be(this,lo);$(this,"button");Ne(this,lo,te(ar({props:n})));const i={updatePurchase:(s,c)=>{this.changePackage(s,c)}};this.state.props.onReady=s=>{t(i,s)},this.button=Ln(xI,{target:e,props:this.state.props})}get state(){return o(G(this,lo))}set state(e){F(G(this,lo),e,!0)}changePackage(e,t){this.state.props&&(this.state.props.rcPackage=e,this.state.props.purchaseOption=t??e.webBillingProduct.defaultPurchaseOption)}}lo=new WeakMap;const SI=new Set(["javascript:","data:","vbscript:"]);function II(r){return SI.has(r.toLowerCase())}function CI(r,e){const t=r.trim();if(t.length===0)return!1;let n;try{n=new URL(t)}catch{return!1}return II(n.protocol)?!1:e==="deep_link"?!0:n.protocol==="http:"||n.protocol==="https:"}const Ig='link[rel~="apple-touch-icon"]',Cg="data-rc-apple-touch-icon",Tg="true",Dg=`link[${Cg}="${Tg}"]`,TI=r=>!!r.head.querySelector(Ig),DI=({doc:r,win:e,ignoredLink:t})=>{const n=r.head.querySelector(Ig);if(n&&n!==t)return!0;if(!e)return!1;let a=e;for(;a.parent!==a;){const i=a.parent;try{if(TI(i.document))return!0}catch{return!1}a=i}return!1},AI=r=>{var e;(e=r.head.querySelector(Dg))==null||e.remove()},FI=({doc:r,win:e,href:t})=>{const n=r.head.querySelector(Dg);if(!t){n==null||n.remove();return}if(DI({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(Cg,Tg),n||r.head.appendChild(a)};var Ag=(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))(Ag||{});const Fg="$RCAnonymousID:";qg=[dg],Mg=[dg];const zr=class zr{constructor(e,t,n=xc,a=Ac,i,s,c){ef(Ps,5,this);$(this,"_API_KEY");$(this,"_appUserId");$(this,"_brandingInfo",null);$(this,"_loadingResourcesPromise",null);$(this,"_flags");$(this,"_subscriberToken");$(this,"_context");$(this,"backend");$(this,"purchaseOperationHelper");$(this,"eventsTracker");$(this,"inMemoryCache");var l;this._API_KEY=e,this._appUserId=t,this._flags={...Ac,...a},this._subscriberToken=i??null,this._context=s,_s(e)?xe.debugLog("Initializing Purchases SDK with Web billing sandbox API Key"):Xn(e)&&xe.debugLog("Initializing Purchases SDK with RC Test store API Key."),this.eventsTracker=new sI({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 FS(this._API_KEY,n,this._context),this.inMemoryCache=new fI,this.purchaseOperationHelper=new Ti(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){zr._platformInfo=e}static buildVariablesPerPackage(e,t={}){return _g(e,t)}static buildInfoPerPackage(e){return xg(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&&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 Ke(qe.ConfigurationError,"API key must be provided as a string");if(typeof t!="string")throw new Ke(qe.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;zS(e.apiKey),Ec(e.appUserId),MS((t=e.httpConfig)==null?void 0:t.proxyURL),qS((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 Ke&&(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(Xn(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=Dc(),t=Qo();if(!e)return;const n=(i=(a=this._brandingInfo)==null?void 0:a.app_icon)==null?void 0:i.trim();FI({doc:e,win:t,href:n?Ja(n):null})}hasLoadedResources(){return this._brandingInfo!==null}async presentPaywall(e){var K,ee,se,ne,le,ce,pe;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 Y=a.createElement("div");Y.id="rcb-ui-pw-root",Y.className="rcb-ui-pw-root",Y.style.zIndex=`${NS}`,Y.style.position="fixed",Y.style.top="0",Y.style.left="0",Y.style.width="100%",Y.style.height="100%",Y.style.overflow="auto",Y.style.backgroundColor="var(--rc-purchases-ui-bg-color, Canvas)",a.body.offsetWidth>968&&(Y.style.display="flex",Y.style.justifyContent="center",Y.style.alignItems="center"),Y.style.transition="opacity 0.3s",Y.style.opacity="0",a.body.appendChild(Y),i=Y}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(Y=>(xe.warnLog(`Failed to fetch workflows: ${Y}`),null)),u=(K=l==null?void 0:l.workflows)==null?void 0:K.find(Y=>Y.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=(Y,X)=>{const B={},oe=ge=>ge.toLowerCase().split("_")[0];Object.keys(Y.components_localizations).forEach(ge=>{B[oe(ge)]===void 0&&(B[oe(ge)]=[]),B[oe(ge)].push(ge)});const Q=B[oe(X)];if(!Q)return Y.default_locale;const ue=Q.find(ge=>ge.toLowerCase()===X);return ue||Q[0]},_=e.selectedLocale?e.selectedLocale:navigator.language,p=c.paywallComponents?d(c.paywallComponents,_):_,m=new xn({},p,((ee=c.paywallComponents)==null?void 0:ee.default_locale)??Rr),f=Yn(),v={appUserId:this._appUserId,sessionId:f,offeringId:c.identifier,paywallRevision:0,paywallRcPublicId:((se=c.paywallComponents)==null?void 0:se.id)??null,presentedOfferingContext:(le=(ne=c.availablePackages[0])==null?void 0:ne.webBillingProduct)==null?void 0:le.presentedOfferingContext},y={displayMode:"full_screen",darkMode:((pe=(ce=Sn())==null?void 0:ce.matchMedia)==null?void 0:pe.call(ce,"(prefers-color-scheme: dark)").matches)??!1,locale:p},h=new Map(c.availablePackages.map(Y=>[Y.identifier,Y.webBillingProduct.identifier])),k=Y=>{if(Y!==void 0)return h.get(Y)},P=Y=>{const X=Y;return{type:"paywall_component_interacted",...v,...y,componentType:Y.componentType,componentName:Y.componentName,componentValue:Y.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)}},b=Y=>{this.eventsTracker.trackPaywallEvent({type:Y,...v,...Y==="paywall_impression"?{...y}:{}})},w=async(Y,X=p)=>{var Q,ue;const B=c.availablePackages.find(ge=>ge.identifier===Y);if(B===void 0)throw new Error(`No package found for ${Y}`);return{...await this.purchase({rcPackage:B,htmlTarget:e.purchaseHtmlTarget,customerEmail:e.customerEmail,showDiscountCodeField:e.showDiscountCodeField,discountCode:e.discountCode,onDiscountCodeChanged:e.onDiscountCodeChanged,selectedLocale:X,defaultLocale:((Q=c.paywallComponents)==null?void 0:Q.default_locale)??Rr,paywallId:(ue=c.paywallComponents)==null?void 0:ue.id,paywallSessionId:f}),selectedPackage:B}};let E=null,I=null;const T=Y=>{const X=Y.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:Y.defaultPrevented})},S=Y=>{var oe;const X=(E==null?void 0:E.componentURL)===Y?E:null;if(E=null,e.onNavigateToUrl){e.onNavigateToUrl(Y);return}if((X==null?void 0:X.componentType)==="text"){queueMicrotask(()=>{var ge;const Q=(I==null?void 0:I.url)===Y?I:null;if(I=null,(Q==null?void 0:Q.defaultPrevented)!==!0)return;(ge=Sn().open(Y,"_blank"))==null||ge.focus()});return}(oe=Sn().open(Y,"_blank"))==null||oe.focus()},A=async Y=>{var B;if(e.onCompleteWorkflowNavigate){await e.onCompleteWorkflowNavigate(Y);return}if(!CI(Y.url,Y.method)){xe.warnLog("Blocked complete-workflow navigation to a disallowed URL.");return}const X=Sn();Y.method==="external_browser"?(B=X.open(Y.url,"_blank","noopener,noreferrer"))==null||B.focus():X.location.assign(Y.url)},C=()=>{},N=()=>{if(e.onVisitCustomerCenter){e.onVisitCustomerCenter();return}},q=_g(c,{translator:m}),j=xg(c),Z=e.listener,O=Y=>{if(Z!=null&&Z.onPurchaseStarted)try{Z.onPurchaseStarted(Y)}catch(X){xe.errorLog(`Error in listener.onPurchaseStarted: ${X}`)}},z=Y=>{if(Y instanceof Ke&&Y.errorCode===qe.UserCancelledError){if(Z!=null&&Z.onPurchaseCancelled)try{Z.onPurchaseCancelled()}catch(X){xe.errorLog(`Error in listener.onPurchaseCancelled: ${X}`)}}else{if(Z!=null&&Z.onPurchaseError)try{Z.onPurchaseError(Y)}catch(X){xe.errorLog(`Error in listener.onPurchaseError: ${X}`)}e.onPurchaseError&&e.onPurchaseError(Y)}};let M,V,L=_;if(u){const Y=await this.backend.getWorkflowById(this._appUserId,u.id).catch(B=>(xe.warnLog(`Failed to fetch workflow data, falling back to standard paywall: ${B}`),null)),X=Y?Tk(Y):null;if(Y&&X){V=Y,M=X;const B=X.pages[X.initial_page_id];B&&(L=d(B,_))}else{if(Y&&!X&&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((Y,X)=>{let B=null,oe=!1,Q=!1;s.addEventListener("click",T);const ue=()=>{Q||(Q=!0,oe&&b("paywall_close"))},ge=Ae=>{!oe||Q||this.eventsTracker.trackPaywallEvent(P(Ae))},re=Ae=>{const ke=Ae;E=ke.componentURL===void 0?null:{componentType:Ae.componentType,componentURL:ke.componentURL},ge(Ae)},Ee=new MutationObserver(()=>{s.childElementCount===0&&(ue(),Ee.disconnect())}),Ce=()=>{Ee.disconnect(),s.removeEventListener("click",T),ue(),B&&(Ra(B),B=null),s.innerHTML="",n&&s.parentNode&&s.parentNode.removeChild(s)},De=()=>{xe.debugLog("Purchase cancelled by user"),Ce(),X(new Ke(qe.UserCancelledError)),this.eventsTracker.flushAllEvents().catch(Ae=>{xe.debugLog(`Failed to flush paywall events on close: ${Ae}`)})},be=Ae=>{Ce(),Y(Ae),this.eventsTracker.flushAllEvents().catch(ke=>{xe.debugLog(`Failed to flush paywall events after purchase: ${ke}`)})},ze=Ae=>ke=>{ke instanceof Ke&&ke.errorCode===qe.UserCancelledError&&b("paywall_cancel"),xe.errorLog(`${Ae}: ${ke}`),z(ke)},Me=this.getWalletButtonRender(c,be,e.customerEmail,ze("Error presenting express purchase button"),Z);if(s.innerHTML="",M&&V)try{const Ae=ke=>{if(ke.reason==="completed")this.eventsTracker.trackSDKEvent({eventName:Zr.WorkflowStepCompleted,properties:{workflow_id:ke.workflowId,step_id:ke.stepId,...ke.toStepId!==void 0?{to_step_id:ke.toStepId}:{},is_first_step:ke.isFirstStep,is_last_step:ke.isLastStep}});else{const Xe=ke.reason;this.eventsTracker.trackSDKEvent({eventName:Zr.WorkflowStepStarted,properties:{workflow_id:ke.workflowId,step_id:ke.stepId,...ke.fromStepId!==void 0?{from_step_id:ke.fromStepId}:{},entry_reason:Xe,is_first_step:ke.isFirstStep,is_last_step:ke.isLastStep}}),ke.isLastStep&&!oe&&(b("paywall_impression"),oe=!0)}};B=Ln(ak,{target:s,props:{workflow:M,uiConfig:V.ui_config,selectedLocale:L,hideBackButtons:e.hideBackButtons,variablesPerPackage:q,infoPerPackage:j,walletButtonRender:Me,onPurchaseClicked:ke=>{const Xe=c.packagesById[ke];Xe&&O(Xe),w(ke,L).then(be).catch(ze("Error performing purchase"))},onClose:De,onExitBack:()=>{if(e.onBack){e.onBack(De);return}De()},onCompleteWorkflowNavigate:A,onNavigateToUrlClicked:S,onRestorePurchasesClicked:C,onVisitCustomerCenterClicked:N,onComponentInteraction:re,onStepChanged:Ae,globalVariables:e.customVariables?Np(e.customVariables,V.ui_config):void 0,maxContentWidth:V.content_max_width?String(V.content_max_width):void 0}})}catch(Ae){Ce(),X(Ae);return}else B=Ln(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:Ae=>{const ke=c.packagesById[Ae];ke&&O(ke),w(Ae).then(be).catch(ze("Error performing purchase"))},onError:Ae=>{Ce(),X(Ae)},variablesPerPackage:q,infoPerPackage:j,hideBackButtons:e.hideBackButtons,walletButtonRender:Me,customVariables:e.customVariables,onComponentInteraction:re}});Ee.observe(s,{childList:!0}),M||(b("paywall_impression"),oe=!0),s.style.opacity==="0"&&(s.style.opacity="1")})}async getOfferings(e){Cx(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:OS(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),LS(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=Rr,defaultLocale:c=Rr,onButtonReady:l=()=>{},walletButtonTheme:u}=e,d=this._appUserId;if(!gs(this._API_KEY))throw new Error("The Express Purchase button is only available with Web Billing API Keys.");const _=n??t.webBillingProduct.defaultPurchaseOption,m={...this._flags.autoCollectUTMAsMetadata?ms():{},...e.metadata||{}},f=new xn({},s,c);return new Promise((v,y)=>{const h=async P=>{const b=a_({redemptionInfo:P.redemptionInfo,mode:"express_purchase_button"});this.eventsTracker.trackSDKEvent(b),xe.debugLog("Purchase finished");const w={customerInfo:await this._getCustomerInfoForUserId(d),redemptionInfo:P.redemptionInfo,operationSessionId:P.operationSessionId,attributionMetadata:P.attributionMetadata,storeTransaction:{storeTransactionId:P.storeTransactionIdentifier,productIdentifier:P.productIdentifier,purchaseDate:P.purchaseDate}};v(w)},k=P=>{var w;const b=i_({errorCode:(w=P.errorCode)==null?void 0:w.toString(),errorMessage:P.message,mode:"express_purchase_button"});this.eventsTracker.trackSDKEvent(b),y(P)};new EI(a,l,{appUserId:d,rcPackage:t,purchaseOption:_,customerEmail:i,purchases:this,eventsTracker:this.eventsTracker,brandingInfo:this._brandingInfo,purchaseOperationHelper:this.purchaseOperationHelper,metadata:m,customTranslations:e.labelsOverride,translator:f,onFinished:h,onError:k,listener:e.listener,walletButtonTheme:u})})}getWalletButtonRender(e,t,n,a,i){if(gs(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:(m,f)=>{p=m,l==null||l(f)},listener:i,walletButtonTheme:u}).then(m=>{t({...m,selectedPackage:_})}).catch(a),{destroy(){s.innerHTML=""},update({selectedPackageId:m}){if(p){const f=e.packagesById[m];if(!f)return;const v=f.webBillingProduct.defaultPurchaseOption;_=f,p.updatePurchase(f,v)}}}}}async purchase(e){if(e.productChangeInfo)return await this.productChangePurchase(e);if(Xn(this._API_KEY)){const a=await gI(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=Rr,defaultLocale:_=Rr,skipSuccessPage:p=!1}=e,m=this.resolveHTMLTarget(a),f=this._appUserId;xe.debugLog(`Presenting Stripe checkout for package ${t.identifier}`);const v=d||_,y=n??t.webBillingProduct.defaultPurchaseOption,h=Ji({appearance:(I=this._brandingInfo)==null?void 0:I.appearance,rcPackage:t,purchaseOptionToUse:y,customerEmail:i});this.eventsTracker.trackSDKEvent(h);const P={...this._flags.autoCollectUTMAsMetadata?ms():{},...e.metadata||{}};let b=null;const w=this._brandingInfo;w&&e.brandingAppearanceOverride&&(w.appearance=e.brandingAppearanceOverride);const E=a!==void 0;return new Promise((T,S)=>{const A=Sn();E||A.history.pushState({checkoutOpen:!0},"");const C=()=>{b&&Ra(b),m.innerHTML=""},N=this.createCheckoutOnCloseHandler(S,C);!E&&N&&A.addEventListener("popstate",N);const q=this.createCheckoutOnFinishedHandler(T,f,t,C),j=this.createCheckoutOnErrorHandler(S,C);b=Ln(jE,{target:m,props:{isInElement:E,appUserId:f,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:v,metadata:P,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=Rr,defaultLocale:u=Rr,skipSuccessPage:d=!1,showDiscountCodeField:_=!1,discountCode:p,onDiscountCodeChanged:m}=e,f=this.resolveHTMLTarget(a),v=this._appUserId;xe.debugLog(`Presenting purchase form for package ${t.identifier}`);const y=l||u,h=n??t.webBillingProduct.defaultPurchaseOption,k=Ji({appearance:(S=this._brandingInfo)==null?void 0:S.appearance,rcPackage:t,purchaseOptionToUse:h,customerEmail:i});this.eventsTracker.trackSDKEvent(k);const b={...this._flags.autoCollectUTMAsMetadata?ms():{},...e.metadata||{}};let w=null;const E=this._brandingInfo;E&&e.brandingAppearanceOverride&&(E.appearance=e.brandingAppearanceOverride);const I=Qw({brandingInfo:E,termsAndConditionsUrl:e.termsAndConditionsUrl}),T=a!==void 0;return new Promise((A,C)=>{const N=Sn();T||N.history.pushState({checkoutOpen:!0},"");const q=()=>{w&&Ra(w),f.innerHTML=""},j=this.createCheckoutOnCloseHandler(C,q);!T&&j&&N.addEventListener("popstate",j);const Z=this.createCheckoutOnFinishedHandler(A,v,t,q),O=this.createCheckoutOnErrorHandler(C,q);w=Ln(Dx,{target:f,props:{isInElement:T,appUserId:v,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:b,defaultLocale:u,customTranslations:e.labelsOverride,termsAndConditionsUrl:I,showDiscountCodeField:_,discountCode:p,onDiscountCodeChanged:m,skipSuccessPage:d,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,_=this.resolveHTMLTarget(d),p=this._appUserId;xe.debugLog(`Presenting Paddle checkout for package ${t.identifier}`);const m=n??t.webBillingProduct.defaultPurchaseOption,v={source:"paddle",...this._flags.autoCollectUTMAsMetadata?ms():{},...e.metadata||{}},y=this._brandingInfo;y&&e.brandingAppearanceOverride&&(y.appearance=e.brandingAppearanceOverride);const h=Ji({appearance:(w=this._brandingInfo)==null?void 0:w.appearance,rcPackage:t,purchaseOptionToUse:m,customerEmail:a});this.eventsTracker.trackSDKEvent(h);const k=new eE(this.backend,this.eventsTracker);let P=null;const b=d!==void 0;return new Promise((E,I)=>{const T=Sn();b||T.history.pushState({checkoutOpen:!0},"");const S=()=>{P&&Ra(P),_.innerHTML=""},A=this.createCheckoutOnCloseHandler(I,S)??(()=>{S()});b||T.addEventListener("popstate",A);const C=this.createCheckoutOnFinishedHandler(E,p,t,S),N=this.createCheckoutOnErrorHandler(I);P||(P=Ln(TE,{target:_,props:{eventsTracker:this.eventsTracker,brandingInfo:this._brandingInfo,selectedLocale:c||l,defaultLocale:l,customTranslations:e.labelsOverride,isInElement:b,onClose:A,onFinished:C,onError:N,skipSuccessPage:u,productDetails:t.webBillingProduct,rcPackage:t,appUserId:p,purchaseOption:m,customerEmail:a,attributionMetadata:i,workflowPurchaseContext:s,metadata:v,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&&wg.includes(this._flags.rcSource))return;const a=()=>{const i=o_();this.eventsTracker.trackSDKEvent(i),Sn().removeEventListener("popstate",a),t==null||t(),xe.debugLog("Purchase cancelled by user"),e(new Ke(qe.UserCancelledError))};return a}shouldHideCheckoutBackButton(){return this._flags.hideBackButton===!0||!!this._flags.rcSource&&wg.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(),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=i_({errorCode:(s=a.errorCode)==null?void 0:s.toString(),errorMessage:a.message});this.eventsTracker.trackSDKEvent(i),t==null||t(),e(Ke.getForPurchasesFlowError(a))}}_isConfiguredWithSimulatedStore(){return Xn(this._API_KEY)}_shouldForceEnableWalletMethods(){return!!this._flags.forceEnableWalletMethods}async _postSimulatedStoreReceipt(e){if(!Xn(this._API_KEY))throw new Ke(qe.ConfigurationError,"Posting a test store receipt is only available for RC Test Store API keys.");return await Pg(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 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:bc(t),wasCreated:t.was_created}}async productChangePurchase(e){const t=e.productChangeInfo;if(!t)throw new Ke(qe.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 Ke(qe.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 BE(this.backend);let p=null;return new Promise((m,f)=>{const v=Sn();d||v.history.pushState({checkoutOpen:!0},"");const y=()=>{p&&Ra(p),u.innerHTML=""},h=this.createCheckoutOnCloseHandler(f,y);!d&&h&&v.addEventListener("popstate",h);const k=async b=>{this.inMemoryCache.invalidateAllCaches(),y();try{const w=await this.getCustomerInfo();m({customerInfo:w,redemptionInfo:null,operationSessionId:b.operationSessionId,storeTransaction:{storeTransactionId:b.operationSessionId,productIdentifier:b.newProductId,purchaseDate:new Date},productChange:{changeType:b.changeType}})}catch(w){f(w)}},P=this.createCheckoutOnErrorHandler(f);p=Ln(ZE,{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:P}})})}validateSubscriberToken(e){if(gs(e)||kc(e)||wc(e)||Xn(e)||e.startsWith("sk_")||!e)throw new Ke(qe.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&&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 _s(this._API_KEY)||Xn(this._API_KEY)}isAnonymous(){return this._appUserId.startsWith(Fg)}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&&AI(e)}zr.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 bc(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=hI(n);return xe.debugLog("VirtualCurrencies updated from the network."),this.inMemoryCache.cacheVirtualCurrencies(e,a),a}static generateRevenueCatAnonymousAppUserId(){return`${Fg}${Yn().replace(/-/g,"")}`}_trackEvent(e){this.eventsTracker.trackExternalEvent(e)}_flushAllEvents(){return this.eventsTracker.flushAllEvents()}};Ps=Qg(null),Lc(Ps,1,"presentExpressPurchaseButton",qg,zr),Lc(Ps,1,"purchase",Mg,zr),Oc(Ps,zr),$(zr,"_platformInfo"),$(zr,"instance");let hs=zr;Ie.CustomVariableValue=Sb,Ie.ErrorCode=qe,Ie.LogLevel=lt,Ie.OfferingKeyword=Sc,Ie.PackageType=hd,Ie.PeriodUnit=gr,Ie.ProductType=Gr,Ie.Purchases=hs,Ie.PurchasesError=Ke,Ie.ReservedCustomerAttribute=Ag,Ie.UninitializedPurchasesError=ld,Object.defineProperty(Ie,Symbol.toStringTag,{value:"Module"})});