@revenuecat/purchases-js 0.14.0 → 0.15.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
- (function(w,T){typeof exports=="object"&&typeof module<"u"?T(exports):typeof define=="function"&&define.amd?define(["exports"],T):(w=typeof globalThis<"u"?globalThis:w||self,T(w.Purchases={}))})(this,function(w){"use strict";var F_=Object.create;var Mn=Object.defineProperty;var A_=Object.getOwnPropertyDescriptor;var To=(w,T)=>(T=Symbol[w])?T:Symbol.for("Symbol."+w),ft=w=>{throw TypeError(w)};var Fo=(w,T,M)=>T in w?Mn(w,T,{enumerable:!0,configurable:!0,writable:!0,value:M}):w[T]=M;var Io=(w,T)=>Mn(w,"name",{value:T,configurable:!0});var Ao=w=>[,,,F_((w==null?void 0:w[To("metadata")])??null)],Oo=["class","method","getter","setter","accessor","field","value","get","set"],pt=w=>w!==void 0&&typeof w!="function"?ft("Function expected"):w,O_=(w,T,M,qe,K)=>({kind:Oo[w],name:T,metadata:qe,addInitializer:se=>M._?ft("Already initialized"):K.push(pt(se||null))}),Nn=(w,T)=>Fo(T,To("metadata"),w[3]),Do=(w,T,M,qe)=>{for(var K=0,se=w[T>>1],Ne=se&&se.length;K<Ne;K++)T&1?se[K].call(M):qe=se[K].call(M,qe);return qe},Mo=(w,T,M,qe,K,se)=>{var Ne,Ee,mt,hr,Br,V=T&7,zr=!!(T&8),Oe=!!(T&16),Vr=V>3?w.length+1:V?zr?1:2:0,ht=Oo[V+5],ge=V>3&&(w[Vr-1]=[]),Hr=w[Vr]||(w[Vr]=[]),Te=V&&(!Oe&&!zr&&(K=K.prototype),V<5&&(V>3||!Oe)&&A_(V<4?K:{get[M](){return So(this,se)},set[M](me){return qo(this,se,me)}},M));V?Oe&&V<4&&Io(se,(V>2?"set ":V>1?"get ":"")+M):Io(K,M);for(var er=qe.length-1;er>=0;er--)hr=O_(V,M,mt={},w[3],Hr),V&&(hr.static=zr,hr.private=Oe,Br=hr.access={has:Oe?me=>D_(K,me):me=>M in me},V^3&&(Br.get=Oe?me=>(V^1?So:M_)(me,K,V^4?se:Te.get):me=>me[M]),V>2&&(Br.set=Oe?(me,Yr)=>qo(me,K,Yr,V^4?se:Te.set):(me,Yr)=>me[M]=Yr)),Ee=(0,qe[er])(V?V<4?Oe?se:Te[ht]:V>4?void 0:{get:Te.get,set:Te.set}:K,hr),mt._=1,V^4||Ee===void 0?pt(Ee)&&(V>4?ge.unshift(Ee):V?Oe?se=Ee:Te[ht]=Ee:K=Ee):typeof Ee!="object"||Ee===null?ft("Object expected"):(pt(Ne=Ee.get)&&(Te.get=Ne),pt(Ne=Ee.set)&&(Te.set=Ne),pt(Ne=Ee.init)&&ge.unshift(Ne));return V||Nn(w,K),Te&&Mn(K,M,Te),Oe?V^4?se:Te:K},U=(w,T,M)=>Fo(w,typeof T!="symbol"?T+"":T,M),Cn=(w,T,M)=>T.has(w)||ft("Cannot "+M),D_=(w,T)=>Object(T)!==T?ft('Cannot use the "in" operator on this value'):w.has(T),So=(w,T,M)=>(Cn(w,T,"read from private field"),M?M.call(w):T.get(w));var qo=(w,T,M,qe)=>(Cn(w,T,"write to private field"),qe?qe.call(w,M):T.set(w,M),M),M_=(w,T,M)=>(Cn(w,T,"access private method"),M);var Eo,Dn;const T="5";typeof window<"u"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(T);let M=!1;function qe(){M=!0}qe();const K=1,se=2,Ne=4,Ee=8,mt=16,hr=1,Br=2,V=4,zr=8,Oe=16,Vr=1,ht=2,ge=Symbol(),Hr="http://www.w3.org/2000/svg",Te=!1;var er=Array.isArray,me=Array.from,Yr=Object.defineProperty,rr=Object.getOwnPropertyDescriptor,jn=Object.getOwnPropertyDescriptors,No=Object.prototype,Co=Array.prototype,yt=Object.getPrototypeOf;function Gr(e){return typeof e=="function"}const Ye=()=>{};function jo(e){return e()}function Bt(e){for(var r=0;r<e.length;r++)e[r]()}const Ce=2,Rn=4,Wr=8,zt=16,je=32,Zr=64,Vt=128,yr=256,gt=512,we=1024,ur=2048,xr=4096,Ge=8192,Ir=16384,Ro=32768,Sr=65536,Uo=1<<17,Lo=1<<19,Un=1<<20,cr=Symbol("$state"),Ln=Symbol("legacy props"),Bo=Symbol("");function Bn(e){return e===this.v}function zn(e,r){return e!=e?r==r:e!==r||e!==null&&typeof e=="object"||typeof e=="function"}function Ht(e){return!zn(e,this.v)}function zo(e){throw new Error("effect_in_teardown")}function Vo(){throw new Error("effect_in_unowned_derived")}function Ho(e){throw new Error("effect_orphan")}function Yo(){throw new Error("effect_update_depth_exceeded")}function Go(e){throw new Error("lifecycle_legacy_only")}function Wo(e){throw new Error("props_invalid_value")}function Zo(){throw new Error("state_descriptors_fixed")}function Qo(){throw new Error("state_prototype_fixed")}function Jo(){throw new Error("state_unsafe_local_read")}function $o(){throw new Error("state_unsafe_mutation")}function Fe(e){return{f:0,v:e,reactions:null,equals:Bn,version:0}}function Ko(e){return Vn(Fe(e))}function vt(e,r=!1){var n;const t=Fe(e);return r||(t.equals=Ht),M&&j!==null&&j.l!==null&&((n=j.l).s??(n.s=[])).push(t),t}function ke(e,r=!1){return Vn(vt(e,r))}function Vn(e){return H!==null&&H.f&Ce&&(Qe===null?os([e]):Qe.push(e)),e}function F(e,r){return H!==null&&kt()&&H.f&(Ce|zt)&&(Qe===null||!Qe.includes(e))&&$o(),Yt(e,r)}function Yt(e,r){return e.equals(r)||(e.v=r,e.version=aa(),Hn(e,ur),kt()&&C!==null&&C.f&we&&!(C.f&je)&&(ve!==null&&ve.includes(e)?(Re(C,ur),Et(C)):dr===null?ss([e]):dr.push(e))),r}function Hn(e,r){var t=e.reactions;if(t!==null)for(var n=kt(),a=t.length,o=0;o<a;o++){var s=t[o],i=s.f;i&ur||!n&&s===C||(Re(s,r),i&(we|yr)&&(i&Ce?Hn(s,xr):Et(s)))}}function ne(e){var r=Ce|ur;C===null?r|=yr:C.f|=Un;var t=H!==null&&H.f&Ce?H:null;const n={children:null,ctx:j,deps:null,equals:Bn,f:r,fn:e,reactions:null,v:null,version:0,parent:t??C};return t!==null&&(t.children??(t.children=[])).push(n),n}function $(e){const r=ne(e);return r.equals=Ht,r}function Yn(e){var r=e.children;if(r!==null){e.children=null;for(var t=0;t<r.length;t+=1){var n=r[t];n.f&Ce?Gt(n):We(n)}}}function Xo(e){for(var r=e.parent;r!==null;){if(!(r.f&Ce))return r;r=r.parent}return null}function Gn(e){var r,t=C;Ze(Xo(e));try{Yn(e),r=oa(e)}finally{Ze(t)}return r}function Wn(e){var r=Gn(e),t=(Fr||e.f&yr)&&e.deps!==null?xr:we;Re(e,t),e.equals(r)||(e.v=r,e.version=aa())}function Gt(e){Yn(e),et(e,0),Re(e,Ir),e.v=e.children=e.deps=e.ctx=e.reactions=null}function Zn(e){C===null&&H===null&&Ho(),H!==null&&H.f&yr&&Vo(),en&&zo()}function es(e,r){var t=r.last;t===null?r.last=r.first=e:(t.next=e,e.prev=t,r.last=e)}function qr(e,r,t,n=!0){var a=(e&Zr)!==0,o=C,s={ctx:j,deps:null,deriveds:null,nodes_start:null,nodes_end:null,f:e|ur,first:null,fn:r,last:null,next:null,parent:a?null:o,prev:null,teardown:null,transitions:null,version:0};if(t){var i=Tr;try{ra(!0),rt(s),s.f|=Ro}catch(c){throw We(s),c}finally{ra(i)}}else r!==null&&Et(s);var l=t&&s.deps===null&&s.first===null&&s.nodes_start===null&&s.teardown===null&&(s.f&Un)===0;if(!l&&!a&&n&&(o!==null&&es(s,o),H!==null&&H.f&Ce)){var u=H;(u.children??(u.children=[])).push(s)}return s}function Wt(e){const r=qr(Wr,null,!1);return Re(r,we),r.teardown=e,r}function Zt(e){Zn();var r=C!==null&&(C.f&je)!==0&&j!==null&&!j.m;if(r){var t=j;(t.e??(t.e=[])).push({fn:e,effect:C,reaction:H})}else{var n=Qt(e);return n}}function rs(e){return Zn(),Qr(e)}function ts(e){const r=qr(Zr,e,!0);return()=>{We(r)}}function Qt(e){return qr(Rn,e,!1)}function gr(e,r){var t=j,n={effect:null,ran:!1};t.l.r1.push(n),n.effect=Qr(()=>{e(),!n.ran&&(n.ran=!0,F(t.l.r2,!0),br(r))})}function Jt(){var e=j;Qr(()=>{if(f(e.l.r2)){for(var r of e.l.r1){var t=r.effect;t.f&we&&Re(t,xr),Ar(t)&&rt(t),r.ran=!1}e.l.r2.v=!1}})}function Qr(e){return qr(Wr,e,!0)}function W(e){return vr(e)}function vr(e,r=0){return qr(Wr|zt|r,e,!0)}function tr(e,r=!0){return qr(Wr|je,e,!0,r)}function Qn(e){var r=e.teardown;if(r!==null){const t=en,n=H;ta(!0),_r(null);try{r.call(null)}finally{ta(t),_r(n)}}}function Jn(e){var r=e.deriveds;if(r!==null){e.deriveds=null;for(var t=0;t<r.length;t+=1)Gt(r[t])}}function $n(e,r=!1){var t=e.first;for(e.first=e.last=null;t!==null;){var n=t.next;We(t,r),t=n}}function ns(e){for(var r=e.first;r!==null;){var t=r.next;r.f&je||We(r),r=t}}function We(e,r=!0){var t=!1;if((r||e.f&Lo)&&e.nodes_start!==null){for(var n=e.nodes_start,a=e.nodes_end;n!==null;){var o=n===a?null:xt(n);n.remove(),n=o}t=!0}$n(e,r&&!t),Jn(e),et(e,0),Re(e,Ir);var s=e.transitions;if(s!==null)for(const l of s)l.stop();Qn(e);var i=e.parent;i!==null&&i.first!==null&&Kn(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=null}function Kn(e){var r=e.parent,t=e.prev,n=e.next;t!==null&&(t.next=n),n!==null&&(n.prev=t),r!==null&&(r.first===e&&(r.first=n),r.last===e&&(r.last=t))}function Jr(e,r){var t=[];$t(e,t,!0),Xn(t,()=>{We(e),r&&r()})}function Xn(e,r){var t=e.length;if(t>0){var n=()=>--t||r();for(var a of e)a.out(n)}else r()}function $t(e,r,t){if(!(e.f&Ge)){if(e.f^=Ge,e.transitions!==null)for(const s of e.transitions)(s.is_global||t)&&r.push(s);for(var n=e.first;n!==null;){var a=n.next,o=(n.f&Sr)!==0||(n.f&je)!==0;$t(n,r,o?t:!1),n=a}}}function $r(e){ea(e,!0)}function ea(e,r){if(e.f&Ge){Ar(e)&&rt(e),e.f^=Ge;for(var t=e.first;t!==null;){var n=t.next,a=(t.f&Sr)!==0||(t.f&je)!==0;ea(t,a?r:!1),t=n}if(e.transitions!==null)for(const o of e.transitions)(o.is_global||r)&&o.in()}}let Kt=!1,Xt=[];function as(){Kt=!1;const e=Xt.slice();Xt=[],Bt(e)}function Kr(e){Kt||(Kt=!0,queueMicrotask(as)),Xt.push(e)}function bt(e){throw new Error("lifecycle_outside_component")}let Pt=!1,wt=!1,Tr=!1,en=!1;function ra(e){Tr=e}function ta(e){en=e}let rn=[],Xr=0,N_=[],H=null;function _r(e){H=e}let C=null;function Ze(e){C=e}let Qe=null;function os(e){Qe=e}let ve=null,Ae=0,dr=null;function ss(e){dr=e}let na=0,Fr=!1,j=null;function aa(){return++na}function kt(){return!M||j!==null&&j.l===null}function Ar(e){var s,i;var r=e.f;if(r&ur)return!0;if(r&xr){var t=e.deps,n=(r&yr)!==0;if(t!==null){var a;if(r&gt){for(a=0;a<t.length;a++)((s=t[a]).reactions??(s.reactions=[])).push(e);e.f^=gt}for(a=0;a<t.length;a++){var o=t[a];if(Ar(o)&&Wn(o),n&&C!==null&&!Fr&&!((i=o==null?void 0:o.reactions)!=null&&i.includes(e))&&(o.reactions??(o.reactions=[])).push(e),o.version>e.version)return!0}}n||Re(e,we)}return!1}function is(e,r){for(var t=r;t!==null;){if(t.f&Vt)try{t.fn(e);return}catch{t.f^=Vt}t=t.parent}throw Pt=!1,e}function ls(e){return(e.f&Ir)===0&&(e.parent===null||(e.parent.f&Vt)===0)}function tn(e,r,t,n){if(Pt){if(t===null&&(Pt=!1),ls(r))throw e;return}t!==null&&(Pt=!0);{is(e,r);return}}function oa(e){var _;var r=ve,t=Ae,n=dr,a=H,o=Fr,s=Qe,i=j,l=e.f;ve=null,Ae=0,dr=null,H=l&(je|Zr)?null:e,Fr=!Tr&&(l&yr)!==0,Qe=null,j=e.ctx;try{var u=(0,e.fn)(),c=e.deps;if(ve!==null){var d;if(et(e,Ae),c!==null&&Ae>0)for(c.length=Ae+ve.length,d=0;d<ve.length;d++)c[Ae+d]=ve[d];else e.deps=c=ve;if(!Fr)for(d=Ae;d<c.length;d++)((_=c[d]).reactions??(_.reactions=[])).push(e)}else c!==null&&Ae<c.length&&(et(e,Ae),c.length=Ae);return u}finally{ve=r,Ae=t,dr=n,H=a,Fr=o,Qe=s,j=i}}function us(e,r){let t=r.reactions;if(t!==null){var n=t.indexOf(e);if(n!==-1){var a=t.length-1;a===0?t=r.reactions=null:(t[n]=t[a],t.pop())}}t===null&&r.f&Ce&&(ve===null||!ve.includes(r))&&(Re(r,xr),r.f&(yr|gt)||(r.f^=gt),et(r,0))}function et(e,r){var t=e.deps;if(t!==null)for(var n=r;n<t.length;n++)us(e,t[n])}function rt(e){var r=e.f;if(!(r&Ir)){Re(e,we);var t=C,n=j;C=e;try{r&zt?ns(e):$n(e),Jn(e),Qn(e);var a=oa(e);e.teardown=typeof a=="function"?a:null,e.version=na}catch(o){tn(o,e,t,n||e.ctx)}finally{C=t}}}function cs(){Xr>1e3&&(Xr=0,Yo()),Xr++}function _s(e){var r=e.length;if(r!==0){cs();var t=Tr;Tr=!0;try{for(var n=0;n<r;n++){var a=e[n];a.f&we||(a.f^=we);var o=[];sa(a,o),ds(o)}}finally{Tr=t}}}function ds(e){var r=e.length;if(r!==0)for(var t=0;t<r;t++){var n=e[t];if(!(n.f&(Ir|Ge)))try{Ar(n)&&(rt(n),n.deps===null&&n.first===null&&n.nodes_start===null&&(n.teardown===null?Kn(n):n.fn=null))}catch(a){tn(a,n,null,n.ctx)}}}function ps(){if(wt=!1,Xr>1001)return;const e=rn;rn=[],_s(e),wt||(Xr=0)}function Et(e){wt||(wt=!0,queueMicrotask(ps));for(var r=e;r.parent!==null;){r=r.parent;var t=r.f;if(t&(Zr|je)){if(!(t&we))return;r.f^=we}}rn.push(r)}function sa(e,r){var t=e.first,n=[];e:for(;t!==null;){var a=t.f,o=(a&je)!==0,s=o&&(a&we)!==0,i=t.next;if(!s&&!(a&Ge))if(a&Wr){if(o)t.f^=we;else try{Ar(t)&&rt(t)}catch(d){tn(d,t,null,t.ctx)}var l=t.first;if(l!==null){t=l;continue}}else a&Rn&&n.push(t);if(i===null){let d=t.parent;for(;d!==null;){if(e===d)break e;var u=d.next;if(u!==null){t=u;continue e}d=d.parent}}t=i}for(var c=0;c<n.length;c++)l=n[c],r.push(l),sa(l,r)}function f(e){var c;var r=e.f,t=(r&Ce)!==0;if(t&&r&Ir){var n=Gn(e);return Gt(e),n}if(H!==null){Qe!==null&&Qe.includes(e)&&Jo();var a=H.deps;ve===null&&a!==null&&a[Ae]===e?Ae++:ve===null?ve=[e]:ve.push(e),dr!==null&&C!==null&&C.f&we&&!(C.f&je)&&dr.includes(e)&&(Re(C,ur),Et(C))}else if(t&&e.deps===null)for(var o=e,s=o.parent,i=o;s!==null;)if(s.f&Ce){var l=s;i=l,s=l.parent}else{var u=s;(c=u.deriveds)!=null&&c.includes(i)||(u.deriveds??(u.deriveds=[])).push(i);break}return t&&(o=e,Ar(o)&&Wn(o)),e.v}function br(e){const r=H;try{return H=null,e()}finally{H=r}}const fs=~(ur|xr|we);function Re(e,r){e.f=e.f&fs|r}function Pr(e){return ia().get(e)}function nn(e,r){return ia().set(e,r),r}function ia(e){return j===null&&bt(),j.c??(j.c=new Map(ms(j)||void 0))}function ms(e){let r=e.p;for(;r!==null;){const t=r.c;if(t!==null)return t;r=r.p}return null}function X(e,r=!1,t){j={p:j,c:null,e:null,m:!1,s:e,x:null,l:null},M&&!r&&(j.l={s:null,u:null,r1:[],r2:Fe(!1)})}function ee(e){const r=j;if(r!==null){e!==void 0&&(r.x=e);const s=r.e;if(s!==null){var t=C,n=H;r.e=null;try{for(var a=0;a<s.length;a++){var o=s[a];Ze(o.effect),_r(o.reaction),Qt(o.fn)}}finally{Ze(t),_r(n)}}j=r.p,r.m=!0}return e||{}}function be(e){if(!(typeof e!="object"||!e||e instanceof EventTarget)){if(cr in e)an(e);else if(!Array.isArray(e))for(let r in e){const t=e[r];typeof t=="object"&&t&&cr in t&&an(t)}}}function an(e,r=new Set){if(typeof e=="object"&&e!==null&&!(e instanceof EventTarget)&&!r.has(e)){r.add(e),e instanceof Date&&e.getTime();for(let n in e)try{an(e[n],r)}catch{}const t=yt(e);if(t!==Object.prototype&&t!==Array.prototype&&t!==Map.prototype&&t!==Set.prototype&&t!==Date.prototype){const n=jn(t);for(let a in n){const o=n[a].get;if(o)try{o.call(e)}catch{}}}}}function nr(e,r=null,t){if(typeof e!="object"||e===null||cr in e)return e;const n=yt(e);if(n!==No&&n!==Co)return e;var a=new Map,o=er(e),s=Fe(0);o&&a.set("length",Fe(e.length));var i;return new Proxy(e,{defineProperty(l,u,c){(!("value"in c)||c.configurable===!1||c.enumerable===!1||c.writable===!1)&&Zo();var d=a.get(u);return d===void 0?(d=Fe(c.value),a.set(u,d)):F(d,nr(c.value,i)),!0},deleteProperty(l,u){var c=a.get(u);if(c===void 0)u in l&&a.set(u,Fe(ge));else{if(o&&typeof u=="string"){var d=a.get("length"),_=Number(u);Number.isInteger(_)&&_<d.v&&F(d,_)}F(c,ge),la(s)}return!0},get(l,u,c){var m;if(u===cr)return e;var d=a.get(u),_=u in l;if(d===void 0&&(!_||(m=rr(l,u))!=null&&m.writable)&&(d=Fe(nr(_?l[u]:ge,i)),a.set(u,d)),d!==void 0){var p=f(d);return p===ge?void 0:p}return Reflect.get(l,u,c)},getOwnPropertyDescriptor(l,u){var c=Reflect.getOwnPropertyDescriptor(l,u);if(c&&"value"in c){var d=a.get(u);d&&(c.value=f(d))}else if(c===void 0){var _=a.get(u),p=_==null?void 0:_.v;if(_!==void 0&&p!==ge)return{enumerable:!0,configurable:!0,value:p,writable:!0}}return c},has(l,u){var p;if(u===cr)return!0;var c=a.get(u),d=c!==void 0&&c.v!==ge||Reflect.has(l,u);if(c!==void 0||C!==null&&(!d||(p=rr(l,u))!=null&&p.writable)){c===void 0&&(c=Fe(d?nr(l[u],i):ge),a.set(u,c));var _=f(c);if(_===ge)return!1}return d},set(l,u,c,d){var x;var _=a.get(u),p=u in l;if(o&&u==="length")for(var m=c;m<_.v;m+=1){var g=a.get(m+"");g!==void 0?F(g,ge):m in l&&(g=Fe(ge),a.set(m+"",g))}_===void 0?(!p||(x=rr(l,u))!=null&&x.writable)&&(_=Fe(void 0),F(_,nr(c,i)),a.set(u,_)):(p=_.v!==ge,F(_,nr(c,i)));var h=Reflect.getOwnPropertyDescriptor(l,u);if(h!=null&&h.set&&h.set.call(d,c),!p){if(o&&typeof u=="string"){var P=a.get("length"),A=Number(u);Number.isInteger(A)&&A>=P.v&&F(P,A+1)}la(s)}return!0},ownKeys(l){f(s);var u=Reflect.ownKeys(l).filter(_=>{var p=a.get(_);return p===void 0||p.v!==ge});for(var[c,d]of a)d.v!==ge&&!(c in l)&&u.push(c);return u},setPrototypeOf(){Qo()}})}function la(e,r=1){F(e,e.v+r)}var ua,ca,_a;function hs(){if(ua===void 0){ua=window;var e=Element.prototype,r=Node.prototype;ca=rr(r,"firstChild").get,_a=rr(r,"nextSibling").get,e.__click=void 0,e.__className="",e.__attributes=null,e.__styles=null,e.__e=void 0,Text.prototype.__t=void 0}}function tt(e=""){return document.createTextNode(e)}function nt(e){return ca.call(e)}function xt(e){return _a.call(e)}function E(e,r){return nt(e)}function N(e,r){{var t=nt(e);return t instanceof Comment&&t.data===""?xt(t):t}}function D(e,r=1,t=!1){let n=e;for(;r--;)n=xt(n);return n}function ys(e){e.textContent=""}let da=!1;function gs(e,r){if(r){const t=document.body;e.autofocus=!0,Kr(()=>{document.activeElement===t&&e.focus()})}}let pa=!1;function vs(){pa||(pa=!0,document.addEventListener("reset",e=>{Promise.resolve().then(()=>{var r;if(!e.defaultPrevented)for(const t of e.target.elements)(r=t.__on_r)==null||r.call(t)})},{capture:!0}))}function fa(e){var r=H,t=C;_r(null),Ze(null);try{return e()}finally{_r(r),Ze(t)}}function bs(e,r,t,n=t){e.addEventListener(r,()=>fa(t));const a=e.__on_r;a?e.__on_r=()=>{a(),n()}:e.__on_r=n,vs()}const ma=new Set,on=new Set;function ha(e,r,t,n){function a(o){if(n.capture||at.call(r,o),!o.cancelBubble)return fa(()=>t.call(this,o))}return e.startsWith("pointer")||e.startsWith("touch")||e==="wheel"?Kr(()=>{r.addEventListener(e,a,n)}):r.addEventListener(e,a,n),a}function It(e,r,t,n,a){var o={capture:n,passive:a},s=ha(e,r,t,o);(r===document.body||r===window||r===document)&&Wt(()=>{r.removeEventListener(e,s,o)})}function sn(e){for(var r=0;r<e.length;r++)ma.add(e[r]);for(var t of on)t(e)}function at(e){var A;var r=this,t=r.ownerDocument,n=e.type,a=((A=e.composedPath)==null?void 0:A.call(e))||[],o=a[0]||e.target,s=0,i=e.__root;if(i){var l=a.indexOf(i);if(l!==-1&&(r===document||r===window)){e.__root=r;return}var u=a.indexOf(r);if(u===-1)return;l<=u&&(s=l)}if(o=a[s]||e.target,o!==r){Yr(e,"currentTarget",{configurable:!0,get(){return o||t}});var c=H,d=C;_r(null),Ze(null);try{for(var _,p=[];o!==null;){var m=o.assignedSlot||o.parentNode||o.host||null;try{var g=o["__"+n];if(g!==void 0&&!o.disabled)if(er(g)){var[h,...P]=g;h.apply(o,[e,...P])}else g.call(o,e)}catch(x){_?p.push(x):_=x}if(e.cancelBubble||m===r||m===null)break;o=m}if(_){for(let x of p)queueMicrotask(()=>{throw x});throw _}}finally{e.__root=r,delete e.currentTarget,_r(c),Ze(d)}}}function ya(e){var r=document.createElement("template");return r.innerHTML=e,r.content}function Or(e,r){var t=C;t.nodes_start===null&&(t.nodes_start=e,t.nodes_end=r)}function k(e,r){var t=(r&Vr)!==0,n=(r&ht)!==0,a,o=!e.startsWith("<!>");return()=>{a===void 0&&(a=ya(o?e:"<!>"+e),t||(a=nt(a)));var s=n?document.importNode(a,!0):a.cloneNode(!0);if(t){var i=nt(s),l=s.lastChild;Or(i,l)}else Or(s,s);return s}}function ot(e=""){{var r=tt(e+"");return Or(r,r),r}}function ae(){var e=document.createDocumentFragment(),r=document.createComment(""),t=tt();return e.append(r,t),Or(r,t),e}function y(e,r){e!==null&&e.before(r)}function Ps(e){return e.endsWith("capture")&&e!=="gotpointercapture"&&e!=="lostpointercapture"}const ws=["beforeinput","click","change","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"];function ks(e){return ws.includes(e)}const Es={formnovalidate:"formNoValidate",ismap:"isMap",nomodule:"noModule",playsinline:"playsInline",readonly:"readOnly",srcobject:"srcObject"};function xs(e){return e=e.toLowerCase(),Es[e]??e}const Is=["touchstart","touchmove"];function Ss(e){return Is.includes(e)}function ar(e,r){var t=r==null?"":typeof r=="object"?r+"":r;t!==(e.__t??(e.__t=e.nodeValue))&&(e.__t=t,e.nodeValue=t==null?"":t+"")}function ga(e,r){return qs(e,r)}const Dr=new Map;function qs(e,{target:r,anchor:t,props:n={},events:a,context:o,intro:s=!0}){hs();var i=new Set,l=d=>{for(var _=0;_<d.length;_++){var p=d[_];if(!i.has(p)){i.add(p);var m=Ss(p);r.addEventListener(p,at,{passive:m});var g=Dr.get(p);g===void 0?(document.addEventListener(p,at,{passive:m}),Dr.set(p,1)):Dr.set(p,g+1)}}};l(me(ma)),on.add(l);var u=void 0,c=ts(()=>{var d=t??r.appendChild(tt());return tr(()=>{if(o){X({});var _=j;_.c=o}a&&(n.$$events=a),u=e(d,n)||{},o&&ee()}),()=>{var m;for(var _ of i){r.removeEventListener(_,at);var p=Dr.get(_);--p===0?(document.removeEventListener(_,at),Dr.delete(_)):Dr.set(_,p)}on.delete(l),va.delete(u),d!==t&&((m=d.parentNode)==null||m.removeChild(d))}});return va.set(u,c),u}let va=new WeakMap;function R(e,r,t,n=null,a=!1){var o=e,s=null,i=null,l=null,u=a?Sr:0;vr(()=>{l!==(l=!!r())&&(l?(s?$r(s):s=tr(()=>t(o)),i&&Jr(i,()=>{i=null})):(i?$r(i):n&&(i=tr(()=>n(o))),s&&Jr(s,()=>{s=null})))},u)}function ba(e,r){return r}function Ts(e,r,t,n){for(var a=[],o=r.length,s=0;s<o;s++)$t(r[s].e,a,!0);var i=o>0&&a.length===0&&t!==null;if(i){var l=t.parentNode;ys(l),l.append(t),n.clear(),pr(e,r[0].prev,r[o-1].next)}Xn(a,()=>{for(var u=0;u<o;u++){var c=r[u];i||(n.delete(c.k),pr(e,c.prev,c.next)),We(c.e,!i)}})}function Pa(e,r,t,n,a,o=null){var s=e,i={flags:r,items:new Map,first:null},l=(r&Ne)!==0;if(l){var u=e;s=u.appendChild(tt())}var c=null,d=!1;vr(()=>{var _=t(),p=er(_)?_:_==null?[]:me(_),m=p.length;if(!(d&&m===0)){d=m===0;{var g=H;Fs(p,i,s,a,r,(g.f&Ge)!==0,n)}o!==null&&(m===0?c?$r(c):c=tr(()=>o(s)):c!==null&&Jr(c,()=>{c=null})),t()}})}function Fs(e,r,t,n,a,o,s){var pe,G,Se,sr;var i=(a&Ee)!==0,l=(a&(K|se))!==0,u=e.length,c=r.items,d=r.first,_=d,p,m=null,g,h=[],P=[],A,x,b,S;if(i)for(S=0;S<u;S+=1)A=e[S],x=s(A,S),b=c.get(x),b!==void 0&&((pe=b.a)==null||pe.measure(),(g??(g=new Set)).add(b));for(S=0;S<u;S+=1){if(A=e[S],x=s(A,S),b=c.get(x),b===void 0){var B=_?_.e.nodes_start:t;m=Os(B,r,m,m===null?r.first:m.next,A,x,S,n,a),c.set(x,m),h=[],P=[],_=m.next;continue}if(l&&As(b,A,S,a),b.e.f&Ge&&($r(b.e),i&&((G=b.a)==null||G.unfix(),(g??(g=new Set)).delete(b))),b!==_){if(p!==void 0&&p.has(b)){if(h.length<P.length){var I=P[0],q;m=I.prev;var Y=h[0],re=h[h.length-1];for(q=0;q<h.length;q+=1)wa(h[q],I,t);for(q=0;q<P.length;q+=1)p.delete(P[q]);pr(r,Y.prev,re.next),pr(r,m,Y),pr(r,re,I),_=I,m=re,S-=1,h=[],P=[]}else p.delete(b),wa(b,_,t),pr(r,b.prev,b.next),pr(r,b,m===null?r.first:m.next),pr(r,m,b),m=b;continue}for(h=[],P=[];_!==null&&_.k!==x;)(o||!(_.e.f&Ge))&&(p??(p=new Set)).add(_),P.push(_),_=_.next;if(_===null)continue;b=_}h.push(b),m=b,_=b.next}if(_!==null||p!==void 0){for(var oe=p===void 0?[]:me(p);_!==null;)(o||!(_.e.f&Ge))&&oe.push(_),_=_.next;var z=oe.length;if(z>0){var Q=a&Ne&&u===0?t:null;if(i){for(S=0;S<z;S+=1)(Se=oe[S].a)==null||Se.measure();for(S=0;S<z;S+=1)(sr=oe[S].a)==null||sr.fix()}Ts(r,oe,Q,c)}}i&&Kr(()=>{var Er;if(g!==void 0)for(b of g)(Er=b.a)==null||Er.apply()}),C.first=r.first&&r.first.e,C.last=m&&m.e}function As(e,r,t,n){n&K&&Yt(e.v,r),n&se?Yt(e.i,t):e.i=t}function Os(e,r,t,n,a,o,s,i,l){var u=(l&K)!==0,c=(l&mt)===0,d=u?c?vt(a):Fe(a):a,_=l&se?Fe(s):s,p={i:_,v:d,k:o,a:null,e:null,prev:t,next:n};try{return p.e=tr(()=>i(e,d,_),da),p.e.prev=t&&t.e,p.e.next=n&&n.e,t===null?r.first=p:(t.next=p,t.e.next=p.e),n!==null&&(n.prev=p,n.e.prev=p.e),p}finally{}}function wa(e,r,t){for(var n=e.next?e.next.e.nodes_start:t,a=r?r.e.nodes_start:t,o=e.e.nodes_start;o!==n;){var s=xt(o);a.before(o),o=s}}function pr(e,r,t){r===null?e.first=t:(r.next=t,r.e.next=t&&t.e),t!==null&&(t.prev=r,t.e.prev=r&&r.e)}function Mr(e,r,t,n,a){var o=e,s="",i;vr(()=>{s!==(s=r()??"")&&(i!==void 0&&(We(i),i=void 0),s!==""&&(i=tr(()=>{var l=s+"",u=ya(l);Or(nt(u),u.lastChild),o.before(u)})))})}function ce(e,r,t,n,a){var i;var o=(i=r.$$slots)==null?void 0:i[t],s=!1;o===!0&&(o=r[t==="default"?"children":t],s=!0),o===void 0||o(e,s?()=>n:n)}function ln(e,r,...t){var n=e,a=Ye,o;vr(()=>{a!==(a=r())&&(o&&(We(o),o=null),o=tr(()=>a(n,...t)))},Sr)}function Ds(e,r,t){var n=e,a,o;vr(()=>{a!==(a=r())&&(o&&(Jr(o),o=null),a&&(o=tr(()=>t(n,a))))},Sr)}function ka(e,r,t,n,a,o){var s,i,l=null,u=e,c;vr(()=>{const d=r()||null;var _=d==="svg"?Hr:null;d!==s&&(c&&(d===null?Jr(c,()=>{c=null,i=null}):d===i?$r(c):We(c)),d&&d!==i&&(c=tr(()=>{if(l=_?document.createElementNS(_,d):document.createElement(d),Or(l,l),n){var p=l.appendChild(tt());n(l,p)}C.nodes_end=l,u.before(l)})),s=d,s&&(i=s))},Sr)}function L(e,r){Kr(()=>{var t=e.getRootNode(),n=t.host?t:t.head??t.ownerDocument.head;if(!n.querySelector("#"+r.hash)){const a=document.createElement("style");a.id=r.hash,a.textContent=r.code,n.appendChild(a)}})}function J(e,r,t,n){var a=e.__attributes??(e.__attributes={});a[r]!==(a[r]=t)&&(r==="style"&&"__styles"in e&&(e.__styles={}),r==="loading"&&(e[Bo]=t),t==null?e.removeAttribute(r):typeof t!="string"&&Ia(e).includes(r)?e[r]=t:e.setAttribute(r,t))}function Ea(e,r,t,n,a=!1,o=!1,s=!1){var i=r||{},l=e.tagName==="OPTION";for(var u in r)u in t||(t[u]=null);n!==void 0&&(t.class=t.class?t.class+" "+n:n);var c=Ia(e),d=e.__attributes??(e.__attributes={});for(const h in t){let P=t[h];if(l&&h==="value"&&P==null){e.value=e.__value="",i[h]=P;continue}var _=i[h];if(P!==_){i[h]=P;var p=h[0]+h[1];if(p!=="$$"){if(p==="on"){const A={},x="$$"+h;let b=h.slice(2);var m=ks(b);if(Ps(b)&&(b=b.slice(0,-7),A.capture=!0),!m&&_){if(P!=null)continue;e.removeEventListener(b,i[x],A),i[x]=null}if(P!=null)if(m)e[`__${b}`]=P,sn([b]);else{let S=function(B){i[h].call(this,B)};i[x]=ha(b,e,S,A)}}else if(h==="style"&&P!=null)e.style.cssText=P+"";else if(h==="autofocus")gs(e,!!P);else if(h==="__value"||h==="value"&&P!=null)e.value=e[h]=e.__value=P;else{var g=h;a||(g=xs(g)),P==null&&!o?(d[h]=null,e.removeAttribute(h)):c.includes(g)&&(o||typeof P!="string")?e[g]=P:typeof P!="function"&&J(e,g,P)}h==="style"&&"__styles"in e&&(e.__styles={})}}}return i}var xa=new Map;function Ia(e){var r=xa.get(e.nodeName);if(r)return r;xa.set(e.nodeName,r=[]);for(var t,n=yt(e),a=Element.prototype;a!==n;){t=jn(n);for(var o in t)t[o].set&&r.push(o);n=yt(n)}return r}function un(e,r){var t=e.__className,n=Ms(r);(t!==n||da)&&(r==null?e.removeAttribute("class"):e.className=n,e.__className=n)}function Ms(e){return e??""}function Ns(e,r,t){if(t){if(e.classList.contains(r))return;e.classList.add(r)}else{if(!e.classList.contains(r))return;e.classList.remove(r)}}function Cs(e,r,t=r){var n=kt();bs(e,"input",()=>{var a=Sa(e)?qa(e.value):e.value;t(a),n&&a!==(a=r())&&(e.value=a??"")}),Qr(()=>{var a=r();Sa(e)&&a===qa(e.value)||e.type==="date"&&!a&&!e.value||a!==e.value&&(e.value=a??"")})}function Sa(e){var r=e.type;return r==="number"||r==="range"}function qa(e){return e===""?null:+e}function St(e,r,t){var n=rr(e,r);n&&n.set&&(e[r]=t,Wt(()=>{e[r]=null}))}function Ta(e,r){return e===r||(e==null?void 0:e[cr])===r}function js(e={},r,t,n){return Qt(()=>{var a,o;return Qr(()=>{a=o,o=[],br(()=>{e!==t(...o)&&(r(e,...o),a&&Ta(t(...a),e)&&r(null,...a))})}),()=>{Kr(()=>{o&&Ta(t(...o),e)&&r(null,...o)})}}),e}function Fa(e){return function(...r){var t=r[0];return t.preventDefault(),e==null?void 0:e.apply(this,r)}}function Ue(e=!1){const r=j,t=r.l.u;if(!t)return;let n=()=>be(r.s);if(e){let a=0,o={};const s=ne(()=>{let i=!1;const l=r.s;for(const u in l)l[u]!==o[u]&&(o[u]=l[u],i=!0);return i&&a++,a});n=()=>f(s)}t.b.length&&rs(()=>{Aa(r,n),Bt(t.b)}),Zt(()=>{const a=br(()=>t.m.map(jo));return()=>{for(const o of a)typeof o=="function"&&o()}}),t.a.length&&Zt(()=>{Aa(r,n),Bt(t.a)})}function Aa(e,r){if(e.l.s)for(const t of e.l.s)f(t);r()}function Oa(e,r){var o;var t=(o=e.$$events)==null?void 0:o[r.type],n=er(t)?t.slice():t==null?[]:[t];for(var a of n)a.call(this,r)}function qt(e){j===null&&bt(),M&&j.l!==null?Da(j).m.push(e):Zt(()=>{const r=br(e);if(typeof r=="function")return r})}function Rs(e,r,{bubbles:t=!1,cancelable:n=!1}={}){return new CustomEvent(e,{detail:r,bubbles:t,cancelable:n})}function Us(){const e=j;return e===null&&bt(),(r,t,n)=>{var o;const a=(o=e.s.$$events)==null?void 0:o[r];if(a){const s=er(a)?a.slice():[a],i=Rs(r,t,n);for(const l of s)l.call(e.x,i);return!i.defaultPrevented}return!0}}function Ls(e){j===null&&bt(),j.l===null&&Go(),Da(j).b.push(e)}function Da(e){var r=e.l;return r.u??(r.u={a:[],b:[],m:[]})}function Bs(e,r,t){if(e==null)return r(void 0),Ye;const n=br(()=>e.subscribe(r,t));return n.unsubscribe?()=>n.unsubscribe():n}let Tt=!1;function zs(e,r,t){const n=t[r]??(t[r]={store:null,source:vt(void 0),unsubscribe:Ye});if(n.store!==e)if(n.unsubscribe(),n.store=e??null,e==null)n.source.v=void 0,n.unsubscribe=Ye;else{var a=!0;n.unsubscribe=Bs(e,o=>{a?n.source.v=o:F(n.source,o)}),a=!1}return f(n.source)}function Vs(){const e={};return Wt(()=>{for(var r in e)e[r].unsubscribe()}),e}function Hs(e){var r=Tt;try{return Tt=!1,[e(),Tt]}finally{Tt=r}}const Ys={get(e,r){if(!e.exclude.includes(r))return e.props[r]},set(e,r){return!1},getOwnPropertyDescriptor(e,r){if(!e.exclude.includes(r)&&r in e.props)return{enumerable:!0,configurable:!0,value:e.props[r]}},has(e,r){return e.exclude.includes(r)?!1:r in e.props},ownKeys(e){return Reflect.ownKeys(e.props).filter(r=>!e.exclude.includes(r))}};function cn(e,r,t){return new Proxy({props:e,exclude:r},Ys)}const Gs={get(e,r){let t=e.props.length;for(;t--;){let n=e.props[t];if(Gr(n)&&(n=n()),typeof n=="object"&&n!==null&&r in n)return n[r]}},set(e,r,t){let n=e.props.length;for(;n--;){let a=e.props[n];Gr(a)&&(a=a());const o=rr(a,r);if(o&&o.set)return o.set(t),!0}return!1},getOwnPropertyDescriptor(e,r){let t=e.props.length;for(;t--;){let n=e.props[t];if(Gr(n)&&(n=n()),typeof n=="object"&&n!==null&&r in n){const a=rr(n,r);return a&&!a.configurable&&(a.configurable=!0),a}}},has(e,r){if(r===cr||r===Ln)return!1;for(let t of e.props)if(Gr(t)&&(t=t()),t!=null&&r in t)return!0;return!1},ownKeys(e){const r=[];for(let t of e.props){Gr(t)&&(t=t());for(const n in t)r.includes(n)||r.push(n)}return r}};function st(...e){return new Proxy({props:e},Gs)}function Ma(e){for(var r=C,t=C;r!==null&&!(r.f&(je|Zr));)r=r.parent;try{return Ze(r),e()}finally{Ze(t)}}function v(e,r,t,n){var I;var a=(t&hr)!==0,o=!M||(t&Br)!==0,s=(t&zr)!==0,i=(t&Oe)!==0,l=!1,u;s?[u,l]=Hs(()=>e[r]):u=e[r];var c=cr in e||Ln in e,d=((I=rr(e,r))==null?void 0:I.set)??(c&&s&&r in e?q=>e[r]=q:void 0),_=n,p=!0,m=!1,g=()=>(m=!0,p&&(p=!1,i?_=br(n):_=n),_);u===void 0&&n!==void 0&&(d&&o&&Wo(),u=g(),d&&d(u));var h;if(o)h=()=>{var q=e[r];return q===void 0?g():(p=!0,m=!1,q)};else{var P=Ma(()=>(a?ne:$)(()=>e[r]));P.f|=Uo,h=()=>{var q=f(P);return q!==void 0&&(_=void 0),q===void 0?_:q}}if(!(t&V))return h;if(d){var A=e.$$legacy;return function(q,Y){return arguments.length>0?((!o||!Y||A||l)&&d(Y?h():q),q):h()}}var x=!1,b=!1,S=vt(u),B=Ma(()=>ne(()=>{var q=h(),Y=f(S);return x?(x=!1,b=!0,Y):(b=!1,S.v=q)}));return a||(B.equals=Ht),function(q,Y){if(arguments.length>0){const re=Y?f(B):o&&s?nr(q):q;return B.equals(re)||(x=!0,F(S,re),m&&_!==void 0&&(_=re),br(()=>f(B))),q}return f(B)}}const Ws={hash:"svelte-1bzqb13",code:".rcb-modal-section.svelte-1bzqb13 {padding:8px 0px;display:flex;}section.rcb-modal-section.svelte-1bzqb13 {flex-grow:1;}.rcb-modal-section.svelte-1bzqb13:last-of-type {padding:0;}"};function Nr(e,r){L(e,Ws);let t=v(r,"as",8,"section");var n=ae(),a=N(n);ka(a,t,!1,(o,s)=>{Ea(o,null,{class:"rcb-modal-section"},"svelte-1bzqb13",o.namespaceURI===Hr,o.nodeName.includes("-"));var i=ae(),l=N(i);ce(l,r,"default",{}),y(s,i)}),y(e,n)}const wr="rcb-ui-translator",or="en",Zs={"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.unknownFrequency":"unknown","periods.weekFrequencyPlural":"every {{amount}} weeks","periods.monthFrequencyPlural":"every {{amount}} months","periods.yearFrequencyPlural":"every {{amount}} years","periods.dayFrequencyPlural":"every {{amount}} days","state_present_offer.product_title":"{{productTitle}}","state_present_offer.product_description":"{{productDescription}}","state_present_offer.product_price":"{{productPrice}}","state_present_offer.free_trial_duration":"{{trialDuration}} free trial","state_present_offer.price_after_free_trial":"{{productPrice}} after end of trial","state_present_offer.renewal_frequency":"Renews {{frequency}}","state_present_offer.continues_until_cancelled":"Continues until cancelled","state_present_offer.cancel_anytime":"Cancel anytime","state_needs_auth_info.email_step_title":"Billing email address","state_needs_auth_info.email_input_label":"Email","state_needs_auth_info.email_input_placeholder":"john@appleseed.com","state_needs_auth_info.button_continue":"Continue","state_needs_payment_info.payment_step_title":"Secure checkout","state_needs_payment_info.button_pay":"Pay","state_needs_payment_info.button_start_trial":"Start Trial","state_success.purchase_successful":"Purchase successful","state_success.subscription_now_active":"Your subscription is now active","state_success.button_close":"Close","state_error.if_error_persists":"If the error persists, please contact ","state_error.error_title_already_subscribed":"Already Subscribed","state_error.error_title_already_purchased":"Already Purchased","state_error.error_title_other_errors":"Something went wrong","state_error.error_message_already_subscribed":"You are already subscribed to this product.","state_error.error_message_already_purchased":"You have already purchased this product.","state_error.error_message_missing_email_error":"Email is required to complete the purchase.","state_error.error_message_network_error":"Network error. Please check your internet connection.","state_error.error_message_error_charging_payment":"Payment failed.","state_error.error_message_error_setting_up_purchase":"Purchase not started due to an error. Error code: {{errorCode}}","state_error.error_message_unknown_error":"An unknown error occurred. Error code: {{errorCode}}","state_error.button_try_again":"Try again","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}% off","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})"},Qs={"periods.week":"{{amount}} semana","periods.month":"{{amount}} mes","periods.year":"{{amount}} año","periods.day":"{{amount}} día","periods.weekShort":"{{amount}}wk","periods.monthShort":"{{amount}}mo","periods.yearShort":"{{amount}}yr","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":"cada semana","periods.monthFrequency":"cada mes","periods.yearFrequency":"cada año","periods.dayFrequency":"cada 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","state_present_offer.product_title":"{{productTitle}}","state_present_offer.product_description":"{{productDescription}}","state_present_offer.product_price":"{{productPrice}}","state_present_offer.free_trial_duration":"Prueba gratuita de {{trialDuration}}","state_present_offer.price_after_free_trial":"{{productPrice}} tras el periodo de prueba","state_present_offer.renewal_frequency":"Se renueva {{frequency}}","state_present_offer.continues_until_cancelled":"Continúa hasta que se cancele","state_present_offer.cancel_anytime":"Cancela en cualquier momento","state_needs_auth_info.email_step_title":"Email de facturación","state_needs_auth_info.email_input_label":"Email","state_needs_auth_info.email_input_placeholder":"john@appleseed.com","state_needs_auth_info.button_continue":"Continuar","state_needs_payment_info.payment_step_title":"Pago seguro","state_needs_payment_info.button_pay":"Pagar","state_needs_payment_info.button_start_trial":"Comenzar la prueba","state_success.purchase_successful":"Compra completada","state_success.subscription_now_active":"Tu suscripción ya está activa","state_success.button_close":"Cerrar","state_error.if_error_persists":"Si el problema persiste, por favor contáctanos en ","state_error.error_title_already_subscribed":"Suscripción existente","state_error.error_title_already_purchased":"Producto ya adquirido","state_error.error_title_other_errors":"Algo salió mal","state_error.error_message_already_subscribed":"Ya te has suscrito a este producto.","state_error.error_message_already_purchased":"Ya has comprado este producto.","state_error.error_message_missing_email_error":"Se requiere un email para completar la compra.","state_error.error_message_network_error":"Error de red. Por favor, verifica tu conexión a internet.","state_error.error_message_error_charging_payment":"El pago no se completó.","state_error.error_message_error_setting_up_purchase":"La compra no se inició debido a un error. Código de error: {{errorCode}}","state_error.error_message_unknown_error":"Ocurrió un error desconocido. Código de error: {{errorCode}}","state_error.button_try_again":"Intentar de nuevo","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}% de descuento","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})"},Js={"periods.week":"{{amount}} settimana","periods.month":"{{amount}} mese","periods.year":"{{amount}} anno","periods.day":"{{amount}} giorno","periods.weekShort":"{{amount}} settim.","periods.monthShort":"{{amount}} mese","periods.yearShort":"{{amount}} anno","periods.dayShort":"{{amount}} giorno","periods.lifetime":"a vita","periods.weekPlural":"{{amount}} settimane","periods.monthPlural":"{{amount}} mesi","periods.yearPlural":"{{amount}} anni","periods.dayPlural":"{{amount}} giorni","periods.weekFrequency":"ogni settimana","periods.monthFrequency":"ogni mese","periods.yearFrequency":"ogni anno","periods.dayFrequency":"ogni giorno","periods.unknownFrequency":"sconosciuta","periods.weekFrequencyPlural":"ogni {{amount}} settimane","periods.monthFrequencyPlural":"ogni {{amount}} mesi","periods.yearFrequencyPlural":"ogni {{amount}} anni","periods.dayFrequencyPlural":"ogni {{amount}} giorni","state_present_offer.product_title":"{{productTitle}}","state_present_offer.product_description":"{{productDescription}}","state_present_offer.product_price":"{{productPrice}}","state_present_offer.free_trial_duration":"{{trialDuration}} prova gratuita","state_present_offer.price_after_free_trial":"{{productPrice}} dopo la fine della prova","state_present_offer.renewal_frequency":"Si rinnova {{frequency}}","state_present_offer.continues_until_cancelled":"Continua fino alla cancellazione","state_present_offer.cancel_anytime":"Cancella in qualsiasi momento","state_needs_auth_info.email_step_title":"Indirizzo email per la fatturazione","state_needs_auth_info.email_input_label":"Email","state_needs_auth_info.email_input_placeholder":"john@appleseed.com","state_needs_auth_info.button_continue":"Continua","state_needs_payment_info.payment_step_title":"Pagamento sicuro","state_needs_payment_info.button_pay":"Paga","state_needs_payment_info.button_start_trial":"Inizia la prova","state_success.purchase_successful":"Acquisto riuscito","state_success.subscription_now_active":"Il tuo abbonamento è ora attivo","state_success.button_close":"Chiudi","state_error.if_error_persists":"Se l'errore persiste, contatta ","state_error.error_title_already_subscribed":"Già abbonato","state_error.error_title_already_purchased":"Già acquistato","state_error.error_title_other_errors":"Qualcosa è andato storto","state_error.error_message_already_subscribed":"Sei già abbonato a questo prodotto.","state_error.error_message_already_purchased":"Hai già acquistato questo prodotto.","state_error.error_message_missing_email_error":"L'email è necessaria per completare l'acquisto.","state_error.error_message_network_error":"Errore di rete. Controlla la tua connessione internet.","state_error.error_message_error_charging_payment":"Pagamento fallito.","state_error.error_message_error_setting_up_purchase":"Acquisto non avviato a causa di un errore. Codice errore: {{errorCode}}","state_error.error_message_unknown_error":"Si è verificato un errore sconosciuto. Codice errore: {{errorCode}}","state_error.button_try_again":"Riprova","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}% di sconto","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})"},$s={"periods.unknownFrequency":"غير معروف","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.weekFrequencyPlural":"كل {{amount}} أسابيع","periods.monthFrequencyPlural":"كل {{amount}} أشهر","periods.yearFrequencyPlural":"كل {{amount}} سنوات","periods.dayFrequencyPlural":"كل {{amount}} أيام","state_present_offer.product_title":"{{productTitle}}","state_present_offer.product_description":"{{productDescription}}","state_present_offer.product_price":"{{productPrice}}","state_present_offer.free_trial_duration":"{{trialDuration}} تجربة مجانية","state_present_offer.price_after_free_trial":"{{productPrice}} بعد نهاية التجربة","state_present_offer.renewal_frequency":"تجدد {{frequency}}","state_present_offer.continues_until_cancelled":"تستمر حتى الإلغاء","state_present_offer.cancel_anytime":"الإلغاء في أي وقت","state_needs_auth_info.email_step_title":"عنوان البريد الإلكتروني للفوترة","state_needs_auth_info.email_input_label":"البريد الإلكتروني","state_needs_auth_info.email_input_placeholder":"john@appleseed.com","state_needs_auth_info.button_continue":"متابعة","state_needs_payment_info.payment_step_title":"الدفع الآمن","state_needs_payment_info.button_pay":"دفع","state_needs_payment_info.button_start_trial":"ابدأ التجربة","state_success.purchase_successful":"تم الشراء بنجاح","state_success.subscription_now_active":"اشتراكك نشط الآن","state_success.button_close":"إغلاق","state_error.if_error_persists":"إذا استمرت المشكلة، يرجى الاتصال بـ ","state_error.error_title_already_subscribed":"مشترك بالفعل","state_error.error_title_already_purchased":"تم الشراء بالفعل","state_error.error_title_other_errors":"حدث خطأ ما","state_error.error_message_already_subscribed":"أنت مشترك بالفعل في هذا المنتج.","state_error.error_message_already_purchased":"لقد قمت بالفعل بشراء هذا المنتج.","state_error.error_message_missing_email_error":"البريد الإلكتروني مطلوب لإكمال عملية الشراء.","state_error.error_message_network_error":"خطأ في الشبكة. يرجى التحقق من اتصال الإنترنت.","state_error.error_message_error_charging_payment":"فشل الدفع.","state_error.error_message_error_setting_up_purchase":"لم يتم بدء عملية الشراء بسبب خطأ. رمز الخطأ: {{errorCode}}","state_error.error_message_unknown_error":"حدث خطأ غير معروف. رمز الخطأ: {{errorCode}}","state_error.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}})"},Ks={"periods.unknownFrequency":"desconegut","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}} dia","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.weekFrequencyPlural":"cada {{amount}} setmanes","periods.monthFrequencyPlural":"cada {{amount}} mesos","periods.yearFrequencyPlural":"cada {{amount}} anys","periods.dayFrequencyPlural":"cada {{amount}} dies","state_present_offer.product_title":"{{productTitle}}","state_present_offer.product_description":"{{productDescription}}","state_present_offer.product_price":"{{productPrice}}","state_present_offer.free_trial_duration":"{{trialDuration}} prova gratuïta","state_present_offer.price_after_free_trial":"{{productPrice}} després de la prova","state_present_offer.renewal_frequency":"Es renova {{frequency}}","state_present_offer.continues_until_cancelled":"Continua fins a la cancel·lació","state_present_offer.cancel_anytime":"Cancel·la en qualsevol moment","state_needs_auth_info.email_step_title":"Adreça de correu electrònic de facturació","state_needs_auth_info.email_input_label":"Correu electrònic","state_needs_auth_info.email_input_placeholder":"john@appleseed.com","state_needs_auth_info.button_continue":"Continua","state_needs_payment_info.payment_step_title":"Pagament segur","state_needs_payment_info.button_pay":"Paga","state_needs_payment_info.button_start_trial":"Comença la prova","state_success.purchase_successful":"Compra realitzada amb èxit","state_success.subscription_now_active":"La teva subscripció ja està activa","state_success.button_close":"Tanca","state_error.if_error_persists":"Si l'error persisteix, contacta amb ","state_error.error_title_already_subscribed":"Ja subscrit","state_error.error_title_already_purchased":"Ja comprat","state_error.error_title_other_errors":"Alguna cosa ha fallat","state_error.error_message_already_subscribed":"Ja estàs subscrit a aquest producte.","state_error.error_message_already_purchased":"Ja has comprat aquest producte.","state_error.error_message_missing_email_error":"Es necessita el correu electrònic per completar la compra.","state_error.error_message_network_error":"Error de xarxa. Comprova la teva connexió a Internet.","state_error.error_message_error_charging_payment":"El pagament ha fallat.","state_error.error_message_error_setting_up_purchase":"No s'ha pogut iniciar la compra a causa d'un error. Codi d'error: {{errorCode}}","state_error.error_message_unknown_error":"S'ha produït un error desconegut. Codi d'error: {{errorCode}}","state_error.button_try_again":"Torna-ho a provar","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}% de descompte","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}} ({{formattedPricePerMonth}}/{{monthPeriod}})"},Xs={"periods.unknownFrequency":"未知","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.weekFrequencyPlural":"每 {{amount}} 周","periods.monthFrequencyPlural":"每 {{amount}} 月","periods.yearFrequencyPlural":"每 {{amount}} 年","periods.dayFrequencyPlural":"每 {{amount}} 天","state_present_offer.product_title":"{{productTitle}}","state_present_offer.product_description":"{{productDescription}}","state_present_offer.product_price":"{{productPrice}}","state_present_offer.free_trial_duration":"{{trialDuration}} 免费试用","state_present_offer.price_after_free_trial":"{{productPrice}} 试用结束后","state_present_offer.renewal_frequency":"续订 {{frequency}}","state_present_offer.continues_until_cancelled":"持续至取消","state_present_offer.cancel_anytime":"随时取消","state_needs_auth_info.email_step_title":"账单电子邮件地址","state_needs_auth_info.email_input_label":"电子邮件","state_needs_auth_info.email_input_placeholder":"john@appleseed.com","state_needs_auth_info.button_continue":"继续","state_needs_payment_info.payment_step_title":"安全结账","state_needs_payment_info.button_pay":"支付","state_needs_payment_info.button_start_trial":"开始试用","state_success.purchase_successful":"购买成功","state_success.subscription_now_active":"您的订阅现已激活","state_success.button_close":"关闭","state_error.if_error_persists":"如果错误仍然存在,请联系 ","state_error.error_title_already_subscribed":"已订阅","state_error.error_title_already_purchased":"已购买","state_error.error_title_other_errors":"出了点问题","state_error.error_message_already_subscribed":"您已订阅此产品。","state_error.error_message_already_purchased":"您已购买此产品。","state_error.error_message_missing_email_error":"需要电子邮件才能完成购买。","state_error.error_message_network_error":"网络错误。请检查您的互联网连接。","state_error.error_message_error_charging_payment":"付款失败。","state_error.error_message_error_setting_up_purchase":"由于错误,购买未开始。错误代码:{{errorCode}}","state_error.error_message_unknown_error":"发生未知错误。错误代码:{{errorCode}}","state_error.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}})"},ei={"periods.unknownFrequency":"未知","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.weekFrequencyPlural":"每 {{amount}} 週","periods.monthFrequencyPlural":"每 {{amount}} 月","periods.yearFrequencyPlural":"每 {{amount}} 年","periods.dayFrequencyPlural":"每 {{amount}} 天","state_present_offer.product_title":"{{productTitle}}","state_present_offer.product_description":"{{productDescription}}","state_present_offer.product_price":"{{productPrice}}","state_present_offer.free_trial_duration":"{{trialDuration}} 免費試用","state_present_offer.price_after_free_trial":"{{productPrice}} 試用結束後","state_present_offer.renewal_frequency":"續訂 {{frequency}}","state_present_offer.continues_until_cancelled":"持續至取消","state_present_offer.cancel_anytime":"隨時取消","state_needs_auth_info.email_step_title":"帳單電子郵件地址","state_needs_auth_info.email_input_label":"電子郵件","state_needs_auth_info.email_input_placeholder":"john@appleseed.com","state_needs_auth_info.button_continue":"繼續","state_needs_payment_info.payment_step_title":"安全結帳","state_needs_payment_info.button_pay":"支付","state_needs_payment_info.button_start_trial":"開始試用","state_success.purchase_successful":"購買成功","state_success.subscription_now_active":"您的訂閱現已啟用","state_success.button_close":"關閉","state_error.if_error_persists":"如果錯誤仍然存在,請聯繫 ","state_error.error_title_already_subscribed":"已訂閱","state_error.error_title_already_purchased":"已購買","state_error.error_title_other_errors":"出了一些問題","state_error.error_message_already_subscribed":"您已訂閱此產品。","state_error.error_message_already_purchased":"您已購買此產品。","state_error.error_message_missing_email_error":"需要電子郵件才能完成購買。","state_error.error_message_network_error":"網絡錯誤。請檢查您的互聯網連接。","state_error.error_message_error_charging_payment":"付款失敗。","state_error.error_message_error_setting_up_purchase":"由於錯誤,購買未開始。錯誤代碼:{{errorCode}}","state_error.error_message_unknown_error":"發生未知錯誤。錯誤代碼:{{errorCode}}","state_error.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}})"},ri={"periods.unknownFrequency":"nepoznato","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}} god.","periods.dayShort":"{{amount}} dan","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.weekFrequencyPlural":"svakih {{amount}} tjedana","periods.monthFrequencyPlural":"svakih {{amount}} mjeseci","periods.yearFrequencyPlural":"svakih {{amount}} godina","periods.dayFrequencyPlural":"svakih {{amount}} dana","state_present_offer.product_title":"{{productTitle}}","state_present_offer.product_description":"{{productDescription}}","state_present_offer.product_price":"{{productPrice}}","state_present_offer.free_trial_duration":"{{trialDuration}} besplatno probno razdoblje","state_present_offer.price_after_free_trial":"{{productPrice}} nakon završetka probnog razdoblja","state_present_offer.renewal_frequency":"Obnavlja se {{frequency}}","state_present_offer.continues_until_cancelled":"Traje dok se ne otkaže","state_present_offer.cancel_anytime":"Otkaži bilo kada","state_needs_auth_info.email_step_title":"Adresa e-pošte za naplatu","state_needs_auth_info.email_input_label":"E-pošta","state_needs_auth_info.email_input_placeholder":"john@appleseed.com","state_needs_auth_info.button_continue":"Nastavi","state_needs_payment_info.payment_step_title":"Sigurna naplata","state_needs_payment_info.button_pay":"Plati","state_needs_payment_info.button_start_trial":"Započni probu","state_success.purchase_successful":"Kupnja uspješna","state_success.subscription_now_active":"Vaša pretplata je sada aktivna","state_success.button_close":"Zatvori","state_error.if_error_persists":"Ako pogreška i dalje traje, kontaktirajte ","state_error.error_title_already_subscribed":"Već pretplaćeno","state_error.error_title_already_purchased":"Već kupljeno","state_error.error_title_other_errors":"Nešto je pošlo po krivu","state_error.error_message_already_subscribed":"Već ste pretplaćeni na ovaj proizvod.","state_error.error_message_already_purchased":"Već ste kupili ovaj proizvod.","state_error.error_message_missing_email_error":"E-pošta je potrebna za dovršetak kupnje.","state_error.error_message_network_error":"Greška u mreži. Provjerite internetsku vezu.","state_error.error_message_error_charging_payment":"Plaćanje nije uspjelo.","state_error.error_message_error_setting_up_purchase":"Kupnja nije započeta zbog greške. Kôd greške: {{errorCode}}","state_error.error_message_unknown_error":"Došlo je do nepoznate greške. Kôd greške: {{errorCode}}","state_error.button_try_again":"Pokušaj ponovno","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}% popust","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}} ({{formattedPricePerMonth}}/{{monthPeriod}})"},ti={"periods.unknownFrequency":"neznámý","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}} den","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.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ů","state_present_offer.product_title":"{{productTitle}}","state_present_offer.product_description":"{{productDescription}}","state_present_offer.product_price":"{{productPrice}}","state_present_offer.free_trial_duration":"{{trialDuration}} bezplatná zkušební verze","state_present_offer.price_after_free_trial":"{{productPrice}} po skončení zkušební verze","state_present_offer.renewal_frequency":"Obnovuje se {{frequency}}","state_present_offer.continues_until_cancelled":"Pokračuje, dokud není zrušeno","state_present_offer.cancel_anytime":"Zrušit kdykoliv","state_needs_auth_info.email_step_title":"Fakturační e-mailová adresa","state_needs_auth_info.email_input_label":"E-mail","state_needs_auth_info.email_input_placeholder":"john@appleseed.com","state_needs_auth_info.button_continue":"Pokračovat","state_needs_payment_info.payment_step_title":"Bezpečná platba","state_needs_payment_info.button_pay":"Zaplatit","state_needs_payment_info.button_start_trial":"Zahájit zkušební verzi","state_success.purchase_successful":"Nákup úspěšný","state_success.subscription_now_active":"Vaše předplatné je nyní aktivní","state_success.button_close":"Zavřít","state_error.if_error_persists":"Pokud chyba přetrvává, kontaktujte ","state_error.error_title_already_subscribed":"Již přihlášeno k odběru","state_error.error_title_already_purchased":"Již zakoupeno","state_error.error_title_other_errors":"Něco se pokazilo","state_error.error_message_already_subscribed":"Již jste přihlášeni k odběru tohoto produktu.","state_error.error_message_already_purchased":"Tento produkt jste již zakoupili.","state_error.error_message_missing_email_error":"Pro dokončení nákupu je vyžadován e-mail.","state_error.error_message_network_error":"Chyba sítě. Zkontrolujte své internetové připojení.","state_error.error_message_error_charging_payment":"Platba nebyla úspěšná.","state_error.error_message_error_setting_up_purchase":"Nákup nebyl zahájen kvůli chybě. Kód chyby: {{errorCode}}","state_error.error_message_unknown_error":"Došlo k neznámé chybě. Kód chyby: {{errorCode}}","state_error.button_try_again":"Zkusit znovu","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}% sleva","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}} ({{formattedPricePerMonth}}/{{monthPeriod}})"},ni={"periods.unknownFrequency":"ukendt","periods.week":"{{amount}} uge","periods.month":"{{amount}} måned","periods.year":"{{amount}} år","periods.day":"{{amount}} dag","periods.weekShort":"{{amount}} uge","periods.monthShort":"{{amount}} md.","periods.yearShort":"{{amount}} år","periods.dayShort":"{{amount}} dag","periods.lifetime":"livstid","periods.weekPlural":"{{amount}} uger","periods.monthPlural":"{{amount}} måneder","periods.yearPlural":"{{amount}} år","periods.dayPlural":"{{amount}} dage","periods.weekFrequency":"ugentlig","periods.monthFrequency":"månedlig","periods.yearFrequency":"årlig","periods.dayFrequency":"daglig","periods.weekFrequencyPlural":"hver {{amount}} uge","periods.monthFrequencyPlural":"hver {{amount}} måned","periods.yearFrequencyPlural":"hvert {{amount}} år","periods.dayFrequencyPlural":"hver {{amount}} dag","state_present_offer.product_title":"{{productTitle}}","state_present_offer.product_description":"{{productDescription}}","state_present_offer.product_price":"{{productPrice}}","state_present_offer.free_trial_duration":"{{trialDuration}} gratis prøveperiode","state_present_offer.price_after_free_trial":"{{productPrice}} efter prøveperioden","state_present_offer.renewal_frequency":"Fornyes {{frequency}}","state_present_offer.continues_until_cancelled":"Fortsætter indtil annulleret","state_present_offer.cancel_anytime":"Annuller når som helst","state_needs_auth_info.email_step_title":"Fakturerings-e-mailadresse","state_needs_auth_info.email_input_label":"E-mail","state_needs_auth_info.email_input_placeholder":"john@appleseed.com","state_needs_auth_info.button_continue":"Fortsæt","state_needs_payment_info.payment_step_title":"Sikker betaling","state_needs_payment_info.button_pay":"Betal","state_needs_payment_info.button_start_trial":"Start prøveperiode","state_success.purchase_successful":"Købet lykkedes","state_success.subscription_now_active":"Dit abonnement er nu aktivt","state_success.button_close":"Luk","state_error.if_error_persists":"Hvis fejlen fortsætter, kontakt ","state_error.error_title_already_subscribed":"Allerede abonneret","state_error.error_title_already_purchased":"Allerede købt","state_error.error_title_other_errors":"Noget gik galt","state_error.error_message_already_subscribed":"Du er allerede abonneret på dette produkt.","state_error.error_message_already_purchased":"Du har allerede købt dette produkt.","state_error.error_message_missing_email_error":"E-mail er påkrævet for at fuldføre købet.","state_error.error_message_network_error":"Netværksfejl. Tjek din internetforbindelse.","state_error.error_message_error_charging_payment":"Betalingen mislykkedes.","state_error.error_message_error_setting_up_purchase":"Købet blev ikke startet på grund af en fejl. Fejlkode: {{errorCode}}","state_error.error_message_unknown_error":"Der opstod en ukendt fejl. Fejlkode: {{errorCode}}","state_error.button_try_again":"Prøv igen","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}% rabat","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}} ({{formattedPricePerMonth}}/{{monthPeriod}})"},ai={"periods.unknownFrequency":"onbekend","periods.week":"{{amount}} week","periods.month":"{{amount}} maand","periods.year":"{{amount}} jaar","periods.day":"{{amount}} dag","periods.weekShort":"{{amount}} wk","periods.monthShort":"{{amount}} mnd","periods.yearShort":"{{amount}} jr","periods.dayShort":"{{amount}} dag","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.weekFrequencyPlural":"elke {{amount}} weken","periods.monthFrequencyPlural":"elke {{amount}} maanden","periods.yearFrequencyPlural":"elke {{amount}} jaren","periods.dayFrequencyPlural":"elke {{amount}} dagen","state_present_offer.product_title":"{{productTitle}}","state_present_offer.product_description":"{{productDescription}}","state_present_offer.product_price":"{{productPrice}}","state_present_offer.free_trial_duration":"{{trialDuration}} gratis proefperiode","state_present_offer.price_after_free_trial":"{{productPrice}} na afloop van de proefperiode","state_present_offer.renewal_frequency":"Verlengt {{frequency}}","state_present_offer.continues_until_cancelled":"Gaat door tot het wordt geannuleerd","state_present_offer.cancel_anytime":"Annuleer op elk moment","state_needs_auth_info.email_step_title":"Facturatie e-mailadres","state_needs_auth_info.email_input_label":"E-mail","state_needs_auth_info.email_input_placeholder":"john@appleseed.com","state_needs_auth_info.button_continue":"Doorgaan","state_needs_payment_info.payment_step_title":"Veilige betaling","state_needs_payment_info.button_pay":"Betalen","state_needs_payment_info.button_start_trial":"Proef starten","state_success.purchase_successful":"Aankoop geslaagd","state_success.subscription_now_active":"Uw abonnement is nu actief","state_success.button_close":"Sluiten","state_error.if_error_persists":"Als het probleem zich blijft voordoen, neem contact op met ","state_error.error_title_already_subscribed":"Al geabonneerd","state_error.error_title_already_purchased":"Al gekocht","state_error.error_title_other_errors":"Er is iets misgegaan","state_error.error_message_already_subscribed":"U bent al geabonneerd op dit product.","state_error.error_message_already_purchased":"U heeft dit product al gekocht.","state_error.error_message_missing_email_error":"Een e-mailadres is vereist om de aankoop te voltooien.","state_error.error_message_network_error":"Netwerkfout. Controleer uw internetverbinding.","state_error.error_message_error_charging_payment":"Betaling mislukt.","state_error.error_message_error_setting_up_purchase":"Aankoop is niet gestart vanwege een fout. Foutcode: {{errorCode}}","state_error.error_message_unknown_error":"Er is een onbekende fout opgetreden. Foutcode: {{errorCode}}","state_error.button_try_again":"Opnieuw proberen","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}% korting","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}} ({{formattedPricePerMonth}}/{{monthPeriod}})"},oi={"periods.unknownFrequency":"tuntematon","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}} pv","periods.lifetime":"elinikäinen","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.weekFrequencyPlural":"joka {{amount}} viikko","periods.monthFrequencyPlural":"joka {{amount}} kuukausi","periods.yearFrequencyPlural":"joka {{amount}} vuosi","periods.dayFrequencyPlural":"joka {{amount}} päivä","state_present_offer.product_title":"{{productTitle}}","state_present_offer.product_description":"{{productDescription}}","state_present_offer.product_price":"{{productPrice}}","state_present_offer.free_trial_duration":"{{trialDuration}} ilmainen kokeilu","state_present_offer.price_after_free_trial":"{{productPrice}} kokeilujakson jälkeen","state_present_offer.renewal_frequency":"Uudistuu {{frequency}}","state_present_offer.continues_until_cancelled":"Jatkuu, kunnes peruutetaan","state_present_offer.cancel_anytime":"Peruuta milloin tahansa","state_needs_auth_info.email_step_title":"Laskutussähköpostiosoite","state_needs_auth_info.email_input_label":"Sähköposti","state_needs_auth_info.email_input_placeholder":"john@appleseed.com","state_needs_auth_info.button_continue":"Jatka","state_needs_payment_info.payment_step_title":"Turvallinen maksaminen","state_needs_payment_info.button_pay":"Maksa","state_needs_payment_info.button_start_trial":"Aloita kokeilu","state_success.purchase_successful":"Osto onnistui","state_success.subscription_now_active":"Tilauksesi on nyt aktiivinen","state_success.button_close":"Sulje","state_error.if_error_persists":"Jos virhe jatkuu, ota yhteyttä ","state_error.error_title_already_subscribed":"Jo tilattu","state_error.error_title_already_purchased":"Jo ostettu","state_error.error_title_other_errors":"Jotain meni pieleen","state_error.error_message_already_subscribed":"Olet jo tilannut tämän tuotteen.","state_error.error_message_already_purchased":"Olet jo ostanut tämän tuotteen.","state_error.error_message_missing_email_error":"Sähköposti tarvitaan ostoksen suorittamiseen.","state_error.error_message_network_error":"Verkkovirhe. Tarkista internetyhteytesi.","state_error.error_message_error_charging_payment":"Maksu epäonnistui.","state_error.error_message_error_setting_up_purchase":"Ostosta ei aloitettu virheen vuoksi. Virhekoodi: {{errorCode}}","state_error.error_message_unknown_error":"Tapahtui tuntematon virhe. Virhekoodi: {{errorCode}}","state_error.button_try_again":"Yritä uudelleen","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}% alennus","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}} ({{formattedPricePerMonth}}/{{monthPeriod}})"},si={"periods.unknownFrequency":"inconnu","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.weekFrequencyPlural":"toutes les {{amount}} semaines","periods.monthFrequencyPlural":"tous les {{amount}} mois","periods.yearFrequencyPlural":"toutes les {{amount}} années","periods.dayFrequencyPlural":"tous les {{amount}} jours","state_present_offer.product_title":"{{productTitle}}","state_present_offer.product_description":"{{productDescription}}","state_present_offer.product_price":"{{productPrice}}","state_present_offer.free_trial_duration":"{{trialDuration}} essai gratuit","state_present_offer.price_after_free_trial":"{{productPrice}} après la fin de l'essai","state_present_offer.renewal_frequency":"Renouvellement {{frequency}}","state_present_offer.continues_until_cancelled":"Continue jusqu'à annulation","state_present_offer.cancel_anytime":"Annulez à tout moment","state_needs_auth_info.email_step_title":"Adresse e-mail de facturation","state_needs_auth_info.email_input_label":"E-mail","state_needs_auth_info.email_input_placeholder":"john@appleseed.com","state_needs_auth_info.button_continue":"Continuer","state_needs_payment_info.payment_step_title":"Paiement sécurisé","state_needs_payment_info.button_pay":"Payer","state_needs_payment_info.button_start_trial":"Démarrer l'essai","state_success.purchase_successful":"Achat réussi","state_success.subscription_now_active":"Votre abonnement est maintenant actif","state_success.button_close":"Fermer","state_error.if_error_persists":"Si l'erreur persiste, contactez ","state_error.error_title_already_subscribed":"Déjà abonné","state_error.error_title_already_purchased":"Déjà acheté","state_error.error_title_other_errors":"Quelque chose a mal tourné","state_error.error_message_already_subscribed":"Vous êtes déjà abonné à ce produit.","state_error.error_message_already_purchased":"Vous avez déjà acheté ce produit.","state_error.error_message_missing_email_error":"L'e-mail est requis pour finaliser l'achat.","state_error.error_message_network_error":"Erreur réseau. Veuillez vérifier votre connexion Internet.","state_error.error_message_error_charging_payment":"Échec du paiement.","state_error.error_message_error_setting_up_purchase":"L'achat n'a pas été lancé en raison d'une erreur. Code d'erreur : {{errorCode}}","state_error.error_message_unknown_error":"Une erreur inconnue est survenue. Code d'erreur : {{errorCode}}","state_error.button_try_again":"Réessayer","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}% de réduction","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}} ({{formattedPricePerMonth}}/{{monthPeriod}})"},ii={"periods.unknownFrequency":"unbekannt","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.weekFrequencyPlural":"alle {{amount}} Wochen","periods.monthFrequencyPlural":"alle {{amount}} Monate","periods.yearFrequencyPlural":"alle {{amount}} Jahre","periods.dayFrequencyPlural":"alle {{amount}} Tage","state_present_offer.product_title":"{{productTitle}}","state_present_offer.product_description":"{{productDescription}}","state_present_offer.product_price":"{{productPrice}}","state_present_offer.free_trial_duration":"{{trialDuration}} kostenlose Testphase","state_present_offer.price_after_free_trial":"{{productPrice}} nach Ende der Testphase","state_present_offer.renewal_frequency":"Erneuert sich {{frequency}}","state_present_offer.continues_until_cancelled":"Läuft bis zur Kündigung","state_present_offer.cancel_anytime":"Jederzeit kündbar","state_needs_auth_info.email_step_title":"E-Mail-Adresse für Rechnungsstellung","state_needs_auth_info.email_input_label":"E-Mail","state_needs_auth_info.email_input_placeholder":"john@appleseed.com","state_needs_auth_info.button_continue":"Weiter","state_needs_payment_info.payment_step_title":"Sicherer Checkout","state_needs_payment_info.button_pay":"Bezahlen","state_needs_payment_info.button_start_trial":"Test starten","state_success.purchase_successful":"Kauf erfolgreich","state_success.subscription_now_active":"Ihr Abonnement ist jetzt aktiv","state_success.button_close":"Schließen","state_error.if_error_persists":"Falls der Fehler weiterhin besteht, kontaktieren Sie ","state_error.error_title_already_subscribed":"Bereits abonniert","state_error.error_title_already_purchased":"Bereits gekauft","state_error.error_title_other_errors":"Etwas ist schiefgelaufen","state_error.error_message_already_subscribed":"Sie sind bereits für dieses Produkt abonniert.","state_error.error_message_already_purchased":"Sie haben dieses Produkt bereits gekauft.","state_error.error_message_missing_email_error":"Zum Abschließen des Kaufs wird eine E-Mail benötigt.","state_error.error_message_network_error":"Netzwerkfehler. Bitte überprüfen Sie Ihre Internetverbindung.","state_error.error_message_error_charging_payment":"Zahlung fehlgeschlagen.","state_error.error_message_error_setting_up_purchase":"Kauf konnte aufgrund eines Fehlers nicht gestartet werden. Fehlercode: {{errorCode}}","state_error.error_message_unknown_error":"Ein unbekannter Fehler ist aufgetreten. Fehlercode: {{errorCode}}","state_error.button_try_again":"Erneut versuchen","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}% Rabatt","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}} ({{formattedPricePerMonth}}/{{monthPeriod}})"},li={"periods.unknownFrequency":"άγνωστος","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.weekFrequencyPlural":"κάθε {{amount}} εβδομάδες","periods.monthFrequencyPlural":"κάθε {{amount}} μήνες","periods.yearFrequencyPlural":"κάθε {{amount}} έτη","periods.dayFrequencyPlural":"κάθε {{amount}} ημέρες","state_present_offer.product_title":"{{productTitle}}","state_present_offer.product_description":"{{productDescription}}","state_present_offer.product_price":"{{productPrice}}","state_present_offer.free_trial_duration":"{{trialDuration}} δωρεάν δοκιμή","state_present_offer.price_after_free_trial":"{{productPrice}} μετά το τέλος της δοκιμής","state_present_offer.renewal_frequency":"Ανανεώνεται {{frequency}}","state_present_offer.continues_until_cancelled":"Συνεχίζεται έως την ακύρωση","state_present_offer.cancel_anytime":"Ακύρωση οποιαδήποτε στιγμή","state_needs_auth_info.email_step_title":"Διεύθυνση email χρέωσης","state_needs_auth_info.email_input_label":"Email","state_needs_auth_info.email_input_placeholder":"john@appleseed.com","state_needs_auth_info.button_continue":"Συνέχεια","state_needs_payment_info.payment_step_title":"Ασφαλής πληρωμή","state_needs_payment_info.button_pay":"Πληρωμή","state_needs_payment_info.button_start_trial":"Έναρξη δοκιμής","state_success.purchase_successful":"Η αγορά ολοκληρώθηκε με επιτυχία","state_success.subscription_now_active":"Η συνδρομή σας είναι πλέον ενεργή","state_success.button_close":"Κλείσιμο","state_error.if_error_persists":"Εάν το σφάλμα παραμένει, επικοινωνήστε με ","state_error.error_title_already_subscribed":"Ήδη εγγεγραμμένος","state_error.error_title_already_purchased":"Ήδη αγορασμένο","state_error.error_title_other_errors":"Κάτι πήγε στραβά","state_error.error_message_already_subscribed":"Έχετε ήδη εγγραφεί σε αυτό το προϊόν.","state_error.error_message_already_purchased":"Έχετε ήδη αγοράσει αυτό το προϊόν.","state_error.error_message_missing_email_error":"Απαιτείται email για να ολοκληρωθεί η αγορά.","state_error.error_message_network_error":"Σφάλμα δικτύου. Ελέγξτε τη σύνδεσή σας στο διαδίκτυο.","state_error.error_message_error_charging_payment":"Η πληρωμή απέτυχε.","state_error.error_message_error_setting_up_purchase":"Η αγορά δεν ξεκίνησε λόγω σφάλματος. Κωδικός σφάλματος: {{errorCode}}","state_error.error_message_unknown_error":"Παρουσιάστηκε άγνωστο σφάλμα. Κωδικός σφάλματος: {{errorCode}}","state_error.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}})"},ui={"periods.unknownFrequency":"לא ידוע","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.weekFrequencyPlural":"כל {{amount}} שבועות","periods.monthFrequencyPlural":"כל {{amount}} חודשים","periods.yearFrequencyPlural":"כל {{amount}} שנים","periods.dayFrequencyPlural":"כל {{amount}} ימים","state_present_offer.product_title":"{{productTitle}}","state_present_offer.product_description":"{{productDescription}}","state_present_offer.product_price":"{{productPrice}}","state_present_offer.free_trial_duration":"{{trialDuration}} ניסיון חינם","state_present_offer.price_after_free_trial":"{{productPrice}} לאחר סיום הניסיון","state_present_offer.renewal_frequency":"מתחדש {{frequency}}","state_present_offer.continues_until_cancelled":"ממשיך עד לביטול","state_present_offer.cancel_anytime":"ביטול בכל עת","state_needs_auth_info.email_step_title":"כתובת דוא״ל לחיוב","state_needs_auth_info.email_input_label":"דוא״ל","state_needs_auth_info.email_input_placeholder":"john@appleseed.com","state_needs_auth_info.button_continue":"המשך","state_needs_payment_info.payment_step_title":"תשלום מאובטח","state_needs_payment_info.button_pay":"שלם","state_needs_payment_info.button_start_trial":"התחל ניסיון","state_success.purchase_successful":"הרכישה הושלמה בהצלחה","state_success.subscription_now_active":"המנוי שלך פעיל כעת","state_success.button_close":"סגור","state_error.if_error_persists":"אם התקלה נמשכת, פנה ל ","state_error.error_title_already_subscribed":"כבר מנוי","state_error.error_title_already_purchased":"כבר נרכש","state_error.error_title_other_errors":"משהו השתבש","state_error.error_message_already_subscribed":"כבר יש לך מנוי למוצר זה.","state_error.error_message_already_purchased":"כבר רכשת מוצר זה.","state_error.error_message_missing_email_error":"נדרש דוא״ל להשלמת הרכישה.","state_error.error_message_network_error":"שגיאת רשת. בדוק את חיבור האינטרנט שלך.","state_error.error_message_error_charging_payment":"התשלום נכשל.","state_error.error_message_error_setting_up_purchase":"הרכישה לא החלה עקב שגיאה. קוד שגיאה: {{errorCode}}","state_error.error_message_unknown_error":"אירעה שגיאה לא ידועה. קוד שגיאה: {{errorCode}}","state_error.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}})"},ci={"periods.unknownFrequency":"अज्ञात","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.weekFrequencyPlural":"हर {{amount}} सप्ताह","periods.monthFrequencyPlural":"हर {{amount}} महीना","periods.yearFrequencyPlural":"हर {{amount}} वर्ष","periods.dayFrequencyPlural":"हर {{amount}} दिन","state_present_offer.product_title":"{{productTitle}}","state_present_offer.product_description":"{{productDescription}}","state_present_offer.product_price":"{{productPrice}}","state_present_offer.free_trial_duration":"{{trialDuration}} मुफ्त परीक्षण","state_present_offer.price_after_free_trial":"{{productPrice}} परीक्षण के बाद","state_present_offer.renewal_frequency":"पुनः नवीनीकरण {{frequency}}","state_present_offer.continues_until_cancelled":"रद्द होने तक जारी रहेगा","state_present_offer.cancel_anytime":"कभी भी रद्द करें","state_needs_auth_info.email_step_title":"बिलिंग ईमेल पता","state_needs_auth_info.email_input_label":"ईमेल","state_needs_auth_info.email_input_placeholder":"john@appleseed.com","state_needs_auth_info.button_continue":"जारी रखें","state_needs_payment_info.payment_step_title":"सुरक्षित भुगतान","state_needs_payment_info.button_pay":"भुगतान करें","state_needs_payment_info.button_start_trial":"परीक्षण शुरू करें","state_success.purchase_successful":"खरीदारी सफल रही","state_success.subscription_now_active":"आपकी सदस्यता अब सक्रिय है","state_success.button_close":"बंद करें","state_error.if_error_persists":"यदि समस्या बनी रहती है, तो संपर्क करें ","state_error.error_title_already_subscribed":"पहले से सदस्यता ली गई है","state_error.error_title_already_purchased":"पहले से खरीदा गया है","state_error.error_title_other_errors":"कुछ गलत हो गया","state_error.error_message_already_subscribed":"आपने पहले से इस उत्पाद की सदस्यता ली हुई है।","state_error.error_message_already_purchased":"आपने पहले ही इस उत्पाद को खरीद लिया है।","state_error.error_message_missing_email_error":"खरीदारी पूरी करने के लिए ईमेल आवश्यक है।","state_error.error_message_network_error":"नेटवर्क त्रुटि। कृपया अपना इंटरनेट कनेक्शन जांचें।","state_error.error_message_error_charging_payment":"भुगतान असफल।","state_error.error_message_error_setting_up_purchase":"त्रुटि के कारण खरीद शुरू नहीं हो सकी। त्रुटि कोड: {{errorCode}}","state_error.error_message_unknown_error":"एक अज्ञात त्रुटि हुई। त्रुटि कोड: {{errorCode}}","state_error.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}})"},_i={"periods.unknownFrequency":"ismeretlen","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}} nap","periods.lifetime":"élethosszig","periods.weekPlural":"{{amount}} hetek","periods.monthPlural":"{{amount}} hónapok","periods.yearPlural":"{{amount}} évek","periods.dayPlural":"{{amount}} napok","periods.weekFrequency":"heti","periods.monthFrequency":"havi","periods.yearFrequency":"éves","periods.dayFrequency":"napi","periods.weekFrequencyPlural":"minden {{amount}} hét","periods.monthFrequencyPlural":"minden {{amount}} hónap","periods.yearFrequencyPlural":"minden {{amount}} év","periods.dayFrequencyPlural":"minden {{amount}} nap","state_present_offer.product_title":"{{productTitle}}","state_present_offer.product_description":"{{productDescription}}","state_present_offer.product_price":"{{productPrice}}","state_present_offer.free_trial_duration":"{{trialDuration}} ingyenes próbaidőszak","state_present_offer.price_after_free_trial":"{{productPrice}} a próbaidőszak után","state_present_offer.renewal_frequency":"Megújul {{frequency}}","state_present_offer.continues_until_cancelled":"Folytatódik a lemondásig","state_present_offer.cancel_anytime":"Bármikor lemondható","state_needs_auth_info.email_step_title":"Számlázási e-mail cím","state_needs_auth_info.email_input_label":"E-mail","state_needs_auth_info.email_input_placeholder":"john@appleseed.com","state_needs_auth_info.button_continue":"Folytatás","state_needs_payment_info.payment_step_title":"Biztonságos fizetés","state_needs_payment_info.button_pay":"Fizetés","state_needs_payment_info.button_start_trial":"Próba indítása","state_success.purchase_successful":"Vásárlás sikeres","state_success.subscription_now_active":"Az előfizetés most aktív","state_success.button_close":"Bezárás","state_error.if_error_persists":"Ha a hiba továbbra is fennáll, lépjen kapcsolatba a(z) ","state_error.error_title_already_subscribed":"Már előfizetett","state_error.error_title_already_purchased":"Már megvásárolt","state_error.error_title_other_errors":"Valami elromlott","state_error.error_message_already_subscribed":"Már előfizetett erre a termékre.","state_error.error_message_already_purchased":"Már megvásárolta ezt a terméket.","state_error.error_message_missing_email_error":"Az e-mail cím szükséges a vásárlás befejezéséhez.","state_error.error_message_network_error":"Hálózati hiba. Ellenőrizze az internetkapcsolatot.","state_error.error_message_error_charging_payment":"A fizetés nem sikerült.","state_error.error_message_error_setting_up_purchase":"A vásárlás hibája miatt nem kezdődött el. Hibakód: {{errorCode}}","state_error.error_message_unknown_error":"Ismeretlen hiba történt. Hibakód: {{errorCode}}","state_error.button_try_again":"Próbálja újra","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}% kedvezmény","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}} ({{formattedPricePerMonth}}/{{monthPeriod}})"},di={"periods.unknownFrequency":"tidak dikenal","periods.week":"{{amount}} minggu","periods.month":"{{amount}} bulan","periods.year":"{{amount}} tahun","periods.day":"{{amount}} hari","periods.weekShort":"{{amount}} mgg","periods.monthShort":"{{amount}} bln","periods.yearShort":"{{amount}} thn","periods.dayShort":"{{amount}} hr","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.weekFrequencyPlural":"setiap {{amount}} minggu","periods.monthFrequencyPlural":"setiap {{amount}} bulan","periods.yearFrequencyPlural":"setiap {{amount}} tahun","periods.dayFrequencyPlural":"setiap {{amount}} hari","state_present_offer.product_title":"{{productTitle}}","state_present_offer.product_description":"{{productDescription}}","state_present_offer.product_price":"{{productPrice}}","state_present_offer.free_trial_duration":"{{trialDuration}} uji coba gratis","state_present_offer.price_after_free_trial":"{{productPrice}} setelah uji coba selesai","state_present_offer.renewal_frequency":"Diperbarui {{frequency}}","state_present_offer.continues_until_cancelled":"Berlanjut hingga dibatalkan","state_present_offer.cancel_anytime":"Dapat dibatalkan kapan saja","state_needs_auth_info.email_step_title":"Alamat email penagihan","state_needs_auth_info.email_input_label":"Email","state_needs_auth_info.email_input_placeholder":"john@appleseed.com","state_needs_auth_info.button_continue":"Lanjutkan","state_needs_payment_info.payment_step_title":"Pembayaran aman","state_needs_payment_info.button_pay":"Bayar","state_needs_payment_info.button_start_trial":"Mulai Uji Coba","state_success.purchase_successful":"Pembelian berhasil","state_success.subscription_now_active":"Langganan Anda sekarang aktif","state_success.button_close":"Tutup","state_error.if_error_persists":"Jika masalah terus berlanjut, hubungi ","state_error.error_title_already_subscribed":"Sudah Berlangganan","state_error.error_title_already_purchased":"Sudah Dibeli","state_error.error_title_other_errors":"Terjadi kesalahan","state_error.error_message_already_subscribed":"Anda sudah berlangganan produk ini.","state_error.error_message_already_purchased":"Anda sudah membeli produk ini.","state_error.error_message_missing_email_error":"Email diperlukan untuk menyelesaikan pembelian.","state_error.error_message_network_error":"Kesalahan jaringan. Periksa koneksi internet Anda.","state_error.error_message_error_charging_payment":"Pembayaran gagal.","state_error.error_message_error_setting_up_purchase":"Pembelian tidak dapat dimulai karena kesalahan. Kode kesalahan: {{errorCode}}","state_error.error_message_unknown_error":"Terjadi kesalahan yang tidak diketahui. Kode kesalahan: {{errorCode}}","state_error.button_try_again":"Coba Lagi","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"Diskon {{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}} ({{formattedPricePerMonth}}/{{monthPeriod}})"},pi={"periods.unknownFrequency":"不明","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.weekFrequencyPlural":"{{amount}} 週間ごと","periods.monthFrequencyPlural":"{{amount}} ヶ月ごと","periods.yearFrequencyPlural":"{{amount}} 年ごと","periods.dayFrequencyPlural":"{{amount}} 日ごと","state_present_offer.product_title":"{{productTitle}}","state_present_offer.product_description":"{{productDescription}}","state_present_offer.product_price":"{{productPrice}}","state_present_offer.free_trial_duration":"{{trialDuration}} 無料トライアル","state_present_offer.price_after_free_trial":"{{productPrice}} トライアル終了後","state_present_offer.renewal_frequency":"更新 {{frequency}}","state_present_offer.continues_until_cancelled":"キャンセルされるまで継続","state_present_offer.cancel_anytime":"いつでもキャンセル可能","state_needs_auth_info.email_step_title":"請求メールアドレス","state_needs_auth_info.email_input_label":"メールアドレス","state_needs_auth_info.email_input_placeholder":"john@appleseed.com","state_needs_auth_info.button_continue":"続行","state_needs_payment_info.payment_step_title":"安全なチェックアウト","state_needs_payment_info.button_pay":"支払う","state_needs_payment_info.button_start_trial":"トライアルを開始","state_success.purchase_successful":"購入が成功しました","state_success.subscription_now_active":"あなたのサブスクリプションは今アクティブです","state_success.button_close":"閉じる","state_error.if_error_persists":"エラーが続く場合は、 ","state_error.error_title_already_subscribed":"すでに登録されています","state_error.error_title_already_purchased":"すでに購入されています","state_error.error_title_other_errors":"何かがうまくいきませんでした","state_error.error_message_already_subscribed":"この製品にはすでに登録されています。","state_error.error_message_already_purchased":"この製品はすでに購入されています。","state_error.error_message_missing_email_error":"購入を完了するにはメールアドレスが必要です。","state_error.error_message_network_error":"ネットワークエラーです。インターネット接続を確認してください。","state_error.error_message_error_charging_payment":"支払いが失敗しました。","state_error.error_message_error_setting_up_purchase":"エラーのため、購入が開始されませんでした。エラーコード: {{errorCode}}","state_error.error_message_unknown_error":"不明なエラーが発生しました。エラーコード: {{errorCode}}","state_error.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}})"},fi={"periods.unknownFrequency":"알 수 없음","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.weekFrequencyPlural":"{{amount}} 주마다","periods.monthFrequencyPlural":"{{amount}} 개월마다","periods.yearFrequencyPlural":"{{amount}} 년마다","periods.dayFrequencyPlural":"{{amount}} 일마다","state_present_offer.product_title":"{{productTitle}}","state_present_offer.product_description":"{{productDescription}}","state_present_offer.product_price":"{{productPrice}}","state_present_offer.free_trial_duration":"{{trialDuration}} 무료 체험","state_present_offer.price_after_free_trial":"{{productPrice}} 체험 종료 후","state_present_offer.renewal_frequency":"갱신 {{frequency}}","state_present_offer.continues_until_cancelled":"취소될 때까지 계속","state_present_offer.cancel_anytime":"언제든지 취소 가능","state_needs_auth_info.email_step_title":"결제 이메일 주소","state_needs_auth_info.email_input_label":"이메일","state_needs_auth_info.email_input_placeholder":"john@appleseed.com","state_needs_auth_info.button_continue":"계속","state_needs_payment_info.payment_step_title":"안전한 결제","state_needs_payment_info.button_pay":"결제","state_needs_payment_info.button_start_trial":"체험 시작","state_success.purchase_successful":"구매 성공","state_success.subscription_now_active":"구독이 활성화되었습니다","state_success.button_close":"닫기","state_error.if_error_persists":"문제가 지속되면 문의하십시오 ","state_error.error_title_already_subscribed":"이미 구독 중","state_error.error_title_already_purchased":"이미 구매 완료","state_error.error_title_other_errors":"문제가 발생했습니다","state_error.error_message_already_subscribed":"이미 이 제품을 구독 중입니다.","state_error.error_message_already_purchased":"이미 이 제품을 구매했습니다.","state_error.error_message_missing_email_error":"구매를 완료하려면 이메일이 필요합니다.","state_error.error_message_network_error":"네트워크 오류입니다. 인터넷 연결을 확인하세요.","state_error.error_message_error_charging_payment":"결제 실패.","state_error.error_message_error_setting_up_purchase":"오류로 인해 구매를 시작하지 못했습니다. 오류 코드: {{errorCode}}","state_error.error_message_unknown_error":"알 수 없는 오류가 발생했습니다. 오류 코드: {{errorCode}}","state_error.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}})"},mi={"periods.unknownFrequency":"tidak diketahui","periods.week":"{{amount}} minggu","periods.month":"{{amount}} bulan","periods.year":"{{amount}} tahun","periods.day":"{{amount}} hari","periods.weekShort":"{{amount}} mgg","periods.monthShort":"{{amount}} bln","periods.yearShort":"{{amount}} thn","periods.dayShort":"{{amount}} hr","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.weekFrequencyPlural":"setiap {{amount}} minggu","periods.monthFrequencyPlural":"setiap {{amount}} bulan","periods.yearFrequencyPlural":"setiap {{amount}} tahun","periods.dayFrequencyPlural":"setiap {{amount}} hari","state_present_offer.product_title":"{{productTitle}}","state_present_offer.product_description":"{{productDescription}}","state_present_offer.product_price":"{{productPrice}}","state_present_offer.free_trial_duration":"{{trialDuration}} percubaan percuma","state_present_offer.price_after_free_trial":"{{productPrice}} selepas percubaan tamat","state_present_offer.renewal_frequency":"Diperbaharui {{frequency}}","state_present_offer.continues_until_cancelled":"Berterusan sehingga dibatalkan","state_present_offer.cancel_anytime":"Boleh dibatalkan pada bila-bila masa","state_needs_auth_info.email_step_title":"Alamat emel pengebilan","state_needs_auth_info.email_input_label":"Emel","state_needs_auth_info.email_input_placeholder":"john@appleseed.com","state_needs_auth_info.button_continue":"Teruskan","state_needs_payment_info.payment_step_title":"Pembayaran Selamat","state_needs_payment_info.button_pay":"Bayar","state_needs_payment_info.button_start_trial":"Mulakan Percubaan","state_success.purchase_successful":"Pembelian berjaya","state_success.subscription_now_active":"Langganan anda kini aktif","state_success.button_close":"Tutup","state_error.if_error_persists":"Jika masalah berterusan, sila hubungi ","state_error.error_title_already_subscribed":"Telah Melanggan","state_error.error_title_already_purchased":"Telah Dibeli","state_error.error_title_other_errors":"Ada masalah berlaku","state_error.error_message_already_subscribed":"Anda sudah melanggan produk ini.","state_error.error_message_already_purchased":"Anda telah membeli produk ini.","state_error.error_message_missing_email_error":"Emel diperlukan untuk menyelesaikan pembelian.","state_error.error_message_network_error":"Ralat rangkaian. Sila semak sambungan internet anda.","state_error.error_message_error_charging_payment":"Pembayaran gagal.","state_error.error_message_error_setting_up_purchase":"Pembelian tidak dapat dimulakan kerana ralat. Kod ralat: {{errorCode}}","state_error.error_message_unknown_error":"Ralat yang tidak diketahui berlaku. Kod ralat: {{errorCode}}","state_error.button_try_again":"Cuba Lagi","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}% diskaun","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}} ({{formattedPricePerMonth}}/{{monthPeriod}})"},hi={"periods.unknownFrequency":"ukjent","periods.week":"{{amount}} uke","periods.month":"{{amount}} måned","periods.year":"{{amount}} år","periods.day":"{{amount}} dag","periods.weekShort":"{{amount}} u","periods.monthShort":"{{amount}} mnd","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.weekFrequencyPlural":"hver {{amount}} uker","periods.monthFrequencyPlural":"hver {{amount}} måneder","periods.yearFrequencyPlural":"hver {{amount}} år","periods.dayFrequencyPlural":"hver {{amount}} dager","state_present_offer.product_title":"{{productTitle}}","state_present_offer.product_description":"{{productDescription}}","state_present_offer.product_price":"{{productPrice}}","state_present_offer.free_trial_duration":"{{trialDuration}} gratis prøveperiode","state_present_offer.price_after_free_trial":"{{productPrice}} etter prøveperioden","state_present_offer.renewal_frequency":"Fornyes {{frequency}}","state_present_offer.continues_until_cancelled":"Fortsetter til avbestilt","state_present_offer.cancel_anytime":"Avslutt når som helst","state_needs_auth_info.email_step_title":"Fakturering e-postadresse","state_needs_auth_info.email_input_label":"E-post","state_needs_auth_info.email_input_placeholder":"john@appleseed.com","state_needs_auth_info.button_continue":"Fortsett","state_needs_payment_info.payment_step_title":"Sikker betaling","state_needs_payment_info.button_pay":"Betale","state_needs_payment_info.button_start_trial":"Start prøveperiode","state_success.purchase_successful":"Kjøp vellykket","state_success.subscription_now_active":"Abonnementet ditt er nå aktivt","state_success.button_close":"Lukk","state_error.if_error_persists":"Hvis problemet vedvarer, vennligst kontakt ","state_error.error_title_already_subscribed":"Allerede abonnert","state_error.error_title_already_purchased":"Allerede kjøpt","state_error.error_title_other_errors":"Noe gikk galt","state_error.error_message_already_subscribed":"Du abonnerer allerede på dette produktet.","state_error.error_message_already_purchased":"Du har allerede kjøpt dette produktet.","state_error.error_message_missing_email_error":"E-post er nødvendig for å fullføre kjøpet.","state_error.error_message_network_error":"Nettverksfeil. Vennligst sjekk internettforbindelsen din.","state_error.error_message_error_charging_payment":"Betaling mislyktes.","state_error.error_message_error_setting_up_purchase":"Kjøpet ble ikke startet på grunn av en feil. Feilkode: {{errorCode}}","state_error.error_message_unknown_error":"En ukjent feil oppstod. Feilkode: {{errorCode}}","state_error.button_try_again":"Prøv igjen","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}% rabatt","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}} ({{formattedPricePerMonth}}/{{monthPeriod}})"},yi={"periods.unknownFrequency":"nieznany","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}} dzień","periods.lifetime":"na całe życie","periods.weekPlural":"{{amount}} tygodnie","periods.monthPlural":"{{amount}} miesiące","periods.yearPlural":"{{amount}} lata","periods.dayPlural":"{{amount}} dni","periods.weekFrequency":"tygodniowo","periods.monthFrequency":"miesięcznie","periods.yearFrequency":"rocznie","periods.dayFrequency":"codziennie","periods.weekFrequencyPlural":"co {{amount}} tygodnie","periods.monthFrequencyPlural":"co {{amount}} miesiące","periods.yearFrequencyPlural":"co {{amount}} lata","periods.dayFrequencyPlural":"co {{amount}} dni","state_present_offer.product_title":"{{productTitle}}","state_present_offer.product_description":"{{productDescription}}","state_present_offer.product_price":"{{productPrice}}","state_present_offer.free_trial_duration":"{{trialDuration}} darmowy okres próbny","state_present_offer.price_after_free_trial":"{{productPrice}} po zakończeniu okresu próbnego","state_present_offer.renewal_frequency":"Odnawia się {{frequency}}","state_present_offer.continues_until_cancelled":"Kontynuuje się do anulowania","state_present_offer.cancel_anytime":"Anuluj w dowolnym momencie","state_needs_auth_info.email_step_title":"Adres e-mail do rozliczeń","state_needs_auth_info.email_input_label":"E-mail","state_needs_auth_info.email_input_placeholder":"john@appleseed.com","state_needs_auth_info.button_continue":"Kontynuuj","state_needs_payment_info.payment_step_title":"Bezpieczna płatność","state_needs_payment_info.button_pay":"Zapłać","state_needs_payment_info.button_start_trial":"Rozpocznij okres próbny","state_success.purchase_successful":"Zakup zakończony sukcesem","state_success.subscription_now_active":"Twoja subskrypcja jest teraz aktywna","state_success.button_close":"Zamknij","state_error.if_error_persists":"Jeśli problem będzie się powtarzał, skontaktuj się z ","state_error.error_title_already_subscribed":"Już subskrybowano","state_error.error_title_already_purchased":"Już zakupiono","state_error.error_title_other_errors":"Coś poszło nie tak","state_error.error_message_already_subscribed":"Już subskrybujesz ten produkt.","state_error.error_message_already_purchased":"Już kupiłeś ten produkt.","state_error.error_message_missing_email_error":"E-mail jest wymagany, aby zakończyć zakup.","state_error.error_message_network_error":"Błąd sieci. Sprawdź swoje połączenie z internetem.","state_error.error_message_error_charging_payment":"Płatność nie powiodła się.","state_error.error_message_error_setting_up_purchase":"Zakup nie został rozpoczęty z powodu błędu. Kod błędu: {{errorCode}}","state_error.error_message_unknown_error":"Wystąpił nieznany błąd. Kod błędu: {{errorCode}}","state_error.button_try_again":"Spróbuj ponownie","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}% zniżki","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}} ({{formattedPricePerMonth}}/{{monthPeriod}})"},gi={"periods.unknownFrequency":"desconhecido","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}} dia","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.weekFrequencyPlural":"a cada {{amount}} semanas","periods.monthFrequencyPlural":"a cada {{amount}} meses","periods.yearFrequencyPlural":"a cada {{amount}} anos","periods.dayFrequencyPlural":"a cada {{amount}} dias","state_present_offer.product_title":"{{productTitle}}","state_present_offer.product_description":"{{productDescription}}","state_present_offer.product_price":"{{productPrice}}","state_present_offer.free_trial_duration":"{{trialDuration}} teste gratuito","state_present_offer.price_after_free_trial":"{{productPrice}} após o fim do teste","state_present_offer.renewal_frequency":"Renova-se {{frequency}}","state_present_offer.continues_until_cancelled":"Continua até ser cancelado","state_present_offer.cancel_anytime":"Cancele a qualquer momento","state_needs_auth_info.email_step_title":"Endereço de e-mail para faturamento","state_needs_auth_info.email_input_label":"E-mail","state_needs_auth_info.email_input_placeholder":"john@appleseed.com","state_needs_auth_info.button_continue":"Continuar","state_needs_payment_info.payment_step_title":"Pagamento seguro","state_needs_payment_info.button_pay":"Pagar","state_needs_payment_info.button_start_trial":"Iniciar teste","state_success.purchase_successful":"Compra bem-sucedida","state_success.subscription_now_active":"Sua assinatura agora está ativa","state_success.button_close":"Fechar","state_error.if_error_persists":"Se o erro persistir, entre em contato ","state_error.error_title_already_subscribed":"Já inscrito","state_error.error_title_already_purchased":"Já comprado","state_error.error_title_other_errors":"Algo deu errado","state_error.error_message_already_subscribed":"Você já está inscrito neste produto.","state_error.error_message_already_purchased":"Você já comprou este produto.","state_error.error_message_missing_email_error":"O e-mail é necessário para concluir a compra.","state_error.error_message_network_error":"Erro de rede. Verifique sua conexão com a internet.","state_error.error_message_error_charging_payment":"Pagamento falhou.","state_error.error_message_error_setting_up_purchase":"A compra não foi iniciada devido a um erro. Código do erro: {{errorCode}}","state_error.error_message_unknown_error":"Ocorreu um erro desconhecido. Código do erro: {{errorCode}}","state_error.button_try_again":"Tente novamente","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}% de desconto","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}} ({{formattedPricePerMonth}}/{{monthPeriod}})"},vi={"periods.unknownFrequency":"necunoscut","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}} zi","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.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","state_present_offer.product_title":"{{productTitle}}","state_present_offer.product_description":"{{productDescription}}","state_present_offer.product_price":"{{productPrice}}","state_present_offer.free_trial_duration":"{{trialDuration}} probă gratuită","state_present_offer.price_after_free_trial":"{{productPrice}} după sfârșitul probei","state_present_offer.renewal_frequency":"Se reînnoiește {{frequency}}","state_present_offer.continues_until_cancelled":"Continuă până la anulare","state_present_offer.cancel_anytime":"Anulează oricând","state_needs_auth_info.email_step_title":"Adresa de e-mail pentru facturare","state_needs_auth_info.email_input_label":"E-mail","state_needs_auth_info.email_input_placeholder":"john@appleseed.com","state_needs_auth_info.button_continue":"Continuă","state_needs_payment_info.payment_step_title":"Plată sigură","state_needs_payment_info.button_pay":"Plătește","state_needs_payment_info.button_start_trial":"Începe Proba","state_success.purchase_successful":"Cumpărare reușită","state_success.subscription_now_active":"Abonamentul tău este acum activ","state_success.button_close":"Închide","state_error.if_error_persists":"Dacă eroarea persistă, contactați ","state_error.error_title_already_subscribed":"Deja abonat","state_error.error_title_already_purchased":"Deja cumpărat","state_error.error_title_other_errors":"Ceva a mers prost","state_error.error_message_already_subscribed":"Ești deja abonat la acest produs.","state_error.error_message_already_purchased":"Ai cumpărat deja acest produs.","state_error.error_message_missing_email_error":"Adresa de e-mail este necesară pentru a finaliza cumpărarea.","state_error.error_message_network_error":"Eroare de rețea. Verificați conexiunea la internet.","state_error.error_message_error_charging_payment":"Plata a eșuat.","state_error.error_message_error_setting_up_purchase":"Cumpărarea nu a fost inițiată din cauza unei erori. Cod eroare: {{errorCode}}","state_error.error_message_unknown_error":"A apărut o eroare necunoscută. Cod eroare: {{errorCode}}","state_error.button_try_again":"Încercați din nou","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}% reducere","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}} ({{formattedPricePerMonth}}/{{monthPeriod}})"},bi={"periods.unknownFrequency":"неизвестно","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.weekFrequencyPlural":"каждые {{amount}} недель","periods.monthFrequencyPlural":"каждые {{amount}} месяца","periods.yearFrequencyPlural":"каждые {{amount}} года","periods.dayFrequencyPlural":"каждые {{amount}} дней","state_present_offer.product_title":"{{productTitle}}","state_present_offer.product_description":"{{productDescription}}","state_present_offer.product_price":"{{productPrice}}","state_present_offer.free_trial_duration":"{{trialDuration}} бесплатный пробный период","state_present_offer.price_after_free_trial":"{{productPrice}} после окончания пробного периода","state_present_offer.renewal_frequency":"Обновляется {{frequency}}","state_present_offer.continues_until_cancelled":"Продолжается до отмены","state_present_offer.cancel_anytime":"Отмена в любое время","state_needs_auth_info.email_step_title":"Адрес электронной почты для выставления счета","state_needs_auth_info.email_input_label":"Электронная почта","state_needs_auth_info.email_input_placeholder":"john@appleseed.com","state_needs_auth_info.button_continue":"Продолжить","state_needs_payment_info.payment_step_title":"Безопасная оплата","state_needs_payment_info.button_pay":"Оплатить","state_needs_payment_info.button_start_trial":"Начать пробный период","state_success.purchase_successful":"Покупка прошла успешно","state_success.subscription_now_active":"Ваша подписка теперь активна","state_success.button_close":"Закрыть","state_error.if_error_persists":"Если ошибка сохраняется, свяжитесь с ","state_error.error_title_already_subscribed":"Уже подписан","state_error.error_title_already_purchased":"Уже приобретено","state_error.error_title_other_errors":"Что-то пошло не так","state_error.error_message_already_subscribed":"Вы уже подписаны на этот продукт.","state_error.error_message_already_purchased":"Вы уже приобрели этот продукт.","state_error.error_message_missing_email_error":"Электронная почта требуется для завершения покупки.","state_error.error_message_network_error":"Сетевая ошибка. Проверьте ваше интернет-соединение.","state_error.error_message_error_charging_payment":"Ошибка при оплате.","state_error.error_message_error_setting_up_purchase":"Покупка не была начата из-за ошибки. Код ошибки: {{errorCode}}","state_error.error_message_unknown_error":"Произошла неизвестная ошибка. Код ошибки: {{errorCode}}","state_error.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}})"},Pi={"periods.unknownFrequency":"neznámy","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}} deň","periods.lifetime":"na celý život","periods.weekPlural":"{{amount}} týždne","periods.monthPlural":"{{amount}} mesiace","periods.yearPlural":"{{amount}} roky","periods.dayPlural":"{{amount}} dni","periods.weekFrequency":"týždenne","periods.monthFrequency":"mesačne","periods.yearFrequency":"ročne","periods.dayFrequency":"denne","periods.weekFrequencyPlural":"každé {{amount}} týždne","periods.monthFrequencyPlural":"každé {{amount}} mesiace","periods.yearFrequencyPlural":"každé {{amount}} roky","periods.dayFrequencyPlural":"každé {{amount}} dni","state_present_offer.product_title":"{{productTitle}}","state_present_offer.product_description":"{{productDescription}}","state_present_offer.product_price":"{{productPrice}}","state_present_offer.free_trial_duration":"{{trialDuration}} bezplatné skúšobné obdobie","state_present_offer.price_after_free_trial":"{{productPrice}} po skončení skúšobného obdobia","state_present_offer.renewal_frequency":"Obnovuje sa {{frequency}}","state_present_offer.continues_until_cancelled":"Pokračuje až do zrušenia","state_present_offer.cancel_anytime":"Zrušiť kedykoľvek","state_needs_auth_info.email_step_title":"Fakturačná e-mailová adresa","state_needs_auth_info.email_input_label":"E-mail","state_needs_auth_info.email_input_placeholder":"john@appleseed.com","state_needs_auth_info.button_continue":"Pokračovať","state_needs_payment_info.payment_step_title":"Bezpečná platba","state_needs_payment_info.button_pay":"Zaplatíť","state_needs_payment_info.button_start_trial":"Spustiť skúšobnú verziu","state_success.purchase_successful":"Nákup úspešný","state_success.subscription_now_active":"Vaše predplatné je teraz aktívne","state_success.button_close":"Zatvoriť","state_error.if_error_persists":"Ak chyba pretrváva, kontaktujte ","state_error.error_title_already_subscribed":"Už prihlásené","state_error.error_title_already_purchased":"Už zakúpené","state_error.error_title_other_errors":"Niečo sa pokazilo","state_error.error_message_already_subscribed":"Už ste prihlásení na tento produkt.","state_error.error_message_already_purchased":"Tento produkt ste už zakúpili.","state_error.error_message_missing_email_error":"E-mail je potrebný na dokončenie nákupu.","state_error.error_message_network_error":"Chyba siete. Skontrolujte svoje pripojenie na internet.","state_error.error_message_error_charging_payment":"Platba zlyhala.","state_error.error_message_error_setting_up_purchase":"Nákup nebol spustený kvôli chybe. Kód chyby: {{errorCode}}","state_error.error_message_unknown_error":"Vyskytla sa neznáma chyba. Kód chyby: {{errorCode}}","state_error.button_try_again":"Skúsiť znova","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}% zľava","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}} ({{formattedPricePerMonth}}/{{monthPeriod}})"},wi={"periods.unknownFrequency":"okänd","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}} dag","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.weekFrequencyPlural":"varje {{amount}} veckor","periods.monthFrequencyPlural":"varje {{amount}} månader","periods.yearFrequencyPlural":"varje {{amount}} år","periods.dayFrequencyPlural":"varje {{amount}} dagar","state_present_offer.product_title":"{{productTitle}}","state_present_offer.product_description":"{{productDescription}}","state_present_offer.product_price":"{{productPrice}}","state_present_offer.free_trial_duration":"{{trialDuration}} gratis provperiod","state_present_offer.price_after_free_trial":"{{productPrice}} efter provperiodens slut","state_present_offer.renewal_frequency":"Förnyas {{frequency}}","state_present_offer.continues_until_cancelled":"Fortsätter tills det avbryts","state_present_offer.cancel_anytime":"Avbryt när som helst","state_needs_auth_info.email_step_title":"Fakturerings-e-postadress","state_needs_auth_info.email_input_label":"E-post","state_needs_auth_info.email_input_placeholder":"john@appleseed.com","state_needs_auth_info.button_continue":"Fortsätt","state_needs_payment_info.payment_step_title":"Säker betalning","state_needs_payment_info.button_pay":"Betala","state_needs_payment_info.button_start_trial":"Börja provperiod","state_success.purchase_successful":"Köpet lyckades","state_success.subscription_now_active":"Din prenumeration är nu aktiv","state_success.button_close":"Stäng","state_error.if_error_persists":"Om felet kvarstår, kontakta ","state_error.error_title_already_subscribed":"Redan prenumererad","state_error.error_title_already_purchased":"Redan köpt","state_error.error_title_other_errors":"Något gick fel","state_error.error_message_already_subscribed":"Du är redan prenumererad på denna produkt.","state_error.error_message_already_purchased":"Du har redan köpt denna produkt.","state_error.error_message_missing_email_error":"E-post krävs för att slutföra köpet.","state_error.error_message_network_error":"Nätverksfel. Kontrollera din internetanslutning.","state_error.error_message_error_charging_payment":"Betalningen misslyckades.","state_error.error_message_error_setting_up_purchase":"Köpet kunde inte påbörjas på grund av ett fel. Felkod: {{errorCode}}","state_error.error_message_unknown_error":"Ett okänt fel inträffade. Felkod: {{errorCode}}","state_error.button_try_again":"Försök igen","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}% rabatt","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}} ({{formattedPricePerMonth}}/{{monthPeriod}})"},ki={"periods.unknownFrequency":"ไม่ทราบ","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.weekFrequencyPlural":"ทุก {{amount}} สัปดาห์","periods.monthFrequencyPlural":"ทุก {{amount}} เดือน","periods.yearFrequencyPlural":"ทุก {{amount}} ปี","periods.dayFrequencyPlural":"ทุก {{amount}} วัน","state_present_offer.product_title":"{{productTitle}}","state_present_offer.product_description":"{{productDescription}}","state_present_offer.product_price":"{{productPrice}}","state_present_offer.free_trial_duration":"{{trialDuration}} ทดลองใช้งานฟรี","state_present_offer.price_after_free_trial":"{{productPrice}} หลังสิ้นสุดการทดลอง","state_present_offer.renewal_frequency":"ต่ออายุ {{frequency}}","state_present_offer.continues_until_cancelled":"ดำเนินต่อไปจนกว่าจะยกเลิก","state_present_offer.cancel_anytime":"ยกเลิกได้ทุกเมื่อ","state_needs_auth_info.email_step_title":"อีเมลสำหรับเรียกเก็บเงิน","state_needs_auth_info.email_input_label":"อีเมล","state_needs_auth_info.email_input_placeholder":"john@appleseed.com","state_needs_auth_info.button_continue":"ดำเนินการต่อ","state_needs_payment_info.payment_step_title":"ชำระเงินอย่างปลอดภัย","state_needs_payment_info.button_pay":"ชำระเงิน","state_needs_payment_info.button_start_trial":"เริ่มการทดลอง","state_success.purchase_successful":"ซื้อสำเร็จ","state_success.subscription_now_active":"การสมัครใช้งานของคุณใช้งานได้แล้ว","state_success.button_close":"ปิด","state_error.if_error_persists":"หากข้อผิดพลาดยังคงอยู่ โปรดติดต่อ ","state_error.error_title_already_subscribed":"สมัครสมาชิกแล้ว","state_error.error_title_already_purchased":"ซื้อแล้ว","state_error.error_title_other_errors":"เกิดข้อผิดพลาดบางอย่าง","state_error.error_message_already_subscribed":"คุณสมัครสมาชิกผลิตภัณฑ์นี้แล้ว","state_error.error_message_already_purchased":"คุณได้ซื้อผลิตภัณฑ์นี้แล้ว","state_error.error_message_missing_email_error":"จำเป็นต้องใช้อีเมลเพื่อทำการซื้อให้เสร็จสมบูรณ์","state_error.error_message_network_error":"ข้อผิดพลาดของเครือข่าย โปรดตรวจสอบการเชื่อมต่ออินเทอร์เน็ตของคุณ","state_error.error_message_error_charging_payment":"การชำระเงินล้มเหลว","state_error.error_message_error_setting_up_purchase":"ไม่สามารถเริ่มการซื้อเนื่องจากข้อผิดพลาด รหัสข้อผิดพลาด: {{errorCode}}","state_error.error_message_unknown_error":"เกิดข้อผิดพลาดที่ไม่รู้จัก รหัสข้อผิดพลาด: {{errorCode}}","state_error.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}})"},Ei={"periods.unknownFrequency":"bilinmeyen","periods.week":"{{amount}} hafta","periods.month":"{{amount}} ay","periods.year":"{{amount}} yıl","periods.day":"{{amount}} gün","periods.weekShort":"{{amount}} hft","periods.monthShort":"{{amount}} ay","periods.yearShort":"{{amount}} yıl","periods.dayShort":"{{amount}} gün","periods.lifetime":"ömür boyu","periods.weekPlural":"{{amount}} haftalar","periods.monthPlural":"{{amount}} aylar","periods.yearPlural":"{{amount}} yıllar","periods.dayPlural":"{{amount}} günler","periods.weekFrequency":"haftalık","periods.monthFrequency":"aylık","periods.yearFrequency":"yıllık","periods.dayFrequency":"günlük","periods.weekFrequencyPlural":"her {{amount}} hafta","periods.monthFrequencyPlural":"her {{amount}} ay","periods.yearFrequencyPlural":"her {{amount}} yıl","periods.dayFrequencyPlural":"her {{amount}} gün","state_present_offer.product_title":"{{productTitle}}","state_present_offer.product_description":"{{productDescription}}","state_present_offer.product_price":"{{productPrice}}","state_present_offer.free_trial_duration":"{{trialDuration}} ücretsiz deneme","state_present_offer.price_after_free_trial":"{{productPrice}} deneme sonunda","state_present_offer.renewal_frequency":"{{frequency}} yenilenir","state_present_offer.continues_until_cancelled":"İptal edilene kadar devam eder","state_present_offer.cancel_anytime":"Her zaman iptal edebilirsiniz","state_needs_auth_info.email_step_title":"Fatura e-posta adresi","state_needs_auth_info.email_input_label":"E-posta","state_needs_auth_info.email_input_placeholder":"john@appleseed.com","state_needs_auth_info.button_continue":"Devam et","state_needs_payment_info.payment_step_title":"Güvenli ödeme","state_needs_payment_info.button_pay":"Öde","state_needs_payment_info.button_start_trial":"Denemeyi Başlat","state_success.purchase_successful":"Satın alma başarılı","state_success.subscription_now_active":"Aboneliğiniz artık aktif","state_success.button_close":"Kapat","state_error.if_error_persists":"Sorun devam ederse, iletişime geçin ","state_error.error_title_already_subscribed":"Zaten Abone","state_error.error_title_already_purchased":"Zaten Satın Alındı","state_error.error_title_other_errors":"Bir şeyler yanlış gitti","state_error.error_message_already_subscribed":"Bu ürüne zaten abonesiniz.","state_error.error_message_already_purchased":"Bu ürünü zaten satın aldınız.","state_error.error_message_missing_email_error":"Satın almayı tamamlamak için e-posta gereklidir.","state_error.error_message_network_error":"Ağ hatası. İnternet bağlantınızı kontrol edin.","state_error.error_message_error_charging_payment":"Ödeme başarısız oldu.","state_error.error_message_error_setting_up_purchase":"Bir hata nedeniyle satın alma başlatılamadı. Hata kodu: {{errorCode}}","state_error.error_message_unknown_error":"Bilinmeyen bir hata oluştu. Hata kodu: {{errorCode}}","state_error.button_try_again":"Tekrar dene","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}% indirim","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}} ({{formattedPricePerMonth}}/{{monthPeriod}})"},xi={"periods.unknownFrequency":"невідомий","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.weekFrequencyPlural":"кожні {{amount}} тижні","periods.monthFrequencyPlural":"кожні {{amount}} місяці","periods.yearFrequencyPlural":"кожні {{amount}} роки","periods.dayFrequencyPlural":"кожні {{amount}} дні","state_present_offer.product_title":"{{productTitle}}","state_present_offer.product_description":"{{productDescription}}","state_present_offer.product_price":"{{productPrice}}","state_present_offer.free_trial_duration":"{{trialDuration}} безкоштовна пробна версія","state_present_offer.price_after_free_trial":"{{productPrice}} після закінчення пробного періоду","state_present_offer.renewal_frequency":"Оновлюється {{frequency}}","state_present_offer.continues_until_cancelled":"Продовжується до скасування","state_present_offer.cancel_anytime":"Скасувати будь-коли","state_needs_auth_info.email_step_title":"Електронна адреса для виставлення рахунків","state_needs_auth_info.email_input_label":"Електронна пошта","state_needs_auth_info.email_input_placeholder":"john@appleseed.com","state_needs_auth_info.button_continue":"Продовжити","state_needs_payment_info.payment_step_title":"Безпечна оплата","state_needs_payment_info.button_pay":"Оплатити","state_needs_payment_info.button_start_trial":"Розпочати пробний період","state_success.purchase_successful":"Покупка успішна","state_success.subscription_now_active":"Ваша підписка активна","state_success.button_close":"Закрити","state_error.if_error_persists":"Якщо помилка не зникає, зверніться до ","state_error.error_title_already_subscribed":"Вже підписано","state_error.error_title_already_purchased":"Вже придбано","state_error.error_title_other_errors":"Щось пішло не так","state_error.error_message_already_subscribed":"Ви вже підписані на цей продукт.","state_error.error_message_already_purchased":"Ви вже придбали цей продукт.","state_error.error_message_missing_email_error":"Електронна пошта необхідна для завершення покупки.","state_error.error_message_network_error":"Помилка мережі. Перевірте своє інтернет-з’єднання.","state_error.error_message_error_charging_payment":"Оплата не вдалася.","state_error.error_message_error_setting_up_purchase":"Придбання не розпочато через помилку. Код помилки: {{errorCode}}","state_error.error_message_unknown_error":"Сталася невідома помилка. Код помилки: {{errorCode}}","state_error.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}})"},Ii={"periods.unknownFrequency":"không xác định","periods.week":"{{amount}} tuần","periods.month":"{{amount}} tháng","periods.year":"{{amount}} năm","periods.day":"{{amount}} ngày","periods.weekShort":"{{amount}} tu.","periods.monthShort":"{{amount}} th.","periods.yearShort":"{{amount}} năm","periods.dayShort":"{{amount}} ng.","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.weekFrequencyPlural":"mỗi {{amount}} tuần","periods.monthFrequencyPlural":"mỗi {{amount}} tháng","periods.yearFrequencyPlural":"mỗi {{amount}} năm","periods.dayFrequencyPlural":"mỗi {{amount}} ngày","state_present_offer.product_title":"{{productTitle}}","state_present_offer.product_description":"{{productDescription}}","state_present_offer.product_price":"{{productPrice}}","state_present_offer.free_trial_duration":"{{trialDuration}} dùng thử miễn phí","state_present_offer.price_after_free_trial":"{{productPrice}} sau khi hết hạn dùng thử","state_present_offer.renewal_frequency":"Gia hạn {{frequency}}","state_present_offer.continues_until_cancelled":"Tiếp tục cho đến khi bị hủy","state_present_offer.cancel_anytime":"Hủy bất cứ lúc nào","state_needs_auth_info.email_step_title":"Địa chỉ email thanh toán","state_needs_auth_info.email_input_label":"Email","state_needs_auth_info.email_input_placeholder":"john@appleseed.com","state_needs_auth_info.button_continue":"Tiếp tục","state_needs_payment_info.payment_step_title":"Thanh toán an toàn","state_needs_payment_info.button_pay":"Thanh toán","state_needs_payment_info.button_start_trial":"Bắt đầu dùng thử","state_success.purchase_successful":"Mua thành công","state_success.subscription_now_active":"Gói đăng ký của bạn hiện đã hoạt động","state_success.button_close":"Đóng","state_error.if_error_persists":"Nếu lỗi vẫn tiếp diễn, vui lòng liên hệ ","state_error.error_title_already_subscribed":"Đã đăng ký","state_error.error_title_already_purchased":"Đã mua","state_error.error_title_other_errors":"Đã xảy ra sự cố","state_error.error_message_already_subscribed":"Bạn đã đăng ký sản phẩm này.","state_error.error_message_already_purchased":"Bạn đã mua sản phẩm này.","state_error.error_message_missing_email_error":"Cần email để hoàn tất việc mua hàng.","state_error.error_message_network_error":"Lỗi mạng. Vui lòng kiểm tra kết nối internet của bạn.","state_error.error_message_error_charging_payment":"Thanh toán không thành công.","state_error.error_message_error_setting_up_purchase":"Không thể bắt đầu giao dịch mua do lỗi. Mã lỗi: {{errorCode}}","state_error.error_message_unknown_error":"Đã xảy ra lỗi không xác định. Mã lỗi: {{errorCode}}","state_error.button_try_again":"Thử lại","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}% giảm giá","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}} ({{formattedPricePerMonth}}/{{monthPeriod}})"};var O=(e=>(e.PeriodsWeek="periods.week",e.PeriodsMonth="periods.month",e.PeriodsYear="periods.year",e.PeriodsDay="periods.day",e.PeriodsWeekShort="periods.weekShort",e.PeriodsMonthShort="periods.monthShort",e.PeriodsYearShort="periods.yearShort",e.PeriodsDayShort="periods.dayShort",e.PeriodsLifetime="periods.lifetime",e.PeriodsWeekPlural="periods.weekPlural",e.PeriodsMonthPlural="periods.monthPlural",e.PeriodsYearPlural="periods.yearPlural",e.PeriodsDayPlural="periods.dayPlural",e.PeriodsWeekFrequency="periods.weekFrequency",e.PeriodsMonthFrequency="periods.monthFrequency",e.PeriodsYearFrequency="periods.yearFrequency",e.PeriodsDayFrequency="periods.dayFrequency",e.PeriodsUnknownFrequency="periods.unknownFrequency",e.PeriodsWeekFrequencyPlural="periods.weekFrequencyPlural",e.PeriodsMonthFrequencyPlural="periods.monthFrequencyPlural",e.PeriodsYearFrequencyPlural="periods.yearFrequencyPlural",e.PeriodsDayFrequencyPlural="periods.dayFrequencyPlural",e.StatePresentOfferProductTitle="state_present_offer.product_title",e.StatePresentOfferProductDescription="state_present_offer.product_description",e.StatePresentOfferProductPrice="state_present_offer.product_price",e.StatePresentOfferFreeTrialDuration="state_present_offer.free_trial_duration",e.StatePresentOfferPriceAfterFreeTrial="state_present_offer.price_after_free_trial",e.StatePresentOfferRenewalFrequency="state_present_offer.renewal_frequency",e.StatePresentOfferContinuesUntilCancelled="state_present_offer.continues_until_cancelled",e.StatePresentOfferCancelAnytime="state_present_offer.cancel_anytime",e.StateNeedsAuthInfoEmailStepTitle="state_needs_auth_info.email_step_title",e.StateNeedsAuthInfoEmailInputLabel="state_needs_auth_info.email_input_label",e.StateNeedsAuthInfoEmailInputPlaceholder="state_needs_auth_info.email_input_placeholder",e.StateNeedsAuthInfoButtonContinue="state_needs_auth_info.button_continue",e.StateNeedsPaymentInfoPaymentStepTitle="state_needs_payment_info.payment_step_title",e.StateNeedsPaymentInfoButtonPay="state_needs_payment_info.button_pay",e.StateNeedsPaymentInfoButtonStartTrial="state_needs_payment_info.button_start_trial",e.StateSuccessPurchaseSuccessful="state_success.purchase_successful",e.StateSuccessSubscriptionNowActive="state_success.subscription_now_active",e.StateSuccessButtonClose="state_success.button_close",e.StateErrorIfErrorPersists="state_error.if_error_persists",e.StateErrorErrorTitleAlreadySubscribed="state_error.error_title_already_subscribed",e.StateErrorErrorTitleAlreadyPurchased="state_error.error_title_already_purchased",e.StateErrorErrorTitleOtherErrors="state_error.error_title_other_errors",e.StateErrorErrorMessageAlreadySubscribed="state_error.error_message_already_subscribed",e.StateErrorErrorMessageAlreadyPurchased="state_error.error_message_already_purchased",e.StateErrorErrorMessageMissingEmailError="state_error.error_message_missing_email_error",e.StateErrorErrorMessageNetworkError="state_error.error_message_network_error",e.StateErrorErrorMessageErrorChargingPayment="state_error.error_message_error_charging_payment",e.StateErrorErrorMessageErrorSettingUpPurchase="state_error.error_message_error_setting_up_purchase",e.StateErrorErrorMessageUnknownError="state_error.error_message_unknown_error",e.StateErrorButtonTryAgain="state_error.button_try_again",e.PaywallVariablesPricePerPeriod="paywall_variables.price_per_period",e.PaywallVariablesSubRelativeDiscount="paywall_variables.sub_relative_discount",e.PaywallVariablesTotalPriceAndPerMonth="paywall_variables.total_price_and_per_month",e))(O||{});const Si={en:Zs,es:Qs,it:Js,ar:$s,ca:Ks,zh_Hans:Xs,zh_Hant:ei,hr:ri,cs:ti,da:ni,nl:ai,fi:oi,fr:si,de:ii,el:li,he:ui,hi:ci,hu:_i,id:di,ja:pi,ko:fi,ms:mi,no:hi,pl:yi,pt:gi,ro:vi,ru:bi,sk:Pi,sv:wi,th:ki,tr:Ei,uk:xi,vi:Ii},Cr={noWhitespace:!1,short:!1};class Le{constructor(r={},t=or,n=or){U(this,"locales",{});this.selectedLocale=t,this.defaultLocale=n;const a={};Object.entries(Si).forEach(([o,s])=>{a[o]=new Na(s,o)}),this.locales=a,r&&this.override(r)}static fallback(){return new Le}override(r){Object.entries(r).forEach(([t,n])=>{this.locales[t]=new Na({...this.locales[t].labels||{},...n},this.getLanguageCodeString(t))})}formatPrice(r,t){const n=r/1e6;try{return new Intl.NumberFormat(this.locale,{style:"currency",currency:t}).format(n)}catch{console.debug(`Failed to create a price formatter for locale: ${this.locale}`)}try{return new Intl.NumberFormat(this.fallbackLocale,{style:"currency",currency:t}).format(n)}catch{console.debug(`Failed to create a price formatter for locale: ${this.fallbackLocale}`)}return new Intl.NumberFormat(or,{style:"currency",currency:t}).format(n)}get locale(){var r;return((r=this.getLocaleInstance(this.selectedLocale))==null?void 0:r.localeKey)||this.getLanguageCodeString(this.selectedLocale)}get fallbackLocale(){var r;return((r=this.getLocaleInstance(this.defaultLocale))==null?void 0:r.localeKey)||this.getLanguageCodeString(this.defaultLocale)}getLanguageCodeString(r){return r.split("_")[0].split("-")[0]}getLocaleInstance(r){const t=this.getLanguageCodeString(r);return this.locales[r]||this.locales[t]}translate(r,t){const n=this.getLocaleInstance(this.selectedLocale),a=this.getLocaleInstance(this.defaultLocale);return(n==null?void 0:n.translate(r,t))||(a==null?void 0:a.translate(r,t))||""}translatePeriod(r,t,n=Cr){const a=this.getLocaleInstance(this.selectedLocale),o=this.getLocaleInstance(this.defaultLocale);return(a==null?void 0:a.translatePeriod(r,t,n))||(o==null?void 0:o.translatePeriod(r,t,n))}translatePeriodUnit(r,t=Cr){const n=this.getLocaleInstance(this.selectedLocale),a=this.getLocaleInstance(this.defaultLocale);return(n==null?void 0:n.translatePeriodUnit(r,t))||(a==null?void 0:a.translatePeriodUnit(r,t))}translatePeriodFrequency(r,t){const n=this.getLocaleInstance(this.selectedLocale),a=this.getLocaleInstance(this.defaultLocale);return(n==null?void 0:n.translatePeriodFrequency(r,t))||(a==null?void 0:a.translatePeriodFrequency(r,t))}}class Na{constructor(r={},t){this.labels=r,this.localeKey=t}replaceVariables(r,t){return Object.entries(t).reduce((n,[a,o])=>n.replace(`{{${a}}}`,`${o??""}`),r)}translate(r,t){const n=this.labels[r];if(n)return this.replaceVariables(n,t||{})}translatePeriod(r,t,n=Cr){var i;const{noWhitespace:a,short:o}={...Cr,...n},s=o?`periods.${t}Short`:Math.abs(r)===1?`periods.${t}`:`periods.${t}Plural`;return(i=this.translate(s,{amount:r.toString()}))==null?void 0:i.replace(" ",a?"":" ")}translatePeriodUnit(r,t=Cr){var s;const{noWhitespace:n,short:a}={...Cr,...t},o=`periods.${r}${a?"Short":""}`;return(s=this.translate(o,{amount:""}))==null?void 0:s.replace(" ",n?"":" ")}translatePeriodFrequency(r,t){const n=Math.abs(r)===1?`periods.${t}Frequency`:`periods.${t}FrequencyPlural`;return this.translate(n,{amount:r.toString()})}}function ie(e,r){X(r,!0);const t=v(r,"key",3,""),n=v(r,"defaultLocale",3,or),a=new Le({},r.selectedLocale||"",n()),o=Pr(wr),s=r.selectedLocale?a:o||Le.fallback(),i=ne(()=>t()?s.translate(t()||"",r.variables):void 0);var l=ae(),u=N(l);R(u,()=>f(i),c=>{var d=ot();W(()=>ar(d,f(i))),y(c,d)},c=>{var d=ae(),_=N(d);ln(_,()=>r.children??Ye),y(c,d)}),y(e,l),ee()}var xe=(e=>(e[e.Silent=0]="Silent",e[e.Error=1]="Error",e[e.Warn=2]="Warn",e[e.Info=3]="Info",e[e.Debug=4]="Debug",e[e.Verbose=5]="Verbose",e))(xe||{});class Z{static setLogLevel(r){this.logLevel=r}static log(r,t=this.logLevel){const n=`[Purchases] ${r}`;if(!(this.logLevel<t||t===xe.Silent))switch(t){case xe.Error:console.error(n);break;case xe.Warn:console.warn(n);break;case xe.Info:console.info(n);break;case xe.Debug:console.debug(n);break;case xe.Verbose:console.debug(n);break}}static errorLog(r){this.log(r,xe.Error)}static warnLog(r){this.log(r,xe.Warn)}static infoLog(r){this.log(r,xe.Info)}static debugLog(r){this.log(r,xe.Debug)}static verboseLog(r){this.log(r,xe.Verbose)}}U(Z,"logLevel",xe.Silent);var fr=(e=>(e.Year="year",e.Month="month",e.Week="week",e.Day="day",e))(fr||{});function _n(e){const r=e.match(/^PT?([0-9]+)([MDYW])$/);if(!r||r.length<3)return Z.errorLog(`Invalid ISO 8601 duration format: ${e}`),null;const t=parseInt(r[1]);switch(r[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 Z.errorLog(`Invalid ISO 8601 unit duration format: ${e}`),null}}const qi=(e,r,t)=>{const n=e/1e6;return new Intl.NumberFormat(t,{style:"currency",currency:r}).format(n)},Ti=(e,r)=>{const t=_n(e);return t?r.translatePeriodFrequency(t.number,t.unit)||`${t.number} ${t.unit}s`:r.translate(O.PeriodsUnknownFrequency)},Fi=(e,r)=>{const t=_n(e);return t?r.translatePeriod(t.number,t.unit)||`${t.number} ${t.unit}s`:e};function Ai(e){return e!=null}var Ca=(e=>(e.Unknown="unknown",e.Custom="custom",e.Lifetime="$rc_lifetime",e.Annual="$rc_annual",e.SixMonth="$rc_six_month",e.ThreeMonth="$rc_three_month",e.TwoMonth="$rc_two_month",e.Monthly="$rc_monthly",e.Weekly="$rc_weekly",e))(Ca||{}),Je=(e=>(e.Subscription="subscription",e.Consumable="consumable",e.NonConsumable="non_consumable",e))(Je||{});const ja=e=>({amount:e.amount_micros/1e4,amountMicros:e.amount_micros,currency:e.currency,formattedPrice:qi(e.amount_micros,e.currency)}),Ra=e=>{const r=e.period_duration;return{periodDuration:r,period:r?_n(r):null,cycleCount:e.cycle_count,price:e.price?ja(e.price):null}},Oi=e=>e.base==null?(Z.debugLog("Missing base phase for subscription option. Ignoring."),null):{id:e.id,priceId:e.price_id,base:Ra(e.base),trial:e.trial?Ra(e.trial):null},Di=e=>e.base_price==null?(Z.debugLog("Missing base price for non-subscription option. Ignoring."),null):{id:e.id,priceId:e.price_id,basePrice:ja(e.base_price)},Mi=(e,r)=>{const t=e.product_type;return t==="subscription"?Ci(e,r,t):Ni(e,r,t)},Ni=(e,r,t)=>{const n={};if(Object.entries(e.purchase_options).forEach(([s,i])=>{const l=Di(i);l!=null&&(n[s]=l)}),Object.keys(n).length===0)return Z.debugLog(`Product ${e.identifier} has no purchase options. Ignoring.`),null;const a=e.default_purchase_option_id,o=a&&a in e.purchase_options?n[a]:null;return o==null?(Z.debugLog(`Product ${e.identifier} has no default purchase option. Ignoring.`),null):{identifier:e.identifier,displayName:e.title,title:e.title,description:e.description,productType:t,currentPrice:o.basePrice,normalPeriodDuration:null,presentedOfferingIdentifier:r.offeringIdentifier,presentedOfferingContext:r,defaultPurchaseOption:o,defaultSubscriptionOption:null,subscriptionOptions:{},defaultNonSubscriptionOption:o}},Ci=(e,r,t)=>{const n={};if(Object.entries(e.purchase_options).forEach(([i,l])=>{const u=Oi(l);u!=null&&(n[i]=u)}),Object.keys(n).length===0)return Z.debugLog(`Product ${e.identifier} has no subscription options. Ignoring.`),null;const a=e.default_purchase_option_id,o=a&&a in n?n[a]:null;if(o==null)return Z.debugLog(`Product ${e.identifier} has no default subscription option. Ignoring.`),null;const s=o.base.price;return s==null?(Z.debugLog(`Product ${e.identifier} default option has no base price. Ignoring.`),null):{identifier:e.identifier,displayName:e.title,title:e.title,description:e.description,productType:t,currentPrice:s,normalPeriodDuration:o.base.periodDuration,presentedOfferingIdentifier:r.offeringIdentifier,presentedOfferingContext:r,defaultPurchaseOption:o,defaultSubscriptionOption:o,subscriptionOptions:n,defaultNonSubscriptionOption:null}},ji=(e,r,t)=>{const n=t[r.platform_product_identifier];if(n===void 0)return null;const a=Mi(n,e);return a===null?null:{identifier:r.identifier,rcBillingProduct:a,packageType:Ui(r.identifier)}},Ri=(e,r,t,n)=>{const a={offeringIdentifier:r.identifier,targetingContext:e&&n?{ruleId:n.rule_id,revision:n.revision}:null,placementIdentifier:null},o=r.packages.map(i=>ji(a,i,t)).filter(Ai),s={};for(const i of o)i!=null&&(s[i.identifier]=i);return o.length==0?null:{identifier:r.identifier,serverDescription:r.description,metadata:r.metadata,packagesById:s,availablePackages:o,lifetime:s.$rc_lifetime??null,annual:s.$rc_annual??null,sixMonth:s.$rc_six_month??null,threeMonth:s.$rc_three_month??null,twoMonth:s.$rc_two_month??null,monthly:s.$rc_monthly??null,weekly:s.$rc_weekly??null,paywall_components:r.paywall_components?r.paywall_components:null}};function Ui(e){switch(e){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 e.startsWith("$rc_")?"unknown":"custom"}}var Li=k('<span class="rcb-product-price-after-trial svelte-1cj3ch9"><!></span>'),Bi=k('<span class="rcb-product-description svelte-1cj3ch9"><!></span>'),zi=k("<li><!></li>"),Vi=k('<span class="rcb-product-price svelte-1cj3ch9"><!> <!></span> <!> <!> <ul class="rcb-product-details svelte-1cj3ch9"><!> <li><!></li> <li><!></li></ul>',1),Hi=k('<span class="rcb-product-description svelte-1cj3ch9"><!></span>'),Yi=k('<span class="rcb-product-price svelte-1cj3ch9"><!></span> <!>',1),Gi=k('<div class="rcb-pricing-info svelte-1cj3ch9"><span class="rcb-product-title svelte-1cj3ch9"><!></span> <!> <!></div>');const Wi={hash:"svelte-1cj3ch9",code:`.rcb-pricing-info.svelte-1cj3ch9 {display:flex;flex-direction:column;margin-top:102px;font-weight:500;}.rcb-product-title.svelte-1cj3ch9 {color:var(--rc-color-grey-text-dark);}.rcb-product-price.svelte-1cj3ch9 {color:var(--rc-color-grey-text-dark);font-size:24px;margin:12px 0px;}.rcb-product-description.svelte-1cj3ch9 {color:var(--rc-color-grey-text-dark);margin:0 0 12px 0;}.rcb-product-price-after-trial.svelte-1cj3ch9 {margin-bottom:12px;}.rcb-product-details.svelte-1cj3ch9 {color:var(--rc-color-grey-text-light);list-style-type:disc;list-style-position:inside;margin:0px;padding:0px;}
1
+ (function(S,F){typeof exports=="object"&&typeof module<"u"?F(exports):typeof define=="function"&&define.amd?define(["exports"],F):(S=typeof globalThis<"u"?globalThis:S||self,F(S.Purchases={}))})(this,function(S){"use strict";var Z_=Object.create;var Gn=Object.defineProperty;var Q_=Object.getOwnPropertyDescriptor;var zo=(S,F)=>(F=Symbol[S])?F:Symbol.for("Symbol."+S),wt=S=>{throw TypeError(S)};var Vo=(S,F,R)=>F in S?Gn(S,F,{enumerable:!0,configurable:!0,writable:!0,value:R}):S[F]=R;var Uo=(S,F)=>Gn(S,"name",{value:F,configurable:!0});var Ho=S=>[,,,Z_((S==null?void 0:S[zo("metadata")])??null)],Yo=["class","method","getter","setter","accessor","field","value","get","set"],bt=S=>S!==void 0&&typeof S!="function"?wt("Function expected"):S,J_=(S,F,R,Oe,te)=>({kind:Yo[S],name:F,metadata:Oe,addInitializer:le=>R._?wt("Already initialized"):te.push(bt(le||null))}),Wn=(S,F)=>Vo(F,zo("metadata"),S[3]),Go=(S,F,R,Oe)=>{for(var te=0,le=S[F>>1],Re=le&&le.length;te<Re;te++)F&1?le[te].call(R):Oe=le[te].call(R,Oe);return Oe},Wo=(S,F,R,Oe,te,le)=>{var Re,qe,Pt,wr,Wr,W=F&7,Zr=!!(F&8),Ce=!!(F&16),Qr=W>3?S.length+1:W?Zr?1:2:0,kt=Yo[W+5],he=W>3&&(S[Qr-1]=[]),Jr=S[Qr]||(S[Qr]=[]),De=W&&(!Ce&&!Zr&&(te=te.prototype),W<5&&(W>3||!Ce)&&Q_(W<4?te:{get[R](){return Lo(this,le)},set[R](ye){return Bo(this,le,ye)}},R));W?Ce&&W<4&&Uo(le,(W>2?"set ":W>1?"get ":"")+R):Uo(te,R);for(var er=Oe.length-1;er>=0;er--)wr=J_(W,R,Pt={},S[3],Jr),W&&(wr.static=Zr,wr.private=Ce,Wr=wr.access={has:Ce?ye=>K_(te,ye):ye=>R in ye},W^3&&(Wr.get=Ce?ye=>(W^1?Lo:X_)(ye,te,W^4?le:De.get):ye=>ye[R]),W>2&&(Wr.set=Ce?(ye,Kr)=>Bo(ye,te,Kr,W^4?le:De.set):(ye,Kr)=>ye[R]=Kr)),qe=(0,Oe[er])(W?W<4?Ce?le:De[kt]:W>4?void 0:{get:De.get,set:De.set}:te,wr),Pt._=1,W^4||qe===void 0?bt(qe)&&(W>4?he.unshift(qe):W?Ce?le=qe:De[kt]=qe:te=qe):typeof qe!="object"||qe===null?wt("Object expected"):(bt(Re=qe.get)&&(De.get=Re),bt(Re=qe.set)&&(De.set=Re),bt(Re=qe.init)&&he.unshift(Re));return W||Wn(S,te),De&&Gn(te,R,De),Ce?W^4?le:De:te},V=(S,F,R)=>Vo(S,typeof F!="symbol"?F+"":F,R),Zn=(S,F,R)=>F.has(S)||wt("Cannot "+R),K_=(S,F)=>Object(F)!==F?wt('Cannot use the "in" operator on this value'):S.has(F),Lo=(S,F,R)=>(Zn(S,F,"read from private field"),R?R.call(S):F.get(S));var Bo=(S,F,R,Oe)=>(Zn(S,F,"write to private field"),Oe?Oe.call(S,R):F.set(S,R),R),X_=(S,F,R)=>(Zn(S,F,"access private method"),R);var Co,Vn;const F="5";typeof window<"u"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(F);let R=!1;function Oe(){R=!0}Oe();const te=1,le=2,Re=4,qe=8,Pt=16,wr=1,Wr=2,W=4,Zr=8,Ce=16,Qr=1,kt=2,he=Symbol(),Jr="http://www.w3.org/2000/svg",De=!1;var er=Array.isArray,ye=Array.from,Kr=Object.defineProperty,rr=Object.getOwnPropertyDescriptor,Qn=Object.getOwnPropertyDescriptors,Zo=Object.prototype,Qo=Array.prototype,Jt=Object.getPrototypeOf;function Xr(e){return typeof e=="function"}const Ye=()=>{};function Jo(e){return e()}function Kt(e){for(var r=0;r<e.length;r++)e[r]()}const Ue=2,Jn=4,$r=8,Xt=16,Le=32,et=64,$t=128,Pr=256,Et=512,xe=1024,ur=2048,Fr=4096,Ge=8192,Ar=16384,Ko=32768,Or=65536,Xo=1<<17,$o=1<<19,Kn=1<<20,cr=Symbol("$state"),Xn=Symbol("legacy props"),es=Symbol("");function $n(e){return e===this.v}function ea(e,r){return e!=e?r==r:e!==r||e!==null&&typeof e=="object"||typeof e=="function"}function en(e){return!ea(e,this.v)}function rs(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function ts(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function ns(e){throw new Error("https://svelte.dev/e/effect_orphan")}function as(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function os(e){throw new Error("https://svelte.dev/e/lifecycle_legacy_only")}function ss(e){throw new Error("https://svelte.dev/e/props_invalid_value")}function is(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function ls(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function us(){throw new Error("https://svelte.dev/e/state_unsafe_local_read")}function cs(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function Me(e){return{f:0,v:e,reactions:null,equals:$n,version:0}}function _s(e){return ra(Me(e))}function xt(e,r=!1){var n;const t=Me(e);return r||(t.equals=en),R&&z!==null&&z.l!==null&&((n=z.l).s??(n.s=[])).push(t),t}function Se(e,r=!1){return ra(xt(e,r))}function ra(e){return J!==null&&J.f&Ue&&(Qe===null?bs([e]):Qe.push(e)),e}function A(e,r){return J!==null&&At()&&J.f&(Ue|Xt)&&(Qe===null||!Qe.includes(e))&&cs(),rn(e,r)}function rn(e,r){return e.equals(r)||(e.v=r,e.version=wa(),ta(e,ur),At()&&B!==null&&B.f&xe&&!(B.f&Le)&&(ve!==null&&ve.includes(e)?(Be(B,ur),Dt(B)):dr===null?ws([e]):dr.push(e))),r}function ta(e,r){var t=e.reactions;if(t!==null)for(var n=At(),a=t.length,o=0;o<a;o++){var s=t[o],i=s.f;i&ur||!n&&s===B||(Be(s,r),i&(xe|Pr)&&(i&Ue?ta(s,Fr):Dt(s)))}}let na=!1;function tr(e,r=null,t){if(typeof e!="object"||e===null||cr in e)return e;const n=Jt(e);if(n!==Zo&&n!==Qo)return e;var a=new Map,o=er(e),s=Me(0);o&&a.set("length",Me(e.length));var i;return new Proxy(e,{defineProperty(l,u,c){(!("value"in c)||c.configurable===!1||c.enumerable===!1||c.writable===!1)&&is();var d=a.get(u);return d===void 0?(d=Me(c.value),a.set(u,d)):A(d,tr(c.value,i)),!0},deleteProperty(l,u){var c=a.get(u);if(c===void 0)u in l&&a.set(u,Me(he));else{if(o&&typeof u=="string"){var d=a.get("length"),_=Number(u);Number.isInteger(_)&&_<d.v&&A(d,_)}A(c,he),aa(s)}return!0},get(l,u,c){var m;if(u===cr)return e;var d=a.get(u),_=u in l;if(d===void 0&&(!_||(m=rr(l,u))!=null&&m.writable)&&(d=Me(tr(_?l[u]:he,i)),a.set(u,d)),d!==void 0){var f=p(d);return f===he?void 0:f}return Reflect.get(l,u,c)},getOwnPropertyDescriptor(l,u){var c=Reflect.getOwnPropertyDescriptor(l,u);if(c&&"value"in c){var d=a.get(u);d&&(c.value=p(d))}else if(c===void 0){var _=a.get(u),f=_==null?void 0:_.v;if(_!==void 0&&f!==he)return{enumerable:!0,configurable:!0,value:f,writable:!0}}return c},has(l,u){var f;if(u===cr)return!0;var c=a.get(u),d=c!==void 0&&c.v!==he||Reflect.has(l,u);if(c!==void 0||B!==null&&(!d||(f=rr(l,u))!=null&&f.writable)){c===void 0&&(c=Me(d?tr(l[u],i):he),a.set(u,c));var _=p(c);if(_===he)return!1}return d},set(l,u,c,d){var I;var _=a.get(u),f=u in l;if(o&&u==="length")for(var m=c;m<_.v;m+=1){var y=a.get(m+"");y!==void 0?A(y,he):m in l&&(y=Me(he),a.set(m+"",y))}_===void 0?(!f||(I=rr(l,u))!=null&&I.writable)&&(_=Me(void 0),A(_,tr(c,i)),a.set(u,_)):(f=_.v!==he,A(_,tr(c,i)));var w=Reflect.getOwnPropertyDescriptor(l,u);if(w!=null&&w.set&&w.set.call(d,c),!f){if(o&&typeof u=="string"){var P=a.get("length"),E=Number(u);Number.isInteger(E)&&E>=P.v&&A(P,E+1)}aa(s)}return!0},ownKeys(l){p(s);var u=Reflect.ownKeys(l).filter(_=>{var f=a.get(_);return f===void 0||f.v!==he});for(var[c,d]of a)d.v!==he&&!(c in l)&&u.push(c);return u},setPrototypeOf(){ls()}})}function aa(e,r=1){A(e,e.v+r)}var oa,sa,ia;function ds(){if(oa===void 0){oa=window;var e=Element.prototype,r=Node.prototype;sa=rr(r,"firstChild").get,ia=rr(r,"nextSibling").get,e.__click=void 0,e.__className="",e.__attributes=null,e.__styles=null,e.__e=void 0,Text.prototype.__t=void 0}}function rt(e=""){return document.createTextNode(e)}function tt(e){return sa.call(e)}function St(e){return ia.call(e)}function q(e,r){return tt(e)}function j(e,r){{var t=tt(e);return t instanceof Comment&&t.data===""?St(t):t}}function N(e,r=1,t=!1){let n=e;for(;r--;)n=St(n);return n}function ps(e){e.textContent=""}function ee(e){var r=Ue|ur;B===null?r|=Pr:B.f|=Kn;var t=J!==null&&J.f&Ue?J:null;const n={children:null,ctx:z,deps:null,equals:$n,f:r,fn:e,reactions:null,v:null,version:0,parent:t??B};return t!==null&&(t.children??(t.children=[])).push(n),n}function re(e){const r=ee(e);return r.equals=en,r}function la(e){var r=e.children;if(r!==null){e.children=null;for(var t=0;t<r.length;t+=1){var n=r[t];n.f&Ue?tn(n):We(n)}}}function fs(e){for(var r=e.parent;r!==null;){if(!(r.f&Ue))return r;r=r.parent}return null}function ua(e){var r,t=B;Ze(fs(e));try{la(e),r=Pa(e)}finally{Ze(t)}return r}function ca(e){var r=ua(e),t=(Nr||e.f&Pr)&&e.deps!==null?Fr:xe;Be(e,t),e.equals(r)||(e.v=r,e.version=wa())}function tn(e){la(e),lt(e,0),Be(e,Ar),e.v=e.children=e.deps=e.ctx=e.reactions=null}function _a(e){B===null&&J===null&&ns(),J!==null&&J.f&Pr&&ts(),_n&&rs()}function ms(e,r){var t=r.last;t===null?r.last=r.first=e:(t.next=e,e.prev=t,r.last=e)}function Dr(e,r,t,n=!0){var a=(e&et)!==0,o=B,s={ctx:z,deps:null,deriveds:null,nodes_start:null,nodes_end:null,f:e|ur,first:null,fn:r,last:null,next:null,parent:a?null:o,prev:null,teardown:null,transitions:null,version:0};if(t){var i=Mr;try{ga(!0),ut(s),s.f|=Ko}catch(c){throw We(s),c}finally{ga(i)}}else r!==null&&Dt(s);var l=t&&s.deps===null&&s.first===null&&s.nodes_start===null&&s.teardown===null&&(s.f&Kn)===0;if(!l&&!a&&n&&(o!==null&&ms(s,o),J!==null&&J.f&Ue)){var u=J;(u.children??(u.children=[])).push(s)}return s}function nn(e){const r=Dr($r,null,!1);return Be(r,xe),r.teardown=e,r}function an(e){_a();var r=B!==null&&(B.f&Le)!==0&&z!==null&&!z.m;if(r){var t=z;(t.e??(t.e=[])).push({fn:e,effect:B,reaction:J})}else{var n=on(e);return n}}function hs(e){return _a(),nt(e)}function ys(e){const r=Dr(et,e,!0);return()=>{We(r)}}function on(e){return Dr(Jn,e,!1)}function kr(e,r){var t=z,n={effect:null,ran:!1};t.l.r1.push(n),n.effect=nt(()=>{e(),!n.ran&&(n.ran=!0,A(t.l.r2,!0),pr(r))})}function sn(){var e=z;nt(()=>{if(p(e.l.r2)){for(var r of e.l.r1){var t=r.effect;t.f&xe&&Be(t,Fr),Cr(t)&&ut(t),r.ran=!1}e.l.r2.v=!1}})}function nt(e){return Dr($r,e,!0)}function Z(e){return Er(e)}function Er(e,r=0){return Dr($r|Xt|r,e,!0)}function nr(e,r=!0){return Dr($r|Le,e,!0,r)}function da(e){var r=e.teardown;if(r!==null){const t=_n,n=J;va(!0),_r(null);try{r.call(null)}finally{va(t),_r(n)}}}function pa(e){var r=e.deriveds;if(r!==null){e.deriveds=null;for(var t=0;t<r.length;t+=1)tn(r[t])}}function fa(e,r=!1){var t=e.first;for(e.first=e.last=null;t!==null;){var n=t.next;We(t,r),t=n}}function gs(e){for(var r=e.first;r!==null;){var t=r.next;r.f&Le||We(r),r=t}}function We(e,r=!0){var t=!1;if((r||e.f&$o)&&e.nodes_start!==null){for(var n=e.nodes_start,a=e.nodes_end;n!==null;){var o=n===a?null:St(n);n.remove(),n=o}t=!0}fa(e,r&&!t),pa(e),lt(e,0),Be(e,Ar);var s=e.transitions;if(s!==null)for(const l of s)l.stop();da(e);var i=e.parent;i!==null&&i.first!==null&&ma(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=null}function ma(e){var r=e.parent,t=e.prev,n=e.next;t!==null&&(t.next=n),n!==null&&(n.prev=t),r!==null&&(r.first===e&&(r.first=n),r.last===e&&(r.last=t))}function at(e,r){var t=[];ln(e,t,!0),ha(t,()=>{We(e),r&&r()})}function ha(e,r){var t=e.length;if(t>0){var n=()=>--t||r();for(var a of e)a.out(n)}else r()}function ln(e,r,t){if(!(e.f&Ge)){if(e.f^=Ge,e.transitions!==null)for(const s of e.transitions)(s.is_global||t)&&r.push(s);for(var n=e.first;n!==null;){var a=n.next,o=(n.f&Or)!==0||(n.f&Le)!==0;ln(n,r,o?t:!1),n=a}}}function ot(e){ya(e,!0)}function ya(e,r){if(e.f&Ge){Cr(e)&&ut(e),e.f^=Ge;for(var t=e.first;t!==null;){var n=t.next,a=(t.f&Or)!==0||(t.f&Le)!==0;ya(t,a?r:!1),t=n}if(e.transitions!==null)for(const o of e.transitions)(o.is_global||r)&&o.in()}}let un=!1,cn=[];function vs(){un=!1;const e=cn.slice();cn=[],Kt(e)}function st(e){un||(un=!0,queueMicrotask(vs)),cn.push(e)}function It(e){throw new Error("https://svelte.dev/e/lifecycle_outside_component")}let qt=!1,Tt=!1,Ft=null,Mr=!1,_n=!1;function ga(e){Mr=e}function va(e){_n=e}let dn=[],it=0,$_=[],J=null;function _r(e){J=e}let B=null;function Ze(e){B=e}let Qe=null;function bs(e){Qe=e}let ve=null,Ne=0,dr=null;function ws(e){dr=e}let ba=0,Nr=!1,z=null;function wa(){return++ba}function At(){return!R||z!==null&&z.l===null}function Cr(e){var s,i;var r=e.f;if(r&ur)return!0;if(r&Fr){var t=e.deps,n=(r&Pr)!==0;if(t!==null){var a;if(r&Et){for(a=0;a<t.length;a++)((s=t[a]).reactions??(s.reactions=[])).push(e);e.f^=Et}for(a=0;a<t.length;a++){var o=t[a];if(Cr(o)&&ca(o),n&&B!==null&&!Nr&&!((i=o==null?void 0:o.reactions)!=null&&i.includes(e))&&(o.reactions??(o.reactions=[])).push(e),o.version>e.version)return!0}}n||Be(e,xe)}return!1}function Ps(e,r){for(var t=r;t!==null;){if(t.f&$t)try{t.fn(e);return}catch{t.f^=$t}t=t.parent}throw qt=!1,e}function ks(e){return(e.f&Ar)===0&&(e.parent===null||(e.parent.f&$t)===0)}function Ot(e,r,t,n){if(qt){if(t===null&&(qt=!1),ks(r))throw e;return}t!==null&&(qt=!0);{Ps(e,r);return}}function Pa(e){var _;var r=ve,t=Ne,n=dr,a=J,o=Nr,s=Qe,i=z,l=e.f;ve=null,Ne=0,dr=null,J=l&(Le|et)?null:e,Nr=!Mr&&(l&Pr)!==0,Qe=null,z=e.ctx;try{var u=(0,e.fn)(),c=e.deps;if(ve!==null){var d;if(lt(e,Ne),c!==null&&Ne>0)for(c.length=Ne+ve.length,d=0;d<ve.length;d++)c[Ne+d]=ve[d];else e.deps=c=ve;if(!Nr)for(d=Ne;d<c.length;d++)((_=c[d]).reactions??(_.reactions=[])).push(e)}else c!==null&&Ne<c.length&&(lt(e,Ne),c.length=Ne);return u}finally{ve=r,Ne=t,dr=n,J=a,Nr=o,Qe=s,z=i}}function Es(e,r){let t=r.reactions;if(t!==null){var n=t.indexOf(e);if(n!==-1){var a=t.length-1;a===0?t=r.reactions=null:(t[n]=t[a],t.pop())}}t===null&&r.f&Ue&&(ve===null||!ve.includes(r))&&(Be(r,Fr),r.f&(Pr|Et)||(r.f^=Et),lt(r,0))}function lt(e,r){var t=e.deps;if(t!==null)for(var n=r;n<t.length;n++)Es(e,t[n])}function ut(e){var r=e.f;if(!(r&Ar)){Be(e,xe);var t=B,n=z;B=e;try{r&Xt?gs(e):fa(e),pa(e),da(e);var a=Pa(e);e.teardown=typeof a=="function"?a:null,e.version=ba}catch(o){Ot(o,e,t,n||e.ctx)}finally{B=t}}}function xs(){if(it>1e3){it=0;try{as()}catch(e){if(Ft!==null)Ot(e,Ft,null);else throw e}}it++}function Ss(e){var r=e.length;if(r!==0){xs();var t=Mr;Mr=!0;try{for(var n=0;n<r;n++){var a=e[n];a.f&xe||(a.f^=xe);var o=[];ka(a,o),Is(o)}}finally{Mr=t}}}function Is(e){var r=e.length;if(r!==0)for(var t=0;t<r;t++){var n=e[t];if(!(n.f&(Ar|Ge)))try{Cr(n)&&(ut(n),n.deps===null&&n.first===null&&n.nodes_start===null&&(n.teardown===null?ma(n):n.fn=null))}catch(a){Ot(a,n,null,n.ctx)}}}function qs(){if(Tt=!1,it>1001)return;const e=dn;dn=[],Ss(e),Tt||(it=0,Ft=null)}function Dt(e){Tt||(Tt=!0,queueMicrotask(qs)),Ft=e;for(var r=e;r.parent!==null;){r=r.parent;var t=r.f;if(t&(et|Le)){if(!(t&xe))return;r.f^=xe}}dn.push(r)}function ka(e,r){var t=e.first,n=[];e:for(;t!==null;){var a=t.f,o=(a&Le)!==0,s=o&&(a&xe)!==0,i=t.next;if(!s&&!(a&Ge))if(a&$r){if(o)t.f^=xe;else try{Cr(t)&&ut(t)}catch(d){Ot(d,t,null,t.ctx)}var l=t.first;if(l!==null){t=l;continue}}else a&Jn&&n.push(t);if(i===null){let d=t.parent;for(;d!==null;){if(e===d)break e;var u=d.next;if(u!==null){t=u;continue e}d=d.parent}}t=i}for(var c=0;c<n.length;c++)l=n[c],r.push(l),ka(l,r)}function p(e){var c;var r=e.f,t=(r&Ue)!==0;if(t&&r&Ar){var n=ua(e);return tn(e),n}if(J!==null){Qe!==null&&Qe.includes(e)&&us();var a=J.deps;ve===null&&a!==null&&a[Ne]===e?Ne++:ve===null?ve=[e]:ve.push(e),dr!==null&&B!==null&&B.f&xe&&!(B.f&Le)&&dr.includes(e)&&(Be(B,ur),Dt(B))}else if(t&&e.deps===null)for(var o=e,s=o.parent,i=o;s!==null;)if(s.f&Ue){var l=s;i=l,s=l.parent}else{var u=s;(c=u.deriveds)!=null&&c.includes(i)||(u.deriveds??(u.deriveds=[])).push(i);break}return t&&(o=e,Cr(o)&&ca(o)),e.v}function pr(e){const r=J;try{return J=null,e()}finally{J=r}}const Ts=~(ur|Fr|xe);function Be(e,r){e.f=e.f&Ts|r}function xr(e){return Ea().get(e)}function pn(e,r){return Ea().set(e,r),r}function Ea(e){return z===null&&It(),z.c??(z.c=new Map(Fs(z)||void 0))}function Fs(e){let r=e.p;for(;r!==null;){const t=r.c;if(t!==null)return t;r=r.p}return null}function ne(e,r=!1,t){z={p:z,c:null,e:null,m:!1,s:e,x:null,l:null},R&&!r&&(z.l={s:null,u:null,r1:[],r2:Me(!1)})}function ae(e){const r=z;if(r!==null){e!==void 0&&(r.x=e);const s=r.e;if(s!==null){var t=B,n=J;r.e=null;try{for(var a=0;a<s.length;a++){var o=s[a];Ze(o.effect),_r(o.reaction),on(o.fn)}}finally{Ze(t),_r(n)}}z=r.p,r.m=!0}return e||{}}function be(e){if(!(typeof e!="object"||!e||e instanceof EventTarget)){if(cr in e)fn(e);else if(!Array.isArray(e))for(let r in e){const t=e[r];typeof t=="object"&&t&&cr in t&&fn(t)}}}function fn(e,r=new Set){if(typeof e=="object"&&e!==null&&!(e instanceof EventTarget)&&!r.has(e)){r.add(e),e instanceof Date&&e.getTime();for(let n in e)try{fn(e[n],r)}catch{}const t=Jt(e);if(t!==Object.prototype&&t!==Array.prototype&&t!==Map.prototype&&t!==Set.prototype&&t!==Date.prototype){const n=Qn(t);for(let a in n){const o=n[a].get;if(o)try{o.call(e)}catch{}}}}}function As(e,r){if(r){const t=document.body;e.autofocus=!0,st(()=>{document.activeElement===t&&e.focus()})}}let xa=!1;function Os(){xa||(xa=!0,document.addEventListener("reset",e=>{Promise.resolve().then(()=>{var r;if(!e.defaultPrevented)for(const t of e.target.elements)(r=t.__on_r)==null||r.call(t)})},{capture:!0}))}function Sa(e){var r=J,t=B;_r(null),Ze(null);try{return e()}finally{_r(r),Ze(t)}}function Ds(e,r,t,n=t){e.addEventListener(r,()=>Sa(t));const a=e.__on_r;a?e.__on_r=()=>{a(),n(!0)}:e.__on_r=()=>n(!0),Os()}const Ia=new Set,mn=new Set;function qa(e,r,t,n){function a(o){if(n.capture||ct.call(r,o),!o.cancelBubble)return Sa(()=>t.call(this,o))}return e.startsWith("pointer")||e.startsWith("touch")||e==="wheel"?st(()=>{r.addEventListener(e,a,n)}):r.addEventListener(e,a,n),a}function Mt(e,r,t,n,a){var o={capture:n,passive:a},s=qa(e,r,t,o);(r===document.body||r===window||r===document)&&nn(()=>{r.removeEventListener(e,s,o)})}function hn(e){for(var r=0;r<e.length;r++)Ia.add(e[r]);for(var t of mn)t(e)}function ct(e){var E;var r=this,t=r.ownerDocument,n=e.type,a=((E=e.composedPath)==null?void 0:E.call(e))||[],o=a[0]||e.target,s=0,i=e.__root;if(i){var l=a.indexOf(i);if(l!==-1&&(r===document||r===window)){e.__root=r;return}var u=a.indexOf(r);if(u===-1)return;l<=u&&(s=l)}if(o=a[s]||e.target,o!==r){Kr(e,"currentTarget",{configurable:!0,get(){return o||t}});var c=J,d=B;_r(null),Ze(null);try{for(var _,f=[];o!==null;){var m=o.assignedSlot||o.parentNode||o.host||null;try{var y=o["__"+n];if(y!==void 0&&!o.disabled)if(er(y)){var[w,...P]=y;w.apply(o,[e,...P])}else y.call(o,e)}catch(I){_?f.push(I):_=I}if(e.cancelBubble||m===r||m===null)break;o=m}if(_){for(let I of f)queueMicrotask(()=>{throw I});throw _}}finally{e.__root=r,delete e.currentTarget,_r(c),Ze(d)}}}function Ta(e){var r=document.createElement("template");return r.innerHTML=e,r.content}function jr(e,r){var t=B;t.nodes_start===null&&(t.nodes_start=e,t.nodes_end=r)}function x(e,r){var t=(r&Qr)!==0,n=(r&kt)!==0,a,o=!e.startsWith("<!>");return()=>{a===void 0&&(a=Ta(o?e:"<!>"+e),t||(a=tt(a)));var s=n?document.importNode(a,!0):a.cloneNode(!0);if(t){var i=tt(s),l=s.lastChild;jr(i,l)}else jr(s,s);return s}}function _t(e=""){{var r=rt(e+"");return jr(r,r),r}}function ie(){var e=document.createDocumentFragment(),r=document.createComment(""),t=rt();return e.append(r,t),jr(r,t),e}function h(e,r){e!==null&&e.before(r)}function Ms(e){return e.endsWith("capture")&&e!=="gotpointercapture"&&e!=="lostpointercapture"}const Ns=["beforeinput","click","change","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"];function Cs(e){return Ns.includes(e)}const js={formnovalidate:"formNoValidate",ismap:"isMap",nomodule:"noModule",playsinline:"playsInline",readonly:"readOnly",defaultvalue:"defaultValue",defaultchecked:"defaultChecked",srcobject:"srcObject"};function Rs(e){return e=e.toLowerCase(),js[e]??e}const Us=["touchstart","touchmove"];function Ls(e){return Us.includes(e)}function ar(e,r){var t=r==null?"":typeof r=="object"?r+"":r;t!==(e.__t??(e.__t=e.nodeValue))&&(e.__t=t,e.nodeValue=t==null?"":t+"")}function Fa(e,r){return Bs(e,r)}const Rr=new Map;function Bs(e,{target:r,anchor:t,props:n={},events:a,context:o,intro:s=!0}){ds();var i=new Set,l=d=>{for(var _=0;_<d.length;_++){var f=d[_];if(!i.has(f)){i.add(f);var m=Ls(f);r.addEventListener(f,ct,{passive:m});var y=Rr.get(f);y===void 0?(document.addEventListener(f,ct,{passive:m}),Rr.set(f,1)):Rr.set(f,y+1)}}};l(ye(Ia)),mn.add(l);var u=void 0,c=ys(()=>{var d=t??r.appendChild(rt());return nr(()=>{if(o){ne({});var _=z;_.c=o}a&&(n.$$events=a),u=e(d,n)||{},o&&ae()}),()=>{var m;for(var _ of i){r.removeEventListener(_,ct);var f=Rr.get(_);--f===0?(document.removeEventListener(_,ct),Rr.delete(_)):Rr.set(_,f)}mn.delete(l),Aa.delete(u),d!==t&&((m=d.parentNode)==null||m.removeChild(d))}});return Aa.set(u,c),u}let Aa=new WeakMap;function U(e,r,t=!1){var n=e,a=null,o=null,s=he,i=t?Or:0,l=!1;const u=(d,_=!0)=>{l=!0,c(_,d)},c=(d,_)=>{s!==(s=d)&&(s?(a?ot(a):_&&(a=nr(()=>_(n))),o&&at(o,()=>{o=null})):(o?ot(o):_&&(o=nr(()=>_(n))),a&&at(a,()=>{a=null})))};Er(()=>{l=!1,r(u),l||c(null,null)},i)}function Oa(e,r){return r}function zs(e,r,t,n){for(var a=[],o=r.length,s=0;s<o;s++)ln(r[s].e,a,!0);var i=o>0&&a.length===0&&t!==null;if(i){var l=t.parentNode;ps(l),l.append(t),n.clear(),fr(e,r[0].prev,r[o-1].next)}ha(a,()=>{for(var u=0;u<o;u++){var c=r[u];i||(n.delete(c.k),fr(e,c.prev,c.next)),We(c.e,!i)}})}function Da(e,r,t,n,a,o=null){var s=e,i={flags:r,items:new Map,first:null},l=(r&Re)!==0;if(l){var u=e;s=u.appendChild(rt())}var c=null,d=!1;Er(()=>{var _=t(),f=er(_)?_:_==null?[]:ye(_),m=f.length;if(!(d&&m===0)){d=m===0;{var y=J;Vs(f,i,s,a,r,(y.f&Ge)!==0,n)}o!==null&&(m===0?c?ot(c):c=nr(()=>o(s)):c!==null&&at(c,()=>{c=null})),t()}})}function Vs(e,r,t,n,a,o,s){var Y,M,se,Pe;var i=(a&qe)!==0,l=(a&(te|le))!==0,u=e.length,c=r.items,d=r.first,_=d,f,m=null,y,w=[],P=[],E,I,b,v;if(i)for(v=0;v<u;v+=1)E=e[v],I=s(E,v),b=c.get(I),b!==void 0&&((Y=b.a)==null||Y.measure(),(y??(y=new Set)).add(b));for(v=0;v<u;v+=1){if(E=e[v],I=s(E,v),b=c.get(I),b===void 0){var T=_?_.e.nodes_start:t;m=Ys(T,r,m,m===null?r.first:m.next,E,I,v,n,a),c.set(I,m),w=[],P=[],_=m.next;continue}if(l&&Hs(b,E,v,a),b.e.f&Ge&&(ot(b.e),i&&((M=b.a)==null||M.unfix(),(y??(y=new Set)).delete(b))),b!==_){if(f!==void 0&&f.has(b)){if(w.length<P.length){var k=P[0],O;m=k.prev;var G=w[0],D=w[w.length-1];for(O=0;O<w.length;O+=1)Ma(w[O],k,t);for(O=0;O<P.length;O+=1)f.delete(P[O]);fr(r,G.prev,D.next),fr(r,m,G),fr(r,D,k),_=k,m=D,v-=1,w=[],P=[]}else f.delete(b),Ma(b,_,t),fr(r,b.prev,b.next),fr(r,b,m===null?r.first:m.next),fr(r,m,b),m=b;continue}for(w=[],P=[];_!==null&&_.k!==I;)(o||!(_.e.f&Ge))&&(f??(f=new Set)).add(_),P.push(_),_=_.next;if(_===null)continue;b=_}w.push(b),m=b,_=b.next}if(_!==null||f!==void 0){for(var oe=f===void 0?[]:ye(f);_!==null;)(o||!(_.e.f&Ge))&&oe.push(_),_=_.next;var _e=oe.length;if(_e>0){var we=a&Re&&u===0?t:null;if(i){for(v=0;v<_e;v+=1)(se=oe[v].a)==null||se.measure();for(v=0;v<_e;v+=1)(Pe=oe[v].a)==null||Pe.fix()}zs(r,oe,we,c)}}i&&st(()=>{var sr;if(y!==void 0)for(b of y)(sr=b.a)==null||sr.apply()}),B.first=r.first&&r.first.e,B.last=m&&m.e}function Hs(e,r,t,n){n&te&&rn(e.v,r),n&le?rn(e.i,t):e.i=t}function Ys(e,r,t,n,a,o,s,i,l){var u=(l&te)!==0,c=(l&Pt)===0,d=u?c?xt(a):Me(a):a,_=l&le?Me(s):s,f={i:_,v:d,k:o,a:null,e:null,prev:t,next:n};try{return f.e=nr(()=>i(e,d,_),na),f.e.prev=t&&t.e,f.e.next=n&&n.e,t===null?r.first=f:(t.next=f,t.e.next=f.e),n!==null&&(n.prev=f,n.e.prev=f.e),f}finally{}}function Ma(e,r,t){for(var n=e.next?e.next.e.nodes_start:t,a=r?r.e.nodes_start:t,o=e.e.nodes_start;o!==n;){var s=St(o);a.before(o),o=s}}function fr(e,r,t){r===null?e.first=t:(r.next=t,r.e.next=t&&t.e),t!==null&&(t.prev=r,t.e.prev=r&&r.e)}function Ur(e,r,t,n,a){var o=e,s="",i;Er(()=>{s!==(s=r()??"")&&(i!==void 0&&(We(i),i=void 0),s!==""&&(i=nr(()=>{var l=s+"",u=Ta(l);jr(tt(u),u.lastChild),o.before(u)})))})}function pe(e,r,t,n,a){var i;var o=(i=r.$$slots)==null?void 0:i[t],s=!1;o===!0&&(o=r[t==="default"?"children":t],s=!0),o===void 0||o(e,s?()=>n:n)}function yn(e,r,...t){var n=e,a=Ye,o;Er(()=>{a!==(a=r())&&(o&&(We(o),o=null),o=nr(()=>a(n,...t)))},Or)}function Gs(e,r,t){var n=e,a,o;Er(()=>{a!==(a=r())&&(o&&(at(o),o=null),a&&(o=nr(()=>t(n,a))))},Or)}function Na(e,r,t,n,a,o){var s,i,l=null,u=e,c;Er(()=>{const d=r()||null;var _=d==="svg"?Jr:null;d!==s&&(c&&(d===null?at(c,()=>{c=null,i=null}):d===i?ot(c):We(c)),d&&d!==i&&(c=nr(()=>{if(l=_?document.createElementNS(_,d):document.createElement(d),jr(l,l),n){var f=l.appendChild(rt());n(l,f)}B.nodes_end=l,u.before(l)})),s=d,s&&(i=s))},Or)}function H(e,r){st(()=>{var t=e.getRootNode(),n=t.host?t:t.head??t.ownerDocument.head;if(!n.querySelector("#"+r.hash)){const a=document.createElement("style");a.id=r.hash,a.textContent=r.code,n.appendChild(a)}})}function Ws(e,r){r?e.hasAttribute("selected")||e.setAttribute("selected",""):e.removeAttribute("selected")}function K(e,r,t,n){var a=e.__attributes??(e.__attributes={});a[r]!==(a[r]=t)&&(r==="style"&&"__styles"in e&&(e.__styles={}),r==="loading"&&(e[es]=t),t==null?e.removeAttribute(r):typeof t!="string"&&Ra(e).includes(r)?e[r]=t:e.setAttribute(r,t))}function Ca(e,r,t,n,a=!1,o=!1,s=!1){var i=r||{},l=e.tagName==="OPTION";for(var u in r)u in t||(t[u]=null);n!==void 0&&(t.class=t.class?t.class+" "+n:n);var c=Ra(e),d=e.__attributes??(e.__attributes={});for(const P in t){let E=t[P];if(l&&P==="value"&&E==null){e.value=e.__value="",i[P]=E;continue}var _=i[P];if(E!==_){i[P]=E;var f=P[0]+P[1];if(f!=="$$"){if(f==="on"){const I={},b="$$"+P;let v=P.slice(2);var m=Cs(v);if(Ms(v)&&(v=v.slice(0,-7),I.capture=!0),!m&&_){if(E!=null)continue;e.removeEventListener(v,i[b],I),i[b]=null}if(E!=null)if(m)e[`__${v}`]=E,hn([v]);else{let T=function(k){i[P].call(this,k)};i[b]=qa(v,e,T,I)}else m&&(e[`__${v}`]=void 0)}else if(P==="style"&&E!=null)e.style.cssText=E+"";else if(P==="autofocus")As(e,!!E);else if(P==="__value"||P==="value"&&E!=null)e.value=e[P]=e.__value=E;else if(P==="selected"&&l)Ws(e,E);else{var y=P;a||(y=Rs(y));var w=y==="defaultValue"||y==="defaultChecked";if(E==null&&!o&&!w)if(d[P]=null,y==="value"||y==="checked"){let I=e;if(y==="value"){let b=I.defaultValue;I.removeAttribute(y),I.defaultValue=b}else{let b=I.defaultChecked;I.removeAttribute(y),I.defaultChecked=b}}else e.removeAttribute(P);else w||c.includes(y)&&(o||typeof E!="string")?e[y]=E:typeof E!="function"&&K(e,y,E)}P==="style"&&"__styles"in e&&(e.__styles={})}}}return i}var ja=new Map;function Ra(e){var r=ja.get(e.nodeName);if(r)return r;ja.set(e.nodeName,r=[]);for(var t,n=e,a=Element.prototype;a!==n;){t=Qn(n);for(var o in t)t[o].set&&r.push(o);n=Jt(n)}return r}function gn(e,r){var t=e.__className,n=Zs(r);(t!==n||na)&&(r==null?e.removeAttribute("class"):e.className=n,e.__className=n)}function Zs(e){return e??""}function Qs(e,r,t){if(t){if(e.classList.contains(r))return;e.classList.add(r)}else{if(!e.classList.contains(r))return;e.classList.remove(r)}}function Js(e,r,t=r){var n=At();Ds(e,"input",a=>{var o=a?e.defaultValue:e.value;if(o=vn(e)?bn(o):o,t(o),n&&o!==(o=r())){var s=e.selectionStart,i=e.selectionEnd;e.value=o??"",i!==null&&(e.selectionStart=s,e.selectionEnd=Math.min(i,e.value.length))}}),pr(r)==null&&e.value&&t(vn(e)?bn(e.value):e.value),nt(()=>{var a=r();vn(e)&&a===bn(e.value)||e.type==="date"&&!a&&!e.value||a!==e.value&&(e.value=a??"")})}function vn(e){var r=e.type;return r==="number"||r==="range"}function bn(e){return e===""?null:+e}function Nt(e,r,t){var n=rr(e,r);n&&n.set&&(e[r]=t,nn(()=>{e[r]=null}))}function Ua(e,r){return e===r||(e==null?void 0:e[cr])===r}function Ks(e={},r,t,n){return on(()=>{var a,o;return nt(()=>{a=o,o=[],pr(()=>{e!==t(...o)&&(r(e,...o),a&&Ua(t(...a),e)&&r(null,...a))})}),()=>{st(()=>{o&&Ua(t(...o),e)&&r(null,...o)})}}),e}function La(e){return function(...r){var t=r[0];return t.preventDefault(),e==null?void 0:e.apply(this,r)}}function ze(e=!1){const r=z,t=r.l.u;if(!t)return;let n=()=>be(r.s);if(e){let a=0,o={};const s=ee(()=>{let i=!1;const l=r.s;for(const u in l)l[u]!==o[u]&&(o[u]=l[u],i=!0);return i&&a++,a});n=()=>p(s)}t.b.length&&hs(()=>{Ba(r,n),Kt(t.b)}),an(()=>{const a=pr(()=>t.m.map(Jo));return()=>{for(const o of a)typeof o=="function"&&o()}}),t.a.length&&an(()=>{Ba(r,n),Kt(t.a)})}function Ba(e,r){if(e.l.s)for(const t of e.l.s)p(t);r()}function za(e,r){var o;var t=(o=e.$$events)==null?void 0:o[r.type],n=er(t)?t.slice():t==null?[]:[t];for(var a of n)a.call(this,r)}function Ct(e){z===null&&It(),R&&z.l!==null?Va(z).m.push(e):an(()=>{const r=pr(e);if(typeof r=="function")return r})}function Xs(e,r,{bubbles:t=!1,cancelable:n=!1}={}){return new CustomEvent(e,{detail:r,bubbles:t,cancelable:n})}function $s(){const e=z;return e===null&&It(),(r,t,n)=>{var o;const a=(o=e.s.$$events)==null?void 0:o[r];if(a){const s=er(a)?a.slice():[a],i=Xs(r,t,n);for(const l of s)l.call(e.x,i);return!i.defaultPrevented}return!0}}function ei(e){z===null&&It(),z.l===null&&os(),Va(z).b.push(e)}function Va(e){var r=e.l;return r.u??(r.u={a:[],b:[],m:[]})}function ri(e,r,t){if(e==null)return r(void 0),Ye;const n=pr(()=>e.subscribe(r,t));return n.unsubscribe?()=>n.unsubscribe():n}let jt=!1;function Ha(e,r,t){const n=t[r]??(t[r]={store:null,source:xt(void 0),unsubscribe:Ye});if(n.store!==e)if(n.unsubscribe(),n.store=e??null,e==null)n.source.v=void 0,n.unsubscribe=Ye;else{var a=!0;n.unsubscribe=ri(e,o=>{a?n.source.v=o:A(n.source,o)}),a=!1}return p(n.source)}function Ya(){const e={};return nn(()=>{for(var r in e)e[r].unsubscribe()}),e}function ti(e){var r=jt;try{return jt=!1,[e(),jt]}finally{jt=r}}const ni={get(e,r){if(!e.exclude.includes(r))return e.props[r]},set(e,r){return!1},getOwnPropertyDescriptor(e,r){if(!e.exclude.includes(r)&&r in e.props)return{enumerable:!0,configurable:!0,value:e.props[r]}},has(e,r){return e.exclude.includes(r)?!1:r in e.props},ownKeys(e){return Reflect.ownKeys(e.props).filter(r=>!e.exclude.includes(r))}};function wn(e,r,t){return new Proxy({props:e,exclude:r},ni)}const ai={get(e,r){let t=e.props.length;for(;t--;){let n=e.props[t];if(Xr(n)&&(n=n()),typeof n=="object"&&n!==null&&r in n)return n[r]}},set(e,r,t){let n=e.props.length;for(;n--;){let a=e.props[n];Xr(a)&&(a=a());const o=rr(a,r);if(o&&o.set)return o.set(t),!0}return!1},getOwnPropertyDescriptor(e,r){let t=e.props.length;for(;t--;){let n=e.props[t];if(Xr(n)&&(n=n()),typeof n=="object"&&n!==null&&r in n){const a=rr(n,r);return a&&!a.configurable&&(a.configurable=!0),a}}},has(e,r){if(r===cr||r===Xn)return!1;for(let t of e.props)if(Xr(t)&&(t=t()),t!=null&&r in t)return!0;return!1},ownKeys(e){const r=[];for(let t of e.props){Xr(t)&&(t=t());for(const n in t)r.includes(n)||r.push(n)}return r}};function dt(...e){return new Proxy({props:e},ai)}function Ga(e){for(var r=B,t=B;r!==null&&!(r.f&(Le|et));)r=r.parent;try{return Ze(r),e()}finally{Ze(t)}}function g(e,r,t,n){var k;var a=(t&wr)!==0,o=!R||(t&Wr)!==0,s=(t&Zr)!==0,i=(t&Ce)!==0,l=!1,u;s?[u,l]=ti(()=>e[r]):u=e[r];var c=cr in e||Xn in e,d=((k=rr(e,r))==null?void 0:k.set)??(c&&s&&r in e?O=>e[r]=O:void 0),_=n,f=!0,m=!1,y=()=>(m=!0,f&&(f=!1,i?_=pr(n):_=n),_);u===void 0&&n!==void 0&&(d&&o&&ss(),u=y(),d&&d(u));var w;if(o)w=()=>{var O=e[r];return O===void 0?y():(f=!0,m=!1,O)};else{var P=Ga(()=>(a?ee:re)(()=>e[r]));P.f|=Xo,w=()=>{var O=p(P);return O!==void 0&&(_=void 0),O===void 0?_:O}}if(!(t&W))return w;if(d){var E=e.$$legacy;return function(O,G){return arguments.length>0?((!o||!G||E||l)&&d(G?w():O),O):w()}}var I=!1,b=!1,v=xt(u),T=Ga(()=>ee(()=>{var O=w(),G=p(v);return I?(I=!1,b=!0,G):(b=!1,v.v=O)}));return a||(T.equals=en),function(O,G){if(arguments.length>0){const D=G?p(T):o&&s?tr(O):O;return T.equals(D)||(I=!0,A(v,D),m&&_!==void 0&&(_=D),pr(()=>p(T))),O}return p(T)}}const oi={hash:"svelte-1bzqb13",code:".rcb-modal-section.svelte-1bzqb13 {padding:8px 0px;display:flex;}section.rcb-modal-section.svelte-1bzqb13 {flex-grow:1;}.rcb-modal-section.svelte-1bzqb13:last-of-type {padding:0;}"};function Lr(e,r){H(e,oi);let t=g(r,"as",8,"section");var n=ie(),a=j(n);Na(a,t,!1,(o,s)=>{Ca(o,null,{class:"rcb-modal-section"},"svelte-1bzqb13",o.namespaceURI===Jr,o.nodeName.includes("-"));var i=ie(),l=j(i);pe(l,r,"default",{}),h(s,i)}),h(e,n)}const Sr="rcb-ui-translator",or="en",si={"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.unknownFrequency":"unknown","periods.weekFrequencyPlural":"every {{amount}} weeks","periods.monthFrequencyPlural":"every {{amount}} months","periods.yearFrequencyPlural":"every {{amount}} years","periods.dayFrequencyPlural":"every {{amount}} days","state_present_offer.product_title":"{{productTitle}}","state_present_offer.product_description":"{{productDescription}}","state_present_offer.product_price":"{{productPrice}}","state_present_offer.free_trial_duration":"{{trialDuration}} free trial","state_present_offer.price_after_free_trial":"{{productPrice}} after end of trial","state_present_offer.renewal_frequency":"Renews {{frequency}}","state_present_offer.continues_until_cancelled":"Continues until cancelled","state_present_offer.cancel_anytime":"Cancel anytime","state_needs_auth_info.email_step_title":"Billing email address","state_needs_auth_info.email_input_label":"Email","state_needs_auth_info.email_input_placeholder":"john@appleseed.com","state_needs_auth_info.button_continue":"Continue","state_needs_payment_info.payment_step_title":"Secure checkout","state_needs_payment_info.button_pay":"Pay","state_needs_payment_info.button_start_trial":"Start Trial","state_success.purchase_successful":"Purchase successful","state_success.subscription_now_active":"Your subscription is now active","state_success.button_close":"Close","state_error.if_error_persists":"If the error persists, please contact ","state_error.error_title_already_subscribed":"Already Subscribed","state_error.error_title_already_purchased":"Already Purchased","state_error.error_title_other_errors":"Something went wrong","state_error.error_message_already_subscribed":"You are already subscribed to this product.","state_error.error_message_already_purchased":"You have already purchased this product.","state_error.error_message_missing_email_error":"Email is required to complete the purchase.","state_error.error_message_network_error":"Network error. Please check your internet connection.","state_error.error_message_error_charging_payment":"Payment failed.","state_error.error_message_error_setting_up_purchase":"Purchase not started due to an error. Error code: {{errorCode}}","state_error.error_message_unknown_error":"An unknown error occurred. Error code: {{errorCode}}","state_error.button_try_again":"Try again","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}% off","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})"},ii={"periods.week":"{{amount}} semana","periods.month":"{{amount}} mes","periods.year":"{{amount}} año","periods.day":"{{amount}} día","periods.weekShort":"{{amount}}wk","periods.monthShort":"{{amount}}mo","periods.yearShort":"{{amount}}yr","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":"cada semana","periods.monthFrequency":"cada mes","periods.yearFrequency":"cada año","periods.dayFrequency":"cada 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","state_present_offer.product_title":"{{productTitle}}","state_present_offer.product_description":"{{productDescription}}","state_present_offer.product_price":"{{productPrice}}","state_present_offer.free_trial_duration":"Prueba gratuita de {{trialDuration}}","state_present_offer.price_after_free_trial":"{{productPrice}} tras el periodo de prueba","state_present_offer.renewal_frequency":"Se renueva {{frequency}}","state_present_offer.continues_until_cancelled":"Continúa hasta que se cancele","state_present_offer.cancel_anytime":"Cancela en cualquier momento","state_needs_auth_info.email_step_title":"Email de facturación","state_needs_auth_info.email_input_label":"Email","state_needs_auth_info.email_input_placeholder":"john@appleseed.com","state_needs_auth_info.button_continue":"Continuar","state_needs_payment_info.payment_step_title":"Pago seguro","state_needs_payment_info.button_pay":"Pagar","state_needs_payment_info.button_start_trial":"Comenzar la prueba","state_success.purchase_successful":"Compra completada","state_success.subscription_now_active":"Tu suscripción ya está activa","state_success.button_close":"Cerrar","state_error.if_error_persists":"Si el problema persiste, por favor contáctanos en ","state_error.error_title_already_subscribed":"Suscripción existente","state_error.error_title_already_purchased":"Producto ya adquirido","state_error.error_title_other_errors":"Algo salió mal","state_error.error_message_already_subscribed":"Ya te has suscrito a este producto.","state_error.error_message_already_purchased":"Ya has comprado este producto.","state_error.error_message_missing_email_error":"Se requiere un email para completar la compra.","state_error.error_message_network_error":"Error de red. Por favor, verifica tu conexión a internet.","state_error.error_message_error_charging_payment":"El pago no se completó.","state_error.error_message_error_setting_up_purchase":"La compra no se inició debido a un error. Código de error: {{errorCode}}","state_error.error_message_unknown_error":"Ocurrió un error desconocido. Código de error: {{errorCode}}","state_error.button_try_again":"Intentar de nuevo","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}% de descuento","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})"},li={"periods.week":"{{amount}} settimana","periods.month":"{{amount}} mese","periods.year":"{{amount}} anno","periods.day":"{{amount}} giorno","periods.weekShort":"{{amount}} settim.","periods.monthShort":"{{amount}} mese","periods.yearShort":"{{amount}} anno","periods.dayShort":"{{amount}} giorno","periods.lifetime":"a vita","periods.weekPlural":"{{amount}} settimane","periods.monthPlural":"{{amount}} mesi","periods.yearPlural":"{{amount}} anni","periods.dayPlural":"{{amount}} giorni","periods.weekFrequency":"ogni settimana","periods.monthFrequency":"ogni mese","periods.yearFrequency":"ogni anno","periods.dayFrequency":"ogni giorno","periods.unknownFrequency":"sconosciuta","periods.weekFrequencyPlural":"ogni {{amount}} settimane","periods.monthFrequencyPlural":"ogni {{amount}} mesi","periods.yearFrequencyPlural":"ogni {{amount}} anni","periods.dayFrequencyPlural":"ogni {{amount}} giorni","state_present_offer.product_title":"{{productTitle}}","state_present_offer.product_description":"{{productDescription}}","state_present_offer.product_price":"{{productPrice}}","state_present_offer.free_trial_duration":"{{trialDuration}} prova gratuita","state_present_offer.price_after_free_trial":"{{productPrice}} dopo la fine della prova","state_present_offer.renewal_frequency":"Si rinnova {{frequency}}","state_present_offer.continues_until_cancelled":"Continua fino alla cancellazione","state_present_offer.cancel_anytime":"Cancella in qualsiasi momento","state_needs_auth_info.email_step_title":"Indirizzo email per la fatturazione","state_needs_auth_info.email_input_label":"Email","state_needs_auth_info.email_input_placeholder":"john@appleseed.com","state_needs_auth_info.button_continue":"Continua","state_needs_payment_info.payment_step_title":"Pagamento sicuro","state_needs_payment_info.button_pay":"Paga","state_needs_payment_info.button_start_trial":"Inizia la prova","state_success.purchase_successful":"Acquisto riuscito","state_success.subscription_now_active":"Il tuo abbonamento è ora attivo","state_success.button_close":"Chiudi","state_error.if_error_persists":"Se l'errore persiste, contatta ","state_error.error_title_already_subscribed":"Già abbonato","state_error.error_title_already_purchased":"Già acquistato","state_error.error_title_other_errors":"Qualcosa è andato storto","state_error.error_message_already_subscribed":"Sei già abbonato a questo prodotto.","state_error.error_message_already_purchased":"Hai già acquistato questo prodotto.","state_error.error_message_missing_email_error":"L'email è necessaria per completare l'acquisto.","state_error.error_message_network_error":"Errore di rete. Controlla la tua connessione internet.","state_error.error_message_error_charging_payment":"Pagamento fallito.","state_error.error_message_error_setting_up_purchase":"Acquisto non avviato a causa di un errore. Codice errore: {{errorCode}}","state_error.error_message_unknown_error":"Si è verificato un errore sconosciuto. Codice errore: {{errorCode}}","state_error.button_try_again":"Riprova","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}% di sconto","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})"},ui={"periods.unknownFrequency":"غير معروف","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.weekFrequencyPlural":"كل {{amount}} أسابيع","periods.monthFrequencyPlural":"كل {{amount}} أشهر","periods.yearFrequencyPlural":"كل {{amount}} سنوات","periods.dayFrequencyPlural":"كل {{amount}} أيام","state_present_offer.product_title":"{{productTitle}}","state_present_offer.product_description":"{{productDescription}}","state_present_offer.product_price":"{{productPrice}}","state_present_offer.free_trial_duration":"{{trialDuration}} تجربة مجانية","state_present_offer.price_after_free_trial":"{{productPrice}} بعد نهاية التجربة","state_present_offer.renewal_frequency":"تجدد {{frequency}}","state_present_offer.continues_until_cancelled":"تستمر حتى الإلغاء","state_present_offer.cancel_anytime":"الإلغاء في أي وقت","state_needs_auth_info.email_step_title":"عنوان البريد الإلكتروني للفوترة","state_needs_auth_info.email_input_label":"البريد الإلكتروني","state_needs_auth_info.email_input_placeholder":"john@appleseed.com","state_needs_auth_info.button_continue":"متابعة","state_needs_payment_info.payment_step_title":"الدفع الآمن","state_needs_payment_info.button_pay":"دفع","state_needs_payment_info.button_start_trial":"ابدأ التجربة","state_success.purchase_successful":"تم الشراء بنجاح","state_success.subscription_now_active":"اشتراكك نشط الآن","state_success.button_close":"إغلاق","state_error.if_error_persists":"إذا استمرت المشكلة، يرجى الاتصال بـ ","state_error.error_title_already_subscribed":"مشترك بالفعل","state_error.error_title_already_purchased":"تم الشراء بالفعل","state_error.error_title_other_errors":"حدث خطأ ما","state_error.error_message_already_subscribed":"أنت مشترك بالفعل في هذا المنتج.","state_error.error_message_already_purchased":"لقد قمت بالفعل بشراء هذا المنتج.","state_error.error_message_missing_email_error":"البريد الإلكتروني مطلوب لإكمال عملية الشراء.","state_error.error_message_network_error":"خطأ في الشبكة. يرجى التحقق من اتصال الإنترنت.","state_error.error_message_error_charging_payment":"فشل الدفع.","state_error.error_message_error_setting_up_purchase":"لم يتم بدء عملية الشراء بسبب خطأ. رمز الخطأ: {{errorCode}}","state_error.error_message_unknown_error":"حدث خطأ غير معروف. رمز الخطأ: {{errorCode}}","state_error.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}})"},ci={"periods.unknownFrequency":"desconegut","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}} dia","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.weekFrequencyPlural":"cada {{amount}} setmanes","periods.monthFrequencyPlural":"cada {{amount}} mesos","periods.yearFrequencyPlural":"cada {{amount}} anys","periods.dayFrequencyPlural":"cada {{amount}} dies","state_present_offer.product_title":"{{productTitle}}","state_present_offer.product_description":"{{productDescription}}","state_present_offer.product_price":"{{productPrice}}","state_present_offer.free_trial_duration":"{{trialDuration}} prova gratuïta","state_present_offer.price_after_free_trial":"{{productPrice}} després de la prova","state_present_offer.renewal_frequency":"Es renova {{frequency}}","state_present_offer.continues_until_cancelled":"Continua fins a la cancel·lació","state_present_offer.cancel_anytime":"Cancel·la en qualsevol moment","state_needs_auth_info.email_step_title":"Adreça de correu electrònic de facturació","state_needs_auth_info.email_input_label":"Correu electrònic","state_needs_auth_info.email_input_placeholder":"john@appleseed.com","state_needs_auth_info.button_continue":"Continua","state_needs_payment_info.payment_step_title":"Pagament segur","state_needs_payment_info.button_pay":"Paga","state_needs_payment_info.button_start_trial":"Comença la prova","state_success.purchase_successful":"Compra realitzada amb èxit","state_success.subscription_now_active":"La teva subscripció ja està activa","state_success.button_close":"Tanca","state_error.if_error_persists":"Si l'error persisteix, contacta amb ","state_error.error_title_already_subscribed":"Ja subscrit","state_error.error_title_already_purchased":"Ja comprat","state_error.error_title_other_errors":"Alguna cosa ha fallat","state_error.error_message_already_subscribed":"Ja estàs subscrit a aquest producte.","state_error.error_message_already_purchased":"Ja has comprat aquest producte.","state_error.error_message_missing_email_error":"Es necessita el correu electrònic per completar la compra.","state_error.error_message_network_error":"Error de xarxa. Comprova la teva connexió a Internet.","state_error.error_message_error_charging_payment":"El pagament ha fallat.","state_error.error_message_error_setting_up_purchase":"No s'ha pogut iniciar la compra a causa d'un error. Codi d'error: {{errorCode}}","state_error.error_message_unknown_error":"S'ha produït un error desconegut. Codi d'error: {{errorCode}}","state_error.button_try_again":"Torna-ho a provar","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}% de descompte","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}} ({{formattedPricePerMonth}}/{{monthPeriod}})"},_i={"periods.unknownFrequency":"未知","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.weekFrequencyPlural":"每 {{amount}} 周","periods.monthFrequencyPlural":"每 {{amount}} 月","periods.yearFrequencyPlural":"每 {{amount}} 年","periods.dayFrequencyPlural":"每 {{amount}} 天","state_present_offer.product_title":"{{productTitle}}","state_present_offer.product_description":"{{productDescription}}","state_present_offer.product_price":"{{productPrice}}","state_present_offer.free_trial_duration":"{{trialDuration}} 免费试用","state_present_offer.price_after_free_trial":"{{productPrice}} 试用结束后","state_present_offer.renewal_frequency":"续订 {{frequency}}","state_present_offer.continues_until_cancelled":"持续至取消","state_present_offer.cancel_anytime":"随时取消","state_needs_auth_info.email_step_title":"账单电子邮件地址","state_needs_auth_info.email_input_label":"电子邮件","state_needs_auth_info.email_input_placeholder":"john@appleseed.com","state_needs_auth_info.button_continue":"继续","state_needs_payment_info.payment_step_title":"安全结账","state_needs_payment_info.button_pay":"支付","state_needs_payment_info.button_start_trial":"开始试用","state_success.purchase_successful":"购买成功","state_success.subscription_now_active":"您的订阅现已激活","state_success.button_close":"关闭","state_error.if_error_persists":"如果错误仍然存在,请联系 ","state_error.error_title_already_subscribed":"已订阅","state_error.error_title_already_purchased":"已购买","state_error.error_title_other_errors":"出了点问题","state_error.error_message_already_subscribed":"您已订阅此产品。","state_error.error_message_already_purchased":"您已购买此产品。","state_error.error_message_missing_email_error":"需要电子邮件才能完成购买。","state_error.error_message_network_error":"网络错误。请检查您的互联网连接。","state_error.error_message_error_charging_payment":"付款失败。","state_error.error_message_error_setting_up_purchase":"由于错误,购买未开始。错误代码:{{errorCode}}","state_error.error_message_unknown_error":"发生未知错误。错误代码:{{errorCode}}","state_error.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}})"},di={"periods.unknownFrequency":"未知","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.weekFrequencyPlural":"每 {{amount}} 週","periods.monthFrequencyPlural":"每 {{amount}} 月","periods.yearFrequencyPlural":"每 {{amount}} 年","periods.dayFrequencyPlural":"每 {{amount}} 天","state_present_offer.product_title":"{{productTitle}}","state_present_offer.product_description":"{{productDescription}}","state_present_offer.product_price":"{{productPrice}}","state_present_offer.free_trial_duration":"{{trialDuration}} 免費試用","state_present_offer.price_after_free_trial":"{{productPrice}} 試用結束後","state_present_offer.renewal_frequency":"續訂 {{frequency}}","state_present_offer.continues_until_cancelled":"持續至取消","state_present_offer.cancel_anytime":"隨時取消","state_needs_auth_info.email_step_title":"帳單電子郵件地址","state_needs_auth_info.email_input_label":"電子郵件","state_needs_auth_info.email_input_placeholder":"john@appleseed.com","state_needs_auth_info.button_continue":"繼續","state_needs_payment_info.payment_step_title":"安全結帳","state_needs_payment_info.button_pay":"支付","state_needs_payment_info.button_start_trial":"開始試用","state_success.purchase_successful":"購買成功","state_success.subscription_now_active":"您的訂閱現已啟用","state_success.button_close":"關閉","state_error.if_error_persists":"如果錯誤仍然存在,請聯繫 ","state_error.error_title_already_subscribed":"已訂閱","state_error.error_title_already_purchased":"已購買","state_error.error_title_other_errors":"出了一些問題","state_error.error_message_already_subscribed":"您已訂閱此產品。","state_error.error_message_already_purchased":"您已購買此產品。","state_error.error_message_missing_email_error":"需要電子郵件才能完成購買。","state_error.error_message_network_error":"網絡錯誤。請檢查您的互聯網連接。","state_error.error_message_error_charging_payment":"付款失敗。","state_error.error_message_error_setting_up_purchase":"由於錯誤,購買未開始。錯誤代碼:{{errorCode}}","state_error.error_message_unknown_error":"發生未知錯誤。錯誤代碼:{{errorCode}}","state_error.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}})"},pi={"periods.unknownFrequency":"nepoznato","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}} god.","periods.dayShort":"{{amount}} dan","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.weekFrequencyPlural":"svakih {{amount}} tjedana","periods.monthFrequencyPlural":"svakih {{amount}} mjeseci","periods.yearFrequencyPlural":"svakih {{amount}} godina","periods.dayFrequencyPlural":"svakih {{amount}} dana","state_present_offer.product_title":"{{productTitle}}","state_present_offer.product_description":"{{productDescription}}","state_present_offer.product_price":"{{productPrice}}","state_present_offer.free_trial_duration":"{{trialDuration}} besplatno probno razdoblje","state_present_offer.price_after_free_trial":"{{productPrice}} nakon završetka probnog razdoblja","state_present_offer.renewal_frequency":"Obnavlja se {{frequency}}","state_present_offer.continues_until_cancelled":"Traje dok se ne otkaže","state_present_offer.cancel_anytime":"Otkaži bilo kada","state_needs_auth_info.email_step_title":"Adresa e-pošte za naplatu","state_needs_auth_info.email_input_label":"E-pošta","state_needs_auth_info.email_input_placeholder":"john@appleseed.com","state_needs_auth_info.button_continue":"Nastavi","state_needs_payment_info.payment_step_title":"Sigurna naplata","state_needs_payment_info.button_pay":"Plati","state_needs_payment_info.button_start_trial":"Započni probu","state_success.purchase_successful":"Kupnja uspješna","state_success.subscription_now_active":"Vaša pretplata je sada aktivna","state_success.button_close":"Zatvori","state_error.if_error_persists":"Ako pogreška i dalje traje, kontaktirajte ","state_error.error_title_already_subscribed":"Već pretplaćeno","state_error.error_title_already_purchased":"Već kupljeno","state_error.error_title_other_errors":"Nešto je pošlo po krivu","state_error.error_message_already_subscribed":"Već ste pretplaćeni na ovaj proizvod.","state_error.error_message_already_purchased":"Već ste kupili ovaj proizvod.","state_error.error_message_missing_email_error":"E-pošta je potrebna za dovršetak kupnje.","state_error.error_message_network_error":"Greška u mreži. Provjerite internetsku vezu.","state_error.error_message_error_charging_payment":"Plaćanje nije uspjelo.","state_error.error_message_error_setting_up_purchase":"Kupnja nije započeta zbog greške. Kôd greške: {{errorCode}}","state_error.error_message_unknown_error":"Došlo je do nepoznate greške. Kôd greške: {{errorCode}}","state_error.button_try_again":"Pokušaj ponovno","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}% popust","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}} ({{formattedPricePerMonth}}/{{monthPeriod}})"},fi={"periods.unknownFrequency":"neznámý","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}} den","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.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ů","state_present_offer.product_title":"{{productTitle}}","state_present_offer.product_description":"{{productDescription}}","state_present_offer.product_price":"{{productPrice}}","state_present_offer.free_trial_duration":"{{trialDuration}} bezplatná zkušební verze","state_present_offer.price_after_free_trial":"{{productPrice}} po skončení zkušební verze","state_present_offer.renewal_frequency":"Obnovuje se {{frequency}}","state_present_offer.continues_until_cancelled":"Pokračuje, dokud není zrušeno","state_present_offer.cancel_anytime":"Zrušit kdykoliv","state_needs_auth_info.email_step_title":"Fakturační e-mailová adresa","state_needs_auth_info.email_input_label":"E-mail","state_needs_auth_info.email_input_placeholder":"john@appleseed.com","state_needs_auth_info.button_continue":"Pokračovat","state_needs_payment_info.payment_step_title":"Bezpečná platba","state_needs_payment_info.button_pay":"Zaplatit","state_needs_payment_info.button_start_trial":"Zahájit zkušební verzi","state_success.purchase_successful":"Nákup úspěšný","state_success.subscription_now_active":"Vaše předplatné je nyní aktivní","state_success.button_close":"Zavřít","state_error.if_error_persists":"Pokud chyba přetrvává, kontaktujte ","state_error.error_title_already_subscribed":"Již přihlášeno k odběru","state_error.error_title_already_purchased":"Již zakoupeno","state_error.error_title_other_errors":"Něco se pokazilo","state_error.error_message_already_subscribed":"Již jste přihlášeni k odběru tohoto produktu.","state_error.error_message_already_purchased":"Tento produkt jste již zakoupili.","state_error.error_message_missing_email_error":"Pro dokončení nákupu je vyžadován e-mail.","state_error.error_message_network_error":"Chyba sítě. Zkontrolujte své internetové připojení.","state_error.error_message_error_charging_payment":"Platba nebyla úspěšná.","state_error.error_message_error_setting_up_purchase":"Nákup nebyl zahájen kvůli chybě. Kód chyby: {{errorCode}}","state_error.error_message_unknown_error":"Došlo k neznámé chybě. Kód chyby: {{errorCode}}","state_error.button_try_again":"Zkusit znovu","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}% sleva","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}} ({{formattedPricePerMonth}}/{{monthPeriod}})"},mi={"periods.unknownFrequency":"ukendt","periods.week":"{{amount}} uge","periods.month":"{{amount}} måned","periods.year":"{{amount}} år","periods.day":"{{amount}} dag","periods.weekShort":"{{amount}} uge","periods.monthShort":"{{amount}} md.","periods.yearShort":"{{amount}} år","periods.dayShort":"{{amount}} dag","periods.lifetime":"livstid","periods.weekPlural":"{{amount}} uger","periods.monthPlural":"{{amount}} måneder","periods.yearPlural":"{{amount}} år","periods.dayPlural":"{{amount}} dage","periods.weekFrequency":"ugentlig","periods.monthFrequency":"månedlig","periods.yearFrequency":"årlig","periods.dayFrequency":"daglig","periods.weekFrequencyPlural":"hver {{amount}} uge","periods.monthFrequencyPlural":"hver {{amount}} måned","periods.yearFrequencyPlural":"hvert {{amount}} år","periods.dayFrequencyPlural":"hver {{amount}} dag","state_present_offer.product_title":"{{productTitle}}","state_present_offer.product_description":"{{productDescription}}","state_present_offer.product_price":"{{productPrice}}","state_present_offer.free_trial_duration":"{{trialDuration}} gratis prøveperiode","state_present_offer.price_after_free_trial":"{{productPrice}} efter prøveperioden","state_present_offer.renewal_frequency":"Fornyes {{frequency}}","state_present_offer.continues_until_cancelled":"Fortsætter indtil annulleret","state_present_offer.cancel_anytime":"Annuller når som helst","state_needs_auth_info.email_step_title":"Fakturerings-e-mailadresse","state_needs_auth_info.email_input_label":"E-mail","state_needs_auth_info.email_input_placeholder":"john@appleseed.com","state_needs_auth_info.button_continue":"Fortsæt","state_needs_payment_info.payment_step_title":"Sikker betaling","state_needs_payment_info.button_pay":"Betal","state_needs_payment_info.button_start_trial":"Start prøveperiode","state_success.purchase_successful":"Købet lykkedes","state_success.subscription_now_active":"Dit abonnement er nu aktivt","state_success.button_close":"Luk","state_error.if_error_persists":"Hvis fejlen fortsætter, kontakt ","state_error.error_title_already_subscribed":"Allerede abonneret","state_error.error_title_already_purchased":"Allerede købt","state_error.error_title_other_errors":"Noget gik galt","state_error.error_message_already_subscribed":"Du er allerede abonneret på dette produkt.","state_error.error_message_already_purchased":"Du har allerede købt dette produkt.","state_error.error_message_missing_email_error":"E-mail er påkrævet for at fuldføre købet.","state_error.error_message_network_error":"Netværksfejl. Tjek din internetforbindelse.","state_error.error_message_error_charging_payment":"Betalingen mislykkedes.","state_error.error_message_error_setting_up_purchase":"Købet blev ikke startet på grund af en fejl. Fejlkode: {{errorCode}}","state_error.error_message_unknown_error":"Der opstod en ukendt fejl. Fejlkode: {{errorCode}}","state_error.button_try_again":"Prøv igen","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}% rabat","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}} ({{formattedPricePerMonth}}/{{monthPeriod}})"},hi={"periods.unknownFrequency":"onbekend","periods.week":"{{amount}} week","periods.month":"{{amount}} maand","periods.year":"{{amount}} jaar","periods.day":"{{amount}} dag","periods.weekShort":"{{amount}} wk","periods.monthShort":"{{amount}} mnd","periods.yearShort":"{{amount}} jr","periods.dayShort":"{{amount}} dag","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.weekFrequencyPlural":"elke {{amount}} weken","periods.monthFrequencyPlural":"elke {{amount}} maanden","periods.yearFrequencyPlural":"elke {{amount}} jaren","periods.dayFrequencyPlural":"elke {{amount}} dagen","state_present_offer.product_title":"{{productTitle}}","state_present_offer.product_description":"{{productDescription}}","state_present_offer.product_price":"{{productPrice}}","state_present_offer.free_trial_duration":"{{trialDuration}} gratis proefperiode","state_present_offer.price_after_free_trial":"{{productPrice}} na afloop van de proefperiode","state_present_offer.renewal_frequency":"Verlengt {{frequency}}","state_present_offer.continues_until_cancelled":"Gaat door tot het wordt geannuleerd","state_present_offer.cancel_anytime":"Annuleer op elk moment","state_needs_auth_info.email_step_title":"Facturatie e-mailadres","state_needs_auth_info.email_input_label":"E-mail","state_needs_auth_info.email_input_placeholder":"john@appleseed.com","state_needs_auth_info.button_continue":"Doorgaan","state_needs_payment_info.payment_step_title":"Veilige betaling","state_needs_payment_info.button_pay":"Betalen","state_needs_payment_info.button_start_trial":"Proef starten","state_success.purchase_successful":"Aankoop geslaagd","state_success.subscription_now_active":"Uw abonnement is nu actief","state_success.button_close":"Sluiten","state_error.if_error_persists":"Als het probleem zich blijft voordoen, neem contact op met ","state_error.error_title_already_subscribed":"Al geabonneerd","state_error.error_title_already_purchased":"Al gekocht","state_error.error_title_other_errors":"Er is iets misgegaan","state_error.error_message_already_subscribed":"U bent al geabonneerd op dit product.","state_error.error_message_already_purchased":"U heeft dit product al gekocht.","state_error.error_message_missing_email_error":"Een e-mailadres is vereist om de aankoop te voltooien.","state_error.error_message_network_error":"Netwerkfout. Controleer uw internetverbinding.","state_error.error_message_error_charging_payment":"Betaling mislukt.","state_error.error_message_error_setting_up_purchase":"Aankoop is niet gestart vanwege een fout. Foutcode: {{errorCode}}","state_error.error_message_unknown_error":"Er is een onbekende fout opgetreden. Foutcode: {{errorCode}}","state_error.button_try_again":"Opnieuw proberen","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}% korting","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}} ({{formattedPricePerMonth}}/{{monthPeriod}})"},yi={"periods.unknownFrequency":"tuntematon","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}} pv","periods.lifetime":"elinikäinen","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.weekFrequencyPlural":"joka {{amount}} viikko","periods.monthFrequencyPlural":"joka {{amount}} kuukausi","periods.yearFrequencyPlural":"joka {{amount}} vuosi","periods.dayFrequencyPlural":"joka {{amount}} päivä","state_present_offer.product_title":"{{productTitle}}","state_present_offer.product_description":"{{productDescription}}","state_present_offer.product_price":"{{productPrice}}","state_present_offer.free_trial_duration":"{{trialDuration}} ilmainen kokeilu","state_present_offer.price_after_free_trial":"{{productPrice}} kokeilujakson jälkeen","state_present_offer.renewal_frequency":"Uudistuu {{frequency}}","state_present_offer.continues_until_cancelled":"Jatkuu, kunnes peruutetaan","state_present_offer.cancel_anytime":"Peruuta milloin tahansa","state_needs_auth_info.email_step_title":"Laskutussähköpostiosoite","state_needs_auth_info.email_input_label":"Sähköposti","state_needs_auth_info.email_input_placeholder":"john@appleseed.com","state_needs_auth_info.button_continue":"Jatka","state_needs_payment_info.payment_step_title":"Turvallinen maksaminen","state_needs_payment_info.button_pay":"Maksa","state_needs_payment_info.button_start_trial":"Aloita kokeilu","state_success.purchase_successful":"Osto onnistui","state_success.subscription_now_active":"Tilauksesi on nyt aktiivinen","state_success.button_close":"Sulje","state_error.if_error_persists":"Jos virhe jatkuu, ota yhteyttä ","state_error.error_title_already_subscribed":"Jo tilattu","state_error.error_title_already_purchased":"Jo ostettu","state_error.error_title_other_errors":"Jotain meni pieleen","state_error.error_message_already_subscribed":"Olet jo tilannut tämän tuotteen.","state_error.error_message_already_purchased":"Olet jo ostanut tämän tuotteen.","state_error.error_message_missing_email_error":"Sähköposti tarvitaan ostoksen suorittamiseen.","state_error.error_message_network_error":"Verkkovirhe. Tarkista internetyhteytesi.","state_error.error_message_error_charging_payment":"Maksu epäonnistui.","state_error.error_message_error_setting_up_purchase":"Ostosta ei aloitettu virheen vuoksi. Virhekoodi: {{errorCode}}","state_error.error_message_unknown_error":"Tapahtui tuntematon virhe. Virhekoodi: {{errorCode}}","state_error.button_try_again":"Yritä uudelleen","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}% alennus","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}} ({{formattedPricePerMonth}}/{{monthPeriod}})"},gi={"periods.unknownFrequency":"inconnu","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.weekFrequencyPlural":"toutes les {{amount}} semaines","periods.monthFrequencyPlural":"tous les {{amount}} mois","periods.yearFrequencyPlural":"toutes les {{amount}} années","periods.dayFrequencyPlural":"tous les {{amount}} jours","state_present_offer.product_title":"{{productTitle}}","state_present_offer.product_description":"{{productDescription}}","state_present_offer.product_price":"{{productPrice}}","state_present_offer.free_trial_duration":"{{trialDuration}} essai gratuit","state_present_offer.price_after_free_trial":"{{productPrice}} après la fin de l'essai","state_present_offer.renewal_frequency":"Renouvellement {{frequency}}","state_present_offer.continues_until_cancelled":"Continue jusqu'à annulation","state_present_offer.cancel_anytime":"Annulez à tout moment","state_needs_auth_info.email_step_title":"Adresse e-mail de facturation","state_needs_auth_info.email_input_label":"E-mail","state_needs_auth_info.email_input_placeholder":"john@appleseed.com","state_needs_auth_info.button_continue":"Continuer","state_needs_payment_info.payment_step_title":"Paiement sécurisé","state_needs_payment_info.button_pay":"Payer","state_needs_payment_info.button_start_trial":"Démarrer l'essai","state_success.purchase_successful":"Achat réussi","state_success.subscription_now_active":"Votre abonnement est maintenant actif","state_success.button_close":"Fermer","state_error.if_error_persists":"Si l'erreur persiste, contactez ","state_error.error_title_already_subscribed":"Déjà abonné","state_error.error_title_already_purchased":"Déjà acheté","state_error.error_title_other_errors":"Quelque chose a mal tourné","state_error.error_message_already_subscribed":"Vous êtes déjà abonné à ce produit.","state_error.error_message_already_purchased":"Vous avez déjà acheté ce produit.","state_error.error_message_missing_email_error":"L'e-mail est requis pour finaliser l'achat.","state_error.error_message_network_error":"Erreur réseau. Veuillez vérifier votre connexion Internet.","state_error.error_message_error_charging_payment":"Échec du paiement.","state_error.error_message_error_setting_up_purchase":"L'achat n'a pas été lancé en raison d'une erreur. Code d'erreur : {{errorCode}}","state_error.error_message_unknown_error":"Une erreur inconnue est survenue. Code d'erreur : {{errorCode}}","state_error.button_try_again":"Réessayer","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}% de réduction","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}} ({{formattedPricePerMonth}}/{{monthPeriod}})"},vi={"periods.unknownFrequency":"unbekannt","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.weekFrequencyPlural":"alle {{amount}} Wochen","periods.monthFrequencyPlural":"alle {{amount}} Monate","periods.yearFrequencyPlural":"alle {{amount}} Jahre","periods.dayFrequencyPlural":"alle {{amount}} Tage","state_present_offer.product_title":"{{productTitle}}","state_present_offer.product_description":"{{productDescription}}","state_present_offer.product_price":"{{productPrice}}","state_present_offer.free_trial_duration":"{{trialDuration}} kostenlose Testphase","state_present_offer.price_after_free_trial":"{{productPrice}} nach Ende der Testphase","state_present_offer.renewal_frequency":"Erneuert sich {{frequency}}","state_present_offer.continues_until_cancelled":"Läuft bis zur Kündigung","state_present_offer.cancel_anytime":"Jederzeit kündbar","state_needs_auth_info.email_step_title":"E-Mail-Adresse für Rechnungsstellung","state_needs_auth_info.email_input_label":"E-Mail","state_needs_auth_info.email_input_placeholder":"john@appleseed.com","state_needs_auth_info.button_continue":"Weiter","state_needs_payment_info.payment_step_title":"Sicherer Checkout","state_needs_payment_info.button_pay":"Bezahlen","state_needs_payment_info.button_start_trial":"Test starten","state_success.purchase_successful":"Kauf erfolgreich","state_success.subscription_now_active":"Ihr Abonnement ist jetzt aktiv","state_success.button_close":"Schließen","state_error.if_error_persists":"Falls der Fehler weiterhin besteht, kontaktieren Sie ","state_error.error_title_already_subscribed":"Bereits abonniert","state_error.error_title_already_purchased":"Bereits gekauft","state_error.error_title_other_errors":"Etwas ist schiefgelaufen","state_error.error_message_already_subscribed":"Sie sind bereits für dieses Produkt abonniert.","state_error.error_message_already_purchased":"Sie haben dieses Produkt bereits gekauft.","state_error.error_message_missing_email_error":"Zum Abschließen des Kaufs wird eine E-Mail benötigt.","state_error.error_message_network_error":"Netzwerkfehler. Bitte überprüfen Sie Ihre Internetverbindung.","state_error.error_message_error_charging_payment":"Zahlung fehlgeschlagen.","state_error.error_message_error_setting_up_purchase":"Kauf konnte aufgrund eines Fehlers nicht gestartet werden. Fehlercode: {{errorCode}}","state_error.error_message_unknown_error":"Ein unbekannter Fehler ist aufgetreten. Fehlercode: {{errorCode}}","state_error.button_try_again":"Erneut versuchen","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}% Rabatt","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}} ({{formattedPricePerMonth}}/{{monthPeriod}})"},bi={"periods.unknownFrequency":"άγνωστος","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.weekFrequencyPlural":"κάθε {{amount}} εβδομάδες","periods.monthFrequencyPlural":"κάθε {{amount}} μήνες","periods.yearFrequencyPlural":"κάθε {{amount}} έτη","periods.dayFrequencyPlural":"κάθε {{amount}} ημέρες","state_present_offer.product_title":"{{productTitle}}","state_present_offer.product_description":"{{productDescription}}","state_present_offer.product_price":"{{productPrice}}","state_present_offer.free_trial_duration":"{{trialDuration}} δωρεάν δοκιμή","state_present_offer.price_after_free_trial":"{{productPrice}} μετά το τέλος της δοκιμής","state_present_offer.renewal_frequency":"Ανανεώνεται {{frequency}}","state_present_offer.continues_until_cancelled":"Συνεχίζεται έως την ακύρωση","state_present_offer.cancel_anytime":"Ακύρωση οποιαδήποτε στιγμή","state_needs_auth_info.email_step_title":"Διεύθυνση email χρέωσης","state_needs_auth_info.email_input_label":"Email","state_needs_auth_info.email_input_placeholder":"john@appleseed.com","state_needs_auth_info.button_continue":"Συνέχεια","state_needs_payment_info.payment_step_title":"Ασφαλής πληρωμή","state_needs_payment_info.button_pay":"Πληρωμή","state_needs_payment_info.button_start_trial":"Έναρξη δοκιμής","state_success.purchase_successful":"Η αγορά ολοκληρώθηκε με επιτυχία","state_success.subscription_now_active":"Η συνδρομή σας είναι πλέον ενεργή","state_success.button_close":"Κλείσιμο","state_error.if_error_persists":"Εάν το σφάλμα παραμένει, επικοινωνήστε με ","state_error.error_title_already_subscribed":"Ήδη εγγεγραμμένος","state_error.error_title_already_purchased":"Ήδη αγορασμένο","state_error.error_title_other_errors":"Κάτι πήγε στραβά","state_error.error_message_already_subscribed":"Έχετε ήδη εγγραφεί σε αυτό το προϊόν.","state_error.error_message_already_purchased":"Έχετε ήδη αγοράσει αυτό το προϊόν.","state_error.error_message_missing_email_error":"Απαιτείται email για να ολοκληρωθεί η αγορά.","state_error.error_message_network_error":"Σφάλμα δικτύου. Ελέγξτε τη σύνδεσή σας στο διαδίκτυο.","state_error.error_message_error_charging_payment":"Η πληρωμή απέτυχε.","state_error.error_message_error_setting_up_purchase":"Η αγορά δεν ξεκίνησε λόγω σφάλματος. Κωδικός σφάλματος: {{errorCode}}","state_error.error_message_unknown_error":"Παρουσιάστηκε άγνωστο σφάλμα. Κωδικός σφάλματος: {{errorCode}}","state_error.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}})"},wi={"periods.unknownFrequency":"לא ידוע","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.weekFrequencyPlural":"כל {{amount}} שבועות","periods.monthFrequencyPlural":"כל {{amount}} חודשים","periods.yearFrequencyPlural":"כל {{amount}} שנים","periods.dayFrequencyPlural":"כל {{amount}} ימים","state_present_offer.product_title":"{{productTitle}}","state_present_offer.product_description":"{{productDescription}}","state_present_offer.product_price":"{{productPrice}}","state_present_offer.free_trial_duration":"{{trialDuration}} ניסיון חינם","state_present_offer.price_after_free_trial":"{{productPrice}} לאחר סיום הניסיון","state_present_offer.renewal_frequency":"מתחדש {{frequency}}","state_present_offer.continues_until_cancelled":"ממשיך עד לביטול","state_present_offer.cancel_anytime":"ביטול בכל עת","state_needs_auth_info.email_step_title":"כתובת דוא״ל לחיוב","state_needs_auth_info.email_input_label":"דוא״ל","state_needs_auth_info.email_input_placeholder":"john@appleseed.com","state_needs_auth_info.button_continue":"המשך","state_needs_payment_info.payment_step_title":"תשלום מאובטח","state_needs_payment_info.button_pay":"שלם","state_needs_payment_info.button_start_trial":"התחל ניסיון","state_success.purchase_successful":"הרכישה הושלמה בהצלחה","state_success.subscription_now_active":"המנוי שלך פעיל כעת","state_success.button_close":"סגור","state_error.if_error_persists":"אם התקלה נמשכת, פנה ל ","state_error.error_title_already_subscribed":"כבר מנוי","state_error.error_title_already_purchased":"כבר נרכש","state_error.error_title_other_errors":"משהו השתבש","state_error.error_message_already_subscribed":"כבר יש לך מנוי למוצר זה.","state_error.error_message_already_purchased":"כבר רכשת מוצר זה.","state_error.error_message_missing_email_error":"נדרש דוא״ל להשלמת הרכישה.","state_error.error_message_network_error":"שגיאת רשת. בדוק את חיבור האינטרנט שלך.","state_error.error_message_error_charging_payment":"התשלום נכשל.","state_error.error_message_error_setting_up_purchase":"הרכישה לא החלה עקב שגיאה. קוד שגיאה: {{errorCode}}","state_error.error_message_unknown_error":"אירעה שגיאה לא ידועה. קוד שגיאה: {{errorCode}}","state_error.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}})"},Pi={"periods.unknownFrequency":"अज्ञात","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.weekFrequencyPlural":"हर {{amount}} सप्ताह","periods.monthFrequencyPlural":"हर {{amount}} महीना","periods.yearFrequencyPlural":"हर {{amount}} वर्ष","periods.dayFrequencyPlural":"हर {{amount}} दिन","state_present_offer.product_title":"{{productTitle}}","state_present_offer.product_description":"{{productDescription}}","state_present_offer.product_price":"{{productPrice}}","state_present_offer.free_trial_duration":"{{trialDuration}} मुफ्त परीक्षण","state_present_offer.price_after_free_trial":"{{productPrice}} परीक्षण के बाद","state_present_offer.renewal_frequency":"पुनः नवीनीकरण {{frequency}}","state_present_offer.continues_until_cancelled":"रद्द होने तक जारी रहेगा","state_present_offer.cancel_anytime":"कभी भी रद्द करें","state_needs_auth_info.email_step_title":"बिलिंग ईमेल पता","state_needs_auth_info.email_input_label":"ईमेल","state_needs_auth_info.email_input_placeholder":"john@appleseed.com","state_needs_auth_info.button_continue":"जारी रखें","state_needs_payment_info.payment_step_title":"सुरक्षित भुगतान","state_needs_payment_info.button_pay":"भुगतान करें","state_needs_payment_info.button_start_trial":"परीक्षण शुरू करें","state_success.purchase_successful":"खरीदारी सफल रही","state_success.subscription_now_active":"आपकी सदस्यता अब सक्रिय है","state_success.button_close":"बंद करें","state_error.if_error_persists":"यदि समस्या बनी रहती है, तो संपर्क करें ","state_error.error_title_already_subscribed":"पहले से सदस्यता ली गई है","state_error.error_title_already_purchased":"पहले से खरीदा गया है","state_error.error_title_other_errors":"कुछ गलत हो गया","state_error.error_message_already_subscribed":"आपने पहले से इस उत्पाद की सदस्यता ली हुई है।","state_error.error_message_already_purchased":"आपने पहले ही इस उत्पाद को खरीद लिया है।","state_error.error_message_missing_email_error":"खरीदारी पूरी करने के लिए ईमेल आवश्यक है।","state_error.error_message_network_error":"नेटवर्क त्रुटि। कृपया अपना इंटरनेट कनेक्शन जांचें।","state_error.error_message_error_charging_payment":"भुगतान असफल।","state_error.error_message_error_setting_up_purchase":"त्रुटि के कारण खरीद शुरू नहीं हो सकी। त्रुटि कोड: {{errorCode}}","state_error.error_message_unknown_error":"एक अज्ञात त्रुटि हुई। त्रुटि कोड: {{errorCode}}","state_error.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}})"},ki={"periods.unknownFrequency":"ismeretlen","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}} nap","periods.lifetime":"élethosszig","periods.weekPlural":"{{amount}} hetek","periods.monthPlural":"{{amount}} hónapok","periods.yearPlural":"{{amount}} évek","periods.dayPlural":"{{amount}} napok","periods.weekFrequency":"heti","periods.monthFrequency":"havi","periods.yearFrequency":"éves","periods.dayFrequency":"napi","periods.weekFrequencyPlural":"minden {{amount}} hét","periods.monthFrequencyPlural":"minden {{amount}} hónap","periods.yearFrequencyPlural":"minden {{amount}} év","periods.dayFrequencyPlural":"minden {{amount}} nap","state_present_offer.product_title":"{{productTitle}}","state_present_offer.product_description":"{{productDescription}}","state_present_offer.product_price":"{{productPrice}}","state_present_offer.free_trial_duration":"{{trialDuration}} ingyenes próbaidőszak","state_present_offer.price_after_free_trial":"{{productPrice}} a próbaidőszak után","state_present_offer.renewal_frequency":"Megújul {{frequency}}","state_present_offer.continues_until_cancelled":"Folytatódik a lemondásig","state_present_offer.cancel_anytime":"Bármikor lemondható","state_needs_auth_info.email_step_title":"Számlázási e-mail cím","state_needs_auth_info.email_input_label":"E-mail","state_needs_auth_info.email_input_placeholder":"john@appleseed.com","state_needs_auth_info.button_continue":"Folytatás","state_needs_payment_info.payment_step_title":"Biztonságos fizetés","state_needs_payment_info.button_pay":"Fizetés","state_needs_payment_info.button_start_trial":"Próba indítása","state_success.purchase_successful":"Vásárlás sikeres","state_success.subscription_now_active":"Az előfizetés most aktív","state_success.button_close":"Bezárás","state_error.if_error_persists":"Ha a hiba továbbra is fennáll, lépjen kapcsolatba a(z) ","state_error.error_title_already_subscribed":"Már előfizetett","state_error.error_title_already_purchased":"Már megvásárolt","state_error.error_title_other_errors":"Valami elromlott","state_error.error_message_already_subscribed":"Már előfizetett erre a termékre.","state_error.error_message_already_purchased":"Már megvásárolta ezt a terméket.","state_error.error_message_missing_email_error":"Az e-mail cím szükséges a vásárlás befejezéséhez.","state_error.error_message_network_error":"Hálózati hiba. Ellenőrizze az internetkapcsolatot.","state_error.error_message_error_charging_payment":"A fizetés nem sikerült.","state_error.error_message_error_setting_up_purchase":"A vásárlás hibája miatt nem kezdődött el. Hibakód: {{errorCode}}","state_error.error_message_unknown_error":"Ismeretlen hiba történt. Hibakód: {{errorCode}}","state_error.button_try_again":"Próbálja újra","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}% kedvezmény","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}} ({{formattedPricePerMonth}}/{{monthPeriod}})"},Ei={"periods.unknownFrequency":"tidak dikenal","periods.week":"{{amount}} minggu","periods.month":"{{amount}} bulan","periods.year":"{{amount}} tahun","periods.day":"{{amount}} hari","periods.weekShort":"{{amount}} mgg","periods.monthShort":"{{amount}} bln","periods.yearShort":"{{amount}} thn","periods.dayShort":"{{amount}} hr","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.weekFrequencyPlural":"setiap {{amount}} minggu","periods.monthFrequencyPlural":"setiap {{amount}} bulan","periods.yearFrequencyPlural":"setiap {{amount}} tahun","periods.dayFrequencyPlural":"setiap {{amount}} hari","state_present_offer.product_title":"{{productTitle}}","state_present_offer.product_description":"{{productDescription}}","state_present_offer.product_price":"{{productPrice}}","state_present_offer.free_trial_duration":"{{trialDuration}} uji coba gratis","state_present_offer.price_after_free_trial":"{{productPrice}} setelah uji coba selesai","state_present_offer.renewal_frequency":"Diperbarui {{frequency}}","state_present_offer.continues_until_cancelled":"Berlanjut hingga dibatalkan","state_present_offer.cancel_anytime":"Dapat dibatalkan kapan saja","state_needs_auth_info.email_step_title":"Alamat email penagihan","state_needs_auth_info.email_input_label":"Email","state_needs_auth_info.email_input_placeholder":"john@appleseed.com","state_needs_auth_info.button_continue":"Lanjutkan","state_needs_payment_info.payment_step_title":"Pembayaran aman","state_needs_payment_info.button_pay":"Bayar","state_needs_payment_info.button_start_trial":"Mulai Uji Coba","state_success.purchase_successful":"Pembelian berhasil","state_success.subscription_now_active":"Langganan Anda sekarang aktif","state_success.button_close":"Tutup","state_error.if_error_persists":"Jika masalah terus berlanjut, hubungi ","state_error.error_title_already_subscribed":"Sudah Berlangganan","state_error.error_title_already_purchased":"Sudah Dibeli","state_error.error_title_other_errors":"Terjadi kesalahan","state_error.error_message_already_subscribed":"Anda sudah berlangganan produk ini.","state_error.error_message_already_purchased":"Anda sudah membeli produk ini.","state_error.error_message_missing_email_error":"Email diperlukan untuk menyelesaikan pembelian.","state_error.error_message_network_error":"Kesalahan jaringan. Periksa koneksi internet Anda.","state_error.error_message_error_charging_payment":"Pembayaran gagal.","state_error.error_message_error_setting_up_purchase":"Pembelian tidak dapat dimulai karena kesalahan. Kode kesalahan: {{errorCode}}","state_error.error_message_unknown_error":"Terjadi kesalahan yang tidak diketahui. Kode kesalahan: {{errorCode}}","state_error.button_try_again":"Coba Lagi","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"Diskon {{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}} ({{formattedPricePerMonth}}/{{monthPeriod}})"},xi={"periods.unknownFrequency":"不明","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.weekFrequencyPlural":"{{amount}} 週間ごと","periods.monthFrequencyPlural":"{{amount}} ヶ月ごと","periods.yearFrequencyPlural":"{{amount}} 年ごと","periods.dayFrequencyPlural":"{{amount}} 日ごと","state_present_offer.product_title":"{{productTitle}}","state_present_offer.product_description":"{{productDescription}}","state_present_offer.product_price":"{{productPrice}}","state_present_offer.free_trial_duration":"{{trialDuration}} 無料トライアル","state_present_offer.price_after_free_trial":"{{productPrice}} トライアル終了後","state_present_offer.renewal_frequency":"更新 {{frequency}}","state_present_offer.continues_until_cancelled":"キャンセルされるまで継続","state_present_offer.cancel_anytime":"いつでもキャンセル可能","state_needs_auth_info.email_step_title":"請求メールアドレス","state_needs_auth_info.email_input_label":"メールアドレス","state_needs_auth_info.email_input_placeholder":"john@appleseed.com","state_needs_auth_info.button_continue":"続行","state_needs_payment_info.payment_step_title":"安全なチェックアウト","state_needs_payment_info.button_pay":"支払う","state_needs_payment_info.button_start_trial":"トライアルを開始","state_success.purchase_successful":"購入が成功しました","state_success.subscription_now_active":"あなたのサブスクリプションは今アクティブです","state_success.button_close":"閉じる","state_error.if_error_persists":"エラーが続く場合は、 ","state_error.error_title_already_subscribed":"すでに登録されています","state_error.error_title_already_purchased":"すでに購入されています","state_error.error_title_other_errors":"何かがうまくいきませんでした","state_error.error_message_already_subscribed":"この製品にはすでに登録されています。","state_error.error_message_already_purchased":"この製品はすでに購入されています。","state_error.error_message_missing_email_error":"購入を完了するにはメールアドレスが必要です。","state_error.error_message_network_error":"ネットワークエラーです。インターネット接続を確認してください。","state_error.error_message_error_charging_payment":"支払いが失敗しました。","state_error.error_message_error_setting_up_purchase":"エラーのため、購入が開始されませんでした。エラーコード: {{errorCode}}","state_error.error_message_unknown_error":"不明なエラーが発生しました。エラーコード: {{errorCode}}","state_error.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}})"},Si={"periods.unknownFrequency":"알 수 없음","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.weekFrequencyPlural":"{{amount}} 주마다","periods.monthFrequencyPlural":"{{amount}} 개월마다","periods.yearFrequencyPlural":"{{amount}} 년마다","periods.dayFrequencyPlural":"{{amount}} 일마다","state_present_offer.product_title":"{{productTitle}}","state_present_offer.product_description":"{{productDescription}}","state_present_offer.product_price":"{{productPrice}}","state_present_offer.free_trial_duration":"{{trialDuration}} 무료 체험","state_present_offer.price_after_free_trial":"{{productPrice}} 체험 종료 후","state_present_offer.renewal_frequency":"갱신 {{frequency}}","state_present_offer.continues_until_cancelled":"취소될 때까지 계속","state_present_offer.cancel_anytime":"언제든지 취소 가능","state_needs_auth_info.email_step_title":"결제 이메일 주소","state_needs_auth_info.email_input_label":"이메일","state_needs_auth_info.email_input_placeholder":"john@appleseed.com","state_needs_auth_info.button_continue":"계속","state_needs_payment_info.payment_step_title":"안전한 결제","state_needs_payment_info.button_pay":"결제","state_needs_payment_info.button_start_trial":"체험 시작","state_success.purchase_successful":"구매 성공","state_success.subscription_now_active":"구독이 활성화되었습니다","state_success.button_close":"닫기","state_error.if_error_persists":"문제가 지속되면 문의하십시오 ","state_error.error_title_already_subscribed":"이미 구독 중","state_error.error_title_already_purchased":"이미 구매 완료","state_error.error_title_other_errors":"문제가 발생했습니다","state_error.error_message_already_subscribed":"이미 이 제품을 구독 중입니다.","state_error.error_message_already_purchased":"이미 이 제품을 구매했습니다.","state_error.error_message_missing_email_error":"구매를 완료하려면 이메일이 필요합니다.","state_error.error_message_network_error":"네트워크 오류입니다. 인터넷 연결을 확인하세요.","state_error.error_message_error_charging_payment":"결제 실패.","state_error.error_message_error_setting_up_purchase":"오류로 인해 구매를 시작하지 못했습니다. 오류 코드: {{errorCode}}","state_error.error_message_unknown_error":"알 수 없는 오류가 발생했습니다. 오류 코드: {{errorCode}}","state_error.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}})"},Ii={"periods.unknownFrequency":"tidak diketahui","periods.week":"{{amount}} minggu","periods.month":"{{amount}} bulan","periods.year":"{{amount}} tahun","periods.day":"{{amount}} hari","periods.weekShort":"{{amount}} mgg","periods.monthShort":"{{amount}} bln","periods.yearShort":"{{amount}} thn","periods.dayShort":"{{amount}} hr","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.weekFrequencyPlural":"setiap {{amount}} minggu","periods.monthFrequencyPlural":"setiap {{amount}} bulan","periods.yearFrequencyPlural":"setiap {{amount}} tahun","periods.dayFrequencyPlural":"setiap {{amount}} hari","state_present_offer.product_title":"{{productTitle}}","state_present_offer.product_description":"{{productDescription}}","state_present_offer.product_price":"{{productPrice}}","state_present_offer.free_trial_duration":"{{trialDuration}} percubaan percuma","state_present_offer.price_after_free_trial":"{{productPrice}} selepas percubaan tamat","state_present_offer.renewal_frequency":"Diperbaharui {{frequency}}","state_present_offer.continues_until_cancelled":"Berterusan sehingga dibatalkan","state_present_offer.cancel_anytime":"Boleh dibatalkan pada bila-bila masa","state_needs_auth_info.email_step_title":"Alamat emel pengebilan","state_needs_auth_info.email_input_label":"Emel","state_needs_auth_info.email_input_placeholder":"john@appleseed.com","state_needs_auth_info.button_continue":"Teruskan","state_needs_payment_info.payment_step_title":"Pembayaran Selamat","state_needs_payment_info.button_pay":"Bayar","state_needs_payment_info.button_start_trial":"Mulakan Percubaan","state_success.purchase_successful":"Pembelian berjaya","state_success.subscription_now_active":"Langganan anda kini aktif","state_success.button_close":"Tutup","state_error.if_error_persists":"Jika masalah berterusan, sila hubungi ","state_error.error_title_already_subscribed":"Telah Melanggan","state_error.error_title_already_purchased":"Telah Dibeli","state_error.error_title_other_errors":"Ada masalah berlaku","state_error.error_message_already_subscribed":"Anda sudah melanggan produk ini.","state_error.error_message_already_purchased":"Anda telah membeli produk ini.","state_error.error_message_missing_email_error":"Emel diperlukan untuk menyelesaikan pembelian.","state_error.error_message_network_error":"Ralat rangkaian. Sila semak sambungan internet anda.","state_error.error_message_error_charging_payment":"Pembayaran gagal.","state_error.error_message_error_setting_up_purchase":"Pembelian tidak dapat dimulakan kerana ralat. Kod ralat: {{errorCode}}","state_error.error_message_unknown_error":"Ralat yang tidak diketahui berlaku. Kod ralat: {{errorCode}}","state_error.button_try_again":"Cuba Lagi","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}% diskaun","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}} ({{formattedPricePerMonth}}/{{monthPeriod}})"},qi={"periods.unknownFrequency":"ukjent","periods.week":"{{amount}} uke","periods.month":"{{amount}} måned","periods.year":"{{amount}} år","periods.day":"{{amount}} dag","periods.weekShort":"{{amount}} u","periods.monthShort":"{{amount}} mnd","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.weekFrequencyPlural":"hver {{amount}} uker","periods.monthFrequencyPlural":"hver {{amount}} måneder","periods.yearFrequencyPlural":"hver {{amount}} år","periods.dayFrequencyPlural":"hver {{amount}} dager","state_present_offer.product_title":"{{productTitle}}","state_present_offer.product_description":"{{productDescription}}","state_present_offer.product_price":"{{productPrice}}","state_present_offer.free_trial_duration":"{{trialDuration}} gratis prøveperiode","state_present_offer.price_after_free_trial":"{{productPrice}} etter prøveperioden","state_present_offer.renewal_frequency":"Fornyes {{frequency}}","state_present_offer.continues_until_cancelled":"Fortsetter til avbestilt","state_present_offer.cancel_anytime":"Avslutt når som helst","state_needs_auth_info.email_step_title":"Fakturering e-postadresse","state_needs_auth_info.email_input_label":"E-post","state_needs_auth_info.email_input_placeholder":"john@appleseed.com","state_needs_auth_info.button_continue":"Fortsett","state_needs_payment_info.payment_step_title":"Sikker betaling","state_needs_payment_info.button_pay":"Betale","state_needs_payment_info.button_start_trial":"Start prøveperiode","state_success.purchase_successful":"Kjøp vellykket","state_success.subscription_now_active":"Abonnementet ditt er nå aktivt","state_success.button_close":"Lukk","state_error.if_error_persists":"Hvis problemet vedvarer, vennligst kontakt ","state_error.error_title_already_subscribed":"Allerede abonnert","state_error.error_title_already_purchased":"Allerede kjøpt","state_error.error_title_other_errors":"Noe gikk galt","state_error.error_message_already_subscribed":"Du abonnerer allerede på dette produktet.","state_error.error_message_already_purchased":"Du har allerede kjøpt dette produktet.","state_error.error_message_missing_email_error":"E-post er nødvendig for å fullføre kjøpet.","state_error.error_message_network_error":"Nettverksfeil. Vennligst sjekk internettforbindelsen din.","state_error.error_message_error_charging_payment":"Betaling mislyktes.","state_error.error_message_error_setting_up_purchase":"Kjøpet ble ikke startet på grunn av en feil. Feilkode: {{errorCode}}","state_error.error_message_unknown_error":"En ukjent feil oppstod. Feilkode: {{errorCode}}","state_error.button_try_again":"Prøv igjen","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}% rabatt","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}} ({{formattedPricePerMonth}}/{{monthPeriod}})"},Ti={"periods.unknownFrequency":"nieznany","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}} dzień","periods.lifetime":"na całe życie","periods.weekPlural":"{{amount}} tygodnie","periods.monthPlural":"{{amount}} miesiące","periods.yearPlural":"{{amount}} lata","periods.dayPlural":"{{amount}} dni","periods.weekFrequency":"tygodniowo","periods.monthFrequency":"miesięcznie","periods.yearFrequency":"rocznie","periods.dayFrequency":"codziennie","periods.weekFrequencyPlural":"co {{amount}} tygodnie","periods.monthFrequencyPlural":"co {{amount}} miesiące","periods.yearFrequencyPlural":"co {{amount}} lata","periods.dayFrequencyPlural":"co {{amount}} dni","state_present_offer.product_title":"{{productTitle}}","state_present_offer.product_description":"{{productDescription}}","state_present_offer.product_price":"{{productPrice}}","state_present_offer.free_trial_duration":"{{trialDuration}} darmowy okres próbny","state_present_offer.price_after_free_trial":"{{productPrice}} po zakończeniu okresu próbnego","state_present_offer.renewal_frequency":"Odnawia się {{frequency}}","state_present_offer.continues_until_cancelled":"Kontynuuje się do anulowania","state_present_offer.cancel_anytime":"Anuluj w dowolnym momencie","state_needs_auth_info.email_step_title":"Adres e-mail do rozliczeń","state_needs_auth_info.email_input_label":"E-mail","state_needs_auth_info.email_input_placeholder":"john@appleseed.com","state_needs_auth_info.button_continue":"Kontynuuj","state_needs_payment_info.payment_step_title":"Bezpieczna płatność","state_needs_payment_info.button_pay":"Zapłać","state_needs_payment_info.button_start_trial":"Rozpocznij okres próbny","state_success.purchase_successful":"Zakup zakończony sukcesem","state_success.subscription_now_active":"Twoja subskrypcja jest teraz aktywna","state_success.button_close":"Zamknij","state_error.if_error_persists":"Jeśli problem będzie się powtarzał, skontaktuj się z ","state_error.error_title_already_subscribed":"Już subskrybowano","state_error.error_title_already_purchased":"Już zakupiono","state_error.error_title_other_errors":"Coś poszło nie tak","state_error.error_message_already_subscribed":"Już subskrybujesz ten produkt.","state_error.error_message_already_purchased":"Już kupiłeś ten produkt.","state_error.error_message_missing_email_error":"E-mail jest wymagany, aby zakończyć zakup.","state_error.error_message_network_error":"Błąd sieci. Sprawdź swoje połączenie z internetem.","state_error.error_message_error_charging_payment":"Płatność nie powiodła się.","state_error.error_message_error_setting_up_purchase":"Zakup nie został rozpoczęty z powodu błędu. Kod błędu: {{errorCode}}","state_error.error_message_unknown_error":"Wystąpił nieznany błąd. Kod błędu: {{errorCode}}","state_error.button_try_again":"Spróbuj ponownie","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}% zniżki","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}} ({{formattedPricePerMonth}}/{{monthPeriod}})"},Fi={"periods.unknownFrequency":"desconhecido","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}} dia","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.weekFrequencyPlural":"a cada {{amount}} semanas","periods.monthFrequencyPlural":"a cada {{amount}} meses","periods.yearFrequencyPlural":"a cada {{amount}} anos","periods.dayFrequencyPlural":"a cada {{amount}} dias","state_present_offer.product_title":"{{productTitle}}","state_present_offer.product_description":"{{productDescription}}","state_present_offer.product_price":"{{productPrice}}","state_present_offer.free_trial_duration":"{{trialDuration}} teste gratuito","state_present_offer.price_after_free_trial":"{{productPrice}} após o fim do teste","state_present_offer.renewal_frequency":"Renova-se {{frequency}}","state_present_offer.continues_until_cancelled":"Continua até ser cancelado","state_present_offer.cancel_anytime":"Cancele a qualquer momento","state_needs_auth_info.email_step_title":"Endereço de e-mail para faturamento","state_needs_auth_info.email_input_label":"E-mail","state_needs_auth_info.email_input_placeholder":"john@appleseed.com","state_needs_auth_info.button_continue":"Continuar","state_needs_payment_info.payment_step_title":"Pagamento seguro","state_needs_payment_info.button_pay":"Pagar","state_needs_payment_info.button_start_trial":"Iniciar teste","state_success.purchase_successful":"Compra bem-sucedida","state_success.subscription_now_active":"Sua assinatura agora está ativa","state_success.button_close":"Fechar","state_error.if_error_persists":"Se o erro persistir, entre em contato ","state_error.error_title_already_subscribed":"Já inscrito","state_error.error_title_already_purchased":"Já comprado","state_error.error_title_other_errors":"Algo deu errado","state_error.error_message_already_subscribed":"Você já está inscrito neste produto.","state_error.error_message_already_purchased":"Você já comprou este produto.","state_error.error_message_missing_email_error":"O e-mail é necessário para concluir a compra.","state_error.error_message_network_error":"Erro de rede. Verifique sua conexão com a internet.","state_error.error_message_error_charging_payment":"Pagamento falhou.","state_error.error_message_error_setting_up_purchase":"A compra não foi iniciada devido a um erro. Código do erro: {{errorCode}}","state_error.error_message_unknown_error":"Ocorreu um erro desconhecido. Código do erro: {{errorCode}}","state_error.button_try_again":"Tente novamente","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}% de desconto","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}} ({{formattedPricePerMonth}}/{{monthPeriod}})"},Ai={"periods.unknownFrequency":"necunoscut","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}} zi","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.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","state_present_offer.product_title":"{{productTitle}}","state_present_offer.product_description":"{{productDescription}}","state_present_offer.product_price":"{{productPrice}}","state_present_offer.free_trial_duration":"{{trialDuration}} probă gratuită","state_present_offer.price_after_free_trial":"{{productPrice}} după sfârșitul probei","state_present_offer.renewal_frequency":"Se reînnoiește {{frequency}}","state_present_offer.continues_until_cancelled":"Continuă până la anulare","state_present_offer.cancel_anytime":"Anulează oricând","state_needs_auth_info.email_step_title":"Adresa de e-mail pentru facturare","state_needs_auth_info.email_input_label":"E-mail","state_needs_auth_info.email_input_placeholder":"john@appleseed.com","state_needs_auth_info.button_continue":"Continuă","state_needs_payment_info.payment_step_title":"Plată sigură","state_needs_payment_info.button_pay":"Plătește","state_needs_payment_info.button_start_trial":"Începe Proba","state_success.purchase_successful":"Cumpărare reușită","state_success.subscription_now_active":"Abonamentul tău este acum activ","state_success.button_close":"Închide","state_error.if_error_persists":"Dacă eroarea persistă, contactați ","state_error.error_title_already_subscribed":"Deja abonat","state_error.error_title_already_purchased":"Deja cumpărat","state_error.error_title_other_errors":"Ceva a mers prost","state_error.error_message_already_subscribed":"Ești deja abonat la acest produs.","state_error.error_message_already_purchased":"Ai cumpărat deja acest produs.","state_error.error_message_missing_email_error":"Adresa de e-mail este necesară pentru a finaliza cumpărarea.","state_error.error_message_network_error":"Eroare de rețea. Verificați conexiunea la internet.","state_error.error_message_error_charging_payment":"Plata a eșuat.","state_error.error_message_error_setting_up_purchase":"Cumpărarea nu a fost inițiată din cauza unei erori. Cod eroare: {{errorCode}}","state_error.error_message_unknown_error":"A apărut o eroare necunoscută. Cod eroare: {{errorCode}}","state_error.button_try_again":"Încercați din nou","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}% reducere","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}} ({{formattedPricePerMonth}}/{{monthPeriod}})"},Oi={"periods.unknownFrequency":"неизвестно","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.weekFrequencyPlural":"каждые {{amount}} недель","periods.monthFrequencyPlural":"каждые {{amount}} месяца","periods.yearFrequencyPlural":"каждые {{amount}} года","periods.dayFrequencyPlural":"каждые {{amount}} дней","state_present_offer.product_title":"{{productTitle}}","state_present_offer.product_description":"{{productDescription}}","state_present_offer.product_price":"{{productPrice}}","state_present_offer.free_trial_duration":"{{trialDuration}} бесплатный пробный период","state_present_offer.price_after_free_trial":"{{productPrice}} после окончания пробного периода","state_present_offer.renewal_frequency":"Обновляется {{frequency}}","state_present_offer.continues_until_cancelled":"Продолжается до отмены","state_present_offer.cancel_anytime":"Отмена в любое время","state_needs_auth_info.email_step_title":"Адрес электронной почты для выставления счета","state_needs_auth_info.email_input_label":"Электронная почта","state_needs_auth_info.email_input_placeholder":"john@appleseed.com","state_needs_auth_info.button_continue":"Продолжить","state_needs_payment_info.payment_step_title":"Безопасная оплата","state_needs_payment_info.button_pay":"Оплатить","state_needs_payment_info.button_start_trial":"Начать пробный период","state_success.purchase_successful":"Покупка прошла успешно","state_success.subscription_now_active":"Ваша подписка теперь активна","state_success.button_close":"Закрыть","state_error.if_error_persists":"Если ошибка сохраняется, свяжитесь с ","state_error.error_title_already_subscribed":"Уже подписан","state_error.error_title_already_purchased":"Уже приобретено","state_error.error_title_other_errors":"Что-то пошло не так","state_error.error_message_already_subscribed":"Вы уже подписаны на этот продукт.","state_error.error_message_already_purchased":"Вы уже приобрели этот продукт.","state_error.error_message_missing_email_error":"Электронная почта требуется для завершения покупки.","state_error.error_message_network_error":"Сетевая ошибка. Проверьте ваше интернет-соединение.","state_error.error_message_error_charging_payment":"Ошибка при оплате.","state_error.error_message_error_setting_up_purchase":"Покупка не была начата из-за ошибки. Код ошибки: {{errorCode}}","state_error.error_message_unknown_error":"Произошла неизвестная ошибка. Код ошибки: {{errorCode}}","state_error.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}})"},Di={"periods.unknownFrequency":"neznámy","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}} deň","periods.lifetime":"na celý život","periods.weekPlural":"{{amount}} týždne","periods.monthPlural":"{{amount}} mesiace","periods.yearPlural":"{{amount}} roky","periods.dayPlural":"{{amount}} dni","periods.weekFrequency":"týždenne","periods.monthFrequency":"mesačne","periods.yearFrequency":"ročne","periods.dayFrequency":"denne","periods.weekFrequencyPlural":"každé {{amount}} týždne","periods.monthFrequencyPlural":"každé {{amount}} mesiace","periods.yearFrequencyPlural":"každé {{amount}} roky","periods.dayFrequencyPlural":"každé {{amount}} dni","state_present_offer.product_title":"{{productTitle}}","state_present_offer.product_description":"{{productDescription}}","state_present_offer.product_price":"{{productPrice}}","state_present_offer.free_trial_duration":"{{trialDuration}} bezplatné skúšobné obdobie","state_present_offer.price_after_free_trial":"{{productPrice}} po skončení skúšobného obdobia","state_present_offer.renewal_frequency":"Obnovuje sa {{frequency}}","state_present_offer.continues_until_cancelled":"Pokračuje až do zrušenia","state_present_offer.cancel_anytime":"Zrušiť kedykoľvek","state_needs_auth_info.email_step_title":"Fakturačná e-mailová adresa","state_needs_auth_info.email_input_label":"E-mail","state_needs_auth_info.email_input_placeholder":"john@appleseed.com","state_needs_auth_info.button_continue":"Pokračovať","state_needs_payment_info.payment_step_title":"Bezpečná platba","state_needs_payment_info.button_pay":"Zaplatíť","state_needs_payment_info.button_start_trial":"Spustiť skúšobnú verziu","state_success.purchase_successful":"Nákup úspešný","state_success.subscription_now_active":"Vaše predplatné je teraz aktívne","state_success.button_close":"Zatvoriť","state_error.if_error_persists":"Ak chyba pretrváva, kontaktujte ","state_error.error_title_already_subscribed":"Už prihlásené","state_error.error_title_already_purchased":"Už zakúpené","state_error.error_title_other_errors":"Niečo sa pokazilo","state_error.error_message_already_subscribed":"Už ste prihlásení na tento produkt.","state_error.error_message_already_purchased":"Tento produkt ste už zakúpili.","state_error.error_message_missing_email_error":"E-mail je potrebný na dokončenie nákupu.","state_error.error_message_network_error":"Chyba siete. Skontrolujte svoje pripojenie na internet.","state_error.error_message_error_charging_payment":"Platba zlyhala.","state_error.error_message_error_setting_up_purchase":"Nákup nebol spustený kvôli chybe. Kód chyby: {{errorCode}}","state_error.error_message_unknown_error":"Vyskytla sa neznáma chyba. Kód chyby: {{errorCode}}","state_error.button_try_again":"Skúsiť znova","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}% zľava","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}} ({{formattedPricePerMonth}}/{{monthPeriod}})"},Mi={"periods.unknownFrequency":"okänd","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}} dag","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.weekFrequencyPlural":"varje {{amount}} veckor","periods.monthFrequencyPlural":"varje {{amount}} månader","periods.yearFrequencyPlural":"varje {{amount}} år","periods.dayFrequencyPlural":"varje {{amount}} dagar","state_present_offer.product_title":"{{productTitle}}","state_present_offer.product_description":"{{productDescription}}","state_present_offer.product_price":"{{productPrice}}","state_present_offer.free_trial_duration":"{{trialDuration}} gratis provperiod","state_present_offer.price_after_free_trial":"{{productPrice}} efter provperiodens slut","state_present_offer.renewal_frequency":"Förnyas {{frequency}}","state_present_offer.continues_until_cancelled":"Fortsätter tills det avbryts","state_present_offer.cancel_anytime":"Avbryt när som helst","state_needs_auth_info.email_step_title":"Fakturerings-e-postadress","state_needs_auth_info.email_input_label":"E-post","state_needs_auth_info.email_input_placeholder":"john@appleseed.com","state_needs_auth_info.button_continue":"Fortsätt","state_needs_payment_info.payment_step_title":"Säker betalning","state_needs_payment_info.button_pay":"Betala","state_needs_payment_info.button_start_trial":"Börja provperiod","state_success.purchase_successful":"Köpet lyckades","state_success.subscription_now_active":"Din prenumeration är nu aktiv","state_success.button_close":"Stäng","state_error.if_error_persists":"Om felet kvarstår, kontakta ","state_error.error_title_already_subscribed":"Redan prenumererad","state_error.error_title_already_purchased":"Redan köpt","state_error.error_title_other_errors":"Något gick fel","state_error.error_message_already_subscribed":"Du är redan prenumererad på denna produkt.","state_error.error_message_already_purchased":"Du har redan köpt denna produkt.","state_error.error_message_missing_email_error":"E-post krävs för att slutföra köpet.","state_error.error_message_network_error":"Nätverksfel. Kontrollera din internetanslutning.","state_error.error_message_error_charging_payment":"Betalningen misslyckades.","state_error.error_message_error_setting_up_purchase":"Köpet kunde inte påbörjas på grund av ett fel. Felkod: {{errorCode}}","state_error.error_message_unknown_error":"Ett okänt fel inträffade. Felkod: {{errorCode}}","state_error.button_try_again":"Försök igen","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}% rabatt","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}} ({{formattedPricePerMonth}}/{{monthPeriod}})"},Ni={"periods.unknownFrequency":"ไม่ทราบ","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.weekFrequencyPlural":"ทุก {{amount}} สัปดาห์","periods.monthFrequencyPlural":"ทุก {{amount}} เดือน","periods.yearFrequencyPlural":"ทุก {{amount}} ปี","periods.dayFrequencyPlural":"ทุก {{amount}} วัน","state_present_offer.product_title":"{{productTitle}}","state_present_offer.product_description":"{{productDescription}}","state_present_offer.product_price":"{{productPrice}}","state_present_offer.free_trial_duration":"{{trialDuration}} ทดลองใช้งานฟรี","state_present_offer.price_after_free_trial":"{{productPrice}} หลังสิ้นสุดการทดลอง","state_present_offer.renewal_frequency":"ต่ออายุ {{frequency}}","state_present_offer.continues_until_cancelled":"ดำเนินต่อไปจนกว่าจะยกเลิก","state_present_offer.cancel_anytime":"ยกเลิกได้ทุกเมื่อ","state_needs_auth_info.email_step_title":"อีเมลสำหรับเรียกเก็บเงิน","state_needs_auth_info.email_input_label":"อีเมล","state_needs_auth_info.email_input_placeholder":"john@appleseed.com","state_needs_auth_info.button_continue":"ดำเนินการต่อ","state_needs_payment_info.payment_step_title":"ชำระเงินอย่างปลอดภัย","state_needs_payment_info.button_pay":"ชำระเงิน","state_needs_payment_info.button_start_trial":"เริ่มการทดลอง","state_success.purchase_successful":"ซื้อสำเร็จ","state_success.subscription_now_active":"การสมัครใช้งานของคุณใช้งานได้แล้ว","state_success.button_close":"ปิด","state_error.if_error_persists":"หากข้อผิดพลาดยังคงอยู่ โปรดติดต่อ ","state_error.error_title_already_subscribed":"สมัครสมาชิกแล้ว","state_error.error_title_already_purchased":"ซื้อแล้ว","state_error.error_title_other_errors":"เกิดข้อผิดพลาดบางอย่าง","state_error.error_message_already_subscribed":"คุณสมัครสมาชิกผลิตภัณฑ์นี้แล้ว","state_error.error_message_already_purchased":"คุณได้ซื้อผลิตภัณฑ์นี้แล้ว","state_error.error_message_missing_email_error":"จำเป็นต้องใช้อีเมลเพื่อทำการซื้อให้เสร็จสมบูรณ์","state_error.error_message_network_error":"ข้อผิดพลาดของเครือข่าย โปรดตรวจสอบการเชื่อมต่ออินเทอร์เน็ตของคุณ","state_error.error_message_error_charging_payment":"การชำระเงินล้มเหลว","state_error.error_message_error_setting_up_purchase":"ไม่สามารถเริ่มการซื้อเนื่องจากข้อผิดพลาด รหัสข้อผิดพลาด: {{errorCode}}","state_error.error_message_unknown_error":"เกิดข้อผิดพลาดที่ไม่รู้จัก รหัสข้อผิดพลาด: {{errorCode}}","state_error.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}})"},Ci={"periods.unknownFrequency":"bilinmeyen","periods.week":"{{amount}} hafta","periods.month":"{{amount}} ay","periods.year":"{{amount}} yıl","periods.day":"{{amount}} gün","periods.weekShort":"{{amount}} hft","periods.monthShort":"{{amount}} ay","periods.yearShort":"{{amount}} yıl","periods.dayShort":"{{amount}} gün","periods.lifetime":"ömür boyu","periods.weekPlural":"{{amount}} haftalar","periods.monthPlural":"{{amount}} aylar","periods.yearPlural":"{{amount}} yıllar","periods.dayPlural":"{{amount}} günler","periods.weekFrequency":"haftalık","periods.monthFrequency":"aylık","periods.yearFrequency":"yıllık","periods.dayFrequency":"günlük","periods.weekFrequencyPlural":"her {{amount}} hafta","periods.monthFrequencyPlural":"her {{amount}} ay","periods.yearFrequencyPlural":"her {{amount}} yıl","periods.dayFrequencyPlural":"her {{amount}} gün","state_present_offer.product_title":"{{productTitle}}","state_present_offer.product_description":"{{productDescription}}","state_present_offer.product_price":"{{productPrice}}","state_present_offer.free_trial_duration":"{{trialDuration}} ücretsiz deneme","state_present_offer.price_after_free_trial":"{{productPrice}} deneme sonunda","state_present_offer.renewal_frequency":"{{frequency}} yenilenir","state_present_offer.continues_until_cancelled":"İptal edilene kadar devam eder","state_present_offer.cancel_anytime":"Her zaman iptal edebilirsiniz","state_needs_auth_info.email_step_title":"Fatura e-posta adresi","state_needs_auth_info.email_input_label":"E-posta","state_needs_auth_info.email_input_placeholder":"john@appleseed.com","state_needs_auth_info.button_continue":"Devam et","state_needs_payment_info.payment_step_title":"Güvenli ödeme","state_needs_payment_info.button_pay":"Öde","state_needs_payment_info.button_start_trial":"Denemeyi Başlat","state_success.purchase_successful":"Satın alma başarılı","state_success.subscription_now_active":"Aboneliğiniz artık aktif","state_success.button_close":"Kapat","state_error.if_error_persists":"Sorun devam ederse, iletişime geçin ","state_error.error_title_already_subscribed":"Zaten Abone","state_error.error_title_already_purchased":"Zaten Satın Alındı","state_error.error_title_other_errors":"Bir şeyler yanlış gitti","state_error.error_message_already_subscribed":"Bu ürüne zaten abonesiniz.","state_error.error_message_already_purchased":"Bu ürünü zaten satın aldınız.","state_error.error_message_missing_email_error":"Satın almayı tamamlamak için e-posta gereklidir.","state_error.error_message_network_error":"Ağ hatası. İnternet bağlantınızı kontrol edin.","state_error.error_message_error_charging_payment":"Ödeme başarısız oldu.","state_error.error_message_error_setting_up_purchase":"Bir hata nedeniyle satın alma başlatılamadı. Hata kodu: {{errorCode}}","state_error.error_message_unknown_error":"Bilinmeyen bir hata oluştu. Hata kodu: {{errorCode}}","state_error.button_try_again":"Tekrar dene","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}% indirim","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}} ({{formattedPricePerMonth}}/{{monthPeriod}})"},ji={"periods.unknownFrequency":"невідомий","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.weekFrequencyPlural":"кожні {{amount}} тижні","periods.monthFrequencyPlural":"кожні {{amount}} місяці","periods.yearFrequencyPlural":"кожні {{amount}} роки","periods.dayFrequencyPlural":"кожні {{amount}} дні","state_present_offer.product_title":"{{productTitle}}","state_present_offer.product_description":"{{productDescription}}","state_present_offer.product_price":"{{productPrice}}","state_present_offer.free_trial_duration":"{{trialDuration}} безкоштовна пробна версія","state_present_offer.price_after_free_trial":"{{productPrice}} після закінчення пробного періоду","state_present_offer.renewal_frequency":"Оновлюється {{frequency}}","state_present_offer.continues_until_cancelled":"Продовжується до скасування","state_present_offer.cancel_anytime":"Скасувати будь-коли","state_needs_auth_info.email_step_title":"Електронна адреса для виставлення рахунків","state_needs_auth_info.email_input_label":"Електронна пошта","state_needs_auth_info.email_input_placeholder":"john@appleseed.com","state_needs_auth_info.button_continue":"Продовжити","state_needs_payment_info.payment_step_title":"Безпечна оплата","state_needs_payment_info.button_pay":"Оплатити","state_needs_payment_info.button_start_trial":"Розпочати пробний період","state_success.purchase_successful":"Покупка успішна","state_success.subscription_now_active":"Ваша підписка активна","state_success.button_close":"Закрити","state_error.if_error_persists":"Якщо помилка не зникає, зверніться до ","state_error.error_title_already_subscribed":"Вже підписано","state_error.error_title_already_purchased":"Вже придбано","state_error.error_title_other_errors":"Щось пішло не так","state_error.error_message_already_subscribed":"Ви вже підписані на цей продукт.","state_error.error_message_already_purchased":"Ви вже придбали цей продукт.","state_error.error_message_missing_email_error":"Електронна пошта необхідна для завершення покупки.","state_error.error_message_network_error":"Помилка мережі. Перевірте своє інтернет-з’єднання.","state_error.error_message_error_charging_payment":"Оплата не вдалася.","state_error.error_message_error_setting_up_purchase":"Придбання не розпочато через помилку. Код помилки: {{errorCode}}","state_error.error_message_unknown_error":"Сталася невідома помилка. Код помилки: {{errorCode}}","state_error.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}})"},Ri={"periods.unknownFrequency":"không xác định","periods.week":"{{amount}} tuần","periods.month":"{{amount}} tháng","periods.year":"{{amount}} năm","periods.day":"{{amount}} ngày","periods.weekShort":"{{amount}} tu.","periods.monthShort":"{{amount}} th.","periods.yearShort":"{{amount}} năm","periods.dayShort":"{{amount}} ng.","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.weekFrequencyPlural":"mỗi {{amount}} tuần","periods.monthFrequencyPlural":"mỗi {{amount}} tháng","periods.yearFrequencyPlural":"mỗi {{amount}} năm","periods.dayFrequencyPlural":"mỗi {{amount}} ngày","state_present_offer.product_title":"{{productTitle}}","state_present_offer.product_description":"{{productDescription}}","state_present_offer.product_price":"{{productPrice}}","state_present_offer.free_trial_duration":"{{trialDuration}} dùng thử miễn phí","state_present_offer.price_after_free_trial":"{{productPrice}} sau khi hết hạn dùng thử","state_present_offer.renewal_frequency":"Gia hạn {{frequency}}","state_present_offer.continues_until_cancelled":"Tiếp tục cho đến khi bị hủy","state_present_offer.cancel_anytime":"Hủy bất cứ lúc nào","state_needs_auth_info.email_step_title":"Địa chỉ email thanh toán","state_needs_auth_info.email_input_label":"Email","state_needs_auth_info.email_input_placeholder":"john@appleseed.com","state_needs_auth_info.button_continue":"Tiếp tục","state_needs_payment_info.payment_step_title":"Thanh toán an toàn","state_needs_payment_info.button_pay":"Thanh toán","state_needs_payment_info.button_start_trial":"Bắt đầu dùng thử","state_success.purchase_successful":"Mua thành công","state_success.subscription_now_active":"Gói đăng ký của bạn hiện đã hoạt động","state_success.button_close":"Đóng","state_error.if_error_persists":"Nếu lỗi vẫn tiếp diễn, vui lòng liên hệ ","state_error.error_title_already_subscribed":"Đã đăng ký","state_error.error_title_already_purchased":"Đã mua","state_error.error_title_other_errors":"Đã xảy ra sự cố","state_error.error_message_already_subscribed":"Bạn đã đăng ký sản phẩm này.","state_error.error_message_already_purchased":"Bạn đã mua sản phẩm này.","state_error.error_message_missing_email_error":"Cần email để hoàn tất việc mua hàng.","state_error.error_message_network_error":"Lỗi mạng. Vui lòng kiểm tra kết nối internet của bạn.","state_error.error_message_error_charging_payment":"Thanh toán không thành công.","state_error.error_message_error_setting_up_purchase":"Không thể bắt đầu giao dịch mua do lỗi. Mã lỗi: {{errorCode}}","state_error.error_message_unknown_error":"Đã xảy ra lỗi không xác định. Mã lỗi: {{errorCode}}","state_error.button_try_again":"Thử lại","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}% giảm giá","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}} ({{formattedPricePerMonth}}/{{monthPeriod}})"};var C=(e=>(e.PeriodsWeek="periods.week",e.PeriodsMonth="periods.month",e.PeriodsYear="periods.year",e.PeriodsDay="periods.day",e.PeriodsWeekShort="periods.weekShort",e.PeriodsMonthShort="periods.monthShort",e.PeriodsYearShort="periods.yearShort",e.PeriodsDayShort="periods.dayShort",e.PeriodsLifetime="periods.lifetime",e.PeriodsWeekPlural="periods.weekPlural",e.PeriodsMonthPlural="periods.monthPlural",e.PeriodsYearPlural="periods.yearPlural",e.PeriodsDayPlural="periods.dayPlural",e.PeriodsWeekFrequency="periods.weekFrequency",e.PeriodsMonthFrequency="periods.monthFrequency",e.PeriodsYearFrequency="periods.yearFrequency",e.PeriodsDayFrequency="periods.dayFrequency",e.PeriodsUnknownFrequency="periods.unknownFrequency",e.PeriodsWeekFrequencyPlural="periods.weekFrequencyPlural",e.PeriodsMonthFrequencyPlural="periods.monthFrequencyPlural",e.PeriodsYearFrequencyPlural="periods.yearFrequencyPlural",e.PeriodsDayFrequencyPlural="periods.dayFrequencyPlural",e.StatePresentOfferProductTitle="state_present_offer.product_title",e.StatePresentOfferProductDescription="state_present_offer.product_description",e.StatePresentOfferProductPrice="state_present_offer.product_price",e.StatePresentOfferFreeTrialDuration="state_present_offer.free_trial_duration",e.StatePresentOfferPriceAfterFreeTrial="state_present_offer.price_after_free_trial",e.StatePresentOfferRenewalFrequency="state_present_offer.renewal_frequency",e.StatePresentOfferContinuesUntilCancelled="state_present_offer.continues_until_cancelled",e.StatePresentOfferCancelAnytime="state_present_offer.cancel_anytime",e.StateNeedsAuthInfoEmailStepTitle="state_needs_auth_info.email_step_title",e.StateNeedsAuthInfoEmailInputLabel="state_needs_auth_info.email_input_label",e.StateNeedsAuthInfoEmailInputPlaceholder="state_needs_auth_info.email_input_placeholder",e.StateNeedsAuthInfoButtonContinue="state_needs_auth_info.button_continue",e.StateNeedsPaymentInfoPaymentStepTitle="state_needs_payment_info.payment_step_title",e.StateNeedsPaymentInfoButtonPay="state_needs_payment_info.button_pay",e.StateNeedsPaymentInfoButtonStartTrial="state_needs_payment_info.button_start_trial",e.StateSuccessPurchaseSuccessful="state_success.purchase_successful",e.StateSuccessSubscriptionNowActive="state_success.subscription_now_active",e.StateSuccessButtonClose="state_success.button_close",e.StateErrorIfErrorPersists="state_error.if_error_persists",e.StateErrorErrorTitleAlreadySubscribed="state_error.error_title_already_subscribed",e.StateErrorErrorTitleAlreadyPurchased="state_error.error_title_already_purchased",e.StateErrorErrorTitleOtherErrors="state_error.error_title_other_errors",e.StateErrorErrorMessageAlreadySubscribed="state_error.error_message_already_subscribed",e.StateErrorErrorMessageAlreadyPurchased="state_error.error_message_already_purchased",e.StateErrorErrorMessageMissingEmailError="state_error.error_message_missing_email_error",e.StateErrorErrorMessageNetworkError="state_error.error_message_network_error",e.StateErrorErrorMessageErrorChargingPayment="state_error.error_message_error_charging_payment",e.StateErrorErrorMessageErrorSettingUpPurchase="state_error.error_message_error_setting_up_purchase",e.StateErrorErrorMessageUnknownError="state_error.error_message_unknown_error",e.StateErrorButtonTryAgain="state_error.button_try_again",e.PaywallVariablesPricePerPeriod="paywall_variables.price_per_period",e.PaywallVariablesSubRelativeDiscount="paywall_variables.sub_relative_discount",e.PaywallVariablesTotalPriceAndPerMonth="paywall_variables.total_price_and_per_month",e))(C||{});const Ui={en:si,es:ii,it:li,ar:ui,ca:ci,zh_Hans:_i,zh_Hant:di,hr:pi,cs:fi,da:mi,nl:hi,fi:yi,fr:gi,de:vi,el:bi,he:wi,hi:Pi,hu:ki,id:Ei,ja:xi,ko:Si,ms:Ii,no:qi,pl:Ti,pt:Fi,ro:Ai,ru:Oi,sk:Di,sv:Mi,th:Ni,tr:Ci,uk:ji,vi:Ri},Br={noWhitespace:!1,short:!1};class Ve{constructor(r={},t=or,n=or){V(this,"locales",{});this.selectedLocale=t,this.defaultLocale=n;const a={};Object.entries(Ui).forEach(([o,s])=>{a[o]=new Wa(s,o)}),this.locales=a,r&&this.override(r)}static fallback(){return new Ve}override(r){Object.entries(r).forEach(([t,n])=>{this.locales[t]=new Wa({...this.locales[t].labels||{},...n},this.getLanguageCodeString(t))})}formatPrice(r,t){const n=r/1e6;try{return new Intl.NumberFormat(this.locale,{style:"currency",currency:t}).format(n)}catch{console.debug(`Failed to create a price formatter for locale: ${this.locale}`)}try{return new Intl.NumberFormat(this.fallbackLocale,{style:"currency",currency:t}).format(n)}catch{console.debug(`Failed to create a price formatter for locale: ${this.fallbackLocale}`)}return new Intl.NumberFormat(or,{style:"currency",currency:t}).format(n)}get locale(){var r;return((r=this.getLocaleInstance(this.selectedLocale))==null?void 0:r.localeKey)||this.getLanguageCodeString(this.selectedLocale)}get fallbackLocale(){var r;return((r=this.getLocaleInstance(this.defaultLocale))==null?void 0:r.localeKey)||this.getLanguageCodeString(this.defaultLocale)}getLanguageCodeString(r){return r.split("_")[0].split("-")[0]}getLocaleInstance(r){const t=this.getLanguageCodeString(r);return this.locales[r]||this.locales[t]}translate(r,t){const n=this.getLocaleInstance(this.selectedLocale),a=this.getLocaleInstance(this.defaultLocale);return(n==null?void 0:n.translate(r,t))||(a==null?void 0:a.translate(r,t))||""}translatePeriod(r,t,n=Br){const a=this.getLocaleInstance(this.selectedLocale),o=this.getLocaleInstance(this.defaultLocale);return(a==null?void 0:a.translatePeriod(r,t,n))||(o==null?void 0:o.translatePeriod(r,t,n))}translatePeriodUnit(r,t=Br){const n=this.getLocaleInstance(this.selectedLocale),a=this.getLocaleInstance(this.defaultLocale);return(n==null?void 0:n.translatePeriodUnit(r,t))||(a==null?void 0:a.translatePeriodUnit(r,t))}translatePeriodFrequency(r,t){const n=this.getLocaleInstance(this.selectedLocale),a=this.getLocaleInstance(this.defaultLocale);return(n==null?void 0:n.translatePeriodFrequency(r,t))||(a==null?void 0:a.translatePeriodFrequency(r,t))}}class Wa{constructor(r={},t){this.labels=r,this.localeKey=t}replaceVariables(r,t){return Object.entries(t).reduce((n,[a,o])=>n.replace(`{{${a}}}`,`${o??""}`),r)}translate(r,t){const n=this.labels[r];if(n)return this.replaceVariables(n,t||{})}translatePeriod(r,t,n=Br){var i;const{noWhitespace:a,short:o}={...Br,...n},s=o?`periods.${t}Short`:Math.abs(r)===1?`periods.${t}`:`periods.${t}Plural`;return(i=this.translate(s,{amount:r.toString()}))==null?void 0:i.replace(" ",a?"":" ")}translatePeriodUnit(r,t=Br){var s;const{noWhitespace:n,short:a}={...Br,...t},o=`periods.${r}${a?"Short":""}`;return(s=this.translate(o,{amount:""}))==null?void 0:s.replace(" ",n?"":" ")}translatePeriodFrequency(r,t){const n=Math.abs(r)===1?`periods.${t}Frequency`:`periods.${t}FrequencyPlural`;return this.translate(n,{amount:r.toString()})}}function ue(e,r){ne(r,!0);const t=g(r,"key",3,""),n=g(r,"defaultLocale",3,or),a=new Ve({},r.selectedLocale||"",n()),o=xr(Sr),s=r.selectedLocale?a:o||Ve.fallback(),i=ee(()=>t()?s.translate(t()||"",r.variables):void 0);var l=ie(),u=j(l);{var c=_=>{var f=_t();Z(()=>ar(f,p(i))),h(_,f)},d=_=>{var f=ie(),m=j(f);yn(m,()=>r.children??Ye),h(_,f)};U(u,_=>{p(i)?_(c):_(d,!1)})}h(e,l),ae()}var Te=(e=>(e[e.Silent=0]="Silent",e[e.Error=1]="Error",e[e.Warn=2]="Warn",e[e.Info=3]="Info",e[e.Debug=4]="Debug",e[e.Verbose=5]="Verbose",e))(Te||{});class X{static setLogLevel(r){this.logLevel=r}static log(r,t=this.logLevel){const n=`[Purchases] ${r}`;if(!(this.logLevel<t||t===Te.Silent))switch(t){case Te.Error:console.error(n);break;case Te.Warn:console.warn(n);break;case Te.Info:console.info(n);break;case Te.Debug:console.debug(n);break;case Te.Verbose:console.debug(n);break}}static errorLog(r){this.log(r,Te.Error)}static warnLog(r){this.log(r,Te.Warn)}static infoLog(r){this.log(r,Te.Info)}static debugLog(r){this.log(r,Te.Debug)}static verboseLog(r){this.log(r,Te.Verbose)}}V(X,"logLevel",Te.Silent);var mr=(e=>(e.Year="year",e.Month="month",e.Week="week",e.Day="day",e))(mr||{});function Pn(e){const r=e.match(/^PT?([0-9]+)([MDYW])$/);if(!r||r.length<3)return X.errorLog(`Invalid ISO 8601 duration format: ${e}`),null;const t=parseInt(r[1]);switch(r[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 X.errorLog(`Invalid ISO 8601 unit duration format: ${e}`),null}}const Li=(e,r,t)=>{const n=e/1e6;return new Intl.NumberFormat(t,{style:"currency",currency:r}).format(n)},Bi=(e,r)=>{const t=Pn(e);return t?r.translatePeriodFrequency(t.number,t.unit)||`${t.number} ${t.unit}s`:r.translate(C.PeriodsUnknownFrequency)},zi=(e,r)=>{const t=Pn(e);return t?r.translatePeriod(t.number,t.unit)||`${t.number} ${t.unit}s`:e};function Vi(e){return e!=null}var Za=(e=>(e.Unknown="unknown",e.Custom="custom",e.Lifetime="$rc_lifetime",e.Annual="$rc_annual",e.SixMonth="$rc_six_month",e.ThreeMonth="$rc_three_month",e.TwoMonth="$rc_two_month",e.Monthly="$rc_monthly",e.Weekly="$rc_weekly",e))(Za||{}),Je=(e=>(e.Subscription="subscription",e.Consumable="consumable",e.NonConsumable="non_consumable",e))(Je||{});const Qa=e=>({amount:e.amount_micros/1e4,amountMicros:e.amount_micros,currency:e.currency,formattedPrice:Li(e.amount_micros,e.currency)}),Ja=e=>{const r=e.period_duration;return{periodDuration:r,period:r?Pn(r):null,cycleCount:e.cycle_count,price:e.price?Qa(e.price):null}},Hi=e=>e.base==null?(X.debugLog("Missing base phase for subscription option. Ignoring."),null):{id:e.id,priceId:e.price_id,base:Ja(e.base),trial:e.trial?Ja(e.trial):null},Yi=e=>e.base_price==null?(X.debugLog("Missing base price for non-subscription option. Ignoring."),null):{id:e.id,priceId:e.price_id,basePrice:Qa(e.base_price)},Gi=(e,r)=>{const t=e.product_type;return t==="subscription"?Zi(e,r,t):Wi(e,r,t)},Wi=(e,r,t)=>{const n={};if(Object.entries(e.purchase_options).forEach(([s,i])=>{const l=Yi(i);l!=null&&(n[s]=l)}),Object.keys(n).length===0)return X.debugLog(`Product ${e.identifier} has no purchase options. Ignoring.`),null;const a=e.default_purchase_option_id,o=a&&a in e.purchase_options?n[a]:null;return o==null?(X.debugLog(`Product ${e.identifier} has no default purchase option. Ignoring.`),null):{identifier:e.identifier,displayName:e.title,title:e.title,description:e.description,productType:t,currentPrice:o.basePrice,normalPeriodDuration:null,presentedOfferingIdentifier:r.offeringIdentifier,presentedOfferingContext:r,defaultPurchaseOption:o,defaultSubscriptionOption:null,subscriptionOptions:{},defaultNonSubscriptionOption:o}},Zi=(e,r,t)=>{const n={};if(Object.entries(e.purchase_options).forEach(([i,l])=>{const u=Hi(l);u!=null&&(n[i]=u)}),Object.keys(n).length===0)return X.debugLog(`Product ${e.identifier} has no subscription options. Ignoring.`),null;const a=e.default_purchase_option_id,o=a&&a in n?n[a]:null;if(o==null)return X.debugLog(`Product ${e.identifier} has no default subscription option. Ignoring.`),null;const s=o.base.price;return s==null?(X.debugLog(`Product ${e.identifier} default option has no base price. Ignoring.`),null):{identifier:e.identifier,displayName:e.title,title:e.title,description:e.description,productType:t,currentPrice:s,normalPeriodDuration:o.base.periodDuration,presentedOfferingIdentifier:r.offeringIdentifier,presentedOfferingContext:r,defaultPurchaseOption:o,defaultSubscriptionOption:o,subscriptionOptions:n,defaultNonSubscriptionOption:null}},Qi=(e,r,t)=>{const n=t[r.platform_product_identifier];if(n===void 0)return null;const a=Gi(n,e);return a===null?null:{identifier:r.identifier,rcBillingProduct:a,packageType:Ki(r.identifier)}},Ji=(e,r,t,n)=>{const a={offeringIdentifier:r.identifier,targetingContext:e&&n?{ruleId:n.rule_id,revision:n.revision}:null,placementIdentifier:null},o=r.packages.map(i=>Qi(a,i,t)).filter(Vi),s={};for(const i of o)i!=null&&(s[i.identifier]=i);return o.length==0?null:{identifier:r.identifier,serverDescription:r.description,metadata:r.metadata,packagesById:s,availablePackages:o,lifetime:s.$rc_lifetime??null,annual:s.$rc_annual??null,sixMonth:s.$rc_six_month??null,threeMonth:s.$rc_three_month??null,twoMonth:s.$rc_two_month??null,monthly:s.$rc_monthly??null,weekly:s.$rc_weekly??null,paywall_components:r.paywall_components?r.paywall_components:null}};function Ki(e){switch(e){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 e.startsWith("$rc_")?"unknown":"custom"}}var Xi=x('<span class="rcb-product-price-after-trial svelte-1cj3ch9"><!></span>'),$i=x('<span class="rcb-product-description svelte-1cj3ch9"><!></span>'),el=x("<li><!></li>"),rl=x('<span class="rcb-product-price svelte-1cj3ch9"><!> <!></span> <!> <!> <ul class="rcb-product-details svelte-1cj3ch9"><!> <li><!></li> <li><!></li></ul>',1),tl=x('<span class="rcb-product-description svelte-1cj3ch9"><!></span>'),nl=x('<span class="rcb-product-price svelte-1cj3ch9"><!></span> <!>',1),al=x('<div class="rcb-pricing-info svelte-1cj3ch9"><span class="rcb-product-title svelte-1cj3ch9"><!></span> <!> <!></div>');const ol={hash:"svelte-1cj3ch9",code:`.rcb-pricing-info.svelte-1cj3ch9 {display:flex;flex-direction:column;margin-top:102px;font-weight:500;}.rcb-product-title.svelte-1cj3ch9 {color:var(--rc-color-grey-text-dark);}.rcb-product-price.svelte-1cj3ch9 {color:var(--rc-color-grey-text-dark);font-size:24px;margin:12px 0px;}.rcb-product-description.svelte-1cj3ch9 {color:var(--rc-color-grey-text-dark);margin:0 0 12px 0;}.rcb-product-price-after-trial.svelte-1cj3ch9 {margin-bottom:12px;}.rcb-product-details.svelte-1cj3ch9 {color:var(--rc-color-grey-text-light);list-style-type:disc;list-style-position:inside;margin:0px;padding:0px;}
2
2
 
3
3
  @media screen and (max-width: 960px) {.rcb-pricing-info.svelte-1cj3ch9 {margin-top:48px;}
4
- }`};function Ua(e,r){var g;X(r,!1),L(e,Wi);let t=v(r,"productDetails",8),n=v(r,"purchaseOption",8),a=v(r,"brandingAppearance",8,void 0);const o=t().productType===Je.Subscription,s=n(),i=n(),l=s==null?void 0:s.trial,u=(g=s==null?void 0:s.base)==null?void 0:g.price,c=i==null?void 0:i.basePrice,d=Pr(wr)||Le.fallback(),_=u&&d.formatPrice(u.amountMicros,u.currency),p=l&&_,m=c&&d.formatPrice(c.amountMicros,c.currency);Ue(),Nr(e,{children:(h,P)=>{var A=Gi(),x=E(A),b=E(x),S=$(()=>({productTitle:t().title}));ie(b,{get key(){return O.StatePresentOfferProductTitle},get variables(){return f(S)}});var B=D(x,2);R(B,()=>o,q=>{var Y=Vi(),re=N(Y),oe=E(re);R(oe,()=>l==null?void 0:l.periodDuration,te=>{var ue=$(()=>({trialDuration:Fi(l.periodDuration,d)}));ie(te,{get key(){return O.StatePresentOfferFreeTrialDuration},get variables(){return f(ue)}})});var z=D(oe,2);R(z,()=>!(l!=null&&l.periodDuration)&&u,te=>{ie(te,{get key(){return O.StatePresentOfferProductPrice},variables:{productPrice:_}})});var Q=D(re,2);R(Q,()=>l&&u,te=>{var ue=Li(),De=E(ue);ie(De,{get key(){return O.StatePresentOfferPriceAfterFreeTrial},variables:{productPrice:p}}),y(te,ue)});var pe=D(Q,2);R(pe,()=>{var te;return((te=a())==null?void 0:te.show_product_description)&&t().description},te=>{var ue=Bi(),De=E(ue),Be=$(()=>({productDescription:t().description}));ie(De,{get key(){return O.StatePresentOfferProductDescription},get variables(){return f(Be)}}),y(te,ue)});var G=D(pe,2),Se=E(G);R(Se,()=>t().normalPeriodDuration,te=>{var ue=zi(),De=E(ue),Be=$(()=>({frequency:Ti(t().normalPeriodDuration,d)}));ie(De,{get key(){return O.StatePresentOfferRenewalFrequency},get variables(){return f(Be)}}),y(te,ue)});var sr=D(Se,2),Er=E(sr);ie(Er,{get key(){return O.StatePresentOfferContinuesUntilCancelled}});var ir=D(sr,2),Rt=E(ir);ie(Rt,{get key(){return O.StatePresentOfferCancelAnytime}}),y(q,Y)});var I=D(B,2);R(I,()=>!o,q=>{var Y=Yi(),re=N(Y),oe=E(re);ie(oe,{get key(){return O.StatePresentOfferProductPrice},variables:{productPrice:m}});var z=D(re,2);R(z,()=>{var Q;return(Q=a())==null?void 0:Q.show_product_description},Q=>{var pe=Hi(),G=E(pe),Se=$(()=>({productDescription:t().description}));ie(G,{get key(){return O.StatePresentOfferProductDescription},get variables(){return f(Se)}}),y(Q,pe)}),y(q,Y)}),y(h,A)},$$slots:{default:!0}}),ee()}const Zi='<svg width="80" height="80" viewBox="0 0 24 24" fill="currentColor" xmlns="http://www.w3.org/2000/svg" transform="rotate(0 0 0)"><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"/></svg>';var Qi=k('<div style="color:var(--rc-color-accent);" class="rcb-ui-asset-icon svelte-1sxpw7o"><!></div>');const Ji={hash:"svelte-1sxpw7o",code:`
4
+ }`};function Ka(e,r){var y;ne(r,!1),H(e,ol);let t=g(r,"productDetails",8),n=g(r,"purchaseOption",8),a=g(r,"brandingAppearance",8,void 0);const o=t().productType===Je.Subscription,s=n(),i=n(),l=s==null?void 0:s.trial,u=(y=s==null?void 0:s.base)==null?void 0:y.price,c=i==null?void 0:i.basePrice,d=xr(Sr)||Ve.fallback(),_=u&&d.formatPrice(u.amountMicros,u.currency),f=l&&_,m=c&&d.formatPrice(c.amountMicros,c.currency);ze(),Lr(e,{children:(w,P)=>{var E=al(),I=q(E),b=q(I),v=re(()=>({productTitle:t().title}));ue(b,{get key(){return C.StatePresentOfferProductTitle},get variables(){return p(v)}});var T=N(I,2);{var k=D=>{var oe=rl(),_e=j(oe),we=q(_e);{var Y=L=>{var $=re(()=>({trialDuration:zi(l.periodDuration,d)}));ue(L,{get key(){return C.StatePresentOfferFreeTrialDuration},get variables(){return p($)}})};U(we,L=>{l!=null&&l.periodDuration&&L(Y)})}var M=N(we,2);{var se=L=>{ue(L,{get key(){return C.StatePresentOfferProductPrice},variables:{productPrice:_}})};U(M,L=>{!(l!=null&&l.periodDuration)&&u&&L(se)})}var Pe=N(_e,2);{var sr=L=>{var $=Xi(),de=q($);ue(de,{get key(){return C.StatePresentOfferPriceAfterFreeTrial},variables:{productPrice:f}}),h(L,$)};U(Pe,L=>{l&&u&&L(sr)})}var hr=N(Pe,2);{var Wt=L=>{var $=$i(),de=q($),Ie=re(()=>({productDescription:t().description}));ue(de,{get key(){return C.StatePresentOfferProductDescription},get variables(){return p(Ie)}}),h(L,$)};U(hr,L=>{var $;($=a())!=null&&$.show_product_description&&t().description&&L(Wt)})}var Ke=N(hr,2),qr=q(Ke);{var ir=L=>{var $=el(),de=q($),Ie=re(()=>({frequency:Bi(t().normalPeriodDuration,d)}));ue(de,{get key(){return C.StatePresentOfferRenewalFrequency},get variables(){return p(Ie)}}),h(L,$)};U(qr,L=>{t().normalPeriodDuration&&L(ir)})}var Xe=N(qr,2),yr=q(Xe);ue(yr,{get key(){return C.StatePresentOfferContinuesUntilCancelled}});var ke=N(Xe,2),gr=q(ke);ue(gr,{get key(){return C.StatePresentOfferCancelAnytime}}),h(D,oe)};U(T,D=>{o&&D(k)})}var O=N(T,2);{var G=D=>{var oe=nl(),_e=j(oe),we=q(_e);ue(we,{get key(){return C.StatePresentOfferProductPrice},variables:{productPrice:m}});var Y=N(_e,2);{var M=se=>{var Pe=tl(),sr=q(Pe),hr=re(()=>({productDescription:t().description}));ue(sr,{get key(){return C.StatePresentOfferProductDescription},get variables(){return p(hr)}}),h(se,Pe)};U(Y,se=>{var Pe;(Pe=a())!=null&&Pe.show_product_description&&se(M)})}h(D,oe)};U(O,D=>{o||D(G)})}h(w,E)},$$slots:{default:!0}}),ae()}const sl='<svg width="80" height="80" viewBox="0 0 24 24" fill="currentColor" xmlns="http://www.w3.org/2000/svg" transform="rotate(0 0 0)"><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"/></svg>';var il=x('<div style="color:var(--rc-color-accent);" class="rcb-ui-asset-icon svelte-1sxpw7o"><!></div>');const ll={hash:"svelte-1sxpw7o",code:`
5
5
  @-webkit-keyframes svelte-1sxpw7o-rotating /* Safari and Chrome */ {
6
6
  from {
7
7
  -webkit-transform: rotate(0deg);
@@ -34,29 +34,29 @@
34
34
  -moz-animation: svelte-1sxpw7o-rotating 2s ease-in-out infinite;
35
35
  -ms-animation: svelte-1sxpw7o-rotating 2s ease-in-out infinite;
36
36
  -o-animation: svelte-1sxpw7o-rotating 2s ease-in-out infinite;
37
- animation: svelte-1sxpw7o-rotating 2s ease-in-out infinite;}`};function $i(e){L(e,Ji);var r=Qi(),t=E(r);Mr(t,()=>Zi),y(e,r)}var Ki=k('<div class="rcb-modal-loader svelte-1mxx341"><!></div>');const Xi={hash:"svelte-1mxx341",code:".rcb-modal-loader.svelte-1mxx341 {width:100%;flex-grow:1;min-height:100%;display:flex;justify-content:center;align-items:center;}"};function dn(e){L(e,Xi);var r=Ki(),t=E(r);$i(t),y(e,r)}var he=(e=>(e[e.UnknownError=0]="UnknownError",e[e.UserCancelledError=1]="UserCancelledError",e[e.StoreProblemError=2]="StoreProblemError",e[e.PurchaseNotAllowedError=3]="PurchaseNotAllowedError",e[e.PurchaseInvalidError=4]="PurchaseInvalidError",e[e.ProductNotAvailableForPurchaseError=5]="ProductNotAvailableForPurchaseError",e[e.ProductAlreadyPurchasedError=6]="ProductAlreadyPurchasedError",e[e.ReceiptAlreadyInUseError=7]="ReceiptAlreadyInUseError",e[e.InvalidReceiptError=8]="InvalidReceiptError",e[e.MissingReceiptFileError=9]="MissingReceiptFileError",e[e.NetworkError=10]="NetworkError",e[e.InvalidCredentialsError=11]="InvalidCredentialsError",e[e.UnexpectedBackendResponseError=12]="UnexpectedBackendResponseError",e[e.InvalidAppUserIdError=14]="InvalidAppUserIdError",e[e.OperationAlreadyInProgressError=15]="OperationAlreadyInProgressError",e[e.UnknownBackendError=16]="UnknownBackendError",e[e.InvalidAppleSubscriptionKeyError=17]="InvalidAppleSubscriptionKeyError",e[e.IneligibleError=18]="IneligibleError",e[e.InsufficientPermissionsError=19]="InsufficientPermissionsError",e[e.PaymentPendingError=20]="PaymentPendingError",e[e.InvalidSubscriberAttributesError=21]="InvalidSubscriberAttributesError",e[e.LogOutWithAnonymousUserError=22]="LogOutWithAnonymousUserError",e[e.ConfigurationError=23]="ConfigurationError",e[e.UnsupportedError=24]="UnsupportedError",e[e.EmptySubscriberAttributesError=25]="EmptySubscriberAttributesError",e[e.CustomerInfoError=28]="CustomerInfoError",e[e.SignatureVerificationError=36]="SignatureVerificationError",e[e.InvalidEmailError=38]="InvalidEmailError",e))(he||{});class it{static getPublicMessage(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 doesn'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."}}static getErrorCodeForBackendErrorCode(r){switch(r){case 7101:case 7773:return 2;case 7102:return 7;case 7103:return 8;case 7107:case 7224:case 7225:return 11;case 7105:case 7106:case 7814:return 4;case 7772:return 6;case 7220:return 14;case 7229:return 2;case 7230:case 7e3:return 23;case 7231:return 2;case 7232:return 18;case 7263:case 7264:return 21;case 7104:case 7234:case 7226:case 7110:return 12;case 7662:return 24;case 7012:case 7834:return 38}}static convertCodeToBackendErrorCode(r){return r in La?r:null}static convertPurchaseFlowErrorCodeToErrorCode(r){switch(r){case le.ErrorSettingUpPurchase:return 2;case le.ErrorChargingPayment:return 20;case le.NetworkError:return 10;case le.MissingEmailError:return 4;case le.UnknownError:return 0;case le.AlreadyPurchasedError:return 6}}}var La=(e=>(e[e.BackendInvalidPlatform=7e3]="BackendInvalidPlatform",e[e.BackendInvalidEmail=7012]="BackendInvalidEmail",e[e.BackendStoreProblem=7101]="BackendStoreProblem",e[e.BackendCannotTransferPurchase=7102]="BackendCannotTransferPurchase",e[e.BackendInvalidReceiptToken=7103]="BackendInvalidReceiptToken",e[e.BackendInvalidAppStoreSharedSecret=7104]="BackendInvalidAppStoreSharedSecret",e[e.BackendInvalidPaymentModeOrIntroPriceNotProvided=7105]="BackendInvalidPaymentModeOrIntroPriceNotProvided",e[e.BackendProductIdForGoogleReceiptNotProvided=7106]="BackendProductIdForGoogleReceiptNotProvided",e[e.BackendInvalidPlayStoreCredentials=7107]="BackendInvalidPlayStoreCredentials",e[e.BackendInternalServerError=7110]="BackendInternalServerError",e[e.BackendEmptyAppUserId=7220]="BackendEmptyAppUserId",e[e.BackendInvalidAuthToken=7224]="BackendInvalidAuthToken",e[e.BackendInvalidAPIKey=7225]="BackendInvalidAPIKey",e[e.BackendBadRequest=7226]="BackendBadRequest",e[e.BackendPlayStoreQuotaExceeded=7229]="BackendPlayStoreQuotaExceeded",e[e.BackendPlayStoreInvalidPackageName=7230]="BackendPlayStoreInvalidPackageName",e[e.BackendPlayStoreGenericError=7231]="BackendPlayStoreGenericError",e[e.BackendUserIneligibleForPromoOffer=7232]="BackendUserIneligibleForPromoOffer",e[e.BackendInvalidAppleSubscriptionKey=7234]="BackendInvalidAppleSubscriptionKey",e[e.BackendInvalidSubscriberAttributes=7263]="BackendInvalidSubscriberAttributes",e[e.BackendInvalidSubscriberAttributesBody=7264]="BackendInvalidSubscriberAttributesBody",e[e.BackendProductIDsMalformed=7662]="BackendProductIDsMalformed",e[e.BackendAlreadySubscribedError=7772]="BackendAlreadySubscribedError",e[e.BackendPaymentGatewayGenericError=7773]="BackendPaymentGatewayGenericError",e[e.BackendOfferNotFound=7814]="BackendOfferNotFound",e[e.BackendNoMXRecordsFound=7834]="BackendNoMXRecordsFound",e))(La||{});class _e extends Error{constructor(t,n,a,o){super(n);U(this,"toString",()=>`PurchasesError(code: ${he[this.errorCode]}, message: ${this.message})`);this.errorCode=t,this.underlyingErrorMessage=a,this.extra=o}static getForBackendError(t,n){const a=it.getErrorCodeForBackendErrorCode(t);return new _e(a,it.getPublicMessage(a),n,{backendErrorCode:t})}static getForPurchasesFlowError(t){return new _e(it.convertPurchaseFlowErrorCodeToErrorCode(t.errorCode),t.message,t.underlyingErrorMessage)}}class Ba extends Error{constructor(){super("Purchases must be configured before calling getInstance")}}var lt=(e=>(e.Started="started",e.InProgress="in_progress",e.Succeeded="succeeded",e.Failed="failed",e))(lt||{}),jr=(e=>(e[e.SetupIntentCreationFailed=1]="SetupIntentCreationFailed",e[e.PaymentMethodCreationFailed=2]="PaymentMethodCreationFailed",e[e.PaymentChargeFailed=3]="PaymentChargeFailed",e[e.SetupIntentCompletionFailed=4]="SetupIntentCompletionFailed",e[e.AlreadyPurchased=5]="AlreadyPurchased",e))(jr||{});function el(e){var r;return e.operation.redemption_info?{redeemUrl:((r=e.operation.redemption_info)==null?void 0:r.redeem_url)??null}:null}var le=(e=>(e[e.ErrorSettingUpPurchase=0]="ErrorSettingUpPurchase",e[e.ErrorChargingPayment=1]="ErrorChargingPayment",e[e.UnknownError=2]="UnknownError",e[e.NetworkError=3]="NetworkError",e[e.MissingEmailError=4]="MissingEmailError",e[e.AlreadyPurchasedError=5]="AlreadyPurchasedError",e))(le||{});class de extends Error{constructor(r,t,n,a,o){super(t),this.errorCode=r,this.underlyingErrorMessage=n,this.purchasesErrorCode=a,this.extra=o}isRecoverable(){switch(this.errorCode){case 3:case 4:return!0;case 0:case 1:case 5:case 2:return!1}}getErrorCode(){var r;return((r=this.extra)==null?void 0:r.backendErrorCode)??this.purchasesErrorCode??this.errorCode}getPublicErrorMessage(r){var n;const t=((n=this.extra)==null?void 0:n.backendErrorCode)??this.purchasesErrorCode??this.errorCode;switch(this.errorCode){case 2:return`An unknown error occurred. Error code: ${t}.`;case 0:return`Purchase not started due to an error. Error code: ${t}.`;case 1:return"Payment failed.";case 3:return"Network error. Please check your internet connection.";case 4:return"Email is required to complete the purchase.";case 5:return(r==null?void 0:r.productType)===Je.Subscription?"You are already subscribed to this product.":"You have already purchased this product."}}static fromPurchasesError(r,t){let n;return r.errorCode===he.ProductAlreadyPurchasedError?n=5:r.errorCode===he.InvalidEmailError?n=4:r.errorCode===he.NetworkError?n=3:n=t,new de(n,r.message,r.underlyingErrorMessage,r.errorCode,r.extra)}}class rl{constructor(r,t=10){U(this,"operationSessionId",null);U(this,"backend");U(this,"maxNumberAttempts");U(this,"waitMSBetweenAttempts",1e3);this.backend=r,this.maxNumberAttempts=t}async startPurchase(r,t,n,a,o){try{const s=await this.backend.postPurchase(r,t,a,o,n);return this.operationSessionId=s.operation_session_id,s}catch(s){if(s instanceof _e)throw de.fromPurchasesError(s,0);{const i="Unknown error starting purchase: "+String(s);throw Z.errorLog(i),new de(2,i)}}}async pollCurrentPurchaseForCompletion(){const r=this.operationSessionId;if(!r)throw new de(0,"No purchase in progress");return new Promise((t,n)=>{const a=(o=1)=>{if(o>this.maxNumberAttempts){this.clearPurchaseInProgress(),n(new de(2,"Max attempts reached trying to get successful purchase status"));return}this.backend.getCheckoutStatus(r).then(s=>{switch(s.operation.status){case lt.Started:case lt.InProgress:setTimeout(()=>a(o+1),this.waitMSBetweenAttempts);break;case lt.Succeeded:this.clearPurchaseInProgress(),t({redemptionInfo:el(s)});return;case lt.Failed:this.clearPurchaseInProgress(),this.handlePaymentError(s.operation.error,n)}}).catch(s=>{const i=de.fromPurchasesError(s,3);n(i)})};a()})}clearPurchaseInProgress(){this.operationSessionId=null}handlePaymentError(r,t){if(r==null){t(new de(2,"Got an error status but error field is empty."));return}switch(r.code){case jr.SetupIntentCreationFailed:t(new de(0,"Setup intent creation failed"));return;case jr.PaymentMethodCreationFailed:t(new de(0,"Payment method creation failed"));return;case jr.PaymentChargeFailed:t(new de(1,"Payment charge failed"));return;case jr.SetupIntentCompletionFailed:t(new de(0,"Setup intent completion failed"));return;case jr.AlreadyPurchased:t(new de(5,"Purchased was already completed"));return;default:t(new de(2,"Unknown error code received"));return}}}const tl=`<svg width="96" height="96" viewBox="0 0 124 124" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
37
+ animation: svelte-1sxpw7o-rotating 2s ease-in-out infinite;}`};function ul(e){H(e,ll);var r=il(),t=q(r);Ur(t,()=>sl),h(e,r)}var cl=x('<div class="rcb-modal-loader svelte-1mxx341"><!></div>');const _l={hash:"svelte-1mxx341",code:".rcb-modal-loader.svelte-1mxx341 {width:100%;flex-grow:1;min-height:100%;display:flex;justify-content:center;align-items:center;}"};function kn(e){H(e,_l);var r=cl(),t=q(r);ul(t),h(e,r)}var ge=(e=>(e[e.UnknownError=0]="UnknownError",e[e.UserCancelledError=1]="UserCancelledError",e[e.StoreProblemError=2]="StoreProblemError",e[e.PurchaseNotAllowedError=3]="PurchaseNotAllowedError",e[e.PurchaseInvalidError=4]="PurchaseInvalidError",e[e.ProductNotAvailableForPurchaseError=5]="ProductNotAvailableForPurchaseError",e[e.ProductAlreadyPurchasedError=6]="ProductAlreadyPurchasedError",e[e.ReceiptAlreadyInUseError=7]="ReceiptAlreadyInUseError",e[e.InvalidReceiptError=8]="InvalidReceiptError",e[e.MissingReceiptFileError=9]="MissingReceiptFileError",e[e.NetworkError=10]="NetworkError",e[e.InvalidCredentialsError=11]="InvalidCredentialsError",e[e.UnexpectedBackendResponseError=12]="UnexpectedBackendResponseError",e[e.InvalidAppUserIdError=14]="InvalidAppUserIdError",e[e.OperationAlreadyInProgressError=15]="OperationAlreadyInProgressError",e[e.UnknownBackendError=16]="UnknownBackendError",e[e.InvalidAppleSubscriptionKeyError=17]="InvalidAppleSubscriptionKeyError",e[e.IneligibleError=18]="IneligibleError",e[e.InsufficientPermissionsError=19]="InsufficientPermissionsError",e[e.PaymentPendingError=20]="PaymentPendingError",e[e.InvalidSubscriberAttributesError=21]="InvalidSubscriberAttributesError",e[e.LogOutWithAnonymousUserError=22]="LogOutWithAnonymousUserError",e[e.ConfigurationError=23]="ConfigurationError",e[e.UnsupportedError=24]="UnsupportedError",e[e.EmptySubscriberAttributesError=25]="EmptySubscriberAttributesError",e[e.CustomerInfoError=28]="CustomerInfoError",e[e.SignatureVerificationError=36]="SignatureVerificationError",e[e.InvalidEmailError=38]="InvalidEmailError",e))(ge||{});class pt{static getPublicMessage(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 doesn'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."}}static getErrorCodeForBackendErrorCode(r){switch(r){case 7101:case 7773:return 2;case 7102:return 7;case 7103:return 8;case 7107:case 7224:case 7225:return 11;case 7105:case 7106:case 7814:return 4;case 7772:return 6;case 7220:return 14;case 7229:return 2;case 7230:case 7e3:return 23;case 7231:return 2;case 7232:return 18;case 7263:case 7264:return 21;case 7104:case 7234:case 7226:case 7110:return 12;case 7662:return 24;case 7012:case 7834:return 38}}static convertCodeToBackendErrorCode(r){return r in Xa?r:null}static convertPurchaseFlowErrorCodeToErrorCode(r){switch(r){case ce.ErrorSettingUpPurchase:return 2;case ce.ErrorChargingPayment:return 20;case ce.NetworkError:return 10;case ce.MissingEmailError:return 4;case ce.UnknownError:return 0;case ce.AlreadyPurchasedError:return 6}}}var Xa=(e=>(e[e.BackendInvalidPlatform=7e3]="BackendInvalidPlatform",e[e.BackendInvalidEmail=7012]="BackendInvalidEmail",e[e.BackendStoreProblem=7101]="BackendStoreProblem",e[e.BackendCannotTransferPurchase=7102]="BackendCannotTransferPurchase",e[e.BackendInvalidReceiptToken=7103]="BackendInvalidReceiptToken",e[e.BackendInvalidAppStoreSharedSecret=7104]="BackendInvalidAppStoreSharedSecret",e[e.BackendInvalidPaymentModeOrIntroPriceNotProvided=7105]="BackendInvalidPaymentModeOrIntroPriceNotProvided",e[e.BackendProductIdForGoogleReceiptNotProvided=7106]="BackendProductIdForGoogleReceiptNotProvided",e[e.BackendInvalidPlayStoreCredentials=7107]="BackendInvalidPlayStoreCredentials",e[e.BackendInternalServerError=7110]="BackendInternalServerError",e[e.BackendEmptyAppUserId=7220]="BackendEmptyAppUserId",e[e.BackendInvalidAuthToken=7224]="BackendInvalidAuthToken",e[e.BackendInvalidAPIKey=7225]="BackendInvalidAPIKey",e[e.BackendBadRequest=7226]="BackendBadRequest",e[e.BackendPlayStoreQuotaExceeded=7229]="BackendPlayStoreQuotaExceeded",e[e.BackendPlayStoreInvalidPackageName=7230]="BackendPlayStoreInvalidPackageName",e[e.BackendPlayStoreGenericError=7231]="BackendPlayStoreGenericError",e[e.BackendUserIneligibleForPromoOffer=7232]="BackendUserIneligibleForPromoOffer",e[e.BackendInvalidAppleSubscriptionKey=7234]="BackendInvalidAppleSubscriptionKey",e[e.BackendInvalidSubscriberAttributes=7263]="BackendInvalidSubscriberAttributes",e[e.BackendInvalidSubscriberAttributesBody=7264]="BackendInvalidSubscriberAttributesBody",e[e.BackendProductIDsMalformed=7662]="BackendProductIDsMalformed",e[e.BackendAlreadySubscribedError=7772]="BackendAlreadySubscribedError",e[e.BackendPaymentGatewayGenericError=7773]="BackendPaymentGatewayGenericError",e[e.BackendOfferNotFound=7814]="BackendOfferNotFound",e[e.BackendNoMXRecordsFound=7834]="BackendNoMXRecordsFound",e))(Xa||{});class fe extends Error{constructor(t,n,a,o){super(n);V(this,"toString",()=>`PurchasesError(code: ${ge[this.errorCode]}, message: ${this.message})`);this.errorCode=t,this.underlyingErrorMessage=a,this.extra=o}static getForBackendError(t,n){const a=pt.getErrorCodeForBackendErrorCode(t);return new fe(a,pt.getPublicMessage(a),n,{backendErrorCode:t})}static getForPurchasesFlowError(t){return new fe(pt.convertPurchaseFlowErrorCodeToErrorCode(t.errorCode),t.message,t.underlyingErrorMessage)}}class $a extends Error{constructor(){super("Purchases must be configured before calling getInstance")}}var ft=(e=>(e.Started="started",e.InProgress="in_progress",e.Succeeded="succeeded",e.Failed="failed",e))(ft||{}),zr=(e=>(e[e.SetupIntentCreationFailed=1]="SetupIntentCreationFailed",e[e.PaymentMethodCreationFailed=2]="PaymentMethodCreationFailed",e[e.PaymentChargeFailed=3]="PaymentChargeFailed",e[e.SetupIntentCompletionFailed=4]="SetupIntentCompletionFailed",e[e.AlreadyPurchased=5]="AlreadyPurchased",e))(zr||{});function dl(e){var r;return e.operation.redemption_info?{redeemUrl:((r=e.operation.redemption_info)==null?void 0:r.redeem_url)??null}:null}var ce=(e=>(e[e.ErrorSettingUpPurchase=0]="ErrorSettingUpPurchase",e[e.ErrorChargingPayment=1]="ErrorChargingPayment",e[e.UnknownError=2]="UnknownError",e[e.NetworkError=3]="NetworkError",e[e.MissingEmailError=4]="MissingEmailError",e[e.AlreadyPurchasedError=5]="AlreadyPurchasedError",e))(ce||{});class me extends Error{constructor(r,t,n,a,o){super(t),this.errorCode=r,this.underlyingErrorMessage=n,this.purchasesErrorCode=a,this.extra=o}isRecoverable(){switch(this.errorCode){case 3:case 4:return!0;case 0:case 1:case 5:case 2:return!1}}getErrorCode(){var r;return((r=this.extra)==null?void 0:r.backendErrorCode)??this.purchasesErrorCode??this.errorCode}getPublicErrorMessage(r){var n;const t=((n=this.extra)==null?void 0:n.backendErrorCode)??this.purchasesErrorCode??this.errorCode;switch(this.errorCode){case 2:return`An unknown error occurred. Error code: ${t}.`;case 0:return`Purchase not started due to an error. Error code: ${t}.`;case 1:return"Payment failed.";case 3:return"Network error. Please check your internet connection.";case 4:return"Email is required to complete the purchase.";case 5:return(r==null?void 0:r.productType)===Je.Subscription?"You are already subscribed to this product.":"You have already purchased this product."}}static fromPurchasesError(r,t){let n;return r.errorCode===ge.ProductAlreadyPurchasedError?n=5:r.errorCode===ge.InvalidEmailError?n=4:r.errorCode===ge.NetworkError?n=3:n=t,new me(n,r.message,r.underlyingErrorMessage,r.errorCode,r.extra)}}class pl{constructor(r,t=10){V(this,"operationSessionId",null);V(this,"backend");V(this,"maxNumberAttempts");V(this,"waitMSBetweenAttempts",1e3);this.backend=r,this.maxNumberAttempts=t}async startPurchase(r,t,n,a,o){try{const s=await this.backend.postPurchase(r,t,a,o,n);return this.operationSessionId=s.operation_session_id,s}catch(s){if(s instanceof fe)throw me.fromPurchasesError(s,0);{const i="Unknown error starting purchase: "+String(s);throw X.errorLog(i),new me(2,i)}}}async pollCurrentPurchaseForCompletion(){const r=this.operationSessionId;if(!r)throw new me(0,"No purchase in progress");return new Promise((t,n)=>{const a=(o=1)=>{if(o>this.maxNumberAttempts){this.clearPurchaseInProgress(),n(new me(2,"Max attempts reached trying to get successful purchase status"));return}this.backend.getCheckoutStatus(r).then(s=>{switch(s.operation.status){case ft.Started:case ft.InProgress:setTimeout(()=>a(o+1),this.waitMSBetweenAttempts);break;case ft.Succeeded:this.clearPurchaseInProgress(),t({redemptionInfo:dl(s)});return;case ft.Failed:this.clearPurchaseInProgress(),this.handlePaymentError(s.operation.error,n)}}).catch(s=>{const i=me.fromPurchasesError(s,3);n(i)})};a()})}clearPurchaseInProgress(){this.operationSessionId=null}handlePaymentError(r,t){if(r==null){t(new me(2,"Got an error status but error field is empty."));return}switch(r.code){case zr.SetupIntentCreationFailed:t(new me(0,"Setup intent creation failed"));return;case zr.PaymentMethodCreationFailed:t(new me(0,"Payment method creation failed"));return;case zr.PaymentChargeFailed:t(new me(1,"Payment charge failed"));return;case zr.SetupIntentCompletionFailed:t(new me(0,"Setup intent completion failed"));return;case zr.AlreadyPurchased:t(new me(5,"Purchased was already completed"));return;default:t(new me(2,"Unknown error code received"));return}}}const fl=`<svg width="96" height="96" viewBox="0 0 124 124" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
38
38
  <circle cx="62" cy="62" r="62" fill="currentColor"/>
39
39
  <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"
40
40
  fill="white"/>
41
41
  </svg>
42
- `;var nl=k('<div style="color:var(--rc-color-error);" class="rcb-ui-asset-icon svelte-1yeecu3"><!></div>');const al={hash:"svelte-1yeecu3",code:".rcb-ui-asset-icon.svelte-1yeecu3 {width:96px;height:96px;margin:0 auto;}"};function za(e){L(e,al);var r=nl(),t=E(r);Mr(t,()=>tl),y(e,r)}var ol=k("<button><!></button>");const sl={hash:"svelte-1mac4qb",code:`button.svelte-1mac4qb {border:none;border-radius:var(--rc-shape-input-button-border-radius);font-size:16px;cursor:pointer;height:56px;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;}button.svelte-1mac4qb:focus,
43
- button.svelte-1mac4qb:active {outline:2px solid var(--rc-color-focus);}button.intent-primary.svelte-1mac4qb {background-color:var(--rc-color-primary);color:var(--rc-color-primary-text);font-size:16px;}button.svelte-1mac4qb:disabled {color:var(--rc-color-grey-text-light);background-color:var(--rc-color-grey-ui-dark);outline:none;}button.intent-primary.svelte-1mac4qb:disabled {color:var(--rc-color-grey-text-light);background-color:var(--rc-color-grey-ui-dark);}`};function pn(e,r){L(e,sl);let t=v(r,"intent",8,"primary"),n=v(r,"disabled",8,!1),a=v(r,"testId",8,void 0),o=v(r,"type",8,void 0);var s=ol(),i=E(s);ce(i,r,"default",{}),W(()=>{un(s,`${`intent-${t()}`??""} svelte-1mac4qb`),s.disabled=n(),J(s,"data-testid",a()),J(s,"type",o())}),It("click",s,function(l){Oa.call(this,r,l)}),y(e,s)}var il=k('<footer class="rcb-modal-footer svelte-1f9z0o8"><!></footer>');const ll={hash:"svelte-1f9z0o8",code:"footer.svelte-1f9z0o8 {display:flex;flex-direction:column;}"};function fn(e,r){L(e,ll);var t=il(),n=E(t);ce(n,r,"default",{}),y(e,t)}var ul=k('<div class="column svelte-6o8e90"><!></div>');const cl={hash:"svelte-6o8e90",code:'.column.svelte-6o8e90 {display:flex;flex-direction:column;justify-content:flex-start;gap:var(--gap, "8px");flex-grow:1;}'};function ut(e,r){L(e,cl);let t=v(r,"gutter",8,"8px");var n=ul(),a=E(n);ce(a,r,"default",{}),W(()=>J(n,"style",`--gap:${t()};`)),y(e,n)}const _l=`<svg width="24" height="24" viewBox="0 0 24 24" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
42
+ `;var ml=x('<div style="color:var(--rc-color-error);" class="rcb-ui-asset-icon svelte-1yeecu3"><!></div>');const hl={hash:"svelte-1yeecu3",code:".rcb-ui-asset-icon.svelte-1yeecu3 {width:96px;height:96px;margin:0 auto;}"};function eo(e){H(e,hl);var r=ml(),t=q(r);Ur(t,()=>fl),h(e,r)}var yl=x("<button><!></button>");const gl={hash:"svelte-1mac4qb",code:`button.svelte-1mac4qb {border:none;border-radius:var(--rc-shape-input-button-border-radius);font-size:16px;cursor:pointer;height:56px;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;}button.svelte-1mac4qb:focus,
43
+ button.svelte-1mac4qb:active {outline:2px solid var(--rc-color-focus);}button.intent-primary.svelte-1mac4qb {background-color:var(--rc-color-primary);color:var(--rc-color-primary-text);font-size:16px;}button.svelte-1mac4qb:disabled {color:var(--rc-color-grey-text-light);background-color:var(--rc-color-grey-ui-dark);outline:none;}button.intent-primary.svelte-1mac4qb:disabled {color:var(--rc-color-grey-text-light);background-color:var(--rc-color-grey-ui-dark);}`};function En(e,r){H(e,gl);let t=g(r,"intent",8,"primary"),n=g(r,"disabled",8,!1),a=g(r,"testId",8,void 0),o=g(r,"type",8,void 0);var s=yl(),i=q(s);pe(i,r,"default",{}),Z(()=>{gn(s,`${`intent-${t()}`??""} svelte-1mac4qb`),s.disabled=n(),K(s,"data-testid",a()),K(s,"type",o())}),Mt("click",s,function(l){za.call(this,r,l)}),h(e,s)}var vl=x('<footer class="rcb-modal-footer svelte-1f9z0o8"><!></footer>');const bl={hash:"svelte-1f9z0o8",code:"footer.svelte-1f9z0o8 {display:flex;flex-direction:column;}"};function xn(e,r){H(e,bl);var t=vl(),n=q(t);pe(n,r,"default",{}),h(e,t)}var wl=x('<div class="column svelte-6o8e90"><!></div>');const Pl={hash:"svelte-6o8e90",code:'.column.svelte-6o8e90 {display:flex;flex-direction:column;justify-content:flex-start;gap:var(--gap, "8px");flex-grow:1;}'};function mt(e,r){H(e,Pl);let t=g(r,"gutter",8,"8px");var n=wl(),a=q(n);pe(a,r,"default",{}),Z(()=>K(n,"style",`--gap:${t()};`)),h(e,n)}const kl=`<svg width="24" height="24" viewBox="0 0 24 24" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
44
44
  <g id="mdi_close">
45
45
  <path id="Vector" 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"
46
46
  fill="currentColor"/>
47
47
  </g>
48
48
  </svg>
49
- `;var dl=k('<button class="close-button svelte-1y0elb4"><div><!></div></button>');const pl={hash:"svelte-1y0elb4",code:".close-button.svelte-1y0elb4 {border:none;cursor:pointer;background-color:transparent;padding:0px;height:24px;border-radius:50%;color:var(--rc-color-grey-text-light);}.close-button.svelte-1y0elb4:focus {outline:2px solid var(--rc-color-focus);}.close-button.svelte-1y0elb4:hover {color:var(--rc-color-grey-text-dark);}"};function mn(e,r){L(e,pl);let t=v(r,"disabled",8,!1);var n=dl(),a=E(n),o=E(a);Mr(o,()=>_l),W(()=>n.disabled=t()),It("click",n,function(s){Oa.call(this,r,s)}),y(e,n)}var fl=k('<picture class="rcb-app-icon-picture-container svelte-44qpq9"><source type="image/webp"> <img class="rcb-app-icon svelte-44qpq9" alt="App icon"></picture>'),ml=k('<div class="rcb-app-icon loading svelte-44qpq9"></div>');const hl={hash:"svelte-44qpq9",code:".rcb-app-icon.svelte-44qpq9 {width:40px;height:40px;border-radius:12px;box-shadow:0px 1px 10px 0px rgba(0, 0, 0, 0.1);margin-right:16px;}.rcb-app-icon-picture-container.svelte-44qpq9 {height:40px;}.rcb-app-icon.loading.svelte-44qpq9 {background-color:gray;}"};function Va(e,r){L(e,hl);let t=v(r,"src",8,null),n=v(r,"srcWebp",8,null);var a=ae(),o=N(a);R(o,()=>t()!==null,s=>{var i=fl(),l=E(i),u=D(l,2);W(()=>{J(l,"srcset",n()),J(u,"src",t())}),y(s,i)},s=>{var i=ml();y(s,i)}),y(e,a)}const Ha=e=>`https://da08ctfrofx1b.cloudfront.net/${e}`;var yl=k('<!> <span class="app-title svelte-10uf5fq"><!></span>',1),gl=k('<div class="rcb-header-layout__business-info svelte-10uf5fq"><!></div>');const vl={hash:"svelte-10uf5fq",code:".app-title.svelte-10uf5fq {font-weight:500;margin:8px 0;font-size:16px;}.rcb-header-layout__business-info.svelte-10uf5fq {display:flex;align-items:center;}"};function Ya(e,r){X(r,!1),L(e,vl);let t=v(r,"brandingInfo",8,null);Ue();var n=gl(),a=E(n);R(a,()=>t()!==null,o=>{var s=yl(),i=N(s);R(i,()=>t().app_icon_webp!==null&&t().app_icon!==null,c=>{var d=$(()=>Ha(t().app_icon)),_=$(()=>Ha(t().app_icon_webp));Va(c,{get src(){return f(d)},get srcWebp(){return f(_)}})});var l=D(i,2),u=E(l);ie(u,{children:(c,d)=>{var _=ot();W(()=>ar(_,t().app_name)),y(c,_)},$$slots:{default:!0}}),y(o,s)},o=>{Va(o,{})}),y(e,n),ee()}var bl=k('<div class="rcb-post-purchase-header-layout svelte-17puakv"><!> <!></div>');const Pl={hash:"svelte-17puakv",code:".rcb-post-purchase-header-layout.svelte-17puakv {display:flex;justify-content:space-between;align-items:center;width:100%;margin-top:-4px;}"};function wl(e,r){L(e,Pl);let t=v(r,"brandingInfo",8,null),n=v(r,"onClose",8);Nr(e,{as:"header",children:(a,o)=>{var s=bl(),i=E(s);Ya(i,{get brandingInfo(){return t()}});var l=D(i,2);mn(l,{$$events:{click(...u){var c;(c=n())==null||c.apply(this,u)}}}),y(a,s)},$$slots:{default:!0}})}var kl=k('<span class="title svelte-6irwts"> </span>'),El=k('<!> <span class="subtitle svelte-6irwts"><!></span>',1),xl=k("<!> <!>",1),Il=k('<div class="rcb-modal-message svelte-6irwts"><!></div>'),Sl=k("<!> <!> <!>",1);const ql={hash:"svelte-6irwts",code:'.rcb-modal-message.svelte-6irwts {width:100%;min-height:160px;display:flex;justify-content:center;align-items:center;flex-direction:column;text-align:center;margin-bottom:16px;margin-top:16px;}.rcb-modal-message[data-has-title="false"].svelte-6irwts {margin-top:80px;}.title.svelte-6irwts {font-size:24px;line-height:1.25em;}.subtitle.svelte-6irwts {font-size:16px;line-height:1.25em;overflow-wrap:anywhere;}'};function hn(e,r){L(e,ql);let t=v(r,"brandingInfo",8,null),n=v(r,"onContinue",8),a=v(r,"title",8,null),o=v(r,"type",8),s=v(r,"closeButtonTitle",8,"Go back to app");ut(e,{gutter:"32px",children:(i,l)=>{var u=Sl(),c=N(u);R(c,a,p=>{wl(p,{get brandingInfo(){return t()},get onClose(){return n()}})});var d=D(c,2);Nr(d,{children:(p,m)=>{var g=Il(),h=E(g);ut(h,{gutter:"48px",children:(P,A)=>{var x=xl(),b=N(x);ce(b,r,"icon",{});var S=D(b,2);ut(S,{gutter:"16px",children:(B,I)=>{var q=El(),Y=N(q);R(Y,a,z=>{var Q=kl(),pe=E(Q);W(()=>ar(pe,a())),y(z,Q)});var re=D(Y,2),oe=E(re);ce(oe,r,"default",{}),y(B,q)},$$slots:{default:!0}}),y(P,x)},$$slots:{default:!0}}),W(()=>{J(g,"data-type",o()),J(g,"data-has-title",!!a())}),y(p,g)},$$slots:{default:!0}});var _=D(d,2);fn(_,{children:(p,m)=>{pn(p,{type:"submit",$$events:{click(...g){var h;(h=n())==null||h.apply(this,g)}},children:(g,h)=>{var P=ot();W(()=>ar(P,s())),y(g,P)},$$slots:{default:!0}})},$$slots:{default:!0}}),y(i,u)},$$slots:{default:!0}})}var Tl=k("<br> <!> <a> </a>.",1),Fl=k(" <!>",1);function Al(e,r){X(r,!1);let t=v(r,"brandingInfo",8,null),n=v(r,"lastError",8),a=v(r,"supportEmail",8,null),o=v(r,"productDetails",8,null),s=v(r,"onContinue",8);const i=Pr(wr)||Le.fallback();qt(()=>{Z.errorLog(`Displayed error: ${le[n().errorCode]}. Message: ${n().message??"None"}. Underlying error: ${n().underlyingErrorMessage??"None"}`)});function l(){var _;switch(n().errorCode){case le.AlreadyPurchasedError:return((_=o())==null?void 0:_.productType)===Je.Subscription?i.translate(O.StateErrorErrorTitleAlreadySubscribed):i.translate(O.StateErrorErrorTitleAlreadyPurchased);default:return i.translate(O.StateErrorErrorTitleOtherErrors)}}function u(){var p;const _=n().getErrorCode();switch(n().errorCode){case le.UnknownError:return i.translate(O.StateErrorErrorMessageUnknownError,{errorCode:_});case le.ErrorSettingUpPurchase:return i.translate(O.StateErrorErrorMessageErrorSettingUpPurchase,{errorCode:_});case le.ErrorChargingPayment:return i.translate(O.StateErrorErrorMessageErrorChargingPayment,{errorCode:_});case le.NetworkError:return i.translate(O.StateErrorErrorMessageNetworkError,{errorCode:_});case le.MissingEmailError:return i.translate(O.StateErrorErrorMessageMissingEmailError,{errorCode:_});case le.AlreadyPurchasedError:return((p=o())==null?void 0:p.productType)===Je.Subscription?i.translate(O.StateErrorErrorMessageAlreadySubscribed,{errorCode:_}):i.translate(O.StateErrorErrorMessageAlreadyPurchased,{errorCode:_})}}Ue();var c=$(l),d=$(()=>i.translate(O.StateErrorButtonTryAgain));hn(e,{get title(){return f(c)},get brandingInfo(){return t()},get onContinue(){return s()},type:"error",get closeButtonTitle(){return f(d)},children:(_,p)=>{var m=Fl(),g=N(m);W(()=>ar(g,`${u()??""} `));var h=D(g);R(h,a,P=>{var A=Tl(),x=D(N(A),2);ie(x,{get key(){return O.StateErrorIfErrorPersists}});var b=D(x,2),S=E(b);W(()=>{J(b,"href",`mailto:${a()??""}`),ar(S,a())}),y(P,A)}),y(_,m)},$$slots:{default:!0,icon:(_,p)=>{za(_)}}}),ee()}const Ol=`<svg width="96" height="96" viewBox="0 0 124 124" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
49
+ `;var El=x('<button class="close-button svelte-1y0elb4"><div><!></div></button>');const xl={hash:"svelte-1y0elb4",code:".close-button.svelte-1y0elb4 {border:none;cursor:pointer;background-color:transparent;padding:0px;height:24px;border-radius:50%;color:var(--rc-color-grey-text-light);}.close-button.svelte-1y0elb4:focus {outline:2px solid var(--rc-color-focus);}.close-button.svelte-1y0elb4:hover {color:var(--rc-color-grey-text-dark);}"};function Sn(e,r){H(e,xl);let t=g(r,"disabled",8,!1);var n=El(),a=q(n),o=q(a);Ur(o,()=>kl),Z(()=>n.disabled=t()),Mt("click",n,function(s){za.call(this,r,s)}),h(e,n)}var Sl=x('<picture class="rcb-app-icon-picture-container svelte-44qpq9"><source type="image/webp"> <img class="rcb-app-icon svelte-44qpq9" alt="App icon"></picture>'),Il=x('<div class="rcb-app-icon loading svelte-44qpq9"></div>');const ql={hash:"svelte-44qpq9",code:".rcb-app-icon.svelte-44qpq9 {width:40px;height:40px;border-radius:12px;box-shadow:0px 1px 10px 0px rgba(0, 0, 0, 0.1);margin-right:16px;}.rcb-app-icon-picture-container.svelte-44qpq9 {height:40px;}.rcb-app-icon.loading.svelte-44qpq9 {background-color:gray;}"};function ro(e,r){H(e,ql);let t=g(r,"src",8,null),n=g(r,"srcWebp",8,null);var a=ie(),o=j(a);{var s=l=>{var u=Sl(),c=q(u),d=N(c,2);Z(()=>{K(c,"srcset",n()),K(d,"src",t())}),h(l,u)},i=l=>{var u=Il();h(l,u)};U(o,l=>{t()!==null?l(s):l(i,!1)})}h(e,a)}const to=e=>`https://da08ctfrofx1b.cloudfront.net/${e}`;var Tl=x('<!> <span class="app-title svelte-10uf5fq"><!></span>',1),Fl=x('<div class="rcb-header-layout__business-info svelte-10uf5fq"><!></div>');const Al={hash:"svelte-10uf5fq",code:".app-title.svelte-10uf5fq {font-weight:500;margin:8px 0;font-size:16px;}.rcb-header-layout__business-info.svelte-10uf5fq {display:flex;align-items:center;}"};function no(e,r){ne(r,!1),H(e,Al);let t=g(r,"brandingInfo",8,null);ze();var n=Fl(),a=q(n);{var o=i=>{var l=Tl(),u=j(l);{var c=f=>{var m=re(()=>to(t().app_icon)),y=re(()=>to(t().app_icon_webp));ro(f,{get src(){return p(m)},get srcWebp(){return p(y)}})};U(u,f=>{t().app_icon_webp!==null&&t().app_icon!==null&&f(c)})}var d=N(u,2),_=q(d);ue(_,{children:(f,m)=>{var y=_t();Z(()=>ar(y,t().app_name)),h(f,y)},$$slots:{default:!0}}),h(i,l)},s=i=>{ro(i,{})};U(a,i=>{t()!==null?i(o):i(s,!1)})}h(e,n),ae()}var Ol=x('<div class="rcb-post-purchase-header-layout svelte-17puakv"><!> <!></div>');const Dl={hash:"svelte-17puakv",code:".rcb-post-purchase-header-layout.svelte-17puakv {display:flex;justify-content:space-between;align-items:center;width:100%;margin-top:-4px;}"};function Ml(e,r){H(e,Dl);let t=g(r,"brandingInfo",8,null),n=g(r,"onClose",8);Lr(e,{as:"header",children:(a,o)=>{var s=Ol(),i=q(s);no(i,{get brandingInfo(){return t()}});var l=N(i,2);Sn(l,{$$events:{click(...u){var c;(c=n())==null||c.apply(this,u)}}}),h(a,s)},$$slots:{default:!0}})}var Nl=x('<span class="title svelte-6irwts"> </span>'),Cl=x('<!> <span class="subtitle svelte-6irwts"><!></span>',1),jl=x("<!> <!>",1),Rl=x('<div class="rcb-modal-message svelte-6irwts"><!></div>'),Ul=x("<!> <!> <!>",1);const Ll={hash:"svelte-6irwts",code:'.rcb-modal-message.svelte-6irwts {width:100%;min-height:160px;display:flex;justify-content:center;align-items:center;flex-direction:column;text-align:center;margin-bottom:16px;margin-top:16px;}.rcb-modal-message[data-has-title="false"].svelte-6irwts {margin-top:80px;}.title.svelte-6irwts {font-size:24px;line-height:1.25em;}.subtitle.svelte-6irwts {font-size:16px;line-height:1.25em;overflow-wrap:anywhere;}'};function In(e,r){H(e,Ll);let t=g(r,"brandingInfo",8,null),n=g(r,"onContinue",8),a=g(r,"title",8,null),o=g(r,"type",8),s=g(r,"closeButtonTitle",8,"Go back to app");mt(e,{gutter:"32px",children:(i,l)=>{var u=Ul(),c=j(u);{var d=m=>{Ml(m,{get brandingInfo(){return t()},get onClose(){return n()}})};U(c,m=>{a()&&m(d)})}var _=N(c,2);Lr(_,{children:(m,y)=>{var w=Rl(),P=q(w);mt(P,{gutter:"48px",children:(E,I)=>{var b=jl(),v=j(b);pe(v,r,"icon",{});var T=N(v,2);mt(T,{gutter:"16px",children:(k,O)=>{var G=Cl(),D=j(G);{var oe=Y=>{var M=Nl(),se=q(M);Z(()=>ar(se,a())),h(Y,M)};U(D,Y=>{a()&&Y(oe)})}var _e=N(D,2),we=q(_e);pe(we,r,"default",{}),h(k,G)},$$slots:{default:!0}}),h(E,b)},$$slots:{default:!0}}),Z(()=>{K(w,"data-type",o()),K(w,"data-has-title",!!a())}),h(m,w)},$$slots:{default:!0}});var f=N(_,2);xn(f,{children:(m,y)=>{En(m,{type:"submit",$$events:{click(...w){var P;(P=n())==null||P.apply(this,w)}},children:(w,P)=>{var E=_t();Z(()=>ar(E,s())),h(w,E)},$$slots:{default:!0}})},$$slots:{default:!0}}),h(i,u)},$$slots:{default:!0}})}var Bl=x("<br> <!> <a> </a>.",1),zl=x(" <!>",1);function Vl(e,r){ne(r,!1);let t=g(r,"brandingInfo",8,null),n=g(r,"lastError",8),a=g(r,"supportEmail",8,null),o=g(r,"productDetails",8,null),s=g(r,"onContinue",8);const i=xr(Sr)||Ve.fallback();Ct(()=>{X.errorLog(`Displayed error: ${ce[n().errorCode]}. Message: ${n().message??"None"}. Underlying error: ${n().underlyingErrorMessage??"None"}`)});function l(){var _;switch(n().errorCode){case ce.AlreadyPurchasedError:return((_=o())==null?void 0:_.productType)===Je.Subscription?i.translate(C.StateErrorErrorTitleAlreadySubscribed):i.translate(C.StateErrorErrorTitleAlreadyPurchased);default:return i.translate(C.StateErrorErrorTitleOtherErrors)}}function u(){var f;const _=n().getErrorCode();switch(n().errorCode){case ce.UnknownError:return i.translate(C.StateErrorErrorMessageUnknownError,{errorCode:_});case ce.ErrorSettingUpPurchase:return i.translate(C.StateErrorErrorMessageErrorSettingUpPurchase,{errorCode:_});case ce.ErrorChargingPayment:return i.translate(C.StateErrorErrorMessageErrorChargingPayment,{errorCode:_});case ce.NetworkError:return i.translate(C.StateErrorErrorMessageNetworkError,{errorCode:_});case ce.MissingEmailError:return i.translate(C.StateErrorErrorMessageMissingEmailError,{errorCode:_});case ce.AlreadyPurchasedError:return((f=o())==null?void 0:f.productType)===Je.Subscription?i.translate(C.StateErrorErrorMessageAlreadySubscribed,{errorCode:_}):i.translate(C.StateErrorErrorMessageAlreadyPurchased,{errorCode:_})}}ze();var c=re(l),d=re(()=>i.translate(C.StateErrorButtonTryAgain));In(e,{get title(){return p(c)},get brandingInfo(){return t()},get onContinue(){return s()},type:"error",get closeButtonTitle(){return p(d)},children:(_,f)=>{var m=zl(),y=j(m);Z(()=>ar(y,`${u()??""} `));var w=N(y);{var P=E=>{var I=Bl(),b=N(j(I),2);ue(b,{get key(){return C.StateErrorIfErrorPersists}});var v=N(b,2),T=q(v);Z(()=>{K(v,"href",`mailto:${a()??""}`),ar(T,a())}),h(E,I)};U(w,E=>{a()&&E(P)})}h(_,m)},$$slots:{default:!0,icon:(_,f)=>{eo(_)}}}),ae()}const Hl=`<svg width="96" height="96" viewBox="0 0 124 124" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
50
50
  <circle cx="62" cy="62" r="62" fill="currentColor"/>
51
51
  <rect x="44.1116" y="56" width="27.5" height="11" transform="rotate(45 44.1116 56)" fill="white"/>
52
52
  <rect x="79.1133" y="44.334" width="11" height="44" transform="rotate(45 79.1133 44.334)" fill="white"/>
53
53
  </svg>
54
- `;var Dl=k('<div style="color:var(--rc-color-accent);" class="rcb-ui-asset-icon svelte-1yeecu3"><!></div>');const Ml={hash:"svelte-1yeecu3",code:".rcb-ui-asset-icon.svelte-1yeecu3 {width:96px;height:96px;margin:0 auto;}"};function Nl(e){L(e,Ml);var r=Dl(),t=E(r);Mr(t,()=>Ol),y(e,r)}function Cl(e,r){var u;X(r,!1);let t=v(r,"productDetails",8,null),n=v(r,"brandingInfo",8,null),a=v(r,"onContinue",8);const o=((u=t())==null?void 0:u.productType)===Je.Subscription,s=Pr(wr)||Le.fallback();Ue();var i=$(()=>s.translate(O.StateSuccessPurchaseSuccessful)),l=$(()=>s.translate(O.StateSuccessButtonClose));hn(e,{type:"success",get title(){return f(i)},get brandingInfo(){return n()},get onContinue(){return a()},get closeButtonTitle(){return f(l)},children:(c,d)=>{var _=ae(),p=N(_);R(p,()=>o,m=>{ie(m,{get key(){return O.StateSuccessSubscriptionNowActive}})}),y(c,_)},$$slots:{default:!0,icon:(c,d)=>{Nl(c)}}}),ee()}function jl(e,r,t,n,a={}){const o=t.create(r,a);return o.mount(e),o.on("change",s=>n("change",s)),o.on("ready",s=>n("ready",s)),o.on("focus",s=>n("focus",s)),o.on("blur",s=>n("blur",s)),o.on("escape",s=>n("escape",s)),o.on("click",s=>n("click",s)),o.on("loaderror",s=>n("loaderror",s)),o.on("loaderstart",s=>n("loaderstart",s)),o.on("networkschange",s=>n("networkschange",s)),o}const Rl=typeof window>"u";function Ul(e){if(!Rl)return e.registerAppInfo({name:"svelte-stripe-js",url:"https://svelte-stripe-js.vercel.app"})}var Ll=k("<div></div>");function Bl(e,r){X(r,!1);let t,n=ke();const a=Us(),{elements:o}=Pr("stripe");let s=v(r,"options",8,void 0);qt(()=>(t=jl(f(n),"payment",o,a,s()),()=>t.destroy()));function i(){t.blur()}function l(){t.clear()}function u(){t.destroy()}function c(){t.focus()}Ue();var d=Ll();return js(d,_=>F(n,_),()=>f(n)),y(e,d),St(r,"blur",i),St(r,"clear",l),St(r,"destroy",u),St(r,"focus",c),ee({blur:i,clear:l,destroy:u,focus:c})}function zl(e,r){X(r,!1);const t=ke();let n=v(r,"stripe",8),a=v(r,"mode",8,void 0),o=v(r,"theme",8,"stripe"),s=v(r,"variables",24,()=>({})),i=v(r,"rules",24,()=>({})),l=v(r,"labels",8,"above"),u=v(r,"loader",8,"auto"),c=v(r,"fonts",24,()=>[]),d=v(r,"locale",8,"auto"),_=v(r,"currency",8,void 0),p=v(r,"amount",8,void 0),m=v(r,"clientSecret",8,void 0),g=v(r,"elements",12,null);gr(()=>(be(o()),be(s()),be(i()),be(l())),()=>{F(t,{theme:o(),variables:s(),rules:i(),labels:l()})}),gr(()=>(be(n()),be(g()),be(a()),be(_()),be(p()),f(t),be(m()),be(c()),be(u()),be(d()),nn),()=>{n()&&!g()&&(g(n().elements({mode:a(),currency:_(),amount:p(),appearance:f(t),clientSecret:m(),fonts:c(),loader:u(),locale:d()})),Ul(n()),nn("stripe",{stripe:n(),elements:g()}))}),gr(()=>(be(g()),f(t),be(d())),()=>{g()&&g().update({appearance:f(t),locale:d()})}),Jt(),Ue();var h=ae(),P=N(h);R(P,()=>n()&&g(),A=>{var x=ae(),b=N(x);ce(b,r,"default",{}),y(A,x)}),y(e,h),ee()}var Ga="https://js.stripe.com/v3",Vl=/^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/,Wa="loadStripe.setLoadParameters was called but an existing Stripe.js script already exists in the document; existing script parameters will be used",Hl=function(){for(var r=document.querySelectorAll('script[src^="'.concat(Ga,'"]')),t=0;t<r.length;t++){var n=r[t];if(Vl.test(n.src))return n}return null},Za=function(r){var t="",n=document.createElement("script");n.src="".concat(Ga).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},Yl=function(r,t){!r||!r._registerWrapper||r._registerWrapper({name:"stripe-js",version:"4.6.0",startTime:t})},ct=null,Ft=null,At=null,Gl=function(r){return function(){r(new Error("Failed to load Stripe.js"))}},Wl=function(r,t){return function(){window.Stripe?r(window.Stripe):t(new Error("Stripe.js not available"))}},Zl=function(r){return ct!==null?ct:(ct=new Promise(function(t,n){if(typeof window>"u"||typeof document>"u"){t(null);return}if(window.Stripe&&r&&console.warn(Wa),window.Stripe){t(window.Stripe);return}try{var a=Hl();if(a&&r)console.warn(Wa);else if(!a)a=Za(r);else if(a&&At!==null&&Ft!==null){var o;a.removeEventListener("load",At),a.removeEventListener("error",Ft),(o=a.parentNode)===null||o===void 0||o.removeChild(a),a=Za(r)}At=Wl(t,n),Ft=Gl(n),a.addEventListener("load",At),a.addEventListener("error",Ft)}catch(s){n(s);return}}),ct.catch(function(t){return ct=null,Promise.reject(t)}))},Ql=function(r,t,n){if(r===null)return null;var a=r.apply(void 0,t);return Yl(a,n),a},_t,Qa=!1,Ja=function(){return _t||(_t=Zl(null).catch(function(r){return _t=null,Promise.reject(r)}),_t)};Promise.resolve().then(function(){return Ja()}).catch(function(e){Qa||console.warn(e)});var Jl=function(){for(var r=arguments.length,t=new Array(r),n=0;n<r;n++)t[n]=arguments[n];Qa=!0;var a=Date.now();return Ja().then(function(o){return Ql(o,t,a)})},$l=k('<div class="rcb-header-layout svelte-1xe711j"><!></div>');const Kl={hash:"svelte-1xe711j",code:".rcb-header-layout.svelte-1xe711j {display:flex;justify-content:space-between;align-items:center;width:100%;font-size:24px;margin:0;font-weight:500;}"};function yn(e,r){L(e,Kl),Nr(e,{as:"header",children:(t,n)=>{var a=$l(),o=E(a);ce(o,r,"default",{}),y(t,a)},$$slots:{default:!0}})}const Xl=`<svg width="24" height="24" viewBox="0 0 24 24" fill="currentColor"
54
+ `;var Yl=x('<div style="color:var(--rc-color-accent);" class="rcb-ui-asset-icon svelte-1yeecu3"><!></div>');const Gl={hash:"svelte-1yeecu3",code:".rcb-ui-asset-icon.svelte-1yeecu3 {width:96px;height:96px;margin:0 auto;}"};function Wl(e){H(e,Gl);var r=Yl(),t=q(r);Ur(t,()=>Hl),h(e,r)}function Zl(e,r){var u;ne(r,!1);let t=g(r,"productDetails",8,null),n=g(r,"brandingInfo",8,null),a=g(r,"onContinue",8);const o=((u=t())==null?void 0:u.productType)===Je.Subscription,s=xr(Sr)||Ve.fallback();ze();var i=re(()=>s.translate(C.StateSuccessPurchaseSuccessful)),l=re(()=>s.translate(C.StateSuccessButtonClose));In(e,{type:"success",get title(){return p(i)},get brandingInfo(){return n()},get onContinue(){return a()},get closeButtonTitle(){return p(l)},children:(c,d)=>{var _=ie(),f=j(_);{var m=y=>{ue(y,{get key(){return C.StateSuccessSubscriptionNowActive}})};U(f,y=>{o&&y(m)})}h(c,_)},$$slots:{default:!0,icon:(c,d)=>{Wl(c)}}}),ae()}function Ql(e,r,t,n,a={}){const o=t.create(r,a);return o.mount(e),o.on("change",s=>n("change",s)),o.on("ready",s=>n("ready",s)),o.on("focus",s=>n("focus",s)),o.on("blur",s=>n("blur",s)),o.on("escape",s=>n("escape",s)),o.on("click",s=>n("click",s)),o.on("loaderror",s=>n("loaderror",s)),o.on("loaderstart",s=>n("loaderstart",s)),o.on("networkschange",s=>n("networkschange",s)),o}const Jl=typeof window>"u";function Kl(e){if(!Jl)return e.registerAppInfo({name:"svelte-stripe-js",url:"https://svelte-stripe-js.vercel.app"})}var Xl=x("<div></div>");function $l(e,r){ne(r,!1);let t,n=Se();const a=$s(),{elements:o}=xr("stripe");let s=g(r,"options",8,void 0);Ct(()=>(t=Ql(p(n),"payment",o,a,s()),()=>t.destroy()));function i(){t.blur()}function l(){t.clear()}function u(){t.destroy()}function c(){t.focus()}ze();var d=Xl();return Ks(d,_=>A(n,_),()=>p(n)),h(e,d),Nt(r,"blur",i),Nt(r,"clear",l),Nt(r,"destroy",u),Nt(r,"focus",c),ae({blur:i,clear:l,destroy:u,focus:c})}function eu(e,r){ne(r,!1);const t=Se();let n=g(r,"stripe",8),a=g(r,"mode",8,void 0),o=g(r,"theme",8,"stripe"),s=g(r,"variables",24,()=>({})),i=g(r,"rules",24,()=>({})),l=g(r,"labels",8,"above"),u=g(r,"loader",8,"auto"),c=g(r,"fonts",24,()=>[]),d=g(r,"locale",8,"auto"),_=g(r,"currency",8,void 0),f=g(r,"amount",8,void 0),m=g(r,"clientSecret",8,void 0),y=g(r,"elements",12,null);kr(()=>(be(o()),be(s()),be(i()),be(l())),()=>{A(t,{theme:o(),variables:s(),rules:i(),labels:l()})}),kr(()=>(be(n()),be(y()),be(a()),be(_()),be(f()),p(t),be(m()),be(c()),be(u()),be(d()),pn),()=>{n()&&!y()&&(y(n().elements({mode:a(),currency:_(),amount:f(),appearance:p(t),clientSecret:m(),fonts:c(),loader:u(),locale:d()})),Kl(n()),pn("stripe",{stripe:n(),elements:y()}))}),kr(()=>(be(y()),p(t),be(d())),()=>{y()&&y().update({appearance:p(t),locale:d()})}),sn(),ze();var w=ie(),P=j(w);{var E=I=>{var b=ie(),v=j(b);pe(v,r,"default",{}),h(I,b)};U(P,I=>{n()&&y()&&I(E)})}h(e,w),ae()}var ao="https://js.stripe.com/v3",ru=/^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/,oo="loadStripe.setLoadParameters was called but an existing Stripe.js script already exists in the document; existing script parameters will be used",tu=function(){for(var r=document.querySelectorAll('script[src^="'.concat(ao,'"]')),t=0;t<r.length;t++){var n=r[t];if(ru.test(n.src))return n}return null},so=function(r){var t="",n=document.createElement("script");n.src="".concat(ao).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},nu=function(r,t){!r||!r._registerWrapper||r._registerWrapper({name:"stripe-js",version:"4.6.0",startTime:t})},ht=null,Rt=null,Ut=null,au=function(r){return function(){r(new Error("Failed to load Stripe.js"))}},ou=function(r,t){return function(){window.Stripe?r(window.Stripe):t(new Error("Stripe.js not available"))}},su=function(r){return ht!==null?ht:(ht=new Promise(function(t,n){if(typeof window>"u"||typeof document>"u"){t(null);return}if(window.Stripe&&r&&console.warn(oo),window.Stripe){t(window.Stripe);return}try{var a=tu();if(a&&r)console.warn(oo);else if(!a)a=so(r);else if(a&&Ut!==null&&Rt!==null){var o;a.removeEventListener("load",Ut),a.removeEventListener("error",Rt),(o=a.parentNode)===null||o===void 0||o.removeChild(a),a=so(r)}Ut=ou(t,n),Rt=au(n),a.addEventListener("load",Ut),a.addEventListener("error",Rt)}catch(s){n(s);return}}),ht.catch(function(t){return ht=null,Promise.reject(t)}))},iu=function(r,t,n){if(r===null)return null;var a=r.apply(void 0,t);return nu(a,n),a},yt,io=!1,lo=function(){return yt||(yt=su(null).catch(function(r){return yt=null,Promise.reject(r)}),yt)};Promise.resolve().then(function(){return lo()}).catch(function(e){io||console.warn(e)});var lu=function(){for(var r=arguments.length,t=new Array(r),n=0;n<r;n++)t[n]=arguments[n];io=!0;var a=Date.now();return lo().then(function(o){return iu(o,t,a)})},uu=x('<div class="rcb-header-layout svelte-1xe711j"><!></div>');const cu={hash:"svelte-1xe711j",code:".rcb-header-layout.svelte-1xe711j {display:flex;justify-content:space-between;align-items:center;width:100%;font-size:24px;margin:0;font-weight:500;}"};function qn(e,r){H(e,cu),Lr(e,{as:"header",children:(t,n)=>{var a=uu(),o=q(a);pe(o,r,"default",{}),h(t,a)},$$slots:{default:!0}})}const _u=`<svg width="24" height="24" viewBox="0 0 24 24" fill="currentColor"
55
55
  xmlns="http://www.w3.org/2000/svg">
56
56
  <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"
57
57
  fill="currentColor"/>
58
58
  </svg>
59
- `;var eu=k('<div style="color:var(--rc-color-accent);" class="rcb-ui-asset-icon svelte-wgufvv"><!></div>');const ru={hash:"svelte-wgufvv",code:"div.svelte-wgufvv {height:24px;width:24px;}"};function tu(e){L(e,ru);var r=eu(),t=E(r);Mr(t,()=>Xl),y(e,r)}var nu=k('<div class="processing svelte-bkjupy"></div>');const au={hash:"svelte-bkjupy",code:`.processing.svelte-bkjupy {width:12px;aspect-ratio:1;border-radius:50%;
59
+ `;var du=x('<div style="color:var(--rc-color-accent);" class="rcb-ui-asset-icon svelte-wgufvv"><!></div>');const pu={hash:"svelte-wgufvv",code:"div.svelte-wgufvv {height:24px;width:24px;}"};function fu(e){H(e,pu);var r=du(),t=q(r);Ur(t,()=>_u),h(e,r)}var mu=x('<div class="processing svelte-bkjupy"></div>');const hu={hash:"svelte-bkjupy",code:`.processing.svelte-bkjupy {width:12px;aspect-ratio:1;border-radius:50%;
60
60
  animation: svelte-bkjupy-l5 1.5s infinite linear;}
61
61
 
62
62
  @keyframes svelte-bkjupy-l5 {
@@ -90,13 +90,13 @@
90
90
  -20px 0 #fff2;
91
91
  background: #fff2;
92
92
  }
93
- }`};function $a(e){L(e,au);var r=nu();y(e,r)}const ou={error:"#f2545b",warning:"#f4e971",focus:"#000080",accent:"#767676",primary:"#000000","primary-text":"#ffffff",white:"#ffffff","grey-text-dark":"rgba(0,0,0,1)","grey-text-light":"rgba(0,0,0,0.5)","grey-ui-dark":"rgba(0,0,0,0.125)","grey-ui-light":"rgba(0,0,0,0.005)","input-background":"transparent",background:"white"},su={error:"#f2545b",warning:"#f4e971",focus:"#000080",accent:"#767676",primary:"#ffffff","primary-text":"#000000",white:"#ffffff","grey-text-dark":"rgba(255,255,255,1)","grey-text-light":"rgba(255,255,255,0.5)","grey-ui-dark":"rgba(255,255,255,0.125)","grey-ui-light":"rgba(255,255,255,0.005)","input-background":"transparent",background:"#000000"},Ka={error:"color_error",focus:"color_accent",accent:"color_accent",primary:"color_buttons_primary"},iu={...Ka,background:"color_form_bg"},lu={...Ka,background:"color_product_info_bg"},Xa={"input-border-radius":"12px","input-button-border-radius":"12px","modal-border-radius":"16px"},uu={"input-border-radius":"0px","input-button-border-radius":"0px","modal-border-radius":"0px"},cu={"input-border-radius":"24px","input-button-border-radius":"56px","modal-border-radius":"16px"},eo=Xa,ro=e=>e.length==7?{r:parseInt(e.slice(1,3),16),g:parseInt(e.slice(3,5),16),b:parseInt(e.slice(5,7),16)}:e.length==4?{r:parseInt(e[1],16),g:parseInt(e[2],16),b:parseInt(e[3],16)}:null,to=({r:e,g:r,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(e)+.7152*a(r)+.0722*a(t)>n},no=.37,_u=(e,r=no)=>{const t=to({...e,luminanceThreshold:r})?"0,0,0":"255,255,255";return{"grey-text-dark":`rgb(${t})`,"grey-text-light":`rgba(${t},0.50)`,"grey-ui-dark":`rgba(${t},0.125)`,"grey-ui-light":`rgba(${t},0.05)`}},du=(e,r,t,n=no)=>{const a={"grey-text-dark":t["grey-text-dark"],"grey-text-light":t["grey-text-light"],"grey-ui-dark":t["grey-ui-dark"],"grey-ui-light":t["grey-ui-light"],"primary-text":t["primary-text"]};if(e!=null&&e.startsWith("#")){const o=ro(e);o!==null&&Object.assign(a,_u(o))}if(r!=null&&r.startsWith("#")){const o=ro(r);o!==null&&(a["primary-text"]=to({...o,luminanceThreshold:n})?"black":"white")}return a},pu=(e,r)=>e||r,fu=(e,r,t)=>{const n=Object.entries(e).map(([a,o])=>[a,pu(t?t[o]:null,r[a])]);return Object.fromEntries(n)},ao=(e,r,t)=>{const n=fu(e,r,t);return t?{...r,...n,...du(n.background,n.primary,r)}:{...r}},mu=e=>ao(lu,su,e),oo=e=>ao(iu,ou,e),gn=e=>{if(!e)return eo;switch(e.shapes){case"rounded":return Xa;case"rectangle":return uu;case"pill":return cu;default:return eo}},Ot=(e="",r)=>r.map(([t,n])=>`--rc-${e}-${t}: ${n}`).join("; "),so=e=>{const r=Ot("color",Object.entries(mu(e))),t=Ot("shape",Object.entries(gn(e)));return[r,t].join("; ")},hu=e=>{const r=Ot("color",Object.entries(oo(e))),t=Ot("shape",Object.entries(gn(e)));return[r,t].join("; ")};class vn{constructor(r){this.brandingAppearance=r}get shape(){return gn(this.brandingAppearance)}get formColors(){return oo(this.brandingAppearance)}get formStyleVars(){return hu(this.brandingAppearance)}get productInfoStyleVars(){return so(this.brandingAppearance)}}var yu=k('<div class="rcb-header-wrapper svelte-1a9rihw"><!> <div class="rcb-step-title svelte-1a9rihw"><!></div></div> <!>',1),gu=k('<div class="rcb-stripe-elements-container svelte-1a9rihw"><!></div> <!>',1),vu=k("<!> <!>",1),bu=k("<!> <form><!></form>",1),Pu=k("<div><!></div>");const wu={hash:"svelte-1a9rihw",code:`.rcb-header-wrapper.svelte-1a9rihw {display:flex;align-items:center;}.rcb-step-title.svelte-1a9rihw {margin-left:10px;}.rcb-stripe-elements-container.svelte-1a9rihw {width:100%;
93
+ }`};function uo(e){H(e,hu);var r=mu();h(e,r)}const yu={error:"#f2545b",warning:"#f4e971",focus:"#000080",accent:"#767676",primary:"#000000","primary-text":"#ffffff",white:"#ffffff","grey-text-dark":"rgba(0,0,0,1)","grey-text-light":"rgba(0,0,0,0.5)","grey-ui-dark":"rgba(0,0,0,0.125)","grey-ui-light":"rgba(0,0,0,0.005)","input-background":"white",background:"white"},gu={error:"#f2545b",warning:"#f4e971",focus:"#000080",accent:"#767676",primary:"#ffffff","primary-text":"#000000",white:"#ffffff","grey-text-dark":"rgba(255,255,255,1)","grey-text-light":"rgba(255,255,255,0.5)","grey-ui-dark":"rgba(255,255,255,0.125)","grey-ui-light":"rgba(255,255,255,0.005)","input-background":"#000000",background:"#000000"},co={error:"color_error",focus:"color_accent",accent:"color_accent",primary:"color_buttons_primary"},vu={...co,"input-background":"color_form_bg",background:"color_form_bg"},bu={...co,"input-background":"color_product_info_bg",background:"color_product_info_bg"},_o={"input-border-radius":"12px","input-button-border-radius":"12px","modal-border-radius":"16px"},wu={"input-border-radius":"0px","input-button-border-radius":"0px","modal-border-radius":"0px"},Pu={"input-border-radius":"24px","input-button-border-radius":"56px","modal-border-radius":"16px"},po=_o,fo=e=>e.length==7?{r:parseInt(e.slice(1,3),16),g:parseInt(e.slice(3,5),16),b:parseInt(e.slice(5,7),16)}:e.length==4?{r:parseInt(e[1],16),g:parseInt(e[2],16),b:parseInt(e[3],16)}:null,mo=({r:e,g:r,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(e)+.7152*a(r)+.0722*a(t)>n},ho=.37,ku=(e,r=ho)=>{const t=mo({...e,luminanceThreshold:r})?"0,0,0":"255,255,255";return{"grey-text-dark":`rgb(${t})`,"grey-text-light":`rgba(${t},0.50)`,"grey-ui-dark":`rgba(${t},0.125)`,"grey-ui-light":`rgba(${t},0.05)`}},Eu=(e,r,t,n=ho)=>{const a={"grey-text-dark":t["grey-text-dark"],"grey-text-light":t["grey-text-light"],"grey-ui-dark":t["grey-ui-dark"],"grey-ui-light":t["grey-ui-light"],"primary-text":t["primary-text"]};if(e!=null&&e.startsWith("#")){const o=fo(e);o!==null&&Object.assign(a,ku(o))}if(r!=null&&r.startsWith("#")){const o=fo(r);o!==null&&(a["primary-text"]=mo({...o,luminanceThreshold:n})?"black":"white")}return a},xu=(e,r)=>e||r,Su=(e,r,t)=>{const n=Object.entries(e).map(([a,o])=>[a,xu(t?t[o]:null,r[a])]);return Object.fromEntries(n)},yo=(e,r,t)=>{const n=Su(e,r,t);return t?{...r,...n,...Eu(n.background,n.primary,r)}:{...r}},Iu=e=>yo(bu,gu,e),go=e=>yo(vu,yu,e),Tn=e=>{if(!e)return po;switch(e.shapes){case"rounded":return _o;case"rectangle":return wu;case"pill":return Pu;default:return po}},Lt=(e="",r)=>r.map(([t,n])=>`--rc-${e}-${t}: ${n}`).join("; "),vo=e=>{const r=Lt("color",Object.entries(Iu(e))),t=Lt("shape",Object.entries(Tn(e)));return[r,t].join("; ")},qu=e=>{const r=Lt("color",Object.entries(go(e))),t=Lt("shape",Object.entries(Tn(e)));return[r,t].join("; ")};class Fn{constructor(r){this.brandingAppearance=r}get shape(){return Tn(this.brandingAppearance)}get formColors(){return go(this.brandingAppearance)}get formStyleVars(){return qu(this.brandingAppearance)}get productInfoStyleVars(){return vo(this.brandingAppearance)}}var Tu=x('<div class="rcb-header-wrapper svelte-1a9rihw"><!> <div class="rcb-step-title svelte-1a9rihw"><!></div></div> <!>',1),Fu=x('<div class="rcb-stripe-elements-container svelte-1a9rihw"><!></div> <!>',1),Au=x("<!> <!>",1),Ou=x("<!> <form><!></form>",1),Du=x("<div><!></div>");const Mu={hash:"svelte-1a9rihw",code:`.rcb-header-wrapper.svelte-1a9rihw {display:flex;align-items:center;}.rcb-step-title.svelte-1a9rihw {margin-left:10px;}.rcb-stripe-elements-container.svelte-1a9rihw {width:100%;
94
94
 
95
95
  /* The standard height of the payment form from Stripe */
96
- /* Added to avoid the card getting smaller while loading */min-height:320px;margin-top:32px;margin-bottom:24px;}`};function ku(e,r){var oe;X(r,!1),L(e,wu);let t=v(r,"onClose",8),n=v(r,"onContinue",8),a=v(r,"paymentInfoCollectionMetadata",8),o=v(r,"processing",12,!1),s=v(r,"productDetails",8),i=v(r,"purchaseOptionToUse",8),l=v(r,"brandingInfo",8);const u=a().data.client_secret;let c=ke(null),d=ke(),_=ke(),p=ke(void 0),m=ke(!1);qt(async()=>{const z=a().data.publishable_api_key,Q=a().data.stripe_account_id;if(!z||!Q)throw new Error("Stripe publishable key or account ID not found");F(c,await Jl(z,{stripeAccount:Q}))});const g=async()=>{if(o()||!f(c)||!f(_))return;o(!0);const z=await f(c).confirmSetup({elements:f(_),redirect:"if_required"});z.error?(o(!1),h(z.error)&&F(p,z.error.message)):n()()};function h(z){const Q=["card_declined","expired_card","incorrect_cvc","incorrect_number"];return!(z.type==="card_error"&&z.code&&Q.includes(z.code))}const P=()=>{F(p,void 0)},A=new vn((oe=l())==null?void 0:oe.appearance);let x=A.shape,b=A.formColors;const S=Pr(wr)||Le.fallback(),B=S.locale||S.fallbackLocale,q=(z=>{if(["ca","hi","uk"].includes(z))return"auto";const pe={zh_Hans:"zh",zh_Hant:"zh"};return Object.keys(pe).includes(z)?pe[z]:z})(B);gr(()=>f(d),()=>{f(d)&&f(d)._elements.length>0&&F(_,f(d))}),Jt(),Ue();var Y=Pu(),re=E(Y);R(re,()=>f(c)&&u,z=>{var Q=bu(),pe=N(Q);yn(pe,{children:(ir,Rt)=>{var te=yu(),ue=N(te),De=E(ue);tu(De);var Be=D(De,2),$e=E(Be);ie($e,{get key(){return O.StateNeedsPaymentInfoPaymentStepTitle}});var Ke=D(ue,2);mn(Ke,{$$events:{click(...ye){var ze;(ze=t())==null||ze.apply(this,ye)}}}),y(ir,te)},$$slots:{default:!0}});var G=D(pe,2),Se=E(G),sr=$(()=>({borderRadius:x["input-border-radius"],fontSizeBase:"16px",fontSizeSm:"16px",spacingGridRow:"16px",focusBoxShadow:"none",colorDanger:b.error,colorTextPlaceholder:b["grey-text-light"],colorText:b["grey-text-dark"],colorTextSecondary:b["grey-text-light"]})),Er=$(()=>({".Input":{boxShadow:"none",border:`2px solid ${b["grey-ui-dark"]}`,backgroundColor:"transparent",color:b["grey-text-dark"]},".Input:focus":{border:`2px solid ${b.focus}`,outline:"none"},".Label":{marginBottom:"8px",fontWeight:"500",lineHeight:"22px",color:b["grey-text-dark"]},".Input--invalid":{boxShadow:"none"},".Tab":{boxShadow:"none",backgroundColor:"transparent",color:b["grey-text-light"],border:`2px solid ${b["grey-ui-dark"]}`},".Tab:hover, .Tab:focus, .Tab--selected, .Tab--selected:hover, .Tab--selected:focus":{boxShadow:"none",color:b["grey-text-dark"]},".Tab:focus, .Tab--selected, .Tab--selected:hover, .Tab--selected:focus":{border:`2px solid ${b.focus}`},".TabIcon":{fill:b["grey-text-light"]},".TabIcon--selected":{fill:b["grey-text-dark"]},".Block":{boxShadow:"none",backgroundColor:"transparent",border:`2px solid ${b["grey-ui-dark"]}`}}));zl(Se,{get stripe(){return f(c)},clientSecret:u,loader:"always",locale:q,get elements(){return f(d)},set elements(ir){F(d,ir)},theme:"stripe",get variables(){return f(sr)},get rules(){return f(Er)},children:(ir,Rt)=>{var te=vu(),ue=N(te);Nr(ue,{children:(Be,$e)=>{var Ke=gu(),ye=N(Ke),ze=E(ye),Ve=$(()=>{var Pe;return{business:(Pe=l())!=null&&Pe.app_name?{name:l().app_name}:void 0,layout:{type:"tabs"}}});Bl(ze,{get options(){return f(Ve)},$$events:{change:Pe=>{F(m,Pe.detail.complete)}}});var mr=D(ye,2);R(mr,()=>f(p),Pe=>{var He=$(()=>S.translate(O.StateErrorButtonTryAgain));hn(Pe,{title:null,type:"error",get closeButtonTitle(){return f(He)},onContinue:P,brandingInfo:null,children:(Me,Xe)=>{var fe=ot();W(()=>ar(fe,f(p))),y(Me,fe)},$$slots:{default:!0,icon:(Me,Xe)=>{za(Me)}}})}),W(()=>ye.hidden=!!f(p)),y(Be,Ke)},$$slots:{default:!0}});var De=D(ue,2);fn(De,{children:(Be,$e)=>{var Ke=ae(),ye=N(Ke);R(ye,()=>!f(p),ze=>{ut(ze,{children:(Ve,mr)=>{var Pe=$(()=>o()||!f(m));pn(Ve,{get disabled(){return f(Pe)},testId:"PayButton",children:(He,Me)=>{var Xe=ae(),fe=N(Xe);R(fe,o,lr=>{$a(lr)},lr=>{var Ut=ae(),Lt=N(Ut);R(Lt,()=>{var Lr,xo;return(xo=(Lr=s().subscriptionOptions)==null?void 0:Lr[i().id])==null?void 0:xo.trial},Lr=>{ie(Lr,{get key(){return O.StateNeedsPaymentInfoButtonStartTrial}})},Lr=>{ie(Lr,{get key(){return O.StateNeedsPaymentInfoButtonPay}})},!0),y(lr,Ut)}),y(He,Xe)},$$slots:{default:!0}})},$$slots:{default:!0}})}),y(Be,Ke)},$$slots:{default:!0}}),y(ir,te)},$$slots:{default:!0},$$legacy:!0}),It("submit",G,Fa(g)),y(z,Q)},z=>{dn(z)}),y(e,Y),ee()}function Eu(e){return e.trim()===""?"You need to provide your email address to continue.":e.match(/^[^@]+@[^@]+\.[^@]+$/)?null:"Email is not valid. Please provide a valid email address."}function xu(e){if(e&&!e.match(/^[A-Z]{3}$/)){const r=`Currency code ${e} is not valid. Please provide a valid ISO 4217 currency code.`;throw Z.errorLog(r),new _e(he.ConfigurationError,r)}}var Iu=k("<span><!></span> <!>",1),Su=k('<div class="form-error svelte-1rq8p9w"> </div>'),qu=k('<div class="form-container svelte-1rq8p9w"><div class="form-label svelte-1rq8p9w"><label for="email"><!></label></div> <div><input name="email" autocapitalize="off" class="svelte-1rq8p9w"></div> <!></div>'),Tu=k('<div class="container svelte-1rq8p9w"><!> <form class="svelte-1rq8p9w"><!> <!></form></div>');const Fu={hash:"svelte-1rq8p9w",code:".container.svelte-1rq8p9w {display:flex;flex-direction:column;flex-grow:1;}form.svelte-1rq8p9w {display:flex;flex-direction:column;min-height:100%;flex-grow:1;}.form-container.svelte-1rq8p9w {display:flex;flex-direction:column;width:100%;margin-top:32px;margin-bottom:16px;}.form-label.svelte-1rq8p9w {margin-top:8px;margin-bottom:8px;display:block;font-weight:500;line-height:22px;}.form-input.error.svelte-1rq8p9w input:where(.svelte-1rq8p9w) {border-color:var(--rc-color-error);}.form-error.svelte-1rq8p9w {margin-top:4px;font-size:16px;line-height:20px;min-height:40px;color:var(--rc-color-error);}input.svelte-1rq8p9w {width:100%;box-sizing:border-box;padding:8px;border:2px solid var(--rc-color-grey-ui-dark);border-radius:var(--rc-shape-input-border-radius);font-size:16px;height:48px;padding:6px 14px;background:var(--rc-color-input-background);color:inherit;}input.svelte-1rq8p9w:focus {outline:none;border:2px solid var(--rc-color-focus);}"};function Au(e,r){X(r,!1),L(e,Fu);const t=ke(),n=ke(),a=ke();let o=v(r,"onContinue",8),s=v(r,"onClose",8),i=v(r,"processing",8),l=v(r,"lastError",8);const u=async()=>{const h=Eu(f(t));h?F(n,h):o()({email:f(t)})};Ls(async()=>{var h;F(n,((h=l())==null?void 0:h.message)??"")});const c=Pr(wr)||Le.fallback();gr(()=>{},()=>{F(t,"")}),gr(()=>{},()=>{F(n,"")}),gr(()=>f(n),()=>{F(a,f(n)?"error":"")}),Jt(),Ue();var d=Tu(),_=E(d);yn(_,{children:(h,P)=>{var A=Iu(),x=N(A),b=E(x);ie(b,{get key(){return O.StateNeedsAuthInfoEmailStepTitle}});var S=D(x,2);mn(S,{$$events:{click(...B){var I;(I=s())==null||I.apply(this,B)}}}),y(h,A)},$$slots:{default:!0}});var p=D(_,2),m=E(p);Nr(m,{children:(h,P)=>{var A=qu(),x=E(A),b=E(x),S=E(b);ie(S,{get key(){return O.StateNeedsAuthInfoEmailInputLabel}});var B=D(x,2),I=E(B);W(()=>J(I,"placeholder",c.translate(O.StateNeedsAuthInfoEmailInputPlaceholder)));var q=D(B,2);R(q,()=>f(n),Y=>{var re=Su(),oe=E(re);W(()=>ar(oe,f(n))),y(Y,re)}),W(()=>un(B,`form-input ${f(a)??""} svelte-1rq8p9w`)),Cs(I,()=>f(t),Y=>F(t,Y)),y(h,A)},$$slots:{default:!0}});var g=D(m,2);fn(g,{children:(h,P)=>{ut(h,{children:(A,x)=>{pn(A,{get disabled(){return i()},type:"submit",children:(b,S)=>{var B=ae(),I=N(B);R(I,i,q=>{$a(q)},q=>{ie(q,{get key(){return O.StateNeedsAuthInfoButtonContinue}})}),y(b,B)},$$slots:{default:!0}})},$$slots:{default:!0}})},$$slots:{default:!0}}),It("submit",p,Fa(u)),y(e,d),ee()}var Ou=k('<div class="rcb-modal-backdrop svelte-17tslso"><!></div>');const Du={hash:"svelte-17tslso",code:".rcb-modal-backdrop.svelte-17tslso {position:fixed;top:0;left:0;right:0;min-width:100%;width:100vw;width:100dvw;min-height:100%;height:100vh;height:100dvh;background-color:rgba(40, 40, 40, 0.75);display:flex;flex-direction:column;justify-content:space-around;z-index:1000001;}"};function Mu(e,r){L(e,Du);var t=Ou(),n=E(t);ce(n,r,"default",{}),y(e,t)}var Nu=k('<div class="rcb-modal-container svelte-15w05wv"><main class="rcb-modal-main svelte-15w05wv"><!></main></div>');const Cu={hash:"svelte-15w05wv",code:`.rcb-modal-container.svelte-15w05wv {width:100%;}.rcb-modal-main.svelte-15w05wv {box-sizing:border-box;border-radius:var(--rc-shape-modal-border-radius);background-color:var(--rc-color-background);color:var(--rc-color-grey-text-dark);padding:40px;flex-direction:column;display:flex;}
96
+ /* Added to avoid the card getting smaller while loading */min-height:320px;margin-top:32px;margin-bottom:24px;}`};function Nu(e,r){var we;ne(r,!1),H(e,Mu);let t=g(r,"onClose",8),n=g(r,"onContinue",8),a=g(r,"paymentInfoCollectionMetadata",8),o=g(r,"processing",12,!1),s=g(r,"productDetails",8),i=g(r,"purchaseOptionToUse",8),l=g(r,"brandingInfo",8);const u=a().data.client_secret;let c=Se(null),d=Se(),_=Se(),f=Se(void 0),m=Se(!1);Ct(async()=>{const Y=a().data.publishable_api_key,M=a().data.stripe_account_id;if(!Y||!M)throw new Error("Stripe publishable key or account ID not found");A(c,await lu(Y,{stripeAccount:M}))});const y=async()=>{if(o()||!p(c)||!p(_)||!u)return;o(!0);const Y=u.startsWith("seti_");let M;Y?M=(await p(c).confirmSetup({elements:p(_),redirect:"if_required"})).error:M=(await p(c).confirmPayment({elements:p(_),redirect:"if_required"})).error,M?(o(!1),w(M)&&A(f,M.message)):n()()};function w(Y){const M=["card_declined","expired_card","incorrect_cvc","incorrect_number"];return!(Y.type==="card_error"&&Y.code&&M.includes(Y.code))}const P=()=>{A(f,void 0)},E=new Fn((we=l())==null?void 0:we.appearance);let I=E.shape,b=E.formColors;const v=xr(Sr)||Ve.fallback(),T=v.locale||v.fallbackLocale,O=(Y=>{if(["ca","hi","uk"].includes(Y))return"auto";const se={zh_Hans:"zh",zh_Hant:"zh"};return Object.keys(se).includes(Y)?se[Y]:Y})(T);kr(()=>p(d),()=>{p(d)&&p(d)._elements.length>0&&A(_,p(d))}),sn(),ze();var G=Du(),D=q(G);{var oe=Y=>{var M=Ou(),se=j(M);qn(se,{children:(Ke,qr)=>{var ir=Tu(),Xe=j(ir),yr=q(Xe);fu(yr);var ke=N(yr,2),gr=q(ke);ue(gr,{get key(){return C.StateNeedsPaymentInfoPaymentStepTitle}});var L=N(Xe,2);Sn(L,{$$events:{click(...$){var de;(de=t())==null||de.apply(this,$)}}}),h(Ke,ir)},$$slots:{default:!0}});var Pe=N(se,2),sr=q(Pe),hr=re(()=>({borderRadius:I["input-border-radius"],fontSizeBase:"16px",fontSizeSm:"16px",spacingGridRow:"16px",focusBoxShadow:"none",colorDanger:b.error,colorTextPlaceholder:b["grey-text-light"],colorText:b["grey-text-dark"],colorTextSecondary:b["grey-text-light"]})),Wt=re(()=>({".Input":{boxShadow:"none",border:`2px solid ${b["grey-ui-dark"]}`,backgroundColor:b["input-background"],color:b["grey-text-dark"]},".Input:focus":{border:`2px solid ${b.focus}`,outline:"none"},".Label":{marginBottom:"8px",fontWeight:"500",lineHeight:"22px",color:b["grey-text-dark"]},".Input--invalid":{boxShadow:"none"},".Tab":{boxShadow:"none",backgroundColor:"transparent",color:b["grey-text-light"],border:`2px solid ${b["grey-ui-dark"]}`},".Tab:hover, .Tab:focus, .Tab--selected, .Tab--selected:hover, .Tab--selected:focus":{boxShadow:"none",color:b["grey-text-dark"]},".Tab:focus, .Tab--selected, .Tab--selected:hover, .Tab--selected:focus":{border:`2px solid ${b.focus}`},".TabIcon":{fill:b["grey-text-light"]},".TabIcon--selected":{fill:b["grey-text-dark"]},".Block":{boxShadow:"none",backgroundColor:"transparent",border:`2px solid ${b["grey-ui-dark"]}`}}));eu(sr,{get stripe(){return p(c)},clientSecret:u,loader:"always",locale:O,theme:"stripe",get variables(){return p(hr)},get rules(){return p(Wt)},get elements(){return p(d)},set elements(Ke){A(d,Ke)},children:(Ke,qr)=>{var ir=Au(),Xe=j(ir);Lr(Xe,{children:(ke,gr)=>{var L=Fu(),$=j(L),de=q($),Ie=re(()=>{var Ee;return{business:(Ee=l())!=null&&Ee.app_name?{name:l().app_name}:void 0,layout:{type:"tabs"}}});$l(de,{get options(){return p(Ie)},$$events:{change:Ee=>{A(m,Ee.detail.complete)}}});var $e=N($,2);{var je=Ee=>{var He=re(()=>v.translate(C.StateErrorButtonTryAgain));In(Ee,{title:null,type:"error",get closeButtonTitle(){return p(He)},onContinue:P,brandingInfo:null,children:(vr,Ae)=>{var Gr=_t();Z(()=>ar(Gr,p(f))),h(vr,Gr)},$$slots:{default:!0,icon:(vr,Ae)=>{eo(vr)}}})};U($e,Ee=>{p(f)&&Ee(je)})}Z(()=>$.hidden=!!p(f)),h(ke,L)},$$slots:{default:!0}});var yr=N(Xe,2);xn(yr,{children:(ke,gr)=>{var L=ie(),$=j(L);{var de=Ie=>{mt(Ie,{children:($e,je)=>{var Ee=re(()=>o()||!p(m));En($e,{get disabled(){return p(Ee)},testId:"PayButton",children:(He,vr)=>{var Ae=ie(),Gr=j(Ae);{var Zt=br=>{uo(br)},Hn=br=>{var Qt=ie(),Q=j(Qt);{var Tr=lr=>{ue(lr,{get key(){return C.StateNeedsPaymentInfoButtonStartTrial}})},Yn=lr=>{ue(lr,{get key(){return C.StateNeedsPaymentInfoButtonPay}})};U(Q,lr=>{var jo,Ro;(Ro=(jo=s().subscriptionOptions)==null?void 0:jo[i().id])!=null&&Ro.trial?lr(Tr):lr(Yn,!1)},!0)}h(br,Qt)};U(Gr,br=>{o()?br(Zt):br(Hn,!1)})}h(He,Ae)},$$slots:{default:!0}})},$$slots:{default:!0}})};U($,Ie=>{p(f)||Ie(de)})}h(ke,L)},$$slots:{default:!0}}),h(Ke,ir)},$$slots:{default:!0},$$legacy:!0}),Mt("submit",Pe,La(y)),h(Y,M)},_e=Y=>{kn(Y)};U(D,Y=>{p(c)&&u?Y(oe):Y(_e,!1)})}h(e,G),ae()}function Cu(e){return e.trim()===""?"You need to provide your email address to continue.":e.match(/^[^@]+@[^@]+\.[^@]+$/)?null:"Email is not valid. Please provide a valid email address."}function ju(e){if(e&&!e.match(/^[A-Z]{3}$/)){const r=`Currency code ${e} is not valid. Please provide a valid ISO 4217 currency code.`;throw X.errorLog(r),new fe(ge.ConfigurationError,r)}}var Ru=x("<span><!></span> <!>",1),Uu=x('<div class="form-error svelte-1rq8p9w"> </div>'),Lu=x('<div class="form-container svelte-1rq8p9w"><div class="form-label svelte-1rq8p9w"><label for="email"><!></label></div> <div><input name="email" autocapitalize="off" class="svelte-1rq8p9w"></div> <!></div>'),Bu=x('<div class="container svelte-1rq8p9w"><!> <form class="svelte-1rq8p9w"><!> <!></form></div>');const zu={hash:"svelte-1rq8p9w",code:".container.svelte-1rq8p9w {display:flex;flex-direction:column;flex-grow:1;}form.svelte-1rq8p9w {display:flex;flex-direction:column;min-height:100%;flex-grow:1;}.form-container.svelte-1rq8p9w {display:flex;flex-direction:column;width:100%;margin-top:32px;margin-bottom:16px;}.form-label.svelte-1rq8p9w {margin-top:8px;margin-bottom:8px;display:block;font-weight:500;line-height:22px;}.form-input.error.svelte-1rq8p9w input:where(.svelte-1rq8p9w) {border-color:var(--rc-color-error);}.form-error.svelte-1rq8p9w {margin-top:4px;font-size:16px;line-height:20px;min-height:40px;color:var(--rc-color-error);}input.svelte-1rq8p9w {width:100%;box-sizing:border-box;padding:8px;border:2px solid var(--rc-color-grey-ui-dark);border-radius:var(--rc-shape-input-border-radius);font-size:16px;height:48px;padding:6px 14px;background:var(--rc-color-input-background);color:inherit;}input.svelte-1rq8p9w:focus {outline:none;border:2px solid var(--rc-color-focus);}"};function Vu(e,r){ne(r,!1),H(e,zu);const t=Se(),n=Se(),a=Se();let o=g(r,"onContinue",8),s=g(r,"onClose",8),i=g(r,"processing",8),l=g(r,"lastError",8);const u=async()=>{const w=Cu(p(t));w?A(n,w):o()({email:p(t)})};ei(async()=>{var w;A(n,((w=l())==null?void 0:w.message)??"")});const c=xr(Sr)||Ve.fallback();kr(()=>{},()=>{A(t,"")}),kr(()=>{},()=>{A(n,"")}),kr(()=>p(n),()=>{A(a,p(n)?"error":"")}),sn(),ze();var d=Bu(),_=q(d);qn(_,{children:(w,P)=>{var E=Ru(),I=j(E),b=q(I);ue(b,{get key(){return C.StateNeedsAuthInfoEmailStepTitle}});var v=N(I,2);Sn(v,{$$events:{click(...T){var k;(k=s())==null||k.apply(this,T)}}}),h(w,E)},$$slots:{default:!0}});var f=N(_,2),m=q(f);Lr(m,{children:(w,P)=>{var E=Lu(),I=q(E),b=q(I),v=q(b);ue(v,{get key(){return C.StateNeedsAuthInfoEmailInputLabel}});var T=N(I,2),k=q(T);Z(()=>K(k,"placeholder",c.translate(C.StateNeedsAuthInfoEmailInputPlaceholder)));var O=N(T,2);{var G=D=>{var oe=Uu(),_e=q(oe);Z(()=>ar(_e,p(n))),h(D,oe)};U(O,D=>{p(n)&&D(G)})}Z(()=>gn(T,`form-input ${p(a)??""} svelte-1rq8p9w`)),Js(k,()=>p(t),D=>A(t,D)),h(w,E)},$$slots:{default:!0}});var y=N(m,2);xn(y,{children:(w,P)=>{mt(w,{children:(E,I)=>{En(E,{get disabled(){return i()},type:"submit",children:(b,v)=>{var T=ie(),k=j(T);{var O=D=>{uo(D)},G=D=>{ue(D,{get key(){return C.StateNeedsAuthInfoButtonContinue}})};U(k,D=>{i()?D(O):D(G,!1)})}h(b,T)},$$slots:{default:!0}})},$$slots:{default:!0}})},$$slots:{default:!0}}),Mt("submit",f,La(u)),h(e,d),ae()}var Hu=x('<div class="rcb-modal-backdrop svelte-17tslso"><!></div>');const Yu={hash:"svelte-17tslso",code:".rcb-modal-backdrop.svelte-17tslso {position:fixed;top:0;left:0;right:0;min-width:100%;width:100vw;width:100dvw;min-height:100%;height:100vh;height:100dvh;background-color:rgba(40, 40, 40, 0.75);display:flex;flex-direction:column;justify-content:space-around;z-index:1000001;}"};function Gu(e,r){H(e,Yu);var t=Hu(),n=q(t);pe(n,r,"default",{}),h(e,t)}var Wu=x('<div class="rcb-modal-container svelte-15w05wv"><main class="rcb-modal-main svelte-15w05wv"><!></main></div>');const Zu={hash:"svelte-15w05wv",code:`.rcb-modal-container.svelte-15w05wv {width:100%;}.rcb-modal-main.svelte-15w05wv {box-sizing:border-box;border-radius:var(--rc-shape-modal-border-radius);background-color:var(--rc-color-background);color:var(--rc-color-grey-text-dark);padding:40px;flex-direction:column;display:flex;}
97
97
 
98
98
  @media screen and (max-width: 960px) {.rcb-modal-container.svelte-15w05wv {width:calc(100% - 32px);min-width:300px;max-width:640px;margin:auto;}.rcb-modal-main.svelte-15w05wv {min-width:300px;max-width:640px;padding:32px;}
99
- }`};function io(e,r){L(e,Cu);let t=v(r,"style",8,"");var n=Nu(),a=E(n),o=E(a);ce(o,r,"default",{}),W(()=>J(a,"style",t())),y(e,n)}function ju(e,r){let t=v(r,"condition",8,!1);var n=ae(),a=N(n);R(a,t,o=>{Mu(o,{children:(s,i)=>{var l=ae(),u=N(l);ce(u,r,"default",{}),y(s,l)},$$slots:{default:!0}})},o=>{var s=ae(),i=N(s);ce(i,r,"default",{}),y(o,s)}),y(e,n)}const Ru=`<svg width="24" height="24" viewBox="0 0 24 24" fill="currentColor"
99
+ }`};function bo(e,r){H(e,Zu);let t=g(r,"style",8,"");var n=Wu(),a=q(n),o=q(a);pe(o,r,"default",{}),Z(()=>K(a,"style",t())),h(e,n)}function Qu(e,r){let t=g(r,"condition",8,!1);var n=ie(),a=j(n);{var o=i=>{Gu(i,{children:(l,u)=>{var c=ie(),d=j(c);pe(d,r,"default",{}),h(l,c)},$$slots:{default:!0}})},s=i=>{var l=ie(),u=j(l);pe(u,r,"default",{}),h(i,l)};U(a,i=>{t()?i(o):i(s,!1)})}h(e,n)}const Ju=`<svg width="24" height="24" viewBox="0 0 24 24" fill="currentColor"
100
100
  xmlns="http://www.w3.org/2000/svg">
101
101
  <g opacity="0.5" clip-path="url(#clip0_344_3390)">
102
102
  <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"
@@ -108,28 +108,26 @@
108
108
  </clipPath>
109
109
  </defs>
110
110
  </svg>
111
- `;var Uu=k('<div style="color:var(--rc-color-gray-text-dark);"><!></div>');function Lu(e){var r=Uu(),t=E(r);Mr(t,()=>Ru),y(e,r)}var Bu=k('<div class="svelte-ha0rzs">Sandbox</div>');const zu={hash:"svelte-ha0rzs",code:"div.svelte-ha0rzs {background-color:var(--rc-color-warning);color:rgba(0, 0, 0, 1);font-size:10px;font-weight:bold;text-transform:uppercase;padding:4px 10px;line-height:10px;border-radius:9px;margin:0px;margin-left:16px;}"};function Vu(e){L(e,zu);var r=Bu();y(e,r)}var Hu=k('<div class="rcb-ui-layout svelte-1veyi7r"><!></div>');const Yu={hash:"svelte-1veyi7r",code:`.rcb-ui-layout.svelte-1veyi7r {width:100vw;margin-right:auto;display:flex;justify-content:center;align-items:flex-start;position:relative;padding:0px 80px;box-sizing:border-box;}
111
+ `;var Ku=x('<div style="color:var(--rc-color-gray-text-dark);"><!></div>');function Xu(e){var r=Ku(),t=q(r);Ur(t,()=>Ju),h(e,r)}var $u=x('<div class="svelte-ha0rzs">Sandbox</div>');const ec={hash:"svelte-ha0rzs",code:"div.svelte-ha0rzs {background-color:var(--rc-color-warning);color:rgba(0, 0, 0, 1);font-size:10px;font-weight:bold;text-transform:uppercase;padding:4px 10px;line-height:10px;border-radius:9px;margin:0px;margin-left:16px;}"};function rc(e){H(e,ec);var r=$u();h(e,r)}var tc=x('<div class="rcb-ui-layout svelte-1veyi7r"><!></div>');const nc={hash:"svelte-1veyi7r",code:`.rcb-ui-layout.svelte-1veyi7r {width:100vw;margin-right:auto;display:flex;justify-content:center;align-items:flex-start;position:relative;padding:0px 80px;box-sizing:border-box;}
112
112
 
113
113
  @media screen and (max-width: 960px) {.rcb-ui-layout.svelte-1veyi7r {flex-direction:column;align-items:center;justify-content:center;height:100%;min-width:100%;padding:16px 0;}
114
114
  }
115
115
 
116
116
  @media screen and (max-width: 960px) and (max-height: 960px) {.rcb-ui-layout.svelte-1veyi7r {overflow-y:scroll;justify-content:flex-start;}
117
- }`};function Gu(e,r){L(e,Yu);let t=v(r,"style",8,"");var n=Hu(),a=E(n);ce(a,r,"default",{}),W(()=>J(n,"style",t())),y(e,n)}var Wu=k('<div class="rcb-ui-container svelte-4xe07"><!></div>');const Zu={hash:"svelte-4xe07",code:`.rcb-ui-container.svelte-4xe07 {color-scheme:none;font-size:16px;line-height:1.5em;font-weight:400;font-family:-apple-system, "system-ui", "Segoe UI", Roboto, Oxygen, Ubuntu,
118
- Cantarell, "Open Sans", "Helvetica Neue", sans-serif;}`};function Qu(e,r){L(e,Zu);let t=v(r,"style",8,"");var n=Wu(),a=E(n);ce(a,r,"default",{}),W(()=>J(n,"style",t())),y(e,n)}var Ju=k("<!> <!>",1),$u=k('<div class="rcb-ui-aside svelte-2nbj9u"><!></div>');const Ku={hash:"svelte-2nbj9u",code:`.rcb-ui-aside.svelte-2nbj9u {margin-right:16px;flex:320px 1 0;max-width:480px;}
117
+ }`};function ac(e,r){H(e,nc);let t=g(r,"style",8,"");var n=tc(),a=q(n);pe(a,r,"default",{}),Z(()=>K(n,"style",t())),h(e,n)}var oc=x('<div class="rcb-ui-container svelte-4xe07"><!></div>');const sc={hash:"svelte-4xe07",code:`.rcb-ui-container.svelte-4xe07 {color-scheme:none;font-size:16px;line-height:1.5em;font-weight:400;font-family:-apple-system, "system-ui", "Segoe UI", Roboto, Oxygen, Ubuntu,
118
+ Cantarell, "Open Sans", "Helvetica Neue", sans-serif;}`};function ic(e,r){H(e,sc);let t=g(r,"style",8,"");var n=oc(),a=q(n);pe(a,r,"default",{}),Z(()=>K(n,"style",t())),h(e,n)}var lc=x("<!> <!>",1),uc=x('<div class="rcb-ui-aside svelte-2nbj9u"><!></div>');const cc={hash:"svelte-2nbj9u",code:`.rcb-ui-aside.svelte-2nbj9u {margin-right:16px;flex:320px 1 0;max-width:480px;}
119
119
 
120
120
  @media screen and (max-width: 960px) {.rcb-ui-aside.svelte-2nbj9u {margin-right:0;margin-bottom:16px;min-width:100%;display:flex;flex-direction:column;align-items:center;flex:none;max-width:none;}
121
- }`};function Xu(e,r){X(r,!1),L(e,Ku);let t=v(r,"brandingAppearance",8,void 0),n=new vn(t()).productInfoStyleVars;Ue();var a=$u();J(a,"style",n);var o=E(a);io(o,{children:(s,i)=>{var l=Ju(),u=N(l);ce(u,r,"header",{});var c=D(u,2);ce(c,r,"default",{}),y(s,l)},$$slots:{default:!0}}),y(e,a),ee()}var ec=k("<!> <!>",1),rc=k('<div class="rcb-ui-main svelte-kxew5e"><!></div>');const tc={hash:"svelte-kxew5e",code:`.rcb-ui-main.svelte-kxew5e {flex:480px 1 0;max-width:640px;}
121
+ }`};function _c(e,r){ne(r,!1),H(e,cc);let t=g(r,"brandingAppearance",8,void 0),n=new Fn(t()).productInfoStyleVars;ze();var a=uc();K(a,"style",n);var o=q(a);bo(o,{children:(s,i)=>{var l=lc(),u=j(l);pe(u,r,"header",{});var c=N(u,2);pe(c,r,"default",{}),h(s,l)},$$slots:{default:!0}}),h(e,a),ae()}var dc=x("<!> <!>",1),pc=x('<div class="rcb-ui-main svelte-kxew5e"><!></div>');const fc={hash:"svelte-kxew5e",code:`.rcb-ui-main.svelte-kxew5e {flex:480px 1 0;max-width:640px;}
122
122
 
123
123
  @media screen and (max-width: 960px) {.rcb-ui-main.svelte-kxew5e {flex:none;max-width:none;min-width:100%;}
124
- }`};function nc(e,r){X(r,!1),L(e,tc);let t=v(r,"brandingAppearance",8,void 0),n=new vn(t()).formStyleVars;Ue();var a=rc();J(a,"style",n);var o=E(a);io(o,{style:"min-height: 360px;",children:(s,i)=>{var l=ec(),u=N(l);ce(u,r,"header",{});var c=D(u,2);ce(c,r,"default",{}),y(s,l)},$$slots:{default:!0}}),y(e,a),ee()}var ac=k("<!> <!>",1),oc=k("<!> <!> <!> <!> <!> <!> <!>",1),sc=k("<!> <!>",1);function ic(e,r){X(r,!1);let t=v(r,"asModal",8,!0),n=v(r,"customerEmail",12),a=v(r,"appUserId",8),o=v(r,"rcPackage",8),s=v(r,"purchaseOption",8),i=v(r,"brandingInfo",8),l=v(r,"onFinished",8),u=v(r,"onError",8),c=v(r,"onClose",8),d=v(r,"purchases",8),_=v(r,"purchaseOperationHelper",8),p=v(r,"selectedLocale",8,or),m=v(r,"defaultLocale",8,or),g=v(r,"customTranslations",24,()=>({})),h=ke(""),P=ke(null),A=ke(null),x=ke(null);const b=o().rcBillingProduct.identifier??null,S=o().rcBillingProduct.defaultPurchaseOption,B=s()?s():S;let I=ke("present-offer"),q=null;const Y=["present-offer","needs-auth-info","processing-auth-info","needs-payment-info","polling-purchase-status","loading"];nn(wr,new Le(g(),p(),m())),qt(async()=>{var G;if(F(P,o().rcBillingProduct),F(h,so((G=i())==null?void 0:G.appearance)),f(I)==="present-offer"){n()?oe():F(I,"needs-auth-info");return}});const re=()=>{c()()},oe=()=>{if(b===null){Q(new de(le.ErrorSettingUpPurchase,"Product ID was not set before purchase."));return}else f(I)==="present-offer"&&F(I,"loading");if(!n()){Q(new de(le.MissingEmailError));return}_().startPurchase(a(),b,B,n(),o().rcBillingProduct.presentedOfferingContext).then(G=>{if(G.next_action==="collect_payment_info"){F(x,null),F(I,"needs-payment-info"),F(A,G);return}if(G.next_action==="completed"){F(x,null),F(I,"success");return}}).catch(G=>{Q(G)})},z=G=>{if(f(I)==="needs-auth-info"){G&&(n(G.email),F(I,"processing-auth-info")),oe();return}if(f(I)==="needs-payment-info"){F(I,"polling-purchase-status"),_().pollCurrentPurchaseForCompletion().then(Se=>{F(I,"success"),q=Se.redemptionInfo}).catch(Se=>{Q(Se)});return}if(f(I)==="success"||f(I)==="error"){l()(q);return}F(I,"success")},Q=G=>{if(f(I)==="processing-auth-info"&&G.isRecoverable()){F(x,G),F(I,"needs-auth-info");return}F(x,G),F(I,"error")},pe=()=>{u()(f(x)??new de(le.UnknownError,"Unknown error without state set."))};Ue(),Qu(e,{children:(G,Se)=>{ju(G,{get condition(){return t()},children:(sr,Er)=>{Gu(sr,{get style(){return f(h)},children:(ir,Rt)=>{var te=sc(),ue=N(te);R(ue,()=>Y.includes(f(I)),$e=>{var Ke=$(()=>{var ye;return(ye=i())==null?void 0:ye.appearance});Xu($e,{get brandingAppearance(){return f(Ke)},children:(ye,ze)=>{var Ve=ae(),mr=N(Ve);R(mr,()=>f(P)&&B,Pe=>{var He=$(()=>{var Me;return(Me=i())==null?void 0:Me.appearance});Ua(Pe,{get productDetails(){return f(P)},get brandingAppearance(){return f(He)},purchaseOption:B})}),y(ye,Ve)},$$slots:{default:!0,header:(ye,ze)=>{yn(ye,{slot:"header",children:(Ve,mr)=>{var Pe=ac(),He=N(Pe);Ya(He,{get brandingInfo(){return i()}});var Me=D(He,2);R(Me,()=>d().isSandbox(),Xe=>{Vu(Xe)},Xe=>{Lu(Xe)}),y(Ve,Pe)},$$slots:{default:!0}})}}})});var De=D(ue,2),Be=$(()=>{var $e;return($e=i())==null?void 0:$e.appearance});nc(De,{get brandingAppearance(){return f(Be)},children:($e,Ke)=>{var ye=oc(),ze=N(ye);R(ze,()=>f(I)==="present-offer"&&f(P)&&B,fe=>{Ua(fe,{get productDetails(){return f(P)},purchaseOption:B})});var Ve=D(ze,2);R(Ve,()=>f(I)==="present-offer"&&!f(P),fe=>{dn(fe)});var mr=D(Ve,2);R(mr,()=>f(I)==="needs-auth-info"||f(I)==="processing-auth-info",fe=>{var lr=$(()=>f(I)==="processing-auth-info");Au(fe,{onContinue:z,onClose:re,get processing(){return f(lr)},get lastError(){return f(x)}})});var Pe=D(mr,2);R(Pe,()=>f(A)&&(f(I)==="needs-payment-info"||f(I)==="polling-purchase-status")&&f(P)&&B,fe=>{var lr=$(()=>f(I)==="polling-purchase-status");ku(fe,{get paymentInfoCollectionMetadata(){return f(A)},onContinue:z,onClose:re,get processing(){return f(lr)},get productDetails(){return f(P)},purchaseOptionToUse:B,get brandingInfo(){return i()}})});var He=D(Pe,2);R(He,()=>f(I)==="loading",fe=>{dn(fe)});var Me=D(He,2);R(Me,()=>f(I)==="error",fe=>{var lr=$(()=>f(x)??new de(le.UnknownError,"Unknown error without state set.")),Ut=$(()=>{var Lt;return(Lt=i())==null?void 0:Lt.support_email});Al(fe,{get brandingInfo(){return i()},get lastError(){return f(lr)},get supportEmail(){return f(Ut)},get productDetails(){return f(P)},onContinue:pe})});var Xe=D(Me,2);R(Xe,()=>f(I)==="success",fe=>{Cl(fe,{get productDetails(){return f(P)},get brandingInfo(){return i()},onContinue:z})}),y($e,ye)},$$slots:{default:!0}}),y(ir,te)},$$slots:{default:!0}})},$$slots:{default:!0}})},$$slots:{default:!0}}),ee()}function lc(e){return e.expires_date==null?!0:new Date(e.expires_date)>new Date}function uc(e,r,t,n){const a=r.product_identifier;if(a in t)return cc(e,r,t[a]);if(a in n)return _c(e,r,n[a]);throw new _e(he.CustomerInfoError,"Could not find entitlement product in subscriptions or non-subscriptions.")}function cc(e,r,t){return{identifier:e,isActive:lc(r),willRenew:fc(r,t),store:(t==null?void 0:t.store)??"unknown",latestPurchaseDate:new Date(r.purchase_date),originalPurchaseDate:new Date(r.purchase_date),expirationDate:Dt(r.expires_date),productIdentifier:r.product_identifier,unsubscribeDetectedAt:Dt(t==null?void 0:t.unsubscribe_detected_at),billingIssueDetectedAt:Dt(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"}}function _c(e,r,t){return{identifier:e,isActive:!0,willRenew:!1,store:t.store,latestPurchaseDate:new Date(r.purchase_date),originalPurchaseDate:new Date(t.original_purchase_date),expirationDate:null,productIdentifier:r.product_identifier,unsubscribeDetectedAt:null,billingIssueDetectedAt:null,isSandbox:t.is_sandbox,periodType:"normal"}}function dc(e,r,t){const n={},a={};for(const o in e){const s=uc(o,e[o],r,t);n[o]=s,s.isActive&&(a[o]=s)}return{all:n,active:a}}function Dt(e){return e==null?null:new Date(e)}function pc(e){const r=hc(e),t=e.subscriber,n=gc(t.non_subscriptions);return{entitlements:dc(t.entitlements,t.subscriptions,n),allExpirationDatesByProduct:r,allPurchaseDatesByProduct:mc(e,n),activeSubscriptions:yc(r),managementURL:t.management_url,requestDate:new Date(e.request_date),firstSeenDate:new Date(t.first_seen),originalPurchaseDate:Dt(t.original_purchase_date),originalAppUserId:e.subscriber.original_app_user_id}}function fc(e,r){if(r==null)return!1;const t=r.store=="promotional",n=e.expires_date==null,a=r.unsubscribe_detected_at!=null,o=r.billing_issues_detected_at!=null;return!(t||n||a||o)}function mc(e,r){const t={};for(const n in e.subscriber.subscriptions){const a=e.subscriber.subscriptions[n];t[n]=new Date(a.purchase_date)}for(const n in r){const a=r[n].purchase_date;a==null?t[n]=null:t[n]=new Date(a)}return t}function hc(e){const r={};for(const t in e.subscriber.subscriptions){const n=e.subscriber.subscriptions[t];n.expires_date==null?r[t]=null:r[t]=new Date(n.expires_date)}return r}function yc(e){const r=new Set,t=new Date;for(const n in e){const a=e[n];(a==null||a>t)&&r.add(n)}return r}function gc(e){const r={};for(const t in e){if(e[t].length===0)continue;const n=e[t].length;r[t]=e[t][n-1]}return r}const vc="0.14.0",bc="https://api.revenuecat.com";var Mt;(function(e){e[e.CONTINUE=100]="CONTINUE",e[e.SWITCHING_PROTOCOLS=101]="SWITCHING_PROTOCOLS",e[e.PROCESSING=102]="PROCESSING",e[e.EARLY_HINTS=103]="EARLY_HINTS",e[e.OK=200]="OK",e[e.CREATED=201]="CREATED",e[e.ACCEPTED=202]="ACCEPTED",e[e.NON_AUTHORITATIVE_INFORMATION=203]="NON_AUTHORITATIVE_INFORMATION",e[e.NO_CONTENT=204]="NO_CONTENT",e[e.RESET_CONTENT=205]="RESET_CONTENT",e[e.PARTIAL_CONTENT=206]="PARTIAL_CONTENT",e[e.MULTI_STATUS=207]="MULTI_STATUS",e[e.MULTIPLE_CHOICES=300]="MULTIPLE_CHOICES",e[e.MOVED_PERMANENTLY=301]="MOVED_PERMANENTLY",e[e.MOVED_TEMPORARILY=302]="MOVED_TEMPORARILY",e[e.SEE_OTHER=303]="SEE_OTHER",e[e.NOT_MODIFIED=304]="NOT_MODIFIED",e[e.USE_PROXY=305]="USE_PROXY",e[e.TEMPORARY_REDIRECT=307]="TEMPORARY_REDIRECT",e[e.PERMANENT_REDIRECT=308]="PERMANENT_REDIRECT",e[e.BAD_REQUEST=400]="BAD_REQUEST",e[e.UNAUTHORIZED=401]="UNAUTHORIZED",e[e.PAYMENT_REQUIRED=402]="PAYMENT_REQUIRED",e[e.FORBIDDEN=403]="FORBIDDEN",e[e.NOT_FOUND=404]="NOT_FOUND",e[e.METHOD_NOT_ALLOWED=405]="METHOD_NOT_ALLOWED",e[e.NOT_ACCEPTABLE=406]="NOT_ACCEPTABLE",e[e.PROXY_AUTHENTICATION_REQUIRED=407]="PROXY_AUTHENTICATION_REQUIRED",e[e.REQUEST_TIMEOUT=408]="REQUEST_TIMEOUT",e[e.CONFLICT=409]="CONFLICT",e[e.GONE=410]="GONE",e[e.LENGTH_REQUIRED=411]="LENGTH_REQUIRED",e[e.PRECONDITION_FAILED=412]="PRECONDITION_FAILED",e[e.REQUEST_TOO_LONG=413]="REQUEST_TOO_LONG",e[e.REQUEST_URI_TOO_LONG=414]="REQUEST_URI_TOO_LONG",e[e.UNSUPPORTED_MEDIA_TYPE=415]="UNSUPPORTED_MEDIA_TYPE",e[e.REQUESTED_RANGE_NOT_SATISFIABLE=416]="REQUESTED_RANGE_NOT_SATISFIABLE",e[e.EXPECTATION_FAILED=417]="EXPECTATION_FAILED",e[e.IM_A_TEAPOT=418]="IM_A_TEAPOT",e[e.INSUFFICIENT_SPACE_ON_RESOURCE=419]="INSUFFICIENT_SPACE_ON_RESOURCE",e[e.METHOD_FAILURE=420]="METHOD_FAILURE",e[e.MISDIRECTED_REQUEST=421]="MISDIRECTED_REQUEST",e[e.UNPROCESSABLE_ENTITY=422]="UNPROCESSABLE_ENTITY",e[e.LOCKED=423]="LOCKED",e[e.FAILED_DEPENDENCY=424]="FAILED_DEPENDENCY",e[e.UPGRADE_REQUIRED=426]="UPGRADE_REQUIRED",e[e.PRECONDITION_REQUIRED=428]="PRECONDITION_REQUIRED",e[e.TOO_MANY_REQUESTS=429]="TOO_MANY_REQUESTS",e[e.REQUEST_HEADER_FIELDS_TOO_LARGE=431]="REQUEST_HEADER_FIELDS_TOO_LARGE",e[e.UNAVAILABLE_FOR_LEGAL_REASONS=451]="UNAVAILABLE_FOR_LEGAL_REASONS",e[e.INTERNAL_SERVER_ERROR=500]="INTERNAL_SERVER_ERROR",e[e.NOT_IMPLEMENTED=501]="NOT_IMPLEMENTED",e[e.BAD_GATEWAY=502]="BAD_GATEWAY",e[e.SERVICE_UNAVAILABLE=503]="SERVICE_UNAVAILABLE",e[e.GATEWAY_TIMEOUT=504]="GATEWAY_TIMEOUT",e[e.HTTP_VERSION_NOT_SUPPORTED=505]="HTTP_VERSION_NOT_SUPPORTED",e[e.INSUFFICIENT_STORAGE=507]="INSUFFICIENT_STORAGE",e[e.NETWORK_AUTHENTICATION_REQUIRED=511]="NETWORK_AUTHENTICATION_REQUIRED"})(Mt||(Mt={}));function bn(e){return e?e.startsWith("rcb_sb_"):!1}async function Rr(e,r){const{apiKey:t,body:n,headers:a,httpConfig:o}=r,i=`${(o==null?void 0:o.proxyURL)??bc}${e.urlPath()}`;try{const l=await fetch(i,{method:e.method,headers:Ec(t,a,o==null?void 0:o.additionalHeaders),body:wc(n)});return await Pc(l,e),await l.json()}catch(l){throw l instanceof TypeError?new _e(he.NetworkError,it.getPublicMessage(he.NetworkError),l.message):l}}async function Pc(e,r){const t=e.status;if(t>=Mt.INTERNAL_SERVER_ERROR)Pn(r,t,await e.text());else if(t>=Mt.BAD_REQUEST){const n=await e.json(),a=n?JSON.stringify(n):null,o=n==null?void 0:n.code,s=n==null?void 0:n.message;if(o!=null){const i=it.convertCodeToBackendErrorCode(o);if(i==null)Pn(r,t,a,o);else throw _e.getForBackendError(i,s)}else Pn(r,t,a)}}function Pn(e,r,t,n){throw new _e(he.UnknownBackendError,"Unknown backend error.",`Request: ${e.name}. Status code: ${r}. Body: ${t}.`,{backendErrorCode:n})}function wc(e){return e==null?null:JSON.stringify(e)}const lo="Authorization",uo="Content-Type",co="Accept",_o="X-Platform",po="X-Version",fo="X-Is-Sandbox",kc=new Set([lo,uo,co,_o,po,fo]);function Ec(e,r,t){let n={[lo]:`Bearer ${e}`,[uo]:"application/json",[co]:"application/json",[_o]:"web",[po]:vc,[fo]:`${bn(e)}`};return r&&(n={...n,...r}),t&&(n={...t,...n}),n}const mo="/v1/subscribers",Nt="/rcbilling/v1";class xc{constructor(r){U(this,"appUserId");U(this,"method","GET");U(this,"name","getOfferings");this.appUserId=r}urlPath(){const r=encodeURIComponent(this.appUserId);return`${mo}/${r}/offerings`}}class Ic{constructor(){U(this,"method","POST");U(this,"name","purchase")}urlPath(){return`${Nt}/purchase`}}class Sc{constructor(r,t,n){U(this,"method","GET");U(this,"name","getProducts");U(this,"appUserId");U(this,"productIds");U(this,"currency");this.appUserId=r,this.productIds=t,this.currency=n}urlPath(){const r=encodeURIComponent(this.appUserId),t=this.productIds.map(encodeURIComponent).join("&id="),n=this.currency?`&currency=${this.currency}`:"";return`${Nt}/subscribers/${r}/products?id=${t}${n}`}}class qc{constructor(r){U(this,"method","GET");U(this,"name","getCustomerInfo");U(this,"appUserId");this.appUserId=r}urlPath(){const r=encodeURIComponent(this.appUserId);return`${mo}/${r}`}}class Tc{constructor(){U(this,"method","GET");U(this,"name","getBrandingInfo")}urlPath(){return`${Nt}/branding`}}class Fc{constructor(r){U(this,"method","GET");U(this,"name","getCheckoutStatus");U(this,"operationSessionId");this.operationSessionId=r}urlPath(){return`${Nt}/checkout/${this.operationSessionId}`}}const wn={};class Ac{constructor(r,t=wn){U(this,"API_KEY");U(this,"httpConfig");this.API_KEY=r,this.httpConfig=t}async getOfferings(r){return await Rr(new xc(r),{apiKey:this.API_KEY,httpConfig:this.httpConfig})}async getCustomerInfo(r){return await Rr(new qc(r),{apiKey:this.API_KEY,httpConfig:this.httpConfig})}async getProducts(r,t,n){return await Rr(new Sc(r,t,n),{apiKey:this.API_KEY,httpConfig:this.httpConfig})}async getBrandingInfo(){return await Rr(new Tc,{apiKey:this.API_KEY,httpConfig:this.httpConfig})}async postPurchase(r,t,n,a,o){const s={app_user_id:r,product_id:t,email:n,price_id:o.priceId,presented_offering_identifier:a.offeringIdentifier};return o.id!=="base_option"&&(s.offer_id=o.id),a.targetingContext&&(s.applied_targeting_rule={rule_id:a.targetingContext.ruleId,revision:a.targetingContext.revision}),a.placementIdentifier&&(s.presented_placement_identifier=a.placementIdentifier),await Rr(new Ic,{apiKey:this.API_KEY,body:s,httpConfig:this.httpConfig})}async getCheckoutStatus(r){return await Rr(new Fc(r),{apiKey:this.API_KEY,httpConfig:this.httpConfig})}}function Oc(e){if(!/^rcb_[a-zA-Z0-9_.-]+$/.test(e))throw new _e(he.InvalidCredentialsError,"Invalid API key. Use your RevenueCat Billing API key.")}function Dc(e){if(new Set(["no_user","null","none","nil","(null)","NaN","\\x00","","unidentified","undefined","unknown"]).has(e)||e.includes("/"))throw new _e(he.InvalidAppUserIdError,'Provided user id: "'+e+'" is not valid. See https://www.revenuecat.com/docs/customers/user-ids#tips-for-setting-app-user-ids for more information.')}function Mc(e){if(e!=null&&e.endsWith("/"))throw new _e(he.ConfigurationError,"Invalid proxy URL. The proxy URL should not end with a trailing slash.")}function Nc(e){if(e){for(const r in e)if(kc.has(r))throw new _e(he.ConfigurationError,"Invalid additional headers. Some headers are reserved for internal use.")}}var kn=(e=>(e.Current="current",e))(kn||{});function Cc(e,r){async function t(...n){return await this.preload(),await e.call(this,...n)}return t}const ho=(e,r)=>({...e,rcBillingProduct:{...e.rcBillingProduct,presentedOfferingContext:{...e.rcBillingProduct.presentedOfferingContext,placementIdentifier:r}}}),kr=(e,r)=>e==null?null:ho(e,r),jc=(e,r,t)=>{const n=e.offering_ids_by_placement??null;if(n==null)return null;const a=e.fallback_offering_id??null;let o;if(t in n){const i=n[t]??null;if(i==null)return null;o=r[i],o==null&&(o=r[a])}else o=r[a];if(o==null)return null;const s=Object.fromEntries(Object.entries(o.packagesById).map(([i,l])=>[i,ho(l,t)]));return{...o,packagesById:s,availablePackages:Object.values(s),weekly:kr(o.weekly,t),monthly:kr(o.monthly,t),twoMonth:kr(o.twoMonth,t),threeMonth:kr(o.threeMonth,t),sixMonth:kr(o.sixMonth,t),annual:kr(o.annual,t),lifetime:kr(o.lifetime,t)}};function Rc(e,r){const t={};r.product_details.forEach(o=>{t[o.identifier]=o});const n={};e.offerings.forEach(o=>{const s=o.identifier===e.current_offering_id,i=Ri(s,o,t,e.targeting);i!=null&&(n[o.identifier]=i)});const a=e.current_offering_id?n[e.current_offering_id]??null:null;return Object.keys(n).length==0&&Z.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}}var En;(function(e){e.body_s="p",e.body_m="p",e.body_l="p",e.body_xl="p",e.heading_xs="h6",e.heading_s="h5",e.heading_m="h4",e.heading_l="h3",e.heading_xl="h2",e.heading_xxl="h1"})(En||(En={}));var xn;(function(e){e[e.extra_light=100]="extra_light",e[e.thin=200]="thin",e[e.light=300]="light",e[e.regular=400]="regular",e[e.medium=500]="medium",e[e.semi_bold=600]="semi_bold",e[e.bold=700]="bold",e[e.extra_bold=800]="extra_bold",e[e.black=900]="black"})(xn||(xn={}));var In;(function(e){e.body_s="13px",e.body_m="14px",e.body_l="15px",e.body_xl="16px",e.heading_xs="14px",e.heading_s="16px",e.heading_m="18px",e.heading_l="20px",e.heading_xl="26px",e.heading_xxl="32px"})(In||(In={}));var Sn;(function(e){e.vertical="column",e.horizontal="row"})(Sn||(Sn={}));var qn;(function(e){e.top="flex-start",e.leading="flex-start",e.center="center",e.bottom="flex-end",e.trailing="flex-end"})(qn||(qn={}));var Tn;(function(e){e.space_between="space-between",e.space_around="space-around",e.space_evenly="space-evenly",e.start="flex-start",e.center="center",e.end="flex-end"})(Tn||(Tn={}));const Ur=[];function Uc(e,r){return{subscribe:Lc(e,r).subscribe}}function Lc(e,r=Ye){let t=null;const n=new Set;function a(i){if(zn(e,i)&&(e=i,t)){const l=!Ur.length;for(const u of n)u[1](),Ur.push(u,e);if(l){for(let u=0;u<Ur.length;u+=2)Ur[u][0](Ur[u+1]);Ur.length=0}}}function o(i){a(i(e))}function s(i,l=Ye){const u=[i,l];return n.add(u),n.size===1&&(t=r(a,o)||Ye),i(e),()=>{n.delete(u),n.size===0&&t&&(t(),t=null)}}return{set:a,update:o,subscribe:s}}const Bc=Uc(!1,e=>{if(typeof window<"u"){const r=window.matchMedia("(prefers-color-scheme: dark)");e(r.matches);const t=n=>e(n.matches);return r.addEventListener("change",t),()=>r.removeEventListener("change",t)}return()=>{}}),zc=(e,r)=>{var t;(t=r.onclick)==null||t.call(r)};var Vc=k("<button><!></button>");const Hc={hash:"svelte-g3k3fu",code:"button.svelte-g3k3fu {border:none;cursor:pointer;background:transparent;padding:0;width:100%;display:flex;align-items:center;justify-content:center;}"};function yo(e,r){X(r,!0),L(e,Hc);var t=Vc();t.__click=[zc,r];var n=E(t);ln(n,()=>r.children??Ye),W(()=>{un(t,`${r.class??""} svelte-g3k3fu`),t.disabled=!r.onclick,J(t,"style",r.style)}),y(e,t),ee()}sn(["click"]);function go(e,r){return!e||!r?"":{[`--${r}-block-start`]:`${e.top??0}px`,[`--${r}-inline-end`]:`${e.trailing??0}px`,[`--${r}-block-end`]:`${e.bottom??0}px`,[`--${r}-inline-start`]:`${e.leading??0}px`}}function Yc(e){return En[e]}function Ct({colorMap:e,colorMode:r="light",fallback:t="FFFFFF"}){const n=e==null?void 0:e[r];if(!n)return t;let a="";switch(n.type){case"hex":case"alias":return n.value??t;case"linear":return a=(n.points||[]).map(o=>`${o.color} ${o.percent}%`).join(", "),`linear-gradient(${n.degrees}deg, ${a})`;case"radial":return a=(n.points||[]).map(o=>`${o.color} ${o.percent}%`).join(", "),`radial-gradient(${a})`}return t}function Gc(e,r="light"){const t=Ct({colorMap:e.color,colorMode:r});return`${e.width}px solid ${t}`}function vo(e){return`${e.top_leading}px ${e.top_trailing}px ${e.bottom_trailing}px ${e.bottom_leading}px`}function bo({backgroundColor:e,border:r,margin:t,padding:n,textColor:a,colorMode:o="light",shape:s,shadow:i}){const l={"--margin-block-start":"0px","--margin-inline-end":"0px","--margin-block-end":"0px","--margin-inline-start":"0px","--padding-block-start":"0px","--padding-inline-end":"0px","--padding-block-end":"0px","--padding-inline-start":"0px","--background":"transparent","--text-color":"#000000","--border":"none","--border-radius":"0px","--shadow":"none"};return n&&Object.assign(l,go(n,"padding")),t&&Object.assign(l,go(t,"margin")),e&&(l["--background"]=Ct({colorMap:e,colorMode:o,fallback:"transparent"})),a&&(l["--text-color"]=Ct({colorMap:a,colorMode:o,fallback:"#000000"})),r&&(l["--border"]=Gc(r,o)),(s==null?void 0:s.type)==="rectangle"&&s.corners&&(l["--border-radius"]=vo(s.corners)),(s==null?void 0:s.type)==="pill"&&(l["--border-radius"]="9999px"),i&&(l["--shadow"]=`${i.x}px ${i.y}px ${i.radius}px
125
- ${Ct({colorMap:i.color,colorMode:o,fallback:"#000000"})}`),l}function Fn(e){function r(o){return o.type==="fixed"?`${o.value}px`:o.type==="fit"?"fit-content":o.type==="fill"?navigator.userAgent.match(/firefox|fxios/i)?"-moz-available":"-webkit-fill-available":"unset"}const t=r(e.width),n=r(e.height),a=e.width.type==="fill"||e.height.type==="fill";return{"--width":t,"--height":n,"--flex":a?"unset":"0 1 auto"}}function Wc(e,r){return r?{"--background":`linear-gradient(${r.map(t=>{var n;return(n=t[e])==null?void 0:n.value}).join(", ")})`}:{"--background":"none"}}const Zc=e=>{let r={"--corner-radius":"0px","--clip-path":"none"};return(e==null?void 0:e.type)==="circle"&&(r["--corner-radius"]="50%"),(e==null?void 0:e.type)==="rectangle"&&e.corners&&(r["--corner-radius"]=vo(e.corners)),(e==null?void 0:e.type)==="convex"&&(r["--corner-radius"]="0 0 50% 50%;"),(e==null?void 0:e.type)==="concave"&&(r["--clip-path"]="polygon(0 0, 100% 0, 100% 100%, 50% 110%, 0 100%);"),r};function Qc(e){const r={"--direction":"initial","--alignment":"initial","--distribution":"initial"};return e.type==="zlayer"||(r["--direction"]=Sn[e.type],r["--alignment"]=qn[e.alignment],e.distribution&&(r["--distribution"]=Tn[e.distribution])),r}function Jc(e){const{font_size:r,horizontal_alignment:t,font_weight:n,font_name:a}=e,o={"--text-align":"initial","--font-weight":400,"--font-size":"initial","--font-family":"sans-serif"};return o["--text-align"]=t,o["--font-weight"]=xn[n],o["--font-size"]=In[r],o["--font-family"]=a||"sans-serif",o}function jt(e){return Object.entries(e).map(([r,t])=>`${r}: ${t}`).join("; ")}function Po(e,r,t,n){const a=(n[t]||{})[e];return(n[r]||{})[e]?n[r][e]:a}function $c(e){const r=n=>{if(n.type==="package"&&n.is_selected_by_default)return n;if(n.components)for(let a of n.components){const o=r(a);if(o)return o}if(n.stack!==void 0){const a=r(n.stack);if(a)return a}},t=r(e.components_config.base.stack);if(t!==void 0)return t.package_id}const Kc=e=>{const{background_color:r,margin:t,padding:n,spacing:a,size:o,border:s,shape:i,colorMode:l,shadow:u,dimension:c}=e,d=bo({backgroundColor:r,margin:t,padding:n,border:s,colorMode:l,shape:i,shadow:u}),_=Qc(c);return{...Fn(o),..._,...d,"--spacing":`${a||0}px`}};var Xc=k('<div class="stack svelte-hkx1fg"></div>');const e_={hash:"svelte-hkx1fg",code:".stack.svelte-hkx1fg {box-sizing:border-box;display:flex;flex-direction:var(--direction, unset);width:var(--width, unset);height:var(--height, unset);gap:var(--spacing, 0);background:var(--background, none);border:var(--border, none);border-radius:var(--border-radius, 0);box-shadow:var(--shadow, none);justify-content:var(--distribution, flex-start);align-items:var(--alignment, flex-start);padding-block-start:var(--padding-block-start, 0);padding-inline-end:var(--padding-inline-end, 0);padding-block-end:var(--padding-block-end, 0);padding-inline-start:var(--padding-inline-start, 0);margin-block-start:var(--margin-block-start, 0);margin-inline-end:var(--margin-inline-end, 0);margin-block-end:var(--margin-block-end, 0);margin-inline-start:var(--margin-inline-start, 0);flex:var(--flex, 0 1 auto);}"};function dt(e,r){X(r,!0),L(e,e_);const t=cn(r,["$$slots","$$events","$$legacy","id","components","labels","onAction","purchaseState","variableDictionary"]),n=ne(()=>jt(Kc({id:r.id,components:r.components,labels:r.labels,onAction:r.onAction,purchaseState:r.purchaseState,...t})));var a=Xc();Pa(a,21,()=>r.components,ba,(o,s)=>{An(o,{get nodeData(){return f(s)},get labels(){return r.labels},get onAction(){return r.onAction},get purchaseState(){return r.purchaseState},get variableDictionary(){return r.variableDictionary}})}),W(()=>{J(a,"id",r.id),J(a,"style",f(n))}),y(e,a),ee()}function r_(e,r){X(r,!0),yo(e,{onclick:()=>{r.onAction&&r.onAction(r.action)},children:(n,a)=>{dt(n,st(()=>r.stack,{get labels(){return r.labels},get purchaseState(){return r.purchaseState},get variableDictionary(){return r.variableDictionary}}))},$$slots:{default:!0}}),ee()}const t_=e=>{const{font_size:r="body_m",color:t={dark:{type:"hex",value:"#000000"},light:{type:"hex",value:"#000000"}},background_color:n={dark:{type:"hex",value:"#FFFFFF"},light:{type:"hex",value:"#FFFFFF"}},padding:a,margin:o,colorMode:s,size:i}=e,l=Yc(r),u=Jc(e),c=bo({backgroundColor:n,textColor:t,margin:o,padding:a,colorMode:s}),d=Fn(i);return{textStyles:{...u,...c,...d},tagToRender:l}},n_={hash:"svelte-9lrpkv",code:".text-block.svelte-9lrpkv {display:block;padding-block-start:var(--padding-block-start, unset);padding-inline-end:var(--padding-inline-end, unset);padding-block-end:var(--padding-block-end, unset);padding-inline-start:var(--padding-inline-start, unset);margin-block-start:var(--margin-block-start, unset);margin-inline-end:var(--margin-inline-end, unset);margin-block-end:var(--margin-block-end, unset);margin-inline-start:var(--margin-inline-start, unset);color:var(--text-color, #ffffff);background:var(--background, none);font-size:var(--font-size, 1rem);font-weight:var(--font-weight, normal);text-align:var(--text-align, center);height:var(--height, unset);width:var(--width, unset);font-family:var(--font-family, sans-serif);}"};function a_(e,r){X(r,!0),L(e,n_);const t=v(r,"styleVariables",3,""),n=v(r,"component",3,"p");var a=ae(),o=N(a);ka(o,n,!1,(s,i)=>{let l;W(()=>l=Ea(s,l,{id:r.id,style:t(),class:"text-block"},"svelte-9lrpkv",s.namespaceURI===Hr,s.nodeName.includes("-")));var u=ae(),c=N(u);ln(c,()=>r.children??Ye),y(i,u)}),y(e,a),ee()}const o_=["product_name","price","price_per_period","price_per_period_full","total_price_and_per_month","total_price_and_per_month_full","sub_price_per_month","sub_price_per_week","sub_duration","sub_duration_in_months","sub_period","sub_period_length","sub_period_abbreviated","sub_offer_duration","sub_offer_duration_2","sub_offer_price","sub_offer_price_2","sub_relative_discount"],s_=({value:e="",variableDictionary:r})=>r?o_.reduce((t,n)=>{var o;return t.replaceAll(`{{ ${n} }}`,((o=r[n])==null?void 0:o.toString())||"N/A")},e):e;function i_(e,r){X(r,!0);const t=cn(r,["$$slots","$$events","$$legacy","id","labels","text_lid","purchaseState","variableDictionary"]),n=ne(()=>t_({id:r.id,labels:r.labels,text_lid:r.text_lid,purchaseState:r.purchaseState,...t})),a=ne(()=>f(n).tagToRender),o=ne(()=>f(n).textStyles),s=ne(()=>jt(f(o))),i=ne(()=>Po(r.text_lid,r.purchaseState.locale,r.purchaseState.defaultLocale,r.labels)),l=ne(()=>s_({value:f(i),variableDictionary:r.variableDictionary}));a_(e,{get styleVariables(){return f(s)},get component(){return f(a)},get id(){return r.id},children:(u,c)=>{var d=ot();W(()=>ar(d,f(l))),y(u,d)},$$slots:{default:!0}}),ee()}function An(e,r){X(r,!0);const t=Vs(),n=()=>zs(Bc,"$prefersDarkMode",t),a={text:i_,stack:dt,image:f_,button:r_,purchase_button:h_,package:b_,footer:w_},o=ne(()=>a[r.nodeData.type]);var s=ae(),i=N(s);Ds(i,()=>f(o),(l,u)=>{u(l,st(()=>r.nodeData||{},{get labels(){return r.labels},get prefersDarkMode(){return n()},get onAction(){return r.onAction},get purchaseState(){return r.purchaseState},get variableDictionary(){return r.variableDictionary},children:(c,d)=>{var _=ae(),p=N(_);Pa(p,17,()=>r.nodeData.components,ba,(m,g)=>{An(m,{get nodeData(){return f(g)},get labels(){return r.labels},get onAction(){return r.onAction},get purchaseState(){return r.purchaseState},get variableDictionary(){return r.variableDictionary}})}),y(c,_)},$$slots:{default:!0}}))}),y(e,s),ee()}var l_=k('<div class="paywall svelte-1f98y3q"><!></div>');const u_={hash:"svelte-1f98y3q",code:`
126
- /* 1. Use a more-intuitive box-sizing model */.svelte-1f98y3q,
127
- .svelte-1f98y3q::before,
128
- .svelte-1f98y3q::after {box-sizing:border-box;}
124
+ }`};function mc(e,r){ne(r,!1),H(e,fc);let t=g(r,"brandingAppearance",8,void 0),n=new Fn(t()).formStyleVars;ze();var a=pc();K(a,"style",n);var o=q(a);bo(o,{style:"min-height: 360px;",children:(s,i)=>{var l=dc(),u=j(l);pe(u,r,"header",{});var c=N(u,2);pe(c,r,"default",{}),h(s,l)},$$slots:{default:!0}}),h(e,a),ae()}var hc=x("<!> <!>",1),yc=x("<!> <!> <!> <!> <!> <!> <!>",1),gc=x("<!> <!>",1);function vc(e,r){ne(r,!1);let t=g(r,"asModal",8,!0),n=g(r,"customerEmail",12),a=g(r,"appUserId",8),o=g(r,"rcPackage",8),s=g(r,"purchaseOption",8),i=g(r,"brandingInfo",8),l=g(r,"onFinished",8),u=g(r,"onError",8),c=g(r,"onClose",8),d=g(r,"purchases",8),_=g(r,"purchaseOperationHelper",8),f=g(r,"selectedLocale",8,or),m=g(r,"defaultLocale",8,or),y=g(r,"customTranslations",24,()=>({})),w=Se(""),P=Se(null),E=Se(null),I=Se(null);const b=o().rcBillingProduct.identifier??null,v=o().rcBillingProduct.defaultPurchaseOption,T=s()?s():v;let k=Se("present-offer"),O=null;const G=["present-offer","needs-auth-info","processing-auth-info","needs-payment-info","polling-purchase-status","loading"];pn(Sr,new Ve(y(),f(),m())),Ct(async()=>{var M;if(A(P,o().rcBillingProduct),A(w,vo((M=i())==null?void 0:M.appearance)),p(k)==="present-offer"){n()?oe():A(k,"needs-auth-info");return}});const D=()=>{c()()},oe=()=>{if(b===null){we(new me(ce.ErrorSettingUpPurchase,"Product ID was not set before purchase."));return}else p(k)==="present-offer"&&A(k,"loading");if(!n()){we(new me(ce.MissingEmailError));return}_().startPurchase(a(),b,T,n(),o().rcBillingProduct.presentedOfferingContext).then(M=>{if(M.next_action==="collect_payment_info"){A(I,null),A(k,"needs-payment-info"),A(E,M);return}if(M.next_action==="completed"){A(I,null),A(k,"success");return}}).catch(M=>{we(M)})},_e=M=>{if(p(k)==="needs-auth-info"){M&&(n(M.email),A(k,"processing-auth-info")),oe();return}if(p(k)==="needs-payment-info"){A(k,"polling-purchase-status"),_().pollCurrentPurchaseForCompletion().then(se=>{A(k,"success"),O=se.redemptionInfo}).catch(se=>{we(se)});return}if(p(k)==="success"||p(k)==="error"){l()(O);return}A(k,"success")},we=M=>{if(p(k)==="processing-auth-info"&&M.isRecoverable()){A(I,M),A(k,"needs-auth-info");return}A(I,M),A(k,"error")},Y=()=>{u()(p(I)??new me(ce.UnknownError,"Unknown error without state set."))};ze(),ic(e,{children:(M,se)=>{Qu(M,{get condition(){return t()},children:(Pe,sr)=>{ac(Pe,{get style(){return p(w)},children:(hr,Wt)=>{var Ke=gc(),qr=j(Ke);{var ir=ke=>{var gr=re(()=>{var L;return(L=i())==null?void 0:L.appearance});_c(ke,{get brandingAppearance(){return p(gr)},children:(L,$)=>{var de=ie(),Ie=j(de);{var $e=je=>{var Ee=re(()=>{var He;return(He=i())==null?void 0:He.appearance});Ka(je,{get productDetails(){return p(P)},get brandingAppearance(){return p(Ee)},purchaseOption:T})};U(Ie,je=>{p(P)&&T&&je($e)})}h(L,de)},$$slots:{default:!0,header:(L,$)=>{qn(L,{slot:"header",children:(de,Ie)=>{var $e=hc(),je=j($e);no(je,{get brandingInfo(){return i()}});var Ee=N(je,2);{var He=Ae=>{rc(Ae)},vr=Ae=>{Xu(Ae)};U(Ee,Ae=>{d().isSandbox()?Ae(He):Ae(vr,!1)})}h(de,$e)},$$slots:{default:!0}})}}})};U(qr,ke=>{G.includes(p(k))&&ke(ir)})}var Xe=N(qr,2),yr=re(()=>{var ke;return(ke=i())==null?void 0:ke.appearance});mc(Xe,{get brandingAppearance(){return p(yr)},children:(ke,gr)=>{var L=yc(),$=j(L);{var de=Q=>{Ka(Q,{get productDetails(){return p(P)},purchaseOption:T})};U($,Q=>{p(k)==="present-offer"&&p(P)&&T&&Q(de)})}var Ie=N($,2);{var $e=Q=>{kn(Q)};U(Ie,Q=>{p(k)==="present-offer"&&!p(P)&&Q($e)})}var je=N(Ie,2);{var Ee=Q=>{var Tr=re(()=>p(k)==="processing-auth-info");Vu(Q,{onContinue:_e,onClose:D,get processing(){return p(Tr)},get lastError(){return p(I)}})};U(je,Q=>{(p(k)==="needs-auth-info"||p(k)==="processing-auth-info")&&Q(Ee)})}var He=N(je,2);{var vr=Q=>{var Tr=re(()=>p(k)==="polling-purchase-status");Nu(Q,{get paymentInfoCollectionMetadata(){return p(E)},onContinue:_e,onClose:D,get processing(){return p(Tr)},get productDetails(){return p(P)},purchaseOptionToUse:T,get brandingInfo(){return i()}})};U(He,Q=>{p(E)&&(p(k)==="needs-payment-info"||p(k)==="polling-purchase-status")&&p(P)&&T&&Q(vr)})}var Ae=N(He,2);{var Gr=Q=>{kn(Q)};U(Ae,Q=>{p(k)==="loading"&&Q(Gr)})}var Zt=N(Ae,2);{var Hn=Q=>{var Tr=re(()=>p(I)??new me(ce.UnknownError,"Unknown error without state set.")),Yn=re(()=>{var lr;return(lr=i())==null?void 0:lr.support_email});Vl(Q,{get brandingInfo(){return i()},get lastError(){return p(Tr)},get supportEmail(){return p(Yn)},get productDetails(){return p(P)},onContinue:Y})};U(Zt,Q=>{p(k)==="error"&&Q(Hn)})}var br=N(Zt,2);{var Qt=Q=>{Zl(Q,{get productDetails(){return p(P)},get brandingInfo(){return i()},onContinue:_e})};U(br,Q=>{p(k)==="success"&&Q(Qt)})}h(ke,L)},$$slots:{default:!0}}),h(hr,Ke)},$$slots:{default:!0}})},$$slots:{default:!0}})},$$slots:{default:!0}}),ae()}function bc(e){return e.expires_date==null?!0:new Date(e.expires_date)>new Date}function wc(e,r,t,n){const a=r.product_identifier;if(a in t)return Pc(e,r,t[a]);if(a in n)return kc(e,r,n[a]);throw new fe(ge.CustomerInfoError,"Could not find entitlement product in subscriptions or non-subscriptions.")}function Pc(e,r,t){return{identifier:e,isActive:bc(r),willRenew:Sc(r,t),store:(t==null?void 0:t.store)??"unknown",latestPurchaseDate:new Date(r.purchase_date),originalPurchaseDate:new Date(r.purchase_date),expirationDate:Bt(r.expires_date),productIdentifier:r.product_identifier,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"}}function kc(e,r,t){return{identifier:e,isActive:!0,willRenew:!1,store:t.store,latestPurchaseDate:new Date(r.purchase_date),originalPurchaseDate:new Date(t.original_purchase_date),expirationDate:null,productIdentifier:r.product_identifier,unsubscribeDetectedAt:null,billingIssueDetectedAt:null,isSandbox:t.is_sandbox,periodType:"normal"}}function Ec(e,r,t){const n={},a={};for(const o in e){const s=wc(o,e[o],r,t);n[o]=s,s.isActive&&(a[o]=s)}return{all:n,active:a}}function Bt(e){return e==null?null:new Date(e)}function xc(e){const r=qc(e),t=e.subscriber,n=Fc(t.non_subscriptions);return{entitlements:Ec(t.entitlements,t.subscriptions,n),allExpirationDatesByProduct:r,allPurchaseDatesByProduct:Ic(e,n),activeSubscriptions:Tc(r),managementURL:t.management_url,requestDate:new Date(e.request_date),firstSeenDate:new Date(t.first_seen),originalPurchaseDate:Bt(t.original_purchase_date),originalAppUserId:e.subscriber.original_app_user_id}}function Sc(e,r){if(r==null)return!1;const t=r.store=="promotional",n=e.expires_date==null,a=r.unsubscribe_detected_at!=null,o=r.billing_issues_detected_at!=null;return!(t||n||a||o)}function Ic(e,r){const t={};for(const n in e.subscriber.subscriptions){const a=e.subscriber.subscriptions[n];t[n]=new Date(a.purchase_date)}for(const n in r){const a=r[n].purchase_date;a==null?t[n]=null:t[n]=new Date(a)}return t}function qc(e){const r={};for(const t in e.subscriber.subscriptions){const n=e.subscriber.subscriptions[t];n.expires_date==null?r[t]=null:r[t]=new Date(n.expires_date)}return r}function Tc(e){const r=new Set,t=new Date;for(const n in e){const a=e[n];(a==null||a>t)&&r.add(n)}return r}function Fc(e){const r={};for(const t in e){if(e[t].length===0)continue;const n=e[t].length;r[t]=e[t][n-1]}return r}const Ac="0.15.1",Oc="https://api.revenuecat.com";var zt;(function(e){e[e.CONTINUE=100]="CONTINUE",e[e.SWITCHING_PROTOCOLS=101]="SWITCHING_PROTOCOLS",e[e.PROCESSING=102]="PROCESSING",e[e.EARLY_HINTS=103]="EARLY_HINTS",e[e.OK=200]="OK",e[e.CREATED=201]="CREATED",e[e.ACCEPTED=202]="ACCEPTED",e[e.NON_AUTHORITATIVE_INFORMATION=203]="NON_AUTHORITATIVE_INFORMATION",e[e.NO_CONTENT=204]="NO_CONTENT",e[e.RESET_CONTENT=205]="RESET_CONTENT",e[e.PARTIAL_CONTENT=206]="PARTIAL_CONTENT",e[e.MULTI_STATUS=207]="MULTI_STATUS",e[e.MULTIPLE_CHOICES=300]="MULTIPLE_CHOICES",e[e.MOVED_PERMANENTLY=301]="MOVED_PERMANENTLY",e[e.MOVED_TEMPORARILY=302]="MOVED_TEMPORARILY",e[e.SEE_OTHER=303]="SEE_OTHER",e[e.NOT_MODIFIED=304]="NOT_MODIFIED",e[e.USE_PROXY=305]="USE_PROXY",e[e.TEMPORARY_REDIRECT=307]="TEMPORARY_REDIRECT",e[e.PERMANENT_REDIRECT=308]="PERMANENT_REDIRECT",e[e.BAD_REQUEST=400]="BAD_REQUEST",e[e.UNAUTHORIZED=401]="UNAUTHORIZED",e[e.PAYMENT_REQUIRED=402]="PAYMENT_REQUIRED",e[e.FORBIDDEN=403]="FORBIDDEN",e[e.NOT_FOUND=404]="NOT_FOUND",e[e.METHOD_NOT_ALLOWED=405]="METHOD_NOT_ALLOWED",e[e.NOT_ACCEPTABLE=406]="NOT_ACCEPTABLE",e[e.PROXY_AUTHENTICATION_REQUIRED=407]="PROXY_AUTHENTICATION_REQUIRED",e[e.REQUEST_TIMEOUT=408]="REQUEST_TIMEOUT",e[e.CONFLICT=409]="CONFLICT",e[e.GONE=410]="GONE",e[e.LENGTH_REQUIRED=411]="LENGTH_REQUIRED",e[e.PRECONDITION_FAILED=412]="PRECONDITION_FAILED",e[e.REQUEST_TOO_LONG=413]="REQUEST_TOO_LONG",e[e.REQUEST_URI_TOO_LONG=414]="REQUEST_URI_TOO_LONG",e[e.UNSUPPORTED_MEDIA_TYPE=415]="UNSUPPORTED_MEDIA_TYPE",e[e.REQUESTED_RANGE_NOT_SATISFIABLE=416]="REQUESTED_RANGE_NOT_SATISFIABLE",e[e.EXPECTATION_FAILED=417]="EXPECTATION_FAILED",e[e.IM_A_TEAPOT=418]="IM_A_TEAPOT",e[e.INSUFFICIENT_SPACE_ON_RESOURCE=419]="INSUFFICIENT_SPACE_ON_RESOURCE",e[e.METHOD_FAILURE=420]="METHOD_FAILURE",e[e.MISDIRECTED_REQUEST=421]="MISDIRECTED_REQUEST",e[e.UNPROCESSABLE_ENTITY=422]="UNPROCESSABLE_ENTITY",e[e.LOCKED=423]="LOCKED",e[e.FAILED_DEPENDENCY=424]="FAILED_DEPENDENCY",e[e.UPGRADE_REQUIRED=426]="UPGRADE_REQUIRED",e[e.PRECONDITION_REQUIRED=428]="PRECONDITION_REQUIRED",e[e.TOO_MANY_REQUESTS=429]="TOO_MANY_REQUESTS",e[e.REQUEST_HEADER_FIELDS_TOO_LARGE=431]="REQUEST_HEADER_FIELDS_TOO_LARGE",e[e.UNAVAILABLE_FOR_LEGAL_REASONS=451]="UNAVAILABLE_FOR_LEGAL_REASONS",e[e.INTERNAL_SERVER_ERROR=500]="INTERNAL_SERVER_ERROR",e[e.NOT_IMPLEMENTED=501]="NOT_IMPLEMENTED",e[e.BAD_GATEWAY=502]="BAD_GATEWAY",e[e.SERVICE_UNAVAILABLE=503]="SERVICE_UNAVAILABLE",e[e.GATEWAY_TIMEOUT=504]="GATEWAY_TIMEOUT",e[e.HTTP_VERSION_NOT_SUPPORTED=505]="HTTP_VERSION_NOT_SUPPORTED",e[e.INSUFFICIENT_STORAGE=507]="INSUFFICIENT_STORAGE",e[e.NETWORK_AUTHENTICATION_REQUIRED=511]="NETWORK_AUTHENTICATION_REQUIRED"})(zt||(zt={}));function An(e){return e?e.startsWith("rcb_sb_"):!1}async function Vr(e,r){const{apiKey:t,body:n,headers:a,httpConfig:o}=r,i=`${(o==null?void 0:o.proxyURL)??Oc}${e.urlPath()}`;try{const l=await fetch(i,{method:e.method,headers:Cc(t,a,o==null?void 0:o.additionalHeaders),body:Mc(n)});return await Dc(l,e),await l.json()}catch(l){throw l instanceof TypeError?new fe(ge.NetworkError,pt.getPublicMessage(ge.NetworkError),l.message):l}}async function Dc(e,r){const t=e.status;if(t>=zt.INTERNAL_SERVER_ERROR)On(r,t,await e.text());else if(t>=zt.BAD_REQUEST){const n=await e.json(),a=n?JSON.stringify(n):null,o=n==null?void 0:n.code,s=n==null?void 0:n.message;if(o!=null){const i=pt.convertCodeToBackendErrorCode(o);if(i==null)On(r,t,a,o);else throw fe.getForBackendError(i,s)}else On(r,t,a)}}function On(e,r,t,n){throw new fe(ge.UnknownBackendError,"Unknown backend error.",`Request: ${e.name}. Status code: ${r}. Body: ${t}.`,{backendErrorCode:n})}function Mc(e){return e==null?null:JSON.stringify(e)}const wo="Authorization",Po="Content-Type",ko="Accept",Eo="X-Platform",xo="X-Version",So="X-Is-Sandbox",Nc=new Set([wo,Po,ko,Eo,xo,So]);function Cc(e,r,t){let n={[wo]:`Bearer ${e}`,[Po]:"application/json",[ko]:"application/json",[Eo]:"web",[xo]:Ac,[So]:`${An(e)}`};return r&&(n={...n,...r}),t&&(n={...t,...n}),n}const Io="/v1/subscribers",Vt="/rcbilling/v1";class jc{constructor(r){V(this,"appUserId");V(this,"method","GET");V(this,"name","getOfferings");this.appUserId=r}urlPath(){const r=encodeURIComponent(this.appUserId);return`${Io}/${r}/offerings`}}class Rc{constructor(){V(this,"method","POST");V(this,"name","purchase")}urlPath(){return`${Vt}/purchase`}}class Uc{constructor(r,t,n){V(this,"method","GET");V(this,"name","getProducts");V(this,"appUserId");V(this,"productIds");V(this,"currency");this.appUserId=r,this.productIds=t,this.currency=n}urlPath(){const r=encodeURIComponent(this.appUserId),t=this.productIds.map(encodeURIComponent).join("&id="),n=this.currency?`&currency=${this.currency}`:"";return`${Vt}/subscribers/${r}/products?id=${t}${n}`}}class Lc{constructor(r){V(this,"method","GET");V(this,"name","getCustomerInfo");V(this,"appUserId");this.appUserId=r}urlPath(){const r=encodeURIComponent(this.appUserId);return`${Io}/${r}`}}class Bc{constructor(){V(this,"method","GET");V(this,"name","getBrandingInfo")}urlPath(){return`${Vt}/branding`}}class zc{constructor(r){V(this,"method","GET");V(this,"name","getCheckoutStatus");V(this,"operationSessionId");this.operationSessionId=r}urlPath(){return`${Vt}/checkout/${this.operationSessionId}`}}const Dn={};class Vc{constructor(r,t=Dn){V(this,"API_KEY");V(this,"httpConfig");this.API_KEY=r,this.httpConfig=t}async getOfferings(r){return await Vr(new jc(r),{apiKey:this.API_KEY,httpConfig:this.httpConfig})}async getCustomerInfo(r){return await Vr(new Lc(r),{apiKey:this.API_KEY,httpConfig:this.httpConfig})}async getProducts(r,t,n){return await Vr(new Uc(r,t,n),{apiKey:this.API_KEY,httpConfig:this.httpConfig})}async getBrandingInfo(){return await Vr(new Bc,{apiKey:this.API_KEY,httpConfig:this.httpConfig})}async postPurchase(r,t,n,a,o){const s={app_user_id:r,product_id:t,email:n,price_id:o.priceId,presented_offering_identifier:a.offeringIdentifier,supports_direct_payment:!0};return o.id!=="base_option"&&(s.offer_id=o.id),a.targetingContext&&(s.applied_targeting_rule={rule_id:a.targetingContext.ruleId,revision:a.targetingContext.revision}),a.placementIdentifier&&(s.presented_placement_identifier=a.placementIdentifier),await Vr(new Rc,{apiKey:this.API_KEY,body:s,httpConfig:this.httpConfig})}async getCheckoutStatus(r){return await Vr(new zc(r),{apiKey:this.API_KEY,httpConfig:this.httpConfig})}}function Hc(e){if(!/^rcb_[a-zA-Z0-9_.-]+$/.test(e))throw new fe(ge.InvalidCredentialsError,"Invalid API key. Use your RevenueCat Billing API key.")}function Yc(e){if(new Set(["no_user","null","none","nil","(null)","NaN","\\x00","","unidentified","undefined","unknown"]).has(e)||e.includes("/"))throw new fe(ge.InvalidAppUserIdError,'Provided user id: "'+e+'" is not valid. See https://www.revenuecat.com/docs/customers/user-ids#tips-for-setting-app-user-ids for more information.')}function Gc(e){if(e!=null&&e.endsWith("/"))throw new fe(ge.ConfigurationError,"Invalid proxy URL. The proxy URL should not end with a trailing slash.")}function Wc(e){if(e){for(const r in e)if(Nc.has(r))throw new fe(ge.ConfigurationError,"Invalid additional headers. Some headers are reserved for internal use.")}}var Mn=(e=>(e.Current="current",e))(Mn||{});function Zc(e,r){async function t(...n){return await this.preload(),await e.call(this,...n)}return t}const qo=(e,r)=>({...e,rcBillingProduct:{...e.rcBillingProduct,presentedOfferingContext:{...e.rcBillingProduct.presentedOfferingContext,placementIdentifier:r}}}),Ir=(e,r)=>e==null?null:qo(e,r),Qc=(e,r,t)=>{const n=e.offering_ids_by_placement??null;if(n==null)return null;const a=e.fallback_offering_id??null;let o;if(t in n){const i=n[t]??null;if(i==null)return null;o=r[i],o==null&&(o=r[a])}else o=r[a];if(o==null)return null;const s=Object.fromEntries(Object.entries(o.packagesById).map(([i,l])=>[i,qo(l,t)]));return{...o,packagesById:s,availablePackages:Object.values(s),weekly:Ir(o.weekly,t),monthly:Ir(o.monthly,t),twoMonth:Ir(o.twoMonth,t),threeMonth:Ir(o.threeMonth,t),sixMonth:Ir(o.sixMonth,t),annual:Ir(o.annual,t),lifetime:Ir(o.lifetime,t)}};function Jc(e,r){const t={};r.product_details.forEach(o=>{t[o.identifier]=o});const n={};e.offerings.forEach(o=>{const s=o.identifier===e.current_offering_id,i=Ji(s,o,t,e.targeting);i!=null&&(n[o.identifier]=i)});const a=e.current_offering_id?n[e.current_offering_id]??null:null;return Object.keys(n).length==0&&X.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}}var Nn;(function(e){e.body_s="p",e.body_m="p",e.body_l="p",e.body_xl="p",e.heading_xs="h6",e.heading_s="h5",e.heading_m="h4",e.heading_l="h3",e.heading_xl="h2",e.heading_xxl="h1"})(Nn||(Nn={}));var Ht;(function(e){e[e.extra_light=100]="extra_light",e[e.thin=200]="thin",e[e.light=300]="light",e[e.regular=400]="regular",e[e.medium=500]="medium",e[e.semibold=600]="semibold",e[e.bold=700]="bold",e[e.extra_bold=800]="extra_bold",e[e.black=900]="black"})(Ht||(Ht={}));var Yt;(function(e){e.body_s="13px",e.body_m="14px",e.body_l="15px",e.body_xl="16px",e.heading_xs="14px",e.heading_s="16px",e.heading_m="18px",e.heading_l="20px",e.heading_xl="26px",e.heading_xxl="32px"})(Yt||(Yt={}));var Cn;(function(e){e.vertical="column",e.horizontal="row"})(Cn||(Cn={}));var jn;(function(e){e.top="flex-start",e.leading="flex-start",e.center="center",e.bottom="flex-end",e.trailing="flex-end"})(jn||(jn={}));var Rn;(function(e){e.space_between="space-between",e.space_around="space-around",e.space_evenly="space-evenly",e.start="flex-start",e.center="center",e.end="flex-end"})(Rn||(Rn={}));const Hr=[];function Kc(e,r){return{subscribe:Xc(e,r).subscribe}}function Xc(e,r=Ye){let t=null;const n=new Set;function a(i){if(ea(e,i)&&(e=i,t)){const l=!Hr.length;for(const u of n)u[1](),Hr.push(u,e);if(l){for(let u=0;u<Hr.length;u+=2)Hr[u][0](Hr[u+1]);Hr.length=0}}}function o(i){a(i(e))}function s(i,l=Ye){const u=[i,l];return n.add(u),n.size===1&&(t=r(a,o)||Ye),i(e),()=>{n.delete(u),n.size===0&&t&&(t(),t=null)}}return{set:a,update:o,subscribe:s}}const To=Kc(!1,e=>{if(typeof window<"u"){const r=window.matchMedia("(prefers-color-scheme: dark)");e(r.matches);const t=n=>e(n.matches);return r.addEventListener("change",t),()=>r.removeEventListener("change",t)}return()=>{}}),$c=(e,r)=>{var t;(t=r.onclick)==null||t.call(r)};var e_=x("<button><!></button>");const r_={hash:"svelte-g3k3fu",code:"button.svelte-g3k3fu {border:none;cursor:pointer;background:transparent;padding:0;width:100%;display:flex;align-items:center;justify-content:center;}"};function Fo(e,r){ne(r,!0),H(e,r_);var t=e_();t.__click=[$c,r];var n=q(t);yn(n,()=>r.children??Ye),Z(()=>{gn(t,`${r.class??""} svelte-g3k3fu`),t.disabled=!r.onclick,K(t,"style",r.style)}),h(e,t),ae()}hn(["click"]);function Ao(e,r){return!e||!r?"":{[`--${r}-block-start`]:`${e.top??0}px`,[`--${r}-inline-end`]:`${e.trailing??0}px`,[`--${r}-block-end`]:`${e.bottom??0}px`,[`--${r}-inline-start`]:`${e.leading??0}px`}}function t_(e){return Nn[e]}function Yr({colorMap:e,colorMode:r="light",fallback:t="FFFFFF"}){if(!e)return t;const n=e[r]||e.light;let a="";switch(n.type){case"hex":case"alias":return n.value??t;case"linear":return a=(n.points||[]).map(o=>`${o.color} ${o.percent}%`).join(", "),`linear-gradient(${n.degrees}deg, ${a})`;case"radial":return a=(n.points||[]).map(o=>`${o.color} ${o.percent}%`).join(", "),`radial-gradient(${a})`}return t}function n_(e,r="light"){const t=Yr({colorMap:e.color,colorMode:r});return`${e.width}px solid ${t}`}function Oo(e){return`${e.top_leading}px ${e.top_trailing}px ${e.bottom_trailing}px ${e.bottom_leading}px`}function Un({backgroundColor:e,border:r,margin:t,padding:n,textColor:a,colorMode:o="light",shape:s,shadow:i}){const l={"--margin-block-start":"0px","--margin-inline-end":"0px","--margin-block-end":"0px","--margin-inline-start":"0px","--padding-block-start":"0px","--padding-inline-end":"0px","--padding-block-end":"0px","--padding-inline-start":"0px","--background":"transparent","--text-color":"#000000","--border":"none","--border-radius":"0px","--shadow":"none"};return n&&Object.assign(l,Ao(n,"padding")),t&&Object.assign(l,Ao(t,"margin")),e&&(l["--background"]=Yr({colorMap:e,colorMode:o,fallback:"transparent"})),a&&(l["--text-color"]=Yr({colorMap:a,colorMode:o,fallback:"#000000"})),r&&(l["--border"]=n_(r,o)),(s==null?void 0:s.type)==="rectangle"&&s.corners&&(l["--border-radius"]=Oo(s.corners)),(s==null?void 0:s.type)==="pill"&&(l["--border-radius"]="9999px"),i&&(l["--shadow"]=`${i.x}px ${i.y}px ${i.radius}px
125
+ ${Yr({colorMap:i.color,colorMode:o,fallback:"#000000"})}`),l}function Gt(e){function r(o){return o.type==="fixed"?`${o.value}px`:o.type==="fit"?"fit-content":o.type==="fill"?navigator.userAgent.match(/firefox|fxios/i)?"-moz-available":"-webkit-fill-available":"unset"}const t=r(e.width),n=r(e.height),a=e.width.type==="fill"||e.height.type==="fill";return{"--width":t,"--height":n,"--flex":a?"unset":"0 1 auto"}}function a_(e,r){return r?{"--background":`linear-gradient(${r.map(t=>{var n;return((n=t[e])==null?void 0:n.value)||t.light.value}).join(", ")})`}:{"--background":"none"}}const o_=e=>{const r={"--corner-radius":"0px","--clip-path":"none"};return(e==null?void 0:e.type)==="circle"&&(r["--corner-radius"]="50%"),(e==null?void 0:e.type)==="rectangle"&&e.corners&&(r["--corner-radius"]=Oo(e.corners)),(e==null?void 0:e.type)==="convex"&&(r["--corner-radius"]="0 0 50% 50%;"),(e==null?void 0:e.type)==="concave"&&(r["--clip-path"]="polygon(0 0, 100% 0, 100% 100%, 50% 110%, 0 100%);"),r};function s_(e){const r={"--direction":"initial","--alignment":"initial","--distribution":"initial"};return e.type==="zlayer"||(r["--direction"]=Cn[e.type],r["--alignment"]=jn[e.alignment],e.distribution&&(r["--distribution"]=Rn[e.distribution])),r}function i_(e,r="light"){var l,u;const{font_size:t,horizontal_alignment:n,font_weight:a,font_name:o,color:s}=e,i={"--text-align":"initial","--font-weight":400,"--font-size":"initial","--font-family":"sans-serif","--background-clip":"initial","--text-fill-color":"initial"};return i["--text-align"]=n,i["--font-weight"]=Ht[a]||Ht.regular,i["--font-size"]=Yt[t]||Yt.body_m,i["--font-family"]=o||"sans-serif",s&&(((l=s[r])==null?void 0:l.type)==="linear"||((u=s[r])==null?void 0:u.type)==="radial")&&(i["--background-clip"]="text",i["--text-fill-color"]="transparent",i["--background"]=Yr({colorMap:s,colorMode:r})),i}function gt(e){return Object.entries(e).map(([r,t])=>`${r}: ${t}`).join("; ")}function Do(e,r,t,n){var o;const a=(o=n[t])==null?void 0:o[e];return(n[r]||{})[e]?n[r][e]:a}function l_(e){const r=n=>{if(n.type==="package"&&n.is_selected_by_default)return n;if(n.components&&Array.isArray(n.components))for(const a of n.components){const o=r(a);if(o)return o}if(n.stack!==void 0){const a=r(n.stack);if(a)return a}},t=r(e.components_config.base.stack);if(t!==void 0)return t.package_id}const Ln=(e,r)=>r?u_(r).reduce((a,o)=>{if(e){const s=e[o]||{};return{...a,...s}}return a},{}):{},u_=e=>e?Object.entries(e).reduce((t,[n,a])=>(a&&t.push(n),t),[]):[],c_=e=>{const{background_color:r,margin:t,padding:n,spacing:a,size:o,border:s,shape:i,colorMode:l,shadow:u,dimension:c,componentState:d,overrides:_}=e,f=Ln(_,d),m=Un({backgroundColor:r,margin:t,padding:n,border:s,colorMode:l,shape:i,shadow:u,...f}),y=s_({...c,...f});return{...Gt({...o,...f}),...y,...m,"--spacing":`${a||0}px`}};var __=x('<div class="stack svelte-hkx1fg"></div>');const d_={hash:"svelte-hkx1fg",code:".stack.svelte-hkx1fg {box-sizing:border-box;display:flex;flex-direction:var(--direction, unset);width:var(--width, unset);height:var(--height, unset);gap:var(--spacing, 0);background:var(--background, none);border:var(--border, none);border-radius:var(--border-radius, 0);box-shadow:var(--shadow, none);justify-content:var(--distribution, flex-start);align-items:var(--alignment, flex-start);padding-block-start:var(--padding-block-start, 0);padding-inline-end:var(--padding-inline-end, 0);padding-block-end:var(--padding-block-end, 0);padding-inline-start:var(--padding-inline-start, 0);margin-block-start:var(--margin-block-start, 0);margin-inline-end:var(--margin-inline-end, 0);margin-block-end:var(--margin-block-end, 0);margin-inline-start:var(--margin-inline-start, 0);flex:var(--flex, 0 1 auto);}"};function vt(e,r){ne(r,!0),H(e,d_);const t=wn(r,["$$slots","$$events","$$legacy","id","components","labels","onAction","purchaseState","variableDictionary"]),n=ee(()=>gt(c_({id:r.id,components:r.components,labels:r.labels,onAction:r.onAction,purchaseState:r.purchaseState,...t})));var a=__();Da(a,21,()=>r.components,Oa,(o,s)=>{Bn(o,{get nodeData(){return p(s)},get labels(){return r.labels},get onAction(){return r.onAction},get purchaseState(){return r.purchaseState},get variableDictionary(){return r.variableDictionary}})}),Z(()=>{K(a,"id",r.id),K(a,"style",p(n))}),h(e,a),ae()}function p_(e,r){ne(r,!0),Fo(e,{onclick:()=>{r.onAction&&r.onAction(r.action)},children:(n,a)=>{vt(n,dt(()=>r.stack,{get labels(){return r.labels},get purchaseState(){return r.purchaseState},get variableDictionary(){return r.variableDictionary}}))},$$slots:{default:!0}}),ae()}const f_=e=>{const{font_size:r="body_m",color:t={dark:{type:"hex",value:"#000000"},light:{type:"hex",value:"#000000"}},background_color:n={dark:{type:"hex",value:"#FFFFFF"},light:{type:"hex",value:"#FFFFFF"}},padding:a,margin:o,colorMode:s,size:i}=e,l=Ln(e.overrides,e.componentState),u=t_(r),c=i_({...e,...l},s),d=Un({backgroundColor:n,textColor:t,margin:o,padding:a,colorMode:s,...l}),_=Gt({...i,...l});return{textStyles:{...d,...c,..._},tagToRender:u}},m_={hash:"svelte-vi0oj2",code:".text-block.svelte-vi0oj2 {display:block;padding-block-start:var(--padding-block-start, unset);padding-inline-end:var(--padding-inline-end, unset);padding-block-end:var(--padding-block-end, unset);padding-inline-start:var(--padding-inline-start, unset);margin-block-start:var(--margin-block-start, unset);margin-inline-end:var(--margin-inline-end, unset);margin-block-end:var(--margin-block-end, unset);margin-inline-start:var(--margin-inline-start, unset);color:var(--text-color, #ffffff);background:var(--background, none);font-size:var(--font-size, 1rem);font-weight:var(--font-weight, normal);text-align:var(--text-align, center);font-family:var(--font-family, sans-serif);-webkit-background-clip:var(--background-clip, initial);background-clip:var(--background-clip, initial);-webkit-text-fill-color:var(--text-fill-color, initial);}"};function h_(e,r){ne(r,!0),H(e,m_);const t=g(r,"styleVariables",3,""),n=g(r,"component",3,"p");var a=ie(),o=j(a);Na(o,n,!1,(s,i)=>{let l;Z(()=>l=Ca(s,l,{id:r.id,style:t(),class:"text-block"},"svelte-vi0oj2",s.namespaceURI===Jr,s.nodeName.includes("-")));var u=ie(),c=j(u);yn(c,()=>r.children??Ye),h(i,u)}),h(e,a),ae()}const y_=["product_name","price","price_per_period","price_per_period_full","total_price_and_per_month","total_price_and_per_month_full","sub_price_per_month","sub_price_per_week","sub_duration","sub_duration_in_months","sub_period","sub_period_length","sub_period_abbreviated","sub_offer_duration","sub_offer_duration_2","sub_offer_price","sub_offer_price_2","sub_relative_discount"],g_=({value:e="",variableDictionary:r})=>r?y_.reduce((t,n)=>{var o;return t.replaceAll(`{{ ${n} }}`,((o=r[n])==null?void 0:o.toString())||"N/A")},e):e;var v_=x('<span class="text-wrapper svelte-1wjl3r3"><!></span>');const b_={hash:"svelte-1wjl3r3",code:".text-wrapper.svelte-1wjl3r3 {display:block;height:var(--height, unset);width:var(--width, unset);background:var(--background, none);}"};function w_(e,r){ne(r,!0),H(e,b_);const t=wn(r,["$$slots","$$events","$$legacy","id","labels","text_lid","purchaseState","variableDictionary","background_color","size"]),n=ee(()=>f_({id:r.id,labels:r.labels,text_lid:r.text_lid,purchaseState:r.purchaseState,background_color:r.background_color,size:r.size,...t})),a=ee(()=>p(n).tagToRender),o=ee(()=>p(n).textStyles),s=ee(()=>gt({...Un({backgroundColor:r.background_color,...t}),...Gt(r.size)})),i=ee(()=>gt(p(o))),l=ee(()=>Do(r.text_lid,r.purchaseState.locale,r.purchaseState.defaultLocale,r.labels)),u=ee(()=>g_({value:p(l),variableDictionary:r.variableDictionary}));var c=v_(),d=q(c);h_(d,{get styleVariables(){return p(i)},get component(){return p(a)},get id(){return r.id},children:(_,f)=>{var m=_t();Z(()=>ar(m,p(u))),h(_,m)},$$slots:{default:!0}}),Z(()=>K(c,"style",p(s))),h(e,c),ae()}function Bn(e,r){ne(r,!0);const t=Ya(),n=()=>Ha(To,"$prefersDarkMode",t),a={text:w_,stack:vt,image:O_,button:p_,purchase_button:M_,package:R_,footer:L_},o=ee(()=>a[r.nodeData.type]);var s=ie(),i=j(s);Gs(i,()=>p(o),(l,u)=>{u(l,dt(()=>r.nodeData||{},{get labels(){return r.labels},get prefersDarkMode(){return n()},get onAction(){return r.onAction},get purchaseState(){return r.purchaseState},get variableDictionary(){return r.variableDictionary},children:(c,d)=>{var _=ie(),f=j(_);Da(f,17,()=>r.nodeData.components,Oa,(m,y)=>{Bn(m,{get nodeData(){return p(y)},get labels(){return r.labels},get onAction(){return r.onAction},get purchaseState(){return r.purchaseState},get variableDictionary(){return r.variableDictionary}})}),h(c,_)},$$slots:{default:!0}}))}),h(e,s),ae()}function P_({background:e,colorMode:r}){if(!e)return"";if(e.type==="color")return`--background: ${Yr({colorMap:e.value,colorMode:r,fallback:"transparent"})};`}function k_(e,r){var n,a,o,s;if(((a=(n=e.components_config.base)==null?void 0:n.background)==null?void 0:a.type)!=="image")return"";const t=e.components_config.base.background;return((o=t.value[r])==null?void 0:o.original)||((s=t.value.light)==null?void 0:s.original)}var E_=x('<div class="paywall-background svelte-mzlfw9"></div>'),x_=x('<div class="paywall-background image-container svelte-mzlfw9"><img class="image svelte-mzlfw9" alt=""></div>'),S_=x('<div class="paywall svelte-mzlfw9"><!> <!></div>');const I_={hash:"svelte-mzlfw9",code:`
126
+ /* 1. Use a more-intuitive box-sizing model */.svelte-mzlfw9,
127
+ .svelte-mzlfw9::before,
128
+ .svelte-mzlfw9::after {box-sizing:border-box;margin:0;}.paywall.svelte-mzlfw9 {position:relative;}.paywall-background.svelte-mzlfw9 {position:absolute;top:0;left:0;width:100%;height:100%;background:var(--background, none);z-index:-1;}.image-container.svelte-mzlfw9 {overflow:hidden;background:none;}.image.svelte-mzlfw9 {width:100%;height:100%;object-fit:cover;display:block;}
129
129
 
130
- /* 2. Remove default margin */.svelte-1f98y3q {margin:0;}
131
-
132
- /* 5. Improve media defaults */
130
+ /* 5. Improve media defaults */img.svelte-mzlfw9 {display:block;max-width:100%;}
133
131
 
134
132
  /* 6. Inherit fonts for form controls */
135
133
 
@@ -139,6 +137,6 @@
139
137
 
140
138
  /*
141
139
  9. Create a root stacking context
142
- */`};function c_(e,r){X(r,!0),L(e,u_);const t=v(r,"variablesPerPackage",19,()=>({}));let n=nr({selectedPackageId:$c(r.paywallData),locale:r.selectedLocale||r.paywallData.default_locale,defaultLocale:r.paywallData.default_locale,variablesPerPackage:t()}),a=Ko(nr(t()[n.selectedPackageId||""]));const o=(p,m)=>{var g;(g=r.onRestorePurchasesClicked)==null||g.call(r)},s=(p,m)=>{var g;(g=r.onBackClicked)==null||g.call(r)},i=(p,m)=>{var h,P;if(p.destination==="customer_center"&&((h=r.onVisitCustomerCenterClicked)==null||h.call(r)),!p.url)return;const g=Po(p.url.url_lid,n.locale,n.defaultLocale,r.paywallData.components_localizations);g&&((P=r.onNavigateToUrlClicked)==null||P.call(r,g))},l=(p,m)=>{n.selectedPackageId=m==null?void 0:m.packageId,m!=null&&m.packageId&&F(a,nr(t()[m.packageId]))},u=(p,m)=>{var g;n.selectedPackageId!==void 0&&((g=r.onPurchaseClicked)==null||g.call(r,n.selectedPackageId))},c=(p,m)=>{switch(p.type){case"select_package":l(p,m);break;case"navigate_to":i(p);break;case"navigate_back":s();break;case"restore_purchases":o();break;case"purchase":u();break}};var d=l_(),_=E(d);An(_,{onAction:c,get nodeData(){return r.paywallData.components_config.base.stack},get labels(){return r.paywallData.components_localizations},get purchaseState(){return n},get variableDictionary(){return f(a)}}),y(e,d),ee()}const __=e=>{const{gradient_colors:r,colorMode:t,mask_shape:n,size:a,max_height:o,override_source_lid:s}=e,i=Wc(t,r),l=Fn(a),u=Zc(n);return{imageStyles:{...l,...u},gradientStyles:i}};var d_=k('<div class="image-container svelte-1bktrru"><img class="image svelte-1bktrru" alt=""> <span class="image-overlay svelte-1bktrru"></span></div>');const p_={hash:"svelte-1bktrru",code:".image-container.svelte-1bktrru {position:relative;height:var(--height, unset);width:var(--width, unset);overflow:hidden;border-radius:var(--corner-radius, unset);clip-path:var(--clip-path, unset);display:flex;flex:var(--flex, 1 0 auto);}.image.svelte-1bktrru {width:100%;height:100%;object-fit:cover;display:block;}.image-overlay.svelte-1bktrru {position:absolute;inset:0;background:var(--background, none);}"};function f_(e,r){X(r,!0),L(e,p_);const t=cn(r,["$$slots","$$events","$$legacy","id","colorMode","source"]),n=ne(()=>__({id:r.id,colorMode:r.colorMode,source:r.source,...t})),a=ne(()=>f(n).gradientStyles),o=ne(()=>f(n).imageStyles),s=ne(()=>jt(f(a))),i=ne(()=>jt(f(o)));var l=d_(),u=E(l),c=D(u,2);W(()=>{var d;J(l,"id",`image-container-${r.id}`),J(l,"style",f(i)),J(u,"src",(d=r.source[r.colorMode||"light"])==null?void 0:d.original),J(u,"id",r.id),J(c,"style",f(s))}),y(e,l),ee()}const m_={hash:"svelte-raczc6",code:""};function h_(e,r){X(r,!0),L(e,m_),yo(e,{onclick:()=>{r.onAction&&r.onAction({type:"purchase"})},class:"purchase-button",children:(n,a)=>{dt(n,st(()=>r.stack,{get labels(){return r.labels},get purchaseState(){return r.purchaseState},get variableDictionary(){return r.variableDictionary}}))},$$slots:{default:!0}}),ee()}const y_=(e,r)=>{e.preventDefault(),e.stopPropagation(),r.onAction&&r.onAction({type:"select_package"},{packageId:r.package_id})};var g_=k('<button class="package svelte-128m8vw"><!></button>');const v_={hash:"svelte-128m8vw",code:".package.svelte-128m8vw {width:100%;display:flex;margin:0;padding:0;background:unset;border:unset;text-align:unset;}"};function b_(e,r){X(r,!0),L(e,v_);const t=ne(()=>{var s;return((s=r.purchaseState.variablesPerPackage)==null?void 0:s[r.package_id])||r.variableDictionary}),n=ne(()=>{var s;return((s=r.purchaseState)==null?void 0:s.selectedPackageId)===r.package_id});var a=g_();a.__click=[y_,r];var o=E(a);dt(o,st(()=>r.stack,{get labels(){return r.labels},get onAction(){return r.onAction},get purchaseState(){return r.purchaseState},get variableDictionary(){return f(t)}})),W(()=>{J(a,"id",r.id),Ns(a,"selected",f(n))}),y(e,a),ee()}sn(["click"]);var P_=k('<div class="footer"><!></div>');function w_(e,r){var t=P_(),n=E(t);dt(n,st(()=>r.stack,{get labels(){return r.labels},get purchaseState(){return r.purchaseState},get variableDictionary(){return r.variableDictionary}})),W(()=>J(t,"id",r.id)),y(e,t)}const k_=1000001;function E_(e){return e.rcBillingProduct.defaultPurchaseOption}function wo(e,r,t,n=!1){return t.translate(O.PaywallVariablesPricePerPeriod,{formattedPrice:e,period:r.base.period?t.translatePeriod(r.base.period.number,r.base.period.unit,{noWhitespace:!0,short:!n}):""})}function x_(e,r){return e.unit==="year"?r.translatePeriod(e.number*12,fr.Month):r.translatePeriod(e.number,e.unit)}function I_({price:e,period:r,translator:t}){const n=t.formatPrice(e.amountMicros,e.currency);return r?r.unit==="year"?t.formatPrice(e.amountMicros/12/4,e.currency):r.unit==="month"||r.unit==="week"&&r.number>1?t.formatPrice(e.amountMicros/r.number,e.currency):r.unit==="day"?t.formatPrice(e.amountMicros*7/r.number,e.currency):n:n}function S_({price:e,period:r,translator:t}){const n=t.formatPrice(e.amountMicros,e.currency);return!r||!r.number?n:r.unit==="year"?t.formatPrice(e.amountMicros/12,e.currency):r.unit==="month"&&r.number>1?t.formatPrice(e.amountMicros/r.number,e.currency):r.unit==="week"?t.formatPrice(e.amountMicros*4/r.number,e.currency):r.unit==="day"?t.formatPrice(e.amountMicros*30/r.number,e.currency):n}function ko({price:e,period:r,full:t=!1,translator:n}){if(!r||!r.number||r.unit===fr.Month&&r.number==1)return n.formatPrice(e.amountMicros,e.currency);let a="";switch(r.unit){case fr.Year:a=n.formatPrice(e.amountMicros/12,e.currency);break;case fr.Month:a=n.formatPrice(e.amountMicros/r.number,e.currency);break;case fr.Week:a=n.formatPrice(e.amountMicros*4/r.number,e.currency);break;case fr.Day:a=n.formatPrice(e.amountMicros*30/r.number,e.currency);break}return n.translate(O.PaywallVariablesTotalPriceAndPerMonth,{formattedPrice:n.formatPrice(e.amountMicros,e.currency),period:n.translatePeriod(r.number,r.unit,{noWhitespace:!0,short:!t}),formattedPricePerMonth:a,monthPeriod:n.translatePeriodUnit(fr.Month,{noWhitespace:!0,short:!t})})}function q_(e,r){const t=e.availablePackages,n=t.reduce((a,o)=>a.rcBillingProduct.currentPrice.amountMicros>o.rcBillingProduct.currentPrice.amountMicros?a:o);return t.reduce((a,o)=>(a[o.identifier]=T_(o,n,r),a),{})}function T_(e,r,t){const n=e.rcBillingProduct,a=t.formatPrice(n.currentPrice.amountMicros,n.currentPrice.currency),o=E_(e),s=n.productType,i={product_name:n.title,price:a,price_per_period:"",price_per_period_full:"",total_price_and_per_month:"",total_price_and_per_month_full:"",sub_price_per_month:"",sub_price_per_week:"",sub_duration:"",sub_duration_in_months:"",sub_period:"",sub_period_length:"",sub_period_abbreviated:"",sub_offer_duration:void 0,sub_offer_duration_2:void 0,sub_offer_price:void 0,sub_offer_price_2:void 0,sub_relative_discount:""};if(s===Je.Subscription&&o){i.price_per_period=wo(a,o,t),i.price_per_period_full=wo(a,o,t,!0);const l=o.base.period;i.total_price_and_per_month=ko({price:n.currentPrice,period:l,translator:t}),i.total_price_and_per_month_full=ko({price:n.currentPrice,period:l,full:!0,translator:t}),i.sub_price_per_month=S_({price:n.currentPrice,period:l,translator:t}),i.sub_price_per_week=I_({price:n.currentPrice,period:l,translator:t}),i.sub_duration=t.translatePeriod(l==null?void 0:l.number,l==null?void 0:l.unit),i.sub_duration_in_months=x_(l,t),i.sub_period=t.translatePeriodFrequency(l==null?void 0:l.number,l==null?void 0:l.unit),i.sub_period_length=l?t.translatePeriodUnit(l.unit,{noWhitespace:!0}):void 0,i.sub_period_abbreviated=l?t.translatePeriodUnit(l.unit,{noWhitespace:!0,short:!0}):void 0;const u=n.currentPrice.amountMicros,c=r.rcBillingProduct.currentPrice.amountMicros,d=((c-u)*100/c).toFixed(0);i.sub_relative_discount=u===c?"":t.translate(O.PaywallVariablesSubRelativeDiscount,{discount:d})}return(s===Je.NonConsumable||s===Je.Consumable)&&o&&(i.price=a,i.price_per_period=a,i.price_per_period_full=a,i.total_price_and_per_month=a,i.sub_price_per_month=a,i.sub_duration=t.translate(O.PeriodsLifetime),i.sub_duration_in_months=t.translate(O.PeriodsLifetime),i.sub_period=t.translate(O.PeriodsLifetime),i.sub_price_per_week=void 0,i.sub_relative_discount=void 0,i.price_per_period_full=a,i.total_price_and_per_month_full=a,i.sub_period_length=void 0,i.sub_period_abbreviated=void 0),i}Eo=[Cc];const Ie=class Ie{constructor(r,t,n=wn){Do(Dn,5,this);U(this,"_API_KEY");U(this,"_appUserId");U(this,"_brandingInfo",null);U(this,"_loadingResourcesPromise",null);U(this,"backend");U(this,"purchaseOperationHelper");this._API_KEY=r,this._appUserId=t,bn(r)&&Z.debugLog("Initializing Purchases SDK with sandbox API Key"),this.backend=new Ac(this._API_KEY,n),this.purchaseOperationHelper=new rl(this.backend)}static setLogLevel(r){Z.setLogLevel(r)}static getSharedInstance(){if(Ie.isConfigured())return Ie.instance;throw new Ba}static isConfigured(){return Ie.instance!==void 0}static configure(r,t,n=wn){return Ie.instance!==void 0&&Z.warnLog("Purchases is already initialized. You normally should only configure Purchases once. Creating and returning new instance."),Oc(r),Dc(t),Mc(n.proxyURL),Nc(n.additionalHeaders),Ie.instance=new Ie(r,t,n),Ie.getSharedInstance()}async preload(){if(this.hasLoadedResources()){Z.verboseLog("Purchases resources are loaded. Skipping.");return}if(this._loadingResourcesPromise!==null){Z.verboseLog("Purchases resources are loading. Waiting."),await this._loadingResourcesPromise;return}return this._loadingResourcesPromise=this.backend.getBrandingInfo().then(r=>{this._brandingInfo=r}).catch(r=>{let t=`${r}`;r instanceof _e&&(t=`${r.message}. ${r.underlyingErrorMessage?`Underlying error: ${r.underlyingErrorMessage}`:""}`),Z.errorLog(`Error fetching branding info: ${t}`)}).finally(()=>{this._loadingResourcesPromise=null}),this._loadingResourcesPromise}hasLoadedResources(){return this._brandingInfo!==null}async renderPaywall(r){console.warn("This method is @experimental, Paywalls are not generally available but they will come soon!");let n=r.htmlTarget??document.getElementById("rcb-ui-pw-root");if(n===null){const p=document.createElement("div");p.id="rcb-ui-pw-root",p.className="rcb-ui-pw-root",p.style.zIndex=`${k_}`,document.body.appendChild(p),n=p}if(n===null)throw new Error("Could not generate a mount point for the billing widget");const a=n;a.innerHTML="";const o=r.offering;if(!o.paywall_components)throw new Error("You cannot use paywalls yet, they are coming soon!");const s=r.selectedLocale||navigator.language,i=new Le({},s,o.paywall_components.default_locale),l=p=>{var g;const m=o.availablePackages.find(h=>h.identifier===p);if(m===void 0)throw new Error(`No package found for ${p}`);return this.purchase({rcPackage:m,htmlTarget:r.purchaseHtmlTarget,customerEmail:r.customerEmail,selectedLocale:s,defaultLocale:((g=o.paywall_components)==null?void 0:g.default_locale)||or})},u=p=>{var m;if(r.onNavigateToUrl){r.onNavigateToUrl(p);return}(m=window.open(p,"_blank"))==null||m.focus()},c=()=>{},d=()=>{if(r.onVisitCustomerCenter){r.onVisitCustomerCenter();return}},_=q_(o,i);return new Promise((p,m)=>{ga(c_,{target:a,props:{paywallData:o.paywall_components,selectedLocale:s,onNavigateToUrlClicked:u,onVisitCustomerCenterClicked:d,onBackClicked:()=>{if(r.onBack){r.onBack();return}a.innerHTML="",Z.debugLog("Purchase cancelled by user"),m(new _e(he.UserCancelledError))},onRestorePurchasesClicked:c,onPurchaseClicked:g=>{l(g).then(h=>{p(h)}).catch(h=>m(h))},variablesPerPackage:_}})})}async getOfferings(r){xu(r==null?void 0:r.currency);const t=this._appUserId,n=await this.backend.getOfferings(t),a=(r==null?void 0:r.offeringIdentifier)===kn.Current?n.current_offering_id:r==null?void 0:r.offeringIdentifier;return a&&(n.offerings=n.offerings.filter(o=>o.identifier===a)),await this.getAllOfferings(n,t,r)}async getCurrentOfferingForPlacement(r,t){const n=this._appUserId,a=await this.backend.getOfferings(n),o=await this.getAllOfferings(a,n,t),s=a.placements??null;return s==null?null:jc(s,o.all,r)}async getAllOfferings(r,t,n){const a=r.offerings.flatMap(s=>s.packages).map(s=>s.platform_product_identifier),o=await this.backend.getProducts(t,a,n==null?void 0:n.currency);return this.logMissingProductIds(a,o.product_details),Rc(r,o)}async isEntitledTo(r){const t=await this.getCustomerInfo();return r in t.entitlements.active}purchasePackage(r,t,n){return this.purchase({rcPackage:r,customerEmail:t,htmlTarget:n})}purchase(r){const{rcPackage:t,purchaseOption:n,htmlTarget:a,customerEmail:o,selectedLocale:s=or,defaultLocale:i=or}=r;let l=a??document.getElementById("rcb-ui-root");if(l===null){const p=document.createElement("div");p.className="rcb-ui-root",document.body.appendChild(p),l=p}if(l===null)throw new Error("Could not generate a mount point for the billing widget");const u=l,c=!a,d=this._appUserId;Z.debugLog(`Presenting purchase form for package ${t.identifier}`);const _=s||i;return new Promise((p,m)=>{ga(ic,{target:u,props:{appUserId:d,rcPackage:t,purchaseOption:n,customerEmail:o,onFinished:async g=>{Z.debugLog("Purchase finished"),u.innerHTML="";const h={customerInfo:await this._getCustomerInfoForUserId(d),redemptionInfo:g};p(h)},onClose:()=>{u.innerHTML="",Z.debugLog("Purchase cancelled by user"),m(new _e(he.UserCancelledError))},onError:g=>{u.innerHTML="",m(_e.getForPurchasesFlowError(g))},purchases:this,brandingInfo:this._brandingInfo,purchaseOperationHelper:this.purchaseOperationHelper,asModal:c,selectedLocale:_,defaultLocale:i}})})}async getCustomerInfo(){return await this._getCustomerInfoForUserId(this._appUserId)}getAppUserId(){return this._appUserId}async changeUser(r){return this._appUserId=r,await this.getCustomerInfo()}logMissingProductIds(r,t){const n={};t.forEach(o=>n[o.identifier]=o);const a=[];r.forEach(o=>{n[o]===void 0&&a.push(o)}),a.length>0&&Z.debugLog(`Could not find product data for product ids:
140
+ */`};function q_(e,r){ne(r,!0),H(e,I_);const t=Ya(),n=()=>Ha(To,"$prefersDarkMode",t),a=g(r,"variablesPerPackage",19,()=>({}));let o=tr({selectedPackageId:l_(r.paywallData),locale:r.selectedLocale||r.paywallData.default_locale,defaultLocale:r.paywallData.default_locale,variablesPerPackage:a()}),s=_s(tr(a()[o.selectedPackageId||""]));const i=(v,T)=>{var k;(k=r.onRestorePurchasesClicked)==null||k.call(r)},l=(v,T)=>{var k;(k=r.onBackClicked)==null||k.call(r)},u=(v,T)=>{var O,G;if(v.destination==="customer_center"&&((O=r.onVisitCustomerCenterClicked)==null||O.call(r)),!v.url)return;const k=Do(v.url.url_lid,o.locale,o.defaultLocale,r.paywallData.components_localizations);k&&((G=r.onNavigateToUrlClicked)==null||G.call(r,k))},c=(v,T)=>{o.selectedPackageId=T==null?void 0:T.packageId,T!=null&&T.packageId&&A(s,tr(a()[T.packageId]))},d=(v,T)=>{var k;o.selectedPackageId!==void 0&&((k=r.onPurchaseClicked)==null||k.call(r,o.selectedPackageId))},_=(v,T)=>{switch(v.type){case"select_package":c(v,T);break;case"navigate_to":u(v);break;case"navigate_back":l();break;case"restore_purchases":i();break;case"purchase":d();break}},f=ee(()=>n()?"dark":"light"),m=ee(()=>{var v;return P_({background:(v=r.paywallData.components_config.base)==null?void 0:v.background,colorMode:p(f)})}),y=ee(()=>k_(r.paywallData,n()?"dark":"light"));var w=S_(),P=q(w);Bn(P,{onAction:_,get nodeData(){return r.paywallData.components_config.base.stack},get labels(){return r.paywallData.components_localizations},get purchaseState(){return o},get variableDictionary(){return p(s)}});var E=N(P,2);{var I=v=>{var T=E_();Z(()=>K(T,"style",p(m))),h(v,T)},b=v=>{var T=ie(),k=j(T);{var O=G=>{var D=x_(),oe=q(D);Z(()=>K(oe,"src",p(y))),h(G,D)};U(k,G=>{var D;((D=r.paywallData.components_config.base.background)==null?void 0:D.type)==="image"&&G(O)},!0)}h(v,T)};U(E,v=>{var T;((T=r.paywallData.components_config.base.background)==null?void 0:T.type)==="color"?v(I):v(b,!1)})}h(e,w),ae()}const T_=e=>{const{gradient_colors:r,colorMode:t,mask_shape:n,size:a,overrides:o,componentState:s}=e,i=Ln(o,s),l=a_(t,(i==null?void 0:i.gradient_colors)||r),u=Gt({...a,...i}),c=o_({...n,...i});return{imageStyles:{...u,...c},gradientStyles:l}};var F_=x('<div class="image-container svelte-3o7c39"><img class="image svelte-3o7c39" alt=""> <span class="image-overlay svelte-3o7c39"></span></div>');const A_={hash:"svelte-3o7c39",code:".image-container.svelte-3o7c39 {position:relative;height:var(--height, unset);width:var(--width, unset);overflow:hidden;border-radius:var(--corner-radius, unset);clip-path:var(--clip-path, unset);display:flex;flex:var(--flex, 1 1 auto);}.image.svelte-3o7c39 {width:100%;height:100%;object-fit:cover;display:block;}.image-overlay.svelte-3o7c39 {position:absolute;inset:0;background:var(--background, none);}"};function O_(e,r){ne(r,!0),H(e,A_);const t=wn(r,["$$slots","$$events","$$legacy","id","colorMode","source"]),n=ee(()=>T_({id:r.id,colorMode:r.colorMode,source:r.source,...t})),a=ee(()=>p(n).gradientStyles),o=ee(()=>p(n).imageStyles),s=ee(()=>gt(p(a))),i=ee(()=>gt(p(o)));var l=F_(),u=q(l),c=N(u,2);Z(()=>{var d;K(l,"id",`image-container-${r.id}`),K(l,"style",p(i)),K(u,"src",(d=r.source[r.colorMode||"light"])==null?void 0:d.original),K(u,"id",r.id),K(c,"style",p(s))}),h(e,l),ae()}const D_={hash:"svelte-raczc6",code:""};function M_(e,r){ne(r,!0),H(e,D_),Fo(e,{onclick:()=>{r.onAction&&r.onAction({type:"purchase"})},class:"purchase-button",children:(n,a)=>{vt(n,dt(()=>r.stack,{get labels(){return r.labels},get purchaseState(){return r.purchaseState},get variableDictionary(){return r.variableDictionary}}))},$$slots:{default:!0}}),ae()}const N_=(e,r)=>{e.preventDefault(),e.stopPropagation(),r.onAction&&r.onAction({type:"select_package"},{packageId:r.package_id})};var C_=x('<button class="package svelte-128m8vw"><!></button>');const j_={hash:"svelte-128m8vw",code:".package.svelte-128m8vw {width:100%;display:flex;margin:0;padding:0;background:unset;border:unset;text-align:unset;}"};function R_(e,r){ne(r,!0),H(e,j_);const t=ee(()=>{var s;return((s=r.purchaseState.variablesPerPackage)==null?void 0:s[r.package_id])||r.variableDictionary}),n=ee(()=>{var s;return{selected:((s=r.purchaseState)==null?void 0:s.selectedPackageId)===r.package_id}});var a=C_();a.__click=[N_,r];var o=q(a);vt(o,dt(()=>r.stack,{get labels(){return r.labels},get onAction(){return r.onAction},get purchaseState(){return r.purchaseState},get componentState(){return p(n)},get variableDictionary(){return p(t)}})),Z(()=>{K(a,"id",r.id),Qs(a,"selected",p(n).selected)}),h(e,a),ae()}hn(["click"]);var U_=x('<div class="footer"><!></div>');function L_(e,r){var t=U_(),n=q(t);vt(n,dt(()=>r.stack,{get labels(){return r.labels},get purchaseState(){return r.purchaseState},get variableDictionary(){return r.variableDictionary}})),Z(()=>K(t,"id",r.id)),h(e,t)}const B_=1000001;function z_(e){return e.rcBillingProduct.defaultPurchaseOption}function Mo(e,r,t,n=!1){return t.translate(C.PaywallVariablesPricePerPeriod,{formattedPrice:e,period:r.base.period?t.translatePeriod(r.base.period.number,r.base.period.unit,{noWhitespace:!0,short:!n}):""})}function V_(e,r){return e.unit==="year"?r.translatePeriod(e.number*12,mr.Month):r.translatePeriod(e.number,e.unit)}function H_({price:e,period:r,translator:t}){const n=t.formatPrice(e.amountMicros,e.currency);return r?r.unit==="year"?t.formatPrice(e.amountMicros/12/4,e.currency):r.unit==="month"||r.unit==="week"&&r.number>1?t.formatPrice(e.amountMicros/r.number,e.currency):r.unit==="day"?t.formatPrice(e.amountMicros*7/r.number,e.currency):n:n}function Y_({price:e,period:r,translator:t}){const n=t.formatPrice(e.amountMicros,e.currency);return!r||!r.number?n:r.unit==="year"?t.formatPrice(e.amountMicros/12,e.currency):r.unit==="month"&&r.number>1?t.formatPrice(e.amountMicros/r.number,e.currency):r.unit==="week"?t.formatPrice(e.amountMicros*4/r.number,e.currency):r.unit==="day"?t.formatPrice(e.amountMicros*30/r.number,e.currency):n}function No({price:e,period:r,full:t=!1,translator:n}){if(!r||!r.number||r.unit===mr.Month&&r.number==1)return n.formatPrice(e.amountMicros,e.currency);let a="";switch(r.unit){case mr.Year:a=n.formatPrice(e.amountMicros/12,e.currency);break;case mr.Month:a=n.formatPrice(e.amountMicros/r.number,e.currency);break;case mr.Week:a=n.formatPrice(e.amountMicros*4/r.number,e.currency);break;case mr.Day:a=n.formatPrice(e.amountMicros*30/r.number,e.currency);break}return n.translate(C.PaywallVariablesTotalPriceAndPerMonth,{formattedPrice:n.formatPrice(e.amountMicros,e.currency),period:n.translatePeriod(r.number,r.unit,{noWhitespace:!0,short:!t}),formattedPricePerMonth:a,monthPeriod:n.translatePeriodUnit(mr.Month,{noWhitespace:!0,short:!t})})}function G_(e,r){const t=e.availablePackages,n=t.reduce((a,o)=>a.rcBillingProduct.currentPrice.amountMicros>o.rcBillingProduct.currentPrice.amountMicros?a:o);return t.reduce((a,o)=>(a[o.identifier]=W_(o,n,r),a),{})}function W_(e,r,t){const n=e.rcBillingProduct,a=t.formatPrice(n.currentPrice.amountMicros,n.currentPrice.currency),o=z_(e),s=n.productType,i={product_name:n.title,price:a,price_per_period:"",price_per_period_full:"",total_price_and_per_month:"",total_price_and_per_month_full:"",sub_price_per_month:"",sub_price_per_week:"",sub_duration:"",sub_duration_in_months:"",sub_period:"",sub_period_length:"",sub_period_abbreviated:"",sub_offer_duration:void 0,sub_offer_duration_2:void 0,sub_offer_price:void 0,sub_offer_price_2:void 0,sub_relative_discount:""};if(s===Je.Subscription&&o){i.price_per_period=Mo(a,o,t),i.price_per_period_full=Mo(a,o,t,!0);const l=o.base.period;i.total_price_and_per_month=No({price:n.currentPrice,period:l,translator:t}),i.total_price_and_per_month_full=No({price:n.currentPrice,period:l,full:!0,translator:t}),i.sub_price_per_month=Y_({price:n.currentPrice,period:l,translator:t}),i.sub_price_per_week=H_({price:n.currentPrice,period:l,translator:t}),i.sub_duration=t.translatePeriod(l==null?void 0:l.number,l==null?void 0:l.unit),i.sub_duration_in_months=V_(l,t),i.sub_period=t.translatePeriodFrequency(l==null?void 0:l.number,l==null?void 0:l.unit),i.sub_period_length=l?t.translatePeriodUnit(l.unit,{noWhitespace:!0}):void 0,i.sub_period_abbreviated=l?t.translatePeriodUnit(l.unit,{noWhitespace:!0,short:!0}):void 0;const u=n.currentPrice.amountMicros,c=r.rcBillingProduct.currentPrice.amountMicros,d=((c-u)*100/c).toFixed(0);i.sub_relative_discount=u===c?"":t.translate(C.PaywallVariablesSubRelativeDiscount,{discount:d})}return(s===Je.NonConsumable||s===Je.Consumable)&&o&&(i.price=a,i.price_per_period=a,i.price_per_period_full=a,i.total_price_and_per_month=a,i.sub_price_per_month=a,i.sub_duration=t.translate(C.PeriodsLifetime),i.sub_duration_in_months=t.translate(C.PeriodsLifetime),i.sub_period=t.translate(C.PeriodsLifetime),i.sub_price_per_week=void 0,i.sub_relative_discount=void 0,i.price_per_period_full=a,i.total_price_and_per_month_full=a,i.sub_period_length=void 0,i.sub_period_abbreviated=void 0),i}Co=[Zc];const Fe=class Fe{constructor(r,t,n=Dn){Go(Vn,5,this);V(this,"_API_KEY");V(this,"_appUserId");V(this,"_brandingInfo",null);V(this,"_loadingResourcesPromise",null);V(this,"backend");V(this,"purchaseOperationHelper");this._API_KEY=r,this._appUserId=t,An(r)&&X.debugLog("Initializing Purchases SDK with sandbox API Key"),this.backend=new Vc(this._API_KEY,n),this.purchaseOperationHelper=new pl(this.backend)}static setLogLevel(r){X.setLogLevel(r)}static getSharedInstance(){if(Fe.isConfigured())return Fe.instance;throw new $a}static isConfigured(){return Fe.instance!==void 0}static configure(r,t,n=Dn){return Fe.instance!==void 0&&X.warnLog("Purchases is already initialized. You normally should only configure Purchases once. Creating and returning new instance."),Hc(r),Yc(t),Gc(n.proxyURL),Wc(n.additionalHeaders),Fe.instance=new Fe(r,t,n),Fe.getSharedInstance()}async preload(){if(this.hasLoadedResources()){X.verboseLog("Purchases resources are loaded. Skipping.");return}if(this._loadingResourcesPromise!==null){X.verboseLog("Purchases resources are loading. Waiting."),await this._loadingResourcesPromise;return}return this._loadingResourcesPromise=this.backend.getBrandingInfo().then(r=>{this._brandingInfo=r}).catch(r=>{let t=`${r}`;r instanceof fe&&(t=`${r.message}. ${r.underlyingErrorMessage?`Underlying error: ${r.underlyingErrorMessage}`:""}`),X.errorLog(`Error fetching branding info: ${t}`)}).finally(()=>{this._loadingResourcesPromise=null}),this._loadingResourcesPromise}hasLoadedResources(){return this._brandingInfo!==null}async renderPaywall(r){console.warn("This method is @experimental, Paywalls are not generally available but they will come soon!");let n=r.htmlTarget??document.getElementById("rcb-ui-pw-root");if(n===null){const f=document.createElement("div");f.id="rcb-ui-pw-root",f.className="rcb-ui-pw-root",f.style.zIndex=`${B_}`,document.body.appendChild(f),n=f}if(n===null)throw new Error("Could not generate a mount point for the billing widget");const a=n;a.innerHTML="";const o=r.offering;if(!o.paywall_components)throw new Error("You cannot use paywalls yet, they are coming soon!");const s=r.selectedLocale||navigator.language,i=new Ve({},s,o.paywall_components.default_locale),l=f=>{var y;const m=o.availablePackages.find(w=>w.identifier===f);if(m===void 0)throw new Error(`No package found for ${f}`);return this.purchase({rcPackage:m,htmlTarget:r.purchaseHtmlTarget,customerEmail:r.customerEmail,selectedLocale:s,defaultLocale:((y=o.paywall_components)==null?void 0:y.default_locale)||or})},u=f=>{var m;if(r.onNavigateToUrl){r.onNavigateToUrl(f);return}(m=window.open(f,"_blank"))==null||m.focus()},c=()=>{},d=()=>{if(r.onVisitCustomerCenter){r.onVisitCustomerCenter();return}},_=G_(o,i);return new Promise((f,m)=>{Fa(q_,{target:a,props:{paywallData:o.paywall_components,selectedLocale:s,onNavigateToUrlClicked:u,onVisitCustomerCenterClicked:d,onBackClicked:()=>{if(r.onBack){r.onBack();return}a.innerHTML="",X.debugLog("Purchase cancelled by user"),m(new fe(ge.UserCancelledError))},onRestorePurchasesClicked:c,onPurchaseClicked:y=>{l(y).then(w=>{f(w)}).catch(w=>m(w))},onError:y=>m(y),variablesPerPackage:_}})})}async getOfferings(r){ju(r==null?void 0:r.currency);const t=this._appUserId,n=await this.backend.getOfferings(t),a=(r==null?void 0:r.offeringIdentifier)===Mn.Current?n.current_offering_id:r==null?void 0:r.offeringIdentifier;return a&&(n.offerings=n.offerings.filter(o=>o.identifier===a)),await this.getAllOfferings(n,t,r)}async getCurrentOfferingForPlacement(r,t){const n=this._appUserId,a=await this.backend.getOfferings(n),o=await this.getAllOfferings(a,n,t),s=a.placements??null;return s==null?null:Qc(s,o.all,r)}async getAllOfferings(r,t,n){const a=r.offerings.flatMap(s=>s.packages).map(s=>s.platform_product_identifier),o=await this.backend.getProducts(t,a,n==null?void 0:n.currency);return this.logMissingProductIds(a,o.product_details),Jc(r,o)}async isEntitledTo(r){const t=await this.getCustomerInfo();return r in t.entitlements.active}purchasePackage(r,t,n){return this.purchase({rcPackage:r,customerEmail:t,htmlTarget:n})}purchase(r){const{rcPackage:t,purchaseOption:n,htmlTarget:a,customerEmail:o,selectedLocale:s=or,defaultLocale:i=or}=r;let l=a??document.getElementById("rcb-ui-root");if(l===null){const f=document.createElement("div");f.className="rcb-ui-root",document.body.appendChild(f),l=f}if(l===null)throw new Error("Could not generate a mount point for the billing widget");const u=l,c=!a,d=this._appUserId;X.debugLog(`Presenting purchase form for package ${t.identifier}`);const _=s||i;return new Promise((f,m)=>{Fa(vc,{target:u,props:{appUserId:d,rcPackage:t,purchaseOption:n,customerEmail:o,onFinished:async y=>{X.debugLog("Purchase finished"),u.innerHTML="";const w={customerInfo:await this._getCustomerInfoForUserId(d),redemptionInfo:y};f(w)},onClose:()=>{u.innerHTML="",X.debugLog("Purchase cancelled by user"),m(new fe(ge.UserCancelledError))},onError:y=>{u.innerHTML="",m(fe.getForPurchasesFlowError(y))},purchases:this,brandingInfo:this._brandingInfo,purchaseOperationHelper:this.purchaseOperationHelper,asModal:c,selectedLocale:_,defaultLocale:i}})})}async getCustomerInfo(){return await this._getCustomerInfoForUserId(this._appUserId)}getAppUserId(){return this._appUserId}async changeUser(r){return this._appUserId=r,await this.getCustomerInfo()}logMissingProductIds(r,t){const n={};t.forEach(o=>n[o.identifier]=o);const a=[];r.forEach(o=>{n[o]===void 0&&a.push(o)}),a.length>0&&X.debugLog(`Could not find product data for product ids:
143
141
  ${a.join()}.
144
- Please check that your product configuration is correct.`)}isSandbox(){return bn(this._API_KEY)}close(){Ie.instance===this?Ie.instance=void 0:Z.warnLog("Trying to close a Purchases instance that is not the current instance. Ignoring.")}async _getCustomerInfoForUserId(r){const t=await this.backend.getCustomerInfo(r);return pc(t)}static generateRevenueCatAnonymousAppUserId(){return`$RCAnonymousID:${crypto.randomUUID().replace(/-/g,"")}`}};Dn=Ao(null),Mo(Dn,1,"purchase",Eo,Ie),Nn(Dn,Ie),U(Ie,"instance");let On=Ie;w.ErrorCode=he,w.LogLevel=xe,w.OfferingKeyword=kn,w.PackageType=Ca,w.ProductType=Je,w.Purchases=On,w.PurchasesError=_e,w.UninitializedPurchasesError=Ba,Object.defineProperty(w,Symbol.toStringTag,{value:"Module"})});
142
+ Please check that your product configuration is correct.`)}isSandbox(){return An(this._API_KEY)}close(){Fe.instance===this?Fe.instance=void 0:X.warnLog("Trying to close a Purchases instance that is not the current instance. Ignoring.")}async _getCustomerInfoForUserId(r){const t=await this.backend.getCustomerInfo(r);return xc(t)}static generateRevenueCatAnonymousAppUserId(){return`$RCAnonymousID:${crypto.randomUUID().replace(/-/g,"")}`}};Vn=Ho(null),Wo(Vn,1,"purchase",Co,Fe),Wn(Vn,Fe),V(Fe,"instance");let zn=Fe;S.ErrorCode=ge,S.LogLevel=Te,S.OfferingKeyword=Mn,S.PackageType=Za,S.ProductType=Je,S.Purchases=zn,S.PurchasesError=fe,S.UninitializedPurchasesError=$a,Object.defineProperty(S,Symbol.toStringTag,{value:"Module"})});