@revenuecat/purchases-js 0.18.2 → 1.0.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.
- package/README.md +2 -6
- package/dist/Purchases.es.d.ts +22 -0
- package/dist/Purchases.es.js +5900 -4898
- package/dist/Purchases.umd.js +152 -90
- package/package.json +6 -6
package/dist/Purchases.umd.js
CHANGED
|
@@ -1,7 +1,113 @@
|
|
|
1
|
-
(function(T,O){typeof exports=="object"&&typeof module<"u"?O(exports):typeof define=="function"&&define.amd?define(["exports"],O):(T=typeof globalThis<"u"?globalThis:T||self,O(T.Purchases={}))})(this,function(T){"use strict";var Pp=Object.create;var ma=Object.defineProperty;var xp=Object.getOwnPropertyDescriptor;var xi=(T,O)=>(O=Symbol[T])?O:Symbol.for("Symbol."+T),At=T=>{throw TypeError(T)};var Ei=(T,O,B)=>O in T?ma(T,O,{enumerable:!0,configurable:!0,writable:!0,value:B}):T[O]=B;var ki=(T,O)=>ma(T,"name",{value:O,configurable:!0});var Si=T=>[,,,Pp((T==null?void 0:T[xi("metadata")])??null)],Ii=["class","method","getter","setter","accessor","field","value","get","set"],Ft=T=>T!==void 0&&typeof T!="function"?At("Function expected"):T,Ep=(T,O,B,Re,ce)=>({kind:Ii[T],name:O,metadata:Re,addInitializer:de=>B._?At("Already initialized"):ce.push(Ft(de||null))}),ha=(T,O)=>Ei(O,xi("metadata"),T[3]),Ti=(T,O,B,Re)=>{for(var ce=0,de=T[O>>1],Ve=de&&de.length;ce<Ve;ce++)O&1?de[ce].call(B):Re=de[ce].call(B,Re);return Re},qi=(T,O,B,Re,ce,de)=>{var Ve,qe,Ct,Ir,tt,X=O&7,nt=!!(O&8),He=!!(O&16),at=X>3?T.length+1:X?nt?1:2:0,Dt=Ii[X+5],Ot=X>3&&(T[at-1]=[]),xe=T[at]||(T[at]=[]),ke=X&&(!He&&!nt&&(ce=ce.prototype),X<5&&(X>3||!He)&&xp(X<4?ce:{get[B](){return wi(this,de)},set[B](Fe){return Pi(this,de,Fe)}},B));X?He&&X<4&&ki(de,(X>2?"set ":X>1?"get ":"")+B):ki(ce,B);for(var ot=Re.length-1;ot>=0;ot--)Ir=Ep(X,B,Ct={},T[3],xe),X&&(Ir.static=nt,Ir.private=He,tt=Ir.access={has:He?Fe=>Sp(ce,Fe):Fe=>B in Fe},X^3&&(tt.get=He?Fe=>(X^1?wi:Ip)(Fe,ce,X^4?de:ke.get):Fe=>Fe[B]),X>2&&(tt.set=He?(Fe,it)=>Pi(Fe,ce,it,X^4?de:ke.set):(Fe,it)=>Fe[B]=it)),qe=(0,Re[ot])(X?X<4?He?de:ke[Dt]:X>4?void 0:{get:ke.get,set:ke.set}:ce,Ir),Ct._=1,X^4||qe===void 0?Ft(qe)&&(X>4?Ot.unshift(qe):X?He?de=qe:ke[Dt]=qe:ce=qe):typeof qe!="object"||qe===null?At("Object expected"):(Ft(Ve=qe.get)&&(ke.get=Ve),Ft(Ve=qe.set)&&(ke.set=Ve),Ft(Ve=qe.init)&&Ot.unshift(Ve));return X||ha(T,ce),ke&&ma(ce,B,ke),He?X^4?de:ke:ce},F=(T,O,B)=>Ei(T,typeof O!="symbol"?O+"":O,B),ga=(T,O,B)=>O.has(T)||At("Cannot "+B),Sp=(T,O)=>Object(O)!==O?At('Cannot use the "in" operator on this value'):T.has(O),wi=(T,O,B)=>(ga(T,O,"read from private field"),B?B.call(T):O.get(T));var Pi=(T,O,B,Re)=>(ga(T,O,"write to private field"),Re?Re.call(T,B):O.set(T,B),B),Ip=(T,O,B)=>(ga(T,O,"access private method"),B);var yi,da;const O="5";typeof window<"u"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(O);let B=!1,Re=!1;function ce(){B=!0}ce();const de=1,Ve=2,qe=4,Ct=8,Ir=16,tt=1,X=2,nt=4,He=8,at=16,Dt=1,Ot=2,xe=Symbol(),ke="http://www.w3.org/2000/svg";function ot(e){return e.endsWith("capture")&&e!=="gotpointercapture"&&e!=="lostpointercapture"}const Fe=["beforeinput","click","change","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"];function it(e){return Fe.includes(e)}const Fi={formnovalidate:"formNoValidate",ismap:"isMap",nomodule:"noModule",playsinline:"playsInline",readonly:"readOnly",defaultvalue:"defaultValue",defaultchecked:"defaultChecked",srcobject:"srcObject"};function Ai(e){return e=e.toLowerCase(),Fi[e]??e}const Ci=["touchstart","touchmove"];function Di(e){return Ci.includes(e)}const ya=!1;var st=Array.isArray,Oi=Array.prototype.indexOf,_n=Array.from,Mi=Object.defineProperty,dr=Object.getOwnPropertyDescriptor,ba=Object.getOwnPropertyDescriptors,ji=Object.prototype,Ni=Array.prototype,pn=Object.getPrototypeOf;function lt(e){return typeof e=="function"}const rr=()=>{};function Ri(e){return e()}function fn(e){for(var r=0;r<e.length;r++)e[r]()}const Ze=2,va=4,ut=8,mn=16,Qe=32,ct=64,Mt=128,Tr=256,jt=512,De=1024,gr=2048,dt=4096,tr=8192,Ur=16384,Ui=32768,qr=65536,Li=1<<17,Bi=1<<19,ka=1<<20,yr=Symbol("$state"),wa=Symbol("legacy props"),zi=Symbol("");function Pa(e){return e===this.v}function xa(e,r){return e!=e?r==r:e!==r||e!==null&&typeof e=="object"||typeof e=="function"}function hn(e){return!xa(e,this.v)}function Vi(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function Hi(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function Yi(e){throw new Error("https://svelte.dev/e/effect_orphan")}function Gi(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function Wi(e){throw new Error("https://svelte.dev/e/props_invalid_value")}function Zi(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Qi(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function Ji(){throw new Error("https://svelte.dev/e/state_unsafe_local_read")}function Ki(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function Ue(e,r){var t={f:0,v:e,reactions:null,equals:Pa,rv:0,wv:0};return t}function Xi(e){return Ea(Ue(e))}function Nt(e,r=!1){var n;const t=Ue(e);return r||(t.equals=hn),B&&Y!==null&&Y.l!==null&&((n=Y.l).s??(n.s=[])).push(t),t}function Ee(e,r=!1){return Ea(Nt(e,r))}function Ea(e){return $!==null&&$.f&Ze&&(ar===null?ss([e]):ar.push(e)),e}function M(e,r){return $!==null&&Bt()&&$.f&(Ze|mn)&&(ar===null||!ar.includes(e))&&Ki(),gn(e,r)}function gn(e,r){return e.equals(r)||(e.v,e.v=r,e.wv=Ga(),Sa(e,gr),Bt()&&z!==null&&z.f&De&&!(z.f&Qe)&&(Se!==null&&Se.includes(e)?(Je(z,gr),zt(z)):vr===null?ls([e]):vr.push(e))),r}function Sa(e,r){var t=e.reactions;if(t!==null)for(var n=Bt(),a=t.length,o=0;o<a;o++){var i=t[o],s=i.f;s&gr||!n&&i===z||(Je(i,r),s&(De|Tr)&&(s&Ze?Sa(i,dt):zt(i)))}}let Ia=!1;function _r(e,r=null,t){if(typeof e!="object"||e===null||yr in e)return e;const n=pn(e);if(n!==ji&&n!==Ni)return e;var a=new Map,o=st(e),i=Ue(0);o&&a.set("length",Ue(e.length));var s;return new Proxy(e,{defineProperty(l,u,c){(!("value"in c)||c.configurable===!1||c.enumerable===!1||c.writable===!1)&&Zi();var _=a.get(u);return _===void 0?(_=Ue(c.value),a.set(u,_)):M(_,_r(c.value,s)),!0},deleteProperty(l,u){var c=a.get(u);if(c===void 0)u in l&&a.set(u,Ue(xe));else{if(o&&typeof u=="string"){var _=a.get("length"),p=Number(u);Number.isInteger(p)&&p<_.v&&M(_,p)}M(c,xe),Ta(i)}return!0},get(l,u,c){var m;if(u===yr)return e;var _=a.get(u),p=u in l;if(_===void 0&&(!p||(m=dr(l,u))!=null&&m.writable)&&(_=Ue(_r(p?l[u]:xe,s)),a.set(u,_)),_!==void 0){var f=d(_);return f===xe?void 0:f}return Reflect.get(l,u,c)},getOwnPropertyDescriptor(l,u){var c=Reflect.getOwnPropertyDescriptor(l,u);if(c&&"value"in c){var _=a.get(u);_&&(c.value=d(_))}else if(c===void 0){var p=a.get(u),f=p==null?void 0:p.v;if(p!==void 0&&f!==xe)return{enumerable:!0,configurable:!0,value:f,writable:!0}}return c},has(l,u){var f;if(u===yr)return!0;var c=a.get(u),_=c!==void 0&&c.v!==xe||Reflect.has(l,u);if(c!==void 0||z!==null&&(!_||(f=dr(l,u))!=null&&f.writable)){c===void 0&&(c=Ue(_?_r(l[u],s):xe),a.set(u,c));var p=d(c);if(p===xe)return!1}return _},set(l,u,c,_){var v;var p=a.get(u),f=u in l;if(o&&u==="length")for(var m=c;m<p.v;m+=1){var h=a.get(m+"");h!==void 0?M(h,xe):m in l&&(h=Ue(xe),a.set(m+"",h))}p===void 0?(!f||(v=dr(l,u))!=null&&v.writable)&&(p=Ue(void 0),M(p,_r(c,s)),a.set(u,p)):(f=p.v!==xe,M(p,_r(c,s)));var S=Reflect.getOwnPropertyDescriptor(l,u);if(S!=null&&S.set&&S.set.call(_,c),!f){if(o&&typeof u=="string"){var b=a.get("length"),g=Number(u);Number.isInteger(g)&&g>=b.v&&M(b,g+1)}Ta(i)}return!0},ownKeys(l){d(i);var u=Reflect.ownKeys(l).filter(p=>{var f=a.get(p);return f===void 0||f.v!==xe});for(var[c,_]of a)_.v!==xe&&!(c in l)&&u.push(c);return u},setPrototypeOf(){Qi()}})}function Ta(e,r=1){M(e,e.v+r)}var qa,Fa,Aa;function $i(){if(qa===void 0){qa=window;var e=Element.prototype,r=Node.prototype;Fa=dr(r,"firstChild").get,Aa=dr(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 _t(e=""){return document.createTextNode(e)}function pt(e){return Fa.call(e)}function Rt(e){return Aa.call(e)}function I(e,r){return pt(e)}function D(e,r){{var t=pt(e);return t instanceof Comment&&t.data===""?Rt(t):t}}function A(e,r=1,t=!1){let n=e;for(;r--;)n=Rt(n);return n}function es(e){e.textContent=""}function C(e){var r=Ze|gr;z===null?r|=Tr:z.f|=ka;var t=$!==null&&$.f&Ze?$:null;const n={children:null,ctx:Y,deps:null,equals:Pa,f:r,fn:e,reactions:null,rv:0,v:null,wv:0,parent:t??z};return t!==null&&(t.children??(t.children=[])).push(n),n}function oe(e){const r=C(e);return r.equals=hn,r}function Ca(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&Ze?yn(n):Ge(n)}}}function rs(e){for(var r=e.parent;r!==null;){if(!(r.f&Ze))return r;r=r.parent}return null}function Da(e){var r,t=z;We(rs(e));try{Ca(e),r=Wa(e)}finally{We(t)}return r}function Oa(e){var r=Da(e),t=(Cr||e.f&Tr)&&e.deps!==null?dt:De;Je(e,t),e.equals(r)||(e.v=r,e.wv=Ga())}function yn(e){Ca(e),bt(e,0),Je(e,Ur),e.v=e.children=e.deps=e.ctx=e.reactions=null}function Ma(e){z===null&&$===null&&Yi(),$!==null&&$.f&Tr&&Hi(),In&&Vi()}function ts(e,r){var t=r.last;t===null?r.last=r.first=e:(t.next=e,e.prev=t,r.last=e)}function Lr(e,r,t,n=!0){var a=(e&ct)!==0,o=z,i={ctx:Y,deps:null,deriveds:null,nodes_start:null,nodes_end:null,f:e|gr,first:null,fn:r,last:null,next:null,parent:a?null:o,prev:null,teardown:null,transitions:null,wv:0};if(t){var s=zr;try{za(!0),vt(i),i.f|=Ui}catch(c){throw Ge(i),c}finally{za(s)}}else r!==null&&zt(i);var l=t&&i.deps===null&&i.first===null&&i.nodes_start===null&&i.teardown===null&&(i.f&ka)===0;if(!l&&!a&&n&&(o!==null&&ts(i,o),$!==null&&$.f&Ze)){var u=$;(u.children??(u.children=[])).push(i)}return i}function bn(e){const r=Lr(ut,null,!1);return Je(r,De),r.teardown=e,r}function vn(e){Ma();var r=z!==null&&(z.f&Qe)!==0&&Y!==null&&!Y.m;if(r){var t=Y;(t.e??(t.e=[])).push({fn:e,effect:z,reaction:$})}else{var n=kn(e);return n}}function ns(e){return Ma(),ft(e)}function as(e){const r=Lr(ct,e,!0);return(t={})=>new Promise(n=>{t.outro?Ar(r,()=>{Ge(r),n(void 0)}):(Ge(r),n(void 0))})}function kn(e){return Lr(va,e,!1)}function Fr(e,r){var t=Y,n={effect:null,ran:!1};t.l.r1.push(n),n.effect=ft(()=>{e(),!n.ran&&(n.ran=!0,M(t.l.r2,!0),kr(r))})}function wn(){var e=Y;ft(()=>{if(d(e.l.r2)){for(var r of e.l.r1){var t=r.effect;t.f&De&&Je(t,dt),Vr(t)&&vt(t),r.ran=!1}e.l.r2.v=!1}})}function ft(e){return Lr(ut,e,!0)}function H(e){return br(e)}function br(e,r=0){return Lr(ut|mn|r,e,!0)}function Ye(e,r=!0){return Lr(ut|Qe,e,!0,r)}function ja(e){var r=e.teardown;if(r!==null){const t=In,n=$;Va(!0),nr(null);try{r.call(null)}finally{Va(t),nr(n)}}}function Na(e){var r=e.deriveds;if(r!==null){e.deriveds=null;for(var t=0;t<r.length;t+=1)yn(r[t])}}function Ra(e,r=!1){var t=e.first;for(e.first=e.last=null;t!==null;){var n=t.next;Ge(t,r),t=n}}function os(e){for(var r=e.first;r!==null;){var t=r.next;r.f&Qe||Ge(r),r=t}}function Ge(e,r=!0){var t=!1;if((r||e.f&Bi)&&e.nodes_start!==null){for(var n=e.nodes_start,a=e.nodes_end;n!==null;){var o=n===a?null:Rt(n);n.remove(),n=o}t=!0}Ra(e,r&&!t),Na(e),bt(e,0),Je(e,Ur);var i=e.transitions;if(i!==null)for(const l of i)l.stop();ja(e);var s=e.parent;s!==null&&s.first!==null&&Ua(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=null}function Ua(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 Ar(e,r){var t=[];Pn(e,t,!0),La(t,()=>{Ge(e),r&&r()})}function La(e,r){var t=e.length;if(t>0){var n=()=>--t||r();for(var a of e)a.out(n)}else r()}function Pn(e,r,t){if(!(e.f&tr)){if(e.f^=tr,e.transitions!==null)for(const i of e.transitions)(i.is_global||t)&&r.push(i);for(var n=e.first;n!==null;){var a=n.next,o=(n.f&qr)!==0||(n.f&Qe)!==0;Pn(n,r,o?t:!1),n=a}}}function mt(e){Ba(e,!0)}function Ba(e,r){if(e.f&tr){Vr(e)&&vt(e),e.f^=tr;for(var t=e.first;t!==null;){var n=t.next,a=(t.f&qr)!==0||(t.f&Qe)!==0;Ba(t,a?r:!1),t=n}if(e.transitions!==null)for(const o of e.transitions)(o.is_global||r)&&o.in()}}let xn=!1,En=[];function is(){xn=!1;const e=En.slice();En=[],fn(e)}function Br(e){xn||(xn=!0,queueMicrotask(is)),En.push(e)}function Sn(e){throw new Error("https://svelte.dev/e/lifecycle_outside_component")}let ht=!1,Ut=!1,Lt=null,zr=!1,In=!1;function za(e){zr=e}function Va(e){In=e}let Tn=[],gt=0,Tp=[],$=null;function nr(e){$=e}let z=null;function We(e){z=e}let ar=null;function ss(e){ar=e}let Se=null,Le=0,vr=null;function ls(e){vr=e}let Ha=1,qn=0,Cr=!1,Y=null;function Ya(e){Y=e}function Ga(){return++Ha}function Bt(){return!B||Y!==null&&Y.l===null}function Vr(e){var u;var r=e.f;if(r&gr)return!0;if(r&dt){var t=e.deps,n=(r&Tr)!==0;if(t!==null){var a,o,i=(r&jt)!==0,s=n&&z!==null&&!Cr,l=t.length;if(i||s){for(a=0;a<l;a++)o=t[a],(i||!((u=o==null?void 0:o.reactions)!=null&&u.includes(e)))&&(o.reactions??(o.reactions=[])).push(e);i&&(e.f^=jt)}for(a=0;a<l;a++)if(o=t[a],Vr(o)&&Oa(o),o.wv>e.wv)return!0}(!n||z!==null&&!Cr)&&Je(e,De)}return!1}function us(e,r){for(var t=r;t!==null;){if(t.f&Mt)try{t.fn(e);return}catch{t.f^=Mt}t=t.parent}throw ht=!1,e}function cs(e){return(e.f&Ur)===0&&(e.parent===null||(e.parent.f&Mt)===0)}function Fn(){ht=!1}function yt(e,r,t,n){if(ht){if(t===null&&(ht=!1),cs(r))throw e;return}t!==null&&(ht=!0);{us(e,r);return}}function Wa(e){var p;var r=Se,t=Le,n=vr,a=$,o=Cr,i=ar,s=Y,l=e.f;Se=null,Le=0,vr=null,$=l&(Qe|ct)?null:e,Cr=!zr&&(l&Tr)!==0,ar=null,Y=e.ctx,qn++;try{var u=(0,e.fn)(),c=e.deps;if(Se!==null){var _;if(bt(e,Le),c!==null&&Le>0)for(c.length=Le+Se.length,_=0;_<Se.length;_++)c[Le+_]=Se[_];else e.deps=c=Se;if(!Cr)for(_=Le;_<c.length;_++)((p=c[_]).reactions??(p.reactions=[])).push(e)}else c!==null&&Le<c.length&&(bt(e,Le),c.length=Le);return u}finally{Se=r,Le=t,vr=n,$=a,Cr=o,ar=i,Y=s}}function ds(e,r){let t=r.reactions;if(t!==null){var n=Oi.call(t,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&Ze&&(Se===null||!Se.includes(r))&&(Je(r,dt),r.f&(Tr|jt)||(r.f^=jt),bt(r,0))}function bt(e,r){var t=e.deps;if(t!==null)for(var n=r;n<t.length;n++)ds(e,t[n])}function vt(e){var r=e.f;if(!(r&Ur)){Je(e,De);var t=z,n=Y;z=e;try{r&mn?os(e):Ra(e),Na(e),ja(e);var a=Wa(e);e.teardown=typeof a=="function"?a:null,e.wv=Ha;var o=e.deps,i;ya&&Re&&e.f&gr}catch(s){yt(s,e,t,n||e.ctx)}finally{z=t}}}function _s(){if(gt>1e3){gt=0;try{Gi()}catch(e){if(Lt!==null)yt(e,Lt,null);else throw e}}gt++}function ps(e){var r=e.length;if(r!==0){_s();var t=zr;zr=!0;try{for(var n=0;n<r;n++){var a=e[n];a.f&De||(a.f^=De);var o=[];Za(a,o),fs(o)}}finally{zr=t}}}function fs(e){var r=e.length;if(r!==0)for(var t=0;t<r;t++){var n=e[t];if(!(n.f&(Ur|tr)))try{Vr(n)&&(vt(n),n.deps===null&&n.first===null&&n.nodes_start===null&&(n.teardown===null?Ua(n):n.fn=null))}catch(a){yt(a,n,null,n.ctx)}}}function ms(){if(Ut=!1,gt>1001)return;const e=Tn;Tn=[],ps(e),Ut||(gt=0,Lt=null)}function zt(e){Ut||(Ut=!0,queueMicrotask(ms)),Lt=e;for(var r=e;r.parent!==null;){r=r.parent;var t=r.f;if(t&(ct|Qe)){if(!(t&De))return;r.f^=De}}Tn.push(r)}function Za(e,r){var t=e.first,n=[];e:for(;t!==null;){var a=t.f,o=(a&Qe)!==0,i=o&&(a&De)!==0,s=t.next;if(!i&&!(a&tr))if(a&ut){if(o)t.f^=De;else try{Vr(t)&&vt(t)}catch(_){yt(_,t,null,t.ctx)}var l=t.first;if(l!==null){t=l;continue}}else a&va&&n.push(t);if(s===null){let _=t.parent;for(;_!==null;){if(e===_)break e;var u=_.next;if(u!==null){t=u;continue e}_=_.parent}}t=s}for(var c=0;c<n.length;c++)l=n[c],r.push(l),Za(l,r)}function d(e){var c;var r=e.f,t=(r&Ze)!==0;if(t&&r&Ur){var n=Da(e);return yn(e),n}if($!==null){ar!==null&&ar.includes(e)&&Ji();var a=$.deps;e.rv<qn&&(e.rv=qn,Se===null&&a!==null&&a[Le]===e?Le++:Se===null?Se=[e]:Se.push(e),vr!==null&&z!==null&&z.f&De&&!(z.f&Qe)&&vr.includes(e)&&(Je(z,gr),zt(z)))}else if(t&&e.deps===null)for(var o=e,i=o.parent,s=o;i!==null;)if(i.f&Ze){var l=i;s=l,i=l.parent}else{var u=i;(c=u.deriveds)!=null&&c.includes(s)||(u.deriveds??(u.deriveds=[])).push(s);break}return t&&(o=e,Vr(o)&&Oa(o)),e.v}function kr(e){const r=$;try{return $=null,e()}finally{$=r}}const hs=-7169;function Je(e,r){e.f=e.f&hs|r}function or(e){return Qa().get(e)}function Vt(e,r){return Qa().set(e,r),r}function Qa(e){return Y===null&&Sn(),Y.c??(Y.c=new Map(gs(Y)||void 0))}function gs(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){Y={p:Y,c:null,e:null,m:!1,s:e,x:null,l:null},B&&!r&&(Y.l={s:null,u:null,r1:[],r2:Ue(!1)})}function ae(e){const r=Y;if(r!==null){e!==void 0&&(r.x=e);const i=r.e;if(i!==null){var t=z,n=$;r.e=null;try{for(var a=0;a<i.length;a++){var o=i[a];We(o.effect),nr(o.reaction),kn(o.fn)}}finally{We(t),nr(n)}}Y=r.p,r.m=!0}return e||{}}function me(e){if(!(typeof e!="object"||!e||e instanceof EventTarget)){if(yr in e)An(e);else if(!Array.isArray(e))for(let r in e){const t=e[r];typeof t=="object"&&t&&yr 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=pn(e);if(t!==Object.prototype&&t!==Array.prototype&&t!==Map.prototype&&t!==Set.prototype&&t!==Date.prototype){const n=ba(t);for(let a in n){const o=n[a].get;if(o)try{o.call(e)}catch{}}}}}function ys(e,r){if(r){const t=document.body;e.autofocus=!0,Br(()=>{document.activeElement===t&&e.focus()})}}let Ja=!1;function bs(){Ja||(Ja=!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 Ka(e){var r=$,t=z;nr(null),We(null);try{return e()}finally{nr(r),We(t)}}function vs(e,r,t,n=t){e.addEventListener(r,()=>Ka(t));const a=e.__on_r;a?e.__on_r=()=>{a(),n(!0)}:e.__on_r=()=>n(!0),bs()}const Xa=new Set,Cn=new Set;function $a(e,r,t,n){function a(o){if(n.capture||kt.call(r,o),!o.cancelBubble)return Ka(()=>t.call(this,o))}return e.startsWith("pointer")||e.startsWith("touch")||e==="wheel"?Br(()=>{r.addEventListener(e,a,n)}):r.addEventListener(e,a,n),a}function Ht(e,r,t,n,a){var o={capture:n,passive:a},i=$a(e,r,t,o);(r===document.body||r===window||r===document)&&bn(()=>{r.removeEventListener(e,i,o)})}function Dn(e){for(var r=0;r<e.length;r++)Xa.add(e[r]);for(var t of Cn)t(e)}function kt(e){var g;var r=this,t=r.ownerDocument,n=e.type,a=((g=e.composedPath)==null?void 0:g.call(e))||[],o=a[0]||e.target,i=0,s=e.__root;if(s){var l=a.indexOf(s);if(l!==-1&&(r===document||r===window)){e.__root=r;return}var u=a.indexOf(r);if(u===-1)return;l<=u&&(i=l)}if(o=a[i]||e.target,o!==r){Mi(e,"currentTarget",{configurable:!0,get(){return o||t}});var c=$,_=z;nr(null),We(null);try{for(var p,f=[];o!==null;){var m=o.assignedSlot||o.parentNode||o.host||null;try{var h=o["__"+n];if(h!==void 0&&!o.disabled)if(st(h)){var[S,...b]=h;S.apply(o,[e,...b])}else h.call(o,e)}catch(v){p?f.push(v):p=v}if(e.cancelBubble||m===r||m===null)break;o=m}if(p){for(let v of f)queueMicrotask(()=>{throw v});throw p}}finally{e.__root=r,delete e.currentTarget,nr(c),We(_)}}}function eo(e){var r=document.createElement("template");return r.innerHTML=e,r.content}function Hr(e,r){var t=z;t.nodes_start===null&&(t.nodes_start=e,t.nodes_end=r)}function x(e,r){var t=(r&Dt)!==0,n=(r&Ot)!==0,a,o=!e.startsWith("<!>");return()=>{a===void 0&&(a=eo(o?e:"<!>"+e),t||(a=pt(a)));var i=n?document.importNode(a,!0):a.cloneNode(!0);if(t){var s=pt(i),l=i.lastChild;Hr(s,l)}else Hr(i,i);return i}}function Dr(e=""){{var r=_t(e+"");return Hr(r,r),r}}function te(){var e=document.createDocumentFragment(),r=document.createComment(""),t=_t();return e.append(r,t),Hr(r,t),e}function y(e,r){e!==null&&e.before(r)}function Ke(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 ro(e,r){return ks(e,r)}const Yr=new Map;function ks(e,{target:r,anchor:t,props:n={},events:a,context:o,intro:i=!0}){$i();var s=new Set,l=_=>{for(var p=0;p<_.length;p++){var f=_[p];if(!s.has(f)){s.add(f);var m=Di(f);r.addEventListener(f,kt,{passive:m});var h=Yr.get(f);h===void 0?(document.addEventListener(f,kt,{passive:m}),Yr.set(f,1)):Yr.set(f,h+1)}}};l(_n(Xa)),Cn.add(l);var u=void 0,c=as(()=>{var _=t??r.appendChild(_t());return Ye(()=>{if(o){ne({});var p=Y;p.c=o}a&&(n.$$events=a),u=e(_,n)||{},o&&ae()}),()=>{var m;for(var p of s){r.removeEventListener(p,kt);var f=Yr.get(p);--f===0?(document.removeEventListener(p,kt),Yr.delete(p)):Yr.set(p,f)}Cn.delete(l),_!==t&&((m=_.parentNode)==null||m.removeChild(_))}});return ws.set(u,c),u}let ws=new WeakMap;function j(e,r,t=!1){var n=e,a=null,o=null,i=xe,s=t?qr:0,l=!1;const u=(_,p=!0)=>{l=!0,c(p,_)},c=(_,p)=>{i!==(i=_)&&(i?(a?mt(a):p&&(a=Ye(()=>p(n))),o&&Ar(o,()=>{o=null})):(o?mt(o):p&&(o=Ye(()=>p(n))),a&&Ar(a,()=>{a=null})))};br(()=>{l=!1,r(u),l||c(null,null)},s)}function On(e,r){return r}function Ps(e,r,t,n){for(var a=[],o=r.length,i=0;i<o;i++)Pn(r[i].e,a,!0);var s=o>0&&a.length===0&&t!==null;if(s){var l=t.parentNode;es(l),l.append(t),n.clear(),wr(e,r[0].prev,r[o-1].next)}La(a,()=>{for(var u=0;u<o;u++){var c=r[u];s||(n.delete(c.k),wr(e,c.prev,c.next)),Ge(c.e,!s)}})}function Mn(e,r,t,n,a,o=null){var i=e,s={flags:r,items:new Map,first:null},l=(r&qe)!==0;if(l){var u=e;i=u.appendChild(_t())}var c=null,_=!1;br(()=>{var p=t(),f=st(p)?p:p==null?[]:_n(p),m=f.length;if(!(_&&m===0)){_=m===0;{var h=$;xs(f,s,i,a,r,(h.f&tr)!==0,n)}o!==null&&(m===0?c?mt(c):c=Ye(()=>o(i)):c!==null&&Ar(c,()=>{c=null})),t()}})}function xs(e,r,t,n,a,o,i,s){var Ie,Z,R,fe;var l=(a&Ct)!==0,u=(a&(de|Ve))!==0,c=e.length,_=r.items,p=r.first,f=p,m,h=null,S,b=[],g=[],v,E,k,q;if(l)for(q=0;q<c;q+=1)v=e[q],E=i(v,q),k=_.get(E),k!==void 0&&((Ie=k.a)==null||Ie.measure(),(S??(S=new Set)).add(k));for(q=0;q<c;q+=1){if(v=e[q],E=i(v,q),k=_.get(E),k===void 0){var P=f?f.e.nodes_start:t;h=Ss(P,r,h,h===null?r.first:h.next,v,E,q,n,a),_.set(E,h),b=[],g=[],f=h.next;continue}if(u&&Es(k,v,q,a),k.e.f&tr&&(mt(k.e),l&&((Z=k.a)==null||Z.unfix(),(S??(S=new Set)).delete(k))),k!==f){if(m!==void 0&&m.has(k)){if(b.length<g.length){var N=g[0],L;h=N.prev;var J=b[0],ie=b[b.length-1];for(L=0;L<b.length;L+=1)to(b[L],N,t);for(L=0;L<g.length;L+=1)m.delete(g[L]);wr(r,J.prev,ie.next),wr(r,h,J),wr(r,ie,N),f=N,h=ie,q-=1,b=[],g=[]}else m.delete(k),to(k,f,t),wr(r,k.prev,k.next),wr(r,k,h===null?r.first:h.next),wr(r,h,k),h=k;continue}for(b=[],g=[];f!==null&&f.k!==E;)(o||!(f.e.f&tr))&&(m??(m=new Set)).add(f),g.push(f),f=f.next;if(f===null)continue;k=f}b.push(k),h=k,f=k.next}if(f!==null||m!==void 0){for(var W=m===void 0?[]:_n(m);f!==null;)(o||!(f.e.f&tr))&&W.push(f),f=f.next;var se=W.length;if(se>0){var le=a&qe&&c===0?t:null;if(l){for(q=0;q<se;q+=1)(R=W[q].a)==null||R.measure();for(q=0;q<se;q+=1)(fe=W[q].a)==null||fe.fix()}Ps(r,W,le,_)}}l&&Br(()=>{var ue;if(S!==void 0)for(k of S)(ue=k.a)==null||ue.apply()}),z.first=r.first&&r.first.e,z.last=h&&h.e}function Es(e,r,t,n){n&de&&gn(e.v,r),n&Ve?gn(e.i,t):e.i=t}function Ss(e,r,t,n,a,o,i,s,l,u){var c=(l&de)!==0,_=(l&Ir)===0,p=c?_?Nt(a):Ue(a):a,f=l&Ve?Ue(i):i,m={i:f,v:p,k:o,a:null,e:null,prev:t,next:n};try{return m.e=Ye(()=>s(e,p,f),Ia),m.e.prev=t&&t.e,m.e.next=n&&n.e,t===null?r.first=m:(t.next=m,t.e.next=m.e),n!==null&&(n.prev=m,n.e.prev=m.e),m}finally{}}function to(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 i=Rt(o);a.before(o),o=i}}function wr(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 Or(e,r,t,n,a){var o=e,i="",s;br(()=>{i!==(i=r()??"")&&(s!==void 0&&(Ge(s),s=void 0),i!==""&&(s=Ye(()=>{var l=i+"",u=eo(l);Hr(pt(u),u.lastChild),o.before(u)})))})}function he(e,r,t,n,a){var s;var o=(s=r.$$slots)==null?void 0:s[t],i=!1;o===!0&&(o=r[t==="default"?"children":t],i=!0),o===void 0||o(e,i?()=>n:n)}function jn(e,r,...t){var n=e,a=rr,o;br(()=>{a!==(a=r())&&(o&&(Ge(o),o=null),o=Ye(()=>a(n,...t)))},qr)}function Is(e,r,t){var n=e,a,o;br(()=>{a!==(a=r())&&(o&&(Ar(o),o=null),a&&(o=Ye(()=>t(n,a))))},qr)}function Yt(e,r,t,n,a,o){var i,s,l=null,u=e,c;br(()=>{const _=r()||null;var p=_==="svg"?ke:null;_!==i&&(c&&(_===null?Ar(c,()=>{c=null,s=null}):_===s?mt(c):Ge(c)),_&&_!==s&&(c=Ye(()=>{if(l=p?document.createElementNS(p,_):document.createElement(_),Hr(l,l),n){var f=l.appendChild(_t());n(l,f)}z.nodes_end=l,u.before(l)})),i=_,i&&(s=i))},qr)}function V(e,r){Br(()=>{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 no(e){var r,t,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var a=e.length;for(r=0;r<a;r++)e[r]&&(t=no(e[r]))&&(n&&(n+=" "),n+=t)}else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function Ts(){for(var e,r,t=0,n="",a=arguments.length;t<a;t++)(e=arguments[t])&&(r=no(e))&&(n&&(n+=" "),n+=r);return n}function ao(e){return typeof e=="object"?Ts(e):e??""}function qs(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[zi]=t),t==null?e.removeAttribute(r):typeof t!="string"&&io(e).includes(r)?e[r]=t:e.setAttribute(r,t))}function Gt(e,r,t,n,a=!1,o=!1,i=!1){var s=r||{},l=e.tagName==="OPTION";for(var u in r)u in t||(t[u]=null);t.class&&(t.class=ao(t.class)),n!==void 0&&(t.class=t.class?t.class+" "+n:n);var c=io(e),_=e.__attributes??(e.__attributes={});for(const b in t){let g=t[b];if(l&&b==="value"&&g==null){e.value=e.__value="",s[b]=g;continue}var p=s[b];if(g!==p){s[b]=g;var f=b[0]+b[1];if(f!=="$$"){if(f==="on"){const v={},E="$$"+b;let k=b.slice(2);var m=it(k);if(ot(k)&&(k=k.slice(0,-7),v.capture=!0),!m&&p){if(g!=null)continue;e.removeEventListener(k,s[E],v),s[E]=null}if(g!=null)if(m)e[`__${k}`]=g,Dn([k]);else{let q=function(P){s[b].call(this,P)};s[E]=$a(k,e,q,v)}else m&&(e[`__${k}`]=void 0)}else if(b==="style"&&g!=null)e.style.cssText=g+"";else if(b==="autofocus")ys(e,!!g);else if(b==="__value"||b==="value"&&g!=null)e.value=e[b]=e.__value=g;else if(b==="selected"&&l)qs(e,g);else{var h=b;a||(h=Ai(h));var S=h==="defaultValue"||h==="defaultChecked";if(g==null&&!o&&!S)if(_[b]=null,h==="value"||h==="checked"){let v=e;if(h==="value"){let E=v.defaultValue;v.removeAttribute(h),v.defaultValue=E}else{let E=v.defaultChecked;v.removeAttribute(h),v.defaultChecked=E}}else e.removeAttribute(b);else S||c.includes(h)&&(o||typeof g!="string")?e[h]=g:typeof g!="function"&&K(e,h,g)}b==="style"&&"__styles"in e&&(e.__styles={})}}}return s}var oo=new Map;function io(e){var r=oo.get(e.nodeName);if(r)return r;oo.set(e.nodeName,r=[]);for(var t,n=e,a=Element.prototype;a!==n;){t=ba(n);for(var o in t)t[o].set&&r.push(o);n=pn(n)}return r}function Nn(e,r,t){var n=e.__className,a=Fs(r);(n!==a||Ia)&&(r==null?e.removeAttribute("class"):e.className=a,e.__className=a)}function Fs(e,r){return(e??"")+""}function As(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=Bt();vs(e,"input",a=>{var o=a?e.defaultValue:e.value;if(o=Rn(e)?Un(o):o,t(o),n&&o!==(o=r())){var i=e.selectionStart,s=e.selectionEnd;e.value=o??"",s!==null&&(e.selectionStart=i,e.selectionEnd=Math.min(s,e.value.length))}}),kr(r)==null&&e.value&&t(Rn(e)?Un(e.value):e.value),ft(()=>{var a=r();Rn(e)&&a===Un(e.value)||e.type==="date"&&!a&&!e.value||a!==e.value&&(e.value=a??"")})}function Rn(e){var r=e.type;return r==="number"||r==="range"}function Un(e){return e===""?null:+e}function Wt(e,r,t){var n=dr(e,r);n&&n.set&&(e[r]=t,bn(()=>{e[r]=null}))}function so(e,r){return e===r||(e==null?void 0:e[yr])===r}function Ds(e={},r,t,n){return kn(()=>{var a,o;return ft(()=>{a=o,o=[],kr(()=>{e!==t(...o)&&(r(e,...o),a&&so(t(...a),e)&&r(null,...a))})}),()=>{Br(()=>{o&&so(t(...o),e)&&r(null,...o)})}}),e}function lo(e){return function(...r){var t=r[0];return t.preventDefault(),e==null?void 0:e.apply(this,r)}}function Xe(e=!1){const r=Y,t=r.l.u;if(!t)return;let n=()=>me(r.s);if(e){let a=0,o={};const i=C(()=>{let s=!1;const l=r.s;for(const u in l)l[u]!==o[u]&&(o[u]=l[u],s=!0);return s&&a++,a});n=()=>d(i)}t.b.length&&ns(()=>{uo(r,n),fn(t.b)}),vn(()=>{const a=kr(()=>t.m.map(Ri));return()=>{for(const o of a)typeof o=="function"&&o()}}),t.a.length&&vn(()=>{uo(r,n),fn(t.a)})}function uo(e,r){if(e.l.s)for(const t of e.l.s)d(t);r()}function co(e,r){var o;var t=(o=e.$$events)==null?void 0:o[r.type],n=st(t)?t.slice():t==null?[]:[t];for(var a of n)a.call(this,r)}function Gr(e){Y===null&&Sn(),B&&Y.l!==null?js(Y).m.push(e):vn(()=>{const r=kr(e);if(typeof r=="function")return r})}function Os(e,r,{bubbles:t=!1,cancelable:n=!1}={}){return new CustomEvent(e,{detail:r,bubbles:t,cancelable:n})}function Ms(){const e=Y;return e===null&&Sn(),(r,t,n)=>{var o;const a=(o=e.s.$$events)==null?void 0:o[r];if(a){const i=st(a)?a.slice():[a],s=Os(r,t,n);for(const l of i)l.call(e.x,s);return!s.defaultPrevented}return!0}}function js(e){var r=e.l;return r.u??(r.u={a:[],b:[],m:[]})}function Ns(e,r,t){if(e==null)return r(void 0),rr;const n=kr(()=>e.subscribe(r,t));return n.unsubscribe?()=>n.unsubscribe():n}let Zt=!1;function _o(e,r,t){const n=t[r]??(t[r]={store:null,source:Nt(void 0),unsubscribe:rr});if(n.store!==e)if(n.unsubscribe(),n.store=e,e==null)n.source.v=void 0,n.unsubscribe=rr;else{var a=!0;n.unsubscribe=Ns(e,o=>{a?n.source.v=o:M(n.source,o)}),a=!1}return d(n.source)}function po(){const e={};return bn(()=>{for(var r in e)e[r].unsubscribe()}),e}function Rs(e){var r=Zt;try{return Zt=!1,[e(),Zt]}finally{Zt=r}}const Us={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 Pr(e,r,t){return new Proxy({props:e,exclude:r},Us)}const Ls={get(e,r){let t=e.props.length;for(;t--;){let n=e.props[t];if(lt(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];lt(a)&&(a=a());const o=dr(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(lt(n)&&(n=n()),typeof n=="object"&&n!==null&&r in n){const a=dr(n,r);return a&&!a.configurable&&(a.configurable=!0),a}}},has(e,r){if(r===yr||r===wa)return!1;for(let t of e.props)if(lt(t)&&(t=t()),t!=null&&r in t)return!0;return!1},ownKeys(e){const r=[];for(let t of e.props){lt(t)&&(t=t());for(const n in t)r.includes(n)||r.push(n)}return r}};function xr(...e){return new Proxy({props:e},Ls)}function fo(e){for(var r=z,t=z;r!==null&&!(r.f&(Qe|ct));)r=r.parent;try{return We(r),e()}finally{We(t)}}function w(e,r,t,n){var P;var a=(t&tt)!==0,o=!B||(t&X)!==0,i=(t&He)!==0,s=(t&at)!==0,l=!1,u;i?[u,l]=Rs(()=>e[r]):u=e[r];var c=yr in e||wa in e,_=((P=dr(e,r))==null?void 0:P.set)??(c&&i&&r in e?N=>e[r]=N:void 0),p=n,f=!0,m=!1,h=()=>(m=!0,f&&(f=!1,s?p=kr(n):p=n),p);u===void 0&&n!==void 0&&(_&&o&&Wi(),u=h(),_&&_(u));var S;if(o)S=()=>{var N=e[r];return N===void 0?h():(f=!0,m=!1,N)};else{var b=fo(()=>(a?C:oe)(()=>e[r]));b.f|=Li,S=()=>{var N=d(b);return N!==void 0&&(p=void 0),N===void 0?p:N}}if(!(t&nt))return S;if(_){var g=e.$$legacy;return function(N,L){return arguments.length>0?((!o||!L||g||l)&&_(L?S():N),N):S()}}var v=!1,E=!1,k=Nt(u),q=fo(()=>C(()=>{var N=S(),L=d(k);return v?(v=!1,E=!0,L):(E=!1,k.v=N)}));return a||(q.equals=hn),function(N,L){if(arguments.length>0){const J=L?d(q):o&&i?_r(N):N;return q.equals(J)||(v=!0,M(k,J),m&&p!==void 0&&(p=J),kr(()=>d(q))),N}return d(q)}}function mo(e,r){var t=z,n=$,a=Y;We(e),nr(e),Ya(e.ctx);try{r()}finally{We(t),nr(n),Ya(a)}}function Bs(e,r,t){var n=e,a;br(()=>{var o=z,i=!1;o.fn=s=>{var l=r.onerror;let u=r.failed;if(!l&&!u||i)throw s;var c=()=>{Ar(a),mo(o,()=>{i=!1,a=Ye(()=>t(n)),Fn()})};l==null||l(s,c),a&&Ge(a),u&&Br(()=>{mo(o,()=>{i=!0;try{a=Ye(()=>{u(n,()=>s,()=>c)})}catch(_){yt(_,o,null,o.ctx)}Fn(),i=!1})})},a=Ye(()=>t(n)),Fn()},qr|Mt)}const zs={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 Wr(e,r){V(e,zs);let t=w(r,"as",8,"section");var n=te(),a=D(n);Yt(a,t,!1,(o,i)=>{Gt(o,null,{class:"rcb-modal-section"},"svelte-1bzqb13",o.namespaceURI===ke,o.nodeName.includes("-"));var s=te(),l=D(s);he(l,r,"default",{}),y(i,s)}),y(e,n)}var Oe=(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))(Oe||{});class G{static setLogLevel(r){this.logLevel=r}static log(r,t=this.logLevel){const n=`[Purchases] ${r}`;if(!(this.logLevel<t||t===Oe.Silent))switch(t){case Oe.Error:console.error(n);break;case Oe.Warn:console.warn(n);break;case Oe.Info:console.info(n);break;case Oe.Debug:console.debug(n);break;case Oe.Verbose:console.debug(n);break}}static errorLog(r){this.log(r,Oe.Error)}static warnLog(r){this.log(r,Oe.Warn)}static infoLog(r){this.log(r,Oe.Info)}static debugLog(r){this.log(r,Oe.Debug)}static verboseLog(r){this.log(r,Oe.Verbose)}}F(G,"logLevel",Oe.Silent);const Mr="rcb-ui-translator",pr="en",Vs={"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}})"},Hs={"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}})"},Ys={"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}})"},Gs={"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}})"},Ws={"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}})"},Zs={"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}})"},Qs={"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}})"},Js={"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}})"},Ks={"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}})"},Xs={"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}})"},$s={"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}})"},el={"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}})"},rl={"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}})"},tl={"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}})"},nl={"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}})"},al={"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}})"},ol={"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}})"},il={"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}})"},sl={"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}})"},ll={"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}})"},ul={"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}})"},cl={"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}})"},dl={"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}})"},_l={"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}})"},pl={"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}})"},fl={"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}})"},ml={"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}})"},hl={"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}})"},gl={"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}})"},yl={"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}})"},bl={"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}})"},vl={"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}})"},kl={"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 U=(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))(U||{});const wl={en:Vs,es:Hs,it:Ys,ar:Gs,ca:Ws,zh_Hans:Zs,zh_Hant:Qs,hr:Js,cs:Ks,da:Xs,nl:$s,fi:el,fr:rl,de:tl,el:nl,he:al,hi:ol,hu:il,id:sl,ja:ll,ko:ul,ms:cl,no:dl,pl:_l,pt:pl,ro:fl,ru:ml,sk:hl,sv:gl,th:yl,tr:bl,uk:vl,vi:kl},Zr={noWhitespace:!1,short:!1};class $e{constructor(r={},t=pr,n=pr){F(this,"locales",{});this.selectedLocale=t,this.defaultLocale=n;const a={};Object.entries(wl).forEach(([o,i])=>{a[o]=new ho(i,o)}),this.locales=a,r&&this.override(r)}static fallback(){return new $e}override(r){Object.entries(r).forEach(([t,n])=>{this.locales[t]=new ho({...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{G.errorLog(`Failed to create a price formatter for locale: ${this.locale}`)}try{return new Intl.NumberFormat(this.fallbackLocale,{style:"currency",currency:t}).format(n)}catch{G.errorLog(`Failed to create a price formatter for locale: ${this.fallbackLocale}`)}return new Intl.NumberFormat(pr,{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=Zr){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=Zr){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 ho{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=Zr){var s;const{noWhitespace:a,short:o}={...Zr,...n},i=o?`periods.${t}Short`:Math.abs(r)===1?`periods.${t}`:`periods.${t}Plural`;return(s=this.translate(i,{amount:r.toString()}))==null?void 0:s.replace(" ",a?"":" ")}translatePeriodUnit(r,t=Zr){var i;const{noWhitespace:n,short:a}={...Zr,...t},o=`periods.${r}${a?"Short":""}`;return(i=this.translate(o,{amount:""}))==null?void 0:i.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 _e(e,r){ne(r,!0);const t=w(r,"key",3,""),n=w(r,"defaultLocale",3,pr),a=new $e({},r.selectedLocale||"",n()),o=or(Mr),i=r.selectedLocale?a:o||$e.fallback(),s=C(()=>t()?i.translate(t()||"",r.variables):void 0);var l=te(),u=D(l);{var c=p=>{var f=Dr();H(()=>Ke(f,d(s))),y(p,f)},_=p=>{var f=te(),m=D(f);jn(m,()=>r.children??rr),y(p,f)};j(u,p=>{d(s)?p(c):p(_,!1)})}y(e,l),ae()}var Er=(e=>(e.Year="year",e.Month="month",e.Week="week",e.Day="day",e))(Er||{});function Ln(e){const r=e.match(/^PT?([0-9]+)([MDYW])$/);if(!r||r.length<3)return G.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 G.errorLog(`Invalid ISO 8601 unit duration format: ${e}`),null}}const Pl=(e,r,t)=>{const n=e/1e6;return new Intl.NumberFormat(t,{style:"currency",currency:r}).format(n)},xl=(e,r)=>{const t=Ln(e);return t?r.translatePeriodFrequency(t.number,t.unit)||`${t.number} ${t.unit}s`:r.translate(U.PeriodsUnknownFrequency)},El=(e,r)=>{const t=Ln(e);return t?r.translatePeriod(t.number,t.unit)||`${t.number} ${t.unit}s`:e};function Sl(e){return e!=null}var go=(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))(go||{}),ir=(e=>(e.Subscription="subscription",e.Consumable="consumable",e.NonConsumable="non_consumable",e))(ir||{});const yo=e=>({amount:e.amount_micros/1e4,amountMicros:e.amount_micros,currency:e.currency,formattedPrice:Pl(e.amount_micros,e.currency)}),bo=e=>{const r=e.period_duration;return{periodDuration:r,period:r?Ln(r):null,cycleCount:e.cycle_count,price:e.price?yo(e.price):null}},Il=e=>e.base==null?(G.debugLog("Missing base phase for subscription option. Ignoring."),null):{id:e.id,priceId:e.price_id,base:bo(e.base),trial:e.trial?bo(e.trial):null},Tl=e=>e.base_price==null?(G.debugLog("Missing base price for non-subscription option. Ignoring."),null):{id:e.id,priceId:e.price_id,basePrice:yo(e.base_price)},ql=(e,r)=>{const t=e.product_type;return t==="subscription"?Al(e,r,t):Fl(e,r,t)},Fl=(e,r,t)=>{const n={};if(Object.entries(e.purchase_options).forEach(([i,s])=>{const l=Tl(s);l!=null&&(n[i]=l)}),Object.keys(n).length===0)return G.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?(G.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}},Al=(e,r,t)=>{const n={};if(Object.entries(e.purchase_options).forEach(([s,l])=>{const u=Il(l);u!=null&&(n[s]=u)}),Object.keys(n).length===0)return G.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 G.debugLog(`Product ${e.identifier} has no default subscription option. Ignoring.`),null;const i=o.base.price;return i==null?(G.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:i,normalPeriodDuration:o.base.periodDuration,presentedOfferingIdentifier:r.offeringIdentifier,presentedOfferingContext:r,defaultPurchaseOption:o,defaultSubscriptionOption:o,subscriptionOptions:n,defaultNonSubscriptionOption:null}},Cl=(e,r,t)=>{const n=t[r.platform_product_identifier];if(n===void 0)return null;const a=ql(n,e);return a===null?null:{identifier:r.identifier,rcBillingProduct:a,webBillingProduct:a,packageType:Ol(r.identifier)}},Dl=(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(s=>Cl(a,s,t)).filter(Sl),i={};for(const s of o)s!=null&&(i[s.identifier]=s);return o.length==0?null:{identifier:r.identifier,serverDescription:r.description,metadata:r.metadata,packagesById:i,availablePackages:o,lifetime:i.$rc_lifetime??null,annual:i.$rc_annual??null,sixMonth:i.$rc_six_month??null,threeMonth:i.$rc_three_month??null,twoMonth:i.$rc_two_month??null,monthly:i.$rc_monthly??null,weekly:i.$rc_weekly??null,paywall_components:r.paywall_components?r.paywall_components:null}};function Ol(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 Ml=x('<span class="rcb-product-price-after-trial svelte-1cj3ch9"><!></span>'),jl=x('<span class="rcb-product-description svelte-1cj3ch9"><!></span>'),Nl=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),Ul=x('<span class="rcb-product-description svelte-1cj3ch9"><!></span>'),Ll=x('<span class="rcb-product-price svelte-1cj3ch9"><!></span> <!>',1),Bl=x('<div class="rcb-pricing-info svelte-1cj3ch9"><span class="rcb-product-title svelte-1cj3ch9"><!></span> <!> <!></div>');const zl={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(T,z){typeof exports=="object"&&typeof module<"u"?z(exports):typeof define=="function"&&define.amd?define(["exports"],z):(T=typeof globalThis<"u"?globalThis:T||self,z(T.Purchases={}))})(this,function(T){"use strict";var Vp=Object.create;var va=Object.defineProperty;var Wp=Object.getOwnPropertyDescriptor;var Ni=(T,z)=>(z=Symbol[T])?z:Symbol.for("Symbol."+T),Tt=T=>{throw TypeError(T)};var Oi=(T,z,W)=>z in T?va(T,z,{enumerable:!0,configurable:!0,writable:!0,value:W}):T[z]=W;var Di=(T,z)=>va(T,"name",{value:z,configurable:!0});var ji=T=>[,,,Vp((T==null?void 0:T[Ni("metadata")])??null)],Ri=["class","method","getter","setter","accessor","field","value","get","set"],It=T=>T!==void 0&&typeof T!="function"?Tt("Function expected"):T,Yp=(T,z,W,Ue,me)=>({kind:Ri[T],name:z,metadata:Ue,addInitializer:ke=>W._?Tt("Already initialized"):me.push(It(ke||null))}),ka=(T,z)=>Oi(z,Ni("metadata"),T[3]),Li=(T,z,W,Ue)=>{for(var me=0,ke=T[z>>1],He=ke&&ke.length;me<He;me++)z&1?ke[me].call(W):Ue=ke[me].call(W,Ue);return Ue},zi=(T,z,W,Ue,me,ke)=>{var He,Ae,At,Fr,nt,te=z&7,at=!!(z&8),Ge=!!(z&16),ot=te>3?T.length+1:te?at?1:2:0,Dt=Ri[te+5],Ct=te>3&&(T[ot-1]=[]),hn=T[ot]||(T[ot]=[]),Be=te&&(!Ge&&!at&&(me=me.prototype),te<5&&(te>3||!Ge)&&Wp(te<4?me:{get[W](){return Ci(this,ke)},set[W](ae){return Mi(this,ke,ae)}},W));te?Ge&&te<4&&Di(ke,(te>2?"set ":te>1?"get ":"")+W):Di(me,W);for(var it=Ue.length-1;it>=0;it--)Fr=Yp(te,W,At={},T[3],hn),te&&(Fr.static=at,Fr.private=Ge,nt=Fr.access={has:Ge?ae=>Hp(me,ae):ae=>W in ae},te^3&&(nt.get=Ge?ae=>(te^1?Ci:Gp)(ae,me,te^4?ke:Be.get):ae=>ae[W]),te>2&&(nt.set=Ge?(ae,cr)=>Mi(ae,me,cr,te^4?ke:Be.set):(ae,cr)=>ae[W]=cr)),Ae=(0,Ue[it])(te?te<4?Ge?ke:Be[Dt]:te>4?void 0:{get:Be.get,set:Be.set}:me,Fr),At._=1,te^4||Ae===void 0?It(Ae)&&(te>4?Ct.unshift(Ae):te?Ge?ke=Ae:Be[Dt]=Ae:me=Ae):typeof Ae!="object"||Ae===null?Tt("Object expected"):(It(He=Ae.get)&&(Be.get=He),It(He=Ae.set)&&(Be.set=He),It(He=Ae.init)&&Ct.unshift(He));return te||ka(T,me),Be&&va(me,W,Be),Ge?te^4?ke:Be:me},I=(T,z,W)=>Oi(T,typeof z!="symbol"?z+"":z,W),wa=(T,z,W)=>z.has(T)||Tt("Cannot "+W),Hp=(T,z)=>Object(z)!==z?Tt('Cannot use the "in" operator on this value'):T.has(z),Ci=(T,z,W)=>(wa(T,z,"read from private field"),W?W.call(T):z.get(T));var Mi=(T,z,W,Ue)=>(wa(T,z,"write to private field"),Ue?Ue.call(T,W):z.set(T,W),W),Gp=(T,z,W)=>(wa(T,z,"access private method"),W);var Ai,ba;const z="5";typeof window<"u"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(z);let W=!1,Ue=!1;function me(){W=!0}me();const ke=1,He=2,Ae=4,At=8,Fr=16,nt=1,te=2,at=4,Ge=8,ot=16,Dt=1,Ct=2,hn=4,Be=1,it=2,ae=Symbol(),cr="http://www.w3.org/2000/svg";function Ui(e){return e.endsWith("capture")&&e!=="gotpointercapture"&&e!=="lostpointercapture"}const Bi=["beforeinput","click","change","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"];function Vi(e){return Bi.includes(e)}const Wi={formnovalidate:"formNoValidate",ismap:"isMap",nomodule:"noModule",playsinline:"playsInline",readonly:"readOnly",defaultvalue:"defaultValue",defaultchecked:"defaultChecked",srcobject:"srcObject"};function Yi(e){return e=e.toLowerCase(),Wi[e]??e}const Hi=["touchstart","touchmove"];function Gi(e){return Hi.includes(e)}const Pa=!1;var Mt=Array.isArray,Xi=Array.prototype.indexOf,gn=Array.from,Ji=Object.defineProperty,yr=Object.getOwnPropertyDescriptor,xa=Object.getOwnPropertyDescriptors,Qi=Object.prototype,Zi=Array.prototype,yn=Object.getPrototypeOf;function Lr(e){return typeof e=="function"}const ue=()=>{};function Ki(e){return e()}function bn(e){for(var r=0;r<e.length;r++)e[r]()}const Ke=2,Sa=4,st=8,Nt=16,$e=32,lt=64,Ot=128,Ir=256,jt=512,Me=1024,br=2048,ct=4096,or=8192,zr=16384,Ea=32768,vr=65536,$i=1<<17,es=1<<19,qa=1<<20,Tr=Symbol("$state"),Fa=Symbol("legacy props"),rs=Symbol("");function Ia(e){return e===this.v}function Ta(e,r){return e!=e?r==r:e!==r||e!==null&&typeof e=="object"||typeof e=="function"}function vn(e){return!Ta(e,this.v)}function ts(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function ns(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function as(e){throw new Error("https://svelte.dev/e/effect_orphan")}function os(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function is(e){throw new Error("https://svelte.dev/e/props_invalid_value")}function ss(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function ls(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function cs(){throw new Error("https://svelte.dev/e/state_unsafe_local_read")}function us(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function Ve(e,r){var t={f:0,v:e,reactions:null,equals:Ia,rv:0,wv:0};return t}function ds(e){return Aa(Ve(e))}function Rt(e,r=!1){var n;const t=Ve(e);return r||(t.equals=vn),W&&Z!==null&&Z.l!==null&&((n=Z.l).s??(n.s=[])).push(t),t}function xe(e,r=!1){return Aa(Rt(e,r))}function Aa(e){return re!==null&&re.f&Ke&&(ir===null?vs([e]):ir.push(e)),e}function R(e,r){return re!==null&&Wt()&&re.f&(Ke|Nt)&&(ir===null||!ir.includes(e))&&us(),kn(e,r)}function kn(e,r){return e.equals(r)||(e.v,e.v=r,e.wv=$a(),Da(e,br),Wt()&&V!==null&&V.f&Me&&!(V.f&$e)&&(Ie!==null&&Ie.includes(e)?(er(V,br),Yt(V)):wr===null?ks([e]):wr.push(e))),r}function Da(e,r){var t=e.reactions;if(t!==null)for(var n=Wt(),a=t.length,o=0;o<a;o++){var i=t[o],s=i.f;s&br||!n&&i===V||(er(i,r),s&(Me|Ir)&&(s&Ke?Da(i,ct):Yt(i)))}}let wn=!1;function ur(e,r=null,t){if(typeof e!="object"||e===null||Tr in e)return e;const n=yn(e);if(n!==Qi&&n!==Zi)return e;var a=new Map,o=Mt(e),i=Ve(0);o&&a.set("length",Ve(e.length));var s;return new Proxy(e,{defineProperty(l,c,u){(!("value"in u)||u.configurable===!1||u.enumerable===!1||u.writable===!1)&&ss();var d=a.get(c);return d===void 0?(d=Ve(u.value),a.set(c,d)):R(d,ur(u.value,s)),!0},deleteProperty(l,c){var u=a.get(c);if(u===void 0)c in l&&a.set(c,Ve(ae));else{if(o&&typeof c=="string"){var d=a.get("length"),p=Number(c);Number.isInteger(p)&&p<d.v&&R(d,p)}R(u,ae),Ca(i)}return!0},get(l,c,u){var h;if(c===Tr)return e;var d=a.get(c),p=c in l;if(d===void 0&&(!p||(h=yr(l,c))!=null&&h.writable)&&(d=Ve(ur(p?l[c]:ae,s)),a.set(c,d)),d!==void 0){var _=f(d);return _===ae?void 0:_}return Reflect.get(l,c,u)},getOwnPropertyDescriptor(l,c){var u=Reflect.getOwnPropertyDescriptor(l,c);if(u&&"value"in u){var d=a.get(c);d&&(u.value=f(d))}else if(u===void 0){var p=a.get(c),_=p==null?void 0:p.v;if(p!==void 0&&_!==ae)return{enumerable:!0,configurable:!0,value:_,writable:!0}}return u},has(l,c){var _;if(c===Tr)return!0;var u=a.get(c),d=u!==void 0&&u.v!==ae||Reflect.has(l,c);if(u!==void 0||V!==null&&(!d||(_=yr(l,c))!=null&&_.writable)){u===void 0&&(u=Ve(d?ur(l[c],s):ae),a.set(c,u));var p=f(u);if(p===ae)return!1}return d},set(l,c,u,d){var P;var p=a.get(c),_=c in l;if(o&&c==="length")for(var h=u;h<p.v;h+=1){var g=a.get(h+"");g!==void 0?R(g,ae):h in l&&(g=Ve(ae),a.set(h+"",g))}p===void 0?(!_||(P=yr(l,c))!=null&&P.writable)&&(p=Ve(void 0),R(p,ur(u,s)),a.set(c,p)):(_=p.v!==ae,R(p,ur(u,s)));var v=Reflect.getOwnPropertyDescriptor(l,c);if(v!=null&&v.set&&v.set.call(d,u),!_){if(o&&typeof c=="string"){var m=a.get("length"),y=Number(c);Number.isInteger(y)&&y>=m.v&&R(m,y+1)}Ca(i)}return!0},ownKeys(l){f(i);var c=Reflect.ownKeys(l).filter(p=>{var _=a.get(p);return _===void 0||_.v!==ae});for(var[u,d]of a)d.v!==ae&&!(u in l)&&c.push(u);return c},setPrototypeOf(){ls()}})}function Ca(e,r=1){R(e,e.v+r)}var Ma,Na,Oa;function _s(){if(Ma===void 0){Ma=window;var e=Element.prototype,r=Node.prototype;Na=yr(r,"firstChild").get,Oa=yr(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 ut(e=""){return document.createTextNode(e)}function Ar(e){return Na.call(e)}function Lt(e){return Oa.call(e)}function x(e,r){return Ar(e)}function Q(e,r){{var t=Ar(e);return t instanceof Comment&&t.data===""?Lt(t):t}}function C(e,r=1,t=!1){let n=e;for(;r--;)n=Lt(n);return n}function ps(e){e.textContent=""}function j(e){var r=Ke|br;V===null?r|=Ir:V.f|=qa;var t=re!==null&&re.f&Ke?re:null;const n={children:null,ctx:Z,deps:null,equals:Ia,f:r,fn:e,reactions:null,rv:0,v:null,wv:0,parent:t??V};return t!==null&&(t.children??(t.children=[])).push(n),n}function ne(e){const r=j(e);return r.equals=vn,r}function ja(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&Ke?Pn(n):Je(n)}}}function fs(e){for(var r=e.parent;r!==null;){if(!(r.f&Ke))return r;r=r.parent}return null}function Ra(e){var r,t=V;Ne(fs(e));try{ja(e),r=eo(e)}finally{Ne(t)}return r}function La(e){var r=Ra(e),t=(Cr||e.f&Ir)&&e.deps!==null?ct:Me;er(e,t),e.equals(r)||(e.v=r,e.wv=$a())}function Pn(e){ja(e),mt(e,0),er(e,zr),e.v=e.children=e.deps=e.ctx=e.reactions=null}function za(e){V===null&&re===null&&as(),re!==null&&re.f&Ir&&ns(),Tn&&ts()}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 Ur(e,r,t,n=!0){var a=(e<)!==0,o=V,i={ctx:Z,deps:null,deriveds:null,nodes_start:null,nodes_end:null,f:e|br,first:null,fn:r,last:null,next:null,parent:a?null:o,prev:null,teardown:null,transitions:null,wv:0};if(t){var s=Vr;try{Ja(!0),ht(i),i.f|=Ea}catch(u){throw Je(i),u}finally{Ja(s)}}else r!==null&&Yt(i);var l=t&&i.deps===null&&i.first===null&&i.nodes_start===null&&i.teardown===null&&(i.f&qa)===0;if(!l&&!a&&n&&(o!==null&&ms(i,o),re!==null&&re.f&Ke)){var c=re;(c.children??(c.children=[])).push(i)}return i}function Ua(e){const r=Ur(st,null,!1);return er(r,Me),r.teardown=e,r}function xn(e){za();var r=V!==null&&(V.f&$e)!==0&&Z!==null&&!Z.m;if(r){var t=Z;(t.e??(t.e=[])).push({fn:e,effect:V,reaction:re})}else{var n=Sn(e);return n}}function hs(e){return za(),Ut(e)}function gs(e){const r=Ur(lt,e,!0);return(t={})=>new Promise(n=>{t.outro?Dr(r,()=>{Je(r),n(void 0)}):(Je(r),n(void 0))})}function Sn(e){return Ur(Sa,e,!1)}function zt(e,r){var t=Z,n={effect:null,ran:!1};t.l.r1.push(n),n.effect=Ut(()=>{e(),!n.ran&&(n.ran=!0,R(t.l.r2,!0),dr(r))})}function Ba(){var e=Z;Ut(()=>{if(f(e.l.r2)){for(var r of e.l.r1){var t=r.effect;t.f&Me&&er(t,ct),Wr(t)&&ht(t),r.ran=!1}e.l.r2.v=!1}})}function Ut(e){return Ur(st,e,!0)}function L(e){return kr(e)}function kr(e,r=0){return Ur(st|Nt|r,e,!0)}function Xe(e,r=!0){return Ur(st|$e,e,!0,r)}function Va(e){var r=e.teardown;if(r!==null){const t=Tn,n=re;Qa(!0),Qe(null);try{r.call(null)}finally{Qa(t),Qe(n)}}}function Wa(e){var r=e.deriveds;if(r!==null){e.deriveds=null;for(var t=0;t<r.length;t+=1)Pn(r[t])}}function Ya(e,r=!1){var t=e.first;for(e.first=e.last=null;t!==null;){var n=t.next;Je(t,r),t=n}}function ys(e){for(var r=e.first;r!==null;){var t=r.next;r.f&$e||Je(r),r=t}}function Je(e,r=!0){var t=!1;if((r||e.f&es)&&e.nodes_start!==null){for(var n=e.nodes_start,a=e.nodes_end;n!==null;){var o=n===a?null:Lt(n);n.remove(),n=o}t=!0}Ya(e,r&&!t),Wa(e),mt(e,0),er(e,zr);var i=e.transitions;if(i!==null)for(const l of i)l.stop();Va(e);var s=e.parent;s!==null&&s.first!==null&&Ha(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=null}function Ha(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 Dr(e,r){var t=[];En(e,t,!0),Ga(t,()=>{Je(e),r&&r()})}function Ga(e,r){var t=e.length;if(t>0){var n=()=>--t||r();for(var a of e)a.out(n)}else r()}function En(e,r,t){if(!(e.f&or)){if(e.f^=or,e.transitions!==null)for(const i of e.transitions)(i.is_global||t)&&r.push(i);for(var n=e.first;n!==null;){var a=n.next,o=(n.f&vr)!==0||(n.f&$e)!==0;En(n,r,o?t:!1),n=a}}}function dt(e){Xa(e,!0)}function Xa(e,r){if(e.f&or){Wr(e)&&ht(e),e.f^=or;for(var t=e.first;t!==null;){var n=t.next,a=(t.f&vr)!==0||(t.f&$e)!==0;Xa(t,a?r:!1),t=n}if(e.transitions!==null)for(const o of e.transitions)(o.is_global||r)&&o.in()}}let qn=!1,Fn=[];function bs(){qn=!1;const e=Fn.slice();Fn=[],bn(e)}function Br(e){qn||(qn=!0,queueMicrotask(bs)),Fn.push(e)}function In(e){throw new Error("https://svelte.dev/e/lifecycle_outside_component")}let _t=!1,Bt=!1,Vt=null,Vr=!1,Tn=!1;function Ja(e){Vr=e}function Qa(e){Tn=e}let An=[],pt=0,Xp=[],re=null;function Qe(e){re=e}let V=null;function Ne(e){V=e}let ir=null;function vs(e){ir=e}let Ie=null,We=0,wr=null;function ks(e){wr=e}let Za=1,Dn=0,Cr=!1,Z=null;function Ka(e){Z=e}function $a(){return++Za}function Wt(){return!W||Z!==null&&Z.l===null}function Wr(e){var c;var r=e.f;if(r&br)return!0;if(r&ct){var t=e.deps,n=(r&Ir)!==0;if(t!==null){var a,o,i=(r&jt)!==0,s=n&&V!==null&&!Cr,l=t.length;if(i||s){for(a=0;a<l;a++)o=t[a],(i||!((c=o==null?void 0:o.reactions)!=null&&c.includes(e)))&&(o.reactions??(o.reactions=[])).push(e);i&&(e.f^=jt)}for(a=0;a<l;a++)if(o=t[a],Wr(o)&&La(o),o.wv>e.wv)return!0}(!n||V!==null&&!Cr)&&er(e,Me)}return!1}function ws(e,r){for(var t=r;t!==null;){if(t.f&Ot)try{t.fn(e);return}catch{t.f^=Ot}t=t.parent}throw _t=!1,e}function Ps(e){return(e.f&zr)===0&&(e.parent===null||(e.parent.f&Ot)===0)}function Cn(){_t=!1}function ft(e,r,t,n){if(_t){if(t===null&&(_t=!1),Ps(r))throw e;return}t!==null&&(_t=!0);{ws(e,r);return}}function eo(e){var p;var r=Ie,t=We,n=wr,a=re,o=Cr,i=ir,s=Z,l=e.f;Ie=null,We=0,wr=null,re=l&($e|lt)?null:e,Cr=!Vr&&(l&Ir)!==0,ir=null,Z=e.ctx,Dn++;try{var c=(0,e.fn)(),u=e.deps;if(Ie!==null){var d;if(mt(e,We),u!==null&&We>0)for(u.length=We+Ie.length,d=0;d<Ie.length;d++)u[We+d]=Ie[d];else e.deps=u=Ie;if(!Cr)for(d=We;d<u.length;d++)((p=u[d]).reactions??(p.reactions=[])).push(e)}else u!==null&&We<u.length&&(mt(e,We),u.length=We);return c}finally{Ie=r,We=t,wr=n,re=a,Cr=o,ir=i,Z=s}}function xs(e,r){let t=r.reactions;if(t!==null){var n=Xi.call(t,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&Ke&&(Ie===null||!Ie.includes(r))&&(er(r,ct),r.f&(Ir|jt)||(r.f^=jt),mt(r,0))}function mt(e,r){var t=e.deps;if(t!==null)for(var n=r;n<t.length;n++)xs(e,t[n])}function ht(e){var r=e.f;if(!(r&zr)){er(e,Me);var t=V,n=Z;V=e;try{r&Nt?ys(e):Ya(e),Wa(e),Va(e);var a=eo(e);e.teardown=typeof a=="function"?a:null,e.wv=Za;var o=e.deps,i;Pa&&Ue&&e.f&br}catch(s){ft(s,e,t,n||e.ctx)}finally{V=t}}}function Ss(){if(pt>1e3){pt=0;try{os()}catch(e){if(Vt!==null)ft(e,Vt,null);else throw e}}pt++}function Es(e){var r=e.length;if(r!==0){Ss();var t=Vr;Vr=!0;try{for(var n=0;n<r;n++){var a=e[n];a.f&Me||(a.f^=Me);var o=[];ro(a,o),qs(o)}}finally{Vr=t}}}function qs(e){var r=e.length;if(r!==0)for(var t=0;t<r;t++){var n=e[t];if(!(n.f&(zr|or)))try{Wr(n)&&(ht(n),n.deps===null&&n.first===null&&n.nodes_start===null&&(n.teardown===null?Ha(n):n.fn=null))}catch(a){ft(a,n,null,n.ctx)}}}function Fs(){if(Bt=!1,pt>1001)return;const e=An;An=[],Es(e),Bt||(pt=0,Vt=null)}function Yt(e){Bt||(Bt=!0,queueMicrotask(Fs)),Vt=e;for(var r=e;r.parent!==null;){r=r.parent;var t=r.f;if(t&(lt|$e)){if(!(t&Me))return;r.f^=Me}}An.push(r)}function ro(e,r){var t=e.first,n=[];e:for(;t!==null;){var a=t.f,o=(a&$e)!==0,i=o&&(a&Me)!==0,s=t.next;if(!i&&!(a&or))if(a&st){if(o)t.f^=Me;else try{Wr(t)&&ht(t)}catch(d){ft(d,t,null,t.ctx)}var l=t.first;if(l!==null){t=l;continue}}else a&Sa&&n.push(t);if(s===null){let d=t.parent;for(;d!==null;){if(e===d)break e;var c=d.next;if(c!==null){t=c;continue e}d=d.parent}}t=s}for(var u=0;u<n.length;u++)l=n[u],r.push(l),ro(l,r)}function f(e){var u;var r=e.f,t=(r&Ke)!==0;if(t&&r&zr){var n=Ra(e);return Pn(e),n}if(re!==null){ir!==null&&ir.includes(e)&&cs();var a=re.deps;e.rv<Dn&&(e.rv=Dn,Ie===null&&a!==null&&a[We]===e?We++:Ie===null?Ie=[e]:Ie.push(e),wr!==null&&V!==null&&V.f&Me&&!(V.f&$e)&&wr.includes(e)&&(er(V,br),Yt(V)))}else if(t&&e.deps===null)for(var o=e,i=o.parent,s=o;i!==null;)if(i.f&Ke){var l=i;s=l,i=l.parent}else{var c=i;(u=c.deriveds)!=null&&u.includes(s)||(c.deriveds??(c.deriveds=[])).push(s);break}return t&&(o=e,Wr(o)&&La(o)),e.v}function dr(e){const r=re;try{return re=null,e()}finally{re=r}}const Is=-7169;function er(e,r){e.f=e.f&Is|r}function _r(e){return no().get(e)}function to(e,r){return no().set(e,r),r}function no(e){return Z===null&&In(),Z.c??(Z.c=new Map(Ts(Z)||void 0))}function Ts(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){Z={p:Z,c:null,e:null,m:!1,s:e,x:null,l:null},W&&!r&&(Z.l={s:null,u:null,r1:[],r2:Ve(!1)})}function J(e){const r=Z;if(r!==null){e!==void 0&&(r.x=e);const i=r.e;if(i!==null){var t=V,n=re;r.e=null;try{for(var a=0;a<i.length;a++){var o=i[a];Ne(o.effect),Qe(o.reaction),Sn(o.fn)}}finally{Ne(t),Qe(n)}}Z=r.p,r.m=!0}return e||{}}function Mn(e){if(!(typeof e!="object"||!e||e instanceof EventTarget)){if(Tr in e)Nn(e);else if(!Array.isArray(e))for(let r in e){const t=e[r];typeof t=="object"&&t&&Tr in t&&Nn(t)}}}function Nn(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{Nn(e[n],r)}catch{}const t=yn(e);if(t!==Object.prototype&&t!==Array.prototype&&t!==Map.prototype&&t!==Set.prototype&&t!==Date.prototype){const n=xa(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,Br(()=>{document.activeElement===t&&e.focus()})}}let ao=!1;function Ds(){ao||(ao=!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 oo(e){var r=re,t=V;Qe(null),Ne(null);try{return e()}finally{Qe(r),Ne(t)}}function Cs(e,r,t,n=t){e.addEventListener(r,()=>oo(t));const a=e.__on_r;a?e.__on_r=()=>{a(),n(!0)}:e.__on_r=()=>n(!0),Ds()}const io=new Set,On=new Set;function so(e,r,t,n){function a(o){if(n.capture||gt.call(r,o),!o.cancelBubble)return oo(()=>t.call(this,o))}return e.startsWith("pointer")||e.startsWith("touch")||e==="wheel"?Br(()=>{r.addEventListener(e,a,n)}):r.addEventListener(e,a,n),a}function Mr(e,r,t,n,a){var o={capture:n,passive:a},i=so(e,r,t,o);(r===document.body||r===window||r===document)&&Ua(()=>{r.removeEventListener(e,i,o)})}function jn(e){for(var r=0;r<e.length;r++)io.add(e[r]);for(var t of On)t(e)}function gt(e){var y;var r=this,t=r.ownerDocument,n=e.type,a=((y=e.composedPath)==null?void 0:y.call(e))||[],o=a[0]||e.target,i=0,s=e.__root;if(s){var l=a.indexOf(s);if(l!==-1&&(r===document||r===window)){e.__root=r;return}var c=a.indexOf(r);if(c===-1)return;l<=c&&(i=l)}if(o=a[i]||e.target,o!==r){Ji(e,"currentTarget",{configurable:!0,get(){return o||t}});var u=re,d=V;Qe(null),Ne(null);try{for(var p,_=[];o!==null;){var h=o.assignedSlot||o.parentNode||o.host||null;try{var g=o["__"+n];if(g!==void 0&&!o.disabled)if(Mt(g)){var[v,...m]=g;v.apply(o,[e,...m])}else g.call(o,e)}catch(P){p?_.push(P):p=P}if(e.cancelBubble||h===r||h===null)break;o=h}if(p){for(let P of _)queueMicrotask(()=>{throw P});throw p}}finally{e.__root=r,delete e.currentTarget,Qe(u),Ne(d)}}}function Rn(e){var r=document.createElement("template");return r.innerHTML=e,r.content}function Nr(e,r){var t=V;t.nodes_start===null&&(t.nodes_start=e,t.nodes_end=r)}function q(e,r){var t=(r&Be)!==0,n=(r&it)!==0,a,o=!e.startsWith("<!>");return()=>{a===void 0&&(a=Rn(o?e:"<!>"+e),t||(a=Ar(a)));var i=n?document.importNode(a,!0):a.cloneNode(!0);if(t){var s=Ar(i),l=i.lastChild;Nr(s,l)}else Nr(i,i);return i}}function Ms(e,r,t="svg"){var n=!e.startsWith("<!>"),a=`<${t}>${n?e:"<!>"+e}</${t}>`,o;return()=>{if(!o){var i=Rn(a),s=Ar(i);o=Ar(s)}var l=o.cloneNode(!0);return Nr(l,l),l}}function Yr(e=""){{var r=ut(e+"");return Nr(r,r),r}}function le(){var e=document.createDocumentFragment(),r=document.createComment(""),t=ut();return e.append(r,t),Nr(r,t),e}function k(e,r){e!==null&&e.before(r)}let Ht=!0;function lo(e){Ht=e}function Oe(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 co(e,r){return Ns(e,r)}const Hr=new Map;function Ns(e,{target:r,anchor:t,props:n={},events:a,context:o,intro:i=!0}){_s();var s=new Set,l=d=>{for(var p=0;p<d.length;p++){var _=d[p];if(!s.has(_)){s.add(_);var h=Gi(_);r.addEventListener(_,gt,{passive:h});var g=Hr.get(_);g===void 0?(document.addEventListener(_,gt,{passive:h}),Hr.set(_,1)):Hr.set(_,g+1)}}};l(gn(io)),On.add(l);var c=void 0,u=gs(()=>{var d=t??r.appendChild(ut());return Xe(()=>{if(o){X({});var p=Z;p.c=o}a&&(n.$$events=a),Ht=i,c=e(d,n)||{},Ht=!0,o&&J()}),()=>{var h;for(var p of s){r.removeEventListener(p,gt);var _=Hr.get(p);--_===0?(document.removeEventListener(p,gt),Hr.delete(p)):Hr.set(p,_)}On.delete(l),d!==t&&((h=d.parentNode)==null||h.removeChild(d))}});return Ln.set(c,u),c}let Ln=new WeakMap;function zn(e,r){const t=Ln.get(e);return t?(Ln.delete(e),t(r)):Promise.resolve()}function M(e,r,t=!1){var n=e,a=null,o=null,i=ae,s=t?vr:0,l=!1;const c=(d,p=!0)=>{l=!0,u(p,d)},u=(d,p)=>{i!==(i=d)&&(i?(a?dt(a):p&&(a=Xe(()=>p(n))),o&&Dr(o,()=>{o=null})):(o?dt(o):p&&(o=Xe(()=>p(n))),a&&Dr(a,()=>{a=null})))};kr(()=>{l=!1,r(c),l||u(null,null)},s)}function Un(e,r){return r}function Os(e,r,t,n){for(var a=[],o=r.length,i=0;i<o;i++)En(r[i].e,a,!0);var s=o>0&&a.length===0&&t!==null;if(s){var l=t.parentNode;ps(l),l.append(t),n.clear(),Pr(e,r[0].prev,r[o-1].next)}Ga(a,()=>{for(var c=0;c<o;c++){var u=r[c];s||(n.delete(u.k),Pr(e,u.prev,u.next)),Je(u.e,!s)}})}function Bn(e,r,t,n,a,o=null){var i=e,s={flags:r,items:new Map,first:null},l=(r&Ae)!==0;if(l){var c=e;i=c.appendChild(ut())}var u=null,d=!1;kr(()=>{var p=t(),_=Mt(p)?p:p==null?[]:gn(p),h=_.length;if(!(d&&h===0)){d=h===0;{var g=re;js(_,s,i,a,r,(g.f&or)!==0,n)}o!==null&&(h===0?u?dt(u):u=Xe(()=>o(i)):u!==null&&Dr(u,()=>{u=null})),t()}})}function js(e,r,t,n,a,o,i,s){var N,se,Pe,ie;var l=(a&At)!==0,c=(a&(ke|He))!==0,u=e.length,d=r.items,p=r.first,_=p,h,g=null,v,m=[],y=[],P,S,w,F;if(l)for(F=0;F<u;F+=1)P=e[F],S=i(P,F),w=d.get(S),w!==void 0&&((N=w.a)==null||N.measure(),(v??(v=new Set)).add(w));for(F=0;F<u;F+=1){if(P=e[F],S=i(P,F),w=d.get(S),w===void 0){var O=_?_.e.nodes_start:t;g=Ls(O,r,g,g===null?r.first:g.next,P,S,F,n,a),d.set(S,g),m=[],y=[],_=g.next;continue}if(c&&Rs(w,P,F,a),w.e.f&or&&(dt(w.e),l&&((se=w.a)==null||se.unfix(),(v??(v=new Set)).delete(w))),w!==_){if(h!==void 0&&h.has(w)){if(m.length<y.length){var D=y[0],A;g=D.prev;var G=m[0],ce=m[m.length-1];for(A=0;A<m.length;A+=1)uo(m[A],D,t);for(A=0;A<y.length;A+=1)h.delete(y[A]);Pr(r,G.prev,ce.next),Pr(r,g,G),Pr(r,ce,D),_=D,g=ce,F-=1,m=[],y=[]}else h.delete(w),uo(w,_,t),Pr(r,w.prev,w.next),Pr(r,w,g===null?r.first:g.next),Pr(r,g,w),g=w;continue}for(m=[],y=[];_!==null&&_.k!==S;)(o||!(_.e.f&or))&&(h??(h=new Set)).add(_),y.push(_),_=_.next;if(_===null)continue;w=_}m.push(w),g=w,_=w.next}if(_!==null||h!==void 0){for(var de=h===void 0?[]:gn(h);_!==null;)(o||!(_.e.f&or))&&de.push(_),_=_.next;var qe=de.length;if(qe>0){var ye=a&Ae&&u===0?t:null;if(l){for(F=0;F<qe;F+=1)(Pe=de[F].a)==null||Pe.measure();for(F=0;F<qe;F+=1)(ie=de[F].a)==null||ie.fix()}Os(r,de,ye,d)}}l&&Br(()=>{var fe;if(v!==void 0)for(w of v)(fe=w.a)==null||fe.apply()}),V.first=r.first&&r.first.e,V.last=g&&g.e}function Rs(e,r,t,n){n&ke&&kn(e.v,r),n&He?kn(e.i,t):e.i=t}function Ls(e,r,t,n,a,o,i,s,l,c){var u=(l&ke)!==0,d=(l&Fr)===0,p=u?d?Rt(a):Ve(a):a,_=l&He?Ve(i):i,h={i:_,v:p,k:o,a:null,e:null,prev:t,next:n};try{return h.e=Xe(()=>s(e,p,_),wn),h.e.prev=t&&t.e,h.e.next=n&&n.e,t===null?r.first=h:(t.next=h,t.e.next=h.e),n!==null&&(n.prev=h,n.e.prev=h.e),h}finally{}}function uo(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 i=Lt(o);a.before(o),o=i}}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 yt(e,r,t,n,a){var o=e,i="",s;kr(()=>{i!==(i=r()??"")&&(s!==void 0&&(Je(s),s=void 0),i!==""&&(s=Xe(()=>{var l=i+"",c=Rn(l);Nr(Ar(c),c.lastChild),o.before(c)})))})}function Te(e,r,...t){var n=e,a=ue,o;kr(()=>{a!==(a=r())&&(o&&(Je(o),o=null),o=Xe(()=>a(n,...t)))},vr)}function zs(e,r,t){var n=e,a,o;kr(()=>{a!==(a=r())&&(o&&(Dr(o),o=null),a&&(o=Xe(()=>t(n,a))))},vr)}function Gt(e,r,t,n,a,o){var i,s,l=null,c=e,u;kr(()=>{const d=r()||null;var p=d==="svg"?cr:null;d!==i&&(u&&(d===null?Dr(u,()=>{u=null,s=null}):d===s?dt(u):(Je(u),lo(!1))),d&&d!==s&&(u=Xe(()=>{if(l=p?document.createElementNS(p,d):document.createElement(d),Nr(l,l),n){var _=l.appendChild(ut());n(l,_)}V.nodes_end=l,c.before(l)})),i=d,i&&(s=i),lo(!0))},vr)}function Y(e,r){Br(()=>{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 _o(e){var r,t,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var a=e.length;for(r=0;r<a;r++)e[r]&&(t=_o(e[r]))&&(n&&(n+=" "),n+=t)}else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function Us(){for(var e,r,t=0,n="",a=arguments.length;t<a;t++)(e=arguments[t])&&(r=_o(e))&&(n&&(n+=" "),n+=r);return n}function po(e){return typeof e=="object"?Us(e):e??""}function Bs(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[rs]=t),t==null?e.removeAttribute(r):typeof t!="string"&&mo(e).includes(r)?e[r]=t:e.setAttribute(r,t))}function Xt(e,r,t,n,a=!1,o=!1,i=!1){var s=r||{},l=e.tagName==="OPTION";for(var c in r)c in t||(t[c]=null);t.class&&(t.class=po(t.class)),n!==void 0&&(t.class=t.class?t.class+" "+n:n);var u=mo(e),d=e.__attributes??(e.__attributes={});for(const m in t){let y=t[m];if(l&&m==="value"&&y==null){e.value=e.__value="",s[m]=y;continue}var p=s[m];if(y!==p){s[m]=y;var _=m[0]+m[1];if(_!=="$$"){if(_==="on"){const P={},S="$$"+m;let w=m.slice(2);var h=Vi(w);if(Ui(w)&&(w=w.slice(0,-7),P.capture=!0),!h&&p){if(y!=null)continue;e.removeEventListener(w,s[S],P),s[S]=null}if(y!=null)if(h)e[`__${w}`]=y,jn([w]);else{let F=function(O){s[m].call(this,O)};s[S]=so(w,e,F,P)}else h&&(e[`__${w}`]=void 0)}else if(m==="style"&&y!=null)e.style.cssText=y+"";else if(m==="autofocus")As(e,!!y);else if(m==="__value"||m==="value"&&y!=null)e.value=e[m]=e.__value=y;else if(m==="selected"&&l)Bs(e,y);else{var g=m;a||(g=Yi(g));var v=g==="defaultValue"||g==="defaultChecked";if(y==null&&!o&&!v)if(d[m]=null,g==="value"||g==="checked"){let P=e;if(g==="value"){let S=P.defaultValue;P.removeAttribute(g),P.defaultValue=S}else{let S=P.defaultChecked;P.removeAttribute(g),P.defaultChecked=S}}else e.removeAttribute(m);else v||u.includes(g)&&(o||typeof y!="string")?e[g]=y:typeof y!="function"&&K(e,g,y)}m==="style"&&"__styles"in e&&(e.__styles={})}}}return s}var fo=new Map;function mo(e){var r=fo.get(e.nodeName);if(r)return r;fo.set(e.nodeName,r=[]);for(var t,n=e,a=Element.prototype;a!==n;){t=xa(n);for(var o in t)t[o].set&&r.push(o);n=yn(n)}return r}function Vs(e,r,t){var n=e.__className,a=ho(r);(n!==a||wn)&&(a===""?e.removeAttribute("class"):e.setAttribute("class",a),e.__className=a)}function Jt(e,r,t){var n=e.__className,a=ho(r);(n!==a||wn)&&(r==null?e.removeAttribute("class"):e.className=a,e.__className=a)}function ho(e,r){return(e??"")+""}function Gr(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)}}const Ws=()=>performance.now(),pr={tick:e=>requestAnimationFrame(e),now:()=>Ws(),tasks:new Set};function go(){const e=pr.now();pr.tasks.forEach(r=>{r.c(e)||(pr.tasks.delete(r),r.f())}),pr.tasks.size!==0&&pr.tick(go)}function Ys(e){let r;return pr.tasks.size===0&&pr.tick(go),{promise:new Promise(t=>{pr.tasks.add(r={c:e,f:t})}),abort(){pr.tasks.delete(r)}}}function Qt(e,r){e.dispatchEvent(new CustomEvent(r))}function Hs(e){if(e==="float")return"cssFloat";if(e==="offset")return"cssOffset";if(e.startsWith("--"))return e;const r=e.split("-");return r.length===1?r[0]:r[0]+r.slice(1).map(t=>t[0].toUpperCase()+t.slice(1)).join("")}function yo(e){const r={},t=e.split(";");for(const n of t){const[a,o]=n.split(":");if(!a||o===void 0)break;const i=Hs(a.trim());r[i]=o.trim()}return r}const Gs=e=>e;function bo(e,r,t,n){var a=(e&Dt)!==0,o=(e&Ct)!==0,i=a&&o,s=(e&hn)!==0,l=i?"both":a?"in":"out",c,u=r.inert,d,p;function _(){var y=re,P=V;Qe(null),Ne(null);try{return c??(c=t()(r,(n==null?void 0:n())??{},{direction:l}))}finally{Qe(y),Ne(P)}}var h={is_global:s,in(){var y;if(r.inert=u,!a){p==null||p.abort(),(y=p==null?void 0:p.reset)==null||y.call(p);return}o||d==null||d.abort(),Qt(r,"introstart"),d=Vn(r,_(),p,1,()=>{Qt(r,"introend"),d==null||d.abort(),d=c=void 0})},out(y){if(!o){y==null||y(),c=void 0;return}r.inert=!0,Qt(r,"outrostart"),p=Vn(r,_(),d,0,()=>{Qt(r,"outroend"),y==null||y()})},stop:()=>{d==null||d.abort(),p==null||p.abort()}},g=V;if((g.transitions??(g.transitions=[])).push(h),a&&Ht){var v=s;if(!v){for(var m=g.parent;m&&m.f&vr;)for(;(m=m.parent)&&!(m.f&Nt););v=!m||(m.f&Ea)!==0}v&&Sn(()=>{dr(()=>h.in())})}}function Vn(e,r,t,n,a){var o=n===1;if(Lr(r)){var i,s=!1;return Br(()=>{if(!s){var v=r({direction:o?"in":"out"});i=Vn(e,v,t,n,a)}}),{abort:()=>{s=!0,i==null||i.abort()},deactivate:()=>i.deactivate(),reset:()=>i.reset(),t:()=>i.t()}}if(t==null||t.deactivate(),!(r!=null&&r.duration))return a(),{abort:ue,deactivate:ue,reset:ue,t:()=>n};const{delay:l=0,css:c,tick:u,easing:d=Gs}=r;var p=[];if(o&&t===void 0&&(u&&u(0,1),c)){var _=yo(c(0,1));p.push(_,_)}var h=()=>1-n,g=e.animate(p,{duration:l});return g.onfinish=()=>{var v=(t==null?void 0:t.t())??1-n;t==null||t.abort();var m=n-v,y=r.duration*Math.abs(m),P=[];if(y>0){if(c)for(var S=Math.ceil(y/16.666666666666668),w=0;w<=S;w+=1){var F=v+m*d(w/S),O=c(F,1-F);P.push(yo(O))}h=()=>{var D=g.currentTime;return v+m*d(D/y)},u&&Ys(()=>{if(g.playState!=="running")return!1;var D=h();return u(D,1-D),!0})}g=e.animate(P,{duration:y,fill:"forwards"}),g.onfinish=()=>{h=()=>n,u==null||u(n,1-n),a()}},{abort:()=>{g&&(g.cancel(),g.effect=null,g.onfinish=ue)},deactivate:()=>{a=ue},reset:()=>{n===0&&(u==null||u(1,0))},t:()=>h()}}function Xs(e,r,t=r){var n=Wt();Cs(e,"input",a=>{var o=a?e.defaultValue:e.value;if(o=Wn(e)?Yn(o):o,t(o),n&&o!==(o=r())){var i=e.selectionStart,s=e.selectionEnd;e.value=o??"",s!==null&&(e.selectionStart=i,e.selectionEnd=Math.min(s,e.value.length))}}),dr(r)==null&&e.value&&t(Wn(e)?Yn(e.value):e.value),Ut(()=>{var a=r();Wn(e)&&a===Yn(e.value)||e.type==="date"&&!a&&!e.value||a!==e.value&&(e.value=a??"")})}function Wn(e){var r=e.type;return r==="number"||r==="range"}function Yn(e){return e===""?null:+e}function vo(e){return function(...r){var t=r[0];return t.preventDefault(),e==null?void 0:e.apply(this,r)}}function pe(e=!1){const r=Z,t=r.l.u;if(!t)return;let n=()=>Mn(r.s);if(e){let a=0,o={};const i=j(()=>{let s=!1;const l=r.s;for(const c in l)l[c]!==o[c]&&(o[c]=l[c],s=!0);return s&&a++,a});n=()=>f(i)}t.b.length&&hs(()=>{ko(r,n),bn(t.b)}),xn(()=>{const a=dr(()=>t.m.map(Ki));return()=>{for(const o of a)typeof o=="function"&&o()}}),t.a.length&&xn(()=>{ko(r,n),bn(t.a)})}function ko(e,r){if(e.l.s)for(const t of e.l.s)f(t);r()}function Hn(e,r){var o;var t=(o=e.$$events)==null?void 0:o[r.type],n=Mt(t)?t.slice():t==null?[]:[t];for(var a of n)a.call(this,r)}function fr(e){Z===null&&In(),W&&Z.l!==null?Qs(Z).m.push(e):xn(()=>{const r=dr(e);if(typeof r=="function")return r})}function Js(e){Z===null&&In(),fr(()=>()=>dr(e))}function Qs(e){var r=e.l;return r.u??(r.u={a:[],b:[],m:[]})}function Zs(e,r,t){if(e==null)return r(void 0),ue;const n=dr(()=>e.subscribe(r,t));return n.unsubscribe?()=>n.unsubscribe():n}let Zt=!1;function wo(e,r,t){const n=t[r]??(t[r]={store:null,source:Rt(void 0),unsubscribe:ue});if(n.store!==e)if(n.unsubscribe(),n.store=e,e==null)n.source.v=void 0,n.unsubscribe=ue;else{var a=!0;n.unsubscribe=Zs(e,o=>{a?n.source.v=o:R(n.source,o)}),a=!1}return f(n.source)}function Po(){const e={};return Ua(()=>{for(var r in e)e[r].unsubscribe()}),e}function Ks(e){var r=Zt;try{return Zt=!1,[e(),Zt]}finally{Zt=r}}const $s={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 xr(e,r,t){return new Proxy({props:e,exclude:r},$s)}const el={get(e,r){let t=e.props.length;for(;t--;){let n=e.props[t];if(Lr(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];Lr(a)&&(a=a());const o=yr(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(Lr(n)&&(n=n()),typeof n=="object"&&n!==null&&r in n){const a=yr(n,r);return a&&!a.configurable&&(a.configurable=!0),a}}},has(e,r){if(r===Tr||r===Fa)return!1;for(let t of e.props)if(Lr(t)&&(t=t()),t!=null&&r in t)return!0;return!1},ownKeys(e){const r=[];for(let t of e.props){Lr(t)&&(t=t());for(const n in t)r.includes(n)||r.push(n)}return r}};function Sr(...e){return new Proxy({props:e},el)}function xo(e){for(var r=V,t=V;r!==null&&!(r.f&($e|lt));)r=r.parent;try{return Ne(r),e()}finally{Ne(t)}}function b(e,r,t,n){var O;var a=(t&nt)!==0,o=!W||(t&te)!==0,i=(t&Ge)!==0,s=(t&ot)!==0,l=!1,c;i?[c,l]=Ks(()=>e[r]):c=e[r];var u=Tr in e||Fa in e,d=((O=yr(e,r))==null?void 0:O.set)??(u&&i&&r in e?D=>e[r]=D:void 0),p=n,_=!0,h=!1,g=()=>(h=!0,_&&(_=!1,s?p=dr(n):p=n),p);c===void 0&&n!==void 0&&(d&&o&&is(),c=g(),d&&d(c));var v;if(o)v=()=>{var D=e[r];return D===void 0?g():(_=!0,h=!1,D)};else{var m=xo(()=>(a?j:ne)(()=>e[r]));m.f|=$i,v=()=>{var D=f(m);return D!==void 0&&(p=void 0),D===void 0?p:D}}if(!(t&at))return v;if(d){var y=e.$$legacy;return function(D,A){return arguments.length>0?((!o||!A||y||l)&&d(A?v():D),D):v()}}var P=!1,S=!1,w=Rt(c),F=xo(()=>j(()=>{var D=v(),A=f(w);return P?(P=!1,S=!0,A):(S=!1,w.v=D)}));return a||(F.equals=vn),function(D,A){if(arguments.length>0){const G=A?f(F):o&&i?ur(D):D;return F.equals(G)||(P=!0,R(w,G),h&&p!==void 0&&(p=G),dr(()=>f(F))),D}return f(F)}}function So(e,r){var t=V,n=re,a=Z;Ne(e),Qe(e),Ka(e.ctx);try{r()}finally{Ne(t),Qe(n),Ka(a)}}function rl(e,r,t){var n=e,a;kr(()=>{var o=V,i=!1;o.fn=s=>{var l=r.onerror;let c=r.failed;if(!l&&!c||i)throw s;var u=()=>{Dr(a),So(o,()=>{i=!1,a=Xe(()=>t(n)),Cn()})};l==null||l(s,u),a&&Je(a),c&&Br(()=>{So(o,()=>{i=!0;try{a=Xe(()=>{c(n,()=>s,()=>u)})}catch(d){ft(d,o,null,o.ctx)}Cn(),i=!1})})},a=Xe(()=>t(n)),Cn()},vr|Ot)}var Se=(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))(Se||{});class bt{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:case 7877:case 7878: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:case 7879:return 38}}static convertCodeToBackendErrorCode(r){return r in Eo?r:null}static convertPurchaseFlowErrorCodeToErrorCode(r){switch(r){case he.ErrorSettingUpPurchase:return 2;case he.ErrorChargingPayment:return 20;case he.NetworkError:return 10;case he.MissingEmailError:return 4;case he.UnknownError:return 0;case he.AlreadyPurchasedError:return 6}}}var Eo=(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[e.BackendInvalidOperationSession=7877]="BackendInvalidOperationSession",e[e.BackendPurchaseCannotBeCompleted=7878]="BackendPurchaseCannotBeCompleted",e[e.BackendEmailIsRequired=7879]="BackendEmailIsRequired",e))(Eo||{});class ge extends Error{constructor(t,n,a,o){super(n);I(this,"toString",()=>`PurchasesError(code: ${Se[this.errorCode]}, message: ${this.message})`);this.errorCode=t,this.underlyingErrorMessage=a,this.extra=o}static getForBackendError(t,n){const a=bt.getErrorCodeForBackendErrorCode(t);return new ge(a,bt.getPublicMessage(a),n,{backendErrorCode:t})}static getForPurchasesFlowError(t){return new ge(bt.convertPurchaseFlowErrorCodeToErrorCode(t.errorCode),t.message,t.underlyingErrorMessage)}}class qo extends Error{constructor(){super("Purchases must be configured before calling getInstance")}}var vt=(e=>(e.Started="started",e.InProgress="in_progress",e.Succeeded="succeeded",e.Failed="failed",e))(vt||{}),Xr=(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))(Xr||{});function tl(e){return e!=null}var je=(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))(je||{});class H{static setLogLevel(r){this.logLevel=r}static log(r,t=this.logLevel){const n=`[Purchases] ${r}`;if(!(this.logLevel<t||t===je.Silent))switch(t){case je.Error:console.error(n);break;case je.Warn:console.warn(n);break;case je.Info:console.info(n);break;case je.Debug:console.debug(n);break;case je.Verbose:console.debug(n);break}}static errorLog(r){this.log(r,je.Error)}static warnLog(r){this.log(r,je.Warn)}static infoLog(r){this.log(r,je.Info)}static debugLog(r){this.log(r,je.Debug)}static verboseLog(r){this.log(r,je.Verbose)}}I(H,"logLevel",je.Silent);var Er=(e=>(e.Year="year",e.Month="month",e.Week="week",e.Day="day",e))(Er||{});function Fo(e){const r=e.match(/^PT?([0-9]+)([MDYW])$/);if(!r||r.length<3)return H.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 H.errorLog(`Invalid ISO 8601 unit duration format: ${e}`),null}}function Io(e,r,t){if(!t)return null;let n=new Date(e);switch(r.unit){case"year":n.getDate()===29&&n.getMonth()===1&&r.number!==4?n.setFullYear(n.getFullYear()+r.number,n.getMonth(),28):n.setFullYear(n.getFullYear()+r.number,n.getMonth(),n.getDate());break;case"month":n.setMonth(n.getMonth()+r.number,n.getDate()),n.getDate()!==e.getDate()&&(n=new Date(e),n.setMonth(n.getMonth()+r.number+1,0));break;case"week":n.setDate(n.getDate()+r.number*7);break;case"day":n.setDate(n.getDate()+r.number);break}return n}const nl={"periods.week":"{{amount}} week","periods.month":"{{amount}} month","periods.year":"{{amount}} year","periods.day":"{{amount}} day","periods.weekShort":"{{amount}}wk","periods.monthShort":"{{amount}}mo","periods.yearShort":"{{amount}}yr","periods.dayShort":"{{amount}}d","periods.lifetime":"lifetime","periods.weekPlural":"{{amount}} weeks","periods.monthPlural":"{{amount}} months","periods.yearPlural":"{{amount}} years","periods.dayPlural":"{{amount}} days","periods.weekFrequency":"weekly","periods.monthFrequency":"monthly","periods.yearFrequency":"yearly","periods.dayFrequency":"daily","periods.perWeekFrequency":"per week","periods.perMonthFrequency":"per month","periods.perYearFrequency":"per year","periods.perDayFrequency":"per day","periods.unknownFrequency":"unknown","periods.weekFrequencyPlural":"every {{amount}} weeks","periods.monthFrequencyPlural":"every {{amount}} months","periods.yearFrequencyPlural":"every {{amount}} years","periods.dayFrequencyPlural":"every {{amount}} days","state_present_offer.subscribe_to":"Subscribe to","state_present_offer.product_title":"{{productTitle}}","state_present_offer.product_description":"{{productDescription}}","state_present_offer.product_price":"{{productPrice}}","state_present_offer.free_trial_duration":"Free for {{trialDuration}}","state_present_offer.price_after_free_trial":"After trial ends, on {{renewalDate}}","state_present_offer.total_due_today":"Total due today","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":"What's your 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":"Continue","state_needs_payment_info.payment_step_title":"Secure checkout by RevenueCat","state_needs_payment_info.terms_info":"By providing your card information you allow {{appName}} to charge your card for future payments in accordance with their terms.","state_needs_payment_info.trial_info":"After your trial ends, you will be charged {{price}} {{perFrequency}} starting {{renewalDate}}. You can always cancel before then.","state_needs_payment_info.button_pay":"Pay now","state_needs_payment_info.button_start_trial":"Start trial","state_success.purchase_successful":"Payment complete","state_success.subscription_now_active":"Your subscription is now active","state_success.button_close":"Continue","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}})","navbar_header.details":"Details","navbar_header.back_button":"Back"},al={"periods.week":"{{amount}} semana","periods.month":"{{amount}} mes","periods.year":"{{amount}} año","periods.day":"{{amount}} día","periods.weekShort":"{{amount}} sem","periods.monthShort":"{{amount}}mes","periods.yearShort":"{{amount}}año","periods.dayShort":"{{amount}}d","periods.lifetime":"de por vida","periods.weekPlural":"{{amount}} semanas","periods.monthPlural":"{{amount}} meses","periods.yearPlural":"{{amount}} años","periods.dayPlural":"{{amount}} días","periods.weekFrequency":"semanal","periods.monthFrequency":"mensual","periods.yearFrequency":"anual","periods.dayFrequency":"diaria","periods.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":"{{trialDuration}} prueba gratuita","state_present_offer.price_after_free_trial":"{{productPrice}} después del periodo de prueba","state_present_offer.renewal_frequency":"Se renueva {{frequency}}","state_present_offer.continues_until_cancelled":"Continua hasta que se cancele","state_present_offer.cancel_anytime":"Cancelar en cualquier momento","state_needs_auth_info.email_step_title":"¿Cuál es tu correo electrónico?","state_needs_auth_info.email_input_label":"Correo electrónico","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 mediante RevenueCat","state_needs_payment_info.terms_info":"Al proporcionar la información de tu tarjeta, permites que {{appName}} cobre en tu tarjeta por pagos futuros de acuerdo con sus términos.","state_needs_payment_info.button_pay":"Pagar ahora","state_needs_payment_info.button_start_trial":"Comenzar prueba","state_success.purchase_successful":"Pago completado","state_success.subscription_now_active":"Tu suscripción está ahora activa","state_success.button_close":"Continuar","state_error.if_error_persists":"Si el error persiste, contacta con ","state_error.error_title_already_subscribed":"Ya suscrito","state_error.error_title_already_purchased":"Ya comprado","state_error.error_title_other_errors":"Algo salió mal","state_error.error_message_already_subscribed":"Ya estás 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 correo electrónico para completar la compra.","state_error.error_message_network_error":"Error de red. Por favor, comprueba tu conexión a internet.","state_error.error_message_error_charging_payment":"Pago fallido.","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":"Se produjo 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}})","state_present_offer.total_due_today":"Total a pagar hoy","state_present_offer.subscribe_to":"Suscribirse a","periods.perWeekFrequency":"por semana","periods.perMonthFrequency":"por mes","periods.perYearFrequency":"por año","periods.perDayFrequency":"por día","state_needs_payment_info.trial_info":"Una vez finalizado el período de prueba, se le cobrará {{price}} {{perFrequency}} a partir del {{renewalDate}}. Puede cancelar en cualquier momento antes de esa fecha.","navbar_header.details":"Detalles","navbar_header.back_button":"Atrás"},ol={"periods.week":"{{amount}} settimana","periods.month":"{{amount}} mese","periods.year":"{{amount}} anno","periods.day":"{{amount}} giorno","periods.weekShort":"{{amount}}sett","periods.monthShort":"{{amount}}mese","periods.yearShort":"{{amount}}anno","periods.dayShort":"{{amount}}g","periods.lifetime":"a vita","periods.weekPlural":"{{amount}} settimane","periods.monthPlural":"{{amount}} mesi","periods.yearPlural":"{{amount}} anni","periods.dayPlural":"{{amount}} giorni","periods.weekFrequency":"settimanale","periods.monthFrequency":"mensile","periods.yearFrequency":"annuale","periods.dayFrequency":"giornaliero","periods.unknownFrequency":"sconosciuto","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 a disdetta","state_present_offer.cancel_anytime":"Disdici in qualsiasi momento","state_needs_auth_info.email_step_title":"Qual è la tua 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":"Continua","state_needs_payment_info.payment_step_title":"Pagamento sicuro tramite RevenueCat","state_needs_payment_info.terms_info":"Fornendo i dati della tua carta, autorizzi {{appName}} ad addebitare sulla tua carta i pagamenti futuri in conformità con i suoi termini.","state_needs_payment_info.button_pay":"Paga ora","state_needs_payment_info.button_start_trial":"Inizia la prova","state_success.purchase_successful":"Pagamento completato","state_success.subscription_now_active":"L'abbonamento è ora attivo","state_success.button_close":"Continua","state_error.if_error_persists":"Se l'errore persiste, contatta ","state_error.error_title_already_subscribed":"Già iscritto","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à iscritto 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. Verifica la 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}})","state_present_offer.total_due_today":"Totale dovuto oggi","state_present_offer.subscribe_to":"Abbonati a","periods.perWeekFrequency":"a settimana","periods.perMonthFrequency":"al mese","periods.perYearFrequency":"all'anno","periods.perDayFrequency":"al giorno","state_needs_payment_info.trial_info":"Al termine del periodo di prova, ti verranno addebitati {{price}} {{perFrequency}} a partire dal {{renewalDate}}. Puoi annullare in qualsiasi momento prima di allora.","navbar_header.details":"Dettagli","navbar_header.back_button":"Indietro"},il={"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.unknownFrequency":"غير معروف","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":"الدفع الآمن عبر RevenueCat","state_needs_payment_info.terms_info":"بتقديم معلومات بطاقتك، فإنك تسمح لـ {{appName}} بتحصيل الرسوم من بطاقتك مقابل المدفوعات المستقبلية وفقًا لشروطها.","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}})","state_present_offer.total_due_today":"إجمالي المبلغ المستحق اليوم","state_present_offer.subscribe_to":"اشترك في","periods.perWeekFrequency":"في الأسبوع","periods.perMonthFrequency":"في الشهر","periods.perYearFrequency":"في السنة","periods.perDayFrequency":"في اليوم","state_needs_payment_info.trial_info":"بعد انتهاء الفترة التجريبية، سيتم محاسبتك بمبلغ {{price}} {{perFrequency}} بدءًا من {{renewalDate}}. يمكنك الإلغاء دائمًا قبل ذلك.","navbar_header.details":"تفاصيل","navbar_header.back_button":"عودة"},sl={"periods.week":"{{amount}} setmana","periods.month":"{{amount}} mes","periods.year":"{{amount}} any","periods.day":"{{amount}} dia","periods.weekShort":"{{amount}}set","periods.monthShort":"{{amount}}mes","periods.yearShort":"{{amount}}any","periods.dayShort":"{{amount}}d","periods.lifetime":"de per vida","periods.weekPlural":"{{amount}} setmanes","periods.monthPlural":"{{amount}} mesos","periods.yearPlural":"{{amount}} anys","periods.dayPlural":"{{amount}} dies","periods.weekFrequency":"setmanal","periods.monthFrequency":"mensual","periods.yearFrequency":"anual","periods.dayFrequency":"diari","periods.unknownFrequency":"desconeguda","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}} de prova gratuïta","state_present_offer.price_after_free_trial":"{{productPrice}} després del període de prova","state_present_offer.renewal_frequency":"Es renova {{frequency}}","state_present_offer.continues_until_cancelled":"Continua fins que es cancel·li","state_present_offer.cancel_anytime":"Cancel·la en qualsevol moment","state_needs_auth_info.email_step_title":"Quin és el teu correu electrònic?","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 amb RevenueCat","state_needs_payment_info.terms_info":"En proporcionar la teva informació de targeta, permets a {{appName}} carregar la teva targeta per a futurs pagaments d'acord amb els seus termes.","state_needs_payment_info.button_pay":"Paga ara","state_needs_payment_info.button_start_trial":"Comença la prova","state_success.purchase_successful":"Pagament complet","state_success.subscription_now_active":"La teva subscripció ja està activa","state_success.button_close":"Continua","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 anat malament","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 un 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":"La compra no s'ha iniciat 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 a intentar-ho","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}})","state_present_offer.total_due_today":"Total a pagar avui","state_present_offer.subscribe_to":"Subscriu-te a","periods.perWeekFrequency":"per setmana","periods.perMonthFrequency":"per mes","periods.perYearFrequency":"per any","periods.perDayFrequency":"per dia","state_needs_payment_info.trial_info":"Un cop finalitzi el període de prova, se us cobrarà {{price}} {{perFrequency}} a partir del {{renewalDate}}. Sempre podeu cancel·lar abans d'aquesta data.","navbar_header.details":"Detalls","navbar_header.back_button":"Enrere"},ll={"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.unknownFrequency":"未知","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":"RevenueCat 安全结账","state_needs_payment_info.terms_info":"通过提供您的卡信息,您允许 {{appName}} 根据其条款向您的卡收取未来付款。","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}})","state_present_offer.total_due_today":"今天应付总额","state_present_offer.subscribe_to":"订阅","periods.perWeekFrequency":"每周","periods.perMonthFrequency":"每月","periods.perYearFrequency":"每年","periods.perDayFrequency":"每天","state_needs_payment_info.trial_info":"试用期结束后,您将被收取 {{price}} {{perFrequency}},从 {{renewalDate}} 开始。您可以随时在此之前取消。","navbar_header.details":"详情","navbar_header.back_button":"返回"},cl={"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.unknownFrequency":"未知","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":"RevenueCat 安全結帳","state_needs_payment_info.terms_info":"提供您的卡號即表示您允許 {{appName}} 依照其條款向您的卡收取未來付款。","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}})","state_present_offer.total_due_today":"今日應付總額","state_present_offer.subscribe_to":"訂閱","periods.perWeekFrequency":"每週","periods.perMonthFrequency":"每月","periods.perYearFrequency":"每年","periods.perDayFrequency":"每天","state_needs_payment_info.trial_info":"在您的試用期結束後,您將從 {{renewalDate}} 開始被收取 {{price}} {{perFrequency}} 的費用。您隨時可以在此之前取消。","navbar_header.details":"詳細資訊","navbar_header.back_button":"返回"},ul={"periods.week":"{{amount}} tjedan","periods.month":"{{amount}} mjesec","periods.year":"{{amount}} godina","periods.day":"{{amount}} dan","periods.weekShort":"{{amount}}tj","periods.monthShort":"{{amount}}mj","periods.yearShort":"{{amount}}g","periods.dayShort":"{{amount}}d","periods.lifetime":"doživotno","periods.weekPlural":"{{amount}} tjedana","periods.monthPlural":"{{amount}} mjeseci","periods.yearPlural":"{{amount}} godina","periods.dayPlural":"{{amount}} dana","periods.weekFrequency":"tjedno","periods.monthFrequency":"mjesečno","periods.yearFrequency":"godišnje","periods.dayFrequency":"dnevno","periods.unknownFrequency":"nepoznato","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 isteka probnog razdoblja","state_present_offer.renewal_frequency":"Obnavlja se {{frequency}}","state_present_offer.continues_until_cancelled":"Nastavlja se dok se ne otkaže","state_present_offer.cancel_anytime":"Otkažite u bilo kojem trenutku","state_needs_auth_info.email_step_title":"Vaša e-pošta?","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 putem RevenueCat","state_needs_payment_info.terms_info":"Davanjem podataka o kartici dopuštate {{appName}} naplatu s vaše kartice za buduće uplate u skladu s njihovim uvjetima.","state_needs_payment_info.button_pay":"Plati sada","state_needs_payment_info.button_start_trial":"Počni probno razdoblje","state_success.purchase_successful":"Uplata je uspješna","state_success.subscription_now_active":"Vaša pretplata je sada aktivna","state_success.button_close":"Nastavi","state_error.if_error_persists":"Ako se pogreška nastavi, obratite se ","state_error.error_title_already_subscribed":"Već pretplaćeni","state_error.error_title_already_purchased":"Već kupljeno","state_error.error_title_other_errors":"Nešto je pošlo po zlu","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":"Mrežna pogreška. 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čela zbog pogreške. Šifra pogreške: {{errorCode}}","state_error.error_message_unknown_error":"Dogodila se nepoznata pogreška. Šifra pogreške: {{errorCode}}","state_error.button_try_again":"Pokušaj ponovno","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}% popusta","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","state_present_offer.total_due_today":"Ukupno dospijeće danas","state_present_offer.subscribe_to":"Pretplatite se","periods.perWeekFrequency":"tjedno","periods.perMonthFrequency":"mjesečno","periods.perYearFrequency":"godišnje","periods.perDayFrequency":"dnevno","state_needs_payment_info.trial_info":"Nakon završetka probnog razdoblja, bit će vam naplaćeno {{price}} {{perFrequency}} počevši od {{renewalDate}}. Uvijek možete otkazati prije toga.","navbar_header.details":"Detalji","navbar_header.back_button":"Natrag"},dl={"periods.week":"{{amount}} týden","periods.month":"{{amount}} měsíc","periods.year":"{{amount}} rok","periods.day":"{{amount}} den","periods.weekShort":"{{amount}}týd","periods.monthShort":"{{amount}}měs","periods.yearShort":"{{amount}}rok","periods.dayShort":"{{amount}}d","periods.lifetime":"doživotně","periods.weekPlural":"{{amount}} týdnů","periods.monthPlural":"{{amount}} měsíců","periods.yearPlural":"{{amount}} let","periods.dayPlural":"{{amount}} dnů","periods.weekFrequency":"týdně","periods.monthFrequency":"měsíčně","periods.yearFrequency":"ročně","periods.dayFrequency":"denně","periods.unknownFrequency":"neznámé","periods.weekFrequencyPlural":"každých {{amount}} týdnů","periods.monthFrequencyPlural":"každých {{amount}} měsíců","periods.yearFrequencyPlural":"každých {{amount}} let","periods.dayFrequencyPlural":"každých {{amount}} dnů","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}} zkušební verze zdarma","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 kdykoli","state_needs_auth_info.email_step_title":"Jaká je vaše 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é placení přes RevenueCat","state_needs_payment_info.terms_info":"Poskytnutím informací o vaší kartě umožňujete aplikaci {{appName}} účtovat vaši kartu za budoucí platby v souladu s jejich podmínkami.","state_needs_payment_info.button_pay":"Platit nyní","state_needs_payment_info.button_start_trial":"Spustit zkušební verzi","state_success.purchase_successful":"Platba dokončena","state_success.subscription_now_active":"Vaše předplatné je nyní aktivní","state_success.button_close":"Pokračovat","state_error.if_error_persists":"Pokud chyba přetrvává, kontaktujte ","state_error.error_title_already_subscribed":"Již přihlášen 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":"Síťová chyba. Zkontrolujte prosím své internetové připojení.","state_error.error_message_error_charging_payment":"Platba selhala.","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}})","state_present_offer.total_due_today":"Celkem dnes k zaplacení","state_present_offer.subscribe_to":"Předplatit","periods.perWeekFrequency":"týdně","periods.perMonthFrequency":"měsíčně","periods.perYearFrequency":"ročně","periods.perDayFrequency":"denně","state_needs_payment_info.trial_info":"Po skončení zkušební verze vám bude účtováno {{price}} {{perFrequency}} počínaje {{renewalDate}}. Předtím můžete kdykoli zrušit.","navbar_header.details":"Podrobnosti","navbar_header.back_button":"Zpět"},_l={"periods.week":"{{amount}} uge","periods.month":"{{amount}} måned","periods.year":"{{amount}} år","periods.day":"{{amount}} dag","periods.weekShort":"{{amount}}ug","periods.monthShort":"{{amount}}md","periods.yearShort":"{{amount}}år","periods.dayShort":"{{amount}}d","periods.lifetime":"livstid","periods.weekPlural":"{{amount}} uger","periods.monthPlural":"{{amount}} måneder","periods.yearPlural":"{{amount}} år","periods.dayPlural":"{{amount}} dage","periods.weekFrequency":"ugentligt","periods.monthFrequency":"månedligt","periods.yearFrequency":"årligt","periods.dayFrequency":"dagligt","periods.unknownFrequency":"ukendt","periods.weekFrequencyPlural":"hver {{amount}} uger","periods.monthFrequencyPlural":"hver {{amount}} måneder","periods.yearFrequencyPlural":"hver {{amount}} år","periods.dayFrequencyPlural":"hver {{amount}} dage","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":"Hvad er din 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":"Fortsæt","state_needs_payment_info.payment_step_title":"Sikker betaling via RevenueCat","state_needs_payment_info.terms_info":"Ved at angive dine kortinformationer giver du {{appName}} tilladelse til at trække beløb på dit kort for fremtidige betalinger i overensstemmelse med deres vilkår.","state_needs_payment_info.button_pay":"Betal nu","state_needs_payment_info.button_start_trial":"Start prøveperiode","state_success.purchase_successful":"Betaling gennemført","state_success.subscription_now_active":"Dit abonnement er nu aktivt","state_success.button_close":"Fortsæt","state_error.if_error_persists":"Hvis fejlen fortsætter, kontakt venligst ","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":"Email er påkrævet for at gennemføre købet.","state_error.error_message_network_error":"Netværksfejl. Kontroller 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":"En ukendt fejl opstod. 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}})","state_present_offer.total_due_today":"Samlet beløb for i dag","state_present_offer.subscribe_to":"Abonner på","periods.perWeekFrequency":"pr. uge","periods.perMonthFrequency":"pr. måned","periods.perYearFrequency":"pr. år","periods.perDayFrequency":"pr. dag","state_needs_payment_info.trial_info":"Efter din prøveperiode slutter, vil du blive opkrævet {{price}} {{perFrequency}} fra {{renewalDate}}. Du kan altid opsige før da.","navbar_header.details":"Detaljer","navbar_header.back_button":"Tilbage"},pl={"periods.week":"{{amount}} week","periods.month":"{{amount}} maand","periods.year":"{{amount}} jaar","periods.day":"{{amount}} dag","periods.weekShort":"{{amount}}wk","periods.monthShort":"{{amount}}maand","periods.yearShort":"{{amount}}jr","periods.dayShort":"{{amount}}d","periods.lifetime":"levenslang","periods.weekPlural":"{{amount}} weken","periods.monthPlural":"{{amount}} maanden","periods.yearPlural":"{{amount}} jaren","periods.dayPlural":"{{amount}} dagen","periods.weekFrequency":"wekelijks","periods.monthFrequency":"maandelijks","periods.yearFrequency":"jaarlijks","periods.dayFrequency":"dagelijks","periods.unknownFrequency":"onbekend","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":"Wordt verlengd {{frequency}}","state_present_offer.continues_until_cancelled":"Wordt voortgezet tot annulering","state_present_offer.cancel_anytime":"Annuleer op elk gewenst moment","state_needs_auth_info.email_step_title":"Wat is uw e-mailadres?","state_needs_auth_info.email_input_label":"E-mailadres","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 afrekening via RevenueCat","state_needs_payment_info.terms_info":"Door uw kaartgegevens te verstrekken, staat u {{appName}} toe om uw kaart te belasten voor toekomstige betalingen in overeenstemming met hun voorwaarden.","state_needs_payment_info.button_pay":"Nu betalen","state_needs_payment_info.button_start_trial":"Start proefperiode","state_success.purchase_successful":"Betaling voltooid","state_success.subscription_now_active":"Uw abonnement is nu actief","state_success.button_close":"Doorgaan","state_error.if_error_persists":"Neem contact op met als de fout aanhoudt","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 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}})","state_present_offer.total_due_today":"Totaal te betalen vandaag","state_present_offer.subscribe_to":"Abonneren op","periods.perWeekFrequency":"per week","periods.perMonthFrequency":"per maand","periods.perYearFrequency":"per jaar","periods.perDayFrequency":"per dag","state_needs_payment_info.trial_info":"Na afloop van je proefperiode wordt {{price}} {{perFrequency}} in rekening gebracht vanaf {{renewalDate}}. Je kunt altijd eerder annuleren.","navbar_header.details":"Details","navbar_header.back_button":"Terug"},fl={"periods.week":"{{amount}} viikko","periods.month":"{{amount}} kuukausi","periods.year":"{{amount}} vuosi","periods.day":"{{amount}} päivä","periods.weekShort":"{{amount}}vk","periods.monthShort":"{{amount}}kk","periods.yearShort":"{{amount}}v","periods.dayShort":"{{amount}}p","periods.lifetime":"elämäaika","periods.weekPlural":"{{amount}} viikkoa","periods.monthPlural":"{{amount}} kuukautta","periods.yearPlural":"{{amount}} vuotta","periods.dayPlural":"{{amount}} päivää","periods.weekFrequency":"viikoittain","periods.monthFrequency":"kuukausittain","periods.yearFrequency":"vuosittain","periods.dayFrequency":"päivittäin","periods.unknownFrequency":"tuntematon","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 kokeilujakso","state_present_offer.price_after_free_trial":"{{productPrice}} kokeilujakson jälkeen","state_present_offer.renewal_frequency":"Uusiutuu {{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":"Mikä on sähköpostiosoitteesi?","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":"Suojautunut kassatoiminto RevenueCatin kautta","state_needs_payment_info.terms_info":"Antamalla korttitietosi annat {{appName}} -sovellukselle luvan veloittaa korttiasi tulevien maksujen osalta heidän ehtojensa mukaisesti.","state_needs_payment_info.button_pay":"Maksa nyt","state_needs_payment_info.button_start_trial":"Aloita kokeilujakso","state_success.purchase_successful":"Maksaminen onnistui","state_success.subscription_now_active":"Tilauksesi on nyt aktiivinen","state_success.button_close":"Jatka","state_error.if_error_persists":"Jos virhe jatkuu, ota yhteyttä ","state_error.error_title_already_subscribed":"Jo tilaaja","state_error.error_title_already_purchased":"Jo ostettu","state_error.error_title_other_errors":"Jokin 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öpostiosoite tarvitaan ostoksen loppuun saattamiseksi.","state_error.error_message_network_error":"Verkkovirhe. Tarkista internet-yhteytesi.","state_error.error_message_error_charging_payment":"Maksaminen epäonnistui.","state_error.error_message_error_setting_up_purchase":"Ostoa ei aloitettu virheen vuoksi. Virhekoodi: {{errorCode}}","state_error.error_message_unknown_error":"Tuntematon virhe tapahtui. 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}})","state_present_offer.total_due_today":"Maksettava summa tänään","state_present_offer.subscribe_to":"Tilaa","periods.perWeekFrequency":"viikossa","periods.perMonthFrequency":"kuukaudessa","periods.perYearFrequency":"vuodessa","periods.perDayFrequency":"päivässä","state_needs_payment_info.trial_info":"Kokeilujakson päätyttyä sinulta veloitetaan {{price}} {{perFrequency}} alkaen {{renewalDate}}. Voit peruuttaa tilauksen milloin tahansa ennen sitä.","navbar_header.details":"Yksityiskohdat","navbar_header.back_button":"Takaisin"},ml={"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.unknownFrequency":"inconnu","periods.weekFrequencyPlural":"toutes les {{amount}} semaines","periods.monthFrequencyPlural":"tous les {{amount}} mois","periods.yearFrequencyPlural":"tous les {{amount}} ans","periods.dayFrequencyPlural":"tous les {{amount}} jours","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":"Quelle est votre adresse e-mail?","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é par RevenueCat","state_needs_payment_info.terms_info":"En fournissant vos informations de carte, vous autorisez {{appName}} à débiter votre carte pour les paiements futurs conformément à ses conditions.","state_needs_payment_info.button_pay":"Payer maintenant","state_needs_payment_info.button_start_trial":"Commencer l'essai","state_success.purchase_successful":"Paiement effectué","state_success.subscription_now_active":"Votre abonnement est maintenant actif","state_success.button_close":"Continuer","state_error.if_error_persists":"Si l'erreur persiste, veuillez contacter ","state_error.error_title_already_subscribed":"Déjà abonné","state_error.error_title_already_purchased":"Déjà acheté","state_error.error_title_other_errors":"Une erreur s'est produite","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'adresse e-mail est requise pour effectuer 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":"Achat non démarré en raison d'une erreur. Code d'erreur : {{errorCode}}","state_error.error_message_unknown_error":"Une erreur inconnue s'est produite. 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}})","state_present_offer.total_due_today":"Total dû aujourd'hui","state_present_offer.subscribe_to":"S'abonner à","periods.perWeekFrequency":"par semaine","periods.perMonthFrequency":"par mois","periods.perYearFrequency":"par an","periods.perDayFrequency":"par jour","state_needs_payment_info.trial_info":"Après la fin de votre essai, vous serez facturé {{price}} {{perFrequency}} à partir du {{renewalDate}}. Vous pouvez annuler à tout moment avant cette date.","navbar_header.details":"Détails","navbar_header.back_button":"Retour"},hl={"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.unknownFrequency":"unbekannt","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 Testversion","state_present_offer.price_after_free_trial":"{{productPrice}} nach Ablauf der Testversion","state_present_offer.renewal_frequency":"Verlängert 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":"Wie lautet Ihre E-Mail-Adresse?","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 über RevenueCat","state_needs_payment_info.terms_info":"Durch die Angabe Ihrer Karteninformationen erlauben Sie {{appName}}, Ihre Karte gemäß deren Bedingungen für zukünftige Zahlungen zu belasten.","state_needs_payment_info.button_pay":"Jetzt bezahlen","state_needs_payment_info.button_start_trial":"Testversion starten","state_success.purchase_successful":"Zahlung abgeschlossen","state_success.subscription_now_active":"Ihr Abonnement ist jetzt aktiv","state_success.button_close":"Weiter","state_error.if_error_persists":"Wenn der Fehler weiterhin besteht, wenden Sie sich bitte an ","state_error.error_title_already_subscribed":"Bereits abonniert","state_error.error_title_already_purchased":"Bereits gekauft","state_error.error_title_other_errors":"Etwas ist schief gelaufen","state_error.error_message_already_subscribed":"Sie haben dieses Produkt bereits abonniert.","state_error.error_message_already_purchased":"Sie haben dieses Produkt bereits gekauft.","state_error.error_message_missing_email_error":"Für den Kauf ist eine E-Mail-Adresse erforderlich.","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":"Der 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}})","state_present_offer.total_due_today":"Heute fälliger Gesamtbetrag","state_present_offer.subscribe_to":"Abonnieren","periods.perWeekFrequency":"pro Woche","periods.perMonthFrequency":"pro Monat","periods.perYearFrequency":"pro Jahr","periods.perDayFrequency":"pro Tag","state_needs_payment_info.trial_info":"Nach Ablauf Ihres Testzeitraums werden Ihnen {{price}} {{perFrequency}} ab dem {{renewalDate}} berechnet. Sie können jederzeit vorher kündigen.","navbar_header.details":"Details","navbar_header.back_button":"Zurück"},gl={"periods.week":"{{amount}} εβδομάδα","periods.month":"{{amount}} μήνας","periods.year":"{{amount}} χρόνος","periods.day":"{{amount}} ημέρα","periods.weekShort":"{{amount}} εβδ.","periods.monthShort":"{{amount}} μήν.","periods.yearShort":"{{amount}} έτ.","periods.dayShort":"{{amount}} ημ.","periods.lifetime":"διάρκεια ζωής","periods.weekPlural":"{{amount}} εβδομάδες","periods.monthPlural":"{{amount}} μήνες","periods.yearPlural":"{{amount}} χρόνια","periods.dayPlural":"{{amount}} ημέρες","periods.weekFrequency":"εβδομαδιαία","periods.monthFrequency":"μηνιαία","periods.yearFrequency":"ετήσια","periods.dayFrequency":"καθημερινά","periods.perWeekFrequency":"ανά εβδομάδα","periods.perMonthFrequency":"ανά μήνα","periods.perYearFrequency":"ανά έτος","periods.perDayFrequency":"ανά ημέρα","periods.unknownFrequency":"άγνωστο","periods.weekFrequencyPlural":"κάθε {{amount}} εβδομάδες","periods.monthFrequencyPlural":"κάθε {{amount}} μήνες","periods.yearFrequencyPlural":"κάθε {{amount}} χρόνια","periods.dayFrequencyPlural":"κάθε {{amount}} ημέρες","state_present_offer.subscribe_to":"Εγγραφείτε στο","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":"Μετά τη λήξη της δοκιμής, στις {{renewalDate}}","state_present_offer.total_due_today":"Σύνολο πληρωτέο σήμερα","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":"Ασφαλής ολοκλήρωση αγοράς από την RevenueCat","state_needs_payment_info.terms_info":"Με την παροχή των στοιχείων της κάρτας σας, επιτρέπετε στην {{appName}} να χρεώσει την κάρτα σας για μελλοντικές πληρωμές σύμφωνα με τους όρους της.","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}})","state_needs_payment_info.trial_info":"Μετά τη λήξη της δοκιμαστικής περιόδου, θα χρεωθείτε {{price}} {{perFrequency}} ξεκινώντας από {{renewalDate}}. Μπορείτε να ακυρώσετε ανά πάσα στιγμή πριν από αυτό.","navbar_header.details":"Λεπτομέρειες","navbar_header.back_button":"Πίσω"},yl={"periods.week":"{{amount}} שבוע","periods.month":"{{amount}} חודש","periods.year":"{{amount}} שנה","periods.day":"{{amount}} יום","periods.weekShort":"{{amount}}wk","periods.monthShort":"{{amount}}mo","periods.yearShort":"{{amount}}yr","periods.dayShort":"{{amount}}d","periods.lifetime":"למשך כל החיים","periods.weekPlural":"{{amount}} שבועות","periods.monthPlural":"{{amount}} חודשים","periods.yearPlural":"{{amount}} שנים","periods.dayPlural":"{{amount}} ימים","periods.weekFrequency":"שבועי","periods.monthFrequency":"חודשי","periods.yearFrequency":"שנתי","periods.dayFrequency":"יומי","periods.unknownFrequency":"לא ידוע","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":"קופה מאובטחת באמצעות RevenueCat","state_needs_payment_info.terms_info":"על ידי מתן פרטי הכרטיס שלך אתה מאפשר ל-{{appName}} לחייב את הכרטיס שלך עבור תשלומים עתידיים בהתאם לתנאים שלהם.","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}})","state_present_offer.total_due_today":'סה"כ לתשלום היום',"state_present_offer.subscribe_to":"הירשם כמנוי ל-","periods.perWeekFrequency":"לשבוע","periods.perMonthFrequency":"לחודש","periods.perYearFrequency":"לשנה","periods.perDayFrequency":"ליום","state_needs_payment_info.trial_info":"לאחר סיום תקופת הניסיון שלך, תחויב בסך {{price}} {{perFrequency}} החל מ-{{renewalDate}}. תמיד תוכל לבטל לפני כן.","navbar_header.details":"פרטים","navbar_header.back_button":"חזרה"},bl={"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.unknownFrequency":"अज्ञात","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":"RevenueCat द्वारा सुरक्षित चेकआउट","state_needs_payment_info.terms_info":"अपनी कार्ड जानकारी प्रदान करके आप {{appName}} को उनकी शर्तों के अनुसार भविष्य के भुगतानों के लिए आपके कार्ड से शुल्क लेने की अनुमति देते हैं।","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}})","state_present_offer.total_due_today":"आज देय कुल राशि","state_present_offer.subscribe_to":"सदस्यता लें","periods.perWeekFrequency":"प्रति सप्ताह","periods.perMonthFrequency":"प्रति माह","periods.perYearFrequency":"प्रति वर्ष","periods.perDayFrequency":"प्रति दिन","state_needs_payment_info.trial_info":"आपकी परीक्षण अवधि समाप्त होने के बाद, आपसे {{renewalDate}} से शुरू होकर {{price}} {{perFrequency}} शुल्क लिया जाएगा. आप तब से पहले हमेशा रद्द कर सकते हैं.","navbar_header.details":"विवरण","navbar_header.back_button":"वापस"},vl={"periods.week":"{{amount}} hét","periods.month":"{{amount}} hónap","periods.year":"{{amount}} év","periods.day":"{{amount}} nap","periods.weekShort":"{{amount}}hét","periods.monthShort":"{{amount}}hó","periods.yearShort":"{{amount}}év","periods.dayShort":"{{amount}}n","periods.lifetime":"életre szóló","periods.weekPlural":"{{amount}} hét","periods.monthPlural":"{{amount}} hónap","periods.yearPlural":"{{amount}} év","periods.dayPlural":"{{amount}} nap","periods.weekFrequency":"heti","periods.monthFrequency":"havi","periods.yearFrequency":"éves","periods.dayFrequency":"napi","periods.unknownFrequency":"ismeretlen","periods.weekFrequencyPlural":"minden {{amount}} hétben","periods.monthFrequencyPlural":"minden {{amount}} hónapban","periods.yearFrequencyPlural":"minden {{amount}} évben","periods.dayFrequencyPlural":"minden {{amount}} napban","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}} próbaidőszak","state_present_offer.price_after_free_trial":"{{productPrice}} a próbaidőszak vége után","state_present_offer.renewal_frequency":"{{frequency}} gyakorisággal megújul","state_present_offer.continues_until_cancelled":"Folytatódik, amíg le nem mondják","state_present_offer.cancel_anytime":"Bármikor lemondható","state_needs_auth_info.email_step_title":"Mi az email címed?","state_needs_auth_info.email_input_label":"Email","state_needs_auth_info.email_input_placeholder":"john@appleseed.com","state_needs_auth_info.button_continue":"Tovább","state_needs_payment_info.payment_step_title":"Biztonságos fizetés a RevenueCat-en keresztül","state_needs_payment_info.terms_info":"A kártyaadataid megadásával engedélyezed a {{appName}} számára, hogy a feltételeiknek megfelelően a jövőbeni fizetésekhez terhelje a kártyádat.","state_needs_payment_info.button_pay":"Fizetés most","state_needs_payment_info.button_start_trial":"Próbaidőszak indítása","state_success.purchase_successful":"Fizetés sikeres","state_success.subscription_now_active":"Az előfizetésed aktív","state_success.button_close":"Tovább","state_error.if_error_persists":"Ha a hiba továbbra is fennáll, kérjük, vedd fel a kapcsolatot ","state_error.error_title_already_subscribed":"Már előfizettél","state_error.error_title_already_purchased":"Már megvetted","state_error.error_title_other_errors":"Valami hiba történt","state_error.error_message_already_subscribed":"Már előfizettél erre a termékre.","state_error.error_message_already_purchased":"Már megvetted ezt a terméket.","state_error.error_message_missing_email_error":"Az email cím szükséges a vásárlás befejezéséhez.","state_error.error_message_network_error":"Hálózati hiba. Kérjük, ellenőrizd az internetkapcsolatodat.","state_error.error_message_error_charging_payment":"A fizetés sikertelen volt.","state_error.error_message_error_setting_up_purchase":"A vásárlás nem indult el egy hiba miatt. Hibakód: {{errorCode}}","state_error.error_message_unknown_error":"Ismeretlen hiba történt. Hibakód: {{errorCode}}","state_error.button_try_again":"Újrapróbálkozás","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}})","state_present_offer.total_due_today":"Ma fizetendő összesen","state_present_offer.subscribe_to":"Feliratkozás erre:","periods.perWeekFrequency":"hetente","periods.perMonthFrequency":"havonta","periods.perYearFrequency":"évente","periods.perDayFrequency":"naponta","state_needs_payment_info.trial_info":"A próbaidőszak lejárta után {{price}} {{perFrequency}} összeget számítunk fel {{renewalDate}} napjától kezdődően. Bármikor lemondhatja addig.","navbar_header.details":"Részletek","navbar_header.back_button":"Vissza"},kl={"periods.week":"{{amount}} minggu","periods.month":"{{amount}} bulan","periods.year":"{{amount}} tahun","periods.day":"{{amount}} hari","periods.weekShort":"{{amount}}mg","periods.monthShort":"{{amount}}bl","periods.yearShort":"{{amount}}th","periods.dayShort":"{{amount}}h","periods.lifetime":"seumur hidup","periods.weekPlural":"{{amount}} minggu","periods.monthPlural":"{{amount}} bulan","periods.yearPlural":"{{amount}} tahun","periods.dayPlural":"{{amount}} hari","periods.weekFrequency":"mingguan","periods.monthFrequency":"bulanan","periods.yearFrequency":"tahunan","periods.dayFrequency":"harian","periods.unknownFrequency":"tidak diketahui","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 berakhir","state_present_offer.renewal_frequency":"Diperbarui {{frequency}}","state_present_offer.continues_until_cancelled":"Berlanjut hingga dibatalkan","state_present_offer.cancel_anytime":"Batalkan kapan saja","state_needs_auth_info.email_step_title":"Apa email Anda?","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 oleh RevenueCat","state_needs_payment_info.terms_info":"Dengan memberikan informasi kartu Anda, Anda mengizinkan {{appName}} untuk menagih kartu Anda untuk pembayaran di masa mendatang sesuai dengan ketentuan mereka.","state_needs_payment_info.button_pay":"Bayar sekarang","state_needs_payment_info.button_start_trial":"Mulai Uji Coba","state_success.purchase_successful":"Pembayaran selesai","state_success.subscription_now_active":"Langganan Anda sekarang aktif","state_success.button_close":"Lanjutkan","state_error.if_error_persists":"Jika kesalahan berlanjut, silakan 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 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":"{{discount}}% diskon","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","state_present_offer.total_due_today":"Total yang harus dibayar hari ini","state_present_offer.subscribe_to":"Berlangganan ke","periods.perWeekFrequency":"per minggu","periods.perMonthFrequency":"per bulan","periods.perYearFrequency":"per tahun","periods.perDayFrequency":"per hari","state_needs_payment_info.trial_info":"Setelah masa percobaan Anda berakhir, Anda akan dikenakan biaya {{price}} {{perFrequency}} mulai {{renewalDate}}. Anda selalu dapat membatalkan sebelum itu.","navbar_header.details":"Detail","navbar_header.back_button":"Kembali"},wl={"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.unknownFrequency":"不明","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":"RevenueCatによる安全なチェックアウト","state_needs_payment_info.terms_info":"カード情報を入力することにより、{{appName}}が利用規約に従って今後の支払いを請求することを許可します。","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":"エラーが続く場合は、{{contactInfo}}までご連絡ください。","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}})","state_present_offer.total_due_today":"本日のお支払い合計","state_present_offer.subscribe_to":"購読する","periods.perWeekFrequency":"週ごと","periods.perMonthFrequency":"月ごと","periods.perYearFrequency":"年ごと","periods.perDayFrequency":"日ごと","state_needs_payment_info.trial_info":"{{renewalDate}}から{{price}} {{perFrequency}}で開始され、トライアル終了後に請求されます。いつでもキャンセルできます。","navbar_header.details":"詳細","navbar_header.back_button":"戻る"},Pl={"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.unknownFrequency":"알 수 없음","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":"RevenueCat을 통한 안전한 결제","state_needs_payment_info.terms_info":"{{appName}}의 약관에 따라 향후 결제를 위해 귀하의 카드 정보를 제공함으로써 귀하의 카드에 요금을 청구할 수 있도록 허용합니다.","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}})","state_present_offer.total_due_today":"오늘 총 결제 금액","state_present_offer.subscribe_to":"구독하기","periods.perWeekFrequency":"주당","periods.perMonthFrequency":"월별","periods.perYearFrequency":"연간","periods.perDayFrequency":"매일","state_needs_payment_info.trial_info":"체험 기간이 종료되면 {{renewalDate}}부터 {{price}} {{perFrequency}}가 청구됩니다. 그 전에 언제든지 취소할 수 있습니다.","navbar_header.details":"세부 정보","navbar_header.back_button":"뒤로"},xl={"periods.week":"{{amount}} minggu","periods.month":"{{amount}} bulan","periods.year":"{{amount}} tahun","periods.day":"{{amount}} hari","periods.weekShort":"{{amount}}mg","periods.monthShort":"{{amount}}bl","periods.yearShort":"{{amount}}th","periods.dayShort":"{{amount}}h","periods.lifetime":"seumur hidup","periods.weekPlural":"{{amount}} minggu","periods.monthPlural":"{{amount}} bulan","periods.yearPlural":"{{amount}} tahun","periods.dayPlural":"{{amount}} hari","periods.weekFrequency":"mingguan","periods.monthFrequency":"bulanan","periods.yearFrequency":"tahunan","periods.dayFrequency":"harian","periods.unknownFrequency":"tidak diketahui","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 tamat percubaan","state_present_offer.renewal_frequency":"Diperbaharui {{frequency}}","state_present_offer.continues_until_cancelled":"Berterusan sehingga dibatalkan","state_present_offer.cancel_anytime":"Batal bila-bila masa","state_needs_auth_info.email_step_title":"Apakah emel anda?","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 oleh RevenueCat","state_needs_payment_info.terms_info":"Dengan memberikan maklumat kad anda, anda membenarkan {{appName}} untuk mengenakan bayaran pada kad anda untuk pembayaran masa hadapan mengikut terma mereka.","state_needs_payment_info.button_pay":"Bayar sekarang","state_needs_payment_info.button_start_trial":"Mula Percubaan","state_success.purchase_successful":"Pembayaran selesai","state_success.subscription_now_active":"Langganan anda kini aktif","state_success.button_close":"Teruskan","state_error.if_error_persists":"Jika ralat berterusan, sila hubungi ","state_error.error_title_already_subscribed":"Sudah Langgan","state_error.error_title_already_purchased":"Sudah Dibeli","state_error.error_title_other_errors":"Ada sesuatu yang tidak kena","state_error.error_message_already_subscribed":"Anda sudah melanggan produk ini.","state_error.error_message_already_purchased":"Anda sudah 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 bermula disebabkan ralat. Kod ralat: {{errorCode}}","state_error.error_message_unknown_error":"Ralat 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}})","state_present_offer.total_due_today":"Jumlah yang perlu dibayar hari ini","state_present_offer.subscribe_to":"Langgan","periods.perWeekFrequency":"setiap minggu","periods.perMonthFrequency":"setiap bulan","periods.perYearFrequency":"setiap tahun","periods.perDayFrequency":"setiap hari","state_needs_payment_info.trial_info":"Selepas tempoh percubaan anda tamat, anda akan dikenakan bayaran sebanyak {{price}} {{perFrequency}} bermula {{renewalDate}}. Anda sentiasa boleh membatalkan sebelum itu.","navbar_header.details":"Butiran","navbar_header.back_button":"Kembali"},Sl={"periods.week":"{{amount}} uke","periods.month":"{{amount}} måned","periods.year":"{{amount}} år","periods.day":"{{amount}} dag","periods.weekShort":"{{amount}}uk","periods.monthShort":"{{amount}}md","periods.yearShort":"{{amount}}år","periods.dayShort":"{{amount}}d","periods.lifetime":"livstid","periods.weekPlural":"{{amount}} uker","periods.monthPlural":"{{amount}} måneder","periods.yearPlural":"{{amount}} år","periods.dayPlural":"{{amount}} dager","periods.weekFrequency":"ukentlig","periods.monthFrequency":"månedlig","periods.yearFrequency":"årlig","periods.dayFrequency":"daglig","periods.unknownFrequency":"ukjent","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":"Varer til den avbestilles","state_present_offer.cancel_anytime":"Avbestille når som helst","state_needs_auth_info.email_step_title":"Hva er e-postadressen din?","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 via RevenueCat","state_needs_payment_info.terms_info":"Ved å oppgi kortinformasjonen din, tillater du {{appName}} å belaste kortet ditt for fremtidige betalinger i henhold til deres vilkår.","state_needs_payment_info.button_pay":"Betal nå","state_needs_payment_info.button_start_trial":"Start prøveperiode","state_success.purchase_successful":"Betalingen er fullført","state_success.subscription_now_active":"Abonnementet ditt er nå aktivt","state_success.button_close":"Fortsett","state_error.if_error_persists":"Hvis feilen 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 er allerede abonnert 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":"Betalingen 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}})","state_present_offer.total_due_today":"Totalt forfaller i dag","state_present_offer.subscribe_to":"Abonner på","periods.perWeekFrequency":"per uke","periods.perMonthFrequency":"per måned","periods.perYearFrequency":"per år","periods.perDayFrequency":"per dag","state_needs_payment_info.trial_info":"Etter at prøveperioden din er over, blir du belastet {{price}} {{perFrequency}} fra og med {{renewalDate}}. Du kan når som helst kansellere før det.","navbar_header.details":"Detaljer","navbar_header.back_button":"Tilbake"},El={"periods.week":"{{amount}} tydzień","periods.month":"{{amount}} miesiąc","periods.year":"{{amount}} rok","periods.day":"{{amount}} dzień","periods.weekShort":"{{amount}}tydz","periods.monthShort":"{{amount}}mies","periods.yearShort":"{{amount}}rok","periods.dayShort":"{{amount}}d","periods.lifetime":"dożywotnio","periods.weekPlural":"{{amount}} tygodni","periods.monthPlural":"{{amount}} miesięcy","periods.yearPlural":"{{amount}} lat","periods.dayPlural":"{{amount}} dni","periods.weekFrequency":"tygodniowo","periods.monthFrequency":"miesięcznie","periods.yearFrequency":"rocznie","periods.dayFrequency":"dziennie","periods.unknownFrequency":"nieznany","periods.weekFrequencyPlural":"co {{amount}} tygodni","periods.monthFrequencyPlural":"co {{amount}} miesięcy","periods.yearFrequencyPlural":"co {{amount}} lat","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}} dni próbnych","state_present_offer.price_after_free_trial":"{{productPrice}} po zakończeniu okresu próbnego","state_present_offer.renewal_frequency":"Odnawialny co {{frequency}}","state_present_offer.continues_until_cancelled":"Kontynuowane do momentu anulowania","state_present_offer.cancel_anytime":"Możesz anulować w dowolnym momencie","state_needs_auth_info.email_step_title":"Podaj swój adres e-mail","state_needs_auth_info.email_input_label":"E-mail","state_needs_auth_info.email_input_placeholder":"jan@kowalski.pl","state_needs_auth_info.button_continue":"Kontynuuj","state_needs_payment_info.payment_step_title":"Bezpieczna płatność przez RevenueCat","state_needs_payment_info.terms_info":"Podając dane swojej karty, zezwalasz {{appName}} na obciążanie Twojej karty za przyszłe płatności zgodnie z ich regulaminem.","state_needs_payment_info.button_pay":"Zapłać teraz","state_needs_payment_info.button_start_trial":"Rozpocznij okres próbny","state_success.purchase_successful":"Płatność zakończona","state_success.subscription_now_active":"Twoja subskrypcja jest już aktywna","state_success.button_close":"Kontynuuj","state_error.if_error_persists":"Jeśli błąd będzie się powtarzał, skontaktuj się z ","state_error.error_title_already_subscribed":"Już subskrybowany","state_error.error_title_already_purchased":"Już zakupiony","state_error.error_title_other_errors":"Coś poszło nie tak","state_error.error_message_already_subscribed":"Jesteś już subskrybentem tego produktu.","state_error.error_message_already_purchased":"Już zakupiłeś ten produkt.","state_error.error_message_missing_email_error":"Adres e-mail jest wymagany do dokonania zakupu.","state_error.error_message_network_error":"Błąd sieci. Sprawdź połączenie internetowe.","state_error.error_message_error_charging_payment":"Płatność nieudana.","state_error.error_message_error_setting_up_purchase":"Zakupu nie rozpoczęto 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}})","state_present_offer.total_due_today":"Do zapłaty dzisiaj","state_present_offer.subscribe_to":"Subskrybuj","periods.perWeekFrequency":"na tydzień","periods.perMonthFrequency":"na miesiąc","periods.perYearFrequency":"na rok","periods.perDayFrequency":"na dzień","state_needs_payment_info.trial_info":"Po zakończeniu okresu próbnego zostanie pobrana opłata w wysokości {{price}} {{perFrequency}} począwszy od {{renewalDate}}. Zawsze możesz anulować wcześniej.","navbar_header.details":"Szczegóły","navbar_header.back_button":"Wstecz"},ql={"periods.week":"{{amount}} semana","periods.month":"{{amount}} mês","periods.year":"{{amount}} ano","periods.day":"{{amount}} dia","periods.weekShort":"{{amount}}sem","periods.monthShort":"{{amount}}mês","periods.yearShort":"{{amount}}ano","periods.dayShort":"{{amount}}d","periods.lifetime":"vitalício","periods.weekPlural":"{{amount}} semanas","periods.monthPlural":"{{amount}} meses","periods.yearPlural":"{{amount}} anos","periods.dayPlural":"{{amount}} dias","periods.weekFrequency":"semanal","periods.monthFrequency":"mensal","periods.yearFrequency":"anual","periods.dayFrequency":"diário","periods.unknownFrequency":"desconhecido","periods.weekFrequencyPlural":"a cada {{amount}} semanas","periods.monthFrequencyPlural":"a cada {{amount}} meses","periods.yearFrequencyPlural":"a cada {{amount}} anos","periods.dayFrequencyPlural":"a cada {{amount}} dias","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 grátis","state_present_offer.price_after_free_trial":"{{productPrice}} após o término do teste","state_present_offer.renewal_frequency":"Renova {{frequency}}","state_present_offer.continues_until_cancelled":"Continua até ser cancelado","state_present_offer.cancel_anytime":"Cancelar a qualquer momento","state_needs_auth_info.email_step_title":"Qual o seu 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":"Continuar","state_needs_payment_info.payment_step_title":"Pagamento seguro pela RevenueCat","state_needs_payment_info.terms_info":"Ao fornecer suas informações de cartão, você permite que o {{appName}} cobre seu cartão para pagamentos futuros de acordo com seus termos.","state_needs_payment_info.button_pay":"Pagar agora","state_needs_payment_info.button_start_trial":"Iniciar Teste","state_success.purchase_successful":"Pagamento concluído","state_success.subscription_now_active":"Sua assinatura está ativa","state_success.button_close":"Continuar","state_error.if_error_persists":"Se o erro persistir, entre em contato com ","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":"Email é 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":"Compra não 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":"Tentar 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}})","state_present_offer.total_due_today":"Total a pagar hoje","state_present_offer.subscribe_to":"Subscrever","periods.perWeekFrequency":"por semana","periods.perMonthFrequency":"por mês","periods.perYearFrequency":"por ano","periods.perDayFrequency":"por dia","state_needs_payment_info.trial_info":"Após o término do seu período de avaliação, será cobrado o valor de {{price}} {{perFrequency}} a partir de {{renewalDate}}. Você pode cancelar a qualquer momento antes disso.","navbar_header.details":"Detalhes","navbar_header.back_button":"Voltar"},Fl={"periods.week":"{{amount}} săptămână","periods.month":"{{amount}} lună","periods.year":"{{amount}} an","periods.day":"{{amount}} zi","periods.weekShort":"{{amount}}săpt","periods.monthShort":"{{amount}}lun","periods.yearShort":"{{amount}}an","periods.dayShort":"{{amount}}z","periods.lifetime":"pe viață","periods.weekPlural":"{{amount}} săptămâni","periods.monthPlural":"{{amount}} luni","periods.yearPlural":"{{amount}} ani","periods.dayPlural":"{{amount}} zile","periods.weekFrequency":"săptămânal","periods.monthFrequency":"lunar","periods.yearFrequency":"anual","periods.dayFrequency":"zilnic","periods.unknownFrequency":"necunoscut","periods.weekFrequencyPlural":"la fiecare {{amount}} săptămâni","periods.monthFrequencyPlural":"la fiecare {{amount}} luni","periods.yearFrequencyPlural":"la fiecare {{amount}} ani","periods.dayFrequencyPlural":"la fiecare {{amount}} zile","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}} perioadă de probă gratuită","state_present_offer.price_after_free_trial":"{{productPrice}} după terminarea perioadei de probă","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":"Anulare oricând","state_needs_auth_info.email_step_title":"Care este adresa dvs. de e-mail?","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":"Plata securizată prin RevenueCat","state_needs_payment_info.terms_info":"Prin furnizarea informațiilor dvs. despre card, permiteți aplicației {{appName}} să vă încarce cardul pentru plăți viitoare, în conformitate cu termenii acesteia.","state_needs_payment_info.button_pay":"Plătește acum","state_needs_payment_info.button_start_trial":"Începe perioada de probă","state_success.purchase_successful":"Plata efectuată","state_success.subscription_now_active":"Abonamentul dvs. este acum activ","state_success.button_close":"Continuă","state_error.if_error_persists":"Dacă eroarea persistă, vă rugăm să contactați ","state_error.error_title_already_subscribed":"Deja abonat","state_error.error_title_already_purchased":"Deja achiziționat","state_error.error_title_other_errors":"A apărut o eroare","state_error.error_message_already_subscribed":"Sunteți deja abonat la acest produs.","state_error.error_message_already_purchased":"Ați achiziționat deja acest produs.","state_error.error_message_missing_email_error":"Adresa de e-mail este necesară pentru a finaliza achiziția.","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":"Achiziția nu a început din cauza unei erori. Codul erorii: {{errorCode}}","state_error.error_message_unknown_error":"A apărut o eroare necunoscută. Codul erorii: {{errorCode}}","state_error.button_try_again":"Încearcă 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}})","state_present_offer.total_due_today":"Total de plată astăzi","state_present_offer.subscribe_to":"Abonare la","periods.perWeekFrequency":"pe săptămână","periods.perMonthFrequency":"pe lună","periods.perYearFrequency":"pe an","periods.perDayFrequency":"pe zi","state_needs_payment_info.trial_info":"După ce perioada de probă se termină, veți fi taxat cu {{price}} {{perFrequency}} începând cu {{renewalDate}}. Puteți anula oricând înainte de această dată.","navbar_header.details":"Detalii","navbar_header.back_button":"Înapoi"},Il={"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.unknownFrequency":"неизвестно","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":"Безопасная оплата через RevenueCat","state_needs_payment_info.terms_info":"Предоставляя данные вашей карты, вы разрешаете {{appName}} списывать средства с вашей карты для будущих платежей в соответствии с их условиями.","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}})","state_present_offer.total_due_today":"Всего к оплате сегодня","state_present_offer.subscribe_to":"Подписаться","periods.perWeekFrequency":"в неделю","periods.perMonthFrequency":"в месяц","periods.perYearFrequency":"в год","periods.perDayFrequency":"в день","state_needs_payment_info.trial_info":"После окончания пробного периода с вас будет взиматься {{price}} {{perFrequency}} начиная с {{renewalDate}}. Вы всегда можете отменить подписку до этого времени.","navbar_header.details":"Детали","navbar_header.back_button":"Назад"},Tl={"periods.week":"{{amount}} týždeň","periods.month":"{{amount}} mesiac","periods.year":"{{amount}} rok","periods.day":"{{amount}} deň","periods.weekShort":"{{amount}}týž","periods.monthShort":"{{amount}}mes","periods.yearShort":"{{amount}}rok","periods.dayShort":"{{amount}}d","periods.lifetime":"doživotne","periods.weekPlural":"{{amount}} týždňov","periods.monthPlural":"{{amount}} mesiacov","periods.yearPlural":"{{amount}} rokov","periods.dayPlural":"{{amount}} dní","periods.weekFrequency":"týždenne","periods.monthFrequency":"mesačne","periods.yearFrequency":"ročne","periods.dayFrequency":"denne","periods.unknownFrequency":"neznáme","periods.weekFrequencyPlural":"každých {{amount}} týždňov","periods.monthFrequencyPlural":"každých {{amount}} mesiacov","periods.yearFrequencyPlural":"každých {{amount}} rokov","periods.dayFrequencyPlural":"každých {{amount}} dní","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, kým sa nezruší","state_present_offer.cancel_anytime":"Kedykoľvek zrušiť","state_needs_auth_info.email_step_title":"Aký je váš e-mail?","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ý nákup prostredníctvom RevenueCat","state_needs_payment_info.terms_info":"Poskytnutím údajov o vašej karte povoľujete {{appName}} účtovať vašu kartu za budúce platby v súlade s ich podmienkami.","state_needs_payment_info.button_pay":"Zaplatiť teraz","state_needs_payment_info.button_start_trial":"Spustiť skúšobné obdobie","state_success.purchase_successful":"Platba dokončená","state_success.subscription_now_active":"Vaše predplatné je teraz aktívne","state_success.button_close":"Pokračovať","state_error.if_error_persists":"Ak chyba pretrváva, kontaktujte ","state_error.error_title_already_subscribed":"Už ste prihlásení k odberu","state_error.error_title_already_purchased":"Už ste si to kúpili","state_error.error_title_other_errors":"Niečo sa pokazilo","state_error.error_message_already_subscribed":"Už ste prihlásení k odberu tohto produktu.","state_error.error_message_already_purchased":"Tento produkt ste si už kúpili.","state_error.error_message_missing_email_error":"Na dokončenie nákupu je potrebný e-mail.","state_error.error_message_network_error":"Chyba siete. Skontrolujte svoje internetové pripojenie.","state_error.error_message_error_charging_payment":"Platba zlyhala.","state_error.error_message_error_setting_up_purchase":"Nákup sa nespústil kvôli chybe. Kód chyby: {{errorCode}}","state_error.error_message_unknown_error":"Nastala 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}})","state_present_offer.total_due_today":"Celková suma splatná dnes","state_present_offer.subscribe_to":"Prihlásiť sa na odber","periods.perWeekFrequency":"týždenne","periods.perMonthFrequency":"mesačne","periods.perYearFrequency":"ročne","periods.perDayFrequency":"denne","state_needs_payment_info.trial_info":"Po skončení skúšobného obdobia vám bude účtovaná suma {{price}} {{perFrequency}} počnúc dňom {{renewalDate}}. Predtým môžete kedykoľvek zrušiť.","navbar_header.details":"Podrobnosti","navbar_header.back_button":"Späť"},Al={"periods.week":"{{amount}} vecka","periods.month":"{{amount}} månad","periods.year":"{{amount}} år","periods.day":"{{amount}} dag","periods.weekShort":"{{amount}}v","periods.monthShort":"{{amount}}mån","periods.yearShort":"{{amount}}år","periods.dayShort":"{{amount}}d","periods.lifetime":"livstid","periods.weekPlural":"{{amount}} veckor","periods.monthPlural":"{{amount}} månader","periods.yearPlural":"{{amount}} år","periods.dayPlural":"{{amount}} dagar","periods.weekFrequency":"veckovis","periods.monthFrequency":"månadsvis","periods.yearFrequency":"årligen","periods.dayFrequency":"dagligen","periods.unknownFrequency":"okänd","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":"Gäller tills avbokad","state_present_offer.cancel_anytime":"Avboka när som helst","state_needs_auth_info.email_step_title":"Vad är din 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 via RevenueCat","state_needs_payment_info.terms_info":"Genom att ange dina kortuppgifter tillåter du {{appName}} att debitera ditt kort för framtida betalningar i enlighet med deras villkor.","state_needs_payment_info.button_pay":"Betala nu","state_needs_payment_info.button_start_trial":"Starta provperiod","state_success.purchase_successful":"Betalningen är klar","state_success.subscription_now_active":"Din prenumeration är nu aktiv","state_success.button_close":"Fortsätt","state_error.if_error_persists":"Om felet kvarstår, vänligen kontakta ","state_error.error_title_already_subscribed":"Redan prenumerant","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 prenumerant 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 uppstod. 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}})","state_present_offer.total_due_today":"Totalt att betala idag","state_present_offer.subscribe_to":"Prenumerera på","periods.perWeekFrequency":"per vecka","periods.perMonthFrequency":"per månad","periods.perYearFrequency":"per år","periods.perDayFrequency":"per dag","state_needs_payment_info.trial_info":"Efter din provperiod avslutas debiteras du {{price}} {{perFrequency}} från och med {{renewalDate}}. Du kan alltid avbryta innan dess.","navbar_header.details":"Detaljer","navbar_header.back_button":"Tillbaka"},Dl={"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.unknownFrequency":"ไม่รู้จัก","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":"การชำระเงินอย่างปลอดภัยโดย RevenueCat","state_needs_payment_info.terms_info":"โดยการให้ข้อมูลบัตรของคุณ คุณอนุญาตให้ {{appName}} เรียกเก็บเงินจากบัตรของคุณสำหรับการชำระเงินในอนาคตตามข้อกำหนดของพวกเขา","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}})","state_present_offer.total_due_today":"ยอดรวมที่ต้องชำระวันนี้","state_present_offer.subscribe_to":"สมัครสมาชิก","periods.perWeekFrequency":"ต่อสัปดาห์","periods.perMonthFrequency":"ต่อเดือน","periods.perYearFrequency":"ต่อปี","periods.perDayFrequency":"ต่อวัน","state_needs_payment_info.trial_info":"หลังจากช่วงทดลองใช้ของคุณสิ้นสุดลง คุณจะถูกเรียกเก็บเงิน {{price}} {{perFrequency}} โดยเริ่มในวันที่ {{renewalDate}} คุณสามารถยกเลิกได้ตลอดเวลาก่อนหน้านั้น","navbar_header.details":"รายละเอียด","navbar_header.back_button":"ย้อนกลับ"},Cl={"periods.week":"{{amount}} hafta","periods.month":"{{amount}} ay","periods.year":"{{amount}} yıl","periods.day":"{{amount}} gün","periods.weekShort":"{{amount}}hf","periods.monthShort":"{{amount}}ay","periods.yearShort":"{{amount}}yl","periods.dayShort":"{{amount}}g","periods.lifetime":"ömür boyu","periods.weekPlural":"{{amount}} hafta","periods.monthPlural":"{{amount}} ay","periods.yearPlural":"{{amount}} yıl","periods.dayPlural":"{{amount}} gün","periods.weekFrequency":"haftalık","periods.monthFrequency":"aylık","periods.yearFrequency":"yıllık","periods.dayFrequency":"günlük","periods.unknownFrequency":"bilinmiyor","periods.weekFrequencyPlural":"her {{amount}} haftada","periods.monthFrequencyPlural":"her {{amount}} ayda","periods.yearFrequencyPlural":"her {{amount}} yılda","periods.dayFrequencyPlural":"her {{amount}} günde","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":"deneme süresi sonunda {{productPrice}}","state_present_offer.renewal_frequency":"{{frequency}} sıklığında yenilenir","state_present_offer.continues_until_cancelled":"İptal edilene kadar devam eder","state_present_offer.cancel_anytime":"İstediğiniz zaman iptal edebilirsiniz","state_needs_auth_info.email_step_title":"E-postanız nedir?","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":"RevenueCat ile güvenli ödeme","state_needs_payment_info.terms_info":"Kart bilgilerinizi vererek, {{appName}}'nin şartlarına uygun olarak gelecekteki ödemeler için kartınızdan ücret almasına izin verirsiniz.","state_needs_payment_info.button_pay":"Şimdi öde","state_needs_payment_info.button_start_trial":"Denemeyi başlat","state_success.purchase_successful":"Ödeme tamamlandı","state_success.subscription_now_active":"Aboneliğiniz şimdi aktif","state_success.button_close":"Devam et","state_error.if_error_persists":"Hata devam ederse lütfen iletişime geçin ","state_error.error_title_already_subscribed":"Zaten Abone Oldunuz","state_error.error_title_already_purchased":"Zaten Satın Aldınız","state_error.error_title_other_errors":"Bir şeyler ters 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ı. Lütfen internet 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}})","state_present_offer.total_due_today":"Bugün ödenecek toplam tutar","state_present_offer.subscribe_to":"Abone Ol","periods.perWeekFrequency":"haftada","periods.perMonthFrequency":"ayda","periods.perYearFrequency":"yılda","periods.perDayFrequency":"günde","state_needs_payment_info.trial_info":"Deneme süreniz sona erdikten sonra, {{renewalDate}} tarihinden itibaren {{price}} {{perFrequency}} ücretlendirileceksiniz. O zamana kadar istediğiniz zaman iptal edebilirsiniz.","navbar_header.details":"Detaylar","navbar_header.back_button":"Geri"},Ml={"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.unknownFrequency":"невідомо","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":"Безпечна оплата через RevenueCat","state_needs_payment_info.terms_info":"Надаючи дані вашої картки, ви дозволяєте {{appName}} стягувати кошти з вашої картки для майбутніх платежів відповідно до їхніх умов.","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}})","state_present_offer.total_due_today":"Всього до сплати сьогодні","state_present_offer.subscribe_to":"Підписатися на","periods.perWeekFrequency":"на тиждень","periods.perMonthFrequency":"на місяць","periods.perYearFrequency":"на рік","periods.perDayFrequency":"на день","state_needs_payment_info.trial_info":"Після закінчення вашого пробного періоду з вас буде стягнуто {{price}} {{perFrequency}}, починаючи з {{renewalDate}}. Ви завжди можете скасувати підписку до цього часу.","navbar_header.details":"Деталі","navbar_header.back_button":"Назад"},Nl={"periods.week":"{{amount}} tuần","periods.month":"{{amount}} tháng","periods.year":"{{amount}} năm","periods.day":"{{amount}} ngày","periods.weekShort":"{{amount}}tuần","periods.monthShort":"{{amount}}tháng","periods.yearShort":"{{amount}}năm","periods.dayShort":"{{amount}}ngày","periods.lifetime":"trọn đời","periods.weekPlural":"{{amount}} tuần","periods.monthPlural":"{{amount}} tháng","periods.yearPlural":"{{amount}} năm","periods.dayPlural":"{{amount}} ngày","periods.weekFrequency":"hàng tuần","periods.monthFrequency":"hàng tháng","periods.yearFrequency":"hàng năm","periods.dayFrequency":"hàng ngày","periods.unknownFrequency":"không xác định","periods.weekFrequencyPlural":"cứ {{amount}} tuần","periods.monthFrequencyPlural":"cứ {{amount}} tháng","periods.yearFrequencyPlural":"cứ {{amount}} năm","periods.dayFrequencyPlural":"cứ {{amount}} ngày","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 dùng thử kết thúc","state_present_offer.renewal_frequency":"Gia hạn {{frequency}}","state_present_offer.continues_until_cancelled":"Tiếp tục cho đến khi hủy","state_present_offer.cancel_anytime":"Hủy bất cứ lúc nào","state_needs_auth_info.email_step_title":"Email của bạn là gì?","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 bởi RevenueCat","state_needs_payment_info.terms_info":"Bằng cách cung cấp thông tin thẻ của bạn, bạn cho phép {{appName}} tính phí thẻ của bạn cho các khoản thanh toán trong tương lai theo các điều khoản của họ.","state_needs_payment_info.button_pay":"Thanh toán ngay","state_needs_payment_info.button_start_trial":"Bắt đầu dùng thử","state_success.purchase_successful":"Thanh toán hoàn tất","state_success.subscription_now_active":"Đã kích hoạt đăng ký của bạn","state_success.button_close":"Tiếp tục","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":"Có lỗi xảy ra","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":"Email bắt buộc để 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 thất bại.","state_error.error_message_error_setting_up_purchase":"Không bắt đầu mua hàng 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","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","state_present_offer.total_due_today":"Tổng số tiền phải trả hôm nay","state_present_offer.subscribe_to":"Đăng ký","periods.perWeekFrequency":"mỗi tuần","periods.perMonthFrequency":"mỗi tháng","periods.perYearFrequency":"mỗi năm","periods.perDayFrequency":"mỗi ngày","state_needs_payment_info.trial_info":"Sau khi thời gian dùng thử của bạn kết thúc, bạn sẽ bị tính phí {{price}} {{perFrequency}} bắt đầu từ {{renewalDate}}. Bạn luôn có thể hủy trước thời điểm đó.","navbar_header.details":"Chi tiết","navbar_header.back_button":"Quay lại"};var U=(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.PeriodsPerWeekFrequency="periods.perWeekFrequency",e.PeriodsPerMonthFrequency="periods.perMonthFrequency",e.PeriodsPerYearFrequency="periods.perYearFrequency",e.PeriodsPerDayFrequency="periods.perDayFrequency",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.StatePresentOfferPriceTotalDueToday="state_present_offer.total_due_today",e.StatePresentOfferSubscribeTo="state_present_offer.subscribe_to",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.StateNeedsPaymentInfoTermsInfo="state_needs_payment_info.terms_info",e.StateNeedsPaymentInfoTrialInfo="state_needs_payment_info.trial_info",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.NavbarHeaderDetails="navbar_header.details",e.NavbarBackButton="navbar_header.back_button",e))(U||{});const Ol={en:nl,es:al,it:ol,ar:il,ca:sl,zh_Hans:ll,zh_Hant:cl,hr:ul,cs:dl,da:_l,nl:pl,fi:fl,fr:ml,de:hl,el:gl,he:yl,hi:bl,hu:vl,id:kl,ja:wl,ko:Pl,ms:xl,no:Sl,pl:El,pt:ql,ro:Fl,ru:Il,sk:Tl,sv:Al,th:Dl,tr:Cl,uk:Ml,vi:Nl},jl=e=>e/1e6,kt=(e,r,t,n={})=>{const a=jl(e);return new Intl.NumberFormat(t,{style:"currency",currency:r,currencyDisplay:"symbol",...n}).format(a).replace("US$","$")},Rl=(e,r)=>{const t=Fo(e);return t?r.translatePeriod(t.number,t.unit)||`${t.number} ${t.unit}s`:e};var To=(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))(To||{}),sr=(e=>(e.Subscription="subscription",e.Consumable="consumable",e.NonConsumable="non_consumable",e))(sr||{});const Ao=e=>({amount:e.amount_micros/1e4,amountMicros:e.amount_micros,currency:e.currency,formattedPrice:kt(e.amount_micros,e.currency)}),Do=e=>{const r=e.period_duration;return{periodDuration:r,period:r?Fo(r):null,cycleCount:e.cycle_count,price:e.price?Ao(e.price):null}},Ll=e=>e.base==null?(H.debugLog("Missing base phase for subscription option. Ignoring."),null):{id:e.id,priceId:e.price_id,base:Do(e.base),trial:e.trial?Do(e.trial):null},zl=e=>e.base_price==null?(H.debugLog("Missing base price for non-subscription option. Ignoring."),null):{id:e.id,priceId:e.price_id,basePrice:Ao(e.base_price)},Ul=(e,r)=>{const t=e.product_type;return t==="subscription"?Vl(e,r,t):Bl(e,r,t)},Bl=(e,r,t)=>{const n={};if(Object.entries(e.purchase_options).forEach(([i,s])=>{const l=zl(s);l!=null&&(n[i]=l)}),Object.keys(n).length===0)return H.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?(H.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}},Vl=(e,r,t)=>{const n={};if(Object.entries(e.purchase_options).forEach(([s,l])=>{const c=Ll(l);c!=null&&(n[s]=c)}),Object.keys(n).length===0)return H.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 H.debugLog(`Product ${e.identifier} has no default subscription option. Ignoring.`),null;const i=o.base.price;return i==null?(H.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:i,normalPeriodDuration:o.base.periodDuration,presentedOfferingIdentifier:r.offeringIdentifier,presentedOfferingContext:r,defaultPurchaseOption:o,defaultSubscriptionOption:o,subscriptionOptions:n,defaultNonSubscriptionOption:null}},Wl=(e,r,t)=>{const n=t[r.platform_product_identifier];if(n===void 0)return null;const a=Ul(n,e);return a===null?null:{identifier:r.identifier,rcBillingProduct:a,webBillingProduct:a,packageType:Hl(r.identifier)}},Yl=(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(s=>Wl(a,s,t)).filter(tl),i={};for(const s of o)s!=null&&(i[s.identifier]=s);return o.length==0?null:{identifier:r.identifier,serverDescription:r.description,metadata:r.metadata,packagesById:i,availablePackages:o,lifetime:i.$rc_lifetime??null,annual:i.$rc_annual??null,sixMonth:i.$rc_six_month??null,threeMonth:i.$rc_three_month??null,twoMonth:i.$rc_two_month??null,monthly:i.$rc_monthly??null,weekly:i.$rc_weekly??null,paywall_components:r.paywall_components?r.paywall_components:null}};function Hl(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"}}function Gl(e){var r;return e.operation.redemption_info?{redeemUrl:((r=e.operation.redemption_info)==null?void 0:r.redeem_url)??null}:null}var he=(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))(he||{});class oe 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)===sr.Subscription?"You are already subscribed to this product.":"You have already purchased this product."}}static fromPurchasesError(r,t){let n;return r.errorCode===Se.ProductAlreadyPurchasedError?n=5:r.errorCode===Se.InvalidEmailError?n=4:r.errorCode===Se.NetworkError?n=3:n=t,new oe(n,r.message,r.underlyingErrorMessage,r.errorCode,r.extra)}}class Xl{constructor(r,t,n=10){I(this,"operationSessionId",null);I(this,"backend");I(this,"eventsTracker");I(this,"maxNumberAttempts");I(this,"waitMSBetweenAttempts",1e3);this.backend=r,this.eventsTracker=t,this.maxNumberAttempts=n}async checkoutStart(r,t,n,a,o,i){try{const s=this.eventsTracker.getTraceId(),l=await this.backend.postCheckoutStart(r,t,a,n,s,o,i);return this.operationSessionId=l.operation_session_id,l}catch(s){if(s instanceof ge)throw oe.fromPurchasesError(s,0);{const l="Unknown error starting purchase: "+String(s);throw H.errorLog(l),new oe(2,l)}}}async checkoutCalculateTaxes(r,t){const n=this.operationSessionId;if(!n)throw new oe(0,"No purchase started");try{return await this.backend.postCheckoutCalculateTaxes(n,r,t)}catch(a){if(a instanceof ge)throw oe.fromPurchasesError(a,0);{const o="Unknown error calculating taxes: "+String(a);throw H.errorLog(o),new oe(2,o)}}}async checkoutComplete(r){const t=this.operationSessionId;if(!t)throw new oe(0,"No purchase started");try{return await this.backend.postCheckoutComplete(t,r)}catch(n){if(n instanceof ge)throw oe.fromPurchasesError(n,0);{const a="Unknown error starting purchase: "+String(n);throw H.errorLog(a),new oe(2,a)}}}async pollCurrentPurchaseForCompletion(){const r=this.operationSessionId;if(!r)throw new oe(0,"No purchase in progress");return new Promise((t,n)=>{const a=(o=1)=>{if(o>this.maxNumberAttempts){this.clearPurchaseInProgress(),n(new oe(2,"Max attempts reached trying to get successful purchase status"));return}this.backend.getCheckoutStatus(r).then(i=>{switch(i.operation.status){case vt.Started:case vt.InProgress:setTimeout(()=>a(o+1),this.waitMSBetweenAttempts);break;case vt.Succeeded:this.clearPurchaseInProgress(),t({redemptionInfo:Gl(i),operationSessionId:r});return;case vt.Failed:this.clearPurchaseInProgress(),this.handlePaymentError(i.operation.error,n)}}).catch(i=>{const s=oe.fromPurchasesError(i,3);n(s)})};a()})}clearPurchaseInProgress(){this.operationSessionId=null}handlePaymentError(r,t){if(r==null){t(new oe(2,"Got an error status but error field is empty."));return}switch(r.code){case Xr.SetupIntentCreationFailed:t(new oe(0,"Setup intent creation failed"));return;case Xr.PaymentMethodCreationFailed:t(new oe(0,"Payment method creation failed"));return;case Xr.PaymentChargeFailed:t(new oe(1,"Payment charge failed"));return;case Xr.SetupIntentCompletionFailed:t(new oe(0,"Setup intent completion failed"));return;case Xr.AlreadyPurchased:t(new oe(5,"Purchased was already completed"));return;default:t(new oe(2,"Unknown error code received"));return}}}const Jl={error:"#B0171F",warning:"#f4e971",focus:"#1148B8",accent:"#767676",primary:"#576CDB","primary-hover":"rgba(87, 108, 219, .8)","primary-pressed":"rgba(87, 108, 219, .9)","primary-text":"#ffffff",white:"#ffffff","grey-text-dark":"rgba(0,0,0,1)","grey-text-light":"rgba(0,0,0,0.5)","grey-ui-dark":"rgba(0,0,0,0.3)","grey-ui-light":"rgba(0,0,0,0.005)","input-background":"white",background:"white"},Ql={error:"#B0171F",warning:"#f4e971",focus:"#1148B8",accent:"#767676",primary:"#576CDB","primary-hover":"rgba(87, 108, 219, .8)","primary-pressed":"rgba(87, 108, 219, .9)","primary-text":"#ffffff",white:"#ffffff","grey-text-dark":"rgba(0,0,0,1)","grey-text-light":"rgba(0,0,0,0.5)","grey-ui-dark":"rgba(0,0,0,0.25)","grey-ui-light":"rgba(0,0,0,0.005)","input-background":"white",background:"#EFF3FA"},Co={error:"color_error",focus:"color_accent",accent:"color_accent",primary:"color_buttons_primary"},Zl={...Co,"input-background":"color_form_bg",background:"color_form_bg"},Kl={...Co,"input-background":"color_product_info_bg",background:"color_product_info_bg"},Mo={"input-border-radius":"4px","input-button-border-radius":"8px"},$l={"input-border-radius":"0px","input-button-border-radius":"0px"},ec={"input-border-radius":"12px","input-button-border-radius":"9999px"},No=Mo,Gn="-apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Cantarell, Ubuntu, roboto, noto, arial, sans-serif",Xn={titleXXLarge:{desktop:{fontSize:"32px",lineHeight:"140%",fontWeight:"500"},mobile:{fontSize:"28px",lineHeight:"140%",fontWeight:"500"}},titleXLarge:{desktop:{fontSize:"36px",lineHeight:"140%",fontWeight:"500"},mobile:{fontSize:"24px",lineHeight:"140%",fontWeight:"500"}},titleLarge:{desktop:{fontSize:"28px",lineHeight:"140%",fontWeight:"500"},mobile:{fontSize:"20px",lineHeight:"140%",fontWeight:"500"}},titleMedium:{desktop:{fontSize:"24px",lineHeight:"140%",fontWeight:"500"},mobile:{fontSize:"17px",lineHeight:"140%",fontWeight:"500"}},body1:{desktop:{fontSize:"16px",lineHeight:"140%",fontWeight:"400"},mobile:{fontSize:"16px",lineHeight:"140%",fontWeight:"400"}},caption:{desktop:{fontSize:"14px",lineHeight:"140%",fontWeight:"400"},mobile:{fontSize:"12px",lineHeight:"140%",fontWeight:"400"}},largeCaption:{desktop:{fontSize:"14px",lineHeight:"140%",fontWeight:"400"},mobile:{fontSize:"14px",lineHeight:"140%",fontWeight:"400"}}},wt=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,Jn=({r:e,g:r,b:t,luminanceThreshold:n})=>{const a=i=>(i=i/255,i<=.03928?i/12.92:Math.pow((i+.055)/1.055,2.4));return .2126*a(e)+.7152*a(r)+.0722*a(t)>n},Qn=.37,rc=(e,r=Qn)=>{const t=Jn({...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.3)`,"grey-ui-light":`rgba(${t},0.05)`}};function tc(e,r,t){const n=wt(e)||{r:0,g:0,b:0},a=wt(r)||{r:255,g:255,b:255},o=Math.round(a.r*t+n.r*(1-t)),i=Math.round(a.g*t+n.g*(1-t)),s=Math.round(a.b*t+n.b*(1-t));return`#${Zn(o)}${Zn(i)}${Zn(s)}`}function Oo(e,r){const t={r:255,g:255,b:255},n=Math.max(0,Math.min(1,r));let a=e,o=wt(e)||t;(isNaN(o.r)||isNaN(o.g)||isNaN(o.b))&&(o=t,a="#FFFFFF");const s=Jn({...o,luminanceThreshold:Qn})?"#000000":"#FFFFFF";return tc(a,s,n)}function Zn(e){return e.toString(16).padStart(2,"0").toUpperCase()}const nc=(e,r,t,n=Qn)=>{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=wt(e);o!==null&&Object.assign(a,rc(o))}if(r!=null&&r.startsWith("#")){const o=wt(r);o!==null&&(a["primary-text"]=Jn({...o,luminanceThreshold:n})?"black":"white")}return a},ac=e=>({"primary-hover":Oo(e,.1),"primary-pressed":Oo(e,.15)}),oc=(e,r)=>e||r,ic=(e,r,t)=>{const n=Object.entries(e).map(([a,o])=>[a,oc(t?t[o]:null,r[a])]);return Object.fromEntries(n)},jo=(e,r,t)=>{const n=ic(e,r,t);return t?{...r,...n,...nc(n.background,n.primary,r),...ac(n.primary)}:{...r}},sc=e=>jo(Kl,Ql,e),Ro=e=>jo(Zl,Jl,e),Kn=e=>{if(!e)return No;switch(e.shapes){case"rounded":return Mo;case"rectangle":return $l;case"pill":return ec;default:return No}},Kt=(e="",r)=>r.map(([t,n])=>`--rc-${e}-${t}: ${n}`).join("; "),Lo=e=>{const r=Kt("color",Object.entries(sc(e))),t=Kt("shape",Object.entries(Kn(e)));return[r,t].join("; ")},lc=e=>{const r=Kt("color",Object.entries(Ro(e))),t=Kt("shape",Object.entries(Kn(e)));return[r,t].join("; ")},cc=(e="",r)=>Object.entries(r).flatMap(([t,{desktop:n,mobile:a}])=>[`--rc-${e}-${t}-desktop: normal normal ${n.fontWeight} ${n.fontSize}/${n.lineHeight} ${Gn}`,`--rc-${e}-${t}-mobile: normal normal ${a.fontWeight} ${a.fontSize}/${a.lineHeight} ${Gn}`,`--rc-${e}-${t}-desktop-font-size: ${n.fontSize}`,`--rc-${e}-${t}-mobile-font-size: ${a.fontSize}`]).join("; "),uc=(e="",r)=>Object.entries(r).map(([t,{mobile:n,tablet:a,desktop:o}])=>`--rc-${e}-${t}-mobile: ${n}; --rc-${e}-${t}-tablet: ${a}; --rc-${e}-${t}-desktop: ${o};`).join(" "),Or="rcb-ui-translator",mr="en",dc=e=>{try{return e.charAt(0).toUpperCase()+e.slice(1)}catch{return e}},Jr={noWhitespace:!1,short:!1},zo={useMultipleWords:!1};class rr{constructor(r={},t=mr,n=mr){I(this,"locales",{});this.selectedLocale=t,this.defaultLocale=n;const a={};Object.entries(Ol).forEach(([o,i])=>{a[o]=new Uo(i,o)}),this.locales=a,r&&this.override(r)}static fallback(){return new rr}override(r){Object.entries(r).forEach(([t,n])=>{this.locales[t]=new Uo({...this.locales[t].labels||{},...n},this.getLanguageCodeString(t))})}formatPrice(r,t){const n={currencyDisplay:"narrowSymbol"};r===0&&(n.maximumFractionDigits=0);try{return kt(r,t,this.locale,n)}catch{H.errorLog(`Failed to create a price formatter for locale: ${this.locale}`)}try{return kt(r,t,this.fallbackLocale,n)}catch{H.errorLog(`Failed to create a price formatter for locale: ${this.fallbackLocale}`)}return kt(r,t,mr,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=Jr){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=Jr){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,n=zo){const a=this.getLocaleInstance(this.selectedLocale),o=this.getLocaleInstance(this.defaultLocale);return(a==null?void 0:a.translatePeriodFrequency(r,t,n))||(o==null?void 0:o.translatePeriodFrequency(r,t,n))}translateDate(r,t={}){const n=this.getLocaleInstance(this.selectedLocale),a=this.getLocaleInstance(this.defaultLocale);return(n==null?void 0:n.translateDate(r,t))||(a==null?void 0:a.translateDate(r,t))}}class Uo{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=Jr){var s;const{noWhitespace:a,short:o}={...Jr,...n},i=o?`periods.${t}Short`:Math.abs(r)===1?`periods.${t}`:`periods.${t}Plural`;return(s=this.translate(i,{amount:r.toString()}))==null?void 0:s.replace(" ",a?"":" ")}translatePeriodUnit(r,t=Jr){var i;const{noWhitespace:n,short:a}={...Jr,...t},o=`periods.${r}${a?"Short":""}`;return(i=this.translate(o,{amount:""}))==null?void 0:i.replace(" ",n?"":" ")}translatePeriodFrequency(r,t,n=zo){const a=n==null?void 0:n.useMultipleWords,o=Math.abs(r)===1?`periods.${a===!0?"per":""}${a?dc(t.toString()):t}Frequency`:`periods.${t}FrequencyPlural`;return this.translate(o,{amount:r.toString()})}translateDate(r,t={}){return r.toLocaleDateString(this.localeKey,t)}}const _c={outerPadding:{mobile:"clamp(1.3125rem, 5.6vw, 1.5rem)",tablet:"clamp(1.40625rem, 7.52vw, 3.25rem)",desktop:"clamp(1.5rem, 9.44vw, 5rem)"},outerPaddingSmall:{mobile:"clamp(0.75rem, 4.2vw, 1rem)",tablet:"clamp(0.75rem, 4.2vw, 1rem)",desktop:"clamp(1.5rem, 9.44vw, 5rem)"},gapSmall:{mobile:"0.25rem",tablet:"0.375rem",desktop:"0.375rem"},gapMedium:{mobile:"0.5rem",tablet:"0.75rem",desktop:"0.75rem"},gapLarge:{mobile:"0.75rem",tablet:"0.75rem",desktop:"0.75rem"},gapXLarge:{mobile:"1rem",tablet:"1.5rem",desktop:"1.5rem"},gapXXLarge:{mobile:"1.25rem",tablet:"2.25rem",desktop:"2.25rem"},gapXXXLarge:{mobile:"2.25rem",tablet:"4.5rem",desktop:"4.5rem"},inputHeight:{mobile:"3rem",tablet:"3rem",desktop:"3rem"}};class Qr{constructor(r){I(this,"brandingAppearance");r?this.brandingAppearance=r:this.brandingAppearance=void 0}get shape(){return Kn(this.brandingAppearance)}get formColors(){return Ro(this.brandingAppearance)}get formStyleVars(){return lc(this.brandingAppearance)}get productInfoStyleVars(){return Lo(this.brandingAppearance)}get spacing(){return _c}get textStyles(){return Xn}get textStyleVars(){return cc("text",this.textStyles)}get spacingStyleVars(){return uc("spacing",this.spacing)}}var pc=q('<div class="rcb-ui-container svelte-1wfvwot"><!></div>');const fc={hash:"svelte-1wfvwot",code:`.rcb-ui-container.svelte-1wfvwot {display:flex;flex-direction:column;inset:0;color-scheme:none;font-size:16px;line-height:1.5em;font-weight:400;font-family:-apple-system,
|
|
2
|
+
BlinkMacSystemFont,
|
|
3
|
+
avenir next,
|
|
4
|
+
avenir,
|
|
5
|
+
segoe ui,
|
|
6
|
+
helvetica neue,
|
|
7
|
+
helvetica,
|
|
8
|
+
Cantarell,
|
|
9
|
+
Ubuntu,
|
|
10
|
+
roboto,
|
|
11
|
+
noto,
|
|
12
|
+
arial,
|
|
13
|
+
sans-serif;overflow-x:hidden;overflow-y:auto;}.rcb-ui-container.fullscreen.svelte-1wfvwot {position:fixed;top:0;left:0;right:0;bottom:0;overscroll-behavior:none;z-index:1000001;}.rcb-ui-container.inside.svelte-1wfvwot {position:relative;width:100%;z-index:unset;height:100%;top:0;left:0;}`};function mc(e,r){X(r,!1),Y(e,fc);let t=b(r,"brandingAppearance",8,void 0),n=b(r,"isInElement",8,!1),a=new Qr(t()).textStyleVars,o=new Qr(t()).spacingStyleVars,i=[a,o].join("; "),s=b(r,"children",8);pe();var l=pc();K(l,"style",i);var c=x(l);Te(c,()=>s()??ue),L(()=>{Gr(l,"fullscreen",!n()),Gr(l,"inside",n())}),k(e,l),J()}var hc=q('<div id="layout-query-container" class="svelte-1x4ow5d"><div class="rcb-ui-layout svelte-1x4ow5d"><!></div></div>');const gc={hash:"svelte-1x4ow5d",code:`#layout-query-container.svelte-1x4ow5d {width:100%;height:100%;container-type:size;container-name:layout-query-container;overflow-y:auto;overscroll-behavior:none;}.rcb-ui-layout.svelte-1x4ow5d {width:100%;min-height:100%;display:flex;box-sizing:border-box;flex-direction:column;overflow-y:auto;overscroll-behavior:none;}
|
|
2
14
|
|
|
3
|
-
@
|
|
4
|
-
}
|
|
15
|
+
@container layout-query-container (width < 768px) {.rcb-ui-layout.svelte-1x4ow5d {flex-grow:1;}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
@container layout-query-container (width >= 768px) {.rcb-ui-layout.svelte-1x4ow5d {flex-direction:row;}
|
|
19
|
+
}`};function yc(e,r){X(r,!1),Y(e,gc);let t=b(r,"style",8,""),n=b(r,"children",8);pe();var a=hc(),o=x(a),i=x(o);Te(i,()=>n()??ue),L(()=>K(o,"style",t())),k(e,a),J()}const bc={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 $n(e,r){X(r,!1),Y(e,bc);let t=b(r,"as",8,"section"),n=b(r,"children",8);pe();var a=le(),o=Q(a);Gt(o,t,!1,(i,s)=>{Xt(i,null,{class:"rcb-modal-section"},"svelte-1bzqb13",i.namespaceURI===cr,i.nodeName.includes("-"));var l=le(),c=Q(l);Te(c,()=>n()??ue),k(s,l)}),k(e,a),J()}const vc=`<svg width="24" height="24" viewBox="0 0 24 24" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
|
|
20
|
+
<g id="mdi_close">
|
|
21
|
+
<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"
|
|
22
|
+
fill="currentColor"/>
|
|
23
|
+
</g>
|
|
24
|
+
</svg>
|
|
25
|
+
`;var kc=q('<button class="rcb-close-button svelte-ox5fjf" data-testid="close-button"><!></button>');const wc={hash:"svelte-ox5fjf",code:".rcb-close-button.svelte-ox5fjf {border:none;cursor:pointer;background-color:transparent;padding:0;height:24px;width:24px;padding:4px;border-radius:50%;color:inherit;display:flex;align-items:center;justify-content:center;}.rcb-close-button.svelte-ox5fjf:active {transition:outline 0.1s ease-in-out;outline:2px solid var(--rc-color-focus);}.rcb-close-button.svelte-ox5fjf:hover {color:var(--rc-color-grey-text-dark);}"};function Bo(e,r){Y(e,wc);let t=b(r,"disabled",8,!1);var n=kc(),a=x(n);yt(a,()=>vc),L(()=>n.disabled=t()),Mr("click",n,function(o){Hn.call(this,r,o)}),k(e,n)}var Pc=Ms('<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M4.94 5.72656L8 8.7799L11.06 5.72656L12 6.66656L8 10.6666L4 6.66656L4.94 5.72656Z" class="arrow-fill svelte-m1l6c3" fill-opacity="0.7"></path></svg>');const xc={hash:"svelte-m1l6c3",code:".arrow.svelte-m1l6c3 {transition:transform 0.3s ease;}.arrow-fill.svelte-m1l6c3 {fill:var(--rc-color-grey-text-dark);}.arrow.expanded.svelte-m1l6c3 {transform:rotate(-180deg);}.arrow.collapsed.svelte-m1l6c3 {transform:rotate(0deg);}.arrow.back.svelte-m1l6c3 {transform:rotate(90deg);}"};function Vo(e,r){Y(e,xc);let t=b(r,"className",8,"");var n=Pc();L(()=>Vs(n,`arrow ${t()??""} svelte-m1l6c3`)),k(e,n)}function we(e,r){X(r,!0);const t=b(r,"key",3,""),n=b(r,"defaultLocale",3,mr),a=new rr({},r.selectedLocale||"",n()),o=_r(Or),i=r.selectedLocale?a:o||rr.fallback(),s=j(()=>t()?i.translate(t()||"",r.variables):void 0);var l=le(),c=Q(l);{var u=p=>{var _=Yr();L(()=>Oe(_,f(s))),k(p,_)},d=p=>{var _=le(),h=Q(_);Te(h,()=>r.children??ue),k(p,_)};M(c,p=>{f(s)?p(u):p(d,!1)})}k(e,l),J()}var Sc=q('<button class="rcb-back-button svelte-irl107" data-testid="close-button"><!> <!></button>');const Ec={hash:"svelte-irl107",code:`.rcb-back-button.svelte-irl107 {border:none;cursor:pointer;background-color:transparent;padding:0;border-radius:50%;color:var(--rc-color-grey-text-dark);
|
|
26
|
+
/* This button is only shown in desktop layout*/font:var(--rc-text-body1-desktop);display:flex;align-items:center;justify-content:center;}`};function qc(e,r){X(r,!1),Y(e,Ec);let t=b(r,"disabled",8,!1);pe();var n=Sc(),a=x(n);Vo(a,{className:"back"});var o=C(a,2);we(o,{get key(){return U.NavbarBackButton}}),L(()=>n.disabled=t()),Mr("click",n,function(i){Hn.call(this,r,i)}),k(e,n),J()}var Fc=q('<div class="rcb-back svelte-1411ys1"><!></div>'),Ic=q('<button type="button" class="rcb-header-details svelte-1411ys1" aria-controls="rcb-header-details-content"><!> <!></button>'),Tc=q('<div class="rcb-close svelte-1411ys1"><!></div>'),Ac=q('<div class="rcb-header-multiline-layout svelte-1411ys1"><!> <div class="rcb-header-layout svelte-1411ys1"><!> <!> <!></div></div>');const Dc={hash:"svelte-1411ys1",code:`.rcb-header-multiline-layout.svelte-1411ys1 {all:unset;display:flex;flex-direction:column;width:100%;}button.rcb-header-details.svelte-1411ys1 {all:unset;display:flex;align-items:center;cursor:pointer;font:var(--rc-text-largeCaption-mobile);gap:var(--rc-spacing-gapSmall-mobile);color:var(--rc-color-grey-text-light);padding:var(--rc-spacing-gapMedium-mobile);}.rcb-header-details.svelte-1411ys1 {font:var(--rc-text-largeCaption-mobile);display:flex;align-items:center;gap:var(--rc-spacing-gapSmall-mobile);}.rcb-header-layout.svelte-1411ys1 {display:flex;justify-content:space-between;align-items:center;width:100%;font:var(--rc-text-titleXLarge-mobile);margin:0;}.rcb-back.svelte-1411ys1 {display:none;}.rcb-close.svelte-1411ys1 {display:inline-block;}
|
|
27
|
+
|
|
28
|
+
@container layout-query-container (width >= 768px) {button.rcb-header-details.svelte-1411ys1 {display:none;}.rcb-header-layout.svelte-1411ys1 {width:auto;}.rcb-back.svelte-1411ys1 {display:block;}.rcb-close.svelte-1411ys1 {display:none;}.rcb-header-multiline-layout.svelte-1411ys1 {gap:var(--rc-spacing-gapXLarge-desktop);}
|
|
29
|
+
}`};function Cc(e,r){X(r,!1),Y(e,Dc);let t=b(r,"children",8),n=b(r,"shouldShowDetailsButton",8,!1),a=b(r,"expanded",8,!1),o=b(r,"toggle",8),i=b(r,"showCloseButton",8),s=b(r,"onClose",8,void 0);pe(),$n(e,{as:"header",children:(l,c)=>{var u=Ac(),d=x(u);{var p=P=>{var S=Fc(),w=x(S);qc(w,{$$events:{click:()=>{s()&&s()()}}}),k(P,S)};M(d,P=>{i()&&P(p)})}var _=C(d,2),h=x(_);Te(h,()=>t()??ue);var g=C(h,2);{var v=P=>{var S=Ic(),w=x(S);we(w,{get key(){return U.NavbarHeaderDetails}});var F=C(w,2),O=ne(()=>a()?"expanded":"collapsed");Vo(F,{get className(){return f(O)}}),L(()=>K(S,"aria-expanded",a())),Mr("click",S,function(...D){var A;(A=o())==null||A.apply(this,D)}),Mr("keydown",S,D=>(D.key==="Enter"||D.key===" ")&&o()()),k(P,S)};M(g,P=>{n()&&P(v)})}var m=C(g,2);{var y=P=>{var S=Tc(),w=x(S);Bo(w,{$$events:{click:()=>{s()&&s()()}}}),k(P,S)};M(m,P=>{i()&&P(y)})}k(l,u)},$$slots:{default:!0}}),J()}const Mc=e=>e;function Nc(e){const r=e-1;return r*r*r+1}function Wo(e){const r=typeof e=="string"&&e.match(/^\s*(-?[\d.]+)([^\s]*)\s*$/);return r?[parseFloat(r[1]),r[2]||"px"]:[e,"px"]}function Oc(e,{delay:r=0,duration:t=400,easing:n=Mc}={}){const a=+getComputedStyle(e).opacity;return{delay:r,duration:t,easing:n,css:o=>`opacity: ${o*a}`}}function jc(e,{delay:r=0,duration:t=400,easing:n=Nc,x:a=0,y:o=0,opacity:i=0}={}){const s=getComputedStyle(e),l=+s.opacity,c=s.transform==="none"?"":s.transform,u=l*(1-i),[d,p]=Wo(a),[_,h]=Wo(o);return{delay:r,duration:t,easing:n,css:(g,v)=>`
|
|
30
|
+
transform: ${c} translate(${(1-g)*d}${p}, ${(1-g)*_}${h});
|
|
31
|
+
opacity: ${l-u*v}`}}var Rc=q('<div class="layout-wrapper svelte-6feuuw"><div class="layout-content svelte-6feuuw"><!> <!></div></div>'),Lc=q('<div class="layout-wrapper-outer svelte-6feuuw"><!></div>');const zc={hash:"svelte-6feuuw",code:`.layout-wrapper-outer.svelte-6feuuw {flex:1;display:flex;background-color:var(--rc-color-background);}.layout-wrapper.svelte-6feuuw {width:100%;}.layout-content.svelte-6feuuw {box-sizing:border-box;background-color:var(--rc-color-background);color:var(--rc-color-grey-text-dark);display:flex;flex-direction:column;padding:var(--rc-spacing-outerPadding-mobile);}
|
|
32
|
+
|
|
33
|
+
@container layout-query-container (width >= 768px) {.layout-wrapper.svelte-6feuuw {min-height:100vh;flex-basis:600px;}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
@container layout-query-container (width >= 768px) and (width <= 1024px) {.layout-content.svelte-6feuuw {padding:var(--rc-spacing-outerPadding-tablet);}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
@container layout-query-container (width > 1024px) {.layout-content.svelte-6feuuw {padding:var(--rc-spacing-outerPadding-desktop);}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
@container layout-query-container (width < 768px) {.layout-wrapper.svelte-6feuuw {width:100%;min-width:300px;display:flex;flex-grow:1;}.layout-content.svelte-6feuuw {flex-grow:1;height:100%;}
|
|
43
|
+
}`};function Yo(e,r){X(r,!1),Y(e,zc);let t=b(r,"show",8,!0),n=b(r,"layoutStyle",8,void 0),a=b(r,"header",8,null),o=b(r,"body",8,null);pe();var i=Lc(),s=x(i);{var l=c=>{var u=Rc(),d=x(u),p=x(d);{var _=v=>{var m=le(),y=Q(m);Te(y,a),k(v,m)};M(p,v=>{a()&&v(_)})}var h=C(p,2);{var g=v=>{var m=le(),y=Q(m);Te(y,o),k(v,m)};M(h,v=>{o()&&v(g)})}bo(3,d,()=>Oc,()=>({duration:500,delay:50})),k(c,u)};M(s,c=>{t()&&c(l)})}L(()=>K(i,"style",n())),k(e,i),J()}var Uc=q('<div class="rcb-ui-navbar svelte-853yun"><!></div>');const Bc={hash:"svelte-853yun",code:`.rcb-ui-navbar.svelte-853yun {width:100%;max-width:none;flex-shrink:0;background-color:var(--rc-color-background);}
|
|
44
|
+
|
|
45
|
+
@container layout-query-container (width >= 768px) {.rcb-ui-navbar.svelte-853yun {width:50vw;display:flex;justify-content:flex-end;}
|
|
46
|
+
}`};function Vc(e,r){X(r,!1),Y(e,Bc);let t=b(r,"brandingAppearance",8,void 0),n=new Qr(t()).productInfoStyleVars,a=b(r,"headerContent",8),o=b(r,"bodyContent",8),i=b(r,"shouldShowDetailsButton",8,!1),s=b(r,"showCloseButton",8),l=b(r,"onClose",8,void 0),c=xe(!1);function u(){R(c,!f(c))}pe();var d=Uc();K(d,"style",n);var p=x(d);Yo(p,{layoutStyle:"justify-content: flex-end;",header:g=>{Cc(g,{get expanded(){return f(c)},toggle:u,get showCloseButton(){return s()},get onClose(){return l()},get shouldShowDetailsButton(){return i()},children:(v,m)=>{var y=le(),P=Q(y);Te(P,()=>a()??ue),k(v,y)},$$slots:{default:!0}})},body:g=>{var v=le(),m=Q(v);Te(m,()=>o()??ue,()=>f(c)),k(g,v)},$$slots:{header:!0,body:!0}}),k(e,d),J()}var Wc=q('<div class="rcb-ui-sandbox-banner svelte-18sg9fy"><span class="rcb-sandbox-banner-text">Sandbox</span> <div class="rcb-sandbox-banner-close-button-wrapper svelte-18sg9fy"><!></div></div>');const Yc={hash:"svelte-18sg9fy",code:`.rcb-ui-sandbox-banner.svelte-18sg9fy {position:fixed;top:0;z-index:1000002;left:0;width:100%;background-color:var(--rc-color-warning);color:rgba(0, 0, 0, 1);font:var(--rc-text-caption-mobile);font-weight:bold;text-transform:uppercase;padding:var(--rc-spacing-gapSmall-mobile);display:flex;justify-content:center;align-items:center;}.rcb-ui-sandbox-banner.isInElement.svelte-18sg9fy {position:absolute;}.rcb-sandbox-banner-close-button-wrapper.svelte-18sg9fy {position:absolute;right:var(--rc-spacing-gapMedium-mobile);top:50%;transform:translateY(-50%);color:black;}.rcb-sandbox-banner-close-button-icon {color:black;height:var(--rc-text-caption-mobile-font-size);}
|
|
47
|
+
|
|
48
|
+
@container layout-query-container (width >= 768px) {.rcb-sandbox-banner-close-button-icon {height:var(--rc-text-caption-desktop-font-size);}.rcb-ui-sandbox-banner.svelte-18sg9fy {padding:var(--rc-spacing-gapMedium-desktop);font:var(--rc-text-caption-desktop);font-weight:bold;}.rcb-sandbox-banner-close-button-wrapper.svelte-18sg9fy {right:var(--rc-spacing-gapMedium-desktop);}
|
|
49
|
+
}`};function Hc(e,r){X(r,!1),Y(e,Yc);let t=b(r,"style",8,""),n=b(r,"isInElement",8,!1),a=xe(!0);function o(){H.debugLog("closeBanner"),R(a,!1)}pe();var i=le(),s=Q(i);{var l=c=>{var u=Wc(),d=C(x(u),2),p=x(d);Bo(p,{$$events:{click:o}}),L(()=>{K(u,"style",t()),Gr(u,"isInElement",n())}),bo(2,u,()=>jc,()=>({y:-100,duration:300})),k(c,u)};M(s,c=>{f(a)&&c(l)})}k(e,i),J()}var Gc=q('<div class="rcb-ui-main svelte-nr408n"><!></div>');const Xc={hash:"svelte-nr408n",code:".rcb-ui-main.svelte-nr408n {flex:1;display:flex;background-color:var(--rc-color-background);}"};function Jc(e,r){X(r,!1),Y(e,Xc);let t=b(r,"brandingAppearance",8,void 0),n=new Qr(t()).formStyleVars,a=b(r,"body",8),o=b(r,"header",8,null),i=xe(!0);fr(()=>{setTimeout(()=>R(i,!0),10)}),pe();var s=Gc();K(s,"style",n);var l=x(s);Yo(l,{get show(){return f(i)},layoutStyle:"",get header(){return o()},get body(){return a()}}),k(e,s),J()}var Qc=q('<div class="rcb-processing svelte-2j2b59"></div>');const Zc={hash:"svelte-2j2b59",code:`.rcb-processing.svelte-2j2b59 {width:var(--width, 12px);aspect-ratio:1;border-radius:50%;
|
|
50
|
+
animation: svelte-2j2b59-l5 1.5s infinite linear;}
|
|
51
|
+
|
|
52
|
+
@keyframes svelte-2j2b59-l5 {
|
|
53
|
+
0% {
|
|
54
|
+
box-shadow:
|
|
55
|
+
var(--shadow-offset) 0 #fff2,
|
|
56
|
+
calc(-1 * var(--shadow-offset)) 0 #fff2;
|
|
57
|
+
background: #fff2;
|
|
58
|
+
}
|
|
59
|
+
25% {
|
|
60
|
+
box-shadow:
|
|
61
|
+
var(--shadow-offset) 0 #fff2,
|
|
62
|
+
calc(-1 * var(--shadow-offset)) 0 #ffff;
|
|
63
|
+
background: #fff2;
|
|
64
|
+
}
|
|
65
|
+
50% {
|
|
66
|
+
box-shadow:
|
|
67
|
+
var(--shadow-offset) 0 #fff2,
|
|
68
|
+
calc(-1 * var(--shadow-offset)) 0 #fff2;
|
|
69
|
+
background: #ffff;
|
|
70
|
+
}
|
|
71
|
+
75% {
|
|
72
|
+
box-shadow:
|
|
73
|
+
var(--shadow-offset) 0 #ffff,
|
|
74
|
+
calc(-1 * var(--shadow-offset)) 0 #fff2;
|
|
75
|
+
background: #fff2;
|
|
76
|
+
}
|
|
77
|
+
100% {
|
|
78
|
+
box-shadow:
|
|
79
|
+
var(--shadow-offset) 0 #fff2,
|
|
80
|
+
calc(-1 * var(--shadow-offset)) 0 #fff2;
|
|
81
|
+
background: #fff2;
|
|
82
|
+
}
|
|
83
|
+
}`};function Kc(e,r){Y(e,Zc);let t=b(r,"size",8,"medium");const n={small:{width:"8px",offset:"10px"},medium:{width:"12px",offset:"20px"},large:{width:"16px",offset:"30px"}};var a=Qc();L(()=>K(a,"style",`--shadow-offset: ${n[t()].offset??""}; --width: ${n[t()].width??""};`)),k(e,a)}var $c=q("<button><!></button>");const eu={hash:"svelte-1uig1bc",code:`button.svelte-1uig1bc {border:none;border-radius:var(--rc-shape-input-button-border-radius);font-size:16px;cursor:pointer;height:var(--rc-spacing-inputHeight-mobile);color:var(--rc-color-grey-text-dark);background-color:var(--rc-color-grey-ui-dark);display:flex;align-items:center;justify-content:center;-webkit-tap-highlight-color:rgba(0, 0, 0, 0);-webkit-tap-highlight-color:transparent;transition:background-color 0.15s ease-in-out;user-select:none;}
|
|
84
|
+
|
|
85
|
+
@container layout-query-container (width >= 768px) {button.svelte-1uig1bc {height:var(--rc-spacing-inputHeight-desktop);}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
/* focus-visible is triggered only when focused with keyboard/reader */button.svelte-1uig1bc:focus-visible {outline:2px solid var(--rc-color-focus);}button.intent-primary.svelte-1uig1bc {background-color:var(--rc-color-primary);color:var(--rc-color-primary-text);font-size:16px;}button.svelte-1uig1bc:disabled {color:var(--rc-color-grey-text-light);background-color:var(--rc-color-grey-ui-dark);outline:none;}button.intent-primary.svelte-1uig1bc:not(:disabled):hover {background-color:var(--rc-color-primary-hover);}button.intent-primary.svelte-1uig1bc:not(:disabled):active,
|
|
89
|
+
button.svelte-1uig1bc:active {background-color:var(--rc-color-primary-pressed);outline:none;}button.intent-primary.svelte-1uig1bc:disabled {color:var(--rc-color-grey-text-light);background-color:var(--rc-color-grey-ui-dark);}`};function ea(e,r){X(r,!1),Y(e,eu);let t=b(r,"intent",8,"primary"),n=b(r,"disabled",8,!1),a=b(r,"testId",8,void 0),o=b(r,"type",8,void 0),i=b(r,"loading",8,!1),s=b(r,"children",8);pe();var l=$c(),c=x(l);{var u=p=>{Kc(p,{size:"small"})},d=p=>{var _=le(),h=Q(_);Te(h,()=>s()??ue),k(p,_)};M(c,p=>{i()?p(u):p(d,!1)})}L(()=>{Jt(l,`${`intent-${t()}`??""} svelte-1uig1bc`),l.disabled=n(),K(l,"data-testid",a()),K(l,"type",o())}),Mr("click",l,function(p){Hn.call(this,r,p)}),k(e,l),J()}const ru=`<svg width="40" height="40" viewBox="0 0 124 124" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
|
|
90
|
+
<circle cx="62" cy="62" r="62" fill="currentColor"/>
|
|
91
|
+
<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"
|
|
92
|
+
fill="white"/>
|
|
93
|
+
</svg>
|
|
94
|
+
`;var tu=q('<div style="color:var(--rc-color-primary);" class="rcb-ui-asset-icon svelte-4yc1p3"><!></div>');const nu={hash:"svelte-4yc1p3",code:".rcb-ui-asset-icon.svelte-4yc1p3 {width:40px;height:40px;margin:0 auto;}"};function Ho(e){Y(e,nu);var r=tu(),t=x(r);yt(t,()=>ru),k(e,r)}var au=q('<footer class="rcb-modal-footer svelte-1f9z0o8"><!></footer>');const ou={hash:"svelte-1f9z0o8",code:"footer.svelte-1f9z0o8 {display:flex;flex-direction:column;}"};function Go(e,r){X(r,!1),Y(e,ou);let t=b(r,"children",8);pe();var n=au(),a=x(n);Te(a,()=>t()??ue),k(e,n),J()}var iu=q("<div><!></div>");const su={hash:"svelte-uscdhg",code:`.rcb-column.svelte-uscdhg {display:flex;flex-direction:column;justify-content:flex-start;flex-grow:1;}.rcb-column.align-center.svelte-uscdhg {justify-content:center;}.rcb-column.align-end.svelte-uscdhg {justify-content:flex-end;}.rcb-column.gap-small.svelte-uscdhg {gap:var(--rc-spacing-gapSmall-mobile);}.rcb-column.gap-medium.svelte-uscdhg {gap:var(--rc-spacing-gapMedium-mobile);}.rcb-column.gap-large.svelte-uscdhg {gap:var(--rc-spacing-gapXXLarge-mobile);}
|
|
95
|
+
|
|
96
|
+
@container layout-query-container (width >= 768px) {.rcb-column.gap-small.svelte-uscdhg {gap:var(--rc-spacing-gapSmall-desktop);}.rcb-column.gap-medium.svelte-uscdhg {gap:var(--rc-spacing-gapMedium-desktop);}.rcb-column.gap-large.svelte-uscdhg {gap:var(--rc-spacing-gapXXLarge-desktop);}
|
|
97
|
+
}`};function $t(e,r){X(r,!1),Y(e,su);let t=b(r,"gap",8,"small"),n=b(r,"align",8,"start"),a=b(r,"children",8);pe();var o=iu(),i=x(o);Te(i,()=>a()??ue),L(()=>Jt(o,`rcb-column gap-${t()??""} align-${n()??""} svelte-uscdhg`)),k(e,o),J()}var lu=q('<span class="rcb-title svelte-ybvuk3"> </span>'),cu=q('<span class="rcb-subtitle svelte-ybvuk3"><!></span>'),uu=q("<!> <!> <!>",1),du=q('<div class="rcb-modal-message svelte-ybvuk3"><!></div>'),_u=q('<div class="message-layout svelte-ybvuk3"><div class="message-layout-content svelte-ybvuk3"><!></div> <div class="message-layout-footer svelte-ybvuk3"><!></div></div>');const pu={hash:"svelte-ybvuk3",code:`.message-layout.svelte-ybvuk3 {display:flex;flex-direction:column;}.message-layout-content.svelte-ybvuk3 {flex-grow:1;display:flex;flex-direction:column;justify-content:center;}.rcb-modal-message.svelte-ybvuk3 {width:100%;min-height:160px;display:flex;justify-content:center;align-items:center;flex-direction:column;text-align:center;}.rcb-modal-message[data-has-title="false"].svelte-ybvuk3 {margin-top:var(--rc-spacing-gapXXLarge-mobile);}.rcb-title.svelte-ybvuk3 {font:var(--rc-text-titleLarge-mobile);}.rcb-subtitle.svelte-ybvuk3 {font:var(--rc-text-body1-mobile);}
|
|
98
|
+
|
|
99
|
+
@container layout-query-container (width < 768px) {.message-layout.svelte-ybvuk3 {flex-grow:1;}
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
@container layout-query-container (width >= 768px) {.message-layout.svelte-ybvuk3 {min-height:440px;}.message-layout-content.svelte-ybvuk3 {justify-content:flex-start;flex-grow:1;}.message-layout-footer.svelte-ybvuk3 {margin-top:var(--rc-spacing-gapXXLarge-desktop);}.rcb-modal-message[data-has-title="false"].svelte-ybvuk3 {margin-top:var(--rc-spacing-gapXXLarge-desktop);}.rcb-title.svelte-ybvuk3 {font:var(--rc-text-titleLarge-desktop);}.rcb-subtitle.svelte-ybvuk3 {font:var(--rc-text-body1-desktop);}
|
|
103
|
+
}`};function ra(e,r){X(r,!1),Y(e,pu);let t=b(r,"onContinue",8),n=b(r,"title",8,null),a=b(r,"type",8),o=b(r,"closeButtonTitle",8,"Go back to app"),i=b(r,"icon",8,null),s=b(r,"message",8);function l(){t()()}pe();var c=_u(),u=x(c),d=x(u);$t(d,{gap:"large",children:(h,g)=>{$n(h,{children:(v,m)=>{var y=du(),P=x(y);$t(P,{gap:"large",align:"center",children:(S,w)=>{$t(S,{gap:"large",align:"center",children:(F,O)=>{var D=uu(),A=Q(D);{var G=N=>{var se=le(),Pe=Q(se);Te(Pe,i),k(N,se)};M(A,N=>{i()&&N(G)})}var ce=C(A,2);{var de=N=>{var se=lu(),Pe=x(se);L(()=>Oe(Pe,n())),k(N,se)};M(ce,N=>{n()&&N(de)})}var qe=C(ce,2);{var ye=N=>{var se=cu(),Pe=x(se);Te(Pe,s),k(N,se)};M(qe,N=>{s()&&N(ye)})}k(F,D)},$$slots:{default:!0}})},$$slots:{default:!0}}),L(()=>{K(y,"data-type",a()),K(y,"data-has-title",!!n())}),k(v,y)},$$slots:{default:!0}})},$$slots:{default:!0}});var p=C(u,2),_=x(p);Go(_,{children:(h,g)=>{ea(h,{type:"submit",$$events:{click:l},children:(v,m)=>{var y=Yr();L(()=>Oe(y,o())),k(v,y)},$$slots:{default:!0}})},$$slots:{default:!0}}),k(e,c),J()}var fu=q('<p class="footer-caption svelte-1jp0uw4"> </p>'),mu=q('<p class="footer-caption svelte-1jp0uw4"> </p>'),hu=q('<div class="footer-caption-container svelte-1jp0uw4"><!> <!> <p class="footer-caption svelte-1jp0uw4"><!></p></div>');const gu={hash:"svelte-1jp0uw4",code:`.footer-caption-container.svelte-1jp0uw4 {display:flex;flex-direction:column;gap:var(--rc-spacing-gapXLarge-mobile);}.footer-caption.svelte-1jp0uw4 {font:var(--rc-text-caption-mobile);color:var(--rc-color-grey-text-light);text-align:center;font-weight:500;margin:0;}
|
|
104
|
+
|
|
105
|
+
@container layout-query-container (width >= 768px) {.footer-caption.svelte-1jp0uw4 {font:var(--rc-text-caption-desktop);}.footer-caption-container.svelte-1jp0uw4 {gap:var(--rc-spacing-gapLarge-desktop);}
|
|
106
|
+
}`};function Xo(e,r){X(r,!1),Y(e,gu);let t=b(r,"termsInfo",8,null),n=b(r,"trialInfo",8,null);pe();var a=hu(),o=x(a);{var i=d=>{var p=fu(),_=x(p);L(()=>Oe(_,t())),k(d,p)};M(o,d=>{t()&&d(i)})}var s=C(o,2);{var l=d=>{var p=mu(),_=x(p);L(()=>Oe(_,n())),k(d,p)};M(s,d=>{n()&&d(l)})}var c=C(s,2),u=x(c);we(u,{get key(){return U.StateNeedsPaymentInfoPaymentStepTitle}}),k(e,a),J()}var Jo="https://js.stripe.com/v3",yu=/^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/,Jp="loadStripe.setLoadParameters was called but an existing Stripe.js script already exists in the document; existing script parameters will be used",bu=function(){for(var r=document.querySelectorAll('script[src^="'.concat(Jo,'"]')),t=0;t<r.length;t++){var n=r[t];if(yu.test(n.src))return n}return null},Qo=function(r){var t="",n=document.createElement("script");n.src="".concat(Jo).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},vu=function(r,t){!r||!r._registerWrapper||r._registerWrapper({name:"stripe-js",version:"4.6.0",startTime:t})},Pt=null,en=null,rn=null,ku=function(r){return function(){r(new Error("Failed to load Stripe.js"))}},wu=function(r,t){return function(){window.Stripe?r(window.Stripe):t(new Error("Stripe.js not available"))}},Pu=function(r){return Pt!==null?Pt:(Pt=new Promise(function(t,n){if(typeof window>"u"||typeof document>"u"){t(null);return}if(window.Stripe){t(window.Stripe);return}try{var a=bu();if(!(a&&r)){if(!a)a=Qo(r);else if(a&&rn!==null&&en!==null){var o;a.removeEventListener("load",rn),a.removeEventListener("error",en),(o=a.parentNode)===null||o===void 0||o.removeChild(a),a=Qo(r)}}rn=wu(t,n),en=ku(n),a.addEventListener("load",rn),a.addEventListener("error",en)}catch(i){n(i);return}}),Pt.catch(function(t){return Pt=null,Promise.reject(t)}))},xu=function(r,t,n){if(r===null)return null;var a=r.apply(void 0,t);return vu(a,n),a},xt,Zo=!1,Ko=function(){return xt||(xt=Pu(null).catch(function(r){return xt=null,Promise.reject(r)}),xt)};Promise.resolve().then(function(){return Ko()}).catch(function(e){Zo||console.warn(e)});var Su=function(){for(var r=arguments.length,t=new Array(r),n=0;n<r;n++)t[n]=arguments[n];Zo=!0;var a=Date.now();return Ko().then(function(o){return xu(o,t,a)})};class tn{static async initializeStripe(r,t,n,a,o){const i=r.gateway_params,s=i.publishable_api_key,l=i.stripe_account_id,c=i.elements_configuration;if(!s||!l||!c)throw new Error("Stripe configuration is missing");const u=await Su(s,{stripeAccount:l});if(!u)throw new Error("Stripe client not found");const d=new Qr(t==null?void 0:t.appearance),p=d.shape,_=d.formColors,h=d.textStyles,g=Xn.body1[o].fontSize||Xn.body1.mobile.fontSize,v=u.elements({loader:"always",locale:n,mode:c.mode,paymentMethodTypes:c.payment_method_types,setupFutureUsage:c.setup_future_usage,amount:c.amount,currency:c.currency,appearance:{theme:"stripe",labels:"floating",variables:{borderRadius:p["input-border-radius"],fontLineHeight:"10px",focusBoxShadow:"none",colorDanger:_.error,colorTextPlaceholder:_["grey-text-light"],colorText:_["grey-text-dark"],colorTextSecondary:_["grey-text-light"],fontSizeBase:g,...a},rules:{".Input":{boxShadow:"none",paddingTop:"6px",paddingBottom:"6px",fontSize:g,border:`1px solid ${_["grey-ui-dark"]}`,backgroundColor:_["input-background"],color:_["grey-text-dark"]},".Input:focus":{border:`1px solid ${_.focus}`,outline:"none"},".Label":{fontWeight:h.body1[o].fontWeight,lineHeight:"22px",color:_["grey-text-dark"]},".Label--floating":{opacity:"1"},".Input--invalid":{boxShadow:"none"},".TermsText":{fontSize:h.caption[o].fontSize,lineHeight:h.caption[o].lineHeight},".Tab":{boxShadow:"none",backgroundColor:"transparent",color:_["grey-text-light"],border:`1px solid ${_["grey-ui-dark"]}`},".Tab:hover, .Tab:focus, .Tab--selected, .Tab--selected:hover, .Tab--selected:focus":{boxShadow:"none",color:_["grey-text-dark"]},".Tab:focus, .Tab--selected, .Tab--selected:hover, .Tab--selected:focus":{border:`1px solid ${_.focus}`},".TabIcon":{fill:_["grey-text-light"]},".TabIcon--selected":{fill:_["grey-text-dark"]},".Block":{boxShadow:"none",backgroundColor:"transparent",border:`1px solid ${_["grey-ui-dark"]}`}}}});return{stripe:u,elements:v}}static isStripeHandledCardError(r){return!!(r.type==="card_error"&&r.code&&this.FORM_VALIDATED_CARD_ERROR_CODES.includes(r.code))}static createPaymentElement(r,t){return r.create("payment",{business:t?{name:t}:void 0,layout:{type:"tabs"},terms:{applePay:"never",auBecsDebit:"never",bancontact:"never",card:"never",cashapp:"never",googlePay:"never",ideal:"never",paypal:"never",sepaDebit:"never",sofort:"never",usBankAccount:"never"}})}}I(tn,"FORM_VALIDATED_CARD_ERROR_CODES",["card_declined","expired_card","incorrect_cvc","incorrect_number"]);const nn="rcb-ui-events-tracker";var De=(e=>(e.SDKInitialized="sdk_initialized",e.CheckoutSessionStart="checkout_session_start",e.CheckoutSessionEnd="checkout_session_end",e.CheckoutFlowError="checkout_flow_error",e.CheckoutBillingFormImpression="checkout_billing_form_impression",e.CheckoutBillingFormDismiss="checkout_billing_form_dismiss",e.CheckoutBillingFormSubmit="checkout_billing_form_submit",e.CheckoutBillingFormSuccess="checkout_billing_form_success",e.CheckoutBillingFormError="checkout_billing_form_error",e.CheckoutPaymentFormImpression="checkout_payment_form_impression",e.CheckoutPaymentFormDismiss="checkout_payment_form_dismiss",e.CheckoutPaymentFormSubmit="checkout_payment_form_submit",e.CheckoutPaymentFormGatewayError="checkout_payment_form_gateway_error",e.CheckoutPurchaseSuccessfulImpression="checkout_purchase_successful_impression",e.CheckoutPurchaseSuccessfulDismiss="checkout_purchase_successful_dismiss",e))(De||{});function Eu({errorCode:e,errorMessage:r}){return{eventName:De.CheckoutFlowError,properties:{errorCode:e,errorMessage:r}}}function qu({errorCode:e,errorMessage:r}){return{eventName:De.CheckoutBillingFormError,properties:{errorCode:e,errorMessage:r}}}function Fu({appearance:e,rcPackage:r,purchaseOptionToUse:t,customerEmail:n}){return{eventName:De.CheckoutSessionStart,properties:{customizationColorButtonsPrimary:(e==null?void 0:e.color_buttons_primary)??null,customizationColorAccent:(e==null?void 0:e.color_accent)??null,customizationColorError:(e==null?void 0:e.color_error)??null,customizationColorProductInfoBg:(e==null?void 0:e.color_product_info_bg)??null,customizationColorFormBg:(e==null?void 0:e.color_form_bg)??null,customizationColorPageBg:(e==null?void 0:e.color_page_bg)??null,customizationFont:(e==null?void 0:e.font)??null,customizationShapes:(e==null?void 0:e.shapes)??null,customizationShowProductDescription:(e==null?void 0:e.show_product_description)??null,productInterval:r.webBillingProduct.normalPeriodDuration,productPrice:r.webBillingProduct.currentPrice.amountMicros,productCurrency:r.webBillingProduct.currentPrice.currency,selectedProductId:r.webBillingProduct.identifier,selectedPackageId:r.identifier,selectedPurchaseOption:t.id,customerEmailProvidedByDeveloper:!!n}}}function Iu({redemptionInfo:e}){return{eventName:De.CheckoutSessionEnd,properties:{outcome:"finished",withRedemptionInfo:!!e}}}function Tu(){return{eventName:De.CheckoutSessionEnd,properties:{outcome:"closed"}}}function Au({errorCode:e,errorMessage:r}){return{eventName:De.CheckoutSessionEnd,properties:{outcome:"errored",errorCode:e,errorMessage:r}}}function Du({selectedPaymentMethod:e}){return{eventName:De.CheckoutPaymentFormSubmit,properties:{selectedPaymentMethod:e??null}}}function Cu({errorCode:e,errorMessage:r}){return{eventName:De.CheckoutPaymentFormGatewayError,properties:{errorCode:e,errorMessage:r}}}const Mu=`<svg width="80" height="80" viewBox="0 0 24 24" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
|
|
107
|
+
<g transform="scale(0.5)" transform-origin="center">
|
|
108
|
+
<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"/>
|
|
109
|
+
</g>
|
|
110
|
+
</svg>`;var Nu=q('<div style="color:var(--rc-color-accent);" class="rcb-ui-asset-icon svelte-1sxpw7o"><!></div>');const Ou={hash:"svelte-1sxpw7o",code:`
|
|
5
111
|
@-webkit-keyframes svelte-1sxpw7o-rotating /* Safari and Chrome */ {
|
|
6
112
|
from {
|
|
7
113
|
-webkit-transform: rotate(0deg);
|
|
@@ -34,98 +140,54 @@
|
|
|
34
140
|
-moz-animation: svelte-1sxpw7o-rotating 2s ease-in-out infinite;
|
|
35
141
|
-ms-animation: svelte-1sxpw7o-rotating 2s ease-in-out infinite;
|
|
36
142
|
-o-animation: svelte-1sxpw7o-rotating 2s ease-in-out infinite;
|
|
37
|
-
animation: svelte-1sxpw7o-rotating 2s ease-in-out infinite;}`};function Gl(e){V(e,Yl);var r=Hl(),t=I(r);Or(t,()=>Vl),y(e,r)}var Wl=x('<div class="rcb-modal-loader svelte-1mxx341"><!></div>');const Zl={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 Bn(e){V(e,Zl);var r=Wl(),t=I(r);Gl(t),y(e,r)}var we=(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))(we||{});class wt{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 ko?r:null}static convertPurchaseFlowErrorCodeToErrorCode(r){switch(r){case pe.ErrorSettingUpPurchase:return 2;case pe.ErrorChargingPayment:return 20;case pe.NetworkError:return 10;case pe.MissingEmailError:return 4;case pe.UnknownError:return 0;case pe.AlreadyPurchasedError:return 6}}}var ko=(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))(ko||{});class ge extends Error{constructor(t,n,a,o){super(n);F(this,"toString",()=>`PurchasesError(code: ${we[this.errorCode]}, message: ${this.message})`);this.errorCode=t,this.underlyingErrorMessage=a,this.extra=o}static getForBackendError(t,n){const a=wt.getErrorCodeForBackendErrorCode(t);return new ge(a,wt.getPublicMessage(a),n,{backendErrorCode:t})}static getForPurchasesFlowError(t){return new ge(wt.convertPurchaseFlowErrorCodeToErrorCode(t.errorCode),t.message,t.underlyingErrorMessage)}}class wo extends Error{constructor(){super("Purchases must be configured before calling getInstance")}}var Pt=(e=>(e.Started="started",e.InProgress="in_progress",e.Succeeded="succeeded",e.Failed="failed",e))(Pt||{}),Qr=(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))(Qr||{});function Ql(e){var r;return e.operation.redemption_info?{redeemUrl:((r=e.operation.redemption_info)==null?void 0:r.redeem_url)??null}:null}var pe=(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))(pe||{});class ye 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)===ir.Subscription?"You are already subscribed to this product.":"You have already purchased this product."}}static fromPurchasesError(r,t){let n;return r.errorCode===we.ProductAlreadyPurchasedError?n=5:r.errorCode===we.InvalidEmailError?n=4:r.errorCode===we.NetworkError?n=3:n=t,new ye(n,r.message,r.underlyingErrorMessage,r.errorCode,r.extra)}}class Jl{constructor(r,t,n=10){F(this,"operationSessionId",null);F(this,"backend");F(this,"eventsTracker");F(this,"maxNumberAttempts");F(this,"waitMSBetweenAttempts",1e3);this.backend=r,this.eventsTracker=t,this.maxNumberAttempts=n}async startPurchase(r,t,n,a,o,i){try{const s=this.eventsTracker.getTraceId(),l=await this.backend.postPurchase(r,t,a,o,n,i,s);return this.operationSessionId=l.operation_session_id,l}catch(s){if(s instanceof ge)throw ye.fromPurchasesError(s,0);{const l="Unknown error starting purchase: "+String(s);throw G.errorLog(l),new ye(2,l)}}}async pollCurrentPurchaseForCompletion(){const r=this.operationSessionId;if(!r)throw new ye(0,"No purchase in progress");return new Promise((t,n)=>{const a=(o=1)=>{if(o>this.maxNumberAttempts){this.clearPurchaseInProgress(),n(new ye(2,"Max attempts reached trying to get successful purchase status"));return}this.backend.getCheckoutStatus(r).then(i=>{switch(i.operation.status){case Pt.Started:case Pt.InProgress:setTimeout(()=>a(o+1),this.waitMSBetweenAttempts);break;case Pt.Succeeded:this.clearPurchaseInProgress(),t({redemptionInfo:Ql(i),operationSessionId:r});return;case Pt.Failed:this.clearPurchaseInProgress(),this.handlePaymentError(i.operation.error,n)}}).catch(i=>{const s=ye.fromPurchasesError(i,3);n(s)})};a()})}clearPurchaseInProgress(){this.operationSessionId=null}handlePaymentError(r,t){if(r==null){t(new ye(2,"Got an error status but error field is empty."));return}switch(r.code){case Qr.SetupIntentCreationFailed:t(new ye(0,"Setup intent creation failed"));return;case Qr.PaymentMethodCreationFailed:t(new ye(0,"Payment method creation failed"));return;case Qr.PaymentChargeFailed:t(new ye(1,"Payment charge failed"));return;case Qr.SetupIntentCompletionFailed:t(new ye(0,"Setup intent completion failed"));return;case Qr.AlreadyPurchased:t(new ye(5,"Purchased was already completed"));return;default:t(new ye(2,"Unknown error code received"));return}}}const Kl=`<svg width="96" height="96" viewBox="0 0 124 124" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
</
|
|
49
|
-
|
|
143
|
+
animation: svelte-1sxpw7o-rotating 2s ease-in-out infinite;}`};function ju(e){Y(e,Ou);var r=Nu(),t=x(r);yt(t,()=>Mu),k(e,r)}var Ru=q('<div class="rcb-modal-loader svelte-102edf4"><!></div>');const Lu={hash:"svelte-102edf4",code:`.rcb-modal-loader.svelte-102edf4 {width:100%;flex-grow:1;display:flex;justify-content:center;align-items:center;}
|
|
144
|
+
|
|
145
|
+
@container layout-query-container (width >= 768px) {.rcb-modal-loader.svelte-102edf4 {align-items:flex-start;margin-top:calc(var(--rc-spacing-gapXXLarge-desktop) * 6);}
|
|
146
|
+
}`};function ta(e){Y(e,Lu);var r=Ru(),t=x(r);ju(t),k(e,r)}var zu=q('<div class="rc-checkout-container svelte-e5x97"><!> <form data-testid="payment-form" class="rc-checkout-form svelte-e5x97"><div class="rc-checkout-form-container svelte-e5x97"><div class="rc-payment-element-container svelte-e5x97"><div id="payment-element" class="svelte-e5x97"></div></div> <div class="rc-checkout-pay-container svelte-e5x97"><!> <div class="rc-checkout-secure-container svelte-e5x97"><!></div></div></div> <!></form></div>');const Uu={hash:"svelte-e5x97",code:`.rc-checkout-secure-container.svelte-e5x97 {margin-top:var(--rc-spacing-gapXLarge-mobile);}.rc-checkout-container.svelte-e5x97 {display:flex;flex-direction:column;gap:var(--rc-spacing-gapXLarge-mobile);user-select:none;}.rc-checkout-pay-container.svelte-e5x97 {display:flex;flex-direction:column;margin-top:var(--rc-spacing-gapXLarge-mobile);}.rc-checkout-form-container.svelte-e5x97 {width:100%;}.rc-payment-element-container.svelte-e5x97 {
|
|
147
|
+
/* The standard height of the payment form from Stripe */
|
|
148
|
+
/* Added to avoid the card getting smaller while loading */min-height:210px;}.hidden.svelte-e5x97 {visibility:hidden;}
|
|
149
|
+
|
|
150
|
+
@container layout-query-container (width <= 767px) {.rc-checkout-pay-container.svelte-e5x97 {flex-grow:1;justify-content:flex-end;}.rc-checkout-form.svelte-e5x97 {flex-grow:1;}.rc-checkout-form-container.svelte-e5x97 {height:100%;display:flex;flex-direction:column;}.rc-checkout-container.svelte-e5x97 {flex-grow:1;}
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
@container layout-query-container (width >= 768px) {.rc-checkout-secure-container.svelte-e5x97 {margin-top:var(--rc-spacing-gapXLarge-desktop);}.rc-checkout-container.svelte-e5x97 {gap:var(--rc-spacing-gapXLarge-desktop);}.rc-checkout-pay-container.svelte-e5x97 {margin-top:var(--rc-spacing-gapXLarge-desktop);}
|
|
154
|
+
}`};function Bu(e,r){var lr;X(r,!1),Y(e,Uu);let t=b(r,"onContinue",8),n=b(r,"paymentInfoCollectionMetadata",8),a=b(r,"processing",12,!1),o=b(r,"productDetails",8),i=b(r,"purchaseOption",8),s=b(r,"brandingInfo",8),l=b(r,"purchaseOperationHelper",8),c=null,u=xe(),d=xe(),p=null,_=xe(void 0),h=xe(!1),g,v=xe(!0);const m=(lr=o().subscriptionOptions)==null?void 0:lr[i().id],y=_r(nn);let P=new Qr().spacing,S,w="mobile";function F(){window.matchMedia&&window.matchMedia("(max-width: 767px)").matches?w="mobile":w="desktop",S={fontSizeBase:"14px",fontFamily:Gn,spacingGridRow:P.gapXLarge[w]}}let O;function D(){clearTimeout(O),O=setTimeout(()=>{F()},150)}const A=_r(Or)||rr.fallback(),G=A.locale||A.fallbackLocale,de=(E=>{if(["ca","hi","uk"].includes(E))return"auto";const $={zh_Hans:"zh",zh_Hant:"zh"};return Object.keys($).includes(E)?$[E]:E})(G);fr(()=>(F(),window.addEventListener("resize",D),()=>{window.removeEventListener("resize",D)})),fr(()=>{let E=!0;return y.trackSDKEvent({eventName:De.CheckoutPaymentFormImpression}),(async()=>{var B;try{const{stripe:$,elements:ve}=await tn.initializeStripe(n(),s(),de,S,w);if(!E)return;c=$,R(u,ve),p=tn.createPaymentElement(f(u),(B=s())==null?void 0:B.app_name),p.mount("#payment-element"),p.on("ready",()=>{R(v,!1)}),p.on("change",_e=>{R(h,_e.complete)}),p.on("loaderror",_e=>{E=!1;const ar=new oe(he.ErrorSettingUpPurchase,"Failed to load payment form",_e.error instanceof Error?_e.error.message:String(_e.error));ye(ar)})}catch($){if(!E)return;R(v,!1);const ve=new oe(he.ErrorSettingUpPurchase,"Failed to initialize payment form",$ instanceof Error?$.message:String($));ye(ve)}})(),()=>{E&&(E=!1,p==null||p.destroy())}});const qe=async()=>{if(a()||!c||!f(d))return;const E=Du({selectedPaymentMethod:null});y.trackSDKEvent(E),a(!0);const{error:B}=await f(d).submit();if(B)ye(B);else{const $=await N(c);$?ye($):t()()}};function ye(E){var $;a(!1);const B=Cu({errorCode:E instanceof oe?($=E.errorCode)==null?void 0:$.toString():E.code??null,errorMessage:E.message??""});y.trackSDKEvent(B),E instanceof oe?E.isRecoverable()?R(_,E.getPublicErrorMessage(o())):t()({error:E}):tn.isStripeHandledCardError(E)||R(_,E.message)}const N=async E=>{var ve;if(!g)try{const _e=await l().checkoutComplete();if(g=(ve=_e==null?void 0:_e.gateway_params)==null?void 0:ve.client_secret,!g)throw new Error("Failed to complete checkout")}catch(_e){return _e}const B=g.startsWith("seti_");return(await E[B?"confirmSetup":"confirmPayment"]({elements:f(d),clientSecret:g,redirect:"if_required"})).error},se=()=>{R(_,void 0)};zt(()=>f(u),()=>{f(u)&&f(u)._elements.length>0&&R(d,f(u))}),Ba(),pe();var Pe=zu(),ie=x(Pe);{var fe=E=>{ta(E)};M(ie,E=>{(f(v)||a())&&E(fe)})}var be=C(ie,2),Fe=x(be),tr=x(Fe),gr=x(tr),Ce=C(tr,2),ze=x(Ce);{var nr=E=>{var B=ne(()=>a()||!f(h)||f(v));ea(E,{get disabled(){return f(B)},testId:"PayButton",children:($,ve)=>{var _e=le(),ar=Q(_e);{var rt=Ze=>{we(Ze,{get key(){return U.StateNeedsPaymentInfoButtonStartTrial}})},tt=Ze=>{we(Ze,{get key(){return U.StateNeedsPaymentInfoButtonPay}})};M(ar,Ze=>{m!=null&&m.trial?Ze(rt):Ze(tt,!1)})}k($,_e)},$$slots:{default:!0}})};M(ze,E=>{f(_)||E(nr)})}var Rr=C(ze,2),$r=x(Rr),qt=ne(()=>{var E;return A.translate(U.StateNeedsPaymentInfoTermsInfo,{appName:(E=s())==null?void 0:E.app_name})}),et=ne(()=>{var E,B,$,ve,_e,ar,rt,tt,Ze,fn,mn;return(E=m==null?void 0:m.base)!=null&&E.price&&((B=m==null?void 0:m.trial)!=null&&B.period)&&(($=m==null?void 0:m.base)!=null&&$.period)&&((_e=(ve=m==null?void 0:m.base)==null?void 0:ve.period)!=null&&_e.unit)?A.translate(U.StateNeedsPaymentInfoTrialInfo,{price:kt((ar=m==null?void 0:m.base)==null?void 0:ar.price.amountMicros,(rt=m==null?void 0:m.base)==null?void 0:rt.price.currency,de),perFrequency:A.translatePeriodFrequency(((Ze=(tt=m==null?void 0:m.base)==null?void 0:tt.period)==null?void 0:Ze.number)||1,(mn=(fn=m==null?void 0:m.base)==null?void 0:fn.period)==null?void 0:mn.unit,{useMultipleWords:!0}),renewalDate:A.translateDate(Io(new Date,m.trial.period||m.base.period,!0),{year:"numeric",month:"long",day:"numeric"})}):null});Xo($r,{get termsInfo(){return f(qt)},get trialInfo(){return f(et)}});var Ft=C(Fe,2);{var ee=E=>{var B=ne(()=>A.translate(U.StateErrorButtonTryAgain));ra(E,{title:null,type:"error",get closeButtonTitle(){return f(B)},onContinue:se,icon:_e=>{Ho(_e)},message:_e=>{var ar=Yr();L(()=>Oe(ar,f(_))),k(_e,ar)},$$slots:{icon:!0,message:!0}})};M(Ft,E=>{f(_)&&E(ee)})}L(()=>{Gr(be,"hidden",f(v)||a()),Fe.hidden=!!f(_),Gr(gr,"hidden",f(v))}),Mr("submit",be,vo(qe)),k(e,Pe),J()}function Vu(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 Wu(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 H.errorLog(r),new ge(Se.ConfigurationError,r)}}var Yu=q('<div class="rcb-form-error svelte-6gh7as"> </div>'),Hu=q('<div class="rcb-form-container svelte-6gh7as"><div><input id="email" name="email" inputmode="email" autocapitalize="off" autocomplete="email" data-testid="email" class="svelte-6gh7as"></div> <!></div>'),Gu=q('<!> <div class="secure-checkout-container svelte-6gh7as"><!></div>',1),Xu=q('<div class="rcb-state-container svelte-6gh7as"><span class="rcb-auth-info-title svelte-6gh7as"><label for="email"><!></label></span> <form class="svelte-6gh7as"><!> <!></form></div>');const Ju={hash:"svelte-6gh7as",code:`.rcb-auth-info-title.svelte-6gh7as {font:var(--rc-text-titleLarge-mobile);}.secure-checkout-container.svelte-6gh7as {margin-top:var(--rc-spacing-gapXXLarge-mobile);}
|
|
155
|
+
|
|
156
|
+
@container layout-query-container (width >= 768px) {.rcb-auth-info-title.svelte-6gh7as {font:var(--rc-text-titleLarge-desktop);}.secure-checkout-container.svelte-6gh7as {margin-top:var(--rc-spacing-gapXXLarge-desktop);}
|
|
157
|
+
}.rcb-state-container.svelte-6gh7as {display:flex;flex-direction:column;flex-grow:1;user-select:none;}form.svelte-6gh7as {display:flex;flex-direction:column;flex-grow:1;}.rcb-form-container.svelte-6gh7as {display:flex;flex-direction:column;width:100%;margin-top:var(--rc-spacing-gapXLarge-desktop);margin-bottom:var(--rc-spacing-gapXLarge-desktop);}
|
|
158
|
+
|
|
159
|
+
@media screen and (max-width: 767px) {.rcb-form-container.svelte-6gh7as {margin-top:var(--rc-spacing-gapXLarge-mobile);margin-bottom:var(--rc-spacing-gapXLarge-mobile);}
|
|
160
|
+
}.rcb-form-label.svelte-6gh7as {margin-top:var(--rc-spacing-gapSmall-desktop);margin-bottom:var(--rc-spacing-gapSmall-desktop);font:var(--rc-text-body1-mobile);display:block;}
|
|
161
|
+
|
|
162
|
+
@container layout-query-container (width >= 768px) {.rcb-form-label.svelte-6gh7as {font:var(--rc-text-body1-desktop);}
|
|
163
|
+
}.rcb-form-input.error.svelte-6gh7as input:where(.svelte-6gh7as) {border-color:var(--rc-color-error);}.rcb-form-error.svelte-6gh7as {margin-top:var(--rc-spacing-gapSmall-desktop);font:var(--rc-text-body1-mobile);color:var(--rc-color-error);}
|
|
164
|
+
|
|
165
|
+
@container layout-query-container (width >= 768px) {.rcb-form-error.svelte-6gh7as {font:var(--rc-text-body1-desktop);}
|
|
166
|
+
}input.svelte-6gh7as {width:100%;box-sizing:border-box;border:1px solid var(--rc-color-grey-ui-dark);border-radius:var(--rc-shape-input-border-radius);font:var(--rc-text-body1-mobile);height:var(--rc-spacing-inputHeight-desktop);background:var(--rc-color-input-background);color:inherit;}
|
|
167
|
+
|
|
168
|
+
@container layout-query-container (width < 768px) {input.svelte-6gh7as {padding-left:var(--rc-spacing-gapLarge-mobile);height:var(--rc-spacing-inputHeight-mobile);}
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
@container layout-query-container (width >= 768px) {input.svelte-6gh7as {font:var(--rc-text-body1-desktop);padding-left:var(--rc-spacing-gapLarge-desktop);}.rcb-state-container.svelte-6gh7as {max-width:50vw;flex-grow:0;}
|
|
172
|
+
}input.svelte-6gh7as:focus {outline:none;border:1px solid var(--rc-color-focus);}input.svelte-6gh7as::placeholder {color:var(--rc-color-grey-ui-dark);}`};function Qu(e,r){X(r,!1),Y(e,Ju);const t=xe(),n=xe(),a=xe();let o=b(r,"onContinue",8),i=b(r,"processing",8),s=b(r,"lastError",8);const l=_r(nn),c=async()=>{if(R(n,Vu(f(t))??""),f(n)!==""){const y=qu({errorCode:null,errorMessage:f(n)});l.trackSDKEvent(y)}else l.trackSDKEvent({eventName:De.CheckoutBillingFormSubmit}),o()({authInfo:{email:f(t)}})};fr(()=>{l.trackSDKEvent({eventName:De.CheckoutBillingFormImpression})});const u=_r(Or)||rr.fallback();zt(()=>{},()=>{R(t,"")}),zt(()=>Mn(s()),()=>{var y;R(n,((y=s())==null?void 0:y.message)||"")}),zt(()=>(Mn(s()),f(n)),()=>{var y;R(a,(((y=s())==null?void 0:y.message)??f(n))!==""?"error":"")}),Ba(),pe();var d=Xu(),p=x(d),_=x(p),h=x(_);we(h,{get key(){return U.StateNeedsAuthInfoEmailStepTitle}});var g=C(p,2),v=x(g);$n(v,{children:(y,P)=>{var S=Hu(),w=x(S),F=x(w);L(()=>K(F,"placeholder",u.translate(U.StateNeedsAuthInfoEmailInputPlaceholder)));var O=C(w,2);{var D=A=>{var G=Yu(),ce=x(G);L(()=>Oe(ce,f(n))),k(A,G)};M(O,A=>{f(n)!==""&&A(D)})}L(()=>Jt(w,`rcb-form-input ${f(a)??""} svelte-6gh7as`)),Xs(F,()=>f(t),A=>R(t,A)),k(y,S)},$$slots:{default:!0}});var m=C(v,2);Go(m,{children:(y,P)=>{var S=Gu(),w=Q(S);$t(w,{children:(D,A)=>{ea(D,{get disabled(){return i()},type:"submit",get loading(){return i()},children:(G,ce)=>{we(G,{get key(){return U.StateNeedsAuthInfoButtonContinue}})},$$slots:{default:!0}})},$$slots:{default:!0}});var F=C(w,2),O=x(F);Xo(O,{}),k(y,S)},$$slots:{default:!0}}),Mr("submit",g,vo(c)),k(e,d),J()}var Zu=q('<br> <!> <a class="svelte-mv9iks"> </a>.',1),Ku=q(" <!>",1);const $u={hash:"svelte-mv9iks",code:"a.svelte-mv9iks {color:var(--rc-color-primary);}"};function ed(e,r){X(r,!1),Y(e,$u);let t=b(r,"lastError",8),n=b(r,"supportEmail",8,null),a=b(r,"productDetails",8,null),o=b(r,"onContinue",8);const i=_r(Or)||rr.fallback();fr(()=>{H.errorLog(`Displayed error: ${he[t().errorCode]}. Message: ${t().message??"None"}. Underlying error: ${t().underlyingErrorMessage??"None"}`)});function s(){var d;switch(t().errorCode){case he.AlreadyPurchasedError:return((d=a())==null?void 0:d.productType)===sr.Subscription?i.translate(U.StateErrorErrorTitleAlreadySubscribed):i.translate(U.StateErrorErrorTitleAlreadyPurchased);default:return i.translate(U.StateErrorErrorTitleOtherErrors)}}function l(){var p;const d=t().getErrorCode();switch(t().errorCode){case he.UnknownError:return i.translate(U.StateErrorErrorMessageUnknownError,{errorCode:d});case he.ErrorSettingUpPurchase:return i.translate(U.StateErrorErrorMessageErrorSettingUpPurchase,{errorCode:d});case he.ErrorChargingPayment:return i.translate(U.StateErrorErrorMessageErrorChargingPayment,{errorCode:d});case he.NetworkError:return i.translate(U.StateErrorErrorMessageNetworkError,{errorCode:d});case he.MissingEmailError:return i.translate(U.StateErrorErrorMessageMissingEmailError,{errorCode:d});case he.AlreadyPurchasedError:return((p=a())==null?void 0:p.productType)===sr.Subscription?i.translate(U.StateErrorErrorMessageAlreadySubscribed,{errorCode:d}):i.translate(U.StateErrorErrorMessageAlreadyPurchased,{errorCode:d})}}pe();var c=ne(s),u=ne(()=>i.translate(U.StateErrorButtonTryAgain));ra(e,{get title(){return f(c)},get onContinue(){return o()},type:"error",get closeButtonTitle(){return f(u)},icon:_=>{Ho(_)},message:_=>{var h=Ku(),g=Q(h);L(()=>Oe(g,`${l()??""} `));var v=C(g);{var m=y=>{var P=Zu(),S=C(Q(P),2);we(S,{get key(){return U.StateErrorIfErrorPersists}});var w=C(S,2),F=x(w);L(()=>{K(w,"href",`mailto:${n()??""}`),Oe(F,n())}),k(y,P)};M(v,y=>{n()&&y(m)})}k(_,h)},$$slots:{icon:!0,message:!0}}),J()}const rd=`<svg width="40" height="40" viewBox="0 0 124 124" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
|
|
50
173
|
<circle cx="62" cy="62" r="62" fill="currentColor"/>
|
|
51
174
|
<rect x="44.1116" y="56" width="27.5" height="11" transform="rotate(45 44.1116 56)" fill="white"/>
|
|
52
175
|
<rect x="79.1133" y="44.334" width="11" height="44" transform="rotate(45 79.1133 44.334)" fill="white"/>
|
|
53
176
|
</svg>
|
|
54
|
-
`;var
|
|
55
|
-
xmlns="http://www.w3.org/2000/svg">
|
|
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
|
-
fill="currentColor"/>
|
|
58
|
-
</svg>
|
|
59
|
-
`;var Qu=x('<div style="color:var(--rc-color-accent);" class="rcb-ui-asset-icon svelte-wgufvv"><!></div>');const Ju={hash:"svelte-wgufvv",code:"div.svelte-wgufvv {height:24px;width:24px;}"};function Ku(e){V(e,Ju);var r=Qu(),t=I(r);Or(t,()=>Zu),y(e,r)}var Xu=x('<div class="rcb-processing svelte-1odop1s"></div>');const $u={hash:"svelte-1odop1s",code:`.rcb-processing.svelte-1odop1s {width:12px;aspect-ratio:1;border-radius:50%;
|
|
60
|
-
animation: svelte-1odop1s-l5 1.5s infinite linear;}
|
|
177
|
+
`;var td=q('<div style="color:var(--rc-color-primary);" class="rcb-ui-asset-icon svelte-4yc1p3"><!></div>');const nd={hash:"svelte-4yc1p3",code:".rcb-ui-asset-icon.svelte-4yc1p3 {width:40px;height:40px;margin:0 auto;}"};function ad(e){Y(e,nd);var r=td(),t=x(r);yt(t,()=>rd),k(e,r)}function od(e,r){var u;X(r,!1);let t=b(r,"productDetails",8,null),n=b(r,"onContinue",8);const a=((u=t())==null?void 0:u.productType)===sr.Subscription,o=_r(Or)||rr.fallback(),i=_r(nn);function s(){i.trackSDKEvent({eventName:De.CheckoutPurchaseSuccessfulDismiss,properties:{ui_element:"go_back_to_app"}}),n()()}fr(()=>{i.trackSDKEvent({eventName:De.CheckoutPurchaseSuccessfulImpression})}),pe();var l=ne(()=>o.translate(U.StateSuccessPurchaseSuccessful)),c=ne(()=>o.translate(U.StateSuccessButtonClose));ra(e,{type:"success",get title(){return f(l)},onContinue:s,get closeButtonTitle(){return f(c)},icon:_=>{ad(_)},message:_=>{var h=le(),g=Q(h);{var v=m=>{we(m,{get key(){return U.StateSuccessSubscriptionNowActive}})};M(g,m=>{a&&m(v)})}k(_,h)},$$slots:{icon:!0,message:!0}}),J()}var id=q('<div class="rcb-subscribe-to svelte-1nphb8x"><!></div>'),sd=q('<span class="rcb-product-description only-desktop svelte-1nphb8x"><!></span>'),ld=q('<div class="rcb-product-trial svelte-1nphb8x"><!></div>'),cd=q('<span class="rcb-product-price svelte-1nphb8x"><!></span>'),ud=q('<span class="rcb-product-price-frequency svelte-1nphb8x"><span class="rcb-product-price-frequency-text svelte-1nphb8x"> </span></span>'),dd=q('<span class="rcb-product-description only-mobile svelte-1nphb8x"><!></span>'),_d=q('<div class="rcb-product-trial-explanation svelte-1nphb8x"><div class="rcb-after-trial-ends rcb-text-dark svelte-1nphb8x"><!></div> <div class="rcb-after-trial-ends rcb-text-dark svelte-1nphb8x"></div></div> <div class="rcb-product-trial-explanation svelte-1nphb8x"><div class="rcb-text-dark rcb-total-due-today svelte-1nphb8x"><!></div> <div class="rcb-text-dark rcb-total-due-today svelte-1nphb8x"></div></div>',1),pd=q('<div class="rcb-product-price-container"><!> <div><!> <!></div></div> <div class="rcb-product-details expanded svelte-1nphb8x"><div class="rcb-product-details-padding svelte-1nphb8x"><!> <!></div></div>',1),fd=q('<span class="rcb-product-description svelte-1nphb8x"><!></span>'),md=q('<span class="rcb-product-price svelte-1nphb8x"><!></span> <!>',1),hd=q('<section><div class="rcb-pricing-info svelte-1nphb8x"><div class="rcb-pricing-info-header svelte-1nphb8x"><!> <div class="rcb-product-title svelte-1nphb8x"><!></div> <!></div> <!> <!></div></section>');const gd={hash:"svelte-1nphb8x",code:`.rcb-pricing-info.svelte-1nphb8x {display:flex;flex-direction:column;font:var(--rc-text-body1-mobile);gap:var(--rc-spacing-gapLarge-mobile);user-select:none;}.rcb-product-title.svelte-1nphb8x {color:var(--rc-color-grey-text-dark);font:var(--rc-text-titleXLarge-mobile);}.rcb-product-price.svelte-1nphb8x {color:var(--rc-color-grey-text-dark);font:var(--rc-text-titleMedium-mobile);}.rcb-product-trial.svelte-1nphb8x {color:var(--rc-color-grey-text-dark);font:var(--rc-text-titleLarge-mobile);}.rcb-product-price-frequency.svelte-1nphb8x {color:var(--rc-color-grey-text-dark);font:var(--rc-text-body1-mobile);}.rcb-product-price-frequency-text.svelte-1nphb8x {white-space:nowrap;}.rcb-product-description.svelte-1nphb8x {font:var(--rc-text-body1-mobile);color:var(--rc-color-grey-text-dark);}.rcb-product-details.svelte-1nphb8x {color:var(--rc-color-grey-text-light);margin:0px;overflow:hidden;transition:max-height 0.2s ease-in-out;}.rcb-product-details-padding.svelte-1nphb8x {display:flex;flex-direction:column;gap:var(--rc-spacing-gapXLarge-mobile);}.rcb-product-trial-explanation.svelte-1nphb8x {display:flex;flex-direction:row;align-items:center;justify-content:space-between;}.rcb-text-dark.svelte-1nphb8x {color:var(--rc-color-grey-text-dark);font-weight:500;}.rcb-subscribe-to.svelte-1nphb8x {font:var(--rc-text-body1-desktop);}.only-desktop.svelte-1nphb8x {display:none;}
|
|
61
178
|
|
|
62
|
-
@
|
|
63
|
-
0% {
|
|
64
|
-
box-shadow:
|
|
65
|
-
20px 0 #fff2,
|
|
66
|
-
-20px 0 #fff2;
|
|
67
|
-
background: #fff2;
|
|
68
|
-
}
|
|
69
|
-
25% {
|
|
70
|
-
box-shadow:
|
|
71
|
-
20px 0 #fff2,
|
|
72
|
-
-20px 0 #ffff;
|
|
73
|
-
background: #fff2;
|
|
74
|
-
}
|
|
75
|
-
50% {
|
|
76
|
-
box-shadow:
|
|
77
|
-
20px 0 #fff2,
|
|
78
|
-
-20px 0 #fff2;
|
|
79
|
-
background: #ffff;
|
|
80
|
-
}
|
|
81
|
-
75% {
|
|
82
|
-
box-shadow:
|
|
83
|
-
20px 0 #ffff,
|
|
84
|
-
-20px 0 #fff2;
|
|
85
|
-
background: #fff2;
|
|
86
|
-
}
|
|
87
|
-
100% {
|
|
88
|
-
box-shadow:
|
|
89
|
-
20px 0 #fff2,
|
|
90
|
-
-20px 0 #fff2;
|
|
91
|
-
background: #fff2;
|
|
92
|
-
}
|
|
93
|
-
}`};function Ao(e){V(e,$u);var r=Xu();y(e,r)}const ec={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"},rc={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"},tc={...Co,"input-background":"color_form_bg",background:"color_form_bg"},nc={...Co,"input-background":"color_product_info_bg",background:"color_product_info_bg"},Do={"input-border-radius":"12px","input-button-border-radius":"12px","modal-border-radius":"16px"},ac={"input-border-radius":"0px","input-button-border-radius":"0px","modal-border-radius":"0px"},oc={"input-border-radius":"24px","input-button-border-radius":"56px","modal-border-radius":"16px"},Oo=Do,Mo=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,jo=({r:e,g:r,b:t,luminanceThreshold:n})=>{const a=i=>(i=i/255,i<=.03928?i/12.92:Math.pow((i+.055)/1.055,2.4));return .2126*a(e)+.7152*a(r)+.0722*a(t)>n},No=.37,ic=(e,r=No)=>{const t=jo({...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)`}},sc=(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=Mo(e);o!==null&&Object.assign(a,ic(o))}if(r!=null&&r.startsWith("#")){const o=Mo(r);o!==null&&(a["primary-text"]=jo({...o,luminanceThreshold:n})?"black":"white")}return a},lc=(e,r)=>e||r,uc=(e,r,t)=>{const n=Object.entries(e).map(([a,o])=>[a,lc(t?t[o]:null,r[a])]);return Object.fromEntries(n)},Ro=(e,r,t)=>{const n=uc(e,r,t);return t?{...r,...n,...sc(n.background,n.primary,r)}:{...r}},cc=e=>Ro(nc,rc,e),Uo=e=>Ro(tc,ec,e),Wn=e=>{if(!e)return Oo;switch(e.shapes){case"rounded":return Do;case"rectangle":return ac;case"pill":return oc;default:return Oo}},Xt=(e="",r)=>r.map(([t,n])=>`--rc-${e}-${t}: ${n}`).join("; "),Lo=e=>{const r=Xt("color",Object.entries(cc(e))),t=Xt("shape",Object.entries(Wn(e)));return[r,t].join("; ")},dc=e=>{const r=Xt("color",Object.entries(Uo(e))),t=Xt("shape",Object.entries(Wn(e)));return[r,t].join("; ")};class Zn{constructor(r){this.brandingAppearance=r}get shape(){return Wn(this.brandingAppearance)}get formColors(){return Uo(this.brandingAppearance)}get formStyleVars(){return dc(this.brandingAppearance)}get productInfoStyleVars(){return Lo(this.brandingAppearance)}}function _c({errorCode:e,errorMessage:r}){return{eventName:be.CheckoutFlowError,properties:{errorCode:e,errorMessage:r}}}function pc({errorCode:e,errorMessage:r}){return{eventName:be.CheckoutBillingFormError,properties:{errorCode:e,errorMessage:r}}}function fc({appearance:e,rcPackage:r,purchaseOptionToUse:t,customerEmail:n}){return{eventName:be.CheckoutSessionStart,properties:{customizationColorButtonsPrimary:(e==null?void 0:e.color_buttons_primary)??null,customizationColorAccent:(e==null?void 0:e.color_accent)??null,customizationColorError:(e==null?void 0:e.color_error)??null,customizationColorProductInfoBg:(e==null?void 0:e.color_product_info_bg)??null,customizationColorFormBg:(e==null?void 0:e.color_form_bg)??null,customizationColorPageBg:(e==null?void 0:e.color_page_bg)??null,customizationFont:(e==null?void 0:e.font)??null,customizationShapes:(e==null?void 0:e.shapes)??null,customizationShowProductDescription:(e==null?void 0:e.show_product_description)??null,productInterval:r.webBillingProduct.normalPeriodDuration,productPrice:r.webBillingProduct.currentPrice.amountMicros,productCurrency:r.webBillingProduct.currentPrice.currency,selectedProductId:r.webBillingProduct.identifier,selectedPackageId:r.identifier,selectedPurchaseOption:t.id,customerEmailProvidedByDeveloper:!!n}}}function mc({redemptionInfo:e}){return{eventName:be.CheckoutSessionEnd,properties:{outcome:"finished",withRedemptionInfo:!!e}}}function hc(){return{eventName:be.CheckoutSessionEnd,properties:{outcome:"closed"}}}function gc({errorCode:e,errorMessage:r}){return{eventName:be.CheckoutSessionEnd,properties:{outcome:"errored",errorCode:e,errorMessage:r}}}function yc({selectedPaymentMethod:e}){return{eventName:be.CheckoutPaymentFormSubmit,properties:{selectedPaymentMethod:e??null}}}function bc({errorCode:e,errorMessage:r}){return{eventName:be.CheckoutPaymentFormGatewayError,properties:{errorCode:e,errorMessage:r}}}var vc=x('<div class="rcb-header-wrapper svelte-1a9rihw"><!> <div class="rcb-step-title svelte-1a9rihw"><!></div></div> <!>',1),kc=x('<div class="rcb-stripe-elements-container svelte-1a9rihw"><!></div> <!>',1),wc=x("<!> <!>",1),Pc=x('<!> <form data-testid="payment-form"><!></form>',1),xc=x("<div><!></div>");const Ec={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
|
-
|
|
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 Sc(e,r){var Z;ne(r,!1),V(e,Ec);let t=w(r,"onClose",8),n=w(r,"onContinue",8),a=w(r,"paymentInfoCollectionMetadata",8),o=w(r,"processing",12,!1),i=w(r,"productDetails",8),s=w(r,"purchaseOption",8),l=w(r,"brandingInfo",8);const u=a().data.client_secret;let c=Ee(null),_=Ee(),p=Ee(),f=Ee(void 0),m=Ee(!1),h=Ee(void 0);const S=or(Qt);Gr(async()=>{S.trackSDKEvent({eventName:be.CheckoutPaymentFormImpression});const R=a().data.publishable_api_key,fe=a().data.stripe_account_id;if(!R||!fe)throw new Error("Stripe publishable key or account ID not found");M(c,await Yu(R,{stripeAccount:fe}))});const b=()=>{S.trackSDKEvent({eventName:be.CheckoutPaymentFormDismiss}),t()()},g=async()=>{if(o()||!d(c)||!d(p)||!u)return;const R=yc({selectedPaymentMethod:d(h)??null});S.trackSDKEvent(R),o(!0);const fe=u.startsWith("seti_");let ue;if(fe?ue=(await d(c).confirmSetup({elements:d(p),redirect:"if_required"})).error:ue=(await d(c).confirmPayment({elements:d(p),redirect:"if_required"})).error,ue){const sr=bc({errorCode:ue.code??null,errorMessage:ue.message??""});S.trackSDKEvent(sr),o(!1),v(ue)&&M(f,ue.message)}else n()()};function v(R){const fe=["card_declined","expired_card","incorrect_cvc","incorrect_number"];return!(R.type==="card_error"&&R.code&&fe.includes(R.code))}const E=()=>{M(f,void 0)},k=new Zn((Z=l())==null?void 0:Z.appearance);let q=k.shape,P=k.formColors;const N=or(Mr)||$e.fallback(),L=N.locale||N.fallbackLocale,ie=(R=>{if(["ca","hi","uk"].includes(R))return"auto";const ue={zh_Hans:"zh",zh_Hant:"zh"};return Object.keys(ue).includes(R)?ue[R]:R})(L);Fr(()=>d(_),()=>{d(_)&&d(_)._elements.length>0&&M(p,d(_))}),wn(),Xe();var W=xc(),se=I(W);{var le=R=>{var fe=Pc(),ue=D(fe);Gn(ue,{children:(lr,qt)=>{var mr=vc(),Te=D(mr),re=I(Te);Ku(re);var ee=A(re,2),Ne=I(ee);_e(Ne,{get key(){return U.StateNeedsPaymentInfoPaymentStepTitle}});var ve=A(Te,2);Hn(ve,{$$events:{click:b}}),y(lr,mr)},$$slots:{default:!0}});var sr=A(ue,2),cn=I(sr),Nr=oe(()=>({borderRadius:q["input-border-radius"],fontSizeBase:"16px",fontSizeSm:"16px",spacingGridRow:"16px",focusBoxShadow:"none",colorDanger:P.error,colorTextPlaceholder:P["grey-text-light"],colorText:P["grey-text-dark"],colorTextSecondary:P["grey-text-light"]})),Xr=oe(()=>({".Input":{boxShadow:"none",border:`2px solid ${P["grey-ui-dark"]}`,backgroundColor:P["input-background"],color:P["grey-text-dark"]},".Input:focus":{border:`2px solid ${P.focus}`,outline:"none"},".Label":{marginBottom:"8px",fontWeight:"500",lineHeight:"22px",color:P["grey-text-dark"]},".Input--invalid":{boxShadow:"none"},".Tab":{boxShadow:"none",backgroundColor:"transparent",color:P["grey-text-light"],border:`2px solid ${P["grey-ui-dark"]}`},".Tab:hover, .Tab:focus, .Tab--selected, .Tab--selected:hover, .Tab--selected:focus":{boxShadow:"none",color:P["grey-text-dark"]},".Tab:focus, .Tab--selected, .Tab--selected:hover, .Tab--selected:focus":{border:`2px solid ${P.focus}`},".TabIcon":{fill:P["grey-text-light"]},".TabIcon--selected":{fill:P["grey-text-dark"]},".Block":{boxShadow:"none",backgroundColor:"transparent",border:`2px solid ${P["grey-ui-dark"]}`}}));Nu(cn,{get stripe(){return d(c)},clientSecret:u,loader:"always",locale:ie,theme:"stripe",get variables(){return d(Nr)},get rules(){return d(Xr)},get elements(){return d(_)},set elements(lr){M(_,lr)},children:(lr,qt)=>{var mr=wc(),Te=D(mr);Wr(Te,{children:(ee,Ne)=>{var ve=kc(),er=D(ve),ur=I(er),Ae=oe(()=>{var Ce;return{business:(Ce=l())!=null&&Ce.app_name?{name:l().app_name}:void 0,layout:{type:"tabs"}}});ju(ur,{get options(){return d(Ae)},$$events:{change:Ce=>{M(m,Ce.detail.complete),d(m)&&M(h,Ce.detail.value.type)}}});var hr=A(er,2);{var cr=Ce=>{var ze=oe(()=>N.translate(U.StateErrorButtonTryAgain));Yn(Ce,{title:null,type:"error",get closeButtonTitle(){return d(ze)},onContinue:E,onClose:E,brandingInfo:null,children:($r,Rr)=>{var et=Dr();H(()=>Ke(et,d(f))),y($r,et)},$$slots:{default:!0,icon:($r,Rr)=>{Po($r)}}})};j(hr,Ce=>{d(f)&&Ce(cr)})}H(()=>er.hidden=!!d(f)),y(ee,ve)},$$slots:{default:!0}});var re=A(Te,2);Vn(re,{children:(ee,Ne)=>{var ve=te(),er=D(ve);{var ur=Ae=>{xt(Ae,{children:(hr,cr)=>{var Ce=oe(()=>o()||!d(m));zn(hr,{get disabled(){return d(Ce)},testId:"PayButton",children:(ze,$r)=>{var Rr=te(),et=D(Rr);{var _a=Q=>{Ao(Q)},pa=Q=>{var Sr=te(),fa=D(Sr);{var dn=rt=>{_e(rt,{get key(){return U.StateNeedsPaymentInfoButtonStartTrial}})},wp=rt=>{_e(rt,{get key(){return U.StateNeedsPaymentInfoButtonPay}})};j(fa,rt=>{var bi,vi;(vi=(bi=i().subscriptionOptions)==null?void 0:bi[s().id])!=null&&vi.trial?rt(dn):rt(wp,!1)},!0)}y(Q,Sr)};j(et,Q=>{o()?Q(_a):Q(pa,!1)})}y(ze,Rr)},$$slots:{default:!0}})},$$slots:{default:!0}})};j(er,Ae=>{d(f)||Ae(ur)})}y(ee,ve)},$$slots:{default:!0}}),y(lr,mr)},$$slots:{default:!0},$$legacy:!0}),Ht("submit",sr,lo(g)),y(R,fe)},Ie=R=>{Bn(R)};j(se,R=>{d(c)&&u?R(le):R(Ie,!1)})}y(e,W),ae()}function Ic(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 Tc(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 G.errorLog(r),new ge(we.ConfigurationError,r)}}var qc=x("<span><!></span> <!>",1),Fc=x('<div class="rcb-form-error svelte-5z8oaq"> </div>'),Ac=x('<div class="rcb-form-container svelte-5z8oaq"><div class="rcb-form-label svelte-5z8oaq"><label for="email"><!></label></div> <div><input name="email" autocapitalize="off" data-testid="email" class="svelte-5z8oaq"></div> <!></div>'),Cc=x('<div class="rcb-state-container svelte-5z8oaq"><!> <form class="svelte-5z8oaq"><!> <!></form></div>');const Dc={hash:"svelte-5z8oaq",code:".rcb-state-container.svelte-5z8oaq {display:flex;flex-direction:column;flex-grow:1;}form.svelte-5z8oaq {display:flex;flex-direction:column;min-height:100%;flex-grow:1;}.rcb-form-container.svelte-5z8oaq {display:flex;flex-direction:column;width:100%;margin-top:32px;margin-bottom:16px;}.rcb-form-label.svelte-5z8oaq {margin-top:8px;margin-bottom:8px;display:block;font-weight:500;line-height:22px;}.rcb-form-input.error.svelte-5z8oaq input:where(.svelte-5z8oaq) {border-color:var(--rc-color-error);}.rcb-form-error.svelte-5z8oaq {margin-top:4px;font-size:16px;line-height:20px;min-height:40px;color:var(--rc-color-error);}input.svelte-5z8oaq {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-5z8oaq:focus {outline:none;border:2px solid var(--rc-color-focus);}"};function Oc(e,r){ne(r,!1),V(e,Dc);const t=Ee(),n=Ee(),a=Ee();let o=w(r,"onContinue",8),i=w(r,"onClose",8),s=w(r,"processing",8),l=w(r,"lastError",8);function u(){c.trackSDKEvent({eventName:be.CheckoutBillingFormDismiss}),i()()}const c=or(Qt),_=async()=>{if(M(n,Ic(d(t))??""),d(n)!==""){const g=pc({errorCode:null,errorMessage:d(n)});c.trackSDKEvent(g)}else c.trackSDKEvent({eventName:be.CheckoutBillingFormSubmit}),o()({email:d(t)})};Gr(()=>{c.trackSDKEvent({eventName:be.CheckoutBillingFormImpression})});const p=or(Mr)||$e.fallback();Fr(()=>{},()=>{M(t,"")}),Fr(()=>me(l()),()=>{var g;M(n,((g=l())==null?void 0:g.message)||"")}),Fr(()=>(me(l()),d(n)),()=>{var g;M(a,(((g=l())==null?void 0:g.message)??d(n))!==""?"error":"")}),wn(),Xe();var f=Cc(),m=I(f);Gn(m,{children:(g,v)=>{var E=qc(),k=D(E),q=I(k);_e(q,{get key(){return U.StateNeedsAuthInfoEmailStepTitle}});var P=A(k,2);Hn(P,{$$events:{click:u}}),y(g,E)},$$slots:{default:!0}});var h=A(m,2),S=I(h);Wr(S,{children:(g,v)=>{var E=Ac(),k=I(E),q=I(k),P=I(q);_e(P,{get key(){return U.StateNeedsAuthInfoEmailInputLabel}});var N=A(k,2),L=I(N);H(()=>K(L,"placeholder",p.translate(U.StateNeedsAuthInfoEmailInputPlaceholder)));var J=A(N,2);{var ie=W=>{var se=Fc(),le=I(se);H(()=>Ke(le,d(n))),y(W,se)};j(J,W=>{d(n)!==""&&W(ie)})}H(()=>Nn(N,`rcb-form-input ${d(a)??""} svelte-5z8oaq`)),Cs(L,()=>d(t),W=>M(t,W)),y(g,E)},$$slots:{default:!0}});var b=A(S,2);Vn(b,{children:(g,v)=>{xt(g,{children:(E,k)=>{zn(E,{get disabled(){return s()},type:"submit",children:(q,P)=>{var N=te(),L=D(N);{var J=W=>{Ao(W)},ie=W=>{_e(W,{get key(){return U.StateNeedsAuthInfoButtonContinue}})};j(L,W=>{s()?W(J):W(ie,!1)})}y(q,N)},$$slots:{default:!0}})},$$slots:{default:!0}})},$$slots:{default:!0}}),Ht("submit",h,lo(_)),y(e,f),ae()}var Mc=x('<div class="rcb-modal-backdrop svelte-17tslso"><!></div>');const jc={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 Nc(e,r){V(e,jc);var t=Mc(),n=I(t);he(n,r,"default",{}),y(e,t)}var Rc=x('<div class="rcb-modal-container svelte-15w05wv"><main class="rcb-modal-main svelte-15w05wv"><!></main></div>');const Uc={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
|
-
|
|
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 Bo(e,r){V(e,Uc);let t=w(r,"style",8,"");var n=Rc(),a=I(n),o=I(a);he(o,r,"default",{}),H(()=>K(a,"style",t())),y(e,n)}function Lc(e,r){let t=w(r,"condition",8,!1);var n=te(),a=D(n);{var o=s=>{Nc(s,{children:(l,u)=>{var c=te(),_=D(c);he(_,r,"default",{}),y(l,c)},$$slots:{default:!0}})},i=s=>{var l=te(),u=D(l);he(u,r,"default",{}),y(s,l)};j(a,s=>{t()?s(o):s(i,!1)})}y(e,n)}const Bc=`<svg width="24" height="24" viewBox="0 0 24 24" fill="currentColor"
|
|
100
|
-
xmlns="http://www.w3.org/2000/svg">
|
|
101
|
-
<g opacity="0.5" clip-path="url(#clip0_344_3390)">
|
|
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"
|
|
103
|
-
fill="currentColor"/>
|
|
104
|
-
</g>
|
|
105
|
-
<defs>
|
|
106
|
-
<clipPath id="clip0_344_3390">
|
|
107
|
-
<rect width="24" height="24" fill="currentColor"/>
|
|
108
|
-
</clipPath>
|
|
109
|
-
</defs>
|
|
110
|
-
</svg>
|
|
111
|
-
`;var zc=x('<div style="color:var(--rc-color-gray-text-dark);"><!></div>');function Vc(e){var r=zc(),t=I(r);Or(t,()=>Bc),y(e,r)}var Hc=x('<div class="svelte-ha0rzs">Sandbox</div>');const Yc={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 Gc(e){V(e,Yc);var r=Hc();y(e,r)}var Wc=x('<div class="rcb-ui-layout svelte-1veyi7r"><!></div>');const Zc={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
|
-
|
|
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;}
|
|
179
|
+
@container layout-query-container (width < 768px) {.rcb-pricing-info.svelte-1nphb8x {margin-top:var(--rc-spacing-gapXLarge-mobile);}.rcb-subscribe-to.svelte-1nphb8x {display:none;}
|
|
114
180
|
}
|
|
115
181
|
|
|
116
|
-
@
|
|
117
|
-
}`};function
|
|
118
|
-
Cantarell, "Open Sans", "Helvetica Neue", sans-serif;}`};function Xc(e,r){V(e,Kc);let t=w(r,"style",8,"");var n=Jc(),a=I(n);he(a,r,"default",{}),H(()=>K(n,"style",t())),y(e,n)}var $c=x("<!> <!>",1),ed=x('<div class="rcb-ui-aside svelte-2nbj9u"><!></div>');const rd={hash:"svelte-2nbj9u",code:`.rcb-ui-aside.svelte-2nbj9u {margin-right:16px;flex:320px 1 0;max-width:480px;}
|
|
119
|
-
|
|
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 td(e,r){ne(r,!1),V(e,rd);let t=w(r,"brandingAppearance",8,void 0),n=new Zn(t()).productInfoStyleVars;Xe();var a=ed();K(a,"style",n);var o=I(a);Bo(o,{children:(i,s)=>{var l=$c(),u=D(l);he(u,r,"header",{});var c=A(u,2);he(c,r,"default",{}),y(i,l)},$$slots:{default:!0}}),y(e,a),ae()}var nd=x("<!> <!>",1),ad=x('<div class="rcb-ui-main svelte-kxew5e"><!></div>');const od={hash:"svelte-kxew5e",code:`.rcb-ui-main.svelte-kxew5e {flex:480px 1 0;max-width:640px;}
|
|
182
|
+
@container layout-query-container (width >= 768px) {.only-mobile.svelte-1nphb8x {display:none;}.only-desktop.svelte-1nphb8x {display:block;}.rcb-pricing-info-header.svelte-1nphb8x {display:flex;flex-direction:column;gap:var(--rc-spacing-gapXLarge-desktop);}.rcb-pricing-info.svelte-1nphb8x {margin-top:calc(var(--rc-spacing-gapXXLarge-desktop) * 2);gap:var(--rc-spacing-gapXXXLarge-desktop);}.rcb-pricing-info.svelte-1nphb8x:has(.rcb-product-details.expanded:where(.svelte-1nphb8x)) {gap:var(--rc-spacing-gapXXXLarge-desktop);}.rcb-product-title.svelte-1nphb8x {font:var(--rc-text-titleXLarge-desktop);}.rcb-product-price.svelte-1nphb8x {font:var(--rc-text-titleMedium-desktop);}.rcb-product-price-frequency.svelte-1nphb8x {font:var(--rc-text-body1-desktop);}.rcb-product-description.svelte-1nphb8x {font:var(--rc-text-body1-desktop);}.rcb-product-details.svelte-1nphb8x {max-height:500px;gap:var(--rc-spacing-gapXLarge-desktop);}.rcb-total-due-today.svelte-1nphb8x {font:var(--rc-text-titleMedium-desktop);}.rcb-after-trial-ends.svelte-1nphb8x {font:var(--rc-text-body1-desktop);}.rcb-product-trial.svelte-1nphb8x {font:var(--rc-text-titleLarge-desktop);}
|
|
183
|
+
}`};function $o(e,r){var N,se,Pe;X(r,!1),Y(e,gd);let t=b(r,"productDetails",8),n=b(r,"purchaseOption",8),a=b(r,"brandingAppearance",8,void 0);const o=t().productType===sr.Subscription,i=n(),s=n(),l=i==null?void 0:i.trial,c=(N=i==null?void 0:i.base)==null?void 0:N.price,u=s==null?void 0:s.basePrice,d=_r(Or)||rr.fallback(),p=c&&d.formatPrice(c.amountMicros,c.currency),_=c&&d.formatPrice(0,c.currency),h=u&&d.formatPrice(u.amountMicros,u.currency);let g=xe(null);const v=((se=i.trial)==null?void 0:se.period)||((Pe=i.base)==null?void 0:Pe.period);v&&R(g,Io(new Date,v,o)),pe();var m=hd(),y=x(m),P=x(y),S=x(P);{var w=ie=>{var fe=id(),be=x(fe),Fe=ne(()=>({productTitle:t().title}));we(be,{get key(){return U.StatePresentOfferSubscribeTo},get variables(){return f(Fe)}}),k(ie,fe)};M(S,ie=>{o&&ie(w)})}var F=C(S,2),O=x(F),D=ne(()=>({productTitle:t().title}));we(O,{get key(){return U.StatePresentOfferProductTitle},get variables(){return f(D)}});var A=C(F,2);{var G=ie=>{var fe=sd(),be=x(fe),Fe=ne(()=>({productDescription:t().description}));we(be,{get key(){return U.StatePresentOfferProductDescription},get variables(){return f(Fe)}}),k(ie,fe)};M(A,ie=>{var fe;(fe=a())!=null&&fe.show_product_description&&t().description&&ie(G)})}var ce=C(P,2);{var de=ie=>{var fe=pd(),be=Q(fe),Fe=x(be);{var tr=E=>{var B=ld(),$=x(B),ve=ne(()=>({trialDuration:Rl(l.periodDuration||"",d)}));we($,{get key(){return U.StatePresentOfferFreeTrialDuration},get variables(){return f(ve)}}),k(E,B)};M(Fe,E=>{l!=null&&l.periodDuration&&E(tr)})}var gr=C(Fe,2),Ce=x(gr);{var ze=E=>{var B=cd(),$=x(B);we($,{get key(){return U.StatePresentOfferProductPrice},variables:{productPrice:p}}),k(E,B)};M(Ce,E=>{c&&E(ze)})}var nr=C(Ce,2);{var Rr=E=>{var B=ud(),$=x(B),ve=x($);L(()=>Oe(ve,d.translatePeriodFrequency(i.base.period.number,i.base.period.unit,{useMultipleWords:!0}))),k(E,B)};M(nr,E=>{var B;(B=i==null?void 0:i.base)!=null&&B.period&&E(Rr)})}var $r=C(be,2),qt=x($r),et=x(qt);{var Ft=E=>{var B=dd(),$=x(B),ve=ne(()=>({productDescription:t().description}));we($,{get key(){return U.StatePresentOfferProductDescription},get variables(){return f(ve)}}),k(E,B)};M(et,E=>{var B;(B=a())!=null&&B.show_product_description&&t().description&&E(Ft)})}var ee=C(et,2);{var lr=E=>{var B=_d(),$=Q(B),ve=x($),_e=x(ve),ar=ne(()=>({renewalDate:f(g)&&d.translateDate(f(g),{dateStyle:"medium"})}));we(_e,{get key(){return U.StatePresentOfferPriceAfterFreeTrial},get variables(){return f(ar)}});var rt=C(ve,2);rt.textContent=p;var tt=C($,2),Ze=x(tt),fn=x(Ze);we(fn,{get key(){return U.StatePresentOfferPriceTotalDueToday}});var mn=C(Ze,2);mn.textContent=_,k(E,B)};M(ee,E=>{l!=null&&l.periodDuration&&E(lr)})}k(ie,fe)};M(ce,ie=>{o&&ie(de)})}var qe=C(ce,2);{var ye=ie=>{var fe=md(),be=Q(fe),Fe=x(be);we(Fe,{get key(){return U.StatePresentOfferProductPrice},variables:{productPrice:h}});var tr=C(be,2);{var gr=Ce=>{var ze=fd(),nr=x(ze),Rr=ne(()=>({productDescription:t().description}));we(nr,{get key(){return U.StatePresentOfferProductDescription},get variables(){return f(Rr)}}),k(Ce,ze)};M(tr,Ce=>{var ze;(ze=a())!=null&&ze.show_product_description&&Ce(gr)})}k(ie,fe)};M(qe,ie=>{o||ie(ye)})}k(e,m),J()}var yd=q('<picture class="rcb-app-icon-picture-container svelte-44qpq9"><source type="image/webp"> <img class="rcb-app-icon svelte-44qpq9" alt="App icon"></picture>'),bd=q('<div class="rcb-app-icon loading svelte-44qpq9"></div>');const vd={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 kd(e,r){Y(e,vd);let t=b(r,"src",8,null),n=b(r,"srcWebp",8,null);var a=le(),o=Q(a);{var i=l=>{var c=yd(),u=x(c),d=C(u,2);L(()=>{K(u,"srcset",n()),K(d,"src",t())}),k(l,c)},s=l=>{var c=bd();k(l,c)};M(o,l=>{t()!==null?l(i):l(s,!1)})}k(e,a)}const ei=e=>`https://da08ctfrofx1b.cloudfront.net/${e}`;var wd=q('<div class="rcb-header-layout__business-info svelte-mtrmkt"><!> <div class="rcb-app-name svelte-mtrmkt"> </div></div>');const Pd={hash:"svelte-mtrmkt",code:`.rcb-header-layout__business-info.svelte-mtrmkt {display:flex;align-items:center;}.rcb-app-name.svelte-mtrmkt {font:var(--rc-text-titleMedium-mobile);}
|
|
122
184
|
|
|
123
|
-
@
|
|
124
|
-
}`};function id(e,r){ne(r,!1),V(e,od);let t=w(r,"brandingAppearance",8,void 0),n=new Zn(t()).formStyleVars;Xe();var a=ad();K(a,"style",n);var o=I(a);Bo(o,{style:"min-height: 360px;",children:(i,s)=>{var l=nd(),u=D(l);he(u,r,"header",{});var c=A(u,2);he(c,r,"default",{}),y(i,l)},$$slots:{default:!0}}),y(e,a),ae()}var sd=x("<!> <!>",1),ld=x("<!> <!> <!> <!> <!> <!> <!>",1),ud=x("<!> <!>",1);function cd(e,r){ne(r,!1);let t=w(r,"asModal",8,!0),n=w(r,"customerEmail",12),a=w(r,"appUserId",8),o=w(r,"rcPackage",8),i=w(r,"purchaseOption",8),s=w(r,"metadata",8),l=w(r,"brandingInfo",8),u=w(r,"onFinished",8),c=w(r,"onError",8),_=w(r,"onClose",8),p=w(r,"purchases",8),f=w(r,"eventsTracker",8),m=w(r,"purchaseOperationHelper",8),h=w(r,"selectedLocale",8,pr),S=w(r,"defaultLocale",8,pr),b=w(r,"customTranslations",24,()=>({})),g=Ee(""),v=Ee(null),E=Ee(null),k=Ee(null);const q=o().webBillingProduct.identifier??null;let P=Ee("present-offer"),N=null,L=null;const J=["present-offer","needs-auth-info","processing-auth-info","needs-payment-info","polling-purchase-status","loading"];Vt(Mr,new $e(b(),h(),S())),Vt(Qt,f()),Gr(async()=>{var Z;if(M(v,o().webBillingProduct),M(g,Lo((Z=l())==null?void 0:Z.appearance)),d(P)==="present-offer"){n()?W():M(P,"needs-auth-info");return}});const ie=()=>{_()()},W=()=>{if(q===null){le(new ye(pe.ErrorSettingUpPurchase,"Product ID was not set before purchase."));return}else d(P)==="present-offer"&&M(P,"loading");if(!n()){le(new ye(pe.MissingEmailError));return}m().startPurchase(a(),q,i(),n(),o().webBillingProduct.presentedOfferingContext,s()).then(Z=>{if(Z.next_action==="collect_payment_info"){M(k,null),M(P,"needs-payment-info"),M(E,Z);return}if(Z.next_action==="completed"){M(k,null),M(P,"success");return}}).catch(Z=>{le(Z)})},se=Z=>{if(d(P)==="needs-auth-info"){Z&&(n(Z.email),M(P,"processing-auth-info")),W();return}if(d(P)==="needs-payment-info"){M(P,"polling-purchase-status"),m().pollCurrentPurchaseForCompletion().then(R=>{M(P,"success"),N=R.redemptionInfo,L=R.operationSessionId}).catch(R=>{le(R)});return}if(d(P)==="success"||d(P)==="error"){u()(L,N);return}M(P,"success")},le=Z=>{const R=_c({errorCode:Z.getErrorCode().toString(),errorMessage:Z.message});if(f().trackSDKEvent(R),d(P)==="processing-auth-info"&&Z.isRecoverable()){M(k,Z),M(P,"needs-auth-info");return}M(k,Z),M(P,"error")},Ie=()=>{c()(d(k)??new ye(pe.UnknownError,"Unknown error without state set."))};Xe(),Xc(e,{children:(Z,R)=>{Lc(Z,{get condition(){return t()},children:(fe,ue)=>{Qc(fe,{get style(){return d(g)},children:(sr,cn)=>{var Nr=ud(),Xr=D(Nr);{var lr=Te=>{var re=oe(()=>{var ee;return(ee=l())==null?void 0:ee.appearance});td(Te,{get brandingAppearance(){return d(re)},children:(ee,Ne)=>{var ve=te(),er=D(ve);{var ur=Ae=>{var hr=oe(()=>{var cr;return(cr=l())==null?void 0:cr.appearance});vo(Ae,{get productDetails(){return d(v)},get brandingAppearance(){return d(hr)},get purchaseOption(){return i()}})};j(er,Ae=>{d(v)&&i()&&Ae(ur)})}y(ee,ve)},$$slots:{default:!0,header:(ee,Ne)=>{Gn(ee,{slot:"header",children:(ve,er)=>{var ur=sd(),Ae=D(ur);So(Ae,{get brandingInfo(){return l()}});var hr=A(Ae,2);{var cr=ze=>{Gc(ze)},Ce=ze=>{Vc(ze)};j(hr,ze=>{p().isSandbox()?ze(cr):ze(Ce,!1)})}y(ve,ur)},$$slots:{default:!0}})}}})};j(Xr,Te=>{J.includes(d(P))&&Te(lr)})}var qt=A(Xr,2),mr=oe(()=>{var Te;return(Te=l())==null?void 0:Te.appearance});id(qt,{get brandingAppearance(){return d(mr)},children:(Te,re)=>{var ee=ld(),Ne=D(ee);{var ve=Q=>{vo(Q,{get productDetails(){return d(v)},get purchaseOption(){return i()}})};j(Ne,Q=>{d(P)==="present-offer"&&d(v)&&i()&&Q(ve)})}var er=A(Ne,2);{var ur=Q=>{Bn(Q)};j(er,Q=>{d(P)==="present-offer"&&!d(v)&&Q(ur)})}var Ae=A(er,2);{var hr=Q=>{var Sr=oe(()=>d(P)==="processing-auth-info");Oc(Q,{onContinue:se,onClose:ie,get processing(){return d(Sr)},get lastError(){return d(k)}})};j(Ae,Q=>{(d(P)==="needs-auth-info"||d(P)==="processing-auth-info")&&Q(hr)})}var cr=A(Ae,2);{var Ce=Q=>{var Sr=oe(()=>d(P)==="polling-purchase-status");Sc(Q,{get paymentInfoCollectionMetadata(){return d(E)},onContinue:se,onClose:ie,get processing(){return d(Sr)},get productDetails(){return d(v)},get purchaseOption(){return i()},get brandingInfo(){return l()}})};j(cr,Q=>{d(E)&&(d(P)==="needs-payment-info"||d(P)==="polling-purchase-status")&&d(v)&&i()&&Q(Ce)})}var ze=A(cr,2);{var $r=Q=>{Bn(Q)};j(ze,Q=>{d(P)==="loading"&&Q($r)})}var Rr=A(ze,2);{var et=Q=>{var Sr=oe(()=>d(k)??new ye(pe.UnknownError,"Unknown error without state set.")),fa=oe(()=>{var dn;return(dn=l())==null?void 0:dn.support_email});Su(Q,{get brandingInfo(){return l()},get lastError(){return d(Sr)},get supportEmail(){return d(fa)},get productDetails(){return d(v)},onContinue:Ie})};j(Rr,Q=>{d(P)==="error"&&Q(et)})}var _a=A(Rr,2);{var pa=Q=>{Au(Q,{get productDetails(){return d(v)},get brandingInfo(){return l()},onContinue:se})};j(_a,Q=>{d(P)==="success"&&Q(pa)})}y(Te,ee)},$$slots:{default:!0}}),y(sr,Nr)},$$slots:{default:!0}})},$$slots:{default:!0}})},$$slots:{default:!0}}),ae()}function dd(e){return e.expires_date==null?!0:new Date(e.expires_date)>new Date}function _d(e,r,t,n){const a=r.product_identifier;if(a in t)return pd(e,r,t[a]);if(a in n)return fd(e,r,n[a]);throw new ge(we.CustomerInfoError,"Could not find entitlement product in subscriptions or non-subscriptions.")}function pd(e,r,t){return{identifier:e,isActive:dd(r),willRenew:gd(r,t),store:(t==null?void 0:t.store)??"unknown",latestPurchaseDate:new Date(r.purchase_date),originalPurchaseDate:new Date(r.purchase_date),expirationDate:$t(r.expires_date),productIdentifier:r.product_identifier,unsubscribeDetectedAt:$t(t==null?void 0:t.unsubscribe_detected_at),billingIssueDetectedAt:$t(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 fd(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 md(e,r,t){const n={},a={};for(const o in e){const i=_d(o,e[o],r,t);n[o]=i,i.isActive&&(a[o]=i)}return{all:n,active:a}}function $t(e){return e==null?null:new Date(e)}function hd(e){const r=bd(e),t=e.subscriber,n=kd(t.non_subscriptions);return{entitlements:md(t.entitlements,t.subscriptions,n),allExpirationDatesByProduct:r,allPurchaseDatesByProduct:yd(e,n),activeSubscriptions:vd(r),managementURL:t.management_url,requestDate:new Date(e.request_date),firstSeenDate:new Date(t.first_seen),originalPurchaseDate:$t(t.original_purchase_date),originalAppUserId:e.subscriber.original_app_user_id}}function gd(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 yd(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 bd(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 vd(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 kd(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 zo="0.18.2",wd="https://api.revenuecat.com",Pd="https://e.revenue.cat";var en;(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"})(en||(en={}));function Qn(e){return e?e.startsWith("rcb_sb_"):!1}async function Jr(e,r){const{apiKey:t,body:n,headers:a,httpConfig:o}=r,s=`${(o==null?void 0:o.proxyURL)??wd}${e.urlPath()}`;try{const l=await fetch(s,{method:e.method,headers:Qo(t,a,o==null?void 0:o.additionalHeaders),body:Ed(n)});return await xd(l,e),await l.json()}catch(l){throw l instanceof TypeError?new ge(we.NetworkError,wt.getPublicMessage(we.NetworkError),l.message):l}}async function xd(e,r){const t=e.status;if(t>=en.INTERNAL_SERVER_ERROR)Jn(r,t,await e.text());else if(t>=en.BAD_REQUEST){const n=await e.json(),a=n?JSON.stringify(n):null,o=n==null?void 0:n.code,i=n==null?void 0:n.message;if(o!=null){const s=wt.convertCodeToBackendErrorCode(o);if(s==null)Jn(r,t,a,o);else throw ge.getForBackendError(s,i)}else Jn(r,t,a)}}function Jn(e,r,t,n){throw new ge(we.UnknownBackendError,"Unknown backend error.",`Request: ${e.name}. Status code: ${r}. Body: ${t}.`,{backendErrorCode:n})}function Ed(e){return e==null?null:JSON.stringify(e)}const Vo="Authorization",Ho="Content-Type",Yo="Accept",Go="X-Platform",Wo="X-Version",Zo="X-Is-Sandbox",Sd=new Set([Vo,Ho,Yo,Go,Wo,Zo]);function Qo(e,r,t){let n={[Vo]:`Bearer ${e}`,[Ho]:"application/json",[Yo]:"application/json",[Go]:"web",[Wo]:zo,[Zo]:`${Qn(e)}`};return r&&(n={...n,...r}),t&&(n={...t,...n}),n}const Jo="/v1/subscribers",rn="/rcbilling/v1";class Id{constructor(r){F(this,"appUserId");F(this,"method","GET");F(this,"name","getOfferings");this.appUserId=r}urlPath(){const r=encodeURIComponent(this.appUserId);return`${Jo}/${r}/offerings`}}class Td{constructor(){F(this,"method","POST");F(this,"name","purchase")}urlPath(){return`${rn}/purchase`}}class qd{constructor(r,t,n){F(this,"method","GET");F(this,"name","getProducts");F(this,"appUserId");F(this,"productIds");F(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?`¤cy=${this.currency}`:"";return`${rn}/subscribers/${r}/products?id=${t}${n}`}}class Fd{constructor(r){F(this,"method","GET");F(this,"name","getCustomerInfo");F(this,"appUserId");this.appUserId=r}urlPath(){const r=encodeURIComponent(this.appUserId);return`${Jo}/${r}`}}class Ad{constructor(){F(this,"method","GET");F(this,"name","getBrandingInfo")}urlPath(){return`${rn}/branding`}}class Cd{constructor(r){F(this,"method","GET");F(this,"name","getCheckoutStatus");F(this,"operationSessionId");this.operationSessionId=r}urlPath(){return`${rn}/checkout/${this.operationSessionId}`}}const Kn={};class Dd{constructor(r,t=Kn){F(this,"API_KEY");F(this,"httpConfig");this.API_KEY=r,this.httpConfig=t}async getOfferings(r){return await Jr(new Id(r),{apiKey:this.API_KEY,httpConfig:this.httpConfig})}async getCustomerInfo(r){return await Jr(new Fd(r),{apiKey:this.API_KEY,httpConfig:this.httpConfig})}async getProducts(r,t,n){return await Jr(new qd(r,t,n),{apiKey:this.API_KEY,httpConfig:this.httpConfig})}async getBrandingInfo(){return await Jr(new Ad,{apiKey:this.API_KEY,httpConfig:this.httpConfig})}async postPurchase(r,t,n,a,o,i=void 0,s){const l={app_user_id:r,product_id:t,email:n,price_id:o.priceId,presented_offering_identifier:a.offeringIdentifier,supports_direct_payment:!0,trace_id:s};return i&&(l.metadata=i),o.id!=="base_option"&&(l.offer_id=o.id),a.targetingContext&&(l.applied_targeting_rule={rule_id:a.targetingContext.ruleId,revision:a.targetingContext.revision}),a.placementIdentifier&&(l.presented_placement_identifier=a.placementIdentifier),await Jr(new Td,{apiKey:this.API_KEY,body:l,httpConfig:this.httpConfig})}async getCheckoutStatus(r){return await Jr(new Cd(r),{apiKey:this.API_KEY,httpConfig:this.httpConfig})}}function Od(e){if(!/^rcb_[a-zA-Z0-9_.-]+$/.test(e))throw new ge(we.InvalidCredentialsError,"Invalid API key. Use your Web Billing API key.")}function Md(e){if(new Set(["no_user","null","none","nil","(null)","NaN","\\x00","","unidentified","undefined","unknown"]).has(e)||e.includes("/"))throw new ge(we.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 jd(e){if(e!=null&&e.endsWith("/"))throw new ge(we.ConfigurationError,"Invalid proxy URL. The proxy URL should not end with a trailing slash.")}function Nd(e){if(e){for(const r in e)if(Sd.has(r))throw new ge(we.ConfigurationError,"Invalid additional headers. Some headers are reserved for internal use.")}}var Xn=(e=>(e.Current="current",e))(Xn||{});function Rd(e,r){async function t(...n){return await this.preload(),await e.call(this,...n)}return t}const Ko=(e,r)=>{const t={...e.webBillingProduct,presentedOfferingContext:{...e.webBillingProduct.presentedOfferingContext,placementIdentifier:r}};return{...e,webBillingProduct:t,rcBillingProduct:t}},jr=(e,r)=>e==null?null:Ko(e,r),Ud=(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 s=n[t]??null;if(s==null)return null;o=r[s],o==null&&(o=r[a])}else o=r[a];if(o==null)return null;const i=Object.fromEntries(Object.entries(o.packagesById).map(([s,l])=>[s,Ko(l,t)]));return{...o,packagesById:i,availablePackages:Object.values(i),weekly:jr(o.weekly,t),monthly:jr(o.monthly,t),twoMonth:jr(o.twoMonth,t),threeMonth:jr(o.threeMonth,t),sixMonth:jr(o.sixMonth,t),annual:jr(o.annual,t),lifetime:jr(o.lifetime,t)}};function Ld(e,r){const t={};r.product_details.forEach(o=>{t[o.identifier]=o});const n={};e.offerings.forEach(o=>{const i=o.identifier===e.current_offering_id,s=Dl(i,o,t,e.targeting);s!=null&&(n[o.identifier]=s)});const a=e.current_offering_id?n[e.current_offering_id]??null:null;return Object.keys(n).length==0&&G.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 $n;(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"})($n||($n={}));var tn;(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"})(tn||(tn={}));var nn;(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"})(nn||(nn={}));var an;(function(e){e.leading="start",e.center="center",e.trailing="end"})(an||(an={}));var ea;(function(e){e.vertical="column",e.horizontal="row",e.zlayer="zstack"})(ea||(ea={}));var ra;(function(e){e.top="flex-start",e.leading="flex-start",e.center="center",e.bottom="flex-end",e.trailing="flex-end"})(ra||(ra={}));var ta;(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"})(ta||(ta={}));const Bd=["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"],zd=({value:e="",variableDictionary:r})=>r?Bd.reduce((t,n)=>{var o;return t.replaceAll(`{{ ${n} }}`,((o=r[n])==null?void 0:o.toString())||"N/A")},e):e;function Xo(e,r,t,n){var o;if(!e)return"";const a=(o=n[t])==null?void 0:o[e];return(n[r]||{})[e]?n[r][e]:a}function na({text_lid:e,locale:r,defaultLocale:t,labels:n,variableDictionary:a}){if(!e)return"";const o=Xo(e,r,t,n);return zd({value:o,variableDictionary:a})}const Kr=[];function Vd(e,r){return{subscribe:Hd(e,r).subscribe}}function Hd(e,r=rr){let t=null;const n=new Set;function a(s){if(xa(e,s)&&(e=s,t)){const l=!Kr.length;for(const u of n)u[1](),Kr.push(u,e);if(l){for(let u=0;u<Kr.length;u+=2)Kr[u][0](Kr[u+1]);Kr.length=0}}}function o(s){a(s(e))}function i(s,l=rr){const u=[s,l];return n.add(u),n.size===1&&(t=r(a,o)||rr),s(e),()=>{n.delete(u),n.size===0&&t&&(t(),t=null)}}return{set:a,update:o,subscribe:i}}const $o=Vd(!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()=>{}});function ei(e,r){const t={[`--${r}-block-start`]:"0px",[`--${r}-inline-end`]:"0px",[`--${r}-block-end`]:"0px",[`--${r}-inline-start`]:"0px"};return!e||!r||Object.assign(t,{[`--${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`}),t}function Yd(e){return $n[e]}function fr({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})`;default:return t}}function ri(e,r="light"){if(!e)return"";const t=fr({colorMap:e.color,colorMode:r});return`${e.width}px solid ${t}`}function on(e){return{"--border-start-start-radius":`${e.top_leading}px`,"--border-start-end-radius":`${e.top_trailing}px`,"--border-end-start-radius":`${e.bottom_leading}px`,"--border-end-end-radius":`${e.bottom_trailing}px`}}function sn({background_color:e,border:r,margin:t,padding:n,color:a,colorMode:o="light",shape:i,shadow:s}){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":"initial","--text-color":"initial","--border":"none","--border-end-start-radius":"0px","--border-end-end-radius":"0px","--border-start-start-radius":"0px","--border-start-end-radius":"0px","--shadow":"none"};return n&&Object.assign(l,ei(n,"padding")),t&&Object.assign(l,ei(t,"margin")),e&&(l["--background"]=fr({colorMap:e,colorMode:o,fallback:"transparent"})),a&&(l["--text-color"]=fr({colorMap:a,colorMode:o,fallback:"#000000"})),r&&(l["--border"]=ri(r,o)),(i==null?void 0:i.type)==="rectangle"&&i.corners&&Object.assign(l,on(i.corners)),(i==null?void 0:i.type)==="pill"&&Object.assign(l,on({bottom_leading:9999,bottom_trailing:9999,top_leading:9999,top_trailing:9999})),s&&(l["--shadow"]=`${s.x}px ${s.y}px ${s.radius}px
|
|
125
|
-
${fr({colorMap:s.color,colorMode:o,fallback:"#000000"})}`),l}function ti(e){return e.type==="fixed"?`${e.value}px`:e.type==="fit"?"fit-content":e.type==="fill"?navigator.userAgent.match(/firefox|fxios/i)?"-moz-available":"-webkit-fill-available":"initial"}function It(e){const r={"--width":"initial","--height":"initial","--flex":"initial"},t=ti(e.width),n=ti(e.height),a=e.width.type==="fill"||e.height.type==="fill";return Object.assign(r,{"--width":t,"--height":n,"--flex":a?"initial":"0 1 auto"}),r}function Gd(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 Wd=e=>{const r={"--border-end-start-radius":"0px","--border-end-end-radius":"0px","--border-start-start-radius":"0px","--border-start-end-radius":"0px","--clip-path":"none"};return(e==null?void 0:e.type)==="circle"&&Object.assign(r,{"--border-end-start-radius":"50%","--border-end-end-radius":"50%","--border-start-start-radius":"50%","--border-start-end-radius":"50%"}),(e==null?void 0:e.type)==="rectangle"&&e.corners&&Object.assign(r,on(e.corners)),(e==null?void 0:e.type)==="convex"&&Object.assign(r,{"--border-start-start-radius":"0%","--border-start-end-radius":"0%","--border-end-start-radius":"50%","--border-end-end-radius":"50%"}),(e==null?void 0:e.type)==="concave"&&Object.assign(r,{"--clip-path":"polygon(0 0, 100% 0, 100% 100%, 50% 110%, 0 100%);"}),r};function ni(e){const r={"--inset":"initial","--transform":"initial"};switch(e.alignment){case"top_leading":r["--inset"]="0 auto auto 0";break;case"top":r["--inset"]="auto auto auto 50%",r["--transform"]="translate(-50%, 0)";break;case"top_trailing":r["--inset"]="0 0 auto auto";break;case"leading":r["--inset"]="50% 0 50% 0",r["--transform"]="translate(0, -50%)";break;case"center":r["--inset"]="50% auto auto 50%",r["--transform"]="translate(-50%, -50%)";break;case"trailing":r["--inset"]="50% 0 50% auto",r["--transform"]="translate(0, -50%)";break;case"bottom_leading":r["--inset"]="auto auto 0 0";break;case"bottom":r["--inset"]="auto 50% 0 auto",r["--transform"]="translate(50%, 0)";break;case"bottom_trailing":r["--inset"]="auto 0 0 auto";break}return r}function Zd(e){const r={"--direction":"initial","--alignment":"initial","--distribution":"initial","--position":"relative","--inset":"initial","--transform":"initial"};return e.type!=="zlayer"&&(Object.assign(r,{"--direction":ea[e.type],"--alignment":ra[e.alignment]}),e.distribution&&Object.assign(r,{"--distribution":ta[e.distribution]})),r}function Qd(e,r="light"){var l,u;const{font_size:t,horizontal_alignment:n,font_weight:a,font_name:o,color:i}=e,s={"--text-align":"initial","--font-weight":"initial","--font-size":"initial","--font-family":"sans-serif","--background-clip":"none","--text-fill-color":"none","--background":"unset"};return Object.assign(s,{"--text-align":an[n]||an.leading,"--font-weight":tn[a]||tn.regular,"--font-size":nn[t]||nn.body_m,"--font-family":o||"sans-serif"}),i&&(((l=i[r])==null?void 0:l.type)==="linear"||((u=i[r])==null?void 0:u.type)==="radial")&&Object.assign(s,{"--background-clip":"text","--text-fill-color":"transparent","--background":fr({colorMap:i,colorMode:r})}),s}function Me(e){return Object.entries(e).map(([r,t])=>`${r}: ${t}`).join("; ")}function Jd(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 aa=(e,r)=>r?Kd(r).reduce((a,o)=>{var i;if(e){const s=((i=e==null?void 0:e.states)==null?void 0:i[o])||{};return{...a,...s}}return a},{}):{},Kd=e=>e?Object.entries(e).reduce((t,[n,a])=>(a&&t.push(n),t),[]):[];function Be(e,r){return e?r?Object.entries(e).reduce((t,[n,a])=>{const o=n.replace(/^--/,`${r}-`);return t[`--${o}`]=a,t},{}):e:{}}const ai={light:{type:"hex",value:"#000000"}},Xd={light:{type:"hex",value:"#FFFFFF"}},oa=e=>{const{font_size:r="body_m",color:t=ai,background_color:n=Xd,padding:a,margin:o,size:i,purchaseState:s}=e,l={"--width":"unset","--height":"unset","--text-align":"initial","--font-weight":"initial","--font-size":"initial","--font-family":"sans-serif","--background-clip":"unset","--text-fill-color":"unset","--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":"inherit","--border":"none","--border-end-start-radius":"0px","--border-end-end-radius":"0px","--border-start-start-radius":"0px","--border-start-end-radius":"0px","--shadow":"none","--flex":"0 1 auto"},u=aa(e.overrides,e.componentState),c=Yd(r),_=Qd({...e,...u},s.colorMode),p=sn({background_color:n,color:t,margin:o,padding:a,colorMode:s.colorMode,...u}),f=It({...i,...u}),m={...l,...p,..._,...f};return{textStyles:Be(m,"text"),tagToRender:c}};function $d(e,r,t){const n={"--width":"unset","--height":"unset","--flex":"0 1 auto","--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":"inherit","--border":"none","--border-end-start-radius":"0px","--border-end-end-radius":"0px","--border-start-start-radius":"0px","--border-start-end-radius":"0px","--shadow":"none","--position":"relative","--inset":"0","--transform":"initial"};Object.assign(n,sn({background_color:t,...e}),It(r)),Object.assign(n,e.zStackChildStyles);const a=Be(n,"text");return Me(a)}function e_(e){const r={"--text-margin-block-start":"0px","--text-margin-inline-end":"0px","--text-margin-block-end":"0px","--text-margin-inline-start":"0px","--text-padding-block-start":"0px","--text-padding-inline-end":"0px","--text-padding-block-end":"0px","--text-padding-inline-start":"0px","--text-background":"transparent","--text-text-color":"inherit","--text-border":"none","--text-border-end-start-radius":"0px","--text-border-end-end-radius":"0px","--text-border-start-start-radius":"0px","--text-border-start-end-radius":"0px","--text-shadow":"none","--text-text-align":"initial","--text-font-weight":"initial","--text-font-size":"initial","--text-font-family":"sans-serif","--text-background-clip":"initial","--text-text-fill-color":"initial","--text-width":"unset","--text-height":"unset","--text-flex":"0 1 auto"},{tagToRender:t,textStyles:n}=oa(e);return Object.assign(r,n),{tagToRender:t,textStyles:Me(r)}}function r_(e){return e?Object.values({newLine:{regexp:/\\\n/g,output:"<br/>"},bold:{regexp:/\*\*(.*?)\*\*/g,output:"<b>$1</b>"},italic:{regexp:/\*(.*?)\*/g,output:"<i>$1</i>"},strikethrough:{regexp:/~(.*?)~/g,output:"<s>$1</s>"},code:{regexp:/`(.*?)`/g,output:"<span style='font-family: monospace'>$1</span>"},link:{regexp:/\[(.*?)\]\((.*?)\)/g,output:"<a href=$2 target='_blank' rel='noopener noreferrer'>$1</a>"}}).reduce((t,{regexp:n,output:a})=>t.replaceAll(n,a),e):""}const t_={hash:"svelte-1wz4si8",code:".rc-pw-text-block.svelte-1wz4si8 {display:block;padding-block-start:var(--text-padding-block-start, initial);padding-inline-end:var(--text-padding-inline-end, initial);padding-block-end:var(--text-padding-block-end, initial);padding-inline-start:var(--text-padding-inline-start, initial);margin-block-start:var(--text-margin-block-start, initial);margin-inline-end:var(--text-margin-inline-end, initial);margin-block-end:var(--text-margin-block-end, initial);margin-inline-start:var(--text-margin-inline-start, initial);color:var(--text-text-color, #ffffff);background:var(--text-background, none);font-size:var(--text-font-size, 1rem);font-weight:var(--text-font-weight, normal);text-align:var(--text-text-align, center);font-family:var(--text-font-family, sans-serif);-webkit-background-clip:var(--text-background-clip, initial);background-clip:var(--text-background-clip, initial);-webkit-text-fill-color:var(--text-text-fill-color, initial);}"};function oi(e,r){ne(r,!0),V(e,t_);const t=w(r,"styleVariables",3,""),n=w(r,"component",3,"p");var a=te(),o=D(a);Yt(o,n,!1,(i,s)=>{let l;H(()=>l=Gt(i,l,{id:r.id,style:t(),class:"rc-pw-text-block"},"svelte-1wz4si8",i.namespaceURI===ke,i.nodeName.includes("-")));var u=te(),c=D(u);jn(c,()=>r.children??rr),y(s,u)}),y(e,a),ae()}var n_=x('<span class="rc-pw-text-wrapper svelte-11gzifq"><!></span>');const a_={hash:"svelte-11gzifq",code:".rc-pw-text-wrapper.svelte-11gzifq {display:block;height:var(--text-height, initial);width:var(--text-width, initial);background:var(--text-background, none);position:var(--text-position, relative);inset:var(--text-inset, 0);transform:var(--text-transform, initial);}"};function o_(e,r){ne(r,!0),V(e,a_);const t=Pr(r,["$$slots","$$events","$$legacy","id","labels","text_lid","purchaseState","variableDictionary","background_color","size"]),n=C(()=>e_({id:r.id,labels:r.labels,text_lid:r.text_lid,purchaseState:r.purchaseState,background_color:r.background_color,size:r.size,...t})),a=C(()=>d(n).tagToRender),o=C(()=>d(n).textStyles),i=C(()=>$d(t,r.size,r.background_color)),s=C(()=>na({text_lid:r.text_lid,locale:r.purchaseState.locale,defaultLocale:r.purchaseState.defaultLocale,labels:r.labels,variableDictionary:r.variableDictionary})),l=C(()=>r_(d(s)));var u=n_(),c=I(u);oi(c,{get styleVariables(){return d(o)},get component(){return d(a)},get id(){return r.id},children:(_,p)=>{var f=te(),m=D(f);Or(m,()=>d(l)),y(_,f)},$$slots:{default:!0}}),H(()=>K(u,"style",d(i))),y(e,u),ae()}const i_=(e,r)=>{var t;(t=r.onclick)==null||t.call(r)};var s_=x("<button><!></button>");function ii(e,r){ne(r,!0);var t=s_();t.__click=[i_,r];var n=I(t);jn(n,()=>r.children??rr),H(()=>{Nn(t,ao(r.class)),t.disabled=!r.onclick,K(t,"style",r.style)}),y(e,t),ae()}Dn(["click"]);const l_=e=>{const{background_color:r,margin:t,padding:n,spacing:a,size:o,border:i,shape:s,shadow:l,dimension:u,componentState:c,overrides:_,purchaseState:p,zStackChildStyles:f}=e,m={"--flex":"0 1 auto","--height":"initial","--width":"initial","--spacing":`${a||0}px`,"--direction":"unset","--alignment":"unset","--distribution":"flex-start","--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":"unset","--text-color":"inherit","--border":"none","--border-end-start-radius":"0px","--border-end-end-radius":"0px","--border-start-start-radius":"0px","--border-start-end-radius":"0px","--shadow":"none","--position":"relative","--transform":"initial","--inset":"initial"},h=aa(_,c);Object.assign(m,sn({background_color:r,margin:t,padding:n,border:i,colorMode:p.colorMode,shape:s,shadow:l,...h}),Zd({...u,...h}),It({...o,...h})),Object.assign(m,f);const S=Be(m,"stack");return Me(S)};function u_(e){var a,o,i,s,l,u;const{badge:r}=e;if(!r)return"";const t={"--inset":"unset","--transform":"unset","--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":"unset","--text-color":"inherit","--border":"none","--border-end-start-radius":"0px","--border-end-end-radius":"0px","--border-start-start-radius":"0px","--border-start-end-radius":"0px","--shadow":"none","--badge-width":"unset","--z-index":"unset"};if(Object.assign(t,ni({type:"zlayer",alignment:r.alignment}),sn({...r,background_color:r.background_color,color:r.color,colorMode:e.purchaseState.colorMode})),r.style==="overlay"&&(t["--margin-block-start"]="0px",t["--margin-block-end"]="0px",t["--transform"]=ln(r,0,-(((a=e.border)==null?void 0:a.width)||0))),r.style==="edge_to_edge")if(t["--margin-block-start"]="0px",t["--margin-block-end"]="0px",t["--margin-inline-start"]="0px",t["--margin-inline-end"]="0px",r.alignment==="top"||r.alignment==="bottom"){t["--badge-width"]=`calc(100% + ${(((o=e.border)==null?void 0:o.width)||0)*2}px)`,t["--z-index"]="-1";const c=Math.max(((s=(i=e.shape)==null?void 0:i.corners)==null?void 0:s.top_leading)||0,((u=(l=e.shape)==null?void 0:l.corners)==null?void 0:u.top_trailing)||0);r.alignment==="top"&&(t["--padding-block-end"]=`${c+r.padding.bottom}px`,t["--transform"]=ln(r,c)),r.alignment==="bottom"&&(t["--padding-block-start"]=`${c+r.padding.top}px`,t["--transform"]=ln(r,-c))}else t["--transform"]=ln(r),Object.assign(t,c_(e));const n=Be(t,"stack-badge");return Me(n)}const si={top_leading:"bottom_trailing",top_trailing:"bottom_leading",bottom_leading:"top_trailing",bottom_trailing:"top_leading"},li={top_leading:"--border-start-start-radius",top_trailing:"--border-start-end-radius",bottom_leading:"--border-end-start-radius",bottom_trailing:"--border-end-end-radius"};function c_(e){var o,i,s;const r={"--border-end-start-radius":"0px","--border-end-end-radius":"0px","--border-start-start-radius":"0px","--border-start-end-radius":"0px"},{badge:t}=e;if(!t)return r;const n=((o=e.border)==null?void 0:o.width)||0,a=t.alignment;return r[li[si[a]]]=`${(i=t.shape)==null?void 0:i.corners[si[a]]}px`,r[li[a]]=`${((s=e.shape)==null?void 0:s.corners[a])-n}px`,r}function ln(e,r=0,t=0){if(!e)return"";if(e.style==="overlay"){if(e.alignment==="top_leading")return`translate(${t}px, calc(-50% + ${r}px))`;if(e.alignment==="top_trailing")return`translate(calc(0% - ${t}px), calc(-50% + ${r}px))`;if(e.alignment==="bottom_leading")return`translate(${t}px, calc(50% + ${r}px))`;if(e.alignment==="bottom_trailing")return`translate(calc(0% - ${t}px), calc(50% + ${r}px))`;if(e.alignment==="top")return`translate(calc(-50% + ${t}px), calc(-50% + ${r}px))`;if(e.alignment==="bottom")return`translate(calc(50% + ${t}px), calc(50% + ${r}px))`}if(e.style==="edge_to_edge"){if(e.alignment==="top")return`translate(calc(-50% + ${t}px), calc(-100% - ${r}px + 16px))`;if(e.alignment==="bottom")return`translate(calc(50% + ${t}px), calc(100% + ${r}px))`}return""}function d_(e){const{badge:r}=e;if(!r)return{tagToRender:"",textStyles:""};const{tagToRender:t,textStyles:n}=oa({id:e.id,labels:e.labels,purchaseState:e.purchaseState,...r,components:[],type:"text",size:{width:{type:"fit"},height:{type:"fit"}},color:r==null?void 0:r.color,name:e.name}),o={...n,...{"--text-margin-block-start":"0px","--text-margin-inline-end":"0px","--text-margin-block-end":"0px","--text-margin-inline-start":"0px","--text-padding-block-start":"0px","--text-padding-inline-end":"0px","--text-padding-block-end":"0px","--text-padding-inline-start":"0px"}},i=Me(o);return{tagToRender:t,textStyles:i}}function __(e){const{dimension:r}=e,t={"--inset":"initial","--transform":"initial","--position":"relative"};if(r.type!=="zlayer")return;const n=ni({...r,type:"zlayer"});return Object.assign(t,{...n,"--position":"absolute"}),t}var p_=x('<span class="rc-pw-badge svelte-1b5bst5"><!></span>'),f_=x('<div class="rc-pw-stack-wrapper svelte-1b5bst5"><!> <div class="rc-pw-stack svelte-1b5bst5"></div></div>');const m_={hash:"svelte-1b5bst5",code:`.rc-pw-stack-wrapper.svelte-1b5bst5 {display:block;box-sizing:border-box;width:var(--stack-width, unset);height:var(--stack-height, unset);box-shadow:var(--stack-shadow, none);background:var(--stack-background, unset);position:var(--stack-position, relative);transform:var(--stack-transform, initial);inset:var(--stack-inset, initial);margin-block-start:var(--stack-margin-block-start, 0);margin-inline-end:var(--stack-margin-inline-end, 0);margin-block-end:var(--stack-margin-block-end, 0);margin-inline-start:var(--stack-margin-inline-start, 0);border:var(--stack-border, none);border-end-start-radius:var(--stack-border-end-start-radius, 0px);border-end-end-radius:var(--stack-border-end-end-radius, 0px);border-start-start-radius:var(--stack-border-start-start-radius, 0px);border-start-end-radius:var(--stack-border-start-end-radius, 0px);}.rc-pw-stack.svelte-1b5bst5 {background:none;overflow:hidden;box-sizing:border-box;width:100%;height:100%;display:flex;gap:var(--stack-spacing, 0);flex:var(--stack-flex, 0 1 auto);flex-direction:var(--stack-direction, unset);justify-content:var(--stack-distribution, flex-start);align-items:var(--stack-alignment, flex-start);padding-block-start:var(--stack-padding-block-start, 0);padding-inline-end:var(--stack-padding-inline-end, 0);padding-block-end:var(--stack-padding-block-end, 0);padding-inline-start:var(--stack-padding-inline-start, 0);}.rc-pw-badge.svelte-1b5bst5 {box-sizing:border-box;font-family:var(--stack-badge-font-family, sans-serif);position:absolute;inset:var(--stack-badge-inset, unset);transform:var(--stack-badge-transform, initial);margin-block-start:var(--stack-badge-margin-block-start, 0px);margin-inline-end:var(--stack-badge-margin-inline-end, 0px);margin-block-end:var(--stack-badge-margin-block-end, 0px);margin-inline-start:var(--stack-badge-margin-inline-start, 0px);padding-block-start:var(--stack-badge-padding-block-start, 0px);padding-inline-end:var(--stack-badge-padding-inline-end, 0px);padding-block-end:var(--stack-badge-padding-block-end, 0px);padding-inline-start:var(--stack-badge-padding-inline-start, 0px);background:var(--stack-badge-background, initial);color:var(--stack-badge-text-color, inherit);border:var(--stack-badge-border, none);border-end-start-radius:var(--stack-badge-border-end-start-radius, 0px);border-end-end-radius:var(--stack-badge-border-end-end-radius, 0px);border-start-start-radius:var(
|
|
185
|
+
@container layout-query-container (width >= 768px) {.rcb-app-name.svelte-mtrmkt {font:var(--rc-text-titleLarge-desktop);}
|
|
186
|
+
}`};function xd(e,r){var d,p;X(r,!1),Y(e,Pd);let t=b(r,"brandingInfo",8,null);const n=_=>_==null||_==null||_==""?null:_,a=n((d=t())==null?void 0:d.app_icon),o=n((p=t())==null?void 0:p.app_icon_webp);pe();var i=wd(),s=x(i);{var l=_=>{var h=ne(()=>ei(a)),g=ne(()=>ei(o));kd(_,{get src(){return f(h)},get srcWebp(){return f(g)}})};M(s,_=>{a!==null&&o!==null&&_(l)})}var c=C(s,2),u=x(c);L(()=>{var _;return Oe(u,(_=t())==null?void 0:_.app_name)}),k(e,i),J()}var Sd=q("<!> <!> <!> <!> <!> <!> <!>",1),Ed=q("<!> <!>",1),qd=q("<!> <!>",1);function Fd(e,r){X(r,!1);let t=b(r,"currentView",8),n=b(r,"brandingInfo",8),a=b(r,"productDetails",8),o=b(r,"purchaseOptionToUse",8),i=b(r,"colorVariables",8,""),s=b(r,"isSandbox",8,!1),l=b(r,"handleContinue",8),c=b(r,"closeWithError",8),u=b(r,"onClose",8,void 0),d=b(r,"lastError",8),p=b(r,"paymentInfoCollectionMetadata",8),_=b(r,"purchaseOperationHelper",8),h=b(r,"isInElement",8,!1);const g=!1,v=["present-offer","needs-auth-info","processing-auth-info","needs-payment-info","polling-purchase-status","loading","success","error"];pe();var m=ne(()=>{var y;return(y=n())==null?void 0:y.appearance});mc(e,{get brandingAppearance(){return f(m)},get isInElement(){return h()},children:(y,P)=>{var S=qd(),w=Q(S);{var F=D=>{Hc(D,{get style(){return i()},get isInElement(){return h()}})};M(w,D=>{s()&&D(F)})}var O=C(w,2);yc(O,{get style(){return i()},children:(D,A)=>{var G=Ed(),ce=Q(G);{var de=N=>{var se=ne(()=>{var ie;return(ie=n())==null?void 0:ie.appearance}),Pe=ne(()=>!h());Vc(N,{get brandingAppearance(){return f(se)},get onClose(){return u()},get showCloseButton(){return f(Pe)},shouldShowDetailsButton:g,headerContent:be=>{xd(be,{get brandingInfo(){return n()}})},bodyContent:be=>{var Fe=le(),tr=Q(Fe);{var gr=Ce=>{var ze=ne(()=>{var nr;return(nr=n())==null?void 0:nr.appearance});$o(Ce,{get productDetails(){return a()},get brandingAppearance(){return f(ze)},get purchaseOption(){return o()}})};M(tr,Ce=>{a()&&o()&&Ce(gr)})}k(be,Fe)},$$slots:{headerContent:!0,bodyContent:!0}})};M(ce,N=>{v.includes(t())&&N(de)})}var qe=C(ce,2),ye=ne(()=>{var N;return(N=n())==null?void 0:N.appearance});Jc(qe,{get brandingAppearance(){return f(ye)},body:se=>{var Pe=Sd(),ie=Q(Pe);{var fe=ee=>{$o(ee,{get productDetails(){return a()},get purchaseOption(){return o()}})};M(ie,ee=>{t()==="present-offer"&&a()&&o()&&ee(fe)})}var be=C(ie,2);{var Fe=ee=>{ta(ee)};M(be,ee=>{t()==="present-offer"&&!a()&&ee(Fe)})}var tr=C(be,2);{var gr=ee=>{var lr=ne(()=>t()==="processing-auth-info");Qu(ee,{get onContinue(){return l()},get processing(){return f(lr)},get lastError(){return d()}})};M(tr,ee=>{(t()==="needs-auth-info"||t()==="processing-auth-info")&&ee(gr)})}var Ce=C(tr,2);{var ze=ee=>{var lr=ne(()=>t()==="polling-purchase-status");Bu(ee,{get paymentInfoCollectionMetadata(){return p()},get onContinue(){return l()},get processing(){return f(lr)},get productDetails(){return a()},get purchaseOption(){return o()},get brandingInfo(){return n()},get purchaseOperationHelper(){return _()}})};M(Ce,ee=>{p()&&(t()==="needs-payment-info"||t()==="polling-purchase-status")&&a()&&o()&&ee(ze)})}var nr=C(Ce,2);{var Rr=ee=>{ta(ee)};M(nr,ee=>{t()==="loading"&&ee(Rr)})}var $r=C(nr,2);{var qt=ee=>{var lr=ne(()=>d()??new oe(he.UnknownError,"Unknown error without state set.")),E=ne(()=>{var B;return(B=n())==null?void 0:B.support_email});ed(ee,{get lastError(){return f(lr)},get supportEmail(){return f(E)},get productDetails(){return a()},get onContinue(){return c()}})};M($r,ee=>{t()==="error"&&ee(qt)})}var et=C($r,2);{var Ft=ee=>{od(ee,{get productDetails(){return a()},get onContinue(){return l()}})};M(et,ee=>{t()==="success"&&ee(Ft)})}k(se,Pe)},$$slots:{body:!0}}),k(D,G)},$$slots:{default:!0}}),k(y,S)},$$slots:{default:!0}}),J()}function Id(e,r){X(r,!1);let t=b(r,"customerEmail",12),n=b(r,"appUserId",8),a=b(r,"rcPackage",8),o=b(r,"purchaseOption",8),i=b(r,"metadata",8),s=b(r,"brandingInfo",8),l=b(r,"onFinished",8),c=b(r,"onError",8),u=b(r,"onClose",8,void 0),d=b(r,"purchases",8),p=b(r,"eventsTracker",8),_=b(r,"purchaseOperationHelper",8),h=b(r,"selectedLocale",8,mr),g=b(r,"defaultLocale",8,mr),v=b(r,"customTranslations",24,()=>({})),m=b(r,"isInElement",8,!1),y=xe(""),P=xe(null),S=xe(null),w=xe(null);const F=a().webBillingProduct.identifier??null;let O=xe("present-offer"),D=null,A=null;to(Or,new rr(v(),h(),g())),fr(()=>{m()||(document.documentElement.style.height="100%",document.body.style.height="100%",document.documentElement.style.overflow="hidden")}),Js(()=>{m()||(document.documentElement.style.height="auto",document.body.style.height="auto",document.documentElement.style.overflow="auto")}),to(nn,p()),fr(async()=>{var N;if(R(P,a().webBillingProduct),R(y,Lo((N=s())==null?void 0:N.appearance)),f(O)==="present-offer"){t()?G():R(O,"needs-auth-info");return}});const G=()=>{if(F===null){de(new oe(he.ErrorSettingUpPurchase,"Product ID was not set before purchase."));return}else f(O)==="present-offer"&&R(O,"loading");if(!t()){de(new oe(he.MissingEmailError));return}_().checkoutStart(n(),F,o(),a().webBillingProduct.presentedOfferingContext,t(),i()).then(N=>{R(w,null),R(O,"needs-payment-info"),R(S,N)}).catch(N=>{de(N)})},ce=(N={})=>{if(N.error){de(N.error);return}if(f(O)==="needs-auth-info"){N.authInfo&&(t(N.authInfo.email),R(O,"processing-auth-info")),G();return}if(f(O)==="needs-payment-info"){R(O,"polling-purchase-status"),_().pollCurrentPurchaseForCompletion().then(se=>{R(O,"success"),D=se.redemptionInfo,A=se.operationSessionId}).catch(se=>{de(se)});return}if(f(O)==="success"||f(O)==="error"){l()(A,D);return}R(O,"success")},de=N=>{const se=Eu({errorCode:N.getErrorCode().toString(),errorMessage:N.message});if(p().trackSDKEvent(se),f(O)==="processing-auth-info"&&N.isRecoverable()){R(w,N),R(O,"needs-auth-info");return}R(w,N),R(O,"error")},qe=()=>{c()(f(w)??new oe(he.UnknownError,"Unknown error without state set."))};pe();var ye=ne(()=>d().isSandbox());Fd(e,{get isSandbox(){return f(ye)},get currentView(){return f(O)},get brandingInfo(){return s()},get productDetails(){return f(P)},get purchaseOptionToUse(){return o()},handleContinue:ce,get lastError(){return f(w)},get paymentInfoCollectionMetadata(){return f(S)},get purchaseOperationHelper(){return _()},closeWithError:qe,get colorVariables(){return f(y)},get isInElement(){return m()},get onClose(){return u()}}),J()}function Td(e){return e.expires_date==null?!0:new Date(e.expires_date)>new Date}function Ad(e,r,t,n){const a=r.product_identifier;if(a in t)return Dd(e,r,t[a]);if(a in n)return Cd(e,r,n[a]);throw new ge(Se.CustomerInfoError,"Could not find entitlement product in subscriptions or non-subscriptions.")}function Dd(e,r,t){return{identifier:e,isActive:Td(r),willRenew:Od(r,t),store:(t==null?void 0:t.store)??"unknown",latestPurchaseDate:new Date(r.purchase_date),originalPurchaseDate:new Date(r.purchase_date),expirationDate:an(r.expires_date),productIdentifier:r.product_identifier,unsubscribeDetectedAt:an(t==null?void 0:t.unsubscribe_detected_at),billingIssueDetectedAt:an(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 Cd(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 Md(e,r,t){const n={},a={};for(const o in e){const i=Ad(o,e[o],r,t);n[o]=i,i.isActive&&(a[o]=i)}return{all:n,active:a}}function an(e){return e==null?null:new Date(e)}function Nd(e){const r=Rd(e),t=e.subscriber,n=zd(t.non_subscriptions);return{entitlements:Md(t.entitlements,t.subscriptions,n),allExpirationDatesByProduct:r,allPurchaseDatesByProduct:jd(e,n),activeSubscriptions:Ld(r),managementURL:t.management_url,requestDate:new Date(e.request_date),firstSeenDate:new Date(t.first_seen),originalPurchaseDate:an(t.original_purchase_date),originalAppUserId:e.subscriber.original_app_user_id}}function Od(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 jd(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 Rd(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 Ld(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 zd(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 ri="1.0.1",Ud="https://api.revenuecat.com",Bd="https://e.revenue.cat";var on;(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"})(on||(on={}));function na(e){return e?e.startsWith("rcb_sb_"):!1}async function qr(e,r){const{apiKey:t,body:n,headers:a,httpConfig:o}=r,s=`${(o==null?void 0:o.proxyURL)??Ud}${e.urlPath()}`;try{const l=await fetch(s,{method:e.method,headers:li(t,a,o==null?void 0:o.additionalHeaders),body:Wd(n)});return await Vd(l,e),await l.json()}catch(l){throw l instanceof TypeError?new ge(Se.NetworkError,bt.getPublicMessage(Se.NetworkError),l.message):l}}async function Vd(e,r){const t=e.status;if(t>=on.INTERNAL_SERVER_ERROR)aa(r,t,await e.text());else if(t>=on.BAD_REQUEST){const n=await e.json(),a=n?JSON.stringify(n):null,o=n==null?void 0:n.code,i=n==null?void 0:n.message;if(o!=null){const s=bt.convertCodeToBackendErrorCode(o);if(s==null)aa(r,t,a,o);else throw ge.getForBackendError(s,i)}else aa(r,t,a)}}function aa(e,r,t,n){throw new ge(Se.UnknownBackendError,"Unknown backend error.",`Request: ${e.name}. Status code: ${r}. Body: ${t}.`,{backendErrorCode:n})}function Wd(e){return e==null?null:JSON.stringify(e)}const ti="Authorization",ni="Content-Type",ai="Accept",oi="X-Platform",ii="X-Version",si="X-Is-Sandbox",Yd=new Set([ti,ni,ai,oi,ii,si]);function li(e,r,t){let n={[ti]:`Bearer ${e}`,[ni]:"application/json",[ai]:"application/json",[oi]:"web",[ii]:ri,[si]:`${na(e)}`};return r&&(n={...n,...r}),t&&(n={...t,...n}),n}const ci="/v1/subscribers",Zr="/rcbilling/v1";class Hd{constructor(r){I(this,"appUserId");I(this,"method","GET");I(this,"name","getOfferings");this.appUserId=r}urlPath(){const r=encodeURIComponent(this.appUserId);return`${ci}/${r}/offerings`}}class Gd{constructor(r,t,n){I(this,"method","GET");I(this,"name","getProducts");I(this,"appUserId");I(this,"productIds");I(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?`¤cy=${this.currency}`:"";return`${Zr}/subscribers/${r}/products?id=${t}${n}`}}class Xd{constructor(r){I(this,"method","GET");I(this,"name","getCustomerInfo");I(this,"appUserId");this.appUserId=r}urlPath(){const r=encodeURIComponent(this.appUserId);return`${ci}/${r}`}}class Jd{constructor(){I(this,"method","GET");I(this,"name","getBrandingInfo")}urlPath(){return`${Zr}/branding`}}class Qd{constructor(){I(this,"method","POST");I(this,"name","postCheckoutStart")}urlPath(){return`${Zr}/checkout/start`}}class Zd{constructor(r){I(this,"method","POST");I(this,"name","postCheckoutCalculateTaxes");I(this,"operationSessionId");this.operationSessionId=r}urlPath(){return`${Zr}/checkout/${this.operationSessionId}/calculate_taxes`}}class Kd{constructor(r){I(this,"method","POST");I(this,"name","postCheckoutComplete");I(this,"operationSessionId");this.operationSessionId=r}urlPath(){return`${Zr}/checkout/${this.operationSessionId}/complete`}}class $d{constructor(r){I(this,"method","GET");I(this,"name","getCheckoutStatus");I(this,"operationSessionId");this.operationSessionId=r}urlPath(){return`${Zr}/checkout/${this.operationSessionId}`}}const oa={};class e_{constructor(r,t=oa){I(this,"API_KEY");I(this,"httpConfig");this.API_KEY=r,this.httpConfig=t}async getOfferings(r){return await qr(new Hd(r),{apiKey:this.API_KEY,httpConfig:this.httpConfig})}async getCustomerInfo(r){return await qr(new Xd(r),{apiKey:this.API_KEY,httpConfig:this.httpConfig})}async getProducts(r,t,n){return await qr(new Gd(r,t,n),{apiKey:this.API_KEY,httpConfig:this.httpConfig})}async getBrandingInfo(){return await qr(new Jd,{apiKey:this.API_KEY,httpConfig:this.httpConfig})}async postCheckoutStart(r,t,n,a,o,i,s=void 0){const l={app_user_id:r,product_id:t,email:i,price_id:a.priceId,presented_offering_identifier:n.offeringIdentifier,trace_id:o};return s&&(l.metadata=s),a.id!=="base_option"&&(l.offer_id=a.id),n.targetingContext&&(l.applied_targeting_rule={rule_id:n.targetingContext.ruleId,revision:n.targetingContext.revision}),n.placementIdentifier&&(l.presented_placement_identifier=n.placementIdentifier),await qr(new Qd,{apiKey:this.API_KEY,body:l,httpConfig:this.httpConfig})}async postCheckoutCalculateTaxes(r,t,n){const a={country_code:t,postal_code:n};return await qr(new Zd(r),{apiKey:this.API_KEY,body:a,httpConfig:this.httpConfig})}async postCheckoutComplete(r,t){const n={email:t};return await qr(new Kd(r),{apiKey:this.API_KEY,body:n,httpConfig:this.httpConfig})}async getCheckoutStatus(r){return await qr(new $d(r),{apiKey:this.API_KEY,httpConfig:this.httpConfig})}}function r_(e){if(!/^rcb_[a-zA-Z0-9_.-]+$/.test(e))throw new ge(Se.InvalidCredentialsError,"Invalid API key. Use your Web Billing API key.")}function t_(e){if(new Set(["no_user","null","none","nil","(null)","NaN","\\x00","","unidentified","undefined","unknown"]).has(e)||e.includes("/"))throw new ge(Se.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 n_(e){if(e!=null&&e.endsWith("/"))throw new ge(Se.ConfigurationError,"Invalid proxy URL. The proxy URL should not end with a trailing slash.")}function a_(e){if(e){for(const r in e)if(Yd.has(r))throw new ge(Se.ConfigurationError,"Invalid additional headers. Some headers are reserved for internal use.")}}var ia=(e=>(e.Current="current",e))(ia||{});function o_(e,r){async function t(...n){return await this.preload(),await e.call(this,...n)}return t}const ui=(e,r)=>{const t={...e.webBillingProduct,presentedOfferingContext:{...e.webBillingProduct.presentedOfferingContext,placementIdentifier:r}};return{...e,webBillingProduct:t,rcBillingProduct:t}},jr=(e,r)=>e==null?null:ui(e,r),i_=(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 s=n[t]??null;if(s==null)return null;o=r[s],o==null&&(o=r[a])}else o=r[a];if(o==null)return null;const i=Object.fromEntries(Object.entries(o.packagesById).map(([s,l])=>[s,ui(l,t)]));return{...o,packagesById:i,availablePackages:Object.values(i),weekly:jr(o.weekly,t),monthly:jr(o.monthly,t),twoMonth:jr(o.twoMonth,t),threeMonth:jr(o.threeMonth,t),sixMonth:jr(o.sixMonth,t),annual:jr(o.annual,t),lifetime:jr(o.lifetime,t)}};function s_(e,r){const t={};r.product_details.forEach(o=>{t[o.identifier]=o});const n={};e.offerings.forEach(o=>{const i=o.identifier===e.current_offering_id,s=Yl(i,o,t,e.targeting);s!=null&&(n[o.identifier]=s)});const a=e.current_offering_id?n[e.current_offering_id]??null:null;return Object.keys(n).length==0&&H.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 sa;(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"})(sa||(sa={}));var sn;(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"})(sn||(sn={}));var ln;(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"})(ln||(ln={}));var cn;(function(e){e.leading="start",e.center="center",e.trailing="end"})(cn||(cn={}));var la;(function(e){e.vertical="column",e.horizontal="row",e.zlayer="zstack"})(la||(la={}));var ca;(function(e){e.top="flex-start",e.leading="flex-start",e.center="center",e.bottom="flex-end",e.trailing="flex-end"})(ca||(ca={}));var ua;(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"})(ua||(ua={}));const l_=["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"],c_=({value:e="",variableDictionary:r})=>r?l_.reduce((t,n)=>{var o;return t.replaceAll(`{{ ${n} }}`,((o=r[n])==null?void 0:o.toString())||"N/A")},e):e;function di(e,r,t,n){var o;if(!e)return"";const a=(o=n[t])==null?void 0:o[e];return(n[r]||{})[e]?n[r][e]:a}function da({text_lid:e,locale:r,defaultLocale:t,labels:n,variableDictionary:a}){if(!e)return"";const o=di(e,r,t,n);return c_({value:o,variableDictionary:a})}const Kr=[];function u_(e,r){return{subscribe:d_(e,r).subscribe}}function d_(e,r=ue){let t=null;const n=new Set;function a(s){if(Ta(e,s)&&(e=s,t)){const l=!Kr.length;for(const c of n)c[1](),Kr.push(c,e);if(l){for(let c=0;c<Kr.length;c+=2)Kr[c][0](Kr[c+1]);Kr.length=0}}}function o(s){a(s(e))}function i(s,l=ue){const c=[s,l];return n.add(c),n.size===1&&(t=r(a,o)||ue),s(e),()=>{n.delete(c),n.size===0&&t&&(t(),t=null)}}return{set:a,update:o,subscribe:i}}const _i=u_(!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()=>{}});function pi(e,r){const t={[`--${r}-block-start`]:"0px",[`--${r}-inline-end`]:"0px",[`--${r}-block-end`]:"0px",[`--${r}-inline-start`]:"0px"};return!e||!r||Object.assign(t,{[`--${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`}),t}function __(e){return sa[e]}function hr({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})`;default:return t}}function fi(e,r="light"){if(!e)return"";const t=hr({colorMap:e.color,colorMode:r});return`${e.width}px solid ${t}`}function un(e){return{"--border-start-start-radius":`${e.top_leading}px`,"--border-start-end-radius":`${e.top_trailing}px`,"--border-end-start-radius":`${e.bottom_leading}px`,"--border-end-end-radius":`${e.bottom_trailing}px`}}function dn({background_color:e,border:r,margin:t,padding:n,color:a,colorMode:o="light",shape:i,shadow:s}){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":"initial","--text-color":"initial","--border":"none","--border-end-start-radius":"0px","--border-end-end-radius":"0px","--border-start-start-radius":"0px","--border-start-end-radius":"0px","--shadow":"none"};return n&&Object.assign(l,pi(n,"padding")),t&&Object.assign(l,pi(t,"margin")),e&&(l["--background"]=hr({colorMap:e,colorMode:o,fallback:"transparent"})),a&&(l["--text-color"]=hr({colorMap:a,colorMode:o,fallback:"#000000"})),r&&(l["--border"]=fi(r,o)),(i==null?void 0:i.type)==="rectangle"&&i.corners&&Object.assign(l,un(i.corners)),(i==null?void 0:i.type)==="pill"&&Object.assign(l,un({bottom_leading:9999,bottom_trailing:9999,top_leading:9999,top_trailing:9999})),s&&(l["--shadow"]=`${s.x}px ${s.y}px ${s.radius}px
|
|
187
|
+
${hr({colorMap:s.color,colorMode:o,fallback:"#000000"})}`),l}function mi(e){return e.type==="fixed"?`${e.value}px`:e.type==="fit"?"fit-content":e.type==="fill"?navigator.userAgent.match(/firefox|fxios/i)?"-moz-available":"-webkit-fill-available":"initial"}function St(e){const r={"--width":"initial","--height":"initial","--flex":"initial"},t=mi(e.width),n=mi(e.height),a=e.width.type==="fill"||e.height.type==="fill";return Object.assign(r,{"--width":t,"--height":n,"--flex":a?"initial":"0 1 auto"}),r}function p_(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 f_=e=>{const r={"--border-end-start-radius":"0px","--border-end-end-radius":"0px","--border-start-start-radius":"0px","--border-start-end-radius":"0px","--clip-path":"none"};return(e==null?void 0:e.type)==="circle"&&Object.assign(r,{"--border-end-start-radius":"50%","--border-end-end-radius":"50%","--border-start-start-radius":"50%","--border-start-end-radius":"50%"}),(e==null?void 0:e.type)==="rectangle"&&e.corners&&Object.assign(r,un(e.corners)),(e==null?void 0:e.type)==="convex"&&Object.assign(r,{"--border-start-start-radius":"0%","--border-start-end-radius":"0%","--border-end-start-radius":"50%","--border-end-end-radius":"50%"}),(e==null?void 0:e.type)==="concave"&&Object.assign(r,{"--clip-path":"polygon(0 0, 100% 0, 100% 100%, 50% 110%, 0 100%);"}),r};function hi(e){const r={"--inset":"initial","--transform":"initial"};switch(e.alignment){case"top_leading":r["--inset"]="0 auto auto 0";break;case"top":r["--inset"]="auto auto auto 50%",r["--transform"]="translate(-50%, 0)";break;case"top_trailing":r["--inset"]="0 0 auto auto";break;case"leading":r["--inset"]="50% 0 50% 0",r["--transform"]="translate(0, -50%)";break;case"center":r["--inset"]="50% auto auto 50%",r["--transform"]="translate(-50%, -50%)";break;case"trailing":r["--inset"]="50% 0 50% auto",r["--transform"]="translate(0, -50%)";break;case"bottom_leading":r["--inset"]="auto auto 0 0";break;case"bottom":r["--inset"]="auto 50% 0 auto",r["--transform"]="translate(50%, 0)";break;case"bottom_trailing":r["--inset"]="auto 0 0 auto";break}return r}function m_(e){const r={"--direction":"initial","--alignment":"initial","--distribution":"initial","--position":"relative","--inset":"initial","--transform":"initial"};return e.type!=="zlayer"&&(Object.assign(r,{"--direction":la[e.type],"--alignment":ca[e.alignment]}),e.distribution&&Object.assign(r,{"--distribution":ua[e.distribution]})),r}function h_(e,r="light"){var l,c;const{font_size:t,horizontal_alignment:n,font_weight:a,font_name:o,color:i}=e,s={"--text-align":"initial","--font-weight":"initial","--font-size":"initial","--font-family":"sans-serif","--background-clip":"none","--text-fill-color":"none","--background":"unset"};return Object.assign(s,{"--text-align":cn[n]||cn.leading,"--font-weight":sn[a]||sn.regular,"--font-size":ln[t]||ln.body_m,"--font-family":o||"sans-serif"}),i&&(((l=i[r])==null?void 0:l.type)==="linear"||((c=i[r])==null?void 0:c.type)==="radial")&&Object.assign(s,{"--background-clip":"text","--text-fill-color":"transparent","--background":hr({colorMap:i,colorMode:r})}),s}function Re(e){return Object.entries(e).map(([r,t])=>`${r}: ${t}`).join("; ")}function g_(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 _a=(e,r)=>r?y_(r).reduce((a,o)=>{var i;if(e){const s=((i=e==null?void 0:e.states)==null?void 0:i[o])||{};return{...a,...s}}return a},{}):{},y_=e=>e?Object.entries(e).reduce((t,[n,a])=>(a&&t.push(n),t),[]):[];function Ye(e,r){return e?r?Object.entries(e).reduce((t,[n,a])=>{const o=n.replace(/^--/,`${r}-`);return t[`--${o}`]=a,t},{}):e:{}}const gi={light:{type:"hex",value:"#000000"}},b_={light:{type:"hex",value:"#FFFFFF"}},pa=e=>{const{font_size:r="body_m",color:t=gi,background_color:n=b_,padding:a,margin:o,size:i,purchaseState:s}=e,l={"--width":"unset","--height":"unset","--text-align":"initial","--font-weight":"initial","--font-size":"initial","--font-family":"sans-serif","--background-clip":"unset","--text-fill-color":"unset","--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":"inherit","--border":"none","--border-end-start-radius":"0px","--border-end-end-radius":"0px","--border-start-start-radius":"0px","--border-start-end-radius":"0px","--shadow":"none","--flex":"0 1 auto"},c=_a(e.overrides,e.componentState),u=__(r),d=h_({...e,...c},s.colorMode),p=dn({background_color:n,color:t,margin:o,padding:a,colorMode:s.colorMode,...c}),_=St({...i,...c}),h={...l,...p,...d,..._};return{textStyles:Ye(h,"text"),tagToRender:u}};function v_(e,r,t){const n={"--width":"unset","--height":"unset","--flex":"0 1 auto","--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":"inherit","--border":"none","--border-end-start-radius":"0px","--border-end-end-radius":"0px","--border-start-start-radius":"0px","--border-start-end-radius":"0px","--shadow":"none","--position":"relative","--inset":"0","--transform":"initial"};Object.assign(n,dn({background_color:t,...e}),St(r)),Object.assign(n,e.zStackChildStyles);const a=Ye(n,"text");return Re(a)}function k_(e){const r={"--text-margin-block-start":"0px","--text-margin-inline-end":"0px","--text-margin-block-end":"0px","--text-margin-inline-start":"0px","--text-padding-block-start":"0px","--text-padding-inline-end":"0px","--text-padding-block-end":"0px","--text-padding-inline-start":"0px","--text-background":"transparent","--text-text-color":"inherit","--text-border":"none","--text-border-end-start-radius":"0px","--text-border-end-end-radius":"0px","--text-border-start-start-radius":"0px","--text-border-start-end-radius":"0px","--text-shadow":"none","--text-text-align":"initial","--text-font-weight":"initial","--text-font-size":"initial","--text-font-family":"sans-serif","--text-background-clip":"initial","--text-text-fill-color":"initial","--text-width":"unset","--text-height":"unset","--text-flex":"0 1 auto"},{tagToRender:t,textStyles:n}=pa(e);return Object.assign(r,n),{tagToRender:t,textStyles:Re(r)}}function w_(e){return e?Object.values({newLine:{regexp:/\\\n/g,output:"<br/>"},bold:{regexp:/\*\*(.*?)\*\*/g,output:"<b>$1</b>"},italic:{regexp:/\*(.*?)\*/g,output:"<i>$1</i>"},strikethrough:{regexp:/~(.*?)~/g,output:"<s>$1</s>"},code:{regexp:/`(.*?)`/g,output:"<span style='font-family: monospace'>$1</span>"},link:{regexp:/\[(.*?)\]\((.*?)\)/g,output:"<a href=$2 target='_blank' rel='noopener noreferrer'>$1</a>"}}).reduce((t,{regexp:n,output:a})=>t.replaceAll(n,a),e):""}const P_={hash:"svelte-1wz4si8",code:".rc-pw-text-block.svelte-1wz4si8 {display:block;padding-block-start:var(--text-padding-block-start, initial);padding-inline-end:var(--text-padding-inline-end, initial);padding-block-end:var(--text-padding-block-end, initial);padding-inline-start:var(--text-padding-inline-start, initial);margin-block-start:var(--text-margin-block-start, initial);margin-inline-end:var(--text-margin-inline-end, initial);margin-block-end:var(--text-margin-block-end, initial);margin-inline-start:var(--text-margin-inline-start, initial);color:var(--text-text-color, #ffffff);background:var(--text-background, none);font-size:var(--text-font-size, 1rem);font-weight:var(--text-font-weight, normal);text-align:var(--text-text-align, center);font-family:var(--text-font-family, sans-serif);-webkit-background-clip:var(--text-background-clip, initial);background-clip:var(--text-background-clip, initial);-webkit-text-fill-color:var(--text-text-fill-color, initial);}"};function yi(e,r){X(r,!0),Y(e,P_);const t=b(r,"styleVariables",3,""),n=b(r,"component",3,"p");var a=le(),o=Q(a);Gt(o,n,!1,(i,s)=>{let l;L(()=>l=Xt(i,l,{id:r.id,style:t(),class:"rc-pw-text-block"},"svelte-1wz4si8",i.namespaceURI===cr,i.nodeName.includes("-")));var c=le(),u=Q(c);Te(u,()=>r.children??ue),k(s,c)}),k(e,a),J()}var x_=q('<span class="rc-pw-text-wrapper svelte-11gzifq"><!></span>');const S_={hash:"svelte-11gzifq",code:".rc-pw-text-wrapper.svelte-11gzifq {display:block;height:var(--text-height, initial);width:var(--text-width, initial);background:var(--text-background, none);position:var(--text-position, relative);inset:var(--text-inset, 0);transform:var(--text-transform, initial);}"};function E_(e,r){X(r,!0),Y(e,S_);const t=xr(r,["$$slots","$$events","$$legacy","id","labels","text_lid","purchaseState","variableDictionary","background_color","size"]),n=j(()=>k_({id:r.id,labels:r.labels,text_lid:r.text_lid,purchaseState:r.purchaseState,background_color:r.background_color,size:r.size,...t})),a=j(()=>f(n).tagToRender),o=j(()=>f(n).textStyles),i=j(()=>v_(t,r.size,r.background_color)),s=j(()=>da({text_lid:r.text_lid,locale:r.purchaseState.locale,defaultLocale:r.purchaseState.defaultLocale,labels:r.labels,variableDictionary:r.variableDictionary})),l=j(()=>w_(f(s)));var c=x_(),u=x(c);yi(u,{get styleVariables(){return f(o)},get component(){return f(a)},get id(){return r.id},children:(d,p)=>{var _=le(),h=Q(_);yt(h,()=>f(l)),k(d,_)},$$slots:{default:!0}}),L(()=>K(c,"style",f(i))),k(e,c),J()}const q_=(e,r)=>{var t;(t=r.onclick)==null||t.call(r)};var F_=q("<button><!></button>");function bi(e,r){X(r,!0);var t=F_();t.__click=[q_,r];var n=x(t);Te(n,()=>r.children??ue),L(()=>{Jt(t,po(r.class)),t.disabled=!r.onclick,K(t,"style",r.style)}),k(e,t),J()}jn(["click"]);const I_=e=>{const{background_color:r,margin:t,padding:n,spacing:a,size:o,border:i,shape:s,shadow:l,dimension:c,componentState:u,overrides:d,purchaseState:p,zStackChildStyles:_}=e,h={"--flex":"0 1 auto","--height":"initial","--width":"initial","--spacing":`${a||0}px`,"--direction":"unset","--alignment":"unset","--distribution":"flex-start","--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":"unset","--text-color":"inherit","--border":"none","--border-end-start-radius":"0px","--border-end-end-radius":"0px","--border-start-start-radius":"0px","--border-start-end-radius":"0px","--shadow":"none","--position":"relative","--transform":"initial","--inset":"initial"},g=_a(d,u);Object.assign(h,dn({background_color:r,margin:t,padding:n,border:i,colorMode:p.colorMode,shape:s,shadow:l,...g}),m_({...c,...g}),St({...o,...g})),Object.assign(h,_);const v=Ye(h,"stack");return Re(v)};function T_(e){var a,o,i,s,l,c;const{badge:r}=e;if(!r)return"";const t={"--inset":"unset","--transform":"unset","--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":"unset","--text-color":"inherit","--border":"none","--border-end-start-radius":"0px","--border-end-end-radius":"0px","--border-start-start-radius":"0px","--border-start-end-radius":"0px","--shadow":"none","--badge-width":"unset","--z-index":"unset"};if(Object.assign(t,hi({type:"zlayer",alignment:r.alignment}),dn({...r,background_color:r.background_color,color:r.color,colorMode:e.purchaseState.colorMode})),r.style==="overlay"&&(t["--margin-block-start"]="0px",t["--margin-block-end"]="0px",t["--transform"]=_n(r,0,-(((a=e.border)==null?void 0:a.width)||0))),r.style==="edge_to_edge")if(t["--margin-block-start"]="0px",t["--margin-block-end"]="0px",t["--margin-inline-start"]="0px",t["--margin-inline-end"]="0px",r.alignment==="top"||r.alignment==="bottom"){t["--badge-width"]=`calc(100% + ${(((o=e.border)==null?void 0:o.width)||0)*2}px)`,t["--z-index"]="-1";const u=Math.max(((s=(i=e.shape)==null?void 0:i.corners)==null?void 0:s.top_leading)||0,((c=(l=e.shape)==null?void 0:l.corners)==null?void 0:c.top_trailing)||0);r.alignment==="top"&&(t["--padding-block-end"]=`${u+r.padding.bottom}px`,t["--transform"]=_n(r,u)),r.alignment==="bottom"&&(t["--padding-block-start"]=`${u+r.padding.top}px`,t["--transform"]=_n(r,-u))}else t["--transform"]=_n(r),Object.assign(t,A_(e));const n=Ye(t,"stack-badge");return Re(n)}const vi={top_leading:"bottom_trailing",top_trailing:"bottom_leading",bottom_leading:"top_trailing",bottom_trailing:"top_leading"},ki={top_leading:"--border-start-start-radius",top_trailing:"--border-start-end-radius",bottom_leading:"--border-end-start-radius",bottom_trailing:"--border-end-end-radius"};function A_(e){var o,i,s;const r={"--border-end-start-radius":"0px","--border-end-end-radius":"0px","--border-start-start-radius":"0px","--border-start-end-radius":"0px"},{badge:t}=e;if(!t)return r;const n=((o=e.border)==null?void 0:o.width)||0,a=t.alignment;return r[ki[vi[a]]]=`${(i=t.shape)==null?void 0:i.corners[vi[a]]}px`,r[ki[a]]=`${((s=e.shape)==null?void 0:s.corners[a])-n}px`,r}function _n(e,r=0,t=0){if(!e)return"";if(e.style==="overlay"){if(e.alignment==="top_leading")return`translate(${t}px, calc(-50% + ${r}px))`;if(e.alignment==="top_trailing")return`translate(calc(0% - ${t}px), calc(-50% + ${r}px))`;if(e.alignment==="bottom_leading")return`translate(${t}px, calc(50% + ${r}px))`;if(e.alignment==="bottom_trailing")return`translate(calc(0% - ${t}px), calc(50% + ${r}px))`;if(e.alignment==="top")return`translate(calc(-50% + ${t}px), calc(-50% + ${r}px))`;if(e.alignment==="bottom")return`translate(calc(50% + ${t}px), calc(50% + ${r}px))`}if(e.style==="edge_to_edge"){if(e.alignment==="top")return`translate(calc(-50% + ${t}px), calc(-100% - ${r}px + 16px))`;if(e.alignment==="bottom")return`translate(calc(50% + ${t}px), calc(100% + ${r}px))`}return""}function D_(e){const{badge:r}=e;if(!r)return{tagToRender:"",textStyles:""};const{tagToRender:t,textStyles:n}=pa({id:e.id,labels:e.labels,purchaseState:e.purchaseState,...r,components:[],type:"text",size:{width:{type:"fit"},height:{type:"fit"}},color:r==null?void 0:r.color,name:e.name}),o={...n,...{"--text-margin-block-start":"0px","--text-margin-inline-end":"0px","--text-margin-block-end":"0px","--text-margin-inline-start":"0px","--text-padding-block-start":"0px","--text-padding-inline-end":"0px","--text-padding-block-end":"0px","--text-padding-inline-start":"0px"}},i=Re(o);return{tagToRender:t,textStyles:i}}function C_(e){const{dimension:r}=e,t={"--inset":"initial","--transform":"initial","--position":"relative"};if(r.type!=="zlayer")return;const n=hi({...r,type:"zlayer"});return Object.assign(t,{...n,"--position":"absolute"}),t}var M_=q('<span class="rc-pw-badge svelte-1b5bst5"><!></span>'),N_=q('<div class="rc-pw-stack-wrapper svelte-1b5bst5"><!> <div class="rc-pw-stack svelte-1b5bst5"></div></div>');const O_={hash:"svelte-1b5bst5",code:`.rc-pw-stack-wrapper.svelte-1b5bst5 {display:block;box-sizing:border-box;width:var(--stack-width, unset);height:var(--stack-height, unset);box-shadow:var(--stack-shadow, none);background:var(--stack-background, unset);position:var(--stack-position, relative);transform:var(--stack-transform, initial);inset:var(--stack-inset, initial);margin-block-start:var(--stack-margin-block-start, 0);margin-inline-end:var(--stack-margin-inline-end, 0);margin-block-end:var(--stack-margin-block-end, 0);margin-inline-start:var(--stack-margin-inline-start, 0);border:var(--stack-border, none);border-end-start-radius:var(--stack-border-end-start-radius, 0px);border-end-end-radius:var(--stack-border-end-end-radius, 0px);border-start-start-radius:var(--stack-border-start-start-radius, 0px);border-start-end-radius:var(--stack-border-start-end-radius, 0px);}.rc-pw-stack.svelte-1b5bst5 {background:none;overflow:hidden;box-sizing:border-box;width:100%;height:100%;display:flex;gap:var(--stack-spacing, 0);flex:var(--stack-flex, 0 1 auto);flex-direction:var(--stack-direction, unset);justify-content:var(--stack-distribution, flex-start);align-items:var(--stack-alignment, flex-start);padding-block-start:var(--stack-padding-block-start, 0);padding-inline-end:var(--stack-padding-inline-end, 0);padding-block-end:var(--stack-padding-block-end, 0);padding-inline-start:var(--stack-padding-inline-start, 0);}.rc-pw-badge.svelte-1b5bst5 {box-sizing:border-box;font-family:var(--stack-badge-font-family, sans-serif);position:absolute;inset:var(--stack-badge-inset, unset);transform:var(--stack-badge-transform, initial);margin-block-start:var(--stack-badge-margin-block-start, 0px);margin-inline-end:var(--stack-badge-margin-inline-end, 0px);margin-block-end:var(--stack-badge-margin-block-end, 0px);margin-inline-start:var(--stack-badge-margin-inline-start, 0px);padding-block-start:var(--stack-badge-padding-block-start, 0px);padding-inline-end:var(--stack-badge-padding-inline-end, 0px);padding-block-end:var(--stack-badge-padding-block-end, 0px);padding-inline-start:var(--stack-badge-padding-inline-start, 0px);background:var(--stack-badge-background, initial);color:var(--stack-badge-text-color, inherit);border:var(--stack-badge-border, none);border-end-start-radius:var(--stack-badge-border-end-start-radius, 0px);border-end-end-radius:var(--stack-badge-border-end-end-radius, 0px);border-start-start-radius:var(
|
|
126
188
|
--stack-badge-border-start-start-radius,
|
|
127
189
|
0px
|
|
128
|
-
);border-start-end-radius:var(--stack-badge-border-start-end-radius, 0px);box-shadow:var(--stack-badge-shadow, none);display:flex;align-items:center;justify-content:center;width:var(--stack-badge-badge-width, max-content);height:var(--stack-badge-badge-height, max-content);z-index:var(--stack-badge-z-index, 1);}`};function
|
|
190
|
+
);border-start-end-radius:var(--stack-badge-border-start-end-radius, 0px);box-shadow:var(--stack-badge-shadow, none);display:flex;align-items:center;justify-content:center;width:var(--stack-badge-badge-width, max-content);height:var(--stack-badge-badge-height, max-content);z-index:var(--stack-badge-z-index, 1);}`};function Et(e,r){X(r,!0),Y(e,O_);const t=xr(r,["$$slots","$$events","$$legacy","id","components","labels","onAction","purchaseState","variableDictionary","badge","zStackChildStyles"]),n=j(()=>I_({id:r.id,components:r.components,labels:r.labels,onAction:r.onAction,purchaseState:r.purchaseState,zStackChildStyles:r.zStackChildStyles,...t})),a=j(()=>T_({id:r.id,components:r.components,labels:r.labels,onAction:r.onAction,purchaseState:r.purchaseState,badge:r.badge,...t})),o=j(()=>C_({id:r.id,components:r.components,labels:r.labels,onAction:r.onAction,purchaseState:r.purchaseState,...t})),i=j(()=>{var h;return da({defaultLocale:r.purchaseState.defaultLocale,locale:r.purchaseState.locale,labels:r.labels,variableDictionary:r.variableDictionary,text_lid:(h=r.badge)==null?void 0:h.text_lid})}),s=j(()=>D_({id:r.id,components:r.components,labels:r.labels,onAction:r.onAction,purchaseState:r.purchaseState,variableDictionary:r.variableDictionary,badge:r.badge,...t})),l=j(()=>f(s).tagToRender),c=j(()=>f(s).textStyles);var u=N_(),d=x(u);{var p=h=>{var g=M_(),v=x(g);yi(v,{get styleVariables(){return f(c)},get component(){return f(l)},children:(m,y)=>{var P=Yr();L(()=>Oe(P,f(i))),k(m,P)},$$slots:{default:!0}}),L(()=>K(g,"style",f(a))),k(h,g)};M(d,h=>{r.badge&&h(p)})}var _=C(d,2);Bn(_,21,()=>r.components,Un,(h,g,v)=>{var m=le(),y=Q(m);{var P=w=>{var F=j(()=>v>0?f(o):void 0);pn(w,{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},get componentState(){return r.componentState},get zStackChildStyles(){return f(F)}})},S=w=>{pn(w,{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},get componentState(){return r.componentState}})};M(y,w=>{f(o)?w(P):w(S,!1)})}k(h,m)}),L(()=>{K(u,"id",r.id),K(u,"style",f(n))}),k(e,u),J()}function j_({stack:e,zStackChildStyles:r}){var i,s;const t=((s=(i=e==null?void 0:e.size)==null?void 0:i.width)==null?void 0:s.type)==="fill"?"100%":"fit-content",n=Ye(r||{},"button");return Re({...n,...{position:"var(--button-position, relative)",inset:"var(--button-inset, 0)",transform:"var(--button-transform, initial)",width:t}})}const R_={hash:"svelte-bq8o6o",code:""};function L_(e,r){X(r,!0),Y(e,R_);const t=xr(r,["$$slots","$$events","$$legacy","stack","action","onAction","labels","purchaseState","variableDictionary"]),n=()=>{r.onAction&&r.onAction(r.action)},a=j(()=>j_({stack:r.stack,action:r.action,onAction:r.onAction,labels:r.labels,purchaseState:r.purchaseState,variableDictionary:r.variableDictionary,...t}));bi(e,{onclick:n,get style(){return f(a)},class:"rc-pw-button",children:(o,i)=>{Et(o,Sr(()=>r.stack,{get labels(){return r.labels},get purchaseState(){return r.purchaseState},get variableDictionary(){return r.variableDictionary}}))},$$slots:{default:!0}}),J()}function pn(e,r){X(r,!0);const t=Po(),n=()=>wo(_i,"$prefersDarkMode",t),a={stack:Et,text:E_,image:K_,button:L_,purchase_button:rp,package:op,footer:wi,timeline:pp},o=p=>{if(a[p.type])return[a[p.type],p];const{fallback:_}=p;if(_&&a[_==null?void 0:_.type])return[a[_.type],_];throw new Error(`Invalid component type: ${p.type}`)},i=xr(r,["$$slots","$$events","$$legacy","nodeData","labels","onAction","purchaseState","variableDictionary","zStackChildStyles"]),s=j(()=>o(r.nodeData)),l=j(()=>f(s)[0]),c=j(()=>f(s)[1]);var u=le(),d=Q(u);return zs(d,()=>f(l),(p,_)=>{_(p,Sr(()=>f(c)||{},{get labels(){return r.labels},get prefersDarkMode(){return n()},get onAction(){return r.onAction},get purchaseState(){return r.purchaseState},get variableDictionary(){return r.variableDictionary},get zStackChildStyles(){return r.zStackChildStyles}},()=>i,{children:(h,g)=>{var v=le(),m=Q(v);Bn(m,17,()=>r.nodeData.components,Un,(y,P)=>{pn(y,Sr({get nodeData(){return f(P)},get labels(){return r.labels},get onAction(){return r.onAction},get purchaseState(){return r.purchaseState},get variableDictionary(){return r.variableDictionary}},()=>i))}),k(h,v)},$$slots:{default:!0}}))}),k(e,u),J({getComponentClass:o})}function z_({background:e,colorMode:r}){const t={"--background":"initial"};(e==null?void 0:e.type)==="color"&&Object.assign(t,{"--background":hr({colorMap:e.value,colorMode:r,fallback:"transparent"})});const n=Ye(t,"paywall");return Re(n)}function U_(e,r){var n,a,o,i;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)||((i=t.value.light)==null?void 0:i.original)}var B_=q('<div class="rc-pw-footer svelte-pg5jlz"><!></div>');const V_={hash:"svelte-pg5jlz",code:".rc-pw-footer.svelte-pg5jlz {position:sticky;bottom:0;transform:translateY(50%);width:100%;}"};function wi(e,r){Y(e,V_);var t=B_(),n=x(t);Et(n,Sr(()=>r.stack,{get labels(){return r.labels},get purchaseState(){return r.purchaseState},get variableDictionary(){return r.variableDictionary},get onAction(){return r.onAction}})),L(()=>K(t,"id",r.id)),k(e,t)}var W_=q('<div class="rc-pw-paywall-background svelte-bpa118"></div>'),Y_=q('<div class="rc-pw-paywall-background rc-pw-image-container svelte-bpa118"><img class="rc-pw-image svelte-bpa118" alt=""></div>'),H_=q('<div class="rc-pw-paywall svelte-bpa118"><!> <!> <!></div>');const G_={hash:"svelte-bpa118",code:`.rc-pw-paywall.svelte-bpa118 {position:relative;display:block;max-height:100%;}.rc-pw-paywall-background.svelte-bpa118 {position:absolute;top:0;left:0;width:100%;height:100%;background:var(--paywall-background, none);z-index:-1;}.rc-pw-image-container.svelte-bpa118 {overflow:hidden;background:none;}.rc-pw-image.svelte-bpa118 {width:100%;height:100%;object-fit:cover;display:block;}*,
|
|
129
191
|
*::before,
|
|
130
192
|
*::after {box-sizing:border-box;margin:0;padding:0;font-family:sans-serif;}body {line-height:1.5;-webkit-font-smoothing:antialiased;}img,
|
|
131
193
|
picture,
|
|
@@ -146,12 +208,12 @@
|
|
|
146
208
|
h4,
|
|
147
209
|
h5,
|
|
148
210
|
h6 {text-wrap:balance;}#root,
|
|
149
|
-
#__next {isolation:isolate;}`};function I_(e,r){ne(r,!0),V(e,S_);const t=po(),n=()=>_o($o,"$prefersDarkMode",t),a=w(r,"variablesPerPackage",19,()=>({}));let o=_r({selectedPackageId:Jd(r.paywallData),locale:r.selectedLocale||r.paywallData.default_locale,defaultLocale:r.paywallData.default_locale,variablesPerPackage:a(),colorMode:r.preferredColorMode||(n()?"dark":"light")}),i=Xi(_r(a()[o.selectedPackageId||""]));const s=(b,g)=>{var v;(v=r.onRestorePurchasesClicked)==null||v.call(r)},l=(b,g)=>{var v;(v=r.onBackClicked)==null||v.call(r)},u=(b,g)=>{var E,k;if(b.destination==="customer_center"&&((E=r.onVisitCustomerCenterClicked)==null||E.call(r)),!b.url)return;const v=Xo(b.url.url_lid,o.locale,o.defaultLocale,r.paywallData.components_localizations);v&&((k=r.onNavigateToUrlClicked)==null||k.call(r,v))},c=(b,g)=>{o.selectedPackageId=g==null?void 0:g.packageId,g!=null&&g.packageId&&M(i,_r(a()[g.packageId]))},_=(b,g)=>{var v;o.selectedPackageId!==void 0&&((v=r.onPurchaseClicked)==null||v.call(r,o.selectedPackageId))},p=(b,g)=>{switch(b.type){case"select_package":c(b,g);break;case"navigate_to":u(b);break;case"navigate_back":l();break;case"restore_purchases":s();break;case"purchase":_();break}},f=C(()=>{var b;return b_({background:(b=r.paywallData.components_config.base)==null?void 0:b.background,colorMode:o.colorMode})}),m=C(()=>v_(r.paywallData,o.colorMode));var h=te(),S=D(h);Bs(S,{get onerror(){return r.onError}},b=>{var g=E_(),v=I(g);un(v,{onAction:p,get nodeData(){return r.paywallData.components_config.base.stack},get labels(){return r.paywallData.components_localizations},get purchaseState(){return o},get variableDictionary(){return d(i)}});var E=A(v,2);{var k=L=>{ui(L,xr(()=>r.paywallData.components_config.base.sticky_footer,{get stack(){return r.paywallData.components_config.base.sticky_footer.stack},get labels(){return r.paywallData.components_localizations},get purchaseState(){return o},get variableDictionary(){return d(i)},onAction:p}))};j(E,L=>{r.paywallData.components_config.base.sticky_footer&&L(k)})}var q=A(E,2);{var P=L=>{var J=P_();H(()=>K(J,"style",d(f))),y(L,J)},N=L=>{var J=te(),ie=D(J);{var W=se=>{var le=x_(),Ie=I(le);H(()=>K(Ie,"src",d(m))),y(se,le)};j(ie,se=>{var le;((le=r.paywallData.components_config.base.background)==null?void 0:le.type)==="image"&&se(W)},!0)}y(L,J)};j(q,L=>{var J;((J=r.paywallData.components_config.base.background)==null?void 0:J.type)==="color"?L(P):L(N,!1)})}y(b,g)}),y(e,h),ae()}const T_=e=>{const{gradient_colors:r,mask_shape:t,size:n,overrides:a,componentState:o,purchaseState:i,zStackChildStyles:s}=e,l={"--height":"unset","--width":"unset","--clip-path":"none","--border-end-start-radius":"unset","--border-end-end-radius":"unset","--border-start-start-radius":"unset","--border-start-end-radius":"unset","--position":"relative","--inset":"0","--transform":"initial"};Object.assign(l,s);const u={"--background":"none"},c=aa(a,o);Object.assign(u,Gd(i.colorMode,(c==null?void 0:c.gradient_colors)||r)),Object.assign(l,It({...n,...c})),Object.assign(l,Wd({...t,...c}));const _=Be(l,"image"),p=Be(u,"image");return{imageStyles:Me(_),gradientStyles:Me(p)}};var q_=x('<div class="rc-pw-image-container svelte-yv61ni"><img class="rc-pw-image svelte-yv61ni" alt=""> <span class="rc-pw-image-overlay svelte-yv61ni"></span></div>');const F_={hash:"svelte-yv61ni",code:".rc-pw-image-container.svelte-yv61ni {position:relative;overflow:hidden;border-end-start-radius:var(--image-border-end-start-radius, 0px);border-end-end-radius:var(--image-border-end-end-radius, 0px);border-start-start-radius:var(--image-border-start-start-radius, 0px);border-start-end-radius:var(--image-border-start-end-radius, 0px);clip-path:var(--image-clip-path, initial);display:flex;flex:var(--image-flex, 1 1 auto);position:var(--image-position, relative);inset:var(--image-inset, 0);transform:var(--image-transform, initial);height:var(--image-height, initial);width:var(--image-width, initial);}.rc-pw-image.svelte-yv61ni {width:100%;height:100%;object-fit:cover;display:block;}.rc-pw-image-overlay.svelte-yv61ni {position:absolute;inset:0;background:var(--image-background, none);}"};function A_(e,r){ne(r,!0),V(e,F_);const t=Pr(r,["$$slots","$$events","$$legacy","id","source","purchaseState"]),n=C(()=>T_({id:r.id,colorMode:r.purchaseState.colorMode,source:r.source,purchaseState:r.purchaseState,...t})),a=C(()=>d(n).gradientStyles),o=C(()=>d(n).imageStyles),i=C(()=>{var _;const c=r.purchaseState.colorMode;return(_=r.source[c])!=null&&_.original?r.source[c].original:r.source.light.original});var s=q_(),l=I(s),u=A(l,2);H(()=>{K(s,"id",`rc-pw-image-container-${r.id}`),K(s,"style",d(o)),K(l,"src",d(i)),K(l,"id",r.id),K(u,"style",d(a))}),y(e,s),ae()}function C_({stack:e,zStackChildStyles:r}){const t=e.size.width.type==="fill"?"100%":"fit-content",n=Be(r||{},"purchase-button");return Me({...n,...{position:"var(--purchase-button-position, relative)",inset:"var(--purchase-button-inset, 0)",transform:"var(--purchase-button-transform, initial)",width:t}})}const D_={hash:"svelte-1x8zwdp",code:""};function O_(e,r){ne(r,!0),V(e,D_);const t=Pr(r,["$$slots","$$events","$$legacy","stack","labels","onAction","purchaseState","variableDictionary","zStackChildStyles"]),n=()=>{r.onAction&&r.onAction({type:"purchase"})},a=C(()=>C_({stack:r.stack,labels:r.labels,onAction:r.onAction,purchaseState:r.purchaseState,variableDictionary:r.variableDictionary,zStackChildStyles:r.zStackChildStyles,...t}));ii(e,{onclick:n,class:"rc-pw-purchase-button",get style(){return d(a)},children:(o,i)=>{Tt(o,xr(()=>r.stack,{get labels(){return r.labels},get purchaseState(){return r.purchaseState},get variableDictionary(){return r.variableDictionary}}))},$$slots:{default:!0}}),ae()}const M_=(e,r)=>{e.preventDefault(),e.stopPropagation(),r.onAction&&r.onAction({type:"select_package"},{packageId:r.package_id})};var j_=x('<button class="rc-pw-package svelte-123kamd"><!></button>');const N_={hash:"svelte-123kamd",code:".rc-pw-package.svelte-123kamd {width:100%;display:flex;margin:0;padding:0;background:initial;border:initial;text-align:initial;position:var(--package-position, relative);inset:var(--package-inset, 0);transform:var(--package-transform, initial);}"};function R_(e,r){ne(r,!0),V(e,N_);const t=C(()=>{var s;return((s=r.purchaseState.variablesPerPackage)==null?void 0:s[r.package_id])||r.variableDictionary}),n=C(()=>{var s;return{selected:((s=r.purchaseState)==null?void 0:s.selectedPackageId)===r.package_id}}),a=C(()=>Me(Be(r.zStackChildStyles,"package")));var o=j_();o.__click=[M_,r];var i=I(o);Tt(i,xr(()=>r.stack,{get labels(){return r.labels},get onAction(){return r.onAction},get purchaseState(){return r.purchaseState},get componentState(){return d(n)},get variableDictionary(){return d(t)}})),H(()=>{K(o,"id",r.id),K(o,"style",d(a)),As(o,"selected",d(n).selected)}),y(e,o),ae()}Dn(["click"]);function U_(e){const r={"--item-spacing":`${e.item_spacing}px`,"--width":"initial","--height":"initial","--flex":"0 1 auto","--position":"relative","--inset":"0","--transform":"initial"};Object.assign(r,It(e.size)),Object.assign(r,e.zStackChildStyles);const t=Be(r,"timeline");return Me(t)}function L_(e){var n,a,o,i,s,l,u,c,_,p;const r={"--icon-size":`${e.icon.width_and_height}px`,"--icon-padding":`${e.icon.padding}px`,"--icon-color":fr({colorMap:e.icon.color,colorMode:(n=e.purchaseState)==null?void 0:n.colorMode}),"--icon-background-color":fr({colorMap:(a=e.icon_background)==null?void 0:a.color,colorMode:e.purchaseState.colorMode}),"--icon-border":ri((o=e.icon_background)==null?void 0:o.border,(i=e.purchaseState)==null?void 0:i.colorMode),"--text-spacing":`${e.text_spacing}px`,"--border-start-start-radius":"0px","--border-start-end-radius":"0px","--border-end-start-radius":"0px","--border-end-end-radius":"0px","--connector-color":fr({colorMap:(s=e.connector)==null?void 0:s.color,colorMode:e.purchaseState.colorMode}),"--connector-width":`${((l=e.connector)==null?void 0:l.width)||0}px`,"--connector-top":"0px","--connector-height":`${e.item_spacing}px`};if(Object.assign(r,((c=(u=e.icon_background)==null?void 0:u.shape)==null?void 0:c.type)==="rectangle"?on((p=(_=e.icon_background)==null?void 0:_.shape)==null?void 0:p.corners):{"--border-start-start-radius":"50%","--border-start-end-radius":"50%","--border-end-start-radius":"50%","--border-end-end-radius":"50%"}),e.connector){const f=e.connector.margin.top!==0,m=e.connector.margin.bottom!==0,h=e.icon.padding+e.icon.width_and_height/2;!f&&!m&&(r["--connector-height"]=`${e.item_spacing+h*2}px`,r["--connector-top"]="50%"),f&&m&&(r["--connector-height"]=`${e.item_spacing-e.connector.margin.top-e.connector.margin.bottom}px`,r["--connector-top"]=`calc(100% + ${e.connector.margin.top}px)`),!f&&m&&(r["--connector-height"]=`${e.item_spacing-e.connector.margin.bottom+h}px`,r["--connector-top"]="50%"),f&&!m&&(r["--connector-height"]=`${e.item_spacing+h}px`,r["--connector-top"]=`calc(100% + ${e.connector.margin.top}px)`)}const t=Be(r,"timeline-item");return Me(t)}function ci(e,r="title"){var l,u,c,_,p;const t={"--text-color":"inherit","--text-font-size":"initial","--text-font-weight":"initial","--text-horizontal-alignment":"initial","--text-margin-block-start":"0px","--text-margin-inline-end":"0px","--text-margin-block-end":"0px","--text-margin-inline-start":"0px","--text-padding-block-start":"0px","--text-padding-inline-end":"0px","--text-padding-block-end":"0px","--text-padding-inline-start":"0px"},n={color:((l=e[r])==null?void 0:l.color)||ai,font_size:((u=e[r])==null?void 0:u.font_size)||"body_m",font_weight:((c=e[r])==null?void 0:c.font_weight)||"regular",horizontal_alignment:((_=e[r])==null?void 0:_.horizontal_alignment)||"leading"},{tagToRender:a,textStyles:o}=oa({...e,components:[],...n,size:{width:{type:"fit"},height:{type:"fit"}},type:"text",margin:{top:0,bottom:0,leading:0,trailing:0},padding:{top:0,bottom:0,leading:0,trailing:0},text_lid:""});Object.assign(t,o);const i=Me(Be(t,"timeline-item")),s=na({text_lid:(p=e[r])==null?void 0:p.text_lid,locale:e.purchaseState.locale,defaultLocale:e.purchaseState.defaultLocale,labels:e.labels,variableDictionary:e.variableDictionary});return{textStyles:i,tagToRender:a,textLabel:s}}var B_=x('<div class="rc-pw-timeline-item svelte-gjmo4g"><div class="rc-pw-timeline-item-icon-container svelte-gjmo4g"><div class="rc-pw-timeline-item-icon svelte-gjmo4g"></div></div> <div class="rc-pw-timeline-item-content svelte-gjmo4g"><!> <!></div></div>');const z_={hash:"svelte-gjmo4g",code:`.rc-pw-timeline-item.svelte-gjmo4g {display:flex;align-items:center;gap:var(--timeline-item-spacing, 0px);}.rc-pw-timeline-item-icon-container.svelte-gjmo4g {position:relative;border-end-start-radius:var(--timeline-item-border-end-start-radius, 0px);border-end-end-radius:var(--timeline-item-border-end-end-radius, 0px);border-start-start-radius:var(
|
|
211
|
+
#__next {isolation:isolate;}`};function X_(e,r){X(r,!0),Y(e,G_);const t=Po(),n=()=>wo(_i,"$prefersDarkMode",t),a=b(r,"variablesPerPackage",19,()=>({}));let o=ur({selectedPackageId:g_(r.paywallData),locale:r.selectedLocale||r.paywallData.default_locale,defaultLocale:r.paywallData.default_locale,variablesPerPackage:a(),colorMode:r.preferredColorMode||(n()?"dark":"light")}),i=ds(ur(a()[o.selectedPackageId||""]));const s=(m,y)=>{var P;(P=r.onRestorePurchasesClicked)==null||P.call(r)},l=(m,y)=>{var P;(P=r.onBackClicked)==null||P.call(r)},c=(m,y)=>{var S,w;if(m.destination==="customer_center"&&((S=r.onVisitCustomerCenterClicked)==null||S.call(r)),!m.url)return;const P=di(m.url.url_lid,o.locale,o.defaultLocale,r.paywallData.components_localizations);P&&((w=r.onNavigateToUrlClicked)==null||w.call(r,P))},u=(m,y)=>{o.selectedPackageId=y==null?void 0:y.packageId,y!=null&&y.packageId&&R(i,ur(a()[y.packageId]))},d=(m,y)=>{var P;o.selectedPackageId!==void 0&&((P=r.onPurchaseClicked)==null||P.call(r,o.selectedPackageId))},p=(m,y)=>{switch(m.type){case"select_package":u(m,y);break;case"navigate_to":c(m);break;case"navigate_back":l();break;case"restore_purchases":s();break;case"purchase":d();break}},_=j(()=>{var m;return z_({background:(m=r.paywallData.components_config.base)==null?void 0:m.background,colorMode:o.colorMode})}),h=j(()=>U_(r.paywallData,o.colorMode));var g=le(),v=Q(g);rl(v,{get onerror(){return r.onError}},m=>{var y=H_(),P=x(y);pn(P,{onAction:p,get nodeData(){return r.paywallData.components_config.base.stack},get labels(){return r.paywallData.components_localizations},get purchaseState(){return o},get variableDictionary(){return f(i)}});var S=C(P,2);{var w=A=>{wi(A,Sr(()=>r.paywallData.components_config.base.sticky_footer,{get stack(){return r.paywallData.components_config.base.sticky_footer.stack},get labels(){return r.paywallData.components_localizations},get purchaseState(){return o},get variableDictionary(){return f(i)},onAction:p}))};M(S,A=>{r.paywallData.components_config.base.sticky_footer&&A(w)})}var F=C(S,2);{var O=A=>{var G=W_();L(()=>K(G,"style",f(_))),k(A,G)},D=A=>{var G=le(),ce=Q(G);{var de=qe=>{var ye=Y_(),N=x(ye);L(()=>K(N,"src",f(h))),k(qe,ye)};M(ce,qe=>{var ye;((ye=r.paywallData.components_config.base.background)==null?void 0:ye.type)==="image"&&qe(de)},!0)}k(A,G)};M(F,A=>{var G;((G=r.paywallData.components_config.base.background)==null?void 0:G.type)==="color"?A(O):A(D,!1)})}k(m,y)}),k(e,g),J()}const J_=e=>{const{gradient_colors:r,mask_shape:t,size:n,overrides:a,componentState:o,purchaseState:i,zStackChildStyles:s}=e,l={"--height":"unset","--width":"unset","--clip-path":"none","--border-end-start-radius":"unset","--border-end-end-radius":"unset","--border-start-start-radius":"unset","--border-start-end-radius":"unset","--position":"relative","--inset":"0","--transform":"initial"};Object.assign(l,s);const c={"--background":"none"},u=_a(a,o);Object.assign(c,p_(i.colorMode,(u==null?void 0:u.gradient_colors)||r)),Object.assign(l,St({...n,...u})),Object.assign(l,f_({...t,...u}));const d=Ye(l,"image"),p=Ye(c,"image");return{imageStyles:Re(d),gradientStyles:Re(p)}};var Q_=q('<div class="rc-pw-image-container svelte-yv61ni"><img class="rc-pw-image svelte-yv61ni" alt=""> <span class="rc-pw-image-overlay svelte-yv61ni"></span></div>');const Z_={hash:"svelte-yv61ni",code:".rc-pw-image-container.svelte-yv61ni {position:relative;overflow:hidden;border-end-start-radius:var(--image-border-end-start-radius, 0px);border-end-end-radius:var(--image-border-end-end-radius, 0px);border-start-start-radius:var(--image-border-start-start-radius, 0px);border-start-end-radius:var(--image-border-start-end-radius, 0px);clip-path:var(--image-clip-path, initial);display:flex;flex:var(--image-flex, 1 1 auto);position:var(--image-position, relative);inset:var(--image-inset, 0);transform:var(--image-transform, initial);height:var(--image-height, initial);width:var(--image-width, initial);}.rc-pw-image.svelte-yv61ni {width:100%;height:100%;object-fit:cover;display:block;}.rc-pw-image-overlay.svelte-yv61ni {position:absolute;inset:0;background:var(--image-background, none);}"};function K_(e,r){X(r,!0),Y(e,Z_);const t=xr(r,["$$slots","$$events","$$legacy","id","source","purchaseState"]),n=j(()=>J_({id:r.id,colorMode:r.purchaseState.colorMode,source:r.source,purchaseState:r.purchaseState,...t})),a=j(()=>f(n).gradientStyles),o=j(()=>f(n).imageStyles),i=j(()=>{var d;const u=r.purchaseState.colorMode;return(d=r.source[u])!=null&&d.original?r.source[u].original:r.source.light.original});var s=Q_(),l=x(s),c=C(l,2);L(()=>{K(s,"id",`rc-pw-image-container-${r.id}`),K(s,"style",f(o)),K(l,"src",f(i)),K(l,"id",r.id),K(c,"style",f(a))}),k(e,s),J()}function $_({stack:e,zStackChildStyles:r}){const t=e.size.width.type==="fill"?"100%":"fit-content",n=Ye(r||{},"purchase-button");return Re({...n,...{position:"var(--purchase-button-position, relative)",inset:"var(--purchase-button-inset, 0)",transform:"var(--purchase-button-transform, initial)",width:t}})}const ep={hash:"svelte-1x8zwdp",code:""};function rp(e,r){X(r,!0),Y(e,ep);const t=xr(r,["$$slots","$$events","$$legacy","stack","labels","onAction","purchaseState","variableDictionary","zStackChildStyles"]),n=()=>{r.onAction&&r.onAction({type:"purchase"})},a=j(()=>$_({stack:r.stack,labels:r.labels,onAction:r.onAction,purchaseState:r.purchaseState,variableDictionary:r.variableDictionary,zStackChildStyles:r.zStackChildStyles,...t}));bi(e,{onclick:n,class:"rc-pw-purchase-button",get style(){return f(a)},children:(o,i)=>{Et(o,Sr(()=>r.stack,{get labels(){return r.labels},get purchaseState(){return r.purchaseState},get variableDictionary(){return r.variableDictionary}}))},$$slots:{default:!0}}),J()}const tp=(e,r)=>{e.preventDefault(),e.stopPropagation(),r.onAction&&r.onAction({type:"select_package"},{packageId:r.package_id})};var np=q('<button class="rc-pw-package svelte-123kamd"><!></button>');const ap={hash:"svelte-123kamd",code:".rc-pw-package.svelte-123kamd {width:100%;display:flex;margin:0;padding:0;background:initial;border:initial;text-align:initial;position:var(--package-position, relative);inset:var(--package-inset, 0);transform:var(--package-transform, initial);}"};function op(e,r){X(r,!0),Y(e,ap);const t=j(()=>{var s;return((s=r.purchaseState.variablesPerPackage)==null?void 0:s[r.package_id])||r.variableDictionary}),n=j(()=>{var s;return{selected:((s=r.purchaseState)==null?void 0:s.selectedPackageId)===r.package_id}}),a=j(()=>Re(Ye(r.zStackChildStyles,"package")));var o=np();o.__click=[tp,r];var i=x(o);Et(i,Sr(()=>r.stack,{get labels(){return r.labels},get onAction(){return r.onAction},get purchaseState(){return r.purchaseState},get componentState(){return f(n)},get variableDictionary(){return f(t)}})),L(()=>{K(o,"id",r.id),K(o,"style",f(a)),Gr(o,"selected",f(n).selected)}),k(e,o),J()}jn(["click"]);function ip(e){const r={"--item-spacing":`${e.item_spacing}px`,"--width":"initial","--height":"initial","--flex":"0 1 auto","--position":"relative","--inset":"0","--transform":"initial"};Object.assign(r,St(e.size)),Object.assign(r,e.zStackChildStyles);const t=Ye(r,"timeline");return Re(t)}function sp(e){var n,a,o,i,s,l,c,u,d,p;const r={"--icon-size":`${e.icon.width_and_height}px`,"--icon-padding":`${e.icon.padding}px`,"--icon-color":hr({colorMap:e.icon.color,colorMode:(n=e.purchaseState)==null?void 0:n.colorMode}),"--icon-background-color":hr({colorMap:(a=e.icon_background)==null?void 0:a.color,colorMode:e.purchaseState.colorMode}),"--icon-border":fi((o=e.icon_background)==null?void 0:o.border,(i=e.purchaseState)==null?void 0:i.colorMode),"--text-spacing":`${e.text_spacing}px`,"--border-start-start-radius":"0px","--border-start-end-radius":"0px","--border-end-start-radius":"0px","--border-end-end-radius":"0px","--connector-color":hr({colorMap:(s=e.connector)==null?void 0:s.color,colorMode:e.purchaseState.colorMode}),"--connector-width":`${((l=e.connector)==null?void 0:l.width)||0}px`,"--connector-top":"0px","--connector-height":`${e.item_spacing}px`};if(Object.assign(r,((u=(c=e.icon_background)==null?void 0:c.shape)==null?void 0:u.type)==="rectangle"?un((p=(d=e.icon_background)==null?void 0:d.shape)==null?void 0:p.corners):{"--border-start-start-radius":"50%","--border-start-end-radius":"50%","--border-end-start-radius":"50%","--border-end-end-radius":"50%"}),e.connector){const _=e.connector.margin.top!==0,h=e.connector.margin.bottom!==0,g=e.icon.padding+e.icon.width_and_height/2;!_&&!h&&(r["--connector-height"]=`${e.item_spacing+g*2}px`,r["--connector-top"]="50%"),_&&h&&(r["--connector-height"]=`${e.item_spacing-e.connector.margin.top-e.connector.margin.bottom}px`,r["--connector-top"]=`calc(100% + ${e.connector.margin.top}px)`),!_&&h&&(r["--connector-height"]=`${e.item_spacing-e.connector.margin.bottom+g}px`,r["--connector-top"]="50%"),_&&!h&&(r["--connector-height"]=`${e.item_spacing+g}px`,r["--connector-top"]=`calc(100% + ${e.connector.margin.top}px)`)}const t=Ye(r,"timeline-item");return Re(t)}function Pi(e,r="title"){var l,c,u,d,p;const t={"--text-color":"inherit","--text-font-size":"initial","--text-font-weight":"initial","--text-horizontal-alignment":"initial","--text-margin-block-start":"0px","--text-margin-inline-end":"0px","--text-margin-block-end":"0px","--text-margin-inline-start":"0px","--text-padding-block-start":"0px","--text-padding-inline-end":"0px","--text-padding-block-end":"0px","--text-padding-inline-start":"0px"},n={color:((l=e[r])==null?void 0:l.color)||gi,font_size:((c=e[r])==null?void 0:c.font_size)||"body_m",font_weight:((u=e[r])==null?void 0:u.font_weight)||"regular",horizontal_alignment:((d=e[r])==null?void 0:d.horizontal_alignment)||"leading"},{tagToRender:a,textStyles:o}=pa({...e,components:[],...n,size:{width:{type:"fit"},height:{type:"fit"}},type:"text",margin:{top:0,bottom:0,leading:0,trailing:0},padding:{top:0,bottom:0,leading:0,trailing:0},text_lid:""});Object.assign(t,o);const i=Re(Ye(t,"timeline-item")),s=da({text_lid:(p=e[r])==null?void 0:p.text_lid,locale:e.purchaseState.locale,defaultLocale:e.purchaseState.defaultLocale,labels:e.labels,variableDictionary:e.variableDictionary});return{textStyles:i,tagToRender:a,textLabel:s}}var lp=q('<div class="rc-pw-timeline-item svelte-gjmo4g"><div class="rc-pw-timeline-item-icon-container svelte-gjmo4g"><div class="rc-pw-timeline-item-icon svelte-gjmo4g"></div></div> <div class="rc-pw-timeline-item-content svelte-gjmo4g"><!> <!></div></div>');const cp={hash:"svelte-gjmo4g",code:`.rc-pw-timeline-item.svelte-gjmo4g {display:flex;align-items:center;gap:var(--timeline-item-spacing, 0px);}.rc-pw-timeline-item-icon-container.svelte-gjmo4g {position:relative;border-end-start-radius:var(--timeline-item-border-end-start-radius, 0px);border-end-end-radius:var(--timeline-item-border-end-end-radius, 0px);border-start-start-radius:var(
|
|
150
212
|
--timeline-item-border-start-start-radius,
|
|
151
213
|
0px
|
|
152
214
|
);border-start-end-radius:var(--timeline-item-border-start-end-radius, 0px);width:var(--timeline-item-icon-size, 16px);height:var(--timeline-item-icon-size, 16px);flex-shrink:0;background-color:var(--timeline-item-icon-background-color, #ffffff);border:var(--timeline-item-icon-border, initial);display:flex;align-items:center;justify-content:center;padding:var(--timeline-item-icon-padding, 0px);box-sizing:content-box;}.rc-pw-timeline-item-icon-container.svelte-gjmo4g::before {position:absolute;content:"";z-index:-1;top:var(--timeline-item-connector-top, 0px);height:var(--timeline-item-connector-height, 0px);width:var(--timeline-item-connector-width, 0px);background:var(--timeline-item-connector-color, transparent);}.rc-pw-timeline-item-icon.svelte-gjmo4g {width:var(--timeline-item-icon-size, 10px);height:var(--timeline-item-icon-size, 10px);color:var(--timeline-item-icon-color, #ffffff);display:flex;align-items:center;justify-content:center;}.rc-pw-timeline-item-content.svelte-gjmo4g {display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;gap:var(--timeline-item-text-spacing, 0px);height:fit-content;}.rc-pw-timeline-item-content-title.svelte-gjmo4g,
|
|
153
|
-
.rc-pw-timeline-item-content-description.svelte-gjmo4g {margin-block-start:var(--timeline-item-text-margin-block-start, 0px);margin-inline-end:var(--timeline-item-text-margin-inline-end, 0px);margin-block-end:var(--timeline-item-text-margin-block-end, 0px);margin-inline-start:var(--timeline-item-text-margin-inline-start, 0px);padding-block-start:var(--timeline-item-text-padding-block-start, 0);padding-inline-end:var(--timeline-item-text-padding-inline-end, 0);padding-block-end:var(--timeline-item-text-padding-block-end, 0);padding-inline-start:var(--timeline-item-text-padding-inline-start, 0);font-family:var(--timeline-item-text-font-family, sans-serif);}`};function
|
|
154
|
-
`);r.splice(1,
|
|
155
|
-
`)}var sp=class extends Error{constructor(e,...r){super(e),this.message=e,this.name="Invariant Violation",this.message=sa(e,...r),ip(this)}},mi=(e,r,...t)=>{if(!e)throw new sp(r,...t)};mi.as=(e,r,t,...n)=>{if(!r){const a=n.length===0?t:sa(t,...n);let o;try{o=Reflect.construct(e,[a])}catch{o=e(a)}throw o}};const lp="[MSW]";function la(e,...r){const t=sa(e,...r);return`${lp} ${t}`}function up(e,...r){console.warn(la(e,...r))}function cp(e,...r){console.error(la(e,...r))}const dp={formatMessage:la,warn:up,error:cp};function _p(){mi(typeof URL<"u",dp.formatMessage(`Global "URL" class is not defined. This likely means that you're running MSW in an environment that doesn't support all Node.js standard API (e.g. React Native). If that's the case, please use an appropriate polyfill for the "URL" class, like "react-native-url-polyfill".`))}var hi=(e=>(e.HEAD="HEAD",e.GET="GET",e.POST="POST",e.PUT="PUT",e.PATCH="PATCH",e.OPTIONS="OPTIONS",e.DELETE="DELETE",e))(hi||{});_p();class pp{constructor(r,t,n,a){F(this,"initialDelay");F(this,"maxDelay");F(this,"jitterPercent");F(this,"callback");F(this,"currentDelay");F(this,"timeoutId");F(this,"executingCallback",!1);this.initialDelay=r,this.currentDelay=r,this.maxDelay=t,this.jitterPercent=n,this.callback=a}tryFlush(){if(this.backingOff()){G.debugLog("Backing off, not flushing");return}this.clearTimeout(),this.executeCallbackWithRetries()}stop(){this.clearTimeout()}schedule(r){if(this.timeoutId!==void 0)return;const t=this.addJitter(r||this.currentDelay);this.timeoutId=setTimeout(()=>{this.timeoutId=void 0,this.executeCallbackWithRetries()},t)}backoff(){const r=this.currentDelay,t=Math.min(this.currentDelay*2,this.maxDelay);G.debugLog(`Backing next off to ${r}ms delay`),this.clearTimeout(),this.currentDelay=t,this.schedule(r)}reset(){this.currentDelay!==this.initialDelay&&(this.clearTimeout(),this.currentDelay=this.initialDelay)}async executeCallbackWithRetries(){if(this.executingCallback){G.debugLog("Callback already running, rescheduling"),this.schedule();return}this.executingCallback=!0;try{await this.callback(),this.reset()}catch{this.backoff()}finally{this.executingCallback=!1}}backingOff(){return this.currentDelay>this.initialDelay}clearTimeout(){clearTimeout(this.timeoutId),this.timeoutId=void 0}addJitter(r){const t=r*this.jitterPercent,n=r-t,a=r+t;return Math.floor(Math.random()*(a-n+1)+n)}}function gi(e){const r={};for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)){const n=t.replace(/([A-Z])/g,"_$1").toLowerCase(),a=e[t];a&&typeof a=="object"&&!Array.isArray(a)?r[n]=gi(a):r[n]=a}return r}class fp{constructor(r){F(this,"EVENT_TYPE","web_billing");F(this,"id");F(this,"timestampMs");F(this,"data");this.id=fi(),this.timestampMs=Date.now(),this.data=r}toJSON(){return gi({id:this.id,timestampMs:this.timestampMs,type:this.EVENT_TYPE,eventName:this.data.eventName,appUserId:this.data.appUserId,context:{...this.data.context},properties:{...this.data.properties,traceId:this.data.traceId}})}}function mp(e){const r=new URLSearchParams(window.location.search);return{libraryName:"purchases-js",libraryVersion:zo,locale:navigator.language,userAgent:navigator.userAgent,timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone,screenWidth:screen.width,screenHeight:screen.height,utmSource:r.get("utm_source")??null,utmMedium:r.get("utm_medium")??null,utmCampaign:r.get("utm_campaign")??null,utmContent:r.get("utm_content")??null,utmTerm:r.get("utm_term")??null,pageReferrer:document.referrer,pageUrl:window.location.href,pageTitle:document.title,source:e}}const hp=2e3,gp=5*6e4,yp=.1;class bp{constructor(r){F(this,"apiKey");F(this,"eventsQueue",[]);F(this,"eventsUrl");F(this,"flushManager");F(this,"traceId",fi());F(this,"appUserId");this.apiKey=r.apiKey,this.eventsUrl=`${Pd}/v1/events`,this.appUserId=r.appUserId,this.flushManager=new pp(hp,gp,yp,this.flushEvents.bind(this))}async updateUser(r){this.appUserId=r}getTraceId(){return this.traceId}trackSDKEvent(r){this.trackEvent({...r,source:"sdk"})}trackExternalEvent(r){this.trackEvent({...r})}trackEvent(r){try{const t=new fp({eventName:r.eventName,traceId:this.traceId,appUserId:this.appUserId,context:mp(r.source),properties:r.properties||{}});this.eventsQueue.push(t),this.flushManager.tryFlush()}catch{G.errorLog(`Error while tracking event ${r.eventName}`)}}dispose(){this.flushManager.stop()}flushEvents(){if(this.eventsQueue.length===0)return Promise.resolve();const r=[...this.eventsQueue];return fetch(this.eventsUrl,{method:hi.POST,headers:Qo(this.apiKey),body:JSON.stringify({events:r})}).then(t=>{if(t.status===200||t.status===201){this.eventsQueue.splice(0,r.length);return}else throw G.debugLog("Events failed to flush due to server error"),new Error("Events failed to flush due to server error")}).catch(t=>{throw G.debugLog("Error while flushing events"),t})}}const vp=()=>{const e=new URLSearchParams(window.location.search),r=["utm_source","utm_medium","utm_campaign","utm_term","utm_content"],t={};return r.forEach(n=>{const a=e.get(n);a!==null&&(t[n]=a)}),t},ua={autoCollectUTMAsMetadata:!0},kp="$RCAnonymousID:";yi=[Rd];const je=class je{constructor(r,t,n=Kn,a=ua){Ti(da,5,this);F(this,"_API_KEY");F(this,"_appUserId");F(this,"_brandingInfo",null);F(this,"_loadingResourcesPromise",null);F(this,"_flags");F(this,"backend");F(this,"purchaseOperationHelper");F(this,"eventsTracker");this._API_KEY=r,this._appUserId=t,this._flags={...ua,...a},Qn(r)&&G.debugLog("Initializing Purchases SDK with sandbox API Key"),this.eventsTracker=new bp({apiKey:this._API_KEY,appUserId:this._appUserId}),this.backend=new Dd(this._API_KEY,n),this.purchaseOperationHelper=new Jl(this.backend,this.eventsTracker),this.eventsTracker.trackSDKEvent({eventName:be.SDKInitialized})}static setLogLevel(r){G.setLogLevel(r)}static getSharedInstance(){if(je.isConfigured())return je.instance;throw new wo}static isConfigured(){return je.instance!==void 0}static configure(r,t,n=Kn,a=ua){return je.instance!==void 0&&G.warnLog("Purchases is already initialized. You normally should only configure Purchases once. Creating and returning new instance."),Od(r),Md(t),jd(n.proxyURL),Nd(n.additionalHeaders),je.instance=new je(r,t,n,a),je.getSharedInstance()}async preload(){if(this.hasLoadedResources()){G.verboseLog("Purchases resources are loaded. Skipping.");return}if(this._loadingResourcesPromise!==null){G.verboseLog("Purchases resources are loading. Waiting."),await this._loadingResourcesPromise;return}return this._loadingResourcesPromise=this.fetchAndCacheBrandingInfo().catch(r=>{let t=`${r}`;r instanceof ge&&(t=`${r.message}. ${r.underlyingErrorMessage?`Underlying error: ${r.underlyingErrorMessage}`:""}`),G.errorLog(`Error fetching branding info: ${t}`)}).finally(()=>{this._loadingResourcesPromise=null}),this._loadingResourcesPromise}fetchAndCacheBrandingInfo(){return this.backend.getBrandingInfo().then(r=>{this._brandingInfo=r})}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=`${W_}`,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 i=r.selectedLocale||navigator.language,s=new $e({},i,o.paywall_components.default_locale),l=f=>{var h;const m=o.availablePackages.find(S=>S.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:i,defaultLocale:((h=o.paywall_components)==null?void 0:h.default_locale)||pr})},u=f=>{var m;if(r.onNavigateToUrl){r.onNavigateToUrl(f);return}(m=window.open(f,"_blank"))==null||m.focus()},c=()=>{},_=()=>{if(r.onVisitCustomerCenter){r.onVisitCustomerCenter();return}},p=X_(o,s);return new Promise((f,m)=>{ro(I_,{target:a,props:{paywallData:o.paywall_components,selectedLocale:i,onNavigateToUrlClicked:u,onVisitCustomerCenterClicked:_,onBackClicked:()=>{if(r.onBack){r.onBack();return}a.innerHTML="",G.debugLog("Purchase cancelled by user"),m(new ge(we.UserCancelledError))},onRestorePurchasesClicked:c,onPurchaseClicked:h=>{l(h).then(S=>{f(S)}).catch(S=>m(S))},onError:h=>m(h),variablesPerPackage:p}})})}async getOfferings(r){Tc(r==null?void 0:r.currency);const t=this._appUserId,n=await this.backend.getOfferings(t),a=(r==null?void 0:r.offeringIdentifier)===Xn.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),i=a.placements??null;return i==null?null:Ud(i,o.all,r)}async getAllOfferings(r,t,n){const a=r.offerings.flatMap(i=>i.packages).map(i=>i.platform_product_identifier),o=await this.backend.getProducts(t,a,n==null?void 0:n.currency);return this.logMissingProductIds(a,o.product_details),Ld(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){var b;const{rcPackage:t,purchaseOption:n,htmlTarget:a,customerEmail:o,selectedLocale:i=pr,defaultLocale:s=pr}=r;let l=a??document.getElementById("rcb-ui-root");if(l===null){const g=document.createElement("div");g.className="rcb-ui-root",document.body.appendChild(g),l=g}if(l===null)throw new Error("Could not generate a mount point for the billing widget");const u=l,c=!a,_=this._appUserId;G.debugLog(`Presenting purchase form for package ${t.identifier}`);const p=i||s,f=n??t.webBillingProduct.defaultPurchaseOption,m=fc({appearance:(b=this._brandingInfo)==null?void 0:b.appearance,rcPackage:t,purchaseOptionToUse:f,customerEmail:o});this.eventsTracker.trackSDKEvent(m);const S={...this._flags.autoCollectUTMAsMetadata?vp():{},...r.metadata||{}};return new Promise((g,v)=>{ro(cd,{target:u,props:{appUserId:_,rcPackage:t,purchaseOption:f,customerEmail:o,onFinished:async(E,k)=>{const q=mc({redemptionInfo:k});this.eventsTracker.trackSDKEvent(q),G.debugLog("Purchase finished"),u.innerHTML="";const P={customerInfo:await this._getCustomerInfoForUserId(_),redemptionInfo:k,operationSessionId:E};g(P)},onClose:()=>{const E=hc();this.eventsTracker.trackSDKEvent(E),u.innerHTML="",G.debugLog("Purchase cancelled by user"),v(new ge(we.UserCancelledError))},onError:E=>{var q;const k=gc({errorCode:(q=E.errorCode)==null?void 0:q.toString(),errorMessage:E.message});this.eventsTracker.trackSDKEvent(k),u.innerHTML="",v(ge.getForPurchasesFlowError(E))},purchases:this,eventsTracker:this.eventsTracker,brandingInfo:this._brandingInfo,purchaseOperationHelper:this.purchaseOperationHelper,asModal:c,selectedLocale:p,metadata:S,defaultLocale:s}})})}async getCustomerInfo(){return await this._getCustomerInfoForUserId(this._appUserId)}getAppUserId(){return this._appUserId}async changeUser(r){return this._appUserId=r,this.eventsTracker.updateUser(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&&G.debugLog(`Could not find product data for product ids:
|
|
215
|
+
.rc-pw-timeline-item-content-description.svelte-gjmo4g {margin-block-start:var(--timeline-item-text-margin-block-start, 0px);margin-inline-end:var(--timeline-item-text-margin-inline-end, 0px);margin-block-end:var(--timeline-item-text-margin-block-end, 0px);margin-inline-start:var(--timeline-item-text-margin-inline-start, 0px);padding-block-start:var(--timeline-item-text-padding-block-start, 0);padding-inline-end:var(--timeline-item-text-padding-inline-end, 0);padding-block-end:var(--timeline-item-text-padding-block-end, 0);padding-inline-start:var(--timeline-item-text-padding-inline-start, 0);font-family:var(--timeline-item-text-font-family, sans-serif);}`};function up(e,r){X(r,!0),Y(e,cp);const t=xr(r,["$$slots","$$events","$$legacy"]),n=j(()=>sp(t)),a=j(()=>Pi(t,"title")),o=j(()=>f(a).tagToRender),i=j(()=>f(a).textStyles),s=j(()=>f(a).textLabel),l=j(()=>Pi(t,"description")),c=j(()=>f(l).tagToRender),u=j(()=>f(l).textStyles),d=j(()=>f(l).textLabel);var p=lp(),_=C(x(p),2),h=x(_);Gt(h,()=>f(o),!1,(m,y)=>{let P;L(()=>P=Xt(m,P,{class:"rc-pw-timeline-item-content-title",style:f(i)},"svelte-gjmo4g",m.namespaceURI===cr,m.nodeName.includes("-")));var S=Yr();L(()=>Oe(S,f(s))),k(y,S)});var g=C(h,2);{var v=m=>{var y=le(),P=Q(y);Gt(P,()=>f(c),!1,(S,w)=>{let F;L(()=>F=Xt(S,F,{class:"rc-pw-timeline-item-content-description",style:f(u)},"svelte-gjmo4g",S.namespaceURI===cr,S.nodeName.includes("-")));var O=Yr();L(()=>Oe(O,f(d))),k(w,O)}),k(m,y)};M(g,m=>{f(d)&&m(v)})}L(()=>K(p,"style",f(n))),k(e,p),J()}var dp=q('<div class="rc-pw-timeline-container svelte-12g27vu"></div>');const _p={hash:"svelte-12g27vu",code:".rc-pw-timeline-container.svelte-12g27vu {display:flex;flex:var(--timeline-flex, 0 1 auto);flex-direction:column;gap:var(--timeline-item-spacing, 0);width:var(--timeline-width, initial);height:var(--timeline-height, initial);position:var(--timeline-position, relative);inset:var(--timeline-inset, 0);transform:var(--timeline-transform, initial);}"};function pp(e,r){X(r,!0),Y(e,_p);const t=xr(r,["$$slots","$$events","$$legacy","items"]),n=j(()=>ip({items:r.items,...t}));var a=le(),o=Q(a);{var i=s=>{var l=dp();Bn(l,21,()=>r.items,Un,(c,u,d)=>{var p=j(()=>`${r.id}-${d}`),_=j(()=>`${r.name}-${d}`);up(c,Sr(()=>f(u),{get labels(){return r.labels},get id(){return f(p)},get name(){return f(_)},type:"timeline",get purchaseState(){return r.purchaseState},get text_spacing(){return r.text_spacing},get item_spacing(){return r.item_spacing}}))}),L(()=>K(l,"style",f(n))),k(s,l)};M(o,s=>{r.items.length&&s(i)})}k(e,a),J()}const fp=1000001;function mp(e){return e.webBillingProduct.defaultPurchaseOption}function xi(e,r,t,n=!1){return t.translate(U.PaywallVariablesPricePerPeriod,{formattedPrice:e,period:r.base.period?t.translatePeriod(r.base.period.number,r.base.period.unit,{noWhitespace:!0,short:!n}):""})}function hp(e,r){return e.unit==="year"?r.translatePeriod(e.number*12,Er.Month):r.translatePeriod(e.number,e.unit)}function gp({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 yp({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 Si({price:e,period:r,full:t=!1,translator:n}){if(!r||!r.number||r.unit===Er.Month&&r.number==1)return n.formatPrice(e.amountMicros,e.currency);let a="";switch(r.unit){case Er.Year:a=n.formatPrice(e.amountMicros/12,e.currency);break;case Er.Month:a=n.formatPrice(e.amountMicros/r.number,e.currency);break;case Er.Week:a=n.formatPrice(e.amountMicros*4/r.number,e.currency);break;case Er.Day:a=n.formatPrice(e.amountMicros*30/r.number,e.currency);break}return n.translate(U.PaywallVariablesTotalPriceAndPerMonth,{formattedPrice:n.formatPrice(e.amountMicros,e.currency),period:n.translatePeriod(r.number,r.unit,{noWhitespace:!0,short:!t}),formattedPricePerMonth:a,monthPeriod:n.translatePeriodUnit(Er.Month,{noWhitespace:!0,short:!t})})}function bp(e,r){const t=e.availablePackages,n=t.reduce((a,o)=>a.webBillingProduct.currentPrice.amountMicros>o.webBillingProduct.currentPrice.amountMicros?a:o);return t.reduce((a,o)=>(a[o.identifier]=vp(o,n,r),a),{})}function vp(e,r,t){const n=e.webBillingProduct,a=t.formatPrice(n.currentPrice.amountMicros,n.currentPrice.currency),o=mp(e),i=n.productType,s={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(i===sr.Subscription&&o){s.price_per_period=xi(a,o,t),s.price_per_period_full=xi(a,o,t,!0);const l=o.base.period;s.total_price_and_per_month=Si({price:n.currentPrice,period:l,translator:t}),s.total_price_and_per_month_full=Si({price:n.currentPrice,period:l,full:!0,translator:t}),s.sub_price_per_month=yp({price:n.currentPrice,period:l,translator:t}),s.sub_price_per_week=gp({price:n.currentPrice,period:l,translator:t}),s.sub_duration=t.translatePeriod(l==null?void 0:l.number,l==null?void 0:l.unit),s.sub_duration_in_months=hp(l,t),s.sub_period=t.translatePeriodFrequency(l==null?void 0:l.number,l==null?void 0:l.unit),s.sub_period_length=l?t.translatePeriodUnit(l.unit,{noWhitespace:!0}):void 0,s.sub_period_abbreviated=l?t.translatePeriodUnit(l.unit,{noWhitespace:!0,short:!0}):void 0;const c=n.currentPrice.amountMicros,u=r.webBillingProduct.currentPrice.amountMicros,d=((u-c)*100/u).toFixed(0);s.sub_relative_discount=c===u?"":t.translate(U.PaywallVariablesSubRelativeDiscount,{discount:d})}return(i===sr.NonConsumable||i===sr.Consumable)&&o&&(s.price=a,s.price_per_period=a,s.price_per_period_full=a,s.total_price_and_per_month=a,s.sub_price_per_month=a,s.sub_duration=t.translate(U.PeriodsLifetime),s.sub_duration_in_months=t.translate(U.PeriodsLifetime),s.sub_period=t.translate(U.PeriodsLifetime),s.sub_price_per_week=void 0,s.sub_relative_discount=void 0,s.price_per_period_full=a,s.total_price_and_per_month_full=a,s.sub_period_length=void 0,s.sub_period_abbreviated=void 0),s}const Ee=[];for(let e=0;e<256;++e)Ee.push((e+256).toString(16).slice(1));function kp(e,r=0){return(Ee[e[r+0]]+Ee[e[r+1]]+Ee[e[r+2]]+Ee[e[r+3]]+"-"+Ee[e[r+4]]+Ee[e[r+5]]+"-"+Ee[e[r+6]]+Ee[e[r+7]]+"-"+Ee[e[r+8]]+Ee[e[r+9]]+"-"+Ee[e[r+10]]+Ee[e[r+11]]+Ee[e[r+12]]+Ee[e[r+13]]+Ee[e[r+14]]+Ee[e[r+15]]).toLowerCase()}let fa;const wp=new Uint8Array(16);function Pp(){if(!fa){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");fa=crypto.getRandomValues.bind(crypto)}return fa(wp)}const Ei={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function qi(e,r,t){var a;if(Ei.randomUUID&&!e)return Ei.randomUUID();e=e||{};const n=e.random??((a=e.rng)==null?void 0:a.call(e))??Pp();if(n.length<16)throw new Error("Random bytes length must be >= 16");return n[6]=n[6]&15|64,n[8]=n[8]&63|128,kp(n)}var xp=/(%?)(%([sdijo]))/g;function Sp(e,r){switch(r){case"s":return e;case"d":case"i":return Number(e);case"j":return JSON.stringify(e);case"o":{if(typeof e=="string")return e;const t=JSON.stringify(e);return t==="{}"||t==="[]"||/^\[object .+?\]$/.test(t)?e:t}}}function ma(e,...r){if(r.length===0)return e;let t=0,n=e.replace(xp,(a,o,i,s)=>{const l=r[t],c=Sp(l,s);return o?a:(t++,c)});return t<r.length&&(n+=` ${r.slice(t).join(" ")}`),n=n.replace(/%{2,2}/g,"%"),n}var Ep=2;function qp(e){if(!e.stack)return;const r=e.stack.split(`
|
|
216
|
+
`);r.splice(1,Ep),e.stack=r.join(`
|
|
217
|
+
`)}var Fp=class extends Error{constructor(e,...r){super(e),this.message=e,this.name="Invariant Violation",this.message=ma(e,...r),qp(this)}},Fi=(e,r,...t)=>{if(!e)throw new Fp(r,...t)};Fi.as=(e,r,t,...n)=>{if(!r){const a=n.length===0?t:ma(t,...n);let o;try{o=Reflect.construct(e,[a])}catch{o=e(a)}throw o}};const Ip="[MSW]";function ha(e,...r){const t=ma(e,...r);return`${Ip} ${t}`}function Tp(e,...r){console.warn(ha(e,...r))}function Ap(e,...r){console.error(ha(e,...r))}const Dp={formatMessage:ha,warn:Tp,error:Ap};function Cp(){Fi(typeof URL<"u",Dp.formatMessage(`Global "URL" class is not defined. This likely means that you're running MSW in an environment that doesn't support all Node.js standard API (e.g. React Native). If that's the case, please use an appropriate polyfill for the "URL" class, like "react-native-url-polyfill".`))}var Ii=(e=>(e.HEAD="HEAD",e.GET="GET",e.POST="POST",e.PUT="PUT",e.PATCH="PATCH",e.OPTIONS="OPTIONS",e.DELETE="DELETE",e))(Ii||{});Cp();class Mp{constructor(r,t,n,a){I(this,"initialDelay");I(this,"maxDelay");I(this,"jitterPercent");I(this,"callback");I(this,"currentDelay");I(this,"timeoutId");I(this,"executingCallback",!1);this.initialDelay=r,this.currentDelay=r,this.maxDelay=t,this.jitterPercent=n,this.callback=a}tryFlush(){if(this.backingOff()){H.debugLog("Backing off, not flushing");return}this.clearTimeout(),this.executeCallbackWithRetries()}stop(){this.clearTimeout()}schedule(r){if(this.timeoutId!==void 0)return;const t=this.addJitter(r||this.currentDelay);this.timeoutId=setTimeout(()=>{this.timeoutId=void 0,this.executeCallbackWithRetries()},t)}backoff(){const r=this.currentDelay,t=Math.min(this.currentDelay*2,this.maxDelay);H.debugLog(`Backing next off to ${r}ms delay`),this.clearTimeout(),this.currentDelay=t,this.schedule(r)}reset(){this.currentDelay!==this.initialDelay&&(this.clearTimeout(),this.currentDelay=this.initialDelay)}async executeCallbackWithRetries(){if(this.executingCallback){H.debugLog("Callback already running, rescheduling"),this.schedule();return}this.executingCallback=!0;try{await this.callback(),this.reset()}catch{this.backoff()}finally{this.executingCallback=!1}}backingOff(){return this.currentDelay>this.initialDelay}clearTimeout(){clearTimeout(this.timeoutId),this.timeoutId=void 0}addJitter(r){const t=r*this.jitterPercent,n=r-t,a=r+t;return Math.floor(Math.random()*(a-n+1)+n)}}function Ti(e){const r={};for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)){const n=t.replace(/([A-Z])/g,"_$1").toLowerCase(),a=e[t];a&&typeof a=="object"&&!Array.isArray(a)?r[n]=Ti(a):r[n]=a}return r}class Np{constructor(r){I(this,"EVENT_TYPE","web_billing");I(this,"id");I(this,"timestampMs");I(this,"data");this.id=qi(),this.timestampMs=Date.now(),this.data=r}toJSON(){return Ti({id:this.id,timestampMs:this.timestampMs,type:this.EVENT_TYPE,eventName:this.data.eventName,appUserId:this.data.appUserId,context:{...this.data.context},properties:{...this.data.properties,traceId:this.data.traceId}})}}function Op(e){const r=new URLSearchParams(window.location.search);return{libraryName:"purchases-js",libraryVersion:ri,locale:navigator.language,userAgent:navigator.userAgent,timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone,screenWidth:screen.width,screenHeight:screen.height,utmSource:r.get("utm_source")??null,utmMedium:r.get("utm_medium")??null,utmCampaign:r.get("utm_campaign")??null,utmContent:r.get("utm_content")??null,utmTerm:r.get("utm_term")??null,pageReferrer:document.referrer,pageUrl:window.location.href,pageTitle:document.title,source:e}}const jp=2e3,Rp=5*6e4,Lp=.1;class zp{constructor(r){I(this,"apiKey");I(this,"eventsQueue",[]);I(this,"eventsUrl");I(this,"flushManager");I(this,"traceId",qi());I(this,"appUserId");I(this,"isSilent");this.apiKey=r.apiKey,this.eventsUrl=`${Bd}/v1/events`,this.appUserId=r.appUserId,this.isSilent=r.silent||!1,this.flushManager=new Mp(jp,Rp,Lp,this.flushEvents.bind(this))}async updateUser(r){this.appUserId=r}getTraceId(){return this.traceId}trackSDKEvent(r){this.trackEvent({...r,source:"sdk"})}trackExternalEvent(r){this.trackEvent({...r})}trackEvent(r){if(this.isSilent){H.verboseLog("Skipping event tracking, the EventsTracker is silent");return}try{const t=new Np({eventName:r.eventName,traceId:this.traceId,appUserId:this.appUserId,context:Op(r.source),properties:r.properties||{}});this.eventsQueue.push(t),this.flushManager.tryFlush()}catch{H.errorLog(`Error while tracking event ${r.eventName}`)}}dispose(){this.flushManager.stop()}flushEvents(){if(this.eventsQueue.length===0)return Promise.resolve();const r=[...this.eventsQueue];return fetch(this.eventsUrl,{method:Ii.POST,headers:li(this.apiKey),body:JSON.stringify({events:r})}).then(t=>{if(t.status===200||t.status===201){this.eventsQueue.splice(0,r.length);return}else throw H.debugLog("Events failed to flush due to server error"),new Error("Events failed to flush due to server error")}).catch(t=>{throw H.debugLog("Error while flushing events"),t})}}const Up=()=>{const e=new URLSearchParams(window.location.search),r=["utm_source","utm_medium","utm_campaign","utm_term","utm_content"],t={};return r.forEach(n=>{const a=e.get(n);a!==null&&(t[n]=a)}),t},ga={autoCollectUTMAsMetadata:!0,collectAnalyticsEvents:!0},Bp="$RCAnonymousID:";Ai=[o_];const Le=class Le{constructor(r,t,n=oa,a=ga){Li(ba,5,this);I(this,"_API_KEY");I(this,"_appUserId");I(this,"_brandingInfo",null);I(this,"_loadingResourcesPromise",null);I(this,"_flags");I(this,"backend");I(this,"purchaseOperationHelper");I(this,"eventsTracker");this._API_KEY=r,this._appUserId=t,this._flags={...ga,...a},na(r)&&H.debugLog("Initializing Purchases SDK with sandbox API Key"),this.eventsTracker=new zp({apiKey:this._API_KEY,appUserId:this._appUserId,silent:!this._flags.collectAnalyticsEvents}),this.backend=new e_(this._API_KEY,n),this.purchaseOperationHelper=new Xl(this.backend,this.eventsTracker),this.eventsTracker.trackSDKEvent({eventName:De.SDKInitialized})}static setLogLevel(r){H.setLogLevel(r)}static getSharedInstance(){if(Le.isConfigured())return Le.instance;throw new qo}static isConfigured(){return Le.instance!==void 0}static configure(r,t,n=oa,a=ga){return Le.instance!==void 0&&H.warnLog("Purchases is already initialized. You normally should only configure Purchases once. Creating and returning new instance."),r_(r),t_(t),n_(n.proxyURL),a_(n.additionalHeaders),Le.instance=new Le(r,t,n,a),Le.getSharedInstance()}async preload(){if(this.hasLoadedResources()){H.verboseLog("Purchases resources are loaded. Skipping.");return}if(this._loadingResourcesPromise!==null){H.verboseLog("Purchases resources are loading. Waiting."),await this._loadingResourcesPromise;return}return this._loadingResourcesPromise=this.fetchAndCacheBrandingInfo().catch(r=>{let t=`${r}`;r instanceof ge&&(t=`${r.message}. ${r.underlyingErrorMessage?`Underlying error: ${r.underlyingErrorMessage}`:""}`),H.errorLog(`Error fetching branding info: ${t}`)}).finally(()=>{this._loadingResourcesPromise=null}),this._loadingResourcesPromise}fetchAndCacheBrandingInfo(){return this.backend.getBrandingInfo().then(r=>{this._brandingInfo=r})}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 _=document.createElement("div");_.id="rcb-ui-pw-root",_.className="rcb-ui-pw-root",_.style.zIndex=`${fp}`,document.body.appendChild(_),n=_}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 i=r.selectedLocale||navigator.language,s=new rr({},i,o.paywall_components.default_locale),l=_=>{var g;const h=o.availablePackages.find(v=>v.identifier===_);if(h===void 0)throw new Error(`No package found for ${_}`);return this.purchase({rcPackage:h,htmlTarget:r.purchaseHtmlTarget,customerEmail:r.customerEmail,selectedLocale:i,defaultLocale:((g=o.paywall_components)==null?void 0:g.default_locale)||mr})},c=_=>{var h;if(r.onNavigateToUrl){r.onNavigateToUrl(_);return}(h=window.open(_,"_blank"))==null||h.focus()},u=()=>{},d=()=>{if(r.onVisitCustomerCenter){r.onVisitCustomerCenter();return}},p=bp(o,s);return new Promise((_,h)=>{co(X_,{target:a,props:{paywallData:o.paywall_components,selectedLocale:i,onNavigateToUrlClicked:c,onVisitCustomerCenterClicked:d,onBackClicked:()=>{if(r.onBack){r.onBack();return}a.innerHTML="",H.debugLog("Purchase cancelled by user"),h(new ge(Se.UserCancelledError))},onRestorePurchasesClicked:u,onPurchaseClicked:g=>{l(g).then(v=>{_(v)}).catch(v=>h(v))},onError:g=>h(g),variablesPerPackage:p}})})}async getOfferings(r){Wu(r==null?void 0:r.currency);const t=this._appUserId,n=await this.backend.getOfferings(t),a=(r==null?void 0:r.offeringIdentifier)===ia.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),i=a.placements??null;return i==null?null:i_(i,o.all,r)}async getAllOfferings(r,t,n){const a=r.offerings.flatMap(i=>i.packages).map(i=>i.platform_product_identifier),o=await this.backend.getProducts(t,a,n==null?void 0:n.currency);return this.logMissingProductIds(a,o.product_details),s_(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){var P;const{rcPackage:t,purchaseOption:n,htmlTarget:a,customerEmail:o,selectedLocale:i=mr,defaultLocale:s=mr}=r;let l=a??document.getElementById("rcb-ui-root");if(l===null){const S=document.createElement("div");S.className="rcb-ui-root",document.body.appendChild(S),l=S}if(l===null)throw new Error("Could not generate a mount point for the billing widget");const c=l,u=this._appUserId;H.debugLog(`Presenting purchase form for package ${t.identifier}`);const d=i||s,p=n??t.webBillingProduct.defaultPurchaseOption,_=Fu({appearance:(P=this._brandingInfo)==null?void 0:P.appearance,rcPackage:t,purchaseOptionToUse:p,customerEmail:o});this.eventsTracker.trackSDKEvent(_);const g={...this._flags.autoCollectUTMAsMetadata?Up():{},...r.metadata||{}};let v=null;const m=this._brandingInfo;m&&r.brandingAppearanceOverride&&(m.appearance=r.brandingAppearanceOverride);const y=a!==void 0;return new Promise((S,w)=>{y||window.history.pushState({checkoutOpen:!0},"");const F=()=>{const A=Tu();this.eventsTracker.trackSDKEvent(A),window.removeEventListener("popstate",F),v&&zn(v),c.innerHTML="",H.debugLog("Purchase cancelled by user"),w(new ge(Se.UserCancelledError))};y||window.addEventListener("popstate",F),v=co(Id,{target:c,props:{isInElement:y,appUserId:u,rcPackage:t,purchaseOption:p,customerEmail:o,onFinished:async(A,G)=>{const ce=Iu({redemptionInfo:G});this.eventsTracker.trackSDKEvent(ce),H.debugLog("Purchase finished"),v&&zn(v),c.innerHTML="";const de={customerInfo:await this._getCustomerInfoForUserId(u),redemptionInfo:G,operationSessionId:A};S(de)},onClose:F,onError:A=>{var ce;const G=Au({errorCode:(ce=A.errorCode)==null?void 0:ce.toString(),errorMessage:A.message});this.eventsTracker.trackSDKEvent(G),v&&zn(v),c.innerHTML="",w(ge.getForPurchasesFlowError(A))},purchases:this,eventsTracker:this.eventsTracker,brandingInfo:this._brandingInfo,purchaseOperationHelper:this.purchaseOperationHelper,selectedLocale:d,metadata:g,defaultLocale:s}})})}async getCustomerInfo(){return await this._getCustomerInfoForUserId(this._appUserId)}getAppUserId(){return this._appUserId}async changeUser(r){return this._appUserId=r,this.eventsTracker.updateUser(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&&H.debugLog(`Could not find product data for product ids:
|
|
156
218
|
${a.join()}.
|
|
157
|
-
Please check that your product configuration is correct.`)}isSandbox(){return
|
|
219
|
+
Please check that your product configuration is correct.`)}isSandbox(){return na(this._API_KEY)}close(){Le.instance===this?(this.eventsTracker&&this.eventsTracker.dispose(),Le.instance=void 0):H.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 Nd(t)}static generateRevenueCatAnonymousAppUserId(){const r=crypto.randomUUID();return`${Bp}${r.replace(/-/g,"")}`}_trackEvent(r){this.eventsTracker.trackExternalEvent(r)}};ba=ji(null),zi(ba,1,"purchase",Ai,Le),ka(ba,Le),I(Le,"instance");let ya=Le;T.ErrorCode=Se,T.LogLevel=je,T.OfferingKeyword=ia,T.PackageType=To,T.ProductType=sr,T.Purchases=ya,T.PurchasesError=ge,T.UninitializedPurchasesError=qo,Object.defineProperty(T,Symbol.toStringTag,{value:"Module"})});
|