@revenuecat/purchases-js 1.43.0 → 1.44.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,25 +1,25 @@
1
- (function(we,Me){typeof exports=="object"&&typeof module<"u"?Me(exports):typeof define=="function"&&define.amd?define(["exports"],Me):(we=typeof globalThis<"u"?globalThis:we||self,Me(we.Purchases={}))})(this,function(we){"use strict";var DE=Object.create;var _c=Object.defineProperty;var AE=Object.getOwnPropertyDescriptor;var $_=(we,Me)=>(Me=Symbol[we])?Me:Symbol.for("Symbol."+we),no=we=>{throw TypeError(we)};var eg=(we,Me,Je)=>Me in we?_c(we,Me,{enumerable:!0,configurable:!0,writable:!0,value:Je}):we[Me]=Je;var Q_=(we,Me)=>_c(we,"name",{value:Me,configurable:!0});var rg=we=>[,,,DE((we==null?void 0:we[$_("metadata")])??null)],tg=["class","method","getter","setter","accessor","field","value","get","set"],Qo=we=>we!==void 0&&typeof we!="function"?no("Function expected"):we,qE=(we,Me,Je,pt,br)=>({kind:tg[we],name:Me,metadata:pt,addInitializer:Br=>Je._?no("Already initialized"):br.push(Qo(Br||null))}),gc=(we,Me)=>eg(Me,$_("metadata"),we[3]),ng=(we,Me,Je,pt)=>{for(var br=0,Br=we[Me>>1],Nt=Br&&Br.length;br<Nt;br++)Me&1?Br[br].call(Je):pt=Br[br].call(Je,pt);return pt},fc=(we,Me,Je,pt,br,Br)=>{var Nt,nt,$o,Xn,ao,sr=Me&7,oo=!!(Me&8),bt=!!(Me&16),io=sr>3?we.length+1:sr?oo?1:2:0,so=tg[sr+5],ei=sr>3&&(we[io-1]=[]),Ir=we[io]||(we[io]=[]),_t=sr&&(!bt&&!oo&&(br=br.prototype),sr<5&&(sr>3||!bt)&&AE(sr<4?br:{get[Je](){return J(this,Br)},set[Je](Zr){return We(this,Br,Zr)}},Je));sr?bt&&sr<4&&Q_(Br,(sr>2?"set ":sr>1?"get ":"")+Je):Q_(br,Je);for(var lo=pt.length-1;lo>=0;lo--)Xn=qE(sr,Je,$o={},we[3],Ir),sr&&(Xn.static=oo,Xn.private=bt,ao=Xn.access={has:bt?Zr=>ME(br,Zr):Zr=>Je in Zr},sr^3&&(ao.get=bt?Zr=>(sr^1?J:jr)(Zr,br,sr^4?Br:_t.get):Zr=>Zr[Je]),sr>2&&(ao.set=bt?(Zr,Zn)=>We(Zr,br,Zn,sr^4?Br:_t.set):(Zr,Zn)=>Zr[Je]=Zn)),nt=(0,pt[lo])(sr?sr<4?bt?Br:_t[so]:sr>4?void 0:{get:_t.get,set:_t.set}:br,Xn),$o._=1,sr^4||nt===void 0?Qo(nt)&&(sr>4?ei.unshift(nt):sr?bt?Br=nt:_t[so]=nt:br=nt):typeof nt!="object"||nt===null?no("Object expected"):(Qo(Nt=nt.get)&&(_t.get=Nt),Qo(Nt=nt.set)&&(_t.set=Nt),Qo(Nt=nt.init)&&ei.unshift(Nt));return sr||gc(we,br),_t&&_c(br,Je,_t),bt?sr^4?Br:_t:br},ee=(we,Me,Je)=>eg(we,typeof Me!="symbol"?Me+"":Me,Je),mc=(we,Me,Je)=>Me.has(we)||no("Cannot "+Je),ME=(we,Me)=>Object(Me)!==Me?no('Cannot use the "in" operator on this value'):we.has(Me),J=(we,Me,Je)=>(mc(we,Me,"read from private field"),Je?Je.call(we):Me.get(we)),Ge=(we,Me,Je)=>Me.has(we)?no("Cannot add the same private member more than once"):Me instanceof WeakSet?Me.add(we):Me.set(we,Je),We=(we,Me,Je,pt)=>(mc(we,Me,"write to private field"),pt?pt.call(we,Je):Me.set(we,Je),Je),jr=(we,Me,Je)=>(mc(we,Me,"access private method"),Je);var X_,Ga,Ka,ma,ha,Vo,Xa,Za,Tt,hc,vc,ag,og,Dt,pc,tn,va,nn,At,dt,an,kn,Wn,ya,Hn,ba,Ja,Qa,Yn,ss,Lr,FE,zE,yc,ms,hs,bc,jt,on,vt,ka,Wo,Ho,ls,Gn,$a,Yo,cs,ig,Go,Ko,eo,Z_,J_,ds;const Me="5";typeof window<"u"&&((X_=window.__svelte??(window.__svelte={})).v??(X_.v=new Set)).add(Me);const Je=1,pt=2,br=4,Br=8,Nt=16,nt=1,$o=2,Xn=4,ao=8,sr=16,oo=1,bt=2,io=4,so=1,ei=2,Ir=Symbol(),_t="http://www.w3.org/1999/xhtml",lo="http://www.w3.org/2000/svg",Zr="@attach",Zn=!1;var ri=Array.isArray,sg=Array.prototype.indexOf,ti=Array.from,kc=Object.defineProperty,wn=Object.getOwnPropertyDescriptor,wc=Object.getOwnPropertyDescriptors,lg=Object.prototype,cg=Array.prototype,vs=Object.getPrototypeOf,Pc=Object.isExtensible;function wa(r){return typeof r=="function"}const rr=()=>{};function ug(r){return r()}function ni(r){for(var e=0;e<r.length;e++)r[e]()}function xc(){var r,e,t=new Promise((n,a)=>{r=n,e=a});return{promise:t,resolve:r,reject:e}}function ai(r,e){if(Array.isArray(r))return r;if(e===void 0||!(Symbol.iterator in r))return Array.from(r);const t=[];for(const n of r)if(t.push(n),t.length===e)break;return t}const Rr=2,oi=4,co=8,ys=1<<24,Ot=16,ln=32,Jn=64,bs=128,kt=512,Ur=1024,Jr=2048,Lt=4096,gt=8192,cn=16384,ii=32768,Bt=65536,Ec=1<<17,Sc=1<<18,Pa=1<<19,Ic=1<<20,un=1<<25,uo=32768,ks=1<<21,ws=1<<22,Pn=1<<23,Rt=Symbol("$state"),Cc=Symbol("legacy props"),dg=Symbol(""),xa=new class extends Error{constructor(){super(...arguments);ee(this,"name","StaleReactionError");ee(this,"message","The reaction that called `getAbortSignal()` was re-run or destroyed")}};function Ps(r){throw new Error("https://svelte.dev/e/lifecycle_outside_component")}function pg(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function _g(r){throw new Error("https://svelte.dev/e/effect_in_teardown")}function gg(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function fg(r){throw new Error("https://svelte.dev/e/effect_orphan")}function mg(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function hg(r){throw new Error("https://svelte.dev/e/props_invalid_value")}function vg(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function yg(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function bg(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function kg(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function wg(){console.warn("https://svelte.dev/e/select_multiple_invalid_value")}function Pg(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}function Tc(r){return r===this.v}function xs(r,e){return r!=r?e==e:r!==e||r!==null&&typeof r=="object"||typeof r=="function"}function Dc(r){return!xs(r,this.v)}let Ea=!1,xg=!1;function Eg(){Ea=!0}let lr=null;function Sa(r){lr=r}function Xe(r){return Ac().get(r)}function kr(r,e){return Ac().set(r,e),e}function fe(r,e=!1,t){lr={p:lr,i:!1,c:null,e:null,s:r,x:null,l:Ea&&!e?{s:null,u:null,$:[]}:null}}function me(r){var e=lr,t=e.e;if(t!==null){e.e=null;for(var n of t)ru(n)}return r!==void 0&&(e.x=r),e.i=!0,lr=e.p,r??{}}function Ia(){return!Ea||lr!==null&&lr.l===null}function Ac(r){return lr===null&&Ps(),lr.c??(lr.c=new Map(Sg(lr)||void 0))}function Sg(r){let e=r.p;for(;e!==null;){const t=e.c;if(t!==null)return t;e=e.p}return null}let Qn=[];function qc(){var r=Qn;Qn=[],ni(r)}function xn(r){if(Qn.length===0&&!po){var e=Qn;queueMicrotask(()=>{e===Qn&&qc()})}Qn.push(r)}function Ig(){for(;Qn.length>0;)qc()}function Mc(r){var e=tr;if(e===null)return Ze.f|=Pn,r;if((e.f&ii)===0){if((e.f&bs)===0)throw r;e.b.error(r)}else Ca(r,e)}function Ca(r,e){for(;e!==null;){if((e.f&bs)!==0)try{e.b.error(r);return}catch(t){r=t}e=e.parent}throw r}const Cg=-7169;function Mr(r,e){r.f=r.f&Cg|e}function Es(r){(r.f&kt)!==0||r.deps===null?Mr(r,Ur):Mr(r,Lt)}function Fc(r){if(r!==null)for(const e of r)(e.f&Rr)===0||(e.f&uo)===0||(e.f^=uo,Fc(e.deps))}function zc(r,e,t){(r.f&Jr)!==0?e.add(r):(r.f&Lt)!==0&&t.add(r),Fc(r.deps),Mr(r,Ur)}const si=new Set;let $e=null,li=null,Vr=null,wt=[],ci=null,Ss=!1,po=!1;const is=class is{constructor(){Ge(this,Tt);ee(this,"committed",!1);ee(this,"current",new Map);ee(this,"previous",new Map);Ge(this,Ga,new Set);Ge(this,Ka,new Set);Ge(this,ma,0);Ge(this,ha,0);Ge(this,Vo,null);Ge(this,Xa,new Set);Ge(this,Za,new Set);ee(this,"skipped_effects",new Set);ee(this,"is_fork",!1)}is_deferred(){return this.is_fork||J(this,ha)>0}process(e){var a;wt=[],li=null,this.apply();var t=[],n=[];for(const i of e)jr(this,Tt,hc).call(this,i,t,n);this.is_fork||jr(this,Tt,ag).call(this),this.is_deferred()?(jr(this,Tt,vc).call(this,n),jr(this,Tt,vc).call(this,t)):(li=this,$e=null,Nc(n),Nc(t),li=null,(a=J(this,Vo))==null||a.resolve()),Vr=null}capture(e,t){t!==Ir&&!this.previous.has(e)&&this.previous.set(e,t),(e.f&Pn)===0&&(this.current.set(e,e.v),Vr==null||Vr.set(e,e.v))}activate(){$e=this,this.apply()}deactivate(){$e===this&&($e=null,Vr=null)}flush(){if(this.activate(),wt.length>0){if(jc(),$e!==null&&$e!==this)return}else J(this,ma)===0&&this.process([]);this.deactivate()}discard(){for(const e of J(this,Ka))e(this);J(this,Ka).clear()}increment(e){We(this,ma,J(this,ma)+1),e&&We(this,ha,J(this,ha)+1)}decrement(e){We(this,ma,J(this,ma)-1),e&&We(this,ha,J(this,ha)-1),this.revive()}revive(){for(const e of J(this,Xa))J(this,Za).delete(e),Mr(e,Jr),pn(e);for(const e of J(this,Za))Mr(e,Lt),pn(e);this.flush()}oncommit(e){J(this,Ga).add(e)}ondiscard(e){J(this,Ka).add(e)}settled(){return(J(this,Vo)??We(this,Vo,xc())).promise}static ensure(){if($e===null){const e=$e=new is;si.add($e),po||is.enqueue(()=>{$e===e&&e.flush()})}return $e}static enqueue(e){xn(e)}apply(){}};Ga=new WeakMap,Ka=new WeakMap,ma=new WeakMap,ha=new WeakMap,Vo=new WeakMap,Xa=new WeakMap,Za=new WeakMap,Tt=new WeakSet,hc=function(e,t,n){e.f^=Ur;for(var a=e.first,i=null;a!==null;){var s=a.f,l=(s&(ln|Jn))!==0,c=l&&(s&Ur)!==0,u=c||(s&gt)!==0||this.skipped_effects.has(a);if(!u&&a.fn!==null){l?a.f^=Ur:i!==null&&(s&(oi|co|ys))!==0?i.b.defer_effect(a):(s&oi)!==0?t.push(a):Ma(a)&&((s&Ot)!==0&&J(this,Xa).add(a),Fa(a));var d=a.first;if(d!==null){a=d;continue}}var p=a.parent;for(a=a.next;a===null&&p!==null;)p===i&&(i=null),a=p.next,p=p.parent}},vc=function(e){for(var t=0;t<e.length;t+=1)zc(e[t],J(this,Xa),J(this,Za))},ag=function(){if(J(this,ha)===0){for(const e of J(this,Ga))e();J(this,Ga).clear()}J(this,ma)===0&&jr(this,Tt,og).call(this)},og=function(){var a;if(si.size>1){this.previous.clear();var e=Vr,t=!0;for(const i of si){if(i===this){t=!1;continue}const s=[];for(const[c,u]of this.current){if(i.current.has(c))if(t&&u!==i.current.get(c))i.current.set(c,u);else continue;s.push(c)}if(s.length===0)continue;const l=[...i.current.keys()].filter(c=>!this.current.has(c));if(l.length>0){var n=wt;wt=[];const c=new Set,u=new Map;for(const d of s)Oc(d,l,c,u);if(wt.length>0){$e=i,i.apply();for(const d of wt)jr(a=i,Tt,hc).call(a,d,[],[]);i.deactivate()}wt=n}}$e=null,Vr=e}this.committed=!0,si.delete(this)};let dn=is;function Tg(r){var e=po;po=!0;try{for(var t;;){if(Ig(),wt.length===0&&($e==null||$e.flush(),wt.length===0))return ci=null,t;jc()}}finally{po=e}}function jc(){var r=na;Ss=!0;var e=null;try{var t=0;for(di(!0);wt.length>0;){var n=dn.ensure();if(t++>1e3){var a,i;Dg()}n.process(wt),Sn.clear()}}finally{Ss=!1,di(r),ci=null}}function Dg(){try{mg()}catch(r){Ca(r,ci)}}let qt=null;function Nc(r){var e=r.length;if(e!==0){for(var t=0;t<e;){var n=r[t++];if((n.f&(cn|gt))===0&&Ma(n)&&(qt=new Set,Fa(n),n.deps===null&&n.first===null&&n.nodes===null&&(n.teardown===null&&n.ac===null?su(n):n.fn=null),(qt==null?void 0:qt.size)>0)){Sn.clear();for(const a of qt){if((a.f&(cn|gt))!==0)continue;const i=[a];let s=a.parent;for(;s!==null;)qt.has(s)&&(qt.delete(s),i.push(s)),s=s.parent;for(let l=i.length-1;l>=0;l--){const c=i[l];(c.f&(cn|gt))===0&&Fa(c)}}qt.clear()}}qt=null}}function Oc(r,e,t,n){if(!t.has(r)&&(t.add(r),r.reactions!==null))for(const a of r.reactions){const i=a.f;(i&Rr)!==0?Oc(a,e,t,n):(i&(ws|Ot))!==0&&(i&Jr)===0&&Lc(a,e,n)&&(Mr(a,Jr),pn(a))}}function Lc(r,e,t){const n=t.get(r);if(n!==void 0)return n;if(r.deps!==null)for(const a of r.deps){if(e.includes(a))return!0;if((a.f&Rr)!==0&&Lc(a,e,t))return t.set(a,!0),!0}return t.set(r,!1),!1}function pn(r){for(var e=ci=r;e.parent!==null;){e=e.parent;var t=e.f;if(Ss&&e===tr&&(t&Ot)!==0&&(t&Sc)===0)return;if((t&(Jn|ln))!==0){if((t&Ur)===0)return;e.f^=Ur}}wt.push(e)}function Bc(r){let e=0,t=$n(0),n;return()=>{Ts()&&(o(t),qa(()=>(e===0&&(n=Ue(()=>r(()=>go(t)))),e+=1,()=>{xn(()=>{e-=1,e===0&&(n==null||n(),n=void 0,go(t))})})))}}var Ag=Bt|Pa|bs;function Rc(r,e,t){new qg(r,e,t)}class qg{constructor(e,t,n){Ge(this,Lr);ee(this,"parent");ee(this,"is_pending",!1);Ge(this,Dt);Ge(this,pc,null);Ge(this,tn);Ge(this,va);Ge(this,nn);Ge(this,At,null);Ge(this,dt,null);Ge(this,an,null);Ge(this,kn,null);Ge(this,Wn,null);Ge(this,ya,0);Ge(this,Hn,0);Ge(this,ba,!1);Ge(this,Ja,new Set);Ge(this,Qa,new Set);Ge(this,Yn,null);Ge(this,ss,Bc(()=>(We(this,Yn,$n(J(this,ya))),()=>{We(this,Yn,null)})));We(this,Dt,e),We(this,tn,t),We(this,va,n),this.parent=tr.b,this.is_pending=!!J(this,tn).pending,We(this,nn,ra(()=>{tr.b=this;{var a=jr(this,Lr,yc).call(this);try{We(this,At,at(()=>n(a)))}catch(i){this.error(i)}J(this,Hn)>0?jr(this,Lr,hs).call(this):this.is_pending=!1}return()=>{var i;(i=J(this,Wn))==null||i.remove()}},Ag))}defer_effect(e){zc(e,J(this,Ja),J(this,Qa))}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!J(this,tn).pending}update_pending_count(e){jr(this,Lr,bc).call(this,e),We(this,ya,J(this,ya)+e),J(this,Yn)&&Ta(J(this,Yn),J(this,ya))}get_effect_pending(){return J(this,ss).call(this),o(J(this,Yn))}error(e){var t=J(this,tn).onerror;let n=J(this,tn).failed;if(J(this,ba)||!t&&!n)throw e;J(this,At)&&(Wr(J(this,At)),We(this,At,null)),J(this,dt)&&(Wr(J(this,dt)),We(this,dt,null)),J(this,an)&&(Wr(J(this,an)),We(this,an,null));var a=!1,i=!1;const s=()=>{if(a){Pg();return}a=!0,i&&kg(),dn.ensure(),We(this,ya,0),J(this,an)!==null&&ta(J(this,an),()=>{We(this,an,null)}),this.is_pending=this.has_pending_snippet(),We(this,At,jr(this,Lr,ms).call(this,()=>(We(this,ba,!1),at(()=>J(this,va).call(this,J(this,Dt)))))),J(this,Hn)>0?jr(this,Lr,hs).call(this):this.is_pending=!1};var l=Ze;try{ot(null),i=!0,t==null||t(e,s),i=!1}catch(c){Ca(c,J(this,nn)&&J(this,nn).parent)}finally{ot(l)}n&&xn(()=>{We(this,an,jr(this,Lr,ms).call(this,()=>{dn.ensure(),We(this,ba,!0);try{return at(()=>{n(J(this,Dt),()=>e,()=>s)})}catch(c){return Ca(c,J(this,nn).parent),null}finally{We(this,ba,!1)}}))})}}Dt=new WeakMap,pc=new WeakMap,tn=new WeakMap,va=new WeakMap,nn=new WeakMap,At=new WeakMap,dt=new WeakMap,an=new WeakMap,kn=new WeakMap,Wn=new WeakMap,ya=new WeakMap,Hn=new WeakMap,ba=new WeakMap,Ja=new WeakMap,Qa=new WeakMap,Yn=new WeakMap,ss=new WeakMap,Lr=new WeakSet,FE=function(){try{We(this,At,at(()=>J(this,va).call(this,J(this,Dt))))}catch(e){this.error(e)}},zE=function(){const e=J(this,tn).pending;e&&(We(this,dt,at(()=>e(J(this,Dt)))),dn.enqueue(()=>{var t=jr(this,Lr,yc).call(this);We(this,At,jr(this,Lr,ms).call(this,()=>(dn.ensure(),at(()=>J(this,va).call(this,t))))),J(this,Hn)>0?jr(this,Lr,hs).call(this):(ta(J(this,dt),()=>{We(this,dt,null)}),this.is_pending=!1)}))},yc=function(){var e=J(this,Dt);return this.is_pending&&(We(this,Wn,Ut()),J(this,Dt).before(J(this,Wn)),e=J(this,Wn)),e},ms=function(e){var t=tr,n=Ze,a=lr;Vt(J(this,nn)),ot(J(this,nn)),Sa(J(this,nn).ctx);try{return e()}catch(i){return Mc(i),null}finally{Vt(t),ot(n),Sa(a)}},hs=function(){const e=J(this,tn).pending;J(this,At)!==null&&(We(this,kn,document.createDocumentFragment()),J(this,kn).append(J(this,Wn)),uu(J(this,At),J(this,kn))),J(this,dt)===null&&We(this,dt,at(()=>e(J(this,Dt))))},bc=function(e){var t;if(!this.has_pending_snippet()){this.parent&&jr(t=this.parent,Lr,bc).call(t,e);return}if(We(this,Hn,J(this,Hn)+e),J(this,Hn)===0){this.is_pending=!1;for(const n of J(this,Ja))Mr(n,Jr),pn(n);for(const n of J(this,Qa))Mr(n,Lt),pn(n);J(this,Ja).clear(),J(this,Qa).clear(),J(this,dt)&&ta(J(this,dt),()=>{We(this,dt,null)}),J(this,kn)&&(J(this,Dt).before(J(this,kn)),We(this,kn,null))}};function Uc(r,e,t,n){const a=Ia()?_o:En;if(t.length===0&&r.length===0){n(e.map(a));return}var i=$e,s=tr,l=Mg();function c(){Promise.all(t.map(u=>Fg(u))).then(u=>{l();try{n([...e.map(a),...u])}catch(d){(s.f&cn)===0&&Ca(d,s)}i==null||i.deactivate(),ui()}).catch(u=>{Ca(u,s)})}r.length>0?Promise.all(r).then(()=>{l();try{return c()}finally{i==null||i.deactivate(),ui()}}):c()}function Mg(){var r=tr,e=Ze,t=lr,n=$e;return function(i=!0){Vt(r),ot(e),Sa(t),i&&(n==null||n.activate())}}function ui(){Vt(null),ot(null),Sa(null)}function _o(r){var e=Rr|Jr,t=Ze!==null&&(Ze.f&Rr)!==0?Ze:null;return tr!==null&&(tr.f|=Pa),{ctx:lr,deps:null,effects:null,equals:Tc,f:e,fn:r,reactions:null,rv:0,v:Ir,wv:0,parent:t??tr,ac:null}}function Fg(r,e,t){let n=tr;n===null&&pg();var a=n.b,i=void 0,s=$n(Ir),l=!Ze,c=new Map;return Hg(()=>{var g;var u=xc();i=u.promise;try{Promise.resolve(r()).then(u.resolve,u.reject).then(()=>{d===$e&&d.committed&&d.deactivate(),ui()})}catch(f){u.reject(f),ui()}var d=$e;if(l){var p=a.is_rendered();a.update_pending_count(1),d.increment(p),(g=c.get(d))==null||g.reject(xa),c.delete(d),c.set(d,u)}const _=(f,v=void 0)=>{if(d.activate(),v)v!==xa&&(s.f|=Pn,Ta(s,v));else{(s.f&Pn)!==0&&(s.f^=Pn),Ta(s,f);for(const[y,h]of c){if(c.delete(y),y===d)break;h.reject(xa)}}l&&(a.update_pending_count(-1),d.decrement(p))};u.promise.then(_,f=>_(null,f||"unknown"))}),Aa(()=>{for(const u of c.values())u.reject(xa)}),new Promise(u=>{function d(p){function _(){p===i?u(s):d(i)}p.then(_,_)}d(i)})}function m(r){const e=_o(r);return pu(e),e}function En(r){const e=_o(r);return e.equals=Dc,e}function Vc(r){var e=r.effects;if(e!==null){r.effects=null;for(var t=0;t<e.length;t+=1)Wr(e[t])}}function zg(r){for(var e=r.parent;e!==null;){if((e.f&Rr)===0)return(e.f&cn)===0?e:null;e=e.parent}return null}function Is(r){var e,t=tr;Vt(zg(r));try{r.f&=~uo,Vc(r),e=hu(r)}finally{Vt(t)}return e}function Wc(r){var e=Is(r);if(!r.equals(e)&&(r.wv=fu(),(!($e!=null&&$e.is_fork)||r.deps===null)&&(r.v=e,r.deps===null))){Mr(r,Ur);return}In||(Vr!==null?(Ts()||$e!=null&&$e.is_fork)&&Vr.set(r,e):Es(r))}let Cs=new Set;const Sn=new Map;let Hc=!1;function $n(r,e){var t={f:0,v:r,reactions:null,equals:Tc,rv:0,wv:0};return t}function re(r,e){const t=$n(r);return pu(t),t}function cr(r,e=!1,t=!0){var a;const n=$n(r);return e||(n.equals=Dc),Ea&&t&&lr!==null&&lr.l!==null&&((a=lr.l).s??(a.s=[])).push(n),n}function j(r,e,t=!1){Ze!==null&&(!Ft||(Ze.f&Ec)!==0)&&Ia()&&(Ze.f&(Rr|Ot|ws|Ec))!==0&&!(Qr!=null&&Qr.includes(r))&&bg();let n=t?nr(e):e;return Ta(r,n)}function Ta(r,e){if(!r.equals(e)){var t=r.v;In?Sn.set(r,e):Sn.set(r,t),r.v=e;var n=dn.ensure();if(n.capture(r,t),(r.f&Rr)!==0){const a=r;(r.f&Jr)!==0&&Is(a),Es(a)}r.wv=fu(),Yc(r,Jr),Ia()&&tr!==null&&(tr.f&Ur)!==0&&(tr.f&(ln|Jn))===0&&(Pt===null?Gg([r]):Pt.push(r)),!n.is_fork&&Cs.size>0&&!Hc&&jg()}return e}function jg(){Hc=!1;var r=na;di(!0);const e=Array.from(Cs);try{for(const t of e)(t.f&Ur)!==0&&Mr(t,Lt),Ma(t)&&Fa(t)}finally{di(r)}Cs.clear()}function go(r){j(r,r.v+1)}function Yc(r,e){var t=r.reactions;if(t!==null)for(var n=Ia(),a=t.length,i=0;i<a;i++){var s=t[i],l=s.f;if(!(!n&&s===tr)){var c=(l&Jr)===0;if(c&&Mr(s,e),(l&Rr)!==0){var u=s;Vr==null||Vr.delete(u),(l&uo)===0&&(l&kt&&(s.f|=uo),Yc(u,Lt))}else c&&((l&Ot)!==0&&qt!==null&&qt.add(s),pn(s))}}}function nr(r){if(typeof r!="object"||r===null||Rt in r)return r;const e=vs(r);if(e!==lg&&e!==cg)return r;var t=new Map,n=ri(r),a=re(0),i=aa,s=l=>{if(aa===i)return l();var c=Ze,u=aa;ot(null),gu(i);var d=l();return ot(c),gu(u),d};return n&&t.set("length",re(r.length)),new Proxy(r,{defineProperty(l,c,u){(!("value"in u)||u.configurable===!1||u.enumerable===!1||u.writable===!1)&&vg();var d=t.get(c);return d===void 0?d=s(()=>{var p=re(u.value);return t.set(c,p),p}):j(d,u.value,!0),!0},deleteProperty(l,c){var u=t.get(c);if(u===void 0){if(c in l){const d=s(()=>re(Ir));t.set(c,d),go(a)}}else j(u,Ir),go(a);return!0},get(l,c,u){var g;if(c===Rt)return r;var d=t.get(c),p=c in l;if(d===void 0&&(!p||(g=wn(l,c))!=null&&g.writable)&&(d=s(()=>{var f=nr(p?l[c]:Ir),v=re(f);return v}),t.set(c,d)),d!==void 0){var _=o(d);return _===Ir?void 0:_}return Reflect.get(l,c,u)},getOwnPropertyDescriptor(l,c){var u=Reflect.getOwnPropertyDescriptor(l,c);if(u&&"value"in u){var d=t.get(c);d&&(u.value=o(d))}else if(u===void 0){var p=t.get(c),_=p==null?void 0:p.v;if(p!==void 0&&_!==Ir)return{enumerable:!0,configurable:!0,value:_,writable:!0}}return u},has(l,c){var _;if(c===Rt)return!0;var u=t.get(c),d=u!==void 0&&u.v!==Ir||Reflect.has(l,c);if(u!==void 0||tr!==null&&(!d||(_=wn(l,c))!=null&&_.writable)){u===void 0&&(u=s(()=>{var g=d?nr(l[c]):Ir,f=re(g);return f}),t.set(c,u));var p=o(u);if(p===Ir)return!1}return d},set(l,c,u,d){var k;var p=t.get(c),_=c in l;if(n&&c==="length")for(var g=u;g<p.v;g+=1){var f=t.get(g+"");f!==void 0?j(f,Ir):g in l&&(f=s(()=>re(Ir)),t.set(g+"",f))}if(p===void 0)(!_||(k=wn(l,c))!=null&&k.writable)&&(p=s(()=>re(void 0)),j(p,nr(u)),t.set(c,p));else{_=p.v!==Ir;var v=s(()=>nr(u));j(p,v)}var y=Reflect.getOwnPropertyDescriptor(l,c);if(y!=null&&y.set&&y.set.call(d,u),!_){if(n&&typeof c=="string"){var h=t.get("length"),w=Number(c);Number.isInteger(w)&&w>=h.v&&j(h,w+1)}go(a)}return!0},ownKeys(l){o(a);var c=Reflect.ownKeys(l).filter(p=>{var _=t.get(p);return _===void 0||_.v!==Ir});for(var[u,d]of t)d.v!==Ir&&!(u in l)&&c.push(u);return c},setPrototypeOf(){yg()}})}function Gc(r){try{if(r!==null&&typeof r=="object"&&Rt in r)return r[Rt]}catch{}return r}function Ng(r,e){return Object.is(Gc(r),Gc(e))}var Kc,Xc,Zc,Jc;function Og(){if(Kc===void 0){Kc=window,Xc=/Firefox/.test(navigator.userAgent);var r=Element.prototype,e=Node.prototype,t=Text.prototype;Zc=wn(e,"firstChild").get,Jc=wn(e,"nextSibling").get,Pc(r)&&(r.__click=void 0,r.__className=void 0,r.__attributes=null,r.__style=void 0,r.__e=void 0),Pc(t)&&(t.__t=void 0)}}function Ut(r=""){return document.createTextNode(r)}function ft(r){return Zc.call(r)}function fo(r){return Jc.call(r)}function T(r,e){return ft(r)}function ae(r,e=!1){{var t=ft(r);return t instanceof Comment&&t.data===""?fo(t):t}}function Y(r,e=1,t=!1){let n=r;for(;e--;)n=fo(n);return n}function Lg(r){r.textContent=""}function Qc(){return!1}function Bg(r,e){if(e){const t=document.body;r.autofocus=!0,xn(()=>{document.activeElement===t&&r.focus()})}}let $c=!1;function Rg(){$c||($c=!0,document.addEventListener("reset",r=>{Promise.resolve().then(()=>{var e;if(!r.defaultPrevented)for(const t of r.target.elements)(e=t.__on_r)==null||e.call(t)})},{capture:!0}))}function Da(r){var e=Ze,t=tr;ot(null),Vt(null);try{return r()}finally{ot(e),Vt(t)}}function Ug(r,e,t,n=t){r.addEventListener(e,()=>Da(t));const a=r.__on_r;a?r.__on_r=()=>{a(),n(!0)}:r.__on_r=()=>n(!0),Rg()}function eu(r){tr===null&&(Ze===null&&fg(),gg()),In&&_g()}function Vg(r,e){var t=e.last;t===null?e.last=e.first=r:(t.next=r,r.prev=t,e.last=r)}function Mt(r,e,t){var n=tr;n!==null&&(n.f&gt)!==0&&(r|=gt);var a={ctx:lr,deps:null,nodes:null,f:r|Jr|kt,first:null,fn:e,last:null,next:null,parent:n,b:n&&n.b,prev:null,teardown:null,wv:0,ac:null};if(t)try{Fa(a),a.f|=ii}catch(l){throw Wr(a),l}else e!==null&&pn(a);var i=a;if(t&&i.deps===null&&i.teardown===null&&i.nodes===null&&i.first===i.last&&(i.f&Pa)===0&&(i=i.first,(r&Ot)!==0&&(r&Bt)!==0&&i!==null&&(i.f|=Bt)),i!==null&&(i.parent=n,n!==null&&Vg(i,n),Ze!==null&&(Ze.f&Rr)!==0&&(r&Jn)===0)){var s=Ze;(s.effects??(s.effects=[])).push(i)}return a}function Ts(){return Ze!==null&&!Ft}function Aa(r){const e=Mt(co,null,!1);return Mr(e,Ur),e.teardown=r,e}function mr(r){eu();var e=tr.f,t=!Ze&&(e&ln)!==0&&(e&ii)===0;if(t){var n=lr;(n.e??(n.e=[])).push(r)}else return ru(r)}function ru(r){return Mt(oi|Ic,r,!1)}function tu(r){return eu(),Mt(co|Ic,r,!0)}function Wg(r){dn.ensure();const e=Mt(Jn|Pa,r,!0);return(t={})=>new Promise(n=>{t.outro?ta(e,()=>{Wr(e),n(void 0)}):(Wr(e),n(void 0))})}function ea(r){return Mt(oi,r,!1)}function fr(r,e){var t=lr,n={effect:null,ran:!1,deps:r};t.l.$.push(n),n.effect=qa(()=>{r(),!n.ran&&(n.ran=!0,Ue(e))})}function Ds(){var r=lr;qa(()=>{for(var e of r.l.$){e.deps();var t=e.effect;(t.f&Ur)!==0&&t.deps!==null&&Mr(t,Lt),Ma(t)&&Fa(t),e.ran=!1}})}function Hg(r){return Mt(ws|Pa,r,!0)}function qa(r,e=0){return Mt(co|e,r,!0)}function Z(r,e=[],t=[],n=[]){Uc(n,e,t,a=>{Mt(co,()=>r(...a.map(o)),!0)})}function ra(r,e=0){var t=Mt(Ot|e,r,!0);return t}function nu(r,e=0){var t=Mt(ys|e,r,!0);return t}function at(r){return Mt(ln|Pa,r,!0)}function au(r){var e=r.teardown;if(e!==null){const t=In,n=Ze;du(!0),ot(null);try{e.call(null)}finally{du(t),ot(n)}}}function ou(r,e=!1){var t=r.first;for(r.first=r.last=null;t!==null;){const a=t.ac;a!==null&&Da(()=>{a.abort(xa)});var n=t.next;(t.f&Jn)!==0?t.parent=null:Wr(t,e),t=n}}function Yg(r){for(var e=r.first;e!==null;){var t=e.next;(e.f&ln)===0&&Wr(e),e=t}}function Wr(r,e=!0){var t=!1;(e||(r.f&Sc)!==0)&&r.nodes!==null&&r.nodes.end!==null&&(iu(r.nodes.start,r.nodes.end),t=!0),ou(r,e&&!t),pi(r,0),Mr(r,cn);var n=r.nodes&&r.nodes.t;if(n!==null)for(const i of n)i.stop();au(r);var a=r.parent;a!==null&&a.first!==null&&su(r),r.next=r.prev=r.teardown=r.ctx=r.deps=r.fn=r.nodes=r.ac=null}function iu(r,e){for(;r!==null;){var t=r===e?null:fo(r);r.remove(),r=t}}function su(r){var e=r.parent,t=r.prev,n=r.next;t!==null&&(t.next=n),n!==null&&(n.prev=t),e!==null&&(e.first===r&&(e.first=n),e.last===r&&(e.last=t))}function ta(r,e,t=!0){var n=[];lu(r,n,!0);var a=()=>{t&&Wr(r),e&&e()},i=n.length;if(i>0){var s=()=>--i||a();for(var l of n)l.out(s)}else a()}function lu(r,e,t){if((r.f&gt)===0){r.f^=gt;var n=r.nodes&&r.nodes.t;if(n!==null)for(const l of n)(l.is_global||t)&&e.push(l);for(var a=r.first;a!==null;){var i=a.next,s=(a.f&Bt)!==0||(a.f&ln)!==0&&(r.f&Ot)!==0;lu(a,e,s?t:!1),a=i}}}function As(r){cu(r,!0)}function cu(r,e){if((r.f&gt)!==0){r.f^=gt,(r.f&Ur)===0&&(Mr(r,Jr),pn(r));for(var t=r.first;t!==null;){var n=t.next,a=(t.f&Bt)!==0||(t.f&ln)!==0;cu(t,a?e:!1),t=n}var i=r.nodes&&r.nodes.t;if(i!==null)for(const s of i)(s.is_global||e)&&s.in()}}function uu(r,e){if(r.nodes)for(var t=r.nodes.start,n=r.nodes.end;t!==null;){var a=t===n?null:fo(t);e.append(t),t=a}}let na=!1;function di(r){na=r}let In=!1;function du(r){In=r}let Ze=null,Ft=!1;function ot(r){Ze=r}let tr=null;function Vt(r){tr=r}let Qr=null;function pu(r){Ze!==null&&(Qr===null?Qr=[r]:Qr.push(r))}let $r=null,mt=0,Pt=null;function Gg(r){Pt=r}let _u=1,mo=0,aa=mo;function gu(r){aa=r}function fu(){return++_u}function Ma(r){var e=r.f;if((e&Jr)!==0)return!0;if(e&Rr&&(r.f&=-32769),(e&Lt)!==0){for(var t=r.deps,n=t.length,a=0;a<n;a++){var i=t[a];if(Ma(i)&&Wc(i),i.wv>r.wv)return!0}(e&kt)!==0&&Vr===null&&Mr(r,Ur)}return!1}function mu(r,e,t=!0){var n=r.reactions;if(n!==null&&!(Qr!=null&&Qr.includes(r)))for(var a=0;a<n.length;a++){var i=n[a];(i.f&Rr)!==0?mu(i,e,!1):e===i&&(t?Mr(i,Jr):(i.f&Ur)!==0&&Mr(i,Lt),pn(i))}}function hu(r){var f;var e=$r,t=mt,n=Pt,a=Ze,i=Qr,s=lr,l=Ft,c=aa,u=r.f;$r=null,mt=0,Pt=null,Ze=(u&(ln|Jn))===0?r:null,Qr=null,Sa(r.ctx),Ft=!1,aa=++mo,r.ac!==null&&(Da(()=>{r.ac.abort(xa)}),r.ac=null);try{r.f|=ks;var d=r.fn,p=d(),_=r.deps;if($r!==null){var g;if(pi(r,mt),_!==null&&mt>0)for(_.length=mt+$r.length,g=0;g<$r.length;g++)_[mt+g]=$r[g];else r.deps=_=$r;if(Ts()&&(r.f&kt)!==0)for(g=mt;g<_.length;g++)((f=_[g]).reactions??(f.reactions=[])).push(r)}else _!==null&&mt<_.length&&(pi(r,mt),_.length=mt);if(Ia()&&Pt!==null&&!Ft&&_!==null&&(r.f&(Rr|Lt|Jr))===0)for(g=0;g<Pt.length;g++)mu(Pt[g],r);return a!==null&&a!==r&&(mo++,Pt!==null&&(n===null?n=Pt:n.push(...Pt))),(r.f&Pn)!==0&&(r.f^=Pn),p}catch(v){return Mc(v)}finally{r.f^=ks,$r=e,mt=t,Pt=n,Ze=a,Qr=i,Sa(s),Ft=l,aa=c}}function Kg(r,e){let t=e.reactions;if(t!==null){var n=sg.call(t,r);if(n!==-1){var a=t.length-1;a===0?t=e.reactions=null:(t[n]=t[a],t.pop())}}if(t===null&&(e.f&Rr)!==0&&($r===null||!$r.includes(e))){var i=e;(i.f&kt)!==0&&(i.f^=kt,i.f&=-32769),Es(i),Vc(i),pi(i,0)}}function pi(r,e){var t=r.deps;if(t!==null)for(var n=e;n<t.length;n++)Kg(r,t[n])}function Fa(r){var e=r.f;if((e&cn)===0){Mr(r,Ur);var t=tr,n=na;tr=r,na=!0;try{(e&(Ot|ys))!==0?Yg(r):ou(r),au(r);var a=hu(r);r.teardown=typeof a=="function"?a:null,r.wv=_u;var i;Zn&&xg&&(r.f&Jr)!==0&&r.deps}finally{na=n,tr=t}}}async function vu(){await Promise.resolve(),Tg()}function o(r){var e=r.f,t=(e&Rr)!==0;if(Ze!==null&&!Ft){var n=tr!==null&&(tr.f&cn)!==0;if(!n&&!(Qr!=null&&Qr.includes(r))){var a=Ze.deps;if((Ze.f&ks)!==0)r.rv<mo&&(r.rv=mo,$r===null&&a!==null&&a[mt]===r?mt++:$r===null?$r=[r]:$r.includes(r)||$r.push(r));else{(Ze.deps??(Ze.deps=[])).push(r);var i=r.reactions;i===null?r.reactions=[Ze]:i.includes(Ze)||i.push(Ze)}}}if(In&&Sn.has(r))return Sn.get(r);if(t){var s=r;if(In){var l=s.v;return((s.f&Ur)===0&&s.reactions!==null||bu(s))&&(l=Is(s)),Sn.set(s,l),l}var c=(s.f&kt)===0&&!Ft&&Ze!==null&&(na||(Ze.f&kt)!==0),u=s.deps===null;Ma(s)&&(c&&(s.f|=kt),Wc(s)),c&&!u&&yu(s)}if(Vr!=null&&Vr.has(r))return Vr.get(r);if((r.f&Pn)!==0)throw r.v;return r.v}function yu(r){if(r.deps!==null){r.f|=kt;for(const e of r.deps)(e.reactions??(e.reactions=[])).push(r),(e.f&Rr)!==0&&(e.f&kt)===0&&yu(e)}}function bu(r){if(r.v===Ir)return!0;if(r.deps===null)return!1;for(const e of r.deps)if(Sn.has(e)||(e.f&Rr)!==0&&bu(e))return!0;return!1}function Ue(r){var e=Ft;try{return Ft=!0,r()}finally{Ft=e}}function Xg(r,e){var t={};for(var n in r)e.includes(n)||(t[n]=r[n]);for(var a of Object.getOwnPropertySymbols(r))Object.propertyIsEnumerable.call(r,a)&&!e.includes(a)&&(t[a]=r[a]);return t}function He(r){if(!(typeof r!="object"||!r||r instanceof EventTarget)){if(Rt in r)qs(r);else if(!Array.isArray(r))for(let e in r){const t=r[e];typeof t=="object"&&t&&Rt in t&&qs(t)}}}function qs(r,e=new Set){if(typeof r=="object"&&r!==null&&!(r instanceof EventTarget)&&!e.has(r)){e.add(r),r instanceof Date&&r.getTime();for(let n in r)try{qs(r[n],e)}catch{}const t=vs(r);if(t!==Object.prototype&&t!==Array.prototype&&t!==Map.prototype&&t!==Set.prototype&&t!==Date.prototype){const n=wc(t);for(let a in n){const i=n[a].get;if(i)try{i.call(r)}catch{}}}}}const ku=new Set,Ms=new Set;function Fs(r,e,t,n={}){function a(i){if(n.capture||ho.call(e,i),!i.cancelBubble)return Da(()=>t==null?void 0:t.call(this,i))}return r.startsWith("pointer")||r.startsWith("touch")||r==="wheel"?xn(()=>{e.addEventListener(r,a,n)}):e.addEventListener(r,a,n),a}function Zg(r,e,t,n={}){var a=Fs(e,r,t,n);return()=>{r.removeEventListener(e,a,n)}}function Nr(r,e,t,n,a){var i={capture:n,passive:a},s=Fs(r,e,t,i);(e===document.body||e===window||e===document||e instanceof HTMLMediaElement)&&Aa(()=>{e.removeEventListener(r,s,i)})}function _n(r){for(var e=0;e<r.length;e++)ku.add(r[e]);for(var t of Ms)t(r)}let wu=null;function ho(r){var y;var e=this,t=e.ownerDocument,n=r.type,a=((y=r.composedPath)==null?void 0:y.call(r))||[],i=a[0]||r.target;wu=r;var s=0,l=wu===r&&r.__root;if(l){var c=a.indexOf(l);if(c!==-1&&(e===document||e===window)){r.__root=e;return}var u=a.indexOf(e);if(u===-1)return;c<=u&&(s=c)}if(i=a[s]||r.target,i!==e){kc(r,"currentTarget",{configurable:!0,get(){return i||t}});var d=Ze,p=tr;ot(null),Vt(null);try{for(var _,g=[];i!==null;){var f=i.assignedSlot||i.parentNode||i.host||null;try{var v=i["__"+n];v!=null&&(!i.disabled||r.target===i)&&v.call(i,r)}catch(h){_?g.push(h):_=h}if(r.cancelBubble||f===e||f===null)break;i=f}if(_){for(let h of g)queueMicrotask(()=>{throw h});throw _}}finally{r.__root=e,delete r.currentTarget,ot(d),Vt(p)}}}function zs(r){var e=document.createElement("template");return e.innerHTML=r.replaceAll("<!>","<!---->"),e.content}function Cn(r,e){var t=tr;t.nodes===null&&(t.nodes={start:r,end:e,a:null,t:null})}function W(r,e){var t=(e&so)!==0,n=(e&ei)!==0,a,i=!r.startsWith("<!>");return()=>{a===void 0&&(a=zs(i?r:"<!>"+r),t||(a=ft(a)));var s=n||Xc?document.importNode(a,!0):a.cloneNode(!0);if(t){var l=ft(s),c=s.lastChild;Cn(l,c)}else Cn(s,s);return s}}function Jg(r,e,t="svg"){var n=!r.startsWith("<!>"),a=(e&so)!==0,i=`<${t}>${n?r:"<!>"+r}</${t}>`,s;return()=>{if(!s){var l=zs(i),c=ft(l);if(a)for(s=document.createDocumentFragment();ft(c);)s.appendChild(ft(c));else s=ft(c)}var u=s.cloneNode(!0);if(a){var d=ft(u),p=u.lastChild;Cn(d,p)}else Cn(u,u);return u}}function Cr(r,e){return Jg(r,e,"svg")}function je(r=""){{var e=Ut(r+"");return Cn(e,e),e}}function xe(){var r=document.createDocumentFragment(),e=document.createComment(""),t=Ut();return r.append(e,t),Cn(e,t),r}function P(r,e){r!==null&&r.before(e)}function Qg(r){return r.endsWith("capture")&&r!=="gotpointercapture"&&r!=="lostpointercapture"}const $g=["beforeinput","click","change","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"];function ef(r){return $g.includes(r)}const rf={formnovalidate:"formNoValidate",ismap:"isMap",nomodule:"noModule",playsinline:"playsInline",readonly:"readOnly",defaultvalue:"defaultValue",defaultchecked:"defaultChecked",srcobject:"srcObject",novalidate:"noValidate",allowfullscreen:"allowFullscreen",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback"};function tf(r){return r=r.toLowerCase(),rf[r]??r}const nf=["touchstart","touchmove"];function af(r){return nf.includes(r)}let _i=!0;function gi(r){_i=r}function ve(r,e){var t=e==null?"":typeof e=="object"?e+"":e;t!==(r.__t??(r.__t=r.nodeValue))&&(r.__t=t,r.nodeValue=t+"")}function oa(r,e){return of(r,e)}const za=new Map;function of(r,{target:e,anchor:t,props:n={},events:a,context:i,intro:s=!0}){Og();var l=new Set,c=p=>{for(var _=0;_<p.length;_++){var g=p[_];if(!l.has(g)){l.add(g);var f=af(g);e.addEventListener(g,ho,{passive:f});var v=za.get(g);v===void 0?(document.addEventListener(g,ho,{passive:f}),za.set(g,1)):za.set(g,v+1)}}};c(ti(ku)),Ms.add(c);var u=void 0,d=Wg(()=>{var p=t??e.appendChild(Ut());return Rc(p,{pending:()=>{}},_=>{if(i){fe({});var g=lr;g.c=i}a&&(n.$$events=a),_i=s,u=r(_,n)||{},_i=!0,i&&me()}),()=>{var f;for(var _ of l){e.removeEventListener(_,ho);var g=za.get(_);--g===0?(document.removeEventListener(_,ho),za.delete(_)):za.set(_,g)}Ms.delete(c),p!==t&&((f=p.parentNode)==null||f.removeChild(p))}});return js.set(u,d),u}let js=new WeakMap;function vo(r,e){const t=js.get(r);return t?(js.delete(r),t(e)):Promise.resolve()}class yo{constructor(e,t=!0){ee(this,"anchor");Ge(this,jt,new Map);Ge(this,on,new Map);Ge(this,vt,new Map);Ge(this,ka,new Set);Ge(this,Wo,!0);Ge(this,Ho,()=>{var e=$e;if(J(this,jt).has(e)){var t=J(this,jt).get(e),n=J(this,on).get(t);if(n)As(n),J(this,ka).delete(t);else{var a=J(this,vt).get(t);a&&(J(this,on).set(t,a.effect),J(this,vt).delete(t),a.fragment.lastChild.remove(),this.anchor.before(a.fragment),n=a.effect)}for(const[i,s]of J(this,jt)){if(J(this,jt).delete(i),i===e)break;const l=J(this,vt).get(s);l&&(Wr(l.effect),J(this,vt).delete(s))}for(const[i,s]of J(this,on)){if(i===t||J(this,ka).has(i))continue;const l=()=>{if(Array.from(J(this,jt).values()).includes(i)){var u=document.createDocumentFragment();uu(s,u),u.append(Ut()),J(this,vt).set(i,{effect:s,fragment:u})}else Wr(s);J(this,ka).delete(i),J(this,on).delete(i)};J(this,Wo)||!n?(J(this,ka).add(i),ta(s,l,!1)):l()}}});Ge(this,ls,e=>{J(this,jt).delete(e);const t=Array.from(J(this,jt).values());for(const[n,a]of J(this,vt))t.includes(n)||(Wr(a.effect),J(this,vt).delete(n))});this.anchor=e,We(this,Wo,t)}ensure(e,t){var n=$e,a=Qc();if(t&&!J(this,on).has(e)&&!J(this,vt).has(e))if(a){var i=document.createDocumentFragment(),s=Ut();i.append(s),J(this,vt).set(e,{effect:at(()=>t(s)),fragment:i})}else J(this,on).set(e,at(()=>t(this.anchor)));if(J(this,jt).set(n,e),a){for(const[l,c]of J(this,on))l===e?n.skipped_effects.delete(c):n.skipped_effects.add(c);for(const[l,c]of J(this,vt))l===e?n.skipped_effects.delete(c.effect):n.skipped_effects.add(c.effect);n.oncommit(J(this,Ho)),n.ondiscard(J(this,ls))}else J(this,Ho).call(this)}}jt=new WeakMap,on=new WeakMap,vt=new WeakMap,ka=new WeakMap,Wo=new WeakMap,Ho=new WeakMap,ls=new WeakMap;function wr(r,e,...t){var n=new yo(r);ra(()=>{const a=e()??null;n.ensure(a,a&&(i=>a(i,...t)))},Bt)}function Tr(r){lr===null&&Ps(),Ea&&lr.l!==null?sf(lr).m.push(r):mr(()=>{const e=Ue(r);if(typeof e=="function")return e})}function Wt(r){lr===null&&Ps(),Tr(()=>()=>Ue(r))}function sf(r){var e=r.l;return e.u??(e.u={a:[],b:[],m:[]})}function K(r,e,t=!1){var n=new yo(r),a=t?Bt:0;function i(s,l){n.ensure(s,l)}ra(()=>{var s=!1;e((l,c=!0)=>{s=!0,i(c,l)}),s||i(!1,null)},a)}function Pu(r,e,t){var n=new yo(r),a=!Ia();ra(()=>{var i=e();a&&i!==null&&typeof i=="object"&&(i={}),n.ensure(i,t)})}function gn(r,e){return e}function lf(r,e,t){for(var n=[],a=e.length,i,s=e.length,l=0;l<a;l++){let p=e[l];ta(p,()=>{if(i){if(i.pending.delete(p),i.done.add(p),i.pending.size===0){var _=r.outrogroups;Ns(ti(i.done)),_.delete(i),_.size===0&&(r.outrogroups=null)}}else s-=1},!1)}if(s===0){var c=n.length===0&&t!==null;if(c){var u=t,d=u.parentNode;Lg(d),d.append(u),r.items.clear()}Ns(e,!c)}else i={pending:new Set(e),done:new Set},(r.outrogroups??(r.outrogroups=new Set)).add(i)}function Ns(r,e=!0){for(var t=0;t<r.length;t++)Wr(r[t],e)}var xu;function Ht(r,e,t,n,a,i=null){var s=r,l=new Map,c=(e&br)!==0;if(c){var u=r;s=u.appendChild(Ut())}var d=null,p=En(()=>{var h=t();return ri(h)?h:h==null?[]:ti(h)}),_,g=!0;function f(){y.fallback=d,cf(y,_,s,e,n),d!==null&&(_.length===0?(d.f&un)===0?As(d):(d.f^=un,bo(d,null,s)):ta(d,()=>{d=null}))}var v=ra(()=>{_=o(p);for(var h=_.length,w=new Set,k=$e,b=Qc(),x=0;x<h;x+=1){var I=_[x],S=n(I,x),q=g?null:l.get(S);q?(q.v&&Ta(q.v,I),q.i&&Ta(q.i,x),b&&k.skipped_effects.delete(q.e)):(q=uf(l,g?s:xu??(xu=Ut()),I,S,x,a,e,t),g||(q.e.f|=un),l.set(S,q)),w.add(S)}if(h===0&&i&&!d&&(g?d=at(()=>i(s)):(d=at(()=>i(xu??(xu=Ut()))),d.f|=un)),!g)if(b){for(const[E,D]of l)w.has(E)||k.skipped_effects.add(D.e);k.oncommit(f),k.ondiscard(()=>{})}else f();o(p)}),y={effect:v,items:l,outrogroups:null,fallback:d};g=!1}function cf(r,e,t,n,a){var D,C,B,F,z,L,A,M,N;var i=(n&Br)!==0,s=e.length,l=r.items,c=r.effect.first,u,d=null,p,_=[],g=[],f,v,y,h;if(i)for(h=0;h<s;h+=1)f=e[h],v=a(f,h),y=l.get(v).e,(y.f&un)===0&&((C=(D=y.nodes)==null?void 0:D.a)==null||C.measure(),(p??(p=new Set)).add(y));for(h=0;h<s;h+=1){if(f=e[h],v=a(f,h),y=l.get(v).e,r.outrogroups!==null)for(const H of r.outrogroups)H.pending.delete(y),H.done.delete(y);if((y.f&un)!==0)if(y.f^=un,y===c)bo(y,null,t);else{var w=d?d.next:c;y===r.effect.last&&(r.effect.last=y.prev),y.prev&&(y.prev.next=y.next),y.next&&(y.next.prev=y.prev),Tn(r,d,y),Tn(r,y,w),bo(y,w,t),d=y,_=[],g=[],c=d.next;continue}if((y.f&gt)!==0&&(As(y),i&&((F=(B=y.nodes)==null?void 0:B.a)==null||F.unfix(),(p??(p=new Set)).delete(y))),y!==c){if(u!==void 0&&u.has(y)){if(_.length<g.length){var k=g[0],b;d=k.prev;var x=_[0],I=_[_.length-1];for(b=0;b<_.length;b+=1)bo(_[b],k,t);for(b=0;b<g.length;b+=1)u.delete(g[b]);Tn(r,x.prev,I.next),Tn(r,d,x),Tn(r,I,k),c=k,d=I,h-=1,_=[],g=[]}else u.delete(y),bo(y,c,t),Tn(r,y.prev,y.next),Tn(r,y,d===null?r.effect.first:d.next),Tn(r,d,y),d=y;continue}for(_=[],g=[];c!==null&&c!==y;)(u??(u=new Set)).add(c),g.push(c),c=c.next;if(c===null)continue}(y.f&un)===0&&_.push(y),d=y,c=y.next}if(r.outrogroups!==null){for(const H of r.outrogroups)H.pending.size===0&&(Ns(ti(H.done)),(z=r.outrogroups)==null||z.delete(H));r.outrogroups.size===0&&(r.outrogroups=null)}if(c!==null||u!==void 0){var S=[];if(u!==void 0)for(y of u)(y.f&gt)===0&&S.push(y);for(;c!==null;)(c.f&gt)===0&&c!==r.fallback&&S.push(c),c=c.next;var q=S.length;if(q>0){var E=(n&br)!==0&&s===0?t:null;if(i){for(h=0;h<q;h+=1)(A=(L=S[h].nodes)==null?void 0:L.a)==null||A.measure();for(h=0;h<q;h+=1)(N=(M=S[h].nodes)==null?void 0:M.a)==null||N.fix()}lf(r,S,E)}}i&&xn(()=>{var H,X;if(p!==void 0)for(y of p)(X=(H=y.nodes)==null?void 0:H.a)==null||X.apply()})}function uf(r,e,t,n,a,i,s,l){var c=(s&Je)!==0?(s&Nt)===0?cr(t,!1,!1):$n(t):null,u=(s&pt)!==0?$n(a):null;return{v:c,i:u,e:at(()=>(i(e,c??t,u??a,l),()=>{r.delete(n)}))}}function bo(r,e,t){if(r.nodes)for(var n=r.nodes.start,a=r.nodes.end,i=e&&(e.f&un)===0?e.nodes.start:t;n!==null;){var s=fo(n);if(i.before(n),n===a)return;n=s}}function Tn(r,e,t){e===null?r.effect.first=t:e.next=t,t===null?r.effect.last=e:t.prev=e}function fn(r,e,t=!1,n=!1,a=!1){var i=r,s="";Z(()=>{var l=tr;if(s!==(s=e()??"")&&(l.nodes!==null&&(iu(l.nodes.start,l.nodes.end),l.nodes=null),s!=="")){var c=s+"";t?c=`<svg>${c}</svg>`:n&&(c=`<math>${c}</math>`);var u=zs(c);if((t||n)&&(u=ft(u)),Cn(ft(u),u.lastChild),t||n)for(;ft(u);)i.before(ft(u));else i.before(u)}})}function df(r,e,t){var n=new yo(r);ra(()=>{var a=e()??null;n.ensure(a,a&&(i=>t(i,a)))},Bt)}const pf=()=>performance.now(),mn={tick:r=>requestAnimationFrame(r),now:()=>pf(),tasks:new Set};function Eu(){const r=mn.now();mn.tasks.forEach(e=>{e.c(r)||(mn.tasks.delete(e),e.f())}),mn.tasks.size!==0&&mn.tick(Eu)}function _f(r){let e;return mn.tasks.size===0&&mn.tick(Eu),{promise:new Promise(t=>{mn.tasks.add(e={c:r,f:t})}),abort(){mn.tasks.delete(e)}}}function fi(r,e){Da(()=>{r.dispatchEvent(new CustomEvent(e))})}function gf(r){if(r==="float")return"cssFloat";if(r==="offset")return"cssOffset";if(r.startsWith("--"))return r;const e=r.split("-");return e.length===1?e[0]:e[0]+e.slice(1).map(t=>t[0].toUpperCase()+t.slice(1)).join("")}function Su(r){const e={},t=r.split(";");for(const n of t){const[a,i]=n.split(":");if(!a||i===void 0)break;const s=gf(a.trim());e[s]=i.trim()}return e}const ff=r=>r;function Iu(r,e,t,n){var k;var a=(r&oo)!==0,i=(r&bt)!==0,s=a&&i,l=(r&io)!==0,c=s?"both":a?"in":"out",u,d=e.inert,p=e.style.overflow,_,g;function f(){return Da(()=>u??(u=t()(e,(n==null?void 0:n())??{},{direction:c})))}var v={is_global:l,in(){var b;if(e.inert=d,!a){g==null||g.abort(),(b=g==null?void 0:g.reset)==null||b.call(g);return}i||_==null||_.abort(),fi(e,"introstart"),_=Os(e,f(),g,1,()=>{fi(e,"introend"),_==null||_.abort(),_=u=void 0,e.style.overflow=p})},out(b){if(!i){b==null||b(),u=void 0;return}e.inert=!0,fi(e,"outrostart"),g=Os(e,f(),_,0,()=>{fi(e,"outroend"),b==null||b()})},stop:()=>{_==null||_.abort(),g==null||g.abort()}},y=tr;if(((k=y.nodes).t??(k.t=[])).push(v),a&&_i){var h=l;if(!h){for(var w=y.parent;w&&(w.f&Bt)!==0;)for(;(w=w.parent)&&(w.f&Ot)===0;);h=!w||(w.f&ii)!==0}h&&ea(()=>{Ue(()=>v.in())})}}function Os(r,e,t,n,a){var i=n===1;if(wa(e)){var s,l=!1;return xn(()=>{if(!l){var y=e({direction:i?"in":"out"});s=Os(r,y,t,n,a)}}),{abort:()=>{l=!0,s==null||s.abort()},deactivate:()=>s.deactivate(),reset:()=>s.reset(),t:()=>s.t()}}if(t==null||t.deactivate(),!(e!=null&&e.duration))return a(),{abort:rr,deactivate:rr,reset:rr,t:()=>n};const{delay:c=0,css:u,tick:d,easing:p=ff}=e;var _=[];if(i&&t===void 0&&(d&&d(0,1),u)){var g=Su(u(0,1));_.push(g,g)}var f=()=>1-n,v=r.animate(_,{duration:c,fill:"forwards"});return v.onfinish=()=>{v.cancel();var y=(t==null?void 0:t.t())??1-n;t==null||t.abort();var h=n-y,w=e.duration*Math.abs(h),k=[];if(w>0){var b=!1;if(u)for(var x=Math.ceil(w/16.666666666666668),I=0;I<=x;I+=1){var S=y+h*p(I/x),q=Su(u(S,1-S));k.push(q),b||(b=q.overflow==="hidden")}b&&(r.style.overflow="hidden"),f=()=>{var E=v.currentTime;return y+h*p(E/w)},d&&_f(()=>{if(v.playState!=="running")return!1;var E=f();return d(E,1-E),!0})}v=r.animate(k,{duration:w,fill:"forwards"}),v.onfinish=()=>{f=()=>n,d==null||d(n,1-n),a()}},{abort:()=>{v&&(v.cancel(),v.effect=null,v.onfinish=rr)},deactivate:()=>{a=rr},reset:()=>{n===0&&(d==null||d(1,0))},t:()=>f()}}function Ls(r,e,t,n,a,i){var s=null,l=r,c=new yo(l,!1);ra(()=>{const u=e()||null;var d=u==="svg"?lo:null;if(u===null){c.ensure(null,null),gi(!0);return}return c.ensure(u,p=>{if(u){if(s=d?document.createElementNS(d,u):document.createElement(u),Cn(s,s),n){var _=s.appendChild(Ut());n(s,_)}tr.nodes.end=s,p.before(s)}}),gi(!0),()=>{u&&gi(!1)}},Bt),Aa(()=>{gi(!0)})}function ke(r,e){ea(()=>{var t=r.getRootNode(),n=t.host?t:t.head??t.ownerDocument.head;if(!n.querySelector("#"+e.hash)){const a=document.createElement("style");a.id=e.hash,a.textContent=e.code,n.appendChild(a)}})}function mf(r,e,t){ea(()=>{var n=Ue(()=>e(r,t==null?void 0:t())||{});if(t&&(n!=null&&n.update)){var a=!1,i={};qa(()=>{var s=t();He(s),a&&xs(i,s)&&(i=s,n.update(s))}),a=!0}if(n!=null&&n.destroy)return()=>n.destroy()})}function hf(r,e){var t=void 0,n;nu(()=>{t!==(t=e())&&(n&&(Wr(n),n=null),t&&(n=at(()=>{ea(()=>t(r))})))})}function Cu(r){var e,t,n="";if(typeof r=="string"||typeof r=="number")n+=r;else if(typeof r=="object")if(Array.isArray(r)){var a=r.length;for(e=0;e<a;e++)r[e]&&(t=Cu(r[e]))&&(n&&(n+=" "),n+=t)}else for(t in r)r[t]&&(n&&(n+=" "),n+=t);return n}function vf(){for(var r,e,t=0,n="",a=arguments.length;t<a;t++)(r=arguments[t])&&(e=Cu(r))&&(n&&(n+=" "),n+=e);return n}function ia(r){return typeof r=="object"?vf(r):r??""}const Tu=[...`
2
- \r\f \v\uFEFF`];function yf(r,e,t){var n=r==null?"":""+r;if(e&&(n=n?n+" "+e:e),t){for(var a in t)if(t[a])n=n?n+" "+a:a;else if(n.length)for(var i=a.length,s=0;(s=n.indexOf(a,s))>=0;){var l=s+i;(s===0||Tu.includes(n[s-1]))&&(l===n.length||Tu.includes(n[l]))?n=(s===0?"":n.substring(0,s))+n.substring(l+1):s=l}}return n===""?null:n}function Du(r,e=!1){var t=e?" !important;":";",n="";for(var a in r){var i=r[a];i!=null&&i!==""&&(n+=" "+a+": "+i+t)}return n}function Bs(r){return r[0]!=="-"||r[1]!=="-"?r.toLowerCase():r}function bf(r,e){if(e){var t="",n,a;if(Array.isArray(e)?(n=e[0],a=e[1]):n=e,r){r=String(r).replaceAll(/\s*\/\*.*?\*\/\s*/g,"").trim();var i=!1,s=0,l=!1,c=[];n&&c.push(...Object.keys(n).map(Bs)),a&&c.push(...Object.keys(a).map(Bs));var u=0,d=-1;const v=r.length;for(var p=0;p<v;p++){var _=r[p];if(l?_==="/"&&r[p-1]==="*"&&(l=!1):i?i===_&&(i=!1):_==="/"&&r[p+1]==="*"?l=!0:_==='"'||_==="'"?i=_:_==="("?s++:_===")"&&s--,!l&&i===!1&&s===0){if(_===":"&&d===-1)d=p;else if(_===";"||p===v-1){if(d!==-1){var g=Bs(r.substring(u,d).trim());if(!c.includes(g)){_!==";"&&p++;var f=r.substring(u,p).trim();t+=" "+f+";"}}u=p+1,d=-1}}}}return n&&(t+=Du(n)),a&&(t+=Du(a,!0)),t=t.trim(),t===""?null:t}return r==null?null:String(r)}function ur(r,e,t,n,a,i){var s=r.__className;if(s!==t||s===void 0){var l=yf(t,n,i);l==null?r.removeAttribute("class"):e?r.className=l:r.setAttribute("class",l),r.__className=t}else if(i&&a!==i)for(var c in i){var u=!!i[c];(a==null||u!==!!a[c])&&r.classList.toggle(c,u)}return i}function Rs(r,e={},t,n){for(var a in t){var i=t[a];e[a]!==i&&(t[a]==null?r.style.removeProperty(a):r.style.setProperty(a,i,n))}}function De(r,e,t,n){var a=r.__style;if(a!==e){var i=bf(e,n);i==null?r.removeAttribute("style"):r.style.cssText=i,r.__style=e}else n&&(Array.isArray(n)?(Rs(r,t==null?void 0:t[0],n[0]),Rs(r,t==null?void 0:t[1],n[1],"important")):Rs(r,t,n));return n}function Us(r,e,t=!1){if(r.multiple){if(e==null)return;if(!ri(e))return wg();for(var n of r.options)n.selected=e.includes(Au(n));return}for(n of r.options){var a=Au(n);if(Ng(a,e)){n.selected=!0;return}}(!t||e!==void 0)&&(r.selectedIndex=-1)}function kf(r){var e=new MutationObserver(()=>{Us(r,r.__value)});e.observe(r,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["value"]}),Aa(()=>{e.disconnect()})}function Au(r){return"__value"in r?r.__value:r.value}const ko=Symbol("class"),wo=Symbol("style"),qu=Symbol("is custom element"),Mu=Symbol("is html");function wf(r,e){e?r.hasAttribute("selected")||r.setAttribute("selected",""):r.removeAttribute("selected")}function be(r,e,t,n){var a=Fu(r);a[e]!==(a[e]=t)&&(e==="loading"&&(r[dg]=t),t==null?r.removeAttribute(e):typeof t!="string"&&ju(r).includes(e)?r[e]=t:r.setAttribute(e,t))}function Pf(r,e,t,n,a=!1,i=!1){var s=Fu(r),l=s[qu],c=!s[Mu],u=e||{},d=r.tagName==="OPTION";for(var p in e)p in t||(t[p]=null);t.class?t.class=ia(t.class):(n||t[ko])&&(t.class=null),t[wo]&&(t.style??(t.style=null));var _=ju(r);for(const k in t){let b=t[k];if(d&&k==="value"&&b==null){r.value=r.__value="",u[k]=b;continue}if(k==="class"){var g=r.namespaceURI==="http://www.w3.org/1999/xhtml";ur(r,g,b,n,e==null?void 0:e[ko],t[ko]),u[k]=b,u[ko]=t[ko];continue}if(k==="style"){De(r,b,e==null?void 0:e[wo],t[wo]),u[k]=b,u[wo]=t[wo];continue}var f=u[k];if(!(b===f&&!(b===void 0&&r.hasAttribute(k)))){u[k]=b;var v=k[0]+k[1];if(v!=="$$")if(v==="on"){const x={},I="$$"+k;let S=k.slice(2);var y=ef(S);if(Qg(S)&&(S=S.slice(0,-7),x.capture=!0),!y&&f){if(b!=null)continue;r.removeEventListener(S,u[I],x),u[I]=null}if(b!=null)if(y)r[`__${S}`]=b,_n([S]);else{let q=function(E){u[k].call(this,E)};u[I]=Fs(S,r,q,x)}else y&&(r[`__${S}`]=void 0)}else if(k==="style")be(r,k,b);else if(k==="autofocus")Bg(r,!!b);else if(!l&&(k==="__value"||k==="value"&&b!=null))r.value=r.__value=b;else if(k==="selected"&&d)wf(r,b);else{var h=k;c||(h=tf(h));var w=h==="defaultValue"||h==="defaultChecked";if(b==null&&!l&&!w)if(s[k]=null,h==="value"||h==="checked"){let x=r;const I=e===void 0;if(h==="value"){let S=x.defaultValue;x.removeAttribute(h),x.defaultValue=S,x.value=x.__value=I?S:null}else{let S=x.defaultChecked;x.removeAttribute(h),x.defaultChecked=S,x.checked=I?S:!1}}else r.removeAttribute(k);else w||_.includes(h)&&(l||typeof b!="string")?(r[h]=b,h in s&&(s[h]=Ir)):typeof b!="function"&&be(r,h,b)}}}return u}function Vs(r,e,t=[],n=[],a=[],i,s=!1,l=!1){Uc(a,t,n,c=>{var u=void 0,d={},p=r.nodeName==="SELECT",_=!1;if(nu(()=>{var f=e(...c.map(o)),v=Pf(r,u,f,i,s,l);_&&p&&"value"in f&&Us(r,f.value);for(let h of Object.getOwnPropertySymbols(d))f[h]||Wr(d[h]);for(let h of Object.getOwnPropertySymbols(f)){var y=f[h];h.description===Zr&&(!u||y!==u[h])&&(d[h]&&Wr(d[h]),d[h]=at(()=>hf(r,()=>y))),v[h]=y}u=v}),p){var g=r;ea(()=>{Us(g,u.value,!0),kf(g)})}_=!0})}function Fu(r){return r.__attributes??(r.__attributes={[qu]:r.nodeName.includes("-"),[Mu]:r.namespaceURI===_t})}var zu=new Map;function ju(r){var e=r.getAttribute("is")||r.nodeName,t=zu.get(e);if(t)return t;zu.set(e,t=[]);for(var n,a=r,i=Element.prototype;i!==a;){n=wc(a);for(var s in n)n[s].set&&t.push(s);a=vs(a)}return t}function xf(r,e,t=e){var n=new WeakSet;Ug(r,"input",async a=>{var i=a?r.defaultValue:r.value;if(i=Ws(r)?Hs(i):i,t(i),$e!==null&&n.add($e),await vu(),i!==(i=e())){var s=r.selectionStart,l=r.selectionEnd,c=r.value.length;if(r.value=i??"",l!==null){var u=r.value.length;s===l&&l===c&&u>c?(r.selectionStart=u,r.selectionEnd=u):(r.selectionStart=s,r.selectionEnd=Math.min(l,u))}}}),Ue(e)==null&&r.value&&(t(Ws(r)?Hs(r.value):r.value),$e!==null&&n.add($e)),qa(()=>{var a=e();if(r===document.activeElement){var i=li??$e;if(n.has(i))return}Ws(r)&&a===Hs(r.value)||r.type==="date"&&!a&&!r.value||a!==r.value&&(r.value=a??"")})}function Ws(r){var e=r.type;return e==="number"||e==="range"}function Hs(r){return r===""?null:+r}const us=class us{constructor(e){Ge(this,cs);Ge(this,Gn,new WeakMap);Ge(this,$a);Ge(this,Yo);We(this,Yo,e)}observe(e,t){var n=J(this,Gn).get(e)||new Set;return n.add(t),J(this,Gn).set(e,n),jr(this,cs,ig).call(this).observe(e,J(this,Yo)),()=>{var a=J(this,Gn).get(e);a.delete(t),a.size===0&&(J(this,Gn).delete(e),J(this,$a).unobserve(e))}}};Gn=new WeakMap,$a=new WeakMap,Yo=new WeakMap,cs=new WeakSet,ig=function(){return J(this,$a)??We(this,$a,new ResizeObserver(e=>{for(var t of e){us.entries.set(t.target,t);for(var n of J(this,Gn).get(t.target)||[])n(t)}}))},ee(us,"entries",new WeakMap);let mi=us;var Ef=new mi({box:"content-box"}),Sf=new mi({box:"border-box"});function Nu(r,e,t){var n=Ef,a=n.observe(r,i=>t(i[e]));Aa(a)}function hi(r,e,t){var n=Sf.observe(r,()=>t(r[e]));ea(()=>(Ue(()=>t(r[e])),n))}function Ou(r,e){return r===e||(r==null?void 0:r[Rt])===e}function ja(r={},e,t,n){return ea(()=>{var a,i;return qa(()=>{a=i,i=[],Ue(()=>{r!==t(...i)&&(e(r,...i),a&&Ou(t(...a),r)&&e(null,...a))})}),()=>{xn(()=>{i&&Ou(t(...i),r)&&e(null,...i)})}}),r}function Dn(r=!1){const e=lr,t=e.l.u;if(!t)return;let n=()=>He(e.s);if(r){let a=0,i={};const s=_o(()=>{let l=!1;const c=e.s;for(const u in c)c[u]!==i[u]&&(i[u]=c[u],l=!0);return l&&a++,a});n=()=>o(s)}t.b.length&&tu(()=>{Lu(e,n),ni(t.b)}),mr(()=>{const a=Ue(()=>t.m.map(ug));return()=>{for(const i of a)typeof i=="function"&&i()}}),t.a.length&&mr(()=>{Lu(e,n),ni(t.a)})}function Lu(r,e){if(r.l.s)for(const t of r.l.s)o(t);e()}function Bu(r,e){var i;var t=(i=r.$$events)==null?void 0:i[e.type],n=ri(t)?t.slice():t==null?[]:[t];for(var a of n)a.call(this,e)}function Ys(r,e,t){if(r==null)return e(void 0),t&&t(void 0),rr;const n=Ue(()=>r.subscribe(e,t));return n.unsubscribe?()=>n.unsubscribe():n}const Na=[];function xt(r,e){return{subscribe:Or(r,e).subscribe}}function Or(r,e=rr){let t=null;const n=new Set;function a(l){if(xs(r,l)&&(r=l,t)){const c=!Na.length;for(const u of n)u[1](),Na.push(u,r);if(c){for(let u=0;u<Na.length;u+=2)Na[u][0](Na[u+1]);Na.length=0}}}function i(l){a(l(r))}function s(l,c=rr){const u=[l,c];return n.add(u),n.size===1&&(t=e(a,i)||rr),l(r),()=>{n.delete(u),n.size===0&&t&&(t(),t=null)}}return{set:a,update:i,subscribe:s}}function zt(r,e,t){const n=!Array.isArray(r),a=n?[r]:r;if(!a.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const i=e.length<2;return xt(t,(s,l)=>{let c=!1;const u=[];let d=0,p=rr;const _=()=>{if(d)return;p();const f=e(n?u[0]:u,s,l);i?s(f):p=typeof f=="function"?f:rr},g=a.map((f,v)=>Ys(f,y=>{u[v]=y,d&=~(1<<v),c&&_()},()=>{d|=1<<v}));return c=!0,_(),function(){ni(g),p(),c=!1}})}function Ru(r){let e;return Ys(r,t=>e=t)(),e}let vi=!1,Gs=Symbol();function pe(r,e,t){const n=t[e]??(t[e]={store:null,source:cr(void 0),unsubscribe:rr});if(n.store!==r&&!(Gs in t))if(n.unsubscribe(),n.store=r??null,r==null)n.source.v=void 0,n.unsubscribe=rr;else{var a=!0;n.unsubscribe=Ys(r,i=>{a?n.source.v=i:j(n.source,i)}),a=!1}return r&&Gs in t?Ru(r):o(n.source)}function Uu(r,e){return r.set(e),e}function Ye(){const r={};function e(){Aa(()=>{for(var t in r)r[t].unsubscribe();kc(r,Gs,{enumerable:!1,value:!0})})}return[r,e]}function If(r){var e=vi;try{return vi=!1,[r(),vi]}finally{vi=e}}const Cf={get(r,e){if(!r.exclude.includes(e))return r.props[e]},set(r,e){return!1},getOwnPropertyDescriptor(r,e){if(!r.exclude.includes(e)&&e in r.props)return{enumerable:!0,configurable:!0,value:r.props[e]}},has(r,e){return r.exclude.includes(e)?!1:e in r.props},ownKeys(r){return Reflect.ownKeys(r.props).filter(e=>!r.exclude.includes(e))}};function Er(r,e,t){return new Proxy({props:r,exclude:e},Cf)}const Tf={get(r,e){let t=r.props.length;for(;t--;){let n=r.props[t];if(wa(n)&&(n=n()),typeof n=="object"&&n!==null&&e in n)return n[e]}},set(r,e,t){let n=r.props.length;for(;n--;){let a=r.props[n];wa(a)&&(a=a());const i=wn(a,e);if(i&&i.set)return i.set(t),!0}return!1},getOwnPropertyDescriptor(r,e){let t=r.props.length;for(;t--;){let n=r.props[t];if(wa(n)&&(n=n()),typeof n=="object"&&n!==null&&e in n){const a=wn(n,e);return a&&!a.configurable&&(a.configurable=!0),a}}},has(r,e){if(e===Rt||e===Cc)return!1;for(let t of r.props)if(wa(t)&&(t=t()),t!=null&&e in t)return!0;return!1},ownKeys(r){const e=[];for(let t of r.props)if(wa(t)&&(t=t()),!!t){for(const n in t)e.includes(n)||e.push(n);for(const n of Object.getOwnPropertySymbols(t))e.includes(n)||e.push(n)}return e}};function dr(...r){return new Proxy({props:r},Tf)}function Q(r,e,t,n){var k;var a=!Ea||(t&$o)!==0,i=(t&ao)!==0,s=(t&sr)!==0,l=n,c=!0,u=()=>(c&&(c=!1,l=s?Ue(n):n),l),d;if(i){var p=Rt in r||Cc in r;d=((k=wn(r,e))==null?void 0:k.set)??(p&&e in r?b=>r[e]=b:void 0)}var _,g=!1;i?[_,g]=If(()=>r[e]):_=r[e],_===void 0&&n!==void 0&&(_=u(),d&&(a&&hg(),d(_)));var f;if(a?f=()=>{var b=r[e];return b===void 0?u():(c=!0,b)}:f=()=>{var b=r[e];return b!==void 0&&(l=void 0),b===void 0?l:b},a&&(t&Xn)===0)return f;if(d){var v=r.$$legacy;return function(b,x){return arguments.length>0?((!a||!x||v||g)&&d(x?f():b),b):f()}}var y=!1,h=((t&nt)!==0?_o:En)(()=>(y=!1,f()));i&&o(h);var w=tr;return function(b,x){if(arguments.length>0){const I=x?o(h):a&&i?nr(b):b;return j(h,I),y=!0,l!==void 0&&(l=I),b}return In&&y||(w.f&cn)!==0?h.v:o(h)}}var Ae=(r=>(r[r.UnknownError=0]="UnknownError",r[r.UserCancelledError=1]="UserCancelledError",r[r.StoreProblemError=2]="StoreProblemError",r[r.PurchaseNotAllowedError=3]="PurchaseNotAllowedError",r[r.PurchaseInvalidError=4]="PurchaseInvalidError",r[r.ProductNotAvailableForPurchaseError=5]="ProductNotAvailableForPurchaseError",r[r.ProductAlreadyPurchasedError=6]="ProductAlreadyPurchasedError",r[r.ReceiptAlreadyInUseError=7]="ReceiptAlreadyInUseError",r[r.InvalidReceiptError=8]="InvalidReceiptError",r[r.MissingReceiptFileError=9]="MissingReceiptFileError",r[r.NetworkError=10]="NetworkError",r[r.InvalidCredentialsError=11]="InvalidCredentialsError",r[r.UnexpectedBackendResponseError=12]="UnexpectedBackendResponseError",r[r.InvalidAppUserIdError=14]="InvalidAppUserIdError",r[r.OperationAlreadyInProgressError=15]="OperationAlreadyInProgressError",r[r.UnknownBackendError=16]="UnknownBackendError",r[r.InvalidAppleSubscriptionKeyError=17]="InvalidAppleSubscriptionKeyError",r[r.IneligibleError=18]="IneligibleError",r[r.InsufficientPermissionsError=19]="InsufficientPermissionsError",r[r.PaymentPendingError=20]="PaymentPendingError",r[r.InvalidSubscriberAttributesError=21]="InvalidSubscriberAttributesError",r[r.LogOutWithAnonymousUserError=22]="LogOutWithAnonymousUserError",r[r.ConfigurationError=23]="ConfigurationError",r[r.UnsupportedError=24]="UnsupportedError",r[r.EmptySubscriberAttributesError=25]="EmptySubscriberAttributesError",r[r.CustomerInfoError=28]="CustomerInfoError",r[r.SignatureVerificationError=36]="SignatureVerificationError",r[r.InvalidEmailError=38]="InvalidEmailError",r[r.TestStoreSimulatedPurchaseError=42]="TestStoreSimulatedPurchaseError",r))(Ae||{});function Df(r){switch(r){case 0:return"Unknown error.";case 1:return"Purchase was cancelled.";case 2:return"There was a problem with the store.";case 3:return"The device or user is not allowed to make the purchase.";case 4:return"One or more of the arguments provided are invalid.";case 5:return"The product is not available for purchase.";case 6:return"This product is already active for the user.";case 7:return"There is already another active subscriber using the same receipt.";case 8:return"The receipt is not valid.";case 9:return"The receipt is missing.";case 10:return"Error performing request. Please check your network connection and try again.";case 11:return"There was a credentials issue. Check the underlying error for more details.";case 12:return"Received unexpected response from the backend.";case 14:return"The app user ID is not valid.";case 15:return"The operation is already in progress.";case 16:return"There was an unknown backend error.";case 17:return"Apple Subscription Key is invalid or not present. In order to provide subscription offers, you must first generate a subscription key. Please see https://docs.revenuecat.com/docs/ios-subscription-offers for more info.";case 18:return"The User is ineligible for that action.";case 19:return"App does not have sufficient permissions to make purchases.";case 20:return"The payment is pending.";case 21:return"One or more of the attributes sent could not be saved.";case 22:return"Called logOut but the current user is anonymous.";case 23:return"There is an issue with your configuration. Check the underlying error for more details.";case 24:return"There was a problem with the operation. Looks like we don't support that yet. Check the underlying error for more details.";case 25:return"A request for subscriber attributes returned none.";case 28:return"There was a problem related to the customer info.";case 36:return"Request failed signature verification. Please see https://rev.cat/trusted-entitlements for more info.";case 38:return"Email is not valid. Please provide a valid email address.";case 42:return"Purchase failure simulated successfully in Test Store."}}class Oa{static getPublicMessage(e){return Df(e)}static getErrorCodeForBackendErrorCode(e){switch(e){case 7101:case 7773:case 7898:case 7899:case 7900:case 7901:return Ae.StoreProblemError;case 7102:return Ae.ReceiptAlreadyInUseError;case 7103:return Ae.InvalidReceiptError;case 7107:case 7224:case 7225:case 7967:return Ae.InvalidCredentialsError;case 7105:case 7106:case 7814:case 7877:case 7878:return Ae.PurchaseInvalidError;case 7772:return Ae.ProductAlreadyPurchasedError;case 7220:return Ae.InvalidAppUserIdError;case 7259:return Ae.CustomerInfoError;case 7229:return Ae.StoreProblemError;case 7230:case 7e3:return Ae.ConfigurationError;case 7231:return Ae.StoreProblemError;case 7232:return Ae.IneligibleError;case 7263:case 7264:return Ae.InvalidSubscriberAttributesError;case 7104:case 7234:case 7226:case 7110:return Ae.UnexpectedBackendResponseError;case 7662:return Ae.UnsupportedError;case 7012:case 7834:case 7879:return Ae.InvalidEmailError}}static convertCodeToBackendErrorCode(e){return e in hn?e:null}static convertPurchaseFlowErrorCodeToErrorCode(e){switch(e){case _e.ErrorSettingUpPurchase:return Ae.StoreProblemError;case _e.ErrorChargingPayment:return Ae.PaymentPendingError;case _e.NetworkError:return Ae.NetworkError;case _e.MissingEmailError:return Ae.PurchaseInvalidError;case _e.AlreadyPurchasedError:return Ae.ProductAlreadyPurchasedError;case _e.InvalidPaddleAPIKeyError:return Ae.InvalidCredentialsError;default:return Ae.UnknownError}}}var hn=(r=>(r[r.BackendInvalidPlatform=7e3]="BackendInvalidPlatform",r[r.BackendInvalidEmail=7012]="BackendInvalidEmail",r[r.BackendStoreProblem=7101]="BackendStoreProblem",r[r.BackendCannotTransferPurchase=7102]="BackendCannotTransferPurchase",r[r.BackendInvalidReceiptToken=7103]="BackendInvalidReceiptToken",r[r.BackendInvalidAppStoreSharedSecret=7104]="BackendInvalidAppStoreSharedSecret",r[r.BackendInvalidPaymentModeOrIntroPriceNotProvided=7105]="BackendInvalidPaymentModeOrIntroPriceNotProvided",r[r.BackendProductIdForGoogleReceiptNotProvided=7106]="BackendProductIdForGoogleReceiptNotProvided",r[r.BackendInvalidPlayStoreCredentials=7107]="BackendInvalidPlayStoreCredentials",r[r.BackendInternalServerError=7110]="BackendInternalServerError",r[r.BackendEmptyAppUserId=7220]="BackendEmptyAppUserId",r[r.BackendInvalidAuthToken=7224]="BackendInvalidAuthToken",r[r.BackendInvalidAPIKey=7225]="BackendInvalidAPIKey",r[r.BackendBadRequest=7226]="BackendBadRequest",r[r.BackendPlayStoreQuotaExceeded=7229]="BackendPlayStoreQuotaExceeded",r[r.BackendPlayStoreInvalidPackageName=7230]="BackendPlayStoreInvalidPackageName",r[r.BackendPlayStoreGenericError=7231]="BackendPlayStoreGenericError",r[r.BackendUserIneligibleForPromoOffer=7232]="BackendUserIneligibleForPromoOffer",r[r.BackendInvalidAppleSubscriptionKey=7234]="BackendInvalidAppleSubscriptionKey",r[r.BackendSubscriberNotFound=7259]="BackendSubscriberNotFound",r[r.BackendInvalidSubscriberAttributes=7263]="BackendInvalidSubscriberAttributes",r[r.BackendInvalidSubscriberAttributesBody=7264]="BackendInvalidSubscriberAttributesBody",r[r.BackendProductIDsMalformed=7662]="BackendProductIDsMalformed",r[r.BackendAlreadySubscribedError=7772]="BackendAlreadySubscribedError",r[r.BackendPaymentGatewayGenericError=7773]="BackendPaymentGatewayGenericError",r[r.BackendOfferNotFound=7814]="BackendOfferNotFound",r[r.BackendNoMXRecordsFound=7834]="BackendNoMXRecordsFound",r[r.BackendInvalidOperationSession=7877]="BackendInvalidOperationSession",r[r.BackendPurchaseCannotBeCompleted=7878]="BackendPurchaseCannotBeCompleted",r[r.BackendEmailIsRequired=7879]="BackendEmailIsRequired",r[r.BackendGatewaySetupErrorStripeTaxNotActive=7898]="BackendGatewaySetupErrorStripeTaxNotActive",r[r.BackendGatewaySetupErrorInvalidTaxOriginAddress=7899]="BackendGatewaySetupErrorInvalidTaxOriginAddress",r[r.BackendGatewaySetupErrorMissingRequiredPermission=7900]="BackendGatewaySetupErrorMissingRequiredPermission",r[r.BackendGatewaySetupErrorSandboxModeOnly=7901]="BackendGatewaySetupErrorSandboxModeOnly",r[r.BackendInvalidPaddleAPIKey=7967]="BackendInvalidPaddleAPIKey",r))(hn||{});class Qe extends Error{constructor(t,n,a,i){super(n);ee(this,"toString",()=>`PurchasesError(code: ${Ae[this.errorCode]}, message: ${this.message})`);this.errorCode=t,this.underlyingErrorMessage=a,this.extra=i}static getForBackendError(t,n){const a=Oa.getErrorCodeForBackendErrorCode(t);return new Qe(a,Oa.getPublicMessage(a),n,{backendErrorCode:t})}static getForPurchasesFlowError(t){return new Qe(Oa.convertPurchaseFlowErrorCodeToErrorCode(t.errorCode),t.message,t.underlyingErrorMessage)}}class Vu extends Error{constructor(){super("Purchases must be configured before calling getInstance")}}var vn=(r=>(r.Started="started",r.InProgress="in_progress",r.Succeeded="succeeded",r.Failed="failed",r))(vn||{}),La=(r=>(r[r.SetupIntentCreationFailed=1]="SetupIntentCreationFailed",r[r.PaymentMethodCreationFailed=2]="PaymentMethodCreationFailed",r[r.PaymentChargeFailed=3]="PaymentChargeFailed",r[r.SetupIntentCompletionFailed=4]="SetupIntentCompletionFailed",r[r.AlreadyPurchased=5]="AlreadyPurchased",r))(La||{}),it=(r=>(r[r.Silent=0]="Silent",r[r.Error=1]="Error",r[r.Warn=2]="Warn",r[r.Info=3]="Info",r[r.Debug=4]="Debug",r[r.Verbose=5]="Verbose",r))(it||{});class ye{static setLogLevel(e){this.logLevel=e}static setLogHandler(e){this.logHandler=e}static log(e,t=this.logLevel){const n=`[Purchases] ${e}`;if(!(this.logLevel<t||t===it.Silent)){if(this.logHandler!==null){this.logHandler(t,n);return}switch(t){case it.Error:console.error(n);break;case it.Warn:console.warn(n);break;case it.Info:console.info(n);break;case it.Debug:console.debug(n);break;case it.Verbose:console.debug(n);break}}}static errorLog(e){this.log(e,it.Error)}static warnLog(e){this.log(e,it.Warn)}static infoLog(e){this.log(e,it.Info)}static debugLog(e){this.log(e,it.Debug)}static verboseLog(e){this.log(e,it.Verbose)}}ee(ye,"logLevel",it.Silent),ee(ye,"logHandler",null);function Wu(r){var e;return r.operation.redemption_info?{redeemUrl:((e=r.operation.redemption_info)==null?void 0:e.redeem_url)??null}:null}var yn=(r=>(r.tax_collection_disabled="tax_collection_disabled",r.invalid_tax_location="invalid_tax_location",r.rate_limit_exceeded="rate_limit_exceeded",r.missing_required_permission="missing_required_permission",r.invalid_origin_address="invalid_origin_address",r.invalid_head_office_address="invalid_head_office_address",r.taxes_not_active="taxes_not_active",r.stripe_tax_unsupported_country="stripe_tax_unsupported_country",r.unexpected_gateway_error="unexpected_gateway_error",r))(yn||{});function Hu(r,e){const t=r.original_amount_in_micros??r.total_excluding_tax_in_micros,n=r.applied_discounts??[];return{currency:r.currency,originalAmountInMicros:t,totalAmountInMicros:r.total_amount_in_micros,totalExcludingTaxInMicros:r.total_excluding_tax_in_micros,taxCalculationStatus:e,taxAmountInMicros:r.tax_amount_in_micros,taxBreakdown:r.tax_breakdown,appliedDiscounts:n.map(a=>({identifier:a.identifier,displayName:a.display_name,discountedAmountInMicros:a.discounted_amount_in_micros,percentage:a.percentage,discountCode:a.discount_code,durationMode:a.duration_mode,timeWindow:a.time_window}))}}function Yu(r,e){if(r==null){e(new he(_e.UnknownError,"Got an error status but error field is empty."));return}switch(r.code){case La.SetupIntentCreationFailed:e(new he(_e.ErrorSettingUpPurchase,"Setup intent creation failed"));return;case La.PaymentMethodCreationFailed:e(new he(_e.ErrorSettingUpPurchase,"Payment method creation failed"));return;case La.PaymentChargeFailed:e(new he(_e.ErrorChargingPayment,"Payment charge failed"));return;case La.SetupIntentCompletionFailed:e(new he(_e.ErrorSettingUpPurchase,"Setup intent completion failed"));return;case La.AlreadyPurchased:e(new he(_e.AlreadyPurchasedError,"Purchased was already completed"));return;default:e(new he(_e.UnknownError,"Unknown error code received"));return}}var _e=(r=>(r[r.ErrorSettingUpPurchase=0]="ErrorSettingUpPurchase",r[r.ErrorChargingPayment=1]="ErrorChargingPayment",r[r.UnknownError=2]="UnknownError",r[r.NetworkError=3]="NetworkError",r[r.MissingEmailError=4]="MissingEmailError",r[r.AlreadyPurchasedError=5]="AlreadyPurchasedError",r[r.StripeTaxNotActive=6]="StripeTaxNotActive",r[r.StripeInvalidTaxOriginAddress=7]="StripeInvalidTaxOriginAddress",r[r.StripeMissingRequiredPermission=8]="StripeMissingRequiredPermission",r[r.InvalidPaddleAPIKeyError=9]="InvalidPaddleAPIKeyError",r))(_e||{});class he extends Error{constructor(e,t,n,a,i,s){super(t),this.errorCode=e,this.underlyingErrorMessage=n,this.purchasesErrorCode=a,this.extra=i,this.displayPurchaseFlowErrorCode=s}getErrorCode(){var t;const e=((t=this.extra)==null?void 0:t.backendErrorCode)??this.purchasesErrorCode;return this.displayPurchaseFlowErrorCode?this.errorCode??e:e??this.errorCode}static fromPurchasesError(e,t,n=!1){var i;let a;return e.errorCode===Ae.ProductAlreadyPurchasedError?a=5:e.errorCode===Ae.InvalidEmailError?a=4:e.errorCode===Ae.NetworkError?a=3:a=he.fromBackendErrorCode((i=e.extra)==null?void 0:i.backendErrorCode)??t,new he(a,e.message,e.underlyingErrorMessage,e.errorCode,e.extra,n)}static fromBackendErrorCode(e){switch(e){case hn.BackendGatewaySetupErrorStripeTaxNotActive:return 6;case hn.BackendGatewaySetupErrorInvalidTaxOriginAddress:return 7;case hn.BackendGatewaySetupErrorMissingRequiredPermission:return 8;case hn.BackendInvalidPaddleAPIKey:return 9;default:return null}}}class yi{constructor(e,t,n=10){ee(this,"operationSessionId",null);ee(this,"backend");ee(this,"eventsTracker");ee(this,"maxNumberAttempts");ee(this,"waitMSBetweenAttempts",1e3);this.backend=e,this.eventsTracker=t,this.maxNumberAttempts=n}static getBackendErrorCodeForInterruptedCheckout(e){switch(e){case yn.taxes_not_active:case yn.stripe_tax_unsupported_country:return hn.BackendGatewaySetupErrorStripeTaxNotActive;case yn.invalid_origin_address:case yn.invalid_head_office_address:return hn.BackendGatewaySetupErrorInvalidTaxOriginAddress;case yn.missing_required_permission:return hn.BackendGatewaySetupErrorMissingRequiredPermission;default:return null}}static throwIfCheckoutShouldBeInterrupted(e){if(!e.interrupt_checkout)return;const t=yi.getBackendErrorCodeForInterruptedCheckout(e.failed_reason);throw t==null?new he(0,"There was a problem with the store.",e.failed_reason??"Checkout interrupted."):he.fromPurchasesError(Qe.getForBackendError(t,e.failed_reason??null),0)}async prepareCheckout(e,t){try{return await this.backend.postCheckoutPrepare(e,t)}catch(n){if(n instanceof Qe)throw he.fromPurchasesError(n,0);{const a="Unknown error preparing purchase: "+String(n);throw ye.errorLog(a),new he(2,a)}}}async checkoutStart({appUserId:e,productId:t,purchaseOption:n,presentedOfferingContext:a,workflowPurchaseContext:i,paywallId:s,customerEmail:l,metadata:c,locale:u,attributionMetadata:d}){try{const p=this.eventsTracker.getTraceId(),_=i==null?void 0:i.stepId,g=await this.backend.postCheckoutStart({appUserId:e,productId:t,purchaseOption:n,presentedOfferingContext:a,traceId:p,presentedStepId:_,paywallId:s,customerEmail:l,metadata:c,locale:u,attributionMetadata:d});return this.operationSessionId=g.operation_session_id,g}catch(p){if(p instanceof Qe)throw he.fromPurchasesError(p,0);{const _="Unknown error starting purchase: "+String(p);throw ye.errorLog(_),new he(2,_)}}}async checkoutRefreshPricing({countryCode:e,postalCode:t,discountCode:n,signal:a}={}){const i=this.operationSessionId;if(!i)throw new he(0,"No purchase started");try{const s=await this.backend.patchCheckoutRefreshPricing(i,{countryCode:e,postalCode:t,discountCode:n,signal:a});return yi.throwIfCheckoutShouldBeInterrupted(s),s}catch(s){if(s instanceof he)throw s;if(s instanceof Qe)throw he.fromPurchasesError(s,0);{const l="Unknown error refreshing checkout pricing: "+String(s);throw ye.errorLog(l),new he(2,l)}}}async checkoutComplete(e,t){const n=this.operationSessionId;if(!n)throw new he(0,"No purchase started");try{return await this.backend.postCheckoutComplete(n,e,t)}catch(a){if(a instanceof Qe)throw he.fromPurchasesError(a,0);{const i="Unknown error starting purchase: "+String(a);throw ye.errorLog(i),new he(2,i)}}}async pollCurrentPurchaseForCompletion(){const e=this.operationSessionId;if(!e)throw new he(0,"No purchase in progress");return new Promise((t,n)=>{const a=(i=1)=>{if(i>this.maxNumberAttempts){this.clearPurchaseInProgress(),n(new he(2,"Max attempts reached trying to get successful purchase status"));return}this.backend.getCheckoutStatus(e).then(s=>{const l=s.operation.store_transaction_identifier,c=s.operation.product_identifier,u=s.operation.purchase_date?isNaN(Date.parse(s.operation.purchase_date))?null:new Date(s.operation.purchase_date):null;switch(s.operation.status){case vn.Started:case vn.InProgress:setTimeout(()=>a(i+1),this.waitMSBetweenAttempts);break;case vn.Succeeded:if(this.clearPurchaseInProgress(),!l||!c||!u){n(new he(2,"Missing required fields in operation response."));return}t({redemptionInfo:Wu(s),operationSessionId:e,storeTransactionIdentifier:l,productIdentifier:c,purchaseDate:u,attributionMetadata:s.attribution_metadata??void 0});return;case vn.Failed:this.clearPurchaseInProgress(),Yu(s.operation.error,n)}}).catch(s=>{const l=he.fromPurchasesError(s,3);n(l)})};a()})}clearPurchaseInProgress(){this.operationSessionId=null}}const vr="rcb-ui-translator",Hr="en",Af={"periods.week":"{{amount}} week","periods.month":"{{amount}} month","periods.year":"{{amount}} year","periods.day":"{{amount}} day","periods.weekShort":"{{amount}}wk","periods.monthShort":"{{amount}}mo","periods.yearShort":"{{amount}}yr","periods.dayShort":"{{amount}}d","periods.lifetime":"lifetime","periods.weekPlural":"{{amount}} weeks","periods.monthPlural":"{{amount}} months","periods.yearPlural":"{{amount}} years","periods.dayPlural":"{{amount}} days","periods.weekFrequency":"weekly","periods.monthFrequency":"monthly","periods.yearFrequency":"yearly","periods.dayFrequency":"daily","periods.perWeekFrequency":"per week","periods.perMonthFrequency":"per month","periods.perYearFrequency":"per year","periods.perDayFrequency":"per day","periods.unknownFrequency":"unknown","periods.weekFrequencyPlural":"every {{amount}} weeks","periods.monthFrequencyPlural":"every {{amount}} months","periods.yearFrequencyPlural":"every {{amount}} years","periods.dayFrequencyPlural":"every {{amount}} days","product_info.subscribe_to":"Subscribe to","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"Try free for {{trialDuration}}","product_info.price_after_free_trial":"After trial ends, on {{renewalDate}}","product_info.intro_price_phase_after_trial":"Then {{introPriceDuration}} for {{introPrice}}","product_info.intro_price_phase":"First {{introPriceDuration}} for {{introPrice}}","product_info.intro_price_phase_paid_once":"paid once","product_info.price_after_intro_price":"After {{introPriceDuration}}, on {{renewalDate}}","product_info.after_trial":"after trial","product_info.after":"after","product_info.total_due_today":"Total due today","product_info.renewal_frequency":"Renews {{frequency}}","product_info.continues_until_cancelled":"Continues until cancelled","product_info.cancel_anytime":"Cancel anytime","payment_entry_page.payment_step_title":"Secure checkout by RevenueCat","payment_entry_page.trial_subscription_terms_info":"After your trial ends, you will be charged {{price}} {{perFrequency}} starting {{renewalDate}}. You can cancel any time before this date.","payment_entry_page.subscription_terms_info":"By subscribing, you agree to allow {{appName}} to charge you according to their terms until you cancel.","payment_entry_page.otp_terms_info":"By purchasing, you agree to allow {{appName}} to charge you according to their terms.","payment_entry_page.terms_link_label":"Terms","payment_entry_page.subscription_info":"Subscription renews automatically. Cancel anytime.","payment_entry_page.button_pay":"Pay now","payment_entry_page.button_start_trial":"Start trial","payment_entry_page.button_with_price":"Pay {{formattedPrice}}","payment_entry_page.button_payment_method":"Pay {{formattedPrice}} with {{paymentMethod}}","payment_entry_page.express_checkout_divider":"OR PAY BY CARD","loading_page.processing_payment":"Processing payment","loading_page.keep_page_open":"The process is almost done. Keep this page open.","success_page.purchase_successful":"Payment complete","success_page.button_close":"Continue","error_page.close_button_title":"Go to {{appName}}","error_page.if_error_persists":"If it persists, please contact ","error_page.trouble_accessing":"If you're having trouble accessing your purchase, reach out to support on ","error_page.error_title_already_subscribed":"You already subscribed to {{productTitle}}","error_page.error_title_already_purchased":"You already purchased {{productTitle}}","error_page.error_title_other_errors":"Something went wrong","error_page.error_message_already_subscribed":"You can't subscribe to this product again.","error_page.error_message_already_purchased":"You can't purchase this product again.","error_page.error_title_stripe_tax_not_active":"Stripe Tax not active","error_page.error_title_stripe_invalid_tax_origin_address":"Invalid tax origin address","error_page.error_title_stripe_missing_required_permission":"Missing Stripe permission","error_page.error_message_missing_email_error":"Email is required to complete the purchase.","error_page.error_message_invalid_email_error":"The email address {{email}} couldn't be verified. Please provide a valid email address.","error_page.error_message_network_error":"Network error. Please check your internet connection.","error_page.error_message_error_charging_payment":"Payment failed.","error_page.error_message_error_setting_up_purchase":"Purchase not started due to an error (error code: {{errorCode}}).","error_page.error_message_invalid_tax_location":"We couldn't verify your billing address. Please double-check that the postal code and country are correct.","error_page.error_message_unknown_error":"An unknown error occurred (error code: {{errorCode}}).","error_page.error_message_stripe_tax_not_active":"The purchase failed because Stripe Tax isn’t enabled. In production, purchases will work without taxes applied.","error_page.error_message_stripe_invalid_tax_origin_address":"The purchase failed because the tax origin address is invalid. In production, purchases will work without taxes applied.","error_page.error_message_stripe_missing_required_permission":"The purchase failed because the Stripe app lacks a required permission. In production, purchases will work without taxes applied.","error_page.error_only_in_sandbox":"This message appears only in sandbox.","error_page.button_try_again":"Try again","error_page.button_close":"Close","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","pricing_dropdown.show_details":"Show details","pricing_dropdown.hide_details":"Hide details","pricing_dropdown.add_promo_code":"Add promo code","discount_input.label":"Promo code","pricing_table.trial_ends":"After trial ends, on {{formattedTrialEndDate}}","pricing_table.total_excluding_tax":"Total excluding tax","pricing_table.total_due_today":"Total due today","pricing_table.subtotal":"Subtotal","pricing_table.discount":"Discount","pricing_table.tax":"Tax","pricing_table.enter_billing_address_to_calculate":"Enter billing address to calculate","pricing_table.enter_postal_code_to_calculate":"Enter zip code to calculate","pricing_table.enter_state_or_postal_code_to_calculate":"Enter state or postal code to calculate","navbar_header.details":"Details","navbar_header.back_button":"Back","price_update.title":"Price update","price_update.base_message":"The total price was updated with tax based on your billing address. Please review and try again. Your card will only be charged once.","price_update.trial_message":"The subscription price was updated to include tax based on your billing address. Free trial still applies. Review and try again.","apple_pay.free_trial":"Free Trial"},qf={"periods.week":"{{amount}} semana","periods.month":"{{amount}} mes","periods.year":"{{amount}} año","periods.day":"{{amount}} día","periods.weekShort":"{{amount}} sem","periods.monthShort":"{{amount}}mes","periods.yearShort":"{{amount}}año","periods.dayShort":"{{amount}}d","periods.lifetime":"de por vida","periods.weekPlural":"{{amount}} semanas","periods.monthPlural":"{{amount}} meses","periods.yearPlural":"{{amount}} años","periods.dayPlural":"{{amount}} días","periods.weekFrequency":"semanal","periods.monthFrequency":"mensual","periods.yearFrequency":"anual","periods.dayFrequency":"diaria","periods.perWeekFrequency":"por semana","periods.perMonthFrequency":"por mes","periods.perYearFrequency":"por año","periods.perDayFrequency":"por día","periods.unknownFrequency":"desconocida","periods.weekFrequencyPlural":"cada {{amount}} semanas","periods.monthFrequencyPlural":"cada {{amount}} meses","periods.yearFrequencyPlural":"cada {{amount}} años","periods.dayFrequencyPlural":"cada {{amount}} días","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} prueba gratuita","product_info.price_after_free_trial":"Después de que termine el periodo de prueba, el {{renewalDate}}","product_info.renewal_frequency":"Se renueva {{frequency}}","product_info.continues_until_cancelled":"Continua hasta que se cancele","product_info.cancel_anytime":"Cancelar en cualquier momento","payment_entry_page.payment_step_title":"Pago seguro mediante RevenueCat","payment_entry_page.button_pay":"Pagar ahora","payment_entry_page.button_start_trial":"Comenzar prueba","success_page.purchase_successful":"Pago completado","success_page.button_close":"Continuar","error_page.if_error_persists":"Si el error persiste, contacta con ","error_page.error_title_already_subscribed":"Ya te has suscrito a {{productTitle}}","error_page.error_title_already_purchased":"Ya has comprado {{productTitle}}","error_page.error_title_other_errors":"Algo salió mal","error_page.error_message_already_subscribed":"No puedes suscribirte a este producto de nuevo.","error_page.error_message_already_purchased":"No puedes comprar este producto de nuevo.","error_page.error_message_missing_email_error":"Se requiere un correo electrónico para completar la compra.","error_page.error_message_network_error":"Error de red. Por favor, comprueba tu conexión a internet.","error_page.error_message_error_charging_payment":"Pago fallido.","error_page.error_message_error_setting_up_purchase":"No se pudo iniciar la compra debido a un error (código de error: {{errorCode}}).","error_page.error_message_invalid_tax_location":"No pudimos verificar tu dirección de facturación. Por favor, verifica que el código postal y el país sean correctos.","error_page.error_message_unknown_error":"Ocurrió un error desconocido (código de error: {{errorCode}}).","error_page.button_try_again":"Intentar de nuevo","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Total a pagar hoy","product_info.subscribe_to":"Suscribirse a","navbar_header.details":"Detalles","navbar_header.back_button":"Atrás","pricing_dropdown.show_details":"Mostrar detalles","pricing_dropdown.hide_details":"Ocultar detalles","pricing_table.tax":"Impuestos","pricing_table.trial_ends":"Después de que finalice la prueba, el {{formattedTrialEndDate}}","pricing_table.total_due_today":"Total a pagar hoy","pricing_table.total_excluding_tax":"Total sin impuestos","pricing_table.enter_billing_address_to_calculate":"Introduce la dirección de facturación para calcular","pricing_table.enter_state_or_postal_code_to_calculate":"Introduce el estado o el código postal para calcular","pricing_table.enter_postal_code_to_calculate":"Introduce el código postal para calcular","error_page.error_message_invalid_email_error":"La dirección de correo electrónico {{email}} no se pudo verificar. Por favor, proporciona una dirección de correo electrónico válida.","payment_entry_page.button_payment_method":"Pagar {{formattedPrice}} con {{paymentMethod}}","payment_entry_page.button_with_price":"Pagar {{formattedPrice}}","price_update.title":"Actualización de precio","price_update.base_message":"El precio total se actualizó con impuestos según su dirección de facturación. Revise e intente nuevamente. Solo se efectuará un cobro en su tarjeta.","price_update.trial_message":"El precio de la suscripción se actualizó para incluir impuestos según su dirección de facturación. La prueba gratuita sigue aplicándose. Revise e intente nuevamente.","payment_entry_page.express_checkout_divider":"O PAGA CON TARJETA","error_page.trouble_accessing":"Si tiene problemas para acceder a su compra, póngase en contacto con el servicio de asistencia en ","error_page.close_button_title":"Ir a {{appName}}","error_page.error_title_stripe_missing_required_permission":"Falta permiso de Stripe","error_page.button_close":"Cerrar","error_page.error_message_stripe_invalid_tax_origin_address":"La compra falló porque la dirección de origen fiscal no es válida. En producción, las compras funcionarán sin impuestos aplicados.","error_page.error_message_stripe_tax_not_active":"La compra falló porque Stripe Tax no está habilitado. En producción, las compras funcionarán sin impuestos aplicados.","error_page.error_only_in_sandbox":"Este mensaje aparece solo en el entorno de pruebas.","error_page.error_message_stripe_missing_required_permission":"La compra falló porque la aplicación Stripe carece de un permiso necesario. En producción, las compras funcionarán sin impuestos aplicados.","error_page.error_title_stripe_tax_not_active":"Stripe Tax no está activo","error_page.error_title_stripe_invalid_tax_origin_address":"Dirección de origen fiscal no válida","apple_pay.free_trial":"Prueba gratuita","product_info.price_after_intro_price":"Después de {{introPriceDuration}}, el {{renewalDate}}","product_info.after_trial":"después del período de prueba","product_info.after":"después de","product_info.intro_price_phase_after_trial":"Luego, {{introPriceDuration}} por {{introPrice}}","product_info.intro_price_phase":"Primero, {{introPriceDuration}} por {{introPrice}}","product_info.intro_price_phase_paid_once":"pago único","payment_entry_page.trial_subscription_terms_info":"Una vez finalizado el período de prueba, se te cobrarán {{price}} {{perFrequency}} a partir del {{renewalDate}}. Puedes cancelar en cualquier momento antes de esta fecha.","payment_entry_page.subscription_info":"La suscripción se renueva automáticamente. Cancela en cualquier momento.","payment_entry_page.otp_terms_info":"Al comprar, aceptas que {{appName}} te cobre de acuerdo con sus términos.","payment_entry_page.terms_link_label":"Términos","payment_entry_page.subscription_terms_info":"Al suscribirte, aceptas que {{appName}} te cobre de acuerdo con sus términos hasta que canceles.","loading_page.keep_page_open":"El proceso está casi terminado. Mantén esta página abierta.","loading_page.processing_payment":"Procesando el pago","pricing_table.discount":"Descuento","pricing_table.subtotal":"Subtotal","pricing_dropdown.add_promo_code":"Añadir código promocional","discount_input.label":"Código promocional"},Mf={"periods.week":"{{amount}} settimana","periods.month":"{{amount}} mese","periods.year":"{{amount}} anno","periods.day":"{{amount}} giorno","periods.weekShort":"{{amount}}sett","periods.monthShort":"{{amount}}mese","periods.yearShort":"{{amount}}anno","periods.dayShort":"{{amount}}g","periods.lifetime":"a vita","periods.weekPlural":"{{amount}} settimane","periods.monthPlural":"{{amount}} mesi","periods.yearPlural":"{{amount}} anni","periods.dayPlural":"{{amount}} giorni","periods.weekFrequency":"settimanale","periods.monthFrequency":"mensile","periods.yearFrequency":"annuale","periods.dayFrequency":"giornaliero","periods.perWeekFrequency":"a settimana","periods.perMonthFrequency":"al mese","periods.perYearFrequency":"all'anno","periods.perDayFrequency":"al giorno","periods.unknownFrequency":"sconosciuto","periods.weekFrequencyPlural":"ogni {{amount}} settimane","periods.monthFrequencyPlural":"ogni {{amount}} mesi","periods.yearFrequencyPlural":"ogni {{amount}} anni","periods.dayFrequencyPlural":"ogni {{amount}} giorni","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} prova gratuita","product_info.price_after_free_trial":"Dopo la fine della prova, il {{renewalDate}}","product_info.renewal_frequency":"Si rinnova {{frequency}}","product_info.continues_until_cancelled":"Continua fino a disdetta","product_info.cancel_anytime":"Disdici in qualsiasi momento","payment_entry_page.payment_step_title":"Pagamento sicuro tramite RevenueCat","payment_entry_page.button_pay":"Paga ora","payment_entry_page.button_start_trial":"Inizia la prova","success_page.purchase_successful":"Pagamento completato","success_page.button_close":"Continua","error_page.if_error_persists":"Se l'errore persiste, contatta ","error_page.error_title_already_subscribed":"Hai già un abbonamento a {{productTitle}}","error_page.error_title_already_purchased":"Hai già acquistato {{productTitle}}","error_page.error_title_other_errors":"Qualcosa è andato storto","error_page.error_message_already_subscribed":"Non puoi abbonarti di nuovo a questo prodotto.","error_page.error_message_already_purchased":"Non puoi acquistare di nuovo questo prodotto.","error_page.error_message_missing_email_error":"L'email è necessaria per completare l'acquisto.","error_page.error_message_network_error":"Errore di rete. Verifica la connessione internet.","error_page.error_message_error_charging_payment":"Pagamento fallito.","error_page.error_message_error_setting_up_purchase":"Acquisto non avviato a causa di un errore (codice errore: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Non siamo riusciti a verificare il tuo indirizzo di fatturazione. Per favore, controlla che il codice postale e il paese siano corretti.","error_page.error_message_unknown_error":"Si è verificato un errore sconosciuto (codice errore: {{errorCode}}).","error_page.button_try_again":"Riprova","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Totale dovuto oggi","product_info.subscribe_to":"Abbonati a","navbar_header.details":"Dettagli","navbar_header.back_button":"Indietro","pricing_dropdown.show_details":"Mostra dettagli","pricing_dropdown.hide_details":"Nascondi dettagli","pricing_table.tax":"Tasse","pricing_table.trial_ends":"Al termine del periodo di prova, il {{formattedTrialEndDate}}","pricing_table.total_due_today":"Totale dovuto oggi","pricing_table.total_excluding_tax":"Totale tasse escluse","pricing_table.enter_billing_address_to_calculate":"Inserisci l'indirizzo di fatturazione per calcolare","pricing_table.enter_state_or_postal_code_to_calculate":"Inserisci la regione o il codice postale per calcolare","pricing_table.enter_postal_code_to_calculate":"Inserisci il codice postale per calcolare","error_page.error_message_invalid_email_error":"L'indirizzo email {{email}} non può essere verificato. Si prega di fornire un indirizzo email valido.","payment_entry_page.button_payment_method":"Paga {{formattedPrice}} con {{paymentMethod}}","payment_entry_page.button_with_price":"Paga {{formattedPrice}}","price_update.title":"Aggiornamento prezzo","price_update.base_message":"Il prezzo totale è stato aggiornato con le tasse in base al tuo indirizzo di fatturazione. Rivedi e riprova. L'addebito sulla tua carta avverrà solo una volta.","price_update.trial_message":"Il prezzo dell'abbonamento è stato aggiornato per includere le tasse in base al tuo indirizzo di fatturazione. La prova gratuita è ancora valida. Controlla e riprova.","payment_entry_page.express_checkout_divider":"OPPURE PAGA CON CARTA","error_page.trouble_accessing":"Se hai problemi ad accedere al tuo acquisto, contatta l'assistenza all'indirizzo ","error_page.close_button_title":"Vai a {{appName}}","error_page.error_title_stripe_missing_required_permission":"Autorizzazione Stripe mancante","error_page.button_close":"Chiudi","error_page.error_message_stripe_invalid_tax_origin_address":"L'acquisto non è andato a buon fine perché l'indirizzo di origine fiscale non è valido. In produzione, gli acquisti verranno effettuati senza l'applicazione delle imposte e questo errore non sarà visibile.","error_page.error_message_stripe_tax_not_active":"L'acquisto non è andato a buon fine perché Stripe Tax non è abilitato. In produzione, gli acquisti verranno effettuati senza l'applicazione delle imposte e questo errore non sarà visibile.","error_page.error_only_in_sandbox":"Questo messaggio viene visualizzato solo in sandbox.","error_page.error_message_stripe_missing_required_permission":"L'acquisto non è andato a buon fine perché l'app Stripe non dispone dell'autorizzazione necessaria. In produzione, gli acquisti verranno effettuati senza l'applicazione delle imposte e questo errore non sarà visibile.","error_page.error_title_stripe_tax_not_active":"Stripe Tax non attivo","error_page.error_title_stripe_invalid_tax_origin_address":"Indirizzo di origine fiscale non valido","apple_pay.free_trial":"Prova gratuita","product_info.price_after_intro_price":"Dopo {{introPriceDuration}}, il {{renewalDate}}","product_info.after_trial":"dopo il periodo di prova","product_info.after":"dopo","product_info.intro_price_phase_after_trial":"Poi {{introPriceDuration}} a {{introPrice}}","product_info.intro_price_phase":"Prima {{introPriceDuration}} a {{introPrice}}","product_info.intro_price_phase_paid_once":"pagato una volta","payment_entry_page.trial_subscription_terms_info":"Al termine del periodo di prova, ti verranno addebitati {{price}} {{perFrequency}} a partire dal {{renewalDate}}. Puoi annullare in qualsiasi momento prima di questa data.","payment_entry_page.subscription_info":"L'abbonamento si rinnova automaticamente. Annulla in qualsiasi momento.","payment_entry_page.otp_terms_info":"Acquistando, accetti che {{appName}} ti addebiti l'importo in base ai suoi termini.","payment_entry_page.terms_link_label":"Termini","payment_entry_page.subscription_terms_info":"Abbonandoti, accetti che {{appName}} ti addebiti l'importo secondo i suoi termini fino all'annullamento.","loading_page.keep_page_open":"Il processo è quasi terminato. Mantieni questa pagina aperta.","loading_page.processing_payment":"Elaborazione del pagamento","pricing_table.discount":"Sconto","pricing_table.subtotal":"Subtotale","pricing_dropdown.add_promo_code":"Aggiungi codice promozionale","discount_input.label":"Codice promozionale"},Ff={"periods.week":"{{amount}} أسبوع","periods.month":"{{amount}} شهر","periods.year":"{{amount}} سنة","periods.day":"{{amount}} يوم","periods.weekShort":"{{amount}}أسبوع","periods.monthShort":"{{amount}}شهر","periods.yearShort":"{{amount}}سنة","periods.dayShort":"{{amount}}يوم","periods.lifetime":"مدى الحياة","periods.weekPlural":"{{amount}} أسابيع","periods.monthPlural":"{{amount}} أشهر","periods.yearPlural":"{{amount}} سنوات","periods.dayPlural":"{{amount}} أيام","periods.weekFrequency":"أسبوعيًا","periods.monthFrequency":"شهريًا","periods.yearFrequency":"سنويًا","periods.dayFrequency":"يوميًا","periods.perWeekFrequency":"في الأسبوع","periods.perMonthFrequency":"في الشهر","periods.perYearFrequency":"في السنة","periods.perDayFrequency":"في اليوم","periods.unknownFrequency":"غير معروف","periods.weekFrequencyPlural":"كل {{amount}} أسابيع","periods.monthFrequencyPlural":"كل {{amount}} أشهر","periods.yearFrequencyPlural":"كل {{amount}} سنوات","periods.dayFrequencyPlural":"كل {{amount}} أيام","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} تجربة مجانية","product_info.price_after_free_trial":"بعد انتهاء التجربة، في {{renewalDate}}","product_info.renewal_frequency":"يتم التجديد {{frequency}}","product_info.continues_until_cancelled":"يستمر حتى يتم إلغاؤه","product_info.cancel_anytime":"يمكن الإلغاء في أي وقت","payment_entry_page.payment_step_title":"الدفع الآمن عبر RevenueCat","payment_entry_page.button_pay":"ادفع الآن","payment_entry_page.button_start_trial":"ابدأ التجربة","success_page.purchase_successful":"تم الدفع بنجاح","success_page.button_close":"متابعة","error_page.if_error_persists":"إذا استمرت المشكلة، يرجى الاتصال بـ ","error_page.error_title_already_subscribed":"أنت مشترك بالفعل في {{productTitle}}","error_page.error_title_already_purchased":"لقد اشتريت {{productTitle}} بالفعل","error_page.error_title_other_errors":"حدث خطأ ما","error_page.error_message_already_subscribed":"لا يمكنك الاشتراك في هذا المنتج مرة أخرى.","error_page.error_message_already_purchased":"لا يمكنك شراء هذا المنتج مرة أخرى.","error_page.error_message_missing_email_error":"يُطلب البريد الإلكتروني لإتمام عملية الشراء.","error_page.error_message_network_error":"خطأ في الشبكة. يرجى التحقق من اتصال الإنترنت.","error_page.error_message_error_charging_payment":"فشل الدفع.","error_page.error_message_error_setting_up_purchase":"لم تبدأ عملية الشراء بسبب خطأ (رمز الخطأ: {{errorCode}}).","error_page.error_message_invalid_tax_location":"لم نتمكن من التحقق من عنوان الفوترة الخاص بك. يرجى التحقق مرة أخرى من الرمز البريدي والبلد للتأكد من صحتهما.","error_page.error_message_unknown_error":"حدث خطأ غير معروف (رمز الخطأ: {{errorCode}}).","error_page.button_try_again":"حاول مرة أخرى","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"إجمالي المبلغ المستحق اليوم","product_info.subscribe_to":"اشترك في","navbar_header.details":"تفاصيل","navbar_header.back_button":"عودة","pricing_dropdown.show_details":"إظهار التفاصيل","pricing_dropdown.hide_details":"إخفاء التفاصيل","pricing_table.tax":"الضريبة","pricing_table.trial_ends":"بعد انتهاء الفترة التجريبية، في {{formattedTrialEndDate}}","pricing_table.total_due_today":"الإجمالي المستحق اليوم","pricing_table.total_excluding_tax":"الإجمالي باستثناء الضريبة","pricing_table.enter_billing_address_to_calculate":"أدخل عنوان إرسال الفواتير لحسابها","pricing_table.enter_state_or_postal_code_to_calculate":"أدخل الولاية أو الرمز البريدي للحساب","pricing_table.enter_postal_code_to_calculate":"أدخل الرمز البريدي للحساب","error_page.error_message_invalid_email_error":"تعذر التحقق من عنوان البريد الإلكتروني {{email}}. يرجى تقديم عنوان بريد إلكتروني صالح.","payment_entry_page.button_payment_method":"ادفع {{formattedPrice}} باستخدام {{paymentMethod}}","payment_entry_page.button_with_price":"ادفع {{formattedPrice}}","price_update.title":"تحديث السعر","price_update.base_message":"تم تحديث السعر الإجمالي مع الضريبة بناءً على عنوان إرسال الفواتير الخاص بك. يرجى المراجعة والمحاولة مرة أخرى. لن يتم تحصيل رسوم من بطاقتك إلا مرة واحدة.","price_update.trial_message":"تم تحديث سعر الاشتراك ليشمل الضرائب بناءً على عنوان الفوترة الخاص بك. فترة التجربة المجانية لا تزال سارية. يرجى التحقق والمحاولة مرة أخرى.","payment_entry_page.express_checkout_divider":"أو ادفع بواسطة البطاقة","error_page.trouble_accessing":"إذا كنت تواجه مشكلة في الوصول إلى عملية الشراء، فتواصل مع الدعم على ","error_page.close_button_title":"اذهب إلى {{appName}}","error_page.error_title_stripe_missing_required_permission":"إذن Stripe مفقود","error_page.button_close":"إغلاق","error_page.error_message_stripe_invalid_tax_origin_address":"فشلت عملية الشراء لأن عنوان المنشأ الضريبي غير صالح. في مرحلة الإنتاج، ستعمل عمليات الشراء بدون تطبيق الضرائب.","error_page.error_message_stripe_tax_not_active":"فشلت عملية الشراء لأن ضريبة Stripe غير مفعلة. في مرحلة الإنتاج، ستعمل عمليات الشراء بدون تطبيق الضرائب.","error_page.error_only_in_sandbox":"تظهر هذه الرسالة فقط في البيئة التجريبية.","error_page.error_message_stripe_missing_required_permission":"فشلت عملية الشراء لأن تطبيق Stripe يفتقر إلى إذن مطلوب. في مرحلة الإنتاج، ستعمل عمليات الشراء بدون تطبيق الضرائب.","error_page.error_title_stripe_tax_not_active":"ضريبة Stripe غير نشطة","error_page.error_title_stripe_invalid_tax_origin_address":"عنوان منشأ ضريبي غير صالح","apple_pay.free_trial":"تجربة مجانية","product_info.price_after_intro_price":"بعد {{introPriceDuration}}، في {{renewalDate}}","product_info.after_trial":"بعد الفترة التجريبية","product_info.after":"بعد","product_info.intro_price_phase_after_trial":"ثم {{introPriceDuration}} مقابل {{introPrice}}","product_info.intro_price_phase":"أولاً {{introPriceDuration}} مقابل {{introPrice}}","product_info.intro_price_phase_paid_once":"تدفع مرة واحدة","payment_entry_page.trial_subscription_terms_info":"بعد انتهاء الفترة التجريبية، سيتم محاسبتك بمبلغ {{price}} {{perFrequency}} بدءًا من {{renewalDate}}. يمكنك الإلغاء في أي وقت قبل هذا التاريخ.","payment_entry_page.subscription_info":"يتم تجديد الاشتراك تلقائيًا. يمكنك الإلغاء في أي وقت.","payment_entry_page.otp_terms_info":"بالشراء، أنت توافق على السماح لتطبيق {{appName}} بتحصيل الرسوم منك وفقًا لشروطه.","payment_entry_page.terms_link_label":"الشروط","payment_entry_page.subscription_terms_info":"بالاشتراك، فإنك توافق على السماح لـ {{appName}} بتحصيل رسوم منك وفقًا لشروطها حتى تقوم بالإلغاء.","loading_page.keep_page_open":"العملية شارفت على الانتهاء. أبقِ هذه الصفحة مفتوحة.","loading_page.processing_payment":"جاري معالجة الدفع","pricing_table.discount":"خصم","pricing_table.subtotal":"المجموع الفرعي","pricing_dropdown.add_promo_code":"أضف رمزًا ترويجيًا","discount_input.label":"رمز ترويجي"},zf={"periods.week":"{{amount}} setmana","periods.month":"{{amount}} mes","periods.year":"{{amount}} any","periods.day":"{{amount}} dia","periods.weekShort":"{{amount}}set","periods.monthShort":"{{amount}}mes","periods.yearShort":"{{amount}}any","periods.dayShort":"{{amount}}d","periods.lifetime":"de per vida","periods.weekPlural":"{{amount}} setmanes","periods.monthPlural":"{{amount}} mesos","periods.yearPlural":"{{amount}} anys","periods.dayPlural":"{{amount}} dies","periods.weekFrequency":"setmanal","periods.monthFrequency":"mensual","periods.yearFrequency":"anual","periods.dayFrequency":"diari","periods.perWeekFrequency":"per setmana","periods.perMonthFrequency":"per mes","periods.perYearFrequency":"per any","periods.perDayFrequency":"per dia","periods.unknownFrequency":"desconeguda","periods.weekFrequencyPlural":"cada {{amount}} setmanes","periods.monthFrequencyPlural":"cada {{amount}} mesos","periods.yearFrequencyPlural":"cada {{amount}} anys","periods.dayFrequencyPlural":"cada {{amount}} dies","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} de prova gratuïta","product_info.price_after_free_trial":"Després del període de prova, el {{renewalDate}}","product_info.renewal_frequency":"Es renova {{frequency}}","product_info.continues_until_cancelled":"Continua fins que es cancel·li","product_info.cancel_anytime":"Cancel·la en qualsevol moment","payment_entry_page.payment_step_title":"Pagament segur amb RevenueCat","payment_entry_page.button_pay":"Paga ara","payment_entry_page.button_start_trial":"Comença la prova","success_page.purchase_successful":"Pagament complet","success_page.button_close":"Continua","error_page.if_error_persists":"Si l'error persisteix, contacta amb ","error_page.error_title_already_subscribed":"Ja us heu subscrit a {{productTitle}}","error_page.error_title_already_purchased":"Ja heu comprat {{productTitle}}","error_page.error_title_other_errors":"Alguna cosa ha anat malament","error_page.error_message_already_subscribed":"No us podeu subscriure a aquest producte de nou.","error_page.error_message_already_purchased":"No podeu comprar aquest producte de nou.","error_page.error_message_missing_email_error":"Es necessita un correu electrònic per completar la compra.","error_page.error_message_network_error":"Error de xarxa. Comprova la teva connexió a internet.","error_page.error_message_error_charging_payment":"El pagament ha fallat.","error_page.error_message_error_setting_up_purchase":"No s'ha iniciat la compra a causa d'un error (codi d'error: {{errorCode}}).","error_page.error_message_invalid_tax_location":"No hem pogut verificar la vostra adreça de facturació. Si us plau, verifiqueu de nou el codi postal i el país per assegurar-vos que són correctes.","error_page.error_message_unknown_error":"S'ha produït un error desconegut (codi d'error: {{errorCode}}).","error_page.button_try_again":"Torna a intentar-ho","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Total a pagar avui","product_info.subscribe_to":"Subscriu-te a","navbar_header.details":"Detalls","navbar_header.back_button":"Enrere","pricing_dropdown.show_details":"Mostra detalls","pricing_dropdown.hide_details":"Amaga detalls","pricing_table.tax":"Impostos","pricing_table.trial_ends":"Després que finalitzi la prova, el {{formattedTrialEndDate}}","pricing_table.total_due_today":"Total a pagar avui","pricing_table.total_excluding_tax":"Total sense impostos","pricing_table.enter_billing_address_to_calculate":"Introduïu l'adreça de facturació per calcular","pricing_table.enter_state_or_postal_code_to_calculate":"Introduïu la província o el codi postal per calcular","pricing_table.enter_postal_code_to_calculate":"Introduïu el codi postal per calcular","error_page.error_message_invalid_email_error":"No s'ha pogut verificar l'adreça de correu electrònic {{email}}. Si us plau, proporcioneu una adreça de correu electrònic vàlida.","payment_entry_page.button_payment_method":"Paga {{formattedPrice}} amb {{paymentMethod}}","payment_entry_page.button_with_price":"Paga {{formattedPrice}}","price_update.title":"Actualització de preu","price_update.base_message":"El preu total s'ha actualitzat amb els impostos segons la vostra adreça de facturació. Reviseu-ho i torneu-ho a provar. Només es carregarà la vostra targeta una vegada.","price_update.trial_message":"El preu de la subscripció s'ha actualitzat per incloure els impostos segons la seva adreça de facturació. El període de prova gratuït segueix vigent. Si us plau, comprovi-ho i torni-ho a provar.","payment_entry_page.express_checkout_divider":"O PAGUEU AMB TARGETA","error_page.trouble_accessing":"Si teniu problemes per accedir a la vostra compra, poseu-vos en contacte amb el servei d'assistència a ","error_page.close_button_title":"Vés a {{appName}}","error_page.error_title_stripe_missing_required_permission":"Falta el permís de Stripe","error_page.button_close":"Tanca","error_page.error_message_stripe_invalid_tax_origin_address":"La compra ha fallat perquè l'adreça d'origen fiscal no és vàlida. En producció, les compres funcionaran sense impostos aplicats.","error_page.error_message_stripe_tax_not_active":"La compra ha fallat perquè Stripe Tax no està activat. En producció, les compres funcionaran sense impostos aplicats.","error_page.error_only_in_sandbox":"Aquest missatge apareix només a l'entorn de proves.","error_page.error_message_stripe_missing_required_permission":"La compra ha fallat perquè l'aplicació Stripe no té un permís necessari. En producció, les compres funcionaran sense impostos aplicats.","error_page.error_title_stripe_tax_not_active":"Stripe Tax no està actiu","error_page.error_title_stripe_invalid_tax_origin_address":"Adreça d'origen fiscal no vàlida","apple_pay.free_trial":"Prova gratuïta","product_info.price_after_intro_price":"Després de {{introPriceDuration}}, el {{renewalDate}}","product_info.after_trial":"després del període de prova","product_info.after":"després de","product_info.intro_price_phase_after_trial":"Després {{introPriceDuration}} per {{introPrice}}","product_info.intro_price_phase":"Primer {{introPriceDuration}} per {{introPrice}}","product_info.intro_price_phase_paid_once":"pagat un cop","payment_entry_page.trial_subscription_terms_info":"Un cop finalitzat el període de prova, se us cobrarà {{price}} {{perFrequency}} a partir del {{renewalDate}}. Podeu cancel·lar-ho en qualsevol moment abans d'aquesta data.","payment_entry_page.subscription_info":"La subscripció es renova automàticament. Cancel·leu-la quan vulgueu.","payment_entry_page.otp_terms_info":"En comprar, accepteu que {{appName}} us cobri d'acord amb les seves condicions.","payment_entry_page.terms_link_label":"Condicions","payment_entry_page.subscription_terms_info":"En subscriure-us, accepteu que {{appName}} us cobri d'acord amb les seves condicions fins que ho cancel·leu.","loading_page.keep_page_open":"El procés està gairebé acabat. Mantingueu aquesta pàgina oberta.","loading_page.processing_payment":"S'està processant el pagament","pricing_table.discount":"Descompte","pricing_table.subtotal":"Subtotal","pricing_dropdown.add_promo_code":"Afegir codi promocional","discount_input.label":"Codi promocional"},jf={"periods.week":"{{amount}} 周","periods.month":"{{amount}} 月","periods.year":"{{amount}} 年","periods.day":"{{amount}} 天","periods.weekShort":"{{amount}}周","periods.monthShort":"{{amount}}月","periods.yearShort":"{{amount}}年","periods.dayShort":"{{amount}}天","periods.lifetime":"终身","periods.weekPlural":"{{amount}} 周","periods.monthPlural":"{{amount}} 个月","periods.yearPlural":"{{amount}} 年","periods.dayPlural":"{{amount}} 天","periods.weekFrequency":"每周","periods.monthFrequency":"每月","periods.yearFrequency":"每年","periods.dayFrequency":"每天","periods.perWeekFrequency":"每周","periods.perMonthFrequency":"每月","periods.perYearFrequency":"每年","periods.perDayFrequency":"每天","periods.unknownFrequency":"未知","periods.weekFrequencyPlural":"每 {{amount}} 周","periods.monthFrequencyPlural":"每 {{amount}} 个月","periods.yearFrequencyPlural":"每 {{amount}} 年","periods.dayFrequencyPlural":"每 {{amount}} 天","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} 天免费试用","product_info.price_after_free_trial":"试用期结束后,于 {{renewalDate}}","product_info.renewal_frequency":"续订 {{frequency}}","product_info.continues_until_cancelled":"持续到取消","product_info.cancel_anytime":"随时取消","payment_entry_page.payment_step_title":"RevenueCat 安全结账","payment_entry_page.button_pay":"立即支付","payment_entry_page.button_start_trial":"开始试用","success_page.purchase_successful":"支付完成","success_page.button_close":"继续","error_page.if_error_persists":"如果错误仍然存在,请联系 ","error_page.error_title_already_subscribed":"您已订阅 {{productTitle}}","error_page.error_title_already_purchased":"您已购买 {{productTitle}}","error_page.error_title_other_errors":"出现错误","error_page.error_message_already_subscribed":"您不能再次订阅此产品。","error_page.error_message_already_purchased":"您不能再次购买此产品。","error_page.error_message_missing_email_error":"完成购买需要邮箱地址。","error_page.error_message_network_error":"网络错误。请检查您的互联网连接。","error_page.error_message_error_charging_payment":"支付失败。","error_page.error_message_error_setting_up_purchase":"由于错误,购买未启动(错误代码:{{errorCode}})。","error_page.error_message_invalid_tax_location":"我们无法验证您的账单地址。请仔细检查邮政编码和国家是否正确。","error_page.error_message_unknown_error":"发生未知错误(错误代码:{{errorCode}})。","error_page.button_try_again":"重试","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"今天应付总额","product_info.subscribe_to":"订阅","navbar_header.details":"详情","navbar_header.back_button":"返回","pricing_dropdown.show_details":"显示详情","pricing_dropdown.hide_details":"隐藏详情","pricing_table.tax":"税","pricing_table.trial_ends":"试用期结束后,于{{formattedTrialEndDate}}","pricing_table.total_due_today":"今日应付总额","pricing_table.total_excluding_tax":"总计(不含税)","pricing_table.enter_billing_address_to_calculate":"输入账单地址以计算","pricing_table.enter_state_or_postal_code_to_calculate":"输入州或邮政编码以计算","pricing_table.enter_postal_code_to_calculate":"输入邮政编码以计算","error_page.error_message_invalid_email_error":"无法验证电子邮件地址{{email}}。请提供有效的电子邮件地址。","payment_entry_page.button_payment_method":"使用{{paymentMethod}}支付{{formattedPrice}}","payment_entry_page.button_with_price":"支付{{formattedPrice}}","price_update.title":"价格更新","price_update.base_message":"总价已根据您的账单地址更新了税费。请查看并重试。您的银行卡只会扣款一次。","price_update.trial_message":"根据您的账单地址,订阅价格已更新为含税价格。免费试用仍然有效。请查看并重试。","payment_entry_page.express_checkout_divider":"或使用银行卡支付","error_page.trouble_accessing":"如果您在访问购买项目时遇到问题,请通过以下方式联系支持:","error_page.close_button_title":"前往{{appName}}","error_page.error_title_stripe_missing_required_permission":"缺少Stripe权限","error_page.button_close":"关闭","error_page.error_message_stripe_invalid_tax_origin_address":"购买失败,因为税务起始地址无效。在生产环境中,购买将在不应用税款的情况下进行。","error_page.error_message_stripe_tax_not_active":"购买失败,因为Stripe Tax未启用。在生产环境中,购买将在不应用税款的情况下进行。","error_page.error_only_in_sandbox":"此消息仅在沙盒中显示。","error_page.error_message_stripe_missing_required_permission":"购买失败,因为Stripe应用程序缺少必需的权限。在生产环境中,购买将在不应用税款的情况下进行。","error_page.error_title_stripe_tax_not_active":"Stripe Tax未激活","error_page.error_title_stripe_invalid_tax_origin_address":"税务起始地址无效","apple_pay.free_trial":"免费试用","product_info.price_after_intro_price":"在{{introPriceDuration}}之后,于{{renewalDate}}开始","product_info.after_trial":"试用后","product_info.after":"之后","product_info.intro_price_phase_after_trial":"然后{{introPriceDuration}},价格为{{introPrice}}","product_info.intro_price_phase":"首先{{introPriceDuration}},价格为{{introPrice}}","product_info.intro_price_phase_paid_once":"一次性支付","payment_entry_page.trial_subscription_terms_info":"试用期结束后,您将被收取 {{price}} {{perFrequency}},从 {{renewalDate}} 开始。您可以在此日期之前的任何时间取消。","payment_entry_page.subscription_info":"订阅自动续订。随时取消。","payment_entry_page.otp_terms_info":"购买即表示您同意允许{{appName}}根据其条款向您收费。","payment_entry_page.terms_link_label":"条款","payment_entry_page.subscription_terms_info":"订阅即表示您同意允许 {{appName}} 按照其条款向您收费,直到您取消订阅。","loading_page.keep_page_open":"流程即将完成。请保持此页面打开。","loading_page.processing_payment":"正在处理付款","pricing_table.discount":"折扣","pricing_table.subtotal":"小计","pricing_dropdown.add_promo_code":"添加优惠码","discount_input.label":"优惠码"},Nf={"periods.week":"{{amount}} 週","periods.month":"{{amount}} 個月","periods.year":"{{amount}} 年","periods.day":"{{amount}} 天","periods.weekShort":"{{amount}}週","periods.monthShort":"{{amount}}月","periods.yearShort":"{{amount}}年","periods.dayShort":"{{amount}}天","periods.lifetime":"終身","periods.weekPlural":"{{amount}} 週","periods.monthPlural":"{{amount}} 個月","periods.yearPlural":"{{amount}} 年","periods.dayPlural":"{{amount}} 天","periods.weekFrequency":"每週","periods.monthFrequency":"每月","periods.yearFrequency":"每年","periods.dayFrequency":"每天","periods.perWeekFrequency":"每週","periods.perMonthFrequency":"每月","periods.perYearFrequency":"每年","periods.perDayFrequency":"每天","periods.unknownFrequency":"未知","periods.weekFrequencyPlural":"每 {{amount}} 週","periods.monthFrequencyPlural":"每 {{amount}} 個月","periods.yearFrequencyPlural":"每 {{amount}} 年","periods.dayFrequencyPlural":"每 {{amount}} 天","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} 天免費試用","product_info.price_after_free_trial":"試用期結束後,於 {{renewalDate}}","product_info.renewal_frequency":"每 {{frequency}} 續約","product_info.continues_until_cancelled":"持續到取消","product_info.cancel_anytime":"隨時取消","payment_entry_page.payment_step_title":"RevenueCat 安全結帳","payment_entry_page.button_pay":"立即付款","payment_entry_page.button_start_trial":"開始試用","success_page.purchase_successful":"付款完成","success_page.button_close":"繼續","error_page.if_error_persists":"如果錯誤持續存在,請聯絡 ","error_page.error_title_already_subscribed":"您已經訂閱 {{productTitle}}","error_page.error_title_already_purchased":"您已經購買 {{productTitle}}","error_page.error_title_other_errors":"發生錯誤","error_page.error_message_already_subscribed":"您無法再次訂閱此產品。","error_page.error_message_already_purchased":"您無法再次購買此產品。","error_page.error_message_missing_email_error":"完成購買需要電子郵件地址。","error_page.error_message_network_error":"網路錯誤。請檢查您的網路連線。","error_page.error_message_error_charging_payment":"付款失敗。","error_page.error_message_error_setting_up_purchase":"由於發生錯誤,購買未啟動(錯誤代碼:{{errorCode}})。","error_page.error_message_invalid_tax_location":"我們無法驗證您的帳單地址。請仔細檢查郵遞區號和國家是否正確。","error_page.error_message_unknown_error":"發生不明錯誤(錯誤代碼:{{errorCode}})。","error_page.button_try_again":"再試一次","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}} ({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"今日應付總額","product_info.subscribe_to":"訂閱","navbar_header.details":"詳細資訊","navbar_header.back_button":"返回","pricing_dropdown.show_details":"顯示詳細資訊","pricing_dropdown.hide_details":"隱藏詳細資訊","pricing_table.tax":"稅金","pricing_table.trial_ends":"試用期結束後,於 {{formattedTrialEndDate}}","pricing_table.total_due_today":"今日應付總額","pricing_table.total_excluding_tax":"總計(不含稅)","pricing_table.enter_billing_address_to_calculate":"輸入帳單地址以計算","pricing_table.enter_state_or_postal_code_to_calculate":"輸入州或郵政編碼以計算","pricing_table.enter_postal_code_to_calculate":"輸入郵政編碼以計算","error_page.error_message_invalid_email_error":"無法驗證電子郵件地址 {{email}}。請提供有效的電子郵件地址。","payment_entry_page.button_payment_method":"使用 {{paymentMethod}} 支付 {{formattedPrice}}","payment_entry_page.button_with_price":"支付 {{formattedPrice}}","price_update.title":"價格更新","price_update.base_message":"總價已根據您的帳單地址更新稅金。請檢查後重試。您的信用卡只會被收取一次費用。","price_update.trial_message":"根據您的帳單地址,訂閱價格已更新為含稅價格。免費試用仍然有效。請查看並重試。","payment_entry_page.express_checkout_divider":"或以信用卡付款","error_page.trouble_accessing":"如果您在存取購買項目時遇到問題,請透過以下方式聯絡支援人員:","error_page.close_button_title":"前往{{appName}}","error_page.error_title_stripe_missing_required_permission":"缺少 Stripe 權限","error_page.button_close":"關閉","error_page.error_message_stripe_invalid_tax_origin_address":"購買失敗,因為稅務起始地址無效。在正式環境中,購買將在不套用稅金的情況下運作。","error_page.error_message_stripe_tax_not_active":"購買失敗,因為 Stripe Tax 未啟用。在正式環境中,購買將在不套用稅金的情況下運作。","error_page.error_only_in_sandbox":"此訊息僅在沙盒中顯示。","error_page.error_message_stripe_missing_required_permission":"購買失敗,因為 Stripe 應用程式缺少必要的權限。在正式環境中,購買將在不套用稅金的情況下運作。","error_page.error_title_stripe_tax_not_active":"Stripe Tax 未啟用","error_page.error_title_stripe_invalid_tax_origin_address":"無效的稅務起始地址","apple_pay.free_trial":"免費試用","product_info.price_after_intro_price":"在 {{introPriceDuration}} 之後,於 {{renewalDate}}","product_info.after_trial":"試用期後","product_info.after":"之後","product_info.intro_price_phase_after_trial":"然後 {{introPriceDuration}},價格為 {{introPrice}}","product_info.intro_price_phase":"首先 {{introPriceDuration}},價格為 {{introPrice}}","product_info.intro_price_phase_paid_once":"一次性支付","payment_entry_page.trial_subscription_terms_info":"在您的試用期結束後,您將被收取 {{price}} {{perFrequency}},從 {{renewalDate}} 開始。您可以隨時在此日期之前取消。","payment_entry_page.subscription_info":"訂閱會自動續訂。隨時取消。","payment_entry_page.otp_terms_info":"購買即表示您同意授權 {{appName}} 根據其條款向您收費。","payment_entry_page.terms_link_label":"條款","payment_entry_page.subscription_terms_info":"訂閱即表示您同意允許 {{appName}} 根據其條款向您收費,直到您取消為止。","loading_page.keep_page_open":"程序即將完成。請保持此頁面開啟。","loading_page.processing_payment":"正在處理付款","pricing_table.discount":"折扣","pricing_table.subtotal":"小計","pricing_dropdown.add_promo_code":"新增優惠碼","discount_input.label":"促銷代碼"},Of={"periods.week":"{{amount}} tjedan","periods.month":"{{amount}} mjesec","periods.year":"{{amount}} godina","periods.day":"{{amount}} dan","periods.weekShort":"{{amount}}tj","periods.monthShort":"{{amount}}mj","periods.yearShort":"{{amount}}g","periods.dayShort":"{{amount}}d","periods.lifetime":"doživotno","periods.weekPlural":"{{amount}} tjedana","periods.monthPlural":"{{amount}} mjeseci","periods.yearPlural":"{{amount}} godina","periods.dayPlural":"{{amount}} dana","periods.weekFrequency":"tjedno","periods.monthFrequency":"mjesečno","periods.yearFrequency":"godišnje","periods.dayFrequency":"dnevno","periods.perWeekFrequency":"tjedno","periods.perMonthFrequency":"mjesečno","periods.perYearFrequency":"godišnje","periods.perDayFrequency":"dnevno","periods.unknownFrequency":"nepoznato","periods.weekFrequencyPlural":"svakih {{amount}} tjedana","periods.monthFrequencyPlural":"svakih {{amount}} mjeseci","periods.yearFrequencyPlural":"svakih {{amount}} godina","periods.dayFrequencyPlural":"svakih {{amount}} dana","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} besplatno probno razdoblje","product_info.price_after_free_trial":"Nakon isteka probnog razdoblja, {{renewalDate}}","product_info.renewal_frequency":"Obnavlja se {{frequency}}","product_info.continues_until_cancelled":"Nastavlja se dok se ne otkaže","product_info.cancel_anytime":"Otkažite u bilo kojem trenutku","payment_entry_page.payment_step_title":"Sigurna naplata putem RevenueCat","payment_entry_page.button_pay":"Plati sada","payment_entry_page.button_start_trial":"Počni probno razdoblje","success_page.purchase_successful":"Uplata je uspješna","success_page.button_close":"Nastavi","error_page.if_error_persists":"Ako se pogreška nastavi, obratite se ","error_page.error_title_already_subscribed":"Već ste pretplaćeni na {{productTitle}}","error_page.error_title_already_purchased":"Već ste kupili {{productTitle}}","error_page.error_title_other_errors":"Nešto je pošlo po zlu","error_page.error_message_already_subscribed":"Ne možete se ponovno pretplatiti na ovaj proizvod.","error_page.error_message_already_purchased":"Ne možete ponovno kupiti ovaj proizvod.","error_page.error_message_missing_email_error":"E-pošta je potrebna za dovršetak kupnje.","error_page.error_message_network_error":"Mrežna pogreška. Provjerite internetsku vezu.","error_page.error_message_error_charging_payment":"Plaćanje nije uspjelo.","error_page.error_message_error_setting_up_purchase":"Kupnja nije započela zbog pogreške (kod pogreške: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Nismo mogli potvrditi vašu adresu za naplatu. Molimo provjerite poštanski broj i državu kako biste bili sigurni da su točni.","error_page.error_message_unknown_error":"Došlo je do nepoznate pogreške (kod pogreške: {{errorCode}}).","error_page.button_try_again":"Pokušaj ponovno","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Ukupno dospijeće danas","product_info.subscribe_to":"Pretplatite se","navbar_header.details":"Detalji","navbar_header.back_button":"Natrag","pricing_dropdown.show_details":"Prikaži detalje","pricing_dropdown.hide_details":"Sakrij detalje","pricing_table.tax":"Porez","pricing_table.trial_ends":"Nakon isteka probnog razdoblja, {{formattedTrialEndDate}}","pricing_table.total_due_today":"Ukupan iznos dospijeća danas","pricing_table.total_excluding_tax":"Ukupno bez poreza","pricing_table.enter_billing_address_to_calculate":"Unesite adresu za naplatu za izračun","pricing_table.enter_state_or_postal_code_to_calculate":"Unesite državu ili poštanski broj za izračun","pricing_table.enter_postal_code_to_calculate":"Unesite poštanski broj za izračun","error_page.error_message_invalid_email_error":"Adresa e-pošte {{email}} nije se mogla potvrditi. Molimo unesite valjanu adresu e-pošte.","payment_entry_page.button_payment_method":"Plati {{formattedPrice}} putem {{paymentMethod}}","payment_entry_page.button_with_price":"Plati {{formattedPrice}}","price_update.title":"Ažuriranje cijene","price_update.base_message":"Ukupna cijena je ažurirana s porezom na temelju vaše adrese za naplatu. Pregledajte i pokušajte ponovo. Vaša kartica bit će naplaćena samo jednom.","price_update.trial_message":"Cijena pretplate je ažurirana da uključi poreze na temelju vaše adrese za naplatu. Besplatno probno razdoblje i dalje vrijedi. Molimo provjerite i pokušajte ponovno.","payment_entry_page.express_checkout_divider":"ILI PLATITE KARTICOM","error_page.trouble_accessing":"Ako imate problema s pristupom kupnji, obratite se podršci na ","error_page.close_button_title":"Idi na {{appName}}","error_page.error_title_stripe_missing_required_permission":"Nedostaje Stripe dopuštenje","error_page.button_close":"Zatvori","error_page.error_message_stripe_invalid_tax_origin_address":"Kupnja nije uspjela jer je adresa poreznog podrijetla nevažeća. U produkciji će kupnje funkcionirati bez primijenjenih poreza.","error_page.error_message_stripe_tax_not_active":"Kupnja nije uspjela jer Stripe Tax nije omogućen. U produkciji će kupnje funkcionirati bez primijenjenih poreza.","error_page.error_only_in_sandbox":"Ova se poruka pojavljuje samo u sandboxu.","error_page.error_message_stripe_missing_required_permission":"Kupnja nije uspjela jer Stripe aplikaciji nedostaje potrebno dopuštenje. U produkciji će kupnje funkcionirati bez primijenjenih poreza.","error_page.error_title_stripe_tax_not_active":"Stripe Tax nije aktivan","error_page.error_title_stripe_invalid_tax_origin_address":"Nevažeća adresa poreznog podrijetla","apple_pay.free_trial":"Besplatna proba","product_info.price_after_intro_price":"Nakon {{introPriceDuration}}, na {{renewalDate}}","product_info.after_trial":"nakon probnog perioda","product_info.after":"nakon","product_info.intro_price_phase_after_trial":"Zatim {{introPriceDuration}} za {{introPrice}}","product_info.intro_price_phase":"Prvo {{introPriceDuration}} za {{introPrice}}","product_info.intro_price_phase_paid_once":"plaća se jednokratno","payment_entry_page.trial_subscription_terms_info":"Nakon isteka probnog razdoblja, bit će vam naplaćeno {{price}} {{perFrequency}} počevši od {{renewalDate}}. Možete otkazati bilo kada prije tog datuma.","payment_entry_page.subscription_info":"Pretplata se automatski obnavlja. Otkažite bilo kada.","payment_entry_page.otp_terms_info":"Kupnjom pristajete dopustiti aplikaciji {{appName}} da vam naplati u skladu s njihovim uvjetima.","payment_entry_page.terms_link_label":"Uvjeti","payment_entry_page.subscription_terms_info":"Pretplatom se slažete da ćete dopustiti {{appName}} da vam naplaćuje u skladu s njihovim uvjetima dok ne otkažete.","loading_page.keep_page_open":"Proces je skoro gotov. Ostavite ovu stranicu otvorenom.","loading_page.processing_payment":"Obrada uplate","pricing_table.discount":"Popust","pricing_table.subtotal":"Međuzbroj","pricing_dropdown.add_promo_code":"Dodaj promotivni kod","discount_input.label":"Promo kod"},Lf={"periods.week":"{{amount}} týden","periods.month":"{{amount}} měsíc","periods.year":"{{amount}} rok","periods.day":"{{amount}} den","periods.weekShort":"{{amount}}týd","periods.monthShort":"{{amount}}měs","periods.yearShort":"{{amount}}rok","periods.dayShort":"{{amount}}d","periods.lifetime":"doživotně","periods.weekPlural":"{{amount}} týdnů","periods.monthPlural":"{{amount}} měsíců","periods.yearPlural":"{{amount}} let","periods.dayPlural":"{{amount}} dnů","periods.weekFrequency":"týdně","periods.monthFrequency":"měsíčně","periods.yearFrequency":"ročně","periods.dayFrequency":"denně","periods.perWeekFrequency":"týdně","periods.perMonthFrequency":"měsíčně","periods.perYearFrequency":"ročně","periods.perDayFrequency":"denně","periods.unknownFrequency":"neznámé","periods.weekFrequencyPlural":"každých {{amount}} týdnů","periods.monthFrequencyPlural":"každých {{amount}} měsíců","periods.yearFrequencyPlural":"každých {{amount}} let","periods.dayFrequencyPlural":"každých {{amount}} dnů","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} zkušební verze zdarma","product_info.price_after_free_trial":"Po skončení zkušební verze, {{renewalDate}}","product_info.renewal_frequency":"Obnovuje se {{frequency}}","product_info.continues_until_cancelled":"Pokračuje, dokud není zrušeno","product_info.cancel_anytime":"Zrušit kdykoli","payment_entry_page.payment_step_title":"Bezpečné placení přes RevenueCat","payment_entry_page.button_pay":"Platit nyní","payment_entry_page.button_start_trial":"Spustit zkušební verzi","success_page.purchase_successful":"Platba dokončena","success_page.button_close":"Pokračovat","error_page.if_error_persists":"Pokud chyba přetrvává, kontaktujte ","error_page.error_title_already_subscribed":"Již máte předplatné pro {{productTitle}}","error_page.error_title_already_purchased":"Již jste zakoupili {{productTitle}}","error_page.error_title_other_errors":"Něco se pokazilo","error_page.error_message_already_subscribed":"Nemůžete si znovu předplatit tento produkt.","error_page.error_message_already_purchased":"Tento produkt si nemůžete znovu zakoupit.","error_page.error_message_missing_email_error":"Pro dokončení nákupu je vyžadován e-mail.","error_page.error_message_network_error":"Síťová chyba. Zkontrolujte prosím své internetové připojení.","error_page.error_message_error_charging_payment":"Platba selhala.","error_page.error_message_error_setting_up_purchase":"Nákup nebyl zahájen z důvodu chyby (kód chyby: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Nemohli jsme ověřit vaši fakturační adresu. Zkontrolujte prosím, zda je poštovní směrovací číslo a země správné.","error_page.error_message_unknown_error":"Došlo k neznámé chybě (kód chyby: {{errorCode}}).","error_page.button_try_again":"Zkusit znovu","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Celkem dnes k zaplacení","product_info.subscribe_to":"Předplatit","navbar_header.details":"Podrobnosti","navbar_header.back_button":"Zpět","pricing_dropdown.show_details":"Zobrazit podrobnosti","pricing_dropdown.hide_details":"Skrýt podrobnosti","pricing_table.tax":"Daň","pricing_table.trial_ends":"Po skončení zkušební doby, dne {{formattedTrialEndDate}}","pricing_table.total_due_today":"Celkem splatné dnes","pricing_table.total_excluding_tax":"Celkem bez daně","pricing_table.enter_billing_address_to_calculate":"Zadejte fakturační adresu pro výpočet","pricing_table.enter_state_or_postal_code_to_calculate":"Zadejte stát nebo PSČ pro výpočet","pricing_table.enter_postal_code_to_calculate":"Zadejte PSČ pro výpočet","error_page.error_message_invalid_email_error":"E-mailová adresa {{email}} nemohla být ověřena. Zadejte prosím platnou e-mailovou adresu.","payment_entry_page.button_payment_method":"Zaplatit {{formattedPrice}} pomocí {{paymentMethod}}","payment_entry_page.button_with_price":"Zaplatit {{formattedPrice}}","price_update.title":"Aktualizace ceny","price_update.base_message":"Celková cena byla aktualizována o daň na základě vaší fakturační adresy. Zkontrolujte ji a zkuste to znovu. Vaše karta bude stržena pouze jednou.","price_update.trial_message":"Cena předplatného byla aktualizována včetně daní na základě vaší fakturační adresy. Bezplatná zkušební doba stále platí. Prosím, zkontrolujte a zkuste to znovu.","payment_entry_page.express_checkout_divider":"NEBO ZAPLATIT KARTOU","error_page.trouble_accessing":"Pokud máte potíže s přístupem k zakoupenému obsahu, kontaktujte podporu na ","error_page.close_button_title":"Přejít na {{appName}}","error_page.error_title_stripe_missing_required_permission":"Chybí oprávnění Stripe","error_page.button_close":"Zavřít","error_page.error_message_stripe_invalid_tax_origin_address":"Nákup se nezdařil, protože adresa původu daně je neplatná. V produkčním prostředí budou nákupy fungovat bez uplatnění daní.","error_page.error_message_stripe_tax_not_active":"Nákup se nezdařil, protože Stripe Tax není aktivní. V produkčním prostředí budou nákupy fungovat bez uplatnění daní.","error_page.error_only_in_sandbox":"Tato zpráva se zobrazuje pouze v sandboxu.","error_page.error_message_stripe_missing_required_permission":"Nákup se nezdařil, protože aplikaci Stripe chybí požadované oprávnění. V produkčním prostředí budou nákupy fungovat bez uplatnění daní.","error_page.error_title_stripe_tax_not_active":"Stripe Tax není aktivní","error_page.error_title_stripe_invalid_tax_origin_address":"Neplatná adresa původu daně","apple_pay.free_trial":"Zkušební verze zdarma","product_info.price_after_intro_price":"Po {{introPriceDuration}}, dne {{renewalDate}}","product_info.after_trial":"po zkušební době","product_info.after":"po","product_info.intro_price_phase_after_trial":"Poté {{introPriceDuration}} za {{introPrice}}","product_info.intro_price_phase":"Nejprve {{introPriceDuration}} za {{introPrice}}","product_info.intro_price_phase_paid_once":"placeno jednorázově","payment_entry_page.trial_subscription_terms_info":"Po skončení zkušebního období vám bude účtováno {{price}} {{perFrequency}} počínaje {{renewalDate}}. Před tímto datem můžete kdykoli zrušit.","payment_entry_page.subscription_info":"Předplatné se automaticky obnovuje. Zrušit můžete kdykoli.","payment_entry_page.otp_terms_info":"Zakoupením souhlasíte s tím, že umožníte aplikaci {{appName}} účtovat vám poplatky v souladu s jejími podmínkami.","payment_entry_page.terms_link_label":"Podmínky","payment_entry_page.subscription_terms_info":"Přihlášením k odběru souhlasíte s tím, že společnost {{appName}} vám bude účtovat poplatky v souladu s jejími podmínkami, dokud odběr nezrušíte.","loading_page.keep_page_open":"Probíhá dokončování procesu. Nechte tuto stránku otevřenou.","loading_page.processing_payment":"Probíhá zpracování platby","pricing_table.discount":"Sleva","pricing_table.subtotal":"Mezisoučet","pricing_dropdown.add_promo_code":"Přidat promo kód","discount_input.label":"Promo kód"},Bf={"periods.week":"{{amount}} uge","periods.month":"{{amount}} måned","periods.year":"{{amount}} år","periods.day":"{{amount}} dag","periods.weekShort":"{{amount}}ug","periods.monthShort":"{{amount}}md","periods.yearShort":"{{amount}}år","periods.dayShort":"{{amount}}d","periods.lifetime":"livstid","periods.weekPlural":"{{amount}} uger","periods.monthPlural":"{{amount}} måneder","periods.yearPlural":"{{amount}} år","periods.dayPlural":"{{amount}} dage","periods.weekFrequency":"ugentligt","periods.monthFrequency":"månedligt","periods.yearFrequency":"årligt","periods.dayFrequency":"dagligt","periods.perWeekFrequency":"pr. uge","periods.perMonthFrequency":"pr. måned","periods.perYearFrequency":"pr. år","periods.perDayFrequency":"pr. dag","periods.unknownFrequency":"ukendt","periods.weekFrequencyPlural":"hver {{amount}} uger","periods.monthFrequencyPlural":"hver {{amount}} måneder","periods.yearFrequencyPlural":"hver {{amount}} år","periods.dayFrequencyPlural":"hver {{amount}} dage","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} gratis prøveperiode","product_info.price_after_free_trial":"Efter prøveperioden slutter, den {{renewalDate}}","product_info.renewal_frequency":"Fornyes {{frequency}}","product_info.continues_until_cancelled":"Fortsætter indtil annulleret","product_info.cancel_anytime":"Annuller når som helst","payment_entry_page.payment_step_title":"Sikker betaling via RevenueCat","payment_entry_page.button_pay":"Betal nu","payment_entry_page.button_start_trial":"Start prøveperiode","success_page.purchase_successful":"Betaling gennemført","success_page.button_close":"Fortsæt","error_page.if_error_persists":"Hvis fejlen fortsætter, kontakt venligst ","error_page.error_title_already_subscribed":"Du abonnerer allerede på {{productTitle}}","error_page.error_title_already_purchased":"Du har allerede købt {{productTitle}}","error_page.error_title_other_errors":"Noget gik galt","error_page.error_message_already_subscribed":"Du kan ikke abonnere på dette produkt igen.","error_page.error_message_already_purchased":"Du kan ikke købe dette produkt igen.","error_page.error_message_missing_email_error":"Email er påkrævet for at gennemføre købet.","error_page.error_message_network_error":"Netværksfejl. Kontroller din internetforbindelse.","error_page.error_message_error_charging_payment":"Betalingen mislykkedes.","error_page.error_message_error_setting_up_purchase":"Køb ikke startet på grund af en fejl (fejlkode: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Vi kunne ikke bekræfte din faktureringsadresse. Kontroller venligst, at postnummeret og landet er korrekte.","error_page.error_message_unknown_error":"Der opstod en ukendt fejl (fejlkode: {{errorCode}}).","error_page.button_try_again":"Prøv igen","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Samlet beløb for i dag","product_info.subscribe_to":"Abonner på","navbar_header.details":"Detaljer","navbar_header.back_button":"Tilbage","pricing_dropdown.show_details":"Vis detaljer","pricing_dropdown.hide_details":"Skjul detaljer","pricing_table.tax":"Moms","pricing_table.trial_ends":"Efter prøveperioden slutter, den {{formattedTrialEndDate}}","pricing_table.total_due_today":"Samlet beløb forfalden i dag","pricing_table.total_excluding_tax":"Samlet beløb eksklusive moms","pricing_table.enter_billing_address_to_calculate":"Indtast faktureringsadresse for at beregne","pricing_table.enter_state_or_postal_code_to_calculate":"Indtast stat eller postnummer for at beregne","pricing_table.enter_postal_code_to_calculate":"Indtast postnummer for at beregne","error_page.error_message_invalid_email_error":"E-mailadressen {{email}} kunne ikke bekræftes. Angiv en gyldig e-mailadresse.","payment_entry_page.button_payment_method":"Betal {{formattedPrice}} med {{paymentMethod}}","payment_entry_page.button_with_price":"Betal {{formattedPrice}}","price_update.title":"Prisopdatering","price_update.base_message":"Den samlede pris er blevet opdateret med moms baseret på din faktureringsadresse. Gennemgå og prøv igen. Dit kort vil kun blive debiteret én gang.","price_update.trial_message":"Abonnementsprisen er opdateret for at inkludere skatter baseret på din faktureringsadresse. Den gratis prøveperiode gælder stadig. Kontroller venligst og prøv igen.","payment_entry_page.express_checkout_divider":"ELLER BETAL MED KORT","error_page.trouble_accessing":"Hvis du har problemer med at få adgang til dit køb, kan du kontakte support på ","error_page.close_button_title":"Gå til {{appName}}","error_page.error_title_stripe_missing_required_permission":"Manglende Stripe-tilladelse","error_page.button_close":"Luk","error_page.error_message_stripe_invalid_tax_origin_address":"Købet mislykkedes, fordi skatteoprindelsesadressen er ugyldig. I produktion vil køb fungere uden påførte skatter.","error_page.error_message_stripe_tax_not_active":"Købet mislykkedes, fordi Stripe Tax ikke er aktiveret. I produktion vil køb fungere uden påførte skatter.","error_page.error_only_in_sandbox":"Denne meddelelse vises kun i sandkassen.","error_page.error_message_stripe_missing_required_permission":"Købet mislykkedes, fordi Stripe-appen mangler en påkrævet tilladelse. I produktion vil køb fungere uden påførte skatter.","error_page.error_title_stripe_tax_not_active":"Stripe Tax er ikke aktiv","error_page.error_title_stripe_invalid_tax_origin_address":"Ugyldig skatteoprindelsesadresse","apple_pay.free_trial":"Gratis prøveperiode","product_info.price_after_intro_price":"Efter {{introPriceDuration}}, den {{renewalDate}}","product_info.after_trial":"efter prøveperiode","product_info.after":"efter","product_info.intro_price_phase_after_trial":"Derefter {{introPriceDuration}} for {{introPrice}}","product_info.intro_price_phase":"Først {{introPriceDuration}} for {{introPrice}}","product_info.intro_price_phase_paid_once":"betales én gang","payment_entry_page.trial_subscription_terms_info":"Efter din prøveperiode slutter, vil du blive opkrævet {{price}} {{perFrequency}} fra og med {{renewalDate}}. Du kan opsige når som helst før denne dato.","payment_entry_page.subscription_info":"Abonnementet fornys automatisk. Opsig når som helst.","payment_entry_page.otp_terms_info":"Ved at købe accepterer du, at {{appName}} kan debitere dig i overensstemmelse med deres vilkår.","payment_entry_page.terms_link_label":"Vilkår","payment_entry_page.subscription_terms_info":"Ved at abonnere accepterer du, at {{appName}} kan opkræve dig i henhold til deres vilkår, indtil du opsiger.","loading_page.keep_page_open":"Processen er næsten færdig. Hold denne side åben.","loading_page.processing_payment":"Behandler betaling","pricing_table.discount":"Rabat","pricing_table.subtotal":"Subtotal","pricing_dropdown.add_promo_code":"Tilføj rabatkode","discount_input.label":"Kampagnekode"},Rf={"periods.week":"{{amount}} week","periods.month":"{{amount}} maand","periods.year":"{{amount}} jaar","periods.day":"{{amount}} dag","periods.weekShort":"{{amount}}wk","periods.monthShort":"{{amount}}maand","periods.yearShort":"{{amount}}jr","periods.dayShort":"{{amount}}d","periods.lifetime":"levenslang","periods.weekPlural":"{{amount}} weken","periods.monthPlural":"{{amount}} maanden","periods.yearPlural":"{{amount}} jaren","periods.dayPlural":"{{amount}} dagen","periods.weekFrequency":"wekelijks","periods.monthFrequency":"maandelijks","periods.yearFrequency":"jaarlijks","periods.dayFrequency":"dagelijks","periods.perWeekFrequency":"per week","periods.perMonthFrequency":"per maand","periods.perYearFrequency":"per jaar","periods.perDayFrequency":"per dag","periods.unknownFrequency":"onbekend","periods.weekFrequencyPlural":"elke {{amount}} weken","periods.monthFrequencyPlural":"elke {{amount}} maanden","periods.yearFrequencyPlural":"elke {{amount}} jaren","periods.dayFrequencyPlural":"elke {{amount}} dagen","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} gratis proefperiode","product_info.price_after_free_trial":"Na afloop van de proefperiode, op {{renewalDate}}","product_info.renewal_frequency":"Wordt verlengd {{frequency}}","product_info.continues_until_cancelled":"Wordt voortgezet tot annulering","product_info.cancel_anytime":"Annuleer op elk gewenst moment","payment_entry_page.payment_step_title":"Veilige afrekening via RevenueCat","payment_entry_page.button_pay":"Nu betalen","payment_entry_page.button_start_trial":"Start proefperiode","success_page.purchase_successful":"Betaling voltooid","success_page.button_close":"Doorgaan","error_page.if_error_persists":"Neem contact op met als de fout aanhoudt","error_page.error_title_already_subscribed":"Je bent al geabonneerd op {{productTitle}}","error_page.error_title_already_purchased":"Je hebt {{productTitle}} al gekocht","error_page.error_title_other_errors":"Er is iets misgegaan","error_page.error_message_already_subscribed":"Je kunt je niet opnieuw abonneren op dit product.","error_page.error_message_already_purchased":"Je kunt dit product niet opnieuw kopen.","error_page.error_message_missing_email_error":"Een e-mailadres is vereist om de aankoop te voltooien.","error_page.error_message_network_error":"Netwerkfout. Controleer uw internetverbinding.","error_page.error_message_error_charging_payment":"Betaling mislukt.","error_page.error_message_error_setting_up_purchase":"Aankoop niet gestart vanwege een fout (foutcode: {{errorCode}}).","error_page.error_message_invalid_tax_location":"We konden uw factuuradres niet verifiëren. Controleer of de postcode en het land correct zijn.","error_page.error_message_unknown_error":"Er is een onbekende fout opgetreden (foutcode: {{errorCode}}).","error_page.button_try_again":"Opnieuw proberen","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Totaal te betalen vandaag","product_info.subscribe_to":"Abonneren op","navbar_header.details":"Details","navbar_header.back_button":"Terug","pricing_dropdown.show_details":"Toon details","pricing_dropdown.hide_details":"Verberg details","pricing_table.tax":"Btw","pricing_table.trial_ends":"Na afloop van de proefperiode, op {{formattedTrialEndDate}}","pricing_table.total_due_today":"Totaal vandaag te betalen","pricing_table.total_excluding_tax":"Totaal exclusief btw","pricing_table.enter_billing_address_to_calculate":"Voer het factuuradres in om te berekenen","pricing_table.enter_state_or_postal_code_to_calculate":"Voer provincie of postcode in om te berekenen","pricing_table.enter_postal_code_to_calculate":"Voer postcode in om te berekenen","error_page.error_message_invalid_email_error":"Het e-mailadres {{email}} kon niet worden geverifieerd. Geef een geldig e-mailadres op.","payment_entry_page.button_payment_method":"Betaal {{formattedPrice}} met {{paymentMethod}}","payment_entry_page.button_with_price":"Betaal {{formattedPrice}}","price_update.title":"Prijsupdate","price_update.base_message":"De totale prijs is bijgewerkt met belasting op basis van uw factuuradres. Controleer en probeer het opnieuw. Uw kaart wordt slechts één keer belast.","price_update.trial_message":"De abonnementsprijs is bijgewerkt om belastingen op te nemen op basis van uw factuuradres. De gratis proefperiode blijft van toepassing. Controleer en probeer het opnieuw.","payment_entry_page.express_checkout_divider":"OF BETAAL MET EEN KAART","error_page.trouble_accessing":"Als je problemen hebt met het verkrijgen van toegang tot je aankoop, neem dan contact op met de ondersteuning via ","error_page.close_button_title":"Ga naar {{appName}}","error_page.error_title_stripe_missing_required_permission":"Ontbrekende Stripe-toestemming","error_page.button_close":"Sluiten","error_page.error_message_stripe_invalid_tax_origin_address":"De aankoop is mislukt omdat het belastingoorsprongadres ongeldig is. In productie werken aankopen zonder toegepaste belastingen.","error_page.error_message_stripe_tax_not_active":"De aankoop is mislukt omdat Stripe Tax niet is ingeschakeld. In productie werken aankopen zonder toegepaste belastingen.","error_page.error_only_in_sandbox":"Dit bericht verschijnt alleen in de sandbox.","error_page.error_message_stripe_missing_required_permission":"De aankoop is mislukt omdat de Stripe-app een vereiste toestemming mist. In productie werken aankopen zonder toegepaste belastingen.","error_page.error_title_stripe_tax_not_active":"Stripe Tax niet actief","error_page.error_title_stripe_invalid_tax_origin_address":"Ongeldig belastingoorsprongadres","apple_pay.free_trial":"Gratis proefperiode","product_info.price_after_intro_price":"Na {{introPriceDuration}}, op {{renewalDate}}","product_info.after_trial":"na proefperiode","product_info.after":"na","product_info.intro_price_phase_after_trial":"Daarna {{introPriceDuration}} voor {{introPrice}}","product_info.intro_price_phase":"Eerst {{introPriceDuration}} voor {{introPrice}}","product_info.intro_price_phase_paid_once":"eenmalig betaald","payment_entry_page.trial_subscription_terms_info":"Na afloop van uw proefperiode wordt {{price}} {{perFrequency}} in rekening gebracht, beginnend op {{renewalDate}}. U kunt op elk moment vóór deze datum annuleren.","payment_entry_page.subscription_info":"Abonnement wordt automatisch verlengd. Annuleer op elk moment.","payment_entry_page.otp_terms_info":"Door de aankoop ga je ermee akkoord dat {{appName}} kosten in rekening brengt volgens hun voorwaarden.","payment_entry_page.terms_link_label":"Voorwaarden","payment_entry_page.subscription_terms_info":"Door u te abonneren, stemt u ermee in dat {{appName}} u kosten in rekening brengt volgens hun voorwaarden totdat u annuleert.","loading_page.keep_page_open":"Het proces is bijna voltooid. Houd deze pagina open.","loading_page.processing_payment":"Betaling verwerken","pricing_table.discount":"Korting","pricing_table.subtotal":"Subtotaal","pricing_dropdown.add_promo_code":"Promotiecode toevoegen","discount_input.label":"Promotiecode"},Uf={"periods.week":"{{amount}} viikko","periods.month":"{{amount}} kuukausi","periods.year":"{{amount}} vuosi","periods.day":"{{amount}} päivä","periods.weekShort":"{{amount}}vk","periods.monthShort":"{{amount}}kk","periods.yearShort":"{{amount}}v","periods.dayShort":"{{amount}}p","periods.lifetime":"elämäaika","periods.weekPlural":"{{amount}} viikkoa","periods.monthPlural":"{{amount}} kuukautta","periods.yearPlural":"{{amount}} vuotta","periods.dayPlural":"{{amount}} päivää","periods.weekFrequency":"viikoittain","periods.monthFrequency":"kuukausittain","periods.yearFrequency":"vuosittain","periods.dayFrequency":"päivittäin","periods.perWeekFrequency":"viikossa","periods.perMonthFrequency":"kuukaudessa","periods.perYearFrequency":"vuodessa","periods.perDayFrequency":"päivässä","periods.unknownFrequency":"tuntematon","periods.weekFrequencyPlural":"joka {{amount}} viikko","periods.monthFrequencyPlural":"joka {{amount}} kuukausi","periods.yearFrequencyPlural":"joka {{amount}} vuosi","periods.dayFrequencyPlural":"joka {{amount}} päivä","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} ilmainen kokeilujakso","product_info.price_after_free_trial":"Kokeilujakson päätyttyä, {{renewalDate}}","product_info.renewal_frequency":"Uusiutuu {{frequency}}","product_info.continues_until_cancelled":"Jatkuu, kunnes peruutetaan","product_info.cancel_anytime":"Peruuta milloin tahansa","payment_entry_page.payment_step_title":"Suojautunut kassatoiminto RevenueCatin kautta","payment_entry_page.button_pay":"Maksa nyt","payment_entry_page.button_start_trial":"Aloita kokeilujakso","success_page.purchase_successful":"Maksaminen onnistui","success_page.button_close":"Jatka","error_page.if_error_persists":"Jos virhe jatkuu, ota yhteyttä ","error_page.error_title_already_subscribed":"Olet jo tilannut tuotteen {{productTitle}}","error_page.error_title_already_purchased":"Olet jo ostanut tuotteen {{productTitle}}","error_page.error_title_other_errors":"Jokin meni pieleen","error_page.error_message_already_subscribed":"Et voi tilata tätä tuotetta uudelleen.","error_page.error_message_already_purchased":"Et voi ostaa tätä tuotetta uudelleen.","error_page.error_message_missing_email_error":"Sähköpostiosoite tarvitaan ostoksen loppuun saattamiseksi.","error_page.error_message_network_error":"Verkkovirhe. Tarkista internet-yhteytesi.","error_page.error_message_error_charging_payment":"Maksaminen epäonnistui.","error_page.error_message_error_setting_up_purchase":"Ostoa ei aloitettu virheen vuoksi (virhekoodi: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Emme voineet vahvistaa laskutusosoitettasi. Tarkista, että postinumero ja maa ovat oikein.","error_page.error_message_unknown_error":"Tapahtui tuntematon virhe (virhekoodi: {{errorCode}}).","error_page.button_try_again":"Yritä uudelleen","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}} ({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Maksettava summa tänään","product_info.subscribe_to":"Tilaa","navbar_header.details":"Yksityiskohdat","navbar_header.back_button":"Takaisin","pricing_dropdown.show_details":"Näytä tiedot","pricing_dropdown.hide_details":"Piilota tiedot","pricing_table.tax":"Vero","pricing_table.trial_ends":"Kokeilujakson päätyttyä, {{formattedTrialEndDate}}","pricing_table.total_due_today":"Maksettava summa tänään","pricing_table.total_excluding_tax":"Veroton kokonaissumma","pricing_table.enter_billing_address_to_calculate":"Syötä laskutusosoite laskeaksesi","pricing_table.enter_state_or_postal_code_to_calculate":"Syötä osavaltio tai postinumero laskeaksesi","pricing_table.enter_postal_code_to_calculate":"Syötä postinumero laskeaksesi","error_page.error_message_invalid_email_error":"Sähköpostiosoitetta {{email}} ei voitu vahvistaa. Anna kelvollinen sähköpostiosoite.","payment_entry_page.button_payment_method":"Maksa {{formattedPrice}} käyttämällä {{paymentMethod}}","payment_entry_page.button_with_price":"Maksa {{formattedPrice}}","price_update.title":"Hinnan päivitys","price_update.base_message":"Kokonaishinta on päivitetty verolla laskutusosoitteesi perusteella. Tarkista ja yritä uudelleen. Korttiasi veloitetaan vain kerran.","price_update.trial_message":"Tilauksen hinta on päivitetty sisältämään verot laskutusosoitteesi perusteella. Ilmainen kokeilujakso on edelleen voimassa. Tarkista ja yritä uudelleen.","payment_entry_page.express_checkout_divider":"TAI MAKSA KORTILLA","error_page.trouble_accessing":"Jos sinulla on ongelmia ostoksesi käyttämisessä, ota yhteyttä tukeen osoitteessa ","error_page.close_button_title":"Siirry sovellukseen {{appName}}","error_page.error_title_stripe_missing_required_permission":"Puuttuva Stripe-käyttöoikeus","error_page.button_close":"Sulje","error_page.error_message_stripe_invalid_tax_origin_address":"Osto epäonnistui, koska veron alkuperäosoite on virheellinen. Tuotantoympäristössä ostot toimivat ilman veroja.","error_page.error_message_stripe_tax_not_active":"Osto epäonnistui, koska Stripe Tax ei ole käytössä. Tuotantoympäristössä ostot toimivat ilman veroja.","error_page.error_only_in_sandbox":"Tämä viesti näkyy vain hiekkalaatikossa.","error_page.error_message_stripe_missing_required_permission":"Osto epäonnistui, koska Stripe-sovellukselta puuttuu vaadittu käyttöoikeus. Tuotantoympäristössä ostot toimivat ilman veroja.","error_page.error_title_stripe_tax_not_active":"Stripe Tax ei ole aktiivinen","error_page.error_title_stripe_invalid_tax_origin_address":"Virheellinen veron alkuperäosoite","apple_pay.free_trial":"Ilmainen kokeilu","product_info.price_after_intro_price":"{{introPriceDuration}} jälkeen, {{renewalDate}}","product_info.after_trial":"kokeilujakson jälkeen","product_info.after":"jälkeen","product_info.intro_price_phase_after_trial":"Sitten {{introPriceDuration}} hintaan {{introPrice}}","product_info.intro_price_phase":"Ensimmäiset {{introPriceDuration}} hintaan {{introPrice}}","product_info.intro_price_phase_paid_once":"maksetaan kerran","payment_entry_page.trial_subscription_terms_info":"Kokeilujakson päätyttyä sinulta veloitetaan {{price}} {{perFrequency}} alkaen {{renewalDate}}. Voit peruuttaa milloin tahansa ennen tätä päivämäärää.","payment_entry_page.subscription_info":"Tilaus uusiutuu automaattisesti. Peruuta milloin tahansa.","payment_entry_page.otp_terms_info":"Ostamalla hyväksyt, että {{appName}} veloittaa sinua heidän ehtojensa mukaisesti.","payment_entry_page.terms_link_label":"Ehdot","payment_entry_page.subscription_terms_info":"Tilaamalla hyväksyt, että {{appName}} veloittaa sinulta ehtojensa mukaisesti, kunnes peruutat tilauksen.","loading_page.keep_page_open":"Prosessi on melkein valmis. Pidä tämä sivu auki.","loading_page.processing_payment":"Maksua käsitellään","pricing_table.discount":"Alennus","pricing_table.subtotal":"Välisumma","pricing_dropdown.add_promo_code":"Lisää kampanjakoodi","discount_input.label":"Kampanjakoodi"},Vf={"periods.week":"{{amount}} semaine","periods.month":"{{amount}} mois","periods.year":"{{amount}} an","periods.day":"{{amount}} jour","periods.weekShort":"{{amount}}sem","periods.monthShort":"{{amount}}mois","periods.yearShort":"{{amount}}an","periods.dayShort":"{{amount}}j","periods.lifetime":"à vie","periods.weekPlural":"{{amount}} semaines","periods.monthPlural":"{{amount}} mois","periods.yearPlural":"{{amount}} ans","periods.dayPlural":"{{amount}} jours","periods.weekFrequency":"hebdomadaire","periods.monthFrequency":"mensuel","periods.yearFrequency":"annuel","periods.dayFrequency":"quotidien","periods.perWeekFrequency":"par semaine","periods.perMonthFrequency":"par mois","periods.perYearFrequency":"par an","periods.perDayFrequency":"par jour","periods.unknownFrequency":"inconnu","periods.weekFrequencyPlural":"toutes les {{amount}} semaines","periods.monthFrequencyPlural":"tous les {{amount}} mois","periods.yearFrequencyPlural":"tous les {{amount}} ans","periods.dayFrequencyPlural":"tous les {{amount}} jours","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} essai gratuit","product_info.price_after_free_trial":"Après la fin de l'essai, le {{renewalDate}}","product_info.renewal_frequency":"Renouvellement {{frequency}}","product_info.continues_until_cancelled":"Continue jusqu'à annulation","product_info.cancel_anytime":"Annulez à tout moment","payment_entry_page.payment_step_title":"Paiement sécurisé par RevenueCat","payment_entry_page.button_pay":"Payer maintenant","payment_entry_page.button_start_trial":"Commencer l'essai","success_page.purchase_successful":"Paiement effectué","success_page.button_close":"Continuer","error_page.if_error_persists":"Si l'erreur persiste, veuillez contacter ","error_page.error_title_already_subscribed":"Vous êtes déjà abonné à {{productTitle}}","error_page.error_title_already_purchased":"Vous avez déjà acheté {{productTitle}}","error_page.error_title_other_errors":"Une erreur s'est produite","error_page.error_message_already_subscribed":"Vous ne pouvez pas vous abonner à nouveau à ce produit.","error_page.error_message_already_purchased":"Vous ne pouvez pas acheter ce produit à nouveau.","error_page.error_message_missing_email_error":"L'adresse e-mail est requise pour effectuer l'achat.","error_page.error_message_network_error":"Erreur réseau. Veuillez vérifier votre connexion Internet.","error_page.error_message_error_charging_payment":"Échec du paiement.","error_page.error_message_error_setting_up_purchase":"L'achat n'a pas pu démarrer en raison d'une erreur (code d'erreur : {{errorCode}}).","error_page.error_message_invalid_tax_location":"Nous n'avons pas pu vérifier votre adresse de facturation. Veuillez vérifier que le code postal et le pays sont corrects.","error_page.error_message_unknown_error":"Une erreur inconnue s'est produite (code d'erreur : {{errorCode}}).","error_page.button_try_again":"Réessayer","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}} ({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Total dû aujourd'hui","product_info.subscribe_to":"S'abonner à","navbar_header.details":"Détails","navbar_header.back_button":"Retour","pricing_dropdown.show_details":"Afficher les détails","pricing_dropdown.hide_details":"Masquer les détails","pricing_table.tax":"Taxe","pricing_table.trial_ends":"Après la fin de l'essai, le {{formattedTrialEndDate}}","pricing_table.total_due_today":"Total dû aujourd'hui","pricing_table.total_excluding_tax":"Total hors taxes","pricing_table.enter_billing_address_to_calculate":"Saisir l'adresse de facturation pour calculer","pricing_table.enter_state_or_postal_code_to_calculate":"Entrez l'état ou le code postal pour calculer","pricing_table.enter_postal_code_to_calculate":"Entrez le code postal pour calculer","error_page.error_message_invalid_email_error":"L'adresse e-mail {{email}} n'a pas pu être vérifiée. Veuillez fournir une adresse e-mail valide.","payment_entry_page.button_payment_method":"Payer {{formattedPrice}} avec {{paymentMethod}}","payment_entry_page.button_with_price":"Payer {{formattedPrice}}","price_update.title":"Mise à jour du prix","price_update.base_message":"Le prix total a été mis à jour avec la taxe en fonction de votre adresse de facturation. Veuillez vérifier et réessayer. Votre carte ne sera débitée qu'une seule fois.","price_update.trial_message":"Le prix de l'abonnement a été mis à jour pour inclure les taxes en fonction de votre adresse de facturation. La période d'essai gratuit reste applicable. Veuillez vérifier et réessayer.","payment_entry_page.express_checkout_divider":"OU PAYER PAR CARTE","error_page.trouble_accessing":"Si vous avez des difficultés à accéder à votre achat, contactez le support à l'adresse suivante : ","error_page.close_button_title":"Aller sur {{appName}}","error_page.error_title_stripe_missing_required_permission":"Autorisation Stripe manquante","error_page.button_close":"Fermer","error_page.error_message_stripe_invalid_tax_origin_address":"L'achat a échoué car l'adresse d'origine de la taxe n'est pas valide. En production, les achats fonctionneront sans taxes appliquées.","error_page.error_message_stripe_tax_not_active":"L'achat a échoué car Stripe Tax n'est pas activé. En production, les achats fonctionneront sans taxes appliquées.","error_page.error_only_in_sandbox":"Ce message apparaît uniquement dans l'environnement de test.","error_page.error_message_stripe_missing_required_permission":"L'achat a échoué car l'application Stripe ne dispose pas d'une autorisation requise. En production, les achats fonctionneront sans taxes appliquées.","error_page.error_title_stripe_tax_not_active":"Stripe Tax non actif","error_page.error_title_stripe_invalid_tax_origin_address":"Adresse d'origine de la taxe non valide","apple_pay.free_trial":"Essai gratuit","product_info.price_after_intro_price":"Après {{introPriceDuration}}, le {{renewalDate}}","product_info.after_trial":"après l'essai","product_info.after":"après","product_info.intro_price_phase_after_trial":"Puis {{introPriceDuration}} pour {{introPrice}}","product_info.intro_price_phase":"{{introPriceDuration}} pour {{introPrice}} au départ","product_info.intro_price_phase_paid_once":"payé une fois","payment_entry_page.trial_subscription_terms_info":"Après la fin de votre essai, vous serez facturé {{price}} {{perFrequency}} à partir du {{renewalDate}}. Vous pouvez annuler à tout moment avant cette date.","payment_entry_page.subscription_info":"L'abonnement est renouvelé automatiquement. Annulez à tout moment.","payment_entry_page.otp_terms_info":"En achetant, vous acceptez d'autoriser {{appName}} à vous facturer conformément à ses conditions.","payment_entry_page.terms_link_label":"Conditions","payment_entry_page.subscription_terms_info":"En vous abonnant, vous acceptez d'autoriser {{appName}} à vous facturer conformément à ses conditions jusqu'à ce que vous annuliez.","loading_page.keep_page_open":"Le processus est presque terminé. Veuillez garder cette page ouverte.","loading_page.processing_payment":"Paiement en cours","pricing_table.discount":"Remise","pricing_table.subtotal":"Sous-total","pricing_dropdown.add_promo_code":"Ajouter un code promotionnel","discount_input.label":"Code promo"},Wf={"periods.week":"{{amount}} Woche","periods.month":"{{amount}} Monat","periods.year":"{{amount}} Jahr","periods.day":"{{amount}} Tag","periods.weekShort":"{{amount}}Wo","periods.monthShort":"{{amount}}Mo","periods.yearShort":"{{amount}}J","periods.dayShort":"{{amount}}T","periods.lifetime":"lebenslang","periods.weekPlural":"{{amount}} Wochen","periods.monthPlural":"{{amount}} Monate","periods.yearPlural":"{{amount}} Jahre","periods.dayPlural":"{{amount}} Tage","periods.weekFrequency":"wöchentlich","periods.monthFrequency":"monatlich","periods.yearFrequency":"jährlich","periods.dayFrequency":"täglich","periods.perWeekFrequency":"pro Woche","periods.perMonthFrequency":"pro Monat","periods.perYearFrequency":"pro Jahr","periods.perDayFrequency":"pro Tag","periods.unknownFrequency":"unbekannt","periods.weekFrequencyPlural":"alle {{amount}} Wochen","periods.monthFrequencyPlural":"alle {{amount}} Monate","periods.yearFrequencyPlural":"alle {{amount}} Jahre","periods.dayFrequencyPlural":"alle {{amount}} Tage","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} kostenlose Testversion","product_info.price_after_free_trial":"Nach Ablauf der Testversion, am {{renewalDate}}","product_info.renewal_frequency":"Verlängert sich {{frequency}}","product_info.continues_until_cancelled":"Läuft bis zur Kündigung","product_info.cancel_anytime":"Jederzeit kündbar","payment_entry_page.payment_step_title":"Sicherer Checkout über RevenueCat","payment_entry_page.button_pay":"Jetzt bezahlen","payment_entry_page.button_start_trial":"Testversion starten","success_page.purchase_successful":"Zahlung abgeschlossen","success_page.button_close":"Weiter","error_page.if_error_persists":"Wenn der Fehler weiterhin besteht, wenden Sie sich bitte an ","error_page.error_title_already_subscribed":"Du hast {{productTitle}} bereits abonniert","error_page.error_title_already_purchased":"Du hast {{productTitle}} bereits gekauft","error_page.error_title_other_errors":"Etwas ist schief gelaufen","error_page.error_message_already_subscribed":"Du kannst dieses Produkt nicht erneut abonnieren.","error_page.error_message_already_purchased":"Du kannst dieses Produkt nicht erneut kaufen.","error_page.error_message_missing_email_error":"Für den Kauf ist eine E-Mail-Adresse erforderlich.","error_page.error_message_network_error":"Netzwerkfehler. Bitte überprüfen Sie Ihre Internetverbindung.","error_page.error_message_error_charging_payment":"Zahlung fehlgeschlagen.","error_page.error_message_error_setting_up_purchase":"Der Kauf wurde aufgrund eines Fehlers nicht gestartet (Fehlercode: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Wir konnten Ihre Rechnungsadresse nicht überprüfen. Bitte überprüfen Sie, ob die Postleitzahl und das Land korrekt sind.","error_page.error_message_unknown_error":"Ein unbekannter Fehler ist aufgetreten (Fehlercode: {{errorCode}}).","error_page.button_try_again":"Erneut versuchen","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}} ({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Heute fälliger Gesamtbetrag","product_info.subscribe_to":"Abonnieren","navbar_header.details":"Details","navbar_header.back_button":"Zurück","pricing_dropdown.show_details":"Details anzeigen","pricing_dropdown.hide_details":"Details ausblenden","pricing_table.tax":"Steuer","pricing_table.trial_ends":"Nach Ablauf der Testphase, am {{formattedTrialEndDate}}","pricing_table.total_due_today":"Heute fälliger Gesamtbetrag","pricing_table.total_excluding_tax":"Gesamtbetrag ohne Steuer","pricing_table.enter_billing_address_to_calculate":"Rechnungsadresse eingeben, um zu berechnen","pricing_table.enter_state_or_postal_code_to_calculate":"Bundesland oder Postleitzahl zur Berechnung eingeben","pricing_table.enter_postal_code_to_calculate":"Postleitzahl zur Berechnung eingeben","error_page.error_message_invalid_email_error":"Die E-Mail-Adresse {{email}} konnte nicht verifiziert werden. Bitte gib eine gültige E-Mail-Adresse an.","payment_entry_page.button_payment_method":"Mit {{paymentMethod}} für {{formattedPrice}} bezahlen","payment_entry_page.button_with_price":"{{formattedPrice}} bezahlen","price_update.title":"Preisaktualisierung","price_update.base_message":"Der Gesamtpreis wurde basierend auf Ihrer Rechnungsadresse mit Steuern aktualisiert. Bitte überprüfen Sie ihn und versuchen Sie es erneut. Ihre Karte wird erst belastet, wenn alles korrekt ist.","price_update.trial_message":"Der Abonnementpreis wurde aktualisiert, um Steuern basierend auf Ihrer Rechnungsadresse einzuschließen. Die kostenlose Testphase gilt weiterhin. Bitte überprüfen Sie und versuchen Sie es erneut.","payment_entry_page.express_checkout_divider":"ODER MIT KARTE ZAHLEN","error_page.trouble_accessing":"Wenn Sie Probleme beim Zugriff auf Ihren Kauf haben, wenden Sie sich an den Support unter ","error_page.close_button_title":"Zu {{appName}} gehen","error_page.error_title_stripe_missing_required_permission":"Fehlende Stripe-Berechtigung","error_page.button_close":"Schließen","error_page.error_message_stripe_invalid_tax_origin_address":"Der Kauf ist fehlgeschlagen, da die Steuerursprungsadresse ungültig ist. In der Produktion funktionieren Käufe ohne angewendete Steuern.","error_page.error_message_stripe_tax_not_active":"Der Kauf ist fehlgeschlagen, da Stripe Tax nicht aktiviert ist. In der Produktion funktionieren Käufe ohne angewendete Steuern.","error_page.error_only_in_sandbox":"Diese Meldung wird nur in der Sandbox angezeigt.","error_page.error_message_stripe_missing_required_permission":"Der Kauf ist fehlgeschlagen, da der Stripe-App eine erforderliche Berechtigung fehlt. In der Produktion funktionieren Käufe ohne angewendete Steuern.","error_page.error_title_stripe_tax_not_active":"Stripe Tax ist nicht aktiv","error_page.error_title_stripe_invalid_tax_origin_address":"Ungültige Steuerursprungsadresse","apple_pay.free_trial":"Kostenlose Testversion","product_info.price_after_intro_price":"Nach {{introPriceDuration}}, am {{renewalDate}}","product_info.after_trial":"nach Testphase","product_info.after":"nach","product_info.intro_price_phase_after_trial":"Danach {{introPriceDuration}} für {{introPrice}}","product_info.intro_price_phase":"Zuerst {{introPriceDuration}} für {{introPrice}}","product_info.intro_price_phase_paid_once":"einmalig bezahlt","payment_entry_page.trial_subscription_terms_info":"Nach Ablauf Ihres Testzeitraums werden Ihnen {{price}} {{perFrequency}} ab dem {{renewalDate}} berechnet. Sie können jederzeit vor diesem Datum kündigen.","payment_entry_page.subscription_info":"Das Abonnement verlängert sich automatisch. Jederzeit kündbar.","payment_entry_page.otp_terms_info":"Mit dem Kauf erklären Sie sich einverstanden, dass {{appName}} Ihnen Gebühren gemäß ihren Bedingungen berechnet.","payment_entry_page.terms_link_label":"Bedingungen","payment_entry_page.subscription_terms_info":"Mit dem Abonnieren erklären Sie sich damit einverstanden, dass {{appName}} Ihnen gemäß ihren Bedingungen Gebühren berechnet, bis Sie kündigen.","loading_page.keep_page_open":"Der Vorgang ist fast abgeschlossen. Bitte lassen Sie diese Seite geöffnet.","loading_page.processing_payment":"Zahlung wird verarbeitet","pricing_table.discount":"Rabatt","pricing_table.subtotal":"Zwischensumme","pricing_dropdown.add_promo_code":"Promo-Code hinzufügen","discount_input.label":"Gutscheincode"},Hf={"periods.week":"{{amount}} εβδομάδα","periods.month":"{{amount}} μήνας","periods.year":"{{amount}} χρόνος","periods.day":"{{amount}} ημέρα","periods.weekShort":"{{amount}} εβδ.","periods.monthShort":"{{amount}} μήν.","periods.yearShort":"{{amount}} έτ.","periods.dayShort":"{{amount}} ημ.","periods.lifetime":"διάρκεια ζωής","periods.weekPlural":"{{amount}} εβδομάδες","periods.monthPlural":"{{amount}} μήνες","periods.yearPlural":"{{amount}} χρόνια","periods.dayPlural":"{{amount}} ημέρες","periods.weekFrequency":"εβδομαδιαία","periods.monthFrequency":"μηνιαία","periods.yearFrequency":"ετήσια","periods.dayFrequency":"καθημερινά","periods.perWeekFrequency":"ανά εβδομάδα","periods.perMonthFrequency":"ανά μήνα","periods.perYearFrequency":"ανά έτος","periods.perDayFrequency":"ανά ημέρα","periods.unknownFrequency":"άγνωστο","periods.weekFrequencyPlural":"κάθε {{amount}} εβδομάδες","periods.monthFrequencyPlural":"κάθε {{amount}} μήνες","periods.yearFrequencyPlural":"κάθε {{amount}} χρόνια","periods.dayFrequencyPlural":"κάθε {{amount}} ημέρες","product_info.subscribe_to":"Εγγραφείτε στο","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"Δωρεάν για {{trialDuration}}","product_info.price_after_free_trial":"Μετά τη λήξη της δοκιμής, στις {{renewalDate}}","product_info.total_due_today":"Σύνολο πληρωτέο σήμερα","product_info.renewal_frequency":"Ανανεώνεται {{frequency}}","product_info.continues_until_cancelled":"Συνεχίζεται μέχρι την ακύρωση","product_info.cancel_anytime":"Ακύρωση ανά πάσα στιγμή","payment_entry_page.payment_step_title":"Ασφαλής ολοκλήρωση αγοράς από την RevenueCat","payment_entry_page.button_pay":"Πληρωμή τώρα","payment_entry_page.button_start_trial":"Έναρξη δοκιμής","success_page.purchase_successful":"Η πληρωμή ολοκληρώθηκε","success_page.button_close":"Συνέχεια","error_page.if_error_persists":"Εάν το σφάλμα παραμένει, επικοινωνήστε με ","error_page.error_title_already_subscribed":"Έχετε ήδη εγγραφεί στο {{productTitle}}","error_page.error_title_already_purchased":"Έχετε ήδη αγοράσει το {{productTitle}}","error_page.error_title_other_errors":"Κάτι πήγε στραβά","error_page.error_message_already_subscribed":"Δεν μπορείτε να εγγραφείτε ξανά σε αυτό το προϊόν.","error_page.error_message_already_purchased":"Δεν μπορείτε να αγοράσετε ξανά αυτό το προϊόν.","error_page.error_message_missing_email_error":"Απαιτείται email για την ολοκλήρωση της αγοράς.","error_page.error_message_network_error":"Σφάλμα δικτύου. Ελέγξτε τη σύνδεσή σας στο διαδίκτυο.","error_page.error_message_error_charging_payment":"Η πληρωμή απέτυχε.","error_page.error_message_error_setting_up_purchase":"Η αγορά δεν ξεκίνησε λόγω σφάλματος (κωδικός σφάλματος: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Δεν μπορέσαμε να επαληθεύσουμε τη διεύθυνση χρέωσής σας. Παρακαλούμε ελέγξτε ξανά τον ταχυδρομικό κώδικα και τη χώρα για να βεβαιωθείτε ότι είναι σωστά.","error_page.error_message_unknown_error":"Παρουσιάστηκε ένα άγνωστο σφάλμα (κωδικός σφάλματος: {{errorCode}}).","error_page.button_try_again":"Προσπαθήστε ξανά","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","navbar_header.details":"Λεπτομέρειες","navbar_header.back_button":"Πίσω","pricing_dropdown.show_details":"Εμφάνιση λεπτομερειών","pricing_dropdown.hide_details":"Απόκρυψη λεπτομερειών","pricing_table.tax":"Φόρος","pricing_table.trial_ends":"Μετά τη λήξη της δοκιμαστικής περιόδου, στις {{formattedTrialEndDate}}","pricing_table.total_due_today":"Σύνολο πληρωτέο σήμερα","pricing_table.total_excluding_tax":"Σύνολο χωρίς φόρο","pricing_table.enter_billing_address_to_calculate":"Εισαγάγετε τη διεύθυνση χρέωσης για να υπολογιστεί","pricing_table.enter_state_or_postal_code_to_calculate":"Εισαγάγετε την πολιτεία ή τον ταχυδρομικό κώδικα για να υπολογιστεί","pricing_table.enter_postal_code_to_calculate":"Εισαγάγετε τον ταχυδρομικό κώδικα για να υπολογιστεί","error_page.error_message_invalid_email_error":"Η διεύθυνση email {{email}} δεν μπόρεσε να επαληθευτεί. Παρακαλώ δώστε μια έγκυρη διεύθυνση email.","payment_entry_page.button_payment_method":"Πληρωμή {{formattedPrice}} με {{paymentMethod}}","payment_entry_page.button_with_price":"Πληρωμή {{formattedPrice}}","price_update.title":"Ενημέρωση τιμής","price_update.base_message":"Η συνολική τιμή ενημερώθηκε με τον φόρο βάσει της διεύθυνσης χρέωσής σας. Ελέγξτε και δοκιμάστε ξανά. Η κάρτα σας θα χρεωθεί μόνο μία φορά.","price_update.trial_message":"Η τιμή της συνδρομής ενημερώθηκε για να συμπεριλάβει τους φόρους βάσει της διεύθυνσης χρέωσής σας. Η δωρεάν δοκιμαστική περίοδος εξακολουθεί να ισχύει. Παρακαλώ ελέγξτε και δοκιμάστε ξανά.","payment_entry_page.express_checkout_divider":"Ή ΠΛΗΡΩΣΤΕ ΜΕ ΚΑΡΤΑ","error_page.trouble_accessing":"Εάν αντιμετωπίζετε προβλήματα πρόσβασης στην αγορά σας, επικοινωνήστε με την υποστήριξη στο ","error_page.close_button_title":"Μετάβαση στο {{appName}}","error_page.error_title_stripe_missing_required_permission":"Λείπει άδεια Stripe","error_page.button_close":"Κλείσιμο","error_page.error_message_stripe_invalid_tax_origin_address":"Η αγορά απέτυχε επειδή η διεύθυνση προέλευσης φόρου δεν είναι έγκυρη. Στην παραγωγή, οι αγορές θα λειτουργούν χωρίς να εφαρμόζονται φόροι.","error_page.error_message_stripe_tax_not_active":"Η αγορά απέτυχε επειδή το Stripe Tax δεν είναι ενεργοποιημένο. Στην παραγωγή, οι αγορές θα λειτουργούν χωρίς να εφαρμόζονται φόροι.","error_page.error_only_in_sandbox":"Αυτό το μήνυμα εμφανίζεται μόνο στο sandbox.","error_page.error_message_stripe_missing_required_permission":"Η αγορά απέτυχε επειδή η εφαρμογή Stripe δεν διαθέτει την απαιτούμενη άδεια. Στην παραγωγή, οι αγορές θα λειτουργούν χωρίς να εφαρμόζονται φόροι.","error_page.error_title_stripe_tax_not_active":"Το Stripe Tax δεν είναι ενεργό","error_page.error_title_stripe_invalid_tax_origin_address":"Μη έγκυρη διεύθυνση προέλευσης φόρου","apple_pay.free_trial":"Δωρεάν δοκιμή","product_info.price_after_intro_price":"Μετά από {{introPriceDuration}}, στις {{renewalDate}}","product_info.after_trial":"μετά τη δοκιμή","product_info.after":"μετά","product_info.intro_price_phase_after_trial":"Έπειτα {{introPriceDuration}} για {{introPrice}}","product_info.intro_price_phase":"Αρχικά {{introPriceDuration}} για {{introPrice}}","product_info.intro_price_phase_paid_once":"πληρωμένο εφάπαξ","payment_entry_page.trial_subscription_terms_info":"Μετά τη λήξη της δοκιμαστικής περιόδου, θα χρεωθείτε {{price}} {{perFrequency}} ξεκινώντας από {{renewalDate}}. Μπορείτε να ακυρώσετε ανά πάσα στιγμή πριν από αυτήν την ημερομηνία.","payment_entry_page.subscription_info":"Η συνδρομή ανανεώνεται αυτόματα. Ακυρώστε ανά πάσα στιγμή.","payment_entry_page.otp_terms_info":"Με την αγορά, συμφωνείτε να επιτρέψετε στην {{appName}} να σας χρεώσει σύμφωνα με τους όρους της.","payment_entry_page.terms_link_label":"Όροι","payment_entry_page.subscription_terms_info":"Με την εγγραφή σας, συμφωνείτε να επιτρέψετε στην εφαρμογή {{appName}} να σας χρεώνει σύμφωνα με τους όρους της έως ότου ακυρώσετε.","loading_page.keep_page_open":"Η διαδικασία σχεδόν ολοκληρώθηκε. Κρατήστε αυτή τη σελίδα ανοιχτή.","loading_page.processing_payment":"Επεξεργασία πληρωμής","pricing_table.discount":"Έκπτωση","pricing_table.subtotal":"Υποσύνολο","pricing_dropdown.add_promo_code":"Προσθήκη κωδικού προσφοράς","discount_input.label":"Κωδικός προσφοράς"},Yf={"periods.week":"{{amount}} שבוע","periods.month":"{{amount}} חודש","periods.year":"{{amount}} שנה","periods.day":"{{amount}} יום","periods.weekShort":"{{amount}}wk","periods.monthShort":"{{amount}}mo","periods.yearShort":"{{amount}}yr","periods.dayShort":"{{amount}}d","periods.lifetime":"למשך כל החיים","periods.weekPlural":"{{amount}} שבועות","periods.monthPlural":"{{amount}} חודשים","periods.yearPlural":"{{amount}} שנים","periods.dayPlural":"{{amount}} ימים","periods.weekFrequency":"שבועי","periods.monthFrequency":"חודשי","periods.yearFrequency":"שנתי","periods.dayFrequency":"יומי","periods.perWeekFrequency":"לשבוע","periods.perMonthFrequency":"לחודש","periods.perYearFrequency":"לשנה","periods.perDayFrequency":"ליום","periods.unknownFrequency":"לא ידוע","periods.weekFrequencyPlural":"כל {{amount}} שבועות","periods.monthFrequencyPlural":"כל {{amount}} חודשים","periods.yearFrequencyPlural":"כל {{amount}} שנים","periods.dayFrequencyPlural":"כל {{amount}} ימים","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} ניסיון חינם","product_info.price_after_free_trial":"לאחר סיום הניסיון, ב-{{renewalDate}}","product_info.renewal_frequency":"מתחדש {{frequency}}","product_info.continues_until_cancelled":"נמשך עד ביטול","product_info.cancel_anytime":"ניתן לבטל בכל עת","payment_entry_page.payment_step_title":"קופה מאובטחת באמצעות RevenueCat","payment_entry_page.button_pay":"שלם עכשיו","payment_entry_page.button_start_trial":"התחל ניסיון","success_page.purchase_successful":"התשלום הושלם","success_page.button_close":"המשך","error_page.if_error_persists":"אם השגיאה נמשכת, אנא פנה אל ","error_page.error_title_already_subscribed":"כבר נרשמת כמנוי ל-{{productTitle}}","error_page.error_title_already_purchased":"כבר רכשת את {{productTitle}}","error_page.error_title_other_errors":"משהו השתבש","error_page.error_message_already_subscribed":"אינך יכול להירשם כמנוי למוצר זה שוב.","error_page.error_message_already_purchased":"אינך יכול לרכוש מוצר זה שוב.","error_page.error_message_missing_email_error":'דוא"ל נדרש כדי להשלים את הרכישה.',"error_page.error_message_network_error":"שגיאת רשת. אנא בדוק את חיבור האינטרנט שלך.","error_page.error_message_error_charging_payment":"התשלום נכשל.","error_page.error_message_error_setting_up_purchase":"הרכישה לא הופעלה עקב שגיאה (קוד שגיאה: {{errorCode}}).","error_page.error_message_invalid_tax_location":"לא הצלחנו לאמת את כתובת החיוב שלך. אנא בדוק שוב את המיקוד והמדינה כדי לוודא שהם נכונים.","error_page.error_message_unknown_error":"אירעה שגיאה לא ידועה (קוד שגיאה: {{errorCode}}).","error_page.button_try_again":"נסה שוב","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":'סה"כ לתשלום היום',"product_info.subscribe_to":"הירשם כמנוי ל-","navbar_header.details":"פרטים","navbar_header.back_button":"חזרה","pricing_dropdown.show_details":"הצג פרטים","pricing_dropdown.hide_details":"הסתר פרטים","pricing_table.tax":"מס","pricing_table.trial_ends":"לאחר סיום תקופת הניסיון, בתאריך {{formattedTrialEndDate}}","pricing_table.total_due_today":"סך הכל לתשלום היום","pricing_table.total_excluding_tax":"סך הכל לא כולל מס","pricing_table.enter_billing_address_to_calculate":"הזן כתובת לחיוב כדי לחשב","pricing_table.enter_state_or_postal_code_to_calculate":"הזן מדינה או מיקוד לחישוב","pricing_table.enter_postal_code_to_calculate":"הזן מיקוד לחישוב","error_page.error_message_invalid_email_error":"לא ניתן לאמת את כתובת האימייל {{email}}. אנא ספק כתובת אימייל חוקית.","payment_entry_page.button_payment_method":"שלם {{formattedPrice}} באמצעות {{paymentMethod}}","payment_entry_page.button_with_price":"שלם {{formattedPrice}}","price_update.title":"עדכון מחיר","price_update.base_message":"המחיר הכולל עודכן עם מס בהתבסס על כתובת החיוב שלך. אנא בדוק שוב ונסה שוב. החיוב יתבצע רק פעם אחת.","price_update.trial_message":"מחיר המנוי עודכן כדי לכלול מיסים בהתבסס על כתובת החיוב שלך. תקופת הניסיון החינמית עדיין תקפה. אנא בדוק ונסה שוב.","payment_entry_page.express_checkout_divider":"או שלם באמצעות כרטיס","error_page.trouble_accessing":"אם אתה מתקשה לגשת לרכישה שלך, פנה לתמיכה בכתובת ","error_page.close_button_title":"עבור אל {{appName}}","error_page.error_title_stripe_missing_required_permission":"חסרה הרשאה של Stripe","error_page.button_close":"סגור","error_page.error_message_stripe_invalid_tax_origin_address":"הרכישה נכשלה מכיוון שכתובת מקור המס אינה חוקית. בייצור, רכישות יעבדו ללא מסים.","error_page.error_message_stripe_tax_not_active":"הרכישה נכשלה מכיוון שמס Stripe אינו מופעל. בייצור, רכישות יעבדו ללא מסים.","error_page.error_only_in_sandbox":"הודעה זו מופיעה רק בארגז חול.","error_page.error_message_stripe_missing_required_permission":"הרכישה נכשלה מכיוון שלאפליקציית Stripe חסרה הרשאה נדרשת. בייצור, רכישות יעבדו ללא מסים.","error_page.error_title_stripe_tax_not_active":"מס Stripe לא פעיל","error_page.error_title_stripe_invalid_tax_origin_address":"כתובת מקור מס לא חוקית","apple_pay.free_trial":"תקופת ניסיון בחינם","product_info.price_after_intro_price":"לאחר {{introPriceDuration}}, בתאריך {{renewalDate}}","product_info.after_trial":"אחרי תקופת ניסיון","product_info.after":"אחרי","product_info.intro_price_phase_after_trial":"אחר כך {{introPriceDuration}} עבור {{introPrice}}","product_info.intro_price_phase":"תחילה {{introPriceDuration}} עבור {{introPrice}}","product_info.intro_price_phase_paid_once":"משולם פעם אחת","payment_entry_page.trial_subscription_terms_info":"לאחר סיום תקופת הניסיון שלך, תחויב בסך {{price}} {{perFrequency}} החל מ-{{renewalDate}}. באפשרותך לבטל בכל עת לפני תאריך זה.","payment_entry_page.subscription_info":"המנוי מתחדש אוטומטית. ניתן לבטל בכל עת.","payment_entry_page.otp_terms_info":"ברכישה, אתה מסכים לאפשר ל-{{appName}} לחייב אותך בהתאם לתנאים שלהם.","payment_entry_page.terms_link_label":"תנאים","payment_entry_page.subscription_terms_info":"על ידי הרשמה כמנוי, אתה מסכים לאפשר ל-{{appName}} לחייב אותך בהתאם לתנאים שלהם עד שתבטל.","loading_page.keep_page_open":"התהליך כמעט הסתיים. השאר דף זה פתוח.","loading_page.processing_payment":"מעבד תשלום תבעה","pricing_table.discount":"הנחה","pricing_table.subtotal":"סכום ביניים","pricing_dropdown.add_promo_code":"הוסף קוד קידום מכירות","discount_input.label":"קוד פרומו"},Gf={"periods.week":"{{amount}} सप्ताह","periods.month":"{{amount}} महीना","periods.year":"{{amount}} वर्ष","periods.day":"{{amount}} दिन","periods.weekShort":"{{amount}}सप्ताह","periods.monthShort":"{{amount}}महीना","periods.yearShort":"{{amount}}वर्ष","periods.dayShort":"{{amount}}दिन","periods.lifetime":"लाइफ़टाइम","periods.weekPlural":"{{amount}} सप्ताह","periods.monthPlural":"{{amount}} महीने","periods.yearPlural":"{{amount}} वर्ष","periods.dayPlural":"{{amount}} दिन","periods.weekFrequency":"साप्ताहिक","periods.monthFrequency":"मासिक","periods.yearFrequency":"वार्षिक","periods.dayFrequency":"दैनिक","periods.perWeekFrequency":"प्रति सप्ताह","periods.perMonthFrequency":"प्रति माह","periods.perYearFrequency":"प्रति वर्ष","periods.perDayFrequency":"प्रति दिन","periods.unknownFrequency":"अज्ञात","periods.weekFrequencyPlural":"प्रत्येक {{amount}} सप्ताह","periods.monthFrequencyPlural":"प्रत्येक {{amount}} महीने","periods.yearFrequencyPlural":"प्रत्येक {{amount}} वर्ष","periods.dayFrequencyPlural":"प्रत्येक {{amount}} दिन","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} निःशुल्क परीक्षण","product_info.price_after_free_trial":"परीक्षण समाप्त होने के बाद, {{renewalDate}} को","product_info.renewal_frequency":"{{frequency}} पर नवीनीकृत होता है","product_info.continues_until_cancelled":"रद्द होने तक जारी रहता है","product_info.cancel_anytime":"किसी भी समय रद्द करें","payment_entry_page.payment_step_title":"RevenueCat द्वारा सुरक्षित चेकआउट","payment_entry_page.button_pay":"अभी भुगतान करें","payment_entry_page.button_start_trial":"परीक्षण प्रारंभ करें","success_page.purchase_successful":"भुगतान पूर्ण","success_page.button_close":"जारी रखें","error_page.if_error_persists":"यदि त्रुटि बनी रहती है, तो कृपया संपर्क करें ","error_page.error_title_already_subscribed":"आपने पहले ही {{productTitle}} की सदस्यता ले ली है","error_page.error_title_already_purchased":"आपने पहले ही {{productTitle}} खरीद लिया है","error_page.error_title_other_errors":"कुछ गलत हो गया","error_page.error_message_already_subscribed":"आप इस उत्पाद की सदस्यता फिर से नहीं ले सकते.","error_page.error_message_already_purchased":"आप इस उत्पाद को फिर से नहीं खरीद सकते.","error_page.error_message_missing_email_error":"खरीद को पूरा करने के लिए ईमेल आवश्यक है।","error_page.error_message_network_error":"नेटवर्क त्रुटि। कृपया अपना इंटरनेट कनेक्शन जांचें।","error_page.error_message_error_charging_payment":"भुगतान विफल।","error_page.error_message_error_setting_up_purchase":"किसी त्रुटि के कारण खरीदारी शुरू नहीं हुई (त्रुटि कोड: {{errorCode}})।","error_page.error_message_invalid_tax_location":"हम आपके बिलिंग पते को सत्यापित नहीं कर सके। कृपया सुनिश्चित करें कि पिन कोड और देश सही हैं।","error_page.error_message_unknown_error":"एक अज्ञात त्रुटि हुई (त्रुटि कोड: {{errorCode}})।","error_page.button_try_again":"फिर से कोशिश करें","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"आज देय कुल राशि","product_info.subscribe_to":"सदस्यता लें","navbar_header.details":"विवरण","navbar_header.back_button":"वापस","pricing_dropdown.show_details":"विवरण दिखाएँ","pricing_dropdown.hide_details":"विवरण छिपाएँ","pricing_table.tax":"कर","pricing_table.trial_ends":"{{formattedTrialEndDate}} पर परीक्षण समाप्त होने के बाद","pricing_table.total_due_today":"आज देय कुल","pricing_table.total_excluding_tax":"कर को छोड़कर कुल","pricing_table.enter_billing_address_to_calculate":"गणना करने के लिए बिलिंग पता दर्ज करें","pricing_table.enter_state_or_postal_code_to_calculate":"गणना करने के लिए राज्य या ज़िप कोड दर्ज करें","pricing_table.enter_postal_code_to_calculate":"गणना करने के लिए ज़िप कोड दर्ज करें","error_page.error_message_invalid_email_error":"ईमेल पता {{email}} सत्यापित नहीं किया जा सका. कृपया एक मान्य ईमेल पता प्रदान करें.","payment_entry_page.button_payment_method":"{{paymentMethod}} के साथ {{formattedPrice}} का भुगतान करें","payment_entry_page.button_with_price":"{{formattedPrice}} का भुगतान करें","price_update.title":"मूल्य अपडेट","price_update.base_message":"आप के बिलिंग पते के आधार पर कुल कीमत कर के साथ अपडेट की गई थी। कृपया समीक्षा करें और फिर से प्रयास करें। आपके कार्ड से केवल एक बार शुल्क लिया जाएगा।","price_update.trial_message":"सदस्यता मूल्य आपके बिलिंग पते के आधार पर करों को शामिल करने के लिए अपडेट किया गया है। निःशुल्क परीक्षण अवधि अभी भी लागू है। कृपया जांचें और पुनः प्रयास करें।","payment_entry_page.express_checkout_divider":"या कार्ड से भुगतान करें","error_page.trouble_accessing":"यदि आपको अपनी खरीदारी तक पहुंचने में परेशानी हो रही है, तो पर समर्थन के लिए संपर्क करें","error_page.close_button_title":"{{appName}} पर जाएं","error_page.error_title_stripe_missing_required_permission":"स्ट्राइप अनुमति गुम है","error_page.button_close":"बंद करें","error_page.error_message_stripe_invalid_tax_origin_address":"खरीदारी विफल रही क्योंकि कर उत्पत्ति पता अमान्य है. उत्पादन में, खरीदारी बिना करों के लागू किए काम करेगी.","error_page.error_message_stripe_tax_not_active":"खरीदारी विफल रही क्योंकि स्ट्राइप टैक्स सक्षम नहीं है. उत्पादन में, खरीदारी बिना करों के लागू किए काम करेगी.","error_page.error_only_in_sandbox":"यह संदेश केवल सैंडबॉक्स में दिखाई देता है.","error_page.error_message_stripe_missing_required_permission":"खरीदारी विफल रही क्योंकि स्ट्राइप ऐप में आवश्यक अनुमति नहीं है. उत्पादन में, खरीदारी बिना करों के लागू किए काम करेगी.","error_page.error_title_stripe_tax_not_active":"स्ट्राइप टैक्स सक्रिय नहीं है","error_page.error_title_stripe_invalid_tax_origin_address":"अमान्य कर उत्पत्ति पता","apple_pay.free_trial":"मुफ़्त ट्रायल","product_info.price_after_intro_price":"{{introPriceDuration}} के बाद, {{renewalDate}} पर","product_info.after_trial":"ट्रायल के बाद","product_info.after":"के बाद","product_info.intro_price_phase_after_trial":"फिर {{introPriceDuration}} के लिए {{introPrice}}","product_info.intro_price_phase":"पहले {{introPriceDuration}} के लिए {{introPrice}}","product_info.intro_price_phase_paid_once":"एक बार भुगतान किया गया","payment_entry_page.trial_subscription_terms_info":"आपकी परीक्षण अवधि समाप्त होने के बाद, आपसे {{renewalDate}} से शुरू होकर {{price}} {{perFrequency}} शुल्क लिया जाएगा. आप इस तिथि से पहले कभी भी रद्द कर सकते हैं.","payment_entry_page.subscription_info":"सदस्यता स्वतः नवीनीकृत हो जाती है. कभी भी रद्द करें.","payment_entry_page.otp_terms_info":"खरीदकर, आप {{appName}} को उनकी शर्तों के अनुसार आपसे शुल्क लेने की अनुमति देने के लिए सहमत हैं.","payment_entry_page.terms_link_label":"नियम","payment_entry_page.subscription_terms_info":"सदस्यता लेकर, आप {{appName}} को रद्द करने तक उनकी शर्तों के अनुसार आपसे शुल्क लेने की अनुमति देने के लिए सहमत हैं.","loading_page.keep_page_open":"प्रक्रिया लगभग पूरी हो चुकी है. इस पृष्ठ को खुला रखें.","loading_page.processing_payment":"भुगतान संसाधित किया जा रहा है","pricing_table.discount":"छूट","pricing_table.subtotal":"उपकुल योग","pricing_dropdown.add_promo_code":"प्रोमो_कोड_जोड़ें","discount_input.label":"प्रोमो कोड"},Kf={"periods.week":"{{amount}} hét","periods.month":"{{amount}} hónap","periods.year":"{{amount}} év","periods.day":"{{amount}} nap","periods.weekShort":"{{amount}}hét","periods.monthShort":"{{amount}}hó","periods.yearShort":"{{amount}}év","periods.dayShort":"{{amount}}n","periods.lifetime":"életre szóló","periods.weekPlural":"{{amount}} hét","periods.monthPlural":"{{amount}} hónap","periods.yearPlural":"{{amount}} év","periods.dayPlural":"{{amount}} nap","periods.weekFrequency":"heti","periods.monthFrequency":"havi","periods.yearFrequency":"éves","periods.dayFrequency":"napi","periods.perWeekFrequency":"hetente","periods.perMonthFrequency":"havonta","periods.perYearFrequency":"évente","periods.perDayFrequency":"naponta","periods.unknownFrequency":"ismeretlen","periods.weekFrequencyPlural":"minden {{amount}} hétben","periods.monthFrequencyPlural":"minden {{amount}} hónapban","periods.yearFrequencyPlural":"minden {{amount}} évben","periods.dayFrequencyPlural":"minden {{amount}} napban","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} próbaidőszak","product_info.price_after_free_trial":"A próbaidőszak vége után, {{renewalDate}}-kor","product_info.renewal_frequency":"{{frequency}} gyakorisággal megújul","product_info.continues_until_cancelled":"Folytatódik, amíg le nem mondják","product_info.cancel_anytime":"Bármikor lemondható","payment_entry_page.payment_step_title":"Biztonságos fizetés a RevenueCat-en keresztül","payment_entry_page.button_pay":"Fizetés most","payment_entry_page.button_start_trial":"Próbaidőszak indítása","success_page.purchase_successful":"Fizetés sikeres","success_page.button_close":"Tovább","error_page.if_error_persists":"Ha a hiba továbbra is fennáll, kérjük, vedd fel a kapcsolatot ","error_page.error_title_already_subscribed":"Már előfizettél a(z) {{productTitle}} termékre","error_page.error_title_already_purchased":"Már megvásároltad a(z) {{productTitle}} terméket","error_page.error_title_other_errors":"Valami hiba történt","error_page.error_message_already_subscribed":"Nem fizethetsz elő újra erre a termékre.","error_page.error_message_already_purchased":"Nem vásárolhatod meg újra ezt a terméket.","error_page.error_message_missing_email_error":"Az email cím szükséges a vásárlás befejezéséhez.","error_page.error_message_network_error":"Hálózati hiba. Kérjük, ellenőrizd az internetkapcsolatodat.","error_page.error_message_error_charging_payment":"A fizetés sikertelen volt.","error_page.error_message_error_setting_up_purchase":"Hiba miatt nem indult el a vásárlás (hibakód: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Nem tudtuk ellenőrizni a számlázási címét. Kérjük, ellenőrizze, hogy az irányítószám és az ország helyes-e.","error_page.error_message_unknown_error":"Ismeretlen hiba történt (hibakód: {{errorCode}}).","error_page.button_try_again":"Újrapróbálkozás","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Ma fizetendő összesen","product_info.subscribe_to":"Feliratkozás erre:","navbar_header.details":"Részletek","navbar_header.back_button":"Vissza","pricing_dropdown.show_details":"Részletek mutatása","pricing_dropdown.hide_details":"Részletek elrejtése","pricing_table.tax":"Adó","pricing_table.trial_ends":"A próbaidőszak vége: {{formattedTrialEndDate}}","pricing_table.total_due_today":"Ma fizetendő összeg","pricing_table.total_excluding_tax":"Összesen adó nélkül","pricing_table.enter_billing_address_to_calculate":"Adja meg a számlázási címet a számításhoz","pricing_table.enter_state_or_postal_code_to_calculate":"Adja meg az államot vagy az irányítószámot a számításhoz","pricing_table.enter_postal_code_to_calculate":"Adja meg az irányítószámot a számításhoz","error_page.error_message_invalid_email_error":"A(z) {{email}} e-mail címet nem sikerült ellenőrizni. Kérjük, adj meg egy érvényes e-mail címet.","payment_entry_page.button_payment_method":"Fizetés {{formattedPrice}} összeggel a következővel: {{paymentMethod}}","payment_entry_page.button_with_price":"Fizetés {{formattedPrice}}","price_update.title":"Ár frissítése","price_update.base_message":"A teljes ár frissítve lett az adóval a számlázási címed alapján. Kérjük, tekintsd át és próbáld újra. A kártyádat csak egyszer terheljük meg.","price_update.trial_message":"Az előfizetés ára adókkal együtt frissítésre került a számlázási címének megfelelően. Az ingyenes próbaidőszak továbbra is érvényes. Kérjük, ellenőrizze és próbálja újra.","payment_entry_page.express_checkout_divider":"VAGY FIZESSEN KÁRTYÁVAL","error_page.trouble_accessing":"Ha problémái vannak a vásárláshoz való hozzáféréssel, forduljon az ügyfélszolgálathoz a következő címen: ","error_page.close_button_title":"Ugrás a(z) {{appName}} alkalmazáshoz","error_page.error_title_stripe_missing_required_permission":"Hiányzó Stripe engedély","error_page.button_close":"Bezárás","error_page.error_message_stripe_invalid_tax_origin_address":"A vásárlás sikertelen volt, mert az adókiindulási cím érvénytelen. Éles környezetben a vásárlások adók alkalmazása nélkül fognak működni.","error_page.error_message_stripe_tax_not_active":"A vásárlás sikertelen volt, mert a Stripe adó nincs engedélyezve. Éles környezetben a vásárlások adók alkalmazása nélkül fognak működni.","error_page.error_only_in_sandbox":"Ez az üzenet csak a tesztkörnyezetben jelenik meg.","error_page.error_message_stripe_missing_required_permission":"A vásárlás sikertelen volt, mert a Stripe alkalmazásból hiányzik egy szükséges engedély. Éles környezetben a vásárlások adók alkalmazása nélkül fognak működni.","error_page.error_title_stripe_tax_not_active":"A Stripe adó nincs aktiválva","error_page.error_title_stripe_invalid_tax_origin_address":"Érvénytelen adókiindulási cím","apple_pay.free_trial":"Ingyenes próbaidőszak","product_info.price_after_intro_price":"{{introPriceDuration}} után, {{renewalDate}} napján","product_info.after_trial":"próbaidőszak után","product_info.after":"utána","product_info.intro_price_phase_after_trial":"Ezután {{introPriceDuration}} ideig {{introPrice}} áron","product_info.intro_price_phase":"Először {{introPriceDuration}} ideig {{introPrice}} áron","product_info.intro_price_phase_paid_once":"egyszeri fizetéssel","payment_entry_page.trial_subscription_terms_info":"A próbaidőszak vége után {{price}} összeget számítunk fel {{perFrequency}} gyakorisággal, kezdve {{renewalDate}} dátummal. Ezt a dátumot megelőzően bármikor lemondhatod.","payment_entry_page.subscription_info":"Az előfizetés automatikusan megújul. Bármikor lemondhatod.","payment_entry_page.otp_terms_info":"A vásárlással elfogadod, hogy a {{appName}} az általa meghatározott feltételek szerint terheljen.","payment_entry_page.terms_link_label":"Feltételek","payment_entry_page.subscription_terms_info":"A feliratkozással elfogadod, hogy a {{appName}} az általa meghatározott feltételek szerint terheljen, amíg le nem mondod.","loading_page.keep_page_open":"A folyamat majdnem befejeződött. Tartsa nyitva ezt az oldalt.","loading_page.processing_payment":"Fizetés feldolgozása","pricing_table.discount":"Kedvezmény","pricing_table.subtotal":"Részösszeg","pricing_dropdown.add_promo_code":"Promóciós kód hozzáadása","discount_input.label":"Promóciós kód"},Xf={"periods.week":"{{amount}} minggu","periods.month":"{{amount}} bulan","periods.year":"{{amount}} tahun","periods.day":"{{amount}} hari","periods.weekShort":"{{amount}}mg","periods.monthShort":"{{amount}}bl","periods.yearShort":"{{amount}}th","periods.dayShort":"{{amount}}h","periods.lifetime":"seumur hidup","periods.weekPlural":"{{amount}} minggu","periods.monthPlural":"{{amount}} bulan","periods.yearPlural":"{{amount}} tahun","periods.dayPlural":"{{amount}} hari","periods.weekFrequency":"mingguan","periods.monthFrequency":"bulanan","periods.yearFrequency":"tahunan","periods.dayFrequency":"harian","periods.perWeekFrequency":"per minggu","periods.perMonthFrequency":"per bulan","periods.perYearFrequency":"per tahun","periods.perDayFrequency":"per hari","periods.unknownFrequency":"tidak diketahui","periods.weekFrequencyPlural":"setiap {{amount}} minggu","periods.monthFrequencyPlural":"setiap {{amount}} bulan","periods.yearFrequencyPlural":"setiap {{amount}} tahun","periods.dayFrequencyPlural":"setiap {{amount}} hari","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} uji coba gratis","product_info.price_after_free_trial":"Setelah uji coba berakhir, pada {{renewalDate}}","product_info.renewal_frequency":"Diperbarui {{frequency}}","product_info.continues_until_cancelled":"Berlanjut hingga dibatalkan","product_info.cancel_anytime":"Batalkan kapan saja","payment_entry_page.payment_step_title":"Pembayaran aman oleh RevenueCat","payment_entry_page.button_pay":"Bayar sekarang","payment_entry_page.button_start_trial":"Mulai Uji Coba","success_page.purchase_successful":"Pembayaran selesai","success_page.button_close":"Lanjutkan","error_page.if_error_persists":"Jika kesalahan berlanjut, silakan hubungi ","error_page.error_title_already_subscribed":"Anda sudah berlangganan ke {{productTitle}}","error_page.error_title_already_purchased":"Anda sudah membeli {{productTitle}}","error_page.error_title_other_errors":"Terjadi kesalahan","error_page.error_message_already_subscribed":"Anda tidak dapat berlangganan produk ini lagi.","error_page.error_message_already_purchased":"Anda tidak dapat membeli produk ini lagi.","error_page.error_message_missing_email_error":"Email diperlukan untuk menyelesaikan pembelian.","error_page.error_message_network_error":"Kesalahan jaringan. Periksa koneksi internet Anda.","error_page.error_message_error_charging_payment":"Pembayaran gagal.","error_page.error_message_error_setting_up_purchase":"Pembelian tidak dimulai karena kesalahan (kode kesalahan: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Kami tidak dapat memverifikasi alamat penagihan Anda. Harap periksa kembali kode pos dan negara untuk memastikan keduanya benar.","error_page.error_message_unknown_error":"Terjadi kesalahan yang tidak diketahui (kode kesalahan: {{errorCode}}).","error_page.button_try_again":"Coba lagi","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Total yang harus dibayar hari ini","product_info.subscribe_to":"Berlangganan ke","navbar_header.details":"Detail","navbar_header.back_button":"Kembali","pricing_dropdown.show_details":"Tampilkan detail","pricing_dropdown.hide_details":"Sembunyikan detail","pricing_table.tax":"Pajak","pricing_table.trial_ends":"Setelah masa percobaan berakhir, pada {{formattedTrialEndDate}}","pricing_table.total_due_today":"Total yang harus dibayar hari ini","pricing_table.total_excluding_tax":"Total belum termasuk pajak","pricing_table.enter_billing_address_to_calculate":"Masukkan alamat penagihan untuk menghitung","pricing_table.enter_state_or_postal_code_to_calculate":"Masukkan negara bagian atau kode pos untuk menghitung","pricing_table.enter_postal_code_to_calculate":"Masukkan kode pos untuk menghitung","error_page.error_message_invalid_email_error":"Alamat email {{email}} tidak dapat diverifikasi. Harap berikan alamat email yang valid.","payment_entry_page.button_payment_method":"Bayar {{formattedPrice}} dengan {{paymentMethod}}","payment_entry_page.button_with_price":"Bayar {{formattedPrice}}","price_update.title":"Pembaruan harga","price_update.base_message":"Total harga telah diperbarui dengan pajak berdasarkan alamat penagihan Anda. Harap tinjau dan coba lagi. Kartu Anda hanya akan dikenakan biaya sekali.","price_update.trial_message":"Harga langganan telah diperbarui untuk menyertakan pajak berdasarkan alamat penagihan Anda. Masa percobaan gratis masih berlaku. Silakan periksa dan coba lagi.","payment_entry_page.express_checkout_divider":"ATAU BAYAR DENGAN KARTU","error_page.trouble_accessing":"Jika Anda mengalami masalah dalam mengakses pembelian, hubungi dukungan di ","error_page.close_button_title":"Pergi ke {{appName}}","error_page.error_title_stripe_missing_required_permission":"Izin Stripe tidak ada","error_page.button_close":"Tutup","error_page.error_message_stripe_invalid_tax_origin_address":"Pembelian gagal karena alamat asal pajak tidak valid. Dalam produksi, pembelian akan berfungsi tanpa pajak yang diterapkan.","error_page.error_message_stripe_tax_not_active":"Pembelian gagal karena Stripe Tax tidak diaktifkan. Dalam produksi, pembelian akan berfungsi tanpa pajak yang diterapkan.","error_page.error_only_in_sandbox":"Pesan ini hanya muncul di sandbox.","error_page.error_message_stripe_missing_required_permission":"Pembelian gagal karena aplikasi Stripe tidak memiliki izin yang diperlukan. Dalam produksi, pembelian akan berfungsi tanpa pajak yang diterapkan.","error_page.error_title_stripe_tax_not_active":"Stripe Tax tidak aktif","error_page.error_title_stripe_invalid_tax_origin_address":"Alamat asal pajak tidak valid","apple_pay.free_trial":"Uji Coba Gratis","product_info.price_after_intro_price":"Setelah {{introPriceDuration}}, pada {{renewalDate}}","product_info.after_trial":"setelah uji coba","product_info.after":"setelah","product_info.intro_price_phase_after_trial":"Kemudian {{introPriceDuration}} dengan harga {{introPrice}}","product_info.intro_price_phase":"Pertama {{introPriceDuration}} dengan harga {{introPrice}}","product_info.intro_price_phase_paid_once":"dibayar sekali","payment_entry_page.trial_subscription_terms_info":"Setelah masa percobaan Anda berakhir, Anda akan dikenakan biaya sebesar {{price}} {{perFrequency}} mulai {{renewalDate}}. Anda dapat membatalkan kapan saja sebelum tanggal ini.","payment_entry_page.subscription_info":"Langganan diperpanjang secara otomatis. Batalkan kapan saja.","payment_entry_page.otp_terms_info":"Dengan membeli, Anda setuju untuk mengizinkan {{appName}} menagih Anda sesuai dengan ketentuan mereka.","payment_entry_page.terms_link_label":"Ketentuan","payment_entry_page.subscription_terms_info":"Dengan berlangganan, Anda setuju untuk mengizinkan {{appName}} mengenakan biaya sesuai dengan ketentuan mereka hingga Anda membatalkan.","loading_page.keep_page_open":"Prosesnya hampir selesai. Jangan tutup halaman ini.","loading_page.processing_payment":"Pembayaran sedang diproses","pricing_table.discount":"Diskon","pricing_table.subtotal":"Subtotal","pricing_dropdown.add_promo_code":"Tambahkan kode promo","discount_input.label":"Kode promo"},Zf={"periods.week":"{{amount}}週間","periods.month":"{{amount}}ヶ月","periods.year":"{{amount}}年","periods.day":"{{amount}}日","periods.weekShort":"{{amount}}週","periods.monthShort":"{{amount}}ヶ月","periods.yearShort":"{{amount}}年","periods.dayShort":"{{amount}}日","periods.lifetime":"生涯","periods.weekPlural":"{{amount}}週間","periods.monthPlural":"{{amount}}ヶ月","periods.yearPlural":"{{amount}}年","periods.dayPlural":"{{amount}}日","periods.weekFrequency":"毎週","periods.monthFrequency":"毎月","periods.yearFrequency":"毎年","periods.dayFrequency":"毎日","periods.perWeekFrequency":"週ごと","periods.perMonthFrequency":"月ごと","periods.perYearFrequency":"年ごと","periods.perDayFrequency":"日ごと","periods.unknownFrequency":"不明","periods.weekFrequencyPlural":"{{amount}}週間ごと","periods.monthFrequencyPlural":"{{amount}}ヶ月ごと","periods.yearFrequencyPlural":"{{amount}}年ごと","periods.dayFrequencyPlural":"{{amount}}日ごと","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}}日間無料トライアル","product_info.price_after_free_trial":"トライアル終了後、{{renewalDate}}に","product_info.renewal_frequency":"{{frequency}}で更新","product_info.continues_until_cancelled":"キャンセルされるまで継続されます","product_info.cancel_anytime":"いつでもキャンセルできます","payment_entry_page.payment_step_title":"RevenueCatによる安全なチェックアウト","payment_entry_page.button_pay":"今すぐ支払う","payment_entry_page.button_start_trial":"トライアルを開始","success_page.purchase_successful":"支払いが完了しました","success_page.button_close":"続行","error_page.if_error_persists":"エラーが続く場合は、ご連絡ください。","error_page.error_title_already_subscribed":"すでに{{productTitle}}を購読しています","error_page.error_title_already_purchased":"すでに{{productTitle}}を購入しています","error_page.error_title_other_errors":"エラーが発生しました","error_page.error_message_already_subscribed":"この商品を再度購読することはできません。","error_page.error_message_already_purchased":"この商品を再度購入することはできません。","error_page.error_message_missing_email_error":"購入を完了するにはメールアドレスが必要です。","error_page.error_message_network_error":"ネットワークエラーです。インターネット接続を確認してください。","error_page.error_message_error_charging_payment":"支払いに失敗しました。","error_page.error_message_error_setting_up_purchase":"エラーが発生したため、購入を開始できませんでした(エラーコード:{{errorCode}})。","error_page.error_message_invalid_tax_location":"請求先住所を確認できませんでした。郵便番号と国が正しいかご確認ください。","error_page.error_message_unknown_error":"不明なエラーが発生しました(エラーコード:{{errorCode}})。","error_page.button_try_again":"再試行","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"本日のお支払い合計","product_info.subscribe_to":"購読する","navbar_header.details":"詳細","navbar_header.back_button":"戻る","pricing_dropdown.show_details":"詳細を表示","pricing_dropdown.hide_details":"詳細を隠す","pricing_table.tax":"税金","pricing_table.trial_ends":"トライアル終了後、{{formattedTrialEndDate}}","pricing_table.total_due_today":"本日お支払いいただく合計金額","pricing_table.total_excluding_tax":"税抜き合計","pricing_table.enter_billing_address_to_calculate":"請求先住所を入力して計算","pricing_table.enter_state_or_postal_code_to_calculate":"計算するには州または郵便番号を入力してください","pricing_table.enter_postal_code_to_calculate":"計算するには郵便番号を入力してください","error_page.error_message_invalid_email_error":"メールアドレス{{email}}を確認できませんでした。有効なメールアドレスを入力してください。","payment_entry_page.button_payment_method":"{{paymentMethod}}で{{formattedPrice}}を支払う","payment_entry_page.button_with_price":"{{formattedPrice}}を支払う","price_update.title":"価格の更新","price_update.base_message":"合計金額が、お客様の請求先住所に基づいて税金とともに更新されました。再度ご確認ください。カードへの請求は1回のみです。","price_update.trial_message":"請求先住所に基づいて税金を含むサブスクリプション料金が更新されました。無料トライアルは引き続き適用されます。確認して再度お試しください。","payment_entry_page.express_checkout_divider":"カードで支払う","error_page.trouble_accessing":"購入へのアクセスに問題がある場合は、サポートにお問い合わせください: ","error_page.close_button_title":"{{appName}} に移動","error_page.error_title_stripe_missing_required_permission":"必要なStripeの権限がありません","error_page.button_close":"閉じる","error_page.error_message_stripe_invalid_tax_origin_address":"税の原産地住所が無効なため、購入に失敗しました。 本番環境では、税金が適用されなくても購入は可能です。","error_page.error_message_stripe_tax_not_active":"Stripe Taxが有効になっていないため、購入に失敗しました。 本番環境では、税金が適用されなくても購入は可能です。","error_page.error_only_in_sandbox":"このメッセージはサンドボックスでのみ表示されます。","error_page.error_message_stripe_missing_required_permission":"Stripeアプリに必要な権限がないため、購入に失敗しました。 本番環境では、税金が適用されなくても購入は可能です。","error_page.error_title_stripe_tax_not_active":"Stripe Taxが有効ではありません","error_page.error_title_stripe_invalid_tax_origin_address":"税の原産地住所が無効です","apple_pay.free_trial":"無料トライアル","product_info.price_after_intro_price":"{{introPriceDuration}}の後、{{renewalDate}}に","product_info.after_trial":"トライアル後","product_info.after":"後","product_info.intro_price_phase_after_trial":"その後、{{introPriceDuration}}間は{{introPrice}}","product_info.intro_price_phase":"最初の{{introPriceDuration}}間は{{introPrice}}","product_info.intro_price_phase_paid_once":"一回払い","payment_entry_page.trial_subscription_terms_info":"トライアル期間が終了すると、{{renewalDate}}から{{price}} {{perFrequency}}が課金されます。この日より前にいつでもキャンセルできます。","payment_entry_page.subscription_info":"サブスクリプションは自動的に更新されます。いつでもキャンセルできます。","payment_entry_page.otp_terms_info":"購入することにより、{{appName}}が利用規約に基づいて料金を請求することに同意したことになります。","payment_entry_page.terms_link_label":"利用規約","payment_entry_page.subscription_terms_info":"サブスクリプションに登録すると、キャンセルするまで{{appName}}が利用規約に従って課金することを許可することに同意したことになります。","loading_page.keep_page_open":"プロセスはほぼ完了です。このページを開いたままにしてください。","loading_page.processing_payment":"お支払い手続き中","pricing_table.discount":"割引","pricing_table.subtotal":"小計","pricing_dropdown.add_promo_code":"プロモーションコードを追加","discount_input.label":"プロモーションコード"},Jf={"periods.week":"{{amount}}주","periods.month":"{{amount}}개월","periods.year":"{{amount}}년","periods.day":"{{amount}}일","periods.weekShort":"{{amount}}주","periods.monthShort":"{{amount}}개월","periods.yearShort":"{{amount}}년","periods.dayShort":"{{amount}}일","periods.lifetime":"평생","periods.weekPlural":"{{amount}}주","periods.monthPlural":"{{amount}}개월","periods.yearPlural":"{{amount}}년","periods.dayPlural":"{{amount}}일","periods.weekFrequency":"매주","periods.monthFrequency":"매달","periods.yearFrequency":"매년","periods.dayFrequency":"매일","periods.perWeekFrequency":"주당","periods.perMonthFrequency":"월별","periods.perYearFrequency":"연간","periods.perDayFrequency":"매일","periods.unknownFrequency":"알 수 없음","periods.weekFrequencyPlural":"{{amount}}주마다","periods.monthFrequencyPlural":"{{amount}}개월마다","periods.yearFrequencyPlural":"{{amount}}년마다","periods.dayFrequencyPlural":"{{amount}}일마다","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}}일 무료 체험","product_info.price_after_free_trial":"체험 종료 후, {{renewalDate}}에","product_info.renewal_frequency":"{{frequency}}마다 갱신","product_info.continues_until_cancelled":"취소될 때까지 계속됩니다.","product_info.cancel_anytime":"언제든지 취소 가능","payment_entry_page.payment_step_title":"RevenueCat을 통한 안전한 결제","payment_entry_page.button_pay":"지금 결제","payment_entry_page.button_start_trial":"체험 시작","success_page.purchase_successful":"결제가 완료되었습니다.","success_page.button_close":"계속","error_page.if_error_persists":"오류가 지속되면 다음으로 문의하십시오.","error_page.error_title_already_subscribed":"이미 {{productTitle}}을 구독하셨습니다","error_page.error_title_already_purchased":"이미 {{productTitle}}을 구매하셨습니다","error_page.error_title_other_errors":"문제가 발생했습니다.","error_page.error_message_already_subscribed":"이 제품을 다시 구독할 수 없습니다.","error_page.error_message_already_purchased":"이 제품을 다시 구매할 수 없습니다.","error_page.error_message_missing_email_error":"구매를 완료하려면 이메일이 필요합니다.","error_page.error_message_network_error":"네트워크 오류입니다. 인터넷 연결을 확인하십시오.","error_page.error_message_error_charging_payment":"결제에 실패했습니다.","error_page.error_message_error_setting_up_purchase":"오류로 인해 구매가 시작되지 않았습니다(오류 코드: {{errorCode}}).","error_page.error_message_invalid_tax_location":"청구 주소를 확인할 수 없습니다. 우편번호와 국가가 정확한지 다시 한번 확인해 주세요.","error_page.error_message_unknown_error":"알 수 없는 오류가 발생했습니다(오류 코드: {{errorCode}}).","error_page.button_try_again":"다시 시도","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"오늘 총 결제 금액","product_info.subscribe_to":"구독하기","navbar_header.details":"세부 정보","navbar_header.back_button":"뒤로","pricing_dropdown.show_details":"세부 정보 표시","pricing_dropdown.hide_details":"세부 정보 숨기기","pricing_table.tax":"세금","pricing_table.trial_ends":"체험판 종료 후, {{formattedTrialEndDate}}","pricing_table.total_due_today":"오늘 지불해야 할 총액","pricing_table.total_excluding_tax":"세금 제외 총액","pricing_table.enter_billing_address_to_calculate":"계산을 위해 청구지 주소를 입력하세요","pricing_table.enter_state_or_postal_code_to_calculate":"주 또는 우편 번호를 입력하여 계산","pricing_table.enter_postal_code_to_calculate":"우편 번호를 입력하여 계산","error_page.error_message_invalid_email_error":"이메일 주소 {{email}}을(를) 확인할 수 없습니다. 유효한 이메일 주소를 제공해 주세요.","payment_entry_page.button_payment_method":"{{paymentMethod}}으로 {{formattedPrice}} 결제","payment_entry_page.button_with_price":"{{formattedPrice}} 결제","price_update.title":"가격 업데이트","price_update.base_message":"청구지 주소를 기준으로 세금이 포함된 총 가격이 업데이트되었습니다. 다시 확인하고 시도해 주세요. 카드는 한 번만 청구됩니다.","price_update.trial_message":"청구 주소에 따라 세금이 포함된 구독 가격이 업데이트되었습니다. 무료 체험은 계속 적용됩니다. 확인하고 다시 시도해 주세요.","payment_entry_page.express_checkout_divider":"또는 카드 결제","error_page.trouble_accessing":"구매에 문제가 있는 경우 다음 주소로 지원팀에 문의하세요. ","error_page.close_button_title":"{{appName}}으로 이동","error_page.error_title_stripe_missing_required_permission":"필수 Stripe 권한 누락","error_page.button_close":"닫기","error_page.error_message_stripe_invalid_tax_origin_address":"세금 원산지 주소가 잘못되어 구매에 실패했습니다. 프로덕션 환경에서는 세금이 적용되지 않은 상태로 구매가 진행됩니다.","error_page.error_message_stripe_tax_not_active":"Stripe Tax가 활성화되지 않아 구매에 실패했습니다. 프로덕션 환경에서는 세금이 적용되지 않은 상태로 구매가 진행됩니다.","error_page.error_only_in_sandbox":"이 메시지는 샌드박스에서만 표시됩니다.","error_page.error_message_stripe_missing_required_permission":"Stripe 앱에 필요한 권한이 없어 구매에 실패했습니다. 프로덕션 환경에서는 세금이 적용되지 않은 상태로 구매가 진행됩니다.","error_page.error_title_stripe_tax_not_active":"Stripe Tax가 활성화되지 않음","error_page.error_title_stripe_invalid_tax_origin_address":"잘못된 세금 원산지 주소","apple_pay.free_trial":"무료 체험","product_info.price_after_intro_price":"{{introPriceDuration}} 후 {{renewalDate}}에","product_info.after_trial":"체험 후","product_info.after":"후","product_info.intro_price_phase_after_trial":"다음 {{introPriceDuration}} 동안 {{introPrice}}","product_info.intro_price_phase":"처음 {{introPriceDuration}} 동안 {{introPrice}}","product_info.intro_price_phase_paid_once":"1회 결제","payment_entry_page.trial_subscription_terms_info":"체험 기간이 종료되면 {{renewalDate}}부터 {{price}} {{perFrequency}}가 청구됩니다. 이 날짜 전에는 언제든지 취소할 수 있습니다.","payment_entry_page.subscription_info":"구독은 자동으로 갱신됩니다. 언제든지 취소할 수 있습니다.","payment_entry_page.otp_terms_info":"구매하시면 {{appName}}의 약관에 따라 요금이 청구되는 것에 동의하는 것입니다.","payment_entry_page.terms_link_label":"약관","payment_entry_page.subscription_terms_info":"구독하면 취소할 때까지 {{appName}}이 약관에 따라 요금을 청구하는 데 동의하는 것입니다.","loading_page.keep_page_open":"거의 완료되었습니다. 이 페이지를 계속 열어 두세요.","loading_page.processing_payment":"결제 처리 중","pricing_table.discount":"할인","pricing_table.subtotal":"소계","pricing_dropdown.add_promo_code":"프로모션 코드 추가","discount_input.label":"프로모션 코드"},Qf={"periods.week":"{{amount}} minggu","periods.month":"{{amount}} bulan","periods.year":"{{amount}} tahun","periods.day":"{{amount}} hari","periods.weekShort":"{{amount}}mg","periods.monthShort":"{{amount}}bl","periods.yearShort":"{{amount}}th","periods.dayShort":"{{amount}}h","periods.lifetime":"seumur hidup","periods.weekPlural":"{{amount}} minggu","periods.monthPlural":"{{amount}} bulan","periods.yearPlural":"{{amount}} tahun","periods.dayPlural":"{{amount}} hari","periods.weekFrequency":"mingguan","periods.monthFrequency":"bulanan","periods.yearFrequency":"tahunan","periods.dayFrequency":"harian","periods.perWeekFrequency":"setiap minggu","periods.perMonthFrequency":"setiap bulan","periods.perYearFrequency":"setiap tahun","periods.perDayFrequency":"setiap hari","periods.unknownFrequency":"tidak diketahui","periods.weekFrequencyPlural":"setiap {{amount}} minggu","periods.monthFrequencyPlural":"setiap {{amount}} bulan","periods.yearFrequencyPlural":"setiap {{amount}} tahun","periods.dayFrequencyPlural":"setiap {{amount}} hari","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} percubaan percuma","product_info.price_after_free_trial":"Selepas tamat percubaan, pada {{renewalDate}}","product_info.renewal_frequency":"Diperbaharui {{frequency}}","product_info.continues_until_cancelled":"Berterusan sehingga dibatalkan","product_info.cancel_anytime":"Batal bila-bila masa","payment_entry_page.payment_step_title":"Pembayaran selamat oleh RevenueCat","payment_entry_page.button_pay":"Bayar sekarang","payment_entry_page.button_start_trial":"Mula Percubaan","success_page.purchase_successful":"Pembayaran selesai","success_page.button_close":"Teruskan","error_page.if_error_persists":"Jika ralat berterusan, sila hubungi ","error_page.error_title_already_subscribed":"Anda sudah melanggan {{productTitle}}","error_page.error_title_already_purchased":"Anda sudah membeli {{productTitle}}","error_page.error_title_other_errors":"Ada sesuatu yang tidak kena","error_page.error_message_already_subscribed":"Anda tidak boleh melanggan produk ini lagi.","error_page.error_message_already_purchased":"Anda tidak boleh membeli produk ini lagi.","error_page.error_message_missing_email_error":"Emel diperlukan untuk menyelesaikan pembelian.","error_page.error_message_network_error":"Ralat rangkaian. Sila semak sambungan internet anda.","error_page.error_message_error_charging_payment":"Pembayaran gagal.","error_page.error_message_error_setting_up_purchase":"Pembelian tidak dimulakan disebabkan ralat (kod ralat: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Kami tidak dapat mengesahkan alamat bil anda. Sila semak sama ada poskod dan negara adalah betul.","error_page.error_message_unknown_error":"Ralat yang tidak diketahui telah berlaku (kod ralat: {{errorCode}}).","error_page.button_try_again":"Cuba lagi","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Jumlah yang perlu dibayar hari ini","product_info.subscribe_to":"Langgan","navbar_header.details":"Butiran","navbar_header.back_button":"Kembali","pricing_dropdown.show_details":"Tunjukkan butiran","pricing_dropdown.hide_details":"Sembunyikan butiran","pricing_table.tax":"Cukai","pricing_table.trial_ends":"Selepas tempoh percubaan tamat, pada {{formattedTrialEndDate}}","pricing_table.total_due_today":"Jumlah yang perlu dibayar hari ini","pricing_table.total_excluding_tax":"Jumlah tidak termasuk cukai","pricing_table.enter_billing_address_to_calculate":"Masukkan alamat pengebilan untuk mengira","pricing_table.enter_state_or_postal_code_to_calculate":"Masukkan negeri atau poskod untuk mengira","pricing_table.enter_postal_code_to_calculate":"Masukkan poskod untuk mengira","error_page.error_message_invalid_email_error":"Alamat e-mel {{email}} tidak dapat disahkan. Sila berikan alamat e-mel yang sah.","payment_entry_page.button_payment_method":"Bayar {{formattedPrice}} dengan {{paymentMethod}}","payment_entry_page.button_with_price":"Bayar {{formattedPrice}}","price_update.title":"Kemaskini harga","price_update.base_message":"Jumlah harga telah dikemas kini dengan cukai berdasarkan alamat pengebilan anda. Sila semak dan cuba lagi. Kad anda hanya akan dicaj sekali.","price_update.trial_message":"Harga langganan telah dikemas kini untuk memasukkan cukai berdasarkan alamat bil anda. Tempoh percubaan percuma masih terpakai. Sila semak dan cuba lagi.","payment_entry_page.express_checkout_divider":"ATAU BAYAR DENGAN KAD","error_page.trouble_accessing":"Jika anda menghadapi masalah untuk mengakses pembelian anda, hubungi sokongan di ","error_page.close_button_title":"Pergi ke {{appName}}","error_page.error_title_stripe_missing_required_permission":"Kebenaran Stripe hilang","error_page.button_close":"Tutup","error_page.error_message_stripe_invalid_tax_origin_address":"Pembelian gagal kerana alamat asal cukai tidak sah. Dalam pengeluaran, pembelian akan berfungsi tanpa cukai dikenakan.","error_page.error_message_stripe_tax_not_active":"Pembelian gagal kerana Cukai Stripe tidak didayakan. Dalam pengeluaran, pembelian akan berfungsi tanpa cukai dikenakan.","error_page.error_only_in_sandbox":"Mesej ini hanya muncul dalam kotak pasir.","error_page.error_message_stripe_missing_required_permission":"Pembelian gagal kerana aplikasi Stripe kekurangan kebenaran yang diperlukan. Dalam pengeluaran, pembelian akan berfungsi tanpa cukai dikenakan.","error_page.error_title_stripe_tax_not_active":"Cukai Stripe tidak aktif","error_page.error_title_stripe_invalid_tax_origin_address":"Alamat asal cukai Stripe tidak sah","apple_pay.free_trial":"Percubaan Percuma","product_info.price_after_intro_price":"Selepas {{introPriceDuration}}, pada {{renewalDate}}","product_info.after_trial":"selepas percubaan","product_info.after":"selepas","product_info.intro_price_phase_after_trial":"Kemudian {{introPriceDuration}} untuk {{introPrice}}","product_info.intro_price_phase":"Pertama {{introPriceDuration}} untuk {{introPrice}}","product_info.intro_price_phase_paid_once":"dibayar sekali","payment_entry_page.trial_subscription_terms_info":"Selepas tempoh percubaan anda tamat, anda akan dikenakan bayaran sebanyak {{price}} {{perFrequency}} bermula {{renewalDate}}. Anda boleh membatalkan pada bila-bila masa sebelum tarikh ini.","payment_entry_page.subscription_info":"Langganan diperbaharui secara automatik. Batalkan bila-bila masa.","payment_entry_page.otp_terms_info":"Dengan membuat pembelian, anda bersetuju untuk membenarkan {{appName}} mengenakan bayaran kepada anda mengikut terma mereka.","payment_entry_page.terms_link_label":"Terma","payment_entry_page.subscription_terms_info":"Dengan melanggan, anda bersetuju untuk membenarkan {{appName}} mengenakan bayaran kepada anda mengikut terma mereka sehingga anda membatalkan.","loading_page.keep_page_open":"Proses hampir selesai. Pastikan halaman ini dibuka.","loading_page.processing_payment":"Memproses pembayaran","pricing_table.discount":"Diskaun","pricing_table.subtotal":"Subtotal","pricing_dropdown.add_promo_code":"Tambah kod promo","discount_input.label":"Kod promo"},$f={"periods.week":"{{amount}} uke","periods.month":"{{amount}} måned","periods.year":"{{amount}} år","periods.day":"{{amount}} dag","periods.weekShort":"{{amount}}uk","periods.monthShort":"{{amount}}md","periods.yearShort":"{{amount}}år","periods.dayShort":"{{amount}}d","periods.lifetime":"livstid","periods.weekPlural":"{{amount}} uker","periods.monthPlural":"{{amount}} måneder","periods.yearPlural":"{{amount}} år","periods.dayPlural":"{{amount}} dager","periods.weekFrequency":"ukentlig","periods.monthFrequency":"månedlig","periods.yearFrequency":"årlig","periods.dayFrequency":"daglig","periods.perWeekFrequency":"per uke","periods.perMonthFrequency":"per måned","periods.perYearFrequency":"per år","periods.perDayFrequency":"per dag","periods.unknownFrequency":"ukjent","periods.weekFrequencyPlural":"hver {{amount}} uker","periods.monthFrequencyPlural":"hver {{amount}} måneder","periods.yearFrequencyPlural":"hver {{amount}} år","periods.dayFrequencyPlural":"hver {{amount}} dager","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} gratis prøveperiode","product_info.price_after_free_trial":"Etter prøveperioden slutter, den {{renewalDate}}","product_info.renewal_frequency":"Fornyes {{frequency}}","product_info.continues_until_cancelled":"Varer til den avbestilles","product_info.cancel_anytime":"Avbestille når som helst","payment_entry_page.payment_step_title":"Sikker betaling via RevenueCat","payment_entry_page.button_pay":"Betal nå","payment_entry_page.button_start_trial":"Start prøveperiode","success_page.purchase_successful":"Betalingen er fullført","success_page.button_close":"Fortsett","error_page.if_error_persists":"Hvis feilen vedvarer, vennligst kontakt ","error_page.error_title_already_subscribed":"Du abonnerer allerede på {{productTitle}}","error_page.error_title_already_purchased":"Du har allerede kjøpt {{productTitle}}","error_page.error_title_other_errors":"Noe gikk galt","error_page.error_message_already_subscribed":"Du kan ikke abonnere på dette produktet igjen.","error_page.error_message_already_purchased":"Du kan ikke kjøpe dette produktet igjen.","error_page.error_message_missing_email_error":"E-post er nødvendig for å fullføre kjøpet.","error_page.error_message_network_error":"Nettverksfeil. Vennligst sjekk internettforbindelsen din.","error_page.error_message_error_charging_payment":"Betalingen mislyktes.","error_page.error_message_error_setting_up_purchase":"Kjøpet ble ikke startet på grunn av en feil (feilkode: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Vi kunne ikke bekrefte faktureringsadressen din. Vennligst sjekk at postnummeret og landet er korrekte.","error_page.error_message_unknown_error":"En ukjent feil oppstod (feilkode: {{errorCode}}).","error_page.button_try_again":"Prøv igjen","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}} ({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Totalt forfaller i dag","product_info.subscribe_to":"Abonner på","navbar_header.details":"Detaljer","navbar_header.back_button":"Tilbake","pricing_dropdown.show_details":"Vis detaljer","pricing_dropdown.hide_details":"Skjul detaljer","pricing_table.tax":"Skatt","pricing_table.trial_ends":"Etter prøveperioden slutter, den {{formattedTrialEndDate}}","pricing_table.total_due_today":"Totalt forfaller i dag","pricing_table.total_excluding_tax":"Total eksklusive skatt","pricing_table.enter_billing_address_to_calculate":"Oppgi faktureringsadresse for å beregne","pricing_table.enter_state_or_postal_code_to_calculate":"Skriv inn stat eller postnummer for å beregne","pricing_table.enter_postal_code_to_calculate":"Skriv inn postnummer for å beregne","error_page.error_message_invalid_email_error":"E-postadressen {{email}} kunne ikke bekreftes. Vennligst oppgi en gyldig e-postadresse.","payment_entry_page.button_payment_method":"Betal {{formattedPrice}} med {{paymentMethod}}","payment_entry_page.button_with_price":"Betal {{formattedPrice}}","price_update.title":"Prisoppdatering","price_update.base_message":"Totalprisen er oppdatert med skatt basert på fakturaadressen din. Vennligst se gjennom og prøv igjen. Kortet ditt vil kun bli belastet én gang.","price_update.trial_message":"Abonnementsprisen er oppdatert for å inkludere skatter basert på din fakturaadresse. Den gratis prøveperioden gjelder fortsatt. Vennligst sjekk og prøv igjen.","payment_entry_page.express_checkout_divider":"ELLER BETAL MED KORT","error_page.trouble_accessing":"Hvis du har problemer med å få tilgang til kjøpet ditt, kan du kontakte support på ","error_page.close_button_title":"Gå til {{appName}}","error_page.error_title_stripe_missing_required_permission":"Mangler Stripe-tillatelse","error_page.button_close":"Lukk","error_page.error_message_stripe_invalid_tax_origin_address":"Kjøpet mislyktes fordi skatteopprinnelsesadressen er ugyldig. I produksjon vil kjøp fungere uten at skatter brukes.","error_page.error_message_stripe_tax_not_active":"Kjøpet mislyktes fordi Stripe Tax ikke er aktivert. I produksjon vil kjøp fungere uten at skatter brukes.","error_page.error_only_in_sandbox":"Denne meldingen vises bare i sandkassen.","error_page.error_message_stripe_missing_required_permission":"Kjøpet mislyktes fordi Stripe-appen mangler en nødvendig tillatelse. I produksjon vil kjøp fungere uten at skatter brukes.","error_page.error_title_stripe_tax_not_active":"Stripe Tax er ikke aktivt","error_page.error_title_stripe_invalid_tax_origin_address":"Ugyldig skatteopprinnelsesadresse","apple_pay.free_trial":"Gratis prøveperiode","product_info.price_after_intro_price":"Etter {{introPriceDuration}}, den {{renewalDate}}","product_info.after_trial":"etter prøveperiode","product_info.after":"etter","product_info.intro_price_phase_after_trial":"Deretter {{introPriceDuration}} for {{introPrice}}","product_info.intro_price_phase":"Først {{introPriceDuration}} for {{introPrice}}","product_info.intro_price_phase_paid_once":"betales én gang","payment_entry_page.trial_subscription_terms_info":"Etter at prøveperioden din er over, blir du belastet {{price}} {{perFrequency}} fra og med {{renewalDate}}. Du kan kansellere når som helst før denne datoen.","payment_entry_page.subscription_info":"Abonnementet fornyes automatisk. Avbryt når som helst.","payment_entry_page.otp_terms_info":"Ved å kjøpe godtar du at {{appName}} belaster deg i henhold til deres vilkår.","payment_entry_page.terms_link_label":"Vilkår","payment_entry_page.subscription_terms_info":"Ved å abonnere godtar du at {{appName}} belaster deg i henhold til deres vilkår til du kansellerer.","loading_page.keep_page_open":"Prosessen er nesten ferdig. Hold denne siden åpen.","loading_page.processing_payment":"Behandler betaling","pricing_table.discount":"Rabatt","pricing_table.subtotal":"Subtotal","pricing_dropdown.add_promo_code":"Legg til kampanjekode","discount_input.label":"Kampanjekode"},em={"periods.week":"{{amount}} tydzień","periods.month":"{{amount}} miesiąc","periods.year":"{{amount}} rok","periods.day":"{{amount}} dzień","periods.weekShort":"{{amount}}tydz","periods.monthShort":"{{amount}}mies","periods.yearShort":"{{amount}}rok","periods.dayShort":"{{amount}}d","periods.lifetime":"dożywotnio","periods.weekPlural":"{{amount}} tygodni","periods.monthPlural":"{{amount}} miesięcy","periods.yearPlural":"{{amount}} lat","periods.dayPlural":"{{amount}} dni","periods.weekFrequency":"tygodniowo","periods.monthFrequency":"miesięcznie","periods.yearFrequency":"rocznie","periods.dayFrequency":"dziennie","periods.perWeekFrequency":"na tydzień","periods.perMonthFrequency":"na miesiąc","periods.perYearFrequency":"na rok","periods.perDayFrequency":"na dzień","periods.unknownFrequency":"nieznany","periods.weekFrequencyPlural":"co {{amount}} tygodni","periods.monthFrequencyPlural":"co {{amount}} miesięcy","periods.yearFrequencyPlural":"co {{amount}} lat","periods.dayFrequencyPlural":"co {{amount}} dni","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} dni próbnych","product_info.price_after_free_trial":"Po zakończeniu okresu próbnego, dnia {{renewalDate}}","product_info.renewal_frequency":"Odnawialny co {{frequency}}","product_info.continues_until_cancelled":"Kontynuowane do momentu anulowania","product_info.cancel_anytime":"Możesz anulować w dowolnym momencie","payment_entry_page.payment_step_title":"Bezpieczna płatność przez RevenueCat","payment_entry_page.button_pay":"Zapłać teraz","payment_entry_page.button_start_trial":"Rozpocznij okres próbny","success_page.purchase_successful":"Płatność zakończona","success_page.button_close":"Kontynuuj","error_page.if_error_persists":"Jeśli błąd będzie się powtarzał, skontaktuj się z ","error_page.error_title_already_subscribed":"Już subskrybujesz {{productTitle}}","error_page.error_title_already_purchased":"Już zakupiłeś/aś {{productTitle}}","error_page.error_title_other_errors":"Coś poszło nie tak","error_page.error_message_already_subscribed":"Nie możesz ponownie subskrybować tego produktu.","error_page.error_message_already_purchased":"Nie możesz ponownie zakupić tego produktu.","error_page.error_message_missing_email_error":"Adres e-mail jest wymagany do dokonania zakupu.","error_page.error_message_network_error":"Błąd sieci. Sprawdź połączenie internetowe.","error_page.error_message_error_charging_payment":"Płatność nieudana.","error_page.error_message_error_setting_up_purchase":"Zakup nie został rozpoczęty z powodu błędu (kod błędu: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Nie mogliśmy zweryfikować Twojego adresu rozliczeniowego. Sprawdź, czy kod pocztowy i kraj są poprawne.","error_page.error_message_unknown_error":"Wystąpił nieznany błąd (kod błędu: {{errorCode}}).","error_page.button_try_again":"Spróbuj ponownie","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Do zapłaty dzisiaj","product_info.subscribe_to":"Subskrybuj","navbar_header.details":"Szczegóły","navbar_header.back_button":"Wstecz","pricing_dropdown.show_details":"Pokaż szczegóły","pricing_dropdown.hide_details":"Ukryj szczegóły","pricing_table.tax":"Podatek","pricing_table.trial_ends":"Po zakończeniu okresu próbnego, {{formattedTrialEndDate}}","pricing_table.total_due_today":"Suma należna dzisiaj","pricing_table.total_excluding_tax":"Suma bez podatku","pricing_table.enter_billing_address_to_calculate":"Wprowadź adres rozliczeniowy, aby obliczyć","pricing_table.enter_state_or_postal_code_to_calculate":"Wprowadź stan lub kod pocztowy, aby obliczyć","pricing_table.enter_postal_code_to_calculate":"Wprowadź kod pocztowy, aby obliczyć","error_page.error_message_invalid_email_error":"Nie można zweryfikować adresu e-mail {{email}}. Proszę podać prawidłowy adres e-mail.","payment_entry_page.button_payment_method":"Zapłać {{formattedPrice}} przez {{paymentMethod}}","payment_entry_page.button_with_price":"Zapłać {{formattedPrice}}","price_update.title":"Aktualizacja ceny","price_update.base_message":"Cena całkowita została zaktualizowana o podatek na podstawie Twojego adresu rozliczeniowego. Sprawdź i spróbuj ponownie. Twoja karta zostanie obciążona tylko raz.","price_update.trial_message":"Cena subskrypcji została zaktualizowana o podatki na podstawie Twojego adresu rozliczeniowego. Okres próbny nadal obowiązuje. Sprawdź i spróbuj ponownie.","payment_entry_page.express_checkout_divider":"LUB ZAPŁAĆ KARTĄ","error_page.trouble_accessing":"Jeśli masz problemy z dostępem do zakupu, skontaktuj się z działem pomocy pod adresem ","error_page.close_button_title":"Przejdź do {{appName}}","error_page.error_title_stripe_missing_required_permission":"Brakujące uprawnienie Stripe","error_page.button_close":"Zamknij","error_page.error_message_stripe_invalid_tax_origin_address":"Zakup nie powiódł się, ponieważ adres pochodzenia podatku jest nieprawidłowy. W środowisku produkcyjnym zakupy będą działać bez naliczania podatków.","error_page.error_message_stripe_tax_not_active":"Zakup nie powiódł się, ponieważ Stripe Tax nie jest włączony. W środowisku produkcyjnym zakupy będą działać bez naliczania podatków.","error_page.error_only_in_sandbox":"Ta wiadomość pojawia się tylko w środowisku testowym.","error_page.error_message_stripe_missing_required_permission":"Zakup nie powiódł się, ponieważ aplikacja Stripe nie ma wymaganego uprawnienia. W środowisku produkcyjnym zakupy będą działać bez naliczania podatków.","error_page.error_title_stripe_tax_not_active":"Stripe Tax nieaktywny","error_page.error_title_stripe_invalid_tax_origin_address":"Nieprawidłowy adres pochodzenia podatku","apple_pay.free_trial":"Okres próbny","product_info.price_after_intro_price":"Po {{introPriceDuration}}, od {{renewalDate}}","product_info.after_trial":"po okresie próbnym","product_info.after":"po","product_info.intro_price_phase_after_trial":"Następnie {{introPriceDuration}} za {{introPrice}}","product_info.intro_price_phase":"Najpierw {{introPriceDuration}} za {{introPrice}}","product_info.intro_price_phase_paid_once":"płatne jednorazowo","payment_entry_page.trial_subscription_terms_info":"Po zakończeniu okresu próbnego zostanie pobrana opłata w wysokości {{price}} {{perFrequency}} począwszy od {{renewalDate}}. Możesz anulować subskrypcję w dowolnym momencie przed tą datą.","payment_entry_page.subscription_info":"Subskrypcja odnawia się automatycznie. Anuluj w dowolnym momencie.","payment_entry_page.otp_terms_info":"Dokonując zakupu, zgadzasz się na obciążenie przez {{appName}} zgodnie z ich warunkami.","payment_entry_page.terms_link_label":"Warunki","payment_entry_page.subscription_terms_info":"Subskrybując, zgadzasz się na obciążanie przez {{appName}} zgodnie z ich warunkami do momentu anulowania.","loading_page.keep_page_open":"Proces jest prawie zakończony. Pozostaw tę stronę otwartą.","loading_page.processing_payment":"Przetwarzanie płatności","pricing_table.discount":"Rabat","pricing_table.subtotal":"Suma częściowa","pricing_dropdown.add_promo_code":"Dodaj kod promocyjny","discount_input.label":"Kod promocyjny"},rm={"periods.week":"{{amount}} semana","periods.month":"{{amount}} mês","periods.year":"{{amount}} ano","periods.day":"{{amount}} dia","periods.weekShort":"{{amount}}sem","periods.monthShort":"{{amount}}mês","periods.yearShort":"{{amount}}ano","periods.dayShort":"{{amount}}d","periods.lifetime":"vitalício","periods.weekPlural":"{{amount}} semanas","periods.monthPlural":"{{amount}} meses","periods.yearPlural":"{{amount}} anos","periods.dayPlural":"{{amount}} dias","periods.weekFrequency":"semanal","periods.monthFrequency":"mensal","periods.yearFrequency":"anual","periods.dayFrequency":"diário","periods.perWeekFrequency":"por semana","periods.perMonthFrequency":"por mês","periods.perYearFrequency":"por ano","periods.perDayFrequency":"por dia","periods.unknownFrequency":"desconhecido","periods.weekFrequencyPlural":"a cada {{amount}} semanas","periods.monthFrequencyPlural":"a cada {{amount}} meses","periods.yearFrequencyPlural":"a cada {{amount}} anos","periods.dayFrequencyPlural":"a cada {{amount}} dias","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} teste grátis","product_info.price_after_free_trial":"Após o término do teste, em {{renewalDate}}","product_info.renewal_frequency":"Renova {{frequency}}","product_info.continues_until_cancelled":"Continua até ser cancelado","product_info.cancel_anytime":"Cancelar a qualquer momento","payment_entry_page.payment_step_title":"Pagamento seguro pela RevenueCat","payment_entry_page.button_pay":"Pagar agora","payment_entry_page.button_start_trial":"Iniciar Teste","success_page.purchase_successful":"Pagamento concluído","success_page.button_close":"Continuar","error_page.if_error_persists":"Se o erro persistir, entre em contato com ","error_page.error_title_already_subscribed":"Você já se inscreveu em {{productTitle}}","error_page.error_title_already_purchased":"Você já comprou {{productTitle}}","error_page.error_title_other_errors":"Algo deu errado","error_page.error_message_already_subscribed":"Você não pode se inscrever neste produto novamente.","error_page.error_message_already_purchased":"Você não pode comprar este produto novamente.","error_page.error_message_missing_email_error":"Email é necessário para concluir a compra.","error_page.error_message_network_error":"Erro de rede. Verifique sua conexão com a internet.","error_page.error_message_error_charging_payment":"Pagamento falhou.","error_page.error_message_error_setting_up_purchase":"Compra não iniciada devido a um erro (código de erro: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Não conseguimos verificar seu endereço de cobrança. Por favor, verifique se o código postal e o país estão corretos.","error_page.error_message_unknown_error":"Ocorreu um erro desconhecido (código de erro: {{errorCode}}).","error_page.button_try_again":"Tentar novamente","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Total a pagar hoje","product_info.subscribe_to":"Subscrever","navbar_header.details":"Detalhes","navbar_header.back_button":"Voltar","pricing_dropdown.show_details":"Mostrar detalhes","pricing_dropdown.hide_details":"Ocultar detalhes","pricing_table.tax":"Imposto","pricing_table.trial_ends":"Após o término do período de avaliação, em {{formattedTrialEndDate}}","pricing_table.total_due_today":"Total a pagar hoje","pricing_table.total_excluding_tax":"Total sem impostos","pricing_table.enter_billing_address_to_calculate":"Insira o endereço de cobrança para calcular","pricing_table.enter_state_or_postal_code_to_calculate":"Insira o estado ou o CEP para calcular","pricing_table.enter_postal_code_to_calculate":"Insira o CEP para calcular","error_page.error_message_invalid_email_error":"O endereço de e-mail {{email}} não pôde ser verificado. Por favor, forneça um endereço de e-mail válido.","payment_entry_page.button_payment_method":"Pagar {{formattedPrice}} com {{paymentMethod}}","payment_entry_page.button_with_price":"Pagar {{formattedPrice}}","price_update.title":"Atualização de preço","price_update.base_message":"O preço total foi atualizado com impostos com base no seu endereço de cobrança. Por favor, revise e tente novamente. Seu cartão só será cobrado uma vez.","price_update.trial_message":"O preço da assinatura foi atualizado para incluir impostos com base no seu endereço de faturação. O período de teste gratuito continua válido. Por favor, verifique e tente novamente.","payment_entry_page.express_checkout_divider":"OU PAGUE COM CARTÃO","error_page.trouble_accessing":"Se estiver com problemas para acessar sua compra, entre em contato com o suporte em ","error_page.close_button_title":"Ir para {{appName}}","error_page.error_title_stripe_missing_required_permission":"Permissão do Stripe em falta","error_page.button_close":"Fechar","error_page.error_message_stripe_invalid_tax_origin_address":"A compra falhou porque o endereço de origem fiscal é inválido. Em produção, as compras funcionarão sem impostos aplicados.","error_page.error_message_stripe_tax_not_active":"A compra falhou porque o Stripe Tax não está ativado. Em produção, as compras funcionarão sem impostos aplicados.","error_page.error_only_in_sandbox":"Esta mensagem aparece apenas na sandbox.","error_page.error_message_stripe_missing_required_permission":"A compra falhou porque o aplicativo Stripe não tem uma permissão necessária. Em produção, as compras funcionarão sem impostos aplicados.","error_page.error_title_stripe_tax_not_active":"Stripe Tax não está ativo","error_page.error_title_stripe_invalid_tax_origin_address":"Endereço de origem fiscal inválido","apple_pay.free_trial":"Teste Gratuito","product_info.price_after_intro_price":"Após {{introPriceDuration}}, em {{renewalDate}}","product_info.after_trial":"após o período de teste","product_info.after":"após","product_info.intro_price_phase_after_trial":"Depois, {{introPriceDuration}} por {{introPrice}}","product_info.intro_price_phase":"Primeiro, {{introPriceDuration}} por {{introPrice}}","product_info.intro_price_phase_paid_once":"pago uma vez","payment_entry_page.trial_subscription_terms_info":"Após o término do período de avaliação, será cobrado o valor de {{price}} {{perFrequency}} a partir de {{renewalDate}}. Pode cancelar a qualquer momento antes desta data.","payment_entry_page.subscription_info":"A subscrição é renovada automaticamente. Cancele a qualquer momento.","payment_entry_page.otp_terms_info":"Ao comprar, você concorda em permitir que o {{appName}} cobre de acordo com os termos deles.","payment_entry_page.terms_link_label":"Termos","payment_entry_page.subscription_terms_info":"Ao subscrever, concorda em permitir que a {{appName}} lhe cobre de acordo com os seus termos até cancelar.","loading_page.keep_page_open":"O processo está quase concluído. Mantenha esta página aberta.","loading_page.processing_payment":"Processando o pagamento","pricing_table.discount":"Desconto","pricing_table.subtotal":"Subtotal","pricing_dropdown.add_promo_code":"Adicionar código promocional","discount_input.label":"Código promocional"},tm={"periods.week":"{{amount}} săptămână","periods.month":"{{amount}} lună","periods.year":"{{amount}} an","periods.day":"{{amount}} zi","periods.weekShort":"{{amount}}săpt","periods.monthShort":"{{amount}}lun","periods.yearShort":"{{amount}}an","periods.dayShort":"{{amount}}z","periods.lifetime":"pe viață","periods.weekPlural":"{{amount}} săptămâni","periods.monthPlural":"{{amount}} luni","periods.yearPlural":"{{amount}} ani","periods.dayPlural":"{{amount}} zile","periods.weekFrequency":"săptămânal","periods.monthFrequency":"lunar","periods.yearFrequency":"anual","periods.dayFrequency":"zilnic","periods.perWeekFrequency":"pe săptămână","periods.perMonthFrequency":"pe lună","periods.perYearFrequency":"pe an","periods.perDayFrequency":"pe zi","periods.unknownFrequency":"necunoscut","periods.weekFrequencyPlural":"la fiecare {{amount}} săptămâni","periods.monthFrequencyPlural":"la fiecare {{amount}} luni","periods.yearFrequencyPlural":"la fiecare {{amount}} ani","periods.dayFrequencyPlural":"la fiecare {{amount}} zile","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} perioadă de probă gratuită","product_info.price_after_free_trial":"După terminarea perioadei de probă, pe {{renewalDate}}","product_info.renewal_frequency":"Se reînnoiește {{frequency}}","product_info.continues_until_cancelled":"Continuă până la anulare","product_info.cancel_anytime":"Anulare oricând","payment_entry_page.payment_step_title":"Plata securizată prin RevenueCat","payment_entry_page.button_pay":"Plătește acum","payment_entry_page.button_start_trial":"Începe perioada de probă","success_page.purchase_successful":"Plata efectuată","success_page.button_close":"Continuă","error_page.if_error_persists":"Dacă eroarea persistă, vă rugăm să contactați ","error_page.error_title_already_subscribed":"Sunteți deja abonat la {{productTitle}}","error_page.error_title_already_purchased":"Ați achiziționat deja {{productTitle}}","error_page.error_title_other_errors":"A apărut o eroare","error_page.error_message_already_subscribed":"Nu vă puteți abona din nou la acest produs.","error_page.error_message_already_purchased":"Nu puteți achiziționa din nou acest produs.","error_page.error_message_missing_email_error":"Adresa de e-mail este necesară pentru a finaliza achiziția.","error_page.error_message_network_error":"Eroare de rețea. Verificați conexiunea la internet.","error_page.error_message_error_charging_payment":"Plata a eșuat.","error_page.error_message_error_setting_up_purchase":"Achiziția nu a putut fi inițiată din cauza unei erori (cod de eroare: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Nu am putut verifica adresa de facturare. Vă rugăm să verificați dacă codul poștal și țara sunt corecte.","error_page.error_message_unknown_error":"A apărut o eroare necunoscută (cod de eroare: {{errorCode}}).","error_page.button_try_again":"Încearcă din nou","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Total de plată astăzi","product_info.subscribe_to":"Abonare la","navbar_header.details":"Detalii","navbar_header.back_button":"Înapoi","pricing_dropdown.show_details":"Arată detalii","pricing_dropdown.hide_details":"Ascunde detalii","pricing_table.tax":"Taxă","pricing_table.trial_ends":"După ce perioada de probă se termină, pe {{formattedTrialEndDate}}","pricing_table.total_due_today":"Total de plătit astăzi","pricing_table.total_excluding_tax":"Total fără taxe","pricing_table.enter_billing_address_to_calculate":"Introduceți adresa de facturare pentru a calcula","pricing_table.enter_state_or_postal_code_to_calculate":"Introduceți statul sau codul poștal pentru a calcula","pricing_table.enter_postal_code_to_calculate":"Introduceți codul poștal pentru a calcula","error_page.error_message_invalid_email_error":"Adresa de e-mail {{email}} nu a putut fi verificată. Vă rugăm să furnizați o adresă de e-mail validă.","payment_entry_page.button_payment_method":"Plătește {{formattedPrice}} cu {{paymentMethod}}","payment_entry_page.button_with_price":"Plătește {{formattedPrice}}","price_update.title":"Actualizare preț","price_update.base_message":"Prețul total a fost actualizat cu taxe, în funcție de adresa dumneavoastră de facturare. Vă rugăm să revizuiți și să încercați din nou. Cardul dumneavoastră va fi debitat o singură dată.","price_update.trial_message":"Prețul abonamentului a fost actualizat pentru a include taxele bazate pe adresa dvs. de facturare. Perioada de probă gratuită rămâne valabilă. Vă rugăm să verificați și să încercați din nou.","payment_entry_page.express_checkout_divider":"SAU PLĂTEȘTE CU CARDUL","error_page.trouble_accessing":"Dacă întâmpini probleme în accesarea achiziției tale, contactează serviciul de asistență la ","error_page.close_button_title":"Mergi la {{appName}}","error_page.error_title_stripe_missing_required_permission":"Permisiune Stripe lipsă","error_page.button_close":"Închide","error_page.error_message_stripe_invalid_tax_origin_address":"Achiziția a eșuat deoarece adresa de origine fiscală este nevalidă. În producție, achizițiile vor funcționa fără taxe aplicate.","error_page.error_message_stripe_tax_not_active":"Achiziția a eșuat deoarece Stripe Tax nu este activat. În producție, achizițiile vor funcționa fără taxe aplicate.","error_page.error_only_in_sandbox":"Acest mesaj apare doar în sandbox.","error_page.error_message_stripe_missing_required_permission":"Achiziția a eșuat deoarece aplicației Stripe îi lipsește o permisiune necesară. În producție, achizițiile vor funcționa fără taxe aplicate.","error_page.error_title_stripe_tax_not_active":"Stripe Tax nu este activ","error_page.error_title_stripe_invalid_tax_origin_address":"Adresă de origine fiscală Stripe nevalidă","apple_pay.free_trial":"Perioadă de probă gratuită","product_info.price_after_intro_price":"După {{introPriceDuration}}, pe {{renewalDate}}","product_info.after_trial":"după perioada de probă","product_info.after":"după","product_info.intro_price_phase_after_trial":"Apoi {{introPriceDuration}} pentru {{introPrice}}","product_info.intro_price_phase":"Mai întâi {{introPriceDuration}} pentru {{introPrice}}","product_info.intro_price_phase_paid_once":"plătit o singură dată","payment_entry_page.trial_subscription_terms_info":"După ce perioada de probă se termină, veți fi taxat cu {{price}} {{perFrequency}} începând cu {{renewalDate}}. Puteți anula oricând înainte de această dată.","payment_entry_page.subscription_info":"Abonamentul se reînnoiește automat. Anulați oricând.","payment_entry_page.otp_terms_info":"Prin achiziționarea, sunteți de acord să permiteți {{appName}} să vă taxeze conform termenilor săi.","payment_entry_page.terms_link_label":"Termeni","payment_entry_page.subscription_terms_info":"Prin abonare, sunteți de acord să permiteți {{appName}} să vă taxeze conform termenilor săi până la anulare.","loading_page.keep_page_open":"Procesul este aproape finalizat. Păstrați această pagină deschisă.","loading_page.processing_payment":"Se procesează plata","pricing_table.discount":"Reducere","pricing_table.subtotal":"Subtotal","pricing_dropdown.add_promo_code":"Adaugă cod promoțional","discount_input.label":"Cod promoțional"},nm={"periods.week":"{{amount}} неделя","periods.month":"{{amount}} месяц","periods.year":"{{amount}} год","periods.day":"{{amount}} день","periods.weekShort":"{{amount}}нед","periods.monthShort":"{{amount}}мес","periods.yearShort":"{{amount}}г","periods.dayShort":"{{amount}}д","periods.lifetime":"пожизненно","periods.weekPlural":"{{amount}} недель","periods.monthPlural":"{{amount}} месяцев","periods.yearPlural":"{{amount}} лет","periods.dayPlural":"{{amount}} дней","periods.weekFrequency":"еженедельно","periods.monthFrequency":"ежемесячно","periods.yearFrequency":"ежегодно","periods.dayFrequency":"ежедневно","periods.perWeekFrequency":"в неделю","periods.perMonthFrequency":"в месяц","periods.perYearFrequency":"в год","periods.perDayFrequency":"в день","periods.unknownFrequency":"неизвестно","periods.weekFrequencyPlural":"каждые {{amount}} недель","periods.monthFrequencyPlural":"каждые {{amount}} месяцев","periods.yearFrequencyPlural":"каждые {{amount}} лет","periods.dayFrequencyPlural":"каждые {{amount}} дней","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} бесплатная пробная версия","product_info.price_after_free_trial":"После окончания пробного периода, {{renewalDate}}","product_info.renewal_frequency":"Продлевается {{frequency}}","product_info.continues_until_cancelled":"Продолжается до отмены","product_info.cancel_anytime":"Отменить в любое время","payment_entry_page.payment_step_title":"Безопасная оплата через RevenueCat","payment_entry_page.button_pay":"Оплатить сейчас","payment_entry_page.button_start_trial":"Начать пробный период","success_page.purchase_successful":"Оплата завершена","success_page.button_close":"Продолжить","error_page.if_error_persists":"Если ошибка сохраняется, пожалуйста, свяжитесь с ","error_page.error_title_already_subscribed":"Вы уже подписаны на {{productTitle}}","error_page.error_title_already_purchased":"Вы уже приобрели {{productTitle}}","error_page.error_title_other_errors":"Что-то пошло не так","error_page.error_message_already_subscribed":"Вы не можете подписаться на этот продукт повторно.","error_page.error_message_already_purchased":"Вы не можете приобрести этот продукт повторно.","error_page.error_message_missing_email_error":"Для завершения покупки необходим адрес электронной почты.","error_page.error_message_network_error":"Ошибка сети. Проверьте ваше интернет-соединение.","error_page.error_message_error_charging_payment":"Оплата не прошла.","error_page.error_message_error_setting_up_purchase":"Покупка не была начата из-за ошибки (код ошибки: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Мы не смогли проверить ваш платежный адрес. Пожалуйста, проверьте, что почтовый индекс и страна указаны правильно.","error_page.error_message_unknown_error":"Произошла неизвестная ошибка (код ошибки: {{errorCode}}).","error_page.button_try_again":"Повторить попытку","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Всего к оплате сегодня","product_info.subscribe_to":"Подписаться","navbar_header.details":"Детали","navbar_header.back_button":"Назад","pricing_dropdown.show_details":"Показать детали","pricing_dropdown.hide_details":"Скрыть детали","pricing_table.tax":"Налог","pricing_table.trial_ends":"После окончания пробного периода, {{formattedTrialEndDate}}","pricing_table.total_due_today":"Итого к оплате сегодня","pricing_table.total_excluding_tax":"Итого без учета налога","pricing_table.enter_billing_address_to_calculate":"Введите платежный адрес для расчета","pricing_table.enter_state_or_postal_code_to_calculate":"Введите штат или почтовый индекс для расчета","pricing_table.enter_postal_code_to_calculate":"Введите почтовый индекс для расчета","error_page.error_message_invalid_email_error":"Не удалось проверить адрес электронной почты {{email}}. Пожалуйста, укажите действительный адрес электронной почты.","payment_entry_page.button_payment_method":"Оплатить {{formattedPrice}} через {{paymentMethod}}","payment_entry_page.button_with_price":"Оплатить {{formattedPrice}}","price_update.title":"Обновление цены","price_update.base_message":"Общая цена была обновлена с учетом налога на основе вашего платежного адреса. Пожалуйста, проверьте и повторите попытку. С вашей карты будет списано только один раз.","price_update.trial_message":"Цена подписки была обновлена с учетом налогов на основе вашего платежного адреса. Пробный период остается бесплатным. Пожалуйста, проверьте и попробуйте снова.","payment_entry_page.express_checkout_divider":"ИЛИ ОПЛАТИТЕ КАРТОЙ","error_page.trouble_accessing":"Если у вас возникли проблемы с доступом к вашей покупке, обратитесь в службу поддержки по адресу ","error_page.close_button_title":"Перейти в {{appName}}","error_page.error_title_stripe_missing_required_permission":"Отсутствует разрешение Stripe","error_page.button_close":"Закрыть","error_page.error_message_stripe_invalid_tax_origin_address":"Покупка не удалась, так как адрес отправления налога недействителен. В рабочей среде покупки будут работать без применения налогов.","error_page.error_message_stripe_tax_not_active":"Покупка не удалась, так как Stripe Tax не включен. В рабочей среде покупки будут работать без применения налогов.","error_page.error_only_in_sandbox":"Это сообщение появляется только в песочнице.","error_page.error_message_stripe_missing_required_permission":"Покупка не удалась, так как у приложения Stripe отсутствует необходимое разрешение. В рабочей среде покупки будут работать без применения налогов.","error_page.error_title_stripe_tax_not_active":"Stripe Tax не активен","error_page.error_title_stripe_invalid_tax_origin_address":"Недействительный адрес отправления налога","apple_pay.free_trial":"Бесплатная пробная версия","product_info.price_after_intro_price":"После {{introPriceDuration}}, {{renewalDate}}","product_info.after_trial":"после пробного периода","product_info.after":"после","product_info.intro_price_phase_after_trial":"Затем {{introPriceDuration}} за {{introPrice}}","product_info.intro_price_phase":"Сначала {{introPriceDuration}} за {{introPrice}}","product_info.intro_price_phase_paid_once":"единоразовый платеж","payment_entry_page.trial_subscription_terms_info":"По окончании пробного периода с вас будет взиматься плата в размере {{price}} {{perFrequency}}, начиная с {{renewalDate}}. Вы можете отменить подписку в любое время до этой даты.","payment_entry_page.subscription_info":"Подписка продлевается автоматически. Отменить можно в любое время.","payment_entry_page.otp_terms_info":"Совершая покупку, вы соглашаетесь с тем, что {{appName}} будет взимать с вас плату в соответствии со своими условиями.","payment_entry_page.terms_link_label":"Условия","payment_entry_page.subscription_terms_info":"Подписываясь, вы соглашаетесь с тем, что {{appName}} будет взимать с вас плату в соответствии с их условиями до тех пор, пока вы не отмените подписку.","loading_page.keep_page_open":"Процесс почти завершен. Не закрывайте эту страницу.","loading_page.processing_payment":"Обработка платежа","pricing_table.discount":"Скидка","pricing_table.subtotal":"Итого","pricing_dropdown.add_promo_code":"Добавить промокод","discount_input.label":"Промокод"},am={"periods.week":"{{amount}} týždeň","periods.month":"{{amount}} mesiac","periods.year":"{{amount}} rok","periods.day":"{{amount}} deň","periods.weekShort":"{{amount}}týž","periods.monthShort":"{{amount}}mes","periods.yearShort":"{{amount}}rok","periods.dayShort":"{{amount}}d","periods.lifetime":"doživotne","periods.weekPlural":"{{amount}} týždňov","periods.monthPlural":"{{amount}} mesiacov","periods.yearPlural":"{{amount}} rokov","periods.dayPlural":"{{amount}} dní","periods.weekFrequency":"týždenne","periods.monthFrequency":"mesačne","periods.yearFrequency":"ročne","periods.dayFrequency":"denne","periods.perWeekFrequency":"týždenne","periods.perMonthFrequency":"mesačne","periods.perYearFrequency":"ročne","periods.perDayFrequency":"denne","periods.unknownFrequency":"neznáme","periods.weekFrequencyPlural":"každých {{amount}} týždňov","periods.monthFrequencyPlural":"každých {{amount}} mesiacov","periods.yearFrequencyPlural":"každých {{amount}} rokov","periods.dayFrequencyPlural":"každých {{amount}} dní","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} bezplatné skúšobné obdobie","product_info.price_after_free_trial":"Po skončení skúšobného obdobia, dňa {{renewalDate}}","product_info.renewal_frequency":"Obnovuje sa {{frequency}}","product_info.continues_until_cancelled":"Pokračuje, kým sa nezruší","product_info.cancel_anytime":"Kedykoľvek zrušiť","payment_entry_page.payment_step_title":"Bezpečný nákup prostredníctvom RevenueCat","payment_entry_page.button_pay":"Zaplatiť teraz","payment_entry_page.button_start_trial":"Spustiť skúšobné obdobie","success_page.purchase_successful":"Platba dokončená","success_page.button_close":"Pokračovať","error_page.if_error_persists":"Ak chyba pretrváva, kontaktujte ","error_page.error_title_already_subscribed":"Už ste si predplatili {{productTitle}}","error_page.error_title_already_purchased":"Už ste si zakúpili {{productTitle}}","error_page.error_title_other_errors":"Niečo sa pokazilo","error_page.error_message_already_subscribed":"Na tento produkt sa nemôžete znova prihlásiť na odber.","error_page.error_message_already_purchased":"Tento produkt si nemôžete znova zakúpiť.","error_page.error_message_missing_email_error":"Na dokončenie nákupu je potrebný e-mail.","error_page.error_message_network_error":"Chyba siete. Skontrolujte svoje internetové pripojenie.","error_page.error_message_error_charging_payment":"Platba zlyhala.","error_page.error_message_error_setting_up_purchase":"Nákup sa nespustil kvôli chybe (kód chyby: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Nepodarilo sa nám overiť vašu fakturačnú adresu. Skontrolujte, prosím, či je PSČ a krajina správne.","error_page.error_message_unknown_error":"Vyskytla sa neznáma chyba (kód chyby: {{errorCode}}).","error_page.button_try_again":"Skúsiť znova","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Celková suma splatná dnes","product_info.subscribe_to":"Prihlásiť sa na odber","navbar_header.details":"Podrobnosti","navbar_header.back_button":"Späť","pricing_dropdown.show_details":"Zobraziť podrobnosti","pricing_dropdown.hide_details":"Skryť podrobnosti","pricing_table.tax":"Daň","pricing_table.trial_ends":"Po skončení skúšobnej verzie, dňa {{formattedTrialEndDate}}","pricing_table.total_due_today":"Celková suma splatná dnes","pricing_table.total_excluding_tax":"Celkom bez dane","pricing_table.enter_billing_address_to_calculate":"Zadajte fakturačnú adresu pre výpočet","pricing_table.enter_state_or_postal_code_to_calculate":"Zadajte štát alebo PSČ pre výpočet","pricing_table.enter_postal_code_to_calculate":"Zadajte PSČ pre výpočet","error_page.error_message_invalid_email_error":"E-mailová adresa {{email}} sa nedala overiť. Zadajte platnú e-mailovú adresu.","payment_entry_page.button_payment_method":"Zaplatiť sumu {{formattedPrice}} pomocou {{paymentMethod}}","payment_entry_page.button_with_price":"Zaplatiť {{formattedPrice}}","price_update.title":"Aktualizácia ceny","price_update.base_message":"Celková cena bola aktualizovaná o daň na základe vašej fakturačnej adresy. Skontrolujte to a skúste znova. Vaša karta bude zaťažená iba raz.","price_update.trial_message":"Cena predplatného bola aktualizovaná o daňe na základe vašej fakturačnej adresy. Bezplatná skúšobná doba stále platí. Prosím, skontrolujte a skúste znova.","payment_entry_page.express_checkout_divider":"ALEBO ZAPLATIŤ KARTOU","error_page.trouble_accessing":"Ak máte problémy s prístupom k svojmu nákupu, kontaktujte podporu na ","error_page.close_button_title":"Prejsť na {{appName}}","error_page.error_title_stripe_missing_required_permission":"Chýbajúce povolenie Stripe","error_page.button_close":"Zavrieť","error_page.error_message_stripe_invalid_tax_origin_address":"Nákup sa nepodaril, pretože adresa pôvodu dane je neplatná. V produkčnom prostredí budú nákupy fungovať bez uplatnenia daní.","error_page.error_message_stripe_tax_not_active":"Nákup sa nepodaril, pretože Stripe Tax nie je povolený. V produkčnom prostredí budú nákupy fungovať bez uplatnenia daní.","error_page.error_only_in_sandbox":"Táto správa sa zobrazuje iba v testovacom prostredí (sandbox).","error_page.error_message_stripe_missing_required_permission":"Nákup sa nepodaril, pretože aplikácii Stripe chýba požadované povolenie. V produkčnom prostredí budú nákupy fungovať bez uplatnenia daní.","error_page.error_title_stripe_tax_not_active":"Stripe Tax nie je aktívny","error_page.error_title_stripe_invalid_tax_origin_address":"Neplatná adresa pôvodu dane","apple_pay.free_trial":"Skúšobná verzia zdarma","product_info.price_after_intro_price":"Po {{introPriceDuration}}, dňa {{renewalDate}}","product_info.after_trial":"po skúšobnej dobe","product_info.after":"po","product_info.intro_price_phase_after_trial":"Potom {{introPriceDuration}} za {{introPrice}}","product_info.intro_price_phase":"Najprv {{introPriceDuration}} za {{introPrice}}","product_info.intro_price_phase_paid_once":"zaplatené jednorazovo","payment_entry_page.trial_subscription_terms_info":"Po skončení skúšobného obdobia vám bude účtovaná suma {{price}} {{perFrequency}} počnúc dňom {{renewalDate}}. Pred týmto dátumom môžete kedykoľvek zrušiť.","payment_entry_page.subscription_info":"Predplatné sa automaticky obnovuje. Zrušiť môžete kedykoľvek.","payment_entry_page.otp_terms_info":"Zakúpením súhlasíte s tým, že spoločnosti {{appName}} umožníte účtovať vám poplatky v súlade s jej podmienkami.","payment_entry_page.terms_link_label":"Podmienky","payment_entry_page.subscription_terms_info":"Prihlásením na odber súhlasíte s tým, že spoločnosť {{appName}} vám bude účtovať poplatky podľa svojich podmienok, až kým odber nezrušíte.","loading_page.keep_page_open":"Proces sa takmer dokončil. Nechajte túto stránku otvorenú.","loading_page.processing_payment":"Spracováva sa platba","pricing_table.discount":"Zľava","pricing_table.subtotal":"Medzisúčet","pricing_dropdown.add_promo_code":"Pridať promo kód","discount_input.label":"Propagačný kód"},om={"periods.week":"{{amount}} teden","periods.month":"{{amount}} mesec","periods.year":"{{amount}} leto","periods.day":"{{amount}} dan","periods.weekShort":"{{amount}}ted","periods.monthShort":"{{amount}}mes","periods.yearShort":"{{amount}}l","periods.dayShort":"{{amount}}d","periods.lifetime":"doživljenjsko","periods.weekPlural":"{{amount}} tednov","periods.monthPlural":"{{amount}} mesecev","periods.yearPlural":"{{amount}} let","periods.dayPlural":"{{amount}} dni","periods.weekFrequency":"tedensko","periods.monthFrequency":"mesečno","periods.yearFrequency":"letno","periods.dayFrequency":"dnevno","periods.perWeekFrequency":"na teden","periods.perMonthFrequency":"na mesec","periods.perYearFrequency":"na leto","periods.perDayFrequency":"na dan","periods.unknownFrequency":"neznano","periods.weekFrequencyPlural":"vsakih {{amount}} tednov","periods.monthFrequencyPlural":"vsakih {{amount}} mesecev","periods.yearFrequencyPlural":"vsakih {{amount}} let","periods.dayFrequencyPlural":"vsakih {{amount}} dni","product_info.subscribe_to":"Naročite se na","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"Brezplačno preizkusite za {{trialDuration}}","product_info.price_after_free_trial":"Po koncu preizkusa, dne {{renewalDate}}","product_info.intro_price_phase_after_trial":"Nato {{introPriceDuration}} za {{introPrice}}","product_info.intro_price_phase":"Prvih {{introPriceDuration}} za {{introPrice}}","product_info.intro_price_phase_paid_once":"plačano enkrat","product_info.price_after_intro_price":"Po {{introPriceDuration}}, dne {{renewalDate}}","product_info.after_trial":"po preizkusu","product_info.after":"po","product_info.total_due_today":"Skupaj za plačilo danes","product_info.renewal_frequency":"Se obnovi {{frequency}}","product_info.continues_until_cancelled":"Traja do preklica","product_info.cancel_anytime":"Prekličete lahko kadar koli","payment_entry_page.payment_step_title":"Varno plačilo prek RevenueCat","payment_entry_page.trial_subscription_terms_info":"Po koncu preizkusnega obdobja vam bo zaračunano {{price}} {{perFrequency}} z začetkom {{renewalDate}}. Prekličete lahko kadar koli pred tem datumom.","payment_entry_page.subscription_terms_info":"Z naročnino se strinjate, da vam {{appName}} zaračunava v skladu s svojimi pogoji, dokler ne prekličete.","payment_entry_page.otp_terms_info":"Z nakupom se strinjate, da vam {{appName}} zaračuna v skladu s svojimi pogoji.","payment_entry_page.terms_link_label":"Pogoji","payment_entry_page.subscription_info":"Naročnina se samodejno obnavlja. Prekličete lahko kadar koli.","payment_entry_page.button_pay":"Plačaj zdaj","payment_entry_page.button_start_trial":"Začni preizkus","payment_entry_page.button_with_price":"Plačaj {{formattedPrice}}","payment_entry_page.button_payment_method":"Plačaj {{formattedPrice}} z {{paymentMethod}}","payment_entry_page.express_checkout_divider":"ALI PLAČAJTE S KARTICO","loading_page.processing_payment":"Obdelava plačila","loading_page.keep_page_open":"Postopek je skoraj končan. Pustite to stran odprto.","success_page.purchase_successful":"Plačilo zaključeno","success_page.button_close":"Nadaljuj","error_page.close_button_title":"Pojdi na {{appName}}","error_page.if_error_persists":"Če težava ne izgine, se obrnite na ","error_page.trouble_accessing":"Če imate težave z dostopom do svojega nakupa, se obrnite na podporo na ","error_page.error_title_already_subscribed":"Na {{productTitle}} ste že naročeni","error_page.error_title_already_purchased":"{{productTitle}} ste že kupili","error_page.error_title_other_errors":"Nekaj je šlo narobe","error_page.error_message_already_subscribed":"Na ta izdelek se ne morete ponovno naročiti.","error_page.error_message_already_purchased":"Tega izdelka ne morete ponovno kupiti.","error_page.error_title_stripe_tax_not_active":"Stripe Tax ni aktiven","error_page.error_title_stripe_invalid_tax_origin_address":"Neveljaven izvorni naslov za davek","error_page.error_title_stripe_missing_required_permission":"Manjka dovoljenje Stripe","error_page.error_message_missing_email_error":"Za dokončanje nakupa je potrebna e-pošta.","error_page.error_message_invalid_email_error":"E-poštnega naslova {{email}} ni bilo mogoče preveriti. Vnesite veljaven e-poštni naslov.","error_page.error_message_network_error":"Napaka omrežja. Preverite svojo internetno povezavo.","error_page.error_message_error_charging_payment":"Plačilo ni uspelo.","error_page.error_message_error_setting_up_purchase":"Nakup se ni začel zaradi napake (koda napake: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Vašega naslova za obračun nismo mogli preveriti. Preverite, ali sta poštna številka in država pravilni.","error_page.error_message_unknown_error":"Prišlo je do neznane napake (koda napake: {{errorCode}}).","error_page.error_message_stripe_tax_not_active":"Nakup ni uspel, ker Stripe Tax ni omogočen. V produkciji bodo nakupi delovali brez obračunanih davkov.","error_page.error_message_stripe_invalid_tax_origin_address":"Nakup ni uspel, ker je izvorni naslov za davek neveljaven. V produkciji bodo nakupi delovali brez obračunanih davkov.","error_page.error_message_stripe_missing_required_permission":"Nakup ni uspel, ker aplikaciji Stripe manjka zahtevano dovoljenje. V produkciji bodo nakupi delovali brez obračunanih davkov.","error_page.error_only_in_sandbox":"To sporočilo se prikaže samo v peskovniku (sandbox).","error_page.button_try_again":"Poskusi znova","error_page.button_close":"Zapri","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","pricing_dropdown.show_details":"Prikaži podrobnosti","pricing_dropdown.hide_details":"Skrij podrobnosti","pricing_dropdown.add_promo_code":"Dodaj promocijsko kodo","discount_input.label":"Promocijska koda","pricing_table.trial_ends":"Po koncu preizkusa, dne {{formattedTrialEndDate}}","pricing_table.total_excluding_tax":"Skupaj brez davka","pricing_table.total_due_today":"Skupaj za plačilo danes","pricing_table.subtotal":"Vmesni seštevek","pricing_table.discount":"Popust","pricing_table.tax":"Davek","pricing_table.enter_billing_address_to_calculate":"Vnesite naslov za obračun za izračun","pricing_table.enter_postal_code_to_calculate":"Vnesite poštno številko za izračun","pricing_table.enter_state_or_postal_code_to_calculate":"Vnesite regijo ali poštno številko za izračun","navbar_header.details":"Podrobnosti","navbar_header.back_button":"Nazaj","price_update.title":"Posodobitev cene","price_update.base_message":"Skupna cena je bila posodobljena z davkom glede na vaš naslov za obračun. Preglejte in poskusite znova. Vaša kartica bo bremenjena samo enkrat.","price_update.trial_message":"Cena naročnine je bila posodobljena, da vključuje davek glede na vaš naslov za obračun. Brezplačni preizkus še vedno velja. Preglejte in poskusite znova.","apple_pay.free_trial":"Brezplačni preizkus"},im={"periods.week":"{{amount}} vecka","periods.month":"{{amount}} månad","periods.year":"{{amount}} år","periods.day":"{{amount}} dag","periods.weekShort":"{{amount}}v","periods.monthShort":"{{amount}}mån","periods.yearShort":"{{amount}}år","periods.dayShort":"{{amount}}d","periods.lifetime":"livstid","periods.weekPlural":"{{amount}} veckor","periods.monthPlural":"{{amount}} månader","periods.yearPlural":"{{amount}} år","periods.dayPlural":"{{amount}} dagar","periods.weekFrequency":"veckovis","periods.monthFrequency":"månadsvis","periods.yearFrequency":"årligen","periods.dayFrequency":"dagligen","periods.perWeekFrequency":"per vecka","periods.perMonthFrequency":"per månad","periods.perYearFrequency":"per år","periods.perDayFrequency":"per dag","periods.unknownFrequency":"okänd","periods.weekFrequencyPlural":"varje {{amount}} veckor","periods.monthFrequencyPlural":"varje {{amount}} månader","periods.yearFrequencyPlural":"varje {{amount}} år","periods.dayFrequencyPlural":"varje {{amount}} dagar","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} gratis provperiod","product_info.price_after_free_trial":"Efter provperioden slutar, den {{renewalDate}}","product_info.renewal_frequency":"Förnyas {{frequency}}","product_info.continues_until_cancelled":"Gäller tills avbokad","product_info.cancel_anytime":"Avboka när som helst","payment_entry_page.payment_step_title":"Säker betalning via RevenueCat","payment_entry_page.button_pay":"Betala nu","payment_entry_page.button_start_trial":"Starta provperiod","success_page.purchase_successful":"Betalningen är klar","success_page.button_close":"Fortsätt","error_page.if_error_persists":"Om felet kvarstår, vänligen kontakta ","error_page.error_title_already_subscribed":"Du prenumererar redan på {{productTitle}}","error_page.error_title_already_purchased":"Du har redan köpt {{productTitle}}","error_page.error_title_other_errors":"Något gick fel","error_page.error_message_already_subscribed":"Du kan inte prenumerera på den här produkten igen.","error_page.error_message_already_purchased":"Du kan inte köpa den här produkten igen.","error_page.error_message_missing_email_error":"E-post krävs för att slutföra köpet.","error_page.error_message_network_error":"Nätverksfel. Kontrollera din internetanslutning.","error_page.error_message_error_charging_payment":"Betalningen misslyckades.","error_page.error_message_error_setting_up_purchase":"Köp kunde inte startas på grund av ett fel (felkod: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Vi kunde inte verifiera din faktureringsadress. Kontrollera att postnummer och land är korrekta.","error_page.error_message_unknown_error":"Ett okänt fel inträffade (felkod: {{errorCode}}).","error_page.button_try_again":"Försök igen","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}} ({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Totalt att betala idag","product_info.subscribe_to":"Prenumerera på","navbar_header.details":"Detaljer","navbar_header.back_button":"Tillbaka","pricing_dropdown.show_details":"Visa detaljer","pricing_dropdown.hide_details":"Dölj detaljer","pricing_table.tax":"Moms","pricing_table.trial_ends":"Efter provperiodens slut, den {{formattedTrialEndDate}}","pricing_table.total_due_today":"Total summa att betala idag","pricing_table.total_excluding_tax":"Totalt exklusive moms","pricing_table.enter_billing_address_to_calculate":"Ange faktureringsadress för att beräkna","pricing_table.enter_state_or_postal_code_to_calculate":"Ange delstat eller postnummer för att beräkna","pricing_table.enter_postal_code_to_calculate":"Ange postnummer för att beräkna","error_page.error_message_invalid_email_error":"E-postadressen {{email}} kunde inte verifieras. Ange en giltig e-postadress.","payment_entry_page.button_payment_method":"Betala {{formattedPrice}} med {{paymentMethod}}","payment_entry_page.button_with_price":"Betala {{formattedPrice}}","price_update.title":"Prisuppdatering","price_update.base_message":"Det totala priset har uppdaterats med moms baserat på din faktureringsadress. Granska och försök igen. Ditt kort kommer endast att debiteras en gång.","price_update.trial_message":"Prenumerationspriset har uppdaterats för att inkludera skatter baserat på din fakturaadress. Den kostnadsfria provperioden gäller fortfarande. Kontrollera och försök igen.","payment_entry_page.express_checkout_divider":"ELLER BETALA MED KORT","error_page.trouble_accessing":"Om du har problem med att komma åt ditt köp, kontakta support på ","error_page.close_button_title":"Gå till {{appName}}","error_page.error_title_stripe_missing_required_permission":"Saknar Stripe-behörighet","error_page.button_close":"Stäng","error_page.error_message_stripe_invalid_tax_origin_address":"Köpet misslyckades eftersom skatteursprungsadressen är ogiltig. I produktion kommer köp att fungera utan att skatter tillämpas.","error_page.error_message_stripe_tax_not_active":"Köpet misslyckades eftersom Stripe Tax inte är aktiverat. I produktion kommer köp att fungera utan att skatter tillämpas.","error_page.error_only_in_sandbox":"Det här meddelandet visas bara i sandlådan.","error_page.error_message_stripe_missing_required_permission":"Köpet misslyckades eftersom Stripe-appen saknar en nödvändig behörighet. I produktion kommer köp att fungera utan att skatter tillämpas.","error_page.error_title_stripe_tax_not_active":"Stripe Tax är inte aktivt","error_page.error_title_stripe_invalid_tax_origin_address":"Ogiltig skatteursprungsadress","apple_pay.free_trial":"Gratis provperiod","product_info.price_after_intro_price":"Efter {{introPriceDuration}}, den {{renewalDate}}","product_info.after_trial":"efter provperioden","product_info.after":"efter","product_info.intro_price_phase_after_trial":"Sedan {{introPriceDuration}} för {{introPrice}}","product_info.intro_price_phase":"Först {{introPriceDuration}} för {{introPrice}}","product_info.intro_price_phase_paid_once":"betalas en gång","payment_entry_page.trial_subscription_terms_info":"Efter att din provperiod slutar debiteras du {{price}} {{perFrequency}} från och med {{renewalDate}}. Du kan avbryta när som helst före detta datum.","payment_entry_page.subscription_info":"Prenumerationen förnyas automatiskt. Avbryt när som helst.","payment_entry_page.otp_terms_info":"Genom att köpa godkänner du att {{appName}} debiterar dig i enlighet med deras villkor.","payment_entry_page.terms_link_label":"Villkor","payment_entry_page.subscription_terms_info":"Genom att prenumerera godkänner du att {{appName}} debiterar dig i enlighet med deras villkor tills du avbryter.","loading_page.keep_page_open":"Processen är nästan klar. Håll den här sidan öppen.","loading_page.processing_payment":"Behandlar betalning","pricing_table.discount":"Rabatt","pricing_table.subtotal":"Delsumma","pricing_dropdown.add_promo_code":"Lägg till kampanjkod","discount_input.label":"Kampanjkod"},sm={"periods.week":"{{amount}} สัปดาห์","periods.month":"{{amount}} เดือน","periods.year":"{{amount}} ปี","periods.day":"{{amount}} วัน","periods.weekShort":"{{amount}} สัปดาห์","periods.monthShort":"{{amount}} เดือน","periods.yearShort":"{{amount}} ปี","periods.dayShort":"{{amount}} วัน","periods.lifetime":"ตลอดชีพ","periods.weekPlural":"{{amount}} สัปดาห์","periods.monthPlural":"{{amount}} เดือน","periods.yearPlural":"{{amount}} ปี","periods.dayPlural":"{{amount}} วัน","periods.weekFrequency":"รายสัปดาห์","periods.monthFrequency":"รายเดือน","periods.yearFrequency":"รายปี","periods.dayFrequency":"รายวัน","periods.perWeekFrequency":"ต่อสัปดาห์","periods.perMonthFrequency":"ต่อเดือน","periods.perYearFrequency":"ต่อปี","periods.perDayFrequency":"ต่อวัน","periods.unknownFrequency":"ไม่รู้จัก","periods.weekFrequencyPlural":"ทุกๆ {{amount}} สัปดาห์","periods.monthFrequencyPlural":"ทุกๆ {{amount}} เดือน","periods.yearFrequencyPlural":"ทุกๆ {{amount}} ปี","periods.dayFrequencyPlural":"ทุกๆ {{amount}} วัน","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} ทดลองใช้ฟรี","product_info.price_after_free_trial":"หลังจากสิ้นสุดการทดลองใช้ ในวันที่ {{renewalDate}}","product_info.renewal_frequency":"ต่ออายุ {{frequency}}","product_info.continues_until_cancelled":"ต่อเนื่องจนกว่าจะยกเลิก","product_info.cancel_anytime":"ยกเลิกได้ตลอดเวลา","payment_entry_page.payment_step_title":"การชำระเงินอย่างปลอดภัยโดย RevenueCat","payment_entry_page.button_pay":"ชำระเงินตอนนี้","payment_entry_page.button_start_trial":"เริ่มทดลองใช้","success_page.purchase_successful":"การชำระเงินเสร็จสมบูรณ์","success_page.button_close":"ดำเนินการต่อ","error_page.if_error_persists":"หากข้อผิดพลาดยังคงอยู่ โปรดติดต่อ ","error_page.error_title_already_subscribed":"คุณได้สมัครสมาชิก {{productTitle}} แล้ว","error_page.error_title_already_purchased":"คุณได้ซื้อ {{productTitle}} แล้ว","error_page.error_title_other_errors":"มีบางอย่างผิดพลาด","error_page.error_message_already_subscribed":"คุณไม่สามารถสมัครสมาชิกผลิตภัณฑ์นี้ได้อีก","error_page.error_message_already_purchased":"คุณไม่สามารถซื้อผลิตภัณฑ์นี้ได้อีก","error_page.error_message_missing_email_error":"ต้องใช้อีเมลเพื่อทำการซื้อให้เสร็จสมบูรณ์","error_page.error_message_network_error":"ข้อผิดพลาดของเครือข่าย โปรดตรวจสอบการเชื่อมต่ออินเทอร์เน็ตของคุณ","error_page.error_message_error_charging_payment":"การชำระเงินล้มเหลว","error_page.error_message_error_setting_up_purchase":"ไม่สามารถเริ่มการซื้อได้เนื่องจากข้อผิดพลาด (รหัสข้อผิดพลาด: {{errorCode}})","error_page.error_message_invalid_tax_location":"เราไม่สามารถยืนยันที่อยู่สำหรับออกใบแจ้งหนี้ของคุณได้ กรุณาตรวจสอบรหัสไปรษณีย์และประเทศให้ถูกต้อง","error_page.error_message_unknown_error":"เกิดข้อผิดพลาดที่ไม่รู้จัก (รหัสข้อผิดพลาด: {{errorCode}})","error_page.button_try_again":"ลองอีกครั้ง","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"ยอดรวมที่ต้องชำระวันนี้","product_info.subscribe_to":"สมัครสมาชิก","navbar_header.details":"รายละเอียด","navbar_header.back_button":"ย้อนกลับ","pricing_dropdown.show_details":"แสดงรายละเอียด","pricing_dropdown.hide_details":"ซ่อนรายละเอียด","pricing_table.tax":"ภาษี","pricing_table.trial_ends":"หลังจากช่วงทดลองใช้สิ้นสุด ในวันที่ {{formattedTrialEndDate}}","pricing_table.total_due_today":"ยอดรวมที่ต้องชำระวันนี้","pricing_table.total_excluding_tax":"ราคารวมก่อนภาษี","pricing_table.enter_billing_address_to_calculate":"กรุณากรอกที่อยู่สำหรับเรียกเก็บเงินเพื่อคำนวณ","pricing_table.enter_state_or_postal_code_to_calculate":"ใส่รัฐหรือรหัสไปรษณีย์เพื่อคำนวณ","pricing_table.enter_postal_code_to_calculate":"ใส่รหัสไปรษณีย์เพื่อคำนวณ","error_page.error_message_invalid_email_error":"ไม่สามารถยืนยันที่อยู่อีเมล {{email}} ได้ โปรดระบุที่อยู่อีเมลที่ถูกต้อง","payment_entry_page.button_payment_method":"ชำระเงิน {{formattedPrice}} ด้วย {{paymentMethod}}","payment_entry_page.button_with_price":"ชำระเงิน {{formattedPrice}}","price_update.title":"อัปเดตราคา","price_update.base_message":"ราคารวมได้รับการอัปเดตพร้อมภาษีตามที่อยู่สำหรับการเรียกเก็บเงินของคุณ โปรดตรวจสอบและลองอีกครั้ง บัตรของคุณจะถูกเรียกเก็บเงินเพียงครั้งเดียวเท่านั้น","price_update.trial_message":"ราคาการสมัครสมาชิกได้รับการอัปเดตเพื่อรวมภาษีตามที่อยู่สำหรับการเรียกเก็บเงินของคุณ ระยะเวลาทดลองใช้ฟรียังคงมีผล โปรดตรวจสอบและลองอีกครั้ง","payment_entry_page.express_checkout_divider":"หรือชำระด้วยบัตร","error_page.trouble_accessing":"หากคุณมีปัญหาในการเข้าถึงการซื้อ โปรดติดต่อฝ่ายสนับสนุนที่ ","error_page.close_button_title":"ไปที่ {{appName}}","error_page.error_title_stripe_missing_required_permission":"ขาดสิทธิ์ Stripe ที่จำเป็น","error_page.button_close":"ปิด","error_page.error_message_stripe_invalid_tax_origin_address":"การซื้อล้มเหลวเนื่องจากที่อยู่ต้นทางภาษีไม่ถูกต้อง ในสภาพแวดล้อมจริง การซื้อจะทำงานได้โดยไม่มีการเรียกเก็บภาษี","error_page.error_message_stripe_tax_not_active":"การซื้อล้มเหลวเนื่องจากไม่ได้เปิดใช้งาน Stripe Tax ในสภาพแวดล้อมจริง การซื้อจะทำงานได้โดยไม่มีการเรียกเก็บภาษี","error_page.error_only_in_sandbox":"ข้อความนี้จะปรากฏเฉพาะใน sandbox เท่านั้น","error_page.error_message_stripe_missing_required_permission":"การซื้อล้มเหลวเนื่องจากแอป Stripe ขาดสิทธิ์ที่จำเป็น ในสภาพแวดล้อมจริง การซื้อจะทำงานได้โดยไม่มีการเรียกเก็บภาษี","error_page.error_title_stripe_tax_not_active":"Stripe Tax ไม่เปิดใช้งาน","error_page.error_title_stripe_invalid_tax_origin_address":"ที่อยู่ต้นทางภาษีไม่ถูกต้อง","apple_pay.free_trial":"ทดลองใช้ฟรี","product_info.price_after_intro_price":"หลังจาก {{introPriceDuration}} ในวันที่ {{renewalDate}}","product_info.after_trial":"หลังช่วงทดลองใช้","product_info.after":"หลังจาก","product_info.intro_price_phase_after_trial":"จากนั้น {{introPriceDuration}} ในราคา {{introPrice}}","product_info.intro_price_phase":"ช่วงแรก {{introPriceDuration}} ในราคา {{introPrice}}","product_info.intro_price_phase_paid_once":"ชำระครั้งเดียว","payment_entry_page.trial_subscription_terms_info":"หลังจากช่วงทดลองใช้ของคุณสิ้นสุดลง คุณจะถูกเรียกเก็บเงิน {{price}} {{perFrequency}} เริ่มตั้งแต่วันที่ {{renewalDate}} คุณสามารถยกเลิกได้ตลอดเวลาก่อนวันดังกล่าว","payment_entry_page.subscription_info":"การสมัครรับข้อมูลจะต่ออายุโดยอัตโนมัติ ยกเลิกได้ตลอดเวลา","payment_entry_page.otp_terms_info":"เมื่อทำการซื้อ คุณตกลงที่จะอนุญาตให้ {{appName}} เรียกเก็บเงินจากคุณตามข้อกำหนดของพวกเขา","payment_entry_page.terms_link_label":"ข้อกำหนด","payment_entry_page.subscription_terms_info":"เมื่อสมัครรับข้อมูล แสดงว่าคุณยินยอมให้ {{appName}} เรียกเก็บเงินจากคุณตามข้อกำหนดจนกว่าคุณจะยกเลิก","loading_page.keep_page_open":"กระบวนการเกือบเสร็จสมบูรณ์แล้ว โปรดเปิดหน้านี้ไว้","loading_page.processing_payment":"กำลังดำเนินการชำระเงิน","pricing_table.discount":"ส่วนลด","pricing_table.subtotal":"ราคารวมย่อย","pricing_dropdown.add_promo_code":"เพิ่มรหัสโปรโมชั่น","discount_input.label":"รหัสโปรโมชั่น"},lm={"periods.week":"{{amount}} hafta","periods.month":"{{amount}} ay","periods.year":"{{amount}} yıl","periods.day":"{{amount}} gün","periods.weekShort":"{{amount}}hf","periods.monthShort":"{{amount}}ay","periods.yearShort":"{{amount}}yl","periods.dayShort":"{{amount}}g","periods.lifetime":"ömür boyu","periods.weekPlural":"{{amount}} hafta","periods.monthPlural":"{{amount}} ay","periods.yearPlural":"{{amount}} yıl","periods.dayPlural":"{{amount}} gün","periods.weekFrequency":"haftalık","periods.monthFrequency":"aylık","periods.yearFrequency":"yıllık","periods.dayFrequency":"günlük","periods.perWeekFrequency":"haftada","periods.perMonthFrequency":"ayda","periods.perYearFrequency":"yılda","periods.perDayFrequency":"günde","periods.unknownFrequency":"bilinmiyor","periods.weekFrequencyPlural":"her {{amount}} haftada","periods.monthFrequencyPlural":"her {{amount}} ayda","periods.yearFrequencyPlural":"her {{amount}} yılda","periods.dayFrequencyPlural":"her {{amount}} günde","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} ücretsiz deneme","product_info.price_after_free_trial":"Deneme süresi sona erdiğinde, {{renewalDate}} tarihinde","product_info.renewal_frequency":"{{frequency}} sıklığında yenilenir","product_info.continues_until_cancelled":"İptal edilene kadar devam eder","product_info.cancel_anytime":"İstediğiniz zaman iptal edebilirsiniz","payment_entry_page.payment_step_title":"RevenueCat ile güvenli ödeme","payment_entry_page.button_pay":"Şimdi öde","payment_entry_page.button_start_trial":"Denemeyi başlat","success_page.purchase_successful":"Ödeme tamamlandı","success_page.button_close":"Devam et","error_page.if_error_persists":"Hata devam ederse lütfen iletişime geçin ","error_page.error_title_already_subscribed":"{{productTitle}} ürününe zaten abone oldunuz","error_page.error_title_already_purchased":"{{productTitle}} ürününü zaten satın aldınız","error_page.error_title_other_errors":"Bir şeyler ters gitti","error_page.error_message_already_subscribed":"Bu ürüne tekrar abone olamazsınız.","error_page.error_message_already_purchased":"Bu ürünü tekrar satın alamazsınız.","error_page.error_message_missing_email_error":"Satın almayı tamamlamak için e-posta gereklidir.","error_page.error_message_network_error":"Ağ hatası. Lütfen internet bağlantınızı kontrol edin.","error_page.error_message_error_charging_payment":"Ödeme başarısız oldu.","error_page.error_message_error_setting_up_purchase":"Bir hata nedeniyle satın alma başlatılamadı (hata kodu: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Fatura adresinizi doğrulayamadık. Lütfen posta kodu ve ülkenin doğru olduğunu kontrol edin.","error_page.error_message_unknown_error":"Bilinmeyen bir hata oluştu (hata kodu: {{errorCode}}).","error_page.button_try_again":"Tekrar dene","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Bugün ödenecek toplam tutar","product_info.subscribe_to":"Abone Ol","navbar_header.details":"Detaylar","navbar_header.back_button":"Geri","pricing_dropdown.show_details":"Detayları göster","pricing_dropdown.hide_details":"Detayları gizle","pricing_table.tax":"Vergi","pricing_table.trial_ends":"Deneme süresi sona erdikten sonra, {{formattedTrialEndDate}} tarihinde","pricing_table.total_due_today":"Bugün ödenecek toplam","pricing_table.total_excluding_tax":"Vergi hariç toplam","pricing_table.enter_billing_address_to_calculate":"Hesaplamak için fatura adresini girin","pricing_table.enter_state_or_postal_code_to_calculate":"Hesaplamak için eyalet veya posta kodunu girin","pricing_table.enter_postal_code_to_calculate":"Hesaplamak için posta kodunu girin","error_page.error_message_invalid_email_error":"{{email}} e-posta adresi doğrulanamadı. Lütfen geçerli bir e-posta adresi girin.","payment_entry_page.button_payment_method":"{{paymentMethod}} ile {{formattedPrice}} öde","payment_entry_page.button_with_price":"{{formattedPrice}} öde","price_update.title":"Fiyat güncellemesi","price_update.base_message":"Toplam fiyat, fatura adresinize göre vergi dahil olacak şekilde güncellendi. Lütfen inceleyip tekrar deneyin. Kartınızdan yalnızca bir kez ücret alınacaktır.","price_update.trial_message":"Abonelik fiyatı, fatura adresinize göre vergileri içerecek şekilde güncellendi. Ücretsiz deneme süresi hala geçerli. Lütfen kontrol edin ve tekrar deneyin.","payment_entry_page.express_checkout_divider":"VEYA KARTLA ÖDEYİN","error_page.trouble_accessing":"Satın alımınıza erişmekte sorun yaşıyorsanız, şu adresten destek ekibine ulaşın: ","error_page.close_button_title":"{{appName}}'e Git","error_page.error_title_stripe_missing_required_permission":"Eksik Stripe izni","error_page.button_close":"Kapat","error_page.error_message_stripe_invalid_tax_origin_address":"Vergi başlangıç adresi geçersiz olduğu için satın alma başarısız oldu. Üretimde, satın alımlar vergi uygulanmadan çalışacaktır.","error_page.error_message_stripe_tax_not_active":"Stripe Vergi etkinleştirilmediği için satın alma başarısız oldu. Üretimde, satın alımlar vergi uygulanmadan çalışacaktır.","error_page.error_only_in_sandbox":"Bu mesaj yalnızca sanal ortamda görünür.","error_page.error_message_stripe_missing_required_permission":"Stripe uygulamasında gerekli bir izin eksik olduğu için satın alma başarısız oldu. Üretimde, satın alımlar vergi uygulanmadan çalışacaktır.","error_page.error_title_stripe_tax_not_active":"Stripe Vergi aktif değil","error_page.error_title_stripe_invalid_tax_origin_address":"Geçersiz vergi başlangıç adresi","apple_pay.free_trial":"Ücretsiz Deneme","product_info.price_after_intro_price":"{{introPriceDuration}} sonra, {{renewalDate}} tarihinde","product_info.after_trial":"deneme süresinden sonra","product_info.after":"sonra","product_info.intro_price_phase_after_trial":"Sonra {{introPriceDuration}} boyunca {{introPrice}}","product_info.intro_price_phase":"İlk {{introPriceDuration}} boyunca {{introPrice}}","product_info.intro_price_phase_paid_once":"bir defaya mahsus ödenir","payment_entry_page.trial_subscription_terms_info":"Deneme süreniz sona erdikten sonra, {{renewalDate}} tarihinden itibaren {{price}} {{perFrequency}} ücretlendirileceksiniz. Bu tarihten önce istediğiniz zaman iptal edebilirsiniz.","payment_entry_page.subscription_info":"Abonelik otomatik olarak yenilenir. İstediğiniz zaman iptal edin.","payment_entry_page.otp_terms_info":"Satın alarak, {{appName}}'in sizi şartlarına göre ücretlendirmesine izin vermeyi kabul edersiniz.","payment_entry_page.terms_link_label":"Koşullar","payment_entry_page.subscription_terms_info":"Abone olarak, iptal edene kadar {{appName}}'in sizi şartlarına göre ücretlendirmesine izin vermeyi kabul edersiniz.","loading_page.keep_page_open":"İşlem neredeyse tamamlandı. Bu sayfayı açık tutun.","loading_page.processing_payment":"Ödeme işleniyor","pricing_table.discount":"İndirim","pricing_table.subtotal":"Ara Toplam","pricing_dropdown.add_promo_code":"kupon kodu ekle","discount_input.label":"Promosyon kodu"},cm={"periods.week":"{{amount}} тиждень","periods.month":"{{amount}} місяць","periods.year":"{{amount}} рік","periods.day":"{{amount}} день","periods.weekShort":"{{amount}}тиж","periods.monthShort":"{{amount}}міс","periods.yearShort":"{{amount}}рік","periods.dayShort":"{{amount}}дн","periods.lifetime":"пожиттєво","periods.weekPlural":"{{amount}} тижнів","periods.monthPlural":"{{amount}} місяців","periods.yearPlural":"{{amount}} років","periods.dayPlural":"{{amount}} днів","periods.weekFrequency":"щотижня","periods.monthFrequency":"щомісяця","periods.yearFrequency":"щороку","periods.dayFrequency":"щодня","periods.perWeekFrequency":"на тиждень","periods.perMonthFrequency":"на місяць","periods.perYearFrequency":"на рік","periods.perDayFrequency":"на день","periods.unknownFrequency":"невідомо","periods.weekFrequencyPlural":"кожні {{amount}} тижнів","periods.monthFrequencyPlural":"кожні {{amount}} місяців","periods.yearFrequencyPlural":"кожні {{amount}} років","periods.dayFrequencyPlural":"кожні {{amount}} днів","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} безкоштовний пробний період","product_info.price_after_free_trial":"Після закінчення пробного періоду, {{renewalDate}}","product_info.renewal_frequency":"Продовжується {{frequency}}","product_info.continues_until_cancelled":"Триває до скасування","product_info.cancel_anytime":"Можна скасувати в будь-який час","payment_entry_page.payment_step_title":"Безпечна оплата через RevenueCat","payment_entry_page.button_pay":"Оплатити зараз","payment_entry_page.button_start_trial":"Розпочати пробний період","success_page.purchase_successful":"Оплата завершена","success_page.button_close":"Продовжити","error_page.if_error_persists":"Якщо помилка повторюється, зверніться до ","error_page.error_title_already_subscribed":"Ви вже підписалися на {{productTitle}}","error_page.error_title_already_purchased":"Ви вже придбали {{productTitle}}","error_page.error_title_other_errors":"Щось пішло не так","error_page.error_message_already_subscribed":"Ви не можете підписатися на цей продукт знову.","error_page.error_message_already_purchased":"Ви не можете придбати цей продукт знову.","error_page.error_message_missing_email_error":"Для завершення покупки потрібна електронна пошта.","error_page.error_message_network_error":"Помилка мережі. Перевірте підключення до інтернету.","error_page.error_message_error_charging_payment":"Оплата не пройшла.","error_page.error_message_error_setting_up_purchase":"Помилка при ініціалізації покупки (код помилки: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Ми не змогли перевірити вашу платіжну адресу. Будь ласка, перевірте, чи правильні поштовий індекс та країна.","error_page.error_message_unknown_error":"Сталася невідома помилка (код помилки: {{errorCode}}).","error_page.button_try_again":"Спробувати ще раз","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Всього до сплати сьогодні","product_info.subscribe_to":"Підписатися на","navbar_header.details":"Деталі","navbar_header.back_button":"Назад","pricing_dropdown.show_details":"Показати деталі","pricing_dropdown.hide_details":"Приховати деталі","pricing_table.tax":"Податок","pricing_table.trial_ends":"Після закінчення пробного періоду, {{formattedTrialEndDate}}","pricing_table.total_due_today":"Загальна сума до сплати сьогодні","pricing_table.total_excluding_tax":"Загальна сума без урахування податку","pricing_table.enter_billing_address_to_calculate":"Введіть адресу виставлення рахунку для розрахунку","pricing_table.enter_state_or_postal_code_to_calculate":"Введіть штат або поштовий індекс для розрахунку","pricing_table.enter_postal_code_to_calculate":"Введіть поштовий індекс для розрахунку","error_page.error_message_invalid_email_error":"Електронну адресу {{email}} не вдалося підтвердити. Будь ласка, вкажіть дійсну електронну адресу.","payment_entry_page.button_payment_method":"Сплатити {{formattedPrice}} за допомогою {{paymentMethod}}","payment_entry_page.button_with_price":"Сплатити {{formattedPrice}}","price_update.title":"Оновлення ціни","price_update.base_message":"Загальну ціну було оновлено з урахуванням податку на основі вашої платіжної адреси. Перегляньте та спробуйте ще раз. З вашої картки буде списано кошти лише один раз.","price_update.trial_message":"Ціна підписки була оновлена для включення податків на основі вашої платіжної адреси. Безкоштовний пробний період все ще діє. Будь ласка, перевірте та спробуйте ще раз.","payment_entry_page.express_checkout_divider":"АБО СПЛАТІТЬ КАРТКОЮ","error_page.trouble_accessing":"Якщо у вас виникли проблеми з доступом до вашої покупки, зверніться до служби підтримки за адресою ","error_page.close_button_title":"Перейти до {{appName}}","error_page.error_title_stripe_missing_required_permission":"Відсутній дозвіл Stripe","error_page.button_close":"Закрити","error_page.error_message_stripe_invalid_tax_origin_address":"Покупка не вдалася, оскільки адреса походження податку недійсна. У виробництві покупки працюватимуть без застосування податків.","error_page.error_message_stripe_tax_not_active":"Покупка не вдалася, оскільки Stripe Tax не ввімкнено. У виробництві покупки працюватимуть без застосування податків.","error_page.error_only_in_sandbox":"Це повідомлення з’являється лише в пісочниці.","error_page.error_message_stripe_missing_required_permission":"Покупка не вдалася, оскільки програмі Stripe не вистачає необхідного дозволу. У виробництві покупки працюватимуть без застосування податків.","error_page.error_title_stripe_tax_not_active":"Stripe Tax не активовано","error_page.error_title_stripe_invalid_tax_origin_address":"Недійсна адреса походження податку","apple_pay.free_trial":"Безкоштовна пробна версія","product_info.price_after_intro_price":"Після {{introPriceDuration}}, {{renewalDate}}","product_info.after_trial":"після пробного періоду","product_info.after":"після","product_info.intro_price_phase_after_trial":"Потім {{introPriceDuration}} за {{introPrice}}","product_info.intro_price_phase":"Спочатку {{introPriceDuration}} за {{introPrice}}","product_info.intro_price_phase_paid_once":"сплачено один раз","payment_entry_page.trial_subscription_terms_info":"Після закінчення пробного періоду з вас буде стягуватися плата в розмірі {{price}} {{perFrequency}} починаючи з {{renewalDate}}. Ви можете скасувати підписку в будь-який час до цієї дати.","payment_entry_page.subscription_info":"Підписка поновлюється автоматично. Скасувати можна в будь-який час.","payment_entry_page.otp_terms_info":"Купуючи, ви погоджуєтеся дозволити {{appName}} стягувати з вас плату відповідно до їхніх умов.","payment_entry_page.terms_link_label":"Умови","payment_entry_page.subscription_terms_info":"Підписуючись, ви погоджуєтеся дозволити {{appName}} стягувати з вас плату відповідно до їхніх умов, поки ви не скасуєте підписку.","loading_page.keep_page_open":"Процес майже завершено. Залиште цю сторінку відкритою.","loading_page.processing_payment":"Обробка платежу","pricing_table.discount":"Знижка","pricing_table.subtotal":"Сума до сплати","pricing_dropdown.add_promo_code":"Додати промокод","discount_input.label":"Промокод"},um={"periods.week":"{{amount}} tuần","periods.month":"{{amount}} tháng","periods.year":"{{amount}} năm","periods.day":"{{amount}} ngày","periods.weekShort":"{{amount}}tuần","periods.monthShort":"{{amount}}tháng","periods.yearShort":"{{amount}}năm","periods.dayShort":"{{amount}}ngày","periods.lifetime":"trọn đời","periods.weekPlural":"{{amount}} tuần","periods.monthPlural":"{{amount}} tháng","periods.yearPlural":"{{amount}} năm","periods.dayPlural":"{{amount}} ngày","periods.weekFrequency":"hàng tuần","periods.monthFrequency":"hàng tháng","periods.yearFrequency":"hàng năm","periods.dayFrequency":"hàng ngày","periods.perWeekFrequency":"mỗi tuần","periods.perMonthFrequency":"mỗi tháng","periods.perYearFrequency":"mỗi năm","periods.perDayFrequency":"mỗi ngày","periods.unknownFrequency":"không xác định","periods.weekFrequencyPlural":"cứ {{amount}} tuần","periods.monthFrequencyPlural":"cứ {{amount}} tháng","periods.yearFrequencyPlural":"cứ {{amount}} năm","periods.dayFrequencyPlural":"cứ {{amount}} ngày","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} dùng thử miễn phí","product_info.price_after_free_trial":"Sau khi dùng thử kết thúc, vào {{renewalDate}}","product_info.renewal_frequency":"Gia hạn {{frequency}}","product_info.continues_until_cancelled":"Tiếp tục cho đến khi hủy","product_info.cancel_anytime":"Hủy bất cứ lúc nào","payment_entry_page.payment_step_title":"Thanh toán an toàn bởi RevenueCat","payment_entry_page.button_pay":"Thanh toán ngay","payment_entry_page.button_start_trial":"Bắt đầu dùng thử","success_page.purchase_successful":"Thanh toán hoàn tất","success_page.button_close":"Tiếp tục","error_page.if_error_persists":"Nếu lỗi vẫn tiếp diễn, vui lòng liên hệ ","error_page.error_title_already_subscribed":"Bạn đã đăng ký {{productTitle}} rồi","error_page.error_title_already_purchased":"Bạn đã mua {{productTitle}} rồi","error_page.error_title_other_errors":"Có lỗi xảy ra","error_page.error_message_already_subscribed":"Bạn không thể đăng ký sản phẩm này lần nữa.","error_page.error_message_already_purchased":"Bạn không thể mua sản phẩm này lần nữa.","error_page.error_message_missing_email_error":"Email bắt buộc để hoàn tất việc mua hàng.","error_page.error_message_network_error":"Lỗi mạng. Vui lòng kiểm tra kết nối internet của bạn.","error_page.error_message_error_charging_payment":"Thanh toán thất bại.","error_page.error_message_error_setting_up_purchase":"Không thể bắt đầu mua do lỗi (mã lỗi: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Chúng tôi không thể xác minh địa chỉ thanh toán của bạn. Vui lòng kiểm tra lại mã bưu điện và quốc gia.","error_page.error_message_unknown_error":"Đã xảy ra lỗi không xác định (mã lỗi: {{errorCode}}).","error_page.button_try_again":"Thử lại","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Tổng số tiền phải trả hôm nay","product_info.subscribe_to":"Đăng ký","navbar_header.details":"Chi tiết","navbar_header.back_button":"Quay lại","pricing_dropdown.show_details":"Xem chi tiết","pricing_dropdown.hide_details":"Ẩn chi tiết","pricing_table.tax":"Thuế","pricing_table.trial_ends":"Sau khi thời gian dùng thử kết thúc, vào {{formattedTrialEndDate}}","pricing_table.total_due_today":"Tổng số tiền phải trả hôm nay","pricing_table.total_excluding_tax":"Tổng cộng chưa bao gồm thuế","pricing_table.enter_billing_address_to_calculate":"Nhập địa chỉ thanh toán để tính toán","pricing_table.enter_state_or_postal_code_to_calculate":"Nhập tiểu bang hoặc mã bưu điện để tính toán","pricing_table.enter_postal_code_to_calculate":"Nhập mã bưu điện để tính toán","error_page.error_message_invalid_email_error":"Không thể xác minh địa chỉ email {{email}}. Vui lòng cung cấp một địa chỉ email hợp lệ.","payment_entry_page.button_payment_method":"Thanh toán {{formattedPrice}} bằng {{paymentMethod}}","payment_entry_page.button_with_price":"Thanh toán {{formattedPrice}}","price_update.title":"Cập nhật giá","price_update.base_message":"Tổng giá đã được cập nhật với thuế dựa trên địa chỉ thanh toán của bạn. Vui lòng xem lại và thử lại. Thẻ của bạn sẽ chỉ bị tính phí một lần.","price_update.trial_message":"Giá đăng ký đã được cập nhật để bao gồm thuế dựa trên địa chỉ thanh toán của bạn. Thời gian dùng thử miễn phí vẫn được áp dụng. Vui lòng kiểm tra và thử lại.","payment_entry_page.express_checkout_divider":"HOẶC THANH TOÁN BẰNG THẺ","error_page.trouble_accessing":"Nếu bạn gặp sự cố khi truy cập giao dịch mua của mình, hãy liên hệ với bộ phận hỗ trợ theo địa chỉ ","error_page.close_button_title":"Đi đến {{appName}}","error_page.error_title_stripe_missing_required_permission":"Thiếu quyền Stripe","error_page.button_close":"Đóng","error_page.error_message_stripe_invalid_tax_origin_address":"Giao dịch mua không thành công vì địa chỉ gốc thuế không hợp lệ. Trong môi trường thực tế, giao dịch mua sẽ hoạt động mà không áp dụng thuế.","error_page.error_message_stripe_tax_not_active":"Giao dịch mua không thành công vì Thuế Stripe chưa được bật. Trong môi trường thực tế, giao dịch mua sẽ hoạt động mà không áp dụng thuế.","error_page.error_only_in_sandbox":"Thông báo này chỉ xuất hiện trong môi trường thử nghiệm.","error_page.error_message_stripe_missing_required_permission":"Giao dịch mua không thành công vì ứng dụng Stripe thiếu một quyền cần thiết. Trong môi trường thực tế, giao dịch mua sẽ hoạt động mà không áp dụng thuế.","error_page.error_title_stripe_tax_not_active":"Thuế Stripe chưa hoạt động","error_page.error_title_stripe_invalid_tax_origin_address":"Địa chỉ gốc thuế không hợp lệ","apple_pay.free_trial":"Dùng thử miễn phí","product_info.price_after_intro_price":"Sau {{introPriceDuration}}, vào {{renewalDate}}","product_info.after_trial":"sau khi dùng thử","product_info.after":"sau","product_info.intro_price_phase_after_trial":"Sau đó {{introPriceDuration}} với giá {{introPrice}}","product_info.intro_price_phase":"{{introPriceDuration}} đầu tiên với giá {{introPrice}}","product_info.intro_price_phase_paid_once":"trả một lần","payment_entry_page.trial_subscription_terms_info":"Sau khi thời gian dùng thử của bạn kết thúc, bạn sẽ bị tính phí {{price}} {{perFrequency}} bắt đầu từ {{renewalDate}}. Bạn có thể hủy bất cứ lúc nào trước ngày này.","payment_entry_page.subscription_info":"Gói đăng ký tự động gia hạn. Hủy bất cứ lúc nào.","payment_entry_page.otp_terms_info":"Bằng cách mua, bạn đồng ý cho phép {{appName}} tính phí bạn theo các điều khoản của họ.","payment_entry_page.terms_link_label":"Điều khoản","payment_entry_page.subscription_terms_info":"Bằng cách đăng ký, bạn đồng ý cho phép {{appName}} tính phí bạn theo các điều khoản của họ cho đến khi bạn hủy.","loading_page.keep_page_open":"Quá trình gần hoàn tất. Vui lòng giữ trang này mở.","loading_page.processing_payment":"Đang xử lý thanh toán","pricing_table.discount":"Giảm giá","pricing_table.subtotal":"Tổng cộng","pricing_dropdown.add_promo_code":"Thêm mã khuyến mãi","discount_input.label":"Mã khuyến mãi"};var ie=(r=>(r.PeriodsWeek="periods.week",r.PeriodsMonth="periods.month",r.PeriodsYear="periods.year",r.PeriodsDay="periods.day",r.PeriodsWeekShort="periods.weekShort",r.PeriodsMonthShort="periods.monthShort",r.PeriodsYearShort="periods.yearShort",r.PeriodsDayShort="periods.dayShort",r.PeriodsLifetime="periods.lifetime",r.PeriodsWeekPlural="periods.weekPlural",r.PeriodsMonthPlural="periods.monthPlural",r.PeriodsYearPlural="periods.yearPlural",r.PeriodsDayPlural="periods.dayPlural",r.PeriodsWeekFrequency="periods.weekFrequency",r.PeriodsMonthFrequency="periods.monthFrequency",r.PeriodsYearFrequency="periods.yearFrequency",r.PeriodsDayFrequency="periods.dayFrequency",r.PeriodsPerWeekFrequency="periods.perWeekFrequency",r.PeriodsPerMonthFrequency="periods.perMonthFrequency",r.PeriodsPerYearFrequency="periods.perYearFrequency",r.PeriodsPerDayFrequency="periods.perDayFrequency",r.PeriodsUnknownFrequency="periods.unknownFrequency",r.PeriodsWeekFrequencyPlural="periods.weekFrequencyPlural",r.PeriodsMonthFrequencyPlural="periods.monthFrequencyPlural",r.PeriodsYearFrequencyPlural="periods.yearFrequencyPlural",r.PeriodsDayFrequencyPlural="periods.dayFrequencyPlural",r.ProductInfoProductTitle="product_info.product_title",r.ProductInfoProductDescription="product_info.product_description",r.ProductInfoProductPrice="product_info.product_price",r.ProductInfoFreeTrialDuration="product_info.free_trial_duration",r.ProductInfoPriceAfterFreeTrial="product_info.price_after_free_trial",r.ProductInfoIntroPricePhaseAfterTrial="product_info.intro_price_phase_after_trial",r.ProductInfoIntroPricePhasePaidOnce="product_info.intro_price_phase_paid_once",r.ProductInfoIntroPricePhase="product_info.intro_price_phase",r.ProductInfoPriceAfterIntroPrice="product_info.price_after_intro_price",r.ProductInfoAfterTrial="product_info.after_trial",r.ProductInfoAfter="product_info.after",r.ProductInfoPriceTotalDueToday="product_info.total_due_today",r.ProductInfoSubscribeTo="product_info.subscribe_to",r.ProductInfoRenewalFrequency="product_info.renewal_frequency",r.ProductInfoContinuesUntilCancelled="product_info.continues_until_cancelled",r.ProductInfoCancelAnytime="product_info.cancel_anytime",r.PaymentEntryPagePaymentStepTitle="payment_entry_page.payment_step_title",r.PaymentEntryPageTrialSubscriptionTermsInfo="payment_entry_page.trial_subscription_terms_info",r.PaymentEntryPageSubscriptionTermsInfo="payment_entry_page.subscription_terms_info",r.PaymentEntryPageOtpTermsInfo="payment_entry_page.otp_terms_info",r.PaymentEntryPageTermsLinkLabel="payment_entry_page.terms_link_label",r.PaymentEntryPageSubscriptionInfo="payment_entry_page.subscription_info",r.PaymentEntryPageButtonPay="payment_entry_page.button_pay",r.PaymentEntryPageButtonStartTrial="payment_entry_page.button_start_trial",r.PaymentEntryPageButtonWithPrice="payment_entry_page.button_with_price",r.PaymentEntryPageButtonPaymentMethod="payment_entry_page.button_payment_method",r.PaymentEntryPageExpressCheckoutDivider="payment_entry_page.express_checkout_divider",r.SuccessPagePurchaseSuccessful="success_page.purchase_successful",r.SuccessPageButtonClose="success_page.button_close",r.LoadingPageProcessingPayment="loading_page.processing_payment",r.LoadingPageKeepPageOpen="loading_page.keep_page_open",r.ErrorPageCloseButtonTitle="error_page.close_button_title",r.ErrorPageIfErrorPersists="error_page.if_error_persists",r.ErrorPageTroubleAccessing="error_page.trouble_accessing",r.ErrorPageErrorTitleAlreadySubscribed="error_page.error_title_already_subscribed",r.ErrorPageErrorTitleAlreadyPurchased="error_page.error_title_already_purchased",r.ErrorPageErrorTitleOtherErrors="error_page.error_title_other_errors",r.ErrorPageErrorTitleStripeTaxNotActive="error_page.error_title_stripe_tax_not_active",r.ErrorPageErrorTitleStripeInvalidTaxOriginAddress="error_page.error_title_stripe_invalid_tax_origin_address",r.ErrorPageErrorTitleStripeMissingRequiredPermission="error_page.error_title_stripe_missing_required_permission",r.ErrorPageErrorMessageAlreadySubscribed="error_page.error_message_already_subscribed",r.ErrorPageErrorMessageAlreadyPurchased="error_page.error_message_already_purchased",r.ErrorPageErrorMessageMissingEmailError="error_page.error_message_missing_email_error",r.ErrorPageErrorMessageInvalidEmailError="error_page.error_message_invalid_email_error",r.ErrorPageErrorMessageNetworkError="error_page.error_message_network_error",r.ErrorPageErrorMessageErrorChargingPayment="error_page.error_message_error_charging_payment",r.ErrorPageErrorMessageErrorSettingUpPurchase="error_page.error_message_error_setting_up_purchase",r.ErrorPageErrorMessageUnknownError="error_page.error_message_unknown_error",r.ErrorPageErrorMessageInvalidTaxLocation="error_page.error_message_invalid_tax_location",r.ErrorPageErrorMessageStripeTaxNotActive="error_page.error_message_stripe_tax_not_active",r.ErrorPageErrorMessageStripeInvalidTaxOriginAddress="error_page.error_message_stripe_invalid_tax_origin_address",r.ErrorPageErrorMessageStripeMissingRequiredPermission="error_page.error_message_stripe_missing_required_permission",r.ErrorPageErrorMessageOnlyInSandbox="error_page.error_only_in_sandbox",r.ErrorButtonTryAgain="error_page.button_try_again",r.ErrorButtonClose="error_page.button_close",r.PaywallVariablesPricePerPeriod="paywall_variables.price_per_period",r.PaywallVariablesSubRelativeDiscount="paywall_variables.sub_relative_discount",r.PaywallVariablesTotalPriceAndPerMonth="paywall_variables.total_price_and_per_month",r.PricingDropdownShowDetails="pricing_dropdown.show_details",r.PricingDropdownHideDetails="pricing_dropdown.hide_details",r.PricingDropdownAddPromoCode="pricing_dropdown.add_promo_code",r.DiscountInputLabel="discount_input.label",r.PricingTotalExcludingTax="pricing_table.total_excluding_tax",r.PricingTableTrialEnds="pricing_table.trial_ends",r.PricingTableTotalDueToday="pricing_table.total_due_today",r.PricingTableSubtotal="pricing_table.subtotal",r.PricingTableDiscount="pricing_table.discount",r.PricingTableTax="pricing_table.tax",r.PricingTableEnterBillingAddressToCalculate="pricing_table.enter_billing_address_to_calculate",r.PricingTableEnterStateOrPostalCodeToCalculate="pricing_table.enter_state_or_postal_code_to_calculate",r.PricingTableEnterPostalCodeToCalculate="pricing_table.enter_postal_code_to_calculate",r.NavbarHeaderDetails="navbar_header.details",r.NavbarBackButton="navbar_header.back_button",r.PriceUpdateTitle="price_update.title",r.PriceUpdateBaseMessage="price_update.base_message",r.PriceUpdateTrialMessage="price_update.trial_message",r.ApplePayFreeTrial="apple_pay.free_trial",r))(ie||{});const dm={en:Af,es:qf,it:Mf,ar:Ff,ca:zf,zh_Hans:jf,zh_Hant:Nf,hr:Of,cs:Lf,da:Bf,nl:Rf,fi:Uf,fr:Vf,de:Wf,el:Hf,he:Yf,hi:Gf,hu:Kf,id:Xf,ja:Zf,ko:Jf,ms:Qf,no:$f,pl:em,pt:rm,ro:tm,ru:nm,sk:am,sl:om,sv:im,th:sm,tr:lm,uk:cm,vi:um};var Fe=(r=>(r.Year="year",r.Month="month",r.Week="week",r.Day="day",r))(Fe||{});function Po(r){const e=r.match(/^PT?([0-9]+)([MDYW])$/);if(!e||e.length<3)return ye.errorLog(`Invalid ISO 8601 duration format: ${r}`),null;const t=parseInt(e[1]);switch(e[2]){case"Y":return{number:t,unit:"year"};case"M":return{number:t,unit:"month"};case"W":return{number:t,unit:"week"};case"D":return{number:t,unit:"day"};default:return ye.errorLog(`Invalid ISO 8601 unit duration format: ${r}`),null}}function xo(r,e,t){if(!t)return null;let n=new Date(r);switch(e.unit){case"year":n.getDate()===29&&n.getMonth()===1&&e.number!==4?n.setFullYear(n.getFullYear()+e.number,n.getMonth(),28):n.setFullYear(n.getFullYear()+e.number,n.getMonth(),n.getDate());break;case"month":n.setMonth(n.getMonth()+e.number,n.getDate()),n.getDate()!==r.getDate()&&(n=new Date(r),n.setMonth(n.getMonth()+e.number+1,0));break;case"week":n.setDate(n.getDate()+e.number*7);break;case"day":n.setDate(n.getDate()+e.number);break}return n}const sa=r=>{if(!r)return r;const e=r.replace(/_/g,"-");try{const[n]=Intl.getCanonicalLocales(e);if(n)return n}catch{}const t=e.split("-")[0];try{const[n]=Intl.getCanonicalLocales(t);if(n)return n}catch{}return t},pm=r=>r/1e6,Gu=new Map;function _m(r){const e=Gu.get(r);if(e!==void 0)return e;let t;try{t=new Intl.NumberFormat("en",{style:"currency",currency:r}).resolvedOptions().maximumFractionDigits??2}catch{t=2}return Gu.set(r,t),t}function bi(r,e){const n=10**(6-_m(e)),a=Math.round(r/n*1e9)/1e9;return Math.floor(a)*n}const bn=(r,e,t,n={})=>{const a=pm(r),i={style:"currency",currency:e,currencyDisplay:"symbol",...n,minimumFractionDigits:n.maximumFractionDigits};return new Intl.NumberFormat(sa(t),i).format(a).replace("US$","$")},gm=(r,e)=>{const t=Po(r);return t?e.translatePeriod(t.number,t.unit)||`${t.number} ${t.unit}s`:r},fm=r=>{try{return r.charAt(0).toUpperCase()+r.slice(1)}catch{return r}},Ba={noWhitespace:!1,short:!1},Ku={useMultipleWords:!1};class An{constructor(e={},t=Hr,n=Hr){ee(this,"locales",{});this.selectedLocale=t,this.defaultLocale=n;const a={};Object.entries(dm).forEach(([i,s])=>{a[i]=new Xu(s,i)}),this.locales=a,e&&this.override(e)}static fallback(){return new An}override(e){Object.entries(e).forEach(([t,n])=>{this.locales[t]=new Xu({...this.locales[t].labels||{},...n},this.getLanguageCodeString(t))})}formatPrice(e,t){const n={currencyDisplay:"narrowSymbol"};e===0&&(n.maximumFractionDigits=0);try{return bn(e,t,this.bcp47Locale,n)}catch{ye.errorLog(`Failed to create a price formatter for locale: ${this.bcp47Locale}`)}try{return bn(e,t,this.fallbackBcp47Locale,n)}catch{ye.errorLog(`Failed to create a price formatter for locale: ${this.fallbackBcp47Locale}`)}return bn(e,t,Hr,n)}get bcp47Locale(){var e;return sa((e=this.getLocaleInstance(this.selectedLocale))==null?void 0:e.localeKey)||sa(this.getLanguageCodeString(this.selectedLocale))||Hr}get fallbackBcp47Locale(){var e;return sa((e=this.getLocaleInstance(this.defaultLocale))==null?void 0:e.localeKey)||sa(this.getLanguageCodeString(this.defaultLocale))||Hr}getLanguageCodeString(e){return e.split("_")[0].split("-")[0]}getLocaleInstance(e){const t=this.getLanguageCodeString(e);return this.locales[e]||this.locales[t]}translate(e,t){const n=this.getLocaleInstance(this.selectedLocale),a=this.getLocaleInstance(this.defaultLocale);return(n==null?void 0:n.translate(e,t))||(a==null?void 0:a.translate(e,t))||""}formatCountry(e){return new Intl.DisplayNames([this.bcp47Locale],{type:"region"}).of(e)||e}translatePeriod(e,t,n=Ba){const a=this.getLocaleInstance(this.selectedLocale),i=this.getLocaleInstance(this.defaultLocale);return(a==null?void 0:a.translatePeriod(e,t,n))||(i==null?void 0:i.translatePeriod(e,t,n))}translatePeriodUnit(e,t=Ba){const n=this.getLocaleInstance(this.selectedLocale),a=this.getLocaleInstance(this.defaultLocale);return(n==null?void 0:n.translatePeriodUnit(e,t))||(a==null?void 0:a.translatePeriodUnit(e,t))}translatePeriodFrequency(e,t,n=Ku){const a=this.getLocaleInstance(this.selectedLocale),i=this.getLocaleInstance(this.defaultLocale);return(a==null?void 0:a.translatePeriodFrequency(e,t,n))||(i==null?void 0:i.translatePeriodFrequency(e,t,n))}translateDate(e,t={}){const n=this.getLocaleInstance(this.selectedLocale),a=this.getLocaleInstance(this.defaultLocale);return(n==null?void 0:n.translateDate(e,t))||(a==null?void 0:a.translateDate(e,t))}}class Xu{constructor(e={},t){this.labels=e,this.localeKey=t}replaceVariables(e,t){return Object.entries(t).reduce((n,[a,i])=>n.replace(`{{${a}}}`,`${i??""}`),e)}translate(e,t){const n=this.labels[e];if(n)return this.replaceVariables(n,t||{})}translatePeriod(e,t,n=Ba){var l;const{noWhitespace:a,short:i}={...Ba,...n},s=i?`periods.${t}Short`:Math.abs(e)===1?`periods.${t}`:`periods.${t}Plural`;return(l=this.translate(s,{amount:e.toString()}))==null?void 0:l.replace(" ",a?"":" ")}translatePeriodUnit(e,t=Ba){var s;const{noWhitespace:n,short:a}={...Ba,...t},i=`periods.${e}${a?"Short":""}`;return(s=this.translate(i,{amount:""}))==null?void 0:s.replace(" ",n?"":" ")}translatePeriodFrequency(e,t,n=Ku){const a=n==null?void 0:n.useMultipleWords,i=Math.abs(e)===1?`periods.${a===!0?"per":""}${a?fm(t.toString()):t}Frequency`:`periods.${t}FrequencyPlural`;return this.translate(i,{amount:e.toString()})}translateDate(e,t={}){return e.toLocaleDateString(sa(this.localeKey),t)}}function mm(r){return r!=null}var Zu=(r=>(r.Unknown="unknown",r.Custom="custom",r.Lifetime="$rc_lifetime",r.Annual="$rc_annual",r.SixMonth="$rc_six_month",r.ThreeMonth="$rc_three_month",r.TwoMonth="$rc_two_month",r.Monthly="$rc_monthly",r.Weekly="$rc_weekly",r))(Zu||{}),Xr=(r=>(r.Subscription="subscription",r.Consumable="consumable",r.NonConsumable="non_consumable",r))(Xr||{});const Ks=(r,e)=>({amount:r/1e4,amountMicros:r,currency:e,formattedPrice:bn(r,e)}),Ju=r=>Ks(r.amount_micros,r.currency),Xs=r=>{const e=r.period_duration,t=r.price?Ju(r.price):null,n=e?Po(e):null;let a=null,i=null,s=null;if(t!==null&&n!==null){const l=hm(n),c=1e4,u=bi(t.amountMicros*l.toWeek,t.currency);a={amount:u/c,amountMicros:u,currency:t.currency,formattedPrice:bn(u,t.currency)};const d=bi(t.amountMicros*l.toMonth,t.currency);i={amount:d/c,amountMicros:d,currency:t.currency,formattedPrice:bn(d,t.currency)};const p=bi(t.amountMicros*l.toYear,t.currency);s={amount:p/c,amountMicros:p,currency:t.currency,formattedPrice:bn(p,t.currency)}}return{periodDuration:e,period:n,cycleCount:r.cycle_count,price:t,pricePerWeek:a,pricePerMonth:i,pricePerYear:s}},Qu=(r,e)=>{const t=r.duration_mode??"one_time";let n=r.time_window??null;(t==="one_time"||t==="forever")&&n===null&&e!==null&&(n=e);let a=null,i=null;const s=n?Po(n):null;return s&&(a={number:1,unit:s.unit},i=t==="forever"?0:s.number),{timeWindow:r.time_window,durationMode:t,price:Ks(r.amount_micros,r.currency),name:r.name,period:a,cycleCount:i??0,periodDuration:n,discountType:r.discount_type,percentage:r.percentage??null,fixedAmount:r.fixed_amount_micros!=null?Ks(r.fixed_amount_micros,r.currency):null}};function hm(r){const{number:e,unit:t}=r,n=7,a=30,i=365;let s;switch(t){case Fe.Day:s=e;break;case Fe.Week:s=e*n;break;case Fe.Month:s=e*a;break;case Fe.Year:s=e*i;break;default:s=0,ye.errorLog(`Unknown period unit: ${t}`)}const l=s>0?n/s:0,c=s>0?a/s:0,u=s>0?i/s:0;return{toWeek:l,toMonth:c,toYear:u}}const vm=r=>{var e;return r.base==null?(ye.debugLog("Missing base phase for subscription option. Ignoring."),null):{id:r.id,priceId:r.price_id,base:Xs(r.base),trial:r.trial?Xs(r.trial):null,introPrice:r.intro_price?Xs(r.intro_price):null,discount:r.discount?Qu(r.discount,(e=r.base)==null?void 0:e.period_duration):null}},ym=r=>r.base_price==null?(ye.debugLog("Missing base price for non-subscription option. Ignoring."),null):{id:r.id,priceId:r.price_id,basePrice:Ju(r.base_price),discount:r.discount?Qu(r.discount,null):null},bm=(r,e)=>{const t=r.product_type;return t==="subscription"?wm(r,e,t):km(r,e,t)},km=(r,e,t)=>{const n={};if(Object.entries(r.purchase_options).forEach(([s,l])=>{const c=ym(l);c!=null&&(n[s]=c)}),Object.keys(n).length===0)return ye.debugLog(`Product ${r.identifier} has no purchase options. Ignoring.`),null;const a=r.default_purchase_option_id,i=a&&a in r.purchase_options?n[a]:null;return i==null?(ye.debugLog(`Product ${r.identifier} has no default purchase option. Ignoring.`),null):{identifier:r.identifier,displayName:r.title,title:r.title,description:r.description,productType:t,currentPrice:i.basePrice,normalPeriodDuration:null,presentedOfferingIdentifier:e.offeringIdentifier,presentedOfferingContext:e,defaultPurchaseOption:i,defaultSubscriptionOption:null,subscriptionOptions:{},defaultNonSubscriptionOption:i,price:i.basePrice,period:null,freeTrialPhase:null,introPricePhase:null,discountPhase:i.discount}},wm=(r,e,t)=>{const n={};if(Object.entries(r.purchase_options).forEach(([l,c])=>{const u=vm(c);u!=null&&(n[l]=u)}),Object.keys(n).length===0)return ye.debugLog(`Product ${r.identifier} has no subscription options. Ignoring.`),null;const a=r.default_purchase_option_id,i=a&&a in n?n[a]:null;if(i==null)return ye.debugLog(`Product ${r.identifier} has no default subscription option. Ignoring.`),null;const s=i.base.price;return s==null?(ye.debugLog(`Product ${r.identifier} default option has no base price. Ignoring.`),null):{identifier:r.identifier,displayName:r.title,title:r.title,description:r.description,productType:t,currentPrice:s,normalPeriodDuration:i.base.periodDuration,presentedOfferingIdentifier:e.offeringIdentifier,presentedOfferingContext:e,defaultPurchaseOption:i,defaultSubscriptionOption:i,subscriptionOptions:n,defaultNonSubscriptionOption:null,price:s,period:i.base.period,freeTrialPhase:i.trial,introPricePhase:i.introPrice,discountPhase:i.discount}},Pm=(r,e,t)=>{const n=t[e.platform_product_identifier];if(n===void 0)return null;const a=bm(n,r);return a===null?null:{identifier:e.identifier,rcBillingProduct:a,webBillingProduct:a,...e.web_checkout_url?{webCheckoutURL:e.web_checkout_url}:{},packageType:Em(e.identifier)}},xm=(r,e,t,n,a)=>{const i={offeringIdentifier:e.identifier,targetingContext:r&&n?{ruleId:n.rule_id,revision:n.revision}:null,placementIdentifier:null},s=e.packages.map(c=>Pm(i,c,t)).filter(mm),l={};for(const c of s)c!=null&&(l[c.identifier]=c);return s.length==0?null:{identifier:e.identifier,serverDescription:e.description,metadata:e.metadata,...e.web_checkout_url?{webCheckoutURL:e.web_checkout_url}:{},packagesById:l,availablePackages:s,lifetime:l.$rc_lifetime??null,annual:l.$rc_annual??null,sixMonth:l.$rc_six_month??null,threeMonth:l.$rc_three_month??null,twoMonth:l.$rc_two_month??null,monthly:l.$rc_monthly??null,weekly:l.$rc_weekly??null,hasPaywall:e.paywall_components!=null,paywallComponents:e.paywall_components,...a!==void 0?{uiConfig:a}:{}}};function Em(r){switch(r){case"$rc_lifetime":return"$rc_lifetime";case"$rc_annual":return"$rc_annual";case"$rc_six_month":return"$rc_six_month";case"$rc_three_month":return"$rc_three_month";case"$rc_two_month":return"$rc_two_month";case"$rc_monthly":return"$rc_monthly";case"$rc_weekly":return"$rc_weekly";default:return r.startsWith("$rc_")?"unknown":"custom"}}Eg();const Sm=`<svg viewBox="0 0 124 124" fill="var(--rc-color-grey-text-dark)" xmlns="http://www.w3.org/2000/svg">
1
+ (function(xe,Fe){typeof exports=="object"&&typeof module<"u"?Fe(exports):typeof define=="function"&&define.amd?define(["exports"],Fe):(xe=typeof globalThis<"u"?globalThis:xe||self,Fe(xe.Purchases={}))})(this,function(xe){"use strict";var FE=Object.create;var gc=Object.defineProperty;var ME=Object.getOwnPropertyDescriptor;var ng=(xe,Fe)=>(Fe=Symbol[xe])?Fe:Symbol.for("Symbol."+xe),ao=xe=>{throw TypeError(xe)};var ag=(xe,Fe,Qe)=>Fe in xe?gc(xe,Fe,{enumerable:!0,configurable:!0,writable:!0,value:Qe}):xe[Fe]=Qe;var tg=(xe,Fe)=>gc(xe,"name",{value:Fe,configurable:!0});var og=xe=>[,,,FE((xe==null?void 0:xe[ng("metadata")])??null)],ig=["class","method","getter","setter","accessor","field","value","get","set"],Qo=xe=>xe!==void 0&&typeof xe!="function"?ao("Function expected"):xe,zE=(xe,Fe,Qe,dt,yr)=>({kind:ig[xe],name:Fe,metadata:dt,addInitializer:Lr=>Qe._?ao("Already initialized"):yr.push(Qo(Lr||null))}),fc=(xe,Fe)=>ag(Fe,ng("metadata"),xe[3]),sg=(xe,Fe,Qe,dt)=>{for(var yr=0,Lr=xe[Fe>>1],Nt=Lr&&Lr.length;yr<Nt;yr++)Fe&1?Lr[yr].call(Qe):dt=Lr[yr].call(Qe,dt);return dt},mc=(xe,Fe,Qe,dt,yr,Lr)=>{var Nt,tt,$o,Zn,oo,sr=Fe&7,io=!!(Fe&8),yt=!!(Fe&16),so=sr>3?xe.length+1:sr?io?1:2:0,lo=ig[sr+5],ei=sr>3&&(xe[so-1]=[]),Sr=xe[so]||(xe[so]=[]),pt=sr&&(!yt&&!io&&(yr=yr.prototype),sr<5&&(sr>3||!yt)&&ME(sr<4?yr:{get[Qe](){return Z(this,Lr)},set[Qe](Xr){return Ve(this,Lr,Xr)}},Qe));sr?yt&&sr<4&&tg(Lr,(sr>2?"set ":sr>1?"get ":"")+Qe):tg(yr,Qe);for(var co=dt.length-1;co>=0;co--)Zn=zE(sr,Qe,$o={},xe[3],Sr),sr&&(Zn.static=io,Zn.private=yt,oo=Zn.access={has:yt?Xr=>jE(yr,Xr):Xr=>Qe in Xr},sr^3&&(oo.get=yt?Xr=>(sr^1?Z:Mr)(Xr,yr,sr^4?Lr:pt.get):Xr=>Xr[Qe]),sr>2&&(oo.set=yt?(Xr,Jn)=>Ve(Xr,yr,Jn,sr^4?Lr:pt.set):(Xr,Jn)=>Xr[Qe]=Jn)),tt=(0,dt[co])(sr?sr<4?yt?Lr:pt[lo]:sr>4?void 0:{get:pt.get,set:pt.set}:yr,Zn),$o._=1,sr^4||tt===void 0?Qo(tt)&&(sr>4?ei.unshift(tt):sr?yt?Lr=tt:pt[lo]=tt:yr=tt):typeof tt!="object"||tt===null?ao("Object expected"):(Qo(Nt=tt.get)&&(pt.get=Nt),Qo(Nt=tt.set)&&(pt.set=Nt),Qo(Nt=tt.init)&&ei.unshift(Nt));return sr||fc(xe,yr),pt&&gc(yr,Qe,pt),yt?sr^4?Lr:pt:yr},Q=(xe,Fe,Qe)=>ag(xe,typeof Fe!="symbol"?Fe+"":Fe,Qe),hc=(xe,Fe,Qe)=>Fe.has(xe)||ao("Cannot "+Qe),jE=(xe,Fe)=>Object(Fe)!==Fe?ao('Cannot use the "in" operator on this value'):xe.has(Fe),Z=(xe,Fe,Qe)=>(hc(xe,Fe,"read from private field"),Qe?Qe.call(xe):Fe.get(xe)),Ge=(xe,Fe,Qe)=>Fe.has(xe)?ao("Cannot add the same private member more than once"):Fe instanceof WeakSet?Fe.add(xe):Fe.set(xe,Qe),Ve=(xe,Fe,Qe,dt)=>(hc(xe,Fe,"write to private field"),dt?dt.call(xe,Qe):Fe.set(xe,Qe),Qe),Mr=(xe,Fe,Qe)=>(hc(xe,Fe,"access private method"),Qe);var $_,Xa,Za,ha,va,Wo,Ja,Qa,Ct,vc,yc,lg,cg,Tt,pc,tn,ya,nn,Dt,ut,an,kn,Hn,ba,Yn,ka,$a,eo,Gn,ss,Nr,NE,OE,bc,ms,hs,kc,zt,on,ht,wa,Ho,Yo,ls,Kn,ro,Go,cs,ug,Ko,Xo,to,eg,rg,ds;const Fe="5";typeof window<"u"&&(($_=window.__svelte??(window.__svelte={})).v??($_.v=new Set)).add(Fe);const Qe=1,dt=2,yr=4,Lr=8,Nt=16,tt=1,$o=2,Zn=4,oo=8,sr=16,io=1,yt=2,so=4,lo=1,ei=2,Sr=Symbol(),pt="http://www.w3.org/1999/xhtml",co="http://www.w3.org/2000/svg",Xr="@attach",Jn=!1;var ri=Array.isArray,dg=Array.prototype.indexOf,ti=Array.from,wc=Object.defineProperty,Pn=Object.getOwnPropertyDescriptor,Pc=Object.getOwnPropertyDescriptors,pg=Object.prototype,_g=Array.prototype,vs=Object.getPrototypeOf,xc=Object.isExtensible;function xa(r){return typeof r=="function"}const tr=()=>{};function gg(r){return r()}function ni(r){for(var e=0;e<r.length;e++)r[e]()}function Ec(){var r,e,t=new Promise((n,a)=>{r=n,e=a});return{promise:t,resolve:r,reject:e}}function ai(r,e){if(Array.isArray(r))return r;if(e===void 0||!(Symbol.iterator in r))return Array.from(r);const t=[];for(const n of r)if(t.push(n),t.length===e)break;return t}const Br=2,oi=4,uo=8,ys=1<<24,Ot=16,ln=32,Qn=64,bs=128,bt=512,Ur=1024,Zr=2048,Lt=4096,_t=8192,cn=16384,ii=32768,Bt=65536,Sc=1<<17,Ic=1<<18,Ea=1<<19,Cc=1<<20,un=1<<25,po=32768,ks=1<<21,ws=1<<22,xn=1<<23,Ut=Symbol("$state"),Tc=Symbol("legacy props"),fg=Symbol(""),Sa=new class extends Error{constructor(){super(...arguments);Q(this,"name","StaleReactionError");Q(this,"message","The reaction that called `getAbortSignal()` was re-run or destroyed")}};function Ps(r){throw new Error("https://svelte.dev/e/lifecycle_outside_component")}function mg(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function hg(r){throw new Error("https://svelte.dev/e/effect_in_teardown")}function vg(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function yg(r){throw new Error("https://svelte.dev/e/effect_orphan")}function bg(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function kg(r){throw new Error("https://svelte.dev/e/props_invalid_value")}function wg(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Pg(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function xg(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function Eg(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function Sg(){console.warn("https://svelte.dev/e/select_multiple_invalid_value")}function Ig(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}function Dc(r){return r===this.v}function xs(r,e){return r!=r?e==e:r!==e||r!==null&&typeof r=="object"||typeof r=="function"}function Ac(r){return!xs(r,this.v)}let Ia=!1,Cg=!1;function Tg(){Ia=!0}let lr=null;function Ca(r){lr=r}function Xe(r){return qc().get(r)}function br(r,e){return qc().set(r,e),e}function fe(r,e=!1,t){lr={p:lr,i:!1,c:null,e:null,s:r,x:null,l:Ia&&!e?{s:null,u:null,$:[]}:null}}function me(r){var e=lr,t=e.e;if(t!==null){e.e=null;for(var n of t)tu(n)}return r!==void 0&&(e.x=r),e.i=!0,lr=e.p,r??{}}function Ta(){return!Ia||lr!==null&&lr.l===null}function qc(r){return lr===null&&Ps(),lr.c??(lr.c=new Map(Dg(lr)||void 0))}function Dg(r){let e=r.p;for(;e!==null;){const t=e.c;if(t!==null)return t;e=e.p}return null}let $n=[];function Fc(){var r=$n;$n=[],ni(r)}function En(r){if($n.length===0&&!_o){var e=$n;queueMicrotask(()=>{e===$n&&Fc()})}$n.push(r)}function Ag(){for(;$n.length>0;)Fc()}function Mc(r){var e=nr;if(e===null)return Ze.f|=xn,r;if((e.f&ii)===0){if((e.f&bs)===0)throw r;e.b.error(r)}else Da(r,e)}function Da(r,e){for(;e!==null;){if((e.f&bs)!==0)try{e.b.error(r);return}catch(t){r=t}e=e.parent}throw r}const qg=-7169;function qr(r,e){r.f=r.f&qg|e}function Es(r){(r.f&bt)!==0||r.deps===null?qr(r,Ur):qr(r,Lt)}function zc(r){if(r!==null)for(const e of r)(e.f&Br)===0||(e.f&po)===0||(e.f^=po,zc(e.deps))}function jc(r,e,t){(r.f&Zr)!==0?e.add(r):(r.f&Lt)!==0&&t.add(r),zc(r.deps),qr(r,Ur)}const si=new Set;let er=null,li=null,Rr=null,kt=[],ci=null,Ss=!1,_o=!1;const is=class is{constructor(){Ge(this,Ct);Q(this,"committed",!1);Q(this,"current",new Map);Q(this,"previous",new Map);Ge(this,Xa,new Set);Ge(this,Za,new Set);Ge(this,ha,0);Ge(this,va,0);Ge(this,Wo,null);Ge(this,Ja,new Set);Ge(this,Qa,new Set);Q(this,"skipped_effects",new Set);Q(this,"is_fork",!1)}is_deferred(){return this.is_fork||Z(this,va)>0}process(e){var a;kt=[],li=null,this.apply();var t=[],n=[];for(const i of e)Mr(this,Ct,vc).call(this,i,t,n);this.is_fork||Mr(this,Ct,lg).call(this),this.is_deferred()?(Mr(this,Ct,yc).call(this,n),Mr(this,Ct,yc).call(this,t)):(li=this,er=null,Oc(n),Oc(t),li=null,(a=Z(this,Wo))==null||a.resolve()),Rr=null}capture(e,t){t!==Sr&&!this.previous.has(e)&&this.previous.set(e,t),(e.f&xn)===0&&(this.current.set(e,e.v),Rr==null||Rr.set(e,e.v))}activate(){er=this,this.apply()}deactivate(){er===this&&(er=null,Rr=null)}flush(){if(this.activate(),kt.length>0){if(Nc(),er!==null&&er!==this)return}else Z(this,ha)===0&&this.process([]);this.deactivate()}discard(){for(const e of Z(this,Za))e(this);Z(this,Za).clear()}increment(e){Ve(this,ha,Z(this,ha)+1),e&&Ve(this,va,Z(this,va)+1)}decrement(e){Ve(this,ha,Z(this,ha)-1),e&&Ve(this,va,Z(this,va)-1),this.revive()}revive(){for(const e of Z(this,Ja))Z(this,Qa).delete(e),qr(e,Zr),pn(e);for(const e of Z(this,Qa))qr(e,Lt),pn(e);this.flush()}oncommit(e){Z(this,Xa).add(e)}ondiscard(e){Z(this,Za).add(e)}settled(){return(Z(this,Wo)??Ve(this,Wo,Ec())).promise}static ensure(){if(er===null){const e=er=new is;si.add(er),_o||is.enqueue(()=>{er===e&&e.flush()})}return er}static enqueue(e){En(e)}apply(){}};Xa=new WeakMap,Za=new WeakMap,ha=new WeakMap,va=new WeakMap,Wo=new WeakMap,Ja=new WeakMap,Qa=new WeakMap,Ct=new WeakSet,vc=function(e,t,n){e.f^=Ur;for(var a=e.first,i=null;a!==null;){var s=a.f,l=(s&(ln|Qn))!==0,c=l&&(s&Ur)!==0,u=c||(s&_t)!==0||this.skipped_effects.has(a);if(!u&&a.fn!==null){l?a.f^=Ur:i!==null&&(s&(oi|uo|ys))!==0?i.b.defer_effect(a):(s&oi)!==0?t.push(a):za(a)&&((s&Ot)!==0&&Z(this,Ja).add(a),ja(a));var d=a.first;if(d!==null){a=d;continue}}var p=a.parent;for(a=a.next;a===null&&p!==null;)p===i&&(i=null),a=p.next,p=p.parent}},yc=function(e){for(var t=0;t<e.length;t+=1)jc(e[t],Z(this,Ja),Z(this,Qa))},lg=function(){if(Z(this,va)===0){for(const e of Z(this,Xa))e();Z(this,Xa).clear()}Z(this,ha)===0&&Mr(this,Ct,cg).call(this)},cg=function(){var a;if(si.size>1){this.previous.clear();var e=Rr,t=!0;for(const i of si){if(i===this){t=!1;continue}const s=[];for(const[c,u]of this.current){if(i.current.has(c))if(t&&u!==i.current.get(c))i.current.set(c,u);else continue;s.push(c)}if(s.length===0)continue;const l=[...i.current.keys()].filter(c=>!this.current.has(c));if(l.length>0){var n=kt;kt=[];const c=new Set,u=new Map;for(const d of s)Lc(d,l,c,u);if(kt.length>0){er=i,i.apply();for(const d of kt)Mr(a=i,Ct,vc).call(a,d,[],[]);i.deactivate()}kt=n}}er=null,Rr=e}this.committed=!0,si.delete(this)};let dn=is;function Fg(r){var e=_o;_o=!0;try{for(var t;;){if(Ag(),kt.length===0&&(er==null||er.flush(),kt.length===0))return ci=null,t;Nc()}}finally{_o=e}}function Nc(){var r=aa;Ss=!0;var e=null;try{var t=0;for(di(!0);kt.length>0;){var n=dn.ensure();if(t++>1e3){var a,i;Mg()}n.process(kt),In.clear()}}finally{Ss=!1,di(r),ci=null}}function Mg(){try{bg()}catch(r){Da(r,ci)}}let At=null;function Oc(r){var e=r.length;if(e!==0){for(var t=0;t<e;){var n=r[t++];if((n.f&(cn|_t))===0&&za(n)&&(At=new Set,ja(n),n.deps===null&&n.first===null&&n.nodes===null&&(n.teardown===null&&n.ac===null?lu(n):n.fn=null),(At==null?void 0:At.size)>0)){In.clear();for(const a of At){if((a.f&(cn|_t))!==0)continue;const i=[a];let s=a.parent;for(;s!==null;)At.has(s)&&(At.delete(s),i.push(s)),s=s.parent;for(let l=i.length-1;l>=0;l--){const c=i[l];(c.f&(cn|_t))===0&&ja(c)}}At.clear()}}At=null}}function Lc(r,e,t,n){if(!t.has(r)&&(t.add(r),r.reactions!==null))for(const a of r.reactions){const i=a.f;(i&Br)!==0?Lc(a,e,t,n):(i&(ws|Ot))!==0&&(i&Zr)===0&&Bc(a,e,n)&&(qr(a,Zr),pn(a))}}function Bc(r,e,t){const n=t.get(r);if(n!==void 0)return n;if(r.deps!==null)for(const a of r.deps){if(e.includes(a))return!0;if((a.f&Br)!==0&&Bc(a,e,t))return t.set(a,!0),!0}return t.set(r,!1),!1}function pn(r){for(var e=ci=r;e.parent!==null;){e=e.parent;var t=e.f;if(Ss&&e===nr&&(t&Ot)!==0&&(t&Ic)===0)return;if((t&(Qn|ln))!==0){if((t&Ur)===0)return;e.f^=Ur}}kt.push(e)}function Uc(r){let e=0,t=ea(0),n;return()=>{Ts()&&(o(t),Ma(()=>(e===0&&(n=Re(()=>r(()=>fo(t)))),e+=1,()=>{En(()=>{e-=1,e===0&&(n==null||n(),n=void 0,fo(t))})})))}}var zg=Bt|Ea|bs;function Rc(r,e,t){new jg(r,e,t)}class jg{constructor(e,t,n){Ge(this,Nr);Q(this,"parent");Q(this,"is_pending",!1);Ge(this,Tt);Ge(this,pc,null);Ge(this,tn);Ge(this,ya);Ge(this,nn);Ge(this,Dt,null);Ge(this,ut,null);Ge(this,an,null);Ge(this,kn,null);Ge(this,Hn,null);Ge(this,ba,0);Ge(this,Yn,0);Ge(this,ka,!1);Ge(this,$a,new Set);Ge(this,eo,new Set);Ge(this,Gn,null);Ge(this,ss,Uc(()=>(Ve(this,Gn,ea(Z(this,ba))),()=>{Ve(this,Gn,null)})));Ve(this,Tt,e),Ve(this,tn,t),Ve(this,ya,n),this.parent=nr.b,this.is_pending=!!Z(this,tn).pending,Ve(this,nn,ta(()=>{nr.b=this;{var a=Mr(this,Nr,bc).call(this);try{Ve(this,Dt,nt(()=>n(a)))}catch(i){this.error(i)}Z(this,Yn)>0?Mr(this,Nr,hs).call(this):this.is_pending=!1}return()=>{var i;(i=Z(this,Hn))==null||i.remove()}},zg))}defer_effect(e){jc(e,Z(this,$a),Z(this,eo))}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!Z(this,tn).pending}update_pending_count(e){Mr(this,Nr,kc).call(this,e),Ve(this,ba,Z(this,ba)+e),Z(this,Gn)&&Aa(Z(this,Gn),Z(this,ba))}get_effect_pending(){return Z(this,ss).call(this),o(Z(this,Gn))}error(e){var t=Z(this,tn).onerror;let n=Z(this,tn).failed;if(Z(this,ka)||!t&&!n)throw e;Z(this,Dt)&&(Vr(Z(this,Dt)),Ve(this,Dt,null)),Z(this,ut)&&(Vr(Z(this,ut)),Ve(this,ut,null)),Z(this,an)&&(Vr(Z(this,an)),Ve(this,an,null));var a=!1,i=!1;const s=()=>{if(a){Ig();return}a=!0,i&&Eg(),dn.ensure(),Ve(this,ba,0),Z(this,an)!==null&&na(Z(this,an),()=>{Ve(this,an,null)}),this.is_pending=this.has_pending_snippet(),Ve(this,Dt,Mr(this,Nr,ms).call(this,()=>(Ve(this,ka,!1),nt(()=>Z(this,ya).call(this,Z(this,Tt)))))),Z(this,Yn)>0?Mr(this,Nr,hs).call(this):this.is_pending=!1};var l=Ze;try{at(null),i=!0,t==null||t(e,s),i=!1}catch(c){Da(c,Z(this,nn)&&Z(this,nn).parent)}finally{at(l)}n&&En(()=>{Ve(this,an,Mr(this,Nr,ms).call(this,()=>{dn.ensure(),Ve(this,ka,!0);try{return nt(()=>{n(Z(this,Tt),()=>e,()=>s)})}catch(c){return Da(c,Z(this,nn).parent),null}finally{Ve(this,ka,!1)}}))})}}Tt=new WeakMap,pc=new WeakMap,tn=new WeakMap,ya=new WeakMap,nn=new WeakMap,Dt=new WeakMap,ut=new WeakMap,an=new WeakMap,kn=new WeakMap,Hn=new WeakMap,ba=new WeakMap,Yn=new WeakMap,ka=new WeakMap,$a=new WeakMap,eo=new WeakMap,Gn=new WeakMap,ss=new WeakMap,Nr=new WeakSet,NE=function(){try{Ve(this,Dt,nt(()=>Z(this,ya).call(this,Z(this,Tt))))}catch(e){this.error(e)}},OE=function(){const e=Z(this,tn).pending;e&&(Ve(this,ut,nt(()=>e(Z(this,Tt)))),dn.enqueue(()=>{var t=Mr(this,Nr,bc).call(this);Ve(this,Dt,Mr(this,Nr,ms).call(this,()=>(dn.ensure(),nt(()=>Z(this,ya).call(this,t))))),Z(this,Yn)>0?Mr(this,Nr,hs).call(this):(na(Z(this,ut),()=>{Ve(this,ut,null)}),this.is_pending=!1)}))},bc=function(){var e=Z(this,Tt);return this.is_pending&&(Ve(this,Hn,Rt()),Z(this,Tt).before(Z(this,Hn)),e=Z(this,Hn)),e},ms=function(e){var t=nr,n=Ze,a=lr;Vt(Z(this,nn)),at(Z(this,nn)),Ca(Z(this,nn).ctx);try{return e()}catch(i){return Mc(i),null}finally{Vt(t),at(n),Ca(a)}},hs=function(){const e=Z(this,tn).pending;Z(this,Dt)!==null&&(Ve(this,kn,document.createDocumentFragment()),Z(this,kn).append(Z(this,Hn)),du(Z(this,Dt),Z(this,kn))),Z(this,ut)===null&&Ve(this,ut,nt(()=>e(Z(this,Tt))))},kc=function(e){var t;if(!this.has_pending_snippet()){this.parent&&Mr(t=this.parent,Nr,kc).call(t,e);return}if(Ve(this,Yn,Z(this,Yn)+e),Z(this,Yn)===0){this.is_pending=!1;for(const n of Z(this,$a))qr(n,Zr),pn(n);for(const n of Z(this,eo))qr(n,Lt),pn(n);Z(this,$a).clear(),Z(this,eo).clear(),Z(this,ut)&&na(Z(this,ut),()=>{Ve(this,ut,null)}),Z(this,kn)&&(Z(this,Tt).before(Z(this,kn)),Ve(this,kn,null))}};function Vc(r,e,t,n){const a=Ta()?go:Sn;if(t.length===0&&r.length===0){n(e.map(a));return}var i=er,s=nr,l=Ng();function c(){Promise.all(t.map(u=>Og(u))).then(u=>{l();try{n([...e.map(a),...u])}catch(d){(s.f&cn)===0&&Da(d,s)}i==null||i.deactivate(),ui()}).catch(u=>{Da(u,s)})}r.length>0?Promise.all(r).then(()=>{l();try{return c()}finally{i==null||i.deactivate(),ui()}}):c()}function Ng(){var r=nr,e=Ze,t=lr,n=er;return function(i=!0){Vt(r),at(e),Ca(t),i&&(n==null||n.activate())}}function ui(){Vt(null),at(null),Ca(null)}function go(r){var e=Br|Zr,t=Ze!==null&&(Ze.f&Br)!==0?Ze:null;return nr!==null&&(nr.f|=Ea),{ctx:lr,deps:null,effects:null,equals:Dc,f:e,fn:r,reactions:null,rv:0,v:Sr,wv:0,parent:t??nr,ac:null}}function Og(r,e,t){let n=nr;n===null&&mg();var a=n.b,i=void 0,s=ea(Sr),l=!Ze,c=new Map;return Xg(()=>{var _;var u=Ec();i=u.promise;try{Promise.resolve(r()).then(u.resolve,u.reject).then(()=>{d===er&&d.committed&&d.deactivate(),ui()})}catch(f){u.reject(f),ui()}var d=er;if(l){var p=a.is_rendered();a.update_pending_count(1),d.increment(p),(_=c.get(d))==null||_.reject(Sa),c.delete(d),c.set(d,u)}const g=(f,v=void 0)=>{if(d.activate(),v)v!==Sa&&(s.f|=xn,Aa(s,v));else{(s.f&xn)!==0&&(s.f^=xn),Aa(s,f);for(const[y,h]of c){if(c.delete(y),y===d)break;h.reject(Sa)}}l&&(a.update_pending_count(-1),d.decrement(p))};u.promise.then(g,f=>g(null,f||"unknown"))}),Fa(()=>{for(const u of c.values())u.reject(Sa)}),new Promise(u=>{function d(p){function g(){p===i?u(s):d(i)}p.then(g,g)}d(i)})}function m(r){const e=go(r);return _u(e),e}function Sn(r){const e=go(r);return e.equals=Ac,e}function Wc(r){var e=r.effects;if(e!==null){r.effects=null;for(var t=0;t<e.length;t+=1)Vr(e[t])}}function Lg(r){for(var e=r.parent;e!==null;){if((e.f&Br)===0)return(e.f&cn)===0?e:null;e=e.parent}return null}function Is(r){var e,t=nr;Vt(Lg(r));try{r.f&=~po,Wc(r),e=vu(r)}finally{Vt(t)}return e}function Hc(r){var e=Is(r);if(!r.equals(e)&&(r.wv=mu(),(!(er!=null&&er.is_fork)||r.deps===null)&&(r.v=e,r.deps===null))){qr(r,Ur);return}Cn||(Rr!==null?(Ts()||er!=null&&er.is_fork)&&Rr.set(r,e):Es(r))}let Cs=new Set;const In=new Map;let Yc=!1;function ea(r,e){var t={f:0,v:r,reactions:null,equals:Dc,rv:0,wv:0};return t}function re(r,e){const t=ea(r);return _u(t),t}function cr(r,e=!1,t=!0){var a;const n=ea(r);return e||(n.equals=Ac),Ia&&t&&lr!==null&&lr.l!==null&&((a=lr.l).s??(a.s=[])).push(n),n}function j(r,e,t=!1){Ze!==null&&(!Ft||(Ze.f&Sc)!==0)&&Ta()&&(Ze.f&(Br|Ot|ws|Sc))!==0&&!(Jr!=null&&Jr.includes(r))&&xg();let n=t?or(e):e;return Aa(r,n)}function Aa(r,e){if(!r.equals(e)){var t=r.v;Cn?In.set(r,e):In.set(r,t),r.v=e;var n=dn.ensure();if(n.capture(r,t),(r.f&Br)!==0){const a=r;(r.f&Zr)!==0&&Is(a),Es(a)}r.wv=mu(),Gc(r,Zr),Ta()&&nr!==null&&(nr.f&Ur)!==0&&(nr.f&(ln|Qn))===0&&(wt===null?Jg([r]):wt.push(r)),!n.is_fork&&Cs.size>0&&!Yc&&Bg()}return e}function Bg(){Yc=!1;var r=aa;di(!0);const e=Array.from(Cs);try{for(const t of e)(t.f&Ur)!==0&&qr(t,Lt),za(t)&&ja(t)}finally{di(r)}Cs.clear()}function fo(r){j(r,r.v+1)}function Gc(r,e){var t=r.reactions;if(t!==null)for(var n=Ta(),a=t.length,i=0;i<a;i++){var s=t[i],l=s.f;if(!(!n&&s===nr)){var c=(l&Zr)===0;if(c&&qr(s,e),(l&Br)!==0){var u=s;Rr==null||Rr.delete(u),(l&po)===0&&(l&bt&&(s.f|=po),Gc(u,Lt))}else c&&((l&Ot)!==0&&At!==null&&At.add(s),pn(s))}}}function or(r){if(typeof r!="object"||r===null||Ut in r)return r;const e=vs(r);if(e!==pg&&e!==_g)return r;var t=new Map,n=ri(r),a=re(0),i=oa,s=l=>{if(oa===i)return l();var c=Ze,u=oa;at(null),fu(i);var d=l();return at(c),fu(u),d};return n&&t.set("length",re(r.length)),new Proxy(r,{defineProperty(l,c,u){(!("value"in u)||u.configurable===!1||u.enumerable===!1||u.writable===!1)&&wg();var d=t.get(c);return d===void 0?d=s(()=>{var p=re(u.value);return t.set(c,p),p}):j(d,u.value,!0),!0},deleteProperty(l,c){var u=t.get(c);if(u===void 0){if(c in l){const d=s(()=>re(Sr));t.set(c,d),fo(a)}}else j(u,Sr),fo(a);return!0},get(l,c,u){var _;if(c===Ut)return r;var d=t.get(c),p=c in l;if(d===void 0&&(!p||(_=Pn(l,c))!=null&&_.writable)&&(d=s(()=>{var f=or(p?l[c]:Sr),v=re(f);return v}),t.set(c,d)),d!==void 0){var g=o(d);return g===Sr?void 0:g}return Reflect.get(l,c,u)},getOwnPropertyDescriptor(l,c){var u=Reflect.getOwnPropertyDescriptor(l,c);if(u&&"value"in u){var d=t.get(c);d&&(u.value=o(d))}else if(u===void 0){var p=t.get(c),g=p==null?void 0:p.v;if(p!==void 0&&g!==Sr)return{enumerable:!0,configurable:!0,value:g,writable:!0}}return u},has(l,c){var g;if(c===Ut)return!0;var u=t.get(c),d=u!==void 0&&u.v!==Sr||Reflect.has(l,c);if(u!==void 0||nr!==null&&(!d||(g=Pn(l,c))!=null&&g.writable)){u===void 0&&(u=s(()=>{var _=d?or(l[c]):Sr,f=re(_);return f}),t.set(c,u));var p=o(u);if(p===Sr)return!1}return d},set(l,c,u,d){var w;var p=t.get(c),g=c in l;if(n&&c==="length")for(var _=u;_<p.v;_+=1){var f=t.get(_+"");f!==void 0?j(f,Sr):_ in l&&(f=s(()=>re(Sr)),t.set(_+"",f))}if(p===void 0)(!g||(w=Pn(l,c))!=null&&w.writable)&&(p=s(()=>re(void 0)),j(p,or(u)),t.set(c,p));else{g=p.v!==Sr;var v=s(()=>or(u));j(p,v)}var y=Reflect.getOwnPropertyDescriptor(l,c);if(y!=null&&y.set&&y.set.call(d,u),!g){if(n&&typeof c=="string"){var h=t.get("length"),k=Number(c);Number.isInteger(k)&&k>=h.v&&j(h,k+1)}fo(a)}return!0},ownKeys(l){o(a);var c=Reflect.ownKeys(l).filter(p=>{var g=t.get(p);return g===void 0||g.v!==Sr});for(var[u,d]of t)d.v!==Sr&&!(u in l)&&c.push(u);return c},setPrototypeOf(){Pg()}})}function Kc(r){try{if(r!==null&&typeof r=="object"&&Ut in r)return r[Ut]}catch{}return r}function Ug(r,e){return Object.is(Kc(r),Kc(e))}var Xc,Zc,Jc,Qc;function Rg(){if(Xc===void 0){Xc=window,Zc=/Firefox/.test(navigator.userAgent);var r=Element.prototype,e=Node.prototype,t=Text.prototype;Jc=Pn(e,"firstChild").get,Qc=Pn(e,"nextSibling").get,xc(r)&&(r.__click=void 0,r.__className=void 0,r.__attributes=null,r.__style=void 0,r.__e=void 0),xc(t)&&(t.__t=void 0)}}function Rt(r=""){return document.createTextNode(r)}function gt(r){return Jc.call(r)}function mo(r){return Qc.call(r)}function T(r,e){return gt(r)}function oe(r,e=!1){{var t=gt(r);return t instanceof Comment&&t.data===""?mo(t):t}}function H(r,e=1,t=!1){let n=r;for(;e--;)n=mo(n);return n}function Vg(r){r.textContent=""}function $c(){return!1}function Wg(r,e){if(e){const t=document.body;r.autofocus=!0,En(()=>{document.activeElement===t&&r.focus()})}}let eu=!1;function Hg(){eu||(eu=!0,document.addEventListener("reset",r=>{Promise.resolve().then(()=>{var e;if(!r.defaultPrevented)for(const t of r.target.elements)(e=t.__on_r)==null||e.call(t)})},{capture:!0}))}function qa(r){var e=Ze,t=nr;at(null),Vt(null);try{return r()}finally{at(e),Vt(t)}}function Yg(r,e,t,n=t){r.addEventListener(e,()=>qa(t));const a=r.__on_r;a?r.__on_r=()=>{a(),n(!0)}:r.__on_r=()=>n(!0),Hg()}function ru(r){nr===null&&(Ze===null&&yg(),vg()),Cn&&hg()}function Gg(r,e){var t=e.last;t===null?e.last=e.first=r:(t.next=r,r.prev=t,e.last=r)}function qt(r,e,t){var n=nr;n!==null&&(n.f&_t)!==0&&(r|=_t);var a={ctx:lr,deps:null,nodes:null,f:r|Zr|bt,first:null,fn:e,last:null,next:null,parent:n,b:n&&n.b,prev:null,teardown:null,wv:0,ac:null};if(t)try{ja(a),a.f|=ii}catch(l){throw Vr(a),l}else e!==null&&pn(a);var i=a;if(t&&i.deps===null&&i.teardown===null&&i.nodes===null&&i.first===i.last&&(i.f&Ea)===0&&(i=i.first,(r&Ot)!==0&&(r&Bt)!==0&&i!==null&&(i.f|=Bt)),i!==null&&(i.parent=n,n!==null&&Gg(i,n),Ze!==null&&(Ze.f&Br)!==0&&(r&Qn)===0)){var s=Ze;(s.effects??(s.effects=[])).push(i)}return a}function Ts(){return Ze!==null&&!Ft}function Fa(r){const e=qt(uo,null,!1);return qr(e,Ur),e.teardown=r,e}function gr(r){ru();var e=nr.f,t=!Ze&&(e&ln)!==0&&(e&ii)===0;if(t){var n=lr;(n.e??(n.e=[])).push(r)}else return tu(r)}function tu(r){return qt(oi|Cc,r,!1)}function nu(r){return ru(),qt(uo|Cc,r,!0)}function Kg(r){dn.ensure();const e=qt(Qn|Ea,r,!0);return(t={})=>new Promise(n=>{t.outro?na(e,()=>{Vr(e),n(void 0)}):(Vr(e),n(void 0))})}function ra(r){return qt(oi,r,!1)}function fr(r,e){var t=lr,n={effect:null,ran:!1,deps:r};t.l.$.push(n),n.effect=Ma(()=>{r(),!n.ran&&(n.ran=!0,Re(e))})}function Ds(){var r=lr;Ma(()=>{for(var e of r.l.$){e.deps();var t=e.effect;(t.f&Ur)!==0&&t.deps!==null&&qr(t,Lt),za(t)&&ja(t),e.ran=!1}})}function Xg(r){return qt(ws|Ea,r,!0)}function Ma(r,e=0){return qt(uo|e,r,!0)}function K(r,e=[],t=[],n=[]){Vc(n,e,t,a=>{qt(uo,()=>r(...a.map(o)),!0)})}function ta(r,e=0){var t=qt(Ot|e,r,!0);return t}function au(r,e=0){var t=qt(ys|e,r,!0);return t}function nt(r){return qt(ln|Ea,r,!0)}function ou(r){var e=r.teardown;if(e!==null){const t=Cn,n=Ze;pu(!0),at(null);try{e.call(null)}finally{pu(t),at(n)}}}function iu(r,e=!1){var t=r.first;for(r.first=r.last=null;t!==null;){const a=t.ac;a!==null&&qa(()=>{a.abort(Sa)});var n=t.next;(t.f&Qn)!==0?t.parent=null:Vr(t,e),t=n}}function Zg(r){for(var e=r.first;e!==null;){var t=e.next;(e.f&ln)===0&&Vr(e),e=t}}function Vr(r,e=!0){var t=!1;(e||(r.f&Ic)!==0)&&r.nodes!==null&&r.nodes.end!==null&&(su(r.nodes.start,r.nodes.end),t=!0),iu(r,e&&!t),pi(r,0),qr(r,cn);var n=r.nodes&&r.nodes.t;if(n!==null)for(const i of n)i.stop();ou(r);var a=r.parent;a!==null&&a.first!==null&&lu(r),r.next=r.prev=r.teardown=r.ctx=r.deps=r.fn=r.nodes=r.ac=null}function su(r,e){for(;r!==null;){var t=r===e?null:mo(r);r.remove(),r=t}}function lu(r){var e=r.parent,t=r.prev,n=r.next;t!==null&&(t.next=n),n!==null&&(n.prev=t),e!==null&&(e.first===r&&(e.first=n),e.last===r&&(e.last=t))}function na(r,e,t=!0){var n=[];cu(r,n,!0);var a=()=>{t&&Vr(r),e&&e()},i=n.length;if(i>0){var s=()=>--i||a();for(var l of n)l.out(s)}else a()}function cu(r,e,t){if((r.f&_t)===0){r.f^=_t;var n=r.nodes&&r.nodes.t;if(n!==null)for(const l of n)(l.is_global||t)&&e.push(l);for(var a=r.first;a!==null;){var i=a.next,s=(a.f&Bt)!==0||(a.f&ln)!==0&&(r.f&Ot)!==0;cu(a,e,s?t:!1),a=i}}}function As(r){uu(r,!0)}function uu(r,e){if((r.f&_t)!==0){r.f^=_t,(r.f&Ur)===0&&(qr(r,Zr),pn(r));for(var t=r.first;t!==null;){var n=t.next,a=(t.f&Bt)!==0||(t.f&ln)!==0;uu(t,a?e:!1),t=n}var i=r.nodes&&r.nodes.t;if(i!==null)for(const s of i)(s.is_global||e)&&s.in()}}function du(r,e){if(r.nodes)for(var t=r.nodes.start,n=r.nodes.end;t!==null;){var a=t===n?null:mo(t);e.append(t),t=a}}let aa=!1;function di(r){aa=r}let Cn=!1;function pu(r){Cn=r}let Ze=null,Ft=!1;function at(r){Ze=r}let nr=null;function Vt(r){nr=r}let Jr=null;function _u(r){Ze!==null&&(Jr===null?Jr=[r]:Jr.push(r))}let Qr=null,ft=0,wt=null;function Jg(r){wt=r}let gu=1,ho=0,oa=ho;function fu(r){oa=r}function mu(){return++gu}function za(r){var e=r.f;if((e&Zr)!==0)return!0;if(e&Br&&(r.f&=-32769),(e&Lt)!==0){for(var t=r.deps,n=t.length,a=0;a<n;a++){var i=t[a];if(za(i)&&Hc(i),i.wv>r.wv)return!0}(e&bt)!==0&&Rr===null&&qr(r,Ur)}return!1}function hu(r,e,t=!0){var n=r.reactions;if(n!==null&&!(Jr!=null&&Jr.includes(r)))for(var a=0;a<n.length;a++){var i=n[a];(i.f&Br)!==0?hu(i,e,!1):e===i&&(t?qr(i,Zr):(i.f&Ur)!==0&&qr(i,Lt),pn(i))}}function vu(r){var f;var e=Qr,t=ft,n=wt,a=Ze,i=Jr,s=lr,l=Ft,c=oa,u=r.f;Qr=null,ft=0,wt=null,Ze=(u&(ln|Qn))===0?r:null,Jr=null,Ca(r.ctx),Ft=!1,oa=++ho,r.ac!==null&&(qa(()=>{r.ac.abort(Sa)}),r.ac=null);try{r.f|=ks;var d=r.fn,p=d(),g=r.deps;if(Qr!==null){var _;if(pi(r,ft),g!==null&&ft>0)for(g.length=ft+Qr.length,_=0;_<Qr.length;_++)g[ft+_]=Qr[_];else r.deps=g=Qr;if(Ts()&&(r.f&bt)!==0)for(_=ft;_<g.length;_++)((f=g[_]).reactions??(f.reactions=[])).push(r)}else g!==null&&ft<g.length&&(pi(r,ft),g.length=ft);if(Ta()&&wt!==null&&!Ft&&g!==null&&(r.f&(Br|Lt|Zr))===0)for(_=0;_<wt.length;_++)hu(wt[_],r);return a!==null&&a!==r&&(ho++,wt!==null&&(n===null?n=wt:n.push(...wt))),(r.f&xn)!==0&&(r.f^=xn),p}catch(v){return Mc(v)}finally{r.f^=ks,Qr=e,ft=t,wt=n,Ze=a,Jr=i,Ca(s),Ft=l,oa=c}}function Qg(r,e){let t=e.reactions;if(t!==null){var n=dg.call(t,r);if(n!==-1){var a=t.length-1;a===0?t=e.reactions=null:(t[n]=t[a],t.pop())}}if(t===null&&(e.f&Br)!==0&&(Qr===null||!Qr.includes(e))){var i=e;(i.f&bt)!==0&&(i.f^=bt,i.f&=-32769),Es(i),Wc(i),pi(i,0)}}function pi(r,e){var t=r.deps;if(t!==null)for(var n=e;n<t.length;n++)Qg(r,t[n])}function ja(r){var e=r.f;if((e&cn)===0){qr(r,Ur);var t=nr,n=aa;nr=r,aa=!0;try{(e&(Ot|ys))!==0?Zg(r):iu(r),ou(r);var a=vu(r);r.teardown=typeof a=="function"?a:null,r.wv=gu;var i;Jn&&Cg&&(r.f&Zr)!==0&&r.deps}finally{aa=n,nr=t}}}async function yu(){await Promise.resolve(),Fg()}function o(r){var e=r.f,t=(e&Br)!==0;if(Ze!==null&&!Ft){var n=nr!==null&&(nr.f&cn)!==0;if(!n&&!(Jr!=null&&Jr.includes(r))){var a=Ze.deps;if((Ze.f&ks)!==0)r.rv<ho&&(r.rv=ho,Qr===null&&a!==null&&a[ft]===r?ft++:Qr===null?Qr=[r]:Qr.includes(r)||Qr.push(r));else{(Ze.deps??(Ze.deps=[])).push(r);var i=r.reactions;i===null?r.reactions=[Ze]:i.includes(Ze)||i.push(Ze)}}}if(Cn&&In.has(r))return In.get(r);if(t){var s=r;if(Cn){var l=s.v;return((s.f&Ur)===0&&s.reactions!==null||ku(s))&&(l=Is(s)),In.set(s,l),l}var c=(s.f&bt)===0&&!Ft&&Ze!==null&&(aa||(Ze.f&bt)!==0),u=s.deps===null;za(s)&&(c&&(s.f|=bt),Hc(s)),c&&!u&&bu(s)}if(Rr!=null&&Rr.has(r))return Rr.get(r);if((r.f&xn)!==0)throw r.v;return r.v}function bu(r){if(r.deps!==null){r.f|=bt;for(const e of r.deps)(e.reactions??(e.reactions=[])).push(r),(e.f&Br)!==0&&(e.f&bt)===0&&bu(e)}}function ku(r){if(r.v===Sr)return!0;if(r.deps===null)return!1;for(const e of r.deps)if(In.has(e)||(e.f&Br)!==0&&ku(e))return!0;return!1}function Re(r){var e=Ft;try{return Ft=!0,r()}finally{Ft=e}}function $g(r,e){var t={};for(var n in r)e.includes(n)||(t[n]=r[n]);for(var a of Object.getOwnPropertySymbols(r))Object.propertyIsEnumerable.call(r,a)&&!e.includes(a)&&(t[a]=r[a]);return t}function We(r){if(!(typeof r!="object"||!r||r instanceof EventTarget)){if(Ut in r)qs(r);else if(!Array.isArray(r))for(let e in r){const t=r[e];typeof t=="object"&&t&&Ut in t&&qs(t)}}}function qs(r,e=new Set){if(typeof r=="object"&&r!==null&&!(r instanceof EventTarget)&&!e.has(r)){e.add(r),r instanceof Date&&r.getTime();for(let n in r)try{qs(r[n],e)}catch{}const t=vs(r);if(t!==Object.prototype&&t!==Array.prototype&&t!==Map.prototype&&t!==Set.prototype&&t!==Date.prototype){const n=Pc(t);for(let a in n){const i=n[a].get;if(i)try{i.call(r)}catch{}}}}}const wu=new Set,Fs=new Set;function Ms(r,e,t,n={}){function a(i){if(n.capture||vo.call(e,i),!i.cancelBubble)return qa(()=>t==null?void 0:t.call(this,i))}return r.startsWith("pointer")||r.startsWith("touch")||r==="wheel"?En(()=>{e.addEventListener(r,a,n)}):e.addEventListener(r,a,n),a}function ef(r,e,t,n={}){var a=Ms(e,r,t,n);return()=>{r.removeEventListener(e,a,n)}}function zr(r,e,t,n,a){var i={capture:n,passive:a},s=Ms(r,e,t,i);(e===document.body||e===window||e===document||e instanceof HTMLMediaElement)&&Fa(()=>{e.removeEventListener(r,s,i)})}function _n(r){for(var e=0;e<r.length;e++)wu.add(r[e]);for(var t of Fs)t(r)}let Pu=null;function vo(r){var y;var e=this,t=e.ownerDocument,n=r.type,a=((y=r.composedPath)==null?void 0:y.call(r))||[],i=a[0]||r.target;Pu=r;var s=0,l=Pu===r&&r.__root;if(l){var c=a.indexOf(l);if(c!==-1&&(e===document||e===window)){r.__root=e;return}var u=a.indexOf(e);if(u===-1)return;c<=u&&(s=c)}if(i=a[s]||r.target,i!==e){wc(r,"currentTarget",{configurable:!0,get(){return i||t}});var d=Ze,p=nr;at(null),Vt(null);try{for(var g,_=[];i!==null;){var f=i.assignedSlot||i.parentNode||i.host||null;try{var v=i["__"+n];v!=null&&(!i.disabled||r.target===i)&&v.call(i,r)}catch(h){g?_.push(h):g=h}if(r.cancelBubble||f===e||f===null)break;i=f}if(g){for(let h of _)queueMicrotask(()=>{throw h});throw g}}finally{r.__root=e,delete r.currentTarget,at(d),Vt(p)}}}function zs(r){var e=document.createElement("template");return e.innerHTML=r.replaceAll("<!>","<!---->"),e.content}function Tn(r,e){var t=nr;t.nodes===null&&(t.nodes={start:r,end:e,a:null,t:null})}function V(r,e){var t=(e&lo)!==0,n=(e&ei)!==0,a,i=!r.startsWith("<!>");return()=>{a===void 0&&(a=zs(i?r:"<!>"+r),t||(a=gt(a)));var s=n||Zc?document.importNode(a,!0):a.cloneNode(!0);if(t){var l=gt(s),c=s.lastChild;Tn(l,c)}else Tn(s,s);return s}}function rf(r,e,t="svg"){var n=!r.startsWith("<!>"),a=(e&lo)!==0,i=`<${t}>${n?r:"<!>"+r}</${t}>`,s;return()=>{if(!s){var l=zs(i),c=gt(l);if(a)for(s=document.createDocumentFragment();gt(c);)s.appendChild(gt(c));else s=gt(c)}var u=s.cloneNode(!0);if(a){var d=gt(u),p=u.lastChild;Tn(d,p)}else Tn(u,u);return u}}function Ir(r,e){return rf(r,e,"svg")}function je(r=""){{var e=Rt(r+"");return Tn(e,e),e}}function Se(){var r=document.createDocumentFragment(),e=document.createComment(""),t=Rt();return r.append(e,t),Tn(e,t),r}function P(r,e){r!==null&&r.before(e)}function tf(r){return r.endsWith("capture")&&r!=="gotpointercapture"&&r!=="lostpointercapture"}const nf=["beforeinput","click","change","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"];function af(r){return nf.includes(r)}const of={formnovalidate:"formNoValidate",ismap:"isMap",nomodule:"noModule",playsinline:"playsInline",readonly:"readOnly",defaultvalue:"defaultValue",defaultchecked:"defaultChecked",srcobject:"srcObject",novalidate:"noValidate",allowfullscreen:"allowFullscreen",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback"};function sf(r){return r=r.toLowerCase(),of[r]??r}const lf=["touchstart","touchmove"];function cf(r){return lf.includes(r)}let _i=!0;function gi(r){_i=r}function ve(r,e){var t=e==null?"":typeof e=="object"?e+"":e;t!==(r.__t??(r.__t=r.nodeValue))&&(r.__t=t,r.nodeValue=t+"")}function ia(r,e){return uf(r,e)}const Na=new Map;function uf(r,{target:e,anchor:t,props:n={},events:a,context:i,intro:s=!0}){Rg();var l=new Set,c=p=>{for(var g=0;g<p.length;g++){var _=p[g];if(!l.has(_)){l.add(_);var f=cf(_);e.addEventListener(_,vo,{passive:f});var v=Na.get(_);v===void 0?(document.addEventListener(_,vo,{passive:f}),Na.set(_,1)):Na.set(_,v+1)}}};c(ti(wu)),Fs.add(c);var u=void 0,d=Kg(()=>{var p=t??e.appendChild(Rt());return Rc(p,{pending:()=>{}},g=>{if(i){fe({});var _=lr;_.c=i}a&&(n.$$events=a),_i=s,u=r(g,n)||{},_i=!0,i&&me()}),()=>{var f;for(var g of l){e.removeEventListener(g,vo);var _=Na.get(g);--_===0?(document.removeEventListener(g,vo),Na.delete(g)):Na.set(g,_)}Fs.delete(c),p!==t&&((f=p.parentNode)==null||f.removeChild(p))}});return js.set(u,d),u}let js=new WeakMap;function yo(r,e){const t=js.get(r);return t?(js.delete(r),t(e)):Promise.resolve()}class bo{constructor(e,t=!0){Q(this,"anchor");Ge(this,zt,new Map);Ge(this,on,new Map);Ge(this,ht,new Map);Ge(this,wa,new Set);Ge(this,Ho,!0);Ge(this,Yo,()=>{var e=er;if(Z(this,zt).has(e)){var t=Z(this,zt).get(e),n=Z(this,on).get(t);if(n)As(n),Z(this,wa).delete(t);else{var a=Z(this,ht).get(t);a&&(Z(this,on).set(t,a.effect),Z(this,ht).delete(t),a.fragment.lastChild.remove(),this.anchor.before(a.fragment),n=a.effect)}for(const[i,s]of Z(this,zt)){if(Z(this,zt).delete(i),i===e)break;const l=Z(this,ht).get(s);l&&(Vr(l.effect),Z(this,ht).delete(s))}for(const[i,s]of Z(this,on)){if(i===t||Z(this,wa).has(i))continue;const l=()=>{if(Array.from(Z(this,zt).values()).includes(i)){var u=document.createDocumentFragment();du(s,u),u.append(Rt()),Z(this,ht).set(i,{effect:s,fragment:u})}else Vr(s);Z(this,wa).delete(i),Z(this,on).delete(i)};Z(this,Ho)||!n?(Z(this,wa).add(i),na(s,l,!1)):l()}}});Ge(this,ls,e=>{Z(this,zt).delete(e);const t=Array.from(Z(this,zt).values());for(const[n,a]of Z(this,ht))t.includes(n)||(Vr(a.effect),Z(this,ht).delete(n))});this.anchor=e,Ve(this,Ho,t)}ensure(e,t){var n=er,a=$c();if(t&&!Z(this,on).has(e)&&!Z(this,ht).has(e))if(a){var i=document.createDocumentFragment(),s=Rt();i.append(s),Z(this,ht).set(e,{effect:nt(()=>t(s)),fragment:i})}else Z(this,on).set(e,nt(()=>t(this.anchor)));if(Z(this,zt).set(n,e),a){for(const[l,c]of Z(this,on))l===e?n.skipped_effects.delete(c):n.skipped_effects.add(c);for(const[l,c]of Z(this,ht))l===e?n.skipped_effects.delete(c.effect):n.skipped_effects.add(c.effect);n.oncommit(Z(this,Yo)),n.ondiscard(Z(this,ls))}else Z(this,Yo).call(this)}}zt=new WeakMap,on=new WeakMap,ht=new WeakMap,wa=new WeakMap,Ho=new WeakMap,Yo=new WeakMap,ls=new WeakMap;function kr(r,e,...t){var n=new bo(r);ta(()=>{const a=e()??null;n.ensure(a,a&&(i=>a(i,...t)))},Bt)}function Cr(r){lr===null&&Ps(),Ia&&lr.l!==null?df(lr).m.push(r):gr(()=>{const e=Re(r);if(typeof e=="function")return e})}function Wt(r){lr===null&&Ps(),Cr(()=>()=>Re(r))}function df(r){var e=r.l;return e.u??(e.u={a:[],b:[],m:[]})}function Y(r,e,t=!1){var n=new bo(r),a=t?Bt:0;function i(s,l){n.ensure(s,l)}ta(()=>{var s=!1;e((l,c=!0)=>{s=!0,i(c,l)}),s||i(!1,null)},a)}function xu(r,e,t){var n=new bo(r),a=!Ta();ta(()=>{var i=e();a&&i!==null&&typeof i=="object"&&(i={}),n.ensure(i,t)})}function gn(r,e){return e}function pf(r,e,t){for(var n=[],a=e.length,i,s=e.length,l=0;l<a;l++){let p=e[l];na(p,()=>{if(i){if(i.pending.delete(p),i.done.add(p),i.pending.size===0){var g=r.outrogroups;Ns(ti(i.done)),g.delete(i),g.size===0&&(r.outrogroups=null)}}else s-=1},!1)}if(s===0){var c=n.length===0&&t!==null;if(c){var u=t,d=u.parentNode;Vg(d),d.append(u),r.items.clear()}Ns(e,!c)}else i={pending:new Set(e),done:new Set},(r.outrogroups??(r.outrogroups=new Set)).add(i)}function Ns(r,e=!0){for(var t=0;t<r.length;t++)Vr(r[t],e)}var Eu;function Ht(r,e,t,n,a,i=null){var s=r,l=new Map,c=(e&yr)!==0;if(c){var u=r;s=u.appendChild(Rt())}var d=null,p=Sn(()=>{var h=t();return ri(h)?h:h==null?[]:ti(h)}),g,_=!0;function f(){y.fallback=d,_f(y,g,s,e,n),d!==null&&(g.length===0?(d.f&un)===0?As(d):(d.f^=un,ko(d,null,s)):na(d,()=>{d=null}))}var v=ta(()=>{g=o(p);for(var h=g.length,k=new Set,w=er,b=$c(),x=0;x<h;x+=1){var S=g[x],I=n(S,x),z=_?null:l.get(I);z?(z.v&&Aa(z.v,S),z.i&&Aa(z.i,x),b&&w.skipped_effects.delete(z.e)):(z=gf(l,_?s:Eu??(Eu=Rt()),S,I,x,a,e,t),_||(z.e.f|=un),l.set(I,z)),k.add(I)}if(h===0&&i&&!d&&(_?d=nt(()=>i(s)):(d=nt(()=>i(Eu??(Eu=Rt()))),d.f|=un)),!_)if(b){for(const[E,M]of l)k.has(E)||w.skipped_effects.add(M.e);w.oncommit(f),w.ondiscard(()=>{})}else f();o(p)}),y={effect:v,items:l,outrogroups:null,fallback:d};_=!1}function _f(r,e,t,n,a){var M,C,B,O,q,L,F,A,N;var i=(n&Lr)!==0,s=e.length,l=r.items,c=r.effect.first,u,d=null,p,g=[],_=[],f,v,y,h;if(i)for(h=0;h<s;h+=1)f=e[h],v=a(f,h),y=l.get(v).e,(y.f&un)===0&&((C=(M=y.nodes)==null?void 0:M.a)==null||C.measure(),(p??(p=new Set)).add(y));for(h=0;h<s;h+=1){if(f=e[h],v=a(f,h),y=l.get(v).e,r.outrogroups!==null)for(const W of r.outrogroups)W.pending.delete(y),W.done.delete(y);if((y.f&un)!==0)if(y.f^=un,y===c)ko(y,null,t);else{var k=d?d.next:c;y===r.effect.last&&(r.effect.last=y.prev),y.prev&&(y.prev.next=y.next),y.next&&(y.next.prev=y.prev),Dn(r,d,y),Dn(r,y,k),ko(y,k,t),d=y,g=[],_=[],c=d.next;continue}if((y.f&_t)!==0&&(As(y),i&&((O=(B=y.nodes)==null?void 0:B.a)==null||O.unfix(),(p??(p=new Set)).delete(y))),y!==c){if(u!==void 0&&u.has(y)){if(g.length<_.length){var w=_[0],b;d=w.prev;var x=g[0],S=g[g.length-1];for(b=0;b<g.length;b+=1)ko(g[b],w,t);for(b=0;b<_.length;b+=1)u.delete(_[b]);Dn(r,x.prev,S.next),Dn(r,d,x),Dn(r,S,w),c=w,d=S,h-=1,g=[],_=[]}else u.delete(y),ko(y,c,t),Dn(r,y.prev,y.next),Dn(r,y,d===null?r.effect.first:d.next),Dn(r,d,y),d=y;continue}for(g=[],_=[];c!==null&&c!==y;)(u??(u=new Set)).add(c),_.push(c),c=c.next;if(c===null)continue}(y.f&un)===0&&g.push(y),d=y,c=y.next}if(r.outrogroups!==null){for(const W of r.outrogroups)W.pending.size===0&&(Ns(ti(W.done)),(q=r.outrogroups)==null||q.delete(W));r.outrogroups.size===0&&(r.outrogroups=null)}if(c!==null||u!==void 0){var I=[];if(u!==void 0)for(y of u)(y.f&_t)===0&&I.push(y);for(;c!==null;)(c.f&_t)===0&&c!==r.fallback&&I.push(c),c=c.next;var z=I.length;if(z>0){var E=(n&yr)!==0&&s===0?t:null;if(i){for(h=0;h<z;h+=1)(F=(L=I[h].nodes)==null?void 0:L.a)==null||F.measure();for(h=0;h<z;h+=1)(N=(A=I[h].nodes)==null?void 0:A.a)==null||N.fix()}pf(r,I,E)}}i&&En(()=>{var W,G;if(p!==void 0)for(y of p)(G=(W=y.nodes)==null?void 0:W.a)==null||G.apply()})}function gf(r,e,t,n,a,i,s,l){var c=(s&Qe)!==0?(s&Nt)===0?cr(t,!1,!1):ea(t):null,u=(s&dt)!==0?ea(a):null;return{v:c,i:u,e:nt(()=>(i(e,c??t,u??a,l),()=>{r.delete(n)}))}}function ko(r,e,t){if(r.nodes)for(var n=r.nodes.start,a=r.nodes.end,i=e&&(e.f&un)===0?e.nodes.start:t;n!==null;){var s=mo(n);if(i.before(n),n===a)return;n=s}}function Dn(r,e,t){e===null?r.effect.first=t:e.next=t,t===null?r.effect.last=e:t.prev=e}function fn(r,e,t=!1,n=!1,a=!1){var i=r,s="";K(()=>{var l=nr;if(s!==(s=e()??"")&&(l.nodes!==null&&(su(l.nodes.start,l.nodes.end),l.nodes=null),s!=="")){var c=s+"";t?c=`<svg>${c}</svg>`:n&&(c=`<math>${c}</math>`);var u=zs(c);if((t||n)&&(u=gt(u)),Tn(gt(u),u.lastChild),t||n)for(;gt(u);)i.before(gt(u));else i.before(u)}})}function ff(r,e,t){var n=new bo(r);ta(()=>{var a=e()??null;n.ensure(a,a&&(i=>t(i,a)))},Bt)}const mf=()=>performance.now(),mn={tick:r=>requestAnimationFrame(r),now:()=>mf(),tasks:new Set};function Su(){const r=mn.now();mn.tasks.forEach(e=>{e.c(r)||(mn.tasks.delete(e),e.f())}),mn.tasks.size!==0&&mn.tick(Su)}function hf(r){let e;return mn.tasks.size===0&&mn.tick(Su),{promise:new Promise(t=>{mn.tasks.add(e={c:r,f:t})}),abort(){mn.tasks.delete(e)}}}function fi(r,e){qa(()=>{r.dispatchEvent(new CustomEvent(e))})}function vf(r){if(r==="float")return"cssFloat";if(r==="offset")return"cssOffset";if(r.startsWith("--"))return r;const e=r.split("-");return e.length===1?e[0]:e[0]+e.slice(1).map(t=>t[0].toUpperCase()+t.slice(1)).join("")}function Iu(r){const e={},t=r.split(";");for(const n of t){const[a,i]=n.split(":");if(!a||i===void 0)break;const s=vf(a.trim());e[s]=i.trim()}return e}const yf=r=>r;function Cu(r,e,t,n){var w;var a=(r&io)!==0,i=(r&yt)!==0,s=a&&i,l=(r&so)!==0,c=s?"both":a?"in":"out",u,d=e.inert,p=e.style.overflow,g,_;function f(){return qa(()=>u??(u=t()(e,(n==null?void 0:n())??{},{direction:c})))}var v={is_global:l,in(){var b;if(e.inert=d,!a){_==null||_.abort(),(b=_==null?void 0:_.reset)==null||b.call(_);return}i||g==null||g.abort(),fi(e,"introstart"),g=Os(e,f(),_,1,()=>{fi(e,"introend"),g==null||g.abort(),g=u=void 0,e.style.overflow=p})},out(b){if(!i){b==null||b(),u=void 0;return}e.inert=!0,fi(e,"outrostart"),_=Os(e,f(),g,0,()=>{fi(e,"outroend"),b==null||b()})},stop:()=>{g==null||g.abort(),_==null||_.abort()}},y=nr;if(((w=y.nodes).t??(w.t=[])).push(v),a&&_i){var h=l;if(!h){for(var k=y.parent;k&&(k.f&Bt)!==0;)for(;(k=k.parent)&&(k.f&Ot)===0;);h=!k||(k.f&ii)!==0}h&&ra(()=>{Re(()=>v.in())})}}function Os(r,e,t,n,a){var i=n===1;if(xa(e)){var s,l=!1;return En(()=>{if(!l){var y=e({direction:i?"in":"out"});s=Os(r,y,t,n,a)}}),{abort:()=>{l=!0,s==null||s.abort()},deactivate:()=>s.deactivate(),reset:()=>s.reset(),t:()=>s.t()}}if(t==null||t.deactivate(),!(e!=null&&e.duration))return a(),{abort:tr,deactivate:tr,reset:tr,t:()=>n};const{delay:c=0,css:u,tick:d,easing:p=yf}=e;var g=[];if(i&&t===void 0&&(d&&d(0,1),u)){var _=Iu(u(0,1));g.push(_,_)}var f=()=>1-n,v=r.animate(g,{duration:c,fill:"forwards"});return v.onfinish=()=>{v.cancel();var y=(t==null?void 0:t.t())??1-n;t==null||t.abort();var h=n-y,k=e.duration*Math.abs(h),w=[];if(k>0){var b=!1;if(u)for(var x=Math.ceil(k/16.666666666666668),S=0;S<=x;S+=1){var I=y+h*p(S/x),z=Iu(u(I,1-I));w.push(z),b||(b=z.overflow==="hidden")}b&&(r.style.overflow="hidden"),f=()=>{var E=v.currentTime;return y+h*p(E/k)},d&&hf(()=>{if(v.playState!=="running")return!1;var E=f();return d(E,1-E),!0})}v=r.animate(w,{duration:k,fill:"forwards"}),v.onfinish=()=>{f=()=>n,d==null||d(n,1-n),a()}},{abort:()=>{v&&(v.cancel(),v.effect=null,v.onfinish=tr)},deactivate:()=>{a=tr},reset:()=>{n===0&&(d==null||d(1,0))},t:()=>f()}}function Ls(r,e,t,n,a,i){var s=null,l=r,c=new bo(l,!1);ta(()=>{const u=e()||null;var d=u==="svg"?co:null;if(u===null){c.ensure(null,null),gi(!0);return}return c.ensure(u,p=>{if(u){if(s=d?document.createElementNS(d,u):document.createElement(u),Tn(s,s),n){var g=s.appendChild(Rt());n(s,g)}nr.nodes.end=s,p.before(s)}}),gi(!0),()=>{u&&gi(!1)}},Bt),Fa(()=>{gi(!0)})}function we(r,e){ra(()=>{var t=r.getRootNode(),n=t.host?t:t.head??t.ownerDocument.head;if(!n.querySelector("#"+e.hash)){const a=document.createElement("style");a.id=e.hash,a.textContent=e.code,n.appendChild(a)}})}function bf(r,e,t){ra(()=>{var n=Re(()=>e(r,t==null?void 0:t())||{});if(t&&(n!=null&&n.update)){var a=!1,i={};Ma(()=>{var s=t();We(s),a&&xs(i,s)&&(i=s,n.update(s))}),a=!0}if(n!=null&&n.destroy)return()=>n.destroy()})}function kf(r,e){var t=void 0,n;au(()=>{t!==(t=e())&&(n&&(Vr(n),n=null),t&&(n=nt(()=>{ra(()=>t(r))})))})}function Tu(r){var e,t,n="";if(typeof r=="string"||typeof r=="number")n+=r;else if(typeof r=="object")if(Array.isArray(r)){var a=r.length;for(e=0;e<a;e++)r[e]&&(t=Tu(r[e]))&&(n&&(n+=" "),n+=t)}else for(t in r)r[t]&&(n&&(n+=" "),n+=t);return n}function wf(){for(var r,e,t=0,n="",a=arguments.length;t<a;t++)(r=arguments[t])&&(e=Tu(r))&&(n&&(n+=" "),n+=e);return n}function sa(r){return typeof r=="object"?wf(r):r??""}const Du=[...`
2
+ \r\f \v\uFEFF`];function Pf(r,e,t){var n=r==null?"":""+r;if(e&&(n=n?n+" "+e:e),t){for(var a in t)if(t[a])n=n?n+" "+a:a;else if(n.length)for(var i=a.length,s=0;(s=n.indexOf(a,s))>=0;){var l=s+i;(s===0||Du.includes(n[s-1]))&&(l===n.length||Du.includes(n[l]))?n=(s===0?"":n.substring(0,s))+n.substring(l+1):s=l}}return n===""?null:n}function Au(r,e=!1){var t=e?" !important;":";",n="";for(var a in r){var i=r[a];i!=null&&i!==""&&(n+=" "+a+": "+i+t)}return n}function Bs(r){return r[0]!=="-"||r[1]!=="-"?r.toLowerCase():r}function xf(r,e){if(e){var t="",n,a;if(Array.isArray(e)?(n=e[0],a=e[1]):n=e,r){r=String(r).replaceAll(/\s*\/\*.*?\*\/\s*/g,"").trim();var i=!1,s=0,l=!1,c=[];n&&c.push(...Object.keys(n).map(Bs)),a&&c.push(...Object.keys(a).map(Bs));var u=0,d=-1;const v=r.length;for(var p=0;p<v;p++){var g=r[p];if(l?g==="/"&&r[p-1]==="*"&&(l=!1):i?i===g&&(i=!1):g==="/"&&r[p+1]==="*"?l=!0:g==='"'||g==="'"?i=g:g==="("?s++:g===")"&&s--,!l&&i===!1&&s===0){if(g===":"&&d===-1)d=p;else if(g===";"||p===v-1){if(d!==-1){var _=Bs(r.substring(u,d).trim());if(!c.includes(_)){g!==";"&&p++;var f=r.substring(u,p).trim();t+=" "+f+";"}}u=p+1,d=-1}}}}return n&&(t+=Au(n)),a&&(t+=Au(a,!0)),t=t.trim(),t===""?null:t}return r==null?null:String(r)}function ur(r,e,t,n,a,i){var s=r.__className;if(s!==t||s===void 0){var l=Pf(t,n,i);l==null?r.removeAttribute("class"):e?r.className=l:r.setAttribute("class",l),r.__className=t}else if(i&&a!==i)for(var c in i){var u=!!i[c];(a==null||u!==!!a[c])&&r.classList.toggle(c,u)}return i}function Us(r,e={},t,n){for(var a in t){var i=t[a];e[a]!==i&&(t[a]==null?r.style.removeProperty(a):r.style.setProperty(a,i,n))}}function De(r,e,t,n){var a=r.__style;if(a!==e){var i=xf(e,n);i==null?r.removeAttribute("style"):r.style.cssText=i,r.__style=e}else n&&(Array.isArray(n)?(Us(r,t==null?void 0:t[0],n[0]),Us(r,t==null?void 0:t[1],n[1],"important")):Us(r,t,n));return n}function Rs(r,e,t=!1){if(r.multiple){if(e==null)return;if(!ri(e))return Sg();for(var n of r.options)n.selected=e.includes(qu(n));return}for(n of r.options){var a=qu(n);if(Ug(a,e)){n.selected=!0;return}}(!t||e!==void 0)&&(r.selectedIndex=-1)}function Ef(r){var e=new MutationObserver(()=>{Rs(r,r.__value)});e.observe(r,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["value"]}),Fa(()=>{e.disconnect()})}function qu(r){return"__value"in r?r.__value:r.value}const wo=Symbol("class"),Po=Symbol("style"),Fu=Symbol("is custom element"),Mu=Symbol("is html");function Sf(r,e){e?r.hasAttribute("selected")||r.setAttribute("selected",""):r.removeAttribute("selected")}function be(r,e,t,n){var a=zu(r);a[e]!==(a[e]=t)&&(e==="loading"&&(r[fg]=t),t==null?r.removeAttribute(e):typeof t!="string"&&Nu(r).includes(e)?r[e]=t:r.setAttribute(e,t))}function If(r,e,t,n,a=!1,i=!1){var s=zu(r),l=s[Fu],c=!s[Mu],u=e||{},d=r.tagName==="OPTION";for(var p in e)p in t||(t[p]=null);t.class?t.class=sa(t.class):(n||t[wo])&&(t.class=null),t[Po]&&(t.style??(t.style=null));var g=Nu(r);for(const w in t){let b=t[w];if(d&&w==="value"&&b==null){r.value=r.__value="",u[w]=b;continue}if(w==="class"){var _=r.namespaceURI==="http://www.w3.org/1999/xhtml";ur(r,_,b,n,e==null?void 0:e[wo],t[wo]),u[w]=b,u[wo]=t[wo];continue}if(w==="style"){De(r,b,e==null?void 0:e[Po],t[Po]),u[w]=b,u[Po]=t[Po];continue}var f=u[w];if(!(b===f&&!(b===void 0&&r.hasAttribute(w)))){u[w]=b;var v=w[0]+w[1];if(v!=="$$")if(v==="on"){const x={},S="$$"+w;let I=w.slice(2);var y=af(I);if(tf(I)&&(I=I.slice(0,-7),x.capture=!0),!y&&f){if(b!=null)continue;r.removeEventListener(I,u[S],x),u[S]=null}if(b!=null)if(y)r[`__${I}`]=b,_n([I]);else{let z=function(E){u[w].call(this,E)};u[S]=Ms(I,r,z,x)}else y&&(r[`__${I}`]=void 0)}else if(w==="style")be(r,w,b);else if(w==="autofocus")Wg(r,!!b);else if(!l&&(w==="__value"||w==="value"&&b!=null))r.value=r.__value=b;else if(w==="selected"&&d)Sf(r,b);else{var h=w;c||(h=sf(h));var k=h==="defaultValue"||h==="defaultChecked";if(b==null&&!l&&!k)if(s[w]=null,h==="value"||h==="checked"){let x=r;const S=e===void 0;if(h==="value"){let I=x.defaultValue;x.removeAttribute(h),x.defaultValue=I,x.value=x.__value=S?I:null}else{let I=x.defaultChecked;x.removeAttribute(h),x.defaultChecked=I,x.checked=S?I:!1}}else r.removeAttribute(w);else k||g.includes(h)&&(l||typeof b!="string")?(r[h]=b,h in s&&(s[h]=Sr)):typeof b!="function"&&be(r,h,b)}}}return u}function Vs(r,e,t=[],n=[],a=[],i,s=!1,l=!1){Vc(a,t,n,c=>{var u=void 0,d={},p=r.nodeName==="SELECT",g=!1;if(au(()=>{var f=e(...c.map(o)),v=If(r,u,f,i,s,l);g&&p&&"value"in f&&Rs(r,f.value);for(let h of Object.getOwnPropertySymbols(d))f[h]||Vr(d[h]);for(let h of Object.getOwnPropertySymbols(f)){var y=f[h];h.description===Xr&&(!u||y!==u[h])&&(d[h]&&Vr(d[h]),d[h]=nt(()=>kf(r,()=>y))),v[h]=y}u=v}),p){var _=r;ra(()=>{Rs(_,u.value,!0),Ef(_)})}g=!0})}function zu(r){return r.__attributes??(r.__attributes={[Fu]:r.nodeName.includes("-"),[Mu]:r.namespaceURI===pt})}var ju=new Map;function Nu(r){var e=r.getAttribute("is")||r.nodeName,t=ju.get(e);if(t)return t;ju.set(e,t=[]);for(var n,a=r,i=Element.prototype;i!==a;){n=Pc(a);for(var s in n)n[s].set&&t.push(s);a=vs(a)}return t}function Cf(r,e,t=e){var n=new WeakSet;Yg(r,"input",async a=>{var i=a?r.defaultValue:r.value;if(i=Ws(r)?Hs(i):i,t(i),er!==null&&n.add(er),await yu(),i!==(i=e())){var s=r.selectionStart,l=r.selectionEnd,c=r.value.length;if(r.value=i??"",l!==null){var u=r.value.length;s===l&&l===c&&u>c?(r.selectionStart=u,r.selectionEnd=u):(r.selectionStart=s,r.selectionEnd=Math.min(l,u))}}}),Re(e)==null&&r.value&&(t(Ws(r)?Hs(r.value):r.value),er!==null&&n.add(er)),Ma(()=>{var a=e();if(r===document.activeElement){var i=li??er;if(n.has(i))return}Ws(r)&&a===Hs(r.value)||r.type==="date"&&!a&&!r.value||a!==r.value&&(r.value=a??"")})}function Ws(r){var e=r.type;return e==="number"||e==="range"}function Hs(r){return r===""?null:+r}const us=class us{constructor(e){Ge(this,cs);Ge(this,Kn,new WeakMap);Ge(this,ro);Ge(this,Go);Ve(this,Go,e)}observe(e,t){var n=Z(this,Kn).get(e)||new Set;return n.add(t),Z(this,Kn).set(e,n),Mr(this,cs,ug).call(this).observe(e,Z(this,Go)),()=>{var a=Z(this,Kn).get(e);a.delete(t),a.size===0&&(Z(this,Kn).delete(e),Z(this,ro).unobserve(e))}}};Kn=new WeakMap,ro=new WeakMap,Go=new WeakMap,cs=new WeakSet,ug=function(){return Z(this,ro)??Ve(this,ro,new ResizeObserver(e=>{for(var t of e){us.entries.set(t.target,t);for(var n of Z(this,Kn).get(t.target)||[])n(t)}}))},Q(us,"entries",new WeakMap);let mi=us;var Tf=new mi({box:"content-box"}),Df=new mi({box:"border-box"});function Ou(r,e,t){var n=Tf,a=n.observe(r,i=>t(i[e]));Fa(a)}function hi(r,e,t){var n=Df.observe(r,()=>t(r[e]));ra(()=>(Re(()=>t(r[e])),n))}function Lu(r,e){return r===e||(r==null?void 0:r[Ut])===e}function Oa(r={},e,t,n){return ra(()=>{var a,i;return Ma(()=>{a=i,i=[],Re(()=>{r!==t(...i)&&(e(r,...i),a&&Lu(t(...a),r)&&e(null,...a))})}),()=>{En(()=>{i&&Lu(t(...i),r)&&e(null,...i)})}}),r}function An(r=!1){const e=lr,t=e.l.u;if(!t)return;let n=()=>We(e.s);if(r){let a=0,i={};const s=go(()=>{let l=!1;const c=e.s;for(const u in c)c[u]!==i[u]&&(i[u]=c[u],l=!0);return l&&a++,a});n=()=>o(s)}t.b.length&&nu(()=>{Bu(e,n),ni(t.b)}),gr(()=>{const a=Re(()=>t.m.map(gg));return()=>{for(const i of a)typeof i=="function"&&i()}}),t.a.length&&gr(()=>{Bu(e,n),ni(t.a)})}function Bu(r,e){if(r.l.s)for(const t of r.l.s)o(t);e()}function Uu(r,e){var i;var t=(i=r.$$events)==null?void 0:i[e.type],n=ri(t)?t.slice():t==null?[]:[t];for(var a of n)a.call(this,e)}function Ys(r,e,t){if(r==null)return e(void 0),t&&t(void 0),tr;const n=Re(()=>r.subscribe(e,t));return n.unsubscribe?()=>n.unsubscribe():n}const La=[];function Pt(r,e){return{subscribe:jr(r,e).subscribe}}function jr(r,e=tr){let t=null;const n=new Set;function a(l){if(xs(r,l)&&(r=l,t)){const c=!La.length;for(const u of n)u[1](),La.push(u,r);if(c){for(let u=0;u<La.length;u+=2)La[u][0](La[u+1]);La.length=0}}}function i(l){a(l(r))}function s(l,c=tr){const u=[l,c];return n.add(u),n.size===1&&(t=e(a,i)||tr),l(r),()=>{n.delete(u),n.size===0&&t&&(t(),t=null)}}return{set:a,update:i,subscribe:s}}function Mt(r,e,t){const n=!Array.isArray(r),a=n?[r]:r;if(!a.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const i=e.length<2;return Pt(t,(s,l)=>{let c=!1;const u=[];let d=0,p=tr;const g=()=>{if(d)return;p();const f=e(n?u[0]:u,s,l);i?s(f):p=typeof f=="function"?f:tr},_=a.map((f,v)=>Ys(f,y=>{u[v]=y,d&=~(1<<v),c&&g()},()=>{d|=1<<v}));return c=!0,g(),function(){ni(_),p(),c=!1}})}function Ru(r){let e;return Ys(r,t=>e=t)(),e}let vi=!1,Gs=Symbol();function pe(r,e,t){const n=t[e]??(t[e]={store:null,source:cr(void 0),unsubscribe:tr});if(n.store!==r&&!(Gs in t))if(n.unsubscribe(),n.store=r??null,r==null)n.source.v=void 0,n.unsubscribe=tr;else{var a=!0;n.unsubscribe=Ys(r,i=>{a?n.source.v=i:j(n.source,i)}),a=!1}return r&&Gs in t?Ru(r):o(n.source)}function Vu(r,e){return r.set(e),e}function He(){const r={};function e(){Fa(()=>{for(var t in r)r[t].unsubscribe();wc(r,Gs,{enumerable:!1,value:!0})})}return[r,e]}function Af(r){var e=vi;try{return vi=!1,[r(),vi]}finally{vi=e}}const qf={get(r,e){if(!r.exclude.includes(e))return r.props[e]},set(r,e){return!1},getOwnPropertyDescriptor(r,e){if(!r.exclude.includes(e)&&e in r.props)return{enumerable:!0,configurable:!0,value:r.props[e]}},has(r,e){return r.exclude.includes(e)?!1:e in r.props},ownKeys(r){return Reflect.ownKeys(r.props).filter(e=>!r.exclude.includes(e))}};function xr(r,e,t){return new Proxy({props:r,exclude:e},qf)}const Ff={get(r,e){let t=r.props.length;for(;t--;){let n=r.props[t];if(xa(n)&&(n=n()),typeof n=="object"&&n!==null&&e in n)return n[e]}},set(r,e,t){let n=r.props.length;for(;n--;){let a=r.props[n];xa(a)&&(a=a());const i=Pn(a,e);if(i&&i.set)return i.set(t),!0}return!1},getOwnPropertyDescriptor(r,e){let t=r.props.length;for(;t--;){let n=r.props[t];if(xa(n)&&(n=n()),typeof n=="object"&&n!==null&&e in n){const a=Pn(n,e);return a&&!a.configurable&&(a.configurable=!0),a}}},has(r,e){if(e===Ut||e===Tc)return!1;for(let t of r.props)if(xa(t)&&(t=t()),t!=null&&e in t)return!0;return!1},ownKeys(r){const e=[];for(let t of r.props)if(xa(t)&&(t=t()),!!t){for(const n in t)e.includes(n)||e.push(n);for(const n of Object.getOwnPropertySymbols(t))e.includes(n)||e.push(n)}return e}};function dr(...r){return new Proxy({props:r},Ff)}function J(r,e,t,n){var w;var a=!Ia||(t&$o)!==0,i=(t&oo)!==0,s=(t&sr)!==0,l=n,c=!0,u=()=>(c&&(c=!1,l=s?Re(n):n),l),d;if(i){var p=Ut in r||Tc in r;d=((w=Pn(r,e))==null?void 0:w.set)??(p&&e in r?b=>r[e]=b:void 0)}var g,_=!1;i?[g,_]=Af(()=>r[e]):g=r[e],g===void 0&&n!==void 0&&(g=u(),d&&(a&&kg(),d(g)));var f;if(a?f=()=>{var b=r[e];return b===void 0?u():(c=!0,b)}:f=()=>{var b=r[e];return b!==void 0&&(l=void 0),b===void 0?l:b},a&&(t&Zn)===0)return f;if(d){var v=r.$$legacy;return function(b,x){return arguments.length>0?((!a||!x||v||_)&&d(x?f():b),b):f()}}var y=!1,h=((t&tt)!==0?go:Sn)(()=>(y=!1,f()));i&&o(h);var k=nr;return function(b,x){if(arguments.length>0){const S=x?o(h):a&&i?or(b):b;return j(h,S),y=!0,l!==void 0&&(l=S),b}return Cn&&y||(k.f&cn)!==0?h.v:o(h)}}var Ae=(r=>(r[r.UnknownError=0]="UnknownError",r[r.UserCancelledError=1]="UserCancelledError",r[r.StoreProblemError=2]="StoreProblemError",r[r.PurchaseNotAllowedError=3]="PurchaseNotAllowedError",r[r.PurchaseInvalidError=4]="PurchaseInvalidError",r[r.ProductNotAvailableForPurchaseError=5]="ProductNotAvailableForPurchaseError",r[r.ProductAlreadyPurchasedError=6]="ProductAlreadyPurchasedError",r[r.ReceiptAlreadyInUseError=7]="ReceiptAlreadyInUseError",r[r.InvalidReceiptError=8]="InvalidReceiptError",r[r.MissingReceiptFileError=9]="MissingReceiptFileError",r[r.NetworkError=10]="NetworkError",r[r.InvalidCredentialsError=11]="InvalidCredentialsError",r[r.UnexpectedBackendResponseError=12]="UnexpectedBackendResponseError",r[r.InvalidAppUserIdError=14]="InvalidAppUserIdError",r[r.OperationAlreadyInProgressError=15]="OperationAlreadyInProgressError",r[r.UnknownBackendError=16]="UnknownBackendError",r[r.InvalidAppleSubscriptionKeyError=17]="InvalidAppleSubscriptionKeyError",r[r.IneligibleError=18]="IneligibleError",r[r.InsufficientPermissionsError=19]="InsufficientPermissionsError",r[r.PaymentPendingError=20]="PaymentPendingError",r[r.InvalidSubscriberAttributesError=21]="InvalidSubscriberAttributesError",r[r.LogOutWithAnonymousUserError=22]="LogOutWithAnonymousUserError",r[r.ConfigurationError=23]="ConfigurationError",r[r.UnsupportedError=24]="UnsupportedError",r[r.EmptySubscriberAttributesError=25]="EmptySubscriberAttributesError",r[r.CustomerInfoError=28]="CustomerInfoError",r[r.SignatureVerificationError=36]="SignatureVerificationError",r[r.InvalidEmailError=38]="InvalidEmailError",r[r.TestStoreSimulatedPurchaseError=42]="TestStoreSimulatedPurchaseError",r))(Ae||{});function Mf(r){switch(r){case 0:return"Unknown error.";case 1:return"Purchase was cancelled.";case 2:return"There was a problem with the store.";case 3:return"The device or user is not allowed to make the purchase.";case 4:return"One or more of the arguments provided are invalid.";case 5:return"The product is not available for purchase.";case 6:return"This product is already active for the user.";case 7:return"There is already another active subscriber using the same receipt.";case 8:return"The receipt is not valid.";case 9:return"The receipt is missing.";case 10:return"Error performing request. Please check your network connection and try again.";case 11:return"There was a credentials issue. Check the underlying error for more details.";case 12:return"Received unexpected response from the backend.";case 14:return"The app user ID is not valid.";case 15:return"The operation is already in progress.";case 16:return"There was an unknown backend error.";case 17:return"Apple Subscription Key is invalid or not present. In order to provide subscription offers, you must first generate a subscription key. Please see https://docs.revenuecat.com/docs/ios-subscription-offers for more info.";case 18:return"The User is ineligible for that action.";case 19:return"App does not have sufficient permissions to make purchases.";case 20:return"The payment is pending.";case 21:return"One or more of the attributes sent could not be saved.";case 22:return"Called logOut but the current user is anonymous.";case 23:return"There is an issue with your configuration. Check the underlying error for more details.";case 24:return"There was a problem with the operation. Looks like we don't support that yet. Check the underlying error for more details.";case 25:return"A request for subscriber attributes returned none.";case 28:return"There was a problem related to the customer info.";case 36:return"Request failed signature verification. Please see https://rev.cat/trusted-entitlements for more info.";case 38:return"Email is not valid. Please provide a valid email address.";case 42:return"Purchase failure simulated successfully in Test Store."}}class Ba{static getPublicMessage(e){return Mf(e)}static getErrorCodeForBackendErrorCode(e){switch(e){case 7101:case 7773:case 7898:case 7899:case 7900:case 7901:return Ae.StoreProblemError;case 7102:return Ae.ReceiptAlreadyInUseError;case 7103:return Ae.InvalidReceiptError;case 7107:case 7224:case 7225:case 7967:return Ae.InvalidCredentialsError;case 7105:case 7106:case 7814:case 7877:case 7878:return Ae.PurchaseInvalidError;case 7772:return Ae.ProductAlreadyPurchasedError;case 7220:return Ae.InvalidAppUserIdError;case 7259:return Ae.CustomerInfoError;case 7229:return Ae.StoreProblemError;case 7230:case 7e3:return Ae.ConfigurationError;case 7231:return Ae.StoreProblemError;case 7232:return Ae.IneligibleError;case 7263:case 7264:return Ae.InvalidSubscriberAttributesError;case 7104:case 7234:case 7226:case 7110:return Ae.UnexpectedBackendResponseError;case 7662:return Ae.UnsupportedError;case 7012:case 7834:case 7879:return Ae.InvalidEmailError}}static convertCodeToBackendErrorCode(e){return e in hn?e:null}static convertPurchaseFlowErrorCodeToErrorCode(e){switch(e){case _e.ErrorSettingUpPurchase:return Ae.StoreProblemError;case _e.ErrorChargingPayment:return Ae.PaymentPendingError;case _e.NetworkError:return Ae.NetworkError;case _e.MissingEmailError:return Ae.PurchaseInvalidError;case _e.AlreadyPurchasedError:return Ae.ProductAlreadyPurchasedError;case _e.InvalidPaddleAPIKeyError:return Ae.InvalidCredentialsError;default:return Ae.UnknownError}}}var hn=(r=>(r[r.BackendInvalidPlatform=7e3]="BackendInvalidPlatform",r[r.BackendInvalidEmail=7012]="BackendInvalidEmail",r[r.BackendStoreProblem=7101]="BackendStoreProblem",r[r.BackendCannotTransferPurchase=7102]="BackendCannotTransferPurchase",r[r.BackendInvalidReceiptToken=7103]="BackendInvalidReceiptToken",r[r.BackendInvalidAppStoreSharedSecret=7104]="BackendInvalidAppStoreSharedSecret",r[r.BackendInvalidPaymentModeOrIntroPriceNotProvided=7105]="BackendInvalidPaymentModeOrIntroPriceNotProvided",r[r.BackendProductIdForGoogleReceiptNotProvided=7106]="BackendProductIdForGoogleReceiptNotProvided",r[r.BackendInvalidPlayStoreCredentials=7107]="BackendInvalidPlayStoreCredentials",r[r.BackendInternalServerError=7110]="BackendInternalServerError",r[r.BackendEmptyAppUserId=7220]="BackendEmptyAppUserId",r[r.BackendInvalidAuthToken=7224]="BackendInvalidAuthToken",r[r.BackendInvalidAPIKey=7225]="BackendInvalidAPIKey",r[r.BackendBadRequest=7226]="BackendBadRequest",r[r.BackendPlayStoreQuotaExceeded=7229]="BackendPlayStoreQuotaExceeded",r[r.BackendPlayStoreInvalidPackageName=7230]="BackendPlayStoreInvalidPackageName",r[r.BackendPlayStoreGenericError=7231]="BackendPlayStoreGenericError",r[r.BackendUserIneligibleForPromoOffer=7232]="BackendUserIneligibleForPromoOffer",r[r.BackendInvalidAppleSubscriptionKey=7234]="BackendInvalidAppleSubscriptionKey",r[r.BackendSubscriberNotFound=7259]="BackendSubscriberNotFound",r[r.BackendInvalidSubscriberAttributes=7263]="BackendInvalidSubscriberAttributes",r[r.BackendInvalidSubscriberAttributesBody=7264]="BackendInvalidSubscriberAttributesBody",r[r.BackendProductIDsMalformed=7662]="BackendProductIDsMalformed",r[r.BackendAlreadySubscribedError=7772]="BackendAlreadySubscribedError",r[r.BackendPaymentGatewayGenericError=7773]="BackendPaymentGatewayGenericError",r[r.BackendOfferNotFound=7814]="BackendOfferNotFound",r[r.BackendNoMXRecordsFound=7834]="BackendNoMXRecordsFound",r[r.BackendInvalidOperationSession=7877]="BackendInvalidOperationSession",r[r.BackendPurchaseCannotBeCompleted=7878]="BackendPurchaseCannotBeCompleted",r[r.BackendEmailIsRequired=7879]="BackendEmailIsRequired",r[r.BackendGatewaySetupErrorStripeTaxNotActive=7898]="BackendGatewaySetupErrorStripeTaxNotActive",r[r.BackendGatewaySetupErrorInvalidTaxOriginAddress=7899]="BackendGatewaySetupErrorInvalidTaxOriginAddress",r[r.BackendGatewaySetupErrorMissingRequiredPermission=7900]="BackendGatewaySetupErrorMissingRequiredPermission",r[r.BackendGatewaySetupErrorSandboxModeOnly=7901]="BackendGatewaySetupErrorSandboxModeOnly",r[r.BackendInvalidPaddleAPIKey=7967]="BackendInvalidPaddleAPIKey",r))(hn||{});class $e extends Error{constructor(t,n,a,i){super(n);Q(this,"toString",()=>`PurchasesError(code: ${Ae[this.errorCode]}, message: ${this.message})`);this.errorCode=t,this.underlyingErrorMessage=a,this.extra=i}static getForBackendError(t,n){const a=Ba.getErrorCodeForBackendErrorCode(t);return new $e(a,Ba.getPublicMessage(a),n,{backendErrorCode:t})}static getForPurchasesFlowError(t){return new $e(Ba.convertPurchaseFlowErrorCodeToErrorCode(t.errorCode),t.message,t.underlyingErrorMessage)}}class Wu extends Error{constructor(){super("Purchases must be configured before calling getInstance")}}var vn=(r=>(r.Started="started",r.InProgress="in_progress",r.Succeeded="succeeded",r.Failed="failed",r))(vn||{}),Ua=(r=>(r[r.SetupIntentCreationFailed=1]="SetupIntentCreationFailed",r[r.PaymentMethodCreationFailed=2]="PaymentMethodCreationFailed",r[r.PaymentChargeFailed=3]="PaymentChargeFailed",r[r.SetupIntentCompletionFailed=4]="SetupIntentCompletionFailed",r[r.AlreadyPurchased=5]="AlreadyPurchased",r))(Ua||{}),ot=(r=>(r[r.Silent=0]="Silent",r[r.Error=1]="Error",r[r.Warn=2]="Warn",r[r.Info=3]="Info",r[r.Debug=4]="Debug",r[r.Verbose=5]="Verbose",r))(ot||{});class ye{static setLogLevel(e){this.logLevel=e}static setLogHandler(e){this.logHandler=e}static log(e,t=this.logLevel){const n=`[Purchases] ${e}`;if(!(this.logLevel<t||t===ot.Silent)){if(this.logHandler!==null){this.logHandler(t,n);return}switch(t){case ot.Error:console.error(n);break;case ot.Warn:console.warn(n);break;case ot.Info:console.info(n);break;case ot.Debug:console.debug(n);break;case ot.Verbose:console.debug(n);break}}}static errorLog(e){this.log(e,ot.Error)}static warnLog(e){this.log(e,ot.Warn)}static infoLog(e){this.log(e,ot.Info)}static debugLog(e){this.log(e,ot.Debug)}static verboseLog(e){this.log(e,ot.Verbose)}}Q(ye,"logLevel",ot.Silent),Q(ye,"logHandler",null);function Hu(r){var e;return r.operation.redemption_info?{redeemUrl:((e=r.operation.redemption_info)==null?void 0:e.redeem_url)??null}:null}var yn=(r=>(r.tax_collection_disabled="tax_collection_disabled",r.invalid_tax_location="invalid_tax_location",r.rate_limit_exceeded="rate_limit_exceeded",r.missing_required_permission="missing_required_permission",r.invalid_origin_address="invalid_origin_address",r.invalid_head_office_address="invalid_head_office_address",r.taxes_not_active="taxes_not_active",r.stripe_tax_unsupported_country="stripe_tax_unsupported_country",r.unexpected_gateway_error="unexpected_gateway_error",r))(yn||{});function Yu(r,e){const t=r.original_amount_in_micros??r.total_excluding_tax_in_micros,n=r.applied_discounts??[];return{currency:r.currency,originalAmountInMicros:t,totalAmountInMicros:r.total_amount_in_micros,totalExcludingTaxInMicros:r.total_excluding_tax_in_micros,taxCalculationStatus:e,taxAmountInMicros:r.tax_amount_in_micros,taxBreakdown:r.tax_breakdown,appliedDiscounts:n.map(a=>({identifier:a.identifier,displayName:a.display_name,discountedAmountInMicros:a.discounted_amount_in_micros,percentage:a.percentage,discountCode:a.discount_code,durationMode:a.duration_mode,timeWindow:a.time_window}))}}function Gu(r,e){if(r==null){e(new he(_e.UnknownError,"Got an error status but error field is empty."));return}switch(r.code){case Ua.SetupIntentCreationFailed:e(new he(_e.ErrorSettingUpPurchase,"Setup intent creation failed"));return;case Ua.PaymentMethodCreationFailed:e(new he(_e.ErrorSettingUpPurchase,"Payment method creation failed"));return;case Ua.PaymentChargeFailed:e(new he(_e.ErrorChargingPayment,"Payment charge failed"));return;case Ua.SetupIntentCompletionFailed:e(new he(_e.ErrorSettingUpPurchase,"Setup intent completion failed"));return;case Ua.AlreadyPurchased:e(new he(_e.AlreadyPurchasedError,"Purchased was already completed"));return;default:e(new he(_e.UnknownError,"Unknown error code received"));return}}var _e=(r=>(r[r.ErrorSettingUpPurchase=0]="ErrorSettingUpPurchase",r[r.ErrorChargingPayment=1]="ErrorChargingPayment",r[r.UnknownError=2]="UnknownError",r[r.NetworkError=3]="NetworkError",r[r.MissingEmailError=4]="MissingEmailError",r[r.AlreadyPurchasedError=5]="AlreadyPurchasedError",r[r.StripeTaxNotActive=6]="StripeTaxNotActive",r[r.StripeInvalidTaxOriginAddress=7]="StripeInvalidTaxOriginAddress",r[r.StripeMissingRequiredPermission=8]="StripeMissingRequiredPermission",r[r.InvalidPaddleAPIKeyError=9]="InvalidPaddleAPIKeyError",r))(_e||{});class he extends Error{constructor(e,t,n,a,i,s){super(t),this.errorCode=e,this.underlyingErrorMessage=n,this.purchasesErrorCode=a,this.extra=i,this.displayPurchaseFlowErrorCode=s}getErrorCode(){var t;const e=((t=this.extra)==null?void 0:t.backendErrorCode)??this.purchasesErrorCode;return this.displayPurchaseFlowErrorCode?this.errorCode??e:e??this.errorCode}static fromPurchasesError(e,t,n=!1){var i;let a;return e.errorCode===Ae.ProductAlreadyPurchasedError?a=5:e.errorCode===Ae.InvalidEmailError?a=4:e.errorCode===Ae.NetworkError?a=3:a=he.fromBackendErrorCode((i=e.extra)==null?void 0:i.backendErrorCode)??t,new he(a,e.message,e.underlyingErrorMessage,e.errorCode,e.extra,n)}static fromBackendErrorCode(e){switch(e){case hn.BackendGatewaySetupErrorStripeTaxNotActive:return 6;case hn.BackendGatewaySetupErrorInvalidTaxOriginAddress:return 7;case hn.BackendGatewaySetupErrorMissingRequiredPermission:return 8;case hn.BackendInvalidPaddleAPIKey:return 9;default:return null}}}class yi{constructor(e,t,n=10){Q(this,"operationSessionId",null);Q(this,"backend");Q(this,"eventsTracker");Q(this,"maxNumberAttempts");Q(this,"waitMSBetweenAttempts",1e3);this.backend=e,this.eventsTracker=t,this.maxNumberAttempts=n}static getBackendErrorCodeForInterruptedCheckout(e){switch(e){case yn.taxes_not_active:case yn.stripe_tax_unsupported_country:return hn.BackendGatewaySetupErrorStripeTaxNotActive;case yn.invalid_origin_address:case yn.invalid_head_office_address:return hn.BackendGatewaySetupErrorInvalidTaxOriginAddress;case yn.missing_required_permission:return hn.BackendGatewaySetupErrorMissingRequiredPermission;default:return null}}static throwIfCheckoutShouldBeInterrupted(e){if(!e.interrupt_checkout)return;const t=yi.getBackendErrorCodeForInterruptedCheckout(e.failed_reason);throw t==null?new he(0,"There was a problem with the store.",e.failed_reason??"Checkout interrupted."):he.fromPurchasesError($e.getForBackendError(t,e.failed_reason??null),0)}async prepareCheckout(e,t){try{return await this.backend.postCheckoutPrepare(e,t)}catch(n){if(n instanceof $e)throw he.fromPurchasesError(n,0);{const a="Unknown error preparing purchase: "+String(n);throw ye.errorLog(a),new he(2,a)}}}async checkoutStart({appUserId:e,productId:t,purchaseOption:n,presentedOfferingContext:a,workflowPurchaseContext:i,paywallId:s,paywallSessionId:l,customerEmail:c,metadata:u,locale:d,attributionMetadata:p}){try{const g=this.eventsTracker.getTraceId(),_=i==null?void 0:i.stepId,f=await this.backend.postCheckoutStart({appUserId:e,productId:t,purchaseOption:n,presentedOfferingContext:a,traceId:g,presentedStepId:_,paywallId:s,paywallSessionId:l,customerEmail:c,metadata:u,locale:d,attributionMetadata:p});return this.operationSessionId=f.operation_session_id,f}catch(g){if(g instanceof $e)throw he.fromPurchasesError(g,0);{const _="Unknown error starting purchase: "+String(g);throw ye.errorLog(_),new he(2,_)}}}async checkoutRefreshPricing({countryCode:e,postalCode:t,discountCode:n,signal:a}={}){const i=this.operationSessionId;if(!i)throw new he(0,"No purchase started");try{const s=await this.backend.patchCheckoutRefreshPricing(i,{countryCode:e,postalCode:t,discountCode:n,signal:a});return yi.throwIfCheckoutShouldBeInterrupted(s),s}catch(s){if(s instanceof he)throw s;if(s instanceof $e)throw he.fromPurchasesError(s,0);{const l="Unknown error refreshing checkout pricing: "+String(s);throw ye.errorLog(l),new he(2,l)}}}async checkoutComplete(e,t){const n=this.operationSessionId;if(!n)throw new he(0,"No purchase started");try{return await this.backend.postCheckoutComplete(n,e,t)}catch(a){if(a instanceof $e)throw he.fromPurchasesError(a,0);{const i="Unknown error starting purchase: "+String(a);throw ye.errorLog(i),new he(2,i)}}}async pollCurrentPurchaseForCompletion(){const e=this.operationSessionId;if(!e)throw new he(0,"No purchase in progress");return new Promise((t,n)=>{const a=(i=1)=>{if(i>this.maxNumberAttempts){this.clearPurchaseInProgress(),n(new he(2,"Max attempts reached trying to get successful purchase status"));return}this.backend.getCheckoutStatus(e).then(s=>{const l=s.operation.store_transaction_identifier,c=s.operation.product_identifier,u=s.operation.purchase_date?isNaN(Date.parse(s.operation.purchase_date))?null:new Date(s.operation.purchase_date):null;switch(s.operation.status){case vn.Started:case vn.InProgress:setTimeout(()=>a(i+1),this.waitMSBetweenAttempts);break;case vn.Succeeded:if(this.clearPurchaseInProgress(),!l||!c||!u){n(new he(2,"Missing required fields in operation response."));return}t({redemptionInfo:Hu(s),operationSessionId:e,storeTransactionIdentifier:l,productIdentifier:c,purchaseDate:u,attributionMetadata:s.attribution_metadata??void 0});return;case vn.Failed:this.clearPurchaseInProgress(),Gu(s.operation.error,n)}}).catch(s=>{const l=he.fromPurchasesError(s,3);n(l)})};a()})}clearPurchaseInProgress(){this.operationSessionId=null}}const vr="rcb-ui-translator",Wr="en",zf={"periods.week":"{{amount}} week","periods.month":"{{amount}} month","periods.year":"{{amount}} year","periods.day":"{{amount}} day","periods.weekShort":"{{amount}}wk","periods.monthShort":"{{amount}}mo","periods.yearShort":"{{amount}}yr","periods.dayShort":"{{amount}}d","periods.lifetime":"lifetime","periods.weekPlural":"{{amount}} weeks","periods.monthPlural":"{{amount}} months","periods.yearPlural":"{{amount}} years","periods.dayPlural":"{{amount}} days","periods.weekFrequency":"weekly","periods.monthFrequency":"monthly","periods.yearFrequency":"yearly","periods.dayFrequency":"daily","periods.perWeekFrequency":"per week","periods.perMonthFrequency":"per month","periods.perYearFrequency":"per year","periods.perDayFrequency":"per day","periods.unknownFrequency":"unknown","periods.weekFrequencyPlural":"every {{amount}} weeks","periods.monthFrequencyPlural":"every {{amount}} months","periods.yearFrequencyPlural":"every {{amount}} years","periods.dayFrequencyPlural":"every {{amount}} days","product_info.subscribe_to":"Subscribe to","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"Try free for {{trialDuration}}","product_info.price_after_free_trial":"After trial ends, on {{renewalDate}}","product_info.intro_price_phase_after_trial":"Then {{introPriceDuration}} for {{introPrice}}","product_info.intro_price_phase":"First {{introPriceDuration}} for {{introPrice}}","product_info.intro_price_phase_paid_once":"paid once","product_info.price_after_intro_price":"After {{introPriceDuration}}, on {{renewalDate}}","product_info.after_trial":"after trial","product_info.after":"after","product_info.total_due_today":"Total due today","product_info.renewal_frequency":"Renews {{frequency}}","product_info.continues_until_cancelled":"Continues until cancelled","product_info.cancel_anytime":"Cancel anytime","payment_entry_page.payment_step_title":"Secure checkout by RevenueCat","payment_entry_page.trial_subscription_terms_info":"After your trial ends, you will be charged {{price}} {{perFrequency}} starting {{renewalDate}}. You can cancel any time before this date.","payment_entry_page.subscription_terms_info":"By subscribing, you agree to allow {{appName}} to charge you according to their terms until you cancel.","payment_entry_page.otp_terms_info":"By purchasing, you agree to allow {{appName}} to charge you according to their terms.","payment_entry_page.terms_link_label":"Terms","payment_entry_page.subscription_info":"Subscription renews automatically. Cancel anytime.","payment_entry_page.button_pay":"Pay now","payment_entry_page.button_start_trial":"Start trial","payment_entry_page.button_with_price":"Pay {{formattedPrice}}","payment_entry_page.button_payment_method":"Pay {{formattedPrice}} with {{paymentMethod}}","payment_entry_page.express_checkout_divider":"OR PAY BY CARD","loading_page.processing_payment":"Processing payment","loading_page.keep_page_open":"The process is almost done. Keep this page open.","success_page.purchase_successful":"Payment complete","success_page.button_close":"Continue","error_page.close_button_title":"Go to {{appName}}","error_page.if_error_persists":"If it persists, please contact ","error_page.trouble_accessing":"If you're having trouble accessing your purchase, reach out to support on ","error_page.error_title_already_subscribed":"You already subscribed to {{productTitle}}","error_page.error_title_already_purchased":"You already purchased {{productTitle}}","error_page.error_title_other_errors":"Something went wrong","error_page.error_message_already_subscribed":"You can't subscribe to this product again.","error_page.error_message_already_purchased":"You can't purchase this product again.","error_page.error_title_stripe_tax_not_active":"Stripe Tax not active","error_page.error_title_stripe_invalid_tax_origin_address":"Invalid tax origin address","error_page.error_title_stripe_missing_required_permission":"Missing Stripe permission","error_page.error_message_missing_email_error":"Email is required to complete the purchase.","error_page.error_message_invalid_email_error":"The email address {{email}} couldn't be verified. Please provide a valid email address.","error_page.error_message_network_error":"Network error. Please check your internet connection.","error_page.error_message_error_charging_payment":"Payment failed.","error_page.error_message_error_setting_up_purchase":"Purchase not started due to an error (error code: {{errorCode}}).","error_page.error_message_invalid_tax_location":"We couldn't verify your billing address. Please double-check that the postal code and country are correct.","error_page.error_message_unknown_error":"An unknown error occurred (error code: {{errorCode}}).","error_page.error_message_stripe_tax_not_active":"The purchase failed because Stripe Tax isn’t enabled. In production, purchases will work without taxes applied.","error_page.error_message_stripe_invalid_tax_origin_address":"The purchase failed because the tax origin address is invalid. In production, purchases will work without taxes applied.","error_page.error_message_stripe_missing_required_permission":"The purchase failed because the Stripe app lacks a required permission. In production, purchases will work without taxes applied.","error_page.error_only_in_sandbox":"This message appears only in sandbox.","error_page.button_try_again":"Try again","error_page.button_close":"Close","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","pricing_dropdown.show_details":"Show details","pricing_dropdown.hide_details":"Hide details","pricing_dropdown.add_promo_code":"Add promo code","discount_input.label":"Promo code","pricing_table.trial_ends":"After trial ends, on {{formattedTrialEndDate}}","pricing_table.total_excluding_tax":"Total excluding tax","pricing_table.total_due_today":"Total due today","pricing_table.subtotal":"Subtotal","pricing_table.discount":"Discount","pricing_table.tax":"Tax","pricing_table.enter_billing_address_to_calculate":"Enter billing address to calculate","pricing_table.enter_postal_code_to_calculate":"Enter zip code to calculate","pricing_table.enter_state_or_postal_code_to_calculate":"Enter state or postal code to calculate","navbar_header.details":"Details","navbar_header.back_button":"Back","price_update.title":"Price update","price_update.base_message":"The total price was updated with tax based on your billing address. Please review and try again. Your card will only be charged once.","price_update.trial_message":"The subscription price was updated to include tax based on your billing address. Free trial still applies. Review and try again.","apple_pay.free_trial":"Free Trial"},jf={"periods.week":"{{amount}} semana","periods.month":"{{amount}} mes","periods.year":"{{amount}} año","periods.day":"{{amount}} día","periods.weekShort":"{{amount}} sem","periods.monthShort":"{{amount}}mes","periods.yearShort":"{{amount}}año","periods.dayShort":"{{amount}}d","periods.lifetime":"de por vida","periods.weekPlural":"{{amount}} semanas","periods.monthPlural":"{{amount}} meses","periods.yearPlural":"{{amount}} años","periods.dayPlural":"{{amount}} días","periods.weekFrequency":"semanal","periods.monthFrequency":"mensual","periods.yearFrequency":"anual","periods.dayFrequency":"diaria","periods.perWeekFrequency":"por semana","periods.perMonthFrequency":"por mes","periods.perYearFrequency":"por año","periods.perDayFrequency":"por día","periods.unknownFrequency":"desconocida","periods.weekFrequencyPlural":"cada {{amount}} semanas","periods.monthFrequencyPlural":"cada {{amount}} meses","periods.yearFrequencyPlural":"cada {{amount}} años","periods.dayFrequencyPlural":"cada {{amount}} días","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} prueba gratuita","product_info.price_after_free_trial":"Después de que termine el periodo de prueba, el {{renewalDate}}","product_info.renewal_frequency":"Se renueva {{frequency}}","product_info.continues_until_cancelled":"Continua hasta que se cancele","product_info.cancel_anytime":"Cancelar en cualquier momento","payment_entry_page.payment_step_title":"Pago seguro mediante RevenueCat","payment_entry_page.button_pay":"Pagar ahora","payment_entry_page.button_start_trial":"Comenzar prueba","success_page.purchase_successful":"Pago completado","success_page.button_close":"Continuar","error_page.if_error_persists":"Si el error persiste, contacta con ","error_page.error_title_already_subscribed":"Ya te has suscrito a {{productTitle}}","error_page.error_title_already_purchased":"Ya has comprado {{productTitle}}","error_page.error_title_other_errors":"Algo salió mal","error_page.error_message_already_subscribed":"No puedes suscribirte a este producto de nuevo.","error_page.error_message_already_purchased":"No puedes comprar este producto de nuevo.","error_page.error_message_missing_email_error":"Se requiere un correo electrónico para completar la compra.","error_page.error_message_network_error":"Error de red. Por favor, comprueba tu conexión a internet.","error_page.error_message_error_charging_payment":"Pago fallido.","error_page.error_message_error_setting_up_purchase":"No se pudo iniciar la compra debido a un error (código de error: {{errorCode}}).","error_page.error_message_invalid_tax_location":"No pudimos verificar tu dirección de facturación. Por favor, verifica que el código postal y el país sean correctos.","error_page.error_message_unknown_error":"Ocurrió un error desconocido (código de error: {{errorCode}}).","error_page.button_try_again":"Intentar de nuevo","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Total a pagar hoy","product_info.subscribe_to":"Suscribirse a","navbar_header.details":"Detalles","navbar_header.back_button":"Atrás","pricing_dropdown.show_details":"Mostrar detalles","pricing_dropdown.hide_details":"Ocultar detalles","pricing_table.tax":"Impuestos","pricing_table.trial_ends":"Después de que finalice la prueba, el {{formattedTrialEndDate}}","pricing_table.total_due_today":"Total a pagar hoy","pricing_table.total_excluding_tax":"Total sin impuestos","pricing_table.enter_billing_address_to_calculate":"Introduce la dirección de facturación para calcular","pricing_table.enter_state_or_postal_code_to_calculate":"Introduce el estado o el código postal para calcular","pricing_table.enter_postal_code_to_calculate":"Introduce el código postal para calcular","error_page.error_message_invalid_email_error":"La dirección de correo electrónico {{email}} no se pudo verificar. Por favor, proporciona una dirección de correo electrónico válida.","payment_entry_page.button_payment_method":"Pagar {{formattedPrice}} con {{paymentMethod}}","payment_entry_page.button_with_price":"Pagar {{formattedPrice}}","price_update.title":"Actualización de precio","price_update.base_message":"El precio total se actualizó con impuestos según su dirección de facturación. Revise e intente nuevamente. Solo se efectuará un cobro en su tarjeta.","price_update.trial_message":"El precio de la suscripción se actualizó para incluir impuestos según su dirección de facturación. La prueba gratuita sigue aplicándose. Revise e intente nuevamente.","payment_entry_page.express_checkout_divider":"O PAGA CON TARJETA","error_page.trouble_accessing":"Si tiene problemas para acceder a su compra, póngase en contacto con el servicio de asistencia en ","error_page.close_button_title":"Ir a {{appName}}","error_page.error_title_stripe_missing_required_permission":"Falta permiso de Stripe","error_page.button_close":"Cerrar","error_page.error_message_stripe_invalid_tax_origin_address":"La compra falló porque la dirección de origen fiscal no es válida. En producción, las compras funcionarán sin impuestos aplicados.","error_page.error_message_stripe_tax_not_active":"La compra falló porque Stripe Tax no está habilitado. En producción, las compras funcionarán sin impuestos aplicados.","error_page.error_only_in_sandbox":"Este mensaje aparece solo en el entorno de pruebas.","error_page.error_message_stripe_missing_required_permission":"La compra falló porque la aplicación Stripe carece de un permiso necesario. En producción, las compras funcionarán sin impuestos aplicados.","error_page.error_title_stripe_tax_not_active":"Stripe Tax no está activo","error_page.error_title_stripe_invalid_tax_origin_address":"Dirección de origen fiscal no válida","apple_pay.free_trial":"Prueba gratuita","product_info.price_after_intro_price":"Después de {{introPriceDuration}}, el {{renewalDate}}","product_info.after_trial":"después del período de prueba","product_info.after":"después de","product_info.intro_price_phase_after_trial":"Luego, {{introPriceDuration}} por {{introPrice}}","product_info.intro_price_phase":"Primero, {{introPriceDuration}} por {{introPrice}}","product_info.intro_price_phase_paid_once":"pago único","payment_entry_page.trial_subscription_terms_info":"Una vez finalizado el período de prueba, se te cobrarán {{price}} {{perFrequency}} a partir del {{renewalDate}}. Puedes cancelar en cualquier momento antes de esta fecha.","payment_entry_page.subscription_info":"La suscripción se renueva automáticamente. Cancela en cualquier momento.","payment_entry_page.otp_terms_info":"Al comprar, aceptas que {{appName}} te cobre de acuerdo con sus términos.","payment_entry_page.terms_link_label":"Términos","payment_entry_page.subscription_terms_info":"Al suscribirte, aceptas que {{appName}} te cobre de acuerdo con sus términos hasta que canceles.","loading_page.keep_page_open":"El proceso está casi terminado. Mantén esta página abierta.","loading_page.processing_payment":"Procesando el pago","pricing_table.discount":"Descuento","pricing_table.subtotal":"Subtotal","pricing_dropdown.add_promo_code":"Añadir código promocional","discount_input.label":"Código promocional"},Nf={"periods.week":"{{amount}} settimana","periods.month":"{{amount}} mese","periods.year":"{{amount}} anno","periods.day":"{{amount}} giorno","periods.weekShort":"{{amount}}sett","periods.monthShort":"{{amount}}mese","periods.yearShort":"{{amount}}anno","periods.dayShort":"{{amount}}g","periods.lifetime":"a vita","periods.weekPlural":"{{amount}} settimane","periods.monthPlural":"{{amount}} mesi","periods.yearPlural":"{{amount}} anni","periods.dayPlural":"{{amount}} giorni","periods.weekFrequency":"settimanale","periods.monthFrequency":"mensile","periods.yearFrequency":"annuale","periods.dayFrequency":"giornaliero","periods.perWeekFrequency":"a settimana","periods.perMonthFrequency":"al mese","periods.perYearFrequency":"all'anno","periods.perDayFrequency":"al giorno","periods.unknownFrequency":"sconosciuto","periods.weekFrequencyPlural":"ogni {{amount}} settimane","periods.monthFrequencyPlural":"ogni {{amount}} mesi","periods.yearFrequencyPlural":"ogni {{amount}} anni","periods.dayFrequencyPlural":"ogni {{amount}} giorni","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} prova gratuita","product_info.price_after_free_trial":"Dopo la fine della prova, il {{renewalDate}}","product_info.renewal_frequency":"Si rinnova {{frequency}}","product_info.continues_until_cancelled":"Continua fino a disdetta","product_info.cancel_anytime":"Disdici in qualsiasi momento","payment_entry_page.payment_step_title":"Pagamento sicuro tramite RevenueCat","payment_entry_page.button_pay":"Paga ora","payment_entry_page.button_start_trial":"Inizia la prova","success_page.purchase_successful":"Pagamento completato","success_page.button_close":"Continua","error_page.if_error_persists":"Se l'errore persiste, contatta ","error_page.error_title_already_subscribed":"Hai già un abbonamento a {{productTitle}}","error_page.error_title_already_purchased":"Hai già acquistato {{productTitle}}","error_page.error_title_other_errors":"Qualcosa è andato storto","error_page.error_message_already_subscribed":"Non puoi abbonarti di nuovo a questo prodotto.","error_page.error_message_already_purchased":"Non puoi acquistare di nuovo questo prodotto.","error_page.error_message_missing_email_error":"L'email è necessaria per completare l'acquisto.","error_page.error_message_network_error":"Errore di rete. Verifica la connessione internet.","error_page.error_message_error_charging_payment":"Pagamento fallito.","error_page.error_message_error_setting_up_purchase":"Acquisto non avviato a causa di un errore (codice errore: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Non siamo riusciti a verificare il tuo indirizzo di fatturazione. Per favore, controlla che il codice postale e il paese siano corretti.","error_page.error_message_unknown_error":"Si è verificato un errore sconosciuto (codice errore: {{errorCode}}).","error_page.button_try_again":"Riprova","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Totale dovuto oggi","product_info.subscribe_to":"Abbonati a","navbar_header.details":"Dettagli","navbar_header.back_button":"Indietro","pricing_dropdown.show_details":"Mostra dettagli","pricing_dropdown.hide_details":"Nascondi dettagli","pricing_table.tax":"Tasse","pricing_table.trial_ends":"Al termine del periodo di prova, il {{formattedTrialEndDate}}","pricing_table.total_due_today":"Totale dovuto oggi","pricing_table.total_excluding_tax":"Totale tasse escluse","pricing_table.enter_billing_address_to_calculate":"Inserisci l'indirizzo di fatturazione per calcolare","pricing_table.enter_state_or_postal_code_to_calculate":"Inserisci la regione o il codice postale per calcolare","pricing_table.enter_postal_code_to_calculate":"Inserisci il codice postale per calcolare","error_page.error_message_invalid_email_error":"L'indirizzo email {{email}} non può essere verificato. Si prega di fornire un indirizzo email valido.","payment_entry_page.button_payment_method":"Paga {{formattedPrice}} con {{paymentMethod}}","payment_entry_page.button_with_price":"Paga {{formattedPrice}}","price_update.title":"Aggiornamento prezzo","price_update.base_message":"Il prezzo totale è stato aggiornato con le tasse in base al tuo indirizzo di fatturazione. Rivedi e riprova. L'addebito sulla tua carta avverrà solo una volta.","price_update.trial_message":"Il prezzo dell'abbonamento è stato aggiornato per includere le tasse in base al tuo indirizzo di fatturazione. La prova gratuita è ancora valida. Controlla e riprova.","payment_entry_page.express_checkout_divider":"OPPURE PAGA CON CARTA","error_page.trouble_accessing":"Se hai problemi ad accedere al tuo acquisto, contatta l'assistenza all'indirizzo ","error_page.close_button_title":"Vai a {{appName}}","error_page.error_title_stripe_missing_required_permission":"Autorizzazione Stripe mancante","error_page.button_close":"Chiudi","error_page.error_message_stripe_invalid_tax_origin_address":"L'acquisto non è andato a buon fine perché l'indirizzo di origine fiscale non è valido. In produzione, gli acquisti verranno effettuati senza l'applicazione delle imposte e questo errore non sarà visibile.","error_page.error_message_stripe_tax_not_active":"L'acquisto non è andato a buon fine perché Stripe Tax non è abilitato. In produzione, gli acquisti verranno effettuati senza l'applicazione delle imposte e questo errore non sarà visibile.","error_page.error_only_in_sandbox":"Questo messaggio viene visualizzato solo in sandbox.","error_page.error_message_stripe_missing_required_permission":"L'acquisto non è andato a buon fine perché l'app Stripe non dispone dell'autorizzazione necessaria. In produzione, gli acquisti verranno effettuati senza l'applicazione delle imposte e questo errore non sarà visibile.","error_page.error_title_stripe_tax_not_active":"Stripe Tax non attivo","error_page.error_title_stripe_invalid_tax_origin_address":"Indirizzo di origine fiscale non valido","apple_pay.free_trial":"Prova gratuita","product_info.price_after_intro_price":"Dopo {{introPriceDuration}}, il {{renewalDate}}","product_info.after_trial":"dopo il periodo di prova","product_info.after":"dopo","product_info.intro_price_phase_after_trial":"Poi {{introPriceDuration}} a {{introPrice}}","product_info.intro_price_phase":"Prima {{introPriceDuration}} a {{introPrice}}","product_info.intro_price_phase_paid_once":"pagato una volta","payment_entry_page.trial_subscription_terms_info":"Al termine del periodo di prova, ti verranno addebitati {{price}} {{perFrequency}} a partire dal {{renewalDate}}. Puoi annullare in qualsiasi momento prima di questa data.","payment_entry_page.subscription_info":"L'abbonamento si rinnova automaticamente. Annulla in qualsiasi momento.","payment_entry_page.otp_terms_info":"Acquistando, accetti che {{appName}} ti addebiti l'importo in base ai suoi termini.","payment_entry_page.terms_link_label":"Termini","payment_entry_page.subscription_terms_info":"Abbonandoti, accetti che {{appName}} ti addebiti l'importo secondo i suoi termini fino all'annullamento.","loading_page.keep_page_open":"Il processo è quasi terminato. Mantieni questa pagina aperta.","loading_page.processing_payment":"Elaborazione del pagamento","pricing_table.discount":"Sconto","pricing_table.subtotal":"Subtotale","pricing_dropdown.add_promo_code":"Aggiungi codice promozionale","discount_input.label":"Codice promozionale"},Of={"periods.week":"{{amount}} أسبوع","periods.month":"{{amount}} شهر","periods.year":"{{amount}} سنة","periods.day":"{{amount}} يوم","periods.weekShort":"{{amount}}أسبوع","periods.monthShort":"{{amount}}شهر","periods.yearShort":"{{amount}}سنة","periods.dayShort":"{{amount}}يوم","periods.lifetime":"مدى الحياة","periods.weekPlural":"{{amount}} أسابيع","periods.monthPlural":"{{amount}} أشهر","periods.yearPlural":"{{amount}} سنوات","periods.dayPlural":"{{amount}} أيام","periods.weekFrequency":"أسبوعيًا","periods.monthFrequency":"شهريًا","periods.yearFrequency":"سنويًا","periods.dayFrequency":"يوميًا","periods.perWeekFrequency":"في الأسبوع","periods.perMonthFrequency":"في الشهر","periods.perYearFrequency":"في السنة","periods.perDayFrequency":"في اليوم","periods.unknownFrequency":"غير معروف","periods.weekFrequencyPlural":"كل {{amount}} أسابيع","periods.monthFrequencyPlural":"كل {{amount}} أشهر","periods.yearFrequencyPlural":"كل {{amount}} سنوات","periods.dayFrequencyPlural":"كل {{amount}} أيام","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} تجربة مجانية","product_info.price_after_free_trial":"بعد انتهاء التجربة، في {{renewalDate}}","product_info.renewal_frequency":"يتم التجديد {{frequency}}","product_info.continues_until_cancelled":"يستمر حتى يتم إلغاؤه","product_info.cancel_anytime":"يمكن الإلغاء في أي وقت","payment_entry_page.payment_step_title":"الدفع الآمن عبر RevenueCat","payment_entry_page.button_pay":"ادفع الآن","payment_entry_page.button_start_trial":"ابدأ التجربة","success_page.purchase_successful":"تم الدفع بنجاح","success_page.button_close":"متابعة","error_page.if_error_persists":"إذا استمرت المشكلة، يرجى الاتصال بـ ","error_page.error_title_already_subscribed":"أنت مشترك بالفعل في {{productTitle}}","error_page.error_title_already_purchased":"لقد اشتريت {{productTitle}} بالفعل","error_page.error_title_other_errors":"حدث خطأ ما","error_page.error_message_already_subscribed":"لا يمكنك الاشتراك في هذا المنتج مرة أخرى.","error_page.error_message_already_purchased":"لا يمكنك شراء هذا المنتج مرة أخرى.","error_page.error_message_missing_email_error":"يُطلب البريد الإلكتروني لإتمام عملية الشراء.","error_page.error_message_network_error":"خطأ في الشبكة. يرجى التحقق من اتصال الإنترنت.","error_page.error_message_error_charging_payment":"فشل الدفع.","error_page.error_message_error_setting_up_purchase":"لم تبدأ عملية الشراء بسبب خطأ (رمز الخطأ: {{errorCode}}).","error_page.error_message_invalid_tax_location":"لم نتمكن من التحقق من عنوان الفوترة الخاص بك. يرجى التحقق مرة أخرى من الرمز البريدي والبلد للتأكد من صحتهما.","error_page.error_message_unknown_error":"حدث خطأ غير معروف (رمز الخطأ: {{errorCode}}).","error_page.button_try_again":"حاول مرة أخرى","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"إجمالي المبلغ المستحق اليوم","product_info.subscribe_to":"اشترك في","navbar_header.details":"تفاصيل","navbar_header.back_button":"عودة","pricing_dropdown.show_details":"إظهار التفاصيل","pricing_dropdown.hide_details":"إخفاء التفاصيل","pricing_table.tax":"الضريبة","pricing_table.trial_ends":"بعد انتهاء الفترة التجريبية، في {{formattedTrialEndDate}}","pricing_table.total_due_today":"الإجمالي المستحق اليوم","pricing_table.total_excluding_tax":"الإجمالي باستثناء الضريبة","pricing_table.enter_billing_address_to_calculate":"أدخل عنوان إرسال الفواتير لحسابها","pricing_table.enter_state_or_postal_code_to_calculate":"أدخل الولاية أو الرمز البريدي للحساب","pricing_table.enter_postal_code_to_calculate":"أدخل الرمز البريدي للحساب","error_page.error_message_invalid_email_error":"تعذر التحقق من عنوان البريد الإلكتروني {{email}}. يرجى تقديم عنوان بريد إلكتروني صالح.","payment_entry_page.button_payment_method":"ادفع {{formattedPrice}} باستخدام {{paymentMethod}}","payment_entry_page.button_with_price":"ادفع {{formattedPrice}}","price_update.title":"تحديث السعر","price_update.base_message":"تم تحديث السعر الإجمالي مع الضريبة بناءً على عنوان إرسال الفواتير الخاص بك. يرجى المراجعة والمحاولة مرة أخرى. لن يتم تحصيل رسوم من بطاقتك إلا مرة واحدة.","price_update.trial_message":"تم تحديث سعر الاشتراك ليشمل الضرائب بناءً على عنوان الفوترة الخاص بك. فترة التجربة المجانية لا تزال سارية. يرجى التحقق والمحاولة مرة أخرى.","payment_entry_page.express_checkout_divider":"أو ادفع بواسطة البطاقة","error_page.trouble_accessing":"إذا كنت تواجه مشكلة في الوصول إلى عملية الشراء، فتواصل مع الدعم على ","error_page.close_button_title":"اذهب إلى {{appName}}","error_page.error_title_stripe_missing_required_permission":"إذن Stripe مفقود","error_page.button_close":"إغلاق","error_page.error_message_stripe_invalid_tax_origin_address":"فشلت عملية الشراء لأن عنوان المنشأ الضريبي غير صالح. في مرحلة الإنتاج، ستعمل عمليات الشراء بدون تطبيق الضرائب.","error_page.error_message_stripe_tax_not_active":"فشلت عملية الشراء لأن ضريبة Stripe غير مفعلة. في مرحلة الإنتاج، ستعمل عمليات الشراء بدون تطبيق الضرائب.","error_page.error_only_in_sandbox":"تظهر هذه الرسالة فقط في البيئة التجريبية.","error_page.error_message_stripe_missing_required_permission":"فشلت عملية الشراء لأن تطبيق Stripe يفتقر إلى إذن مطلوب. في مرحلة الإنتاج، ستعمل عمليات الشراء بدون تطبيق الضرائب.","error_page.error_title_stripe_tax_not_active":"ضريبة Stripe غير نشطة","error_page.error_title_stripe_invalid_tax_origin_address":"عنوان منشأ ضريبي غير صالح","apple_pay.free_trial":"تجربة مجانية","product_info.price_after_intro_price":"بعد {{introPriceDuration}}، في {{renewalDate}}","product_info.after_trial":"بعد الفترة التجريبية","product_info.after":"بعد","product_info.intro_price_phase_after_trial":"ثم {{introPriceDuration}} مقابل {{introPrice}}","product_info.intro_price_phase":"أولاً {{introPriceDuration}} مقابل {{introPrice}}","product_info.intro_price_phase_paid_once":"تدفع مرة واحدة","payment_entry_page.trial_subscription_terms_info":"بعد انتهاء الفترة التجريبية، سيتم محاسبتك بمبلغ {{price}} {{perFrequency}} بدءًا من {{renewalDate}}. يمكنك الإلغاء في أي وقت قبل هذا التاريخ.","payment_entry_page.subscription_info":"يتم تجديد الاشتراك تلقائيًا. يمكنك الإلغاء في أي وقت.","payment_entry_page.otp_terms_info":"بالشراء، أنت توافق على السماح لتطبيق {{appName}} بتحصيل الرسوم منك وفقًا لشروطه.","payment_entry_page.terms_link_label":"الشروط","payment_entry_page.subscription_terms_info":"بالاشتراك، فإنك توافق على السماح لـ {{appName}} بتحصيل رسوم منك وفقًا لشروطها حتى تقوم بالإلغاء.","loading_page.keep_page_open":"العملية شارفت على الانتهاء. أبقِ هذه الصفحة مفتوحة.","loading_page.processing_payment":"جاري معالجة الدفع","pricing_table.discount":"خصم","pricing_table.subtotal":"المجموع الفرعي","pricing_dropdown.add_promo_code":"أضف رمزًا ترويجيًا","discount_input.label":"رمز ترويجي"},Lf={"periods.week":"{{amount}} setmana","periods.month":"{{amount}} mes","periods.year":"{{amount}} any","periods.day":"{{amount}} dia","periods.weekShort":"{{amount}}set","periods.monthShort":"{{amount}}mes","periods.yearShort":"{{amount}}any","periods.dayShort":"{{amount}}d","periods.lifetime":"de per vida","periods.weekPlural":"{{amount}} setmanes","periods.monthPlural":"{{amount}} mesos","periods.yearPlural":"{{amount}} anys","periods.dayPlural":"{{amount}} dies","periods.weekFrequency":"setmanal","periods.monthFrequency":"mensual","periods.yearFrequency":"anual","periods.dayFrequency":"diari","periods.perWeekFrequency":"per setmana","periods.perMonthFrequency":"per mes","periods.perYearFrequency":"per any","periods.perDayFrequency":"per dia","periods.unknownFrequency":"desconeguda","periods.weekFrequencyPlural":"cada {{amount}} setmanes","periods.monthFrequencyPlural":"cada {{amount}} mesos","periods.yearFrequencyPlural":"cada {{amount}} anys","periods.dayFrequencyPlural":"cada {{amount}} dies","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} de prova gratuïta","product_info.price_after_free_trial":"Després del període de prova, el {{renewalDate}}","product_info.renewal_frequency":"Es renova {{frequency}}","product_info.continues_until_cancelled":"Continua fins que es cancel·li","product_info.cancel_anytime":"Cancel·la en qualsevol moment","payment_entry_page.payment_step_title":"Pagament segur amb RevenueCat","payment_entry_page.button_pay":"Paga ara","payment_entry_page.button_start_trial":"Comença la prova","success_page.purchase_successful":"Pagament complet","success_page.button_close":"Continua","error_page.if_error_persists":"Si l'error persisteix, contacta amb ","error_page.error_title_already_subscribed":"Ja us heu subscrit a {{productTitle}}","error_page.error_title_already_purchased":"Ja heu comprat {{productTitle}}","error_page.error_title_other_errors":"Alguna cosa ha anat malament","error_page.error_message_already_subscribed":"No us podeu subscriure a aquest producte de nou.","error_page.error_message_already_purchased":"No podeu comprar aquest producte de nou.","error_page.error_message_missing_email_error":"Es necessita un correu electrònic per completar la compra.","error_page.error_message_network_error":"Error de xarxa. Comprova la teva connexió a internet.","error_page.error_message_error_charging_payment":"El pagament ha fallat.","error_page.error_message_error_setting_up_purchase":"No s'ha iniciat la compra a causa d'un error (codi d'error: {{errorCode}}).","error_page.error_message_invalid_tax_location":"No hem pogut verificar la vostra adreça de facturació. Si us plau, verifiqueu de nou el codi postal i el país per assegurar-vos que són correctes.","error_page.error_message_unknown_error":"S'ha produït un error desconegut (codi d'error: {{errorCode}}).","error_page.button_try_again":"Torna a intentar-ho","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Total a pagar avui","product_info.subscribe_to":"Subscriu-te a","navbar_header.details":"Detalls","navbar_header.back_button":"Enrere","pricing_dropdown.show_details":"Mostra detalls","pricing_dropdown.hide_details":"Amaga detalls","pricing_table.tax":"Impostos","pricing_table.trial_ends":"Després que finalitzi la prova, el {{formattedTrialEndDate}}","pricing_table.total_due_today":"Total a pagar avui","pricing_table.total_excluding_tax":"Total sense impostos","pricing_table.enter_billing_address_to_calculate":"Introduïu l'adreça de facturació per calcular","pricing_table.enter_state_or_postal_code_to_calculate":"Introduïu la província o el codi postal per calcular","pricing_table.enter_postal_code_to_calculate":"Introduïu el codi postal per calcular","error_page.error_message_invalid_email_error":"No s'ha pogut verificar l'adreça de correu electrònic {{email}}. Si us plau, proporcioneu una adreça de correu electrònic vàlida.","payment_entry_page.button_payment_method":"Paga {{formattedPrice}} amb {{paymentMethod}}","payment_entry_page.button_with_price":"Paga {{formattedPrice}}","price_update.title":"Actualització de preu","price_update.base_message":"El preu total s'ha actualitzat amb els impostos segons la vostra adreça de facturació. Reviseu-ho i torneu-ho a provar. Només es carregarà la vostra targeta una vegada.","price_update.trial_message":"El preu de la subscripció s'ha actualitzat per incloure els impostos segons la seva adreça de facturació. El període de prova gratuït segueix vigent. Si us plau, comprovi-ho i torni-ho a provar.","payment_entry_page.express_checkout_divider":"O PAGUEU AMB TARGETA","error_page.trouble_accessing":"Si teniu problemes per accedir a la vostra compra, poseu-vos en contacte amb el servei d'assistència a ","error_page.close_button_title":"Vés a {{appName}}","error_page.error_title_stripe_missing_required_permission":"Falta el permís de Stripe","error_page.button_close":"Tanca","error_page.error_message_stripe_invalid_tax_origin_address":"La compra ha fallat perquè l'adreça d'origen fiscal no és vàlida. En producció, les compres funcionaran sense impostos aplicats.","error_page.error_message_stripe_tax_not_active":"La compra ha fallat perquè Stripe Tax no està activat. En producció, les compres funcionaran sense impostos aplicats.","error_page.error_only_in_sandbox":"Aquest missatge apareix només a l'entorn de proves.","error_page.error_message_stripe_missing_required_permission":"La compra ha fallat perquè l'aplicació Stripe no té un permís necessari. En producció, les compres funcionaran sense impostos aplicats.","error_page.error_title_stripe_tax_not_active":"Stripe Tax no està actiu","error_page.error_title_stripe_invalid_tax_origin_address":"Adreça d'origen fiscal no vàlida","apple_pay.free_trial":"Prova gratuïta","product_info.price_after_intro_price":"Després de {{introPriceDuration}}, el {{renewalDate}}","product_info.after_trial":"després del període de prova","product_info.after":"després de","product_info.intro_price_phase_after_trial":"Després {{introPriceDuration}} per {{introPrice}}","product_info.intro_price_phase":"Primer {{introPriceDuration}} per {{introPrice}}","product_info.intro_price_phase_paid_once":"pagat un cop","payment_entry_page.trial_subscription_terms_info":"Un cop finalitzat el període de prova, se us cobrarà {{price}} {{perFrequency}} a partir del {{renewalDate}}. Podeu cancel·lar-ho en qualsevol moment abans d'aquesta data.","payment_entry_page.subscription_info":"La subscripció es renova automàticament. Cancel·leu-la quan vulgueu.","payment_entry_page.otp_terms_info":"En comprar, accepteu que {{appName}} us cobri d'acord amb les seves condicions.","payment_entry_page.terms_link_label":"Condicions","payment_entry_page.subscription_terms_info":"En subscriure-us, accepteu que {{appName}} us cobri d'acord amb les seves condicions fins que ho cancel·leu.","loading_page.keep_page_open":"El procés està gairebé acabat. Mantingueu aquesta pàgina oberta.","loading_page.processing_payment":"S'està processant el pagament","pricing_table.discount":"Descompte","pricing_table.subtotal":"Subtotal","pricing_dropdown.add_promo_code":"Afegir codi promocional","discount_input.label":"Codi promocional"},Bf={"periods.week":"{{amount}} 周","periods.month":"{{amount}} 月","periods.year":"{{amount}} 年","periods.day":"{{amount}} 天","periods.weekShort":"{{amount}}周","periods.monthShort":"{{amount}}月","periods.yearShort":"{{amount}}年","periods.dayShort":"{{amount}}天","periods.lifetime":"终身","periods.weekPlural":"{{amount}} 周","periods.monthPlural":"{{amount}} 个月","periods.yearPlural":"{{amount}} 年","periods.dayPlural":"{{amount}} 天","periods.weekFrequency":"每周","periods.monthFrequency":"每月","periods.yearFrequency":"每年","periods.dayFrequency":"每天","periods.perWeekFrequency":"每周","periods.perMonthFrequency":"每月","periods.perYearFrequency":"每年","periods.perDayFrequency":"每天","periods.unknownFrequency":"未知","periods.weekFrequencyPlural":"每 {{amount}} 周","periods.monthFrequencyPlural":"每 {{amount}} 个月","periods.yearFrequencyPlural":"每 {{amount}} 年","periods.dayFrequencyPlural":"每 {{amount}} 天","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} 天免费试用","product_info.price_after_free_trial":"试用期结束后,于 {{renewalDate}}","product_info.renewal_frequency":"续订 {{frequency}}","product_info.continues_until_cancelled":"持续到取消","product_info.cancel_anytime":"随时取消","payment_entry_page.payment_step_title":"RevenueCat 安全结账","payment_entry_page.button_pay":"立即支付","payment_entry_page.button_start_trial":"开始试用","success_page.purchase_successful":"支付完成","success_page.button_close":"继续","error_page.if_error_persists":"如果错误仍然存在,请联系 ","error_page.error_title_already_subscribed":"您已订阅 {{productTitle}}","error_page.error_title_already_purchased":"您已购买 {{productTitle}}","error_page.error_title_other_errors":"出现错误","error_page.error_message_already_subscribed":"您不能再次订阅此产品。","error_page.error_message_already_purchased":"您不能再次购买此产品。","error_page.error_message_missing_email_error":"完成购买需要邮箱地址。","error_page.error_message_network_error":"网络错误。请检查您的互联网连接。","error_page.error_message_error_charging_payment":"支付失败。","error_page.error_message_error_setting_up_purchase":"由于错误,购买未启动(错误代码:{{errorCode}})。","error_page.error_message_invalid_tax_location":"我们无法验证您的账单地址。请仔细检查邮政编码和国家是否正确。","error_page.error_message_unknown_error":"发生未知错误(错误代码:{{errorCode}})。","error_page.button_try_again":"重试","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"今天应付总额","product_info.subscribe_to":"订阅","navbar_header.details":"详情","navbar_header.back_button":"返回","pricing_dropdown.show_details":"显示详情","pricing_dropdown.hide_details":"隐藏详情","pricing_table.tax":"税","pricing_table.trial_ends":"试用期结束后,于{{formattedTrialEndDate}}","pricing_table.total_due_today":"今日应付总额","pricing_table.total_excluding_tax":"总计(不含税)","pricing_table.enter_billing_address_to_calculate":"输入账单地址以计算","pricing_table.enter_state_or_postal_code_to_calculate":"输入州或邮政编码以计算","pricing_table.enter_postal_code_to_calculate":"输入邮政编码以计算","error_page.error_message_invalid_email_error":"无法验证电子邮件地址{{email}}。请提供有效的电子邮件地址。","payment_entry_page.button_payment_method":"使用{{paymentMethod}}支付{{formattedPrice}}","payment_entry_page.button_with_price":"支付{{formattedPrice}}","price_update.title":"价格更新","price_update.base_message":"总价已根据您的账单地址更新了税费。请查看并重试。您的银行卡只会扣款一次。","price_update.trial_message":"根据您的账单地址,订阅价格已更新为含税价格。免费试用仍然有效。请查看并重试。","payment_entry_page.express_checkout_divider":"或使用银行卡支付","error_page.trouble_accessing":"如果您在访问购买项目时遇到问题,请通过以下方式联系支持:","error_page.close_button_title":"前往{{appName}}","error_page.error_title_stripe_missing_required_permission":"缺少Stripe权限","error_page.button_close":"关闭","error_page.error_message_stripe_invalid_tax_origin_address":"购买失败,因为税务起始地址无效。在生产环境中,购买将在不应用税款的情况下进行。","error_page.error_message_stripe_tax_not_active":"购买失败,因为Stripe Tax未启用。在生产环境中,购买将在不应用税款的情况下进行。","error_page.error_only_in_sandbox":"此消息仅在沙盒中显示。","error_page.error_message_stripe_missing_required_permission":"购买失败,因为Stripe应用程序缺少必需的权限。在生产环境中,购买将在不应用税款的情况下进行。","error_page.error_title_stripe_tax_not_active":"Stripe Tax未激活","error_page.error_title_stripe_invalid_tax_origin_address":"税务起始地址无效","apple_pay.free_trial":"免费试用","product_info.price_after_intro_price":"在{{introPriceDuration}}之后,于{{renewalDate}}开始","product_info.after_trial":"试用后","product_info.after":"之后","product_info.intro_price_phase_after_trial":"然后{{introPriceDuration}},价格为{{introPrice}}","product_info.intro_price_phase":"首先{{introPriceDuration}},价格为{{introPrice}}","product_info.intro_price_phase_paid_once":"一次性支付","payment_entry_page.trial_subscription_terms_info":"试用期结束后,您将被收取 {{price}} {{perFrequency}},从 {{renewalDate}} 开始。您可以在此日期之前的任何时间取消。","payment_entry_page.subscription_info":"订阅自动续订。随时取消。","payment_entry_page.otp_terms_info":"购买即表示您同意允许{{appName}}根据其条款向您收费。","payment_entry_page.terms_link_label":"条款","payment_entry_page.subscription_terms_info":"订阅即表示您同意允许 {{appName}} 按照其条款向您收费,直到您取消订阅。","loading_page.keep_page_open":"流程即将完成。请保持此页面打开。","loading_page.processing_payment":"正在处理付款","pricing_table.discount":"折扣","pricing_table.subtotal":"小计","pricing_dropdown.add_promo_code":"添加优惠码","discount_input.label":"优惠码"},Uf={"periods.week":"{{amount}} 週","periods.month":"{{amount}} 個月","periods.year":"{{amount}} 年","periods.day":"{{amount}} 天","periods.weekShort":"{{amount}}週","periods.monthShort":"{{amount}}月","periods.yearShort":"{{amount}}年","periods.dayShort":"{{amount}}天","periods.lifetime":"終身","periods.weekPlural":"{{amount}} 週","periods.monthPlural":"{{amount}} 個月","periods.yearPlural":"{{amount}} 年","periods.dayPlural":"{{amount}} 天","periods.weekFrequency":"每週","periods.monthFrequency":"每月","periods.yearFrequency":"每年","periods.dayFrequency":"每天","periods.perWeekFrequency":"每週","periods.perMonthFrequency":"每月","periods.perYearFrequency":"每年","periods.perDayFrequency":"每天","periods.unknownFrequency":"未知","periods.weekFrequencyPlural":"每 {{amount}} 週","periods.monthFrequencyPlural":"每 {{amount}} 個月","periods.yearFrequencyPlural":"每 {{amount}} 年","periods.dayFrequencyPlural":"每 {{amount}} 天","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} 天免費試用","product_info.price_after_free_trial":"試用期結束後,於 {{renewalDate}}","product_info.renewal_frequency":"每 {{frequency}} 續約","product_info.continues_until_cancelled":"持續到取消","product_info.cancel_anytime":"隨時取消","payment_entry_page.payment_step_title":"RevenueCat 安全結帳","payment_entry_page.button_pay":"立即付款","payment_entry_page.button_start_trial":"開始試用","success_page.purchase_successful":"付款完成","success_page.button_close":"繼續","error_page.if_error_persists":"如果錯誤持續存在,請聯絡 ","error_page.error_title_already_subscribed":"您已經訂閱 {{productTitle}}","error_page.error_title_already_purchased":"您已經購買 {{productTitle}}","error_page.error_title_other_errors":"發生錯誤","error_page.error_message_already_subscribed":"您無法再次訂閱此產品。","error_page.error_message_already_purchased":"您無法再次購買此產品。","error_page.error_message_missing_email_error":"完成購買需要電子郵件地址。","error_page.error_message_network_error":"網路錯誤。請檢查您的網路連線。","error_page.error_message_error_charging_payment":"付款失敗。","error_page.error_message_error_setting_up_purchase":"由於發生錯誤,購買未啟動(錯誤代碼:{{errorCode}})。","error_page.error_message_invalid_tax_location":"我們無法驗證您的帳單地址。請仔細檢查郵遞區號和國家是否正確。","error_page.error_message_unknown_error":"發生不明錯誤(錯誤代碼:{{errorCode}})。","error_page.button_try_again":"再試一次","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}} ({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"今日應付總額","product_info.subscribe_to":"訂閱","navbar_header.details":"詳細資訊","navbar_header.back_button":"返回","pricing_dropdown.show_details":"顯示詳細資訊","pricing_dropdown.hide_details":"隱藏詳細資訊","pricing_table.tax":"稅金","pricing_table.trial_ends":"試用期結束後,於 {{formattedTrialEndDate}}","pricing_table.total_due_today":"今日應付總額","pricing_table.total_excluding_tax":"總計(不含稅)","pricing_table.enter_billing_address_to_calculate":"輸入帳單地址以計算","pricing_table.enter_state_or_postal_code_to_calculate":"輸入州或郵政編碼以計算","pricing_table.enter_postal_code_to_calculate":"輸入郵政編碼以計算","error_page.error_message_invalid_email_error":"無法驗證電子郵件地址 {{email}}。請提供有效的電子郵件地址。","payment_entry_page.button_payment_method":"使用 {{paymentMethod}} 支付 {{formattedPrice}}","payment_entry_page.button_with_price":"支付 {{formattedPrice}}","price_update.title":"價格更新","price_update.base_message":"總價已根據您的帳單地址更新稅金。請檢查後重試。您的信用卡只會被收取一次費用。","price_update.trial_message":"根據您的帳單地址,訂閱價格已更新為含稅價格。免費試用仍然有效。請查看並重試。","payment_entry_page.express_checkout_divider":"或以信用卡付款","error_page.trouble_accessing":"如果您在存取購買項目時遇到問題,請透過以下方式聯絡支援人員:","error_page.close_button_title":"前往{{appName}}","error_page.error_title_stripe_missing_required_permission":"缺少 Stripe 權限","error_page.button_close":"關閉","error_page.error_message_stripe_invalid_tax_origin_address":"購買失敗,因為稅務起始地址無效。在正式環境中,購買將在不套用稅金的情況下運作。","error_page.error_message_stripe_tax_not_active":"購買失敗,因為 Stripe Tax 未啟用。在正式環境中,購買將在不套用稅金的情況下運作。","error_page.error_only_in_sandbox":"此訊息僅在沙盒中顯示。","error_page.error_message_stripe_missing_required_permission":"購買失敗,因為 Stripe 應用程式缺少必要的權限。在正式環境中,購買將在不套用稅金的情況下運作。","error_page.error_title_stripe_tax_not_active":"Stripe Tax 未啟用","error_page.error_title_stripe_invalid_tax_origin_address":"無效的稅務起始地址","apple_pay.free_trial":"免費試用","product_info.price_after_intro_price":"在 {{introPriceDuration}} 之後,於 {{renewalDate}}","product_info.after_trial":"試用期後","product_info.after":"之後","product_info.intro_price_phase_after_trial":"然後 {{introPriceDuration}},價格為 {{introPrice}}","product_info.intro_price_phase":"首先 {{introPriceDuration}},價格為 {{introPrice}}","product_info.intro_price_phase_paid_once":"一次性支付","payment_entry_page.trial_subscription_terms_info":"在您的試用期結束後,您將被收取 {{price}} {{perFrequency}},從 {{renewalDate}} 開始。您可以隨時在此日期之前取消。","payment_entry_page.subscription_info":"訂閱會自動續訂。隨時取消。","payment_entry_page.otp_terms_info":"購買即表示您同意授權 {{appName}} 根據其條款向您收費。","payment_entry_page.terms_link_label":"條款","payment_entry_page.subscription_terms_info":"訂閱即表示您同意允許 {{appName}} 根據其條款向您收費,直到您取消為止。","loading_page.keep_page_open":"程序即將完成。請保持此頁面開啟。","loading_page.processing_payment":"正在處理付款","pricing_table.discount":"折扣","pricing_table.subtotal":"小計","pricing_dropdown.add_promo_code":"新增優惠碼","discount_input.label":"促銷代碼"},Rf={"periods.week":"{{amount}} tjedan","periods.month":"{{amount}} mjesec","periods.year":"{{amount}} godina","periods.day":"{{amount}} dan","periods.weekShort":"{{amount}}tj","periods.monthShort":"{{amount}}mj","periods.yearShort":"{{amount}}g","periods.dayShort":"{{amount}}d","periods.lifetime":"doživotno","periods.weekPlural":"{{amount}} tjedana","periods.monthPlural":"{{amount}} mjeseci","periods.yearPlural":"{{amount}} godina","periods.dayPlural":"{{amount}} dana","periods.weekFrequency":"tjedno","periods.monthFrequency":"mjesečno","periods.yearFrequency":"godišnje","periods.dayFrequency":"dnevno","periods.perWeekFrequency":"tjedno","periods.perMonthFrequency":"mjesečno","periods.perYearFrequency":"godišnje","periods.perDayFrequency":"dnevno","periods.unknownFrequency":"nepoznato","periods.weekFrequencyPlural":"svakih {{amount}} tjedana","periods.monthFrequencyPlural":"svakih {{amount}} mjeseci","periods.yearFrequencyPlural":"svakih {{amount}} godina","periods.dayFrequencyPlural":"svakih {{amount}} dana","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} besplatno probno razdoblje","product_info.price_after_free_trial":"Nakon isteka probnog razdoblja, {{renewalDate}}","product_info.renewal_frequency":"Obnavlja se {{frequency}}","product_info.continues_until_cancelled":"Nastavlja se dok se ne otkaže","product_info.cancel_anytime":"Otkažite u bilo kojem trenutku","payment_entry_page.payment_step_title":"Sigurna naplata putem RevenueCat","payment_entry_page.button_pay":"Plati sada","payment_entry_page.button_start_trial":"Počni probno razdoblje","success_page.purchase_successful":"Uplata je uspješna","success_page.button_close":"Nastavi","error_page.if_error_persists":"Ako se pogreška nastavi, obratite se ","error_page.error_title_already_subscribed":"Već ste pretplaćeni na {{productTitle}}","error_page.error_title_already_purchased":"Već ste kupili {{productTitle}}","error_page.error_title_other_errors":"Nešto je pošlo po zlu","error_page.error_message_already_subscribed":"Ne možete se ponovno pretplatiti na ovaj proizvod.","error_page.error_message_already_purchased":"Ne možete ponovno kupiti ovaj proizvod.","error_page.error_message_missing_email_error":"E-pošta je potrebna za dovršetak kupnje.","error_page.error_message_network_error":"Mrežna pogreška. Provjerite internetsku vezu.","error_page.error_message_error_charging_payment":"Plaćanje nije uspjelo.","error_page.error_message_error_setting_up_purchase":"Kupnja nije započela zbog pogreške (kod pogreške: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Nismo mogli potvrditi vašu adresu za naplatu. Molimo provjerite poštanski broj i državu kako biste bili sigurni da su točni.","error_page.error_message_unknown_error":"Došlo je do nepoznate pogreške (kod pogreške: {{errorCode}}).","error_page.button_try_again":"Pokušaj ponovno","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Ukupno dospijeće danas","product_info.subscribe_to":"Pretplatite se","navbar_header.details":"Detalji","navbar_header.back_button":"Natrag","pricing_dropdown.show_details":"Prikaži detalje","pricing_dropdown.hide_details":"Sakrij detalje","pricing_table.tax":"Porez","pricing_table.trial_ends":"Nakon isteka probnog razdoblja, {{formattedTrialEndDate}}","pricing_table.total_due_today":"Ukupan iznos dospijeća danas","pricing_table.total_excluding_tax":"Ukupno bez poreza","pricing_table.enter_billing_address_to_calculate":"Unesite adresu za naplatu za izračun","pricing_table.enter_state_or_postal_code_to_calculate":"Unesite državu ili poštanski broj za izračun","pricing_table.enter_postal_code_to_calculate":"Unesite poštanski broj za izračun","error_page.error_message_invalid_email_error":"Adresa e-pošte {{email}} nije se mogla potvrditi. Molimo unesite valjanu adresu e-pošte.","payment_entry_page.button_payment_method":"Plati {{formattedPrice}} putem {{paymentMethod}}","payment_entry_page.button_with_price":"Plati {{formattedPrice}}","price_update.title":"Ažuriranje cijene","price_update.base_message":"Ukupna cijena je ažurirana s porezom na temelju vaše adrese za naplatu. Pregledajte i pokušajte ponovo. Vaša kartica bit će naplaćena samo jednom.","price_update.trial_message":"Cijena pretplate je ažurirana da uključi poreze na temelju vaše adrese za naplatu. Besplatno probno razdoblje i dalje vrijedi. Molimo provjerite i pokušajte ponovno.","payment_entry_page.express_checkout_divider":"ILI PLATITE KARTICOM","error_page.trouble_accessing":"Ako imate problema s pristupom kupnji, obratite se podršci na ","error_page.close_button_title":"Idi na {{appName}}","error_page.error_title_stripe_missing_required_permission":"Nedostaje Stripe dopuštenje","error_page.button_close":"Zatvori","error_page.error_message_stripe_invalid_tax_origin_address":"Kupnja nije uspjela jer je adresa poreznog podrijetla nevažeća. U produkciji će kupnje funkcionirati bez primijenjenih poreza.","error_page.error_message_stripe_tax_not_active":"Kupnja nije uspjela jer Stripe Tax nije omogućen. U produkciji će kupnje funkcionirati bez primijenjenih poreza.","error_page.error_only_in_sandbox":"Ova se poruka pojavljuje samo u sandboxu.","error_page.error_message_stripe_missing_required_permission":"Kupnja nije uspjela jer Stripe aplikaciji nedostaje potrebno dopuštenje. U produkciji će kupnje funkcionirati bez primijenjenih poreza.","error_page.error_title_stripe_tax_not_active":"Stripe Tax nije aktivan","error_page.error_title_stripe_invalid_tax_origin_address":"Nevažeća adresa poreznog podrijetla","apple_pay.free_trial":"Besplatna proba","product_info.price_after_intro_price":"Nakon {{introPriceDuration}}, na {{renewalDate}}","product_info.after_trial":"nakon probnog perioda","product_info.after":"nakon","product_info.intro_price_phase_after_trial":"Zatim {{introPriceDuration}} za {{introPrice}}","product_info.intro_price_phase":"Prvo {{introPriceDuration}} za {{introPrice}}","product_info.intro_price_phase_paid_once":"plaća se jednokratno","payment_entry_page.trial_subscription_terms_info":"Nakon isteka probnog razdoblja, bit će vam naplaćeno {{price}} {{perFrequency}} počevši od {{renewalDate}}. Možete otkazati bilo kada prije tog datuma.","payment_entry_page.subscription_info":"Pretplata se automatski obnavlja. Otkažite bilo kada.","payment_entry_page.otp_terms_info":"Kupnjom pristajete dopustiti aplikaciji {{appName}} da vam naplati u skladu s njihovim uvjetima.","payment_entry_page.terms_link_label":"Uvjeti","payment_entry_page.subscription_terms_info":"Pretplatom se slažete da ćete dopustiti {{appName}} da vam naplaćuje u skladu s njihovim uvjetima dok ne otkažete.","loading_page.keep_page_open":"Proces je skoro gotov. Ostavite ovu stranicu otvorenom.","loading_page.processing_payment":"Obrada uplate","pricing_table.discount":"Popust","pricing_table.subtotal":"Međuzbroj","pricing_dropdown.add_promo_code":"Dodaj promotivni kod","discount_input.label":"Promo kod"},Vf={"periods.week":"{{amount}} týden","periods.month":"{{amount}} měsíc","periods.year":"{{amount}} rok","periods.day":"{{amount}} den","periods.weekShort":"{{amount}}týd","periods.monthShort":"{{amount}}měs","periods.yearShort":"{{amount}}rok","periods.dayShort":"{{amount}}d","periods.lifetime":"doživotně","periods.weekPlural":"{{amount}} týdnů","periods.monthPlural":"{{amount}} měsíců","periods.yearPlural":"{{amount}} let","periods.dayPlural":"{{amount}} dnů","periods.weekFrequency":"týdně","periods.monthFrequency":"měsíčně","periods.yearFrequency":"ročně","periods.dayFrequency":"denně","periods.perWeekFrequency":"týdně","periods.perMonthFrequency":"měsíčně","periods.perYearFrequency":"ročně","periods.perDayFrequency":"denně","periods.unknownFrequency":"neznámé","periods.weekFrequencyPlural":"každých {{amount}} týdnů","periods.monthFrequencyPlural":"každých {{amount}} měsíců","periods.yearFrequencyPlural":"každých {{amount}} let","periods.dayFrequencyPlural":"každých {{amount}} dnů","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} zkušební verze zdarma","product_info.price_after_free_trial":"Po skončení zkušební verze, {{renewalDate}}","product_info.renewal_frequency":"Obnovuje se {{frequency}}","product_info.continues_until_cancelled":"Pokračuje, dokud není zrušeno","product_info.cancel_anytime":"Zrušit kdykoli","payment_entry_page.payment_step_title":"Bezpečné placení přes RevenueCat","payment_entry_page.button_pay":"Platit nyní","payment_entry_page.button_start_trial":"Spustit zkušební verzi","success_page.purchase_successful":"Platba dokončena","success_page.button_close":"Pokračovat","error_page.if_error_persists":"Pokud chyba přetrvává, kontaktujte ","error_page.error_title_already_subscribed":"Již máte předplatné pro {{productTitle}}","error_page.error_title_already_purchased":"Již jste zakoupili {{productTitle}}","error_page.error_title_other_errors":"Něco se pokazilo","error_page.error_message_already_subscribed":"Nemůžete si znovu předplatit tento produkt.","error_page.error_message_already_purchased":"Tento produkt si nemůžete znovu zakoupit.","error_page.error_message_missing_email_error":"Pro dokončení nákupu je vyžadován e-mail.","error_page.error_message_network_error":"Síťová chyba. Zkontrolujte prosím své internetové připojení.","error_page.error_message_error_charging_payment":"Platba selhala.","error_page.error_message_error_setting_up_purchase":"Nákup nebyl zahájen z důvodu chyby (kód chyby: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Nemohli jsme ověřit vaši fakturační adresu. Zkontrolujte prosím, zda je poštovní směrovací číslo a země správné.","error_page.error_message_unknown_error":"Došlo k neznámé chybě (kód chyby: {{errorCode}}).","error_page.button_try_again":"Zkusit znovu","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Celkem dnes k zaplacení","product_info.subscribe_to":"Předplatit","navbar_header.details":"Podrobnosti","navbar_header.back_button":"Zpět","pricing_dropdown.show_details":"Zobrazit podrobnosti","pricing_dropdown.hide_details":"Skrýt podrobnosti","pricing_table.tax":"Daň","pricing_table.trial_ends":"Po skončení zkušební doby, dne {{formattedTrialEndDate}}","pricing_table.total_due_today":"Celkem splatné dnes","pricing_table.total_excluding_tax":"Celkem bez daně","pricing_table.enter_billing_address_to_calculate":"Zadejte fakturační adresu pro výpočet","pricing_table.enter_state_or_postal_code_to_calculate":"Zadejte stát nebo PSČ pro výpočet","pricing_table.enter_postal_code_to_calculate":"Zadejte PSČ pro výpočet","error_page.error_message_invalid_email_error":"E-mailová adresa {{email}} nemohla být ověřena. Zadejte prosím platnou e-mailovou adresu.","payment_entry_page.button_payment_method":"Zaplatit {{formattedPrice}} pomocí {{paymentMethod}}","payment_entry_page.button_with_price":"Zaplatit {{formattedPrice}}","price_update.title":"Aktualizace ceny","price_update.base_message":"Celková cena byla aktualizována o daň na základě vaší fakturační adresy. Zkontrolujte ji a zkuste to znovu. Vaše karta bude stržena pouze jednou.","price_update.trial_message":"Cena předplatného byla aktualizována včetně daní na základě vaší fakturační adresy. Bezplatná zkušební doba stále platí. Prosím, zkontrolujte a zkuste to znovu.","payment_entry_page.express_checkout_divider":"NEBO ZAPLATIT KARTOU","error_page.trouble_accessing":"Pokud máte potíže s přístupem k zakoupenému obsahu, kontaktujte podporu na ","error_page.close_button_title":"Přejít na {{appName}}","error_page.error_title_stripe_missing_required_permission":"Chybí oprávnění Stripe","error_page.button_close":"Zavřít","error_page.error_message_stripe_invalid_tax_origin_address":"Nákup se nezdařil, protože adresa původu daně je neplatná. V produkčním prostředí budou nákupy fungovat bez uplatnění daní.","error_page.error_message_stripe_tax_not_active":"Nákup se nezdařil, protože Stripe Tax není aktivní. V produkčním prostředí budou nákupy fungovat bez uplatnění daní.","error_page.error_only_in_sandbox":"Tato zpráva se zobrazuje pouze v sandboxu.","error_page.error_message_stripe_missing_required_permission":"Nákup se nezdařil, protože aplikaci Stripe chybí požadované oprávnění. V produkčním prostředí budou nákupy fungovat bez uplatnění daní.","error_page.error_title_stripe_tax_not_active":"Stripe Tax není aktivní","error_page.error_title_stripe_invalid_tax_origin_address":"Neplatná adresa původu daně","apple_pay.free_trial":"Zkušební verze zdarma","product_info.price_after_intro_price":"Po {{introPriceDuration}}, dne {{renewalDate}}","product_info.after_trial":"po zkušební době","product_info.after":"po","product_info.intro_price_phase_after_trial":"Poté {{introPriceDuration}} za {{introPrice}}","product_info.intro_price_phase":"Nejprve {{introPriceDuration}} za {{introPrice}}","product_info.intro_price_phase_paid_once":"placeno jednorázově","payment_entry_page.trial_subscription_terms_info":"Po skončení zkušebního období vám bude účtováno {{price}} {{perFrequency}} počínaje {{renewalDate}}. Před tímto datem můžete kdykoli zrušit.","payment_entry_page.subscription_info":"Předplatné se automaticky obnovuje. Zrušit můžete kdykoli.","payment_entry_page.otp_terms_info":"Zakoupením souhlasíte s tím, že umožníte aplikaci {{appName}} účtovat vám poplatky v souladu s jejími podmínkami.","payment_entry_page.terms_link_label":"Podmínky","payment_entry_page.subscription_terms_info":"Přihlášením k odběru souhlasíte s tím, že společnost {{appName}} vám bude účtovat poplatky v souladu s jejími podmínkami, dokud odběr nezrušíte.","loading_page.keep_page_open":"Probíhá dokončování procesu. Nechte tuto stránku otevřenou.","loading_page.processing_payment":"Probíhá zpracování platby","pricing_table.discount":"Sleva","pricing_table.subtotal":"Mezisoučet","pricing_dropdown.add_promo_code":"Přidat promo kód","discount_input.label":"Promo kód"},Wf={"periods.week":"{{amount}} uge","periods.month":"{{amount}} måned","periods.year":"{{amount}} år","periods.day":"{{amount}} dag","periods.weekShort":"{{amount}}ug","periods.monthShort":"{{amount}}md","periods.yearShort":"{{amount}}år","periods.dayShort":"{{amount}}d","periods.lifetime":"livstid","periods.weekPlural":"{{amount}} uger","periods.monthPlural":"{{amount}} måneder","periods.yearPlural":"{{amount}} år","periods.dayPlural":"{{amount}} dage","periods.weekFrequency":"ugentligt","periods.monthFrequency":"månedligt","periods.yearFrequency":"årligt","periods.dayFrequency":"dagligt","periods.perWeekFrequency":"pr. uge","periods.perMonthFrequency":"pr. måned","periods.perYearFrequency":"pr. år","periods.perDayFrequency":"pr. dag","periods.unknownFrequency":"ukendt","periods.weekFrequencyPlural":"hver {{amount}} uger","periods.monthFrequencyPlural":"hver {{amount}} måneder","periods.yearFrequencyPlural":"hver {{amount}} år","periods.dayFrequencyPlural":"hver {{amount}} dage","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} gratis prøveperiode","product_info.price_after_free_trial":"Efter prøveperioden slutter, den {{renewalDate}}","product_info.renewal_frequency":"Fornyes {{frequency}}","product_info.continues_until_cancelled":"Fortsætter indtil annulleret","product_info.cancel_anytime":"Annuller når som helst","payment_entry_page.payment_step_title":"Sikker betaling via RevenueCat","payment_entry_page.button_pay":"Betal nu","payment_entry_page.button_start_trial":"Start prøveperiode","success_page.purchase_successful":"Betaling gennemført","success_page.button_close":"Fortsæt","error_page.if_error_persists":"Hvis fejlen fortsætter, kontakt venligst ","error_page.error_title_already_subscribed":"Du abonnerer allerede på {{productTitle}}","error_page.error_title_already_purchased":"Du har allerede købt {{productTitle}}","error_page.error_title_other_errors":"Noget gik galt","error_page.error_message_already_subscribed":"Du kan ikke abonnere på dette produkt igen.","error_page.error_message_already_purchased":"Du kan ikke købe dette produkt igen.","error_page.error_message_missing_email_error":"Email er påkrævet for at gennemføre købet.","error_page.error_message_network_error":"Netværksfejl. Kontroller din internetforbindelse.","error_page.error_message_error_charging_payment":"Betalingen mislykkedes.","error_page.error_message_error_setting_up_purchase":"Køb ikke startet på grund af en fejl (fejlkode: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Vi kunne ikke bekræfte din faktureringsadresse. Kontroller venligst, at postnummeret og landet er korrekte.","error_page.error_message_unknown_error":"Der opstod en ukendt fejl (fejlkode: {{errorCode}}).","error_page.button_try_again":"Prøv igen","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Samlet beløb for i dag","product_info.subscribe_to":"Abonner på","navbar_header.details":"Detaljer","navbar_header.back_button":"Tilbage","pricing_dropdown.show_details":"Vis detaljer","pricing_dropdown.hide_details":"Skjul detaljer","pricing_table.tax":"Moms","pricing_table.trial_ends":"Efter prøveperioden slutter, den {{formattedTrialEndDate}}","pricing_table.total_due_today":"Samlet beløb forfalden i dag","pricing_table.total_excluding_tax":"Samlet beløb eksklusive moms","pricing_table.enter_billing_address_to_calculate":"Indtast faktureringsadresse for at beregne","pricing_table.enter_state_or_postal_code_to_calculate":"Indtast stat eller postnummer for at beregne","pricing_table.enter_postal_code_to_calculate":"Indtast postnummer for at beregne","error_page.error_message_invalid_email_error":"E-mailadressen {{email}} kunne ikke bekræftes. Angiv en gyldig e-mailadresse.","payment_entry_page.button_payment_method":"Betal {{formattedPrice}} med {{paymentMethod}}","payment_entry_page.button_with_price":"Betal {{formattedPrice}}","price_update.title":"Prisopdatering","price_update.base_message":"Den samlede pris er blevet opdateret med moms baseret på din faktureringsadresse. Gennemgå og prøv igen. Dit kort vil kun blive debiteret én gang.","price_update.trial_message":"Abonnementsprisen er opdateret for at inkludere skatter baseret på din faktureringsadresse. Den gratis prøveperiode gælder stadig. Kontroller venligst og prøv igen.","payment_entry_page.express_checkout_divider":"ELLER BETAL MED KORT","error_page.trouble_accessing":"Hvis du har problemer med at få adgang til dit køb, kan du kontakte support på ","error_page.close_button_title":"Gå til {{appName}}","error_page.error_title_stripe_missing_required_permission":"Manglende Stripe-tilladelse","error_page.button_close":"Luk","error_page.error_message_stripe_invalid_tax_origin_address":"Købet mislykkedes, fordi skatteoprindelsesadressen er ugyldig. I produktion vil køb fungere uden påførte skatter.","error_page.error_message_stripe_tax_not_active":"Købet mislykkedes, fordi Stripe Tax ikke er aktiveret. I produktion vil køb fungere uden påførte skatter.","error_page.error_only_in_sandbox":"Denne meddelelse vises kun i sandkassen.","error_page.error_message_stripe_missing_required_permission":"Købet mislykkedes, fordi Stripe-appen mangler en påkrævet tilladelse. I produktion vil køb fungere uden påførte skatter.","error_page.error_title_stripe_tax_not_active":"Stripe Tax er ikke aktiv","error_page.error_title_stripe_invalid_tax_origin_address":"Ugyldig skatteoprindelsesadresse","apple_pay.free_trial":"Gratis prøveperiode","product_info.price_after_intro_price":"Efter {{introPriceDuration}}, den {{renewalDate}}","product_info.after_trial":"efter prøveperiode","product_info.after":"efter","product_info.intro_price_phase_after_trial":"Derefter {{introPriceDuration}} for {{introPrice}}","product_info.intro_price_phase":"Først {{introPriceDuration}} for {{introPrice}}","product_info.intro_price_phase_paid_once":"betales én gang","payment_entry_page.trial_subscription_terms_info":"Efter din prøveperiode slutter, vil du blive opkrævet {{price}} {{perFrequency}} fra og med {{renewalDate}}. Du kan opsige når som helst før denne dato.","payment_entry_page.subscription_info":"Abonnementet fornys automatisk. Opsig når som helst.","payment_entry_page.otp_terms_info":"Ved at købe accepterer du, at {{appName}} kan debitere dig i overensstemmelse med deres vilkår.","payment_entry_page.terms_link_label":"Vilkår","payment_entry_page.subscription_terms_info":"Ved at abonnere accepterer du, at {{appName}} kan opkræve dig i henhold til deres vilkår, indtil du opsiger.","loading_page.keep_page_open":"Processen er næsten færdig. Hold denne side åben.","loading_page.processing_payment":"Behandler betaling","pricing_table.discount":"Rabat","pricing_table.subtotal":"Subtotal","pricing_dropdown.add_promo_code":"Tilføj rabatkode","discount_input.label":"Kampagnekode"},Hf={"periods.week":"{{amount}} week","periods.month":"{{amount}} maand","periods.year":"{{amount}} jaar","periods.day":"{{amount}} dag","periods.weekShort":"{{amount}}wk","periods.monthShort":"{{amount}}maand","periods.yearShort":"{{amount}}jr","periods.dayShort":"{{amount}}d","periods.lifetime":"levenslang","periods.weekPlural":"{{amount}} weken","periods.monthPlural":"{{amount}} maanden","periods.yearPlural":"{{amount}} jaren","periods.dayPlural":"{{amount}} dagen","periods.weekFrequency":"wekelijks","periods.monthFrequency":"maandelijks","periods.yearFrequency":"jaarlijks","periods.dayFrequency":"dagelijks","periods.perWeekFrequency":"per week","periods.perMonthFrequency":"per maand","periods.perYearFrequency":"per jaar","periods.perDayFrequency":"per dag","periods.unknownFrequency":"onbekend","periods.weekFrequencyPlural":"elke {{amount}} weken","periods.monthFrequencyPlural":"elke {{amount}} maanden","periods.yearFrequencyPlural":"elke {{amount}} jaren","periods.dayFrequencyPlural":"elke {{amount}} dagen","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} gratis proefperiode","product_info.price_after_free_trial":"Na afloop van de proefperiode, op {{renewalDate}}","product_info.renewal_frequency":"Wordt verlengd {{frequency}}","product_info.continues_until_cancelled":"Wordt voortgezet tot annulering","product_info.cancel_anytime":"Annuleer op elk gewenst moment","payment_entry_page.payment_step_title":"Veilige afrekening via RevenueCat","payment_entry_page.button_pay":"Nu betalen","payment_entry_page.button_start_trial":"Start proefperiode","success_page.purchase_successful":"Betaling voltooid","success_page.button_close":"Doorgaan","error_page.if_error_persists":"Neem contact op met als de fout aanhoudt","error_page.error_title_already_subscribed":"Je bent al geabonneerd op {{productTitle}}","error_page.error_title_already_purchased":"Je hebt {{productTitle}} al gekocht","error_page.error_title_other_errors":"Er is iets misgegaan","error_page.error_message_already_subscribed":"Je kunt je niet opnieuw abonneren op dit product.","error_page.error_message_already_purchased":"Je kunt dit product niet opnieuw kopen.","error_page.error_message_missing_email_error":"Een e-mailadres is vereist om de aankoop te voltooien.","error_page.error_message_network_error":"Netwerkfout. Controleer uw internetverbinding.","error_page.error_message_error_charging_payment":"Betaling mislukt.","error_page.error_message_error_setting_up_purchase":"Aankoop niet gestart vanwege een fout (foutcode: {{errorCode}}).","error_page.error_message_invalid_tax_location":"We konden uw factuuradres niet verifiëren. Controleer of de postcode en het land correct zijn.","error_page.error_message_unknown_error":"Er is een onbekende fout opgetreden (foutcode: {{errorCode}}).","error_page.button_try_again":"Opnieuw proberen","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Totaal te betalen vandaag","product_info.subscribe_to":"Abonneren op","navbar_header.details":"Details","navbar_header.back_button":"Terug","pricing_dropdown.show_details":"Toon details","pricing_dropdown.hide_details":"Verberg details","pricing_table.tax":"Btw","pricing_table.trial_ends":"Na afloop van de proefperiode, op {{formattedTrialEndDate}}","pricing_table.total_due_today":"Totaal vandaag te betalen","pricing_table.total_excluding_tax":"Totaal exclusief btw","pricing_table.enter_billing_address_to_calculate":"Voer het factuuradres in om te berekenen","pricing_table.enter_state_or_postal_code_to_calculate":"Voer provincie of postcode in om te berekenen","pricing_table.enter_postal_code_to_calculate":"Voer postcode in om te berekenen","error_page.error_message_invalid_email_error":"Het e-mailadres {{email}} kon niet worden geverifieerd. Geef een geldig e-mailadres op.","payment_entry_page.button_payment_method":"Betaal {{formattedPrice}} met {{paymentMethod}}","payment_entry_page.button_with_price":"Betaal {{formattedPrice}}","price_update.title":"Prijsupdate","price_update.base_message":"De totale prijs is bijgewerkt met belasting op basis van uw factuuradres. Controleer en probeer het opnieuw. Uw kaart wordt slechts één keer belast.","price_update.trial_message":"De abonnementsprijs is bijgewerkt om belastingen op te nemen op basis van uw factuuradres. De gratis proefperiode blijft van toepassing. Controleer en probeer het opnieuw.","payment_entry_page.express_checkout_divider":"OF BETAAL MET EEN KAART","error_page.trouble_accessing":"Als je problemen hebt met het verkrijgen van toegang tot je aankoop, neem dan contact op met de ondersteuning via ","error_page.close_button_title":"Ga naar {{appName}}","error_page.error_title_stripe_missing_required_permission":"Ontbrekende Stripe-toestemming","error_page.button_close":"Sluiten","error_page.error_message_stripe_invalid_tax_origin_address":"De aankoop is mislukt omdat het belastingoorsprongadres ongeldig is. In productie werken aankopen zonder toegepaste belastingen.","error_page.error_message_stripe_tax_not_active":"De aankoop is mislukt omdat Stripe Tax niet is ingeschakeld. In productie werken aankopen zonder toegepaste belastingen.","error_page.error_only_in_sandbox":"Dit bericht verschijnt alleen in de sandbox.","error_page.error_message_stripe_missing_required_permission":"De aankoop is mislukt omdat de Stripe-app een vereiste toestemming mist. In productie werken aankopen zonder toegepaste belastingen.","error_page.error_title_stripe_tax_not_active":"Stripe Tax niet actief","error_page.error_title_stripe_invalid_tax_origin_address":"Ongeldig belastingoorsprongadres","apple_pay.free_trial":"Gratis proefperiode","product_info.price_after_intro_price":"Na {{introPriceDuration}}, op {{renewalDate}}","product_info.after_trial":"na proefperiode","product_info.after":"na","product_info.intro_price_phase_after_trial":"Daarna {{introPriceDuration}} voor {{introPrice}}","product_info.intro_price_phase":"Eerst {{introPriceDuration}} voor {{introPrice}}","product_info.intro_price_phase_paid_once":"eenmalig betaald","payment_entry_page.trial_subscription_terms_info":"Na afloop van uw proefperiode wordt {{price}} {{perFrequency}} in rekening gebracht, beginnend op {{renewalDate}}. U kunt op elk moment vóór deze datum annuleren.","payment_entry_page.subscription_info":"Abonnement wordt automatisch verlengd. Annuleer op elk moment.","payment_entry_page.otp_terms_info":"Door de aankoop ga je ermee akkoord dat {{appName}} kosten in rekening brengt volgens hun voorwaarden.","payment_entry_page.terms_link_label":"Voorwaarden","payment_entry_page.subscription_terms_info":"Door u te abonneren, stemt u ermee in dat {{appName}} u kosten in rekening brengt volgens hun voorwaarden totdat u annuleert.","loading_page.keep_page_open":"Het proces is bijna voltooid. Houd deze pagina open.","loading_page.processing_payment":"Betaling verwerken","pricing_table.discount":"Korting","pricing_table.subtotal":"Subtotaal","pricing_dropdown.add_promo_code":"Promotiecode toevoegen","discount_input.label":"Promotiecode"},Yf={"periods.week":"{{amount}} viikko","periods.month":"{{amount}} kuukausi","periods.year":"{{amount}} vuosi","periods.day":"{{amount}} päivä","periods.weekShort":"{{amount}}vk","periods.monthShort":"{{amount}}kk","periods.yearShort":"{{amount}}v","periods.dayShort":"{{amount}}p","periods.lifetime":"elämäaika","periods.weekPlural":"{{amount}} viikkoa","periods.monthPlural":"{{amount}} kuukautta","periods.yearPlural":"{{amount}} vuotta","periods.dayPlural":"{{amount}} päivää","periods.weekFrequency":"viikoittain","periods.monthFrequency":"kuukausittain","periods.yearFrequency":"vuosittain","periods.dayFrequency":"päivittäin","periods.perWeekFrequency":"viikossa","periods.perMonthFrequency":"kuukaudessa","periods.perYearFrequency":"vuodessa","periods.perDayFrequency":"päivässä","periods.unknownFrequency":"tuntematon","periods.weekFrequencyPlural":"joka {{amount}} viikko","periods.monthFrequencyPlural":"joka {{amount}} kuukausi","periods.yearFrequencyPlural":"joka {{amount}} vuosi","periods.dayFrequencyPlural":"joka {{amount}} päivä","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} ilmainen kokeilujakso","product_info.price_after_free_trial":"Kokeilujakson päätyttyä, {{renewalDate}}","product_info.renewal_frequency":"Uusiutuu {{frequency}}","product_info.continues_until_cancelled":"Jatkuu, kunnes peruutetaan","product_info.cancel_anytime":"Peruuta milloin tahansa","payment_entry_page.payment_step_title":"Suojautunut kassatoiminto RevenueCatin kautta","payment_entry_page.button_pay":"Maksa nyt","payment_entry_page.button_start_trial":"Aloita kokeilujakso","success_page.purchase_successful":"Maksaminen onnistui","success_page.button_close":"Jatka","error_page.if_error_persists":"Jos virhe jatkuu, ota yhteyttä ","error_page.error_title_already_subscribed":"Olet jo tilannut tuotteen {{productTitle}}","error_page.error_title_already_purchased":"Olet jo ostanut tuotteen {{productTitle}}","error_page.error_title_other_errors":"Jokin meni pieleen","error_page.error_message_already_subscribed":"Et voi tilata tätä tuotetta uudelleen.","error_page.error_message_already_purchased":"Et voi ostaa tätä tuotetta uudelleen.","error_page.error_message_missing_email_error":"Sähköpostiosoite tarvitaan ostoksen loppuun saattamiseksi.","error_page.error_message_network_error":"Verkkovirhe. Tarkista internet-yhteytesi.","error_page.error_message_error_charging_payment":"Maksaminen epäonnistui.","error_page.error_message_error_setting_up_purchase":"Ostoa ei aloitettu virheen vuoksi (virhekoodi: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Emme voineet vahvistaa laskutusosoitettasi. Tarkista, että postinumero ja maa ovat oikein.","error_page.error_message_unknown_error":"Tapahtui tuntematon virhe (virhekoodi: {{errorCode}}).","error_page.button_try_again":"Yritä uudelleen","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}} ({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Maksettava summa tänään","product_info.subscribe_to":"Tilaa","navbar_header.details":"Yksityiskohdat","navbar_header.back_button":"Takaisin","pricing_dropdown.show_details":"Näytä tiedot","pricing_dropdown.hide_details":"Piilota tiedot","pricing_table.tax":"Vero","pricing_table.trial_ends":"Kokeilujakson päätyttyä, {{formattedTrialEndDate}}","pricing_table.total_due_today":"Maksettava summa tänään","pricing_table.total_excluding_tax":"Veroton kokonaissumma","pricing_table.enter_billing_address_to_calculate":"Syötä laskutusosoite laskeaksesi","pricing_table.enter_state_or_postal_code_to_calculate":"Syötä osavaltio tai postinumero laskeaksesi","pricing_table.enter_postal_code_to_calculate":"Syötä postinumero laskeaksesi","error_page.error_message_invalid_email_error":"Sähköpostiosoitetta {{email}} ei voitu vahvistaa. Anna kelvollinen sähköpostiosoite.","payment_entry_page.button_payment_method":"Maksa {{formattedPrice}} käyttämällä {{paymentMethod}}","payment_entry_page.button_with_price":"Maksa {{formattedPrice}}","price_update.title":"Hinnan päivitys","price_update.base_message":"Kokonaishinta on päivitetty verolla laskutusosoitteesi perusteella. Tarkista ja yritä uudelleen. Korttiasi veloitetaan vain kerran.","price_update.trial_message":"Tilauksen hinta on päivitetty sisältämään verot laskutusosoitteesi perusteella. Ilmainen kokeilujakso on edelleen voimassa. Tarkista ja yritä uudelleen.","payment_entry_page.express_checkout_divider":"TAI MAKSA KORTILLA","error_page.trouble_accessing":"Jos sinulla on ongelmia ostoksesi käyttämisessä, ota yhteyttä tukeen osoitteessa ","error_page.close_button_title":"Siirry sovellukseen {{appName}}","error_page.error_title_stripe_missing_required_permission":"Puuttuva Stripe-käyttöoikeus","error_page.button_close":"Sulje","error_page.error_message_stripe_invalid_tax_origin_address":"Osto epäonnistui, koska veron alkuperäosoite on virheellinen. Tuotantoympäristössä ostot toimivat ilman veroja.","error_page.error_message_stripe_tax_not_active":"Osto epäonnistui, koska Stripe Tax ei ole käytössä. Tuotantoympäristössä ostot toimivat ilman veroja.","error_page.error_only_in_sandbox":"Tämä viesti näkyy vain hiekkalaatikossa.","error_page.error_message_stripe_missing_required_permission":"Osto epäonnistui, koska Stripe-sovellukselta puuttuu vaadittu käyttöoikeus. Tuotantoympäristössä ostot toimivat ilman veroja.","error_page.error_title_stripe_tax_not_active":"Stripe Tax ei ole aktiivinen","error_page.error_title_stripe_invalid_tax_origin_address":"Virheellinen veron alkuperäosoite","apple_pay.free_trial":"Ilmainen kokeilu","product_info.price_after_intro_price":"{{introPriceDuration}} jälkeen, {{renewalDate}}","product_info.after_trial":"kokeilujakson jälkeen","product_info.after":"jälkeen","product_info.intro_price_phase_after_trial":"Sitten {{introPriceDuration}} hintaan {{introPrice}}","product_info.intro_price_phase":"Ensimmäiset {{introPriceDuration}} hintaan {{introPrice}}","product_info.intro_price_phase_paid_once":"maksetaan kerran","payment_entry_page.trial_subscription_terms_info":"Kokeilujakson päätyttyä sinulta veloitetaan {{price}} {{perFrequency}} alkaen {{renewalDate}}. Voit peruuttaa milloin tahansa ennen tätä päivämäärää.","payment_entry_page.subscription_info":"Tilaus uusiutuu automaattisesti. Peruuta milloin tahansa.","payment_entry_page.otp_terms_info":"Ostamalla hyväksyt, että {{appName}} veloittaa sinua heidän ehtojensa mukaisesti.","payment_entry_page.terms_link_label":"Ehdot","payment_entry_page.subscription_terms_info":"Tilaamalla hyväksyt, että {{appName}} veloittaa sinulta ehtojensa mukaisesti, kunnes peruutat tilauksen.","loading_page.keep_page_open":"Prosessi on melkein valmis. Pidä tämä sivu auki.","loading_page.processing_payment":"Maksua käsitellään","pricing_table.discount":"Alennus","pricing_table.subtotal":"Välisumma","pricing_dropdown.add_promo_code":"Lisää kampanjakoodi","discount_input.label":"Kampanjakoodi"},Gf={"periods.week":"{{amount}} semaine","periods.month":"{{amount}} mois","periods.year":"{{amount}} an","periods.day":"{{amount}} jour","periods.weekShort":"{{amount}}sem","periods.monthShort":"{{amount}}mois","periods.yearShort":"{{amount}}an","periods.dayShort":"{{amount}}j","periods.lifetime":"à vie","periods.weekPlural":"{{amount}} semaines","periods.monthPlural":"{{amount}} mois","periods.yearPlural":"{{amount}} ans","periods.dayPlural":"{{amount}} jours","periods.weekFrequency":"hebdomadaire","periods.monthFrequency":"mensuel","periods.yearFrequency":"annuel","periods.dayFrequency":"quotidien","periods.perWeekFrequency":"par semaine","periods.perMonthFrequency":"par mois","periods.perYearFrequency":"par an","periods.perDayFrequency":"par jour","periods.unknownFrequency":"inconnu","periods.weekFrequencyPlural":"toutes les {{amount}} semaines","periods.monthFrequencyPlural":"tous les {{amount}} mois","periods.yearFrequencyPlural":"tous les {{amount}} ans","periods.dayFrequencyPlural":"tous les {{amount}} jours","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} essai gratuit","product_info.price_after_free_trial":"Après la fin de l'essai, le {{renewalDate}}","product_info.renewal_frequency":"Renouvellement {{frequency}}","product_info.continues_until_cancelled":"Continue jusqu'à annulation","product_info.cancel_anytime":"Annulez à tout moment","payment_entry_page.payment_step_title":"Paiement sécurisé par RevenueCat","payment_entry_page.button_pay":"Payer maintenant","payment_entry_page.button_start_trial":"Commencer l'essai","success_page.purchase_successful":"Paiement effectué","success_page.button_close":"Continuer","error_page.if_error_persists":"Si l'erreur persiste, veuillez contacter ","error_page.error_title_already_subscribed":"Vous êtes déjà abonné à {{productTitle}}","error_page.error_title_already_purchased":"Vous avez déjà acheté {{productTitle}}","error_page.error_title_other_errors":"Une erreur s'est produite","error_page.error_message_already_subscribed":"Vous ne pouvez pas vous abonner à nouveau à ce produit.","error_page.error_message_already_purchased":"Vous ne pouvez pas acheter ce produit à nouveau.","error_page.error_message_missing_email_error":"L'adresse e-mail est requise pour effectuer l'achat.","error_page.error_message_network_error":"Erreur réseau. Veuillez vérifier votre connexion Internet.","error_page.error_message_error_charging_payment":"Échec du paiement.","error_page.error_message_error_setting_up_purchase":"L'achat n'a pas pu démarrer en raison d'une erreur (code d'erreur : {{errorCode}}).","error_page.error_message_invalid_tax_location":"Nous n'avons pas pu vérifier votre adresse de facturation. Veuillez vérifier que le code postal et le pays sont corrects.","error_page.error_message_unknown_error":"Une erreur inconnue s'est produite (code d'erreur : {{errorCode}}).","error_page.button_try_again":"Réessayer","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}} ({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Total dû aujourd'hui","product_info.subscribe_to":"S'abonner à","navbar_header.details":"Détails","navbar_header.back_button":"Retour","pricing_dropdown.show_details":"Afficher les détails","pricing_dropdown.hide_details":"Masquer les détails","pricing_table.tax":"Taxe","pricing_table.trial_ends":"Après la fin de l'essai, le {{formattedTrialEndDate}}","pricing_table.total_due_today":"Total dû aujourd'hui","pricing_table.total_excluding_tax":"Total hors taxes","pricing_table.enter_billing_address_to_calculate":"Saisir l'adresse de facturation pour calculer","pricing_table.enter_state_or_postal_code_to_calculate":"Entrez l'état ou le code postal pour calculer","pricing_table.enter_postal_code_to_calculate":"Entrez le code postal pour calculer","error_page.error_message_invalid_email_error":"L'adresse e-mail {{email}} n'a pas pu être vérifiée. Veuillez fournir une adresse e-mail valide.","payment_entry_page.button_payment_method":"Payer {{formattedPrice}} avec {{paymentMethod}}","payment_entry_page.button_with_price":"Payer {{formattedPrice}}","price_update.title":"Mise à jour du prix","price_update.base_message":"Le prix total a été mis à jour avec la taxe en fonction de votre adresse de facturation. Veuillez vérifier et réessayer. Votre carte ne sera débitée qu'une seule fois.","price_update.trial_message":"Le prix de l'abonnement a été mis à jour pour inclure les taxes en fonction de votre adresse de facturation. La période d'essai gratuit reste applicable. Veuillez vérifier et réessayer.","payment_entry_page.express_checkout_divider":"OU PAYER PAR CARTE","error_page.trouble_accessing":"Si vous avez des difficultés à accéder à votre achat, contactez le support à l'adresse suivante : ","error_page.close_button_title":"Aller sur {{appName}}","error_page.error_title_stripe_missing_required_permission":"Autorisation Stripe manquante","error_page.button_close":"Fermer","error_page.error_message_stripe_invalid_tax_origin_address":"L'achat a échoué car l'adresse d'origine de la taxe n'est pas valide. En production, les achats fonctionneront sans taxes appliquées.","error_page.error_message_stripe_tax_not_active":"L'achat a échoué car Stripe Tax n'est pas activé. En production, les achats fonctionneront sans taxes appliquées.","error_page.error_only_in_sandbox":"Ce message apparaît uniquement dans l'environnement de test.","error_page.error_message_stripe_missing_required_permission":"L'achat a échoué car l'application Stripe ne dispose pas d'une autorisation requise. En production, les achats fonctionneront sans taxes appliquées.","error_page.error_title_stripe_tax_not_active":"Stripe Tax non actif","error_page.error_title_stripe_invalid_tax_origin_address":"Adresse d'origine de la taxe non valide","apple_pay.free_trial":"Essai gratuit","product_info.price_after_intro_price":"Après {{introPriceDuration}}, le {{renewalDate}}","product_info.after_trial":"après l'essai","product_info.after":"après","product_info.intro_price_phase_after_trial":"Puis {{introPriceDuration}} pour {{introPrice}}","product_info.intro_price_phase":"{{introPriceDuration}} pour {{introPrice}} au départ","product_info.intro_price_phase_paid_once":"payé une fois","payment_entry_page.trial_subscription_terms_info":"Après la fin de votre essai, vous serez facturé {{price}} {{perFrequency}} à partir du {{renewalDate}}. Vous pouvez annuler à tout moment avant cette date.","payment_entry_page.subscription_info":"L'abonnement est renouvelé automatiquement. Annulez à tout moment.","payment_entry_page.otp_terms_info":"En achetant, vous acceptez d'autoriser {{appName}} à vous facturer conformément à ses conditions.","payment_entry_page.terms_link_label":"Conditions","payment_entry_page.subscription_terms_info":"En vous abonnant, vous acceptez d'autoriser {{appName}} à vous facturer conformément à ses conditions jusqu'à ce que vous annuliez.","loading_page.keep_page_open":"Le processus est presque terminé. Veuillez garder cette page ouverte.","loading_page.processing_payment":"Paiement en cours","pricing_table.discount":"Remise","pricing_table.subtotal":"Sous-total","pricing_dropdown.add_promo_code":"Ajouter un code promotionnel","discount_input.label":"Code promo"},Kf={"periods.week":"{{amount}} Woche","periods.month":"{{amount}} Monat","periods.year":"{{amount}} Jahr","periods.day":"{{amount}} Tag","periods.weekShort":"{{amount}}Wo","periods.monthShort":"{{amount}}Mo","periods.yearShort":"{{amount}}J","periods.dayShort":"{{amount}}T","periods.lifetime":"lebenslang","periods.weekPlural":"{{amount}} Wochen","periods.monthPlural":"{{amount}} Monate","periods.yearPlural":"{{amount}} Jahre","periods.dayPlural":"{{amount}} Tage","periods.weekFrequency":"wöchentlich","periods.monthFrequency":"monatlich","periods.yearFrequency":"jährlich","periods.dayFrequency":"täglich","periods.perWeekFrequency":"pro Woche","periods.perMonthFrequency":"pro Monat","periods.perYearFrequency":"pro Jahr","periods.perDayFrequency":"pro Tag","periods.unknownFrequency":"unbekannt","periods.weekFrequencyPlural":"alle {{amount}} Wochen","periods.monthFrequencyPlural":"alle {{amount}} Monate","periods.yearFrequencyPlural":"alle {{amount}} Jahre","periods.dayFrequencyPlural":"alle {{amount}} Tage","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} kostenlose Testversion","product_info.price_after_free_trial":"Nach Ablauf der Testversion, am {{renewalDate}}","product_info.renewal_frequency":"Verlängert sich {{frequency}}","product_info.continues_until_cancelled":"Läuft bis zur Kündigung","product_info.cancel_anytime":"Jederzeit kündbar","payment_entry_page.payment_step_title":"Sicherer Checkout über RevenueCat","payment_entry_page.button_pay":"Jetzt bezahlen","payment_entry_page.button_start_trial":"Testversion starten","success_page.purchase_successful":"Zahlung abgeschlossen","success_page.button_close":"Weiter","error_page.if_error_persists":"Wenn der Fehler weiterhin besteht, wenden Sie sich bitte an ","error_page.error_title_already_subscribed":"Du hast {{productTitle}} bereits abonniert","error_page.error_title_already_purchased":"Du hast {{productTitle}} bereits gekauft","error_page.error_title_other_errors":"Etwas ist schief gelaufen","error_page.error_message_already_subscribed":"Du kannst dieses Produkt nicht erneut abonnieren.","error_page.error_message_already_purchased":"Du kannst dieses Produkt nicht erneut kaufen.","error_page.error_message_missing_email_error":"Für den Kauf ist eine E-Mail-Adresse erforderlich.","error_page.error_message_network_error":"Netzwerkfehler. Bitte überprüfen Sie Ihre Internetverbindung.","error_page.error_message_error_charging_payment":"Zahlung fehlgeschlagen.","error_page.error_message_error_setting_up_purchase":"Der Kauf wurde aufgrund eines Fehlers nicht gestartet (Fehlercode: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Wir konnten Ihre Rechnungsadresse nicht überprüfen. Bitte überprüfen Sie, ob die Postleitzahl und das Land korrekt sind.","error_page.error_message_unknown_error":"Ein unbekannter Fehler ist aufgetreten (Fehlercode: {{errorCode}}).","error_page.button_try_again":"Erneut versuchen","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}} ({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Heute fälliger Gesamtbetrag","product_info.subscribe_to":"Abonnieren","navbar_header.details":"Details","navbar_header.back_button":"Zurück","pricing_dropdown.show_details":"Details anzeigen","pricing_dropdown.hide_details":"Details ausblenden","pricing_table.tax":"Steuer","pricing_table.trial_ends":"Nach Ablauf der Testphase, am {{formattedTrialEndDate}}","pricing_table.total_due_today":"Heute fälliger Gesamtbetrag","pricing_table.total_excluding_tax":"Gesamtbetrag ohne Steuer","pricing_table.enter_billing_address_to_calculate":"Rechnungsadresse eingeben, um zu berechnen","pricing_table.enter_state_or_postal_code_to_calculate":"Bundesland oder Postleitzahl zur Berechnung eingeben","pricing_table.enter_postal_code_to_calculate":"Postleitzahl zur Berechnung eingeben","error_page.error_message_invalid_email_error":"Die E-Mail-Adresse {{email}} konnte nicht verifiziert werden. Bitte gib eine gültige E-Mail-Adresse an.","payment_entry_page.button_payment_method":"Mit {{paymentMethod}} für {{formattedPrice}} bezahlen","payment_entry_page.button_with_price":"{{formattedPrice}} bezahlen","price_update.title":"Preisaktualisierung","price_update.base_message":"Der Gesamtpreis wurde basierend auf Ihrer Rechnungsadresse mit Steuern aktualisiert. Bitte überprüfen Sie ihn und versuchen Sie es erneut. Ihre Karte wird erst belastet, wenn alles korrekt ist.","price_update.trial_message":"Der Abonnementpreis wurde aktualisiert, um Steuern basierend auf Ihrer Rechnungsadresse einzuschließen. Die kostenlose Testphase gilt weiterhin. Bitte überprüfen Sie und versuchen Sie es erneut.","payment_entry_page.express_checkout_divider":"ODER MIT KARTE ZAHLEN","error_page.trouble_accessing":"Wenn Sie Probleme beim Zugriff auf Ihren Kauf haben, wenden Sie sich an den Support unter ","error_page.close_button_title":"Zu {{appName}} gehen","error_page.error_title_stripe_missing_required_permission":"Fehlende Stripe-Berechtigung","error_page.button_close":"Schließen","error_page.error_message_stripe_invalid_tax_origin_address":"Der Kauf ist fehlgeschlagen, da die Steuerursprungsadresse ungültig ist. In der Produktion funktionieren Käufe ohne angewendete Steuern.","error_page.error_message_stripe_tax_not_active":"Der Kauf ist fehlgeschlagen, da Stripe Tax nicht aktiviert ist. In der Produktion funktionieren Käufe ohne angewendete Steuern.","error_page.error_only_in_sandbox":"Diese Meldung wird nur in der Sandbox angezeigt.","error_page.error_message_stripe_missing_required_permission":"Der Kauf ist fehlgeschlagen, da der Stripe-App eine erforderliche Berechtigung fehlt. In der Produktion funktionieren Käufe ohne angewendete Steuern.","error_page.error_title_stripe_tax_not_active":"Stripe Tax ist nicht aktiv","error_page.error_title_stripe_invalid_tax_origin_address":"Ungültige Steuerursprungsadresse","apple_pay.free_trial":"Kostenlose Testversion","product_info.price_after_intro_price":"Nach {{introPriceDuration}}, am {{renewalDate}}","product_info.after_trial":"nach Testphase","product_info.after":"nach","product_info.intro_price_phase_after_trial":"Danach {{introPriceDuration}} für {{introPrice}}","product_info.intro_price_phase":"Zuerst {{introPriceDuration}} für {{introPrice}}","product_info.intro_price_phase_paid_once":"einmalig bezahlt","payment_entry_page.trial_subscription_terms_info":"Nach Ablauf Ihres Testzeitraums werden Ihnen {{price}} {{perFrequency}} ab dem {{renewalDate}} berechnet. Sie können jederzeit vor diesem Datum kündigen.","payment_entry_page.subscription_info":"Das Abonnement verlängert sich automatisch. Jederzeit kündbar.","payment_entry_page.otp_terms_info":"Mit dem Kauf erklären Sie sich einverstanden, dass {{appName}} Ihnen Gebühren gemäß ihren Bedingungen berechnet.","payment_entry_page.terms_link_label":"Bedingungen","payment_entry_page.subscription_terms_info":"Mit dem Abonnieren erklären Sie sich damit einverstanden, dass {{appName}} Ihnen gemäß ihren Bedingungen Gebühren berechnet, bis Sie kündigen.","loading_page.keep_page_open":"Der Vorgang ist fast abgeschlossen. Bitte lassen Sie diese Seite geöffnet.","loading_page.processing_payment":"Zahlung wird verarbeitet","pricing_table.discount":"Rabatt","pricing_table.subtotal":"Zwischensumme","pricing_dropdown.add_promo_code":"Promo-Code hinzufügen","discount_input.label":"Gutscheincode"},Xf={"periods.week":"{{amount}} εβδομάδα","periods.month":"{{amount}} μήνας","periods.year":"{{amount}} χρόνος","periods.day":"{{amount}} ημέρα","periods.weekShort":"{{amount}} εβδ.","periods.monthShort":"{{amount}} μήν.","periods.yearShort":"{{amount}} έτ.","periods.dayShort":"{{amount}} ημ.","periods.lifetime":"διάρκεια ζωής","periods.weekPlural":"{{amount}} εβδομάδες","periods.monthPlural":"{{amount}} μήνες","periods.yearPlural":"{{amount}} χρόνια","periods.dayPlural":"{{amount}} ημέρες","periods.weekFrequency":"εβδομαδιαία","periods.monthFrequency":"μηνιαία","periods.yearFrequency":"ετήσια","periods.dayFrequency":"καθημερινά","periods.perWeekFrequency":"ανά εβδομάδα","periods.perMonthFrequency":"ανά μήνα","periods.perYearFrequency":"ανά έτος","periods.perDayFrequency":"ανά ημέρα","periods.unknownFrequency":"άγνωστο","periods.weekFrequencyPlural":"κάθε {{amount}} εβδομάδες","periods.monthFrequencyPlural":"κάθε {{amount}} μήνες","periods.yearFrequencyPlural":"κάθε {{amount}} χρόνια","periods.dayFrequencyPlural":"κάθε {{amount}} ημέρες","product_info.subscribe_to":"Εγγραφείτε στο","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"Δωρεάν για {{trialDuration}}","product_info.price_after_free_trial":"Μετά τη λήξη της δοκιμής, στις {{renewalDate}}","product_info.total_due_today":"Σύνολο πληρωτέο σήμερα","product_info.renewal_frequency":"Ανανεώνεται {{frequency}}","product_info.continues_until_cancelled":"Συνεχίζεται μέχρι την ακύρωση","product_info.cancel_anytime":"Ακύρωση ανά πάσα στιγμή","payment_entry_page.payment_step_title":"Ασφαλής ολοκλήρωση αγοράς από την RevenueCat","payment_entry_page.button_pay":"Πληρωμή τώρα","payment_entry_page.button_start_trial":"Έναρξη δοκιμής","success_page.purchase_successful":"Η πληρωμή ολοκληρώθηκε","success_page.button_close":"Συνέχεια","error_page.if_error_persists":"Εάν το σφάλμα παραμένει, επικοινωνήστε με ","error_page.error_title_already_subscribed":"Έχετε ήδη εγγραφεί στο {{productTitle}}","error_page.error_title_already_purchased":"Έχετε ήδη αγοράσει το {{productTitle}}","error_page.error_title_other_errors":"Κάτι πήγε στραβά","error_page.error_message_already_subscribed":"Δεν μπορείτε να εγγραφείτε ξανά σε αυτό το προϊόν.","error_page.error_message_already_purchased":"Δεν μπορείτε να αγοράσετε ξανά αυτό το προϊόν.","error_page.error_message_missing_email_error":"Απαιτείται email για την ολοκλήρωση της αγοράς.","error_page.error_message_network_error":"Σφάλμα δικτύου. Ελέγξτε τη σύνδεσή σας στο διαδίκτυο.","error_page.error_message_error_charging_payment":"Η πληρωμή απέτυχε.","error_page.error_message_error_setting_up_purchase":"Η αγορά δεν ξεκίνησε λόγω σφάλματος (κωδικός σφάλματος: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Δεν μπορέσαμε να επαληθεύσουμε τη διεύθυνση χρέωσής σας. Παρακαλούμε ελέγξτε ξανά τον ταχυδρομικό κώδικα και τη χώρα για να βεβαιωθείτε ότι είναι σωστά.","error_page.error_message_unknown_error":"Παρουσιάστηκε ένα άγνωστο σφάλμα (κωδικός σφάλματος: {{errorCode}}).","error_page.button_try_again":"Προσπαθήστε ξανά","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","navbar_header.details":"Λεπτομέρειες","navbar_header.back_button":"Πίσω","pricing_dropdown.show_details":"Εμφάνιση λεπτομερειών","pricing_dropdown.hide_details":"Απόκρυψη λεπτομερειών","pricing_table.tax":"Φόρος","pricing_table.trial_ends":"Μετά τη λήξη της δοκιμαστικής περιόδου, στις {{formattedTrialEndDate}}","pricing_table.total_due_today":"Σύνολο πληρωτέο σήμερα","pricing_table.total_excluding_tax":"Σύνολο χωρίς φόρο","pricing_table.enter_billing_address_to_calculate":"Εισαγάγετε τη διεύθυνση χρέωσης για να υπολογιστεί","pricing_table.enter_state_or_postal_code_to_calculate":"Εισαγάγετε την πολιτεία ή τον ταχυδρομικό κώδικα για να υπολογιστεί","pricing_table.enter_postal_code_to_calculate":"Εισαγάγετε τον ταχυδρομικό κώδικα για να υπολογιστεί","error_page.error_message_invalid_email_error":"Η διεύθυνση email {{email}} δεν μπόρεσε να επαληθευτεί. Παρακαλώ δώστε μια έγκυρη διεύθυνση email.","payment_entry_page.button_payment_method":"Πληρωμή {{formattedPrice}} με {{paymentMethod}}","payment_entry_page.button_with_price":"Πληρωμή {{formattedPrice}}","price_update.title":"Ενημέρωση τιμής","price_update.base_message":"Η συνολική τιμή ενημερώθηκε με τον φόρο βάσει της διεύθυνσης χρέωσής σας. Ελέγξτε και δοκιμάστε ξανά. Η κάρτα σας θα χρεωθεί μόνο μία φορά.","price_update.trial_message":"Η τιμή της συνδρομής ενημερώθηκε για να συμπεριλάβει τους φόρους βάσει της διεύθυνσης χρέωσής σας. Η δωρεάν δοκιμαστική περίοδος εξακολουθεί να ισχύει. Παρακαλώ ελέγξτε και δοκιμάστε ξανά.","payment_entry_page.express_checkout_divider":"Ή ΠΛΗΡΩΣΤΕ ΜΕ ΚΑΡΤΑ","error_page.trouble_accessing":"Εάν αντιμετωπίζετε προβλήματα πρόσβασης στην αγορά σας, επικοινωνήστε με την υποστήριξη στο ","error_page.close_button_title":"Μετάβαση στο {{appName}}","error_page.error_title_stripe_missing_required_permission":"Λείπει άδεια Stripe","error_page.button_close":"Κλείσιμο","error_page.error_message_stripe_invalid_tax_origin_address":"Η αγορά απέτυχε επειδή η διεύθυνση προέλευσης φόρου δεν είναι έγκυρη. Στην παραγωγή, οι αγορές θα λειτουργούν χωρίς να εφαρμόζονται φόροι.","error_page.error_message_stripe_tax_not_active":"Η αγορά απέτυχε επειδή το Stripe Tax δεν είναι ενεργοποιημένο. Στην παραγωγή, οι αγορές θα λειτουργούν χωρίς να εφαρμόζονται φόροι.","error_page.error_only_in_sandbox":"Αυτό το μήνυμα εμφανίζεται μόνο στο sandbox.","error_page.error_message_stripe_missing_required_permission":"Η αγορά απέτυχε επειδή η εφαρμογή Stripe δεν διαθέτει την απαιτούμενη άδεια. Στην παραγωγή, οι αγορές θα λειτουργούν χωρίς να εφαρμόζονται φόροι.","error_page.error_title_stripe_tax_not_active":"Το Stripe Tax δεν είναι ενεργό","error_page.error_title_stripe_invalid_tax_origin_address":"Μη έγκυρη διεύθυνση προέλευσης φόρου","apple_pay.free_trial":"Δωρεάν δοκιμή","product_info.price_after_intro_price":"Μετά από {{introPriceDuration}}, στις {{renewalDate}}","product_info.after_trial":"μετά τη δοκιμή","product_info.after":"μετά","product_info.intro_price_phase_after_trial":"Έπειτα {{introPriceDuration}} για {{introPrice}}","product_info.intro_price_phase":"Αρχικά {{introPriceDuration}} για {{introPrice}}","product_info.intro_price_phase_paid_once":"πληρωμένο εφάπαξ","payment_entry_page.trial_subscription_terms_info":"Μετά τη λήξη της δοκιμαστικής περιόδου, θα χρεωθείτε {{price}} {{perFrequency}} ξεκινώντας από {{renewalDate}}. Μπορείτε να ακυρώσετε ανά πάσα στιγμή πριν από αυτήν την ημερομηνία.","payment_entry_page.subscription_info":"Η συνδρομή ανανεώνεται αυτόματα. Ακυρώστε ανά πάσα στιγμή.","payment_entry_page.otp_terms_info":"Με την αγορά, συμφωνείτε να επιτρέψετε στην {{appName}} να σας χρεώσει σύμφωνα με τους όρους της.","payment_entry_page.terms_link_label":"Όροι","payment_entry_page.subscription_terms_info":"Με την εγγραφή σας, συμφωνείτε να επιτρέψετε στην εφαρμογή {{appName}} να σας χρεώνει σύμφωνα με τους όρους της έως ότου ακυρώσετε.","loading_page.keep_page_open":"Η διαδικασία σχεδόν ολοκληρώθηκε. Κρατήστε αυτή τη σελίδα ανοιχτή.","loading_page.processing_payment":"Επεξεργασία πληρωμής","pricing_table.discount":"Έκπτωση","pricing_table.subtotal":"Υποσύνολο","pricing_dropdown.add_promo_code":"Προσθήκη κωδικού προσφοράς","discount_input.label":"Κωδικός προσφοράς"},Zf={"periods.week":"{{amount}} שבוע","periods.month":"{{amount}} חודש","periods.year":"{{amount}} שנה","periods.day":"{{amount}} יום","periods.weekShort":"{{amount}}wk","periods.monthShort":"{{amount}}mo","periods.yearShort":"{{amount}}yr","periods.dayShort":"{{amount}}d","periods.lifetime":"למשך כל החיים","periods.weekPlural":"{{amount}} שבועות","periods.monthPlural":"{{amount}} חודשים","periods.yearPlural":"{{amount}} שנים","periods.dayPlural":"{{amount}} ימים","periods.weekFrequency":"שבועי","periods.monthFrequency":"חודשי","periods.yearFrequency":"שנתי","periods.dayFrequency":"יומי","periods.perWeekFrequency":"לשבוע","periods.perMonthFrequency":"לחודש","periods.perYearFrequency":"לשנה","periods.perDayFrequency":"ליום","periods.unknownFrequency":"לא ידוע","periods.weekFrequencyPlural":"כל {{amount}} שבועות","periods.monthFrequencyPlural":"כל {{amount}} חודשים","periods.yearFrequencyPlural":"כל {{amount}} שנים","periods.dayFrequencyPlural":"כל {{amount}} ימים","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} ניסיון חינם","product_info.price_after_free_trial":"לאחר סיום הניסיון, ב-{{renewalDate}}","product_info.renewal_frequency":"מתחדש {{frequency}}","product_info.continues_until_cancelled":"נמשך עד ביטול","product_info.cancel_anytime":"ניתן לבטל בכל עת","payment_entry_page.payment_step_title":"קופה מאובטחת באמצעות RevenueCat","payment_entry_page.button_pay":"שלם עכשיו","payment_entry_page.button_start_trial":"התחל ניסיון","success_page.purchase_successful":"התשלום הושלם","success_page.button_close":"המשך","error_page.if_error_persists":"אם השגיאה נמשכת, אנא פנה אל ","error_page.error_title_already_subscribed":"כבר נרשמת כמנוי ל-{{productTitle}}","error_page.error_title_already_purchased":"כבר רכשת את {{productTitle}}","error_page.error_title_other_errors":"משהו השתבש","error_page.error_message_already_subscribed":"אינך יכול להירשם כמנוי למוצר זה שוב.","error_page.error_message_already_purchased":"אינך יכול לרכוש מוצר זה שוב.","error_page.error_message_missing_email_error":'דוא"ל נדרש כדי להשלים את הרכישה.',"error_page.error_message_network_error":"שגיאת רשת. אנא בדוק את חיבור האינטרנט שלך.","error_page.error_message_error_charging_payment":"התשלום נכשל.","error_page.error_message_error_setting_up_purchase":"הרכישה לא הופעלה עקב שגיאה (קוד שגיאה: {{errorCode}}).","error_page.error_message_invalid_tax_location":"לא הצלחנו לאמת את כתובת החיוב שלך. אנא בדוק שוב את המיקוד והמדינה כדי לוודא שהם נכונים.","error_page.error_message_unknown_error":"אירעה שגיאה לא ידועה (קוד שגיאה: {{errorCode}}).","error_page.button_try_again":"נסה שוב","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":'סה"כ לתשלום היום',"product_info.subscribe_to":"הירשם כמנוי ל-","navbar_header.details":"פרטים","navbar_header.back_button":"חזרה","pricing_dropdown.show_details":"הצג פרטים","pricing_dropdown.hide_details":"הסתר פרטים","pricing_table.tax":"מס","pricing_table.trial_ends":"לאחר סיום תקופת הניסיון, בתאריך {{formattedTrialEndDate}}","pricing_table.total_due_today":"סך הכל לתשלום היום","pricing_table.total_excluding_tax":"סך הכל לא כולל מס","pricing_table.enter_billing_address_to_calculate":"הזן כתובת לחיוב כדי לחשב","pricing_table.enter_state_or_postal_code_to_calculate":"הזן מדינה או מיקוד לחישוב","pricing_table.enter_postal_code_to_calculate":"הזן מיקוד לחישוב","error_page.error_message_invalid_email_error":"לא ניתן לאמת את כתובת האימייל {{email}}. אנא ספק כתובת אימייל חוקית.","payment_entry_page.button_payment_method":"שלם {{formattedPrice}} באמצעות {{paymentMethod}}","payment_entry_page.button_with_price":"שלם {{formattedPrice}}","price_update.title":"עדכון מחיר","price_update.base_message":"המחיר הכולל עודכן עם מס בהתבסס על כתובת החיוב שלך. אנא בדוק שוב ונסה שוב. החיוב יתבצע רק פעם אחת.","price_update.trial_message":"מחיר המנוי עודכן כדי לכלול מיסים בהתבסס על כתובת החיוב שלך. תקופת הניסיון החינמית עדיין תקפה. אנא בדוק ונסה שוב.","payment_entry_page.express_checkout_divider":"או שלם באמצעות כרטיס","error_page.trouble_accessing":"אם אתה מתקשה לגשת לרכישה שלך, פנה לתמיכה בכתובת ","error_page.close_button_title":"עבור אל {{appName}}","error_page.error_title_stripe_missing_required_permission":"חסרה הרשאה של Stripe","error_page.button_close":"סגור","error_page.error_message_stripe_invalid_tax_origin_address":"הרכישה נכשלה מכיוון שכתובת מקור המס אינה חוקית. בייצור, רכישות יעבדו ללא מסים.","error_page.error_message_stripe_tax_not_active":"הרכישה נכשלה מכיוון שמס Stripe אינו מופעל. בייצור, רכישות יעבדו ללא מסים.","error_page.error_only_in_sandbox":"הודעה זו מופיעה רק בארגז חול.","error_page.error_message_stripe_missing_required_permission":"הרכישה נכשלה מכיוון שלאפליקציית Stripe חסרה הרשאה נדרשת. בייצור, רכישות יעבדו ללא מסים.","error_page.error_title_stripe_tax_not_active":"מס Stripe לא פעיל","error_page.error_title_stripe_invalid_tax_origin_address":"כתובת מקור מס לא חוקית","apple_pay.free_trial":"תקופת ניסיון בחינם","product_info.price_after_intro_price":"לאחר {{introPriceDuration}}, בתאריך {{renewalDate}}","product_info.after_trial":"אחרי תקופת ניסיון","product_info.after":"אחרי","product_info.intro_price_phase_after_trial":"אחר כך {{introPriceDuration}} עבור {{introPrice}}","product_info.intro_price_phase":"תחילה {{introPriceDuration}} עבור {{introPrice}}","product_info.intro_price_phase_paid_once":"משולם פעם אחת","payment_entry_page.trial_subscription_terms_info":"לאחר סיום תקופת הניסיון שלך, תחויב בסך {{price}} {{perFrequency}} החל מ-{{renewalDate}}. באפשרותך לבטל בכל עת לפני תאריך זה.","payment_entry_page.subscription_info":"המנוי מתחדש אוטומטית. ניתן לבטל בכל עת.","payment_entry_page.otp_terms_info":"ברכישה, אתה מסכים לאפשר ל-{{appName}} לחייב אותך בהתאם לתנאים שלהם.","payment_entry_page.terms_link_label":"תנאים","payment_entry_page.subscription_terms_info":"על ידי הרשמה כמנוי, אתה מסכים לאפשר ל-{{appName}} לחייב אותך בהתאם לתנאים שלהם עד שתבטל.","loading_page.keep_page_open":"התהליך כמעט הסתיים. השאר דף זה פתוח.","loading_page.processing_payment":"מעבד תשלום תבעה","pricing_table.discount":"הנחה","pricing_table.subtotal":"סכום ביניים","pricing_dropdown.add_promo_code":"הוסף קוד קידום מכירות","discount_input.label":"קוד פרומו"},Jf={"periods.week":"{{amount}} सप्ताह","periods.month":"{{amount}} महीना","periods.year":"{{amount}} वर्ष","periods.day":"{{amount}} दिन","periods.weekShort":"{{amount}}सप्ताह","periods.monthShort":"{{amount}}महीना","periods.yearShort":"{{amount}}वर्ष","periods.dayShort":"{{amount}}दिन","periods.lifetime":"लाइफ़टाइम","periods.weekPlural":"{{amount}} सप्ताह","periods.monthPlural":"{{amount}} महीने","periods.yearPlural":"{{amount}} वर्ष","periods.dayPlural":"{{amount}} दिन","periods.weekFrequency":"साप्ताहिक","periods.monthFrequency":"मासिक","periods.yearFrequency":"वार्षिक","periods.dayFrequency":"दैनिक","periods.perWeekFrequency":"प्रति सप्ताह","periods.perMonthFrequency":"प्रति माह","periods.perYearFrequency":"प्रति वर्ष","periods.perDayFrequency":"प्रति दिन","periods.unknownFrequency":"अज्ञात","periods.weekFrequencyPlural":"प्रत्येक {{amount}} सप्ताह","periods.monthFrequencyPlural":"प्रत्येक {{amount}} महीने","periods.yearFrequencyPlural":"प्रत्येक {{amount}} वर्ष","periods.dayFrequencyPlural":"प्रत्येक {{amount}} दिन","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} निःशुल्क परीक्षण","product_info.price_after_free_trial":"परीक्षण समाप्त होने के बाद, {{renewalDate}} को","product_info.renewal_frequency":"{{frequency}} पर नवीनीकृत होता है","product_info.continues_until_cancelled":"रद्द होने तक जारी रहता है","product_info.cancel_anytime":"किसी भी समय रद्द करें","payment_entry_page.payment_step_title":"RevenueCat द्वारा सुरक्षित चेकआउट","payment_entry_page.button_pay":"अभी भुगतान करें","payment_entry_page.button_start_trial":"परीक्षण प्रारंभ करें","success_page.purchase_successful":"भुगतान पूर्ण","success_page.button_close":"जारी रखें","error_page.if_error_persists":"यदि त्रुटि बनी रहती है, तो कृपया संपर्क करें ","error_page.error_title_already_subscribed":"आपने पहले ही {{productTitle}} की सदस्यता ले ली है","error_page.error_title_already_purchased":"आपने पहले ही {{productTitle}} खरीद लिया है","error_page.error_title_other_errors":"कुछ गलत हो गया","error_page.error_message_already_subscribed":"आप इस उत्पाद की सदस्यता फिर से नहीं ले सकते.","error_page.error_message_already_purchased":"आप इस उत्पाद को फिर से नहीं खरीद सकते.","error_page.error_message_missing_email_error":"खरीद को पूरा करने के लिए ईमेल आवश्यक है।","error_page.error_message_network_error":"नेटवर्क त्रुटि। कृपया अपना इंटरनेट कनेक्शन जांचें।","error_page.error_message_error_charging_payment":"भुगतान विफल।","error_page.error_message_error_setting_up_purchase":"किसी त्रुटि के कारण खरीदारी शुरू नहीं हुई (त्रुटि कोड: {{errorCode}})।","error_page.error_message_invalid_tax_location":"हम आपके बिलिंग पते को सत्यापित नहीं कर सके। कृपया सुनिश्चित करें कि पिन कोड और देश सही हैं।","error_page.error_message_unknown_error":"एक अज्ञात त्रुटि हुई (त्रुटि कोड: {{errorCode}})।","error_page.button_try_again":"फिर से कोशिश करें","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"आज देय कुल राशि","product_info.subscribe_to":"सदस्यता लें","navbar_header.details":"विवरण","navbar_header.back_button":"वापस","pricing_dropdown.show_details":"विवरण दिखाएँ","pricing_dropdown.hide_details":"विवरण छिपाएँ","pricing_table.tax":"कर","pricing_table.trial_ends":"{{formattedTrialEndDate}} पर परीक्षण समाप्त होने के बाद","pricing_table.total_due_today":"आज देय कुल","pricing_table.total_excluding_tax":"कर को छोड़कर कुल","pricing_table.enter_billing_address_to_calculate":"गणना करने के लिए बिलिंग पता दर्ज करें","pricing_table.enter_state_or_postal_code_to_calculate":"गणना करने के लिए राज्य या ज़िप कोड दर्ज करें","pricing_table.enter_postal_code_to_calculate":"गणना करने के लिए ज़िप कोड दर्ज करें","error_page.error_message_invalid_email_error":"ईमेल पता {{email}} सत्यापित नहीं किया जा सका. कृपया एक मान्य ईमेल पता प्रदान करें.","payment_entry_page.button_payment_method":"{{paymentMethod}} के साथ {{formattedPrice}} का भुगतान करें","payment_entry_page.button_with_price":"{{formattedPrice}} का भुगतान करें","price_update.title":"मूल्य अपडेट","price_update.base_message":"आप के बिलिंग पते के आधार पर कुल कीमत कर के साथ अपडेट की गई थी। कृपया समीक्षा करें और फिर से प्रयास करें। आपके कार्ड से केवल एक बार शुल्क लिया जाएगा।","price_update.trial_message":"सदस्यता मूल्य आपके बिलिंग पते के आधार पर करों को शामिल करने के लिए अपडेट किया गया है। निःशुल्क परीक्षण अवधि अभी भी लागू है। कृपया जांचें और पुनः प्रयास करें।","payment_entry_page.express_checkout_divider":"या कार्ड से भुगतान करें","error_page.trouble_accessing":"यदि आपको अपनी खरीदारी तक पहुंचने में परेशानी हो रही है, तो पर समर्थन के लिए संपर्क करें","error_page.close_button_title":"{{appName}} पर जाएं","error_page.error_title_stripe_missing_required_permission":"स्ट्राइप अनुमति गुम है","error_page.button_close":"बंद करें","error_page.error_message_stripe_invalid_tax_origin_address":"खरीदारी विफल रही क्योंकि कर उत्पत्ति पता अमान्य है. उत्पादन में, खरीदारी बिना करों के लागू किए काम करेगी.","error_page.error_message_stripe_tax_not_active":"खरीदारी विफल रही क्योंकि स्ट्राइप टैक्स सक्षम नहीं है. उत्पादन में, खरीदारी बिना करों के लागू किए काम करेगी.","error_page.error_only_in_sandbox":"यह संदेश केवल सैंडबॉक्स में दिखाई देता है.","error_page.error_message_stripe_missing_required_permission":"खरीदारी विफल रही क्योंकि स्ट्राइप ऐप में आवश्यक अनुमति नहीं है. उत्पादन में, खरीदारी बिना करों के लागू किए काम करेगी.","error_page.error_title_stripe_tax_not_active":"स्ट्राइप टैक्स सक्रिय नहीं है","error_page.error_title_stripe_invalid_tax_origin_address":"अमान्य कर उत्पत्ति पता","apple_pay.free_trial":"मुफ़्त ट्रायल","product_info.price_after_intro_price":"{{introPriceDuration}} के बाद, {{renewalDate}} पर","product_info.after_trial":"ट्रायल के बाद","product_info.after":"के बाद","product_info.intro_price_phase_after_trial":"फिर {{introPriceDuration}} के लिए {{introPrice}}","product_info.intro_price_phase":"पहले {{introPriceDuration}} के लिए {{introPrice}}","product_info.intro_price_phase_paid_once":"एक बार भुगतान किया गया","payment_entry_page.trial_subscription_terms_info":"आपकी परीक्षण अवधि समाप्त होने के बाद, आपसे {{renewalDate}} से शुरू होकर {{price}} {{perFrequency}} शुल्क लिया जाएगा. आप इस तिथि से पहले कभी भी रद्द कर सकते हैं.","payment_entry_page.subscription_info":"सदस्यता स्वतः नवीनीकृत हो जाती है. कभी भी रद्द करें.","payment_entry_page.otp_terms_info":"खरीदकर, आप {{appName}} को उनकी शर्तों के अनुसार आपसे शुल्क लेने की अनुमति देने के लिए सहमत हैं.","payment_entry_page.terms_link_label":"नियम","payment_entry_page.subscription_terms_info":"सदस्यता लेकर, आप {{appName}} को रद्द करने तक उनकी शर्तों के अनुसार आपसे शुल्क लेने की अनुमति देने के लिए सहमत हैं.","loading_page.keep_page_open":"प्रक्रिया लगभग पूरी हो चुकी है. इस पृष्ठ को खुला रखें.","loading_page.processing_payment":"भुगतान संसाधित किया जा रहा है","pricing_table.discount":"छूट","pricing_table.subtotal":"उपकुल योग","pricing_dropdown.add_promo_code":"प्रोमो_कोड_जोड़ें","discount_input.label":"प्रोमो कोड"},Qf={"periods.week":"{{amount}} hét","periods.month":"{{amount}} hónap","periods.year":"{{amount}} év","periods.day":"{{amount}} nap","periods.weekShort":"{{amount}}hét","periods.monthShort":"{{amount}}hó","periods.yearShort":"{{amount}}év","periods.dayShort":"{{amount}}n","periods.lifetime":"életre szóló","periods.weekPlural":"{{amount}} hét","periods.monthPlural":"{{amount}} hónap","periods.yearPlural":"{{amount}} év","periods.dayPlural":"{{amount}} nap","periods.weekFrequency":"heti","periods.monthFrequency":"havi","periods.yearFrequency":"éves","periods.dayFrequency":"napi","periods.perWeekFrequency":"hetente","periods.perMonthFrequency":"havonta","periods.perYearFrequency":"évente","periods.perDayFrequency":"naponta","periods.unknownFrequency":"ismeretlen","periods.weekFrequencyPlural":"minden {{amount}} hétben","periods.monthFrequencyPlural":"minden {{amount}} hónapban","periods.yearFrequencyPlural":"minden {{amount}} évben","periods.dayFrequencyPlural":"minden {{amount}} napban","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} próbaidőszak","product_info.price_after_free_trial":"A próbaidőszak vége után, {{renewalDate}}-kor","product_info.renewal_frequency":"{{frequency}} gyakorisággal megújul","product_info.continues_until_cancelled":"Folytatódik, amíg le nem mondják","product_info.cancel_anytime":"Bármikor lemondható","payment_entry_page.payment_step_title":"Biztonságos fizetés a RevenueCat-en keresztül","payment_entry_page.button_pay":"Fizetés most","payment_entry_page.button_start_trial":"Próbaidőszak indítása","success_page.purchase_successful":"Fizetés sikeres","success_page.button_close":"Tovább","error_page.if_error_persists":"Ha a hiba továbbra is fennáll, kérjük, vedd fel a kapcsolatot ","error_page.error_title_already_subscribed":"Már előfizettél a(z) {{productTitle}} termékre","error_page.error_title_already_purchased":"Már megvásároltad a(z) {{productTitle}} terméket","error_page.error_title_other_errors":"Valami hiba történt","error_page.error_message_already_subscribed":"Nem fizethetsz elő újra erre a termékre.","error_page.error_message_already_purchased":"Nem vásárolhatod meg újra ezt a terméket.","error_page.error_message_missing_email_error":"Az email cím szükséges a vásárlás befejezéséhez.","error_page.error_message_network_error":"Hálózati hiba. Kérjük, ellenőrizd az internetkapcsolatodat.","error_page.error_message_error_charging_payment":"A fizetés sikertelen volt.","error_page.error_message_error_setting_up_purchase":"Hiba miatt nem indult el a vásárlás (hibakód: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Nem tudtuk ellenőrizni a számlázási címét. Kérjük, ellenőrizze, hogy az irányítószám és az ország helyes-e.","error_page.error_message_unknown_error":"Ismeretlen hiba történt (hibakód: {{errorCode}}).","error_page.button_try_again":"Újrapróbálkozás","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Ma fizetendő összesen","product_info.subscribe_to":"Feliratkozás erre:","navbar_header.details":"Részletek","navbar_header.back_button":"Vissza","pricing_dropdown.show_details":"Részletek mutatása","pricing_dropdown.hide_details":"Részletek elrejtése","pricing_table.tax":"Adó","pricing_table.trial_ends":"A próbaidőszak vége: {{formattedTrialEndDate}}","pricing_table.total_due_today":"Ma fizetendő összeg","pricing_table.total_excluding_tax":"Összesen adó nélkül","pricing_table.enter_billing_address_to_calculate":"Adja meg a számlázási címet a számításhoz","pricing_table.enter_state_or_postal_code_to_calculate":"Adja meg az államot vagy az irányítószámot a számításhoz","pricing_table.enter_postal_code_to_calculate":"Adja meg az irányítószámot a számításhoz","error_page.error_message_invalid_email_error":"A(z) {{email}} e-mail címet nem sikerült ellenőrizni. Kérjük, adj meg egy érvényes e-mail címet.","payment_entry_page.button_payment_method":"Fizetés {{formattedPrice}} összeggel a következővel: {{paymentMethod}}","payment_entry_page.button_with_price":"Fizetés {{formattedPrice}}","price_update.title":"Ár frissítése","price_update.base_message":"A teljes ár frissítve lett az adóval a számlázási címed alapján. Kérjük, tekintsd át és próbáld újra. A kártyádat csak egyszer terheljük meg.","price_update.trial_message":"Az előfizetés ára adókkal együtt frissítésre került a számlázási címének megfelelően. Az ingyenes próbaidőszak továbbra is érvényes. Kérjük, ellenőrizze és próbálja újra.","payment_entry_page.express_checkout_divider":"VAGY FIZESSEN KÁRTYÁVAL","error_page.trouble_accessing":"Ha problémái vannak a vásárláshoz való hozzáféréssel, forduljon az ügyfélszolgálathoz a következő címen: ","error_page.close_button_title":"Ugrás a(z) {{appName}} alkalmazáshoz","error_page.error_title_stripe_missing_required_permission":"Hiányzó Stripe engedély","error_page.button_close":"Bezárás","error_page.error_message_stripe_invalid_tax_origin_address":"A vásárlás sikertelen volt, mert az adókiindulási cím érvénytelen. Éles környezetben a vásárlások adók alkalmazása nélkül fognak működni.","error_page.error_message_stripe_tax_not_active":"A vásárlás sikertelen volt, mert a Stripe adó nincs engedélyezve. Éles környezetben a vásárlások adók alkalmazása nélkül fognak működni.","error_page.error_only_in_sandbox":"Ez az üzenet csak a tesztkörnyezetben jelenik meg.","error_page.error_message_stripe_missing_required_permission":"A vásárlás sikertelen volt, mert a Stripe alkalmazásból hiányzik egy szükséges engedély. Éles környezetben a vásárlások adók alkalmazása nélkül fognak működni.","error_page.error_title_stripe_tax_not_active":"A Stripe adó nincs aktiválva","error_page.error_title_stripe_invalid_tax_origin_address":"Érvénytelen adókiindulási cím","apple_pay.free_trial":"Ingyenes próbaidőszak","product_info.price_after_intro_price":"{{introPriceDuration}} után, {{renewalDate}} napján","product_info.after_trial":"próbaidőszak után","product_info.after":"utána","product_info.intro_price_phase_after_trial":"Ezután {{introPriceDuration}} ideig {{introPrice}} áron","product_info.intro_price_phase":"Először {{introPriceDuration}} ideig {{introPrice}} áron","product_info.intro_price_phase_paid_once":"egyszeri fizetéssel","payment_entry_page.trial_subscription_terms_info":"A próbaidőszak vége után {{price}} összeget számítunk fel {{perFrequency}} gyakorisággal, kezdve {{renewalDate}} dátummal. Ezt a dátumot megelőzően bármikor lemondhatod.","payment_entry_page.subscription_info":"Az előfizetés automatikusan megújul. Bármikor lemondhatod.","payment_entry_page.otp_terms_info":"A vásárlással elfogadod, hogy a {{appName}} az általa meghatározott feltételek szerint terheljen.","payment_entry_page.terms_link_label":"Feltételek","payment_entry_page.subscription_terms_info":"A feliratkozással elfogadod, hogy a {{appName}} az általa meghatározott feltételek szerint terheljen, amíg le nem mondod.","loading_page.keep_page_open":"A folyamat majdnem befejeződött. Tartsa nyitva ezt az oldalt.","loading_page.processing_payment":"Fizetés feldolgozása","pricing_table.discount":"Kedvezmény","pricing_table.subtotal":"Részösszeg","pricing_dropdown.add_promo_code":"Promóciós kód hozzáadása","discount_input.label":"Promóciós kód"},$f={"periods.week":"{{amount}} minggu","periods.month":"{{amount}} bulan","periods.year":"{{amount}} tahun","periods.day":"{{amount}} hari","periods.weekShort":"{{amount}}mg","periods.monthShort":"{{amount}}bl","periods.yearShort":"{{amount}}th","periods.dayShort":"{{amount}}h","periods.lifetime":"seumur hidup","periods.weekPlural":"{{amount}} minggu","periods.monthPlural":"{{amount}} bulan","periods.yearPlural":"{{amount}} tahun","periods.dayPlural":"{{amount}} hari","periods.weekFrequency":"mingguan","periods.monthFrequency":"bulanan","periods.yearFrequency":"tahunan","periods.dayFrequency":"harian","periods.perWeekFrequency":"per minggu","periods.perMonthFrequency":"per bulan","periods.perYearFrequency":"per tahun","periods.perDayFrequency":"per hari","periods.unknownFrequency":"tidak diketahui","periods.weekFrequencyPlural":"setiap {{amount}} minggu","periods.monthFrequencyPlural":"setiap {{amount}} bulan","periods.yearFrequencyPlural":"setiap {{amount}} tahun","periods.dayFrequencyPlural":"setiap {{amount}} hari","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} uji coba gratis","product_info.price_after_free_trial":"Setelah uji coba berakhir, pada {{renewalDate}}","product_info.renewal_frequency":"Diperbarui {{frequency}}","product_info.continues_until_cancelled":"Berlanjut hingga dibatalkan","product_info.cancel_anytime":"Batalkan kapan saja","payment_entry_page.payment_step_title":"Pembayaran aman oleh RevenueCat","payment_entry_page.button_pay":"Bayar sekarang","payment_entry_page.button_start_trial":"Mulai Uji Coba","success_page.purchase_successful":"Pembayaran selesai","success_page.button_close":"Lanjutkan","error_page.if_error_persists":"Jika kesalahan berlanjut, silakan hubungi ","error_page.error_title_already_subscribed":"Anda sudah berlangganan ke {{productTitle}}","error_page.error_title_already_purchased":"Anda sudah membeli {{productTitle}}","error_page.error_title_other_errors":"Terjadi kesalahan","error_page.error_message_already_subscribed":"Anda tidak dapat berlangganan produk ini lagi.","error_page.error_message_already_purchased":"Anda tidak dapat membeli produk ini lagi.","error_page.error_message_missing_email_error":"Email diperlukan untuk menyelesaikan pembelian.","error_page.error_message_network_error":"Kesalahan jaringan. Periksa koneksi internet Anda.","error_page.error_message_error_charging_payment":"Pembayaran gagal.","error_page.error_message_error_setting_up_purchase":"Pembelian tidak dimulai karena kesalahan (kode kesalahan: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Kami tidak dapat memverifikasi alamat penagihan Anda. Harap periksa kembali kode pos dan negara untuk memastikan keduanya benar.","error_page.error_message_unknown_error":"Terjadi kesalahan yang tidak diketahui (kode kesalahan: {{errorCode}}).","error_page.button_try_again":"Coba lagi","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Total yang harus dibayar hari ini","product_info.subscribe_to":"Berlangganan ke","navbar_header.details":"Detail","navbar_header.back_button":"Kembali","pricing_dropdown.show_details":"Tampilkan detail","pricing_dropdown.hide_details":"Sembunyikan detail","pricing_table.tax":"Pajak","pricing_table.trial_ends":"Setelah masa percobaan berakhir, pada {{formattedTrialEndDate}}","pricing_table.total_due_today":"Total yang harus dibayar hari ini","pricing_table.total_excluding_tax":"Total belum termasuk pajak","pricing_table.enter_billing_address_to_calculate":"Masukkan alamat penagihan untuk menghitung","pricing_table.enter_state_or_postal_code_to_calculate":"Masukkan negara bagian atau kode pos untuk menghitung","pricing_table.enter_postal_code_to_calculate":"Masukkan kode pos untuk menghitung","error_page.error_message_invalid_email_error":"Alamat email {{email}} tidak dapat diverifikasi. Harap berikan alamat email yang valid.","payment_entry_page.button_payment_method":"Bayar {{formattedPrice}} dengan {{paymentMethod}}","payment_entry_page.button_with_price":"Bayar {{formattedPrice}}","price_update.title":"Pembaruan harga","price_update.base_message":"Total harga telah diperbarui dengan pajak berdasarkan alamat penagihan Anda. Harap tinjau dan coba lagi. Kartu Anda hanya akan dikenakan biaya sekali.","price_update.trial_message":"Harga langganan telah diperbarui untuk menyertakan pajak berdasarkan alamat penagihan Anda. Masa percobaan gratis masih berlaku. Silakan periksa dan coba lagi.","payment_entry_page.express_checkout_divider":"ATAU BAYAR DENGAN KARTU","error_page.trouble_accessing":"Jika Anda mengalami masalah dalam mengakses pembelian, hubungi dukungan di ","error_page.close_button_title":"Pergi ke {{appName}}","error_page.error_title_stripe_missing_required_permission":"Izin Stripe tidak ada","error_page.button_close":"Tutup","error_page.error_message_stripe_invalid_tax_origin_address":"Pembelian gagal karena alamat asal pajak tidak valid. Dalam produksi, pembelian akan berfungsi tanpa pajak yang diterapkan.","error_page.error_message_stripe_tax_not_active":"Pembelian gagal karena Stripe Tax tidak diaktifkan. Dalam produksi, pembelian akan berfungsi tanpa pajak yang diterapkan.","error_page.error_only_in_sandbox":"Pesan ini hanya muncul di sandbox.","error_page.error_message_stripe_missing_required_permission":"Pembelian gagal karena aplikasi Stripe tidak memiliki izin yang diperlukan. Dalam produksi, pembelian akan berfungsi tanpa pajak yang diterapkan.","error_page.error_title_stripe_tax_not_active":"Stripe Tax tidak aktif","error_page.error_title_stripe_invalid_tax_origin_address":"Alamat asal pajak tidak valid","apple_pay.free_trial":"Uji Coba Gratis","product_info.price_after_intro_price":"Setelah {{introPriceDuration}}, pada {{renewalDate}}","product_info.after_trial":"setelah uji coba","product_info.after":"setelah","product_info.intro_price_phase_after_trial":"Kemudian {{introPriceDuration}} dengan harga {{introPrice}}","product_info.intro_price_phase":"Pertama {{introPriceDuration}} dengan harga {{introPrice}}","product_info.intro_price_phase_paid_once":"dibayar sekali","payment_entry_page.trial_subscription_terms_info":"Setelah masa percobaan Anda berakhir, Anda akan dikenakan biaya sebesar {{price}} {{perFrequency}} mulai {{renewalDate}}. Anda dapat membatalkan kapan saja sebelum tanggal ini.","payment_entry_page.subscription_info":"Langganan diperpanjang secara otomatis. Batalkan kapan saja.","payment_entry_page.otp_terms_info":"Dengan membeli, Anda setuju untuk mengizinkan {{appName}} menagih Anda sesuai dengan ketentuan mereka.","payment_entry_page.terms_link_label":"Ketentuan","payment_entry_page.subscription_terms_info":"Dengan berlangganan, Anda setuju untuk mengizinkan {{appName}} mengenakan biaya sesuai dengan ketentuan mereka hingga Anda membatalkan.","loading_page.keep_page_open":"Prosesnya hampir selesai. Jangan tutup halaman ini.","loading_page.processing_payment":"Pembayaran sedang diproses","pricing_table.discount":"Diskon","pricing_table.subtotal":"Subtotal","pricing_dropdown.add_promo_code":"Tambahkan kode promo","discount_input.label":"Kode promo"},em={"periods.week":"{{amount}}週間","periods.month":"{{amount}}ヶ月","periods.year":"{{amount}}年","periods.day":"{{amount}}日","periods.weekShort":"{{amount}}週","periods.monthShort":"{{amount}}ヶ月","periods.yearShort":"{{amount}}年","periods.dayShort":"{{amount}}日","periods.lifetime":"生涯","periods.weekPlural":"{{amount}}週間","periods.monthPlural":"{{amount}}ヶ月","periods.yearPlural":"{{amount}}年","periods.dayPlural":"{{amount}}日","periods.weekFrequency":"毎週","periods.monthFrequency":"毎月","periods.yearFrequency":"毎年","periods.dayFrequency":"毎日","periods.perWeekFrequency":"週ごと","periods.perMonthFrequency":"月ごと","periods.perYearFrequency":"年ごと","periods.perDayFrequency":"日ごと","periods.unknownFrequency":"不明","periods.weekFrequencyPlural":"{{amount}}週間ごと","periods.monthFrequencyPlural":"{{amount}}ヶ月ごと","periods.yearFrequencyPlural":"{{amount}}年ごと","periods.dayFrequencyPlural":"{{amount}}日ごと","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}}日間無料トライアル","product_info.price_after_free_trial":"トライアル終了後、{{renewalDate}}に","product_info.renewal_frequency":"{{frequency}}で更新","product_info.continues_until_cancelled":"キャンセルされるまで継続されます","product_info.cancel_anytime":"いつでもキャンセルできます","payment_entry_page.payment_step_title":"RevenueCatによる安全なチェックアウト","payment_entry_page.button_pay":"今すぐ支払う","payment_entry_page.button_start_trial":"トライアルを開始","success_page.purchase_successful":"支払いが完了しました","success_page.button_close":"続行","error_page.if_error_persists":"エラーが続く場合は、ご連絡ください。","error_page.error_title_already_subscribed":"すでに{{productTitle}}を購読しています","error_page.error_title_already_purchased":"すでに{{productTitle}}を購入しています","error_page.error_title_other_errors":"エラーが発生しました","error_page.error_message_already_subscribed":"この商品を再度購読することはできません。","error_page.error_message_already_purchased":"この商品を再度購入することはできません。","error_page.error_message_missing_email_error":"購入を完了するにはメールアドレスが必要です。","error_page.error_message_network_error":"ネットワークエラーです。インターネット接続を確認してください。","error_page.error_message_error_charging_payment":"支払いに失敗しました。","error_page.error_message_error_setting_up_purchase":"エラーが発生したため、購入を開始できませんでした(エラーコード:{{errorCode}})。","error_page.error_message_invalid_tax_location":"請求先住所を確認できませんでした。郵便番号と国が正しいかご確認ください。","error_page.error_message_unknown_error":"不明なエラーが発生しました(エラーコード:{{errorCode}})。","error_page.button_try_again":"再試行","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"本日のお支払い合計","product_info.subscribe_to":"購読する","navbar_header.details":"詳細","navbar_header.back_button":"戻る","pricing_dropdown.show_details":"詳細を表示","pricing_dropdown.hide_details":"詳細を隠す","pricing_table.tax":"税金","pricing_table.trial_ends":"トライアル終了後、{{formattedTrialEndDate}}","pricing_table.total_due_today":"本日お支払いいただく合計金額","pricing_table.total_excluding_tax":"税抜き合計","pricing_table.enter_billing_address_to_calculate":"請求先住所を入力して計算","pricing_table.enter_state_or_postal_code_to_calculate":"計算するには州または郵便番号を入力してください","pricing_table.enter_postal_code_to_calculate":"計算するには郵便番号を入力してください","error_page.error_message_invalid_email_error":"メールアドレス{{email}}を確認できませんでした。有効なメールアドレスを入力してください。","payment_entry_page.button_payment_method":"{{paymentMethod}}で{{formattedPrice}}を支払う","payment_entry_page.button_with_price":"{{formattedPrice}}を支払う","price_update.title":"価格の更新","price_update.base_message":"合計金額が、お客様の請求先住所に基づいて税金とともに更新されました。再度ご確認ください。カードへの請求は1回のみです。","price_update.trial_message":"請求先住所に基づいて税金を含むサブスクリプション料金が更新されました。無料トライアルは引き続き適用されます。確認して再度お試しください。","payment_entry_page.express_checkout_divider":"カードで支払う","error_page.trouble_accessing":"購入へのアクセスに問題がある場合は、サポートにお問い合わせください: ","error_page.close_button_title":"{{appName}} に移動","error_page.error_title_stripe_missing_required_permission":"必要なStripeの権限がありません","error_page.button_close":"閉じる","error_page.error_message_stripe_invalid_tax_origin_address":"税の原産地住所が無効なため、購入に失敗しました。 本番環境では、税金が適用されなくても購入は可能です。","error_page.error_message_stripe_tax_not_active":"Stripe Taxが有効になっていないため、購入に失敗しました。 本番環境では、税金が適用されなくても購入は可能です。","error_page.error_only_in_sandbox":"このメッセージはサンドボックスでのみ表示されます。","error_page.error_message_stripe_missing_required_permission":"Stripeアプリに必要な権限がないため、購入に失敗しました。 本番環境では、税金が適用されなくても購入は可能です。","error_page.error_title_stripe_tax_not_active":"Stripe Taxが有効ではありません","error_page.error_title_stripe_invalid_tax_origin_address":"税の原産地住所が無効です","apple_pay.free_trial":"無料トライアル","product_info.price_after_intro_price":"{{introPriceDuration}}の後、{{renewalDate}}に","product_info.after_trial":"トライアル後","product_info.after":"後","product_info.intro_price_phase_after_trial":"その後、{{introPriceDuration}}間は{{introPrice}}","product_info.intro_price_phase":"最初の{{introPriceDuration}}間は{{introPrice}}","product_info.intro_price_phase_paid_once":"一回払い","payment_entry_page.trial_subscription_terms_info":"トライアル期間が終了すると、{{renewalDate}}から{{price}} {{perFrequency}}が課金されます。この日より前にいつでもキャンセルできます。","payment_entry_page.subscription_info":"サブスクリプションは自動的に更新されます。いつでもキャンセルできます。","payment_entry_page.otp_terms_info":"購入することにより、{{appName}}が利用規約に基づいて料金を請求することに同意したことになります。","payment_entry_page.terms_link_label":"利用規約","payment_entry_page.subscription_terms_info":"サブスクリプションに登録すると、キャンセルするまで{{appName}}が利用規約に従って課金することを許可することに同意したことになります。","loading_page.keep_page_open":"プロセスはほぼ完了です。このページを開いたままにしてください。","loading_page.processing_payment":"お支払い手続き中","pricing_table.discount":"割引","pricing_table.subtotal":"小計","pricing_dropdown.add_promo_code":"プロモーションコードを追加","discount_input.label":"プロモーションコード"},rm={"periods.week":"{{amount}}주","periods.month":"{{amount}}개월","periods.year":"{{amount}}년","periods.day":"{{amount}}일","periods.weekShort":"{{amount}}주","periods.monthShort":"{{amount}}개월","periods.yearShort":"{{amount}}년","periods.dayShort":"{{amount}}일","periods.lifetime":"평생","periods.weekPlural":"{{amount}}주","periods.monthPlural":"{{amount}}개월","periods.yearPlural":"{{amount}}년","periods.dayPlural":"{{amount}}일","periods.weekFrequency":"매주","periods.monthFrequency":"매달","periods.yearFrequency":"매년","periods.dayFrequency":"매일","periods.perWeekFrequency":"주당","periods.perMonthFrequency":"월별","periods.perYearFrequency":"연간","periods.perDayFrequency":"매일","periods.unknownFrequency":"알 수 없음","periods.weekFrequencyPlural":"{{amount}}주마다","periods.monthFrequencyPlural":"{{amount}}개월마다","periods.yearFrequencyPlural":"{{amount}}년마다","periods.dayFrequencyPlural":"{{amount}}일마다","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}}일 무료 체험","product_info.price_after_free_trial":"체험 종료 후, {{renewalDate}}에","product_info.renewal_frequency":"{{frequency}}마다 갱신","product_info.continues_until_cancelled":"취소될 때까지 계속됩니다.","product_info.cancel_anytime":"언제든지 취소 가능","payment_entry_page.payment_step_title":"RevenueCat을 통한 안전한 결제","payment_entry_page.button_pay":"지금 결제","payment_entry_page.button_start_trial":"체험 시작","success_page.purchase_successful":"결제가 완료되었습니다.","success_page.button_close":"계속","error_page.if_error_persists":"오류가 지속되면 다음으로 문의하십시오.","error_page.error_title_already_subscribed":"이미 {{productTitle}}을 구독하셨습니다","error_page.error_title_already_purchased":"이미 {{productTitle}}을 구매하셨습니다","error_page.error_title_other_errors":"문제가 발생했습니다.","error_page.error_message_already_subscribed":"이 제품을 다시 구독할 수 없습니다.","error_page.error_message_already_purchased":"이 제품을 다시 구매할 수 없습니다.","error_page.error_message_missing_email_error":"구매를 완료하려면 이메일이 필요합니다.","error_page.error_message_network_error":"네트워크 오류입니다. 인터넷 연결을 확인하십시오.","error_page.error_message_error_charging_payment":"결제에 실패했습니다.","error_page.error_message_error_setting_up_purchase":"오류로 인해 구매가 시작되지 않았습니다(오류 코드: {{errorCode}}).","error_page.error_message_invalid_tax_location":"청구 주소를 확인할 수 없습니다. 우편번호와 국가가 정확한지 다시 한번 확인해 주세요.","error_page.error_message_unknown_error":"알 수 없는 오류가 발생했습니다(오류 코드: {{errorCode}}).","error_page.button_try_again":"다시 시도","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"오늘 총 결제 금액","product_info.subscribe_to":"구독하기","navbar_header.details":"세부 정보","navbar_header.back_button":"뒤로","pricing_dropdown.show_details":"세부 정보 표시","pricing_dropdown.hide_details":"세부 정보 숨기기","pricing_table.tax":"세금","pricing_table.trial_ends":"체험판 종료 후, {{formattedTrialEndDate}}","pricing_table.total_due_today":"오늘 지불해야 할 총액","pricing_table.total_excluding_tax":"세금 제외 총액","pricing_table.enter_billing_address_to_calculate":"계산을 위해 청구지 주소를 입력하세요","pricing_table.enter_state_or_postal_code_to_calculate":"주 또는 우편 번호를 입력하여 계산","pricing_table.enter_postal_code_to_calculate":"우편 번호를 입력하여 계산","error_page.error_message_invalid_email_error":"이메일 주소 {{email}}을(를) 확인할 수 없습니다. 유효한 이메일 주소를 제공해 주세요.","payment_entry_page.button_payment_method":"{{paymentMethod}}으로 {{formattedPrice}} 결제","payment_entry_page.button_with_price":"{{formattedPrice}} 결제","price_update.title":"가격 업데이트","price_update.base_message":"청구지 주소를 기준으로 세금이 포함된 총 가격이 업데이트되었습니다. 다시 확인하고 시도해 주세요. 카드는 한 번만 청구됩니다.","price_update.trial_message":"청구 주소에 따라 세금이 포함된 구독 가격이 업데이트되었습니다. 무료 체험은 계속 적용됩니다. 확인하고 다시 시도해 주세요.","payment_entry_page.express_checkout_divider":"또는 카드 결제","error_page.trouble_accessing":"구매에 문제가 있는 경우 다음 주소로 지원팀에 문의하세요. ","error_page.close_button_title":"{{appName}}으로 이동","error_page.error_title_stripe_missing_required_permission":"필수 Stripe 권한 누락","error_page.button_close":"닫기","error_page.error_message_stripe_invalid_tax_origin_address":"세금 원산지 주소가 잘못되어 구매에 실패했습니다. 프로덕션 환경에서는 세금이 적용되지 않은 상태로 구매가 진행됩니다.","error_page.error_message_stripe_tax_not_active":"Stripe Tax가 활성화되지 않아 구매에 실패했습니다. 프로덕션 환경에서는 세금이 적용되지 않은 상태로 구매가 진행됩니다.","error_page.error_only_in_sandbox":"이 메시지는 샌드박스에서만 표시됩니다.","error_page.error_message_stripe_missing_required_permission":"Stripe 앱에 필요한 권한이 없어 구매에 실패했습니다. 프로덕션 환경에서는 세금이 적용되지 않은 상태로 구매가 진행됩니다.","error_page.error_title_stripe_tax_not_active":"Stripe Tax가 활성화되지 않음","error_page.error_title_stripe_invalid_tax_origin_address":"잘못된 세금 원산지 주소","apple_pay.free_trial":"무료 체험","product_info.price_after_intro_price":"{{introPriceDuration}} 후 {{renewalDate}}에","product_info.after_trial":"체험 후","product_info.after":"후","product_info.intro_price_phase_after_trial":"다음 {{introPriceDuration}} 동안 {{introPrice}}","product_info.intro_price_phase":"처음 {{introPriceDuration}} 동안 {{introPrice}}","product_info.intro_price_phase_paid_once":"1회 결제","payment_entry_page.trial_subscription_terms_info":"체험 기간이 종료되면 {{renewalDate}}부터 {{price}} {{perFrequency}}가 청구됩니다. 이 날짜 전에는 언제든지 취소할 수 있습니다.","payment_entry_page.subscription_info":"구독은 자동으로 갱신됩니다. 언제든지 취소할 수 있습니다.","payment_entry_page.otp_terms_info":"구매하시면 {{appName}}의 약관에 따라 요금이 청구되는 것에 동의하는 것입니다.","payment_entry_page.terms_link_label":"약관","payment_entry_page.subscription_terms_info":"구독하면 취소할 때까지 {{appName}}이 약관에 따라 요금을 청구하는 데 동의하는 것입니다.","loading_page.keep_page_open":"거의 완료되었습니다. 이 페이지를 계속 열어 두세요.","loading_page.processing_payment":"결제 처리 중","pricing_table.discount":"할인","pricing_table.subtotal":"소계","pricing_dropdown.add_promo_code":"프로모션 코드 추가","discount_input.label":"프로모션 코드"},tm={"periods.week":"{{amount}} minggu","periods.month":"{{amount}} bulan","periods.year":"{{amount}} tahun","periods.day":"{{amount}} hari","periods.weekShort":"{{amount}}mg","periods.monthShort":"{{amount}}bl","periods.yearShort":"{{amount}}th","periods.dayShort":"{{amount}}h","periods.lifetime":"seumur hidup","periods.weekPlural":"{{amount}} minggu","periods.monthPlural":"{{amount}} bulan","periods.yearPlural":"{{amount}} tahun","periods.dayPlural":"{{amount}} hari","periods.weekFrequency":"mingguan","periods.monthFrequency":"bulanan","periods.yearFrequency":"tahunan","periods.dayFrequency":"harian","periods.perWeekFrequency":"setiap minggu","periods.perMonthFrequency":"setiap bulan","periods.perYearFrequency":"setiap tahun","periods.perDayFrequency":"setiap hari","periods.unknownFrequency":"tidak diketahui","periods.weekFrequencyPlural":"setiap {{amount}} minggu","periods.monthFrequencyPlural":"setiap {{amount}} bulan","periods.yearFrequencyPlural":"setiap {{amount}} tahun","periods.dayFrequencyPlural":"setiap {{amount}} hari","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} percubaan percuma","product_info.price_after_free_trial":"Selepas tamat percubaan, pada {{renewalDate}}","product_info.renewal_frequency":"Diperbaharui {{frequency}}","product_info.continues_until_cancelled":"Berterusan sehingga dibatalkan","product_info.cancel_anytime":"Batal bila-bila masa","payment_entry_page.payment_step_title":"Pembayaran selamat oleh RevenueCat","payment_entry_page.button_pay":"Bayar sekarang","payment_entry_page.button_start_trial":"Mula Percubaan","success_page.purchase_successful":"Pembayaran selesai","success_page.button_close":"Teruskan","error_page.if_error_persists":"Jika ralat berterusan, sila hubungi ","error_page.error_title_already_subscribed":"Anda sudah melanggan {{productTitle}}","error_page.error_title_already_purchased":"Anda sudah membeli {{productTitle}}","error_page.error_title_other_errors":"Ada sesuatu yang tidak kena","error_page.error_message_already_subscribed":"Anda tidak boleh melanggan produk ini lagi.","error_page.error_message_already_purchased":"Anda tidak boleh membeli produk ini lagi.","error_page.error_message_missing_email_error":"Emel diperlukan untuk menyelesaikan pembelian.","error_page.error_message_network_error":"Ralat rangkaian. Sila semak sambungan internet anda.","error_page.error_message_error_charging_payment":"Pembayaran gagal.","error_page.error_message_error_setting_up_purchase":"Pembelian tidak dimulakan disebabkan ralat (kod ralat: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Kami tidak dapat mengesahkan alamat bil anda. Sila semak sama ada poskod dan negara adalah betul.","error_page.error_message_unknown_error":"Ralat yang tidak diketahui telah berlaku (kod ralat: {{errorCode}}).","error_page.button_try_again":"Cuba lagi","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Jumlah yang perlu dibayar hari ini","product_info.subscribe_to":"Langgan","navbar_header.details":"Butiran","navbar_header.back_button":"Kembali","pricing_dropdown.show_details":"Tunjukkan butiran","pricing_dropdown.hide_details":"Sembunyikan butiran","pricing_table.tax":"Cukai","pricing_table.trial_ends":"Selepas tempoh percubaan tamat, pada {{formattedTrialEndDate}}","pricing_table.total_due_today":"Jumlah yang perlu dibayar hari ini","pricing_table.total_excluding_tax":"Jumlah tidak termasuk cukai","pricing_table.enter_billing_address_to_calculate":"Masukkan alamat pengebilan untuk mengira","pricing_table.enter_state_or_postal_code_to_calculate":"Masukkan negeri atau poskod untuk mengira","pricing_table.enter_postal_code_to_calculate":"Masukkan poskod untuk mengira","error_page.error_message_invalid_email_error":"Alamat e-mel {{email}} tidak dapat disahkan. Sila berikan alamat e-mel yang sah.","payment_entry_page.button_payment_method":"Bayar {{formattedPrice}} dengan {{paymentMethod}}","payment_entry_page.button_with_price":"Bayar {{formattedPrice}}","price_update.title":"Kemaskini harga","price_update.base_message":"Jumlah harga telah dikemas kini dengan cukai berdasarkan alamat pengebilan anda. Sila semak dan cuba lagi. Kad anda hanya akan dicaj sekali.","price_update.trial_message":"Harga langganan telah dikemas kini untuk memasukkan cukai berdasarkan alamat bil anda. Tempoh percubaan percuma masih terpakai. Sila semak dan cuba lagi.","payment_entry_page.express_checkout_divider":"ATAU BAYAR DENGAN KAD","error_page.trouble_accessing":"Jika anda menghadapi masalah untuk mengakses pembelian anda, hubungi sokongan di ","error_page.close_button_title":"Pergi ke {{appName}}","error_page.error_title_stripe_missing_required_permission":"Kebenaran Stripe hilang","error_page.button_close":"Tutup","error_page.error_message_stripe_invalid_tax_origin_address":"Pembelian gagal kerana alamat asal cukai tidak sah. Dalam pengeluaran, pembelian akan berfungsi tanpa cukai dikenakan.","error_page.error_message_stripe_tax_not_active":"Pembelian gagal kerana Cukai Stripe tidak didayakan. Dalam pengeluaran, pembelian akan berfungsi tanpa cukai dikenakan.","error_page.error_only_in_sandbox":"Mesej ini hanya muncul dalam kotak pasir.","error_page.error_message_stripe_missing_required_permission":"Pembelian gagal kerana aplikasi Stripe kekurangan kebenaran yang diperlukan. Dalam pengeluaran, pembelian akan berfungsi tanpa cukai dikenakan.","error_page.error_title_stripe_tax_not_active":"Cukai Stripe tidak aktif","error_page.error_title_stripe_invalid_tax_origin_address":"Alamat asal cukai Stripe tidak sah","apple_pay.free_trial":"Percubaan Percuma","product_info.price_after_intro_price":"Selepas {{introPriceDuration}}, pada {{renewalDate}}","product_info.after_trial":"selepas percubaan","product_info.after":"selepas","product_info.intro_price_phase_after_trial":"Kemudian {{introPriceDuration}} untuk {{introPrice}}","product_info.intro_price_phase":"Pertama {{introPriceDuration}} untuk {{introPrice}}","product_info.intro_price_phase_paid_once":"dibayar sekali","payment_entry_page.trial_subscription_terms_info":"Selepas tempoh percubaan anda tamat, anda akan dikenakan bayaran sebanyak {{price}} {{perFrequency}} bermula {{renewalDate}}. Anda boleh membatalkan pada bila-bila masa sebelum tarikh ini.","payment_entry_page.subscription_info":"Langganan diperbaharui secara automatik. Batalkan bila-bila masa.","payment_entry_page.otp_terms_info":"Dengan membuat pembelian, anda bersetuju untuk membenarkan {{appName}} mengenakan bayaran kepada anda mengikut terma mereka.","payment_entry_page.terms_link_label":"Terma","payment_entry_page.subscription_terms_info":"Dengan melanggan, anda bersetuju untuk membenarkan {{appName}} mengenakan bayaran kepada anda mengikut terma mereka sehingga anda membatalkan.","loading_page.keep_page_open":"Proses hampir selesai. Pastikan halaman ini dibuka.","loading_page.processing_payment":"Memproses pembayaran","pricing_table.discount":"Diskaun","pricing_table.subtotal":"Subtotal","pricing_dropdown.add_promo_code":"Tambah kod promo","discount_input.label":"Kod promo"},nm={"periods.week":"{{amount}} uke","periods.month":"{{amount}} måned","periods.year":"{{amount}} år","periods.day":"{{amount}} dag","periods.weekShort":"{{amount}}uk","periods.monthShort":"{{amount}}md","periods.yearShort":"{{amount}}år","periods.dayShort":"{{amount}}d","periods.lifetime":"livstid","periods.weekPlural":"{{amount}} uker","periods.monthPlural":"{{amount}} måneder","periods.yearPlural":"{{amount}} år","periods.dayPlural":"{{amount}} dager","periods.weekFrequency":"ukentlig","periods.monthFrequency":"månedlig","periods.yearFrequency":"årlig","periods.dayFrequency":"daglig","periods.perWeekFrequency":"per uke","periods.perMonthFrequency":"per måned","periods.perYearFrequency":"per år","periods.perDayFrequency":"per dag","periods.unknownFrequency":"ukjent","periods.weekFrequencyPlural":"hver {{amount}} uker","periods.monthFrequencyPlural":"hver {{amount}} måneder","periods.yearFrequencyPlural":"hver {{amount}} år","periods.dayFrequencyPlural":"hver {{amount}} dager","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} gratis prøveperiode","product_info.price_after_free_trial":"Etter prøveperioden slutter, den {{renewalDate}}","product_info.renewal_frequency":"Fornyes {{frequency}}","product_info.continues_until_cancelled":"Varer til den avbestilles","product_info.cancel_anytime":"Avbestille når som helst","payment_entry_page.payment_step_title":"Sikker betaling via RevenueCat","payment_entry_page.button_pay":"Betal nå","payment_entry_page.button_start_trial":"Start prøveperiode","success_page.purchase_successful":"Betalingen er fullført","success_page.button_close":"Fortsett","error_page.if_error_persists":"Hvis feilen vedvarer, vennligst kontakt ","error_page.error_title_already_subscribed":"Du abonnerer allerede på {{productTitle}}","error_page.error_title_already_purchased":"Du har allerede kjøpt {{productTitle}}","error_page.error_title_other_errors":"Noe gikk galt","error_page.error_message_already_subscribed":"Du kan ikke abonnere på dette produktet igjen.","error_page.error_message_already_purchased":"Du kan ikke kjøpe dette produktet igjen.","error_page.error_message_missing_email_error":"E-post er nødvendig for å fullføre kjøpet.","error_page.error_message_network_error":"Nettverksfeil. Vennligst sjekk internettforbindelsen din.","error_page.error_message_error_charging_payment":"Betalingen mislyktes.","error_page.error_message_error_setting_up_purchase":"Kjøpet ble ikke startet på grunn av en feil (feilkode: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Vi kunne ikke bekrefte faktureringsadressen din. Vennligst sjekk at postnummeret og landet er korrekte.","error_page.error_message_unknown_error":"En ukjent feil oppstod (feilkode: {{errorCode}}).","error_page.button_try_again":"Prøv igjen","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}} ({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Totalt forfaller i dag","product_info.subscribe_to":"Abonner på","navbar_header.details":"Detaljer","navbar_header.back_button":"Tilbake","pricing_dropdown.show_details":"Vis detaljer","pricing_dropdown.hide_details":"Skjul detaljer","pricing_table.tax":"Skatt","pricing_table.trial_ends":"Etter prøveperioden slutter, den {{formattedTrialEndDate}}","pricing_table.total_due_today":"Totalt forfaller i dag","pricing_table.total_excluding_tax":"Total eksklusive skatt","pricing_table.enter_billing_address_to_calculate":"Oppgi faktureringsadresse for å beregne","pricing_table.enter_state_or_postal_code_to_calculate":"Skriv inn stat eller postnummer for å beregne","pricing_table.enter_postal_code_to_calculate":"Skriv inn postnummer for å beregne","error_page.error_message_invalid_email_error":"E-postadressen {{email}} kunne ikke bekreftes. Vennligst oppgi en gyldig e-postadresse.","payment_entry_page.button_payment_method":"Betal {{formattedPrice}} med {{paymentMethod}}","payment_entry_page.button_with_price":"Betal {{formattedPrice}}","price_update.title":"Prisoppdatering","price_update.base_message":"Totalprisen er oppdatert med skatt basert på fakturaadressen din. Vennligst se gjennom og prøv igjen. Kortet ditt vil kun bli belastet én gang.","price_update.trial_message":"Abonnementsprisen er oppdatert for å inkludere skatter basert på din fakturaadresse. Den gratis prøveperioden gjelder fortsatt. Vennligst sjekk og prøv igjen.","payment_entry_page.express_checkout_divider":"ELLER BETAL MED KORT","error_page.trouble_accessing":"Hvis du har problemer med å få tilgang til kjøpet ditt, kan du kontakte support på ","error_page.close_button_title":"Gå til {{appName}}","error_page.error_title_stripe_missing_required_permission":"Mangler Stripe-tillatelse","error_page.button_close":"Lukk","error_page.error_message_stripe_invalid_tax_origin_address":"Kjøpet mislyktes fordi skatteopprinnelsesadressen er ugyldig. I produksjon vil kjøp fungere uten at skatter brukes.","error_page.error_message_stripe_tax_not_active":"Kjøpet mislyktes fordi Stripe Tax ikke er aktivert. I produksjon vil kjøp fungere uten at skatter brukes.","error_page.error_only_in_sandbox":"Denne meldingen vises bare i sandkassen.","error_page.error_message_stripe_missing_required_permission":"Kjøpet mislyktes fordi Stripe-appen mangler en nødvendig tillatelse. I produksjon vil kjøp fungere uten at skatter brukes.","error_page.error_title_stripe_tax_not_active":"Stripe Tax er ikke aktivt","error_page.error_title_stripe_invalid_tax_origin_address":"Ugyldig skatteopprinnelsesadresse","apple_pay.free_trial":"Gratis prøveperiode","product_info.price_after_intro_price":"Etter {{introPriceDuration}}, den {{renewalDate}}","product_info.after_trial":"etter prøveperiode","product_info.after":"etter","product_info.intro_price_phase_after_trial":"Deretter {{introPriceDuration}} for {{introPrice}}","product_info.intro_price_phase":"Først {{introPriceDuration}} for {{introPrice}}","product_info.intro_price_phase_paid_once":"betales én gang","payment_entry_page.trial_subscription_terms_info":"Etter at prøveperioden din er over, blir du belastet {{price}} {{perFrequency}} fra og med {{renewalDate}}. Du kan kansellere når som helst før denne datoen.","payment_entry_page.subscription_info":"Abonnementet fornyes automatisk. Avbryt når som helst.","payment_entry_page.otp_terms_info":"Ved å kjøpe godtar du at {{appName}} belaster deg i henhold til deres vilkår.","payment_entry_page.terms_link_label":"Vilkår","payment_entry_page.subscription_terms_info":"Ved å abonnere godtar du at {{appName}} belaster deg i henhold til deres vilkår til du kansellerer.","loading_page.keep_page_open":"Prosessen er nesten ferdig. Hold denne siden åpen.","loading_page.processing_payment":"Behandler betaling","pricing_table.discount":"Rabatt","pricing_table.subtotal":"Subtotal","pricing_dropdown.add_promo_code":"Legg til kampanjekode","discount_input.label":"Kampanjekode"},am={"periods.week":"{{amount}} tydzień","periods.month":"{{amount}} miesiąc","periods.year":"{{amount}} rok","periods.day":"{{amount}} dzień","periods.weekShort":"{{amount}}tydz","periods.monthShort":"{{amount}}mies","periods.yearShort":"{{amount}}rok","periods.dayShort":"{{amount}}d","periods.lifetime":"dożywotnio","periods.weekPlural":"{{amount}} tygodni","periods.monthPlural":"{{amount}} miesięcy","periods.yearPlural":"{{amount}} lat","periods.dayPlural":"{{amount}} dni","periods.weekFrequency":"tygodniowo","periods.monthFrequency":"miesięcznie","periods.yearFrequency":"rocznie","periods.dayFrequency":"dziennie","periods.perWeekFrequency":"na tydzień","periods.perMonthFrequency":"na miesiąc","periods.perYearFrequency":"na rok","periods.perDayFrequency":"na dzień","periods.unknownFrequency":"nieznany","periods.weekFrequencyPlural":"co {{amount}} tygodni","periods.monthFrequencyPlural":"co {{amount}} miesięcy","periods.yearFrequencyPlural":"co {{amount}} lat","periods.dayFrequencyPlural":"co {{amount}} dni","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} dni próbnych","product_info.price_after_free_trial":"Po zakończeniu okresu próbnego, dnia {{renewalDate}}","product_info.renewal_frequency":"Odnawialny co {{frequency}}","product_info.continues_until_cancelled":"Kontynuowane do momentu anulowania","product_info.cancel_anytime":"Możesz anulować w dowolnym momencie","payment_entry_page.payment_step_title":"Bezpieczna płatność przez RevenueCat","payment_entry_page.button_pay":"Zapłać teraz","payment_entry_page.button_start_trial":"Rozpocznij okres próbny","success_page.purchase_successful":"Płatność zakończona","success_page.button_close":"Kontynuuj","error_page.if_error_persists":"Jeśli błąd będzie się powtarzał, skontaktuj się z ","error_page.error_title_already_subscribed":"Już subskrybujesz {{productTitle}}","error_page.error_title_already_purchased":"Już zakupiłeś/aś {{productTitle}}","error_page.error_title_other_errors":"Coś poszło nie tak","error_page.error_message_already_subscribed":"Nie możesz ponownie subskrybować tego produktu.","error_page.error_message_already_purchased":"Nie możesz ponownie zakupić tego produktu.","error_page.error_message_missing_email_error":"Adres e-mail jest wymagany do dokonania zakupu.","error_page.error_message_network_error":"Błąd sieci. Sprawdź połączenie internetowe.","error_page.error_message_error_charging_payment":"Płatność nieudana.","error_page.error_message_error_setting_up_purchase":"Zakup nie został rozpoczęty z powodu błędu (kod błędu: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Nie mogliśmy zweryfikować Twojego adresu rozliczeniowego. Sprawdź, czy kod pocztowy i kraj są poprawne.","error_page.error_message_unknown_error":"Wystąpił nieznany błąd (kod błędu: {{errorCode}}).","error_page.button_try_again":"Spróbuj ponownie","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Do zapłaty dzisiaj","product_info.subscribe_to":"Subskrybuj","navbar_header.details":"Szczegóły","navbar_header.back_button":"Wstecz","pricing_dropdown.show_details":"Pokaż szczegóły","pricing_dropdown.hide_details":"Ukryj szczegóły","pricing_table.tax":"Podatek","pricing_table.trial_ends":"Po zakończeniu okresu próbnego, {{formattedTrialEndDate}}","pricing_table.total_due_today":"Suma należna dzisiaj","pricing_table.total_excluding_tax":"Suma bez podatku","pricing_table.enter_billing_address_to_calculate":"Wprowadź adres rozliczeniowy, aby obliczyć","pricing_table.enter_state_or_postal_code_to_calculate":"Wprowadź stan lub kod pocztowy, aby obliczyć","pricing_table.enter_postal_code_to_calculate":"Wprowadź kod pocztowy, aby obliczyć","error_page.error_message_invalid_email_error":"Nie można zweryfikować adresu e-mail {{email}}. Proszę podać prawidłowy adres e-mail.","payment_entry_page.button_payment_method":"Zapłać {{formattedPrice}} przez {{paymentMethod}}","payment_entry_page.button_with_price":"Zapłać {{formattedPrice}}","price_update.title":"Aktualizacja ceny","price_update.base_message":"Cena całkowita została zaktualizowana o podatek na podstawie Twojego adresu rozliczeniowego. Sprawdź i spróbuj ponownie. Twoja karta zostanie obciążona tylko raz.","price_update.trial_message":"Cena subskrypcji została zaktualizowana o podatki na podstawie Twojego adresu rozliczeniowego. Okres próbny nadal obowiązuje. Sprawdź i spróbuj ponownie.","payment_entry_page.express_checkout_divider":"LUB ZAPŁAĆ KARTĄ","error_page.trouble_accessing":"Jeśli masz problemy z dostępem do zakupu, skontaktuj się z działem pomocy pod adresem ","error_page.close_button_title":"Przejdź do {{appName}}","error_page.error_title_stripe_missing_required_permission":"Brakujące uprawnienie Stripe","error_page.button_close":"Zamknij","error_page.error_message_stripe_invalid_tax_origin_address":"Zakup nie powiódł się, ponieważ adres pochodzenia podatku jest nieprawidłowy. W środowisku produkcyjnym zakupy będą działać bez naliczania podatków.","error_page.error_message_stripe_tax_not_active":"Zakup nie powiódł się, ponieważ Stripe Tax nie jest włączony. W środowisku produkcyjnym zakupy będą działać bez naliczania podatków.","error_page.error_only_in_sandbox":"Ta wiadomość pojawia się tylko w środowisku testowym.","error_page.error_message_stripe_missing_required_permission":"Zakup nie powiódł się, ponieważ aplikacja Stripe nie ma wymaganego uprawnienia. W środowisku produkcyjnym zakupy będą działać bez naliczania podatków.","error_page.error_title_stripe_tax_not_active":"Stripe Tax nieaktywny","error_page.error_title_stripe_invalid_tax_origin_address":"Nieprawidłowy adres pochodzenia podatku","apple_pay.free_trial":"Okres próbny","product_info.price_after_intro_price":"Po {{introPriceDuration}}, od {{renewalDate}}","product_info.after_trial":"po okresie próbnym","product_info.after":"po","product_info.intro_price_phase_after_trial":"Następnie {{introPriceDuration}} za {{introPrice}}","product_info.intro_price_phase":"Najpierw {{introPriceDuration}} za {{introPrice}}","product_info.intro_price_phase_paid_once":"płatne jednorazowo","payment_entry_page.trial_subscription_terms_info":"Po zakończeniu okresu próbnego zostanie pobrana opłata w wysokości {{price}} {{perFrequency}} począwszy od {{renewalDate}}. Możesz anulować subskrypcję w dowolnym momencie przed tą datą.","payment_entry_page.subscription_info":"Subskrypcja odnawia się automatycznie. Anuluj w dowolnym momencie.","payment_entry_page.otp_terms_info":"Dokonując zakupu, zgadzasz się na obciążenie przez {{appName}} zgodnie z ich warunkami.","payment_entry_page.terms_link_label":"Warunki","payment_entry_page.subscription_terms_info":"Subskrybując, zgadzasz się na obciążanie przez {{appName}} zgodnie z ich warunkami do momentu anulowania.","loading_page.keep_page_open":"Proces jest prawie zakończony. Pozostaw tę stronę otwartą.","loading_page.processing_payment":"Przetwarzanie płatności","pricing_table.discount":"Rabat","pricing_table.subtotal":"Suma częściowa","pricing_dropdown.add_promo_code":"Dodaj kod promocyjny","discount_input.label":"Kod promocyjny"},om={"periods.week":"{{amount}} semana","periods.month":"{{amount}} mês","periods.year":"{{amount}} ano","periods.day":"{{amount}} dia","periods.weekShort":"{{amount}}sem","periods.monthShort":"{{amount}}mês","periods.yearShort":"{{amount}}ano","periods.dayShort":"{{amount}}d","periods.lifetime":"vitalício","periods.weekPlural":"{{amount}} semanas","periods.monthPlural":"{{amount}} meses","periods.yearPlural":"{{amount}} anos","periods.dayPlural":"{{amount}} dias","periods.weekFrequency":"semanal","periods.monthFrequency":"mensal","periods.yearFrequency":"anual","periods.dayFrequency":"diário","periods.perWeekFrequency":"por semana","periods.perMonthFrequency":"por mês","periods.perYearFrequency":"por ano","periods.perDayFrequency":"por dia","periods.unknownFrequency":"desconhecido","periods.weekFrequencyPlural":"a cada {{amount}} semanas","periods.monthFrequencyPlural":"a cada {{amount}} meses","periods.yearFrequencyPlural":"a cada {{amount}} anos","periods.dayFrequencyPlural":"a cada {{amount}} dias","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} teste grátis","product_info.price_after_free_trial":"Após o término do teste, em {{renewalDate}}","product_info.renewal_frequency":"Renova {{frequency}}","product_info.continues_until_cancelled":"Continua até ser cancelado","product_info.cancel_anytime":"Cancelar a qualquer momento","payment_entry_page.payment_step_title":"Pagamento seguro pela RevenueCat","payment_entry_page.button_pay":"Pagar agora","payment_entry_page.button_start_trial":"Iniciar Teste","success_page.purchase_successful":"Pagamento concluído","success_page.button_close":"Continuar","error_page.if_error_persists":"Se o erro persistir, entre em contato com ","error_page.error_title_already_subscribed":"Você já se inscreveu em {{productTitle}}","error_page.error_title_already_purchased":"Você já comprou {{productTitle}}","error_page.error_title_other_errors":"Algo deu errado","error_page.error_message_already_subscribed":"Você não pode se inscrever neste produto novamente.","error_page.error_message_already_purchased":"Você não pode comprar este produto novamente.","error_page.error_message_missing_email_error":"Email é necessário para concluir a compra.","error_page.error_message_network_error":"Erro de rede. Verifique sua conexão com a internet.","error_page.error_message_error_charging_payment":"Pagamento falhou.","error_page.error_message_error_setting_up_purchase":"Compra não iniciada devido a um erro (código de erro: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Não conseguimos verificar seu endereço de cobrança. Por favor, verifique se o código postal e o país estão corretos.","error_page.error_message_unknown_error":"Ocorreu um erro desconhecido (código de erro: {{errorCode}}).","error_page.button_try_again":"Tentar novamente","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Total a pagar hoje","product_info.subscribe_to":"Subscrever","navbar_header.details":"Detalhes","navbar_header.back_button":"Voltar","pricing_dropdown.show_details":"Mostrar detalhes","pricing_dropdown.hide_details":"Ocultar detalhes","pricing_table.tax":"Imposto","pricing_table.trial_ends":"Após o término do período de avaliação, em {{formattedTrialEndDate}}","pricing_table.total_due_today":"Total a pagar hoje","pricing_table.total_excluding_tax":"Total sem impostos","pricing_table.enter_billing_address_to_calculate":"Insira o endereço de cobrança para calcular","pricing_table.enter_state_or_postal_code_to_calculate":"Insira o estado ou o CEP para calcular","pricing_table.enter_postal_code_to_calculate":"Insira o CEP para calcular","error_page.error_message_invalid_email_error":"O endereço de e-mail {{email}} não pôde ser verificado. Por favor, forneça um endereço de e-mail válido.","payment_entry_page.button_payment_method":"Pagar {{formattedPrice}} com {{paymentMethod}}","payment_entry_page.button_with_price":"Pagar {{formattedPrice}}","price_update.title":"Atualização de preço","price_update.base_message":"O preço total foi atualizado com impostos com base no seu endereço de cobrança. Por favor, revise e tente novamente. Seu cartão só será cobrado uma vez.","price_update.trial_message":"O preço da assinatura foi atualizado para incluir impostos com base no seu endereço de faturação. O período de teste gratuito continua válido. Por favor, verifique e tente novamente.","payment_entry_page.express_checkout_divider":"OU PAGUE COM CARTÃO","error_page.trouble_accessing":"Se estiver com problemas para acessar sua compra, entre em contato com o suporte em ","error_page.close_button_title":"Ir para {{appName}}","error_page.error_title_stripe_missing_required_permission":"Permissão do Stripe em falta","error_page.button_close":"Fechar","error_page.error_message_stripe_invalid_tax_origin_address":"A compra falhou porque o endereço de origem fiscal é inválido. Em produção, as compras funcionarão sem impostos aplicados.","error_page.error_message_stripe_tax_not_active":"A compra falhou porque o Stripe Tax não está ativado. Em produção, as compras funcionarão sem impostos aplicados.","error_page.error_only_in_sandbox":"Esta mensagem aparece apenas na sandbox.","error_page.error_message_stripe_missing_required_permission":"A compra falhou porque o aplicativo Stripe não tem uma permissão necessária. Em produção, as compras funcionarão sem impostos aplicados.","error_page.error_title_stripe_tax_not_active":"Stripe Tax não está ativo","error_page.error_title_stripe_invalid_tax_origin_address":"Endereço de origem fiscal inválido","apple_pay.free_trial":"Teste Gratuito","product_info.price_after_intro_price":"Após {{introPriceDuration}}, em {{renewalDate}}","product_info.after_trial":"após o período de teste","product_info.after":"após","product_info.intro_price_phase_after_trial":"Depois, {{introPriceDuration}} por {{introPrice}}","product_info.intro_price_phase":"Primeiro, {{introPriceDuration}} por {{introPrice}}","product_info.intro_price_phase_paid_once":"pago uma vez","payment_entry_page.trial_subscription_terms_info":"Após o término do período de avaliação, será cobrado o valor de {{price}} {{perFrequency}} a partir de {{renewalDate}}. Pode cancelar a qualquer momento antes desta data.","payment_entry_page.subscription_info":"A subscrição é renovada automaticamente. Cancele a qualquer momento.","payment_entry_page.otp_terms_info":"Ao comprar, você concorda em permitir que o {{appName}} cobre de acordo com os termos deles.","payment_entry_page.terms_link_label":"Termos","payment_entry_page.subscription_terms_info":"Ao subscrever, concorda em permitir que a {{appName}} lhe cobre de acordo com os seus termos até cancelar.","loading_page.keep_page_open":"O processo está quase concluído. Mantenha esta página aberta.","loading_page.processing_payment":"Processando o pagamento","pricing_table.discount":"Desconto","pricing_table.subtotal":"Subtotal","pricing_dropdown.add_promo_code":"Adicionar código promocional","discount_input.label":"Código promocional"},im={"periods.week":"{{amount}} săptămână","periods.month":"{{amount}} lună","periods.year":"{{amount}} an","periods.day":"{{amount}} zi","periods.weekShort":"{{amount}}săpt","periods.monthShort":"{{amount}}lun","periods.yearShort":"{{amount}}an","periods.dayShort":"{{amount}}z","periods.lifetime":"pe viață","periods.weekPlural":"{{amount}} săptămâni","periods.monthPlural":"{{amount}} luni","periods.yearPlural":"{{amount}} ani","periods.dayPlural":"{{amount}} zile","periods.weekFrequency":"săptămânal","periods.monthFrequency":"lunar","periods.yearFrequency":"anual","periods.dayFrequency":"zilnic","periods.perWeekFrequency":"pe săptămână","periods.perMonthFrequency":"pe lună","periods.perYearFrequency":"pe an","periods.perDayFrequency":"pe zi","periods.unknownFrequency":"necunoscut","periods.weekFrequencyPlural":"la fiecare {{amount}} săptămâni","periods.monthFrequencyPlural":"la fiecare {{amount}} luni","periods.yearFrequencyPlural":"la fiecare {{amount}} ani","periods.dayFrequencyPlural":"la fiecare {{amount}} zile","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} perioadă de probă gratuită","product_info.price_after_free_trial":"După terminarea perioadei de probă, pe {{renewalDate}}","product_info.renewal_frequency":"Se reînnoiește {{frequency}}","product_info.continues_until_cancelled":"Continuă până la anulare","product_info.cancel_anytime":"Anulare oricând","payment_entry_page.payment_step_title":"Plata securizată prin RevenueCat","payment_entry_page.button_pay":"Plătește acum","payment_entry_page.button_start_trial":"Începe perioada de probă","success_page.purchase_successful":"Plata efectuată","success_page.button_close":"Continuă","error_page.if_error_persists":"Dacă eroarea persistă, vă rugăm să contactați ","error_page.error_title_already_subscribed":"Sunteți deja abonat la {{productTitle}}","error_page.error_title_already_purchased":"Ați achiziționat deja {{productTitle}}","error_page.error_title_other_errors":"A apărut o eroare","error_page.error_message_already_subscribed":"Nu vă puteți abona din nou la acest produs.","error_page.error_message_already_purchased":"Nu puteți achiziționa din nou acest produs.","error_page.error_message_missing_email_error":"Adresa de e-mail este necesară pentru a finaliza achiziția.","error_page.error_message_network_error":"Eroare de rețea. Verificați conexiunea la internet.","error_page.error_message_error_charging_payment":"Plata a eșuat.","error_page.error_message_error_setting_up_purchase":"Achiziția nu a putut fi inițiată din cauza unei erori (cod de eroare: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Nu am putut verifica adresa de facturare. Vă rugăm să verificați dacă codul poștal și țara sunt corecte.","error_page.error_message_unknown_error":"A apărut o eroare necunoscută (cod de eroare: {{errorCode}}).","error_page.button_try_again":"Încearcă din nou","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Total de plată astăzi","product_info.subscribe_to":"Abonare la","navbar_header.details":"Detalii","navbar_header.back_button":"Înapoi","pricing_dropdown.show_details":"Arată detalii","pricing_dropdown.hide_details":"Ascunde detalii","pricing_table.tax":"Taxă","pricing_table.trial_ends":"După ce perioada de probă se termină, pe {{formattedTrialEndDate}}","pricing_table.total_due_today":"Total de plătit astăzi","pricing_table.total_excluding_tax":"Total fără taxe","pricing_table.enter_billing_address_to_calculate":"Introduceți adresa de facturare pentru a calcula","pricing_table.enter_state_or_postal_code_to_calculate":"Introduceți statul sau codul poștal pentru a calcula","pricing_table.enter_postal_code_to_calculate":"Introduceți codul poștal pentru a calcula","error_page.error_message_invalid_email_error":"Adresa de e-mail {{email}} nu a putut fi verificată. Vă rugăm să furnizați o adresă de e-mail validă.","payment_entry_page.button_payment_method":"Plătește {{formattedPrice}} cu {{paymentMethod}}","payment_entry_page.button_with_price":"Plătește {{formattedPrice}}","price_update.title":"Actualizare preț","price_update.base_message":"Prețul total a fost actualizat cu taxe, în funcție de adresa dumneavoastră de facturare. Vă rugăm să revizuiți și să încercați din nou. Cardul dumneavoastră va fi debitat o singură dată.","price_update.trial_message":"Prețul abonamentului a fost actualizat pentru a include taxele bazate pe adresa dvs. de facturare. Perioada de probă gratuită rămâne valabilă. Vă rugăm să verificați și să încercați din nou.","payment_entry_page.express_checkout_divider":"SAU PLĂTEȘTE CU CARDUL","error_page.trouble_accessing":"Dacă întâmpini probleme în accesarea achiziției tale, contactează serviciul de asistență la ","error_page.close_button_title":"Mergi la {{appName}}","error_page.error_title_stripe_missing_required_permission":"Permisiune Stripe lipsă","error_page.button_close":"Închide","error_page.error_message_stripe_invalid_tax_origin_address":"Achiziția a eșuat deoarece adresa de origine fiscală este nevalidă. În producție, achizițiile vor funcționa fără taxe aplicate.","error_page.error_message_stripe_tax_not_active":"Achiziția a eșuat deoarece Stripe Tax nu este activat. În producție, achizițiile vor funcționa fără taxe aplicate.","error_page.error_only_in_sandbox":"Acest mesaj apare doar în sandbox.","error_page.error_message_stripe_missing_required_permission":"Achiziția a eșuat deoarece aplicației Stripe îi lipsește o permisiune necesară. În producție, achizițiile vor funcționa fără taxe aplicate.","error_page.error_title_stripe_tax_not_active":"Stripe Tax nu este activ","error_page.error_title_stripe_invalid_tax_origin_address":"Adresă de origine fiscală Stripe nevalidă","apple_pay.free_trial":"Perioadă de probă gratuită","product_info.price_after_intro_price":"După {{introPriceDuration}}, pe {{renewalDate}}","product_info.after_trial":"după perioada de probă","product_info.after":"după","product_info.intro_price_phase_after_trial":"Apoi {{introPriceDuration}} pentru {{introPrice}}","product_info.intro_price_phase":"Mai întâi {{introPriceDuration}} pentru {{introPrice}}","product_info.intro_price_phase_paid_once":"plătit o singură dată","payment_entry_page.trial_subscription_terms_info":"După ce perioada de probă se termină, veți fi taxat cu {{price}} {{perFrequency}} începând cu {{renewalDate}}. Puteți anula oricând înainte de această dată.","payment_entry_page.subscription_info":"Abonamentul se reînnoiește automat. Anulați oricând.","payment_entry_page.otp_terms_info":"Prin achiziționarea, sunteți de acord să permiteți {{appName}} să vă taxeze conform termenilor săi.","payment_entry_page.terms_link_label":"Termeni","payment_entry_page.subscription_terms_info":"Prin abonare, sunteți de acord să permiteți {{appName}} să vă taxeze conform termenilor săi până la anulare.","loading_page.keep_page_open":"Procesul este aproape finalizat. Păstrați această pagină deschisă.","loading_page.processing_payment":"Se procesează plata","pricing_table.discount":"Reducere","pricing_table.subtotal":"Subtotal","pricing_dropdown.add_promo_code":"Adaugă cod promoțional","discount_input.label":"Cod promoțional"},sm={"periods.week":"{{amount}} неделя","periods.month":"{{amount}} месяц","periods.year":"{{amount}} год","periods.day":"{{amount}} день","periods.weekShort":"{{amount}}нед","periods.monthShort":"{{amount}}мес","periods.yearShort":"{{amount}}г","periods.dayShort":"{{amount}}д","periods.lifetime":"пожизненно","periods.weekPlural":"{{amount}} недель","periods.monthPlural":"{{amount}} месяцев","periods.yearPlural":"{{amount}} лет","periods.dayPlural":"{{amount}} дней","periods.weekFrequency":"еженедельно","periods.monthFrequency":"ежемесячно","periods.yearFrequency":"ежегодно","periods.dayFrequency":"ежедневно","periods.perWeekFrequency":"в неделю","periods.perMonthFrequency":"в месяц","periods.perYearFrequency":"в год","periods.perDayFrequency":"в день","periods.unknownFrequency":"неизвестно","periods.weekFrequencyPlural":"каждые {{amount}} недель","periods.monthFrequencyPlural":"каждые {{amount}} месяцев","periods.yearFrequencyPlural":"каждые {{amount}} лет","periods.dayFrequencyPlural":"каждые {{amount}} дней","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} бесплатная пробная версия","product_info.price_after_free_trial":"После окончания пробного периода, {{renewalDate}}","product_info.renewal_frequency":"Продлевается {{frequency}}","product_info.continues_until_cancelled":"Продолжается до отмены","product_info.cancel_anytime":"Отменить в любое время","payment_entry_page.payment_step_title":"Безопасная оплата через RevenueCat","payment_entry_page.button_pay":"Оплатить сейчас","payment_entry_page.button_start_trial":"Начать пробный период","success_page.purchase_successful":"Оплата завершена","success_page.button_close":"Продолжить","error_page.if_error_persists":"Если ошибка сохраняется, пожалуйста, свяжитесь с ","error_page.error_title_already_subscribed":"Вы уже подписаны на {{productTitle}}","error_page.error_title_already_purchased":"Вы уже приобрели {{productTitle}}","error_page.error_title_other_errors":"Что-то пошло не так","error_page.error_message_already_subscribed":"Вы не можете подписаться на этот продукт повторно.","error_page.error_message_already_purchased":"Вы не можете приобрести этот продукт повторно.","error_page.error_message_missing_email_error":"Для завершения покупки необходим адрес электронной почты.","error_page.error_message_network_error":"Ошибка сети. Проверьте ваше интернет-соединение.","error_page.error_message_error_charging_payment":"Оплата не прошла.","error_page.error_message_error_setting_up_purchase":"Покупка не была начата из-за ошибки (код ошибки: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Мы не смогли проверить ваш платежный адрес. Пожалуйста, проверьте, что почтовый индекс и страна указаны правильно.","error_page.error_message_unknown_error":"Произошла неизвестная ошибка (код ошибки: {{errorCode}}).","error_page.button_try_again":"Повторить попытку","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Всего к оплате сегодня","product_info.subscribe_to":"Подписаться","navbar_header.details":"Детали","navbar_header.back_button":"Назад","pricing_dropdown.show_details":"Показать детали","pricing_dropdown.hide_details":"Скрыть детали","pricing_table.tax":"Налог","pricing_table.trial_ends":"После окончания пробного периода, {{formattedTrialEndDate}}","pricing_table.total_due_today":"Итого к оплате сегодня","pricing_table.total_excluding_tax":"Итого без учета налога","pricing_table.enter_billing_address_to_calculate":"Введите платежный адрес для расчета","pricing_table.enter_state_or_postal_code_to_calculate":"Введите штат или почтовый индекс для расчета","pricing_table.enter_postal_code_to_calculate":"Введите почтовый индекс для расчета","error_page.error_message_invalid_email_error":"Не удалось проверить адрес электронной почты {{email}}. Пожалуйста, укажите действительный адрес электронной почты.","payment_entry_page.button_payment_method":"Оплатить {{formattedPrice}} через {{paymentMethod}}","payment_entry_page.button_with_price":"Оплатить {{formattedPrice}}","price_update.title":"Обновление цены","price_update.base_message":"Общая цена была обновлена с учетом налога на основе вашего платежного адреса. Пожалуйста, проверьте и повторите попытку. С вашей карты будет списано только один раз.","price_update.trial_message":"Цена подписки была обновлена с учетом налогов на основе вашего платежного адреса. Пробный период остается бесплатным. Пожалуйста, проверьте и попробуйте снова.","payment_entry_page.express_checkout_divider":"ИЛИ ОПЛАТИТЕ КАРТОЙ","error_page.trouble_accessing":"Если у вас возникли проблемы с доступом к вашей покупке, обратитесь в службу поддержки по адресу ","error_page.close_button_title":"Перейти в {{appName}}","error_page.error_title_stripe_missing_required_permission":"Отсутствует разрешение Stripe","error_page.button_close":"Закрыть","error_page.error_message_stripe_invalid_tax_origin_address":"Покупка не удалась, так как адрес отправления налога недействителен. В рабочей среде покупки будут работать без применения налогов.","error_page.error_message_stripe_tax_not_active":"Покупка не удалась, так как Stripe Tax не включен. В рабочей среде покупки будут работать без применения налогов.","error_page.error_only_in_sandbox":"Это сообщение появляется только в песочнице.","error_page.error_message_stripe_missing_required_permission":"Покупка не удалась, так как у приложения Stripe отсутствует необходимое разрешение. В рабочей среде покупки будут работать без применения налогов.","error_page.error_title_stripe_tax_not_active":"Stripe Tax не активен","error_page.error_title_stripe_invalid_tax_origin_address":"Недействительный адрес отправления налога","apple_pay.free_trial":"Бесплатная пробная версия","product_info.price_after_intro_price":"После {{introPriceDuration}}, {{renewalDate}}","product_info.after_trial":"после пробного периода","product_info.after":"после","product_info.intro_price_phase_after_trial":"Затем {{introPriceDuration}} за {{introPrice}}","product_info.intro_price_phase":"Сначала {{introPriceDuration}} за {{introPrice}}","product_info.intro_price_phase_paid_once":"единоразовый платеж","payment_entry_page.trial_subscription_terms_info":"По окончании пробного периода с вас будет взиматься плата в размере {{price}} {{perFrequency}}, начиная с {{renewalDate}}. Вы можете отменить подписку в любое время до этой даты.","payment_entry_page.subscription_info":"Подписка продлевается автоматически. Отменить можно в любое время.","payment_entry_page.otp_terms_info":"Совершая покупку, вы соглашаетесь с тем, что {{appName}} будет взимать с вас плату в соответствии со своими условиями.","payment_entry_page.terms_link_label":"Условия","payment_entry_page.subscription_terms_info":"Подписываясь, вы соглашаетесь с тем, что {{appName}} будет взимать с вас плату в соответствии с их условиями до тех пор, пока вы не отмените подписку.","loading_page.keep_page_open":"Процесс почти завершен. Не закрывайте эту страницу.","loading_page.processing_payment":"Обработка платежа","pricing_table.discount":"Скидка","pricing_table.subtotal":"Итого","pricing_dropdown.add_promo_code":"Добавить промокод","discount_input.label":"Промокод"},lm={"periods.week":"{{amount}} týždeň","periods.month":"{{amount}} mesiac","periods.year":"{{amount}} rok","periods.day":"{{amount}} deň","periods.weekShort":"{{amount}}týž","periods.monthShort":"{{amount}}mes","periods.yearShort":"{{amount}}rok","periods.dayShort":"{{amount}}d","periods.lifetime":"doživotne","periods.weekPlural":"{{amount}} týždňov","periods.monthPlural":"{{amount}} mesiacov","periods.yearPlural":"{{amount}} rokov","periods.dayPlural":"{{amount}} dní","periods.weekFrequency":"týždenne","periods.monthFrequency":"mesačne","periods.yearFrequency":"ročne","periods.dayFrequency":"denne","periods.perWeekFrequency":"týždenne","periods.perMonthFrequency":"mesačne","periods.perYearFrequency":"ročne","periods.perDayFrequency":"denne","periods.unknownFrequency":"neznáme","periods.weekFrequencyPlural":"každých {{amount}} týždňov","periods.monthFrequencyPlural":"každých {{amount}} mesiacov","periods.yearFrequencyPlural":"každých {{amount}} rokov","periods.dayFrequencyPlural":"každých {{amount}} dní","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} bezplatné skúšobné obdobie","product_info.price_after_free_trial":"Po skončení skúšobného obdobia, dňa {{renewalDate}}","product_info.renewal_frequency":"Obnovuje sa {{frequency}}","product_info.continues_until_cancelled":"Pokračuje, kým sa nezruší","product_info.cancel_anytime":"Kedykoľvek zrušiť","payment_entry_page.payment_step_title":"Bezpečný nákup prostredníctvom RevenueCat","payment_entry_page.button_pay":"Zaplatiť teraz","payment_entry_page.button_start_trial":"Spustiť skúšobné obdobie","success_page.purchase_successful":"Platba dokončená","success_page.button_close":"Pokračovať","error_page.if_error_persists":"Ak chyba pretrváva, kontaktujte ","error_page.error_title_already_subscribed":"Už ste si predplatili {{productTitle}}","error_page.error_title_already_purchased":"Už ste si zakúpili {{productTitle}}","error_page.error_title_other_errors":"Niečo sa pokazilo","error_page.error_message_already_subscribed":"Na tento produkt sa nemôžete znova prihlásiť na odber.","error_page.error_message_already_purchased":"Tento produkt si nemôžete znova zakúpiť.","error_page.error_message_missing_email_error":"Na dokončenie nákupu je potrebný e-mail.","error_page.error_message_network_error":"Chyba siete. Skontrolujte svoje internetové pripojenie.","error_page.error_message_error_charging_payment":"Platba zlyhala.","error_page.error_message_error_setting_up_purchase":"Nákup sa nespustil kvôli chybe (kód chyby: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Nepodarilo sa nám overiť vašu fakturačnú adresu. Skontrolujte, prosím, či je PSČ a krajina správne.","error_page.error_message_unknown_error":"Vyskytla sa neznáma chyba (kód chyby: {{errorCode}}).","error_page.button_try_again":"Skúsiť znova","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Celková suma splatná dnes","product_info.subscribe_to":"Prihlásiť sa na odber","navbar_header.details":"Podrobnosti","navbar_header.back_button":"Späť","pricing_dropdown.show_details":"Zobraziť podrobnosti","pricing_dropdown.hide_details":"Skryť podrobnosti","pricing_table.tax":"Daň","pricing_table.trial_ends":"Po skončení skúšobnej verzie, dňa {{formattedTrialEndDate}}","pricing_table.total_due_today":"Celková suma splatná dnes","pricing_table.total_excluding_tax":"Celkom bez dane","pricing_table.enter_billing_address_to_calculate":"Zadajte fakturačnú adresu pre výpočet","pricing_table.enter_state_or_postal_code_to_calculate":"Zadajte štát alebo PSČ pre výpočet","pricing_table.enter_postal_code_to_calculate":"Zadajte PSČ pre výpočet","error_page.error_message_invalid_email_error":"E-mailová adresa {{email}} sa nedala overiť. Zadajte platnú e-mailovú adresu.","payment_entry_page.button_payment_method":"Zaplatiť sumu {{formattedPrice}} pomocou {{paymentMethod}}","payment_entry_page.button_with_price":"Zaplatiť {{formattedPrice}}","price_update.title":"Aktualizácia ceny","price_update.base_message":"Celková cena bola aktualizovaná o daň na základe vašej fakturačnej adresy. Skontrolujte to a skúste znova. Vaša karta bude zaťažená iba raz.","price_update.trial_message":"Cena predplatného bola aktualizovaná o daňe na základe vašej fakturačnej adresy. Bezplatná skúšobná doba stále platí. Prosím, skontrolujte a skúste znova.","payment_entry_page.express_checkout_divider":"ALEBO ZAPLATIŤ KARTOU","error_page.trouble_accessing":"Ak máte problémy s prístupom k svojmu nákupu, kontaktujte podporu na ","error_page.close_button_title":"Prejsť na {{appName}}","error_page.error_title_stripe_missing_required_permission":"Chýbajúce povolenie Stripe","error_page.button_close":"Zavrieť","error_page.error_message_stripe_invalid_tax_origin_address":"Nákup sa nepodaril, pretože adresa pôvodu dane je neplatná. V produkčnom prostredí budú nákupy fungovať bez uplatnenia daní.","error_page.error_message_stripe_tax_not_active":"Nákup sa nepodaril, pretože Stripe Tax nie je povolený. V produkčnom prostredí budú nákupy fungovať bez uplatnenia daní.","error_page.error_only_in_sandbox":"Táto správa sa zobrazuje iba v testovacom prostredí (sandbox).","error_page.error_message_stripe_missing_required_permission":"Nákup sa nepodaril, pretože aplikácii Stripe chýba požadované povolenie. V produkčnom prostredí budú nákupy fungovať bez uplatnenia daní.","error_page.error_title_stripe_tax_not_active":"Stripe Tax nie je aktívny","error_page.error_title_stripe_invalid_tax_origin_address":"Neplatná adresa pôvodu dane","apple_pay.free_trial":"Skúšobná verzia zdarma","product_info.price_after_intro_price":"Po {{introPriceDuration}}, dňa {{renewalDate}}","product_info.after_trial":"po skúšobnej dobe","product_info.after":"po","product_info.intro_price_phase_after_trial":"Potom {{introPriceDuration}} za {{introPrice}}","product_info.intro_price_phase":"Najprv {{introPriceDuration}} za {{introPrice}}","product_info.intro_price_phase_paid_once":"zaplatené jednorazovo","payment_entry_page.trial_subscription_terms_info":"Po skončení skúšobného obdobia vám bude účtovaná suma {{price}} {{perFrequency}} počnúc dňom {{renewalDate}}. Pred týmto dátumom môžete kedykoľvek zrušiť.","payment_entry_page.subscription_info":"Predplatné sa automaticky obnovuje. Zrušiť môžete kedykoľvek.","payment_entry_page.otp_terms_info":"Zakúpením súhlasíte s tým, že spoločnosti {{appName}} umožníte účtovať vám poplatky v súlade s jej podmienkami.","payment_entry_page.terms_link_label":"Podmienky","payment_entry_page.subscription_terms_info":"Prihlásením na odber súhlasíte s tým, že spoločnosť {{appName}} vám bude účtovať poplatky podľa svojich podmienok, až kým odber nezrušíte.","loading_page.keep_page_open":"Proces sa takmer dokončil. Nechajte túto stránku otvorenú.","loading_page.processing_payment":"Spracováva sa platba","pricing_table.discount":"Zľava","pricing_table.subtotal":"Medzisúčet","pricing_dropdown.add_promo_code":"Pridať promo kód","discount_input.label":"Propagačný kód"},cm={"periods.week":"{{amount}} teden","periods.month":"{{amount}} mesec","periods.year":"{{amount}} leto","periods.day":"{{amount}} dan","periods.weekShort":"{{amount}}ted","periods.monthShort":"{{amount}}mes","periods.yearShort":"{{amount}}l","periods.dayShort":"{{amount}}d","periods.lifetime":"doživljenjsko","periods.weekPlural":"{{amount}} tednov","periods.monthPlural":"{{amount}} mesecev","periods.yearPlural":"{{amount}} let","periods.dayPlural":"{{amount}} dni","periods.weekFrequency":"tedensko","periods.monthFrequency":"mesečno","periods.yearFrequency":"letno","periods.dayFrequency":"dnevno","periods.perWeekFrequency":"na teden","periods.perMonthFrequency":"na mesec","periods.perYearFrequency":"na leto","periods.perDayFrequency":"na dan","periods.unknownFrequency":"neznano","periods.weekFrequencyPlural":"vsakih {{amount}} tednov","periods.monthFrequencyPlural":"vsakih {{amount}} mesecev","periods.yearFrequencyPlural":"vsakih {{amount}} let","periods.dayFrequencyPlural":"vsakih {{amount}} dni","product_info.subscribe_to":"Naročite se na","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"Brezplačno preizkusite za {{trialDuration}}","product_info.price_after_free_trial":"Po koncu preizkusa, dne {{renewalDate}}","product_info.intro_price_phase_after_trial":"Nato {{introPriceDuration}} za {{introPrice}}","product_info.intro_price_phase":"Prvih {{introPriceDuration}} za {{introPrice}}","product_info.intro_price_phase_paid_once":"plačano enkrat","product_info.price_after_intro_price":"Po {{introPriceDuration}}, dne {{renewalDate}}","product_info.after_trial":"po preizkusu","product_info.after":"po","product_info.total_due_today":"Skupaj za plačilo danes","product_info.renewal_frequency":"Se obnovi {{frequency}}","product_info.continues_until_cancelled":"Traja do preklica","product_info.cancel_anytime":"Prekličete lahko kadar koli","payment_entry_page.payment_step_title":"Varno plačilo prek RevenueCat","payment_entry_page.trial_subscription_terms_info":"Po koncu preizkusnega obdobja vam bo zaračunano {{price}} {{perFrequency}} z začetkom {{renewalDate}}. Prekličete lahko kadar koli pred tem datumom.","payment_entry_page.subscription_terms_info":"Z naročnino se strinjate, da vam {{appName}} zaračunava v skladu s svojimi pogoji, dokler ne prekličete.","payment_entry_page.otp_terms_info":"Z nakupom se strinjate, da vam {{appName}} zaračuna v skladu s svojimi pogoji.","payment_entry_page.terms_link_label":"Pogoji","payment_entry_page.subscription_info":"Naročnina se samodejno obnavlja. Prekličete lahko kadar koli.","payment_entry_page.button_pay":"Plačaj zdaj","payment_entry_page.button_start_trial":"Začni preizkus","payment_entry_page.button_with_price":"Plačaj {{formattedPrice}}","payment_entry_page.button_payment_method":"Plačaj {{formattedPrice}} z {{paymentMethod}}","payment_entry_page.express_checkout_divider":"ALI PLAČAJTE S KARTICO","loading_page.processing_payment":"Obdelava plačila","loading_page.keep_page_open":"Postopek je skoraj končan. Pustite to stran odprto.","success_page.purchase_successful":"Plačilo zaključeno","success_page.button_close":"Nadaljuj","error_page.close_button_title":"Pojdi na {{appName}}","error_page.if_error_persists":"Če težava ne izgine, se obrnite na ","error_page.trouble_accessing":"Če imate težave z dostopom do svojega nakupa, se obrnite na podporo na ","error_page.error_title_already_subscribed":"Na {{productTitle}} ste že naročeni","error_page.error_title_already_purchased":"{{productTitle}} ste že kupili","error_page.error_title_other_errors":"Nekaj je šlo narobe","error_page.error_message_already_subscribed":"Na ta izdelek se ne morete ponovno naročiti.","error_page.error_message_already_purchased":"Tega izdelka ne morete ponovno kupiti.","error_page.error_title_stripe_tax_not_active":"Stripe Tax ni aktiven","error_page.error_title_stripe_invalid_tax_origin_address":"Neveljaven izvorni naslov za davek","error_page.error_title_stripe_missing_required_permission":"Manjka dovoljenje Stripe","error_page.error_message_missing_email_error":"Za dokončanje nakupa je potrebna e-pošta.","error_page.error_message_invalid_email_error":"E-poštnega naslova {{email}} ni bilo mogoče preveriti. Vnesite veljaven e-poštni naslov.","error_page.error_message_network_error":"Napaka omrežja. Preverite svojo internetno povezavo.","error_page.error_message_error_charging_payment":"Plačilo ni uspelo.","error_page.error_message_error_setting_up_purchase":"Nakup se ni začel zaradi napake (koda napake: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Vašega naslova za obračun nismo mogli preveriti. Preverite, ali sta poštna številka in država pravilni.","error_page.error_message_unknown_error":"Prišlo je do neznane napake (koda napake: {{errorCode}}).","error_page.error_message_stripe_tax_not_active":"Nakup ni uspel, ker Stripe Tax ni omogočen. V produkciji bodo nakupi delovali brez obračunanih davkov.","error_page.error_message_stripe_invalid_tax_origin_address":"Nakup ni uspel, ker je izvorni naslov za davek neveljaven. V produkciji bodo nakupi delovali brez obračunanih davkov.","error_page.error_message_stripe_missing_required_permission":"Nakup ni uspel, ker aplikaciji Stripe manjka zahtevano dovoljenje. V produkciji bodo nakupi delovali brez obračunanih davkov.","error_page.error_only_in_sandbox":"To sporočilo se prikaže samo v peskovniku (sandbox).","error_page.button_try_again":"Poskusi znova","error_page.button_close":"Zapri","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","pricing_dropdown.show_details":"Prikaži podrobnosti","pricing_dropdown.hide_details":"Skrij podrobnosti","pricing_dropdown.add_promo_code":"Dodaj promocijsko kodo","discount_input.label":"Promocijska koda","pricing_table.trial_ends":"Po koncu preizkusa, dne {{formattedTrialEndDate}}","pricing_table.total_excluding_tax":"Skupaj brez davka","pricing_table.total_due_today":"Skupaj za plačilo danes","pricing_table.subtotal":"Vmesni seštevek","pricing_table.discount":"Popust","pricing_table.tax":"Davek","pricing_table.enter_billing_address_to_calculate":"Vnesite naslov za obračun za izračun","pricing_table.enter_postal_code_to_calculate":"Vnesite poštno številko za izračun","pricing_table.enter_state_or_postal_code_to_calculate":"Vnesite regijo ali poštno številko za izračun","navbar_header.details":"Podrobnosti","navbar_header.back_button":"Nazaj","price_update.title":"Posodobitev cene","price_update.base_message":"Skupna cena je bila posodobljena z davkom glede na vaš naslov za obračun. Preglejte in poskusite znova. Vaša kartica bo bremenjena samo enkrat.","price_update.trial_message":"Cena naročnine je bila posodobljena, da vključuje davek glede na vaš naslov za obračun. Brezplačni preizkus še vedno velja. Preglejte in poskusite znova.","apple_pay.free_trial":"Brezplačni preizkus"},um={"periods.week":"{{amount}} vecka","periods.month":"{{amount}} månad","periods.year":"{{amount}} år","periods.day":"{{amount}} dag","periods.weekShort":"{{amount}}v","periods.monthShort":"{{amount}}mån","periods.yearShort":"{{amount}}år","periods.dayShort":"{{amount}}d","periods.lifetime":"livstid","periods.weekPlural":"{{amount}} veckor","periods.monthPlural":"{{amount}} månader","periods.yearPlural":"{{amount}} år","periods.dayPlural":"{{amount}} dagar","periods.weekFrequency":"veckovis","periods.monthFrequency":"månadsvis","periods.yearFrequency":"årligen","periods.dayFrequency":"dagligen","periods.perWeekFrequency":"per vecka","periods.perMonthFrequency":"per månad","periods.perYearFrequency":"per år","periods.perDayFrequency":"per dag","periods.unknownFrequency":"okänd","periods.weekFrequencyPlural":"varje {{amount}} veckor","periods.monthFrequencyPlural":"varje {{amount}} månader","periods.yearFrequencyPlural":"varje {{amount}} år","periods.dayFrequencyPlural":"varje {{amount}} dagar","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} gratis provperiod","product_info.price_after_free_trial":"Efter provperioden slutar, den {{renewalDate}}","product_info.renewal_frequency":"Förnyas {{frequency}}","product_info.continues_until_cancelled":"Gäller tills avbokad","product_info.cancel_anytime":"Avboka när som helst","payment_entry_page.payment_step_title":"Säker betalning via RevenueCat","payment_entry_page.button_pay":"Betala nu","payment_entry_page.button_start_trial":"Starta provperiod","success_page.purchase_successful":"Betalningen är klar","success_page.button_close":"Fortsätt","error_page.if_error_persists":"Om felet kvarstår, vänligen kontakta ","error_page.error_title_already_subscribed":"Du prenumererar redan på {{productTitle}}","error_page.error_title_already_purchased":"Du har redan köpt {{productTitle}}","error_page.error_title_other_errors":"Något gick fel","error_page.error_message_already_subscribed":"Du kan inte prenumerera på den här produkten igen.","error_page.error_message_already_purchased":"Du kan inte köpa den här produkten igen.","error_page.error_message_missing_email_error":"E-post krävs för att slutföra köpet.","error_page.error_message_network_error":"Nätverksfel. Kontrollera din internetanslutning.","error_page.error_message_error_charging_payment":"Betalningen misslyckades.","error_page.error_message_error_setting_up_purchase":"Köp kunde inte startas på grund av ett fel (felkod: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Vi kunde inte verifiera din faktureringsadress. Kontrollera att postnummer och land är korrekta.","error_page.error_message_unknown_error":"Ett okänt fel inträffade (felkod: {{errorCode}}).","error_page.button_try_again":"Försök igen","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}} ({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Totalt att betala idag","product_info.subscribe_to":"Prenumerera på","navbar_header.details":"Detaljer","navbar_header.back_button":"Tillbaka","pricing_dropdown.show_details":"Visa detaljer","pricing_dropdown.hide_details":"Dölj detaljer","pricing_table.tax":"Moms","pricing_table.trial_ends":"Efter provperiodens slut, den {{formattedTrialEndDate}}","pricing_table.total_due_today":"Total summa att betala idag","pricing_table.total_excluding_tax":"Totalt exklusive moms","pricing_table.enter_billing_address_to_calculate":"Ange faktureringsadress för att beräkna","pricing_table.enter_state_or_postal_code_to_calculate":"Ange delstat eller postnummer för att beräkna","pricing_table.enter_postal_code_to_calculate":"Ange postnummer för att beräkna","error_page.error_message_invalid_email_error":"E-postadressen {{email}} kunde inte verifieras. Ange en giltig e-postadress.","payment_entry_page.button_payment_method":"Betala {{formattedPrice}} med {{paymentMethod}}","payment_entry_page.button_with_price":"Betala {{formattedPrice}}","price_update.title":"Prisuppdatering","price_update.base_message":"Det totala priset har uppdaterats med moms baserat på din faktureringsadress. Granska och försök igen. Ditt kort kommer endast att debiteras en gång.","price_update.trial_message":"Prenumerationspriset har uppdaterats för att inkludera skatter baserat på din fakturaadress. Den kostnadsfria provperioden gäller fortfarande. Kontrollera och försök igen.","payment_entry_page.express_checkout_divider":"ELLER BETALA MED KORT","error_page.trouble_accessing":"Om du har problem med att komma åt ditt köp, kontakta support på ","error_page.close_button_title":"Gå till {{appName}}","error_page.error_title_stripe_missing_required_permission":"Saknar Stripe-behörighet","error_page.button_close":"Stäng","error_page.error_message_stripe_invalid_tax_origin_address":"Köpet misslyckades eftersom skatteursprungsadressen är ogiltig. I produktion kommer köp att fungera utan att skatter tillämpas.","error_page.error_message_stripe_tax_not_active":"Köpet misslyckades eftersom Stripe Tax inte är aktiverat. I produktion kommer köp att fungera utan att skatter tillämpas.","error_page.error_only_in_sandbox":"Det här meddelandet visas bara i sandlådan.","error_page.error_message_stripe_missing_required_permission":"Köpet misslyckades eftersom Stripe-appen saknar en nödvändig behörighet. I produktion kommer köp att fungera utan att skatter tillämpas.","error_page.error_title_stripe_tax_not_active":"Stripe Tax är inte aktivt","error_page.error_title_stripe_invalid_tax_origin_address":"Ogiltig skatteursprungsadress","apple_pay.free_trial":"Gratis provperiod","product_info.price_after_intro_price":"Efter {{introPriceDuration}}, den {{renewalDate}}","product_info.after_trial":"efter provperioden","product_info.after":"efter","product_info.intro_price_phase_after_trial":"Sedan {{introPriceDuration}} för {{introPrice}}","product_info.intro_price_phase":"Först {{introPriceDuration}} för {{introPrice}}","product_info.intro_price_phase_paid_once":"betalas en gång","payment_entry_page.trial_subscription_terms_info":"Efter att din provperiod slutar debiteras du {{price}} {{perFrequency}} från och med {{renewalDate}}. Du kan avbryta när som helst före detta datum.","payment_entry_page.subscription_info":"Prenumerationen förnyas automatiskt. Avbryt när som helst.","payment_entry_page.otp_terms_info":"Genom att köpa godkänner du att {{appName}} debiterar dig i enlighet med deras villkor.","payment_entry_page.terms_link_label":"Villkor","payment_entry_page.subscription_terms_info":"Genom att prenumerera godkänner du att {{appName}} debiterar dig i enlighet med deras villkor tills du avbryter.","loading_page.keep_page_open":"Processen är nästan klar. Håll den här sidan öppen.","loading_page.processing_payment":"Behandlar betalning","pricing_table.discount":"Rabatt","pricing_table.subtotal":"Delsumma","pricing_dropdown.add_promo_code":"Lägg till kampanjkod","discount_input.label":"Kampanjkod"},dm={"periods.week":"{{amount}} สัปดาห์","periods.month":"{{amount}} เดือน","periods.year":"{{amount}} ปี","periods.day":"{{amount}} วัน","periods.weekShort":"{{amount}} สัปดาห์","periods.monthShort":"{{amount}} เดือน","periods.yearShort":"{{amount}} ปี","periods.dayShort":"{{amount}} วัน","periods.lifetime":"ตลอดชีพ","periods.weekPlural":"{{amount}} สัปดาห์","periods.monthPlural":"{{amount}} เดือน","periods.yearPlural":"{{amount}} ปี","periods.dayPlural":"{{amount}} วัน","periods.weekFrequency":"รายสัปดาห์","periods.monthFrequency":"รายเดือน","periods.yearFrequency":"รายปี","periods.dayFrequency":"รายวัน","periods.perWeekFrequency":"ต่อสัปดาห์","periods.perMonthFrequency":"ต่อเดือน","periods.perYearFrequency":"ต่อปี","periods.perDayFrequency":"ต่อวัน","periods.unknownFrequency":"ไม่รู้จัก","periods.weekFrequencyPlural":"ทุกๆ {{amount}} สัปดาห์","periods.monthFrequencyPlural":"ทุกๆ {{amount}} เดือน","periods.yearFrequencyPlural":"ทุกๆ {{amount}} ปี","periods.dayFrequencyPlural":"ทุกๆ {{amount}} วัน","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} ทดลองใช้ฟรี","product_info.price_after_free_trial":"หลังจากสิ้นสุดการทดลองใช้ ในวันที่ {{renewalDate}}","product_info.renewal_frequency":"ต่ออายุ {{frequency}}","product_info.continues_until_cancelled":"ต่อเนื่องจนกว่าจะยกเลิก","product_info.cancel_anytime":"ยกเลิกได้ตลอดเวลา","payment_entry_page.payment_step_title":"การชำระเงินอย่างปลอดภัยโดย RevenueCat","payment_entry_page.button_pay":"ชำระเงินตอนนี้","payment_entry_page.button_start_trial":"เริ่มทดลองใช้","success_page.purchase_successful":"การชำระเงินเสร็จสมบูรณ์","success_page.button_close":"ดำเนินการต่อ","error_page.if_error_persists":"หากข้อผิดพลาดยังคงอยู่ โปรดติดต่อ ","error_page.error_title_already_subscribed":"คุณได้สมัครสมาชิก {{productTitle}} แล้ว","error_page.error_title_already_purchased":"คุณได้ซื้อ {{productTitle}} แล้ว","error_page.error_title_other_errors":"มีบางอย่างผิดพลาด","error_page.error_message_already_subscribed":"คุณไม่สามารถสมัครสมาชิกผลิตภัณฑ์นี้ได้อีก","error_page.error_message_already_purchased":"คุณไม่สามารถซื้อผลิตภัณฑ์นี้ได้อีก","error_page.error_message_missing_email_error":"ต้องใช้อีเมลเพื่อทำการซื้อให้เสร็จสมบูรณ์","error_page.error_message_network_error":"ข้อผิดพลาดของเครือข่าย โปรดตรวจสอบการเชื่อมต่ออินเทอร์เน็ตของคุณ","error_page.error_message_error_charging_payment":"การชำระเงินล้มเหลว","error_page.error_message_error_setting_up_purchase":"ไม่สามารถเริ่มการซื้อได้เนื่องจากข้อผิดพลาด (รหัสข้อผิดพลาด: {{errorCode}})","error_page.error_message_invalid_tax_location":"เราไม่สามารถยืนยันที่อยู่สำหรับออกใบแจ้งหนี้ของคุณได้ กรุณาตรวจสอบรหัสไปรษณีย์และประเทศให้ถูกต้อง","error_page.error_message_unknown_error":"เกิดข้อผิดพลาดที่ไม่รู้จัก (รหัสข้อผิดพลาด: {{errorCode}})","error_page.button_try_again":"ลองอีกครั้ง","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"ยอดรวมที่ต้องชำระวันนี้","product_info.subscribe_to":"สมัครสมาชิก","navbar_header.details":"รายละเอียด","navbar_header.back_button":"ย้อนกลับ","pricing_dropdown.show_details":"แสดงรายละเอียด","pricing_dropdown.hide_details":"ซ่อนรายละเอียด","pricing_table.tax":"ภาษี","pricing_table.trial_ends":"หลังจากช่วงทดลองใช้สิ้นสุด ในวันที่ {{formattedTrialEndDate}}","pricing_table.total_due_today":"ยอดรวมที่ต้องชำระวันนี้","pricing_table.total_excluding_tax":"ราคารวมก่อนภาษี","pricing_table.enter_billing_address_to_calculate":"กรุณากรอกที่อยู่สำหรับเรียกเก็บเงินเพื่อคำนวณ","pricing_table.enter_state_or_postal_code_to_calculate":"ใส่รัฐหรือรหัสไปรษณีย์เพื่อคำนวณ","pricing_table.enter_postal_code_to_calculate":"ใส่รหัสไปรษณีย์เพื่อคำนวณ","error_page.error_message_invalid_email_error":"ไม่สามารถยืนยันที่อยู่อีเมล {{email}} ได้ โปรดระบุที่อยู่อีเมลที่ถูกต้อง","payment_entry_page.button_payment_method":"ชำระเงิน {{formattedPrice}} ด้วย {{paymentMethod}}","payment_entry_page.button_with_price":"ชำระเงิน {{formattedPrice}}","price_update.title":"อัปเดตราคา","price_update.base_message":"ราคารวมได้รับการอัปเดตพร้อมภาษีตามที่อยู่สำหรับการเรียกเก็บเงินของคุณ โปรดตรวจสอบและลองอีกครั้ง บัตรของคุณจะถูกเรียกเก็บเงินเพียงครั้งเดียวเท่านั้น","price_update.trial_message":"ราคาการสมัครสมาชิกได้รับการอัปเดตเพื่อรวมภาษีตามที่อยู่สำหรับการเรียกเก็บเงินของคุณ ระยะเวลาทดลองใช้ฟรียังคงมีผล โปรดตรวจสอบและลองอีกครั้ง","payment_entry_page.express_checkout_divider":"หรือชำระด้วยบัตร","error_page.trouble_accessing":"หากคุณมีปัญหาในการเข้าถึงการซื้อ โปรดติดต่อฝ่ายสนับสนุนที่ ","error_page.close_button_title":"ไปที่ {{appName}}","error_page.error_title_stripe_missing_required_permission":"ขาดสิทธิ์ Stripe ที่จำเป็น","error_page.button_close":"ปิด","error_page.error_message_stripe_invalid_tax_origin_address":"การซื้อล้มเหลวเนื่องจากที่อยู่ต้นทางภาษีไม่ถูกต้อง ในสภาพแวดล้อมจริง การซื้อจะทำงานได้โดยไม่มีการเรียกเก็บภาษี","error_page.error_message_stripe_tax_not_active":"การซื้อล้มเหลวเนื่องจากไม่ได้เปิดใช้งาน Stripe Tax ในสภาพแวดล้อมจริง การซื้อจะทำงานได้โดยไม่มีการเรียกเก็บภาษี","error_page.error_only_in_sandbox":"ข้อความนี้จะปรากฏเฉพาะใน sandbox เท่านั้น","error_page.error_message_stripe_missing_required_permission":"การซื้อล้มเหลวเนื่องจากแอป Stripe ขาดสิทธิ์ที่จำเป็น ในสภาพแวดล้อมจริง การซื้อจะทำงานได้โดยไม่มีการเรียกเก็บภาษี","error_page.error_title_stripe_tax_not_active":"Stripe Tax ไม่เปิดใช้งาน","error_page.error_title_stripe_invalid_tax_origin_address":"ที่อยู่ต้นทางภาษีไม่ถูกต้อง","apple_pay.free_trial":"ทดลองใช้ฟรี","product_info.price_after_intro_price":"หลังจาก {{introPriceDuration}} ในวันที่ {{renewalDate}}","product_info.after_trial":"หลังช่วงทดลองใช้","product_info.after":"หลังจาก","product_info.intro_price_phase_after_trial":"จากนั้น {{introPriceDuration}} ในราคา {{introPrice}}","product_info.intro_price_phase":"ช่วงแรก {{introPriceDuration}} ในราคา {{introPrice}}","product_info.intro_price_phase_paid_once":"ชำระครั้งเดียว","payment_entry_page.trial_subscription_terms_info":"หลังจากช่วงทดลองใช้ของคุณสิ้นสุดลง คุณจะถูกเรียกเก็บเงิน {{price}} {{perFrequency}} เริ่มตั้งแต่วันที่ {{renewalDate}} คุณสามารถยกเลิกได้ตลอดเวลาก่อนวันดังกล่าว","payment_entry_page.subscription_info":"การสมัครรับข้อมูลจะต่ออายุโดยอัตโนมัติ ยกเลิกได้ตลอดเวลา","payment_entry_page.otp_terms_info":"เมื่อทำการซื้อ คุณตกลงที่จะอนุญาตให้ {{appName}} เรียกเก็บเงินจากคุณตามข้อกำหนดของพวกเขา","payment_entry_page.terms_link_label":"ข้อกำหนด","payment_entry_page.subscription_terms_info":"เมื่อสมัครรับข้อมูล แสดงว่าคุณยินยอมให้ {{appName}} เรียกเก็บเงินจากคุณตามข้อกำหนดจนกว่าคุณจะยกเลิก","loading_page.keep_page_open":"กระบวนการเกือบเสร็จสมบูรณ์แล้ว โปรดเปิดหน้านี้ไว้","loading_page.processing_payment":"กำลังดำเนินการชำระเงิน","pricing_table.discount":"ส่วนลด","pricing_table.subtotal":"ราคารวมย่อย","pricing_dropdown.add_promo_code":"เพิ่มรหัสโปรโมชั่น","discount_input.label":"รหัสโปรโมชั่น"},pm={"periods.week":"{{amount}} hafta","periods.month":"{{amount}} ay","periods.year":"{{amount}} yıl","periods.day":"{{amount}} gün","periods.weekShort":"{{amount}}hf","periods.monthShort":"{{amount}}ay","periods.yearShort":"{{amount}}yl","periods.dayShort":"{{amount}}g","periods.lifetime":"ömür boyu","periods.weekPlural":"{{amount}} hafta","periods.monthPlural":"{{amount}} ay","periods.yearPlural":"{{amount}} yıl","periods.dayPlural":"{{amount}} gün","periods.weekFrequency":"haftalık","periods.monthFrequency":"aylık","periods.yearFrequency":"yıllık","periods.dayFrequency":"günlük","periods.perWeekFrequency":"haftada","periods.perMonthFrequency":"ayda","periods.perYearFrequency":"yılda","periods.perDayFrequency":"günde","periods.unknownFrequency":"bilinmiyor","periods.weekFrequencyPlural":"her {{amount}} haftada","periods.monthFrequencyPlural":"her {{amount}} ayda","periods.yearFrequencyPlural":"her {{amount}} yılda","periods.dayFrequencyPlural":"her {{amount}} günde","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} ücretsiz deneme","product_info.price_after_free_trial":"Deneme süresi sona erdiğinde, {{renewalDate}} tarihinde","product_info.renewal_frequency":"{{frequency}} sıklığında yenilenir","product_info.continues_until_cancelled":"İptal edilene kadar devam eder","product_info.cancel_anytime":"İstediğiniz zaman iptal edebilirsiniz","payment_entry_page.payment_step_title":"RevenueCat ile güvenli ödeme","payment_entry_page.button_pay":"Şimdi öde","payment_entry_page.button_start_trial":"Denemeyi başlat","success_page.purchase_successful":"Ödeme tamamlandı","success_page.button_close":"Devam et","error_page.if_error_persists":"Hata devam ederse lütfen iletişime geçin ","error_page.error_title_already_subscribed":"{{productTitle}} ürününe zaten abone oldunuz","error_page.error_title_already_purchased":"{{productTitle}} ürününü zaten satın aldınız","error_page.error_title_other_errors":"Bir şeyler ters gitti","error_page.error_message_already_subscribed":"Bu ürüne tekrar abone olamazsınız.","error_page.error_message_already_purchased":"Bu ürünü tekrar satın alamazsınız.","error_page.error_message_missing_email_error":"Satın almayı tamamlamak için e-posta gereklidir.","error_page.error_message_network_error":"Ağ hatası. Lütfen internet bağlantınızı kontrol edin.","error_page.error_message_error_charging_payment":"Ödeme başarısız oldu.","error_page.error_message_error_setting_up_purchase":"Bir hata nedeniyle satın alma başlatılamadı (hata kodu: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Fatura adresinizi doğrulayamadık. Lütfen posta kodu ve ülkenin doğru olduğunu kontrol edin.","error_page.error_message_unknown_error":"Bilinmeyen bir hata oluştu (hata kodu: {{errorCode}}).","error_page.button_try_again":"Tekrar dene","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Bugün ödenecek toplam tutar","product_info.subscribe_to":"Abone Ol","navbar_header.details":"Detaylar","navbar_header.back_button":"Geri","pricing_dropdown.show_details":"Detayları göster","pricing_dropdown.hide_details":"Detayları gizle","pricing_table.tax":"Vergi","pricing_table.trial_ends":"Deneme süresi sona erdikten sonra, {{formattedTrialEndDate}} tarihinde","pricing_table.total_due_today":"Bugün ödenecek toplam","pricing_table.total_excluding_tax":"Vergi hariç toplam","pricing_table.enter_billing_address_to_calculate":"Hesaplamak için fatura adresini girin","pricing_table.enter_state_or_postal_code_to_calculate":"Hesaplamak için eyalet veya posta kodunu girin","pricing_table.enter_postal_code_to_calculate":"Hesaplamak için posta kodunu girin","error_page.error_message_invalid_email_error":"{{email}} e-posta adresi doğrulanamadı. Lütfen geçerli bir e-posta adresi girin.","payment_entry_page.button_payment_method":"{{paymentMethod}} ile {{formattedPrice}} öde","payment_entry_page.button_with_price":"{{formattedPrice}} öde","price_update.title":"Fiyat güncellemesi","price_update.base_message":"Toplam fiyat, fatura adresinize göre vergi dahil olacak şekilde güncellendi. Lütfen inceleyip tekrar deneyin. Kartınızdan yalnızca bir kez ücret alınacaktır.","price_update.trial_message":"Abonelik fiyatı, fatura adresinize göre vergileri içerecek şekilde güncellendi. Ücretsiz deneme süresi hala geçerli. Lütfen kontrol edin ve tekrar deneyin.","payment_entry_page.express_checkout_divider":"VEYA KARTLA ÖDEYİN","error_page.trouble_accessing":"Satın alımınıza erişmekte sorun yaşıyorsanız, şu adresten destek ekibine ulaşın: ","error_page.close_button_title":"{{appName}}'e Git","error_page.error_title_stripe_missing_required_permission":"Eksik Stripe izni","error_page.button_close":"Kapat","error_page.error_message_stripe_invalid_tax_origin_address":"Vergi başlangıç adresi geçersiz olduğu için satın alma başarısız oldu. Üretimde, satın alımlar vergi uygulanmadan çalışacaktır.","error_page.error_message_stripe_tax_not_active":"Stripe Vergi etkinleştirilmediği için satın alma başarısız oldu. Üretimde, satın alımlar vergi uygulanmadan çalışacaktır.","error_page.error_only_in_sandbox":"Bu mesaj yalnızca sanal ortamda görünür.","error_page.error_message_stripe_missing_required_permission":"Stripe uygulamasında gerekli bir izin eksik olduğu için satın alma başarısız oldu. Üretimde, satın alımlar vergi uygulanmadan çalışacaktır.","error_page.error_title_stripe_tax_not_active":"Stripe Vergi aktif değil","error_page.error_title_stripe_invalid_tax_origin_address":"Geçersiz vergi başlangıç adresi","apple_pay.free_trial":"Ücretsiz Deneme","product_info.price_after_intro_price":"{{introPriceDuration}} sonra, {{renewalDate}} tarihinde","product_info.after_trial":"deneme süresinden sonra","product_info.after":"sonra","product_info.intro_price_phase_after_trial":"Sonra {{introPriceDuration}} boyunca {{introPrice}}","product_info.intro_price_phase":"İlk {{introPriceDuration}} boyunca {{introPrice}}","product_info.intro_price_phase_paid_once":"bir defaya mahsus ödenir","payment_entry_page.trial_subscription_terms_info":"Deneme süreniz sona erdikten sonra, {{renewalDate}} tarihinden itibaren {{price}} {{perFrequency}} ücretlendirileceksiniz. Bu tarihten önce istediğiniz zaman iptal edebilirsiniz.","payment_entry_page.subscription_info":"Abonelik otomatik olarak yenilenir. İstediğiniz zaman iptal edin.","payment_entry_page.otp_terms_info":"Satın alarak, {{appName}}'in sizi şartlarına göre ücretlendirmesine izin vermeyi kabul edersiniz.","payment_entry_page.terms_link_label":"Koşullar","payment_entry_page.subscription_terms_info":"Abone olarak, iptal edene kadar {{appName}}'in sizi şartlarına göre ücretlendirmesine izin vermeyi kabul edersiniz.","loading_page.keep_page_open":"İşlem neredeyse tamamlandı. Bu sayfayı açık tutun.","loading_page.processing_payment":"Ödeme işleniyor","pricing_table.discount":"İndirim","pricing_table.subtotal":"Ara Toplam","pricing_dropdown.add_promo_code":"kupon kodu ekle","discount_input.label":"Promosyon kodu"},_m={"periods.week":"{{amount}} тиждень","periods.month":"{{amount}} місяць","periods.year":"{{amount}} рік","periods.day":"{{amount}} день","periods.weekShort":"{{amount}}тиж","periods.monthShort":"{{amount}}міс","periods.yearShort":"{{amount}}рік","periods.dayShort":"{{amount}}дн","periods.lifetime":"пожиттєво","periods.weekPlural":"{{amount}} тижнів","periods.monthPlural":"{{amount}} місяців","periods.yearPlural":"{{amount}} років","periods.dayPlural":"{{amount}} днів","periods.weekFrequency":"щотижня","periods.monthFrequency":"щомісяця","periods.yearFrequency":"щороку","periods.dayFrequency":"щодня","periods.perWeekFrequency":"на тиждень","periods.perMonthFrequency":"на місяць","periods.perYearFrequency":"на рік","periods.perDayFrequency":"на день","periods.unknownFrequency":"невідомо","periods.weekFrequencyPlural":"кожні {{amount}} тижнів","periods.monthFrequencyPlural":"кожні {{amount}} місяців","periods.yearFrequencyPlural":"кожні {{amount}} років","periods.dayFrequencyPlural":"кожні {{amount}} днів","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} безкоштовний пробний період","product_info.price_after_free_trial":"Після закінчення пробного періоду, {{renewalDate}}","product_info.renewal_frequency":"Продовжується {{frequency}}","product_info.continues_until_cancelled":"Триває до скасування","product_info.cancel_anytime":"Можна скасувати в будь-який час","payment_entry_page.payment_step_title":"Безпечна оплата через RevenueCat","payment_entry_page.button_pay":"Оплатити зараз","payment_entry_page.button_start_trial":"Розпочати пробний період","success_page.purchase_successful":"Оплата завершена","success_page.button_close":"Продовжити","error_page.if_error_persists":"Якщо помилка повторюється, зверніться до ","error_page.error_title_already_subscribed":"Ви вже підписалися на {{productTitle}}","error_page.error_title_already_purchased":"Ви вже придбали {{productTitle}}","error_page.error_title_other_errors":"Щось пішло не так","error_page.error_message_already_subscribed":"Ви не можете підписатися на цей продукт знову.","error_page.error_message_already_purchased":"Ви не можете придбати цей продукт знову.","error_page.error_message_missing_email_error":"Для завершення покупки потрібна електронна пошта.","error_page.error_message_network_error":"Помилка мережі. Перевірте підключення до інтернету.","error_page.error_message_error_charging_payment":"Оплата не пройшла.","error_page.error_message_error_setting_up_purchase":"Помилка при ініціалізації покупки (код помилки: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Ми не змогли перевірити вашу платіжну адресу. Будь ласка, перевірте, чи правильні поштовий індекс та країна.","error_page.error_message_unknown_error":"Сталася невідома помилка (код помилки: {{errorCode}}).","error_page.button_try_again":"Спробувати ще раз","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Всього до сплати сьогодні","product_info.subscribe_to":"Підписатися на","navbar_header.details":"Деталі","navbar_header.back_button":"Назад","pricing_dropdown.show_details":"Показати деталі","pricing_dropdown.hide_details":"Приховати деталі","pricing_table.tax":"Податок","pricing_table.trial_ends":"Після закінчення пробного періоду, {{formattedTrialEndDate}}","pricing_table.total_due_today":"Загальна сума до сплати сьогодні","pricing_table.total_excluding_tax":"Загальна сума без урахування податку","pricing_table.enter_billing_address_to_calculate":"Введіть адресу виставлення рахунку для розрахунку","pricing_table.enter_state_or_postal_code_to_calculate":"Введіть штат або поштовий індекс для розрахунку","pricing_table.enter_postal_code_to_calculate":"Введіть поштовий індекс для розрахунку","error_page.error_message_invalid_email_error":"Електронну адресу {{email}} не вдалося підтвердити. Будь ласка, вкажіть дійсну електронну адресу.","payment_entry_page.button_payment_method":"Сплатити {{formattedPrice}} за допомогою {{paymentMethod}}","payment_entry_page.button_with_price":"Сплатити {{formattedPrice}}","price_update.title":"Оновлення ціни","price_update.base_message":"Загальну ціну було оновлено з урахуванням податку на основі вашої платіжної адреси. Перегляньте та спробуйте ще раз. З вашої картки буде списано кошти лише один раз.","price_update.trial_message":"Ціна підписки була оновлена для включення податків на основі вашої платіжної адреси. Безкоштовний пробний період все ще діє. Будь ласка, перевірте та спробуйте ще раз.","payment_entry_page.express_checkout_divider":"АБО СПЛАТІТЬ КАРТКОЮ","error_page.trouble_accessing":"Якщо у вас виникли проблеми з доступом до вашої покупки, зверніться до служби підтримки за адресою ","error_page.close_button_title":"Перейти до {{appName}}","error_page.error_title_stripe_missing_required_permission":"Відсутній дозвіл Stripe","error_page.button_close":"Закрити","error_page.error_message_stripe_invalid_tax_origin_address":"Покупка не вдалася, оскільки адреса походження податку недійсна. У виробництві покупки працюватимуть без застосування податків.","error_page.error_message_stripe_tax_not_active":"Покупка не вдалася, оскільки Stripe Tax не ввімкнено. У виробництві покупки працюватимуть без застосування податків.","error_page.error_only_in_sandbox":"Це повідомлення з’являється лише в пісочниці.","error_page.error_message_stripe_missing_required_permission":"Покупка не вдалася, оскільки програмі Stripe не вистачає необхідного дозволу. У виробництві покупки працюватимуть без застосування податків.","error_page.error_title_stripe_tax_not_active":"Stripe Tax не активовано","error_page.error_title_stripe_invalid_tax_origin_address":"Недійсна адреса походження податку","apple_pay.free_trial":"Безкоштовна пробна версія","product_info.price_after_intro_price":"Після {{introPriceDuration}}, {{renewalDate}}","product_info.after_trial":"після пробного періоду","product_info.after":"після","product_info.intro_price_phase_after_trial":"Потім {{introPriceDuration}} за {{introPrice}}","product_info.intro_price_phase":"Спочатку {{introPriceDuration}} за {{introPrice}}","product_info.intro_price_phase_paid_once":"сплачено один раз","payment_entry_page.trial_subscription_terms_info":"Після закінчення пробного періоду з вас буде стягуватися плата в розмірі {{price}} {{perFrequency}} починаючи з {{renewalDate}}. Ви можете скасувати підписку в будь-який час до цієї дати.","payment_entry_page.subscription_info":"Підписка поновлюється автоматично. Скасувати можна в будь-який час.","payment_entry_page.otp_terms_info":"Купуючи, ви погоджуєтеся дозволити {{appName}} стягувати з вас плату відповідно до їхніх умов.","payment_entry_page.terms_link_label":"Умови","payment_entry_page.subscription_terms_info":"Підписуючись, ви погоджуєтеся дозволити {{appName}} стягувати з вас плату відповідно до їхніх умов, поки ви не скасуєте підписку.","loading_page.keep_page_open":"Процес майже завершено. Залиште цю сторінку відкритою.","loading_page.processing_payment":"Обробка платежу","pricing_table.discount":"Знижка","pricing_table.subtotal":"Сума до сплати","pricing_dropdown.add_promo_code":"Додати промокод","discount_input.label":"Промокод"},gm={"periods.week":"{{amount}} tuần","periods.month":"{{amount}} tháng","periods.year":"{{amount}} năm","periods.day":"{{amount}} ngày","periods.weekShort":"{{amount}}tuần","periods.monthShort":"{{amount}}tháng","periods.yearShort":"{{amount}}năm","periods.dayShort":"{{amount}}ngày","periods.lifetime":"trọn đời","periods.weekPlural":"{{amount}} tuần","periods.monthPlural":"{{amount}} tháng","periods.yearPlural":"{{amount}} năm","periods.dayPlural":"{{amount}} ngày","periods.weekFrequency":"hàng tuần","periods.monthFrequency":"hàng tháng","periods.yearFrequency":"hàng năm","periods.dayFrequency":"hàng ngày","periods.perWeekFrequency":"mỗi tuần","periods.perMonthFrequency":"mỗi tháng","periods.perYearFrequency":"mỗi năm","periods.perDayFrequency":"mỗi ngày","periods.unknownFrequency":"không xác định","periods.weekFrequencyPlural":"cứ {{amount}} tuần","periods.monthFrequencyPlural":"cứ {{amount}} tháng","periods.yearFrequencyPlural":"cứ {{amount}} năm","periods.dayFrequencyPlural":"cứ {{amount}} ngày","product_info.product_title":"{{productTitle}}","product_info.product_description":"{{productDescription}}","product_info.product_price":"{{productPrice}}","product_info.free_trial_duration":"{{trialDuration}} dùng thử miễn phí","product_info.price_after_free_trial":"Sau khi dùng thử kết thúc, vào {{renewalDate}}","product_info.renewal_frequency":"Gia hạn {{frequency}}","product_info.continues_until_cancelled":"Tiếp tục cho đến khi hủy","product_info.cancel_anytime":"Hủy bất cứ lúc nào","payment_entry_page.payment_step_title":"Thanh toán an toàn bởi RevenueCat","payment_entry_page.button_pay":"Thanh toán ngay","payment_entry_page.button_start_trial":"Bắt đầu dùng thử","success_page.purchase_successful":"Thanh toán hoàn tất","success_page.button_close":"Tiếp tục","error_page.if_error_persists":"Nếu lỗi vẫn tiếp diễn, vui lòng liên hệ ","error_page.error_title_already_subscribed":"Bạn đã đăng ký {{productTitle}} rồi","error_page.error_title_already_purchased":"Bạn đã mua {{productTitle}} rồi","error_page.error_title_other_errors":"Có lỗi xảy ra","error_page.error_message_already_subscribed":"Bạn không thể đăng ký sản phẩm này lần nữa.","error_page.error_message_already_purchased":"Bạn không thể mua sản phẩm này lần nữa.","error_page.error_message_missing_email_error":"Email bắt buộc để hoàn tất việc mua hàng.","error_page.error_message_network_error":"Lỗi mạng. Vui lòng kiểm tra kết nối internet của bạn.","error_page.error_message_error_charging_payment":"Thanh toán thất bại.","error_page.error_message_error_setting_up_purchase":"Không thể bắt đầu mua do lỗi (mã lỗi: {{errorCode}}).","error_page.error_message_invalid_tax_location":"Chúng tôi không thể xác minh địa chỉ thanh toán của bạn. Vui lòng kiểm tra lại mã bưu điện và quốc gia.","error_page.error_message_unknown_error":"Đã xảy ra lỗi không xác định (mã lỗi: {{errorCode}}).","error_page.button_try_again":"Thử lại","paywall_variables.price_per_period":"{{formattedPrice}}/{{period}}","paywall_variables.sub_relative_discount":"{{discount}}%","paywall_variables.total_price_and_per_month":"{{formattedPrice}}/{{period}}({{formattedPricePerMonth}}/{{monthPeriod}})","product_info.total_due_today":"Tổng số tiền phải trả hôm nay","product_info.subscribe_to":"Đăng ký","navbar_header.details":"Chi tiết","navbar_header.back_button":"Quay lại","pricing_dropdown.show_details":"Xem chi tiết","pricing_dropdown.hide_details":"Ẩn chi tiết","pricing_table.tax":"Thuế","pricing_table.trial_ends":"Sau khi thời gian dùng thử kết thúc, vào {{formattedTrialEndDate}}","pricing_table.total_due_today":"Tổng số tiền phải trả hôm nay","pricing_table.total_excluding_tax":"Tổng cộng chưa bao gồm thuế","pricing_table.enter_billing_address_to_calculate":"Nhập địa chỉ thanh toán để tính toán","pricing_table.enter_state_or_postal_code_to_calculate":"Nhập tiểu bang hoặc mã bưu điện để tính toán","pricing_table.enter_postal_code_to_calculate":"Nhập mã bưu điện để tính toán","error_page.error_message_invalid_email_error":"Không thể xác minh địa chỉ email {{email}}. Vui lòng cung cấp một địa chỉ email hợp lệ.","payment_entry_page.button_payment_method":"Thanh toán {{formattedPrice}} bằng {{paymentMethod}}","payment_entry_page.button_with_price":"Thanh toán {{formattedPrice}}","price_update.title":"Cập nhật giá","price_update.base_message":"Tổng giá đã được cập nhật với thuế dựa trên địa chỉ thanh toán của bạn. Vui lòng xem lại và thử lại. Thẻ của bạn sẽ chỉ bị tính phí một lần.","price_update.trial_message":"Giá đăng ký đã được cập nhật để bao gồm thuế dựa trên địa chỉ thanh toán của bạn. Thời gian dùng thử miễn phí vẫn được áp dụng. Vui lòng kiểm tra và thử lại.","payment_entry_page.express_checkout_divider":"HOẶC THANH TOÁN BẰNG THẺ","error_page.trouble_accessing":"Nếu bạn gặp sự cố khi truy cập giao dịch mua của mình, hãy liên hệ với bộ phận hỗ trợ theo địa chỉ ","error_page.close_button_title":"Đi đến {{appName}}","error_page.error_title_stripe_missing_required_permission":"Thiếu quyền Stripe","error_page.button_close":"Đóng","error_page.error_message_stripe_invalid_tax_origin_address":"Giao dịch mua không thành công vì địa chỉ gốc thuế không hợp lệ. Trong môi trường thực tế, giao dịch mua sẽ hoạt động mà không áp dụng thuế.","error_page.error_message_stripe_tax_not_active":"Giao dịch mua không thành công vì Thuế Stripe chưa được bật. Trong môi trường thực tế, giao dịch mua sẽ hoạt động mà không áp dụng thuế.","error_page.error_only_in_sandbox":"Thông báo này chỉ xuất hiện trong môi trường thử nghiệm.","error_page.error_message_stripe_missing_required_permission":"Giao dịch mua không thành công vì ứng dụng Stripe thiếu một quyền cần thiết. Trong môi trường thực tế, giao dịch mua sẽ hoạt động mà không áp dụng thuế.","error_page.error_title_stripe_tax_not_active":"Thuế Stripe chưa hoạt động","error_page.error_title_stripe_invalid_tax_origin_address":"Địa chỉ gốc thuế không hợp lệ","apple_pay.free_trial":"Dùng thử miễn phí","product_info.price_after_intro_price":"Sau {{introPriceDuration}}, vào {{renewalDate}}","product_info.after_trial":"sau khi dùng thử","product_info.after":"sau","product_info.intro_price_phase_after_trial":"Sau đó {{introPriceDuration}} với giá {{introPrice}}","product_info.intro_price_phase":"{{introPriceDuration}} đầu tiên với giá {{introPrice}}","product_info.intro_price_phase_paid_once":"trả một lần","payment_entry_page.trial_subscription_terms_info":"Sau khi thời gian dùng thử của bạn kết thúc, bạn sẽ bị tính phí {{price}} {{perFrequency}} bắt đầu từ {{renewalDate}}. Bạn có thể hủy bất cứ lúc nào trước ngày này.","payment_entry_page.subscription_info":"Gói đăng ký tự động gia hạn. Hủy bất cứ lúc nào.","payment_entry_page.otp_terms_info":"Bằng cách mua, bạn đồng ý cho phép {{appName}} tính phí bạn theo các điều khoản của họ.","payment_entry_page.terms_link_label":"Điều khoản","payment_entry_page.subscription_terms_info":"Bằng cách đăng ký, bạn đồng ý cho phép {{appName}} tính phí bạn theo các điều khoản của họ cho đến khi bạn hủy.","loading_page.keep_page_open":"Quá trình gần hoàn tất. Vui lòng giữ trang này mở.","loading_page.processing_payment":"Đang xử lý thanh toán","pricing_table.discount":"Giảm giá","pricing_table.subtotal":"Tổng cộng","pricing_dropdown.add_promo_code":"Thêm mã khuyến mãi","discount_input.label":"Mã khuyến mãi"};var le=(r=>(r.PeriodsWeek="periods.week",r.PeriodsMonth="periods.month",r.PeriodsYear="periods.year",r.PeriodsDay="periods.day",r.PeriodsWeekShort="periods.weekShort",r.PeriodsMonthShort="periods.monthShort",r.PeriodsYearShort="periods.yearShort",r.PeriodsDayShort="periods.dayShort",r.PeriodsLifetime="periods.lifetime",r.PeriodsWeekPlural="periods.weekPlural",r.PeriodsMonthPlural="periods.monthPlural",r.PeriodsYearPlural="periods.yearPlural",r.PeriodsDayPlural="periods.dayPlural",r.PeriodsWeekFrequency="periods.weekFrequency",r.PeriodsMonthFrequency="periods.monthFrequency",r.PeriodsYearFrequency="periods.yearFrequency",r.PeriodsDayFrequency="periods.dayFrequency",r.PeriodsPerWeekFrequency="periods.perWeekFrequency",r.PeriodsPerMonthFrequency="periods.perMonthFrequency",r.PeriodsPerYearFrequency="periods.perYearFrequency",r.PeriodsPerDayFrequency="periods.perDayFrequency",r.PeriodsUnknownFrequency="periods.unknownFrequency",r.PeriodsWeekFrequencyPlural="periods.weekFrequencyPlural",r.PeriodsMonthFrequencyPlural="periods.monthFrequencyPlural",r.PeriodsYearFrequencyPlural="periods.yearFrequencyPlural",r.PeriodsDayFrequencyPlural="periods.dayFrequencyPlural",r.ProductInfoProductTitle="product_info.product_title",r.ProductInfoProductDescription="product_info.product_description",r.ProductInfoProductPrice="product_info.product_price",r.ProductInfoFreeTrialDuration="product_info.free_trial_duration",r.ProductInfoPriceAfterFreeTrial="product_info.price_after_free_trial",r.ProductInfoIntroPricePhaseAfterTrial="product_info.intro_price_phase_after_trial",r.ProductInfoIntroPricePhasePaidOnce="product_info.intro_price_phase_paid_once",r.ProductInfoIntroPricePhase="product_info.intro_price_phase",r.ProductInfoPriceAfterIntroPrice="product_info.price_after_intro_price",r.ProductInfoAfterTrial="product_info.after_trial",r.ProductInfoAfter="product_info.after",r.ProductInfoPriceTotalDueToday="product_info.total_due_today",r.ProductInfoSubscribeTo="product_info.subscribe_to",r.ProductInfoRenewalFrequency="product_info.renewal_frequency",r.ProductInfoContinuesUntilCancelled="product_info.continues_until_cancelled",r.ProductInfoCancelAnytime="product_info.cancel_anytime",r.PaymentEntryPagePaymentStepTitle="payment_entry_page.payment_step_title",r.PaymentEntryPageTrialSubscriptionTermsInfo="payment_entry_page.trial_subscription_terms_info",r.PaymentEntryPageSubscriptionTermsInfo="payment_entry_page.subscription_terms_info",r.PaymentEntryPageOtpTermsInfo="payment_entry_page.otp_terms_info",r.PaymentEntryPageTermsLinkLabel="payment_entry_page.terms_link_label",r.PaymentEntryPageSubscriptionInfo="payment_entry_page.subscription_info",r.PaymentEntryPageButtonPay="payment_entry_page.button_pay",r.PaymentEntryPageButtonStartTrial="payment_entry_page.button_start_trial",r.PaymentEntryPageButtonWithPrice="payment_entry_page.button_with_price",r.PaymentEntryPageButtonPaymentMethod="payment_entry_page.button_payment_method",r.PaymentEntryPageExpressCheckoutDivider="payment_entry_page.express_checkout_divider",r.SuccessPagePurchaseSuccessful="success_page.purchase_successful",r.SuccessPageButtonClose="success_page.button_close",r.LoadingPageProcessingPayment="loading_page.processing_payment",r.LoadingPageKeepPageOpen="loading_page.keep_page_open",r.ErrorPageCloseButtonTitle="error_page.close_button_title",r.ErrorPageIfErrorPersists="error_page.if_error_persists",r.ErrorPageTroubleAccessing="error_page.trouble_accessing",r.ErrorPageErrorTitleAlreadySubscribed="error_page.error_title_already_subscribed",r.ErrorPageErrorTitleAlreadyPurchased="error_page.error_title_already_purchased",r.ErrorPageErrorTitleOtherErrors="error_page.error_title_other_errors",r.ErrorPageErrorTitleStripeTaxNotActive="error_page.error_title_stripe_tax_not_active",r.ErrorPageErrorTitleStripeInvalidTaxOriginAddress="error_page.error_title_stripe_invalid_tax_origin_address",r.ErrorPageErrorTitleStripeMissingRequiredPermission="error_page.error_title_stripe_missing_required_permission",r.ErrorPageErrorMessageAlreadySubscribed="error_page.error_message_already_subscribed",r.ErrorPageErrorMessageAlreadyPurchased="error_page.error_message_already_purchased",r.ErrorPageErrorMessageMissingEmailError="error_page.error_message_missing_email_error",r.ErrorPageErrorMessageInvalidEmailError="error_page.error_message_invalid_email_error",r.ErrorPageErrorMessageNetworkError="error_page.error_message_network_error",r.ErrorPageErrorMessageErrorChargingPayment="error_page.error_message_error_charging_payment",r.ErrorPageErrorMessageErrorSettingUpPurchase="error_page.error_message_error_setting_up_purchase",r.ErrorPageErrorMessageUnknownError="error_page.error_message_unknown_error",r.ErrorPageErrorMessageInvalidTaxLocation="error_page.error_message_invalid_tax_location",r.ErrorPageErrorMessageStripeTaxNotActive="error_page.error_message_stripe_tax_not_active",r.ErrorPageErrorMessageStripeInvalidTaxOriginAddress="error_page.error_message_stripe_invalid_tax_origin_address",r.ErrorPageErrorMessageStripeMissingRequiredPermission="error_page.error_message_stripe_missing_required_permission",r.ErrorPageErrorMessageOnlyInSandbox="error_page.error_only_in_sandbox",r.ErrorButtonTryAgain="error_page.button_try_again",r.ErrorButtonClose="error_page.button_close",r.PaywallVariablesPricePerPeriod="paywall_variables.price_per_period",r.PaywallVariablesSubRelativeDiscount="paywall_variables.sub_relative_discount",r.PaywallVariablesTotalPriceAndPerMonth="paywall_variables.total_price_and_per_month",r.PricingDropdownShowDetails="pricing_dropdown.show_details",r.PricingDropdownHideDetails="pricing_dropdown.hide_details",r.PricingDropdownAddPromoCode="pricing_dropdown.add_promo_code",r.DiscountInputLabel="discount_input.label",r.PricingTotalExcludingTax="pricing_table.total_excluding_tax",r.PricingTableTrialEnds="pricing_table.trial_ends",r.PricingTableTotalDueToday="pricing_table.total_due_today",r.PricingTableSubtotal="pricing_table.subtotal",r.PricingTableDiscount="pricing_table.discount",r.PricingTableTax="pricing_table.tax",r.PricingTableEnterBillingAddressToCalculate="pricing_table.enter_billing_address_to_calculate",r.PricingTableEnterStateOrPostalCodeToCalculate="pricing_table.enter_state_or_postal_code_to_calculate",r.PricingTableEnterPostalCodeToCalculate="pricing_table.enter_postal_code_to_calculate",r.NavbarHeaderDetails="navbar_header.details",r.NavbarBackButton="navbar_header.back_button",r.PriceUpdateTitle="price_update.title",r.PriceUpdateBaseMessage="price_update.base_message",r.PriceUpdateTrialMessage="price_update.trial_message",r.ApplePayFreeTrial="apple_pay.free_trial",r))(le||{});const fm={en:zf,es:jf,it:Nf,ar:Of,ca:Lf,zh_Hans:Bf,zh_Hant:Uf,hr:Rf,cs:Vf,da:Wf,nl:Hf,fi:Yf,fr:Gf,de:Kf,el:Xf,he:Zf,hi:Jf,hu:Qf,id:$f,ja:em,ko:rm,ms:tm,no:nm,pl:am,pt:om,ro:im,ru:sm,sk:lm,sl:cm,sv:um,th:dm,tr:pm,uk:_m,vi:gm};var Me=(r=>(r.Year="year",r.Month="month",r.Week="week",r.Day="day",r))(Me||{});function xo(r){const e=r.match(/^PT?([0-9]+)([MDYW])$/);if(!e||e.length<3)return ye.errorLog(`Invalid ISO 8601 duration format: ${r}`),null;const t=parseInt(e[1]);switch(e[2]){case"Y":return{number:t,unit:"year"};case"M":return{number:t,unit:"month"};case"W":return{number:t,unit:"week"};case"D":return{number:t,unit:"day"};default:return ye.errorLog(`Invalid ISO 8601 unit duration format: ${r}`),null}}function Eo(r,e,t){if(!t)return null;let n=new Date(r);switch(e.unit){case"year":n.getDate()===29&&n.getMonth()===1&&e.number!==4?n.setFullYear(n.getFullYear()+e.number,n.getMonth(),28):n.setFullYear(n.getFullYear()+e.number,n.getMonth(),n.getDate());break;case"month":n.setMonth(n.getMonth()+e.number,n.getDate()),n.getDate()!==r.getDate()&&(n=new Date(r),n.setMonth(n.getMonth()+e.number+1,0));break;case"week":n.setDate(n.getDate()+e.number*7);break;case"day":n.setDate(n.getDate()+e.number);break}return n}const la=r=>{if(!r)return r;const e=r.replace(/_/g,"-");try{const[n]=Intl.getCanonicalLocales(e);if(n)return n}catch{}const t=e.split("-")[0];try{const[n]=Intl.getCanonicalLocales(t);if(n)return n}catch{}return t},mm=r=>r/1e6,Ku=new Map;function hm(r){const e=Ku.get(r);if(e!==void 0)return e;let t;try{t=new Intl.NumberFormat("en",{style:"currency",currency:r}).resolvedOptions().maximumFractionDigits??2}catch{t=2}return Ku.set(r,t),t}function bi(r,e){const n=10**(6-hm(e)),a=Math.round(r/n*1e9)/1e9;return Math.floor(a)*n}const bn=(r,e,t,n={})=>{const a=mm(r),i={style:"currency",currency:e,currencyDisplay:"symbol",...n,minimumFractionDigits:n.maximumFractionDigits};return new Intl.NumberFormat(la(t),i).format(a).replace("US$","$")},vm=(r,e)=>{const t=xo(r);return t?e.translatePeriod(t.number,t.unit)||`${t.number} ${t.unit}s`:r},ym=r=>{try{return r.charAt(0).toUpperCase()+r.slice(1)}catch{return r}},Ra={noWhitespace:!1,short:!1},Xu={useMultipleWords:!1};class qn{constructor(e={},t=Wr,n=Wr){Q(this,"locales",{});this.selectedLocale=t,this.defaultLocale=n;const a={};Object.entries(fm).forEach(([i,s])=>{a[i]=new Zu(s,i)}),this.locales=a,e&&this.override(e)}static fallback(){return new qn}override(e){Object.entries(e).forEach(([t,n])=>{this.locales[t]=new Zu({...this.locales[t].labels||{},...n},this.getLanguageCodeString(t))})}formatPrice(e,t){const n={currencyDisplay:"narrowSymbol"};e===0&&(n.maximumFractionDigits=0);try{return bn(e,t,this.bcp47Locale,n)}catch{ye.errorLog(`Failed to create a price formatter for locale: ${this.bcp47Locale}`)}try{return bn(e,t,this.fallbackBcp47Locale,n)}catch{ye.errorLog(`Failed to create a price formatter for locale: ${this.fallbackBcp47Locale}`)}return bn(e,t,Wr,n)}get bcp47Locale(){var e;return la((e=this.getLocaleInstance(this.selectedLocale))==null?void 0:e.localeKey)||la(this.getLanguageCodeString(this.selectedLocale))||Wr}get fallbackBcp47Locale(){var e;return la((e=this.getLocaleInstance(this.defaultLocale))==null?void 0:e.localeKey)||la(this.getLanguageCodeString(this.defaultLocale))||Wr}getLanguageCodeString(e){return e.split("_")[0].split("-")[0]}getLocaleInstance(e){const t=this.getLanguageCodeString(e);return this.locales[e]||this.locales[t]}translate(e,t){const n=this.getLocaleInstance(this.selectedLocale),a=this.getLocaleInstance(this.defaultLocale);return(n==null?void 0:n.translate(e,t))||(a==null?void 0:a.translate(e,t))||""}formatCountry(e){return new Intl.DisplayNames([this.bcp47Locale],{type:"region"}).of(e)||e}translatePeriod(e,t,n=Ra){const a=this.getLocaleInstance(this.selectedLocale),i=this.getLocaleInstance(this.defaultLocale);return(a==null?void 0:a.translatePeriod(e,t,n))||(i==null?void 0:i.translatePeriod(e,t,n))}translatePeriodUnit(e,t=Ra){const n=this.getLocaleInstance(this.selectedLocale),a=this.getLocaleInstance(this.defaultLocale);return(n==null?void 0:n.translatePeriodUnit(e,t))||(a==null?void 0:a.translatePeriodUnit(e,t))}translatePeriodFrequency(e,t,n=Xu){const a=this.getLocaleInstance(this.selectedLocale),i=this.getLocaleInstance(this.defaultLocale);return(a==null?void 0:a.translatePeriodFrequency(e,t,n))||(i==null?void 0:i.translatePeriodFrequency(e,t,n))}translateDate(e,t={}){const n=this.getLocaleInstance(this.selectedLocale),a=this.getLocaleInstance(this.defaultLocale);return(n==null?void 0:n.translateDate(e,t))||(a==null?void 0:a.translateDate(e,t))}}class Zu{constructor(e={},t){this.labels=e,this.localeKey=t}replaceVariables(e,t){return Object.entries(t).reduce((n,[a,i])=>n.replace(`{{${a}}}`,`${i??""}`),e)}translate(e,t){const n=this.labels[e];if(n)return this.replaceVariables(n,t||{})}translatePeriod(e,t,n=Ra){var l;const{noWhitespace:a,short:i}={...Ra,...n},s=i?`periods.${t}Short`:Math.abs(e)===1?`periods.${t}`:`periods.${t}Plural`;return(l=this.translate(s,{amount:e.toString()}))==null?void 0:l.replace(" ",a?"":" ")}translatePeriodUnit(e,t=Ra){var s;const{noWhitespace:n,short:a}={...Ra,...t},i=`periods.${e}${a?"Short":""}`;return(s=this.translate(i,{amount:""}))==null?void 0:s.replace(" ",n?"":" ")}translatePeriodFrequency(e,t,n=Xu){const a=n==null?void 0:n.useMultipleWords,i=Math.abs(e)===1?`periods.${a===!0?"per":""}${a?ym(t.toString()):t}Frequency`:`periods.${t}FrequencyPlural`;return this.translate(i,{amount:e.toString()})}translateDate(e,t={}){return e.toLocaleDateString(la(this.localeKey),t)}}function bm(r){return r!=null}var Ju=(r=>(r.Unknown="unknown",r.Custom="custom",r.Lifetime="$rc_lifetime",r.Annual="$rc_annual",r.SixMonth="$rc_six_month",r.ThreeMonth="$rc_three_month",r.TwoMonth="$rc_two_month",r.Monthly="$rc_monthly",r.Weekly="$rc_weekly",r))(Ju||{}),Kr=(r=>(r.Subscription="subscription",r.Consumable="consumable",r.NonConsumable="non_consumable",r))(Kr||{});const Ks=(r,e)=>({amount:r/1e4,amountMicros:r,currency:e,formattedPrice:bn(r,e)}),Qu=r=>Ks(r.amount_micros,r.currency),Xs=r=>{const e=r.period_duration,t=r.price?Qu(r.price):null,n=e?xo(e):null;let a=null,i=null,s=null;if(t!==null&&n!==null){const l=km(n),c=1e4,u=bi(t.amountMicros*l.toWeek,t.currency);a={amount:u/c,amountMicros:u,currency:t.currency,formattedPrice:bn(u,t.currency)};const d=bi(t.amountMicros*l.toMonth,t.currency);i={amount:d/c,amountMicros:d,currency:t.currency,formattedPrice:bn(d,t.currency)};const p=bi(t.amountMicros*l.toYear,t.currency);s={amount:p/c,amountMicros:p,currency:t.currency,formattedPrice:bn(p,t.currency)}}return{periodDuration:e,period:n,cycleCount:r.cycle_count,price:t,pricePerWeek:a,pricePerMonth:i,pricePerYear:s}},$u=(r,e)=>{const t=r.duration_mode??"one_time";let n=r.time_window??null;(t==="one_time"||t==="forever")&&n===null&&e!==null&&(n=e);let a=null,i=null;const s=n?xo(n):null;return s&&(a={number:1,unit:s.unit},i=t==="forever"?0:s.number),{timeWindow:r.time_window,durationMode:t,price:Ks(r.amount_micros,r.currency),name:r.name,period:a,cycleCount:i??0,periodDuration:n,discountType:r.discount_type,percentage:r.percentage??null,fixedAmount:r.fixed_amount_micros!=null?Ks(r.fixed_amount_micros,r.currency):null}};function km(r){const{number:e,unit:t}=r,n=7,a=30,i=365;let s;switch(t){case Me.Day:s=e;break;case Me.Week:s=e*n;break;case Me.Month:s=e*a;break;case Me.Year:s=e*i;break;default:s=0,ye.errorLog(`Unknown period unit: ${t}`)}const l=s>0?n/s:0,c=s>0?a/s:0,u=s>0?i/s:0;return{toWeek:l,toMonth:c,toYear:u}}const ed=r=>{var e;return r.base==null?(ye.debugLog("Missing base phase for subscription option. Ignoring."),null):{id:r.id,priceId:r.price_id,base:Xs(r.base),trial:r.trial?Xs(r.trial):null,introPrice:r.intro_price?Xs(r.intro_price):null,discount:r.discount?$u(r.discount,(e=r.base)==null?void 0:e.period_duration):null}},rd=r=>r.base_price==null?(ye.debugLog("Missing base price for non-subscription option. Ignoring."),null):{id:r.id,priceId:r.price_id,basePrice:Qu(r.base_price),discount:r.discount?$u(r.discount,null):null},wm=(r,e)=>{const t=r.product_type;return t==="subscription"?Em(r,e,t):xm(r,e,t)},Pm=(r,e)=>r==="subscription"?"base"in e?ed(e):null:"base_price"in e?rd(e):null,xm=(r,e,t)=>{const n={};if(Object.entries(r.purchase_options).forEach(([s,l])=>{const c=rd(l);c!=null&&(n[s]=c)}),Object.keys(n).length===0)return ye.debugLog(`Product ${r.identifier} has no purchase options. Ignoring.`),null;const a=r.default_purchase_option_id,i=a&&a in r.purchase_options?n[a]:null;return i==null?(ye.debugLog(`Product ${r.identifier} has no default purchase option. Ignoring.`),null):{identifier:r.identifier,displayName:r.title,title:r.title,description:r.description,productType:t,currentPrice:i.basePrice,normalPeriodDuration:null,presentedOfferingIdentifier:e.offeringIdentifier,presentedOfferingContext:e,defaultPurchaseOption:i,defaultSubscriptionOption:null,subscriptionOptions:{},defaultNonSubscriptionOption:i,price:i.basePrice,period:null,freeTrialPhase:null,introPricePhase:null,discountPhase:i.discount}},Em=(r,e,t)=>{const n={};if(Object.entries(r.purchase_options).forEach(([l,c])=>{const u=ed(c);u!=null&&(n[l]=u)}),Object.keys(n).length===0)return ye.debugLog(`Product ${r.identifier} has no subscription options. Ignoring.`),null;const a=r.default_purchase_option_id,i=a&&a in n?n[a]:null;if(i==null)return ye.debugLog(`Product ${r.identifier} has no default subscription option. Ignoring.`),null;const s=i.base.price;return s==null?(ye.debugLog(`Product ${r.identifier} default option has no base price. Ignoring.`),null):{identifier:r.identifier,displayName:r.title,title:r.title,description:r.description,productType:t,currentPrice:s,normalPeriodDuration:i.base.periodDuration,presentedOfferingIdentifier:e.offeringIdentifier,presentedOfferingContext:e,defaultPurchaseOption:i,defaultSubscriptionOption:i,subscriptionOptions:n,defaultNonSubscriptionOption:null,price:s,period:i.base.period,freeTrialPhase:i.trial,introPricePhase:i.introPrice,discountPhase:i.discount}},Sm=(r,e,t)=>{const n=t[e.platform_product_identifier];if(n===void 0)return null;const a=wm(n,r);return a===null?null:{identifier:e.identifier,rcBillingProduct:a,webBillingProduct:a,...e.web_checkout_url?{webCheckoutURL:e.web_checkout_url}:{},packageType:Cm(e.identifier)}},Im=(r,e,t,n,a)=>{const i={offeringIdentifier:e.identifier,targetingContext:r&&n?{ruleId:n.rule_id,revision:n.revision}:null,placementIdentifier:null},s=e.packages.map(c=>Sm(i,c,t)).filter(bm),l={};for(const c of s)c!=null&&(l[c.identifier]=c);return s.length==0?null:{identifier:e.identifier,serverDescription:e.description,metadata:e.metadata,...e.web_checkout_url?{webCheckoutURL:e.web_checkout_url}:{},packagesById:l,availablePackages:s,lifetime:l.$rc_lifetime??null,annual:l.$rc_annual??null,sixMonth:l.$rc_six_month??null,threeMonth:l.$rc_three_month??null,twoMonth:l.$rc_two_month??null,monthly:l.$rc_monthly??null,weekly:l.$rc_weekly??null,hasPaywall:e.paywall_components!=null,paywallComponents:e.paywall_components,...a!==void 0?{uiConfig:a}:{}}};function Cm(r){switch(r){case"$rc_lifetime":return"$rc_lifetime";case"$rc_annual":return"$rc_annual";case"$rc_six_month":return"$rc_six_month";case"$rc_three_month":return"$rc_three_month";case"$rc_two_month":return"$rc_two_month";case"$rc_monthly":return"$rc_monthly";case"$rc_weekly":return"$rc_weekly";default:return r.startsWith("$rc_")?"unknown":"custom"}}Tg();const Tm=`<svg viewBox="0 0 124 124" fill="var(--rc-color-grey-text-dark)" xmlns="http://www.w3.org/2000/svg">
3
3
  <circle cx="62" cy="62" r="62" fill="var(--rc-color-grey-text-dark)" opacity="0.2"/>
4
4
  <path d="M87.6668 41.504L82.4968 36.334L62.0002 56.8307L41.5035 36.334L36.3335 41.504L56.8302 62.0006L36.3335 82.4973L41.5035 87.6673L62.0002 67.1706L82.4968 87.6673L87.6668 82.4973L67.1702 62.0006L87.6668 41.504Z"
5
5
  />
6
6
  </svg>
7
- `;var Im=W('<div style="color:var(--rc-color-primary);"><!></div>');function $u(r){var e=Im(),t=T(e);fn(t,()=>Sm),P(r,e)}const ed=Symbol("inputValidation"),rd=Symbol("initialInputSelections");function Cm(){const r=Or(!0);return{isSatisfied:r,updateSatisfaction:t=>{r.set(t)}}}function Tm(r){kr(ed,r)}function Zs(){return Xe(ed)}function Dm(r){kr(rd,r)}function td(){return Xe(rd)??{}}const nd=Symbol("localization");function Am(r){const t={getLocalizedString:n=>{var d,p;if(!n)return"";const{selectedLocale:a,defaultLocale:i,localizations:s}=r(),c=(d=s[a??i])==null?void 0:d[n],u=(p=s[i])==null?void 0:p[n];return c??u}};return kr(nd,t),t}function ki(){const r=Xe(nd);if(r===void 0)throw new Error("Localization context not found");return r}const ad=Symbol("paywall");function od(r){kr(ad,r)}function Yr(){const r=Xe(ad);if(r===void 0)throw new Error("Paywall context not found");return r}const id=Symbol("selected");function wi(r){kr(id,r)}function Et(){return Xe(id)??xt(!1)}function qm(r){switch(r.type){case"stack":{const e=[...r.components];return r.badge&&e.push(r.badge.stack),e}case"button":case"purchase_button":case"redemption_button":return[r.stack];case"carousel":return r.pages;case"countdown":{const e=[r.countdown_stack];return r.end_stack&&e.push(r.end_stack),e}case"footer":return[r.stack];case"input_multiple_choice":case"input_single_choice":case"input_option":return[r.stack];case"tabs":return[r.control.stack,...r.tabs];case"tab":return[r.stack];case"tab_control_button":return[r.stack];case"timeline":return r.items.flatMap(e=>{const t=[e.icon,e.title];return e.description&&t.push(e.description),t});case"express_purchase_button":return[r.wallet_unknown_stack,r.wallet_available_stack,r.wallet_unavailable_stack];default:return[]}}function Pi(r,e){const t=[r];for(;t.length>0;){const n=t.pop();if(n.type==="package"&&e(n))return n;const a=qm(n);for(let i=a.length-1;i>=0;i--)t.push(a[i])}}function Mm({stack:r,sticky_footer:e}){const t=Pi(r,a=>a.is_selected_by_default);if(t!==void 0)return t.package_id;const n=Pi(r,()=>!0);if(n!==void 0)return n.package_id;if(e!=null){const a=Pi(e,s=>s.is_selected_by_default);if(a!==void 0)return a.package_id;const i=Pi(e,()=>!0);if(i!==void 0)return i.package_id}}const St=(r,e)=>{if(!r)return{};const t=e==null?void 0:e.find(n=>n.conditions.find(a=>a.type==="selected"));return(t==null?void 0:t.properties)??{}},Fm=(r,e)=>{if(!r)return{};const t=e==null?void 0:e.find(n=>n.conditions.find(a=>a.type==="hover"));return(t==null?void 0:t.properties)??{}},zm=(r,e)=>{if(!r)return{};const t=e==null?void 0:e.find(n=>n.conditions.find(a=>a.type==="focus"));return(t==null?void 0:t.properties)??{}},jm=(r,e)=>{if(!r)return{};const t=e==null?void 0:e.find(n=>n.conditions.find(a=>a.type==="error"));return(t==null?void 0:t.properties)??{}},Nm=(r,e)=>{if(!r)return{};const t=e==null?void 0:e.find(n=>n.conditions.find(a=>a.type==="intro_offer"));return(t==null?void 0:t.properties)??{}},Om=(r,e)=>{if(!r)return{};const t=e==null?void 0:e.find(n=>n.conditions.find(a=>a.type==="promo_offer"));return(t==null?void 0:t.properties)??{}},qn=(r,e,t)=>t===!1?!1:!(e==null?void 0:e.find(a=>a.properties.visible!==!1?!1:a.conditions.every(s=>Lm(s,r)))),Lm=(r,e)=>{var t,n,a;if(r.type==="intro_offer_condition"){const i=!!((t=e.packageInfo)!=null&&t.hasIntroOffer)||!!((n=e.packageInfo)!=null&&n.hasTrial);if(r.operator==="=")return i===r.value;if(r.operator==="!=")return i!==r.value}if(r.type==="promo_offer_condition"){const i=!!((a=e.packageInfo)!=null&&a.hasPromoOffer);if(r.operator==="=")return i===r.value;if(r.operator==="!=")return i!==r.value}if(r.type==="selected_package_condition"){const i=e.selectedPackageId??"";if(r.operator==="in")return r.packages.includes(i);if(r.operator==="not in")return!r.packages.includes(i)}if(r.type==="variable_condition"){const i=r.variable.replace(/^\$?custom\./,""),s=e.variables[i],l=r.value,c=String(typeof l=="object"&&l!==null&&"value"in l?l.value:l);if(r.operator==="=")return s===c;if(r.operator==="!=")return s!==c}return!1};function Bm(r,e){fe(e,!0);const t=()=>pe(c,"$selectedState",i),n=()=>pe(h,"$inputSatisfied",i),a=()=>pe(f,"$selectedPackageId",i),[i,s]=Ye(),l=Er(e,["$$slots","$$events","$$legacy"]),c=Et(),u=m(()=>({...l,...St(t(),e.overrides)})),d=m(()=>o(u).action),{emitComponentInteraction:p,onButtonAction:_,hideBackButtons:g,selectedPackageId:f}=Yr(),v=Zs(),{getLocalizedString:y}=ki(),h=(v==null?void 0:v.isSatisfied)??xt(!0),w=m(()=>(o(d).type==="workflow"||o(d).type==="complete_workflow")&&!n()),k=()=>{switch(o(d).type){case"workflow":return{componentType:"button",componentName:e.name,componentValue:"workflow"};case"complete_workflow":{const C=y(o(d).url.url_lid);return{componentType:"button",componentName:e.name,componentValue:"navigate_to_url",...C?{componentURL:C}:{}}}case"navigate_back":return{componentType:"button",componentName:e.name,componentValue:"navigate_back"};case"navigate_to_page":return{componentType:"button",componentName:e.name,componentValue:"navigate_to_page"};case"close_workflow":return{componentType:"button",componentName:e.name,componentValue:"close_workflow"};case"restore_purchases":return{componentType:"button",componentName:e.name,componentValue:"restore_purchases"}}switch(o(d).destination){case"customer_center":return{componentType:"button",componentName:e.name,componentValue:"navigate_to_customer_center"};case"screen_redirect":return{componentType:"button",componentName:e.name,componentValue:"screen_redirect"};case"privacy_policy":case"terms":case"url":{const C=y(o(d).url.url_lid);return{componentType:"button",componentName:e.name,componentValue:o(d).destination==="privacy_policy"?"navigate_to_privacy_policy":o(d).destination==="terms"?"navigate_to_terms":"navigate_to_url",...C?{componentURL:C}:{}}}case"sheet":throw new Error("Sheet actions must be handled by the sheet branches in onclick");case"offer_code":return{componentType:"button",componentName:e.name,componentValue:"navigate_to_offer_code"};case"web_paywall_link":return{componentType:"button",componentName:e.name,componentValue:"navigate_to_web_paywall_link"}}},b=C=>{var B;return{componentType:"package_selection_sheet",componentName:((B=C.sheet)==null?void 0:B.name)??e.name,componentValue:"open",currentPackageId:a()}},x=()=>{var B;if(o(w))return;const C=(B=e.triggers)==null?void 0:B.on_press;if(o(d).type==="navigate_to"&&o(d).destination==="sheet"){o(d).sheet!=null&&p(b(o(d))),_(o(d),C);return}p(k()),_(o(d),C)},I=m(()=>{switch(o(d).type){case"workflow":return!0;case"complete_workflow":return!0;case"restore_purchases":return!1;case"navigate_back":return!g;case"navigate_to_page":return!0;case"close_workflow":return!0;case"navigate_to":return o(d).destination!=="web_paywall_link";default:return!0}}),S=m(()=>o(w)?{opacity:"0.4","pointer-events":"none",cursor:"not-allowed"}:void 0);var q=xe(),E=ae(q);{var D=C=>{{let B=m(()=>`button-${o(d).type}`);Fr(C,dr(()=>e.stack,{onclick:x,get style(){return o(S)},get testId(){return o(B)}}))}};K(E,C=>{o(I)&&C(D)})}P(r,q),me(),s()}const sd=1e3,Js="light",Rm="#000000",Eo={top:0,bottom:0,leading:0,trailing:0};class Um{constructor(e,t){Ge(this,Go);Ge(this,Ko);We(this,Go,e),We(this,Ko,Bc(t))}get current(){return J(this,Ko).call(this),J(this,Go).call(this)}}Go=new WeakMap,Ko=new WeakMap;const Vm=/\(.+\)/,Wm=new Set(["all","print","screen","and","or","not","only"]);class Hm extends Um{constructor(e,t){let n=Vm.test(e)||e.split(/[\s,]+/).some(i=>Wm.has(i.trim()))?e:`(${e})`;const a=window.matchMedia(n);super(()=>a.matches,i=>Zg(a,"change",i))}}const ld=Symbol("color-mode");function Ym(r){const e=new Hm("prefers-color-scheme: dark",((r==null?void 0:r())??Js)==="dark"),t=()=>(r==null?void 0:r())??(e.current?"dark":Js);return kr(ld,t),t}function st(){return Xe(ld)??(()=>Js)}const Qs=Symbol("packageInfo");function cd(r){kr(Qs,r)}function Gm(){const r=Xe(Qs);if(r===void 0)throw new Error("PackageInfo context not found");return r}const Km=xt(void 0);function Mn(){return Xe(Qs)??Km}const $s=Symbol("variables");function el(r){kr($s,r)}function rl(){const r=Xe($s);if(r===void 0)throw new Error("Variables context not found");return r}const Xm=xt(void 0);function Fn(){return Xe($s)??Xm}var ud;(function(r){r.body_s="p",r.body_m="p",r.body_l="p",r.body_xl="p",r.heading_xs="h6",r.heading_s="h5",r.heading_m="h4",r.heading_l="h3",r.heading_xl="h2",r.heading_xxl="h1"})(ud||(ud={}));var Ra;(function(r){r[r.extra_light=100]="extra_light",r[r.thin=200]="thin",r[r.light=300]="light",r[r.regular=400]="regular",r[r.medium=500]="medium",r[r.semibold=600]="semibold",r[r.bold=700]="bold",r[r.extra_bold=800]="extra_bold",r[r.black=900]="black"})(Ra||(Ra={}));var xi;(function(r){r.body_s="13px",r.body_m="14px",r.body_l="15px",r.body_xl="16px",r.heading_xs="14px",r.heading_s="16px",r.heading_m="18px",r.heading_l="20px",r.heading_xl="26px",r.heading_xxl="32px"})(xi||(xi={}));var zn;(function(r){r.leading="start",r.center="center",r.trailing="end"})(zn||(zn={}));var dd;(function(r){r.vertical="column",r.horizontal="row",r.zlayer="zstack"})(dd||(dd={}));var pd;(function(r){r.top="flex-start",r.leading="flex-start",r.center="center",r.bottom="flex-end",r.trailing="flex-end"})(pd||(pd={}));var _d;(function(r){r.space_between="space-between",r.space_around="space-around",r.space_evenly="space-evenly",r.start="flex-start",r.center="center",r.end="flex-end"})(_d||(_d={}));function ir(r){return Object.entries(r).map(([e,t])=>`${e}:${t}`).join(";")}function Gr(r){return`${r}px`}function gd(...r){return r.map(Gr).join(" ")}function et(r,e){return e[r]??e.light}function Sr(r){switch(r.type){case"fill":return navigator.userAgent.includes("Firefox")?"-moz-available":"-webkit-fill-available";case"fit":return"fit-content";case"fixed":return Gr(r.value);case"relative":return`${r.value*100}%`}}function Pr(r){const{top:e,bottom:t,leading:n,trailing:a}=r??Eo;return gd(e,a,t,n)}function So(r){if(r.type==="alias"||r.type==="hex")return r.value;const e=r.points.map(t=>`${t.color} ${t.percent}%`).join(", ");switch(r.type){case"linear":return`linear-gradient(${r.degrees}deg, ${e})`;case"radial":return`radial-gradient(circle, ${e})`}}function lt(r,e){if(e==null)return"transparent";const t=et(r,e);return So(t)}function Ei(r,e){return e==null?"transparent":lt(r,e)}function jn(r,e){const t={"--rc-border-display":"none","--rc-border-bg":"transparent","--rc-border-width":"0px"};if(e==null)return{border:"none",...t};const{width:n}=e,a=et(r,e.color),i=So(a);return a.type==="alias"||a.type==="hex"?{border:`${n}px solid ${i}`,...t}:{border:`${n}px solid transparent`,"--rc-border-display":"block","--rc-border-bg":i,"--rc-border-width":`${n}px`}}function Zm(r){if(r==null)return"0";const{top_leading:e,top_trailing:t,bottom_trailing:n,bottom_leading:a}=r;return gd(e,t,n,a)}function Nn(r){switch(r==null?void 0:r.type){case void 0:case"concave":case"convex":return"0";case"rectangle":return`${Zm(r.corners)}`;case"circle":case"pill":return"9999px"}}function la(r,e){if(e==null)return"none";const{x:t,y:n,radius:a}=e,i=lt(r,e.color);return`${t}px ${n}px ${a}px ${i}`}function Ua(r){switch(r){case"fill":return"cover";case"fit":return"contain"}}function Jm(r,e){const t=et(r,e),n=String(t.url_low_res??"").trim();return{url:t.url,url_low_res:n.length>0?n:null}}function Io(r,e){const t=$m(e),n=Jm(r,e.value);return{url:n.url,url_low_res:n.url_low_res,fit:Ua(t.fit_mode),position:t.fit_mode==="fill"?"center":"top center",overlay:Ei(r,e.color_overlay),mute:t.mute_audio,loop:t.loop,posterWebp:t.fallback_image?et(r,t.fallback_image).webp:null}}function Qm(r,e){return`url(${et(r,e).webp})`}function $m(r){return{fit_mode:r.fit_mode??"fill",mute_audio:r.mute_audio??!0,loop:r.loop??!0,fallback_image:r.fallback_image??null}}function eh(r,e,t){return t==null?e==null?"none":lt(r,e):t.type==="color"?lt(r,e??t.value):t.type==="image"?Qm(r,t.value):"transparent"}function rh(r,e){var a,i;const t=(i=(a=r==null?void 0:r.components_config)==null?void 0:a.base)==null?void 0:i.background;if(t==null)return{kind:"none"};if(t.type==="video"){const s=Io(e,t);return{kind:"video",url:s.url,url_low_res:s.url_low_res,fit:s.fit,position:s.position,overlay:s.overlay,mute:s.mute,loop:s.loop,posterWebp:s.posterWebp}}if(t.type!=="image"){const s=On(e,null,t),l=s["--overlay"]??"none",c={...s};return delete c["--overlay"],{kind:"style",style:c,overlay:l}}return{kind:"image",src:et(e,t.value).webp,fit:Ua(t.fit_mode),position:t.fit_mode==="fill"?"center":"top center",overlay:Ei(e,t.color_overlay)}}function On(r,e,t){if((t==null?void 0:t.type)==="video")return{background:"transparent","--overlay":Ei(r,t.color_overlay)};const n=eh(r,e,t);if((t==null?void 0:t.type)!=="image")return{background:n,"--overlay":"none"};const{fit_mode:a,color_overlay:i}=t;return{background:n,"background-size":Ua(a),"background-position":a==="fill"?"center":"top center","background-repeat":"no-repeat","--overlay":Ei(r,i)}}function tl(r){return r.startsWith("RCFM:")}function Co(r){return`RevCatPaywall-${r}`}async function th(r){var t;if(!r.app.fonts||typeof document>"u")return;const e=[];for(const[n,a]of Object.entries(r.app.fonts)){const i=a.web;if(!i||!i.url||!i.family){console.warn(`[Font Registration] Skipping font ${n}: missing web config or required fields`);continue}try{const s=`${Co(i.family)}-${i.style}-${i.weight}`,l=new FontFace(s,`url(${i.url})`,{weight:((t=i.weight)==null?void 0:t.toString())||"400",style:i.style||"normal"});l.family=Co(i.family);const c=l.load().then(()=>{document.fonts.add(l),console.debug(`[Font Registration] Successfully registered font: ${s} (${i.family}, ${i.weight}, ${i.style})`)}).catch(u=>{console.warn(`[Font Registration] Failed to load font ${i.family}:`,u)});e.push(c)}catch(s){console.warn(`[Font Registration] Failed to create FontFace for ${n}:`,s)}}try{await Promise.allSettled(e),console.debug(`[Font Registration] Font registration complete. Processed ${e.length} fonts.`)}catch(n){console.warn("[Font Registration] Unexpected error during font registration:",n)}}function nh(r){return r.charAt(0).toUpperCase()+r.slice(1).toLowerCase()}const ah={uppercase:r=>String(r??"").toUpperCase(),lowercase:r=>String(r??"").toLowerCase(),capitalize:r=>String(r??"").replaceAll(new RegExp("(\\p{Letter}+)","giu"),nh)},oh=/^\$?custom\./;function ih(r,e){const t=/\{\{\s*([$a-z0-9._-]+)(?:\s*\|\s*([^}]*))?\s*\}\}/gi;return r.replace(t,(n,a,i)=>{var d;const s=(d=a==null?void 0:a.trim())==null?void 0:d.replace(oh,""),l=s&&e[s];if(l===void 0)return"";const c=i==null?void 0:i.trim();if(c===void 0)return l;const u=ah[c];return u?u(l):l})}function fd(r="",e){return ih(r,e??{})}const sh={light:{type:"hex",value:Rm}};function nl(r,e){const t=et(r,e),n=So(t);switch(t.type){case"alias":case"hex":return{color:n};case"linear":case"radial":return{color:"transparent",background:n,"-webkit-background-clip":"text","background-clip":"text"}}}const lh=(r,e,t)=>{var f;const{font_name:n,font_size:a,font_weight:i,font_weight_int:s,horizontal_alignment:l,color:c=sh,padding:u,margin:d,size:p}=e,_=t[n??""],g=(f=_==null?void 0:_.web)==null?void 0:f.family;return ir({display:"block",width:Sr(p.width),height:Sr(p.height),margin:Pr(d),padding:Pr(u),...nl(r,c),"text-align":zn[l]||zn.leading,"font-weight":s??Ra[i]??Ra.regular,"font-size":Number.isInteger(Number(a))?`${a}px`:xi[a]||xi.body_m,"font-family":tl(n??"")?Co(g??""):"sans-serif"})};function ch(r,e,t,n){return ir({display:"block",position:"relative",width:Sr(t.width),height:Sr(t.height),...On(r,n,null)})}function uh(r){if(!r)return"";const e=[],t=r.replaceAll(/\\([\\`*_[\]{}()#+\-.!~])/g,(i,s)=>(e.push(s),`\0RC_ESCAPED_MARKDOWN_${e.length-1}\0`)),a=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((i,{regexp:s,output:l})=>i.replaceAll(s,l),t);return e.reduce((i,s,l)=>i.replaceAll(`\0RC_ESCAPED_MARKDOWN_${l}\0`,s),a)}var dh=W('<div class="rc-gradient-border"><input class="svelte-kmfxfv"/></div>');const ph={hash:"svelte-kmfxfv",code:"input.svelte-kmfxfv {width:100%;height:100%;border:none;background:transparent;border-radius:inherit;}input.svelte-kmfxfv:focus-visible {outline:none;}input.svelte-kmfxfv::placeholder {color:var(--placeholder-color);background:var(--placeholder-background);background-clip:var(--placeholder-background-clip);-webkit-background-clip:var(--placeholder-webkit-background-clip);text-align:var(--placeholder-text-align);font-weight:var(--placeholder-font-weight);font-size:var(--placeholder-font-size);font-family:var(--placeholder-font-family);}"};function _h(r,e){fe(e,!0),ke(r,ph);const t=()=>pe(Pe,"$variables",i),n=()=>pe(O,"$selectedPackageId",i),a=()=>pe(U,"$packageInfo",i),[i,s]=Ye(),l=Er(e,["$$slots","$$events","$$legacy"]);let c=re(!1),u=re(!1);const d=m(()=>({...l,...zm(o(c),e.overrides),...jm(o(u),e.overrides)})),p=m(()=>o(d).placeholder_lid),_=m(()=>o(d).keyboard_type),g=m(()=>o(d).capitalize),f=m(()=>o(d).field_id),v=m(()=>o(d).reserved_attribute),y=m(()=>o(d).required),h=m(()=>o(d).size),w=m(()=>o(d).padding),k=m(()=>o(d).margin),b=m(()=>o(d).vertical_alignment),x=m(()=>o(d).border),I=m(()=>o(d).shape),S=m(()=>o(d).shadow),q=m(()=>o(d).font_name),E=m(()=>o(d).font_weight_int),D=m(()=>o(d).font_size),C=m(()=>o(d).horizontal_alignment),B=m(()=>o(d).color),F=m(()=>o(d).placeholder_font_name),z=m(()=>o(d).placeholder_font_weight_int),L=m(()=>o(d).placeholder_font_size),A=m(()=>o(d).placeholder_horizontal_alignment),M=m(()=>o(d).placeholder_color),N=m(()=>o(d).background_color);function H(ne){if(j(u,!ne.validity.valid),o(u))return;const ge=ne.value.trim();o(v)?V?V(o(v),ge):console.error("onReservedAttributeChanged is not set"):G==null||G(o(f),ge)}const X=ne=>{o(u)&&H(ne.currentTarget)},R=ne=>{j(c,!1),H(ne.currentTarget)},$=st(),ce=m($),{uiConfig:de,onInputChanged:G,onReservedAttributeChanged:V,selectedPackageId:O}=Yr(),U=Mn(),te=m(()=>o(b)==="top"?"flex-start":o(b)==="bottom"?"flex-end":null),ue=m(()=>ir({display:"flex",...o(te)?{"align-items":o(te)}:{},width:Sr(o(h).width),height:Sr(o(h).height),margin:Pr(o(k)),...On(o(ce),o(N),null),...jn(o(ce),o(x)),"border-radius":Nn(o(I)),"box-shadow":la(o(ce),o(S))})),Se=m(()=>{var er,hr;const ne=de.app.fonts[o(q)??""],ge=(er=ne==null?void 0:ne.web)==null?void 0:er.family,le=de.app.fonts[o(F)??""],Ce=(hr=le==null?void 0:le.web)==null?void 0:hr.family,Ke=nl(o(ce),o(M));return ir({...o(te)?{height:"auto"}:{},padding:Pr(o(w)),...nl(o(ce),o(B)),"text-align":zn[o(C)]||zn.leading,"font-weight":o(E)??Ra.regular,"font-size":`${o(D)}px`,"font-family":tl(o(q)??"")?Co(ge??""):"sans-serif","--placeholder-color":Ke.color,"--placeholder-background":Ke.background,"--placeholder-background-clip":Ke["background-clip"],"--placeholder-webkit-background-clip":Ke["-webkit-background-clip"],"--placeholder-text-align":zn[o(A)]||zn.leading,"--placeholder-font-weight":o(z)??Ra.regular,"--placeholder-font-size":`${o(L)}px`,"--placeholder-font-family":tl(o(F)??"")?Co(Ce??""):"sans-serif"})}),Pe=Fn(),{getLocalizedString:Te}=ki(),Ne=m(()=>fd(Te(o(p)),t())),ze=m(()=>{switch(e.keyboard_type){case"decimal":case"numeric":return"number";case"email":return"email";case"tel":return"tel";case"text":return"text";case"url":return"url"}}),Ie=m(()=>qn({selectedPackageId:n(),packageInfo:a(),variables:t()??{}},e.overrides,e.visible));var Ee=xe(),Be=ae(Ee);{var Ve=ne=>{var ge=dh(),le=T(ge);le.__input=X,Z(()=>{De(ge,o(ue)),be(le,"type",o(ze)),be(le,"placeholder",o(Ne)),le.required=o(y),be(le,"inputmode",o(_)),be(le,"autocapitalize",o(g)),De(le,o(Se))}),Nr("focus",le,()=>j(c,!0)),Nr("blur",le,R),P(ne,ge)};K(Be,ne=>{o(Ie)&&ne(Ve)})}P(r,Ee),me(),s()}_n(["input"]);const md=Symbol("inputChoice");function hd(r,e,t=!1,n=null,a=[]){const i=Or(new Set(a)),s=zt(i,d=>(n==null?void 0:n.max)==null?!1:d.size>=n.max),l=zt(i,d=>{const p=d.size;return!t&&n==null?!0:t&&n==null?p>=1:t&&n!=null?n.min===n.max?p===n.min:p>=n.min&&p<=n.max:!0});let c=!1;return s.subscribe(d=>c=d),{fieldId:r,mode:e,required:t,selectionRange:n,selectedOptionIds:i,selectOption:d=>{i.update(p=>{if(e==="single")return new Set([d]);const _=new Set(p);return _.has(d)?_.delete(d):c||_.add(d),_})},isAtMax:s,isSatisfied:l}}function vd(r){kr(md,r)}function gh(){return Xe(md)}function fh(r,e){fe(e,!0);const t=Er(e,["$$slots","$$events","$$legacy"]),{stack:n,field_id:a,required:i=!1,selection_range:s=null}=t,c=td()[a]??[],u=hd(a,"multiple",i,s,c);vd(u);const d=Zs();if(d){const p=u.isSatisfied.subscribe(_=>{d.updateSatisfaction(_)});Wt(p)}Ao(r,{get nodeData(){return n}}),me()}const yd=Symbol("hover");function mh(r){kr(yd,r)}function hh(){return Xe(yd)??xt(!1)}var vh=W('<div class="option-wrapper svelte-ss40yz"><!></div>');const yh={hash:"svelte-ss40yz",code:".option-wrapper.svelte-ss40yz {display:contents;}"};function bh(r,e){fe(e,!0),ke(r,yh);const t=()=>pe(_,"$isDisabled",n),[n,a]=Ye(),i=Er(e,["$$slots","$$events","$$legacy"]),{stack:s,option_id:l}=i,{onButtonAction:c,onInputChanged:u}=Yr(),d=gh(),p=d?zt(d.selectedOptionIds,b=>b.has(l)):xt(!1);wi(p);const _=d?zt([p,d.isAtMax],([b,x])=>!b&&x):xt(!1),g=Or(!1);mh(g);const f=()=>g.set(!0),v=()=>g.set(!1),y=()=>{var I;if(t())return;const b=(I=e.triggers)==null?void 0:I.on_press;d==null||d.selectOption(l);const x=d==null?void 0:d.fieldId;x&&(u==null||u(x,l,b)),c({type:"workflow"},b)},h=m(()=>t()?{"pointer-events":"none",opacity:"0.4"}:void 0);var w=vh(),k=T(w);Fr(k,dr(()=>s,{onclick:y,get style(){return o(h)}})),Nr("mouseenter",w,f),Nr("mouseleave",w,v),P(r,w),me(),a()}function kh(r,e){fe(e,!0);const t=Er(e,["$$slots","$$events","$$legacy"]),{stack:n,field_id:a,required:i=!1,selection_range:s=null}=t,c=td()[a]??[],u=hd(a,"single",i,s,c);vd(u);const d=Zs();if(d){const p=u.isSatisfied.subscribe(_=>{d.updateSatisfaction(_)});Wt(p)}Ao(r,{get nodeData(){return n}}),me()}function wh(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}var Va={},al,bd;function Ph(){return bd||(bd=1,al=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then}),al}var ol={},Ln={},kd;function ca(){if(kd)return Ln;kd=1;let r;const e=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];return Ln.getSymbolSize=function(n){if(!n)throw new Error('"version" cannot be null or undefined');if(n<1||n>40)throw new Error('"version" should be in range from 1 to 40');return n*4+17},Ln.getSymbolTotalCodewords=function(n){return e[n]},Ln.getBCHDigit=function(t){let n=0;for(;t!==0;)n++,t>>>=1;return n},Ln.setToSJISFunction=function(n){if(typeof n!="function")throw new Error('"toSJISFunc" is not a valid function.');r=n},Ln.isKanjiModeEnabled=function(){return typeof r<"u"},Ln.toSJIS=function(n){return r(n)},Ln}var il={},wd;function sl(){return wd||(wd=1,function(r){r.L={bit:1},r.M={bit:0},r.Q={bit:3},r.H={bit:2};function e(t){if(typeof t!="string")throw new Error("Param is not a string");switch(t.toLowerCase()){case"l":case"low":return r.L;case"m":case"medium":return r.M;case"q":case"quartile":return r.Q;case"h":case"high":return r.H;default:throw new Error("Unknown EC Level: "+t)}}r.isValid=function(n){return n&&typeof n.bit<"u"&&n.bit>=0&&n.bit<4},r.from=function(n,a){if(r.isValid(n))return n;try{return e(n)}catch{return a}}}(il)),il}var ll,Pd;function xh(){if(Pd)return ll;Pd=1;function r(){this.buffer=[],this.length=0}return r.prototype={get:function(e){const t=Math.floor(e/8);return(this.buffer[t]>>>7-e%8&1)===1},put:function(e,t){for(let n=0;n<t;n++)this.putBit((e>>>t-n-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function(e){const t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}},ll=r,ll}var cl,xd;function Eh(){if(xd)return cl;xd=1;function r(e){if(!e||e<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=e,this.data=new Uint8Array(e*e),this.reservedBit=new Uint8Array(e*e)}return r.prototype.set=function(e,t,n,a){const i=e*this.size+t;this.data[i]=n,a&&(this.reservedBit[i]=!0)},r.prototype.get=function(e,t){return this.data[e*this.size+t]},r.prototype.xor=function(e,t,n){this.data[e*this.size+t]^=n},r.prototype.isReserved=function(e,t){return this.reservedBit[e*this.size+t]},cl=r,cl}var ul={},Ed;function Sh(){return Ed||(Ed=1,function(r){const e=ca().getSymbolSize;r.getRowColCoords=function(n){if(n===1)return[];const a=Math.floor(n/7)+2,i=e(n),s=i===145?26:Math.ceil((i-13)/(2*a-2))*2,l=[i-7];for(let c=1;c<a-1;c++)l[c]=l[c-1]-s;return l.push(6),l.reverse()},r.getPositions=function(n){const a=[],i=r.getRowColCoords(n),s=i.length;for(let l=0;l<s;l++)for(let c=0;c<s;c++)l===0&&c===0||l===0&&c===s-1||l===s-1&&c===0||a.push([i[l],i[c]]);return a}}(ul)),ul}var dl={},Sd;function Ih(){if(Sd)return dl;Sd=1;const r=ca().getSymbolSize,e=7;return dl.getPositions=function(n){const a=r(n);return[[0,0],[a-e,0],[0,a-e]]},dl}var pl={},Id;function Ch(){return Id||(Id=1,function(r){r.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};const e={N1:3,N2:3,N3:40,N4:10};r.isValid=function(a){return a!=null&&a!==""&&!isNaN(a)&&a>=0&&a<=7},r.from=function(a){return r.isValid(a)?parseInt(a,10):void 0},r.getPenaltyN1=function(a){const i=a.size;let s=0,l=0,c=0,u=null,d=null;for(let p=0;p<i;p++){l=c=0,u=d=null;for(let _=0;_<i;_++){let g=a.get(p,_);g===u?l++:(l>=5&&(s+=e.N1+(l-5)),u=g,l=1),g=a.get(_,p),g===d?c++:(c>=5&&(s+=e.N1+(c-5)),d=g,c=1)}l>=5&&(s+=e.N1+(l-5)),c>=5&&(s+=e.N1+(c-5))}return s},r.getPenaltyN2=function(a){const i=a.size;let s=0;for(let l=0;l<i-1;l++)for(let c=0;c<i-1;c++){const u=a.get(l,c)+a.get(l,c+1)+a.get(l+1,c)+a.get(l+1,c+1);(u===4||u===0)&&s++}return s*e.N2},r.getPenaltyN3=function(a){const i=a.size;let s=0,l=0,c=0;for(let u=0;u<i;u++){l=c=0;for(let d=0;d<i;d++)l=l<<1&2047|a.get(u,d),d>=10&&(l===1488||l===93)&&s++,c=c<<1&2047|a.get(d,u),d>=10&&(c===1488||c===93)&&s++}return s*e.N3},r.getPenaltyN4=function(a){let i=0;const s=a.data.length;for(let c=0;c<s;c++)i+=a.data[c];return Math.abs(Math.ceil(i*100/s/5)-10)*e.N4};function t(n,a,i){switch(n){case r.Patterns.PATTERN000:return(a+i)%2===0;case r.Patterns.PATTERN001:return a%2===0;case r.Patterns.PATTERN010:return i%3===0;case r.Patterns.PATTERN011:return(a+i)%3===0;case r.Patterns.PATTERN100:return(Math.floor(a/2)+Math.floor(i/3))%2===0;case r.Patterns.PATTERN101:return a*i%2+a*i%3===0;case r.Patterns.PATTERN110:return(a*i%2+a*i%3)%2===0;case r.Patterns.PATTERN111:return(a*i%3+(a+i)%2)%2===0;default:throw new Error("bad maskPattern:"+n)}}r.applyMask=function(a,i){const s=i.size;for(let l=0;l<s;l++)for(let c=0;c<s;c++)i.isReserved(c,l)||i.xor(c,l,t(a,c,l))},r.getBestMask=function(a,i){const s=Object.keys(r.Patterns).length;let l=0,c=1/0;for(let u=0;u<s;u++){i(u),r.applyMask(u,a);const d=r.getPenaltyN1(a)+r.getPenaltyN2(a)+r.getPenaltyN3(a)+r.getPenaltyN4(a);r.applyMask(u,a),d<c&&(c=d,l=u)}return l}}(pl)),pl}var Si={},Cd;function Td(){if(Cd)return Si;Cd=1;const r=sl(),e=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],t=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];return Si.getBlocksCount=function(a,i){switch(i){case r.L:return e[(a-1)*4+0];case r.M:return e[(a-1)*4+1];case r.Q:return e[(a-1)*4+2];case r.H:return e[(a-1)*4+3];default:return}},Si.getTotalCodewordsCount=function(a,i){switch(i){case r.L:return t[(a-1)*4+0];case r.M:return t[(a-1)*4+1];case r.Q:return t[(a-1)*4+2];case r.H:return t[(a-1)*4+3];default:return}},Si}var _l={},To={},Dd;function Th(){if(Dd)return To;Dd=1;const r=new Uint8Array(512),e=new Uint8Array(256);return function(){let n=1;for(let a=0;a<255;a++)r[a]=n,e[n]=a,n<<=1,n&256&&(n^=285);for(let a=255;a<512;a++)r[a]=r[a-255]}(),To.log=function(n){if(n<1)throw new Error("log("+n+")");return e[n]},To.exp=function(n){return r[n]},To.mul=function(n,a){return n===0||a===0?0:r[e[n]+e[a]]},To}var Ad;function Dh(){return Ad||(Ad=1,function(r){const e=Th();r.mul=function(n,a){const i=new Uint8Array(n.length+a.length-1);for(let s=0;s<n.length;s++)for(let l=0;l<a.length;l++)i[s+l]^=e.mul(n[s],a[l]);return i},r.mod=function(n,a){let i=new Uint8Array(n);for(;i.length-a.length>=0;){const s=i[0];for(let c=0;c<a.length;c++)i[c]^=e.mul(a[c],s);let l=0;for(;l<i.length&&i[l]===0;)l++;i=i.slice(l)}return i},r.generateECPolynomial=function(n){let a=new Uint8Array([1]);for(let i=0;i<n;i++)a=r.mul(a,new Uint8Array([1,e.exp(i)]));return a}}(_l)),_l}var gl,qd;function Ah(){if(qd)return gl;qd=1;const r=Dh();function e(t){this.genPoly=void 0,this.degree=t,this.degree&&this.initialize(this.degree)}return e.prototype.initialize=function(n){this.degree=n,this.genPoly=r.generateECPolynomial(this.degree)},e.prototype.encode=function(n){if(!this.genPoly)throw new Error("Encoder not initialized");const a=new Uint8Array(n.length+this.degree);a.set(n);const i=r.mod(a,this.genPoly),s=this.degree-i.length;if(s>0){const l=new Uint8Array(this.degree);return l.set(i,s),l}return i},gl=e,gl}var fl={},ml={},hl={},Md;function Fd(){return Md||(Md=1,hl.isValid=function(e){return!isNaN(e)&&e>=1&&e<=40}),hl}var Yt={},zd;function jd(){if(zd)return Yt;zd=1;const r="[0-9]+",e="[A-Z $%*+\\-./:]+";let t="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";t=t.replace(/u/g,"\\u");const n="(?:(?![A-Z0-9 $%*+\\-./:]|"+t+`)(?:.|[\r
8
- ]))+`;Yt.KANJI=new RegExp(t,"g"),Yt.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),Yt.BYTE=new RegExp(n,"g"),Yt.NUMERIC=new RegExp(r,"g"),Yt.ALPHANUMERIC=new RegExp(e,"g");const a=new RegExp("^"+t+"$"),i=new RegExp("^"+r+"$"),s=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");return Yt.testKanji=function(c){return a.test(c)},Yt.testNumeric=function(c){return i.test(c)},Yt.testAlphanumeric=function(c){return s.test(c)},Yt}var Nd;function ua(){return Nd||(Nd=1,function(r){const e=Fd(),t=jd();r.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},r.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},r.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},r.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},r.MIXED={bit:-1},r.getCharCountIndicator=function(i,s){if(!i.ccBits)throw new Error("Invalid mode: "+i);if(!e.isValid(s))throw new Error("Invalid version: "+s);return s>=1&&s<10?i.ccBits[0]:s<27?i.ccBits[1]:i.ccBits[2]},r.getBestModeForData=function(i){return t.testNumeric(i)?r.NUMERIC:t.testAlphanumeric(i)?r.ALPHANUMERIC:t.testKanji(i)?r.KANJI:r.BYTE},r.toString=function(i){if(i&&i.id)return i.id;throw new Error("Invalid mode")},r.isValid=function(i){return i&&i.bit&&i.ccBits};function n(a){if(typeof a!="string")throw new Error("Param is not a string");switch(a.toLowerCase()){case"numeric":return r.NUMERIC;case"alphanumeric":return r.ALPHANUMERIC;case"kanji":return r.KANJI;case"byte":return r.BYTE;default:throw new Error("Unknown mode: "+a)}}r.from=function(i,s){if(r.isValid(i))return i;try{return n(i)}catch{return s}}}(ml)),ml}var Od;function qh(){return Od||(Od=1,function(r){const e=ca(),t=Td(),n=sl(),a=ua(),i=Fd(),s=7973,l=e.getBCHDigit(s);function c(_,g,f){for(let v=1;v<=40;v++)if(g<=r.getCapacity(v,f,_))return v}function u(_,g){return a.getCharCountIndicator(_,g)+4}function d(_,g){let f=0;return _.forEach(function(v){const y=u(v.mode,g);f+=y+v.getBitsLength()}),f}function p(_,g){for(let f=1;f<=40;f++)if(d(_,f)<=r.getCapacity(f,g,a.MIXED))return f}r.from=function(g,f){return i.isValid(g)?parseInt(g,10):f},r.getCapacity=function(g,f,v){if(!i.isValid(g))throw new Error("Invalid QR Code version");typeof v>"u"&&(v=a.BYTE);const y=e.getSymbolTotalCodewords(g),h=t.getTotalCodewordsCount(g,f),w=(y-h)*8;if(v===a.MIXED)return w;const k=w-u(v,g);switch(v){case a.NUMERIC:return Math.floor(k/10*3);case a.ALPHANUMERIC:return Math.floor(k/11*2);case a.KANJI:return Math.floor(k/13);case a.BYTE:default:return Math.floor(k/8)}},r.getBestVersionForData=function(g,f){let v;const y=n.from(f,n.M);if(Array.isArray(g)){if(g.length>1)return p(g,y);if(g.length===0)return 1;v=g[0]}else v=g;return c(v.mode,v.getLength(),y)},r.getEncodedBits=function(g){if(!i.isValid(g)||g<7)throw new Error("Invalid QR Code version");let f=g<<12;for(;e.getBCHDigit(f)-l>=0;)f^=s<<e.getBCHDigit(f)-l;return g<<12|f}}(fl)),fl}var vl={},Ld;function Mh(){if(Ld)return vl;Ld=1;const r=ca(),e=1335,t=21522,n=r.getBCHDigit(e);return vl.getEncodedBits=function(i,s){const l=i.bit<<3|s;let c=l<<10;for(;r.getBCHDigit(c)-n>=0;)c^=e<<r.getBCHDigit(c)-n;return(l<<10|c)^t},vl}var yl={},bl,Bd;function Fh(){if(Bd)return bl;Bd=1;const r=ua();function e(t){this.mode=r.NUMERIC,this.data=t.toString()}return e.getBitsLength=function(n){return 10*Math.floor(n/3)+(n%3?n%3*3+1:0)},e.prototype.getLength=function(){return this.data.length},e.prototype.getBitsLength=function(){return e.getBitsLength(this.data.length)},e.prototype.write=function(n){let a,i,s;for(a=0;a+3<=this.data.length;a+=3)i=this.data.substr(a,3),s=parseInt(i,10),n.put(s,10);const l=this.data.length-a;l>0&&(i=this.data.substr(a),s=parseInt(i,10),n.put(s,l*3+1))},bl=e,bl}var kl,Rd;function zh(){if(Rd)return kl;Rd=1;const r=ua(),e=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function t(n){this.mode=r.ALPHANUMERIC,this.data=n}return t.getBitsLength=function(a){return 11*Math.floor(a/2)+6*(a%2)},t.prototype.getLength=function(){return this.data.length},t.prototype.getBitsLength=function(){return t.getBitsLength(this.data.length)},t.prototype.write=function(a){let i;for(i=0;i+2<=this.data.length;i+=2){let s=e.indexOf(this.data[i])*45;s+=e.indexOf(this.data[i+1]),a.put(s,11)}this.data.length%2&&a.put(e.indexOf(this.data[i]),6)},kl=t,kl}var wl,Ud;function jh(){if(Ud)return wl;Ud=1;const r=ua();function e(t){this.mode=r.BYTE,typeof t=="string"?this.data=new TextEncoder().encode(t):this.data=new Uint8Array(t)}return e.getBitsLength=function(n){return n*8},e.prototype.getLength=function(){return this.data.length},e.prototype.getBitsLength=function(){return e.getBitsLength(this.data.length)},e.prototype.write=function(t){for(let n=0,a=this.data.length;n<a;n++)t.put(this.data[n],8)},wl=e,wl}var Pl,Vd;function Nh(){if(Vd)return Pl;Vd=1;const r=ua(),e=ca();function t(n){this.mode=r.KANJI,this.data=n}return t.getBitsLength=function(a){return a*13},t.prototype.getLength=function(){return this.data.length},t.prototype.getBitsLength=function(){return t.getBitsLength(this.data.length)},t.prototype.write=function(n){let a;for(a=0;a<this.data.length;a++){let i=e.toSJIS(this.data[a]);if(i>=33088&&i<=40956)i-=33088;else if(i>=57408&&i<=60351)i-=49472;else throw new Error("Invalid SJIS character: "+this.data[a]+`
9
- Make sure your charset is UTF-8`);i=(i>>>8&255)*192+(i&255),n.put(i,13)}},Pl=t,Pl}var xl={exports:{}},Wd;function Oh(){return Wd||(Wd=1,function(r){var e={single_source_shortest_paths:function(t,n,a){var i={},s={};s[n]=0;var l=e.PriorityQueue.make();l.push(n,0);for(var c,u,d,p,_,g,f,v,y;!l.empty();){c=l.pop(),u=c.value,p=c.cost,_=t[u]||{};for(d in _)_.hasOwnProperty(d)&&(g=_[d],f=p+g,v=s[d],y=typeof s[d]>"u",(y||v>f)&&(s[d]=f,l.push(d,f),i[d]=u))}if(typeof a<"u"&&typeof s[a]>"u"){var h=["Could not find a path from ",n," to ",a,"."].join("");throw new Error(h)}return i},extract_shortest_path_from_predecessor_list:function(t,n){for(var a=[],i=n;i;)a.push(i),t[i],i=t[i];return a.reverse(),a},find_path:function(t,n,a){var i=e.single_source_shortest_paths(t,n,a);return e.extract_shortest_path_from_predecessor_list(i,a)},PriorityQueue:{make:function(t){var n=e.PriorityQueue,a={},i;t=t||{};for(i in n)n.hasOwnProperty(i)&&(a[i]=n[i]);return a.queue=[],a.sorter=t.sorter||n.default_sorter,a},default_sorter:function(t,n){return t.cost-n.cost},push:function(t,n){var a={value:t,cost:n};this.queue.push(a),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return this.queue.length===0}}};r.exports=e}(xl)),xl.exports}var Hd;function Lh(){return Hd||(Hd=1,function(r){const e=ua(),t=Fh(),n=zh(),a=jh(),i=Nh(),s=jd(),l=ca(),c=Oh();function u(h){return unescape(encodeURIComponent(h)).length}function d(h,w,k){const b=[];let x;for(;(x=h.exec(k))!==null;)b.push({data:x[0],index:x.index,mode:w,length:x[0].length});return b}function p(h){const w=d(s.NUMERIC,e.NUMERIC,h),k=d(s.ALPHANUMERIC,e.ALPHANUMERIC,h);let b,x;return l.isKanjiModeEnabled()?(b=d(s.BYTE,e.BYTE,h),x=d(s.KANJI,e.KANJI,h)):(b=d(s.BYTE_KANJI,e.BYTE,h),x=[]),w.concat(k,b,x).sort(function(S,q){return S.index-q.index}).map(function(S){return{data:S.data,mode:S.mode,length:S.length}})}function _(h,w){switch(w){case e.NUMERIC:return t.getBitsLength(h);case e.ALPHANUMERIC:return n.getBitsLength(h);case e.KANJI:return i.getBitsLength(h);case e.BYTE:return a.getBitsLength(h)}}function g(h){return h.reduce(function(w,k){const b=w.length-1>=0?w[w.length-1]:null;return b&&b.mode===k.mode?(w[w.length-1].data+=k.data,w):(w.push(k),w)},[])}function f(h){const w=[];for(let k=0;k<h.length;k++){const b=h[k];switch(b.mode){case e.NUMERIC:w.push([b,{data:b.data,mode:e.ALPHANUMERIC,length:b.length},{data:b.data,mode:e.BYTE,length:b.length}]);break;case e.ALPHANUMERIC:w.push([b,{data:b.data,mode:e.BYTE,length:b.length}]);break;case e.KANJI:w.push([b,{data:b.data,mode:e.BYTE,length:u(b.data)}]);break;case e.BYTE:w.push([{data:b.data,mode:e.BYTE,length:u(b.data)}])}}return w}function v(h,w){const k={},b={start:{}};let x=["start"];for(let I=0;I<h.length;I++){const S=h[I],q=[];for(let E=0;E<S.length;E++){const D=S[E],C=""+I+E;q.push(C),k[C]={node:D,lastCount:0},b[C]={};for(let B=0;B<x.length;B++){const F=x[B];k[F]&&k[F].node.mode===D.mode?(b[F][C]=_(k[F].lastCount+D.length,D.mode)-_(k[F].lastCount,D.mode),k[F].lastCount+=D.length):(k[F]&&(k[F].lastCount=D.length),b[F][C]=_(D.length,D.mode)+4+e.getCharCountIndicator(D.mode,w))}}x=q}for(let I=0;I<x.length;I++)b[x[I]].end=0;return{map:b,table:k}}function y(h,w){let k;const b=e.getBestModeForData(h);if(k=e.from(w,b),k!==e.BYTE&&k.bit<b.bit)throw new Error('"'+h+'" cannot be encoded with mode '+e.toString(k)+`.
10
- Suggested mode is: `+e.toString(b));switch(k===e.KANJI&&!l.isKanjiModeEnabled()&&(k=e.BYTE),k){case e.NUMERIC:return new t(h);case e.ALPHANUMERIC:return new n(h);case e.KANJI:return new i(h);case e.BYTE:return new a(h)}}r.fromArray=function(w){return w.reduce(function(k,b){return typeof b=="string"?k.push(y(b,null)):b.data&&k.push(y(b.data,b.mode)),k},[])},r.fromString=function(w,k){const b=p(w,l.isKanjiModeEnabled()),x=f(b),I=v(x,k),S=c.find_path(I.map,"start","end"),q=[];for(let E=1;E<S.length-1;E++)q.push(I.table[S[E]].node);return r.fromArray(g(q))},r.rawSplit=function(w){return r.fromArray(p(w,l.isKanjiModeEnabled()))}}(yl)),yl}var Yd;function Bh(){if(Yd)return ol;Yd=1;const r=ca(),e=sl(),t=xh(),n=Eh(),a=Sh(),i=Ih(),s=Ch(),l=Td(),c=Ah(),u=qh(),d=Mh(),p=ua(),_=Lh();function g(I,S){const q=I.size,E=i.getPositions(S);for(let D=0;D<E.length;D++){const C=E[D][0],B=E[D][1];for(let F=-1;F<=7;F++)if(!(C+F<=-1||q<=C+F))for(let z=-1;z<=7;z++)B+z<=-1||q<=B+z||(F>=0&&F<=6&&(z===0||z===6)||z>=0&&z<=6&&(F===0||F===6)||F>=2&&F<=4&&z>=2&&z<=4?I.set(C+F,B+z,!0,!0):I.set(C+F,B+z,!1,!0))}}function f(I){const S=I.size;for(let q=8;q<S-8;q++){const E=q%2===0;I.set(q,6,E,!0),I.set(6,q,E,!0)}}function v(I,S){const q=a.getPositions(S);for(let E=0;E<q.length;E++){const D=q[E][0],C=q[E][1];for(let B=-2;B<=2;B++)for(let F=-2;F<=2;F++)B===-2||B===2||F===-2||F===2||B===0&&F===0?I.set(D+B,C+F,!0,!0):I.set(D+B,C+F,!1,!0)}}function y(I,S){const q=I.size,E=u.getEncodedBits(S);let D,C,B;for(let F=0;F<18;F++)D=Math.floor(F/3),C=F%3+q-8-3,B=(E>>F&1)===1,I.set(D,C,B,!0),I.set(C,D,B,!0)}function h(I,S,q){const E=I.size,D=d.getEncodedBits(S,q);let C,B;for(C=0;C<15;C++)B=(D>>C&1)===1,C<6?I.set(C,8,B,!0):C<8?I.set(C+1,8,B,!0):I.set(E-15+C,8,B,!0),C<8?I.set(8,E-C-1,B,!0):C<9?I.set(8,15-C-1+1,B,!0):I.set(8,15-C-1,B,!0);I.set(E-8,8,1,!0)}function w(I,S){const q=I.size;let E=-1,D=q-1,C=7,B=0;for(let F=q-1;F>0;F-=2)for(F===6&&F--;;){for(let z=0;z<2;z++)if(!I.isReserved(D,F-z)){let L=!1;B<S.length&&(L=(S[B]>>>C&1)===1),I.set(D,F-z,L),C--,C===-1&&(B++,C=7)}if(D+=E,D<0||q<=D){D-=E,E=-E;break}}}function k(I,S,q){const E=new t;q.forEach(function(z){E.put(z.mode.bit,4),E.put(z.getLength(),p.getCharCountIndicator(z.mode,I)),z.write(E)});const D=r.getSymbolTotalCodewords(I),C=l.getTotalCodewordsCount(I,S),B=(D-C)*8;for(E.getLengthInBits()+4<=B&&E.put(0,4);E.getLengthInBits()%8!==0;)E.putBit(0);const F=(B-E.getLengthInBits())/8;for(let z=0;z<F;z++)E.put(z%2?17:236,8);return b(E,I,S)}function b(I,S,q){const E=r.getSymbolTotalCodewords(S),D=l.getTotalCodewordsCount(S,q),C=E-D,B=l.getBlocksCount(S,q),F=E%B,z=B-F,L=Math.floor(E/B),A=Math.floor(C/B),M=A+1,N=L-A,H=new c(N);let X=0;const R=new Array(B),$=new Array(B);let ce=0;const de=new Uint8Array(I.buffer);for(let te=0;te<B;te++){const ue=te<z?A:M;R[te]=de.slice(X,X+ue),$[te]=H.encode(R[te]),X+=ue,ce=Math.max(ce,ue)}const G=new Uint8Array(E);let V=0,O,U;for(O=0;O<ce;O++)for(U=0;U<B;U++)O<R[U].length&&(G[V++]=R[U][O]);for(O=0;O<N;O++)for(U=0;U<B;U++)G[V++]=$[U][O];return G}function x(I,S,q,E){let D;if(Array.isArray(I))D=_.fromArray(I);else if(typeof I=="string"){let L=S;if(!L){const A=_.rawSplit(I);L=u.getBestVersionForData(A,q)}D=_.fromString(I,L||40)}else throw new Error("Invalid data");const C=u.getBestVersionForData(D,q);if(!C)throw new Error("The amount of data is too big to be stored in a QR Code");if(!S)S=C;else if(S<C)throw new Error(`
7
+ `;var Dm=V('<div style="color:var(--rc-color-primary);"><!></div>');function td(r){var e=Dm(),t=T(e);fn(t,()=>Tm),P(r,e)}const nd=Symbol("inputValidation"),ad=Symbol("initialInputSelections");function Am(){const r=jr(!0);return{isSatisfied:r,updateSatisfaction:t=>{r.set(t)}}}function qm(r){br(nd,r)}function Zs(){return Xe(nd)}function Fm(r){br(ad,r)}function od(){return Xe(ad)??{}}const id=Symbol("localization");function Mm(r){const t={getLocalizedString:n=>{var d,p;if(!n)return"";const{selectedLocale:a,defaultLocale:i,localizations:s}=r(),c=(d=s[a??i])==null?void 0:d[n],u=(p=s[i])==null?void 0:p[n];return c??u}};return br(id,t),t}function ki(){const r=Xe(id);if(r===void 0)throw new Error("Localization context not found");return r}const sd=Symbol("paywall");function ld(r){br(sd,r)}function Hr(){const r=Xe(sd);if(r===void 0)throw new Error("Paywall context not found");return r}const cd=Symbol("selected");function wi(r){br(cd,r)}function xt(){return Xe(cd)??Pt(!1)}function zm(r){switch(r.type){case"stack":{const e=[...r.components];return r.badge&&e.push(r.badge.stack),e}case"button":case"purchase_button":case"redemption_button":return[r.stack];case"carousel":return r.pages;case"countdown":{const e=[r.countdown_stack];return r.end_stack&&e.push(r.end_stack),e}case"footer":return[r.stack];case"input_multiple_choice":case"input_single_choice":case"input_option":return[r.stack];case"tabs":return[r.control.stack,...r.tabs];case"tab":return[r.stack];case"tab_control_button":return[r.stack];case"timeline":return r.items.flatMap(e=>{const t=[e.icon,e.title];return e.description&&t.push(e.description),t});case"express_purchase_button":return[r.wallet_unknown_stack,r.wallet_available_stack,r.wallet_unavailable_stack];default:return[]}}function Pi(r,e){const t=[r];for(;t.length>0;){const n=t.pop();if(n.type==="package"&&e(n))return n;const a=zm(n);for(let i=a.length-1;i>=0;i--)t.push(a[i])}}function jm({stack:r,sticky_footer:e}){const t=Pi(r,a=>a.is_selected_by_default);if(t!==void 0)return t.package_id;const n=Pi(r,()=>!0);if(n!==void 0)return n.package_id;if(e!=null){const a=Pi(e,s=>s.is_selected_by_default);if(a!==void 0)return a.package_id;const i=Pi(e,()=>!0);if(i!==void 0)return i.package_id}}const Et=(r,e)=>{if(!r)return{};const t=e==null?void 0:e.find(n=>n.conditions.find(a=>a.type==="selected"));return(t==null?void 0:t.properties)??{}},Nm=(r,e)=>{if(!r)return{};const t=e==null?void 0:e.find(n=>n.conditions.find(a=>a.type==="hover"));return(t==null?void 0:t.properties)??{}},Om=(r,e)=>{if(!r)return{};const t=e==null?void 0:e.find(n=>n.conditions.find(a=>a.type==="focus"));return(t==null?void 0:t.properties)??{}},Lm=(r,e)=>{if(!r)return{};const t=e==null?void 0:e.find(n=>n.conditions.find(a=>a.type==="error"));return(t==null?void 0:t.properties)??{}},Bm=(r,e)=>{if(!r)return{};const t=e==null?void 0:e.find(n=>n.conditions.find(a=>a.type==="intro_offer"));return(t==null?void 0:t.properties)??{}},Um=(r,e)=>{if(!r)return{};const t=e==null?void 0:e.find(n=>n.conditions.find(a=>a.type==="promo_offer"));return(t==null?void 0:t.properties)??{}},Fn=(r,e,t)=>t===!1?!1:!(e==null?void 0:e.find(a=>a.properties.visible!==!1?!1:a.conditions.every(s=>Rm(s,r)))),Rm=(r,e)=>{var t,n,a;if(r.type==="intro_offer_condition"){const i=!!((t=e.packageInfo)!=null&&t.hasIntroOffer)||!!((n=e.packageInfo)!=null&&n.hasTrial);if(r.operator==="=")return i===r.value;if(r.operator==="!=")return i!==r.value}if(r.type==="promo_offer_condition"){const i=!!((a=e.packageInfo)!=null&&a.hasPromoOffer);if(r.operator==="=")return i===r.value;if(r.operator==="!=")return i!==r.value}if(r.type==="selected_package_condition"){const i=e.selectedPackageId??"";if(r.operator==="in")return r.packages.includes(i);if(r.operator==="not in")return!r.packages.includes(i)}if(r.type==="variable_condition"){const i=r.variable.replace(/^\$?custom\./,""),s=e.variables[i],l=r.value,c=String(typeof l=="object"&&l!==null&&"value"in l?l.value:l);if(r.operator==="=")return s===c;if(r.operator==="!=")return s!==c}return!1};function Vm(r,e){fe(e,!0);const t=()=>pe(c,"$selectedState",i),n=()=>pe(h,"$inputSatisfied",i),a=()=>pe(f,"$selectedPackageId",i),[i,s]=He(),l=xr(e,["$$slots","$$events","$$legacy"]),c=xt(),u=m(()=>({...l,...Et(t(),e.overrides)})),d=m(()=>o(u).action),{emitComponentInteraction:p,onButtonAction:g,hideBackButtons:_,selectedPackageId:f}=Hr(),v=Zs(),{getLocalizedString:y}=ki(),h=(v==null?void 0:v.isSatisfied)??Pt(!0),k=m(()=>(o(d).type==="workflow"||o(d).type==="complete_workflow")&&!n()),w=()=>{switch(o(d).type){case"workflow":return{componentType:"button",componentName:e.name,componentValue:"workflow"};case"complete_workflow":{const C=y(o(d).url.url_lid);return{componentType:"button",componentName:e.name,componentValue:"navigate_to_url",...C?{componentURL:C}:{}}}case"navigate_back":return{componentType:"button",componentName:e.name,componentValue:"navigate_back"};case"navigate_to_page":return{componentType:"button",componentName:e.name,componentValue:"navigate_to_page"};case"close_workflow":return{componentType:"button",componentName:e.name,componentValue:"close_workflow"};case"restore_purchases":return{componentType:"button",componentName:e.name,componentValue:"restore_purchases"}}switch(o(d).destination){case"customer_center":return{componentType:"button",componentName:e.name,componentValue:"navigate_to_customer_center"};case"screen_redirect":return{componentType:"button",componentName:e.name,componentValue:"screen_redirect"};case"privacy_policy":case"terms":case"url":{const C=y(o(d).url.url_lid);return{componentType:"button",componentName:e.name,componentValue:o(d).destination==="privacy_policy"?"navigate_to_privacy_policy":o(d).destination==="terms"?"navigate_to_terms":"navigate_to_url",...C?{componentURL:C}:{}}}case"sheet":throw new Error("Sheet actions must be handled by the sheet branches in onclick");case"offer_code":return{componentType:"button",componentName:e.name,componentValue:"navigate_to_offer_code"};case"web_paywall_link":return{componentType:"button",componentName:e.name,componentValue:"navigate_to_web_paywall_link"}}},b=C=>{var B;return{componentType:"package_selection_sheet",componentName:((B=C.sheet)==null?void 0:B.name)??e.name,componentValue:"open",currentPackageId:a()}},x=()=>{var B;if(o(k))return;const C=(B=e.triggers)==null?void 0:B.on_press;if(o(d).type==="navigate_to"&&o(d).destination==="sheet"){o(d).sheet!=null&&p(b(o(d))),g(o(d),C);return}p(w()),g(o(d),C)},S=m(()=>{switch(o(d).type){case"workflow":return!0;case"complete_workflow":return!0;case"restore_purchases":return!1;case"navigate_back":return!_;case"navigate_to_page":return!0;case"close_workflow":return!0;case"navigate_to":return o(d).destination!=="web_paywall_link";default:return!0}}),I=m(()=>o(k)?{opacity:"0.4","pointer-events":"none",cursor:"not-allowed"}:void 0);var z=Se(),E=oe(z);{var M=C=>{{let B=m(()=>`button-${o(d).type}`);Fr(C,dr(()=>e.stack,{onclick:x,get style(){return o(I)},get testId(){return o(B)}}))}};Y(E,C=>{o(S)&&C(M)})}P(r,z),me(),s()}const ud=1e3,Js="light",Wm="#000000",So={top:0,bottom:0,leading:0,trailing:0};class Hm{constructor(e,t){Ge(this,Ko);Ge(this,Xo);Ve(this,Ko,e),Ve(this,Xo,Uc(t))}get current(){return Z(this,Xo).call(this),Z(this,Ko).call(this)}}Ko=new WeakMap,Xo=new WeakMap;const Ym=/\(.+\)/,Gm=new Set(["all","print","screen","and","or","not","only"]);class Km extends Hm{constructor(e,t){let n=Ym.test(e)||e.split(/[\s,]+/).some(i=>Gm.has(i.trim()))?e:`(${e})`;const a=window.matchMedia(n);super(()=>a.matches,i=>ef(a,"change",i))}}const dd=Symbol("color-mode");function Xm(r){const e=new Km("prefers-color-scheme: dark",((r==null?void 0:r())??Js)==="dark"),t=()=>(r==null?void 0:r())??(e.current?"dark":Js);return br(dd,t),t}function it(){return Xe(dd)??(()=>Js)}const Qs=Symbol("packageInfo");function pd(r){br(Qs,r)}function Zm(){const r=Xe(Qs);if(r===void 0)throw new Error("PackageInfo context not found");return r}const Jm=Pt(void 0);function Mn(){return Xe(Qs)??Jm}const $s=Symbol("variables");function el(r){br($s,r)}function rl(){const r=Xe($s);if(r===void 0)throw new Error("Variables context not found");return r}const Qm=Pt(void 0);function zn(){return Xe($s)??Qm}var _d;(function(r){r.body_s="p",r.body_m="p",r.body_l="p",r.body_xl="p",r.heading_xs="h6",r.heading_s="h5",r.heading_m="h4",r.heading_l="h3",r.heading_xl="h2",r.heading_xxl="h1"})(_d||(_d={}));var Va;(function(r){r[r.extra_light=100]="extra_light",r[r.thin=200]="thin",r[r.light=300]="light",r[r.regular=400]="regular",r[r.medium=500]="medium",r[r.semibold=600]="semibold",r[r.bold=700]="bold",r[r.extra_bold=800]="extra_bold",r[r.black=900]="black"})(Va||(Va={}));var xi;(function(r){r.body_s="13px",r.body_m="14px",r.body_l="15px",r.body_xl="16px",r.heading_xs="14px",r.heading_s="16px",r.heading_m="18px",r.heading_l="20px",r.heading_xl="26px",r.heading_xxl="32px"})(xi||(xi={}));var jn;(function(r){r.leading="start",r.center="center",r.trailing="end"})(jn||(jn={}));var gd;(function(r){r.vertical="column",r.horizontal="row",r.zlayer="zstack"})(gd||(gd={}));var fd;(function(r){r.top="flex-start",r.leading="flex-start",r.center="center",r.bottom="flex-end",r.trailing="flex-end"})(fd||(fd={}));var md;(function(r){r.space_between="space-between",r.space_around="space-around",r.space_evenly="space-evenly",r.start="flex-start",r.center="center",r.end="flex-end"})(md||(md={}));function ir(r){return Object.entries(r).map(([e,t])=>`${e}:${t}`).join(";")}function Yr(r){return`${r}px`}function hd(...r){return r.map(Yr).join(" ")}function $r(r,e){return e[r]??e.light}function Er(r){switch(r.type){case"fill":return navigator.userAgent.includes("Firefox")?"-moz-available":"-webkit-fill-available";case"fit":return"fit-content";case"fixed":return Yr(r.value);case"relative":return`${r.value*100}%`}}function wr(r){const{top:e,bottom:t,leading:n,trailing:a}=r??So;return hd(e,a,t,n)}function Io(r){if(r.type==="alias"||r.type==="hex")return r.value;const e=r.points.map(t=>`${t.color} ${t.percent}%`).join(", ");switch(r.type){case"linear":return`linear-gradient(${r.degrees}deg, ${e})`;case"radial":return`radial-gradient(circle, ${e})`}}function st(r,e){if(e==null)return"transparent";const t=$r(r,e);return Io(t)}function Ei(r,e){return e==null?"transparent":st(r,e)}function Nn(r,e){const t={"--rc-border-display":"none","--rc-border-bg":"transparent","--rc-border-width":"0px"};if(e==null)return{border:"none",...t};const{width:n}=e,a=$r(r,e.color),i=Io(a);return a.type==="alias"||a.type==="hex"?{border:`${n}px solid ${i}`,...t}:{border:`${n}px solid transparent`,"--rc-border-display":"block","--rc-border-bg":i,"--rc-border-width":`${n}px`}}function $m(r){if(r==null)return"0";const{top_leading:e,top_trailing:t,bottom_trailing:n,bottom_leading:a}=r;return hd(e,t,n,a)}function On(r){switch(r==null?void 0:r.type){case void 0:case"concave":case"convex":return"0";case"rectangle":return`${$m(r.corners)}`;case"circle":case"pill":return"9999px"}}function ca(r,e){if(e==null)return"none";const{x:t,y:n,radius:a}=e,i=st(r,e.color);return`${t}px ${n}px ${a}px ${i}`}function Wa(r){switch(r){case"fill":return"cover";case"fit":return"contain"}}function eh(r,e){const t=$r(r,e),n=String(t.url_low_res??"").trim();return{url:t.url,url_low_res:n.length>0?n:null}}function Co(r,e){const t=th(e),n=eh(r,e.value);return{url:n.url,url_low_res:n.url_low_res,fit:Wa(t.fit_mode),position:t.fit_mode==="fill"?"center":"top center",overlay:Ei(r,e.color_overlay),mute:t.mute_audio,loop:t.loop,posterWebp:t.fallback_image?$r(r,t.fallback_image).webp:null}}function rh(r,e){return`url(${$r(r,e).webp})`}function th(r){return{fit_mode:r.fit_mode??"fill",mute_audio:r.mute_audio??!0,loop:r.loop??!0,fallback_image:r.fallback_image??null}}function nh(r,e,t){return t==null?e==null?"none":st(r,e):t.type==="color"?st(r,e??t.value):t.type==="image"?rh(r,t.value):"transparent"}function ah(r,e){var a,i;const t=(i=(a=r==null?void 0:r.components_config)==null?void 0:a.base)==null?void 0:i.background;if(t==null)return{kind:"none"};if(t.type==="video"){const s=Co(e,t);return{kind:"video",url:s.url,url_low_res:s.url_low_res,fit:s.fit,position:s.position,overlay:s.overlay,mute:s.mute,loop:s.loop,posterWebp:s.posterWebp}}if(t.type!=="image"){const s=Ln(e,null,t),l=s["--overlay"]??"none",c={...s};return delete c["--overlay"],{kind:"style",style:c,overlay:l}}return{kind:"image",src:$r(e,t.value).webp,fit:Wa(t.fit_mode),position:t.fit_mode==="fill"?"center":"top center",overlay:Ei(e,t.color_overlay)}}function Ln(r,e,t){if((t==null?void 0:t.type)==="video")return{background:"transparent","--overlay":Ei(r,t.color_overlay)};const n=nh(r,e,t);if((t==null?void 0:t.type)!=="image")return{background:n,"--overlay":"none"};const{fit_mode:a,color_overlay:i}=t;return{background:n,"background-size":Wa(a),"background-position":a==="fill"?"center":"top center","background-repeat":"no-repeat","--overlay":Ei(r,i)}}function tl(r){return r.startsWith("RCFM:")}function To(r){return`RevCatPaywall-${r}`}async function oh(r){var t;if(!r.app.fonts||typeof document>"u")return;const e=[];for(const[n,a]of Object.entries(r.app.fonts)){const i=a.web;if(!i||!i.url||!i.family){console.warn(`[Font Registration] Skipping font ${n}: missing web config or required fields`);continue}try{const s=`${To(i.family)}-${i.style}-${i.weight}`,l=new FontFace(s,`url(${i.url})`,{weight:((t=i.weight)==null?void 0:t.toString())||"400",style:i.style||"normal"});l.family=To(i.family);const c=l.load().then(()=>{document.fonts.add(l),console.debug(`[Font Registration] Successfully registered font: ${s} (${i.family}, ${i.weight}, ${i.style})`)}).catch(u=>{console.warn(`[Font Registration] Failed to load font ${i.family}:`,u)});e.push(c)}catch(s){console.warn(`[Font Registration] Failed to create FontFace for ${n}:`,s)}}try{await Promise.allSettled(e),console.debug(`[Font Registration] Font registration complete. Processed ${e.length} fonts.`)}catch(n){console.warn("[Font Registration] Unexpected error during font registration:",n)}}function ih(r){return r.charAt(0).toUpperCase()+r.slice(1).toLowerCase()}const sh={uppercase:r=>String(r??"").toUpperCase(),lowercase:r=>String(r??"").toLowerCase(),capitalize:r=>String(r??"").replaceAll(new RegExp("(\\p{Letter}+)","giu"),ih)},lh=/^\$?custom\./;function ch(r,e){const t=/\{\{\s*([$a-z0-9._-]+)(?:\s*\|\s*([^}]*))?\s*\}\}/gi;return r.replace(t,(n,a,i)=>{var d;const s=(d=a==null?void 0:a.trim())==null?void 0:d.replace(lh,""),l=s&&e[s];if(l===void 0)return"";const c=i==null?void 0:i.trim();if(c===void 0)return l;const u=sh[c];return u?u(l):l})}function vd(r="",e){return ch(r,e??{})}const uh={light:{type:"hex",value:Wm}};function nl(r,e){const t=$r(r,e),n=Io(t);switch(t.type){case"alias":case"hex":return{color:n};case"linear":case"radial":return{color:"transparent",background:n,"-webkit-background-clip":"text","background-clip":"text"}}}const dh=(r,e,t)=>{var f;const{font_name:n,font_size:a,font_weight:i,font_weight_int:s,horizontal_alignment:l,color:c=uh,padding:u,margin:d,size:p}=e,g=t[n??""],_=(f=g==null?void 0:g.web)==null?void 0:f.family;return ir({display:"block",width:Er(p.width),height:Er(p.height),margin:wr(d),padding:wr(u),...nl(r,c),"text-align":jn[l]||jn.leading,"font-weight":s??Va[i]??Va.regular,"font-size":Number.isInteger(Number(a))?`${a}px`:xi[a]||xi.body_m,"font-family":tl(n??"")?To(_??""):"sans-serif"})};function ph(r,e,t,n){return ir({display:"block",position:"relative",width:Er(t.width),height:Er(t.height),...Ln(r,n,null)})}function _h(r){if(!r)return"";const e=[],t=r.replaceAll(/\\([\\`*_[\]{}()#+\-.!~])/g,(i,s)=>(e.push(s),`\0RC_ESCAPED_MARKDOWN_${e.length-1}\0`)),a=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((i,{regexp:s,output:l})=>i.replaceAll(s,l),t);return e.reduce((i,s,l)=>i.replaceAll(`\0RC_ESCAPED_MARKDOWN_${l}\0`,s),a)}var gh=V('<div class="rc-gradient-border"><input class="svelte-kmfxfv"/></div>');const fh={hash:"svelte-kmfxfv",code:"input.svelte-kmfxfv {width:100%;height:100%;border:none;background:transparent;border-radius:inherit;}input.svelte-kmfxfv:focus-visible {outline:none;}input.svelte-kmfxfv::placeholder {color:var(--placeholder-color);background:var(--placeholder-background);background-clip:var(--placeholder-background-clip);-webkit-background-clip:var(--placeholder-webkit-background-clip);text-align:var(--placeholder-text-align);font-weight:var(--placeholder-font-weight);font-size:var(--placeholder-font-size);font-family:var(--placeholder-font-family);}"};function mh(r,e){fe(e,!0),we(r,fh);const t=()=>pe(ke,"$variables",i),n=()=>pe(D,"$selectedPackageId",i),a=()=>pe(U,"$packageInfo",i),[i,s]=He(),l=xr(e,["$$slots","$$events","$$legacy"]);let c=re(!1),u=re(!1);const d=m(()=>({...l,...Om(o(c),e.overrides),...Lm(o(u),e.overrides)})),p=m(()=>o(d).placeholder_lid),g=m(()=>o(d).keyboard_type),_=m(()=>o(d).capitalize),f=m(()=>o(d).field_id),v=m(()=>o(d).reserved_attribute),y=m(()=>o(d).required),h=m(()=>o(d).size),k=m(()=>o(d).padding),w=m(()=>o(d).margin),b=m(()=>o(d).vertical_alignment),x=m(()=>o(d).border),S=m(()=>o(d).shape),I=m(()=>o(d).shadow),z=m(()=>o(d).font_name),E=m(()=>o(d).font_weight_int),M=m(()=>o(d).font_size),C=m(()=>o(d).horizontal_alignment),B=m(()=>o(d).color),O=m(()=>o(d).placeholder_font_name),q=m(()=>o(d).placeholder_font_weight_int),L=m(()=>o(d).placeholder_font_size),F=m(()=>o(d).placeholder_horizontal_alignment),A=m(()=>o(d).placeholder_color),N=m(()=>o(d).background_color);function W(ne){if(j(u,!ne.validity.valid),o(u))return;const ge=ne.value.trim();o(v)?X?X(o(v),ge):console.error("onReservedAttributeChanged is not set"):te==null||te(o(f),ge)}const G=ne=>{o(u)&&W(ne.currentTarget)},R=ne=>{j(c,!1),W(ne.currentTarget)},$=it(),ue=m($),{uiConfig:de,onInputChanged:te,onReservedAttributeChanged:X,selectedPackageId:D}=Hr(),U=Mn(),ee=m(()=>o(b)==="top"?"flex-start":o(b)==="bottom"?"flex-end":null),ie=m(()=>ir({display:"flex",...o(ee)?{"align-items":o(ee)}:{},width:Er(o(h).width),height:Er(o(h).height),margin:wr(o(w)),...Ln(o(ue),o(N),null),...Nn(o(ue),o(x)),"border-radius":On(o(S)),"box-shadow":ca(o(ue),o(I))})),Pe=m(()=>{var rr,hr;const ne=de.app.fonts[o(z)??""],ge=(rr=ne==null?void 0:ne.web)==null?void 0:rr.family,ce=de.app.fonts[o(O)??""],Ce=(hr=ce==null?void 0:ce.web)==null?void 0:hr.family,Ke=nl(o(ue),o(A));return ir({...o(ee)?{height:"auto"}:{},padding:wr(o(k)),...nl(o(ue),o(B)),"text-align":jn[o(C)]||jn.leading,"font-weight":o(E)??Va.regular,"font-size":`${o(M)}px`,"font-family":tl(o(z)??"")?To(ge??""):"sans-serif","--placeholder-color":Ke.color,"--placeholder-background":Ke.background,"--placeholder-background-clip":Ke["background-clip"],"--placeholder-webkit-background-clip":Ke["-webkit-background-clip"],"--placeholder-text-align":jn[o(F)]||jn.leading,"--placeholder-font-weight":o(q)??Va.regular,"--placeholder-font-size":`${o(L)}px`,"--placeholder-font-family":tl(o(O)??"")?To(Ce??""):"sans-serif"})}),ke=zn(),{getLocalizedString:Te}=ki(),Ne=m(()=>vd(Te(o(p)),t())),Oe=m(()=>{switch(e.keyboard_type){case"decimal":case"numeric":return"number";case"email":return"email";case"tel":return"tel";case"text":return"text";case"url":return"url"}}),Ie=m(()=>Fn({selectedPackageId:n(),packageInfo:a(),variables:t()??{}},e.overrides,e.visible));var Ee=Se(),Be=oe(Ee);{var Ye=ne=>{var ge=gh(),ce=T(ge);ce.__input=G,K(()=>{De(ge,o(ie)),be(ce,"type",o(Oe)),be(ce,"placeholder",o(Ne)),ce.required=o(y),be(ce,"inputmode",o(g)),be(ce,"autocapitalize",o(_)),De(ce,o(Pe))}),zr("focus",ce,()=>j(c,!0)),zr("blur",ce,R),P(ne,ge)};Y(Be,ne=>{o(Ie)&&ne(Ye)})}P(r,Ee),me(),s()}_n(["input"]);const yd=Symbol("inputChoice");function bd(r,e,t=!1,n=null,a=[]){const i=jr(new Set(a)),s=Mt(i,d=>(n==null?void 0:n.max)==null?!1:d.size>=n.max),l=Mt(i,d=>{const p=d.size;return!t&&n==null?!0:t&&n==null?p>=1:t&&n!=null?n.min===n.max?p===n.min:p>=n.min&&p<=n.max:!0});let c=!1;return s.subscribe(d=>c=d),{fieldId:r,mode:e,required:t,selectionRange:n,selectedOptionIds:i,selectOption:d=>{i.update(p=>{if(e==="single")return new Set([d]);const g=new Set(p);return g.has(d)?g.delete(d):c||g.add(d),g})},isAtMax:s,isSatisfied:l}}function kd(r){br(yd,r)}function hh(){return Xe(yd)}function vh(r,e){fe(e,!0);const t=xr(e,["$$slots","$$events","$$legacy"]),{stack:n,field_id:a,required:i=!1,selection_range:s=null}=t,c=od()[a]??[],u=bd(a,"multiple",i,s,c);kd(u);const d=Zs();if(d){const p=u.isSatisfied.subscribe(g=>{d.updateSatisfaction(g)});Wt(p)}qo(r,{get nodeData(){return n}}),me()}const wd=Symbol("hover");function yh(r){br(wd,r)}function bh(){return Xe(wd)??Pt(!1)}var kh=V('<div class="option-wrapper svelte-ss40yz"><!></div>');const wh={hash:"svelte-ss40yz",code:".option-wrapper.svelte-ss40yz {display:contents;}"};function Ph(r,e){fe(e,!0),we(r,wh);const t=()=>pe(g,"$isDisabled",n),[n,a]=He(),i=xr(e,["$$slots","$$events","$$legacy"]),{stack:s,option_id:l}=i,{onButtonAction:c,onInputChanged:u}=Hr(),d=hh(),p=d?Mt(d.selectedOptionIds,b=>b.has(l)):Pt(!1);wi(p);const g=d?Mt([p,d.isAtMax],([b,x])=>!b&&x):Pt(!1),_=jr(!1);yh(_);const f=()=>_.set(!0),v=()=>_.set(!1),y=()=>{var S;if(t())return;const b=(S=e.triggers)==null?void 0:S.on_press;d==null||d.selectOption(l);const x=d==null?void 0:d.fieldId;x&&(u==null||u(x,l,b)),c({type:"workflow"},b)},h=m(()=>t()?{"pointer-events":"none",opacity:"0.4"}:void 0);var k=kh(),w=T(k);Fr(w,dr(()=>s,{onclick:y,get style(){return o(h)}})),zr("mouseenter",k,f),zr("mouseleave",k,v),P(r,k),me(),a()}function xh(r,e){fe(e,!0);const t=xr(e,["$$slots","$$events","$$legacy"]),{stack:n,field_id:a,required:i=!1,selection_range:s=null}=t,c=od()[a]??[],u=bd(a,"single",i,s,c);kd(u);const d=Zs();if(d){const p=u.isSatisfied.subscribe(g=>{d.updateSatisfaction(g)});Wt(p)}qo(r,{get nodeData(){return n}}),me()}function Eh(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}var Ha={},al,Pd;function Sh(){return Pd||(Pd=1,al=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then}),al}var ol={},Bn={},xd;function ua(){if(xd)return Bn;xd=1;let r;const e=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];return Bn.getSymbolSize=function(n){if(!n)throw new Error('"version" cannot be null or undefined');if(n<1||n>40)throw new Error('"version" should be in range from 1 to 40');return n*4+17},Bn.getSymbolTotalCodewords=function(n){return e[n]},Bn.getBCHDigit=function(t){let n=0;for(;t!==0;)n++,t>>>=1;return n},Bn.setToSJISFunction=function(n){if(typeof n!="function")throw new Error('"toSJISFunc" is not a valid function.');r=n},Bn.isKanjiModeEnabled=function(){return typeof r<"u"},Bn.toSJIS=function(n){return r(n)},Bn}var il={},Ed;function sl(){return Ed||(Ed=1,function(r){r.L={bit:1},r.M={bit:0},r.Q={bit:3},r.H={bit:2};function e(t){if(typeof t!="string")throw new Error("Param is not a string");switch(t.toLowerCase()){case"l":case"low":return r.L;case"m":case"medium":return r.M;case"q":case"quartile":return r.Q;case"h":case"high":return r.H;default:throw new Error("Unknown EC Level: "+t)}}r.isValid=function(n){return n&&typeof n.bit<"u"&&n.bit>=0&&n.bit<4},r.from=function(n,a){if(r.isValid(n))return n;try{return e(n)}catch{return a}}}(il)),il}var ll,Sd;function Ih(){if(Sd)return ll;Sd=1;function r(){this.buffer=[],this.length=0}return r.prototype={get:function(e){const t=Math.floor(e/8);return(this.buffer[t]>>>7-e%8&1)===1},put:function(e,t){for(let n=0;n<t;n++)this.putBit((e>>>t-n-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function(e){const t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}},ll=r,ll}var cl,Id;function Ch(){if(Id)return cl;Id=1;function r(e){if(!e||e<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=e,this.data=new Uint8Array(e*e),this.reservedBit=new Uint8Array(e*e)}return r.prototype.set=function(e,t,n,a){const i=e*this.size+t;this.data[i]=n,a&&(this.reservedBit[i]=!0)},r.prototype.get=function(e,t){return this.data[e*this.size+t]},r.prototype.xor=function(e,t,n){this.data[e*this.size+t]^=n},r.prototype.isReserved=function(e,t){return this.reservedBit[e*this.size+t]},cl=r,cl}var ul={},Cd;function Th(){return Cd||(Cd=1,function(r){const e=ua().getSymbolSize;r.getRowColCoords=function(n){if(n===1)return[];const a=Math.floor(n/7)+2,i=e(n),s=i===145?26:Math.ceil((i-13)/(2*a-2))*2,l=[i-7];for(let c=1;c<a-1;c++)l[c]=l[c-1]-s;return l.push(6),l.reverse()},r.getPositions=function(n){const a=[],i=r.getRowColCoords(n),s=i.length;for(let l=0;l<s;l++)for(let c=0;c<s;c++)l===0&&c===0||l===0&&c===s-1||l===s-1&&c===0||a.push([i[l],i[c]]);return a}}(ul)),ul}var dl={},Td;function Dh(){if(Td)return dl;Td=1;const r=ua().getSymbolSize,e=7;return dl.getPositions=function(n){const a=r(n);return[[0,0],[a-e,0],[0,a-e]]},dl}var pl={},Dd;function Ah(){return Dd||(Dd=1,function(r){r.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};const e={N1:3,N2:3,N3:40,N4:10};r.isValid=function(a){return a!=null&&a!==""&&!isNaN(a)&&a>=0&&a<=7},r.from=function(a){return r.isValid(a)?parseInt(a,10):void 0},r.getPenaltyN1=function(a){const i=a.size;let s=0,l=0,c=0,u=null,d=null;for(let p=0;p<i;p++){l=c=0,u=d=null;for(let g=0;g<i;g++){let _=a.get(p,g);_===u?l++:(l>=5&&(s+=e.N1+(l-5)),u=_,l=1),_=a.get(g,p),_===d?c++:(c>=5&&(s+=e.N1+(c-5)),d=_,c=1)}l>=5&&(s+=e.N1+(l-5)),c>=5&&(s+=e.N1+(c-5))}return s},r.getPenaltyN2=function(a){const i=a.size;let s=0;for(let l=0;l<i-1;l++)for(let c=0;c<i-1;c++){const u=a.get(l,c)+a.get(l,c+1)+a.get(l+1,c)+a.get(l+1,c+1);(u===4||u===0)&&s++}return s*e.N2},r.getPenaltyN3=function(a){const i=a.size;let s=0,l=0,c=0;for(let u=0;u<i;u++){l=c=0;for(let d=0;d<i;d++)l=l<<1&2047|a.get(u,d),d>=10&&(l===1488||l===93)&&s++,c=c<<1&2047|a.get(d,u),d>=10&&(c===1488||c===93)&&s++}return s*e.N3},r.getPenaltyN4=function(a){let i=0;const s=a.data.length;for(let c=0;c<s;c++)i+=a.data[c];return Math.abs(Math.ceil(i*100/s/5)-10)*e.N4};function t(n,a,i){switch(n){case r.Patterns.PATTERN000:return(a+i)%2===0;case r.Patterns.PATTERN001:return a%2===0;case r.Patterns.PATTERN010:return i%3===0;case r.Patterns.PATTERN011:return(a+i)%3===0;case r.Patterns.PATTERN100:return(Math.floor(a/2)+Math.floor(i/3))%2===0;case r.Patterns.PATTERN101:return a*i%2+a*i%3===0;case r.Patterns.PATTERN110:return(a*i%2+a*i%3)%2===0;case r.Patterns.PATTERN111:return(a*i%3+(a+i)%2)%2===0;default:throw new Error("bad maskPattern:"+n)}}r.applyMask=function(a,i){const s=i.size;for(let l=0;l<s;l++)for(let c=0;c<s;c++)i.isReserved(c,l)||i.xor(c,l,t(a,c,l))},r.getBestMask=function(a,i){const s=Object.keys(r.Patterns).length;let l=0,c=1/0;for(let u=0;u<s;u++){i(u),r.applyMask(u,a);const d=r.getPenaltyN1(a)+r.getPenaltyN2(a)+r.getPenaltyN3(a)+r.getPenaltyN4(a);r.applyMask(u,a),d<c&&(c=d,l=u)}return l}}(pl)),pl}var Si={},Ad;function qd(){if(Ad)return Si;Ad=1;const r=sl(),e=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],t=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];return Si.getBlocksCount=function(a,i){switch(i){case r.L:return e[(a-1)*4+0];case r.M:return e[(a-1)*4+1];case r.Q:return e[(a-1)*4+2];case r.H:return e[(a-1)*4+3];default:return}},Si.getTotalCodewordsCount=function(a,i){switch(i){case r.L:return t[(a-1)*4+0];case r.M:return t[(a-1)*4+1];case r.Q:return t[(a-1)*4+2];case r.H:return t[(a-1)*4+3];default:return}},Si}var _l={},Do={},Fd;function qh(){if(Fd)return Do;Fd=1;const r=new Uint8Array(512),e=new Uint8Array(256);return function(){let n=1;for(let a=0;a<255;a++)r[a]=n,e[n]=a,n<<=1,n&256&&(n^=285);for(let a=255;a<512;a++)r[a]=r[a-255]}(),Do.log=function(n){if(n<1)throw new Error("log("+n+")");return e[n]},Do.exp=function(n){return r[n]},Do.mul=function(n,a){return n===0||a===0?0:r[e[n]+e[a]]},Do}var Md;function Fh(){return Md||(Md=1,function(r){const e=qh();r.mul=function(n,a){const i=new Uint8Array(n.length+a.length-1);for(let s=0;s<n.length;s++)for(let l=0;l<a.length;l++)i[s+l]^=e.mul(n[s],a[l]);return i},r.mod=function(n,a){let i=new Uint8Array(n);for(;i.length-a.length>=0;){const s=i[0];for(let c=0;c<a.length;c++)i[c]^=e.mul(a[c],s);let l=0;for(;l<i.length&&i[l]===0;)l++;i=i.slice(l)}return i},r.generateECPolynomial=function(n){let a=new Uint8Array([1]);for(let i=0;i<n;i++)a=r.mul(a,new Uint8Array([1,e.exp(i)]));return a}}(_l)),_l}var gl,zd;function Mh(){if(zd)return gl;zd=1;const r=Fh();function e(t){this.genPoly=void 0,this.degree=t,this.degree&&this.initialize(this.degree)}return e.prototype.initialize=function(n){this.degree=n,this.genPoly=r.generateECPolynomial(this.degree)},e.prototype.encode=function(n){if(!this.genPoly)throw new Error("Encoder not initialized");const a=new Uint8Array(n.length+this.degree);a.set(n);const i=r.mod(a,this.genPoly),s=this.degree-i.length;if(s>0){const l=new Uint8Array(this.degree);return l.set(i,s),l}return i},gl=e,gl}var fl={},ml={},hl={},jd;function Nd(){return jd||(jd=1,hl.isValid=function(e){return!isNaN(e)&&e>=1&&e<=40}),hl}var Yt={},Od;function Ld(){if(Od)return Yt;Od=1;const r="[0-9]+",e="[A-Z $%*+\\-./:]+";let t="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";t=t.replace(/u/g,"\\u");const n="(?:(?![A-Z0-9 $%*+\\-./:]|"+t+`)(?:.|[\r
8
+ ]))+`;Yt.KANJI=new RegExp(t,"g"),Yt.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),Yt.BYTE=new RegExp(n,"g"),Yt.NUMERIC=new RegExp(r,"g"),Yt.ALPHANUMERIC=new RegExp(e,"g");const a=new RegExp("^"+t+"$"),i=new RegExp("^"+r+"$"),s=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");return Yt.testKanji=function(c){return a.test(c)},Yt.testNumeric=function(c){return i.test(c)},Yt.testAlphanumeric=function(c){return s.test(c)},Yt}var Bd;function da(){return Bd||(Bd=1,function(r){const e=Nd(),t=Ld();r.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},r.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},r.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},r.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},r.MIXED={bit:-1},r.getCharCountIndicator=function(i,s){if(!i.ccBits)throw new Error("Invalid mode: "+i);if(!e.isValid(s))throw new Error("Invalid version: "+s);return s>=1&&s<10?i.ccBits[0]:s<27?i.ccBits[1]:i.ccBits[2]},r.getBestModeForData=function(i){return t.testNumeric(i)?r.NUMERIC:t.testAlphanumeric(i)?r.ALPHANUMERIC:t.testKanji(i)?r.KANJI:r.BYTE},r.toString=function(i){if(i&&i.id)return i.id;throw new Error("Invalid mode")},r.isValid=function(i){return i&&i.bit&&i.ccBits};function n(a){if(typeof a!="string")throw new Error("Param is not a string");switch(a.toLowerCase()){case"numeric":return r.NUMERIC;case"alphanumeric":return r.ALPHANUMERIC;case"kanji":return r.KANJI;case"byte":return r.BYTE;default:throw new Error("Unknown mode: "+a)}}r.from=function(i,s){if(r.isValid(i))return i;try{return n(i)}catch{return s}}}(ml)),ml}var Ud;function zh(){return Ud||(Ud=1,function(r){const e=ua(),t=qd(),n=sl(),a=da(),i=Nd(),s=7973,l=e.getBCHDigit(s);function c(g,_,f){for(let v=1;v<=40;v++)if(_<=r.getCapacity(v,f,g))return v}function u(g,_){return a.getCharCountIndicator(g,_)+4}function d(g,_){let f=0;return g.forEach(function(v){const y=u(v.mode,_);f+=y+v.getBitsLength()}),f}function p(g,_){for(let f=1;f<=40;f++)if(d(g,f)<=r.getCapacity(f,_,a.MIXED))return f}r.from=function(_,f){return i.isValid(_)?parseInt(_,10):f},r.getCapacity=function(_,f,v){if(!i.isValid(_))throw new Error("Invalid QR Code version");typeof v>"u"&&(v=a.BYTE);const y=e.getSymbolTotalCodewords(_),h=t.getTotalCodewordsCount(_,f),k=(y-h)*8;if(v===a.MIXED)return k;const w=k-u(v,_);switch(v){case a.NUMERIC:return Math.floor(w/10*3);case a.ALPHANUMERIC:return Math.floor(w/11*2);case a.KANJI:return Math.floor(w/13);case a.BYTE:default:return Math.floor(w/8)}},r.getBestVersionForData=function(_,f){let v;const y=n.from(f,n.M);if(Array.isArray(_)){if(_.length>1)return p(_,y);if(_.length===0)return 1;v=_[0]}else v=_;return c(v.mode,v.getLength(),y)},r.getEncodedBits=function(_){if(!i.isValid(_)||_<7)throw new Error("Invalid QR Code version");let f=_<<12;for(;e.getBCHDigit(f)-l>=0;)f^=s<<e.getBCHDigit(f)-l;return _<<12|f}}(fl)),fl}var vl={},Rd;function jh(){if(Rd)return vl;Rd=1;const r=ua(),e=1335,t=21522,n=r.getBCHDigit(e);return vl.getEncodedBits=function(i,s){const l=i.bit<<3|s;let c=l<<10;for(;r.getBCHDigit(c)-n>=0;)c^=e<<r.getBCHDigit(c)-n;return(l<<10|c)^t},vl}var yl={},bl,Vd;function Nh(){if(Vd)return bl;Vd=1;const r=da();function e(t){this.mode=r.NUMERIC,this.data=t.toString()}return e.getBitsLength=function(n){return 10*Math.floor(n/3)+(n%3?n%3*3+1:0)},e.prototype.getLength=function(){return this.data.length},e.prototype.getBitsLength=function(){return e.getBitsLength(this.data.length)},e.prototype.write=function(n){let a,i,s;for(a=0;a+3<=this.data.length;a+=3)i=this.data.substr(a,3),s=parseInt(i,10),n.put(s,10);const l=this.data.length-a;l>0&&(i=this.data.substr(a),s=parseInt(i,10),n.put(s,l*3+1))},bl=e,bl}var kl,Wd;function Oh(){if(Wd)return kl;Wd=1;const r=da(),e=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function t(n){this.mode=r.ALPHANUMERIC,this.data=n}return t.getBitsLength=function(a){return 11*Math.floor(a/2)+6*(a%2)},t.prototype.getLength=function(){return this.data.length},t.prototype.getBitsLength=function(){return t.getBitsLength(this.data.length)},t.prototype.write=function(a){let i;for(i=0;i+2<=this.data.length;i+=2){let s=e.indexOf(this.data[i])*45;s+=e.indexOf(this.data[i+1]),a.put(s,11)}this.data.length%2&&a.put(e.indexOf(this.data[i]),6)},kl=t,kl}var wl,Hd;function Lh(){if(Hd)return wl;Hd=1;const r=da();function e(t){this.mode=r.BYTE,typeof t=="string"?this.data=new TextEncoder().encode(t):this.data=new Uint8Array(t)}return e.getBitsLength=function(n){return n*8},e.prototype.getLength=function(){return this.data.length},e.prototype.getBitsLength=function(){return e.getBitsLength(this.data.length)},e.prototype.write=function(t){for(let n=0,a=this.data.length;n<a;n++)t.put(this.data[n],8)},wl=e,wl}var Pl,Yd;function Bh(){if(Yd)return Pl;Yd=1;const r=da(),e=ua();function t(n){this.mode=r.KANJI,this.data=n}return t.getBitsLength=function(a){return a*13},t.prototype.getLength=function(){return this.data.length},t.prototype.getBitsLength=function(){return t.getBitsLength(this.data.length)},t.prototype.write=function(n){let a;for(a=0;a<this.data.length;a++){let i=e.toSJIS(this.data[a]);if(i>=33088&&i<=40956)i-=33088;else if(i>=57408&&i<=60351)i-=49472;else throw new Error("Invalid SJIS character: "+this.data[a]+`
9
+ Make sure your charset is UTF-8`);i=(i>>>8&255)*192+(i&255),n.put(i,13)}},Pl=t,Pl}var xl={exports:{}},Gd;function Uh(){return Gd||(Gd=1,function(r){var e={single_source_shortest_paths:function(t,n,a){var i={},s={};s[n]=0;var l=e.PriorityQueue.make();l.push(n,0);for(var c,u,d,p,g,_,f,v,y;!l.empty();){c=l.pop(),u=c.value,p=c.cost,g=t[u]||{};for(d in g)g.hasOwnProperty(d)&&(_=g[d],f=p+_,v=s[d],y=typeof s[d]>"u",(y||v>f)&&(s[d]=f,l.push(d,f),i[d]=u))}if(typeof a<"u"&&typeof s[a]>"u"){var h=["Could not find a path from ",n," to ",a,"."].join("");throw new Error(h)}return i},extract_shortest_path_from_predecessor_list:function(t,n){for(var a=[],i=n;i;)a.push(i),t[i],i=t[i];return a.reverse(),a},find_path:function(t,n,a){var i=e.single_source_shortest_paths(t,n,a);return e.extract_shortest_path_from_predecessor_list(i,a)},PriorityQueue:{make:function(t){var n=e.PriorityQueue,a={},i;t=t||{};for(i in n)n.hasOwnProperty(i)&&(a[i]=n[i]);return a.queue=[],a.sorter=t.sorter||n.default_sorter,a},default_sorter:function(t,n){return t.cost-n.cost},push:function(t,n){var a={value:t,cost:n};this.queue.push(a),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return this.queue.length===0}}};r.exports=e}(xl)),xl.exports}var Kd;function Rh(){return Kd||(Kd=1,function(r){const e=da(),t=Nh(),n=Oh(),a=Lh(),i=Bh(),s=Ld(),l=ua(),c=Uh();function u(h){return unescape(encodeURIComponent(h)).length}function d(h,k,w){const b=[];let x;for(;(x=h.exec(w))!==null;)b.push({data:x[0],index:x.index,mode:k,length:x[0].length});return b}function p(h){const k=d(s.NUMERIC,e.NUMERIC,h),w=d(s.ALPHANUMERIC,e.ALPHANUMERIC,h);let b,x;return l.isKanjiModeEnabled()?(b=d(s.BYTE,e.BYTE,h),x=d(s.KANJI,e.KANJI,h)):(b=d(s.BYTE_KANJI,e.BYTE,h),x=[]),k.concat(w,b,x).sort(function(I,z){return I.index-z.index}).map(function(I){return{data:I.data,mode:I.mode,length:I.length}})}function g(h,k){switch(k){case e.NUMERIC:return t.getBitsLength(h);case e.ALPHANUMERIC:return n.getBitsLength(h);case e.KANJI:return i.getBitsLength(h);case e.BYTE:return a.getBitsLength(h)}}function _(h){return h.reduce(function(k,w){const b=k.length-1>=0?k[k.length-1]:null;return b&&b.mode===w.mode?(k[k.length-1].data+=w.data,k):(k.push(w),k)},[])}function f(h){const k=[];for(let w=0;w<h.length;w++){const b=h[w];switch(b.mode){case e.NUMERIC:k.push([b,{data:b.data,mode:e.ALPHANUMERIC,length:b.length},{data:b.data,mode:e.BYTE,length:b.length}]);break;case e.ALPHANUMERIC:k.push([b,{data:b.data,mode:e.BYTE,length:b.length}]);break;case e.KANJI:k.push([b,{data:b.data,mode:e.BYTE,length:u(b.data)}]);break;case e.BYTE:k.push([{data:b.data,mode:e.BYTE,length:u(b.data)}])}}return k}function v(h,k){const w={},b={start:{}};let x=["start"];for(let S=0;S<h.length;S++){const I=h[S],z=[];for(let E=0;E<I.length;E++){const M=I[E],C=""+S+E;z.push(C),w[C]={node:M,lastCount:0},b[C]={};for(let B=0;B<x.length;B++){const O=x[B];w[O]&&w[O].node.mode===M.mode?(b[O][C]=g(w[O].lastCount+M.length,M.mode)-g(w[O].lastCount,M.mode),w[O].lastCount+=M.length):(w[O]&&(w[O].lastCount=M.length),b[O][C]=g(M.length,M.mode)+4+e.getCharCountIndicator(M.mode,k))}}x=z}for(let S=0;S<x.length;S++)b[x[S]].end=0;return{map:b,table:w}}function y(h,k){let w;const b=e.getBestModeForData(h);if(w=e.from(k,b),w!==e.BYTE&&w.bit<b.bit)throw new Error('"'+h+'" cannot be encoded with mode '+e.toString(w)+`.
10
+ Suggested mode is: `+e.toString(b));switch(w===e.KANJI&&!l.isKanjiModeEnabled()&&(w=e.BYTE),w){case e.NUMERIC:return new t(h);case e.ALPHANUMERIC:return new n(h);case e.KANJI:return new i(h);case e.BYTE:return new a(h)}}r.fromArray=function(k){return k.reduce(function(w,b){return typeof b=="string"?w.push(y(b,null)):b.data&&w.push(y(b.data,b.mode)),w},[])},r.fromString=function(k,w){const b=p(k,l.isKanjiModeEnabled()),x=f(b),S=v(x,w),I=c.find_path(S.map,"start","end"),z=[];for(let E=1;E<I.length-1;E++)z.push(S.table[I[E]].node);return r.fromArray(_(z))},r.rawSplit=function(k){return r.fromArray(p(k,l.isKanjiModeEnabled()))}}(yl)),yl}var Xd;function Vh(){if(Xd)return ol;Xd=1;const r=ua(),e=sl(),t=Ih(),n=Ch(),a=Th(),i=Dh(),s=Ah(),l=qd(),c=Mh(),u=zh(),d=jh(),p=da(),g=Rh();function _(S,I){const z=S.size,E=i.getPositions(I);for(let M=0;M<E.length;M++){const C=E[M][0],B=E[M][1];for(let O=-1;O<=7;O++)if(!(C+O<=-1||z<=C+O))for(let q=-1;q<=7;q++)B+q<=-1||z<=B+q||(O>=0&&O<=6&&(q===0||q===6)||q>=0&&q<=6&&(O===0||O===6)||O>=2&&O<=4&&q>=2&&q<=4?S.set(C+O,B+q,!0,!0):S.set(C+O,B+q,!1,!0))}}function f(S){const I=S.size;for(let z=8;z<I-8;z++){const E=z%2===0;S.set(z,6,E,!0),S.set(6,z,E,!0)}}function v(S,I){const z=a.getPositions(I);for(let E=0;E<z.length;E++){const M=z[E][0],C=z[E][1];for(let B=-2;B<=2;B++)for(let O=-2;O<=2;O++)B===-2||B===2||O===-2||O===2||B===0&&O===0?S.set(M+B,C+O,!0,!0):S.set(M+B,C+O,!1,!0)}}function y(S,I){const z=S.size,E=u.getEncodedBits(I);let M,C,B;for(let O=0;O<18;O++)M=Math.floor(O/3),C=O%3+z-8-3,B=(E>>O&1)===1,S.set(M,C,B,!0),S.set(C,M,B,!0)}function h(S,I,z){const E=S.size,M=d.getEncodedBits(I,z);let C,B;for(C=0;C<15;C++)B=(M>>C&1)===1,C<6?S.set(C,8,B,!0):C<8?S.set(C+1,8,B,!0):S.set(E-15+C,8,B,!0),C<8?S.set(8,E-C-1,B,!0):C<9?S.set(8,15-C-1+1,B,!0):S.set(8,15-C-1,B,!0);S.set(E-8,8,1,!0)}function k(S,I){const z=S.size;let E=-1,M=z-1,C=7,B=0;for(let O=z-1;O>0;O-=2)for(O===6&&O--;;){for(let q=0;q<2;q++)if(!S.isReserved(M,O-q)){let L=!1;B<I.length&&(L=(I[B]>>>C&1)===1),S.set(M,O-q,L),C--,C===-1&&(B++,C=7)}if(M+=E,M<0||z<=M){M-=E,E=-E;break}}}function w(S,I,z){const E=new t;z.forEach(function(q){E.put(q.mode.bit,4),E.put(q.getLength(),p.getCharCountIndicator(q.mode,S)),q.write(E)});const M=r.getSymbolTotalCodewords(S),C=l.getTotalCodewordsCount(S,I),B=(M-C)*8;for(E.getLengthInBits()+4<=B&&E.put(0,4);E.getLengthInBits()%8!==0;)E.putBit(0);const O=(B-E.getLengthInBits())/8;for(let q=0;q<O;q++)E.put(q%2?17:236,8);return b(E,S,I)}function b(S,I,z){const E=r.getSymbolTotalCodewords(I),M=l.getTotalCodewordsCount(I,z),C=E-M,B=l.getBlocksCount(I,z),O=E%B,q=B-O,L=Math.floor(E/B),F=Math.floor(C/B),A=F+1,N=L-F,W=new c(N);let G=0;const R=new Array(B),$=new Array(B);let ue=0;const de=new Uint8Array(S.buffer);for(let ee=0;ee<B;ee++){const ie=ee<q?F:A;R[ee]=de.slice(G,G+ie),$[ee]=W.encode(R[ee]),G+=ie,ue=Math.max(ue,ie)}const te=new Uint8Array(E);let X=0,D,U;for(D=0;D<ue;D++)for(U=0;U<B;U++)D<R[U].length&&(te[X++]=R[U][D]);for(D=0;D<N;D++)for(U=0;U<B;U++)te[X++]=$[U][D];return te}function x(S,I,z,E){let M;if(Array.isArray(S))M=g.fromArray(S);else if(typeof S=="string"){let L=I;if(!L){const F=g.rawSplit(S);L=u.getBestVersionForData(F,z)}M=g.fromString(S,L||40)}else throw new Error("Invalid data");const C=u.getBestVersionForData(M,z);if(!C)throw new Error("The amount of data is too big to be stored in a QR Code");if(!I)I=C;else if(I<C)throw new Error(`
11
11
  The chosen QR Code version cannot contain this amount of data.
12
12
  Minimum version required to store current data is: `+C+`.
13
- `);const B=k(S,q,D),F=r.getSymbolSize(S),z=new n(F);return g(z,S),f(z),v(z,S),h(z,q,0),S>=7&&y(z,S),w(z,B),isNaN(E)&&(E=s.getBestMask(z,h.bind(null,z,q))),s.applyMask(E,z),h(z,q,E),{modules:z,version:S,errorCorrectionLevel:q,maskPattern:E,segments:D}}return ol.create=function(S,q){if(typeof S>"u"||S==="")throw new Error("No input text");let E=e.M,D,C;return typeof q<"u"&&(E=e.from(q.errorCorrectionLevel,e.M),D=u.from(q.version),C=s.from(q.maskPattern),q.toSJISFunc&&r.setToSJISFunction(q.toSJISFunc)),x(S,D,E,C)},ol}var El={},Sl={},Gd;function Kd(){return Gd||(Gd=1,function(r){function e(t){if(typeof t=="number"&&(t=t.toString()),typeof t!="string")throw new Error("Color should be defined as hex string");let n=t.slice().replace("#","").split("");if(n.length<3||n.length===5||n.length>8)throw new Error("Invalid hex color: "+t);(n.length===3||n.length===4)&&(n=Array.prototype.concat.apply([],n.map(function(i){return[i,i]}))),n.length===6&&n.push("F","F");const a=parseInt(n.join(""),16);return{r:a>>24&255,g:a>>16&255,b:a>>8&255,a:a&255,hex:"#"+n.slice(0,6).join("")}}r.getOptions=function(n){n||(n={}),n.color||(n.color={});const a=typeof n.margin>"u"||n.margin===null||n.margin<0?4:n.margin,i=n.width&&n.width>=21?n.width:void 0,s=n.scale||4;return{width:i,scale:i?4:s,margin:a,color:{dark:e(n.color.dark||"#000000ff"),light:e(n.color.light||"#ffffffff")},type:n.type,rendererOpts:n.rendererOpts||{}}},r.getScale=function(n,a){return a.width&&a.width>=n+a.margin*2?a.width/(n+a.margin*2):a.scale},r.getImageWidth=function(n,a){const i=r.getScale(n,a);return Math.floor((n+a.margin*2)*i)},r.qrToImageData=function(n,a,i){const s=a.modules.size,l=a.modules.data,c=r.getScale(s,i),u=Math.floor((s+i.margin*2)*c),d=i.margin*c,p=[i.color.light,i.color.dark];for(let _=0;_<u;_++)for(let g=0;g<u;g++){let f=(_*u+g)*4,v=i.color.light;if(_>=d&&g>=d&&_<u-d&&g<u-d){const y=Math.floor((_-d)/c),h=Math.floor((g-d)/c);v=p[l[y*s+h]?1:0]}n[f++]=v.r,n[f++]=v.g,n[f++]=v.b,n[f]=v.a}}}(Sl)),Sl}var Xd;function Rh(){return Xd||(Xd=1,function(r){const e=Kd();function t(a,i,s){a.clearRect(0,0,i.width,i.height),i.style||(i.style={}),i.height=s,i.width=s,i.style.height=s+"px",i.style.width=s+"px"}function n(){try{return document.createElement("canvas")}catch{throw new Error("You need to specify a canvas element")}}r.render=function(i,s,l){let c=l,u=s;typeof c>"u"&&(!s||!s.getContext)&&(c=s,s=void 0),s||(u=n()),c=e.getOptions(c);const d=e.getImageWidth(i.modules.size,c),p=u.getContext("2d"),_=p.createImageData(d,d);return e.qrToImageData(_.data,i,c),t(p,u,d),p.putImageData(_,0,0),u},r.renderToDataURL=function(i,s,l){let c=l;typeof c>"u"&&(!s||!s.getContext)&&(c=s,s=void 0),c||(c={});const u=r.render(i,s,c),d=c.type||"image/png",p=c.rendererOpts||{};return u.toDataURL(d,p.quality)}}(El)),El}var Il={},Zd;function Uh(){if(Zd)return Il;Zd=1;const r=Kd();function e(a,i){const s=a.a/255,l=i+'="'+a.hex+'"';return s<1?l+" "+i+'-opacity="'+s.toFixed(2).slice(1)+'"':l}function t(a,i,s){let l=a+i;return typeof s<"u"&&(l+=" "+s),l}function n(a,i,s){let l="",c=0,u=!1,d=0;for(let p=0;p<a.length;p++){const _=Math.floor(p%i),g=Math.floor(p/i);!_&&!u&&(u=!0),a[p]?(d++,p>0&&_>0&&a[p-1]||(l+=u?t("M",_+s,.5+g+s):t("m",c,0),c=0,u=!1),_+1<i&&a[p+1]||(l+=t("h",d),d=0)):c++}return l}return Il.render=function(i,s,l){const c=r.getOptions(s),u=i.modules.size,d=i.modules.data,p=u+c.margin*2,_=c.color.light.a?"<path "+e(c.color.light,"fill")+' d="M0 0h'+p+"v"+p+'H0z"/>':"",g="<path "+e(c.color.dark,"stroke")+' d="'+n(d,u,c.margin)+'"/>',f='viewBox="0 0 '+p+" "+p+'"',y='<svg xmlns="http://www.w3.org/2000/svg" '+(c.width?'width="'+c.width+'" height="'+c.width+'" ':"")+f+' shape-rendering="crispEdges">'+_+g+`</svg>
14
- `;return typeof l=="function"&&l(null,y),y},Il}var Jd;function Vh(){if(Jd)return Va;Jd=1;const r=Ph(),e=Bh(),t=Rh(),n=Uh();function a(i,s,l,c,u){const d=[].slice.call(arguments,1),p=d.length,_=typeof d[p-1]=="function";if(!_&&!r())throw new Error("Callback required as last argument");if(_){if(p<2)throw new Error("Too few arguments provided");p===2?(u=l,l=s,s=c=void 0):p===3&&(s.getContext&&typeof u>"u"?(u=c,c=void 0):(u=c,c=l,l=s,s=void 0))}else{if(p<1)throw new Error("Too few arguments provided");return p===1?(l=s,s=c=void 0):p===2&&!s.getContext&&(c=l,l=s,s=void 0),new Promise(function(g,f){try{const v=e.create(l,c);g(i(v,s,c))}catch(v){f(v)}})}try{const g=e.create(l,c);u(null,i(g,s,c))}catch(g){u(g)}}return Va.create=e.create,Va.toCanvas=a.bind(null,t.render),Va.toDataURL=a.bind(null,t.renderToDataURL),Va.toString=a.bind(null,function(i,s,l){return n.render(i,l)}),Va}var Wh=Vh();const Hh=wh(Wh);var Yh=W('<div class="qr-wrapper svelte-1qd7oub"><img alt="Redemption QR Code" class="qr-code svelte-1qd7oub"/></div>');const Gh={hash:"svelte-1qd7oub",code:".qr-wrapper.svelte-1qd7oub {display:flex;justify-content:center;align-items:center;align-self:center;width:fit-content;margin:0 auto;background-color:#ffffff;border-radius:8px;padding:16px;}.qr-code.svelte-1qd7oub {display:block;width:128px;height:128px;image-rendering:-webkit-optimize-contrast;image-rendering:crisp-edges;}"};function Kh(r,e){fe(e,!0),ke(r,Gh);const t=()=>pe(i,"$variables",n),[n,a]=Ye(),i=rl(),s=m(()=>{var f;return(f=t())==null?void 0:f["success.redemption_url"]});let l=re(!0),c=re(""),u=re(!1);Tr(()=>{const f=window.matchMedia("(max-width: 767px)");j(l,f.matches,!0);const v=y=>{j(l,y.matches,!0)};return f.addEventListener("change",v),()=>{f.removeEventListener("change",v)}}),mr(()=>{!o(l)&&o(s)&&(j(u,!1),Hh.toDataURL(o(s),{width:512,margin:2,errorCorrectionLevel:"M",color:{dark:"#000000",light:"#ffffff"}}).then(f=>{j(c,f,!0)}).catch(f=>{console.warn("Failed to generate QR code:",f),j(u,!0)}))});var d=xe(),p=ae(d);{var _=f=>{Fr(f,dr(()=>e.stack,{onclick:()=>{window.location.href=o(s)}}))},g=f=>{var v=xe(),y=ae(v);{var h=w=>{var k=Yh(),b=T(k);Z(()=>be(b,"src",o(c))),P(w,k)};K(y,w=>{o(c)&&w(h)},!0)}P(f,v)};K(p,f=>{(o(l)||o(u))&&o(s)?f(_):f(g,!1)})}P(r,d),me(),a()}function Xh(r,e){const t=Q(e,"style",3,""),n=Q(e,"component",3,"p");var a=xe(),i=ae(a);Ls(i,n,!1,(s,l)=>{Vs(s,()=>({style:t()}));var c=xe(),u=ae(c);wr(u,()=>e.children??rr),P(l,c)}),P(r,a)}var Zh=W("<span><!></span>");function Cl(r,e){fe(e,!0);const t=()=>pe(u,"$selectedState",s),n=()=>pe(d,"$packageInfo",s),a=()=>pe(b,"$variables",s),i=()=>pe(_,"$selectedPackageId",s),[s,l]=Ye(),c=Er(e,["$$slots","$$events","$$legacy"]),u=Et(),d=Mn(),{uiConfig:p,selectedPackageId:_,emitComponentInteraction:g,onNavigateToUrl:f}=Yr(),v=m(()=>{var F,z,L;return{...c,...St(t(),e.overrides),...Nm(!!((F=n())!=null&&F.hasIntroOffer)||!!((z=n())!=null&&z.hasTrial),e.overrides),...Om(!!((L=n())!=null&&L.hasPromoOffer),e.overrides)}}),y=st(),h=m(y);let w=m(()=>lh(o(h),o(v),p.app.fonts));const k=m(()=>ch(o(h),o(v),o(v).size,o(v).background_color)),b=Fn(),{getLocalizedString:x}=ki(),I=m(()=>fd(x(o(v).text_lid),a())),S=m(()=>qn({selectedPackageId:i(),packageInfo:n(),variables:a()??{}},e.overrides,e.visible)),q=m(()=>uh(o(I))),E=F=>{if(F.defaultPrevented||F.button!==0||F.metaKey||F.ctrlKey||F.shiftKey||F.altKey)return;const z=F.target;if(!(z instanceof Element))return;const L=z.closest("a[href]");if(!(L instanceof HTMLAnchorElement))return;const A=L.getAttribute("href")??L.href;A&&(g({componentType:"text",componentName:e.name,componentValue:"navigate_to_url",componentURL:A}),f==null||f(A))};var D=xe(),C=ae(D);{var B=F=>{var z=Zh();z.__click=E;var L=T(z);Xh(L,{get style(){return o(w)},component:"span",children:(A,M)=>{var N=xe(),H=ae(N);fn(H,()=>o(q)),P(A,N)},$$slots:{default:!0}}),Z(()=>De(z,o(k))),P(F,z)};K(C,F=>{o(S)&&F(B)})}P(r,D),me(),l()}_n(["click"]);function Jh(r,e){return typeof r.addEventListener=="function"?(r.addEventListener("change",e),()=>r.removeEventListener("change",e)):(r.addListener(e),()=>r.removeListener(e))}function Ii(r,e){r.muted=e.preferMuted||e.mutedPlaybackOverride,r.playsInline=!0}function Qh(r,e){const{cancelled:t,preferMuted:n,getMutedOverride:a,setMutedOverride:i}=e;if(t()||!r.paused||(Ii(r,{preferMuted:n,mutedPlaybackOverride:a()}),r.readyState<HTMLMediaElement.HAVE_CURRENT_DATA))return;const s=r.play();s!==void 0&&s.catch(()=>{t()||!r.isConnected||!n&&!a()&&(i(!0),Ii(r,{preferMuted:n,mutedPlaybackOverride:!0}),r.play().catch(()=>{}))})}function Qd(r,e,t){const n=()=>{t()||e()},a=()=>n();r.readyState<HTMLMediaElement.HAVE_CURRENT_DATA?(r.addEventListener("loadeddata",a),r.addEventListener("canplay",a)):queueMicrotask(n),queueMicrotask(n),requestAnimationFrame(()=>{n()});const i=()=>n();return typeof document<"u"&&typeof window<"u"&&(document.readyState==="complete"?queueMicrotask(n):window.addEventListener("load",i)),()=>{r.removeEventListener("loadeddata",a),r.removeEventListener("canplay",a),typeof window<"u"&&window.removeEventListener("load",i)}}var $h=W('<div class="rc-bg-video svelte-1909osa" aria-hidden="true"><img alt="" class="fill svelte-1909osa"/></div>'),ev=W('<source media="(max-width: 600px)"/>'),rv=W('<div class="rc-bg-video svelte-1909osa" aria-hidden="true"><video class="fill svelte-1909osa" playsinline="" autoplay preload="auto"><!> <source/></video></div>',2);const tv={hash:"svelte-1909osa",code:`.rc-bg-video.svelte-1909osa {position:absolute;inset:0;overflow:hidden;z-index:1;pointer-events:none;}
13
+ `);const B=w(I,z,M),O=r.getSymbolSize(I),q=new n(O);return _(q,I),f(q),v(q,I),h(q,z,0),I>=7&&y(q,I),k(q,B),isNaN(E)&&(E=s.getBestMask(q,h.bind(null,q,z))),s.applyMask(E,q),h(q,z,E),{modules:q,version:I,errorCorrectionLevel:z,maskPattern:E,segments:M}}return ol.create=function(I,z){if(typeof I>"u"||I==="")throw new Error("No input text");let E=e.M,M,C;return typeof z<"u"&&(E=e.from(z.errorCorrectionLevel,e.M),M=u.from(z.version),C=s.from(z.maskPattern),z.toSJISFunc&&r.setToSJISFunction(z.toSJISFunc)),x(I,M,E,C)},ol}var El={},Sl={},Zd;function Jd(){return Zd||(Zd=1,function(r){function e(t){if(typeof t=="number"&&(t=t.toString()),typeof t!="string")throw new Error("Color should be defined as hex string");let n=t.slice().replace("#","").split("");if(n.length<3||n.length===5||n.length>8)throw new Error("Invalid hex color: "+t);(n.length===3||n.length===4)&&(n=Array.prototype.concat.apply([],n.map(function(i){return[i,i]}))),n.length===6&&n.push("F","F");const a=parseInt(n.join(""),16);return{r:a>>24&255,g:a>>16&255,b:a>>8&255,a:a&255,hex:"#"+n.slice(0,6).join("")}}r.getOptions=function(n){n||(n={}),n.color||(n.color={});const a=typeof n.margin>"u"||n.margin===null||n.margin<0?4:n.margin,i=n.width&&n.width>=21?n.width:void 0,s=n.scale||4;return{width:i,scale:i?4:s,margin:a,color:{dark:e(n.color.dark||"#000000ff"),light:e(n.color.light||"#ffffffff")},type:n.type,rendererOpts:n.rendererOpts||{}}},r.getScale=function(n,a){return a.width&&a.width>=n+a.margin*2?a.width/(n+a.margin*2):a.scale},r.getImageWidth=function(n,a){const i=r.getScale(n,a);return Math.floor((n+a.margin*2)*i)},r.qrToImageData=function(n,a,i){const s=a.modules.size,l=a.modules.data,c=r.getScale(s,i),u=Math.floor((s+i.margin*2)*c),d=i.margin*c,p=[i.color.light,i.color.dark];for(let g=0;g<u;g++)for(let _=0;_<u;_++){let f=(g*u+_)*4,v=i.color.light;if(g>=d&&_>=d&&g<u-d&&_<u-d){const y=Math.floor((g-d)/c),h=Math.floor((_-d)/c);v=p[l[y*s+h]?1:0]}n[f++]=v.r,n[f++]=v.g,n[f++]=v.b,n[f]=v.a}}}(Sl)),Sl}var Qd;function Wh(){return Qd||(Qd=1,function(r){const e=Jd();function t(a,i,s){a.clearRect(0,0,i.width,i.height),i.style||(i.style={}),i.height=s,i.width=s,i.style.height=s+"px",i.style.width=s+"px"}function n(){try{return document.createElement("canvas")}catch{throw new Error("You need to specify a canvas element")}}r.render=function(i,s,l){let c=l,u=s;typeof c>"u"&&(!s||!s.getContext)&&(c=s,s=void 0),s||(u=n()),c=e.getOptions(c);const d=e.getImageWidth(i.modules.size,c),p=u.getContext("2d"),g=p.createImageData(d,d);return e.qrToImageData(g.data,i,c),t(p,u,d),p.putImageData(g,0,0),u},r.renderToDataURL=function(i,s,l){let c=l;typeof c>"u"&&(!s||!s.getContext)&&(c=s,s=void 0),c||(c={});const u=r.render(i,s,c),d=c.type||"image/png",p=c.rendererOpts||{};return u.toDataURL(d,p.quality)}}(El)),El}var Il={},$d;function Hh(){if($d)return Il;$d=1;const r=Jd();function e(a,i){const s=a.a/255,l=i+'="'+a.hex+'"';return s<1?l+" "+i+'-opacity="'+s.toFixed(2).slice(1)+'"':l}function t(a,i,s){let l=a+i;return typeof s<"u"&&(l+=" "+s),l}function n(a,i,s){let l="",c=0,u=!1,d=0;for(let p=0;p<a.length;p++){const g=Math.floor(p%i),_=Math.floor(p/i);!g&&!u&&(u=!0),a[p]?(d++,p>0&&g>0&&a[p-1]||(l+=u?t("M",g+s,.5+_+s):t("m",c,0),c=0,u=!1),g+1<i&&a[p+1]||(l+=t("h",d),d=0)):c++}return l}return Il.render=function(i,s,l){const c=r.getOptions(s),u=i.modules.size,d=i.modules.data,p=u+c.margin*2,g=c.color.light.a?"<path "+e(c.color.light,"fill")+' d="M0 0h'+p+"v"+p+'H0z"/>':"",_="<path "+e(c.color.dark,"stroke")+' d="'+n(d,u,c.margin)+'"/>',f='viewBox="0 0 '+p+" "+p+'"',y='<svg xmlns="http://www.w3.org/2000/svg" '+(c.width?'width="'+c.width+'" height="'+c.width+'" ':"")+f+' shape-rendering="crispEdges">'+g+_+`</svg>
14
+ `;return typeof l=="function"&&l(null,y),y},Il}var ep;function Yh(){if(ep)return Ha;ep=1;const r=Sh(),e=Vh(),t=Wh(),n=Hh();function a(i,s,l,c,u){const d=[].slice.call(arguments,1),p=d.length,g=typeof d[p-1]=="function";if(!g&&!r())throw new Error("Callback required as last argument");if(g){if(p<2)throw new Error("Too few arguments provided");p===2?(u=l,l=s,s=c=void 0):p===3&&(s.getContext&&typeof u>"u"?(u=c,c=void 0):(u=c,c=l,l=s,s=void 0))}else{if(p<1)throw new Error("Too few arguments provided");return p===1?(l=s,s=c=void 0):p===2&&!s.getContext&&(c=l,l=s,s=void 0),new Promise(function(_,f){try{const v=e.create(l,c);_(i(v,s,c))}catch(v){f(v)}})}try{const _=e.create(l,c);u(null,i(_,s,c))}catch(_){u(_)}}return Ha.create=e.create,Ha.toCanvas=a.bind(null,t.render),Ha.toDataURL=a.bind(null,t.renderToDataURL),Ha.toString=a.bind(null,function(i,s,l){return n.render(i,l)}),Ha}var Gh=Yh();const Kh=Eh(Gh);var Xh=V('<div class="qr-wrapper svelte-1qd7oub"><img alt="Redemption QR Code" class="qr-code svelte-1qd7oub"/></div>');const Zh={hash:"svelte-1qd7oub",code:".qr-wrapper.svelte-1qd7oub {display:flex;justify-content:center;align-items:center;align-self:center;width:fit-content;margin:0 auto;background-color:#ffffff;border-radius:8px;padding:16px;}.qr-code.svelte-1qd7oub {display:block;width:128px;height:128px;image-rendering:-webkit-optimize-contrast;image-rendering:crisp-edges;}"};function Jh(r,e){fe(e,!0),we(r,Zh);const t=()=>pe(i,"$variables",n),[n,a]=He(),i=rl(),s=m(()=>{var f;return(f=t())==null?void 0:f["success.redemption_url"]});let l=re(!0),c=re(""),u=re(!1);Cr(()=>{const f=window.matchMedia("(max-width: 767px)");j(l,f.matches,!0);const v=y=>{j(l,y.matches,!0)};return f.addEventListener("change",v),()=>{f.removeEventListener("change",v)}}),gr(()=>{!o(l)&&o(s)&&(j(u,!1),Kh.toDataURL(o(s),{width:512,margin:2,errorCorrectionLevel:"M",color:{dark:"#000000",light:"#ffffff"}}).then(f=>{j(c,f,!0)}).catch(f=>{console.warn("Failed to generate QR code:",f),j(u,!0)}))});var d=Se(),p=oe(d);{var g=f=>{Fr(f,dr(()=>e.stack,{onclick:()=>{window.location.href=o(s)}}))},_=f=>{var v=Se(),y=oe(v);{var h=k=>{var w=Xh(),b=T(w);K(()=>be(b,"src",o(c))),P(k,w)};Y(y,k=>{o(c)&&k(h)},!0)}P(f,v)};Y(p,f=>{(o(l)||o(u))&&o(s)?f(g):f(_,!1)})}P(r,d),me(),a()}function Qh(r,e){const t=J(e,"style",3,""),n=J(e,"component",3,"p");var a=Se(),i=oe(a);Ls(i,n,!1,(s,l)=>{Vs(s,()=>({style:t()}));var c=Se(),u=oe(c);kr(u,()=>e.children??tr),P(l,c)}),P(r,a)}var $h=V("<span><!></span>");function Cl(r,e){fe(e,!0);const t=()=>pe(u,"$selectedState",s),n=()=>pe(d,"$packageInfo",s),a=()=>pe(b,"$variables",s),i=()=>pe(g,"$selectedPackageId",s),[s,l]=He(),c=xr(e,["$$slots","$$events","$$legacy"]),u=xt(),d=Mn(),{uiConfig:p,selectedPackageId:g,emitComponentInteraction:_,onNavigateToUrl:f}=Hr(),v=m(()=>{var O,q,L;return{...c,...Et(t(),e.overrides),...Bm(!!((O=n())!=null&&O.hasIntroOffer)||!!((q=n())!=null&&q.hasTrial),e.overrides),...Um(!!((L=n())!=null&&L.hasPromoOffer),e.overrides)}}),y=it(),h=m(y);let k=m(()=>dh(o(h),o(v),p.app.fonts));const w=m(()=>ph(o(h),o(v),o(v).size,o(v).background_color)),b=zn(),{getLocalizedString:x}=ki(),S=m(()=>vd(x(o(v).text_lid),a())),I=m(()=>Fn({selectedPackageId:i(),packageInfo:n(),variables:a()??{}},e.overrides,e.visible)),z=m(()=>_h(o(S))),E=O=>{if(O.defaultPrevented||O.button!==0||O.metaKey||O.ctrlKey||O.shiftKey||O.altKey)return;const q=O.target;if(!(q instanceof Element))return;const L=q.closest("a[href]");if(!(L instanceof HTMLAnchorElement))return;const F=L.getAttribute("href")??L.href;F&&(_({componentType:"text",componentName:e.name,componentValue:"navigate_to_url",componentURL:F}),f==null||f(F))};var M=Se(),C=oe(M);{var B=O=>{var q=$h();q.__click=E;var L=T(q);Qh(L,{get style(){return o(k)},component:"span",children:(F,A)=>{var N=Se(),W=oe(N);fn(W,()=>o(z)),P(F,N)},$$slots:{default:!0}}),K(()=>De(q,o(w))),P(O,q)};Y(C,O=>{o(I)&&O(B)})}P(r,M),me(),l()}_n(["click"]);function ev(r,e){return typeof r.addEventListener=="function"?(r.addEventListener("change",e),()=>r.removeEventListener("change",e)):(r.addListener(e),()=>r.removeListener(e))}function Ii(r,e){r.muted=e.preferMuted||e.mutedPlaybackOverride,r.playsInline=!0}function rv(r,e){const{cancelled:t,preferMuted:n,getMutedOverride:a,setMutedOverride:i}=e;if(t()||!r.paused||(Ii(r,{preferMuted:n,mutedPlaybackOverride:a()}),r.readyState<HTMLMediaElement.HAVE_CURRENT_DATA))return;const s=r.play();s!==void 0&&s.catch(()=>{t()||!r.isConnected||!n&&!a()&&(i(!0),Ii(r,{preferMuted:n,mutedPlaybackOverride:!0}),r.play().catch(()=>{}))})}function rp(r,e,t){const n=()=>{t()||e()},a=()=>n();r.readyState<HTMLMediaElement.HAVE_CURRENT_DATA?(r.addEventListener("loadeddata",a),r.addEventListener("canplay",a)):queueMicrotask(n),queueMicrotask(n),requestAnimationFrame(()=>{n()});const i=()=>n();return typeof document<"u"&&typeof window<"u"&&(document.readyState==="complete"?queueMicrotask(n):window.addEventListener("load",i)),()=>{r.removeEventListener("loadeddata",a),r.removeEventListener("canplay",a),typeof window<"u"&&window.removeEventListener("load",i)}}var tv=V('<div class="rc-bg-video svelte-1909osa" aria-hidden="true"><img alt="" class="fill svelte-1909osa"/></div>'),nv=V('<source media="(max-width: 600px)"/>'),av=V('<div class="rc-bg-video svelte-1909osa" aria-hidden="true"><video class="fill svelte-1909osa" playsinline="" autoplay preload="auto"><!> <source/></video></div>',2);const ov={hash:"svelte-1909osa",code:`.rc-bg-video.svelte-1909osa {position:absolute;inset:0;overflow:hidden;z-index:1;pointer-events:none;}
15
15
 
16
16
  /**
17
17
  * Fill the layer with absolute edges (percent heights are unreliable under nested
18
18
  * flex/absolute hosts). Beat Paywall's global \`.paywall video { max-width: 100% }\`
19
19
  * so \`object-fit: cover|contain\` applies to the full backdrop box (e.g. carousel).
20
- */.rc-bg-video.svelte-1909osa :is(video:where(.svelte-1909osa), img:where(.svelte-1909osa)).fill:where(.svelte-1909osa) {position:absolute;inset:0;width:100%;height:100%;max-width:none;max-height:none;display:block;}.rc-bg-video.svelte-1909osa video.fill:where(.svelte-1909osa) {transform:translateZ(0);-webkit-transform:translateZ(0);}`};function Do(r,e){fe(e,!0),ke(r,tv);let t=Q(e,"urlLowRes",3,null),n=Q(e,"poster",3,null),a=re(null),i=re(!1),s=re(!1),l=re(!1);Tr(()=>{if(typeof window>"u")return;const v=window.matchMedia("(prefers-reduced-motion: reduce)");return j(s,v.matches,!0),Jh(v,()=>{j(s,v.matches,!0)})}),mr(()=>{e.url,t(),Ue(()=>{j(i,!1),j(l,!1)}),queueMicrotask(()=>{var v;(v=o(a))==null||v.load()})});const c=m(()=>o(s)||o(i)),u=m(()=>`object-fit:${e.objectFit};object-position:${e.objectPosition}`);mr(()=>{if(o(c)||!o(a)){Ue(()=>{j(l,!1)});return}const v=o(a);let y=!1;const h=()=>y,k=Qd(v,()=>{Qh(v,{cancelled:h,preferMuted:e.mute,getMutedOverride:()=>o(l),setMutedOverride:b=>Ue(()=>{j(l,b,!0)})})},h);return()=>{y=!0,k()}});function d(){j(i,!0)}var p=xe(),_=ae(p);{var g=v=>{var y=$h(),h=T(y);Z(()=>{be(h,"src",n()),De(h,o(u))}),P(v,y)},f=v=>{var y=xe(),h=ae(y);{var w=b=>{},k=b=>{var x=rv(),I=T(x),S=T(I);{var q=D=>{var C=ev();Z(()=>be(C,"src",t())),P(D,C)};K(S,D=>{t()&&D(q)})}var E=Y(S,2);ja(I,D=>j(a,D),()=>o(a)),Z(()=>{De(I,o(u)),I.loop=e.loop,I.muted=e.mute||o(l),be(I,"poster",n()??void 0),be(E,"src",e.url)}),Nr("error",I,d),P(b,x)};K(h,b=>{o(c)?b(w):b(k,!1)},!0)}P(v,y)};K(_,v=>{o(c)&&n()?v(g):v(f,!1)})}P(r,p),me()}function Ci(r){return`rc-${r}-video-bg`}function Ti(r){if(!r.hasVideoBg)return{};const e={isolation:"isolate"};return r.positionRelative&&(e.position="relative"),r.clipOverflow&&(e.overflow="hidden"),e}function nv(r){switch(r){case"top":return"flex-start";case"center":return"center";case"bottom":return"flex-end"}}function av(r,e,t){return Math.max(e,Math.min(r,t))}function Di(r){if(r===null)return 0;const e=window.getComputedStyle(r);return new WebKitCSSMatrix(e.transform).m41}var ov=W('<div class="page svelte-10h67ft" role="group" aria-roledescription="slide"><!></div>');const iv={hash:"svelte-10h67ft",code:"div.svelte-10h67ft {flex:0 0 100%;scroll-snap-align:center;scroll-snap-stop:always;}"};function Tl(r,e){ke(r,iv);const t=Q(e,"hidden",3,!1);var n=ov(),a=T(n);Fr(a,dr(()=>e.page)),Z(()=>{be(n,"aria-label",`Slide ${e.index+1} of ${e.pages}`),be(n,"aria-current",e.selected),be(n,"aria-hidden",t())}),P(r,n)}var sv=W("<div></div>"),lv=W('<div class="control rc-gradient-border svelte-i6xgg2"></div>');const cv={hash:"svelte-i6xgg2",code:".control.svelte-i6xgg2 {align-self:center;display:flex;flex-direction:row;align-items:center;justify-content:center;}"};function uv(r,e){fe(e,!0),ke(r,cv);const t=Q(e,"background_color",3,null),n=Q(e,"border",3,null),a=Q(e,"shape",3,null),i=Q(e,"shadow",3,null),s=st(),l=m(s);function c(f){return jn(o(l),f.stroke_width==null||f.stroke_color==null?null:{width:f.stroke_width,color:f.stroke_color})}function u(f){return ir({width:Gr(f.width),height:Gr(f.height),background:lt(o(l),f.color),...c(f),"border-radius":"9999px"})}const d=m(()=>u(e.default)),p=m(()=>u(e.active)),_=m(()=>ir({order:e.position==="top"?-1:1,gap:Gr(e.spacing),margin:Pr(e.margin),padding:Pr(e.padding),...On(o(l),t(),null),...jn(o(l),n()),"border-radius":Nn(a()),"box-shadow":la(o(l),i())}));var g=lv();Ht(g,21,()=>({length:e.length}),gn,(f,v,y)=>{var h=sv();Z(()=>De(h,y===e.selected?o(p):o(d))),P(f,h)}),Z(()=>De(g,o(_))),P(r,g),me()}var dv=W('<div class="carousel-bg-video-mount svelte-3bxg40"><!></div>'),pv=W('<div><!> <div class="carousel-clip svelte-3bxg40"><div class="slider svelte-3bxg40" role="region" aria-label="Feature carousel" aria-roledescription="carousel" aria-live="polite"><!> <!> <!></div> <!></div></div>');const _v={hash:"svelte-3bxg40",code:'.carousel.svelte-3bxg40 {max-width:100%;display:flex;flex-direction:column;flex-shrink:0;}.carousel-clip.svelte-3bxg40 {display:flex;flex-direction:column;flex:1;min-width:0;min-height:0;overflow:hidden;border-radius:inherit;}.carousel-bg-video-mount.svelte-3bxg40 {position:absolute;inset:0;z-index:1;border-radius:inherit;overflow:hidden;pointer-events:none;}.carousel.rc-carousel-video-bg.svelte-3bxg40::before {content:"";position:absolute;inset:0;background:var(--overlay);pointer-events:none;z-index:2;}.carousel.rc-carousel-video-bg.svelte-3bxg40 .carousel-clip:where(.svelte-3bxg40) {position:relative;z-index:3;}.slider.svelte-3bxg40 {display:flex;flex-direction:row;flex-wrap:nowrap;transition-property:transform;transition-duration:500ms;transition-timing-function:ease-in-out;transition-delay:2500ms;transform:translateX(0);cursor:grab;&:active {cursor:grabbing;user-select:none;}}'};function gv(r,e){fe(e,!0),ke(r,_v);const t=()=>pe(s,"$selectedState",n),[n,a]=Ye(),i=Er(e,["$$slots","$$events","$$legacy"]),s=Et(),l=m(()=>({...i,...St(t(),e.overrides)})),c=m(()=>o(l).pages),u=m(()=>o(l).padding),d=m(()=>o(l).margin),p=m(()=>o(l).background),_=m(()=>o(l).shape),g=m(()=>o(l).border),f=m(()=>o(l).shadow),v=m(()=>o(l).page_alignment),y=m(()=>o(l).page_spacing),h=m(()=>o(l).page_peek),w=m(()=>o(l).page_control),k=m(()=>o(l).initial_page_index),b=m(()=>o(l).loop),x=m(()=>o(l).auto_advance),I=st(),S=m(I),{emitComponentInteraction:q}=Yr(),E=m(()=>{var oe;return((oe=o(p))==null?void 0:oe.type)==="video"}),D=m(()=>{if(!o(E))return null;const oe=o(p);return!oe||oe.type!=="video"?null:Io(o(S),oe)}),C=m(()=>Nn(o(_))),B=m(()=>{var oe;return ir({margin:Pr(o(d)),padding:Pr(o(u)),...Ti({hasVideoBg:o(E),positionRelative:!0}),...On(o(S),null,o(p)),...jn(o(S),o(g)),"border-radius":o(C),"box-shadow":la(o(S),o(f)),"transition-duration":`${((oe=o(x))==null?void 0:oe.ms_transition_time)??0}ms`})}),F=m(()=>ir({gap:Gr(o(y)),padding:`0 ${o(h)+o(y)}px`,"align-items":nv(o(v))})),z=m(()=>{if(!o(b))return[];const oe=o(c).length-1;switch(o(c).length){case 0:return[];case 1:return[0,0];case 2:return[0,oe];default:return[oe-1,oe]}}),L=m(()=>{if(!o(b))return[];switch(o(c).length){case 0:return[];case 1:return[0,0];default:return[0,1]}});let A=null,M=re(0),N=re(0),H=m(()=>2*o(h)+o(y)),X=m(()=>o(N)-o(H)),R=re(null);function $(){return o(c).at(o(k))!==void 0?o(k):0}function ce(oe){return o(c).length===0?0:(oe%o(c).length+o(c).length)%o(c).length}function de(oe){var Oe;return(Oe=o(c)[oe])==null?void 0:Oe.name}function G(oe=!0,Oe){var _r,zr;if(A===null)return;const yr=oe?((_r=o(x))==null?void 0:_r.ms_time_per_page)??0:0;Oe??(Oe=((zr=o(x))==null?void 0:zr.ms_transition_time)??0),A.style.transition=`transform ${Oe}ms ease-in-out ${yr}ms`}function V(){A!==null&&(A.style.transition="none")}const O=m(()=>o(b)?2:0);function U(oe){A!==null&&(A.style.transform=`translateX(${oe}px)`)}function te(oe){if(A===null)return;oe+=o(O);const Oe=oe*-o(X);U(Oe)}function ue(oe){oe%=o(c).length+o(O),G(!0),te(oe)}function Se(){o(x)!=null&&requestAnimationFrame(()=>{ue(o(M)+1)})}Tr(()=>{const oe=$();j(M,oe,!0),V(),te(o(M)),Se()});function Pe(oe){return Math.round(oe/-o(X))-o(O)}function Te(){const oe=Di(A),Oe=Pe(oe);j(M,(Oe+o(c).length)%o(c).length),V(),te(o(M)),requestAnimationFrame(()=>{Se()})}let Ne=re(0);function ze(oe){oe.currentTarget.setPointerCapture(oe.pointerId),j(Ne,Di(A),!0),j(R,o(M),!0)}function Ie(oe){oe.currentTarget.releasePointerCapture(oe.pointerId);const yr=Di(A),_r=Pe(yr),zr=ce(_r);o(R)!==null&&o(R)!==zr&&q({componentType:"carousel",componentName:e.name,componentValue:zr.toString(),originIndex:o(R),destinationIndex:zr,originContextName:de(o(R)),destinationContextName:de(zr),defaultIndex:$()}),j(R,null),G(!1,500),te(_r)}function Ee(oe){if(!oe.currentTarget.hasPointerCapture(oe.pointerId))return;const[yr,_r]=o(b)?[o(Ne)-o(N),o(Ne)+o(N)]:[-(o(c).length-1)*o(X),0],zr=Di(A),yt=av(zr+oe.movementX,yr,_r),Kn=Pe(yt);j(M,(Kn+o(c).length)%o(c).length),U(yt),V()}var Be=pv(),Ve=T(Be);{var ne=oe=>{var Oe=dv(),yr=T(Oe);Do(yr,{get url(){return o(D).url},get urlLowRes(){return o(D).url_low_res},get objectFit(){return o(D).fit},get objectPosition(){return o(D).position},get poster(){return o(D).posterWebp},get mute(){return o(D).mute},get loop(){return o(D).loop}}),P(oe,Oe)};K(Ve,oe=>{o(D)&&oe(ne)})}var ge=Y(Ve,2),le=T(ge);le.__pointerdown=ze,le.__pointerup=Ie,le.__pointermove=Ee;var Ce=T(le);Ht(Ce,17,()=>o(z),gn,(oe,Oe)=>{{let yr=m(()=>o(M)===o(Oe));Tl(oe,{get page(){return o(c)[o(Oe)]},get index(){return o(Oe)},get pages(){return o(c).length},get selected(){return o(yr)},hidden:!0})}});var Ke=Y(Ce,2);Ht(Ke,17,()=>o(c),gn,(oe,Oe,yr)=>{{let _r=m(()=>o(M)===yr);Tl(oe,{get page(){return o(Oe)},index:yr,get pages(){return o(c).length},get selected(){return o(_r)}})}});var er=Y(Ke,2);Ht(er,17,()=>o(L),gn,(oe,Oe)=>{{let yr=m(()=>o(M)===o(Oe));Tl(oe,{get page(){return o(c)[o(Oe)]},get index(){return o(Oe)},get pages(){return o(c).length},get selected(){return o(yr)},hidden:!0})}}),ja(le,oe=>A=oe,()=>A);var hr=Y(le,2);{var Re=oe=>{uv(oe,dr(()=>o(w),{get length(){return o(c).length},get selected(){return o(M)}}))};K(hr,oe=>{o(w)!=null&&oe(Re)})}Z(oe=>{ur(Be,1,oe,"svelte-3bxg40"),De(Be,o(B)),De(le,o(F))},[()=>ia(["carousel","rc-gradient-border",o(E)?Ci("carousel"):""].filter(Boolean).join(" "))]),Nr("transitionend",le,Te),hi(le,"clientWidth",oe=>j(N,oe)),P(r,Be),me(),a()}_n(["pointerdown","pointerup","pointermove"]);var fv=W('<div class="rc-gradient-border"><div></div></div>');function $d(r,e){fe(e,!0);const t=()=>pe(u,"$selectedState",s),n=()=>pe(p,"$selectedPackageId",s),a=()=>pe(d,"$packageInfo",s),i=()=>pe(_,"$variables",s),[s,l]=Ye(),c=Er(e,["$$slots","$$events","$$legacy"]),u=Et(),d=Mn(),{selectedPackageId:p}=Yr(),_=Fn(),g=m(()=>({...c,...St(t(),e.overrides)})),f=m(()=>o(g).base_url),v=m(()=>o(g).formats),y=m(()=>o(g).size),h=m(()=>o(g).margin),w=m(()=>o(g).padding),k=m(()=>o(g).color),b=m(()=>o(g).icon_background),x=st(),I=m(x),S=m(()=>{var z,L,A,M;return ir({width:Sr(o(y).width),height:Sr(o(y).height),margin:Pr(o(h)),padding:Pr(o(w)),"background-color":lt(o(I),(z=o(b))==null?void 0:z.color),...jn(o(I),(L=o(b))==null?void 0:L.border),"border-radius":Nn((A=o(b))==null?void 0:A.shape),"box-shadow":la(o(I),(M=o(b))==null?void 0:M.shadow),flex:"0 0 auto"})}),q=m(()=>qn({selectedPackageId:n(),packageInfo:a(),variables:i()??{}},e.overrides,e.visible)),E=m(()=>`${o(f)}/${o(v).webp}`),D=m(()=>ir({width:"100%",height:"100%",position:"relative","z-index":1,overflow:"hidden","background-color":lt(o(I),o(k)),"mask-image":`url(${o(E)})`,"-webkit-mask-image":`url(${o(E)})`,"mask-size":"contain","-webkit-mask-size":"contain","mask-position":"center","-webkit-mask-position":"center","mask-repeat":"no-repeat","-webkit-mask-repeat":"no-repeat"}));var C=xe(),B=ae(C);{var F=z=>{var L=fv(),A=T(L);Z(()=>{De(L,o(S)),De(A,o(D))}),P(z,L)};K(B,z=>{o(q)&&z(F)})}P(r,C),me(),l()}const ep=Symbol("selected");function mv(r){kr(ep,r)}function Dl(){const r=Xe(ep);if(r===void 0)throw new Error("Tabs context not found");return r}function hv(r,e){fe(e,!0);const t=()=>pe(i,"$control",n),[n,a]=Ye(),{control:i}=Dl();Fr(r,dr(()=>t().stack)),me(),a()}function vv(r,e){fe(e,!0);const{selectedTabId:t,selectTab:n}=Dl();wi(zt(t,i=>i===e.tab_id)),Fr(r,dr(()=>e.stack,{onclick:()=>{n(e.tab_id,e.tab_index,"tab")}})),me()}var yv=W('<div role="button" tabindex="0" aria-label="Toggle" class="toggle svelte-14oltm0"><div class="thumb svelte-14oltm0"></div></div>');const bv={hash:"svelte-14oltm0",code:`.toggle.svelte-14oltm0 {appearance:none;--height: 31px;position:relative;width:51px;height:var(--height);border-radius:calc(var(--height) / 2);cursor:pointer;user-select:none;transition:background-color 300ms ease;}.thumb.svelte-14oltm0 {--size: 27px;position:absolute;top:2px;width:var(--size);height:var(--size);border-radius:50%;box-shadow:0 1px 3px rgba(0, 0, 0, 0.2),
20
+ */.rc-bg-video.svelte-1909osa :is(video:where(.svelte-1909osa), img:where(.svelte-1909osa)).fill:where(.svelte-1909osa) {position:absolute;inset:0;width:100%;height:100%;max-width:none;max-height:none;display:block;}.rc-bg-video.svelte-1909osa video.fill:where(.svelte-1909osa) {transform:translateZ(0);-webkit-transform:translateZ(0);}`};function Ao(r,e){fe(e,!0),we(r,ov);let t=J(e,"urlLowRes",3,null),n=J(e,"poster",3,null),a=re(null),i=re(!1),s=re(!1),l=re(!1);Cr(()=>{if(typeof window>"u")return;const v=window.matchMedia("(prefers-reduced-motion: reduce)");return j(s,v.matches,!0),ev(v,()=>{j(s,v.matches,!0)})}),gr(()=>{e.url,t(),Re(()=>{j(i,!1),j(l,!1)}),queueMicrotask(()=>{var v;(v=o(a))==null||v.load()})});const c=m(()=>o(s)||o(i)),u=m(()=>`object-fit:${e.objectFit};object-position:${e.objectPosition}`);gr(()=>{if(o(c)||!o(a)){Re(()=>{j(l,!1)});return}const v=o(a);let y=!1;const h=()=>y,w=rp(v,()=>{rv(v,{cancelled:h,preferMuted:e.mute,getMutedOverride:()=>o(l),setMutedOverride:b=>Re(()=>{j(l,b,!0)})})},h);return()=>{y=!0,w()}});function d(){j(i,!0)}var p=Se(),g=oe(p);{var _=v=>{var y=tv(),h=T(y);K(()=>{be(h,"src",n()),De(h,o(u))}),P(v,y)},f=v=>{var y=Se(),h=oe(y);{var k=b=>{},w=b=>{var x=av(),S=T(x),I=T(S);{var z=M=>{var C=nv();K(()=>be(C,"src",t())),P(M,C)};Y(I,M=>{t()&&M(z)})}var E=H(I,2);Oa(S,M=>j(a,M),()=>o(a)),K(()=>{De(S,o(u)),S.loop=e.loop,S.muted=e.mute||o(l),be(S,"poster",n()??void 0),be(E,"src",e.url)}),zr("error",S,d),P(b,x)};Y(h,b=>{o(c)?b(k):b(w,!1)},!0)}P(v,y)};Y(g,v=>{o(c)&&n()?v(_):v(f,!1)})}P(r,p),me()}function Ci(r){return`rc-${r}-video-bg`}function Ti(r){if(!r.hasVideoBg)return{};const e={isolation:"isolate"};return r.positionRelative&&(e.position="relative"),r.clipOverflow&&(e.overflow="hidden"),e}function iv(r){switch(r){case"top":return"flex-start";case"center":return"center";case"bottom":return"flex-end"}}function sv(r,e,t){return Math.max(e,Math.min(r,t))}function Di(r){if(r===null)return 0;const e=window.getComputedStyle(r);return new WebKitCSSMatrix(e.transform).m41}var lv=V('<div class="page svelte-10h67ft" role="group" aria-roledescription="slide"><!></div>');const cv={hash:"svelte-10h67ft",code:"div.svelte-10h67ft {flex:0 0 100%;scroll-snap-align:center;scroll-snap-stop:always;}"};function Tl(r,e){we(r,cv);const t=J(e,"hidden",3,!1);var n=lv(),a=T(n);Fr(a,dr(()=>e.page)),K(()=>{be(n,"aria-label",`Slide ${e.index+1} of ${e.pages}`),be(n,"aria-current",e.selected),be(n,"aria-hidden",t())}),P(r,n)}var uv=V("<div></div>"),dv=V('<div class="control rc-gradient-border svelte-i6xgg2"></div>');const pv={hash:"svelte-i6xgg2",code:".control.svelte-i6xgg2 {align-self:center;display:flex;flex-direction:row;align-items:center;justify-content:center;}"};function _v(r,e){fe(e,!0),we(r,pv);const t=J(e,"background_color",3,null),n=J(e,"border",3,null),a=J(e,"shape",3,null),i=J(e,"shadow",3,null),s=it(),l=m(s);function c(f){return Nn(o(l),f.stroke_width==null||f.stroke_color==null?null:{width:f.stroke_width,color:f.stroke_color})}function u(f){return ir({width:Yr(f.width),height:Yr(f.height),background:st(o(l),f.color),...c(f),"border-radius":"9999px"})}const d=m(()=>u(e.default)),p=m(()=>u(e.active)),g=m(()=>ir({order:e.position==="top"?-1:1,gap:Yr(e.spacing),margin:wr(e.margin),padding:wr(e.padding),...Ln(o(l),t(),null),...Nn(o(l),n()),"border-radius":On(a()),"box-shadow":ca(o(l),i())}));var _=dv();Ht(_,21,()=>({length:e.length}),gn,(f,v,y)=>{var h=uv();K(()=>De(h,y===e.selected?o(p):o(d))),P(f,h)}),K(()=>De(_,o(g))),P(r,_),me()}var gv=V('<div class="carousel-bg-video-mount svelte-3bxg40"><!></div>'),fv=V('<div><!> <div class="carousel-clip svelte-3bxg40"><div class="slider svelte-3bxg40" role="region" aria-label="Feature carousel" aria-roledescription="carousel" aria-live="polite"><!> <!> <!></div> <!></div></div>');const mv={hash:"svelte-3bxg40",code:'.carousel.svelte-3bxg40 {max-width:100%;display:flex;flex-direction:column;flex-shrink:0;}.carousel-clip.svelte-3bxg40 {display:flex;flex-direction:column;flex:1;min-width:0;min-height:0;overflow:hidden;border-radius:inherit;}.carousel-bg-video-mount.svelte-3bxg40 {position:absolute;inset:0;z-index:1;border-radius:inherit;overflow:hidden;pointer-events:none;}.carousel.rc-carousel-video-bg.svelte-3bxg40::before {content:"";position:absolute;inset:0;background:var(--overlay);pointer-events:none;z-index:2;}.carousel.rc-carousel-video-bg.svelte-3bxg40 .carousel-clip:where(.svelte-3bxg40) {position:relative;z-index:3;}.slider.svelte-3bxg40 {display:flex;flex-direction:row;flex-wrap:nowrap;transition-property:transform;transition-duration:500ms;transition-timing-function:ease-in-out;transition-delay:2500ms;transform:translateX(0);cursor:grab;&:active {cursor:grabbing;user-select:none;}}'};function hv(r,e){fe(e,!0),we(r,mv);const t=()=>pe(s,"$selectedState",n),[n,a]=He(),i=xr(e,["$$slots","$$events","$$legacy"]),s=xt(),l=m(()=>({...i,...Et(t(),e.overrides)})),c=m(()=>o(l).pages),u=m(()=>o(l).padding),d=m(()=>o(l).margin),p=m(()=>o(l).background),g=m(()=>o(l).shape),_=m(()=>o(l).border),f=m(()=>o(l).shadow),v=m(()=>o(l).page_alignment),y=m(()=>o(l).page_spacing),h=m(()=>o(l).page_peek),k=m(()=>o(l).page_control),w=m(()=>o(l).initial_page_index),b=m(()=>o(l).loop),x=m(()=>o(l).auto_advance),S=it(),I=m(S),{emitComponentInteraction:z}=Hr(),E=m(()=>{var se;return((se=o(p))==null?void 0:se.type)==="video"}),M=m(()=>{if(!o(E))return null;const se=o(p);return!se||se.type!=="video"?null:Co(o(I),se)}),C=m(()=>On(o(g))),B=m(()=>{var se;return ir({margin:wr(o(d)),padding:wr(o(u)),...Ti({hasVideoBg:o(E),positionRelative:!0}),...Ln(o(I),null,o(p)),...Nn(o(I),o(_)),"border-radius":o(C),"box-shadow":ca(o(I),o(f)),"transition-duration":`${((se=o(x))==null?void 0:se.ms_transition_time)??0}ms`})}),O=m(()=>ir({gap:Yr(o(y)),padding:`0 ${o(h)+o(y)}px`,"align-items":iv(o(v))})),q=m(()=>{if(!o(b))return[];const se=o(c).length-1;switch(o(c).length){case 0:return[];case 1:return[0,0];case 2:return[0,se];default:return[se-1,se]}}),L=m(()=>{if(!o(b))return[];switch(o(c).length){case 0:return[];case 1:return[0,0];default:return[0,1]}});let F=null,A=re(0),N=re(0),W=m(()=>2*o(h)+o(y)),G=m(()=>o(N)-o(W)),R=re(null);function $(){return o(c).at(o(w))!==void 0?o(w):0}function ue(se){return o(c).length===0?0:(se%o(c).length+o(c).length)%o(c).length}function de(se){var Ue;return(Ue=o(c)[se])==null?void 0:Ue.name}function te(se=!0,Ue){var _r,Or;if(F===null)return;const mr=se?((_r=o(x))==null?void 0:_r.ms_time_per_page)??0:0;Ue??(Ue=((Or=o(x))==null?void 0:Or.ms_transition_time)??0),F.style.transition=`transform ${Ue}ms ease-in-out ${mr}ms`}function X(){F!==null&&(F.style.transition="none")}const D=m(()=>o(b)?2:0);function U(se){F!==null&&(F.style.transform=`translateX(${se}px)`)}function ee(se){if(F===null)return;se+=o(D);const Ue=se*-o(G);U(Ue)}function ie(se){se%=o(c).length+o(D),te(!0),ee(se)}function Pe(){o(x)!=null&&requestAnimationFrame(()=>{ie(o(A)+1)})}Cr(()=>{const se=$();j(A,se,!0),X(),ee(o(A)),Pe()});function ke(se){return Math.round(se/-o(G))-o(D)}function Te(){const se=Di(F),Ue=ke(se);j(A,(Ue+o(c).length)%o(c).length),X(),ee(o(A)),requestAnimationFrame(()=>{Pe()})}let Ne=re(0);function Oe(se){se.currentTarget.setPointerCapture(se.pointerId),j(Ne,Di(F),!0),j(R,o(A),!0)}function Ie(se){se.currentTarget.releasePointerCapture(se.pointerId);const mr=Di(F),_r=ke(mr),Or=ue(_r);o(R)!==null&&o(R)!==Or&&z({componentType:"carousel",componentName:e.name,componentValue:Or.toString(),originIndex:o(R),destinationIndex:Or,originContextName:de(o(R)),destinationContextName:de(Or),defaultIndex:$()}),j(R,null),te(!1,500),ee(_r)}function Ee(se){if(!se.currentTarget.hasPointerCapture(se.pointerId))return;const[mr,_r]=o(b)?[o(Ne)-o(N),o(Ne)+o(N)]:[-(o(c).length-1)*o(G),0],Or=Di(F),vt=sv(Or+se.movementX,mr,_r),wn=ke(vt);j(A,(wn+o(c).length)%o(c).length),U(vt),X()}var Be=fv(),Ye=T(Be);{var ne=se=>{var Ue=gv(),mr=T(Ue);Ao(mr,{get url(){return o(M).url},get urlLowRes(){return o(M).url_low_res},get objectFit(){return o(M).fit},get objectPosition(){return o(M).position},get poster(){return o(M).posterWebp},get mute(){return o(M).mute},get loop(){return o(M).loop}}),P(se,Ue)};Y(Ye,se=>{o(M)&&se(ne)})}var ge=H(Ye,2),ce=T(ge);ce.__pointerdown=Oe,ce.__pointerup=Ie,ce.__pointermove=Ee;var Ce=T(ce);Ht(Ce,17,()=>o(q),gn,(se,Ue)=>{{let mr=m(()=>o(A)===o(Ue));Tl(se,{get page(){return o(c)[o(Ue)]},get index(){return o(Ue)},get pages(){return o(c).length},get selected(){return o(mr)},hidden:!0})}});var Ke=H(Ce,2);Ht(Ke,17,()=>o(c),gn,(se,Ue,mr)=>{{let _r=m(()=>o(A)===mr);Tl(se,{get page(){return o(Ue)},index:mr,get pages(){return o(c).length},get selected(){return o(_r)}})}});var rr=H(Ke,2);Ht(rr,17,()=>o(L),gn,(se,Ue)=>{{let mr=m(()=>o(A)===o(Ue));Tl(se,{get page(){return o(c)[o(Ue)]},get index(){return o(Ue)},get pages(){return o(c).length},get selected(){return o(mr)},hidden:!0})}}),Oa(ce,se=>F=se,()=>F);var hr=H(ce,2);{var Le=se=>{_v(se,dr(()=>o(k),{get length(){return o(c).length},get selected(){return o(A)}}))};Y(hr,se=>{o(k)!=null&&se(Le)})}K(se=>{ur(Be,1,se,"svelte-3bxg40"),De(Be,o(B)),De(ce,o(O))},[()=>sa(["carousel","rc-gradient-border",o(E)?Ci("carousel"):""].filter(Boolean).join(" "))]),zr("transitionend",ce,Te),hi(ce,"clientWidth",se=>j(N,se)),P(r,Be),me(),a()}_n(["pointerdown","pointerup","pointermove"]);var vv=V('<div class="rc-gradient-border"><div></div></div>');function tp(r,e){fe(e,!0);const t=()=>pe(u,"$selectedState",s),n=()=>pe(p,"$selectedPackageId",s),a=()=>pe(d,"$packageInfo",s),i=()=>pe(g,"$variables",s),[s,l]=He(),c=xr(e,["$$slots","$$events","$$legacy"]),u=xt(),d=Mn(),{selectedPackageId:p}=Hr(),g=zn(),_=m(()=>({...c,...Et(t(),e.overrides)})),f=m(()=>o(_).base_url),v=m(()=>o(_).formats),y=m(()=>o(_).size),h=m(()=>o(_).margin),k=m(()=>o(_).padding),w=m(()=>o(_).color),b=m(()=>o(_).icon_background),x=it(),S=m(x),I=m(()=>{var q,L,F,A;return ir({width:Er(o(y).width),height:Er(o(y).height),margin:wr(o(h)),padding:wr(o(k)),"background-color":st(o(S),(q=o(b))==null?void 0:q.color),...Nn(o(S),(L=o(b))==null?void 0:L.border),"border-radius":On((F=o(b))==null?void 0:F.shape),"box-shadow":ca(o(S),(A=o(b))==null?void 0:A.shadow),flex:"0 0 auto"})}),z=m(()=>Fn({selectedPackageId:n(),packageInfo:a(),variables:i()??{}},e.overrides,e.visible)),E=m(()=>`${o(f)}/${o(v).webp}`),M=m(()=>ir({width:"100%",height:"100%",position:"relative","z-index":1,overflow:"hidden","background-color":st(o(S),o(w)),"mask-image":`url(${o(E)})`,"-webkit-mask-image":`url(${o(E)})`,"mask-size":"contain","-webkit-mask-size":"contain","mask-position":"center","-webkit-mask-position":"center","mask-repeat":"no-repeat","-webkit-mask-repeat":"no-repeat"}));var C=Se(),B=oe(C);{var O=q=>{var L=vv(),F=T(L);K(()=>{De(L,o(I)),De(F,o(M))}),P(q,L)};Y(B,q=>{o(z)&&q(O)})}P(r,C),me(),l()}const np=Symbol("selected");function yv(r){br(np,r)}function Dl(){const r=Xe(np);if(r===void 0)throw new Error("Tabs context not found");return r}function bv(r,e){fe(e,!0);const t=()=>pe(i,"$control",n),[n,a]=He(),{control:i}=Dl();Fr(r,dr(()=>t().stack)),me(),a()}function kv(r,e){fe(e,!0);const{selectedTabId:t,selectTab:n}=Dl();wi(Mt(t,i=>i===e.tab_id)),Fr(r,dr(()=>e.stack,{onclick:()=>{n(e.tab_id,e.tab_index,"tab")}})),me()}var wv=V('<div role="button" tabindex="0" aria-label="Toggle" class="toggle svelte-14oltm0"><div class="thumb svelte-14oltm0"></div></div>');const Pv={hash:"svelte-14oltm0",code:`.toggle.svelte-14oltm0 {appearance:none;--height: 31px;position:relative;width:51px;height:var(--height);border-radius:calc(var(--height) / 2);cursor:pointer;user-select:none;transition:background-color 300ms ease;}.thumb.svelte-14oltm0 {--size: 27px;position:absolute;top:2px;width:var(--size);height:var(--size);border-radius:50%;box-shadow:0 1px 3px rgba(0, 0, 0, 0.2),
21
21
  0 1px 2px rgba(0, 0, 0, 0.12);transition:left 300ms cubic-bezier(0.25, 0.46, 0.45, 0.94),
22
- background-color 300ms ease;}`};function kv(r,e){fe(e,!0),ke(r,bv);const t=()=>pe(l,"$selectedState",a),n=()=>pe(g,"$isActive",a),[a,i]=Ye(),s=Er(e,["$$slots","$$events","$$legacy"]),l=Et(),c=m(()=>({...s,...St(t(),e.overrides)})),u=m(()=>o(c).thumb_color_on),d=m(()=>o(c).thumb_color_off),p=m(()=>o(c).track_color_on),_=m(()=>o(c).track_color_off),{isActive:g,selectTab:f}=Dl();wi(g);const v=st(),y=m(v),h=m(()=>ir({background:n()?lt(o(y),o(p)):lt(o(y),o(_))})),w=m(()=>ir({left:n()?"22px":"2px",background:n()?lt(o(y),o(u)):lt(o(y),o(d))})),k=()=>{f("",n()?0:1,"switch")},b=S=>{(S.code==="Enter"||S.code==="Space")&&k()};var x=yv();x.__click=k,x.__keydown=b;var I=T(x);Z(()=>{De(x,o(h)),De(I,o(w))}),P(r,x),me(),i()}_n(["click","keydown"]);var wv=W("<div><!> <!></div>");const Pv={hash:"svelte-1nxjc6c",code:'.rc-tabs-video-bg.svelte-1nxjc6c::before {content:"";position:absolute;inset:0;background:var(--overlay);pointer-events:none;z-index:2;}.rc-tabs-video-bg.svelte-1nxjc6c > .rc-bg-video {z-index:1;}.rc-tabs-video-bg.svelte-1nxjc6c > .rc-tabs-stack-front {position:relative;z-index:3;}'};function xv(r,e){fe(e,!0),ke(r,Pv);const t=()=>pe(f,"$selectedState",l),n=()=>pe(y,"$selectedPackageId",l),a=()=>pe(v,"$packageInfo",l),i=()=>pe(h,"$variables",l),s=()=>pe(H,"$tab",l),[l,c]=Ye(),u=Er(e,["$$slots","$$events","$$legacy"]),{name:d,control:p,tabs:_,default_tab_id:g}=u,f=Et(),v=Mn(),{selectedPackageId:y}=Yr(),h=Fn(),w=m(()=>({...u,...St(t(),e.overrides)})),k=m(()=>o(w).size),b=m(()=>o(w).padding),x=m(()=>o(w).margin),I=m(()=>o(w).background),S=m(()=>o(w).shape),q=m(()=>o(w).border),E=m(()=>o(w).shadow),D=st(),C=m(D),B=m(()=>{var V;return((V=o(I))==null?void 0:V.type)==="video"}),F=m(()=>{if(!o(B))return null;const V=o(I);return!V||V.type!=="video"?null:Io(o(C),V)}),z=m(()=>Nn(o(S))),L=m(()=>ir({position:"relative",width:Sr(o(k).width),height:Sr(o(k).height),margin:Pr(o(x)),padding:Pr(o(b)),...Ti({hasVideoBg:o(B),clipOverflow:o(z)!=="0"}),...On(o(C),null,o(I)),...jn(o(C),o(q)),"border-radius":o(z),"box-shadow":la(o(C),o(E))})),{emitComponentInteraction:A}=Yr(),M=Math.max(0,_.findIndex(V=>V.id===g)),N=Or(M),H=zt(N,V=>_[V]),X=V=>{var O;return(O=_[V])==null?void 0:O.name},R=(V,O,U)=>{var Se;const te=_.findIndex(Pe=>Pe.id===V),ue=te!==-1?te:O;if(ue>=0&&ue<_.length){const Pe=Ru(N);if(Pe===ue)return;U==="tab"?A({componentType:"tab",componentName:d,componentValue:((Se=_[ue])==null?void 0:Se.id)??V,originIndex:Pe,destinationIndex:ue,originContextName:X(Pe),destinationContextName:X(ue),defaultIndex:M}):U==="switch"&&A({componentType:"switch",componentName:d,componentValue:ue===1?"on":"off"}),N.set(ue)}};mv({control:xt(p),selectedTabId:zt(H,V=>(V==null?void 0:V.id)??""),selectTab:R,isActive:zt(N,V=>V===1)});const $=m(()=>qn({selectedPackageId:n(),packageInfo:a(),variables:i()??{}},e.overrides,e.visible));var ce=xe(),de=ae(ce);{var G=V=>{var O=wv(),U=T(O);{var te=Pe=>{Do(Pe,{get url(){return o(F).url},get urlLowRes(){return o(F).url_low_res},get objectFit(){return o(F).fit},get objectPosition(){return o(F).position},get poster(){return o(F).posterWebp},get mute(){return o(F).mute},get loop(){return o(F).loop}})};K(U,Pe=>{o(F)&&Pe(te)})}var ue=Y(U,2);{var Se=Pe=>{{let Te=m(()=>o(B)?"rc-tabs-stack-front":void 0);Fr(Pe,dr(()=>s().stack,{get class(){return o(Te)}}))}};K(ue,Pe=>{s()!==void 0&&Pe(Se)})}Z(Pe=>{ur(O,1,Pe,"svelte-1nxjc6c"),De(O,o(L))},[()=>ia(["rc-gradient-border",o(B)?Ci("tabs"):""].filter(Boolean).join(" "))]),P(V,O)};K(de,V=>{o($)&&V(G)})}P(r,ce),me(),c()}const Ev=Object.freeze({leading:"flex-start",top:"flex-start",center:"center",trailing:"flex-end",bottom:"flex-end"}),Sv=Object.freeze({space_between:"space-between",space_around:"space-around",space_evenly:"space-evenly",start:"flex-start",center:"center",end:"flex-end"});function Al(r){if(r.type==="zlayer")return{};const e=r.type==="vertical"?"column":"row",t=Sv[r.distribution]||"center",n=Ev[r.alignment]||"center";return{"flex-direction":e,"justify-content":t,"align-items":n}}const Iv=Object.freeze({top_leading:{justifyContent:"flex-start",alignItems:"flex-start"},top:{justifyContent:"center",alignItems:"flex-start"},top_trailing:{justifyContent:"flex-end",alignItems:"flex-start"},leading:{justifyContent:"flex-start",alignItems:"center"},center:{justifyContent:"center",alignItems:"center"},trailing:{justifyContent:"flex-end",alignItems:"center"},bottom_leading:{justifyContent:"flex-start",alignItems:"flex-end"},bottom:{justifyContent:"center",alignItems:"flex-end"},bottom_trailing:{justifyContent:"flex-end",alignItems:"flex-end"}});function Cv(r){return Iv[r]}function Tv(r,e){if(r==null)return{};const{style:t,alignment:n}=r,a=n.startsWith("top"),i=n.endsWith("leading"),s=n.endsWith("trailing"),l=!i&&!s,c=e??0;if(t==="overlay"){const u=l?"translateX(-50%)":"",d=a?"translateY(-50%)":"translateY(50%)";return{"z-index":10,position:"absolute",width:"max-content",top:a?Gr(-c/2):"initial",bottom:a?"initial":Gr(-c/2),left:i?Gr(-c):l?"50%":"initial",right:s?Gr(-c):"initial",transform:`${u} ${d}`}}return t==="nested"?{"z-index":10,position:"absolute",inset:0,display:"flex",top:a?Gr(c):"initial",bottom:a?"initial":Gr(c),left:i?Gr(c):l?"50%":"initial",right:s?Gr(c):"initial",transform:l?"translateX(-50%)":"initial"}:{}}var Dv=W('<div style="flex-grow: 1; width:100%;"></div>'),Av=W("<div><!></div>");function qv(r,e){fe(e,!0);const t=()=>pe(l,"$selectedPackageId",n),[n,a]=Ye(),{walletButtonRender:i,onWalletButtonReady:s,selectedPackageId:l}=Yr(),c=st(),u=m(c),d=Er(e,["$$slots","$$events","$$legacy"]),p=m(()=>{const{style:q}=d;if(q!=null)return o(u)==="dark"&&q.dark!=null?q.dark:q.light}),_={width:{type:"fill"},height:{type:"fit"}},g={type:"vertical",alignment:"center",distribution:"center"},f=m(()=>({size:e.size??_,dimension:e.dimension??g,spacing:e.spacing??0,margin:e.margin??Eo,border:e.border??null,shape:e.shape??null,shadow:e.shadow??null})),v=m(()=>o(f).size),y=m(()=>o(f).dimension),h=m(()=>o(f).spacing),w=m(()=>o(f).margin),k=m(()=>({display:"flex",position:"relative",width:Sr(o(v).width),height:Sr(o(v).height),...Al(o(y)),gap:Gr(o(h)),margin:Pr({...o(w)?{...o(w)}:{...Eo}})})),b=m(()=>ir(o(k)));var x=xe(),I=ae(x);{var S=q=>{var E=Av(),D=T(E);Pu(D,()=>o(p),C=>{var B=Dv();mf(B,(F,z)=>i==null?void 0:i(F,z),()=>({selectedPackageId:t(),onReady:e.onWalletButtonReady??s,walletButtonTheme:o(p)})),P(C,B)}),Z(()=>De(E,o(b))),P(q,E)};K(I,q=>{i&&t()&&q(S)})}P(r,x),me(),a()}var Mv=W('<div class="wallet-skeleton rc-gradient-border svelte-1cwxbb1">&nbsp; <div class="wallet-skeleton-shimmer svelte-1cwxbb1"></div></div>');const Fv={hash:"svelte-1cwxbb1",code:`.wallet-skeleton.svelte-1cwxbb1 {position:relative;border-radius:9999px;background-color:rgba(128, 128, 128, 0.16);backdrop-filter:blur(18px);min-height:48px;flex-grow:1;width:100%;}.wallet-skeleton-shimmer.svelte-1cwxbb1 {position:absolute;inset:0;overflow:hidden;border-radius:inherit;}.wallet-skeleton-shimmer.svelte-1cwxbb1::before {content:"";position:absolute;inset:0;background:linear-gradient(
22
+ background-color 300ms ease;}`};function xv(r,e){fe(e,!0),we(r,Pv);const t=()=>pe(l,"$selectedState",a),n=()=>pe(_,"$isActive",a),[a,i]=He(),s=xr(e,["$$slots","$$events","$$legacy"]),l=xt(),c=m(()=>({...s,...Et(t(),e.overrides)})),u=m(()=>o(c).thumb_color_on),d=m(()=>o(c).thumb_color_off),p=m(()=>o(c).track_color_on),g=m(()=>o(c).track_color_off),{isActive:_,selectTab:f}=Dl();wi(_);const v=it(),y=m(v),h=m(()=>ir({background:n()?st(o(y),o(p)):st(o(y),o(g))})),k=m(()=>ir({left:n()?"22px":"2px",background:n()?st(o(y),o(u)):st(o(y),o(d))})),w=()=>{f("",n()?0:1,"switch")},b=I=>{(I.code==="Enter"||I.code==="Space")&&w()};var x=wv();x.__click=w,x.__keydown=b;var S=T(x);K(()=>{De(x,o(h)),De(S,o(k))}),P(r,x),me(),i()}_n(["click","keydown"]);var Ev=V("<div><!> <!></div>");const Sv={hash:"svelte-1nxjc6c",code:'.rc-tabs-video-bg.svelte-1nxjc6c::before {content:"";position:absolute;inset:0;background:var(--overlay);pointer-events:none;z-index:2;}.rc-tabs-video-bg.svelte-1nxjc6c > .rc-bg-video {z-index:1;}.rc-tabs-video-bg.svelte-1nxjc6c > .rc-tabs-stack-front {position:relative;z-index:3;}'};function Iv(r,e){fe(e,!0),we(r,Sv);const t=()=>pe(f,"$selectedState",l),n=()=>pe(y,"$selectedPackageId",l),a=()=>pe(v,"$packageInfo",l),i=()=>pe(h,"$variables",l),s=()=>pe(W,"$tab",l),[l,c]=He(),u=xr(e,["$$slots","$$events","$$legacy"]),{name:d,control:p,tabs:g,default_tab_id:_}=u,f=xt(),v=Mn(),{selectedPackageId:y}=Hr(),h=zn(),k=m(()=>({...u,...Et(t(),e.overrides)})),w=m(()=>o(k).size),b=m(()=>o(k).padding),x=m(()=>o(k).margin),S=m(()=>o(k).background),I=m(()=>o(k).shape),z=m(()=>o(k).border),E=m(()=>o(k).shadow),M=it(),C=m(M),B=m(()=>{var X;return((X=o(S))==null?void 0:X.type)==="video"}),O=m(()=>{if(!o(B))return null;const X=o(S);return!X||X.type!=="video"?null:Co(o(C),X)}),q=m(()=>On(o(I))),L=m(()=>ir({position:"relative",width:Er(o(w).width),height:Er(o(w).height),margin:wr(o(x)),padding:wr(o(b)),...Ti({hasVideoBg:o(B),clipOverflow:o(q)!=="0"}),...Ln(o(C),null,o(S)),...Nn(o(C),o(z)),"border-radius":o(q),"box-shadow":ca(o(C),o(E))})),{emitComponentInteraction:F}=Hr(),A=Math.max(0,g.findIndex(X=>X.id===_)),N=jr(A),W=Mt(N,X=>g[X]),G=X=>{var D;return(D=g[X])==null?void 0:D.name},R=(X,D,U)=>{var Pe;const ee=g.findIndex(ke=>ke.id===X),ie=ee!==-1?ee:D;if(ie>=0&&ie<g.length){const ke=Ru(N);if(ke===ie)return;U==="tab"?F({componentType:"tab",componentName:d,componentValue:((Pe=g[ie])==null?void 0:Pe.id)??X,originIndex:ke,destinationIndex:ie,originContextName:G(ke),destinationContextName:G(ie),defaultIndex:A}):U==="switch"&&F({componentType:"switch",componentName:d,componentValue:ie===1?"on":"off"}),N.set(ie)}};yv({control:Pt(p),selectedTabId:Mt(W,X=>(X==null?void 0:X.id)??""),selectTab:R,isActive:Mt(N,X=>X===1)});const $=m(()=>Fn({selectedPackageId:n(),packageInfo:a(),variables:i()??{}},e.overrides,e.visible));var ue=Se(),de=oe(ue);{var te=X=>{var D=Ev(),U=T(D);{var ee=ke=>{Ao(ke,{get url(){return o(O).url},get urlLowRes(){return o(O).url_low_res},get objectFit(){return o(O).fit},get objectPosition(){return o(O).position},get poster(){return o(O).posterWebp},get mute(){return o(O).mute},get loop(){return o(O).loop}})};Y(U,ke=>{o(O)&&ke(ee)})}var ie=H(U,2);{var Pe=ke=>{{let Te=m(()=>o(B)?"rc-tabs-stack-front":void 0);Fr(ke,dr(()=>s().stack,{get class(){return o(Te)}}))}};Y(ie,ke=>{s()!==void 0&&ke(Pe)})}K(ke=>{ur(D,1,ke,"svelte-1nxjc6c"),De(D,o(L))},[()=>sa(["rc-gradient-border",o(B)?Ci("tabs"):""].filter(Boolean).join(" "))]),P(X,D)};Y(de,X=>{o($)&&X(te)})}P(r,ue),me(),c()}const Cv=Object.freeze({leading:"flex-start",top:"flex-start",center:"center",trailing:"flex-end",bottom:"flex-end"}),Tv=Object.freeze({space_between:"space-between",space_around:"space-around",space_evenly:"space-evenly",start:"flex-start",center:"center",end:"flex-end"});function Al(r){if(r.type==="zlayer")return{};const e=r.type==="vertical"?"column":"row",t=Tv[r.distribution]||"center",n=Cv[r.alignment]||"center";return{"flex-direction":e,"justify-content":t,"align-items":n}}const Dv=Object.freeze({top_leading:{justifyContent:"flex-start",alignItems:"flex-start"},top:{justifyContent:"center",alignItems:"flex-start"},top_trailing:{justifyContent:"flex-end",alignItems:"flex-start"},leading:{justifyContent:"flex-start",alignItems:"center"},center:{justifyContent:"center",alignItems:"center"},trailing:{justifyContent:"flex-end",alignItems:"center"},bottom_leading:{justifyContent:"flex-start",alignItems:"flex-end"},bottom:{justifyContent:"center",alignItems:"flex-end"},bottom_trailing:{justifyContent:"flex-end",alignItems:"flex-end"}});function Av(r){return Dv[r]}function qv(r,e){if(r==null)return{};const{style:t,alignment:n}=r,a=n.startsWith("top"),i=n.endsWith("leading"),s=n.endsWith("trailing"),l=!i&&!s,c=e??0;if(t==="overlay"){const u=l?"translateX(-50%)":"",d=a?"translateY(-50%)":"translateY(50%)";return{"z-index":10,position:"absolute",width:"max-content",top:a?Yr(-c/2):"initial",bottom:a?"initial":Yr(-c/2),left:i?Yr(-c):l?"50%":"initial",right:s?Yr(-c):"initial",transform:`${u} ${d}`}}return t==="nested"?{"z-index":10,position:"absolute",inset:0,display:"flex",top:a?Yr(c):"initial",bottom:a?"initial":Yr(c),left:i?Yr(c):l?"50%":"initial",right:s?Yr(c):"initial",transform:l?"translateX(-50%)":"initial"}:{}}var Fv=V('<div style="flex-grow: 1; width:100%;"></div>'),Mv=V("<div><!></div>");function zv(r,e){fe(e,!0);const t=()=>pe(l,"$selectedPackageId",n),[n,a]=He(),{walletButtonRender:i,onWalletButtonReady:s,selectedPackageId:l}=Hr(),c=it(),u=m(c),d=xr(e,["$$slots","$$events","$$legacy"]),p=m(()=>{const{style:z}=d;if(z!=null)return o(u)==="dark"&&z.dark!=null?z.dark:z.light}),g={width:{type:"fill"},height:{type:"fit"}},_={type:"vertical",alignment:"center",distribution:"center"},f=m(()=>({size:e.size??g,dimension:e.dimension??_,spacing:e.spacing??0,margin:e.margin??So,border:e.border??null,shape:e.shape??null,shadow:e.shadow??null})),v=m(()=>o(f).size),y=m(()=>o(f).dimension),h=m(()=>o(f).spacing),k=m(()=>o(f).margin),w=m(()=>({display:"flex",position:"relative",width:Er(o(v).width),height:Er(o(v).height),...Al(o(y)),gap:Yr(o(h)),margin:wr({...o(k)?{...o(k)}:{...So}})})),b=m(()=>ir(o(w)));var x=Se(),S=oe(x);{var I=z=>{var E=Mv(),M=T(E);xu(M,()=>o(p),C=>{var B=Fv();bf(B,(O,q)=>i==null?void 0:i(O,q),()=>({selectedPackageId:t(),onReady:e.onWalletButtonReady??s,walletButtonTheme:o(p)})),P(C,B)}),K(()=>De(E,o(b))),P(z,E)};Y(S,z=>{i&&t()&&z(I)})}P(r,x),me(),a()}var jv=V('<div class="wallet-skeleton rc-gradient-border svelte-1cwxbb1">&nbsp; <div class="wallet-skeleton-shimmer svelte-1cwxbb1"></div></div>');const Nv={hash:"svelte-1cwxbb1",code:`.wallet-skeleton.svelte-1cwxbb1 {position:relative;border-radius:9999px;background-color:rgba(128, 128, 128, 0.16);backdrop-filter:blur(18px);min-height:48px;flex-grow:1;width:100%;}.wallet-skeleton-shimmer.svelte-1cwxbb1 {position:absolute;inset:0;overflow:hidden;border-radius:inherit;}.wallet-skeleton-shimmer.svelte-1cwxbb1::before {content:"";position:absolute;inset:0;background:linear-gradient(
23
23
  135deg,
24
24
  rgba(255, 255, 255, 0.2),
25
25
  rgba(255, 255, 255, 0.01)
@@ -35,14 +35,14 @@ Minimum version required to store current data is: `+C+`.
35
35
  100% {
36
36
  transform: translateX(100%);
37
37
  }
38
- }`};function zv(r,e){fe(e,!0),ke(r,Fv);const t={width:{type:"fill"},height:{type:"fit"}},n={type:"vertical",alignment:"center",distribution:"center"},a=m(()=>({size:e.size??t,dimension:e.dimension??n,spacing:e.spacing??0,margin:e.margin??Eo,border:e.border??null,shape:e.shape??null,shadow:e.shadow??null,style:e.style})),i=m(()=>o(a).size),s=m(()=>o(a).dimension),l=m(()=>o(a).spacing),c=m(()=>o(a).margin),u=m(()=>o(a).border),d=m(()=>o(a).shape),p=m(()=>o(a).shadow),_=m(()=>o(a).style),g=10,f=st(),v=m(f),y=m(()=>({...o(_),display:"flex",position:"relative",width:Sr(o(i).width),height:Sr(o(i).height),...Al(o(s)),gap:Gr(o(l)),margin:Pr({...o(c)?{...o(c),bottom:Math.max(o(c).bottom,g)}:{...Eo,bottom:g}})})),h=m(()=>ir({...o(y),...jn(o(v),o(u)),"border-radius":Nn(o(d)),"box-shadow":la(o(v),o(p))}));var w=Mv();be(w,"aria-hidden",!0),Z(()=>De(w,o(h))),P(r,w),me()}var jv=W("<div><!></div> <!>",1);const Nv={hash:"svelte-vtmegi",code:".wallet-slot.svelte-vtmegi {display:contents;}.wallet-slot-hidden.svelte-vtmegi {display:none;}"};function Ov(r,e){fe(e,!0),ke(r,Nv);const t=Er(e,["$$slots","$$events","$$legacy"]),{wallet_unknown_stack:n,wallet_available_stack:a,wallet_unavailable_stack:i,type:s,...l}=t,{walletButtonRender:c,...u}=Yr();let d=re(void 0),p=re(!!c);od({walletButtonRender:c,...u,onWalletButtonReady:y=>{j(d,y,!0),j(p,!1)}});const g=m(()=>!o(d)||!a),f=m(()=>!!(a&&o(d)&&!o(p))),v={components:[],type:"stack",visible:null,dimension:{type:"vertical",distribution:"start",alignment:"center"},background_color:null,spacing:0,...l};Fr(r,dr(()=>v,{children:(y,h)=>{var w=jv(),k=ae(w),b=T(k);Fr(b,dr(()=>a));var x=Y(k,2);{var I=q=>{Fr(q,dr(()=>n))},S=q=>{var E=xe(),D=ae(E);{var C=B=>{Fr(B,dr(()=>i))};K(D,B=>{o(g)&&B(C)},!0)}P(q,E)};K(x,q=>{o(p)?q(I):q(S,!1)})}Z(()=>ur(k,1,ia(o(f)?"wallet-slot":"wallet-slot-hidden"),"svelte-vtmegi")),P(y,w)},$$slots:{default:!0}})),me()}function Ao(r,e){fe(e,!0);const t={button:Bm,carousel:gv,countdown:Wv,express_purchase_button:Ov,footer:np,header:ap,icon:$d,image:dy,input_multiple_choice:fh,input_option:bh,input_single_choice:kh,input_text:_h,package:py,purchase_button:qy,redemption_button:Kh,skeleton_loader:zv,stack:Fr,tab_control_button:vv,tab_control_toggle:kv,tab_control:hv,tabs:xv,text:Cl,timeline:Ly,video:Jy,wallet_button:qv},n=f=>f.type in t,a=f=>{if(n(f))return[t[f.type],f];if(f.type==="fallback_header")return;const{fallback:v}=f;if(v&&n(v))return[t[v.type],v]},i=Er(e,["$$slots","$$events","$$legacy","nodeData"]),s=m(()=>a(e.nodeData)??[]),l=m(()=>ai(o(s),2)),c=m(()=>o(l)[0]),u=m(()=>o(l)[1]);var d={getComponentClass:a},p=xe(),_=ae(p);{var g=f=>{var v=xe(),y=ae(v);df(y,()=>o(c),(h,w)=>{w(h,dr(()=>o(u)||{},()=>i))}),P(f,v)};K(_,f=>{o(c)&&f(g)})}return P(r,p),me(d)}var Lv=W("<div><!></div>"),Bv=W("<div><!></div>"),Rv=W('<div style="position: relative; width: 100%; height: 100%; isolation: isolate;"></div>'),Uv=W("<!> <!> <!> <!>",1);const Vv={hash:"svelte-b44qkq",code:`.stack.svelte-b44qkq {appearance:none;position:relative;&[role="button"] {cursor:pointer;}&::before {content:"";position:absolute;top:0;left:0;width:100%;height:100%;background:var(--overlay);}}.stack.rc-stack-video-bg.svelte-b44qkq::before {z-index:2;pointer-events:none;}.stack.rc-stack-video-bg.svelte-b44qkq > .rc-bg-video {z-index:1;}
38
+ }`};function Ov(r,e){fe(e,!0),we(r,Nv);const t={width:{type:"fill"},height:{type:"fit"}},n={type:"vertical",alignment:"center",distribution:"center"},a=m(()=>({size:e.size??t,dimension:e.dimension??n,spacing:e.spacing??0,margin:e.margin??So,border:e.border??null,shape:e.shape??null,shadow:e.shadow??null,style:e.style})),i=m(()=>o(a).size),s=m(()=>o(a).dimension),l=m(()=>o(a).spacing),c=m(()=>o(a).margin),u=m(()=>o(a).border),d=m(()=>o(a).shape),p=m(()=>o(a).shadow),g=m(()=>o(a).style),_=10,f=it(),v=m(f),y=m(()=>({...o(g),display:"flex",position:"relative",width:Er(o(i).width),height:Er(o(i).height),...Al(o(s)),gap:Yr(o(l)),margin:wr({...o(c)?{...o(c),bottom:Math.max(o(c).bottom,_)}:{...So,bottom:_}})})),h=m(()=>ir({...o(y),...Nn(o(v),o(u)),"border-radius":On(o(d)),"box-shadow":ca(o(v),o(p))}));var k=jv();be(k,"aria-hidden",!0),K(()=>De(k,o(h))),P(r,k),me()}var Lv=V("<div><!></div> <!>",1);const Bv={hash:"svelte-vtmegi",code:".wallet-slot.svelte-vtmegi {display:contents;}.wallet-slot-hidden.svelte-vtmegi {display:none;}"};function Uv(r,e){fe(e,!0),we(r,Bv);const t=xr(e,["$$slots","$$events","$$legacy"]),{wallet_unknown_stack:n,wallet_available_stack:a,wallet_unavailable_stack:i,type:s,...l}=t,{walletButtonRender:c,...u}=Hr();let d=re(void 0),p=re(!!c);ld({walletButtonRender:c,...u,onWalletButtonReady:y=>{j(d,y,!0),j(p,!1)}});const _=m(()=>!o(d)||!a),f=m(()=>!!(a&&o(d)&&!o(p))),v={components:[],type:"stack",visible:null,dimension:{type:"vertical",distribution:"start",alignment:"center"},background_color:null,spacing:0,...l};Fr(r,dr(()=>v,{children:(y,h)=>{var k=Lv(),w=oe(k),b=T(w);Fr(b,dr(()=>a));var x=H(w,2);{var S=z=>{Fr(z,dr(()=>n))},I=z=>{var E=Se(),M=oe(E);{var C=B=>{Fr(B,dr(()=>i))};Y(M,B=>{o(_)&&B(C)},!0)}P(z,E)};Y(x,z=>{o(p)?z(S):z(I,!1)})}K(()=>ur(w,1,sa(o(f)?"wallet-slot":"wallet-slot-hidden"),"svelte-vtmegi")),P(y,k)},$$slots:{default:!0}})),me()}function qo(r,e){fe(e,!0);const t={button:Vm,carousel:hv,countdown:Gv,express_purchase_button:Uv,footer:ip,header:sp,icon:tp,image:gy,input_multiple_choice:vh,input_option:Ph,input_single_choice:xh,input_text:mh,package:fy,purchase_button:zy,redemption_button:Jh,skeleton_loader:Ov,stack:Fr,tab_control_button:kv,tab_control_toggle:xv,tab_control:bv,tabs:Iv,text:Cl,timeline:Ry,video:eb,wallet_button:zv},n=f=>f.type in t,a=f=>{if(n(f))return[t[f.type],f];if(f.type==="fallback_header")return;const{fallback:v}=f;if(v&&n(v))return[t[v.type],v]},i=xr(e,["$$slots","$$events","$$legacy","nodeData"]),s=m(()=>a(e.nodeData)??[]),l=m(()=>ai(o(s),2)),c=m(()=>o(l)[0]),u=m(()=>o(l)[1]);var d={getComponentClass:a},p=Se(),g=oe(p);{var _=f=>{var v=Se(),y=oe(v);ff(y,()=>o(c),(h,k)=>{k(h,dr(()=>o(u)||{},()=>i))}),P(f,v)};Y(g,f=>{o(c)&&f(_)})}return P(r,p),me(d)}var Rv=V("<div><!></div>"),Vv=V("<div><!></div>"),Wv=V('<div style="position: relative; width: 100%; height: 100%; isolation: isolate;"></div>'),Hv=V("<!> <!> <!> <!>",1);const Yv={hash:"svelte-b44qkq",code:`.stack.svelte-b44qkq {appearance:none;position:relative;&[role="button"] {cursor:pointer;}&::before {content:"";position:absolute;top:0;left:0;width:100%;height:100%;background:var(--overlay);}}.stack.rc-stack-video-bg.svelte-b44qkq::before {z-index:2;pointer-events:none;}.stack.rc-stack-video-bg.svelte-b44qkq > .rc-bg-video {z-index:1;}
39
39
 
40
- /* Keep flex children interactive and above tinted overlay (::before z-index). */.stack.rc-stack-video-bg.svelte-b44qkq > :not(.rc-bg-video) {position:relative;z-index:3;}`};function Fr(r,e){fe(e,!0),ke(r,Vv);const t=()=>pe(v,"$hoverState",l),n=()=>pe(f,"$selectedState",l),a=()=>pe(h,"$selectedPackageId",l),i=()=>pe(y,"$packageInfo",l),s=()=>pe(w,"$variables",l),[l,c]=Ye(),u=Er(e,["$$slots","$$events","$$legacy"]),{onclick:d,children:p,class:_,testId:g}=u,f=Et(),v=hh(),y=Mn(),{selectedPackageId:h}=Yr(),w=Fn(),k=m(()=>({...u,...Fm(t(),e.overrides),...St(n(),e.overrides)})),b=m(()=>o(k).components),x=m(()=>o(k).size),I=m(()=>o(k).dimension),S=m(()=>o(k).spacing),q=m(()=>o(k).margin),E=m(()=>o(k).padding),D=m(()=>o(k).background_color),C=m(()=>o(k).background),B=m(()=>o(k).border),F=m(()=>o(k).shape),z=m(()=>o(k).shadow),L=m(()=>o(k).badge),A=st(),M=m(A),N=m(()=>{var U;return((U=o(C))==null?void 0:U.type)==="video"}),H=m(()=>{if(!o(N))return null;const U=o(C);return!U||U.type!=="video"?null:Io(o(M),U)}),X=m(()=>Nn(o(F))),R=m(()=>ir({display:"flex",position:"relative",width:Sr(o(x).width),height:Sr(o(x).height),...Al(o(I)),gap:Gr(o(S)),margin:Pr(o(q)),padding:Pr(o(E)),...On(o(M),o(D),o(C)),...jn(o(M),o(B)),"border-radius":o(X),"box-shadow":la(o(M),o(z)),...Ti({hasVideoBg:o(N),clipOverflow:o(X)!=="0"}),...e.style})),$=U=>{if(U===0||o(I).type!=="zlayer")return"";const{justifyContent:te,alignItems:ue}=Cv(o(I).alignment);return ir({position:"absolute",inset:0,display:"flex","justify-content":te,"align-items":ue,"z-index":U+1})},ce=m(()=>{var U;return ir(Tv(o(L),(U=o(B))==null?void 0:U.width))}),de=m(()=>qn({selectedPackageId:a(),packageInfo:i(),variables:s()??{}},e.overrides,e.visible));var G=xe(),V=ae(G);{var O=U=>{var te=xe(),ue=ae(te);Ls(ue,()=>d!==void 0?"button":"div",!1,(Se,Pe)=>{Vs(Se,le=>({role:d!==void 0?"button":void 0,onclick:d,style:o(R),class:le,"data-testid":g}),[()=>["stack","rc-gradient-border",_,o(N)?Ci("stack"):""].filter(Boolean).join(" ")],void 0,void 0,"svelte-b44qkq");var Te=Uv(),Ne=ae(Te);{var ze=le=>{Do(le,{get url(){return o(H).url},get urlLowRes(){return o(H).url_low_res},get objectFit(){return o(H).fit},get objectPosition(){return o(H).position},get poster(){return o(H).posterWebp},get mute(){return o(H).mute},get loop(){return o(H).loop}})};K(Ne,le=>{o(H)&&le(ze)})}var Ie=Y(Ne,2);{var Ee=le=>{var Ce=Lv(),Ke=T(Ce);Ao(Ke,{get nodeData(){return o(L).stack}}),Z(()=>De(Ce,o(ce))),P(le,Ce)};K(Ie,le=>{o(L)&&le(Ee)})}var Be=Y(Ie,2);{var Ve=le=>{var Ce=Rv();Ht(Ce,21,()=>o(b),gn,(Ke,er,hr)=>{var Re=Bv(),oe=T(Re);Ao(oe,{get nodeData(){return o(er)}}),Z(Oe=>De(Re,Oe),[()=>$(hr)]),P(Ke,Re)}),P(le,Ce)},ne=le=>{var Ce=xe(),Ke=ae(Ce);Ht(Ke,17,()=>o(b),gn,(er,hr)=>{Ao(er,{get nodeData(){return o(hr)}})}),P(le,Ce)};K(Be,le=>{o(I).type==="zlayer"?le(Ve):le(ne,!1)})}var ge=Y(Be,2);p==null||p(ge),P(Pe,Te)}),P(U,te)};K(V,U=>{o(de)&&U(O)})}P(r,G),me(),c()}function Ai(r){return r<10?`0${r}`:`${r}`}function qi(r){return`${r}`}function rp(r){const e=new Date,n=new Date(r).getTime()-e.getTime();if(n<=0)return{count_days_with_zero:"00",count_days_without_zero:"0",count_hours_with_zero:"00",count_hours_without_zero:"0",count_minutes_with_zero:"00",count_minutes_without_zero:"0",count_seconds_with_zero:"00",count_seconds_without_zero:"0"};const a=Math.floor(n/1e3),i=Math.floor(a/60),s=Math.floor(i/60),c=Math.floor(s/24),u=s%24,d=i%60,p=a%60;return{count_days_with_zero:Ai(c),count_days_without_zero:qi(c),count_hours_with_zero:Ai(u),count_hours_without_zero:qi(u),count_minutes_with_zero:Ai(d),count_minutes_without_zero:qi(d),count_seconds_with_zero:Ai(p),count_seconds_without_zero:qi(p)}}function tp(r){const e=new Date;return new Date(r).getTime()<=e.getTime()}function Wv(r,e){fe(e,!0);const t=Er(e,["$$slots","$$events","$$legacy"]),{countdown_stack:n,end_stack:a}=t;let i=re(nr(rp(e.style.date))),s=re(nr(tp(e.style.date)));const l=rl(),c=Or(o(i)),u=zt([l,c],([v,y])=>({...v,...y}));el(u),mr(()=>{const v=setInterval(()=>{j(i,rp(e.style.date),!0),j(s,tp(e.style.date),!0),c.set(o(i))},1e3);return()=>clearInterval(v)});const d=m(()=>o(s)&&a?a:n),p=m(()=>e.visible!==!1);var _=xe(),g=ae(_);{var f=v=>{Fr(v,dr(()=>o(d)))};K(g,v=>{o(p)&&v(f)})}P(r,_),me()}var Hv=W('<div class="svelte-1a3xvse"><!></div>');const Yv={hash:"svelte-1a3xvse",code:"div.svelte-1a3xvse {position:sticky;bottom:0;width:100%;display:flex;flex-direction:row;justify-content:center;}"};function np(r,e){ke(r,Yv);var t=Hv(),n=T(t);Fr(n,dr(()=>e.stack)),Z(()=>De(t,`z-index: ${sd};`)),P(r,t)}var Gv=W('<div class="svelte-1604b5e"><!></div>');const Kv={hash:"svelte-1604b5e",code:"div.svelte-1604b5e {display:flex;flex-direction:row;justify-content:center;}"};function ap(r,e){ke(r,Kv);var t=Gv(),n=T(t);Fr(n,dr(()=>e.stack)),P(r,t)}var Xv=Cr("<circle></circle>"),Zv=Cr("<path></path>"),Jv=Cr("<path></path>"),Qv=Cr("<path></path>"),$v=Cr("<!><!><!><!>",1);function Mi(r,e){fe(e,!0);const t=m(()=>{var w;if(((w=e.shape)==null?void 0:w.type)!=="rectangle")return[0,0,0,0];const{corners:h}=e.shape;return[(h==null?void 0:h.top_leading)??0,(h==null?void 0:h.top_trailing)??0,(h==null?void 0:h.bottom_trailing)??0,(h==null?void 0:h.bottom_leading)??0]}),n=m(()=>ai(o(t),4)),a=m(()=>o(n)[0]),i=m(()=>o(n)[1]),s=m(()=>o(n)[2]),l=m(()=>o(n)[3]);var c=$v(),u=ae(c);{var d=h=>{var w=Xv();Z(k=>{be(w,"cx",e.width/2),be(w,"cy",e.height/2),be(w,"r",k)},[()=>Math.min(e.width,e.height)/2]),P(h,w)};K(u,h=>{var w;((w=e.shape)==null?void 0:w.type)==="circle"&&h(d)})}var p=Y(u);{var _=h=>{var w=Zv();Z(()=>be(w,"d",`M 0 0 L ${e.width} 0 L ${e.width} ${e.height} Q ${e.width/2} ${e.height-54} 0 ${e.height} Z`)),P(h,w)};K(p,h=>{var w;((w=e.shape)==null?void 0:w.type)==="concave"&&h(_)})}var g=Y(p);{var f=h=>{var w=Jv();Z(()=>be(w,"d",`M 0 0 L ${e.width} 0 L ${e.width} ${e.height-27} Q ${e.width/2} ${e.height+27} 0 ${e.height-27} Z`)),P(h,w)};K(g,h=>{var w;((w=e.shape)==null?void 0:w.type)==="convex"&&h(f)})}var v=Y(g);{var y=h=>{var w=Qv();Z(()=>be(w,"d",`M ${o(a)} 0 H ${e.width-o(i)} A ${o(i)} ${o(i)} 0 0 1 ${e.width} ${o(i)}
40
+ /* Keep flex children interactive and above tinted overlay (::before z-index). */.stack.rc-stack-video-bg.svelte-b44qkq > :not(.rc-bg-video) {position:relative;z-index:3;}`};function Fr(r,e){fe(e,!0),we(r,Yv);const t=()=>pe(v,"$hoverState",l),n=()=>pe(f,"$selectedState",l),a=()=>pe(h,"$selectedPackageId",l),i=()=>pe(y,"$packageInfo",l),s=()=>pe(k,"$variables",l),[l,c]=He(),u=xr(e,["$$slots","$$events","$$legacy"]),{onclick:d,children:p,class:g,testId:_}=u,f=xt(),v=bh(),y=Mn(),{selectedPackageId:h}=Hr(),k=zn(),w=m(()=>({...u,...Nm(t(),e.overrides),...Et(n(),e.overrides)})),b=m(()=>o(w).components),x=m(()=>o(w).size),S=m(()=>o(w).dimension),I=m(()=>o(w).spacing),z=m(()=>o(w).margin),E=m(()=>o(w).padding),M=m(()=>o(w).background_color),C=m(()=>o(w).background),B=m(()=>o(w).border),O=m(()=>o(w).shape),q=m(()=>o(w).shadow),L=m(()=>o(w).badge),F=it(),A=m(F),N=m(()=>{var U;return((U=o(C))==null?void 0:U.type)==="video"}),W=m(()=>{if(!o(N))return null;const U=o(C);return!U||U.type!=="video"?null:Co(o(A),U)}),G=m(()=>On(o(O))),R=m(()=>ir({display:"flex",position:"relative",width:Er(o(x).width),height:Er(o(x).height),...Al(o(S)),gap:Yr(o(I)),margin:wr(o(z)),padding:wr(o(E)),...Ln(o(A),o(M),o(C)),...Nn(o(A),o(B)),"border-radius":o(G),"box-shadow":ca(o(A),o(q)),...Ti({hasVideoBg:o(N),clipOverflow:o(G)!=="0"}),...e.style})),$=U=>{if(U===0||o(S).type!=="zlayer")return"";const{justifyContent:ee,alignItems:ie}=Av(o(S).alignment);return ir({position:"absolute",inset:0,display:"flex","justify-content":ee,"align-items":ie,"z-index":U+1})},ue=m(()=>{var U;return ir(qv(o(L),(U=o(B))==null?void 0:U.width))}),de=m(()=>Fn({selectedPackageId:a(),packageInfo:i(),variables:s()??{}},e.overrides,e.visible));var te=Se(),X=oe(te);{var D=U=>{var ee=Se(),ie=oe(ee);Ls(ie,()=>d!==void 0?"button":"div",!1,(Pe,ke)=>{Vs(Pe,ce=>({role:d!==void 0?"button":void 0,onclick:d,style:o(R),class:ce,"data-testid":_}),[()=>["stack","rc-gradient-border",g,o(N)?Ci("stack"):""].filter(Boolean).join(" ")],void 0,void 0,"svelte-b44qkq");var Te=Hv(),Ne=oe(Te);{var Oe=ce=>{Ao(ce,{get url(){return o(W).url},get urlLowRes(){return o(W).url_low_res},get objectFit(){return o(W).fit},get objectPosition(){return o(W).position},get poster(){return o(W).posterWebp},get mute(){return o(W).mute},get loop(){return o(W).loop}})};Y(Ne,ce=>{o(W)&&ce(Oe)})}var Ie=H(Ne,2);{var Ee=ce=>{var Ce=Rv(),Ke=T(Ce);qo(Ke,{get nodeData(){return o(L).stack}}),K(()=>De(Ce,o(ue))),P(ce,Ce)};Y(Ie,ce=>{o(L)&&ce(Ee)})}var Be=H(Ie,2);{var Ye=ce=>{var Ce=Wv();Ht(Ce,21,()=>o(b),gn,(Ke,rr,hr)=>{var Le=Vv(),se=T(Le);qo(se,{get nodeData(){return o(rr)}}),K(Ue=>De(Le,Ue),[()=>$(hr)]),P(Ke,Le)}),P(ce,Ce)},ne=ce=>{var Ce=Se(),Ke=oe(Ce);Ht(Ke,17,()=>o(b),gn,(rr,hr)=>{qo(rr,{get nodeData(){return o(hr)}})}),P(ce,Ce)};Y(Be,ce=>{o(S).type==="zlayer"?ce(Ye):ce(ne,!1)})}var ge=H(Be,2);p==null||p(ge),P(ke,Te)}),P(U,ee)};Y(X,U=>{o(de)&&U(D)})}P(r,te),me(),c()}function Ai(r){return r<10?`0${r}`:`${r}`}function qi(r){return`${r}`}function ap(r){const e=new Date,n=new Date(r).getTime()-e.getTime();if(n<=0)return{count_days_with_zero:"00",count_days_without_zero:"0",count_hours_with_zero:"00",count_hours_without_zero:"0",count_minutes_with_zero:"00",count_minutes_without_zero:"0",count_seconds_with_zero:"00",count_seconds_without_zero:"0"};const a=Math.floor(n/1e3),i=Math.floor(a/60),s=Math.floor(i/60),c=Math.floor(s/24),u=s%24,d=i%60,p=a%60;return{count_days_with_zero:Ai(c),count_days_without_zero:qi(c),count_hours_with_zero:Ai(u),count_hours_without_zero:qi(u),count_minutes_with_zero:Ai(d),count_minutes_without_zero:qi(d),count_seconds_with_zero:Ai(p),count_seconds_without_zero:qi(p)}}function op(r){const e=new Date;return new Date(r).getTime()<=e.getTime()}function Gv(r,e){fe(e,!0);const t=xr(e,["$$slots","$$events","$$legacy"]),{countdown_stack:n,end_stack:a}=t;let i=re(or(ap(e.style.date))),s=re(or(op(e.style.date)));const l=rl(),c=jr(o(i)),u=Mt([l,c],([v,y])=>({...v,...y}));el(u),gr(()=>{const v=setInterval(()=>{j(i,ap(e.style.date),!0),j(s,op(e.style.date),!0),c.set(o(i))},1e3);return()=>clearInterval(v)});const d=m(()=>o(s)&&a?a:n),p=m(()=>e.visible!==!1);var g=Se(),_=oe(g);{var f=v=>{Fr(v,dr(()=>o(d)))};Y(_,v=>{o(p)&&v(f)})}P(r,g),me()}var Kv=V('<div class="svelte-1a3xvse"><!></div>');const Xv={hash:"svelte-1a3xvse",code:"div.svelte-1a3xvse {position:sticky;bottom:0;width:100%;display:flex;flex-direction:row;justify-content:center;}"};function ip(r,e){we(r,Xv);var t=Kv(),n=T(t);Fr(n,dr(()=>e.stack)),K(()=>De(t,`z-index: ${ud};`)),P(r,t)}var Zv=V('<div class="svelte-1604b5e"><!></div>');const Jv={hash:"svelte-1604b5e",code:"div.svelte-1604b5e {display:flex;flex-direction:row;justify-content:center;}"};function sp(r,e){we(r,Jv);var t=Zv(),n=T(t);Fr(n,dr(()=>e.stack)),P(r,t)}var Qv=Ir("<circle></circle>"),$v=Ir("<path></path>"),ey=Ir("<path></path>"),ry=Ir("<path></path>"),ty=Ir("<!><!><!><!>",1);function Fi(r,e){fe(e,!0);const t=m(()=>{var k;if(((k=e.shape)==null?void 0:k.type)!=="rectangle")return[0,0,0,0];const{corners:h}=e.shape;return[(h==null?void 0:h.top_leading)??0,(h==null?void 0:h.top_trailing)??0,(h==null?void 0:h.bottom_trailing)??0,(h==null?void 0:h.bottom_leading)??0]}),n=m(()=>ai(o(t),4)),a=m(()=>o(n)[0]),i=m(()=>o(n)[1]),s=m(()=>o(n)[2]),l=m(()=>o(n)[3]);var c=ty(),u=oe(c);{var d=h=>{var k=Qv();K(w=>{be(k,"cx",e.width/2),be(k,"cy",e.height/2),be(k,"r",w)},[()=>Math.min(e.width,e.height)/2]),P(h,k)};Y(u,h=>{var k;((k=e.shape)==null?void 0:k.type)==="circle"&&h(d)})}var p=H(u);{var g=h=>{var k=$v();K(()=>be(k,"d",`M 0 0 L ${e.width} 0 L ${e.width} ${e.height} Q ${e.width/2} ${e.height-54} 0 ${e.height} Z`)),P(h,k)};Y(p,h=>{var k;((k=e.shape)==null?void 0:k.type)==="concave"&&h(g)})}var _=H(p);{var f=h=>{var k=ey();K(()=>be(k,"d",`M 0 0 L ${e.width} 0 L ${e.width} ${e.height-27} Q ${e.width/2} ${e.height+27} 0 ${e.height-27} Z`)),P(h,k)};Y(_,h=>{var k;((k=e.shape)==null?void 0:k.type)==="convex"&&h(f)})}var v=H(_);{var y=h=>{var k=ry();K(()=>be(k,"d",`M ${o(a)} 0 H ${e.width-o(i)} A ${o(i)} ${o(i)} 0 0 1 ${e.width} ${o(i)}
41
41
  V ${e.height-o(s)} A ${o(s)} ${o(s)} 0 0 1 ${e.width-o(s)} ${e.height}
42
42
  H ${o(l)} A ${o(l)} ${o(l)} 0 0 1 0 ${e.height-o(l)}
43
- V ${o(a)} A ${o(a)} ${o(a)} 0 0 1 ${o(a)} 0 Z`)),P(h,w)};K(v,h=>{var w,k;(((w=e.shape)==null?void 0:w.type)==="rectangle"||((k=e.shape)==null?void 0:k.type)===void 0)&&h(y)})}P(r,c),me()}var ey=Cr('<linearGradient x1="0" y1="0" x2="100%" y2="100%"><stop offset="0%"></stop><stop offset="100%"></stop></linearGradient>'),ry=Cr("<stop></stop>"),ty=Cr("<linearGradient></linearGradient>"),ny=Cr("<stop></stop>"),ay=Cr("<radialGradient></radialGradient>"),oy=Cr("<!><!><!>",1);function Fi(r,e){fe(e,!0);var t=oy(),n=ae(t);{var a=u=>{var d=ey(),p=T(d),_=Y(p);Z(()=>{be(d,"id",e.id),be(p,"stop-color",e.overlay.value),be(_,"stop-color",e.overlay.value)}),P(u,d)};K(n,u=>{var d;((d=e.overlay)==null?void 0:d.type)==="hex"&&u(a)})}var i=Y(n);{var s=u=>{var d=ty();Ht(d,21,()=>e.overlay.points,gn,(p,_)=>{var g=ry();Z(()=>{be(g,"offset",`${o(_).percent}%`),be(g,"stop-color",o(_).color)}),P(p,g)}),Z(()=>{be(d,"id",e.id),be(d,"gradientTransform",`rotate(${e.overlay.degrees-90}, 0.5, 0.5)`)}),P(u,d)};K(i,u=>{var d;((d=e.overlay)==null?void 0:d.type)==="linear"&&u(s)})}var l=Y(i);{var c=u=>{var d=ay();Ht(d,21,()=>e.overlay.points,gn,(p,_)=>{var g=ny();Z(()=>{be(g,"offset",`${o(_).percent}%`),be(g,"stop-color",o(_).color)}),P(p,g)}),Z(()=>be(d,"id",e.id)),P(u,d)};K(l,u=>{var d;((d=e.overlay)==null?void 0:d.type)==="radial"&&u(c)})}P(r,t),me()}var iy=Cr('<use fill="transparent"></use>'),sy=Cr('<rect x="0" y="0" height="100%" width="100%"></rect>'),ly=Cr('<use fill="none"></use>'),cy=W('<div><svg width="100%" height="100%"><defs><clipPath><!></clipPath><g><!></g><!><!></defs><!><g><foreignObject x="0" y="0" width="100%" height="100%"><img alt="" class="svelte-uczg1q"/></foreignObject><!><!></g></svg></div>');const uy={hash:"svelte-uczg1q",code:"img.svelte-uczg1q {width:100%;height:100%;object-fit:contain;object-position:center;}"};function dy(r,e){fe(e,!0),ke(r,uy);const t=()=>pe(u,"$selectedState",s),n=()=>pe(p,"$selectedPackageId",s),a=()=>pe(d,"$packageInfo",s),i=()=>pe(_,"$variables",s),[s,l]=Ye(),c=Er(e,["$$slots","$$events","$$legacy"]),u=Et(),d=Mn(),{selectedPackageId:p}=Yr(),_=Fn(),g=m(()=>({...c,...St(t(),e.overrides)})),f=m(()=>o(g).id),v=m(()=>o(g).source),y=m(()=>o(g).size),h=m(()=>o(g).mask_shape),w=m(()=>o(g).fit_mode),k=m(()=>o(g).padding),b=m(()=>o(g).margin),x=m(()=>o(g).color_overlay),I=m(()=>o(g).border),S=m(()=>o(g).shadow),q=st(),E=m(q),D=m(()=>et(o(E),o(v)));let C=re(0),B=re(nr({height:0,width:0}));mr(()=>{if(o(D).width||o(D).height){j(B,{height:o(D).height,width:o(D).width},!0);return}const O=new window.Image;O.src=o(D).original;const U=()=>{j(B,{height:O.height,width:O.width},!0)};return O.addEventListener("load",U),()=>{O.removeEventListener("load",U)}});const F=m(()=>o(y).height.type==="fixed"?o(y).height.value:Math.round(o(C)*(o(B).height/o(B).width))),z=m(()=>ir({width:Sr(o(y).width),height:`${o(F)}px`,margin:Pr(o(b)),padding:Pr(o(k)),"line-height":0,"flex-shrink":o(y).width.type==="fixed"?0:1}));let L=re(null);const A=m(()=>{var O,U;return[((O=o(L))==null?void 0:O.width)??0,((U=o(L))==null?void 0:U.height)??0]}),M=m(()=>ai(o(A),2)),N=m(()=>o(M)[0]),H=m(()=>o(M)[1]),X=m(()=>`0 0 ${o(N)} ${o(H)}`),R=m(()=>{var Pe;if(!((Pe=o(S))!=null&&Pe.color))return"";const{x:O,y:U,radius:te,color:ue}=o(S),Se=lt(o(E),ue);return`filter: drop-shadow(${O}px ${U}px ${te}px ${Se})`}),$=m(()=>o(x)&&et(o(E),o(x))),ce=m(()=>qn({selectedPackageId:n(),packageInfo:a(),variables:i()??{}},e.overrides,e.visible));var de=xe(),G=ae(de);{var V=O=>{var U=cy(),te=T(U),ue=T(te),Se=T(ue),Pe=T(Se);Mi(Pe,{get shape(){return o(h)},get width(){return o(N)},get height(){return o(H)}});var Te=Y(Se),Ne=T(Te);Mi(Ne,{get shape(){return o(h)},get width(){return o(N)},get height(){return o(H)}});var ze=Y(Te);{let Re=m(()=>`${o(f)}-overlay`);Fi(ze,{get id(){return o(Re)},get overlay(){return o($)}})}var Ie=Y(ze);{var Ee=Re=>{{let oe=m(()=>`${o(f)}-border-color`),Oe=m(()=>et(o(E),o(I).color));Fi(Re,{get id(){return o(oe)},get overlay(){return o(Oe)}})}};K(Ie,Re=>{o(I)&&o(I).width>0&&Re(Ee)})}var Be=Y(ue);{var Ve=Re=>{var oe=iy();Z(()=>be(oe,"href",`#${o(f)}-border`)),P(Re,oe)};K(Be,Re=>{o(I)&&o(I).width>0&&Re(Ve)})}var ne=Y(Be),ge=T(ne),le=T(ge),Ce=Y(ge);{var Ke=Re=>{var oe=sy();Z(()=>be(oe,"fill",`url(#${o(f)}-overlay)`)),P(Re,oe)};K(Ce,Re=>{o($)&&Re(Ke)})}var er=Y(Ce);{var hr=Re=>{var oe=ly();Z(()=>{be(oe,"href",`#${o(f)}-border`),be(oe,"stroke",`url(#${o(f)}-border-color)`),be(oe,"stroke-width",o(I).width*2)}),P(Re,oe)};K(er,Re=>{o(I)&&o(I).width>0&&Re(hr)})}Z(Re=>{De(U,o(z)),be(te,"viewBox",o(X)),De(te,o(R)),be(Se,"id",`${o(f)}-path`),be(Te,"id",`${o(f)}-border`),be(ne,"clip-path",`url(#${o(f)}-path)`),be(le,"src",o(D).original),De(le,`object-fit:${Re??""}`)},[()=>Ua(o(w))]),Nu(te,"contentRect",Re=>j(L,Re)),hi(U,"clientWidth",Re=>j(C,Re)),P(O,U)};K(G,O=>{o(ce)&&O(V)})}P(r,de),me(),l()}function py(r,e){fe(e,!0);const t=()=>pe(_,"$selectedPackageId",c),n=()=>pe(g,"$variablesPerPackage",c),a=()=>pe(k,"$fallbackVariables",c),i=()=>pe(f,"$baseVariables",c),s=()=>pe(v,"$infoPerPackage",c),l=()=>pe(I,"$fallbackPackageInfo",c),[c,u]=Ye(),{defaultPackageId:d,emitComponentInteraction:p,selectedPackageId:_,variablesPerPackage:g,baseVariables:f,infoPerPackage:v}=Yr();mr(()=>{if(e.is_selected_by_default){const E=e.package_id;Ue(()=>{Uu(_,E)})}});const y=m(()=>t()===e.package_id),h=Or(o(y));mr(()=>{h.set(o(y))}),wi(h);const w=()=>{const E=t();E!==e.package_id&&(Uu(_,e.package_id),p({componentType:"package",componentName:e.name,componentValue:e.package_id,originPackageId:E,destinationPackageId:e.package_id,defaultPackageId:d}))},k=rl(),b=m(()=>{var D;const E=(D=n())==null?void 0:D[e.package_id];return E===void 0?a():{...i(),...E}}),x=Or(o(b));mr(()=>{x.set(o(b))}),el(x);const I=Gm(),S=m(()=>{var E;return((E=s())==null?void 0:E[e.package_id])??l()}),q=Or(o(S));mr(()=>{q.set(o(S))}),cd(q),Fr(r,dr(()=>e.stack,{onclick:w})),me(),u()}var op;(function(r){r.weekly="$rc_weekly",r.monthly="$rc_monthly",r.two_month="$rc_two_month",r.three_month="$rc_three_month",r.six_month="$rc_six_month",r.annual="$rc_annual",r.lifetime="$rc_lifetime"})(op||(op={}));const _y={string:r=>({type:"string",value:r}),number:r=>({type:"number",value:r}),boolean:r=>({type:"boolean",value:r})};function ip(r,e){const t=Object.fromEntries(Object.entries(r).map(([a,{value:i}])=>[a,String(i)]));return e?{...Object.fromEntries(Object.entries(e.custom_variables??{}).map(([a,{default_value:i}])=>[a,String(i)])),...t}:t}const sp="--rc-purchases-ui-bg-color";function gy(r,e,t){const n=a=>t==="dark"?a==null?void 0:a.dark:a==null?void 0:a.light;return n(r)??n(e)??null}const lp=/^#[0-9a-fA-F]{6}([0-9a-fA-F]{2})?$/;function fy(r){return lp.test(r)}function my(r){const e=lp.exec(r);return e!=null&&(e[1]==null||e[1].toLowerCase()==="ff")}function zi(r){return r.length===7?`${r.toLowerCase()}ff`:r.toLowerCase()}function cp(r,e,t){const n=gy(r,e,t);return n?So(n):null}function ql(r,e){const t=r[0],n=r.at(-1);if(t==null||n==null)return null;if(e<=t.percent)return zi(t.color);if(e>=n.percent)return zi(n.color);const a=r.findIndex(l=>l.percent>=e),i=r[a-1],s=r[a];return i==null||s==null?null:i.color.toLowerCase()===s.color.toLowerCase()?zi(i.color):i.percent===s.percent?zi(s.color):null}function hy(r){return r.filter(e=>Number.isFinite(e.percent)&&fy(e.color)).slice().sort((e,t)=>e.percent-t.percent)}function up(r,[e,t]){const n=ql(r,e);if(n==null||!my(n))return null;const a=[e,...r.map(s=>s.percent).filter(s=>s>e&&s<t),t];return a.every((s,l)=>{if(ql(r,s)!==n)return!1;const c=a[l+1];return c==null||c===s?!0:ql(r,(s+c)/2)===n})?n:null}function dp(r){return Math.abs(r)<1e-10?0:r}function pp(r,e,t,n){const a=r*Math.PI/180,i=dp(Math.sin(a)),s=dp(-Math.cos(a)),l=Math.abs(i)*n.width+Math.abs(s)*n.height;return((e-n.width/2)*i+(t-n.height/2)*s+l/2)/l*100}function vy(r,e,t){const n=e==="top"?0:t.height,a=pp(r,0,n,t),i=pp(r,t.width,n,t);return[Math.min(a,i),Math.max(a,i)]}function _p(r,e,t){const n=Math.hypot(t.width/2,t.height/2);return Math.hypot(r-t.width/2,e-t.height/2)/n*100}function yy(r,e){const t=r==="top"?0:e.height,n=_p(e.width/2,t,e),a=_p(0,t,e);return[Math.min(n,a),Math.max(n,a)]}function gp(r,e,t,n){switch(r.type){case"hex":case"alias":return So(r);case"linear":return up(n??[],vy(r.degrees,e,t));case"radial":return up(n??[],yy(e,t))}}function by(r,e,t,n){let a=null,i=null;if((r==null?void 0:r.type)==="color"){const s=et(e,r.value),l=s.type==="linear"||s.type==="radial"?hy(s.points):null;a=gp(s,"top",t,l),i=gp(s,"bottom",t,l)}if(n!=null&&n.stickyComponents){const s=n.stickyComponents.hasHeader===!0,l=n.stickyComponents.hasFooter===!0;a=l&&!s?a:null,i=s&&!l?i:null}if((n==null?void 0:n.paywallFallbackColor)!=null||(n==null?void 0:n.hostFallbackColor)!=null){const s=cp(n.paywallFallbackColor,n.hostFallbackColor,e);a=a??s,i=i??s}return{top:a,bottom:i}}let Ml=null;function ky(r,e,t){var u;if(typeof document>"u")return()=>{};const{paywallData:n,colorMode:a,hostFallbackColor:i}=t,s=document.documentElement,l=(u=n==null?void 0:n.components_config)==null?void 0:u.base;let c=null;if(e.kind==="style"&&e.style.background){const d=e.style.background;if(!d.includes("gradient"))c=d;else{const p=by(l==null?void 0:l.background,a,{width:window.innerWidth,height:window.innerHeight},{stickyComponents:{hasHeader:(l==null?void 0:l.header)!=null,hasFooter:(l==null?void 0:l.sticky_footer)!=null}});c=p.top??p.bottom}}return c===null&&(c=cp(l==null?void 0:l.safe_area_fallback_color,i,a)),c!==null&&(Ml=r,s.style.setProperty(sp,c)),()=>{Ml===r&&(Ml=null,s.style.removeProperty(sp))}}var wy=W('<div class="backdrop svelte-1459ycx" role="presentation" tabindex="-1" aria-hidden="true"><div role="dialog" aria-modal="true"><!> <!></div></div>');const Py={hash:"svelte-1459ycx",code:`.backdrop.svelte-1459ycx {position:absolute;inset:0 0 0 0;width:100%;height:100%;background-color:#0000003f;display:flex;flex-direction:column;}.sheet.svelte-1459ycx {position:absolute;inset:auto 0 0 0;transition-property:transform;transition-duration:225ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:translateY(100%);&::before {content:"";position:absolute;inset:0;background:var(--overlay);pointer-events:none;}&.visible {transform:translateY(0);}}.sheet.rc-sheet-video-bg.svelte-1459ycx::before {z-index:2;}
43
+ V ${o(a)} A ${o(a)} ${o(a)} 0 0 1 ${o(a)} 0 Z`)),P(h,k)};Y(v,h=>{var k,w;(((k=e.shape)==null?void 0:k.type)==="rectangle"||((w=e.shape)==null?void 0:w.type)===void 0)&&h(y)})}P(r,c),me()}var ny=Ir('<linearGradient x1="0" y1="0" x2="100%" y2="100%"><stop offset="0%"></stop><stop offset="100%"></stop></linearGradient>'),ay=Ir("<stop></stop>"),oy=Ir("<linearGradient></linearGradient>"),iy=Ir("<stop></stop>"),sy=Ir("<radialGradient></radialGradient>"),ly=Ir("<!><!><!>",1);function Mi(r,e){fe(e,!0);var t=ly(),n=oe(t);{var a=u=>{var d=ny(),p=T(d),g=H(p);K(()=>{be(d,"id",e.id),be(p,"stop-color",e.overlay.value),be(g,"stop-color",e.overlay.value)}),P(u,d)};Y(n,u=>{var d;((d=e.overlay)==null?void 0:d.type)==="hex"&&u(a)})}var i=H(n);{var s=u=>{var d=oy();Ht(d,21,()=>e.overlay.points,gn,(p,g)=>{var _=ay();K(()=>{be(_,"offset",`${o(g).percent}%`),be(_,"stop-color",o(g).color)}),P(p,_)}),K(()=>{be(d,"id",e.id),be(d,"gradientTransform",`rotate(${e.overlay.degrees-90}, 0.5, 0.5)`)}),P(u,d)};Y(i,u=>{var d;((d=e.overlay)==null?void 0:d.type)==="linear"&&u(s)})}var l=H(i);{var c=u=>{var d=sy();Ht(d,21,()=>e.overlay.points,gn,(p,g)=>{var _=iy();K(()=>{be(_,"offset",`${o(g).percent}%`),be(_,"stop-color",o(g).color)}),P(p,_)}),K(()=>be(d,"id",e.id)),P(u,d)};Y(l,u=>{var d;((d=e.overlay)==null?void 0:d.type)==="radial"&&u(c)})}P(r,t),me()}var cy=Ir('<use fill="transparent"></use>'),uy=Ir('<rect x="0" y="0" height="100%" width="100%"></rect>'),dy=Ir('<use fill="none"></use>'),py=V('<div><svg width="100%" height="100%"><defs><clipPath><!></clipPath><g><!></g><!><!></defs><!><g><foreignObject x="0" y="0" width="100%" height="100%"><img alt="" class="svelte-uczg1q"/></foreignObject><!><!></g></svg></div>');const _y={hash:"svelte-uczg1q",code:"img.svelte-uczg1q {width:100%;height:100%;object-fit:contain;object-position:center;}"};function gy(r,e){fe(e,!0),we(r,_y);const t=()=>pe(u,"$selectedState",s),n=()=>pe(p,"$selectedPackageId",s),a=()=>pe(d,"$packageInfo",s),i=()=>pe(g,"$variables",s),[s,l]=He(),c=xr(e,["$$slots","$$events","$$legacy"]),u=xt(),d=Mn(),{selectedPackageId:p}=Hr(),g=zn(),_=m(()=>({...c,...Et(t(),e.overrides)})),f=m(()=>o(_).id),v=m(()=>o(_).source),y=m(()=>o(_).size),h=m(()=>o(_).mask_shape),k=m(()=>o(_).fit_mode),w=m(()=>o(_).padding),b=m(()=>o(_).margin),x=m(()=>o(_).color_overlay),S=m(()=>o(_).border),I=m(()=>o(_).shadow),z=it(),E=m(z),M=m(()=>$r(o(E),o(v)));let C=re(0),B=re(or({height:0,width:0}));gr(()=>{if(o(M).width||o(M).height){j(B,{height:o(M).height,width:o(M).width},!0);return}const D=new window.Image;D.src=o(M).original;const U=()=>{j(B,{height:D.height,width:D.width},!0)};return D.addEventListener("load",U),()=>{D.removeEventListener("load",U)}});const O=m(()=>o(y).height.type==="fixed"?o(y).height.value:Math.round(o(C)*(o(B).height/o(B).width))),q=m(()=>ir({width:Er(o(y).width),height:`${o(O)}px`,margin:wr(o(b)),padding:wr(o(w)),"line-height":0,"flex-shrink":o(y).width.type==="fixed"?0:1}));let L=re(null);const F=m(()=>{var D,U;return[((D=o(L))==null?void 0:D.width)??0,((U=o(L))==null?void 0:U.height)??0]}),A=m(()=>ai(o(F),2)),N=m(()=>o(A)[0]),W=m(()=>o(A)[1]),G=m(()=>`0 0 ${o(N)} ${o(W)}`),R=m(()=>{var ke;if(!((ke=o(I))!=null&&ke.color))return"";const{x:D,y:U,radius:ee,color:ie}=o(I),Pe=st(o(E),ie);return`filter: drop-shadow(${D}px ${U}px ${ee}px ${Pe})`}),$=m(()=>o(x)&&$r(o(E),o(x))),ue=m(()=>Fn({selectedPackageId:n(),packageInfo:a(),variables:i()??{}},e.overrides,e.visible));var de=Se(),te=oe(de);{var X=D=>{var U=py(),ee=T(U),ie=T(ee),Pe=T(ie),ke=T(Pe);Fi(ke,{get shape(){return o(h)},get width(){return o(N)},get height(){return o(W)}});var Te=H(Pe),Ne=T(Te);Fi(Ne,{get shape(){return o(h)},get width(){return o(N)},get height(){return o(W)}});var Oe=H(Te);{let Le=m(()=>`${o(f)}-overlay`);Mi(Oe,{get id(){return o(Le)},get overlay(){return o($)}})}var Ie=H(Oe);{var Ee=Le=>{{let se=m(()=>`${o(f)}-border-color`),Ue=m(()=>$r(o(E),o(S).color));Mi(Le,{get id(){return o(se)},get overlay(){return o(Ue)}})}};Y(Ie,Le=>{o(S)&&o(S).width>0&&Le(Ee)})}var Be=H(ie);{var Ye=Le=>{var se=cy();K(()=>be(se,"href",`#${o(f)}-border`)),P(Le,se)};Y(Be,Le=>{o(S)&&o(S).width>0&&Le(Ye)})}var ne=H(Be),ge=T(ne),ce=T(ge),Ce=H(ge);{var Ke=Le=>{var se=uy();K(()=>be(se,"fill",`url(#${o(f)}-overlay)`)),P(Le,se)};Y(Ce,Le=>{o($)&&Le(Ke)})}var rr=H(Ce);{var hr=Le=>{var se=dy();K(()=>{be(se,"href",`#${o(f)}-border`),be(se,"stroke",`url(#${o(f)}-border-color)`),be(se,"stroke-width",o(S).width*2)}),P(Le,se)};Y(rr,Le=>{o(S)&&o(S).width>0&&Le(hr)})}K(Le=>{De(U,o(q)),be(ee,"viewBox",o(G)),De(ee,o(R)),be(Pe,"id",`${o(f)}-path`),be(Te,"id",`${o(f)}-border`),be(ne,"clip-path",`url(#${o(f)}-path)`),be(ce,"src",o(M).original),De(ce,`object-fit:${Le??""}`)},[()=>Wa(o(k))]),Ou(ee,"contentRect",Le=>j(L,Le)),hi(U,"clientWidth",Le=>j(C,Le)),P(D,U)};Y(te,D=>{o(ue)&&D(X)})}P(r,de),me(),l()}function fy(r,e){fe(e,!0);const t=()=>pe(g,"$selectedPackageId",c),n=()=>pe(_,"$variablesPerPackage",c),a=()=>pe(w,"$fallbackVariables",c),i=()=>pe(f,"$baseVariables",c),s=()=>pe(v,"$infoPerPackage",c),l=()=>pe(S,"$fallbackPackageInfo",c),[c,u]=He(),{defaultPackageId:d,emitComponentInteraction:p,selectedPackageId:g,variablesPerPackage:_,baseVariables:f,infoPerPackage:v}=Hr();gr(()=>{if(e.is_selected_by_default){const E=e.package_id;Re(()=>{Vu(g,E)})}});const y=m(()=>t()===e.package_id),h=jr(o(y));gr(()=>{h.set(o(y))}),wi(h);const k=()=>{const E=t();E!==e.package_id&&(Vu(g,e.package_id),p({componentType:"package",componentName:e.name,componentValue:e.package_id,originPackageId:E,destinationPackageId:e.package_id,defaultPackageId:d}))},w=rl(),b=m(()=>{var M;const E=(M=n())==null?void 0:M[e.package_id];return E===void 0?a():{...i(),...E}}),x=jr(o(b));gr(()=>{x.set(o(b))}),el(x);const S=Zm(),I=m(()=>{var E;return((E=s())==null?void 0:E[e.package_id])??l()}),z=jr(o(I));gr(()=>{z.set(o(I))}),pd(z),Fr(r,dr(()=>e.stack,{onclick:k})),me(),u()}var lp;(function(r){r.weekly="$rc_weekly",r.monthly="$rc_monthly",r.two_month="$rc_two_month",r.three_month="$rc_three_month",r.six_month="$rc_six_month",r.annual="$rc_annual",r.lifetime="$rc_lifetime"})(lp||(lp={}));const my={string:r=>({type:"string",value:r}),number:r=>({type:"number",value:r}),boolean:r=>({type:"boolean",value:r})};function cp(r,e){const t=Object.fromEntries(Object.entries(r).map(([a,{value:i}])=>[a,String(i)]));return e?{...Object.fromEntries(Object.entries(e.custom_variables??{}).map(([a,{default_value:i}])=>[a,String(i)])),...t}:t}const up="--rc-purchases-ui-bg-color";function hy(r,e,t){const n=a=>t==="dark"?a==null?void 0:a.dark:a==null?void 0:a.light;return n(r)??n(e)??null}const dp=/^#[0-9a-fA-F]{6}([0-9a-fA-F]{2})?$/;function vy(r){return dp.test(r)}function yy(r){const e=dp.exec(r);return e!=null&&(e[1]==null||e[1].toLowerCase()==="ff")}function zi(r){return r.length===7?`${r.toLowerCase()}ff`:r.toLowerCase()}function pp(r,e,t){const n=hy(r,e,t);return n?Io(n):null}function ql(r,e){const t=r[0],n=r.at(-1);if(t==null||n==null)return null;if(e<=t.percent)return zi(t.color);if(e>=n.percent)return zi(n.color);const a=r.findIndex(l=>l.percent>=e),i=r[a-1],s=r[a];return i==null||s==null?null:i.color.toLowerCase()===s.color.toLowerCase()?zi(i.color):i.percent===s.percent?zi(s.color):null}function by(r){return r.filter(e=>Number.isFinite(e.percent)&&vy(e.color)).slice().sort((e,t)=>e.percent-t.percent)}function _p(r,[e,t]){const n=ql(r,e);if(n==null||!yy(n))return null;const a=[e,...r.map(s=>s.percent).filter(s=>s>e&&s<t),t];return a.every((s,l)=>{if(ql(r,s)!==n)return!1;const c=a[l+1];return c==null||c===s?!0:ql(r,(s+c)/2)===n})?n:null}function gp(r){return Math.abs(r)<1e-10?0:r}function fp(r,e,t,n){const a=r*Math.PI/180,i=gp(Math.sin(a)),s=gp(-Math.cos(a)),l=Math.abs(i)*n.width+Math.abs(s)*n.height;return((e-n.width/2)*i+(t-n.height/2)*s+l/2)/l*100}function ky(r,e,t){const n=e==="top"?0:t.height,a=fp(r,0,n,t),i=fp(r,t.width,n,t);return[Math.min(a,i),Math.max(a,i)]}function mp(r,e,t){const n=Math.hypot(t.width/2,t.height/2);return Math.hypot(r-t.width/2,e-t.height/2)/n*100}function wy(r,e){const t=r==="top"?0:e.height,n=mp(e.width/2,t,e),a=mp(0,t,e);return[Math.min(n,a),Math.max(n,a)]}function hp(r,e,t,n){switch(r.type){case"hex":case"alias":return Io(r);case"linear":return _p(n??[],ky(r.degrees,e,t));case"radial":return _p(n??[],wy(e,t))}}function Py(r,e,t,n){let a=null,i=null;if((r==null?void 0:r.type)==="color"){const s=$r(e,r.value),l=s.type==="linear"||s.type==="radial"?by(s.points):null;a=hp(s,"top",t,l),i=hp(s,"bottom",t,l)}if(n!=null&&n.stickyComponents){const s=n.stickyComponents.hasHeader===!0,l=n.stickyComponents.hasFooter===!0;a=l&&!s?a:null,i=s&&!l?i:null}if((n==null?void 0:n.paywallFallbackColor)!=null||(n==null?void 0:n.hostFallbackColor)!=null){const s=pp(n.paywallFallbackColor,n.hostFallbackColor,e);a=a??s,i=i??s}return{top:a,bottom:i}}let Fl=null;function xy(r,e,t){var u;if(typeof document>"u")return()=>{};const{paywallData:n,colorMode:a,hostFallbackColor:i}=t,s=document.documentElement,l=(u=n==null?void 0:n.components_config)==null?void 0:u.base;let c=null;if(e.kind==="style"&&e.style.background){const d=e.style.background;if(!d.includes("gradient"))c=d;else{const p=Py(l==null?void 0:l.background,a,{width:window.innerWidth,height:window.innerHeight},{stickyComponents:{hasHeader:(l==null?void 0:l.header)!=null,hasFooter:(l==null?void 0:l.sticky_footer)!=null}});c=p.top??p.bottom}}return c===null&&(c=pp(l==null?void 0:l.safe_area_fallback_color,i,a)),c!==null&&(Fl=r,s.style.setProperty(up,c)),()=>{Fl===r&&(Fl=null,s.style.removeProperty(up))}}var Ey=V('<div class="backdrop svelte-1459ycx" role="presentation" tabindex="-1" aria-hidden="true"><div role="dialog" aria-modal="true"><!> <!></div></div>');const Sy={hash:"svelte-1459ycx",code:`.backdrop.svelte-1459ycx {position:absolute;inset:0 0 0 0;width:100%;height:100%;background-color:#0000003f;display:flex;flex-direction:column;}.sheet.svelte-1459ycx {position:absolute;inset:auto 0 0 0;transition-property:transform;transition-duration:225ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:translateY(100%);&::before {content:"";position:absolute;inset:0;background:var(--overlay);pointer-events:none;}&.visible {transform:translateY(0);}}.sheet.rc-sheet-video-bg.svelte-1459ycx::before {z-index:2;}
44
44
 
45
- /* Match stack video stacking: tint above video (::before z-index). */.sheet.rc-sheet-video-bg.svelte-1459ycx > .rc-bg-video {z-index:1;}.sheet.rc-sheet-video-bg.svelte-1459ycx > .rc-sheet-stack-above-video {position:relative;z-index:3;}`};function xy(r,e){fe(e,!0),ke(r,Py);const t=()=>pe(l,"$selectedState",n),[n,a]=Ye(),i=Er(e,["$$slots","$$events","$$legacy"]),{stack:s}=i,l=Et(),c=m(()=>({...i,...St(t(),e.overrides)})),u=m(()=>o(c).size),d=m(()=>o(c).background),p=m(()=>o(c).background_blur),_=st(),g=m(_),f=m(()=>{var L;return((L=o(d))==null?void 0:L.type)==="video"}),v=m(()=>{if(!o(f))return null;const L=o(d);return!L||L.type!=="video"?null:Io(o(g),L)}),y=m(()=>ir({background:o(p)?"#0000003f":""})),h=m(()=>ir({height:Sr(o(u).height),...Ti({hasVideoBg:o(f),clipOverflow:!0}),...On(o(g),null,o(d))})),{onButtonAction:w}=Yr();let k,b=re(!1);Tr(()=>{requestAnimationFrame(()=>{j(b,!0)})});const x=()=>{j(b,!1)},I=()=>{o(b)||w({type:"navigate_to",destination:"sheet",sheet:null})},S=L=>{L.target===L.currentTarget&&x()},q=L=>{L.key==="Escape"&&x()};let E=m(()=>[`sheet ${o(b)?"visible":""}`,o(f)?Ci("sheet"):""].filter(Boolean).join(" "));var D=wy();D.__click=S,D.__keydown=q;var C=T(D),B=T(C);{var F=L=>{Do(L,{get url(){return o(v).url},get urlLowRes(){return o(v).url_low_res},get objectFit(){return o(v).fit},get objectPosition(){return o(v).position},get poster(){return o(v).posterWebp},get mute(){return o(v).mute},get loop(){return o(v).loop}})};K(B,L=>{o(v)&&L(F)})}var z=Y(B,2);{let L=m(()=>o(f)?"rc-sheet-stack-above-video":void 0);Fr(z,dr(()=>s,{get class(){return o(L)}}))}ja(C,L=>k=L,()=>k),Z(()=>{De(D,o(y)),ur(C,1,ia(o(E)),"svelte-1459ycx"),De(C,o(h))}),Nr("transitionend",C,I),P(r,D),me(),a()}_n(["click","keydown"]);var Ey=W("<div></div>"),Sy=W('<div class="viewport-backdrop svelte-16nzddw"><!> <!></div>');const Iy={hash:"svelte-16nzddw",code:".viewport-backdrop.svelte-16nzddw {position:fixed;inset:0;z-index:0;pointer-events:none;overflow:hidden;isolation:isolate;}.viewport-backdrop-overlay.svelte-16nzddw {position:absolute;inset:0;pointer-events:none;z-index:1;}.viewport-backdrop-overlay.z-over-video-bg.svelte-16nzddw {z-index:2;}"};function Cy(r,e){fe(e,!0),ke(r,Iy);const t=m(()=>{var c;return e.model.kind==="style"&&((c=e.model.style.background)!=null&&c.includes("gradient"))?Object.entries(e.model.style).map(([u,d])=>`${u}:${d}`).join(";"):e.model.kind==="image"?[`background-image:url("${e.model.src}")`,`background-size:${e.model.fit}`,`background-position:${e.model.position}`,"background-repeat:no-repeat"].join(";"):""}),n=m(()=>e.model.kind!=="image"&&e.model.kind!=="video"||!e.model.overlay||e.model.overlay==="none"?null:`background:${e.model.overlay}`),a=m(()=>o(t)!==""||e.model.kind==="video");var i=xe(),s=ae(i);{var l=c=>{var u=Sy(),d=T(u);{var p=f=>{Do(f,{get url(){return e.model.url},get urlLowRes(){return e.model.url_low_res},get objectFit(){return e.model.fit},get objectPosition(){return e.model.position},get poster(){return e.model.posterWebp},get mute(){return e.model.mute},get loop(){return e.model.loop}})};K(d,f=>{e.model.kind==="video"&&f(p)})}var _=Y(d,2);{var g=f=>{var v=Ey();let y;Z(()=>{y=ur(v,1,"viewport-backdrop-overlay svelte-16nzddw",null,y,{"z-over-video-bg":e.model.kind==="video"}),De(v,o(n))}),P(f,v)};K(_,f=>{o(n)&&f(g)})}Z(()=>De(u,o(t)!==""?o(t):void 0)),P(c,u)};K(s,c=>{o(a)&&c(l)})}P(r,i),me()}var Ty=W('<div class="header-wrapper svelte-tzrehm"><!></div>'),Dy=W('<div><!> <!> <div class="paywall-content svelte-tzrehm"><!> <!></div></div> <!>',1);const Ay={hash:"svelte-tzrehm",code:`.paywall.svelte-tzrehm {position:relative;display:flex;flex-direction:column;align-items:stretch;height:100%;transition-property:filter, transform;transition-duration:0.1s;transition-timing-function:ease-in-out;transform-origin:center;&.blur {filter:blur(10px) brightness(0.8);transform:scale(1.045);}}.header-wrapper.svelte-tzrehm {position:sticky;top:0;width:100%;}.paywall-content.svelte-tzrehm {z-index:2;width:100%;flex:1 1 auto;display:flex;flex-direction:column;min-height:0;& > .paywall-content-scroll {flex:1 1 auto;min-height:0;overflow-y:auto;}}
45
+ /* Match stack video stacking: tint above video (::before z-index). */.sheet.rc-sheet-video-bg.svelte-1459ycx > .rc-bg-video {z-index:1;}.sheet.rc-sheet-video-bg.svelte-1459ycx > .rc-sheet-stack-above-video {position:relative;z-index:3;}`};function Iy(r,e){fe(e,!0),we(r,Sy);const t=()=>pe(l,"$selectedState",n),[n,a]=He(),i=xr(e,["$$slots","$$events","$$legacy"]),{stack:s}=i,l=xt(),c=m(()=>({...i,...Et(t(),e.overrides)})),u=m(()=>o(c).size),d=m(()=>o(c).background),p=m(()=>o(c).background_blur),g=it(),_=m(g),f=m(()=>{var L;return((L=o(d))==null?void 0:L.type)==="video"}),v=m(()=>{if(!o(f))return null;const L=o(d);return!L||L.type!=="video"?null:Co(o(_),L)}),y=m(()=>ir({background:o(p)?"#0000003f":""})),h=m(()=>ir({height:Er(o(u).height),...Ti({hasVideoBg:o(f),clipOverflow:!0}),...Ln(o(_),null,o(d))})),{onButtonAction:k}=Hr();let w,b=re(!1);Cr(()=>{requestAnimationFrame(()=>{j(b,!0)})});const x=()=>{j(b,!1)},S=()=>{o(b)||k({type:"navigate_to",destination:"sheet",sheet:null})},I=L=>{L.target===L.currentTarget&&x()},z=L=>{L.key==="Escape"&&x()};let E=m(()=>[`sheet ${o(b)?"visible":""}`,o(f)?Ci("sheet"):""].filter(Boolean).join(" "));var M=Ey();M.__click=I,M.__keydown=z;var C=T(M),B=T(C);{var O=L=>{Ao(L,{get url(){return o(v).url},get urlLowRes(){return o(v).url_low_res},get objectFit(){return o(v).fit},get objectPosition(){return o(v).position},get poster(){return o(v).posterWebp},get mute(){return o(v).mute},get loop(){return o(v).loop}})};Y(B,L=>{o(v)&&L(O)})}var q=H(B,2);{let L=m(()=>o(f)?"rc-sheet-stack-above-video":void 0);Fr(q,dr(()=>s,{get class(){return o(L)}}))}Oa(C,L=>w=L,()=>w),K(()=>{De(M,o(y)),ur(C,1,sa(o(E)),"svelte-1459ycx"),De(C,o(h))}),zr("transitionend",C,S),P(r,M),me(),a()}_n(["click","keydown"]);var Cy=V("<div></div>"),Ty=V('<div class="viewport-backdrop svelte-16nzddw"><!> <!></div>');const Dy={hash:"svelte-16nzddw",code:".viewport-backdrop.svelte-16nzddw {position:fixed;inset:0;z-index:0;pointer-events:none;overflow:hidden;isolation:isolate;}.viewport-backdrop-overlay.svelte-16nzddw {position:absolute;inset:0;pointer-events:none;z-index:1;}.viewport-backdrop-overlay.z-over-video-bg.svelte-16nzddw {z-index:2;}"};function Ay(r,e){fe(e,!0),we(r,Dy);const t=m(()=>{var c;return e.model.kind==="style"&&((c=e.model.style.background)!=null&&c.includes("gradient"))?Object.entries(e.model.style).map(([u,d])=>`${u}:${d}`).join(";"):e.model.kind==="image"?[`background-image:url("${e.model.src}")`,`background-size:${e.model.fit}`,`background-position:${e.model.position}`,"background-repeat:no-repeat"].join(";"):""}),n=m(()=>e.model.kind!=="image"&&e.model.kind!=="video"||!e.model.overlay||e.model.overlay==="none"?null:`background:${e.model.overlay}`),a=m(()=>o(t)!==""||e.model.kind==="video");var i=Se(),s=oe(i);{var l=c=>{var u=Ty(),d=T(u);{var p=f=>{Ao(f,{get url(){return e.model.url},get urlLowRes(){return e.model.url_low_res},get objectFit(){return e.model.fit},get objectPosition(){return e.model.position},get poster(){return e.model.posterWebp},get mute(){return e.model.mute},get loop(){return e.model.loop}})};Y(d,f=>{e.model.kind==="video"&&f(p)})}var g=H(d,2);{var _=f=>{var v=Cy();let y;K(()=>{y=ur(v,1,"viewport-backdrop-overlay svelte-16nzddw",null,y,{"z-over-video-bg":e.model.kind==="video"}),De(v,o(n))}),P(f,v)};Y(g,f=>{o(n)&&f(_)})}K(()=>De(u,o(t)!==""?o(t):void 0)),P(c,u)};Y(s,c=>{o(a)&&c(l)})}P(r,i),me()}var qy=V('<div class="header-wrapper svelte-tzrehm"><!></div>'),Fy=V('<div><!> <!> <div class="paywall-content svelte-tzrehm"><!> <!></div></div> <!>',1);const My={hash:"svelte-tzrehm",code:`.paywall.svelte-tzrehm {position:relative;display:flex;flex-direction:column;align-items:stretch;height:100%;transition-property:filter, transform;transition-duration:0.1s;transition-timing-function:ease-in-out;transform-origin:center;&.blur {filter:blur(10px) brightness(0.8);transform:scale(1.045);}}.header-wrapper.svelte-tzrehm {position:sticky;top:0;width:100%;}.paywall-content.svelte-tzrehm {z-index:2;width:100%;flex:1 1 auto;display:flex;flex-direction:column;min-height:0;& > .paywall-content-scroll {flex:1 1 auto;min-height:0;overflow-y:auto;}}
46
46
  /* Scoped reset - same as original but only affects .paywall descendants */.paywall *,
47
47
  .paywall *::before,
48
48
  .paywall *::after {box-sizing:border-box;margin:0;padding:0;font-family:sans-serif;}.paywall {line-height:1.5;-webkit-font-smoothing:antialiased;}.paywall img,
@@ -65,10 +65,10 @@ Minimum version required to store current data is: `+C+`.
65
65
  .paywall h5,
66
66
  .paywall h6 {text-wrap:balance;}.paywall .rc-gradient-border {position:relative;}.paywall .rc-gradient-border::after {content:"";display:var(--rc-border-display, none);position:absolute;inset:calc(-1 * var(--rc-border-width, 0px));border-radius:inherit;padding:var(--rc-border-width, 0px);background:var(--rc-border-bg, transparent);mask:linear-gradient(#fff 0 0) content-box,
67
67
  linear-gradient(#fff 0 0);-webkit-mask:linear-gradient(#fff 0 0) content-box,
68
- linear-gradient(#fff 0 0);mask-composite:exclude;-webkit-mask-composite:xor;pointer-events:none;}`};function fp(r,e){fe(e,!0),ke(r,Ay);const t=()=>pe(x,"$selectedPackageId",n),[n,a]=Ye(),i=Q(e,"variablesPerPackage",19,()=>({})),s=Q(e,"globalVariables",19,()=>({})),l=Q(e,"infoPerPackage",19,()=>({})),c=Q(e,"hideBackButtons",3,!1),u=Q(e,"initialInputSelections",19,()=>({})),d=Q(e,"customVariables",19,()=>({})),p=Ym(()=>e.preferredColorMode),_=m(()=>rh(e.paywallData,p())),g=Symbol();mr(()=>ky(g,o(_),{paywallData:e.paywallData,colorMode:p(),hostFallbackColor:e.safeAreaFallbackColor}));const{default_locale:f,components_config:v,components_localizations:y}=e.paywallData,{base:h}=v,w=Mm(h),k=m(()=>{const G=o(_);return G.kind==="style"&&G.style.background&&!G.style.background.includes("gradient")?ir(G.style):""}),{getLocalizedString:b}=Am(()=>({defaultLocale:f,selectedLocale:e.selectedLocale,localizations:y})),x=Or(w),I=G=>{if(G!==void 0)return G.trim().length>0?G:void 0},S=G=>{var V;(V=e.onComponentInteraction)==null||V.call(e,{...G,componentName:I(G.componentName)})},q=G=>{var O;const V=t();V!==void 0&&((O=e.onPurchaseClicked)==null||O.call(e,V,G??""))};let E=re(void 0);const D=(G,V)=>{var O,U,te,ue,Se,Pe,Te,Ne,ze;switch(G.type){case"workflow":V&&((O=e.onActionTriggered)==null||O.call(e,V));return;case"complete_workflow":{const Ie=b(G.url.url_lid);if(!Ie)return;(U=e.onCompleteWorkflowNavigate)==null||U.call(e,{url:Ie,method:G.url.method,url_query_params:G.url_query_params});return}case"navigate_back":(te=e.onBackClicked)==null||te.call(e);return;case"navigate_to_page":(ue=e.onNavigateToPage)==null||ue.call(e,G.page_id);return;case"close_workflow":(Se=e.onClose)==null||Se.call(e);return;case"restore_purchases":(Pe=e.onRestorePurchasesClicked)==null||Pe.call(e);return}switch(G.destination){case"customer_center":(Te=e.onVisitCustomerCenterClicked)==null||Te.call(e);return;case"screen_redirect":(Ne=e.onActionTriggered)==null||Ne.call(e,"screen_redirect");return;case"privacy_policy":case"terms":case"url":const Ie=b(G.url.url_lid);Ie&&((ze=e.onNavigateToUrlClicked)==null||ze.call(e,Ie));return;case"sheet":if(G.sheet)j(E,{props:G.sheet,rootSelectedPackageId:t()},!0);else{if(o(E)){const Ee=o(E).rootSelectedPackageId;S({componentType:"package_selection_sheet",componentName:o(E).props.name,componentValue:"close",currentPackageId:t(),resultingPackageId:Ee}),x.set(Ee)}j(E,void 0)}return;case"offer_code":case"web_paywall_link":return}},C=ip(d(),e.uiConfig);od({defaultPackageId:w,selectedPackageId:x,variablesPerPackage:xt(i()),baseVariables:xt({...s(),...C}),infoPerPackage:xt(l()),onPurchase:q,emitComponentInteraction:S,onNavigateToUrl:e.onNavigateToUrlClicked,onButtonAction:D,onInputChanged:e.onInputChanged,onReservedAttributeChanged:e.onReservedAttributeChanged,walletButtonRender:e.walletButtonRender,uiConfig:e.uiConfig,hideBackButtons:c()});const B=Cm();Tm(B),Dm(u());const F=zt(x,G=>{const V=i()[G||""];return{...s(),...C,...V}});el(F);const z=zt(x,G=>l()[G||""]);cd(z),Tr(()=>{th(e.uiConfig)});const L=m(()=>o(E)?"paywall blur":"paywall"),{stack:A,sticky_footer:M,header:N}=h,H=A.components[0],X=(H==null?void 0:H.type)==="image"&&H.size.width.type==="fill",R=!!N&&X;let $=re(0);var ce=xe(),de=ae(ce);Rc(de,{get onerror(){return e.onError}},G=>{var V=Dy(),O=ae(V),U=T(O);Cy(U,{get model(){return o(_)}});var te=Y(U,2);{var ue=Ee=>{var Be=Ty(),Ve=T(Be);ap(Ve,dr(()=>N)),Z(()=>De(Be,`z-index: ${sd};`)),hi(Be,"clientHeight",ne=>j($,ne)),P(Ee,Be)};K(te,Ee=>{N&&Ee(ue)})}var Se=Y(te,2),Pe=T(Se);{let Ee=m(()=>({height:"auto",...R?{"margin-top":`-${o($)}px`}:{}}));Fr(Pe,dr(()=>A,{class:"paywall-content-scroll",get style(){return o(Ee)}}))}var Te=Y(Pe,2);{var Ne=Ee=>{np(Ee,dr(()=>M))};K(Te,Ee=>{M&&Ee(Ne)})}var ze=Y(O,2);{var Ie=Ee=>{xy(Ee,dr(()=>o(E).props))};K(ze,Ee=>{o(E)&&Ee(Ie)})}Z(Ee=>{ur(O,1,ia(o(L)),"svelte-tzrehm"),De(O,o(k)),De(Se,Ee)},[()=>[e.maxContentWidth?`max-width: ${e.maxContentWidth}; margin-inline: auto;`:""].filter(Boolean).join(" ")]),P(G,V)}),P(r,ce),me(),a()}function qy(r,e){fe(e,!0);const t=()=>pe(p,"$infoPerPackage",a),n=()=>pe(d,"$selectedPackageId",a),[a,i]=Ye(),s=Er(e,["$$slots","$$events","$$legacy"]),{stack:l}=s,{emitComponentInteraction:c,onPurchase:u,selectedPackageId:d,infoPerPackage:p}=Yr(),{getLocalizedString:_}=ki(),g=(y,h,w)=>{const k=y.indexOf("#"),b=k===-1?"":y.slice(k),x=k===-1?y:y.slice(0,k),I=x.includes("?")?"&":"?";return`${x}${I}${encodeURIComponent(h)}=${encodeURIComponent(w)}${b}`},f=y=>{var b,x,I,S,q;let h;const w=((b=e.method)==null?void 0:b.type)==="unknown"||(x=e.method)==null?void 0:x.type,k=(S=(I=t())==null?void 0:I[y])==null?void 0:S.webCheckoutURL;if(((q=e.method)==null?void 0:q.type)==="custom_web_checkout"){const E=_(e.method.custom_url.url_lid);if(E){const D=e.method.custom_url.package_param;h=D?g(E,D,y):E}}if(h===void 0){const E=w??e.action;(E==="web_checkout"||E==="web_product_selection"||E==="custom_web_checkout")&&(h=k)}return{componentType:"purchase_button",componentName:e.name,componentValue:w??e.action??"web_checkout",...h?{componentURL:h}:{},currentPackageId:y}};Fr(r,dr(()=>l,{onclick:()=>{var h;const y=n();y!==void 0&&c(f(y)),u((h=e.triggers)==null?void 0:h.on_purchase_press)}})),me(),i()}function My(r){return{display:"grid","grid-template-columns":"auto 1fr","column-gap":`${r.column_gutter}px`,"align-items":"stretch",position:"relative",flex:"0 1 auto",width:Sr(r.size.width),height:Sr(r.size.height),padding:Pr(r.padding),margin:Pr(r.margin)}}function Fy(r,e){return{display:"flex","flex-direction":"column","justify-content":"flex-start","align-items":"flex-start",gap:`${e.text_spacing}px`,height:"fit-content","margin-bottom":`${e.item_spacing}px`}}var zy=W("<div><div></div></div>"),jy=W("<div><!> <div><!></div></div> <div><!> <!></div>",1);function Ny(r,e){fe(e,!0);const t=()=>pe(s,"$selectedState",n),[n,a]=Ye(),i=Er(e,["$$slots","$$events","$$legacy"]),s=Et(),l=m(()=>({...i,...St(t(),e.overrides)})),c=m(()=>o(l).icon),u=m(()=>o(l).title),d=m(()=>o(l).description),p=m(()=>o(l).connector),_=m(()=>o(l).text_spacing),g=m(()=>o(l).item_spacing),f=st(),v=m(f),y=ir({position:"relative"}),h=ir({position:"relative","z-index":"2"}),w=m(()=>ir(Fy(o(v),{text_spacing:o(_),item_spacing:o(g)}))),k=m(()=>{var L;return o(p)?ir({position:"absolute",left:"50%",top:`${(((L=o(c))==null?void 0:L.size.width.value)??24)/2}px`,transform:"translateX(-50%)","z-index":"1",width:`${o(p).width}px`,height:"100%","padding-top":`${o(p).margin.top}px`,"padding-bottom":`${o(p).margin.bottom}px`}):""}),b=m(()=>{if(!o(p))return"";const L=lt(o(v),o(p).color);return ir({width:"100%",height:"100%",background:L})});var x=jy(),I=ae(x),S=T(I);{var q=L=>{var A=zy(),M=T(A);Z(()=>{De(A,o(k)),De(M,o(b))}),P(L,A)};K(S,L=>{o(p)&&L(q)})}var E=Y(S,2),D=T(E);$d(D,dr(()=>o(c)));var C=Y(I,2),B=T(C);Cl(B,dr(()=>o(u)));var F=Y(B,2);{var z=L=>{Cl(L,dr(()=>o(d)))};K(F,L=>{o(d)&&L(z)})}Z(()=>{De(I,y),De(E,h),De(C,o(w))}),P(r,x),me(),a()}var Oy=W("<div></div>");function Ly(r,e){fe(e,!0);const t=()=>pe(u,"$selectedState",s),n=()=>pe(p,"$selectedPackageId",s),a=()=>pe(d,"$packageInfo",s),i=()=>pe(_,"$variables",s),[s,l]=Ye(),c=Er(e,["$$slots","$$events","$$legacy"]),u=Et(),d=Mn(),{selectedPackageId:p}=Yr(),_=Fn(),g=m(()=>({...c,...St(t(),e.overrides)})),f=m(()=>o(g).items),v=m(()=>o(g).text_spacing),y=m(()=>o(g).item_spacing),h=m(()=>o(g).column_gutter),w=m(()=>o(g).icon_alignment),k=m(()=>o(g).size),b=m(()=>o(g).padding),x=m(()=>o(g).margin),I=m(()=>Xg(o(g),["items","text_spacing","item_spacing","column_gutter","icon_alignment","size","padding","margin"])),S=m(()=>qn({selectedPackageId:n(),packageInfo:a(),variables:i()??{}},e.overrides,e.visible)),q=m(()=>ir(My({items:o(f),text_spacing:o(v),item_spacing:o(y),column_gutter:o(h),icon_alignment:o(w),size:o(k),padding:o(b),margin:o(x),...o(I)})));var E=xe(),D=ae(E);{var C=B=>{var F=Oy();Ht(F,21,()=>o(f),z=>z.id,(z,L)=>{Ny(z,dr(()=>o(L),{get text_spacing(){return o(v)},get item_spacing(){return o(y)}}))}),Z(()=>De(F,o(q))),P(B,F)};K(D,B=>{o(S)&&o(f).length&&B(C)})}P(r,E),me(),l()}var By=W("<div><p>No paywall data provided</p></div>"),Ry=W('<div class="paywall-container"><!></div>');function Uy(r,e){fe(e,!0);const t=Q(e,"selectedLocale",3,"en_US"),n=Q(e,"globalVariables",19,()=>({})),a=Q(e,"containerId",3,"screen-container"),i=Q(e,"initialInputSelections",19,()=>({}));var s=Ry(),l=T(s);{var c=d=>{fp(d,{get paywallData(){return e.paywallComponents},get selectedLocale(){return t()},get uiConfig(){return e.uiConfig},get variablesPerPackage(){return e.variablesPerPackage},get infoPerPackage(){return e.infoPerPackage},get globalVariables(){return n()},get maxContentWidth(){return e.maxContentWidth},get initialInputSelections(){return i()},onNavigateToUrlClicked:p=>{e.onNavigateToUrlClicked?e.onNavigateToUrlClicked(p):window.open(p,"_blank")},get onCompleteWorkflowNavigate(){return e.onCompleteWorkflowNavigate},onVisitCustomerCenterClicked:()=>{var p;return(p=e.onVisitCustomerCenterClicked)==null?void 0:p.call(e)},get onBackClicked(){return e.onBackClicked},get onNavigateToPage(){return e.onNavigateToPage},get onClose(){return e.onClose},onRestorePurchasesClicked:()=>{var p;return(p=e.onRestorePurchasesClicked)==null?void 0:p.call(e)},onActionTriggered:p=>{var _;(_=e.onActionTriggered)==null||_.call(e,p)},get onComponentInteraction(){return e.onComponentInteraction},get onPurchaseClicked(){return e.onPurchaseClicked},get onInputChanged(){return e.onInputChanged},get onReservedAttributeChanged(){return e.onReservedAttributeChanged},get walletButtonRender(){return e.walletButtonRender},get safeAreaFallbackColor(){return e.safeAreaFallbackColor},onError:p=>{console.error("Paywall error:",p)}})},u=d=>{var p=By();P(d,p)};K(l,d=>{e.paywallComponents?d(c):d(u,!1)})}Z(()=>be(s,"id",a())),P(r,s),me()}function Vy(r,e){fe(e,!0);let t=re(nr([])),n=re(void 0);const a=m(()=>o(t)[o(t).length-1]??e.workflow.initial_page_id),i=m(()=>e.workflow.pages[o(a)]);tu(()=>{o(n)!==e.workflow.initial_page_id&&(j(n,e.workflow.initial_page_id,!0),j(t,[e.workflow.initial_page_id],!0))});function s(d){if(!e.workflow.pages[d]){console.warn(`[Workflow] navigate_to_page: unknown page_id "${d}"`);return}j(t,[...o(t),d],!0)}function l(){var d;o(t).length>1?j(t,o(t).slice(0,-1),!0):(d=e.onExitBack)==null||d.call(e)}var c=xe(),u=ae(c);Pu(u,()=>o(a),d=>{Uy(d,{get paywallComponents(){return o(i)},get uiConfig(){return e.uiConfig},get selectedLocale(){return e.selectedLocale},get globalVariables(){return e.globalVariables},get variablesPerPackage(){return e.variablesPerPackage},get maxContentWidth(){return e.maxContentWidth},get initialInputSelections(){return e.initialInputSelections},get containerId(){return e.containerId},get walletButtonRender(){return e.walletButtonRender},get safeAreaFallbackColor(){return e.safeAreaFallbackColor},get onPurchaseClicked(){return e.onPurchaseClicked},get onActionTriggered(){return e.onActionTriggered},get onInputChanged(){return e.onInputChanged},get onReservedAttributeChanged(){return e.onReservedAttributeChanged},get onCompleteWorkflowNavigate(){return e.onCompleteWorkflowNavigate},get onNavigateToUrlClicked(){return e.onNavigateToUrlClicked},get onRestorePurchasesClicked(){return e.onRestorePurchasesClicked},get onVisitCustomerCenterClicked(){return e.onVisitCustomerCenterClicked},get onComponentInteraction(){return e.onComponentInteraction},onNavigateToPage:s,onBackClicked:l,get onClose(){return e.onClose}})}),P(r,c),me()}var Wy=W('<img alt="" class="svelte-1ntn15e"/>'),Hy=W('<video playsinline="" class="svelte-1ntn15e"><track kind="captions"/></video>',2),Yy=Cr('<use fill="transparent"></use>'),Gy=Cr('<rect x="0" y="0" height="100%" width="100%"></rect>'),Ky=Cr('<use fill="none"></use>'),Xy=W('<div class="video-outer svelte-1ntn15e"><div class="video-media svelte-1ntn15e"><div class="video-clip"><!></div> <svg class="video-deco svelte-1ntn15e" width="100%" height="100%"><defs><clipPath><!></clipPath><g><!></g><!><!></defs><!><g><!><!></g></svg></div></div>');const Zy={hash:"svelte-1ntn15e",code:`.video-outer.svelte-1ntn15e {position:relative;}.video-media.svelte-1ntn15e {position:relative;width:100%;height:100%;min-height:0;}.video-deco.svelte-1ntn15e {position:absolute;inset:0;width:100%;height:100%;pointer-events:none;}video.svelte-1ntn15e,
68
+ linear-gradient(#fff 0 0);mask-composite:exclude;-webkit-mask-composite:xor;pointer-events:none;}`};function vp(r,e){fe(e,!0),we(r,My);const t=()=>pe(x,"$selectedPackageId",n),[n,a]=He(),i=J(e,"variablesPerPackage",19,()=>({})),s=J(e,"globalVariables",19,()=>({})),l=J(e,"infoPerPackage",19,()=>({})),c=J(e,"hideBackButtons",3,!1),u=J(e,"initialInputSelections",19,()=>({})),d=J(e,"customVariables",19,()=>({})),p=Xm(()=>e.preferredColorMode),g=m(()=>ah(e.paywallData,p())),_=Symbol();gr(()=>xy(_,o(g),{paywallData:e.paywallData,colorMode:p(),hostFallbackColor:e.safeAreaFallbackColor}));const{default_locale:f,components_config:v,components_localizations:y}=e.paywallData,{base:h}=v,k=jm(h),w=m(()=>{const te=o(g);return te.kind==="style"&&te.style.background&&!te.style.background.includes("gradient")?ir(te.style):""}),{getLocalizedString:b}=Mm(()=>({defaultLocale:f,selectedLocale:e.selectedLocale,localizations:y})),x=jr(k),S=te=>{if(te!==void 0)return te.trim().length>0?te:void 0},I=te=>{var X;(X=e.onComponentInteraction)==null||X.call(e,{...te,componentName:S(te.componentName)})},z=te=>{var D;const X=t();X!==void 0&&((D=e.onPurchaseClicked)==null||D.call(e,X,te??""))};let E=re(void 0);const M=(te,X)=>{var D,U,ee,ie,Pe,ke,Te,Ne,Oe;switch(te.type){case"workflow":X&&((D=e.onActionTriggered)==null||D.call(e,X));return;case"complete_workflow":{const Ie=b(te.url.url_lid);if(!Ie)return;(U=e.onCompleteWorkflowNavigate)==null||U.call(e,{url:Ie,method:te.url.method,url_query_params:te.url_query_params});return}case"navigate_back":(ee=e.onBackClicked)==null||ee.call(e);return;case"navigate_to_page":(ie=e.onNavigateToPage)==null||ie.call(e,te.page_id);return;case"close_workflow":(Pe=e.onClose)==null||Pe.call(e);return;case"restore_purchases":(ke=e.onRestorePurchasesClicked)==null||ke.call(e);return}switch(te.destination){case"customer_center":(Te=e.onVisitCustomerCenterClicked)==null||Te.call(e);return;case"screen_redirect":(Ne=e.onActionTriggered)==null||Ne.call(e,"screen_redirect");return;case"privacy_policy":case"terms":case"url":const Ie=b(te.url.url_lid);Ie&&((Oe=e.onNavigateToUrlClicked)==null||Oe.call(e,Ie));return;case"sheet":if(te.sheet)j(E,{props:te.sheet,rootSelectedPackageId:t()},!0);else{if(o(E)){const Ee=o(E).rootSelectedPackageId;I({componentType:"package_selection_sheet",componentName:o(E).props.name,componentValue:"close",currentPackageId:t(),resultingPackageId:Ee}),x.set(Ee)}j(E,void 0)}return;case"offer_code":case"web_paywall_link":return}},C=cp(d(),e.uiConfig);ld({defaultPackageId:k,selectedPackageId:x,variablesPerPackage:Pt(i()),baseVariables:Pt({...s(),...C}),infoPerPackage:Pt(l()),onPurchase:z,emitComponentInteraction:I,onNavigateToUrl:e.onNavigateToUrlClicked,onButtonAction:M,onInputChanged:e.onInputChanged,onReservedAttributeChanged:e.onReservedAttributeChanged,walletButtonRender:e.walletButtonRender,uiConfig:e.uiConfig,hideBackButtons:c()});const B=Am();qm(B),Fm(u());const O=Mt(x,te=>{const X=i()[te||""];return{...s(),...C,...X}});el(O);const q=Mt(x,te=>l()[te||""]);pd(q),Cr(()=>{oh(e.uiConfig)});const L=m(()=>o(E)?"paywall blur":"paywall"),{stack:F,sticky_footer:A,header:N}=h,W=F.components[0],G=(W==null?void 0:W.type)==="image"&&W.size.width.type==="fill",R=!!N&&G;let $=re(0);var ue=Se(),de=oe(ue);Rc(de,{get onerror(){return e.onError}},te=>{var X=Fy(),D=oe(X),U=T(D);Ay(U,{get model(){return o(g)}});var ee=H(U,2);{var ie=Ee=>{var Be=qy(),Ye=T(Be);sp(Ye,dr(()=>N)),K(()=>De(Be,`z-index: ${ud};`)),hi(Be,"clientHeight",ne=>j($,ne)),P(Ee,Be)};Y(ee,Ee=>{N&&Ee(ie)})}var Pe=H(ee,2),ke=T(Pe);{let Ee=m(()=>({height:"auto",...R?{"margin-top":`-${o($)}px`}:{}}));Fr(ke,dr(()=>F,{class:"paywall-content-scroll",get style(){return o(Ee)}}))}var Te=H(ke,2);{var Ne=Ee=>{ip(Ee,dr(()=>A))};Y(Te,Ee=>{A&&Ee(Ne)})}var Oe=H(D,2);{var Ie=Ee=>{Iy(Ee,dr(()=>o(E).props))};Y(Oe,Ee=>{o(E)&&Ee(Ie)})}K(Ee=>{ur(D,1,sa(o(L)),"svelte-tzrehm"),De(D,o(w)),De(Pe,Ee)},[()=>[e.maxContentWidth?`max-width: ${e.maxContentWidth}; margin-inline: auto;`:""].filter(Boolean).join(" ")]),P(te,X)}),P(r,ue),me(),a()}function zy(r,e){fe(e,!0);const t=()=>pe(p,"$infoPerPackage",a),n=()=>pe(d,"$selectedPackageId",a),[a,i]=He(),s=xr(e,["$$slots","$$events","$$legacy"]),{stack:l}=s,{emitComponentInteraction:c,onPurchase:u,selectedPackageId:d,infoPerPackage:p}=Hr(),{getLocalizedString:g}=ki(),_=(y,h,k)=>{const w=y.indexOf("#"),b=w===-1?"":y.slice(w),x=w===-1?y:y.slice(0,w),S=x.includes("?")?"&":"?";return`${x}${S}${encodeURIComponent(h)}=${encodeURIComponent(k)}${b}`},f=y=>{var b,x,S,I,z;let h;const k=((b=e.method)==null?void 0:b.type)==="unknown"||(x=e.method)==null?void 0:x.type,w=(I=(S=t())==null?void 0:S[y])==null?void 0:I.webCheckoutURL;if(((z=e.method)==null?void 0:z.type)==="custom_web_checkout"){const E=g(e.method.custom_url.url_lid);if(E){const M=e.method.custom_url.package_param;h=M?_(E,M,y):E}}if(h===void 0){const E=k??e.action;(E==="web_checkout"||E==="web_product_selection"||E==="custom_web_checkout")&&(h=w)}return{componentType:"purchase_button",componentName:e.name,componentValue:k??e.action??"web_checkout",...h?{componentURL:h}:{},currentPackageId:y}};Fr(r,dr(()=>l,{onclick:()=>{var h;const y=n();y!==void 0&&c(f(y)),u((h=e.triggers)==null?void 0:h.on_purchase_press)}})),me(),i()}function jy(r){return{display:"grid","grid-template-columns":"auto 1fr","column-gap":`${r.column_gutter}px`,"align-items":"stretch",position:"relative",flex:"0 1 auto",width:Er(r.size.width),height:Er(r.size.height),padding:wr(r.padding),margin:wr(r.margin)}}function Ny(r,e){return{display:"flex","flex-direction":"column","justify-content":"flex-start","align-items":"flex-start",gap:`${e.text_spacing}px`,height:"fit-content","margin-bottom":`${e.item_spacing}px`}}var Oy=V("<div><div></div></div>"),Ly=V("<div><!> <div><!></div></div> <div><!> <!></div>",1);function By(r,e){fe(e,!0);const t=()=>pe(s,"$selectedState",n),[n,a]=He(),i=xr(e,["$$slots","$$events","$$legacy"]),s=xt(),l=m(()=>({...i,...Et(t(),e.overrides)})),c=m(()=>o(l).icon),u=m(()=>o(l).title),d=m(()=>o(l).description),p=m(()=>o(l).connector),g=m(()=>o(l).text_spacing),_=m(()=>o(l).item_spacing),f=it(),v=m(f),y=ir({position:"relative"}),h=ir({position:"relative","z-index":"2"}),k=m(()=>ir(Ny(o(v),{text_spacing:o(g),item_spacing:o(_)}))),w=m(()=>{var L;return o(p)?ir({position:"absolute",left:"50%",top:`${(((L=o(c))==null?void 0:L.size.width.value)??24)/2}px`,transform:"translateX(-50%)","z-index":"1",width:`${o(p).width}px`,height:"100%","padding-top":`${o(p).margin.top}px`,"padding-bottom":`${o(p).margin.bottom}px`}):""}),b=m(()=>{if(!o(p))return"";const L=st(o(v),o(p).color);return ir({width:"100%",height:"100%",background:L})});var x=Ly(),S=oe(x),I=T(S);{var z=L=>{var F=Oy(),A=T(F);K(()=>{De(F,o(w)),De(A,o(b))}),P(L,F)};Y(I,L=>{o(p)&&L(z)})}var E=H(I,2),M=T(E);tp(M,dr(()=>o(c)));var C=H(S,2),B=T(C);Cl(B,dr(()=>o(u)));var O=H(B,2);{var q=L=>{Cl(L,dr(()=>o(d)))};Y(O,L=>{o(d)&&L(q)})}K(()=>{De(S,y),De(E,h),De(C,o(k))}),P(r,x),me(),a()}var Uy=V("<div></div>");function Ry(r,e){fe(e,!0);const t=()=>pe(u,"$selectedState",s),n=()=>pe(p,"$selectedPackageId",s),a=()=>pe(d,"$packageInfo",s),i=()=>pe(g,"$variables",s),[s,l]=He(),c=xr(e,["$$slots","$$events","$$legacy"]),u=xt(),d=Mn(),{selectedPackageId:p}=Hr(),g=zn(),_=m(()=>({...c,...Et(t(),e.overrides)})),f=m(()=>o(_).items),v=m(()=>o(_).text_spacing),y=m(()=>o(_).item_spacing),h=m(()=>o(_).column_gutter),k=m(()=>o(_).icon_alignment),w=m(()=>o(_).size),b=m(()=>o(_).padding),x=m(()=>o(_).margin),S=m(()=>$g(o(_),["items","text_spacing","item_spacing","column_gutter","icon_alignment","size","padding","margin"])),I=m(()=>Fn({selectedPackageId:n(),packageInfo:a(),variables:i()??{}},e.overrides,e.visible)),z=m(()=>ir(jy({items:o(f),text_spacing:o(v),item_spacing:o(y),column_gutter:o(h),icon_alignment:o(k),size:o(w),padding:o(b),margin:o(x),...o(S)})));var E=Se(),M=oe(E);{var C=B=>{var O=Uy();Ht(O,21,()=>o(f),q=>q.id,(q,L)=>{By(q,dr(()=>o(L),{get text_spacing(){return o(v)},get item_spacing(){return o(y)}}))}),K(()=>De(O,o(z))),P(B,O)};Y(M,B=>{o(I)&&o(f).length&&B(C)})}P(r,E),me(),l()}var Vy=V("<div><p>No paywall data provided</p></div>"),Wy=V('<div class="paywall-container"><!></div>');function Hy(r,e){fe(e,!0);const t=J(e,"selectedLocale",3,"en_US"),n=J(e,"globalVariables",19,()=>({})),a=J(e,"containerId",3,"screen-container"),i=J(e,"initialInputSelections",19,()=>({}));var s=Wy(),l=T(s);{var c=d=>{vp(d,{get paywallData(){return e.paywallComponents},get selectedLocale(){return t()},get uiConfig(){return e.uiConfig},get variablesPerPackage(){return e.variablesPerPackage},get infoPerPackage(){return e.infoPerPackage},get globalVariables(){return n()},get maxContentWidth(){return e.maxContentWidth},get initialInputSelections(){return i()},onNavigateToUrlClicked:p=>{e.onNavigateToUrlClicked?e.onNavigateToUrlClicked(p):window.open(p,"_blank")},get onCompleteWorkflowNavigate(){return e.onCompleteWorkflowNavigate},onVisitCustomerCenterClicked:()=>{var p;return(p=e.onVisitCustomerCenterClicked)==null?void 0:p.call(e)},get onBackClicked(){return e.onBackClicked},get onNavigateToPage(){return e.onNavigateToPage},get onClose(){return e.onClose},onRestorePurchasesClicked:()=>{var p;return(p=e.onRestorePurchasesClicked)==null?void 0:p.call(e)},onActionTriggered:p=>{var g;(g=e.onActionTriggered)==null||g.call(e,p)},get onComponentInteraction(){return e.onComponentInteraction},get onPurchaseClicked(){return e.onPurchaseClicked},get onInputChanged(){return e.onInputChanged},get onReservedAttributeChanged(){return e.onReservedAttributeChanged},get walletButtonRender(){return e.walletButtonRender},get safeAreaFallbackColor(){return e.safeAreaFallbackColor},onError:p=>{console.error("Paywall error:",p)}})},u=d=>{var p=Vy();P(d,p)};Y(l,d=>{e.paywallComponents?d(c):d(u,!1)})}K(()=>be(s,"id",a())),P(r,s),me()}function Yy(r,e){fe(e,!0);let t=re(or([])),n=re(void 0);const a=m(()=>o(t)[o(t).length-1]??e.workflow.initial_page_id),i=m(()=>e.workflow.pages[o(a)]);nu(()=>{o(n)!==e.workflow.initial_page_id&&(j(n,e.workflow.initial_page_id,!0),j(t,[e.workflow.initial_page_id],!0))});function s(d){if(!e.workflow.pages[d]){console.warn(`[Workflow] navigate_to_page: unknown page_id "${d}"`);return}j(t,[...o(t),d],!0)}function l(){var d;o(t).length>1?j(t,o(t).slice(0,-1),!0):(d=e.onExitBack)==null||d.call(e)}var c=Se(),u=oe(c);xu(u,()=>o(a),d=>{Hy(d,{get paywallComponents(){return o(i)},get uiConfig(){return e.uiConfig},get selectedLocale(){return e.selectedLocale},get globalVariables(){return e.globalVariables},get variablesPerPackage(){return e.variablesPerPackage},get maxContentWidth(){return e.maxContentWidth},get initialInputSelections(){return e.initialInputSelections},get containerId(){return e.containerId},get walletButtonRender(){return e.walletButtonRender},get safeAreaFallbackColor(){return e.safeAreaFallbackColor},get onPurchaseClicked(){return e.onPurchaseClicked},get onActionTriggered(){return e.onActionTriggered},get onInputChanged(){return e.onInputChanged},get onReservedAttributeChanged(){return e.onReservedAttributeChanged},get onCompleteWorkflowNavigate(){return e.onCompleteWorkflowNavigate},get onNavigateToUrlClicked(){return e.onNavigateToUrlClicked},get onRestorePurchasesClicked(){return e.onRestorePurchasesClicked},get onVisitCustomerCenterClicked(){return e.onVisitCustomerCenterClicked},get onComponentInteraction(){return e.onComponentInteraction},onNavigateToPage:s,onBackClicked:l,get onClose(){return e.onClose}})}),P(r,c),me()}var Gy=V('<img alt="" class="svelte-1ntn15e"/>'),Ky=V('<video playsinline="" class="svelte-1ntn15e"><track kind="captions"/></video>',2),Xy=Ir('<use fill="transparent"></use>'),Zy=Ir('<rect x="0" y="0" height="100%" width="100%"></rect>'),Jy=Ir('<use fill="none"></use>'),Qy=V('<div class="video-outer svelte-1ntn15e"><div class="video-media svelte-1ntn15e"><div class="video-clip"><!></div> <svg class="video-deco svelte-1ntn15e" width="100%" height="100%"><defs><clipPath><!></clipPath><g><!></g><!><!></defs><!><g><!><!></g></svg></div></div>');const $y={hash:"svelte-1ntn15e",code:`.video-outer.svelte-1ntn15e {position:relative;}.video-media.svelte-1ntn15e {position:relative;width:100%;height:100%;min-height:0;}.video-deco.svelte-1ntn15e {position:absolute;inset:0;width:100%;height:100%;pointer-events:none;}video.svelte-1ntn15e,
69
69
  img.svelte-1ntn15e {width:100%;height:100%;object-fit:contain;object-position:center;}
70
70
 
71
- /* Own compositing layer — mitigates WebKit freezing video frames under animated/transform ancestors */video.svelte-1ntn15e {transform:translateZ(0);-webkit-transform:translateZ(0);}`};function Jy(r,e){fe(e,!0),ke(r,Zy);const t=()=>pe(u,"$selectedState",s),n=()=>pe(p,"$selectedPackageId",s),a=()=>pe(d,"$packageInfo",s),i=()=>pe(_,"$variables",s),[s,l]=Ye(),c=Er(e,["$$slots","$$events","$$legacy"]),u=Et(),d=Mn(),{selectedPackageId:p}=Yr(),_=Fn(),g=m(()=>({...c,...St(t(),e.overrides)})),f=m(()=>o(g).id),v=m(()=>o(g).source),y=m(()=>o(g).fallback_source),h=m(()=>o(g).size),w=m(()=>o(g).mask_shape),k=m(()=>o(g).fit_mode),b=m(()=>o(g).padding),x=m(()=>o(g).margin),I=m(()=>o(g).color_overlay),S=m(()=>o(g).border),q=m(()=>o(g).shadow),E=m(()=>o(g).auto_play),D=m(()=>o(g).loop),C=m(()=>o(g).mute_audio),B=m(()=>o(g).show_controls),F=st(),z=m(F),L=m(()=>o(v)?et(o(z),o(v)):null),A=m(()=>o(y)?et(o(z),o(y)):null);let M=re(0),N=re(nr({height:0,width:0})),H=re(null),X=re(!1),R=re(!1),$=re(null);mr(()=>{if(o(L)){if(o(L).width&&o(L).height){j(N,{height:o(L).height,width:o(L).width},!0);return}if(o(H)){const ne=()=>{var le,Ce;j(N,{height:((le=o(H))==null?void 0:le.videoHeight)??0,width:((Ce=o(H))==null?void 0:Ce.videoWidth)??0},!0)},ge=()=>{j(X,!0)};return o(H).addEventListener("loadedmetadata",ne),o(H).addEventListener("error",ge),()=>{var le,Ce;(le=o(H))==null||le.removeEventListener("loadedmetadata",ne),(Ce=o(H))==null||Ce.removeEventListener("error",ge)}}}else if(o(A)){if(o(A).width&&o(A).height){j(N,{height:o(A).height,width:o(A).width},!0);return}const ne=new window.Image;ne.src=o(A).original;const ge=()=>{j(N,{height:ne.height,width:ne.width},!0)};return ne.addEventListener("load",ge),()=>{ne.removeEventListener("load",ge)}}});const ce=m(()=>{if(o(h).height.type==="fixed")return o(h).height.value;const ne=o(N).width,ge=o(N).height;return!Number.isFinite(ne)||!Number.isFinite(ge)||ne<=0||ge<=0?o(M)>0?Math.round(o(M)*(9/16)):200:Math.round(o(M)*(ge/ne))}),de=m(()=>ir({width:Sr(o(h).width),height:`${o(ce)}px`,margin:Pr(o(x)),padding:Pr(o(b)),"line-height":0,"flex-shrink":o(h).width.type==="fixed"?0:1}));let G=re(null);const V=m(()=>{var ne,ge;return[((ne=o(G))==null?void 0:ne.width)??0,((ge=o(G))==null?void 0:ge.height)??0]}),O=m(()=>ai(o(V),2)),U=m(()=>o(O)[0]),te=m(()=>o(O)[1]),ue=m(()=>`0 0 ${o(U)} ${o(te)}`),Se=m(()=>{var er;if(!((er=o(q))!=null&&er.color))return"";const{x:ne,y:ge,radius:le,color:Ce}=o(q),Ke=lt(o(z),Ce);return`filter:drop-shadow(${ne}px ${ge}px ${le}px ${Ke})`}),Pe=m(()=>o(Se)?`${o(de)};${o(Se)}`:o(de)),Te=m(()=>{var ne,ge;return ir({width:"100%",height:"100%",overflow:"hidden","border-radius":Nn(o(w)),"clip-path":((ne=o(w))==null?void 0:ne.type)==="concave"||((ge=o(w))==null?void 0:ge.type)==="convex"?`url(#${o(f)}-path)`:"none"})}),Ne=m(()=>o(I)&&et(o(z),o(I))),ze=m(()=>o(X)||!o(L));mr(()=>{if(!o(E)){Ue(()=>{j(R,!1)});return}if(o(ze)||!o(L)){Ue(()=>{j(R,!1)});return}const ne=o(H);if(!ne)return;const ge=o(L).url,le=o($)!==ge;le&&(j($,ge,!0),Ue(()=>{j(R,!1)}));let Ce=!1;const Ke=()=>{Ii(ne,{preferMuted:o(C),mutedPlaybackOverride:o(R)})};let er=null;const hr=()=>{er!==null&&(ne.removeEventListener("playing",er),er=null)},Re=()=>{if(Ce||!ne.paused||(Ke(),ne.readyState<HTMLMediaElement.HAVE_CURRENT_DATA))return;const yr=ne.play();yr!==void 0&&yr.catch(()=>{if(!(Ce||!ne.isConnected)&&!o(C)&&!o(R)){Ue(()=>{j(R,!0)}),Ii(ne,{preferMuted:o(C),mutedPlaybackOverride:!0});let _r=!1;const zr=()=>{_r||o(C)||Ce||!ne.isConnected||(_r=!0,queueMicrotask(()=>{if(Ce)return;Ue(()=>{j(R,!1)}),Ke(),ne.volume=1;const ro=ne.play();ro!==void 0&&ro.catch(()=>{Ce||!ne.isConnected||(Ue(()=>{j(R,!0)}),Ke())})}))},yt=()=>{Ce||!ne.isConnected||(er=null,zr())},Kn=ne.play();Kn!==void 0?Kn.then(()=>{Ce||o(C)||_r||(er=yt,ne.addEventListener("playing",yt,{once:!0}),queueMicrotask(()=>{if(!(Ce||o(C)||_r||ne.paused)){if(!ne.muted){hr();return}zr()}}))}):(er=yt,ne.addEventListener("playing",yt,{once:!0}))}})},oe=()=>{if(Ke(),o(C))ne.play().catch(()=>{});else try{ne.load()}catch{}};le&&ne.readyState<HTMLMediaElement.HAVE_CURRENT_DATA&&oe();const Oe=Qd(ne,Re,()=>Ce);return()=>{Ce=!0,hr(),Oe()}});const Ie=m(()=>qn({selectedPackageId:n(),packageInfo:a(),variables:i()??{}},e.overrides,e.visible));var Ee=xe(),Be=ae(Ee);{var Ve=ne=>{var ge=Xy(),le=T(ge),Ce=T(le),Ke=T(Ce);{var er=ar=>{var xr=Wy();Z(se=>{be(xr,"src",o(A).original),De(xr,`object-fit:${se??""}`)},[()=>Ua(o(k))]),P(ar,xr)},hr=ar=>{var xr=xe(),se=ae(xr);{var Le=or=>{var gr=Hy();ja(gr,tt=>j(H,tt),()=>o(H)),Z(tt=>{be(gr,"src",o(L).url),De(gr,`object-fit:${tt??""}`),gr.loop=o(D),gr.muted=o(C)||o(R),gr.controls=o(B),gr.autoplay=o(E),be(gr,"preload",o(E)?"auto":"metadata")},[()=>Ua(o(k))]),P(or,gr)};K(se,or=>{o(L)&&or(Le)},!0)}P(ar,xr)};K(Ke,ar=>{o(ze)&&o(A)?ar(er):ar(hr,!1)})}var Re=Y(Ce,2),oe=T(Re),Oe=T(oe),yr=T(Oe);Mi(yr,{get shape(){return o(w)},get width(){return o(U)},get height(){return o(te)}});var _r=Y(Oe),zr=T(_r);Mi(zr,{get shape(){return o(w)},get width(){return o(U)},get height(){return o(te)}});var yt=Y(_r);{let ar=m(()=>`${o(f)}-overlay`);Fi(yt,{get id(){return o(ar)},get overlay(){return o(Ne)}})}var Kn=Y(yt);{var ro=ar=>{{let xr=m(()=>`${o(f)}-border-color`),se=m(()=>et(o(z),o(S).color));Fi(ar,{get id(){return o(xr)},get overlay(){return o(se)}})}};K(Kn,ar=>{o(S)&&o(S).width>0&&ar(ro)})}var Xo=Y(oe);{var ps=ar=>{var xr=Yy();Z(()=>be(xr,"href",`#${o(f)}-border`)),P(ar,xr)};K(Xo,ar=>{o(S)&&o(S).width>0&&ar(ps)})}var Zo=Y(Xo),Jo=T(Zo);{var _s=ar=>{var xr=Gy();Z(()=>be(xr,"fill",`url(#${o(f)}-overlay)`)),P(ar,xr)};K(Jo,ar=>{o(Ne)&&ar(_s)})}var gs=Y(Jo);{var fs=ar=>{var xr=Ky();Z(()=>{be(xr,"href",`#${o(f)}-border`),be(xr,"stroke",`url(#${o(f)}-border-color)`),be(xr,"stroke-width",o(S).width*2)}),P(ar,xr)};K(gs,ar=>{o(S)&&o(S).width>0&&ar(fs)})}Z(()=>{De(ge,o(Pe)),De(Ce,o(Te)),be(Re,"viewBox",o(ue)),be(Oe,"id",`${o(f)}-path`),be(_r,"id",`${o(f)}-border`),be(Zo,"clip-path",`url(#${o(f)}-path)`)}),Nu(Re,"contentRect",ar=>j(G,ar)),hi(ge,"clientWidth",ar=>j(M,ar)),P(ne,ge)};K(Be,ne=>{o(Ie)&&ne(Ve)})}P(r,Ee),me(),l()}function Qy(r){const e=r.steps[r.initial_step_id];if(!e)return console.warn(`[workflowDataToNavData] initial_step_id "${r.initial_step_id}" not found in steps`),null;const t=e.screen_id;return t?r.screens[t]?{initial_page_id:t,pages:r.screens}:(console.warn(`[workflowDataToNavData] screen_id "${t}" not found in screens`),null):(console.warn(`[workflowDataToNavData] initial step "${r.initial_step_id}" has no screen_id (logic/experiment step?)`),null)}var $y=W("<span><!></span>");const eb={hash:"svelte-fvjdyv",code:`
71
+ /* Own compositing layer — mitigates WebKit freezing video frames under animated/transform ancestors */video.svelte-1ntn15e {transform:translateZ(0);-webkit-transform:translateZ(0);}`};function eb(r,e){fe(e,!0),we(r,$y);const t=()=>pe(u,"$selectedState",s),n=()=>pe(p,"$selectedPackageId",s),a=()=>pe(d,"$packageInfo",s),i=()=>pe(g,"$variables",s),[s,l]=He(),c=xr(e,["$$slots","$$events","$$legacy"]),u=xt(),d=Mn(),{selectedPackageId:p}=Hr(),g=zn(),_=m(()=>({...c,...Et(t(),e.overrides)})),f=m(()=>o(_).id),v=m(()=>o(_).source),y=m(()=>o(_).fallback_source),h=m(()=>o(_).size),k=m(()=>o(_).mask_shape),w=m(()=>o(_).fit_mode),b=m(()=>o(_).padding),x=m(()=>o(_).margin),S=m(()=>o(_).color_overlay),I=m(()=>o(_).border),z=m(()=>o(_).shadow),E=m(()=>o(_).auto_play),M=m(()=>o(_).loop),C=m(()=>o(_).mute_audio),B=m(()=>o(_).show_controls),O=it(),q=m(O),L=m(()=>o(v)?$r(o(q),o(v)):null),F=m(()=>o(y)?$r(o(q),o(y)):null);let A=re(0),N=re(or({height:0,width:0})),W=re(null),G=re(!1),R=re(!1),$=re(null);gr(()=>{if(o(L)){if(o(L).width&&o(L).height){j(N,{height:o(L).height,width:o(L).width},!0);return}if(o(W)){const ne=()=>{var ce,Ce;j(N,{height:((ce=o(W))==null?void 0:ce.videoHeight)??0,width:((Ce=o(W))==null?void 0:Ce.videoWidth)??0},!0)},ge=()=>{j(G,!0)};return o(W).addEventListener("loadedmetadata",ne),o(W).addEventListener("error",ge),()=>{var ce,Ce;(ce=o(W))==null||ce.removeEventListener("loadedmetadata",ne),(Ce=o(W))==null||Ce.removeEventListener("error",ge)}}}else if(o(F)){if(o(F).width&&o(F).height){j(N,{height:o(F).height,width:o(F).width},!0);return}const ne=new window.Image;ne.src=o(F).original;const ge=()=>{j(N,{height:ne.height,width:ne.width},!0)};return ne.addEventListener("load",ge),()=>{ne.removeEventListener("load",ge)}}});const ue=m(()=>{if(o(h).height.type==="fixed")return o(h).height.value;const ne=o(N).width,ge=o(N).height;return!Number.isFinite(ne)||!Number.isFinite(ge)||ne<=0||ge<=0?o(A)>0?Math.round(o(A)*(9/16)):200:Math.round(o(A)*(ge/ne))}),de=m(()=>ir({width:Er(o(h).width),height:`${o(ue)}px`,margin:wr(o(x)),padding:wr(o(b)),"line-height":0,"flex-shrink":o(h).width.type==="fixed"?0:1}));let te=re(null);const X=m(()=>{var ne,ge;return[((ne=o(te))==null?void 0:ne.width)??0,((ge=o(te))==null?void 0:ge.height)??0]}),D=m(()=>ai(o(X),2)),U=m(()=>o(D)[0]),ee=m(()=>o(D)[1]),ie=m(()=>`0 0 ${o(U)} ${o(ee)}`),Pe=m(()=>{var rr;if(!((rr=o(z))!=null&&rr.color))return"";const{x:ne,y:ge,radius:ce,color:Ce}=o(z),Ke=st(o(q),Ce);return`filter:drop-shadow(${ne}px ${ge}px ${ce}px ${Ke})`}),ke=m(()=>o(Pe)?`${o(de)};${o(Pe)}`:o(de)),Te=m(()=>{var ne,ge;return ir({width:"100%",height:"100%",overflow:"hidden","border-radius":On(o(k)),"clip-path":((ne=o(k))==null?void 0:ne.type)==="concave"||((ge=o(k))==null?void 0:ge.type)==="convex"?`url(#${o(f)}-path)`:"none"})}),Ne=m(()=>o(S)&&$r(o(q),o(S))),Oe=m(()=>o(G)||!o(L));gr(()=>{if(!o(E)){Re(()=>{j(R,!1)});return}if(o(Oe)||!o(L)){Re(()=>{j(R,!1)});return}const ne=o(W);if(!ne)return;const ge=o(L).url,ce=o($)!==ge;ce&&(j($,ge,!0),Re(()=>{j(R,!1)}));let Ce=!1;const Ke=()=>{Ii(ne,{preferMuted:o(C),mutedPlaybackOverride:o(R)})};let rr=null;const hr=()=>{rr!==null&&(ne.removeEventListener("playing",rr),rr=null)},Le=()=>{if(Ce||!ne.paused||(Ke(),ne.readyState<HTMLMediaElement.HAVE_CURRENT_DATA))return;const mr=ne.play();mr!==void 0&&mr.catch(()=>{if(!(Ce||!ne.isConnected)&&!o(C)&&!o(R)){Re(()=>{j(R,!0)}),Ii(ne,{preferMuted:o(C),mutedPlaybackOverride:!0});let _r=!1;const Or=()=>{_r||o(C)||Ce||!ne.isConnected||(_r=!0,queueMicrotask(()=>{if(Ce)return;Re(()=>{j(R,!1)}),Ke(),ne.volume=1;const Pa=ne.play();Pa!==void 0&&Pa.catch(()=>{Ce||!ne.isConnected||(Re(()=>{j(R,!0)}),Ke())})}))},vt=()=>{Ce||!ne.isConnected||(rr=null,Or())},wn=ne.play();wn!==void 0?wn.then(()=>{Ce||o(C)||_r||(rr=vt,ne.addEventListener("playing",vt,{once:!0}),queueMicrotask(()=>{if(!(Ce||o(C)||_r||ne.paused)){if(!ne.muted){hr();return}Or()}}))}):(rr=vt,ne.addEventListener("playing",vt,{once:!0}))}})},se=()=>{if(Ke(),o(C))ne.play().catch(()=>{});else try{ne.load()}catch{}};ce&&ne.readyState<HTMLMediaElement.HAVE_CURRENT_DATA&&se();const Ue=rp(ne,Le,()=>Ce);return()=>{Ce=!0,hr(),Ue()}});const Ie=m(()=>Fn({selectedPackageId:n(),packageInfo:a(),variables:i()??{}},e.overrides,e.visible));var Ee=Se(),Be=oe(Ee);{var Ye=ne=>{var ge=Qy(),ce=T(ge),Ce=T(ce),Ke=T(Ce);{var rr=ar=>{var Pr=Gy();K(Xn=>{be(Pr,"src",o(F).original),De(Pr,`object-fit:${Xn??""}`)},[()=>Wa(o(w))]),P(ar,Pr)},hr=ar=>{var Pr=Se(),Xn=oe(Pr);{var ae=ze=>{var Je=Ky();Oa(Je,rt=>j(W,rt),()=>o(W)),K(rt=>{be(Je,"src",o(L).url),De(Je,`object-fit:${rt??""}`),Je.loop=o(M),Je.muted=o(C)||o(R),Je.controls=o(B),Je.autoplay=o(E),be(Je,"preload",o(E)?"auto":"metadata")},[()=>Wa(o(w))]),P(ze,Je)};Y(Xn,ze=>{o(L)&&ze(ae)},!0)}P(ar,Pr)};Y(Ke,ar=>{o(Oe)&&o(F)?ar(rr):ar(hr,!1)})}var Le=H(Ce,2),se=T(Le),Ue=T(se),mr=T(Ue);Fi(mr,{get shape(){return o(k)},get width(){return o(U)},get height(){return o(ee)}});var _r=H(Ue),Or=T(_r);Fi(Or,{get shape(){return o(k)},get width(){return o(U)},get height(){return o(ee)}});var vt=H(_r);{let ar=m(()=>`${o(f)}-overlay`);Mi(vt,{get id(){return o(ar)},get overlay(){return o(Ne)}})}var wn=H(vt);{var Pa=ar=>{{let Pr=m(()=>`${o(f)}-border-color`),Xn=m(()=>$r(o(q),o(I).color));Mi(ar,{get id(){return o(Pr)},get overlay(){return o(Xn)}})}};Y(wn,ar=>{o(I)&&o(I).width>0&&ar(Pa)})}var ps=H(se);{var _c=ar=>{var Pr=Xy();K(()=>be(Pr,"href",`#${o(f)}-border`)),P(ar,Pr)};Y(ps,ar=>{o(I)&&o(I).width>0&&ar(_c)})}var Zo=H(ps),Jo=T(Zo);{var _s=ar=>{var Pr=Zy();K(()=>be(Pr,"fill",`url(#${o(f)}-overlay)`)),P(ar,Pr)};Y(Jo,ar=>{o(Ne)&&ar(_s)})}var gs=H(Jo);{var fs=ar=>{var Pr=Jy();K(()=>{be(Pr,"href",`#${o(f)}-border`),be(Pr,"stroke",`url(#${o(f)}-border-color)`),be(Pr,"stroke-width",o(I).width*2)}),P(ar,Pr)};Y(gs,ar=>{o(I)&&o(I).width>0&&ar(fs)})}K(()=>{De(ge,o(ke)),De(Ce,o(Te)),be(Le,"viewBox",o(ie)),be(Ue,"id",`${o(f)}-path`),be(_r,"id",`${o(f)}-border`),be(Zo,"clip-path",`url(#${o(f)}-path)`)}),Ou(Le,"contentRect",ar=>j(te,ar)),hi(ge,"clientWidth",ar=>j(A,ar)),P(ne,ge)};Y(Be,ne=>{o(Ie)&&ne(Ye)})}P(r,Ee),me(),l()}function rb(r){const e=r.steps[r.initial_step_id];if(!e)return console.warn(`[workflowDataToNavData] initial_step_id "${r.initial_step_id}" not found in steps`),null;const t=e.screen_id;return t?r.screens[t]?{initial_page_id:t,pages:r.screens}:(console.warn(`[workflowDataToNavData] screen_id "${t}" not found in screens`),null):(console.warn(`[workflowDataToNavData] initial step "${r.initial_step_id}" has no screen_id (logic/experiment step?)`),null)}var tb=V("<span><!></span>");const nb={hash:"svelte-fvjdyv",code:`
72
72
  /* svelte-ignore css-unused-selector */.rcb-typography-heading-2xl.svelte-fvjdyv {font:var(--rc-text-heading2xl-mobile);}
73
73
 
74
74
  /* svelte-ignore css-unused-selector */.rcb-typography-heading-xl.svelte-fvjdyv {font:var(--rc-text-headingXl-mobile);}
@@ -109,7 +109,7 @@ Minimum version required to store current data is: `+C+`.
109
109
  /* svelte-ignore css-unused-selector */.rcb-typography-caption-default.svelte-fvjdyv {font:var(--rc-text-captionDefault-desktop);}
110
110
 
111
111
  /* svelte-ignore css-unused-selector */.rcb-typography-caption-link.svelte-fvjdyv {font:var(--rc-text-captionLink-desktop);}
112
- }`};function rb(r,e){ke(r,eb);const t=Q(e,"size",3,"body-base");var n=$y(),a=T(n);wr(a,()=>e.children??rr),Z(()=>ur(n,1,`rcb-typography rcb-typography-${t()??""}`,"svelte-fvjdyv")),P(r,n)}const tb={outerPadding:{mobile:"clamp(1.3125rem, 5.6vw, 1.5rem)",desktop:"clamp(1.5rem, 9.44vw, 5rem)"},outerPaddingSmall:{mobile:"clamp(0.75rem, 4.2vw, 1rem)",desktop:"clamp(1.5rem, 9.44vw, 5rem)"},gapSmall:{mobile:"0.25rem",desktop:"0.375rem"},gapMedium:{mobile:"0.5rem",desktop:"0.75rem"},gapLarge:{mobile:"0.75rem",desktop:"0.75rem"},gapXLarge:{mobile:"1rem",desktop:"1.5rem"},gapXXLarge:{mobile:"1.25rem",desktop:"2.25rem"},gapXXXLarge:{mobile:"2.25rem",desktop:"4.5rem"},inputHeight:{mobile:"3rem",desktop:"3rem"},gapStripeElement:{mobile:"0.70rem",desktop:"1rem"}},mp="-apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Cantarell, Ubuntu, roboto, noto, arial, sans-serif",Gt={regular:"400",medium:"500",semibold:"600"},It={12:"12px",14:"14px",16:"16px",18:"18px",24:"24px",28:"28px",32:"32px",36:"36px"},Kt={120:"120%",130:"130%",140:"140%"},Xt={tight:"0.20%",regular:"0"},Dr={heading2xl:{fontSize:It[28],lineHeight:Kt[120],fontWeight:Gt.semibold,letterSpacing:Xt.tight},headingXl:{fontSize:It[24],lineHeight:Kt[130],fontWeight:Gt.semibold,letterSpacing:Xt.regular},headingLg:{fontSize:"20px",lineHeight:Kt[130],fontWeight:Gt.semibold,letterSpacing:Xt.regular},headingMd:{fontSize:"16px",lineHeight:Kt[140],fontWeight:Gt.medium,letterSpacing:Xt.regular},bodyBase:{fontSize:It[16],lineHeight:Kt[140],fontWeight:Gt.regular,letterSpacing:Xt.regular},bodySmall:{fontSize:It[14],lineHeight:Kt[140],fontWeight:Gt.regular,letterSpacing:Xt.regular},labelButton:{fontSize:It[16],lineHeight:Kt[140],fontWeight:Gt.regular,letterSpacing:Xt.tight},labelDefault:{fontSize:It[14],lineHeight:Kt[140],fontWeight:Gt.regular,letterSpacing:Xt.tight},captionDefault:{fontSize:It[12],lineHeight:Kt[140],fontWeight:Gt.regular,letterSpacing:Xt.regular},captionLink:{fontSize:It[12],lineHeight:Kt[140],fontWeight:Gt.regular,letterSpacing:Xt.regular}},Zt={heading2xl:{...Dr.heading2xl,fontSize:It[36]},headingXl:{...Dr.headingXl,fontSize:It[32]},headingLg:{...Dr.headingLg,fontSize:It[24]},headingMd:{...Dr.headingMd,fontSize:It[18]},bodyBase:{...Dr.bodyBase},bodySmall:{...Dr.bodySmall},labelButton:{...Dr.labelButton},labelDefault:{...Dr.labelDefault},captionDefault:{...Dr.captionDefault},captionLink:{...Dr.captionLink}},nb={heading2xl:{mobile:Dr.heading2xl,desktop:Zt.heading2xl},headingXl:{desktop:Zt.headingXl,mobile:Dr.headingXl},headingLg:{desktop:Zt.headingLg,mobile:Dr.headingLg},headingMd:{desktop:Zt.headingMd,mobile:Dr.headingMd},bodyBase:{desktop:Zt.bodyBase,mobile:Dr.bodyBase},bodySmall:{desktop:Zt.bodySmall,mobile:Dr.bodySmall},labelButton:{desktop:Zt.labelButton,mobile:Dr.labelButton},labelDefault:{desktop:Zt.labelDefault,mobile:Dr.labelDefault},captionDefault:{desktop:Zt.captionDefault,mobile:Dr.captionDefault},captionLink:{desktop:Zt.captionLink,mobile:Dr.captionLink}},ab={error:"#B0171F",warning:"#f4e971",focus:"#1148B8",accent:"#767676",primary:"#576CDB","primary-hover":"rgba(87, 108, 219, .8)","primary-pressed":"rgba(87, 108, 219, .9)","primary-text":"#ffffff",white:"#ffffff","grey-text-dark":"rgba(0,0,0,1)","grey-text-light":"rgba(0,0,0,0.7)","grey-ui-dark":"rgba(0,0,0,0.3)","grey-ui-light":"rgba(0,0,0,0.1)","input-background":"white",background:"white"},ob={error:"#B0171F",warning:"#f4e971",focus:"#1148B8",accent:"#767676",primary:"#576CDB","primary-hover":"rgba(87, 108, 219, .8)","primary-pressed":"rgba(87, 108, 219, .9)","primary-text":"#ffffff",white:"#ffffff","grey-text-dark":"rgba(0,0,0,1)","grey-text-light":"rgba(0,0,0,0.7)","grey-ui-dark":"rgba(0,0,0,0.3)","grey-ui-light":"rgba(0,0,0,0.1)","input-background":"white",background:"#EFF3FA"},hp={error:"color_error",focus:"color_accent",accent:"color_accent",primary:"color_buttons_primary"},ib={...hp,"input-background":"color_form_bg",background:"color_form_bg"},sb={...hp,"input-background":"color_product_info_bg",background:"color_product_info_bg"},vp={"input-border-radius":"4px","input-button-border-radius":"8px"},lb={"input-border-radius":"0px","input-button-border-radius":"0px"},cb={"input-border-radius":"12px","input-button-border-radius":"9999px"},yp=vp,qo=r=>r.length==7?{r:parseInt(r.slice(1,3),16),g:parseInt(r.slice(3,5),16),b:parseInt(r.slice(5,7),16)}:r.length==4?{r:parseInt(r[1],16),g:parseInt(r[2],16),b:parseInt(r[3],16)}:null,Fl=({r,g:e,b:t,luminanceThreshold:n})=>{const a=s=>(s=s/255,s<=.03928?s/12.92:Math.pow((s+.055)/1.055,2.4));return .2126*a(r)+.7152*a(e)+.0722*a(t)>n},zl=.37,ub=(r,e=zl)=>{const t=Fl({...r,luminanceThreshold:e})?"0,0,0":"255,255,255";return{"grey-text-dark":`rgb(${t})`,"grey-text-light":`rgba(${t},0.70)`,"grey-ui-dark":`rgba(${t},0.3)`,"grey-ui-light":`rgba(${t},0.1)`}};function db(r,e,t){const n=qo(r)||{r:0,g:0,b:0},a=qo(e)||{r:255,g:255,b:255},i=Math.round(a.r*t+n.r*(1-t)),s=Math.round(a.g*t+n.g*(1-t)),l=Math.round(a.b*t+n.b*(1-t));return`#${jl(i)}${jl(s)}${jl(l)}`}function bp(r,e){const t={r:255,g:255,b:255},n=Math.max(0,Math.min(1,e));let a=r,i=qo(r)||t;(isNaN(i.r)||isNaN(i.g)||isNaN(i.b))&&(i=t,a="#FFFFFF");const l=Fl({...i,luminanceThreshold:zl})?"#000000":"#FFFFFF";return db(a,l,n)}function jl(r){return r.toString(16).padStart(2,"0").toUpperCase()}const pb=(r,e,t,n=zl)=>{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(r!=null&&r.startsWith("#")){const i=qo(r);i!==null&&Object.assign(a,ub(i))}if(e!=null&&e.startsWith("#")){const i=qo(e);i!==null&&(a["primary-text"]=Fl({...i,luminanceThreshold:n})?"black":"white")}return a},_b=r=>({"primary-hover":bp(r,.1),"primary-pressed":bp(r,.15)}),gb=(r,e)=>r||e,fb=(r,e,t)=>{const n=Object.entries(r).map(([a,i])=>[a,gb(t?t[i]:null,e[a])]);return Object.fromEntries(n)},kp=(r,e,t)=>{const n=fb(r,e,t);return t?{...e,...n,...pb(n.background,n.primary,e),..._b(n.primary)}:{...e}},mb=r=>kp(sb,ob,r),wp=r=>kp(ib,ab,r),Nl=r=>{if(!r)return yp;switch(r.shapes){case"rounded":return vp;case"rectangle":return lb;case"pill":return cb;default:return yp}},ji=(r="",e)=>e.map(([t,n])=>`--rc-${r}-${t}: ${n}`).join("; "),hb=r=>{const e=ji("color",Object.entries(mb(r))),t=ji("shape",Object.entries(Nl(r)));return[e,t].join("; ")},vb=r=>{const e=ji("color",Object.entries(wp(r))),t=ji("shape",Object.entries(Nl(r)));return[e,t].join("; ")},yb=(r="",e)=>Object.entries(e).flatMap(([t,{desktop:n,mobile:a}])=>[`--rc-${r}-${t}-desktop: normal normal ${n.fontWeight} ${n.fontSize}/${n.lineHeight} ${mp}`,`--rc-${r}-${t}-mobile: normal normal ${a.fontWeight} ${a.fontSize}/${a.lineHeight} ${mp}`,`--rc-${r}-${t}-desktop-font-size: ${n.fontSize}`,`--rc-${r}-${t}-mobile-font-size: ${a.fontSize}`]).join("; "),bb=(r="",e)=>Object.entries(e).map(([t,{mobile:n,desktop:a}])=>`--rc-${r}-${t}-mobile: ${n}; --rc-${r}-${t}-desktop: ${a};`).join(" ");let kb=class{constructor(e){ee(this,"brandingAppearance");e?this.brandingAppearance=e:this.brandingAppearance=void 0}get shape(){return Nl(this.brandingAppearance)}get formColors(){return wp(this.brandingAppearance)}get formStyleVars(){return vb(this.brandingAppearance)}get productInfoStyleVars(){return hb(this.brandingAppearance)}get spacing(){return tb}get textStyles(){return nb}get textStyleVars(){return yb("text",this.textStyles)}get spacingStyleVars(){return bb("spacing",this.spacing)}};var wb=W('<div class="rcb-processing svelte-18b6c9z"></div>');const Pb={hash:"svelte-18b6c9z",code:`.rcb-processing.svelte-18b6c9z {width:var(--width, 12px);aspect-ratio:1;border-radius:50%;
112
+ }`};function ab(r,e){we(r,nb);const t=J(e,"size",3,"body-base");var n=tb(),a=T(n);kr(a,()=>e.children??tr),K(()=>ur(n,1,`rcb-typography rcb-typography-${t()??""}`,"svelte-fvjdyv")),P(r,n)}const ob={outerPadding:{mobile:"clamp(1.3125rem, 5.6vw, 1.5rem)",desktop:"clamp(1.5rem, 9.44vw, 5rem)"},outerPaddingSmall:{mobile:"clamp(0.75rem, 4.2vw, 1rem)",desktop:"clamp(1.5rem, 9.44vw, 5rem)"},gapSmall:{mobile:"0.25rem",desktop:"0.375rem"},gapMedium:{mobile:"0.5rem",desktop:"0.75rem"},gapLarge:{mobile:"0.75rem",desktop:"0.75rem"},gapXLarge:{mobile:"1rem",desktop:"1.5rem"},gapXXLarge:{mobile:"1.25rem",desktop:"2.25rem"},gapXXXLarge:{mobile:"2.25rem",desktop:"4.5rem"},inputHeight:{mobile:"3rem",desktop:"3rem"},gapStripeElement:{mobile:"0.70rem",desktop:"1rem"}},yp="-apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Cantarell, Ubuntu, roboto, noto, arial, sans-serif",Gt={regular:"400",medium:"500",semibold:"600"},St={12:"12px",14:"14px",16:"16px",18:"18px",24:"24px",28:"28px",32:"32px",36:"36px"},Kt={120:"120%",130:"130%",140:"140%"},Xt={tight:"0.20%",regular:"0"},Tr={heading2xl:{fontSize:St[28],lineHeight:Kt[120],fontWeight:Gt.semibold,letterSpacing:Xt.tight},headingXl:{fontSize:St[24],lineHeight:Kt[130],fontWeight:Gt.semibold,letterSpacing:Xt.regular},headingLg:{fontSize:"20px",lineHeight:Kt[130],fontWeight:Gt.semibold,letterSpacing:Xt.regular},headingMd:{fontSize:"16px",lineHeight:Kt[140],fontWeight:Gt.medium,letterSpacing:Xt.regular},bodyBase:{fontSize:St[16],lineHeight:Kt[140],fontWeight:Gt.regular,letterSpacing:Xt.regular},bodySmall:{fontSize:St[14],lineHeight:Kt[140],fontWeight:Gt.regular,letterSpacing:Xt.regular},labelButton:{fontSize:St[16],lineHeight:Kt[140],fontWeight:Gt.regular,letterSpacing:Xt.tight},labelDefault:{fontSize:St[14],lineHeight:Kt[140],fontWeight:Gt.regular,letterSpacing:Xt.tight},captionDefault:{fontSize:St[12],lineHeight:Kt[140],fontWeight:Gt.regular,letterSpacing:Xt.regular},captionLink:{fontSize:St[12],lineHeight:Kt[140],fontWeight:Gt.regular,letterSpacing:Xt.regular}},Zt={heading2xl:{...Tr.heading2xl,fontSize:St[36]},headingXl:{...Tr.headingXl,fontSize:St[32]},headingLg:{...Tr.headingLg,fontSize:St[24]},headingMd:{...Tr.headingMd,fontSize:St[18]},bodyBase:{...Tr.bodyBase},bodySmall:{...Tr.bodySmall},labelButton:{...Tr.labelButton},labelDefault:{...Tr.labelDefault},captionDefault:{...Tr.captionDefault},captionLink:{...Tr.captionLink}},ib={heading2xl:{mobile:Tr.heading2xl,desktop:Zt.heading2xl},headingXl:{desktop:Zt.headingXl,mobile:Tr.headingXl},headingLg:{desktop:Zt.headingLg,mobile:Tr.headingLg},headingMd:{desktop:Zt.headingMd,mobile:Tr.headingMd},bodyBase:{desktop:Zt.bodyBase,mobile:Tr.bodyBase},bodySmall:{desktop:Zt.bodySmall,mobile:Tr.bodySmall},labelButton:{desktop:Zt.labelButton,mobile:Tr.labelButton},labelDefault:{desktop:Zt.labelDefault,mobile:Tr.labelDefault},captionDefault:{desktop:Zt.captionDefault,mobile:Tr.captionDefault},captionLink:{desktop:Zt.captionLink,mobile:Tr.captionLink}},sb={error:"#B0171F",warning:"#f4e971",focus:"#1148B8",accent:"#767676",primary:"#576CDB","primary-hover":"rgba(87, 108, 219, .8)","primary-pressed":"rgba(87, 108, 219, .9)","primary-text":"#ffffff",white:"#ffffff","grey-text-dark":"rgba(0,0,0,1)","grey-text-light":"rgba(0,0,0,0.7)","grey-ui-dark":"rgba(0,0,0,0.3)","grey-ui-light":"rgba(0,0,0,0.1)","input-background":"white",background:"white"},lb={error:"#B0171F",warning:"#f4e971",focus:"#1148B8",accent:"#767676",primary:"#576CDB","primary-hover":"rgba(87, 108, 219, .8)","primary-pressed":"rgba(87, 108, 219, .9)","primary-text":"#ffffff",white:"#ffffff","grey-text-dark":"rgba(0,0,0,1)","grey-text-light":"rgba(0,0,0,0.7)","grey-ui-dark":"rgba(0,0,0,0.3)","grey-ui-light":"rgba(0,0,0,0.1)","input-background":"white",background:"#EFF3FA"},bp={error:"color_error",focus:"color_accent",accent:"color_accent",primary:"color_buttons_primary"},cb={...bp,"input-background":"color_form_bg",background:"color_form_bg"},ub={...bp,"input-background":"color_product_info_bg",background:"color_product_info_bg"},kp={"input-border-radius":"4px","input-button-border-radius":"8px"},db={"input-border-radius":"0px","input-button-border-radius":"0px"},pb={"input-border-radius":"12px","input-button-border-radius":"9999px"},wp=kp,Fo=r=>r.length==7?{r:parseInt(r.slice(1,3),16),g:parseInt(r.slice(3,5),16),b:parseInt(r.slice(5,7),16)}:r.length==4?{r:parseInt(r[1],16),g:parseInt(r[2],16),b:parseInt(r[3],16)}:null,Ml=({r,g:e,b:t,luminanceThreshold:n})=>{const a=s=>(s=s/255,s<=.03928?s/12.92:Math.pow((s+.055)/1.055,2.4));return .2126*a(r)+.7152*a(e)+.0722*a(t)>n},zl=.37,_b=(r,e=zl)=>{const t=Ml({...r,luminanceThreshold:e})?"0,0,0":"255,255,255";return{"grey-text-dark":`rgb(${t})`,"grey-text-light":`rgba(${t},0.70)`,"grey-ui-dark":`rgba(${t},0.3)`,"grey-ui-light":`rgba(${t},0.1)`}};function gb(r,e,t){const n=Fo(r)||{r:0,g:0,b:0},a=Fo(e)||{r:255,g:255,b:255},i=Math.round(a.r*t+n.r*(1-t)),s=Math.round(a.g*t+n.g*(1-t)),l=Math.round(a.b*t+n.b*(1-t));return`#${jl(i)}${jl(s)}${jl(l)}`}function Pp(r,e){const t={r:255,g:255,b:255},n=Math.max(0,Math.min(1,e));let a=r,i=Fo(r)||t;(isNaN(i.r)||isNaN(i.g)||isNaN(i.b))&&(i=t,a="#FFFFFF");const l=Ml({...i,luminanceThreshold:zl})?"#000000":"#FFFFFF";return gb(a,l,n)}function jl(r){return r.toString(16).padStart(2,"0").toUpperCase()}const fb=(r,e,t,n=zl)=>{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(r!=null&&r.startsWith("#")){const i=Fo(r);i!==null&&Object.assign(a,_b(i))}if(e!=null&&e.startsWith("#")){const i=Fo(e);i!==null&&(a["primary-text"]=Ml({...i,luminanceThreshold:n})?"black":"white")}return a},mb=r=>({"primary-hover":Pp(r,.1),"primary-pressed":Pp(r,.15)}),hb=(r,e)=>r||e,vb=(r,e,t)=>{const n=Object.entries(r).map(([a,i])=>[a,hb(t?t[i]:null,e[a])]);return Object.fromEntries(n)},xp=(r,e,t)=>{const n=vb(r,e,t);return t?{...e,...n,...fb(n.background,n.primary,e),...mb(n.primary)}:{...e}},yb=r=>xp(ub,lb,r),Ep=r=>xp(cb,sb,r),Nl=r=>{if(!r)return wp;switch(r.shapes){case"rounded":return kp;case"rectangle":return db;case"pill":return pb;default:return wp}},ji=(r="",e)=>e.map(([t,n])=>`--rc-${r}-${t}: ${n}`).join("; "),bb=r=>{const e=ji("color",Object.entries(yb(r))),t=ji("shape",Object.entries(Nl(r)));return[e,t].join("; ")},kb=r=>{const e=ji("color",Object.entries(Ep(r))),t=ji("shape",Object.entries(Nl(r)));return[e,t].join("; ")},wb=(r="",e)=>Object.entries(e).flatMap(([t,{desktop:n,mobile:a}])=>[`--rc-${r}-${t}-desktop: normal normal ${n.fontWeight} ${n.fontSize}/${n.lineHeight} ${yp}`,`--rc-${r}-${t}-mobile: normal normal ${a.fontWeight} ${a.fontSize}/${a.lineHeight} ${yp}`,`--rc-${r}-${t}-desktop-font-size: ${n.fontSize}`,`--rc-${r}-${t}-mobile-font-size: ${a.fontSize}`]).join("; "),Pb=(r="",e)=>Object.entries(e).map(([t,{mobile:n,desktop:a}])=>`--rc-${r}-${t}-mobile: ${n}; --rc-${r}-${t}-desktop: ${a};`).join(" ");let xb=class{constructor(e){Q(this,"brandingAppearance");e?this.brandingAppearance=e:this.brandingAppearance=void 0}get shape(){return Nl(this.brandingAppearance)}get formColors(){return Ep(this.brandingAppearance)}get formStyleVars(){return kb(this.brandingAppearance)}get productInfoStyleVars(){return bb(this.brandingAppearance)}get spacing(){return ob}get textStyles(){return ib}get textStyleVars(){return wb("text",this.textStyles)}get spacingStyleVars(){return Pb("spacing",this.spacing)}};var Eb=V('<div class="rcb-processing svelte-18b6c9z"></div>');const Sb={hash:"svelte-18b6c9z",code:`.rcb-processing.svelte-18b6c9z {width:var(--width, 12px);aspect-ratio:1;border-radius:50%;
113
113
  animation: svelte-18b6c9z-l5 1.5s infinite linear;}
114
114
 
115
115
  @keyframes svelte-18b6c9z-l5 {
@@ -143,16 +143,16 @@ Minimum version required to store current data is: `+C+`.
143
143
  calc(-1 * var(--shadow-offset)) 0 #fff2;
144
144
  background: #fff2;
145
145
  }
146
- }`};function xb(r,e){ke(r,Pb);let t=Q(e,"size",8,"medium");const n={small:{width:"8px",offset:"10px"},medium:{width:"12px",offset:"20px"},large:{width:"16px",offset:"30px"}};var a=wb();Z(()=>De(a,`--shadow-offset: ${He(t()),Ue(()=>n[t()].offset)??""}; --width: ${He(t()),Ue(()=>n[t()].width)??""};`)),P(r,a)}var Eb=W("<button><!></button>");const Sb={hash:"svelte-8l4dqv",code:`button.svelte-8l4dqv {border:none;border-radius:var(--rc-shape-input-button-border-radius);cursor:pointer;height:var(--rc-spacing-inputHeight-mobile);color:var(--rc-color-grey-text-dark);background-color:var(--rc-color-grey-ui-dark);display:flex;align-items:center;justify-content:center;-webkit-tap-highlight-color:rgba(0, 0, 0, 0);-webkit-tap-highlight-color:transparent;transition:background-color 0.15s ease-in-out;user-select:none;}
146
+ }`};function Ib(r,e){we(r,Sb);let t=J(e,"size",8,"medium");const n={small:{width:"8px",offset:"10px"},medium:{width:"12px",offset:"20px"},large:{width:"16px",offset:"30px"}};var a=Eb();K(()=>De(a,`--shadow-offset: ${We(t()),Re(()=>n[t()].offset)??""}; --width: ${We(t()),Re(()=>n[t()].width)??""};`)),P(r,a)}var Cb=V("<button><!></button>");const Tb={hash:"svelte-8l4dqv",code:`button.svelte-8l4dqv {border:none;border-radius:var(--rc-shape-input-button-border-radius);cursor:pointer;height:var(--rc-spacing-inputHeight-mobile);color:var(--rc-color-grey-text-dark);background-color:var(--rc-color-grey-ui-dark);display:flex;align-items:center;justify-content:center;-webkit-tap-highlight-color:rgba(0, 0, 0, 0);-webkit-tap-highlight-color:transparent;transition:background-color 0.15s ease-in-out;user-select:none;}
147
147
 
148
148
  @container layout-query-container (width >= 768px) {button.svelte-8l4dqv {height:var(--rc-spacing-inputHeight-desktop);}
149
149
  }
150
150
 
151
151
  /* focus-visible is triggered only when focused with keyboard/reader */button.svelte-8l4dqv:focus-visible {outline:2px solid var(--rc-color-focus);}button.intent-primary.svelte-8l4dqv {background-color:var(--rc-color-primary);color:var(--rc-color-primary-text);}button.svelte-8l4dqv:disabled {color:var(--rc-color-grey-text-light);background-color:var(--rc-color-grey-ui-light);outline:none;}button.intent-primary.svelte-8l4dqv:not(:disabled):hover {background-color:var(--rc-color-primary-hover);}button.intent-primary.svelte-8l4dqv:not(:disabled):active,
152
- button.svelte-8l4dqv:active {background-color:var(--rc-color-primary-pressed);outline:none;}button.intent-primary.svelte-8l4dqv:disabled {color:var(--rc-color-grey-text-light);background-color:var(--rc-color-grey-ui-light);}`};function Pp(r,e){fe(e,!0),ke(r,Sb);const t=Q(e,"intent",3,"primary"),n=Q(e,"disabled",3,!1),a=Q(e,"loading",3,!1),i=m(()=>new kb(e.brandingAppearance)),s=m(()=>o(i).textStyleVars),l=m(()=>o(i).spacingStyleVars),c=m(()=>o(i).productInfoStyleVars),u=m(()=>o(i).formStyleVars),d=m(()=>[e.styleOverrides,o(s),o(l),o(c),o(u)].join("; "));var p=Eb();p.__click=function(...v){var y;(y=e.onclick)==null||y.apply(this,v)};var _=T(p);{var g=v=>{xb(v,{size:"small"})},f=v=>{rb(v,{size:"body-base",children:(y,h)=>{var w=xe(),k=ae(w);wr(k,()=>e.children??rr),P(y,w)},$$slots:{default:!0}})};K(_,v=>{a()?v(g):v(f,!1)})}Z(()=>{ur(p,1,`intent-${t()}`,"svelte-8l4dqv"),p.disabled=n(),be(p,"data-testid",e.testId),be(p,"type",e.type),De(p,o(d))}),P(r,p),me()}_n(["click"]);var Ib=W('<footer class="rcb-modal-footer svelte-gz2zuy"><!></footer>');const Cb={hash:"svelte-gz2zuy",code:"footer.svelte-gz2zuy {display:flex;flex-direction:column;}"};function Tb(r,e){ke(r,Cb);let t=Q(e,"children",8);var n=Ib(),a=T(n);wr(a,()=>t()??rr),P(r,n)}const Db={hash:"svelte-1lkpm18",code:".rcb-modal-section.svelte-1lkpm18 {padding:8px 0px;display:flex;}section.rcb-modal-section.svelte-1lkpm18 {flex-grow:1;}.rcb-modal-section.svelte-1lkpm18:last-of-type {padding:0;}"};function Ab(r,e){ke(r,Db);let t=Q(e,"as",8,"section"),n=Q(e,"children",8);var a=xe(),i=ae(a);Ls(i,t,!1,(s,l)=>{Vs(s,()=>({class:"rcb-modal-section"}),void 0,void 0,void 0,"svelte-1lkpm18");var c=xe(),u=ae(c);wr(u,()=>n()??rr),P(l,c)}),P(r,a)}var qb=W("<div><!></div>");const Mb={hash:"svelte-7lmlfa",code:`.rcb-column.svelte-7lmlfa {display:flex;flex-direction:column;justify-content:flex-start;flex-grow:1;min-width:100%;}.rcb-column.justify-center.svelte-7lmlfa {justify-content:center;}.rcb-column.justify-end.svelte-7lmlfa {justify-content:flex-end;}.rcb-column.align-center.svelte-7lmlfa {align-items:center;}.rcb-column.align-end.svelte-7lmlfa {align-items:flex-end;}.rcb-column.gap-small.svelte-7lmlfa {gap:var(--rc-spacing-gapSmall-mobile);}.rcb-column.gap-medium.svelte-7lmlfa {gap:var(--rc-spacing-gapXLarge-mobile);}.rcb-column.gap-large.svelte-7lmlfa {gap:var(--rc-spacing-gapXXLarge-mobile);}
152
+ button.svelte-8l4dqv:active {background-color:var(--rc-color-primary-pressed);outline:none;}button.intent-primary.svelte-8l4dqv:disabled {color:var(--rc-color-grey-text-light);background-color:var(--rc-color-grey-ui-light);}`};function Sp(r,e){fe(e,!0),we(r,Tb);const t=J(e,"intent",3,"primary"),n=J(e,"disabled",3,!1),a=J(e,"loading",3,!1),i=m(()=>new xb(e.brandingAppearance)),s=m(()=>o(i).textStyleVars),l=m(()=>o(i).spacingStyleVars),c=m(()=>o(i).productInfoStyleVars),u=m(()=>o(i).formStyleVars),d=m(()=>[e.styleOverrides,o(s),o(l),o(c),o(u)].join("; "));var p=Cb();p.__click=function(...v){var y;(y=e.onclick)==null||y.apply(this,v)};var g=T(p);{var _=v=>{Ib(v,{size:"small"})},f=v=>{ab(v,{size:"body-base",children:(y,h)=>{var k=Se(),w=oe(k);kr(w,()=>e.children??tr),P(y,k)},$$slots:{default:!0}})};Y(g,v=>{a()?v(_):v(f,!1)})}K(()=>{ur(p,1,`intent-${t()}`,"svelte-8l4dqv"),p.disabled=n(),be(p,"data-testid",e.testId),be(p,"type",e.type),De(p,o(d))}),P(r,p),me()}_n(["click"]);var Db=V('<footer class="rcb-modal-footer svelte-gz2zuy"><!></footer>');const Ab={hash:"svelte-gz2zuy",code:"footer.svelte-gz2zuy {display:flex;flex-direction:column;}"};function qb(r,e){we(r,Ab);let t=J(e,"children",8);var n=Db(),a=T(n);kr(a,()=>t()??tr),P(r,n)}const Fb={hash:"svelte-1lkpm18",code:".rcb-modal-section.svelte-1lkpm18 {padding:8px 0px;display:flex;}section.rcb-modal-section.svelte-1lkpm18 {flex-grow:1;}.rcb-modal-section.svelte-1lkpm18:last-of-type {padding:0;}"};function Mb(r,e){we(r,Fb);let t=J(e,"as",8,"section"),n=J(e,"children",8);var a=Se(),i=oe(a);Ls(i,t,!1,(s,l)=>{Vs(s,()=>({class:"rcb-modal-section"}),void 0,void 0,void 0,"svelte-1lkpm18");var c=Se(),u=oe(c);kr(u,()=>n()??tr),P(l,c)}),P(r,a)}var zb=V("<div><!></div>");const jb={hash:"svelte-7lmlfa",code:`.rcb-column.svelte-7lmlfa {display:flex;flex-direction:column;justify-content:flex-start;flex-grow:1;min-width:100%;}.rcb-column.justify-center.svelte-7lmlfa {justify-content:center;}.rcb-column.justify-end.svelte-7lmlfa {justify-content:flex-end;}.rcb-column.align-center.svelte-7lmlfa {align-items:center;}.rcb-column.align-end.svelte-7lmlfa {align-items:flex-end;}.rcb-column.gap-small.svelte-7lmlfa {gap:var(--rc-spacing-gapSmall-mobile);}.rcb-column.gap-medium.svelte-7lmlfa {gap:var(--rc-spacing-gapXLarge-mobile);}.rcb-column.gap-large.svelte-7lmlfa {gap:var(--rc-spacing-gapXXLarge-mobile);}
153
153
 
154
154
  @container layout-query-container (width >= 768px) {.rcb-column.gap-small.svelte-7lmlfa {gap:var(--rc-spacing-gapSmall-desktop);}.rcb-column.gap-medium.svelte-7lmlfa {gap:var(--rc-spacing-gapLarge-desktop);}.rcb-column.gap-large.svelte-7lmlfa {gap:var(--rc-spacing-gapXXLarge-desktop);}
155
- }`};function Mo(r,e){ke(r,Mb);let t=Q(e,"gap",8,"small"),n=Q(e,"justify",8,"start"),a=Q(e,"align",8,"start"),i=Q(e,"children",8);var s=qb(),l=T(s);wr(l,()=>i()??rr),Z(()=>ur(s,1,`rcb-column gap-${t()??""} justify-${n()??""} align-${a()??""}`,"svelte-7lmlfa")),P(r,s)}var Fb=W('<div class="rcb-row svelte-130pyos"><!></div>');const zb={hash:"svelte-130pyos",code:".rcb-row.svelte-130pyos {display:flex;flex-direction:row;justify-content:flex-start;}"};function jb(r,e){ke(r,zb);let t=Q(e,"children",8);var n=Fb(),a=T(n);wr(a,()=>t()??rr),P(r,n)}var Nb=W("<span><!></span>");const Ob={hash:"svelte-y2q9vo",code:`.rcb-typography.svelte-y2q9vo {display:inline-block;line-height:normal;}
155
+ }`};function Mo(r,e){we(r,jb);let t=J(e,"gap",8,"small"),n=J(e,"justify",8,"start"),a=J(e,"align",8,"start"),i=J(e,"children",8);var s=zb(),l=T(s);kr(l,()=>i()??tr),K(()=>ur(s,1,`rcb-column gap-${t()??""} justify-${n()??""} align-${a()??""}`,"svelte-7lmlfa")),P(r,s)}var Nb=V('<div class="rcb-row svelte-130pyos"><!></div>');const Ob={hash:"svelte-130pyos",code:".rcb-row.svelte-130pyos {display:flex;flex-direction:row;justify-content:flex-start;}"};function Lb(r,e){we(r,Ob);let t=J(e,"children",8);var n=Nb(),a=T(n);kr(a,()=>t()??tr),P(r,n)}var Bb=V("<span><!></span>");const Ub={hash:"svelte-y2q9vo",code:`.rcb-typography.svelte-y2q9vo {display:inline-block;line-height:normal;}
156
156
 
157
157
  /* svelte-ignore css-unused-selector */.rcb-typography-heading-2xl.svelte-y2q9vo {font:var(--rc-text-heading2xl-mobile);}.rcb-typography-heading-2xl.rcb-typography-branded.svelte-y2q9vo {font:var(--rc-text-heading2xl-branded-mobile);}
158
158
 
@@ -195,13 +195,13 @@ Minimum version required to store current data is: `+C+`.
195
195
  /* svelte-ignore css-unused-selector */.rcb-typography-caption-default.svelte-y2q9vo {font:var(--rc-text-captionDefault-desktop);}.rcb-typography-caption-default.rcb-typography-branded.svelte-y2q9vo {font:var(--rc-text-captionDefault-branded-desktop);}
196
196
 
197
197
  /* svelte-ignore css-unused-selector */.rcb-typography-caption-link.svelte-y2q9vo {font:var(--rc-text-captionLink-desktop);}.rcb-typography-caption-link.rcb-typography-branded.svelte-y2q9vo {font:var(--rc-text-captionLink-branded-desktop);}
198
- }`};function qe(r,e){ke(r,Ob);const t=Q(e,"size",3,"body-base"),n=Q(e,"branded",3,!1);var a=Nb(),i=T(a);wr(i,()=>e.children??rr),Z(()=>ur(a,1,`rcb-typography rcb-typography-${t()??""} ${n()?"rcb-typography-branded":""}`,"svelte-y2q9vo")),P(r,a)}var Lb=W("<div><!></div>"),Bb=W('<span style="display: block;"><!></span>'),Rb=W("<!> <!>",1),Ub=W("<!> <!>",1),Vb=W('<div class="rcb-modal-message svelte-1ldqsgm" data-type="error"><!></div>');const Wb={hash:"svelte-1ldqsgm",code:`.rcb-modal-message-icon.svelte-1ldqsgm {flex-shrink:0;align-self:center;margin-right:16px;}.rcb-modal-message.svelte-1ldqsgm {width:100%;min-height:160px;display:flex;justify-content:center;align-items:center;flex-direction:column;text-align:left;margin-top:4px;}.rcb-modal-message[data-has-title="false"].svelte-1ldqsgm {margin-top:var(--rc-spacing-gapXXLarge-mobile);}.rcb-modal-message-icon.small.svelte-1ldqsgm {height:var(--rc-text-headingLg-mobile-font-size);width:var(--rc-text-headingLg-mobile-font-size);}.rcb-modal-message-icon.large.svelte-1ldqsgm {height:calc(2 * var(--rc-text-headingMd-mobile-font-size));width:calc(2 * var(--rc-text-headingMd-mobile-font-size));}
198
+ }`};function qe(r,e){we(r,Ub);const t=J(e,"size",3,"body-base"),n=J(e,"branded",3,!1);var a=Bb(),i=T(a);kr(i,()=>e.children??tr),K(()=>ur(a,1,`rcb-typography rcb-typography-${t()??""} ${n()?"rcb-typography-branded":""}`,"svelte-y2q9vo")),P(r,a)}var Rb=V("<div><!></div>"),Vb=V('<span style="display: block;"><!></span>'),Wb=V("<!> <!>",1),Hb=V("<!> <!>",1),Yb=V('<div class="rcb-modal-message svelte-1ldqsgm" data-type="error"><!></div>');const Gb={hash:"svelte-1ldqsgm",code:`.rcb-modal-message-icon.svelte-1ldqsgm {flex-shrink:0;align-self:center;margin-right:16px;}.rcb-modal-message.svelte-1ldqsgm {width:100%;min-height:160px;display:flex;justify-content:center;align-items:center;flex-direction:column;text-align:left;margin-top:4px;}.rcb-modal-message[data-has-title="false"].svelte-1ldqsgm {margin-top:var(--rc-spacing-gapXXLarge-mobile);}.rcb-modal-message-icon.small.svelte-1ldqsgm {height:var(--rc-text-headingLg-mobile-font-size);width:var(--rc-text-headingLg-mobile-font-size);}.rcb-modal-message-icon.large.svelte-1ldqsgm {height:calc(2 * var(--rc-text-headingMd-mobile-font-size));width:calc(2 * var(--rc-text-headingMd-mobile-font-size));}
199
199
 
200
200
  @container layout-query-container (width >= 768px) {.rcb-modal-message-icon.small.svelte-1ldqsgm {height:var(--rc-text-headingLg-desktop-font-size);width:var(--rc-text-headingLg-desktop-font-size);}.rcb-modal-message-icon.large.svelte-1ldqsgm {height:calc(2 * var(--rc-text-headingMd-desktop-font-size));width:calc(2 * var(--rc-text-headingMd-desktop-font-size));}.rcb-modal-message[data-has-title="false"].svelte-1ldqsgm {margin-top:var(--rc-spacing-gapXXLarge-desktop);}
201
- }`};function Hb(r,e){fe(e,!0),ke(r,Wb);const t=Q(e,"title",3,null),n=Q(e,"icon",3,null),a=32;let i=re(null),s=re(!1),l;Tr(()=>(o(i)&&(l=new ResizeObserver(()=>{var d;j(s,(((d=o(i))==null?void 0:d.offsetHeight)??0)>a)}),l.observe(o(i))),()=>{l==null||l.disconnect()}));var c=Vb(),u=T(c);Mo(u,{gap:"medium",justify:"start",children:(d,p)=>{var _=Ub(),g=ae(_);jb(g,{children:(y,h)=>{var w=Rb(),k=ae(w);{var b=S=>{var q=Lb(),E=T(q);wr(E,n),Z(()=>ur(q,1,`rcb-modal-message-icon ${o(s)?"large":"small"}`,"svelte-1ldqsgm")),P(S,q)};K(k,S=>{n()&&S(b)})}var x=Y(k,2);{var I=S=>{var q=Bb(),E=T(q);qe(E,{size:"heading-md",children:(D,C)=>{var B=je();Z(()=>ve(B,t())),P(D,B)},$$slots:{default:!0}}),ja(q,D=>j(i,D),()=>o(i)),P(S,q)};K(x,S=>{t()&&S(I)})}P(y,w)},$$slots:{default:!0}});var f=Y(g,2);{var v=y=>{qe(y,{size:"body-small",children:(h,w)=>{var k=xe(),b=ae(k);wr(b,()=>e.message??rr),P(h,k)},$$slots:{default:!0}})};K(f,y=>{e.message&&y(v)})}P(d,_)},$$slots:{default:!0}}),Z(()=>be(c,"data-has-title",!!t())),P(r,c),me()}var Yb=W('<div class="rcb-modal-message-icon svelte-1h8pwwr"><!></div>'),Gb=W("<!> <!>",1),Kb=W('<div class="rcb-modal-message svelte-1h8pwwr" data-type="success"><!></div>');const Xb={hash:"svelte-1h8pwwr",code:`.rcb-modal-message-icon.svelte-1h8pwwr {height:54px;width:54px;margin:0 auto;}.rcb-modal-message[data-has-title="false"].svelte-1h8pwwr {margin-top:var(--rc-spacing-gapXXLarge-mobile);}.rcb-modal-message.svelte-1h8pwwr {width:100%;min-height:160px;display:flex;justify-content:center;align-items:center;flex-direction:column;text-align:center;}
201
+ }`};function Kb(r,e){fe(e,!0),we(r,Gb);const t=J(e,"title",3,null),n=J(e,"icon",3,null),a=32;let i=re(null),s=re(!1),l;Cr(()=>(o(i)&&(l=new ResizeObserver(()=>{var d;j(s,(((d=o(i))==null?void 0:d.offsetHeight)??0)>a)}),l.observe(o(i))),()=>{l==null||l.disconnect()}));var c=Yb(),u=T(c);Mo(u,{gap:"medium",justify:"start",children:(d,p)=>{var g=Hb(),_=oe(g);Lb(_,{children:(y,h)=>{var k=Wb(),w=oe(k);{var b=I=>{var z=Rb(),E=T(z);kr(E,n),K(()=>ur(z,1,`rcb-modal-message-icon ${o(s)?"large":"small"}`,"svelte-1ldqsgm")),P(I,z)};Y(w,I=>{n()&&I(b)})}var x=H(w,2);{var S=I=>{var z=Vb(),E=T(z);qe(E,{size:"heading-md",children:(M,C)=>{var B=je();K(()=>ve(B,t())),P(M,B)},$$slots:{default:!0}}),Oa(z,M=>j(i,M),()=>o(i)),P(I,z)};Y(x,I=>{t()&&I(S)})}P(y,k)},$$slots:{default:!0}});var f=H(_,2);{var v=y=>{qe(y,{size:"body-small",children:(h,k)=>{var w=Se(),b=oe(w);kr(b,()=>e.message??tr),P(h,w)},$$slots:{default:!0}})};Y(f,y=>{e.message&&y(v)})}P(d,g)},$$slots:{default:!0}}),K(()=>be(c,"data-has-title",!!t())),P(r,c),me()}var Xb=V('<div class="rcb-modal-message-icon svelte-1h8pwwr"><!></div>'),Zb=V("<!> <!>",1),Jb=V('<div class="rcb-modal-message svelte-1h8pwwr" data-type="success"><!></div>');const Qb={hash:"svelte-1h8pwwr",code:`.rcb-modal-message-icon.svelte-1h8pwwr {height:54px;width:54px;margin:0 auto;}.rcb-modal-message[data-has-title="false"].svelte-1h8pwwr {margin-top:var(--rc-spacing-gapXXLarge-mobile);}.rcb-modal-message.svelte-1h8pwwr {width:100%;min-height:160px;display:flex;justify-content:center;align-items:center;flex-direction:column;text-align:center;}
202
202
 
203
203
  @container layout-query-container (width >= 768px) {.rcb-modal-message[data-has-title="false"].svelte-1h8pwwr {margin-top:var(--rc-spacing-gapXXLarge-desktop);}
204
- }`};function Zb(r,e){ke(r,Xb);const t=Q(e,"title",3,null),n=Q(e,"icon",3,null);var a=Kb(),i=T(a);Mo(i,{gap:"large",justify:"center",children:(s,l)=>{var c=Gb(),u=ae(c);{var d=g=>{var f=Yb(),v=T(f);wr(v,n),P(g,f)};K(u,g=>{n()&&g(d)})}var p=Y(u,2);{var _=g=>{qe(g,{size:"heading-md",children:(f,v)=>{var y=je();Z(()=>ve(y,t())),P(f,y)},$$slots:{default:!0}})};K(p,g=>{t()&&g(_)})}P(s,c)},$$slots:{default:!0}}),Z(()=>be(a,"data-has-title",!!t())),P(r,a)}const Fo="rcb-ui-events-tracker",Bn="branding";var Jb=W("<div><div><!></div> <div><!></div></div>");const Qb={hash:"svelte-clabfx",code:`.message-layout.svelte-clabfx {display:flex;flex-direction:column;}.message-layout-content.svelte-clabfx {flex-grow:1;display:flex;flex-direction:column;justify-content:center;}.message-layout-content-full-width.svelte-clabfx {padding-left:var(--rc-spacing-outerPadding-mobile);padding-right:var(--rc-spacing-outerPadding-mobile);}.message-layout-footer-full-width.svelte-clabfx {padding-left:var(--rc-spacing-outerPadding-mobile);padding-right:var(--rc-spacing-outerPadding-mobile);}
204
+ }`};function $b(r,e){we(r,Qb);const t=J(e,"title",3,null),n=J(e,"icon",3,null);var a=Jb(),i=T(a);Mo(i,{gap:"large",justify:"center",children:(s,l)=>{var c=Zb(),u=oe(c);{var d=_=>{var f=Xb(),v=T(f);kr(v,n),P(_,f)};Y(u,_=>{n()&&_(d)})}var p=H(u,2);{var g=_=>{qe(_,{size:"heading-md",children:(f,v)=>{var y=je();K(()=>ve(y,t())),P(f,y)},$$slots:{default:!0}})};Y(p,_=>{t()&&_(g)})}P(s,c)},$$slots:{default:!0}}),K(()=>be(a,"data-has-title",!!t())),P(r,a)}const zo="rcb-ui-events-tracker",Un="branding";var ek=V("<div><div><!></div> <div><!></div></div>");const rk={hash:"svelte-clabfx",code:`.message-layout.svelte-clabfx {display:flex;flex-direction:column;}.message-layout-content.svelte-clabfx {flex-grow:1;display:flex;flex-direction:column;justify-content:center;}.message-layout-content-full-width.svelte-clabfx {padding-left:var(--rc-spacing-outerPadding-mobile);padding-right:var(--rc-spacing-outerPadding-mobile);}.message-layout-footer-full-width.svelte-clabfx {padding-left:var(--rc-spacing-outerPadding-mobile);padding-right:var(--rc-spacing-outerPadding-mobile);}
205
205
 
206
206
  @container layout-query-container (width < 768px) {.message-layout.svelte-clabfx {flex-grow:1;gap:var(--rc-spacing-gapXXLarge-mobile);}
207
207
  }
@@ -210,14 +210,14 @@ Minimum version required to store current data is: `+C+`.
210
210
  }.message-layout-full-width.svelte-clabfx {width:100%;}
211
211
 
212
212
  @media (min-width: 768px) {.message-layout-full-width.svelte-clabfx {width:544px;}
213
- }`};function Ol(r,e){fe(e,!0),ke(r,Qb);const t=()=>pe(d,"$brandingAppearanceStore",n),[n,a]=Ye();let i=Q(e,"title",3,null),s=Q(e,"closeButtonTitle",3,"Go back to app"),l=Q(e,"icon",3,null),c=Q(e,"message",3,null),u=Q(e,"fullWidth",3,!1);const d=Xe(Bn),p=m(()=>t()??void 0);function _(){e.onDismiss()}var g=Jb();let f;var v=T(g);let y;var h=T(v);Ab(h,{children:(x,I)=>{var S=xe(),q=ae(S);{var E=C=>{Zb(C,{get title(){return i()},get icon(){return l()}})},D=C=>{Hb(C,{get title(){return i()},get icon(){return l()},get message(){return c()}})};K(q,C=>{e.type==="success"?C(E):C(D,!1)})}P(x,S)},$$slots:{default:!0}});var w=Y(v,2);let k;var b=T(w);Tb(b,{children:(x,I)=>{Pp(x,{onclick:_,type:"submit",get brandingAppearance(){return o(p)},children:(S,q)=>{var E=je();Z(()=>ve(E,s())),P(S,E)},$$slots:{default:!0}})},$$slots:{default:!0}}),Z(()=>{f=ur(g,1,"message-layout svelte-clabfx",null,f,{"message-layout-full-width":u()}),y=ur(v,1,"message-layout-content svelte-clabfx",null,y,{"message-layout-content-full-width":u()}),k=ur(w,1,"message-layout-footer svelte-clabfx",null,k,{"message-layout-footer-full-width":u()})}),P(r,g),me(),a()}function ht(r,e){fe(e,!0);const t=()=>pe(s,"$translator",n),[n,a]=Ye(),i=Q(e,"key",3,""),s=Xe(vr),l=m(()=>i()?t().translate(i()||"",e.variables):void 0);var c=xe(),u=ae(c);{var d=_=>{var g=je();Z(()=>ve(g,o(l))),P(_,g)},p=_=>{var g=xe(),f=ae(g);wr(f,()=>e.children??rr),P(_,g)};K(u,_=>{o(l)?_(d):_(p,!1)})}P(r,c),me(),a()}const Ll=7,Ni=30,Bl=365,Oi=4.33,Rl=52,Li=12;function zo(r){switch(r.unit){case Fe.Year:return r.number*Bl;case Fe.Month:return r.number*Ni;case Fe.Week:return r.number*Ll;case Fe.Day:return r.number}}function $b(r){switch(r.unit){case Fe.Year:return r.number*Rl;case Fe.Month:return Math.floor(r.number*Oi);case Fe.Week:return r.number;case Fe.Day:return 0}}function ek(r){switch(r.unit){case Fe.Year:return r.number*Li;case Fe.Month:return r.number;case Fe.Week:case Fe.Day:return 0}}function rk(r){switch(r.unit){case Fe.Year:return r.number;case Fe.Month:case Fe.Week:case Fe.Day:return 0}}function Ul(r,e){const{unit:t,number:n}=r;return{period:e.translatePeriodUnit(t,{noWhitespace:!0})??"",periodAbbreviated:e.translatePeriodUnit(t,{noWhitespace:!0,short:!0})??"",periodWithUnit:e.translatePeriod(n,t)??"",periodInDays:zo(r).toString(),periodInWeeks:$b(r).toString(),periodInMonths:ek(r).toString(),periodInYears:rk(r).toString()}}var tk=W('<p class="footer-caption svelte-1fu2zos"><!></p>'),nk=W('<p class="footer-caption svelte-1fu2zos"><!></p>'),ak=W('<a class="terms-link svelte-1fu2zos" rel="noopener noreferrer" target="_blank"><!></a> <span class="terms-divider svelte-1fu2zos"></span>',1),ok=W("<!> <!>",1),ik=W('<div class="footer-caption-container svelte-1fu2zos"><!> <!> <p class="footer-caption svelte-1fu2zos"><!></p></div>');const sk={hash:"svelte-1fu2zos",code:`.footer-caption-container.svelte-1fu2zos {display:flex;flex-direction:column;gap:var(--rc-spacing-gapLarge-mobile);}.footer-caption.svelte-1fu2zos {color:var(--rc-color-grey-text-light);text-align:center;margin:0;}.terms-link.svelte-1fu2zos {color:inherit;}.terms-divider.svelte-1fu2zos {margin:0 4px;}
213
+ }`};function Ol(r,e){fe(e,!0),we(r,rk);const t=()=>pe(d,"$brandingAppearanceStore",n),[n,a]=He();let i=J(e,"title",3,null),s=J(e,"closeButtonTitle",3,"Go back to app"),l=J(e,"icon",3,null),c=J(e,"message",3,null),u=J(e,"fullWidth",3,!1);const d=Xe(Un),p=m(()=>t()??void 0);function g(){e.onDismiss()}var _=ek();let f;var v=T(_);let y;var h=T(v);Mb(h,{children:(x,S)=>{var I=Se(),z=oe(I);{var E=C=>{$b(C,{get title(){return i()},get icon(){return l()}})},M=C=>{Kb(C,{get title(){return i()},get icon(){return l()},get message(){return c()}})};Y(z,C=>{e.type==="success"?C(E):C(M,!1)})}P(x,I)},$$slots:{default:!0}});var k=H(v,2);let w;var b=T(k);qb(b,{children:(x,S)=>{Sp(x,{onclick:g,type:"submit",get brandingAppearance(){return o(p)},children:(I,z)=>{var E=je();K(()=>ve(E,s())),P(I,E)},$$slots:{default:!0}})},$$slots:{default:!0}}),K(()=>{f=ur(_,1,"message-layout svelte-clabfx",null,f,{"message-layout-full-width":u()}),y=ur(v,1,"message-layout-content svelte-clabfx",null,y,{"message-layout-content-full-width":u()}),w=ur(k,1,"message-layout-footer svelte-clabfx",null,w,{"message-layout-footer-full-width":u()})}),P(r,_),me(),a()}function mt(r,e){fe(e,!0);const t=()=>pe(s,"$translator",n),[n,a]=He(),i=J(e,"key",3,""),s=Xe(vr),l=m(()=>i()?t().translate(i()||"",e.variables):void 0);var c=Se(),u=oe(c);{var d=g=>{var _=je();K(()=>ve(_,o(l))),P(g,_)},p=g=>{var _=Se(),f=oe(_);kr(f,()=>e.children??tr),P(g,_)};Y(u,g=>{o(l)?g(d):g(p,!1)})}P(r,c),me(),a()}const Ll=7,Ni=30,Bl=365,Oi=4.33,Ul=52,Li=12;function jo(r){switch(r.unit){case Me.Year:return r.number*Bl;case Me.Month:return r.number*Ni;case Me.Week:return r.number*Ll;case Me.Day:return r.number}}function tk(r){switch(r.unit){case Me.Year:return r.number*Ul;case Me.Month:return Math.floor(r.number*Oi);case Me.Week:return r.number;case Me.Day:return 0}}function nk(r){switch(r.unit){case Me.Year:return r.number*Li;case Me.Month:return r.number;case Me.Week:case Me.Day:return 0}}function ak(r){switch(r.unit){case Me.Year:return r.number;case Me.Month:case Me.Week:case Me.Day:return 0}}function Rl(r,e){const{unit:t,number:n}=r;return{period:e.translatePeriodUnit(t,{noWhitespace:!0})??"",periodAbbreviated:e.translatePeriodUnit(t,{noWhitespace:!0,short:!0})??"",periodWithUnit:e.translatePeriod(n,t)??"",periodInDays:jo(r).toString(),periodInWeeks:tk(r).toString(),periodInMonths:nk(r).toString(),periodInYears:ak(r).toString()}}var ok=V('<p class="footer-caption svelte-1fu2zos"><!></p>'),ik=V('<p class="footer-caption svelte-1fu2zos"><!></p>'),sk=V('<a class="terms-link svelte-1fu2zos" rel="noopener noreferrer" target="_blank"><!></a> <span class="terms-divider svelte-1fu2zos"></span>',1),lk=V("<!> <!>",1),ck=V('<div class="footer-caption-container svelte-1fu2zos"><!> <!> <p class="footer-caption svelte-1fu2zos"><!></p></div>');const uk={hash:"svelte-1fu2zos",code:`.footer-caption-container.svelte-1fu2zos {display:flex;flex-direction:column;gap:var(--rc-spacing-gapLarge-mobile);}.footer-caption.svelte-1fu2zos {color:var(--rc-color-grey-text-light);text-align:center;margin:0;}.terms-link.svelte-1fu2zos {color:inherit;}.terms-divider.svelte-1fu2zos {margin:0 4px;}
214
214
 
215
215
  @container layout-query-container (width >= 768px) {.footer-caption-container.svelte-1fu2zos {gap:var(--rc-spacing-gapLarge-desktop);}
216
- }`};function lk(r,e){fe(e,!1),ke(r,sk);const t=()=>pe(b,"$translator",n),[n,a]=Ye(),i=cr(),s=cr(),l=cr(),c=cr(),u=cr(),d=cr(),p=cr(),_=cr(),g=cr(),f=cr(),v=cr(),y=cr();let h=Q(e,"brandingInfo",8,null),w=Q(e,"purchaseOption",8,null),k=Q(e,"termsAndConditionsUrl",8,null);const b=Xe(vr);function x(R){return R!=null&&"base"in R}function I(R){return R!=null&&"basePrice"in R}function S(R){return R?R.trial?ie.PaymentEntryPageTrialSubscriptionTermsInfo:ie.PaymentEntryPageSubscriptionTermsInfo:ie.PaymentEntryPageOtpTermsInfo}const q="Discount applied to your subscription. Auto-renews at the discounted rate. Cancel anytime.",E="Discount applies to your first payment only. Subscription auto-renews at the standard rate. Cancel anytime.",D="One-time discount applied. Auto-renews at the standard rate. Cancel anytime.",C="Limited-time discount. Auto-renews at the standard rate. Cancel anytime.";function B(R,$){if($.durationMode!=="time_window")return!1;const ce=R.base.period,de=$.period;if(!ce||!de||$.cycleCount<=0)return!1;const G=zo(ce),V=zo({number:de.number*$.cycleCount,unit:de.unit});return G>0&&V<=G}function F(R){const $=R==null?void 0:R.discount;if(!R||!$)return null;switch($.durationMode){case"forever":return q;case"one_time":return D;case"time_window":return B(R,$)?E:C;default:return null}}fr(()=>He(w()),()=>{j(i,x(w())?w():null)}),fr(()=>He(w()),()=>{j(s,I(w())?w():null)}),fr(()=>o(i),()=>{j(l,S(o(i)))}),fr(()=>o(i),()=>{var R,$,ce;j(c,((R=o(i))==null?void 0:R.discount)??(($=o(i))==null?void 0:$.introPrice)??((ce=o(i))==null?void 0:ce.base)??null)}),fr(()=>(o(s),o(c)),()=>{var R,$,ce,de;j(u,(($=(R=o(s))==null?void 0:R.discount)==null?void 0:$.price)||((ce=o(s))==null?void 0:ce.basePrice)||((de=o(c))==null?void 0:de.price))}),fr(()=>(o(u),t()),()=>{j(d,o(u)?bn(o(u).amountMicros,o(u).currency,t().bcp47Locale||t().fallbackBcp47Locale):null)}),fr(()=>(o(c),t()),()=>{var R,$,ce,de,G;j(p,(R=o(c))!=null&&R.period?t().translatePeriodFrequency(((ce=($=o(c))==null?void 0:$.period)==null?void 0:ce.number)||1,(G=(de=o(c))==null?void 0:de.period)==null?void 0:G.unit,{useMultipleWords:!0}):null)}),fr(()=>(o(i),t(),xo),()=>{var R,$;j(_,($=(R=o(i))==null?void 0:R.trial)!=null&&$.period?t().translateDate(xo(new Date,o(i).trial.period,!0),{year:"numeric",month:"long",day:"numeric"}):null)}),fr(()=>(He(h()),o(u),t(),o(l),o(d),o(p),o(_)),()=>{var R;j(g,h()&&o(u)?t().translate(o(l),{appName:(R=h())==null?void 0:R.app_name,price:o(d),perFrequency:o(p),renewalDate:o(_)}):null)}),fr(()=>o(i),()=>{j(f,F(o(i)))}),fr(()=>(o(f),o(g)),()=>{j(v,o(f)??o(g))}),fr(()=>(o(i),t(),ie),()=>{j(y,o(i)?t().translate(ie.PaymentEntryPageSubscriptionInfo):null)}),Ds(),Dn();var z=ik(),L=T(z);{var A=R=>{var $=tk(),ce=T($);qe(ce,{size:"caption-default",children:(de,G)=>{var V=je();Z(()=>ve(V,o(v))),P(de,V)},$$slots:{default:!0}}),P(R,$)};K(L,R=>{o(v)&&R(A)})}var M=Y(L,2);{var N=R=>{var $=nk(),ce=T($);qe(ce,{size:"caption-default",children:(de,G)=>{var V=je();Z(()=>ve(V,o(y))),P(de,V)},$$slots:{default:!0}}),P(R,$)};K(M,R=>{o(y)&&!o(f)&&R(N)})}var H=Y(M,2),X=T(H);qe(X,{size:"caption-default",children:(R,$)=>{var ce=ok(),de=ae(ce);{var G=O=>{var U=ak(),te=ae(U),ue=T(te);ht(ue,{get key(){return He(ie),Ue(()=>ie.PaymentEntryPageTermsLinkLabel)}});var Se=Y(te,2);Se.textContent="|",Z(()=>be(te,"href",k())),P(O,U)};K(de,O=>{k()&&O(G)})}var V=Y(de,2);ht(V,{get key(){return He(ie),Ue(()=>ie.PaymentEntryPagePaymentStepTitle)}}),P(R,ce)},$$slots:{default:!0}}),P(r,z),me(),a()}var ct=(r=>(r.SDKInitialized="sdk_initialized",r.CheckoutSessionStart="checkout_session_start",r.CheckoutSessionEnd="checkout_session_end",r.CheckoutFlowError="checkout_flow_error",r.CheckoutPaymentTaxCalculation="checkout_payment_tax_calculation",r.CheckoutPaymentFormImpression="checkout_payment_form_impression",r.CheckoutPaymentFormError="checkout_payment_form_error",r.CheckoutPaymentFormDismiss="checkout_payment_form_dismiss",r.CheckoutPaymentFormSubmit="checkout_payment_form_submit",r.CheckoutPaymentFormGatewayError="checkout_payment_form_gateway_error",r.CheckoutPurchaseSuccessfulImpression="checkout_purchase_successful_impression",r.CheckoutPurchaseSuccessfulDismiss="checkout_purchase_successful_dismiss",r))(ct||{});function xp(r){const e={};for(const t in r)if(Object.prototype.hasOwnProperty.call(r,t)){const n=t.replace(/([A-Z])/g,"_$1").toLowerCase(),a=r[t];a&&typeof a=="object"&&!Array.isArray(a)?e[n]=xp(a):e[n]=a}return e}function Ep(r){for(let e=0;e<r.length;e++)r[e]=Math.floor(Math.random()*256)}function da(){const r=typeof crypto<"u"?crypto:globalThis.crypto;if(r&&r.randomUUID)return r.randomUUID();const e=new Uint8Array(16);try{r&&r.getRandomValues?r.getRandomValues(e):Ep(e)}catch(n){console.log(`Error using crypto.getRandomValues(), falling back to Math.random. + ${n}`),Ep(e)}e[6]=e[6]&15|64,e[8]=e[8]&63|128;const t=Array.from(e).map(n=>n.toString(16).padStart(2,"0"));return[t.slice(0,4).join(""),t.slice(4,6).join(""),t.slice(6,8).join(""),t.slice(8,10).join(""),t.slice(10,16).join("")].join("-")}const rt="sdk_checkout";class ck{constructor(e){ee(this,"EVENT_TYPE","web_billing");ee(this,"id");ee(this,"timestampMs");ee(this,"data");this.id=da(),this.timestampMs=Date.now(),this.data=e}toJSON(){return xp({id:this.id,timestampMs:this.timestampMs,type:this.EVENT_TYPE,eventName:this.data.eventName,appUserId:this.data.appUserId,context:{...this.data.context},properties:{...this.data.properties,traceId:this.data.traceId,...this.data.workflowIdentifier!==void 0?{workflowIdentifier:this.data.workflowIdentifier}:{}}})}}function Sp({errorCode:r,errorMessage:e,mode:t=rt}){return{eventName:ct.CheckoutFlowError,properties:{mode:t,errorCode:r,errorMessage:e}}}function uk({errorCode:r,errorMessage:e,mode:t=rt}){return{eventName:ct.CheckoutPaymentFormError,properties:{mode:t,errorCode:r,errorMessage:e}}}function Bi({appearance:r,rcPackage:e,purchaseOptionToUse:t,customerEmail:n,mode:a=rt}){return{eventName:ct.CheckoutSessionStart,properties:{mode:a,customizationColorButtonsPrimary:(r==null?void 0:r.color_buttons_primary)??null,customizationColorAccent:(r==null?void 0:r.color_accent)??null,customizationColorError:(r==null?void 0:r.color_error)??null,customizationColorProductInfoBg:(r==null?void 0:r.color_product_info_bg)??null,customizationColorFormBg:(r==null?void 0:r.color_form_bg)??null,customizationColorPageBg:(r==null?void 0:r.color_page_bg)??null,customizationFont:(r==null?void 0:r.font)??null,customizationShapes:(r==null?void 0:r.shapes)??null,customizationShowProductDescription:(r==null?void 0:r.show_product_description)??null,productInterval:e.webBillingProduct.normalPeriodDuration,productPrice:e.webBillingProduct.price.amountMicros,productCurrency:e.webBillingProduct.price.currency,selectedProductId:e.webBillingProduct.identifier,selectedPackageId:e.identifier,selectedPurchaseOption:t.id,customerEmailProvidedByDeveloper:!!n}}}function Ip({redemptionInfo:r,mode:e=rt}){return{eventName:ct.CheckoutSessionEnd,properties:{mode:e,outcome:"finished",withRedemptionInfo:!!r}}}function Cp(r){return{eventName:ct.CheckoutSessionEnd,properties:{mode:(r==null?void 0:r.mode)??rt,outcome:"closed"}}}function Tp({errorCode:r,errorMessage:e,mode:t=rt}){return{eventName:ct.CheckoutSessionEnd,properties:{mode:t,outcome:"errored",errorCode:r,errorMessage:e}}}function Dp({taxCalculation:r,taxCustomerDetails:e,mode:t=rt}){const n=r.failed_reason===yn.tax_collection_disabled?"disabled":r.failed_reason?"failed":r.tax_amount_in_micros===0?"not-taxed":"taxed",a=e===null?"auto":"form";return{eventName:ct.CheckoutPaymentTaxCalculation,properties:{mode:t,outcome:n,ui_element:a,tax_inclusive:r.tax_inclusive,error_code:r.failed_reason??null}}}function Ap({selectedPaymentMethod:r,mode:e=rt}){return{eventName:ct.CheckoutPaymentFormSubmit,properties:{mode:e,selectedPaymentMethod:r??null}}}function Vl({errorCode:r,errorMessage:e,mode:t=rt}){return{eventName:ct.CheckoutPaymentFormGatewayError,properties:{mode:t,errorCode:r,errorMessage:e}}}function dk(r,e=rt){return{eventName:ct.CheckoutPurchaseSuccessfulDismiss,properties:{mode:e,ui_element:r}}}function pk(r=rt){return{eventName:ct.CheckoutPurchaseSuccessfulImpression,properties:{mode:r}}}const _k=`<svg width="80" height="80" viewBox="0 0 24 24" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
216
+ }`};function dk(r,e){fe(e,!1),we(r,uk);const t=()=>pe(b,"$translator",n),[n,a]=He(),i=cr(),s=cr(),l=cr(),c=cr(),u=cr(),d=cr(),p=cr(),g=cr(),_=cr(),f=cr(),v=cr(),y=cr();let h=J(e,"brandingInfo",8,null),k=J(e,"purchaseOption",8,null),w=J(e,"termsAndConditionsUrl",8,null);const b=Xe(vr);function x(R){return R!=null&&"base"in R}function S(R){return R!=null&&"basePrice"in R}function I(R){return R?R.trial?le.PaymentEntryPageTrialSubscriptionTermsInfo:le.PaymentEntryPageSubscriptionTermsInfo:le.PaymentEntryPageOtpTermsInfo}const z="Discount applied to your subscription. Auto-renews at the discounted rate. Cancel anytime.",E="Discount applies to your first payment only. Subscription auto-renews at the standard rate. Cancel anytime.",M="One-time discount applied. Auto-renews at the standard rate. Cancel anytime.",C="Limited-time discount. Auto-renews at the standard rate. Cancel anytime.";function B(R,$){if($.durationMode!=="time_window")return!1;const ue=R.base.period,de=$.period;if(!ue||!de||$.cycleCount<=0)return!1;const te=jo(ue),X=jo({number:de.number*$.cycleCount,unit:de.unit});return te>0&&X<=te}function O(R){const $=R==null?void 0:R.discount;if(!R||!$)return null;switch($.durationMode){case"forever":return z;case"one_time":return M;case"time_window":return B(R,$)?E:C;default:return null}}fr(()=>We(k()),()=>{j(i,x(k())?k():null)}),fr(()=>We(k()),()=>{j(s,S(k())?k():null)}),fr(()=>o(i),()=>{j(l,I(o(i)))}),fr(()=>o(i),()=>{var R,$,ue;j(c,((R=o(i))==null?void 0:R.discount)??(($=o(i))==null?void 0:$.introPrice)??((ue=o(i))==null?void 0:ue.base)??null)}),fr(()=>(o(s),o(c)),()=>{var R,$,ue,de;j(u,(($=(R=o(s))==null?void 0:R.discount)==null?void 0:$.price)||((ue=o(s))==null?void 0:ue.basePrice)||((de=o(c))==null?void 0:de.price))}),fr(()=>(o(u),t()),()=>{j(d,o(u)?bn(o(u).amountMicros,o(u).currency,t().bcp47Locale||t().fallbackBcp47Locale):null)}),fr(()=>(o(c),t()),()=>{var R,$,ue,de,te;j(p,(R=o(c))!=null&&R.period?t().translatePeriodFrequency(((ue=($=o(c))==null?void 0:$.period)==null?void 0:ue.number)||1,(te=(de=o(c))==null?void 0:de.period)==null?void 0:te.unit,{useMultipleWords:!0}):null)}),fr(()=>(o(i),t(),Eo),()=>{var R,$;j(g,($=(R=o(i))==null?void 0:R.trial)!=null&&$.period?t().translateDate(Eo(new Date,o(i).trial.period,!0),{year:"numeric",month:"long",day:"numeric"}):null)}),fr(()=>(We(h()),o(u),t(),o(l),o(d),o(p),o(g)),()=>{var R;j(_,h()&&o(u)?t().translate(o(l),{appName:(R=h())==null?void 0:R.app_name,price:o(d),perFrequency:o(p),renewalDate:o(g)}):null)}),fr(()=>o(i),()=>{j(f,O(o(i)))}),fr(()=>(o(f),o(_)),()=>{j(v,o(f)??o(_))}),fr(()=>(o(i),t(),le),()=>{j(y,o(i)?t().translate(le.PaymentEntryPageSubscriptionInfo):null)}),Ds(),An();var q=ck(),L=T(q);{var F=R=>{var $=ok(),ue=T($);qe(ue,{size:"caption-default",children:(de,te)=>{var X=je();K(()=>ve(X,o(v))),P(de,X)},$$slots:{default:!0}}),P(R,$)};Y(L,R=>{o(v)&&R(F)})}var A=H(L,2);{var N=R=>{var $=ik(),ue=T($);qe(ue,{size:"caption-default",children:(de,te)=>{var X=je();K(()=>ve(X,o(y))),P(de,X)},$$slots:{default:!0}}),P(R,$)};Y(A,R=>{o(y)&&!o(f)&&R(N)})}var W=H(A,2),G=T(W);qe(G,{size:"caption-default",children:(R,$)=>{var ue=lk(),de=oe(ue);{var te=D=>{var U=sk(),ee=oe(U),ie=T(ee);mt(ie,{get key(){return We(le),Re(()=>le.PaymentEntryPageTermsLinkLabel)}});var Pe=H(ee,2);Pe.textContent="|",K(()=>be(ee,"href",w())),P(D,U)};Y(de,D=>{w()&&D(te)})}var X=H(de,2);mt(X,{get key(){return We(le),Re(()=>le.PaymentEntryPagePaymentStepTitle)}}),P(R,ue)},$$slots:{default:!0}}),P(r,q),me(),a()}var lt=(r=>(r.SDKInitialized="sdk_initialized",r.CheckoutSessionStart="checkout_session_start",r.CheckoutSessionEnd="checkout_session_end",r.CheckoutFlowError="checkout_flow_error",r.CheckoutPaymentTaxCalculation="checkout_payment_tax_calculation",r.CheckoutPaymentFormImpression="checkout_payment_form_impression",r.CheckoutPaymentFormError="checkout_payment_form_error",r.CheckoutPaymentFormDismiss="checkout_payment_form_dismiss",r.CheckoutPaymentFormSubmit="checkout_payment_form_submit",r.CheckoutPaymentFormGatewayError="checkout_payment_form_gateway_error",r.CheckoutPurchaseSuccessfulImpression="checkout_purchase_successful_impression",r.CheckoutPurchaseSuccessfulDismiss="checkout_purchase_successful_dismiss",r))(lt||{});function Ip(r){const e={};for(const t in r)if(Object.prototype.hasOwnProperty.call(r,t)){const n=t.replace(/([A-Z])/g,"_$1").toLowerCase(),a=r[t];a&&typeof a=="object"&&!Array.isArray(a)?e[n]=Ip(a):e[n]=a}return e}function Cp(r){for(let e=0;e<r.length;e++)r[e]=Math.floor(Math.random()*256)}function pa(){const r=typeof crypto<"u"?crypto:globalThis.crypto;if(r&&r.randomUUID)return r.randomUUID();const e=new Uint8Array(16);try{r&&r.getRandomValues?r.getRandomValues(e):Cp(e)}catch(n){console.log(`Error using crypto.getRandomValues(), falling back to Math.random. + ${n}`),Cp(e)}e[6]=e[6]&15|64,e[8]=e[8]&63|128;const t=Array.from(e).map(n=>n.toString(16).padStart(2,"0"));return[t.slice(0,4).join(""),t.slice(4,6).join(""),t.slice(6,8).join(""),t.slice(8,10).join(""),t.slice(10,16).join("")].join("-")}const et="sdk_checkout";class pk{constructor(e){Q(this,"EVENT_TYPE","web_billing");Q(this,"id");Q(this,"timestampMs");Q(this,"data");this.id=pa(),this.timestampMs=Date.now(),this.data=e}toJSON(){return Ip({id:this.id,timestampMs:this.timestampMs,type:this.EVENT_TYPE,eventName:this.data.eventName,appUserId:this.data.appUserId,context:{...this.data.context},properties:{...this.data.properties,traceId:this.data.traceId,...this.data.workflowIdentifier!==void 0?{workflowIdentifier:this.data.workflowIdentifier}:{}}})}}function Tp({errorCode:r,errorMessage:e,mode:t=et}){return{eventName:lt.CheckoutFlowError,properties:{mode:t,errorCode:r,errorMessage:e}}}function _k({errorCode:r,errorMessage:e,mode:t=et}){return{eventName:lt.CheckoutPaymentFormError,properties:{mode:t,errorCode:r,errorMessage:e}}}function Bi({appearance:r,rcPackage:e,purchaseOptionToUse:t,customerEmail:n,mode:a=et}){return{eventName:lt.CheckoutSessionStart,properties:{mode:a,customizationColorButtonsPrimary:(r==null?void 0:r.color_buttons_primary)??null,customizationColorAccent:(r==null?void 0:r.color_accent)??null,customizationColorError:(r==null?void 0:r.color_error)??null,customizationColorProductInfoBg:(r==null?void 0:r.color_product_info_bg)??null,customizationColorFormBg:(r==null?void 0:r.color_form_bg)??null,customizationColorPageBg:(r==null?void 0:r.color_page_bg)??null,customizationFont:(r==null?void 0:r.font)??null,customizationShapes:(r==null?void 0:r.shapes)??null,customizationShowProductDescription:(r==null?void 0:r.show_product_description)??null,productInterval:e.webBillingProduct.normalPeriodDuration,productPrice:e.webBillingProduct.price.amountMicros,productCurrency:e.webBillingProduct.price.currency,selectedProductId:e.webBillingProduct.identifier,selectedPackageId:e.identifier,selectedPurchaseOption:t.id,customerEmailProvidedByDeveloper:!!n}}}function Dp({redemptionInfo:r,mode:e=et}){return{eventName:lt.CheckoutSessionEnd,properties:{mode:e,outcome:"finished",withRedemptionInfo:!!r}}}function Ap(r){return{eventName:lt.CheckoutSessionEnd,properties:{mode:(r==null?void 0:r.mode)??et,outcome:"closed"}}}function qp({errorCode:r,errorMessage:e,mode:t=et}){return{eventName:lt.CheckoutSessionEnd,properties:{mode:t,outcome:"errored",errorCode:r,errorMessage:e}}}function Fp({taxCalculation:r,taxCustomerDetails:e,mode:t=et}){const n=r.failed_reason===yn.tax_collection_disabled?"disabled":r.failed_reason?"failed":r.tax_amount_in_micros===0?"not-taxed":"taxed",a=e===null?"auto":"form";return{eventName:lt.CheckoutPaymentTaxCalculation,properties:{mode:t,outcome:n,ui_element:a,tax_inclusive:r.tax_inclusive,error_code:r.failed_reason??null}}}function Mp({selectedPaymentMethod:r,mode:e=et}){return{eventName:lt.CheckoutPaymentFormSubmit,properties:{mode:e,selectedPaymentMethod:r??null}}}function Vl({errorCode:r,errorMessage:e,mode:t=et}){return{eventName:lt.CheckoutPaymentFormGatewayError,properties:{mode:t,errorCode:r,errorMessage:e}}}function gk(r,e=et){return{eventName:lt.CheckoutPurchaseSuccessfulDismiss,properties:{mode:e,ui_element:r}}}function fk(r=et){return{eventName:lt.CheckoutPurchaseSuccessfulImpression,properties:{mode:r}}}const mk=`<svg width="80" height="80" viewBox="0 0 24 24" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
217
217
  <g transform="scale(0.5)" transform-origin="center">
218
218
  <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"/>
219
219
  </g>
220
- </svg>`;var gk=W('<div class="rcb-ui-asset-icon svelte-6k29hu"><!></div>');const fk={hash:"svelte-6k29hu",code:`
220
+ </svg>`;var hk=V('<div class="rcb-ui-asset-icon svelte-6k29hu"><!></div>');const vk={hash:"svelte-6k29hu",code:`
221
221
  @-webkit-keyframes svelte-6k29hu-rotating /* Safari and Chrome */ {
222
222
  from {
223
223
  -webkit-transform: rotate(0deg);
@@ -250,28 +250,28 @@ Minimum version required to store current data is: `+C+`.
250
250
  -moz-animation: svelte-6k29hu-rotating 2s ease-in-out infinite;
251
251
  -ms-animation: svelte-6k29hu-rotating 2s ease-in-out infinite;
252
252
  -o-animation: svelte-6k29hu-rotating 2s ease-in-out infinite;
253
- animation: svelte-6k29hu-rotating 2s ease-in-out infinite;}`};function Ri(r,e){ke(r,fk);const t=Q(e,"color",3,"var(--rc-color-accent)");var n=gk(),a=T(n);fn(a,()=>_k),Z(()=>De(n,`color:${t()??""};`)),P(r,n)}var mk=W('<div class="rcb-modal-loader svelte-rhstd0"><!></div>');const hk={hash:"svelte-rhstd0",code:`.rcb-modal-loader.svelte-rhstd0 {width:100%;flex-grow:1;display:flex;justify-content:center;align-items:center;}
253
+ animation: svelte-6k29hu-rotating 2s ease-in-out infinite;}`};function Ui(r,e){we(r,vk);const t=J(e,"color",3,"var(--rc-color-accent)");var n=hk(),a=T(n);fn(a,()=>mk),K(()=>De(n,`color:${t()??""};`)),P(r,n)}var yk=V('<div class="rcb-modal-loader svelte-rhstd0"><!></div>');const bk={hash:"svelte-rhstd0",code:`.rcb-modal-loader.svelte-rhstd0 {width:100%;flex-grow:1;display:flex;justify-content:center;align-items:center;}
254
254
 
255
255
  @container layout-query-container (width >= 768px) {.rcb-modal-loader.svelte-rhstd0 {align-items:flex-start;margin-top:calc(var(--rc-spacing-gapXXLarge-desktop) * 6);}
256
- }`};function qp(r){ke(r,hk);var e=mk(),t=T(e);Ri(t,{}),P(r,e)}function vk(r,e){var _,g;fe(e,!0);const t=()=>pe(l,"$brandingAppearanceStore",a),n=()=>pe(s,"$translator",a),[a,i]=Ye(),s=Xe(vr),l=Xe(Bn),c=m(()=>t()??void 0),u=m(()=>e.priceBreakdown?n().formatPrice(e.priceBreakdown.totalAmountInMicros,e.priceBreakdown.currency):null),d=(g=(_=e.subscriptionOption)==null?void 0:_.trial)==null?void 0:g.period,p=m(()=>d?n().translatePeriod(d.number,d.unit):null);Pp(r,{get disabled(){return e.disabled},testId:"PayButton",get brandingAppearance(){return o(c)},children:(f,v)=>{var y=xe(),h=ae(y);{var w=b=>{{let x=m(()=>({trialPeriodLabel:o(p)}));ht(b,{get key(){return ie.PaymentEntryPageButtonStartTrial},get variables(){return o(x)}})}},k=b=>{var x=xe(),I=ae(x);{var S=E=>{{let D=m(()=>({formattedPrice:o(u)}));ht(E,{get key(){return ie.PaymentEntryPageButtonWithPrice},get variables(){return o(D)}})}},q=E=>{ht(E,{get key(){return ie.PaymentEntryPageButtonPay}})};K(I,E=>{o(u)?E(S):E(q,!1)},!0)}P(b,x)};K(h,b=>{var x;(x=e.subscriptionOption)!=null&&x.trial?b(w):b(k,!1)})}P(f,y)},$$slots:{default:!0}}),me(),i()}function jo(r){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?jo=function(e){return typeof e}:jo=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},jo(r)}var Mp="dahlia",yk=function(e){return e===3?"v3":e},Fp="https://js.stripe.com",bk="".concat(Fp,"/").concat(Mp,"/stripe.js"),kk=/^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/,wk=/^https:\/\/js\.stripe\.com\/(v3|[a-z]+)\/stripe\.js(\?.*)?$/,zp="loadStripe.setLoadParameters was called but an existing Stripe.js script already exists in the document; existing script parameters will be used",Pk=function(e){return kk.test(e)||wk.test(e)},xk=function(){for(var e=document.querySelectorAll('script[src^="'.concat(Fp,'"]')),t=0;t<e.length;t++){var n=e[t];if(Pk(n.src))return n}return null},jp=function(e){var t=e&&!e.advancedFraudSignals?"?advancedFraudSignals=false":"",n=document.createElement("script");n.src="".concat(bk).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},Ek=function(e,t){!e||!e._registerWrapper||e._registerWrapper({name:"stripe-js",version:"9.7.0",startTime:t})},No=null,Ui=null,Vi=null,Sk=function(e){return function(t){e(new Error("Failed to load Stripe.js",{cause:t}))}},Ik=function(e,t){return function(){window.Stripe?e(window.Stripe):t(new Error("Stripe.js not available"))}},Ck=function(e){return No!==null?No:(No=new Promise(function(t,n){if(typeof window>"u"||typeof document>"u"){t(null);return}if(window.Stripe&&e&&console.warn(zp),window.Stripe){t(window.Stripe);return}try{var a=xk();if(a&&e)console.warn(zp);else if(!a)a=jp(e);else if(a&&Vi!==null&&Ui!==null){var i;a.removeEventListener("load",Vi),a.removeEventListener("error",Ui),(i=a.parentNode)===null||i===void 0||i.removeChild(a),a=jp(e)}Vi=Ik(t,n),Ui=Sk(n),a.addEventListener("load",Vi),a.addEventListener("error",Ui)}catch(s){n(s);return}}),No.catch(function(t){return No=null,Promise.reject(t)}))},Tk=function(e,t,n){if(e===null)return null;var a=t[0];if(typeof a!="string")throw new Error("Expected publishable key to be of type string, got type ".concat(jo(a)," instead."));var i=a.match(/^pk_test/),s=yk(e.version),l=Mp;i&&s!==l&&console.warn("Stripe.js@".concat(s," was loaded on the page, but @stripe/stripe-js@").concat("9.7.0"," expected Stripe.js@").concat(l,". This may result in unexpected behavior. For more information, see https://docs.stripe.com/sdks/stripejs-versioning"));var c=e.apply(void 0,t);return Ek(c,n),c},Np=function(e){var t=`invalid load parameters; expected object of shape
256
+ }`};function zp(r){we(r,bk);var e=yk(),t=T(e);Ui(t,{}),P(r,e)}function kk(r,e){var g,_;fe(e,!0);const t=()=>pe(l,"$brandingAppearanceStore",a),n=()=>pe(s,"$translator",a),[a,i]=He(),s=Xe(vr),l=Xe(Un),c=m(()=>t()??void 0),u=m(()=>e.priceBreakdown?n().formatPrice(e.priceBreakdown.totalAmountInMicros,e.priceBreakdown.currency):null),d=(_=(g=e.subscriptionOption)==null?void 0:g.trial)==null?void 0:_.period,p=m(()=>d?n().translatePeriod(d.number,d.unit):null);Sp(r,{get disabled(){return e.disabled},testId:"PayButton",get brandingAppearance(){return o(c)},children:(f,v)=>{var y=Se(),h=oe(y);{var k=b=>{{let x=m(()=>({trialPeriodLabel:o(p)}));mt(b,{get key(){return le.PaymentEntryPageButtonStartTrial},get variables(){return o(x)}})}},w=b=>{var x=Se(),S=oe(x);{var I=E=>{{let M=m(()=>({formattedPrice:o(u)}));mt(E,{get key(){return le.PaymentEntryPageButtonWithPrice},get variables(){return o(M)}})}},z=E=>{mt(E,{get key(){return le.PaymentEntryPageButtonPay}})};Y(S,E=>{o(u)?E(I):E(z,!1)},!0)}P(b,x)};Y(h,b=>{var x;(x=e.subscriptionOption)!=null&&x.trial?b(k):b(w,!1)})}P(f,y)},$$slots:{default:!0}}),me(),i()}function No(r){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?No=function(e){return typeof e}:No=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},No(r)}var jp="dahlia",wk=function(e){return e===3?"v3":e},Np="https://js.stripe.com",Pk="".concat(Np,"/").concat(jp,"/stripe.js"),xk=/^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/,Ek=/^https:\/\/js\.stripe\.com\/(v3|[a-z]+)\/stripe\.js(\?.*)?$/,Op="loadStripe.setLoadParameters was called but an existing Stripe.js script already exists in the document; existing script parameters will be used",Sk=function(e){return xk.test(e)||Ek.test(e)},Ik=function(){for(var e=document.querySelectorAll('script[src^="'.concat(Np,'"]')),t=0;t<e.length;t++){var n=e[t];if(Sk(n.src))return n}return null},Lp=function(e){var t=e&&!e.advancedFraudSignals?"?advancedFraudSignals=false":"",n=document.createElement("script");n.src="".concat(Pk).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},Ck=function(e,t){!e||!e._registerWrapper||e._registerWrapper({name:"stripe-js",version:"9.7.0",startTime:t})},Oo=null,Ri=null,Vi=null,Tk=function(e){return function(t){e(new Error("Failed to load Stripe.js",{cause:t}))}},Dk=function(e,t){return function(){window.Stripe?e(window.Stripe):t(new Error("Stripe.js not available"))}},Ak=function(e){return Oo!==null?Oo:(Oo=new Promise(function(t,n){if(typeof window>"u"||typeof document>"u"){t(null);return}if(window.Stripe&&e&&console.warn(Op),window.Stripe){t(window.Stripe);return}try{var a=Ik();if(a&&e)console.warn(Op);else if(!a)a=Lp(e);else if(a&&Vi!==null&&Ri!==null){var i;a.removeEventListener("load",Vi),a.removeEventListener("error",Ri),(i=a.parentNode)===null||i===void 0||i.removeChild(a),a=Lp(e)}Vi=Dk(t,n),Ri=Tk(n),a.addEventListener("load",Vi),a.addEventListener("error",Ri)}catch(s){n(s);return}}),Oo.catch(function(t){return Oo=null,Promise.reject(t)}))},qk=function(e,t,n){if(e===null)return null;var a=t[0];if(typeof a!="string")throw new Error("Expected publishable key to be of type string, got type ".concat(No(a)," instead."));var i=a.match(/^pk_test/),s=wk(e.version),l=jp;i&&s!==l&&console.warn("Stripe.js@".concat(s," was loaded on the page, but @stripe/stripe-js@").concat("9.7.0"," expected Stripe.js@").concat(l,". This may result in unexpected behavior. For more information, see https://docs.stripe.com/sdks/stripejs-versioning"));var c=e.apply(void 0,t);return Ck(c,n),c},Bp=function(e){var t=`invalid load parameters; expected object of shape
257
257
 
258
258
  {advancedFraudSignals: boolean}
259
259
 
260
260
  but received
261
261
 
262
262
  `.concat(JSON.stringify(e),`
263
- `);if(e===null||jo(e)!=="object")throw new Error(t);if(Object.keys(e).length===1&&typeof e.advancedFraudSignals=="boolean")return e;throw new Error(t)},Wi,Wl=!1,Op=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];Wl=!0;var a=Date.now();return Ck(Wi).then(function(i){return Tk(i,t,a)})};Op.setLoadParameters=function(r){if(Wl&&Wi){var e=Np(r),t=Object.keys(e),n=t.reduce(function(a,i){var s;return a&&r[i]===((s=Wi)===null||s===void 0?void 0:s[i])},!0);if(n)return}if(Wl)throw new Error("You cannot change load parameters after calling loadStripe");Wi=Np(r)};const Dk={error:"#B0171F",warning:"#f4e971",focus:"#1148B8",accent:"#767676",primary:"#576CDB","primary-hover":"rgba(87, 108, 219, .8)","primary-pressed":"rgba(87, 108, 219, .9)","primary-text":"#ffffff",white:"#ffffff","grey-text-dark":"rgba(0,0,0,1)","grey-text-light":"rgba(0,0,0,0.7)","grey-ui-dark":"rgba(0,0,0,0.3)","grey-ui-light":"rgba(0,0,0,0.1)","input-background":"white",background:"white"},Ak={error:"#B0171F",warning:"#f4e971",focus:"#1148B8",accent:"#767676",primary:"#576CDB","primary-hover":"rgba(87, 108, 219, .8)","primary-pressed":"rgba(87, 108, 219, .9)","primary-text":"#ffffff",white:"#ffffff","grey-text-dark":"rgba(0,0,0,1)","grey-text-light":"rgba(0,0,0,0.7)","grey-ui-dark":"rgba(0,0,0,0.3)","grey-ui-light":"rgba(0,0,0,0.1)","input-background":"white",background:"#EFF3FA"},qk={error:"#B0171F",warning:"#f4e971",focus:"#1148B8",accent:"#767676",primary:"#576CDB","primary-hover":"rgba(87, 108, 219, .8)","primary-pressed":"rgba(87, 108, 219, .9)","primary-text":"#ffffff",white:"#ffffff","grey-text-dark":"rgba(0,0,0,1)","grey-text-light":"rgba(0,0,0,0.7)","grey-ui-dark":"rgba(0,0,0,0.3)","grey-ui-light":"rgba(0,0,0,0.1)","input-background":"white",background:"#ffffff"},Hl={error:"color_error",focus:"color_accent",accent:"color_accent",primary:"color_buttons_primary"},Mk={...Hl,"input-background":"color_form_bg",background:"color_form_bg"},Fk={...Hl,"input-background":"color_product_info_bg",background:"color_product_info_bg"},zk={...Hl,"input-background":"color_page_bg",background:"color_page_bg"},Lp={"input-border-radius":"4px","input-button-border-radius":"8px"},jk={"input-border-radius":"0px","input-button-border-radius":"0px"},Nk={"input-border-radius":"12px","input-button-border-radius":"9999px"},Bp=Lp,Oo="-apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Cantarell, Ubuntu, roboto, noto, arial, sans-serif",Rp="BrandCustomFont",Up=`${Rp}, ${Oo}`,Jt={regular:"400",medium:"500",semibold:"600"},Ct={12:"12px",14:"14px",16:"16px",18:"18px",24:"24px",28:"28px",32:"32px",36:"36px"},Qt={130:"130%",140:"140%"},$t={tight:"0.20%",regular:"0",loose:"0.20%"},Ar={heading2xl:{fontSize:Ct[28],lineHeight:Qt[130],fontWeight:Jt.semibold,letterSpacing:$t.loose},headingXl:{fontSize:Ct[24],lineHeight:Qt[130],fontWeight:Jt.semibold,letterSpacing:$t.loose},headingLg:{fontSize:"20px",lineHeight:Qt[130],fontWeight:Jt.semibold,letterSpacing:$t.loose},headingMd:{fontSize:"16px",lineHeight:Qt[140],fontWeight:Jt.medium,letterSpacing:$t.regular},bodyBase:{fontSize:Ct[16],lineHeight:Qt[140],fontWeight:Jt.regular,letterSpacing:$t.regular},bodySmall:{fontSize:Ct[14],lineHeight:Qt[140],fontWeight:Jt.regular,letterSpacing:$t.regular},labelButton:{fontSize:Ct[16],lineHeight:Qt[140],fontWeight:Jt.semibold,letterSpacing:$t.tight},labelDefault:{fontSize:Ct[14],lineHeight:Qt[140],fontWeight:Jt.regular,letterSpacing:$t.tight},captionDefault:{fontSize:Ct[12],lineHeight:Qt[140],fontWeight:Jt.regular,letterSpacing:$t.regular},captionLink:{fontSize:Ct[12],lineHeight:Qt[140],fontWeight:Jt.regular,letterSpacing:$t.regular}},en={heading2xl:{...Ar.heading2xl,fontSize:Ct[36]},headingXl:{...Ar.headingXl,fontSize:Ct[32]},headingLg:{...Ar.headingLg,fontSize:Ct[24]},headingMd:{...Ar.headingMd,fontSize:Ct[18]},bodyBase:{...Ar.bodyBase},bodySmall:{...Ar.bodySmall},labelButton:{...Ar.labelButton},labelDefault:{...Ar.labelDefault},captionDefault:{...Ar.captionDefault},captionLink:{...Ar.captionLink}},Yl={heading2xl:{mobile:Ar.heading2xl,desktop:en.heading2xl},headingXl:{desktop:en.headingXl,mobile:Ar.headingXl},headingLg:{desktop:en.headingLg,mobile:Ar.headingLg},headingMd:{desktop:en.headingMd,mobile:Ar.headingMd},bodyBase:{desktop:en.bodyBase,mobile:Ar.bodyBase},bodySmall:{desktop:en.bodySmall,mobile:Ar.bodySmall},labelButton:{desktop:en.labelButton,mobile:Ar.labelButton},labelDefault:{desktop:en.labelDefault,mobile:Ar.labelDefault},captionDefault:{desktop:en.captionDefault,mobile:Ar.captionDefault},captionLink:{desktop:en.captionLink,mobile:Ar.captionLink}},Wa=r=>r.length==7?{r:parseInt(r.slice(1,3),16),g:parseInt(r.slice(3,5),16),b:parseInt(r.slice(5,7),16)}:r.length==4?{r:parseInt(r[1],16),g:parseInt(r[2],16),b:parseInt(r[3],16)}:null,Hi=({r,g:e,b:t,luminanceThreshold:n})=>{const a=s=>(s=s/255,s<=.03928?s/12.92:Math.pow((s+.055)/1.055,2.4));return .2126*a(r)+.7152*a(e)+.0722*a(t)>n},Yi=.37,Ok=(r,e=Yi)=>{const t=Wa(r);return t?Hi({...t,luminanceThreshold:e}):!0},Lk=(r,e=Yi)=>{const t=Hi({...r,luminanceThreshold:e})?"0,0,0":"255,255,255";return{"grey-text-dark":`rgb(${t})`,"grey-text-light":`rgba(${t},0.70)`,"grey-ui-dark":`rgba(${t},0.3)`,"grey-ui-light":`rgba(${t},0.1)`}};function Bk(r,e,t){const n=Wa(r)||{r:0,g:0,b:0},a=Wa(e)||{r:255,g:255,b:255},i=Math.round(a.r*t+n.r*(1-t)),s=Math.round(a.g*t+n.g*(1-t)),l=Math.round(a.b*t+n.b*(1-t));return`#${Gl(i)}${Gl(s)}${Gl(l)}`}function Vp(r,e){const t={r:255,g:255,b:255},n=Math.max(0,Math.min(1,e));let a=r,i=Wa(r)||t;(isNaN(i.r)||isNaN(i.g)||isNaN(i.b))&&(i=t,a="#FFFFFF");const l=Hi({...i,luminanceThreshold:Yi})?"#000000":"#FFFFFF";return Bk(a,l,n)}function Gl(r){return r.toString(16).padStart(2,"0").toUpperCase()}const Rk=(r,e,t,n=Yi)=>{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(r!=null&&r.startsWith("#")){const i=Wa(r);i!==null&&Object.assign(a,Lk(i))}if(e!=null&&e.startsWith("#")){const i=Wa(e);i!==null&&(a["primary-text"]=Hi({...i,luminanceThreshold:n})?"black":"white")}return a},Uk=r=>({"primary-hover":Vp(r,.1),"primary-pressed":Vp(r,.15)}),Vk=(r,e)=>r||e,Wk=(r,e,t)=>{const n=Object.entries(r).map(([a,i])=>[a,Vk(t?t[i]:null,e[a])]);return Object.fromEntries(n)},Kl=(r,e,t)=>{const n=Wk(r,e,t);return t?{...e,...n,...Rk(n.background,n.primary,e),...Uk(n.primary)}:{...e}},Hk=r=>Kl(Fk,Ak,r),Wp=r=>Kl(Mk,Dk,r),Yk=r=>Kl(zk,qk,r),Gi=r=>{if(!r)return Bp;switch(r.shapes){case"rounded":return Lp;case"rectangle":return jk;case"pill":return Nk;default:return Bp}},Ha=(r="",e)=>e.map(([t,n])=>`--rc-${r}-${t}: ${n}`).join("; "),Hp=r=>{const e=Ha("color",Object.entries(Hk(r))),t=Ha("shape",Object.entries(Gi(r)));return[e,t].join("; ")},Gk=r=>{const e=Ha("color",Object.entries(Wp(r))),t=Ha("shape",Object.entries(Gi(r)));return[e,t].join("; ")},Kk=r=>{const e=Ha("color",Object.entries(Yk(r))),t=Ha("shape",Object.entries(Gi(r)));return[e,t].join("; ")},Xk=(r="",e,t)=>Object.entries(e).flatMap(([n,{desktop:a,mobile:i}])=>{const s=`normal normal ${a.fontWeight} ${a.fontSize}/${a.lineHeight} ${Oo}`,l=`normal normal ${i.fontWeight} ${i.fontSize}/${i.lineHeight} ${Oo}`,c=`normal normal ${t==null?void 0:t.desktop.font_weight} ${t==null?void 0:t.desktop.font_size} ${Up}`,u=`normal normal ${t==null?void 0:t.mobile.font_weight} ${t==null?void 0:t.mobile.font_size} ${Up}`;return[`--rc-${r}-${n}-desktop: ${s}`,`--rc-${r}-${n}-mobile: ${l}`,`--rc-${r}-${n}-branded-desktop: ${t?c:s}`,`--rc-${r}-${n}-branded-mobile: ${t?u:l}`,`--rc-${r}-${n}-desktop-font-size: ${a.fontSize}`,`--rc-${r}-${n}-mobile-font-size: ${i.fontSize}`]}).join("; "),Zk=(r="",e)=>Object.entries(e).map(([t,{mobile:n,desktop:a}])=>`--rc-${r}-${t}-mobile: ${n}; --rc-${r}-${t}-desktop: ${a};`).join(" "),Jk={outerPaddingTop:{mobile:"0.25rem",desktop:"clamp(1rem, 8.44vw, 7.5rem)"},outerPadding:{mobile:"clamp(1.3125rem, 5.6vw, 1.5rem)",desktop:"clamp(3rem, 6.44vw, 4.5rem)"},gapSmall:{mobile:"0.25rem",desktop:"0.5rem"},gapMedium:{mobile:"0.5rem",desktop:"0.75rem"},gapLarge:{mobile:"0.75rem",desktop:"1rem"},gapXLarge:{mobile:"1rem",desktop:"2rem"},gapXXLarge:{mobile:"1.25rem",desktop:"2.25rem"},gapXXXLarge:{mobile:"2.25rem",desktop:"5rem"},inputHeight:{mobile:"3rem",desktop:"3rem"}};class Rn{constructor(e){ee(this,"brandingAppearance");e?this.brandingAppearance=e:this.brandingAppearance=void 0}get shape(){return Gi(this.brandingAppearance)}get formColors(){return Wp(this.brandingAppearance)}get formStyleVars(){return Gk(this.brandingAppearance)}get productInfoStyleVars(){return Hp(this.brandingAppearance)}get pageStyleVars(){return Kk(this.brandingAppearance)}get spacing(){return Jk}get textStyles(){return Yl}getTextStyleVars(e){return Xk("text",this.textStyles,e)}get spacingStyleVars(){return Zk("spacing",this.spacing)}}var Xl=(r=>(r[r.ErrorLoadingStripe=0]="ErrorLoadingStripe",r[r.HandledFormError=1]="HandledFormError",r[r.UnhandledFormError=2]="UnhandledFormError",r))(Xl||{});class Lo{constructor(e,t,n){this.code=e,this.gatewayErrorCode=t,this.message=n}}const sn=class sn{static getStripeLocale(e){if(["ca","hi","uk"].includes(e))return"auto";const n={zh_Hans:"zh","zh-Hans":"zh",zh_Hant:"zh-TW","zh-Hant":"zh-TW"};return Object.keys(n).includes(e)?n[e]:e}static async getStripeClient(e,t){const n=await Op(t,{stripeAccount:e}).catch(a=>{throw this.mapInitializationError(a)});if(!n)throw{code:0,gatewayErrorCode:void 0,message:"Stripe client not found"};return{stripe:n}}static async initializeStripe(e,t,n,a,i,s,l){if(!t||!e||!n)throw{code:0,gatewayErrorCode:void 0,message:"Stripe configuration is missing"};const{stripe:c}=await this.getStripeClient(e,t),u=new Rn(a==null?void 0:a.appearance),d=u.shape,p=u.formColors,_=u.textStyles,g=Yl.bodyBase[l].fontSize||Yl.bodyBase.mobile.fontSize;let f;try{f=c.elements({mode:n.mode,paymentMethodTypes:n.payment_method_types,setupFutureUsage:n.setup_future_usage,amount:n.amount,currency:n.currency,loader:"always",locale:i,appearance:{theme:"stripe",labels:"floating",variables:{borderRadius:d["input-border-radius"],focusBoxShadow:"none",colorDanger:p.error,colorTextPlaceholder:p["grey-text-light"],colorText:p["grey-text-dark"],colorTextSecondary:p["grey-text-light"],fontSizeBase:g,...s},rules:{".Input":{boxShadow:"none",paddingTop:"6px",paddingBottom:"6px",fontSize:g,border:`1px solid ${p["grey-ui-dark"]}`,backgroundColor:p["input-background"],color:p["grey-text-dark"]},".Input:focus":{border:`1px solid ${p.focus}`,outline:"none"},".Label":{fontWeight:_.labelDefault[l].fontWeight,lineHeight:"22px",color:p["grey-text-dark"]},".Label--floating":{opacity:"1"},".Input--invalid":{boxShadow:"none"}}}})}catch(v){throw this.mapInitializationError(v)}return{stripe:c,elements:f}}static async initializeStripeCheckout(e,t,n,a){if(!e||!t||!n)throw{code:0,gatewayErrorCode:void 0,message:"Stripe configuration is missing"};const{stripe:i}=await this.getStripeClient(e,t);let s;try{s=await i.createEmbeddedCheckoutPage({fetchClientSecret:()=>Promise.resolve(n.client_secret),onComplete:a})}catch(l){throw this.mapInitializationError(l)}return{stripe:i,embeddedCheckout:s}}static updateElementsConfiguration(e,t){e.update({mode:t.mode,paymentMethodTypes:t.payment_method_types,setupFutureUsage:t.setup_future_usage,amount:t.amount,currency:t.currency})}static isStripeHandledFormError(e){const t=e.type==="validation_error",n=e.type==="card_error"&&e.code&&this.FORM_VALIDATED_CARD_ERROR_CODES.includes(e.code);return t||n}static createPaymentElement(e,t){return e.create("payment",{business:t?{name:t}:void 0,layout:{type:"tabs"},terms:{applePay:"never",auBecsDebit:"never",bancontact:"never",card:"never",cashapp:"never",googlePay:"never",ideal:"never",paypal:"never",sepaDebit:"never",sofort:"never",usBankAccount:"never"}})}static createExpressCheckoutElement(e,t,n){const a={billingAddressRequired:!0,emailRequired:!0,...t?{paymentMethods:{applePay:"always",googlePay:"always"}}:{},...n||{}};return e.create("expressCheckout",a)}static createLinkAuthenticationElement(e,t){return e.create("linkAuthentication",{defaultValues:{email:t??""}})}static async submitElements(e){const{error:t}=await e.submit();if(t)throw this.mapError(t)}static mapInitializationError(e){return new Lo(0,e.code,e.message)}static mapError(e){return this.isStripeHandledFormError(e)?new Lo(1,e.code,e.message):new Lo(2,e.code,e.message)}static async confirmElements(e,t,n,a){const i={clientSecret:n,redirect:"if_required"},s=a?{...i,confirmParams:{confirmation_token:a}}:{...i,elements:t},l=n.startsWith("seti_");let c;if(l?c=await e.confirmSetup(s):c=await e.confirmPayment(s),c!=null&&c.error)throw this.mapError(c.error)}static async extractTaxCustomerDetails(e,t){var s,l;const{error:n,confirmationToken:a}=await t.createConfirmationToken({elements:e});if(n)throw this.mapError(n);const i=(l=(s=a.payment_method_preview)==null?void 0:s.billing_details)==null?void 0:l.address;return{customerDetails:{countryCode:(i==null?void 0:i.country)??void 0,postalCode:(i==null?void 0:i.postal_code)??void 0},confirmationTokenId:a.id}}static nextDateForPeriod(e,t){return e.unit===Fe.Year?(t.setFullYear(t.getFullYear()+e.number),t):e.unit===Fe.Month?(t.setMonth(t.getMonth()+e.number),t):e.unit===Fe.Week?(t.setDate(t.getDate()+e.number*7),t):(e.unit===Fe.Day&&t.setDate(t.getDate()+e.number),t)}static applePayPeriod(e){return e.unit===Fe.Week?{recurringPaymentIntervalUnit:"day",recurringPaymentIntervalCount:e.number*7}:{recurringPaymentIntervalUnit:e.unit,recurringPaymentIntervalCount:e.number}}static microsToMinimumAmountPrice(e,t){return["BIF","CLP","DJF","GNF","JPY","KMF","KRW","MGA","PYG","RWF","UGX","VND","VUV","XAF","XOF","XPF"].includes(t)?Math.floor(e/1e6):Math.floor(e/1e4)}static toExpressCheckoutLineItems(e,t,n){const{currency:a}=t,i=sn.microsToMinimumAmountPrice(t.totalAmountInMicros,a),s=sn.microsToMinimumAmountPrice(n.discountAmountInMicros,a);return[{name:e,amount:i+s},{name:n.label,amount:-s}]}static buildStripeExpressCheckoutOptionsForSubscription(e,t,n,a,i,s,l,c,u){var w;const d={maxRows:l,maxColumns:c,overflow:u},p=s&&s.discountAmountInMicros>0?sn.toExpressCheckoutLineItems(e.title,t,s):void 0,_=sn.microsToMinimumAmountPrice(t.totalAmountInMicros,t.currency),g=n.trial,f=(w=n.trial)==null?void 0:w.period,v=n.base.period,y=g&&f?sn.nextDateForPeriod(f,new Date):void 0,h=v?sn.applePayPeriod(v):{};return{layout:d,...p?{lineItems:p}:{},applePay:{recurringPaymentRequest:{paymentDescription:e.title,managementURL:i,...g?{trialBilling:{label:a.translate(ie.ApplePayFreeTrial),amount:0}}:{},regularBilling:{label:e.title,amount:_,recurringPaymentStartDate:y,...h}}}}}static buildStripeExpressCheckoutOptionsForNonSubscription(e,t,n,a,i,s){const l={maxRows:a,maxColumns:i,overflow:s},c=n&&n.discountAmountInMicros>0?sn.toExpressCheckoutLineItems(e.title,t,n):void 0;return{layout:l,...c?{lineItems:c}:{}}}};ee(sn,"FORM_VALIDATED_CARD_ERROR_CODES",["card_declined","expired_card","incorrect_cvc","incorrect_number"]);let pr=sn;var Qk=W("<div></div>");function $k(r,e){fe(e,!0);let t=null;const n="payment-element",a=async s=>{await e.onError(pr.mapInitializationError(s.error))};Tr(()=>{var s;try{t=pr.createPaymentElement(e.elements,(s=e.brandingInfo)==null?void 0:s.app_name),t.mount(`#${n}`),t.on("ready",e.onReady),t.on("change",e.onChange),t.on("loaderror",a)}catch(l){e.onError(pr.mapInitializationError(l))}}),Wt(()=>{t==null||t.destroy(),t=null});var i=Qk();be(i,"id",n),P(r,i),me()}var ew=W("<div></div>");function rw(r,e){fe(e,!0);let t=null;const n="link-authentication-element",a=async s=>{await e.onError(pr.mapInitializationError(s.error))};Tr(()=>{try{t=pr.createLinkAuthenticationElement(e.elements,e.email),t.mount(`#${n}`),t.on("ready",e.onReady),t.on("change",e.onChange),t.on("loaderror",a)}catch(s){e.onError(pr.mapInitializationError(s))}}),Wt(()=>{t==null||t.destroy(),t=null});var i=ew();be(i,"id",n),P(r,i),me()}var tw=W('<div class="text-separator svelte-3efq78"><hr class="line svelte-3efq78"/> <span class="text svelte-3efq78"><!></span> <hr class="line svelte-3efq78"/></div>');const nw={hash:"svelte-3efq78",code:`.text-separator.svelte-3efq78 {display:flex;align-items:center;justify-content:center;gap:var(--rc-spacing-gapSmall-mobile);}
263
+ `);if(e===null||No(e)!=="object")throw new Error(t);if(Object.keys(e).length===1&&typeof e.advancedFraudSignals=="boolean")return e;throw new Error(t)},Wi,Wl=!1,Up=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];Wl=!0;var a=Date.now();return Ak(Wi).then(function(i){return qk(i,t,a)})};Up.setLoadParameters=function(r){if(Wl&&Wi){var e=Bp(r),t=Object.keys(e),n=t.reduce(function(a,i){var s;return a&&r[i]===((s=Wi)===null||s===void 0?void 0:s[i])},!0);if(n)return}if(Wl)throw new Error("You cannot change load parameters after calling loadStripe");Wi=Bp(r)};const Fk={error:"#B0171F",warning:"#f4e971",focus:"#1148B8",accent:"#767676",primary:"#576CDB","primary-hover":"rgba(87, 108, 219, .8)","primary-pressed":"rgba(87, 108, 219, .9)","primary-text":"#ffffff",white:"#ffffff","grey-text-dark":"rgba(0,0,0,1)","grey-text-light":"rgba(0,0,0,0.7)","grey-ui-dark":"rgba(0,0,0,0.3)","grey-ui-light":"rgba(0,0,0,0.1)","input-background":"white",background:"white"},Mk={error:"#B0171F",warning:"#f4e971",focus:"#1148B8",accent:"#767676",primary:"#576CDB","primary-hover":"rgba(87, 108, 219, .8)","primary-pressed":"rgba(87, 108, 219, .9)","primary-text":"#ffffff",white:"#ffffff","grey-text-dark":"rgba(0,0,0,1)","grey-text-light":"rgba(0,0,0,0.7)","grey-ui-dark":"rgba(0,0,0,0.3)","grey-ui-light":"rgba(0,0,0,0.1)","input-background":"white",background:"#EFF3FA"},zk={error:"#B0171F",warning:"#f4e971",focus:"#1148B8",accent:"#767676",primary:"#576CDB","primary-hover":"rgba(87, 108, 219, .8)","primary-pressed":"rgba(87, 108, 219, .9)","primary-text":"#ffffff",white:"#ffffff","grey-text-dark":"rgba(0,0,0,1)","grey-text-light":"rgba(0,0,0,0.7)","grey-ui-dark":"rgba(0,0,0,0.3)","grey-ui-light":"rgba(0,0,0,0.1)","input-background":"white",background:"#ffffff"},Hl={error:"color_error",focus:"color_accent",accent:"color_accent",primary:"color_buttons_primary"},jk={...Hl,"input-background":"color_form_bg",background:"color_form_bg"},Nk={...Hl,"input-background":"color_product_info_bg",background:"color_product_info_bg"},Ok={...Hl,"input-background":"color_page_bg",background:"color_page_bg"},Rp={"input-border-radius":"4px","input-button-border-radius":"8px"},Lk={"input-border-radius":"0px","input-button-border-radius":"0px"},Bk={"input-border-radius":"12px","input-button-border-radius":"9999px"},Vp=Rp,Lo="-apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Cantarell, Ubuntu, roboto, noto, arial, sans-serif",Wp="BrandCustomFont",Hp=`${Wp}, ${Lo}`,Jt={regular:"400",medium:"500",semibold:"600"},It={12:"12px",14:"14px",16:"16px",18:"18px",24:"24px",28:"28px",32:"32px",36:"36px"},Qt={130:"130%",140:"140%"},$t={tight:"0.20%",regular:"0",loose:"0.20%"},Dr={heading2xl:{fontSize:It[28],lineHeight:Qt[130],fontWeight:Jt.semibold,letterSpacing:$t.loose},headingXl:{fontSize:It[24],lineHeight:Qt[130],fontWeight:Jt.semibold,letterSpacing:$t.loose},headingLg:{fontSize:"20px",lineHeight:Qt[130],fontWeight:Jt.semibold,letterSpacing:$t.loose},headingMd:{fontSize:"16px",lineHeight:Qt[140],fontWeight:Jt.medium,letterSpacing:$t.regular},bodyBase:{fontSize:It[16],lineHeight:Qt[140],fontWeight:Jt.regular,letterSpacing:$t.regular},bodySmall:{fontSize:It[14],lineHeight:Qt[140],fontWeight:Jt.regular,letterSpacing:$t.regular},labelButton:{fontSize:It[16],lineHeight:Qt[140],fontWeight:Jt.semibold,letterSpacing:$t.tight},labelDefault:{fontSize:It[14],lineHeight:Qt[140],fontWeight:Jt.regular,letterSpacing:$t.tight},captionDefault:{fontSize:It[12],lineHeight:Qt[140],fontWeight:Jt.regular,letterSpacing:$t.regular},captionLink:{fontSize:It[12],lineHeight:Qt[140],fontWeight:Jt.regular,letterSpacing:$t.regular}},en={heading2xl:{...Dr.heading2xl,fontSize:It[36]},headingXl:{...Dr.headingXl,fontSize:It[32]},headingLg:{...Dr.headingLg,fontSize:It[24]},headingMd:{...Dr.headingMd,fontSize:It[18]},bodyBase:{...Dr.bodyBase},bodySmall:{...Dr.bodySmall},labelButton:{...Dr.labelButton},labelDefault:{...Dr.labelDefault},captionDefault:{...Dr.captionDefault},captionLink:{...Dr.captionLink}},Yl={heading2xl:{mobile:Dr.heading2xl,desktop:en.heading2xl},headingXl:{desktop:en.headingXl,mobile:Dr.headingXl},headingLg:{desktop:en.headingLg,mobile:Dr.headingLg},headingMd:{desktop:en.headingMd,mobile:Dr.headingMd},bodyBase:{desktop:en.bodyBase,mobile:Dr.bodyBase},bodySmall:{desktop:en.bodySmall,mobile:Dr.bodySmall},labelButton:{desktop:en.labelButton,mobile:Dr.labelButton},labelDefault:{desktop:en.labelDefault,mobile:Dr.labelDefault},captionDefault:{desktop:en.captionDefault,mobile:Dr.captionDefault},captionLink:{desktop:en.captionLink,mobile:Dr.captionLink}},Ya=r=>r.length==7?{r:parseInt(r.slice(1,3),16),g:parseInt(r.slice(3,5),16),b:parseInt(r.slice(5,7),16)}:r.length==4?{r:parseInt(r[1],16),g:parseInt(r[2],16),b:parseInt(r[3],16)}:null,Hi=({r,g:e,b:t,luminanceThreshold:n})=>{const a=s=>(s=s/255,s<=.03928?s/12.92:Math.pow((s+.055)/1.055,2.4));return .2126*a(r)+.7152*a(e)+.0722*a(t)>n},Yi=.37,Uk=(r,e=Yi)=>{const t=Ya(r);return t?Hi({...t,luminanceThreshold:e}):!0},Rk=(r,e=Yi)=>{const t=Hi({...r,luminanceThreshold:e})?"0,0,0":"255,255,255";return{"grey-text-dark":`rgb(${t})`,"grey-text-light":`rgba(${t},0.70)`,"grey-ui-dark":`rgba(${t},0.3)`,"grey-ui-light":`rgba(${t},0.1)`}};function Vk(r,e,t){const n=Ya(r)||{r:0,g:0,b:0},a=Ya(e)||{r:255,g:255,b:255},i=Math.round(a.r*t+n.r*(1-t)),s=Math.round(a.g*t+n.g*(1-t)),l=Math.round(a.b*t+n.b*(1-t));return`#${Gl(i)}${Gl(s)}${Gl(l)}`}function Yp(r,e){const t={r:255,g:255,b:255},n=Math.max(0,Math.min(1,e));let a=r,i=Ya(r)||t;(isNaN(i.r)||isNaN(i.g)||isNaN(i.b))&&(i=t,a="#FFFFFF");const l=Hi({...i,luminanceThreshold:Yi})?"#000000":"#FFFFFF";return Vk(a,l,n)}function Gl(r){return r.toString(16).padStart(2,"0").toUpperCase()}const Wk=(r,e,t,n=Yi)=>{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(r!=null&&r.startsWith("#")){const i=Ya(r);i!==null&&Object.assign(a,Rk(i))}if(e!=null&&e.startsWith("#")){const i=Ya(e);i!==null&&(a["primary-text"]=Hi({...i,luminanceThreshold:n})?"black":"white")}return a},Hk=r=>({"primary-hover":Yp(r,.1),"primary-pressed":Yp(r,.15)}),Yk=(r,e)=>r||e,Gk=(r,e,t)=>{const n=Object.entries(r).map(([a,i])=>[a,Yk(t?t[i]:null,e[a])]);return Object.fromEntries(n)},Kl=(r,e,t)=>{const n=Gk(r,e,t);return t?{...e,...n,...Wk(n.background,n.primary,e),...Hk(n.primary)}:{...e}},Gp=r=>Kl(Nk,Mk,r),Kp=r=>Kl(jk,Fk,r),Kk=r=>Kl(Ok,zk,r),Gi=r=>{if(!r)return Vp;switch(r.shapes){case"rounded":return Rp;case"rectangle":return Lk;case"pill":return Bk;default:return Vp}},Ga=(r="",e)=>e.map(([t,n])=>`--rc-${r}-${t}: ${n}`).join("; "),Xp=r=>{const e=Ga("color",Object.entries(Gp(r))),t=Ga("shape",Object.entries(Gi(r)));return[e,t].join("; ")},Xk=r=>{const e=Ga("color",Object.entries(Kp(r))),t=Ga("shape",Object.entries(Gi(r)));return[e,t].join("; ")},Zk=r=>{const e=Ga("color",Object.entries(Kk(r))),t=Ga("shape",Object.entries(Gi(r)));return[e,t].join("; ")},Jk=(r="",e,t)=>Object.entries(e).flatMap(([n,{desktop:a,mobile:i}])=>{const s=`normal normal ${a.fontWeight} ${a.fontSize}/${a.lineHeight} ${Lo}`,l=`normal normal ${i.fontWeight} ${i.fontSize}/${i.lineHeight} ${Lo}`,c=`normal normal ${t==null?void 0:t.desktop.font_weight} ${t==null?void 0:t.desktop.font_size} ${Hp}`,u=`normal normal ${t==null?void 0:t.mobile.font_weight} ${t==null?void 0:t.mobile.font_size} ${Hp}`;return[`--rc-${r}-${n}-desktop: ${s}`,`--rc-${r}-${n}-mobile: ${l}`,`--rc-${r}-${n}-branded-desktop: ${t?c:s}`,`--rc-${r}-${n}-branded-mobile: ${t?u:l}`,`--rc-${r}-${n}-desktop-font-size: ${a.fontSize}`,`--rc-${r}-${n}-mobile-font-size: ${i.fontSize}`]}).join("; "),Qk=(r="",e)=>Object.entries(e).map(([t,{mobile:n,desktop:a}])=>`--rc-${r}-${t}-mobile: ${n}; --rc-${r}-${t}-desktop: ${a};`).join(" "),$k={outerPaddingTop:{mobile:"0.25rem",desktop:"clamp(1rem, 8.44vw, 7.5rem)"},outerPadding:{mobile:"clamp(1.3125rem, 5.6vw, 1.5rem)",desktop:"clamp(3rem, 6.44vw, 4.5rem)"},gapSmall:{mobile:"0.25rem",desktop:"0.5rem"},gapMedium:{mobile:"0.5rem",desktop:"0.75rem"},gapLarge:{mobile:"0.75rem",desktop:"1rem"},gapXLarge:{mobile:"1rem",desktop:"2rem"},gapXXLarge:{mobile:"1.25rem",desktop:"2.25rem"},gapXXXLarge:{mobile:"2.25rem",desktop:"5rem"},inputHeight:{mobile:"3rem",desktop:"3rem"}};class Rn{constructor(e){Q(this,"brandingAppearance");e?this.brandingAppearance=e:this.brandingAppearance=void 0}get shape(){return Gi(this.brandingAppearance)}get formColors(){return Kp(this.brandingAppearance)}get formStyleVars(){return Xk(this.brandingAppearance)}get productInfoStyleVars(){return Xp(this.brandingAppearance)}get pageStyleVars(){return Zk(this.brandingAppearance)}get spacing(){return $k}get textStyles(){return Yl}getTextStyleVars(e){return Jk("text",this.textStyles,e)}get spacingStyleVars(){return Qk("spacing",this.spacing)}}var Xl=(r=>(r[r.ErrorLoadingStripe=0]="ErrorLoadingStripe",r[r.HandledFormError=1]="HandledFormError",r[r.UnhandledFormError=2]="UnhandledFormError",r))(Xl||{});class Bo{constructor(e,t,n){this.code=e,this.gatewayErrorCode=t,this.message=n}}const sn=class sn{static getStripeLocale(e){if(["ca","hi","uk"].includes(e))return"auto";const n={zh_Hans:"zh","zh-Hans":"zh",zh_Hant:"zh-TW","zh-Hant":"zh-TW"};return Object.keys(n).includes(e)?n[e]:e}static async getStripeClient(e,t){const n=await Up(t,{stripeAccount:e}).catch(a=>{throw this.mapInitializationError(a)});if(!n)throw{code:0,gatewayErrorCode:void 0,message:"Stripe client not found"};return{stripe:n}}static async initializeStripe(e,t,n,a,i,s,l){if(!t||!e||!n)throw{code:0,gatewayErrorCode:void 0,message:"Stripe configuration is missing"};const{stripe:c}=await this.getStripeClient(e,t),u=new Rn(a==null?void 0:a.appearance),d=u.shape,p=u.formColors,g=u.textStyles,_=Yl.bodyBase[l].fontSize||Yl.bodyBase.mobile.fontSize;let f;try{f=c.elements({mode:n.mode,paymentMethodTypes:n.payment_method_types,setupFutureUsage:n.setup_future_usage,amount:n.amount,currency:n.currency,loader:"always",locale:i,appearance:{theme:"stripe",labels:"floating",variables:{borderRadius:d["input-border-radius"],focusBoxShadow:"none",colorDanger:p.error,colorTextPlaceholder:p["grey-text-light"],colorText:p["grey-text-dark"],colorTextSecondary:p["grey-text-light"],fontSizeBase:_,...s},rules:{".Input":{boxShadow:"none",paddingTop:"6px",paddingBottom:"6px",fontSize:_,border:`1px solid ${p["grey-ui-dark"]}`,backgroundColor:p["input-background"],color:p["grey-text-dark"]},".Input:focus":{border:`1px solid ${p.focus}`,outline:"none"},".Label":{fontWeight:g.labelDefault[l].fontWeight,lineHeight:"22px",color:p["grey-text-dark"]},".Label--floating":{opacity:"1"},".Input--invalid":{boxShadow:"none"}}}})}catch(v){throw this.mapInitializationError(v)}return{stripe:c,elements:f}}static async initializeStripeCheckout(e,t,n,a){if(!e||!t||!n)throw{code:0,gatewayErrorCode:void 0,message:"Stripe configuration is missing"};const{stripe:i}=await this.getStripeClient(e,t);let s;try{s=await i.createEmbeddedCheckoutPage({fetchClientSecret:()=>Promise.resolve(n.client_secret),onComplete:a})}catch(l){throw this.mapInitializationError(l)}return{stripe:i,embeddedCheckout:s}}static updateElementsConfiguration(e,t){e.update({mode:t.mode,paymentMethodTypes:t.payment_method_types,setupFutureUsage:t.setup_future_usage,amount:t.amount,currency:t.currency})}static isStripeHandledFormError(e){const t=e.type==="validation_error",n=e.type==="card_error"&&e.code&&this.FORM_VALIDATED_CARD_ERROR_CODES.includes(e.code);return t||n}static createPaymentElement(e,t){return e.create("payment",{business:t?{name:t}:void 0,layout:{type:"tabs"},terms:{applePay:"never",auBecsDebit:"never",bancontact:"never",card:"never",cashapp:"never",googlePay:"never",ideal:"never",paypal:"never",sepaDebit:"never",sofort:"never",usBankAccount:"never"}})}static createExpressCheckoutElement(e,t,n){const a={billingAddressRequired:!0,emailRequired:!0,...t?{paymentMethods:{applePay:"always",googlePay:"always"}}:{},...n||{}};return e.create("expressCheckout",a)}static createLinkAuthenticationElement(e,t){return e.create("linkAuthentication",{defaultValues:{email:t??""}})}static async submitElements(e){const{error:t}=await e.submit();if(t)throw this.mapError(t)}static mapInitializationError(e){return new Bo(0,e.code,e.message)}static mapError(e){return this.isStripeHandledFormError(e)?new Bo(1,e.code,e.message):new Bo(2,e.code,e.message)}static async confirmElements(e,t,n,a){const i={clientSecret:n,redirect:"if_required"},s=a?{...i,confirmParams:{confirmation_token:a}}:{...i,elements:t},l=n.startsWith("seti_");let c;if(l?c=await e.confirmSetup(s):c=await e.confirmPayment(s),c!=null&&c.error)throw this.mapError(c.error)}static async extractTaxCustomerDetails(e,t){var s,l;const{error:n,confirmationToken:a}=await t.createConfirmationToken({elements:e});if(n)throw this.mapError(n);const i=(l=(s=a.payment_method_preview)==null?void 0:s.billing_details)==null?void 0:l.address;return{customerDetails:{countryCode:(i==null?void 0:i.country)??void 0,postalCode:(i==null?void 0:i.postal_code)??void 0},confirmationTokenId:a.id}}static nextDateForPeriod(e,t){return e.unit===Me.Year?(t.setFullYear(t.getFullYear()+e.number),t):e.unit===Me.Month?(t.setMonth(t.getMonth()+e.number),t):e.unit===Me.Week?(t.setDate(t.getDate()+e.number*7),t):(e.unit===Me.Day&&t.setDate(t.getDate()+e.number),t)}static applePayPeriod(e){return e.unit===Me.Week?{recurringPaymentIntervalUnit:"day",recurringPaymentIntervalCount:e.number*7}:{recurringPaymentIntervalUnit:e.unit,recurringPaymentIntervalCount:e.number}}static microsToMinimumAmountPrice(e,t){return["BIF","CLP","DJF","GNF","JPY","KMF","KRW","MGA","PYG","RWF","UGX","VND","VUV","XAF","XOF","XPF"].includes(t)?Math.floor(e/1e6):Math.floor(e/1e4)}static toExpressCheckoutLineItems(e,t,n){const{currency:a}=t,i=sn.microsToMinimumAmountPrice(t.totalAmountInMicros,a),s=sn.microsToMinimumAmountPrice(n.discountAmountInMicros,a);return[{name:e,amount:i+s},{name:n.label,amount:-s}]}static buildStripeExpressCheckoutOptionsForSubscription(e,t,n,a,i,s,l,c,u){var k;const d={maxRows:l,maxColumns:c,overflow:u},p=s&&s.discountAmountInMicros>0?sn.toExpressCheckoutLineItems(e.title,t,s):void 0,g=sn.microsToMinimumAmountPrice(t.totalAmountInMicros,t.currency),_=n.trial,f=(k=n.trial)==null?void 0:k.period,v=n.base.period,y=_&&f?sn.nextDateForPeriod(f,new Date):void 0,h=v?sn.applePayPeriod(v):{};return{layout:d,...p?{lineItems:p}:{},applePay:{recurringPaymentRequest:{paymentDescription:e.title,managementURL:i,..._?{trialBilling:{label:a.translate(le.ApplePayFreeTrial),amount:0}}:{},regularBilling:{label:e.title,amount:g,recurringPaymentStartDate:y,...h}}}}}static buildStripeExpressCheckoutOptionsForNonSubscription(e,t,n,a,i,s){const l={maxRows:a,maxColumns:i,overflow:s},c=n&&n.discountAmountInMicros>0?sn.toExpressCheckoutLineItems(e.title,t,n):void 0;return{layout:l,...c?{lineItems:c}:{}}}};Q(sn,"FORM_VALIDATED_CARD_ERROR_CODES",["card_declined","expired_card","incorrect_cvc","incorrect_number"]);let pr=sn;var ew=V("<div></div>");function rw(r,e){fe(e,!0);let t=null;const n="payment-element",a=async s=>{await e.onError(pr.mapInitializationError(s.error))};Cr(()=>{var s;try{t=pr.createPaymentElement(e.elements,(s=e.brandingInfo)==null?void 0:s.app_name),t.mount(`#${n}`),t.on("ready",e.onReady),t.on("change",e.onChange),t.on("loaderror",a)}catch(l){e.onError(pr.mapInitializationError(l))}}),Wt(()=>{t==null||t.destroy(),t=null});var i=ew();be(i,"id",n),P(r,i),me()}var tw=V("<div></div>");function nw(r,e){fe(e,!0);let t=null;const n="link-authentication-element",a=async s=>{await e.onError(pr.mapInitializationError(s.error))};Cr(()=>{try{t=pr.createLinkAuthenticationElement(e.elements,e.email),t.mount(`#${n}`),t.on("ready",e.onReady),t.on("change",e.onChange),t.on("loaderror",a)}catch(s){e.onError(pr.mapInitializationError(s))}}),Wt(()=>{t==null||t.destroy(),t=null});var i=tw();be(i,"id",n),P(r,i),me()}var aw=V('<div class="text-separator svelte-3efq78"><hr class="line svelte-3efq78"/> <span class="text svelte-3efq78"><!></span> <hr class="line svelte-3efq78"/></div>');const ow={hash:"svelte-3efq78",code:`.text-separator.svelte-3efq78 {display:flex;align-items:center;justify-content:center;gap:var(--rc-spacing-gapSmall-mobile);}
264
264
 
265
265
  @container layout-query-container (width >= 768px) {.text-separator.svelte-3efq78 {gap:var(--rc-spacing-gapSmall-desktop);}
266
- }.line.svelte-3efq78 {flex:1;height:1px;background-color:var(--rc-color-grey-ui-dark);border:none;}.text.svelte-3efq78 {color:var(--rc-color-grey-text-light);text-transform:uppercase;white-space:nowrap;}`};function aw(r,e){ke(r,nw);let t=Q(e,"text",8);var n=tw(),a=Y(T(n),2),i=T(a);qe(i,{size:"caption-default",children:(s,l)=>{var c=je();Z(()=>ve(c,t())),P(s,c)},$$slots:{default:!0}}),P(r,n)}var ow=W("<div></div> <!>",1);function Yp(r,e){fe(e,!0);const t=()=>pe(s,"$translator",n),[n,a]=Ye(),i=Q(e,"hideCheckoutSeparator",3,!1),s=Xe(vr);let l=null,c=re(!1);const u=`express-checkout-element-${new Date().getTime()}`,d=async()=>{e.onCancel&&e.onCancel()},p=async w=>{const k={...e.expressCheckoutOptions?e.expressCheckoutOptions:{}};e.onClick&&e.onClick(w),w.resolve(k)},_=async w=>{await e.onError(pr.mapInitializationError(w.error))},g=async w=>{var k;return e.onSubmit(w.expressPaymentType,((k=w.billingDetails)==null?void 0:k.email)??"",w)},f=async w=>{j(c,!w.availablePaymentMethods),e.onReady&&e.onReady(w)};Tr(()=>{try{l=pr.createExpressCheckoutElement(e.elements,e.forceEnableWalletMethods,e.expressCheckoutOptions),l.mount(`#${u}`),l.on("ready",f),l.on("confirm",g),l.on("loaderror",_),l.on("click",p),l.on("cancel",d)}catch(w){e.onError(pr.mapInitializationError(w))}}),Wt(()=>{l==null||l.destroy(),l=null});var v=xe(),y=ae(v);{var h=w=>{var k=ow(),b=ae(k),x=Y(b,2);{var I=S=>{{let q=m(()=>t().translate(ie.PaymentEntryPageExpressCheckoutDivider));aw(S,{get text(){return o(q)}})}};K(x,S=>{i()||S(I)})}Z(()=>be(b,"id",u)),P(w,k)};K(y,w=>{o(c)||w(h)})}P(r,v),me(),a()}var iw=W('<div class="rc-elements svelte-kvz7kd"><!> <!> <!></div>');const sw={hash:"svelte-kvz7kd",code:`.rc-elements.svelte-kvz7kd {display:flex;flex-direction:column;gap:var(--rc-spacing-gapXLarge-mobile);}
266
+ }.line.svelte-3efq78 {flex:1;height:1px;background-color:var(--rc-color-grey-ui-dark);border:none;}.text.svelte-3efq78 {color:var(--rc-color-grey-text-light);text-transform:uppercase;white-space:nowrap;}`};function iw(r,e){we(r,ow);let t=J(e,"text",8);var n=aw(),a=H(T(n),2),i=T(a);qe(i,{size:"caption-default",children:(s,l)=>{var c=je();K(()=>ve(c,t())),P(s,c)},$$slots:{default:!0}}),P(r,n)}var sw=V("<div></div> <!>",1);function Zp(r,e){fe(e,!0);const t=()=>pe(s,"$translator",n),[n,a]=He(),i=J(e,"hideCheckoutSeparator",3,!1),s=Xe(vr);let l=null,c=re(!1);const u=`express-checkout-element-${new Date().getTime()}`,d=async()=>{e.onCancel&&e.onCancel()},p=async k=>{const w={...e.expressCheckoutOptions?e.expressCheckoutOptions:{}};e.onClick&&e.onClick(k),k.resolve(w)},g=async k=>{await e.onError(pr.mapInitializationError(k.error))},_=async k=>{var w;return e.onSubmit(k.expressPaymentType,((w=k.billingDetails)==null?void 0:w.email)??"",k)},f=async k=>{j(c,!k.availablePaymentMethods),e.onReady&&e.onReady(k)};Cr(()=>{try{l=pr.createExpressCheckoutElement(e.elements,e.forceEnableWalletMethods,e.expressCheckoutOptions),l.mount(`#${u}`),l.on("ready",f),l.on("confirm",_),l.on("loaderror",g),l.on("click",p),l.on("cancel",d)}catch(k){e.onError(pr.mapInitializationError(k))}}),Wt(()=>{l==null||l.destroy(),l=null});var v=Se(),y=oe(v);{var h=k=>{var w=sw(),b=oe(w),x=H(b,2);{var S=I=>{{let z=m(()=>t().translate(le.PaymentEntryPageExpressCheckoutDivider));iw(I,{get text(){return o(z)}})}};Y(x,I=>{i()||I(S)})}K(()=>be(b,"id",u)),P(k,w)};Y(y,k=>{o(c)||k(h)})}P(r,v),me(),a()}var lw=V('<div class="rc-elements svelte-kvz7kd"><!> <!> <!></div>');const cw={hash:"svelte-kvz7kd",code:`.rc-elements.svelte-kvz7kd {display:flex;flex-direction:column;gap:var(--rc-spacing-gapXLarge-mobile);}
267
267
 
268
268
  @container layout-query-container (width >= 768px) {.rc-elements.svelte-kvz7kd {gap:var(--rc-spacing-gapLarge-desktop);}
269
- }`};function lw(r,e){fe(e,!0),ke(r,sw);const t=()=>pe(l,"$translator",n),[n,a]=Ye();let i=Q(e,"stripe",15,null),s=Q(e,"elements",15,null);const l=Xe(vr),c=pr.getStripeLocale(t().bcp47Locale||t().fallbackBcp47Locale);let u=re(!1),d=re(nr(e.skipEmail)),p=re(!1),_=re(void 0),g=re("mobile"),f=re(void 0);function v(){window.matchMedia&&window.matchMedia("(max-width: 767px)").matches?j(g,"mobile"):j(g,"desktop"),j(_,{fontSizeBase:"14px",fontFamily:Oo,spacingGridRow:"16px"},!0)}function y(){clearTimeout(o(f)),j(f,setTimeout(()=>{v()},150),!0)}const h=D=>{e.onError(D),e.onLoadingComplete()},w=async()=>{o(d)||(j(d,!0),o(d)&&o(u)&&o(p)&&e.onLoadingComplete())},k=async()=>{o(p)||(j(p,!0),o(d)&&o(u)&&o(p)&&e.onLoadingComplete())},b=async()=>{o(u)||(j(u,!0),o(d)&&o(u)&&o(p)&&e.onLoadingComplete())},x=async D=>{e.onPaymentInfoChange({complete:D.complete,paymentMethod:D.complete?D.value.type:void 0})},I=async D=>{e.onEmailChange(D.complete,D.value.email)};Tr(()=>(window.addEventListener("resize",y),()=>{window.removeEventListener("resize",y)})),Tr(async()=>{v(),!i()&&(s()||!e.stripeAccountId||!e.publishableApiKey||!e.elementsConfiguration||await pr.initializeStripe(e.stripeAccountId,e.publishableApiKey,e.elementsConfiguration,e.brandingInfo,c,o(_),o(g)).then(({stripe:D,elements:C})=>{i(D),s(C)}).catch(D=>{e.onError(D)}))}),mr(()=>{e.elementsConfiguration&&s()&&pr.updateElementsConfiguration(s(),e.elementsConfiguration)});var S=xe(),q=ae(S);{var E=D=>{var C=iw(),B=T(C);Yp(B,{get elements(){return s()},onError:h,onReady:k,get onSubmit(){return e.onExpressCheckoutElementSubmit},get expressCheckoutOptions(){return e.expressCheckoutOptions},get forceEnableWalletMethods(){return e.forceEnableWalletMethods}});var F=Y(B,2);{var z=A=>{rw(A,{get elements(){return s()},onReady:w,onChange:I,onError:h})};K(F,A=>{e.skipEmail||A(z)})}var L=Y(F,2);$k(L,{get elements(){return s()},get brandingInfo(){return e.brandingInfo},onReady:b,onChange:x,onError:h}),P(D,C)};K(q,D=>{s()&&D(E)})}P(r,S),me(),a()}const cw=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor">
269
+ }`};function uw(r,e){fe(e,!0),we(r,cw);const t=()=>pe(l,"$translator",n),[n,a]=He();let i=J(e,"stripe",15,null),s=J(e,"elements",15,null);const l=Xe(vr),c=pr.getStripeLocale(t().bcp47Locale||t().fallbackBcp47Locale);let u=re(!1),d=re(or(e.skipEmail)),p=re(!1),g=re(void 0),_=re("mobile"),f=re(void 0);function v(){window.matchMedia&&window.matchMedia("(max-width: 767px)").matches?j(_,"mobile"):j(_,"desktop"),j(g,{fontSizeBase:"14px",fontFamily:Lo,spacingGridRow:"16px"},!0)}function y(){clearTimeout(o(f)),j(f,setTimeout(()=>{v()},150),!0)}const h=M=>{e.onError(M),e.onLoadingComplete()},k=async()=>{o(d)||(j(d,!0),o(d)&&o(u)&&o(p)&&e.onLoadingComplete())},w=async()=>{o(p)||(j(p,!0),o(d)&&o(u)&&o(p)&&e.onLoadingComplete())},b=async()=>{o(u)||(j(u,!0),o(d)&&o(u)&&o(p)&&e.onLoadingComplete())},x=async M=>{e.onPaymentInfoChange({complete:M.complete,paymentMethod:M.complete?M.value.type:void 0})},S=async M=>{e.onEmailChange(M.complete,M.value.email)};Cr(()=>(window.addEventListener("resize",y),()=>{window.removeEventListener("resize",y)})),Cr(async()=>{v(),!i()&&(s()||!e.stripeAccountId||!e.publishableApiKey||!e.elementsConfiguration||await pr.initializeStripe(e.stripeAccountId,e.publishableApiKey,e.elementsConfiguration,e.brandingInfo,c,o(g),o(_)).then(({stripe:M,elements:C})=>{i(M),s(C)}).catch(M=>{e.onError(M)}))}),gr(()=>{e.elementsConfiguration&&s()&&pr.updateElementsConfiguration(s(),e.elementsConfiguration)});var I=Se(),z=oe(I);{var E=M=>{var C=lw(),B=T(C);Zp(B,{get elements(){return s()},onError:h,onReady:w,get onSubmit(){return e.onExpressCheckoutElementSubmit},get expressCheckoutOptions(){return e.expressCheckoutOptions},get forceEnableWalletMethods(){return e.forceEnableWalletMethods}});var O=H(B,2);{var q=F=>{nw(F,{get elements(){return s()},onReady:k,onChange:S,onError:h})};Y(O,F=>{e.skipEmail||F(q)})}var L=H(O,2);rw(L,{get elements(){return s()},get brandingInfo(){return e.brandingInfo},onReady:b,onChange:x,onError:h}),P(M,C)};Y(z,M=>{s()&&M(E)})}P(r,I),me(),a()}const dw=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor">
270
270
  <path fill-rule="evenodd" d="M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm0 6.5a1.25 1.25 0 100-2.5 1.25 1.25 0 000 2.5zm1.25 4.5a1.25 1.25 0 10-2.5 0v4.5a1.25 1.25 0 102.5 0v-4.5z" clip-rule="evenodd" />
271
- </svg> `;var uw=W('<div class="rcb-ui-asset-icon svelte-a15aei"><!></div>');const dw={hash:"svelte-a15aei",code:".rcb-ui-asset-icon.svelte-a15aei {display:inline-block;width:1em;height:1em;}"};function Gp(r){ke(r,dw);var e=uw(),t=T(e);fn(t,()=>cw),P(r,e)}var pw=W('<div class="rcb-info svelte-jea5iu"><div class="rcb-info-icon-wrapper svelte-jea5iu"><!></div> <div class="rcb-info-content svelte-jea5iu"><div class="rcb-info-title svelte-jea5iu"><!></div> <div class="rcb-info-message svelte-jea5iu"><!></div></div></div>');const _w={hash:"svelte-jea5iu",code:`.rcb-info.svelte-jea5iu {display:flex;align-items:flex-start;background-color:var(--rc-color-grey-ui-light);border-radius:var(--rc-shape-input-border-radius);gap:var(--rc-spacing-gapLarge-mobile);padding:var(--rc-spacing-gapLarge-mobile);}.rcb-info-content.svelte-jea5iu {flex:1;}.rcb-info-icon-wrapper.svelte-jea5iu {flex-shrink:0;color:var(--rc-color-accent-primary);}.rcb-info-title.svelte-jea5iu {color:var(--rc-color-grey-text-dark);margin-bottom:var(--rc-spacing-gapSmall-mobile);display:flex;}.rcb-info-message.svelte-jea5iu {color:var(--rc-color-grey-text-light);}
271
+ </svg> `;var pw=V('<div class="rcb-ui-asset-icon svelte-a15aei"><!></div>');const _w={hash:"svelte-a15aei",code:".rcb-ui-asset-icon.svelte-a15aei {display:inline-block;width:1em;height:1em;}"};function Jp(r){we(r,_w);var e=pw(),t=T(e);fn(t,()=>dw),P(r,e)}var gw=V('<div class="rcb-info svelte-jea5iu"><div class="rcb-info-icon-wrapper svelte-jea5iu"><!></div> <div class="rcb-info-content svelte-jea5iu"><div class="rcb-info-title svelte-jea5iu"><!></div> <div class="rcb-info-message svelte-jea5iu"><!></div></div></div>');const fw={hash:"svelte-jea5iu",code:`.rcb-info.svelte-jea5iu {display:flex;align-items:flex-start;background-color:var(--rc-color-grey-ui-light);border-radius:var(--rc-shape-input-border-radius);gap:var(--rc-spacing-gapLarge-mobile);padding:var(--rc-spacing-gapLarge-mobile);}.rcb-info-content.svelte-jea5iu {flex:1;}.rcb-info-icon-wrapper.svelte-jea5iu {flex-shrink:0;color:var(--rc-color-accent-primary);}.rcb-info-title.svelte-jea5iu {color:var(--rc-color-grey-text-dark);margin-bottom:var(--rc-spacing-gapSmall-mobile);display:flex;}.rcb-info-message.svelte-jea5iu {color:var(--rc-color-grey-text-light);}
272
272
 
273
273
  @container layout-query-container (width >= 768px) {.rcb-info.svelte-jea5iu {gap:var(--rc-spacing-gapLarge-desktop);padding:var(--rc-spacing-gapLarge-desktop);}.rcb-info-title.svelte-jea5iu {margin-bottom:var(--rc-spacing-gapSmall-desktop);}
274
- }`};function gw(r,e){ke(r,_w);var t=pw(),n=T(t),a=T(n);Gp(a);var i=Y(n,2),s=T(i),l=T(s);qe(l,{size:"body-small",children:(d,p)=>{var _=je();Z(()=>ve(_,e.title)),P(d,_)},$$slots:{default:!0}});var c=Y(s,2),u=T(c);qe(u,{size:"body-small",children:(d,p)=>{var _=je();Z(()=>ve(_,e.message)),P(d,_)},$$slots:{default:!0}}),P(r,t)}function fw(r,e){fe(e,!0);const t=()=>pe(i,"$translator",n),[n,a]=Ye(),i=Xe(vr);{let s=m(()=>t().translate(ie.PriceUpdateTitle)),l=m(()=>{var c;return t().translate((c=e.subscriptionOption)!=null&&c.trial?ie.PriceUpdateTrialMessage:ie.PriceUpdateBaseMessage)});gw(r,{get title(){return o(s)},get message(){return o(l)}})}me(),a()}function Bo(r,e){var n,a,i;if(r.productType==="subscription"){const s=e,l=((n=s.discount)==null?void 0:n.price)??((a=s.introPrice)==null?void 0:a.price)??s.base.price;if(l)return l}else{const s=e;return((i=s.discount)==null?void 0:i.price)??s.basePrice}return r.price}function mw(r,e){if(!r||!e)return!1;const t=zo(r),n=zo(e);return t>0&&n>t}function Ki(r){return`${r}% off`}function Zl(r,e,t,n){if(!mw(t,e))return Ki(r);const a=n.translatePeriod(e.number,e.unit);return`${r}% off for ${a}`}function hw(r){return r.durationMode==="time_window"&&r.timeWindow?Po(r.timeWindow):r.durationMode==="time_window"&&r.period&&r.cycleCount>0?{number:r.period.number*r.cycleCount,unit:r.period.unit}:null}function Kp(r,e,t){return r.percentage==null?null:r.durationMode==="time_window"?Zl(r.percentage,hw(r),e,t):Ki(r.percentage)}function vw({appliedDiscount:r,purchaseOptionDiscount:e,basePeriod:t,translator:n}){const a=r.percentage;if(a==null)return null;if(r.durationMode==="time_window"&&r.timeWindow)return Zl(a,Po(r.timeWindow),t,n);if(!e||e.durationMode!=="time_window")return Ki(a);const i=e.period;return!i||e.cycleCount<=0?Ki(a):Zl(a,{number:i.number*e.cycleCount,unit:i.unit},t,n)}function Xp(r,e,t){const n=(r==null?void 0:r.trim())||t;return e?`${n} (${e})`:n}function yw(r,e,t,n,a){const i=Kp(e,t,n);return Xp(r,i,a)}function bw({priceBreakdown:r,purchaseOptionDiscount:e,fullPriceMicros:t,basePeriod:n,translator:a,fallbackDiscountName:i}){var p,_;const s=(p=r.appliedDiscounts)==null?void 0:p[0];if(s&&s.discountedAmountInMicros>0){const g=vw({appliedDiscount:s,purchaseOptionDiscount:e,basePeriod:n,translator:a}),f=s.displayName;return{discountAmountInMicros:s.discountedAmountInMicros,displayName:(f==null?void 0:f.trim())||i,suffix:g,label:Xp(f,g,i)}}if(!e)return null;const l=(_=e.price)==null?void 0:_.amountMicros;if(l==null)return null;const c=t-l;if(c<=0)return null;const u=Kp(e,n,a),d=e.name;return{discountAmountInMicros:c,displayName:(d==null?void 0:d.trim())||i,suffix:u,label:yw(d,e,n,a,i)}}function Jl({priceBreakdown:r,productDetails:e,purchaseOption:t,translator:n}){var d;const a=e.productType===Xr.Subscription,i=a?t:null,s=a?null:t,l=(i==null?void 0:i.discount)??(s==null?void 0:s.discount)??null,c=a?((d=i==null?void 0:i.base.price)==null?void 0:d.amountMicros)??e.price.amountMicros:(s==null?void 0:s.basePrice.amountMicros)??e.price.amountMicros,u=a?i==null?void 0:i.base.period:null;return bw({priceBreakdown:r,purchaseOptionDiscount:l,fullPriceMicros:c,basePeriod:u,translator:n,fallbackDiscountName:n.translate(ie.PricingTableDiscount)})}class Zp extends Error{}var kw=W('<div class="rc-loading svelte-zfhfge"><!></div>'),ww=W('<div class="rc-checkout-container svelte-zfhfge"><!> <!> <form data-testid="payment-form" class="rc-checkout-form svelte-zfhfge"><div><div class="rc-elements-container svelte-zfhfge"><!></div> <div><!></div> <div><!> <div class="rc-checkout-secure-container svelte-zfhfge"><!></div></div></div></form></div>');const Pw={hash:"svelte-zfhfge",code:`.rc-checkout-secure-container.svelte-zfhfge {margin-top:var(--rc-spacing-gapXLarge-mobile);}.rc-checkout-container.svelte-zfhfge {display:flex;flex-direction:column;gap:var(--rc-spacing-gapXLarge-mobile);user-select:none;position:relative;}.rc-checkout-price-update-info-container.svelte-zfhfge {margin-top:var(--rc-spacing-gapXLarge-mobile);}.fully-hidden.svelte-zfhfge {display:none;height:0;}.rc-checkout-pay-container.svelte-zfhfge {display:flex;flex-direction:column;margin-top:var(--rc-spacing-gapXLarge-mobile);}.rc-checkout-pay-container.fully-hidden.svelte-zfhfge {display:none;}.rc-checkout-form-container.svelte-zfhfge {width:100%;}.rc-elements-container.svelte-zfhfge {
274
+ }`};function mw(r,e){we(r,fw);var t=gw(),n=T(t),a=T(n);Jp(a);var i=H(n,2),s=T(i),l=T(s);qe(l,{size:"body-small",children:(d,p)=>{var g=je();K(()=>ve(g,e.title)),P(d,g)},$$slots:{default:!0}});var c=H(s,2),u=T(c);qe(u,{size:"body-small",children:(d,p)=>{var g=je();K(()=>ve(g,e.message)),P(d,g)},$$slots:{default:!0}}),P(r,t)}function hw(r,e){fe(e,!0);const t=()=>pe(i,"$translator",n),[n,a]=He(),i=Xe(vr);{let s=m(()=>t().translate(le.PriceUpdateTitle)),l=m(()=>{var c;return t().translate((c=e.subscriptionOption)!=null&&c.trial?le.PriceUpdateTrialMessage:le.PriceUpdateBaseMessage)});mw(r,{get title(){return o(s)},get message(){return o(l)}})}me(),a()}function Uo(r,e){var n,a,i;if(r.productType==="subscription"){const s=e,l=((n=s.discount)==null?void 0:n.price)??((a=s.introPrice)==null?void 0:a.price)??s.base.price;if(l)return l}else{const s=e;return((i=s.discount)==null?void 0:i.price)??s.basePrice}return r.price}function vw(r,e){if(!r||!e)return!1;const t=jo(r),n=jo(e);return t>0&&n>t}function Ki(r){return`${r}% off`}function Zl(r,e,t,n){if(!vw(t,e))return Ki(r);const a=n.translatePeriod(e.number,e.unit);return`${r}% off for ${a}`}function yw(r){return r.durationMode==="time_window"&&r.timeWindow?xo(r.timeWindow):r.durationMode==="time_window"&&r.period&&r.cycleCount>0?{number:r.period.number*r.cycleCount,unit:r.period.unit}:null}function Qp(r,e,t){return r.percentage==null?null:r.durationMode==="time_window"?Zl(r.percentage,yw(r),e,t):Ki(r.percentage)}function bw({appliedDiscount:r,purchaseOptionDiscount:e,basePeriod:t,translator:n}){const a=r.percentage;if(a==null)return null;if(r.durationMode==="time_window"&&r.timeWindow)return Zl(a,xo(r.timeWindow),t,n);if(!e||e.durationMode!=="time_window")return Ki(a);const i=e.period;return!i||e.cycleCount<=0?Ki(a):Zl(a,{number:i.number*e.cycleCount,unit:i.unit},t,n)}function $p(r,e,t){const n=(r==null?void 0:r.trim())||t;return e?`${n} (${e})`:n}function kw(r,e,t,n,a){const i=Qp(e,t,n);return $p(r,i,a)}function ww({priceBreakdown:r,purchaseOptionDiscount:e,fullPriceMicros:t,basePeriod:n,translator:a,fallbackDiscountName:i}){var p,g;const s=(p=r.appliedDiscounts)==null?void 0:p[0];if(s&&s.discountedAmountInMicros>0){const _=bw({appliedDiscount:s,purchaseOptionDiscount:e,basePeriod:n,translator:a}),f=s.displayName;return{discountAmountInMicros:s.discountedAmountInMicros,displayName:(f==null?void 0:f.trim())||i,suffix:_,label:$p(f,_,i)}}if(!e)return null;const l=(g=e.price)==null?void 0:g.amountMicros;if(l==null)return null;const c=t-l;if(c<=0)return null;const u=Qp(e,n,a),d=e.name;return{discountAmountInMicros:c,displayName:(d==null?void 0:d.trim())||i,suffix:u,label:kw(d,e,n,a,i)}}function Jl({priceBreakdown:r,productDetails:e,purchaseOption:t,translator:n}){var d;const a=e.productType===Kr.Subscription,i=a?t:null,s=a?null:t,l=(i==null?void 0:i.discount)??(s==null?void 0:s.discount)??null,c=a?((d=i==null?void 0:i.base.price)==null?void 0:d.amountMicros)??e.price.amountMicros:(s==null?void 0:s.basePrice.amountMicros)??e.price.amountMicros,u=a?i==null?void 0:i.base.period:null;return ww({priceBreakdown:r,purchaseOptionDiscount:l,fullPriceMicros:c,basePeriod:u,translator:n,fallbackDiscountName:n.translate(le.PricingTableDiscount)})}class e_ extends Error{}var Pw=V('<div class="rc-loading svelte-zfhfge"><!></div>'),xw=V('<div class="rc-checkout-container svelte-zfhfge"><!> <!> <form data-testid="payment-form" class="rc-checkout-form svelte-zfhfge"><div><div class="rc-elements-container svelte-zfhfge"><!></div> <div><!></div> <div><!> <div class="rc-checkout-secure-container svelte-zfhfge"><!></div></div></div></form></div>');const Ew={hash:"svelte-zfhfge",code:`.rc-checkout-secure-container.svelte-zfhfge {margin-top:var(--rc-spacing-gapXLarge-mobile);}.rc-checkout-container.svelte-zfhfge {display:flex;flex-direction:column;gap:var(--rc-spacing-gapXLarge-mobile);user-select:none;position:relative;}.rc-checkout-price-update-info-container.svelte-zfhfge {margin-top:var(--rc-spacing-gapXLarge-mobile);}.fully-hidden.svelte-zfhfge {display:none;height:0;}.rc-checkout-pay-container.svelte-zfhfge {display:flex;flex-direction:column;margin-top:var(--rc-spacing-gapXLarge-mobile);}.rc-checkout-pay-container.fully-hidden.svelte-zfhfge {display:none;}.rc-checkout-form-container.svelte-zfhfge {width:100%;}.rc-elements-container.svelte-zfhfge {
275
275
  /* The standard height of the payment form from Stripe */
276
276
  /* Added to avoid the card getting smaller while loading */min-height:210px;}.rc-checkout-form-container.invisible.svelte-zfhfge {visibility:hidden;}.rc-loading.svelte-zfhfge {width:100%;height:100%;display:flex;justify-content:center;align-items:center;}
277
277
 
@@ -279,7 +279,7 @@ but received
279
279
  }
280
280
 
281
281
  @container layout-query-container (width >= 768px) {.rc-checkout-secure-container.svelte-zfhfge {margin-top:var(--rc-spacing-gapXLarge-desktop);}.rc-checkout-container.svelte-zfhfge {gap:var(--rc-spacing-gapXLarge-desktop);}.rc-checkout-pay-container.svelte-zfhfge {margin-top:var(--rc-spacing-gapXLarge-desktop);}.rc-checkout-price-update-info-container.svelte-zfhfge {margin-top:var(--rc-spacing-gapXLarge-desktop);}
282
- }form.svelte-zfhfge {display:flex;flex-direction:column;flex-grow:1;}`};function xw(r,e){var Xo,ps,Zo,Jo,_s,gs,fs,ar,xr;fe(e,!0),ke(r,Pw);const t=()=>pe(l,"$translator",n),[n,a]=Ye(),i=Q(e,"onProcessingStateChange",3,void 0),s=Xe(Fo),l=Xe(vr),c=(Xo=e.productDetails.subscriptionOptions)==null?void 0:Xo[e.purchaseOption.id],u=Bo(e.productDetails,e.purchaseOption);let d=re(nr(((ps=e.defaultPriceBreakdown)==null?void 0:ps.taxCalculationStatus)??((Zo=e.brandingInfo)!=null&&Zo.gateway_tax_collection_enabled?"unavailable":"disabled"))),p=re(nr(((Jo=e.defaultPriceBreakdown)==null?void 0:Jo.originalAmountInMicros)??u.amountMicros)),_=re(nr(((_s=e.defaultPriceBreakdown)==null?void 0:_s.taxAmountInMicros)??null)),g=re(nr(((gs=e.defaultPriceBreakdown)==null?void 0:gs.taxBreakdown)??null)),f=re(nr(((fs=e.defaultPriceBreakdown)==null?void 0:fs.totalExcludingTaxInMicros)??u.amountMicros)),v=re(nr(((ar=e.defaultPriceBreakdown)==null?void 0:ar.totalAmountInMicros)??u.amountMicros)),y=re(nr(((xr=e.defaultPriceBreakdown)==null?void 0:xr.appliedDiscounts)??[])),h=m(()=>({currency:u.currency,originalAmountInMicros:o(p),totalAmountInMicros:o(v),totalExcludingTaxInMicros:o(f),taxCalculationStatus:o(d),taxAmountInMicros:o(_),taxBreakdown:o(g),appliedDiscounts:o(y)})),w=re(nr(e.gatewayParams.elements_configuration)),k=re(null),b=re(null),x=re(null),I=re(nr(e.customerEmail??void 0)),S=re(nr(!!e.customerEmail)),q=re(!0),E=re(!1),D=re(void 0),C=re(void 0),B=re(void 0),F=re(!1),z=re(null),L=m(()=>o(q)||o(F)?"loading":o(C)?"error":"form"),A=re("unavailable"),M=m(()=>!o(F)&&o(E)&&o(S)&&(o(d)==="disabled"||o(d)==="calculated"||o(d)==="miss-match")),N=m(()=>Jl({priceBreakdown:o(h),productDetails:e.productDetails,purchaseOption:e.purchaseOption,translator:t()})),H=m(()=>o(h)&&(e.productDetails.productType===Xr.Subscription?c&&e.managementUrl?pr.buildStripeExpressCheckoutOptionsForSubscription(e.productDetails,o(h),c,t(),e.managementUrl,o(N)):void 0:e.productDetails.defaultNonSubscriptionOption?pr.buildStripeExpressCheckoutOptionsForNonSubscription(e.productDetails,o(h),o(N)):void 0));mr(()=>{e.onPriceBreakdownUpdated(o(h))}),mr(()=>{e.defaultPriceBreakdown&&(j(d,e.defaultPriceBreakdown.taxCalculationStatus,!0),j(p,e.defaultPriceBreakdown.originalAmountInMicros??u.amountMicros,!0),j(_,e.defaultPriceBreakdown.taxAmountInMicros,!0),j(g,e.defaultPriceBreakdown.taxBreakdown,!0),j(f,e.defaultPriceBreakdown.totalExcludingTaxInMicros,!0),j(v,e.defaultPriceBreakdown.totalAmountInMicros,!0),j(y,e.defaultPriceBreakdown.appliedDiscounts??[],!0))}),mr(()=>{j(w,e.gatewayParams.elements_configuration,!0)}),mr(()=>{var se;(se=i())==null||se(o(F))}),Tr(async()=>{o(d)==="unavailable"&&await X(null).catch(ze)}),Wt(()=>{o(z)&&(o(z).abort(),j(z,null))});async function X(se,Le){await e.purchaseOperationHelper.checkoutRefreshPricing({countryCode:se==null?void 0:se.countryCode,postalCode:se==null?void 0:se.postalCode,signal:Le}).then(or=>{const gr=Dp({taxCalculation:or,taxCustomerDetails:se});s.trackSDKEvent(gr),Le==null||Le.throwIfAborted();let tt;or.failed_reason?!se&&or.failed_reason===yn.invalid_tax_location?tt="pending":tt="disabled":tt="calculated",R(or,tt,se)})}function R(se,Le,or){const gr=Hu(se,Le);j(d,gr.taxCalculationStatus,!0),j(p,gr.originalAmountInMicros??u.amountMicros,!0),j(_,gr.taxAmountInMicros,!0),j(g,gr.taxBreakdown,!0),j(f,gr.totalExcludingTaxInMicros,!0),j(v,gr.totalAmountInMicros,!0),j(y,gr.appliedDiscounts??[],!0),j(w,se.gateway_params.elements_configuration,!0),j(k,or,!0)}function $(){s.trackSDKEvent({eventName:ct.CheckoutPaymentFormImpression,properties:{mode:rt}}),j(q,!1)}async function ce(se,Le){j(I,Le,!0),j(S,se,!0),await O()}async function de({complete:se,paymentMethod:Le}){j(D,Le,!0),j(E,se,!0),await O()}async function G(se){if(se==null||se.preventDefault(),o(F))return;const Le=Ap({selectedPaymentMethod:o(D)??null});s.trackSDKEvent(Le),j(F,!0),await U()?e.onContinue():j(F,!1)}async function V(se,Le){j(D,se,!0),j(I,e.customerEmail??Le,!0),await G()}async function O(){o(D)!=="card"||!o(S)||!o(E)||o(F)||o(d)==="disabled"||(o(d)!=="loading"&&(j(A,o(d),!0),j(d,"loading")),await te(async se=>{await ue().then(()=>se.throwIfAborted()).then(()=>Se(se)).then(()=>se.throwIfAborted()).catch(Le=>{se.aborted||ze(Le)}).finally(()=>{o(d)==="loading"&&!se.aborted&&j(d,o(A),!0)})}))}async function U(){return await te(async se=>{const Le=o(v);let or;return await ue().then(()=>se.throwIfAborted()).then(()=>Se(se)).then(gr=>{or=gr}).then(()=>se.throwIfAborted()).then(Pe(Le)).then(()=>se.throwIfAborted()).then(Te).then(()=>se.throwIfAborted()).then(()=>Ne(or)).then(()=>se.throwIfAborted()).then(()=>!0).catch(gr=>(se.aborted||ze(gr),!1))})}async function te(se){o(z)&&o(z).abort(),j(z,new AbortController,!0);const Le=o(z).signal;try{return await se(Le)}catch(or){if(or instanceof DOMException&&or.name==="AbortError")return Promise.resolve(void 0);throw or}}async function ue(){o(x)&&await pr.submitElements(o(x))}async function Se(se){var tt,to;if(o(d)==="unavailable"||o(d)==="disabled"||!o(x)||!o(b))return;const{customerDetails:Le,confirmationTokenId:or}=await pr.extractTaxCustomerDetails(o(x),o(b));return se==null||se.throwIfAborted(),Le.postalCode===((tt=o(k))==null?void 0:tt.postalCode)&&Le.countryCode===((to=o(k))==null?void 0:to.countryCode)||await X(Le,se),or&&o(D)!=="card"?or:void 0}function Pe(se){return()=>{if(o(v)!==se)throw new Zp}}async function Te(){var or;const se=await e.purchaseOperationHelper.checkoutComplete(o(I),t().selectedLocale),Le=(or=se==null?void 0:se.gateway_params)==null?void 0:or.client_secret;Le&&j(B,Le,!0)}async function Ne(se){!o(b)||!o(x)||!o(B)||await pr.confirmElements(o(b),o(x),o(B),se)}async function ze(se){if(se instanceof Zp)j(d,"miss-match");else if(se instanceof he){const Le=uk({errorCode:se.errorCode.toString(),errorMessage:se.message});s.trackSDKEvent(Le),se.errorCode===_e.MissingEmailError?j(C,t().translate(ie.ErrorPageErrorMessageInvalidEmailError,{email:o(I)}),!0):e.onError(se)}else if(se instanceof Lo)await Ie(se);else throw se}async function Ie(se){const Le=Vl({errorCode:se.gatewayErrorCode??"",errorMessage:se.message??""});s.trackSDKEvent(Le),se.code===Xl.HandledFormError||(se.code===Xl.UnhandledFormError?j(C,se.message,!0):e.onError(new he(_e.ErrorSettingUpPurchase,"Failed to initialize payment form",se.message)))}const Ee=()=>{j(C,void 0)};var Be=ww(),Ve=T(Be);{var ne=se=>{var Le=kw(),or=T(Le);qp(or),P(se,Le)};K(Ve,se=>{o(L)==="loading"&&se(ne)})}var ge=Y(Ve,2);{var le=se=>{{const Le=tt=>{$u(tt)},or=tt=>{var to=je();Z(()=>ve(to,o(C))),P(tt,to)};let gr=m(()=>t().translate(ie.ErrorButtonTryAgain));Ol(se,{title:null,type:"error",get closeButtonTitle(){return o(gr)},onDismiss:Ee,icon:Le,message:or,$$slots:{icon:!0,message:!0}})}};K(ge,se=>{o(L)==="error"&&se(le)})}var Ce=Y(ge,2),Ke=T(Ce);let er;var hr=T(Ke),Re=T(hr);{let se=m(()=>!!e.customerEmail);lw(Re,{get stripeAccountId(){return e.gatewayParams.stripe_account_id},get publishableApiKey(){return e.gatewayParams.publishable_api_key},get elementsConfiguration(){return o(w)},get brandingInfo(){return e.brandingInfo},get forceEnableWalletMethods(){return e.forceEnableWalletMethods},get skipEmail(){return o(se)},onLoadingComplete:$,onError:Ie,onEmailChange:ce,onPaymentInfoChange:de,onExpressCheckoutElementSubmit:V,get expressCheckoutOptions(){return o(H)},get stripe(){return o(b)},set stripe(Le){j(b,Le,!0)},get elements(){return o(x)},set elements(Le){j(x,Le,!0)}})}var oe=Y(hr,2);let Oe;var yr=T(oe);fw(yr,{get subscriptionOption(){return c}});var _r=Y(oe,2);let zr;var yt=T(_r);{let se=m(()=>!o(M)),Le=m(()=>{var or;return(or=e.brandingInfo)!=null&&or.gateway_tax_collection_enabled?o(h):void 0});vk(yt,{get disabled(){return o(se)},get subscriptionOption(){return c},get priceBreakdown(){return o(Le)}})}var Kn=Y(yt,2),ro=T(Kn);lk(ro,{get brandingInfo(){return e.brandingInfo},get purchaseOption(){return e.purchaseOption},get termsAndConditionsUrl(){return e.termsAndConditionsUrl}}),Z(()=>{er=ur(Ke,1,"rc-checkout-form-container svelte-zfhfge",null,er,{invisible:o(L)!=="form"}),Oe=ur(oe,1,"rc-checkout-price-update-info-container svelte-zfhfge",null,Oe,{"fully-hidden":o(d)!=="miss-match"||o(L)!=="form"}),zr=ur(_r,1,"rc-checkout-pay-container svelte-zfhfge",null,zr,{"fully-hidden":o(L)!=="form"})}),Nr("submit",Ce,G),P(r,Be),me(),a()}var Ew=Cr('<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M4.94 5.72656L8 8.7799L11.06 5.72656L12 6.66656L8 10.6666L4 6.66656L4.94 5.72656Z" class="arrow-fill svelte-1eerlbf" fill-opacity="0.7"></path></svg>');const Sw={hash:"svelte-1eerlbf",code:".arrow.svelte-1eerlbf {transition:transform 0.3s ease;}.arrow-fill.svelte-1eerlbf {fill:var(--rc-color-grey-text-dark);}.arrow.left.svelte-1eerlbf {transform:rotate(90deg);}.arrow.up.svelte-1eerlbf {transform:rotate(180deg);}.arrow.right.svelte-1eerlbf {transform:rotate(-90deg);}.arrow.down.svelte-1eerlbf {transform:rotate(0deg);}"};function Xi(r,e){ke(r,Sw);let t=Q(e,"direction",8);var n=Ew();Z(()=>ur(n,0,`arrow ${t()??""}`,"svelte-1eerlbf")),P(r,n)}var Iw=Cr('<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" class="arrow"><path d="M15.41 7.41L14 6L8 12L14 18L15.41 16.59L10.83 12L15.41 7.41Z" class="arrow-fill svelte-159d2rl" fill-opacity="0.7"></path></svg>');const Cw={hash:"svelte-159d2rl",code:".arrow-fill.svelte-159d2rl {fill:var(--rc-color-grey-text-dark);}"};function Tw(r){ke(r,Cw);var e=Iw();P(r,e)}const Dw=`<svg width="24" height="24" viewBox="0 0 24 24" fill="currentColor"
282
+ }form.svelte-zfhfge {display:flex;flex-direction:column;flex-grow:1;}`};function Sw(r,e){var Zo,Jo,_s,gs,fs,ar,Pr,Xn;fe(e,!0),we(r,Ew);const t=()=>pe(c,"$translator",n),[n,a]=He();let i=J(e,"onSessionPricingUpdated",3,void 0),s=J(e,"onProcessingStateChange",3,void 0);const l=Xe(zo),c=Xe(vr),u=m(()=>"base"in e.purchaseOption?e.purchaseOption:null),d=m(()=>Uo(e.productDetails,e.purchaseOption));let p=re(or(((Zo=e.defaultPriceBreakdown)==null?void 0:Zo.taxCalculationStatus)??((Jo=e.brandingInfo)!=null&&Jo.gateway_tax_collection_enabled?"unavailable":"disabled"))),g=re(or(((_s=e.defaultPriceBreakdown)==null?void 0:_s.originalAmountInMicros)??o(d).amountMicros)),_=re(or(((gs=e.defaultPriceBreakdown)==null?void 0:gs.taxAmountInMicros)??null)),f=re(or(((fs=e.defaultPriceBreakdown)==null?void 0:fs.taxBreakdown)??null)),v=re(or(((ar=e.defaultPriceBreakdown)==null?void 0:ar.totalExcludingTaxInMicros)??o(d).amountMicros)),y=re(or(((Pr=e.defaultPriceBreakdown)==null?void 0:Pr.totalAmountInMicros)??o(d).amountMicros)),h=re(or(((Xn=e.defaultPriceBreakdown)==null?void 0:Xn.appliedDiscounts)??[])),k=m(()=>({currency:o(d).currency,originalAmountInMicros:o(g),totalAmountInMicros:o(y),totalExcludingTaxInMicros:o(v),taxCalculationStatus:o(p),taxAmountInMicros:o(_),taxBreakdown:o(f),appliedDiscounts:o(h)})),w=re(or(e.gatewayParams.elements_configuration)),b=re(null),x=re(null),S=re(null),I=re(or(e.customerEmail??void 0)),z=re(or(!!e.customerEmail)),E=re(!0),M=re(!1),C=re(void 0),B=re(void 0),O=re(void 0),q=re(!1),L=re(null),F=m(()=>o(E)||o(q)?"loading":o(B)?"error":"form"),A=re("unavailable"),N=m(()=>!o(q)&&o(M)&&o(z)&&(o(p)==="disabled"||o(p)==="calculated"||o(p)==="miss-match")),W=m(()=>Jl({priceBreakdown:o(k),productDetails:e.productDetails,purchaseOption:e.purchaseOption,translator:t()})),G=m(()=>o(k)&&(e.productDetails.productType===Kr.Subscription?o(u)&&e.managementUrl?pr.buildStripeExpressCheckoutOptionsForSubscription(e.productDetails,o(k),o(u),t(),e.managementUrl,o(W)):void 0:e.productDetails.defaultNonSubscriptionOption?pr.buildStripeExpressCheckoutOptionsForNonSubscription(e.productDetails,o(k),o(W)):void 0));gr(()=>{e.onPriceBreakdownUpdated(o(k))});function R(ae){j(p,ae.taxCalculationStatus,!0),j(g,ae.originalAmountInMicros??o(d).amountMicros,!0),j(_,ae.taxAmountInMicros,!0),j(f,ae.taxBreakdown,!0),j(v,ae.totalExcludingTaxInMicros,!0),j(y,ae.totalAmountInMicros,!0),j(h,ae.appliedDiscounts??[],!0)}gr(()=>{e.defaultPriceBreakdown||(j(g,o(d).amountMicros,!0),j(_,null),j(f,null),j(v,o(d).amountMicros,!0),j(y,o(d).amountMicros,!0),j(h,[],!0))}),gr(()=>{e.defaultPriceBreakdown&&R(e.defaultPriceBreakdown)}),gr(()=>{j(w,e.gatewayParams.elements_configuration,!0)}),gr(()=>{var ae;(ae=s())==null||ae(o(q))}),Cr(async()=>{o(p)==="unavailable"&&await $(null).catch(Ee)}),Wt(()=>{o(L)&&(o(L).abort(),j(L,null))});async function $(ae,ze){await e.purchaseOperationHelper.checkoutRefreshPricing({countryCode:ae==null?void 0:ae.countryCode,postalCode:ae==null?void 0:ae.postalCode,signal:ze}).then(Je=>{const rt=Fp({taxCalculation:Je,taxCustomerDetails:ae});l.trackSDKEvent(rt),ze==null||ze.throwIfAborted();let jt;Je.failed_reason?!ae&&Je.failed_reason===yn.invalid_tax_location?jt="pending":jt="disabled":jt="calculated",ue(Je,jt,ae)})}function ue(ae,ze,Je){const rt=Yu(ae,ze);i()?i()(ae,rt):(R(rt),j(w,ae.gateway_params.elements_configuration,!0)),j(b,Je,!0)}function de(){l.trackSDKEvent({eventName:lt.CheckoutPaymentFormImpression,properties:{mode:et}}),j(E,!1)}async function te(ae,ze){j(I,ze,!0),j(z,ae,!0),await ee()}async function X({complete:ae,paymentMethod:ze}){j(C,ze,!0),j(M,ae,!0),await ee()}async function D(ae){if(ae==null||ae.preventDefault(),o(q))return;const ze=Mp({selectedPaymentMethod:o(C)??null});l.trackSDKEvent(ze),j(q,!0),await ie()?e.onContinue():j(q,!1)}async function U(ae,ze){j(C,ae,!0),j(I,e.customerEmail??ze,!0),await D()}async function ee(){o(C)!=="card"||!o(z)||!o(M)||o(q)||o(p)==="disabled"||(o(p)!=="loading"&&(j(A,o(p),!0),j(p,"loading")),await Pe(async ae=>{await ke().then(()=>ae.throwIfAborted()).then(()=>Te(ae)).then(()=>ae.throwIfAborted()).catch(ze=>{ae.aborted||Ee(ze)}).finally(()=>{o(p)==="loading"&&!ae.aborted&&j(p,o(A),!0)})}))}async function ie(){return await Pe(async ae=>{const ze=o(y);let Je;return await ke().then(()=>ae.throwIfAborted()).then(()=>Te(ae)).then(rt=>{Je=rt}).then(()=>ae.throwIfAborted()).then(Ne(ze)).then(()=>ae.throwIfAborted()).then(Oe).then(()=>ae.throwIfAborted()).then(()=>Ie(Je)).then(()=>ae.throwIfAborted()).then(()=>!0).catch(rt=>(ae.aborted||Ee(rt),!1))})}async function Pe(ae){o(L)&&o(L).abort(),j(L,new AbortController,!0);const ze=o(L).signal;try{return await ae(ze)}catch(Je){if(Je instanceof DOMException&&Je.name==="AbortError")return Promise.resolve(void 0);throw Je}}async function ke(){o(S)&&await pr.submitElements(o(S))}async function Te(ae){var jt,no;if(o(p)==="unavailable"||o(p)==="disabled"||!o(S)||!o(x))return;const{customerDetails:ze,confirmationTokenId:Je}=await pr.extractTaxCustomerDetails(o(S),o(x));return ae==null||ae.throwIfAborted(),ze.postalCode===((jt=o(b))==null?void 0:jt.postalCode)&&ze.countryCode===((no=o(b))==null?void 0:no.countryCode)||await $(ze,ae),Je&&o(C)!=="card"?Je:void 0}function Ne(ae){return()=>{if(o(y)!==ae)throw new e_}}async function Oe(){var Je;const ae=await e.purchaseOperationHelper.checkoutComplete(o(I),t().selectedLocale),ze=(Je=ae==null?void 0:ae.gateway_params)==null?void 0:Je.client_secret;ze&&j(O,ze,!0)}async function Ie(ae){!o(x)||!o(S)||!o(O)||await pr.confirmElements(o(x),o(S),o(O),ae)}async function Ee(ae){if(ae instanceof e_)j(p,"miss-match");else if(ae instanceof he){const ze=_k({errorCode:ae.errorCode.toString(),errorMessage:ae.message});l.trackSDKEvent(ze),ae.errorCode===_e.MissingEmailError?j(B,t().translate(le.ErrorPageErrorMessageInvalidEmailError,{email:o(I)}),!0):e.onError(ae)}else if(ae instanceof Bo)await Be(ae);else throw ae}async function Be(ae){const ze=Vl({errorCode:ae.gatewayErrorCode??"",errorMessage:ae.message??""});l.trackSDKEvent(ze),ae.code===Xl.HandledFormError||(ae.code===Xl.UnhandledFormError?j(B,ae.message,!0):e.onError(new he(_e.ErrorSettingUpPurchase,"Failed to initialize payment form",ae.message)))}const Ye=()=>{j(B,void 0)};var ne=xw(),ge=T(ne);{var ce=ae=>{var ze=Pw(),Je=T(ze);zp(Je),P(ae,ze)};Y(ge,ae=>{o(F)==="loading"&&ae(ce)})}var Ce=H(ge,2);{var Ke=ae=>{{const ze=jt=>{td(jt)},Je=jt=>{var no=je();K(()=>ve(no,o(B))),P(jt,no)};let rt=m(()=>t().translate(le.ErrorButtonTryAgain));Ol(ae,{title:null,type:"error",get closeButtonTitle(){return o(rt)},onDismiss:Ye,icon:ze,message:Je,$$slots:{icon:!0,message:!0}})}};Y(Ce,ae=>{o(F)==="error"&&ae(Ke)})}var rr=H(Ce,2),hr=T(rr);let Le;var se=T(hr),Ue=T(se);{let ae=m(()=>!!e.customerEmail);uw(Ue,{get stripeAccountId(){return e.gatewayParams.stripe_account_id},get publishableApiKey(){return e.gatewayParams.publishable_api_key},get elementsConfiguration(){return o(w)},get brandingInfo(){return e.brandingInfo},get forceEnableWalletMethods(){return e.forceEnableWalletMethods},get skipEmail(){return o(ae)},onLoadingComplete:de,onError:Be,onEmailChange:te,onPaymentInfoChange:X,onExpressCheckoutElementSubmit:U,get expressCheckoutOptions(){return o(G)},get stripe(){return o(x)},set stripe(ze){j(x,ze,!0)},get elements(){return o(S)},set elements(ze){j(S,ze,!0)}})}var mr=H(se,2);let _r;var Or=T(mr);hw(Or,{get subscriptionOption(){return o(u)}});var vt=H(mr,2);let wn;var Pa=T(vt);{let ae=m(()=>!o(N)),ze=m(()=>{var Je;return(Je=e.brandingInfo)!=null&&Je.gateway_tax_collection_enabled?o(k):void 0});kk(Pa,{get disabled(){return o(ae)},get subscriptionOption(){return o(u)},get priceBreakdown(){return o(ze)}})}var ps=H(Pa,2),_c=T(ps);dk(_c,{get brandingInfo(){return e.brandingInfo},get purchaseOption(){return e.purchaseOption},get termsAndConditionsUrl(){return e.termsAndConditionsUrl}}),K(()=>{Le=ur(hr,1,"rc-checkout-form-container svelte-zfhfge",null,Le,{invisible:o(F)!=="form"}),_r=ur(mr,1,"rc-checkout-price-update-info-container svelte-zfhfge",null,_r,{"fully-hidden":o(p)!=="miss-match"||o(F)!=="form"}),wn=ur(vt,1,"rc-checkout-pay-container svelte-zfhfge",null,wn,{"fully-hidden":o(F)!=="form"})}),zr("submit",rr,D),P(r,ne),me(),a()}var Iw=Ir('<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M4.94 5.72656L8 8.7799L11.06 5.72656L12 6.66656L8 10.6666L4 6.66656L4.94 5.72656Z" class="arrow-fill svelte-1eerlbf" fill-opacity="0.7"></path></svg>');const Cw={hash:"svelte-1eerlbf",code:".arrow.svelte-1eerlbf {transition:transform 0.3s ease;}.arrow-fill.svelte-1eerlbf {fill:var(--rc-color-grey-text-dark);}.arrow.left.svelte-1eerlbf {transform:rotate(90deg);}.arrow.up.svelte-1eerlbf {transform:rotate(180deg);}.arrow.right.svelte-1eerlbf {transform:rotate(-90deg);}.arrow.down.svelte-1eerlbf {transform:rotate(0deg);}"};function Xi(r,e){we(r,Cw);let t=J(e,"direction",8);var n=Iw();K(()=>ur(n,0,`arrow ${t()??""}`,"svelte-1eerlbf")),P(r,n)}var Tw=Ir('<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" class="arrow"><path d="M15.41 7.41L14 6L8 12L14 18L15.41 16.59L10.83 12L15.41 7.41Z" class="arrow-fill svelte-159d2rl" fill-opacity="0.7"></path></svg>');const Dw={hash:"svelte-159d2rl",code:".arrow-fill.svelte-159d2rl {fill:var(--rc-color-grey-text-dark);}"};function Aw(r){we(r,Dw);var e=Tw();P(r,e)}const qw=`<svg width="24" height="24" viewBox="0 0 24 24" fill="currentColor"
283
283
  xmlns="http://www.w3.org/2000/svg">
284
284
  <g opacity="0.5" clip-path="url(#clip0_344_3390)">
285
285
  <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"
@@ -291,35 +291,35 @@ but received
291
291
  </clipPath>
292
292
  </defs>
293
293
  </svg>
294
- `;var Aw=W('<div style="color:var(--rc-color-gray-text-dark);"><!></div>');function qw(r){var e=Aw(),t=T(e);fn(t,()=>Dw),P(r,e)}const Mw=`<svg width="24" height="24" viewBox="0 0 24 24" fill="currentColor"
294
+ `;var Fw=V('<div style="color:var(--rc-color-gray-text-dark);"><!></div>');function Mw(r){var e=Fw(),t=T(e);fn(t,()=>qw),P(r,e)}const zw=`<svg width="24" height="24" viewBox="0 0 24 24" fill="currentColor"
295
295
  xmlns="http://www.w3.org/2000/svg">
296
296
  <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"
297
297
  fill="currentColor"/>
298
298
  </svg>
299
- `;var Fw=W('<div style="color:var(--rc-color-accent);" class="rcb-ui-asset-icon svelte-1dhcigx"><!></div>');const zw={hash:"svelte-1dhcigx",code:"div.svelte-1dhcigx {height:24px;width:24px;}"};function jw(r){ke(r,zw);var e=Fw(),t=T(e);fn(t,()=>Mw),P(r,e)}const Nw=`<svg viewBox="0 0 124 124" fill="var(--rc-color-grey-text-dark)" xmlns="http://www.w3.org/2000/svg">
299
+ `;var jw=V('<div style="color:var(--rc-color-accent);" class="rcb-ui-asset-icon svelte-1dhcigx"><!></div>');const Nw={hash:"svelte-1dhcigx",code:"div.svelte-1dhcigx {height:24px;width:24px;}"};function Ow(r){we(r,Nw);var e=jw(),t=T(e);fn(t,()=>zw),P(r,e)}const Lw=`<svg viewBox="0 0 124 124" fill="var(--rc-color-grey-text-dark)" xmlns="http://www.w3.org/2000/svg">
300
300
  <circle cx="62" cy="62" r="62" fill="var(--rc-color-grey-text-dark)" opacity="0.2"/>
301
301
  <rect x="44.1116" y="56" width="27.5" height="11" transform="rotate(45 44.1116 56)" fill="var(--rc-color-grey-text-dark)"/>
302
302
  <rect x="79.1133" y="44.334" width="11" height="44" transform="rotate(45 79.1133 44.334)" fill="var(--rc-color-grey-text-dark)"/>
303
303
  </svg>
304
- `;var Ow=W('<div style="color:var(--rc-color-primary)"><!></div>');function Jp(r){var e=Ow(),t=T(e);fn(t,()=>Nw),P(r,e)}var Lw=Cr('<svg width="20" height="20" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M19 6.41L17.59 5L12 10.59L6.41 5L5 6.41L10.59 12L5 17.59L6.41 19L12 13.41L17.59 19L19 17.59L13.41 12L19 6.41Z" class="arrow-fill svelte-1prqhxu" fill-opacity="0.7"></path></svg>');const Bw={hash:"svelte-1prqhxu",code:".arrow-fill.svelte-1prqhxu {fill:var(--arrow-fill-color, var(--rc-color-grey-text-dark));}"};function Rw(r){ke(r,Bw);var e=Lw();P(r,e)}const Uw=`<svg xmlns="http://www.w3.org/2000/svg" width="16" height="15" viewBox="0 0 16 15" fill="none">
304
+ `;var Bw=V('<div style="color:var(--rc-color-primary)"><!></div>');function r_(r){var e=Bw(),t=T(e);fn(t,()=>Lw),P(r,e)}var Uw=Ir('<svg width="20" height="20" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M19 6.41L17.59 5L12 10.59L6.41 5L5 6.41L10.59 12L5 17.59L6.41 19L12 13.41L17.59 19L19 17.59L13.41 12L19 6.41Z" class="arrow-fill svelte-1prqhxu" fill-opacity="0.7"></path></svg>');const Rw={hash:"svelte-1prqhxu",code:".arrow-fill.svelte-1prqhxu {fill:var(--arrow-fill-color, var(--rc-color-grey-text-dark));}"};function Vw(r){we(r,Rw);var e=Uw();P(r,e)}const Ww=`<svg xmlns="http://www.w3.org/2000/svg" width="16" height="15" viewBox="0 0 16 15" fill="none">
305
305
  <path d="M7.99697 9.21971C8.54919 9.21978 8.99697 9.66747 8.99697 10.2197C8.99696 10.772 8.54919 11.2196 7.99697 11.2197C7.44469 11.2197 6.996 10.772 6.99599 10.2197C6.99599 9.66743 7.44468 9.21971 7.99697 9.21971Z" fill="var(--rc-color-grey-text-dark)" fill-opacity="0.9"/>
306
306
  <path d="M7.99599 4.21971C8.54822 4.21978 8.99599 4.66747 8.99599 5.21971V7.21971C8.99598 7.77195 8.54821 8.21965 7.99599 8.21971C7.44371 8.21971 6.996 7.77199 6.99599 7.21971V5.21971C6.99599 4.66743 7.44371 4.21971 7.99599 4.21971Z" fill="var(--rc-color-grey-text-dark)" fill-opacity="0.9"/>
307
307
  <path fill-rule="evenodd" clip-rule="evenodd" d="M5.15615 1.63964C6.4187 -0.546529 9.57428 -0.546561 10.8368 1.63964L15.5477 9.79979C16.8097 11.9862 15.2322 14.7192 12.7079 14.7197H3.28505C0.76025 14.7196 -0.818142 11.9864 0.444233 9.79979L5.15615 1.63964ZM9.10537 2.63964C8.61269 1.78643 7.3803 1.78645 6.88759 2.63964L2.17665 10.7998C1.68403 11.6531 2.29983 12.7196 3.28505 12.7197H12.7079C13.6926 12.7192 14.3084 11.6528 13.8163 10.7998L9.10537 2.63964Z" fill="var(--rc-color-grey-text-dark)" fill-opacity="0.9"/>
308
- </svg>`;var Vw=W('<div class="rcb-ui-asset-icon svelte-18og1ci"><!></div>');const Ww={hash:"svelte-18og1ci",code:".rcb-ui-asset-icon.svelte-18og1ci {display:inline-block;width:1em;height:1em;}"};function Hw(r){ke(r,Ww);var e=Vw(),t=T(e);fn(t,()=>Uw),P(r,e)}const Yw={cart:qw,error:$u,lock:jw,success:Jp,back:Tw,info:Gp,close:Rw,warning:Hw,"chevron-left":Xi,"chevron-right":Xi,"chevron-up":Xi,"chevron-down":Xi};function Un(r,e){fe(e,!0);const t=Yw[e.name];let n=re(nr({}));if(e.name.startsWith("chevron")){const a=e.name.split("-")[1];j(n,{direction:a},!0)}t(r,dr(()=>o(n))),me()}var Gw=W('<span class="rc-sandbox-only-error svelte-1dod9xz"><!></span> <br/> <br/>',1),Kw=W('<!> <a class="svelte-1dod9xz"> </a>.',1),Xw=W("<!> <!>",1);const Zw={hash:"svelte-1dod9xz",code:"a.svelte-1dod9xz {color:var(--rc-color-grey-text-dark);}.rc-sandbox-only-error.svelte-1dod9xz {font-weight:bold;}"};function Zi(r,e){fe(e,!0),ke(r,Zw);const t=()=>pe(l,"$translator",n),[n,a]=Ye(),i=Q(e,"fullWidth",3,!1),s=m(()=>e.lastError??new he(_e.UnknownError,"Unknown error without state set.")),l=Xe(vr),c=m(()=>o(s).errorCode===_e.StripeTaxNotActive||o(s).errorCode===_e.StripeInvalidTaxOriginAddress||o(s).errorCode===_e.StripeMissingRequiredPermission);Tr(()=>{ye.errorLog(`Displayed error: ${_e[o(s).errorCode]}. Message: ${o(s).message??"None"}. Underlying error: ${o(s).underlyingErrorMessage??"None"}`)});function u(){return o(s).errorCode===_e.AlreadyPurchasedError?t().translate(ie.ErrorPageCloseButtonTitle,{appName:e.appName??"App"}):o(c)?t().translate(ie.ErrorButtonClose):t().translate(ie.ErrorButtonTryAgain)}function d(){switch(o(s).errorCode){case _e.AlreadyPurchasedError:return e.productDetails.productType===Xr.Subscription?t().translate(ie.ErrorPageErrorTitleAlreadySubscribed,{productTitle:e.productDetails.title}):t().translate(ie.ErrorPageErrorTitleAlreadyPurchased,{productTitle:e.productDetails.title});case _e.StripeTaxNotActive:return t().translate(ie.ErrorPageErrorTitleStripeTaxNotActive);case _e.StripeInvalidTaxOriginAddress:return t().translate(ie.ErrorPageErrorTitleStripeInvalidTaxOriginAddress);case _e.StripeMissingRequiredPermission:return t().translate(ie.ErrorPageErrorTitleStripeMissingRequiredPermission);default:return t().translate(ie.ErrorPageErrorTitleOtherErrors)}}function p(){const f=o(s).getErrorCode();switch(o(s).errorCode){case _e.ErrorSettingUpPurchase:case _e.InvalidPaddleAPIKeyError:return t().translate(ie.ErrorPageErrorMessageErrorSettingUpPurchase,{errorCode:f});case _e.ErrorChargingPayment:return t().translate(ie.ErrorPageErrorMessageErrorChargingPayment,{errorCode:f});case _e.AlreadyPurchasedError:return e.productDetails.productType===Xr.Subscription?t().translate(ie.ErrorPageErrorMessageAlreadySubscribed,{errorCode:f}):t().translate(ie.ErrorPageErrorMessageAlreadyPurchased,{errorCode:f});case _e.StripeTaxNotActive:return t().translate(ie.ErrorPageErrorMessageStripeTaxNotActive,{errorCode:f});case _e.StripeInvalidTaxOriginAddress:return t().translate(ie.ErrorPageErrorMessageStripeInvalidTaxOriginAddress,{errorCode:f});case _e.StripeMissingRequiredPermission:return t().translate(ie.ErrorPageErrorMessageStripeMissingRequiredPermission,{errorCode:f});case _e.NetworkError:return t().translate(ie.ErrorPageErrorMessageNetworkError,{errorCode:f});default:return t().translate(ie.ErrorPageErrorMessageUnknownError,{errorCode:f})}}function _(){return o(s).errorCode===_e.AlreadyPurchasedError?ie.ErrorPageTroubleAccessing:ie.ErrorPageIfErrorPersists}function g(){return o(s).errorCode===_e.AlreadyPurchasedError?"success":"error"}{const f=w=>{{let k=m(g);Un(w,{get name(){return o(k)}})}},v=w=>{var k=Xw(),b=ae(k);{var x=E=>{var D=Gw(),C=ae(D),B=T(C);ht(B,{get key(){return ie.ErrorPageErrorMessageOnlyInSandbox}}),P(E,D)};K(b,E=>{o(c)&&E(x)})}var I=Y(b),S=Y(I);{var q=E=>{var D=Kw(),C=ae(D);{let z=m(_);ht(C,{get key(){return o(z)}})}var B=Y(C,2),F=T(B);Z(()=>{be(B,"href",`mailto:${e.supportEmail??""}`),ve(F,e.supportEmail)}),P(E,D)};K(S,E=>{!o(c)&&e.supportEmail&&E(q)})}Z(E=>ve(I,` ${E??""} `),[p]),P(w,k)};let y=m(d),h=m(u);Ol(r,{get title(){return o(y)},get onDismiss(){return e.onDismiss},type:"error",get closeButtonTitle(){return o(h)},get fullWidth(){return i()},icon:f,message:v,$$slots:{icon:!0,message:!0}})}me(),a()}function Ji(r,e){fe(e,!1);const t=()=>pe(u,"$translator",n),[n,a]=Ye();let i=Q(e,"onContinue",8),s=Q(e,"title",8,void 0),l=Q(e,"closeButtonTitle",8,void 0),c=Q(e,"fullWidth",8,!1);const u=Xe(vr),d=Xe(Fo);function p(){d.trackSDKEvent(dk("go_back_to_app",rt)),i()()}Tr(()=>{d.trackSDKEvent(pk(rt))}),Dn();{const _=v=>{Jp(v)};let g=En(()=>(He(s()),t(),He(ie),Ue(()=>s()??t().translate(ie.SuccessPagePurchaseSuccessful)))),f=En(()=>(He(l()),t(),He(ie),Ue(()=>l()??t().translate(ie.SuccessPageButtonClose))));Ol(r,{type:"success",get title(){return o(g)},onDismiss:p,get closeButtonTitle(){return o(f)},get fullWidth(){return c()},icon:_,$$slots:{icon:!0}})}me(),a()}function Jw(r){qp(r)}var Qw=W('<button class="rcb-applied-discount-chip svelte-56pxsq" type="button"><span class="rcb-applied-discount-code svelte-56pxsq"> </span> <span class="rcb-applied-discount-icon svelte-56pxsq" aria-hidden="true"><!></span></button>'),$w=W('<div class="rcb-applied-discount-chip rcb-applied-discount-chip--static svelte-56pxsq"><span class="rcb-applied-discount-code svelte-56pxsq"> </span></div>'),eP=W('<div class="rcb-applied-discount-label svelte-56pxsq"> </div>'),rP=W('<div class="rcb-applied-discount svelte-56pxsq"><!> <!></div>'),tP=W('<div class="rcb-discount-error svelte-56pxsq" role="alert"><span class="rcb-discount-error-icon svelte-56pxsq" aria-hidden="true"><!></span> <span> </span></div>'),nP=W('<div class="rcb-discount-input svelte-56pxsq"><div class="rcb-discount-input-row svelte-56pxsq"><div><label class="rcb-discount-field-label svelte-56pxsq" for="rc-discount-code"> </label> <input class="rcb-discount-field-input svelte-56pxsq" id="rc-discount-code" type="text" autocomplete="off" placeholder=" "/></div> <button type="button"> </button></div> <!></div>'),aP=W('<div class="rcb-product-price-container svelte-56pxsq"><!></div>');const oP={hash:"svelte-56pxsq",code:`.rcb-product-price-container.svelte-56pxsq {display:flex;flex-direction:column;justify-content:space-between;gap:var(--rc-spacing-gapMedium-mobile);color:var(--rc-color-grey-text-dark);}.rcb-discount-input.svelte-56pxsq {display:flex;flex-direction:column;gap:4px;}.rcb-discount-input-row.svelte-56pxsq {display:flex;gap:8px;width:100%;}.rcb-discount-field.svelte-56pxsq {position:relative;display:flex;align-items:flex-end;flex:1 1 auto;min-width:0;min-height:48px;padding:4px 12px;border:1px solid var(--rc-color-grey-ui-dark);border-radius:var(--rc-shape-input-border-radius);background:var(--rc-color-background);transition:border-color 150ms ease;}.rcb-discount-field--focused.svelte-56pxsq {border-color:var(--rc-color-grey-text-light);}.rcb-discount-field-label.svelte-56pxsq {position:absolute;top:50%;left:12px;max-width:calc(100% - 24px);overflow:hidden;color:var(--rc-color-grey-text-light);font:var(--rc-text-bodySmall-mobile);text-overflow:ellipsis;pointer-events:none;transform:translateY(-50%);transform-origin:left top;transition:top 150ms ease,
308
+ </svg>`;var Hw=V('<div class="rcb-ui-asset-icon svelte-18og1ci"><!></div>');const Yw={hash:"svelte-18og1ci",code:".rcb-ui-asset-icon.svelte-18og1ci {display:inline-block;width:1em;height:1em;}"};function Gw(r){we(r,Yw);var e=Hw(),t=T(e);fn(t,()=>Ww),P(r,e)}const Kw={cart:Mw,error:td,lock:Ow,success:r_,back:Aw,info:Jp,close:Vw,warning:Gw,"chevron-left":Xi,"chevron-right":Xi,"chevron-up":Xi,"chevron-down":Xi};function Vn(r,e){fe(e,!0);const t=Kw[e.name];let n=re(or({}));if(e.name.startsWith("chevron")){const a=e.name.split("-")[1];j(n,{direction:a},!0)}t(r,dr(()=>o(n))),me()}var Xw=V('<span class="rc-sandbox-only-error svelte-1dod9xz"><!></span> <br/> <br/>',1),Zw=V('<!> <a class="svelte-1dod9xz"> </a>.',1),Jw=V("<!> <!>",1);const Qw={hash:"svelte-1dod9xz",code:"a.svelte-1dod9xz {color:var(--rc-color-grey-text-dark);}.rc-sandbox-only-error.svelte-1dod9xz {font-weight:bold;}"};function Zi(r,e){fe(e,!0),we(r,Qw);const t=()=>pe(l,"$translator",n),[n,a]=He(),i=J(e,"fullWidth",3,!1),s=m(()=>e.lastError??new he(_e.UnknownError,"Unknown error without state set.")),l=Xe(vr),c=m(()=>o(s).errorCode===_e.StripeTaxNotActive||o(s).errorCode===_e.StripeInvalidTaxOriginAddress||o(s).errorCode===_e.StripeMissingRequiredPermission);Cr(()=>{ye.errorLog(`Displayed error: ${_e[o(s).errorCode]}. Message: ${o(s).message??"None"}. Underlying error: ${o(s).underlyingErrorMessage??"None"}`)});function u(){return o(s).errorCode===_e.AlreadyPurchasedError?t().translate(le.ErrorPageCloseButtonTitle,{appName:e.appName??"App"}):o(c)?t().translate(le.ErrorButtonClose):t().translate(le.ErrorButtonTryAgain)}function d(){switch(o(s).errorCode){case _e.AlreadyPurchasedError:return e.productDetails.productType===Kr.Subscription?t().translate(le.ErrorPageErrorTitleAlreadySubscribed,{productTitle:e.productDetails.title}):t().translate(le.ErrorPageErrorTitleAlreadyPurchased,{productTitle:e.productDetails.title});case _e.StripeTaxNotActive:return t().translate(le.ErrorPageErrorTitleStripeTaxNotActive);case _e.StripeInvalidTaxOriginAddress:return t().translate(le.ErrorPageErrorTitleStripeInvalidTaxOriginAddress);case _e.StripeMissingRequiredPermission:return t().translate(le.ErrorPageErrorTitleStripeMissingRequiredPermission);default:return t().translate(le.ErrorPageErrorTitleOtherErrors)}}function p(){const f=o(s).getErrorCode();switch(o(s).errorCode){case _e.ErrorSettingUpPurchase:case _e.InvalidPaddleAPIKeyError:return t().translate(le.ErrorPageErrorMessageErrorSettingUpPurchase,{errorCode:f});case _e.ErrorChargingPayment:return t().translate(le.ErrorPageErrorMessageErrorChargingPayment,{errorCode:f});case _e.AlreadyPurchasedError:return e.productDetails.productType===Kr.Subscription?t().translate(le.ErrorPageErrorMessageAlreadySubscribed,{errorCode:f}):t().translate(le.ErrorPageErrorMessageAlreadyPurchased,{errorCode:f});case _e.StripeTaxNotActive:return t().translate(le.ErrorPageErrorMessageStripeTaxNotActive,{errorCode:f});case _e.StripeInvalidTaxOriginAddress:return t().translate(le.ErrorPageErrorMessageStripeInvalidTaxOriginAddress,{errorCode:f});case _e.StripeMissingRequiredPermission:return t().translate(le.ErrorPageErrorMessageStripeMissingRequiredPermission,{errorCode:f});case _e.NetworkError:return t().translate(le.ErrorPageErrorMessageNetworkError,{errorCode:f});default:return t().translate(le.ErrorPageErrorMessageUnknownError,{errorCode:f})}}function g(){return o(s).errorCode===_e.AlreadyPurchasedError?le.ErrorPageTroubleAccessing:le.ErrorPageIfErrorPersists}function _(){return o(s).errorCode===_e.AlreadyPurchasedError?"success":"error"}{const f=k=>{{let w=m(_);Vn(k,{get name(){return o(w)}})}},v=k=>{var w=Jw(),b=oe(w);{var x=E=>{var M=Xw(),C=oe(M),B=T(C);mt(B,{get key(){return le.ErrorPageErrorMessageOnlyInSandbox}}),P(E,M)};Y(b,E=>{o(c)&&E(x)})}var S=H(b),I=H(S);{var z=E=>{var M=Zw(),C=oe(M);{let q=m(g);mt(C,{get key(){return o(q)}})}var B=H(C,2),O=T(B);K(()=>{be(B,"href",`mailto:${e.supportEmail??""}`),ve(O,e.supportEmail)}),P(E,M)};Y(I,E=>{!o(c)&&e.supportEmail&&E(z)})}K(E=>ve(S,` ${E??""} `),[p]),P(k,w)};let y=m(d),h=m(u);Ol(r,{get title(){return o(y)},get onDismiss(){return e.onDismiss},type:"error",get closeButtonTitle(){return o(h)},get fullWidth(){return i()},icon:f,message:v,$$slots:{icon:!0,message:!0}})}me(),a()}function Ji(r,e){fe(e,!1);const t=()=>pe(u,"$translator",n),[n,a]=He();let i=J(e,"onContinue",8),s=J(e,"title",8,void 0),l=J(e,"closeButtonTitle",8,void 0),c=J(e,"fullWidth",8,!1);const u=Xe(vr),d=Xe(zo);function p(){d.trackSDKEvent(gk("go_back_to_app",et)),i()()}Cr(()=>{d.trackSDKEvent(fk(et))}),An();{const g=v=>{r_(v)};let _=Sn(()=>(We(s()),t(),We(le),Re(()=>s()??t().translate(le.SuccessPagePurchaseSuccessful)))),f=Sn(()=>(We(l()),t(),We(le),Re(()=>l()??t().translate(le.SuccessPageButtonClose))));Ol(r,{type:"success",get title(){return o(_)},onDismiss:p,get closeButtonTitle(){return o(f)},get fullWidth(){return c()},icon:g,$$slots:{icon:!0}})}me(),a()}function $w(r){zp(r)}var eP=V('<button class="rcb-applied-discount-chip svelte-56pxsq" type="button"><span class="rcb-applied-discount-code svelte-56pxsq"> </span> <span class="rcb-applied-discount-icon svelte-56pxsq" aria-hidden="true"><!></span></button>'),rP=V('<div class="rcb-applied-discount-chip rcb-applied-discount-chip--static svelte-56pxsq"><span class="rcb-applied-discount-code svelte-56pxsq"> </span></div>'),tP=V('<div class="rcb-applied-discount-label svelte-56pxsq"> </div>'),nP=V('<div class="rcb-applied-discount svelte-56pxsq"><!> <!></div>'),aP=V('<div class="rcb-discount-error svelte-56pxsq" role="alert"><span class="rcb-discount-error-icon svelte-56pxsq" aria-hidden="true"><!></span> <span> </span></div>'),oP=V('<div class="rcb-discount-input svelte-56pxsq"><div class="rcb-discount-input-row svelte-56pxsq"><div><label class="rcb-discount-field-label svelte-56pxsq" for="rc-discount-code"> </label> <input class="rcb-discount-field-input svelte-56pxsq" id="rc-discount-code" type="text" autocomplete="off" placeholder=" "/></div> <button type="button"> </button></div> <!></div>'),iP=V('<div class="rcb-product-price-container svelte-56pxsq"><!></div>');const sP={hash:"svelte-56pxsq",code:`.rcb-product-price-container.svelte-56pxsq {display:flex;flex-direction:column;justify-content:space-between;gap:var(--rc-spacing-gapMedium-mobile);color:var(--rc-color-grey-text-dark);}.rcb-discount-input.svelte-56pxsq {display:flex;flex-direction:column;gap:4px;}.rcb-discount-input-row.svelte-56pxsq {display:flex;gap:8px;width:100%;}.rcb-discount-field.svelte-56pxsq {position:relative;display:flex;align-items:flex-end;flex:1 1 auto;min-width:0;min-height:48px;padding:4px 12px;border:1px solid var(--rc-color-grey-ui-dark);border-radius:var(--rc-shape-input-border-radius);background:var(--rc-color-background);transition:border-color 150ms ease;}.rcb-discount-field--focused.svelte-56pxsq {border-color:var(--rc-color-grey-text-light);}.rcb-discount-field-label.svelte-56pxsq {position:absolute;top:50%;left:12px;max-width:calc(100% - 24px);overflow:hidden;color:var(--rc-color-grey-text-light);font:var(--rc-text-bodySmall-mobile);text-overflow:ellipsis;pointer-events:none;transform:translateY(-50%);transform-origin:left top;transition:top 150ms ease,
309
309
  transform 150ms ease,
310
310
  font-size 150ms ease,
311
311
  color 150ms ease;white-space:nowrap;}.rcb-discount-field--floating.svelte-56pxsq .rcb-discount-field-label:where(.svelte-56pxsq) {top:8px;font-size:12px;transform:translateY(0);}.rcb-discount-field-input.svelte-56pxsq {width:100%;min-width:0;padding:14px 0 0;border:none;outline:none;background:transparent;color:var(--rc-color-grey-text-dark);font:var(--rc-text-bodySmall-mobile);}.rcb-discount-field-input.svelte-56pxsq::placeholder {color:transparent;}.rcb-discount-field-input.svelte-56pxsq:disabled {cursor:not-allowed;}.rcb-discount-action-button.svelte-56pxsq {flex:0 0 auto;min-width:82px;min-height:48px;padding:0 16px;border-radius:var(--rc-shape-input-button-border-radius);color:var(--rc-color-grey-text-light);font:var(--rc-text-bodyBase-desktop);transition:background-color 150ms ease,
312
312
  color 150ms ease,
313
313
  opacity 150ms ease;}.rcb-discount-action-button--enabled.svelte-56pxsq {border:1px solid var(--rc-color-grey-ui-dark);background-color:var(--rc-color-grey-ui-light);color:var(--rc-color-grey-text-light);cursor:pointer;}.rcb-discount-action-button.svelte-56pxsq:disabled {background-color:var(--rc-color-grey-ui-light);cursor:not-allowed;opacity:0.7;}.rcb-discount-error.svelte-56pxsq {display:flex;align-items:center;gap:8px;color:var(--rc-color-grey-text-dark);font:var(--rc-text-bodySmall-mobile);}.rcb-discount-error-icon.svelte-56pxsq {display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:16px;height:16px;}.rcb-discount-error-icon.svelte-56pxsq {display:block;width:16px;height:16px;}.rcb-applied-discount.svelte-56pxsq {display:flex;flex-direction:column;align-items:flex-start;gap:4px;max-width:100%;}.rcb-applied-discount-chip.svelte-56pxsq {--arrow-fill-color: var(--rc-color-grey-text-dark);display:inline-flex;align-items:center;gap:8px;width:fit-content;max-width:100%;padding:0 12px;border:1px solid var(--rc-color-grey-ui-light);border-radius:var(--rc-shape-input-button-border-radius);background-color:var(--rc-color-grey-ui-light);color:var(--rc-color-grey-text-dark);font:var(--rc-text-bodySmall-mobile);font-weight:500;transition:background-color 150ms ease,
314
314
  border-color 150ms ease,
315
- opacity 150ms ease;}button.rcb-applied-discount-chip.svelte-56pxsq {cursor:pointer;}.rcb-applied-discount-chip--static.svelte-56pxsq {cursor:default;}button.rcb-applied-discount-chip.svelte-56pxsq:disabled {cursor:not-allowed;opacity:0.7;}.rcb-applied-discount-code.svelte-56pxsq {overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:4px 0;}.rcb-applied-discount-icon.svelte-56pxsq {display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;color:var(--rc-color-grey-text-light);}.rcb-applied-discount-icon.svelte-56pxsq {width:16px;height:16px;}.rcb-applied-discount-label.svelte-56pxsq {color:var(--rc-color-grey-text-light);font:var(--rc-text-bodySmall-mobile);}`};function Qp(r,e){fe(e,!1),ke(r,oP);const t=()=>pe(x,"$translator",n),[n,a]=Ye(),i=cr(),s=cr(),l=cr(),c=cr(),u=cr();let d=Q(e,"showDiscountCodeField",8,!1),p=Q(e,"discountCode",12,""),_=Q(e,"appliedDiscountCode",8,null),g=Q(e,"discountSuffix",8,null),f=Q(e,"discountCodeError",8,null),v=Q(e,"isUpdatingDiscountCode",8,!1),y=Q(e,"isDiscountCodeControlsEnabled",8,!1),h=Q(e,"onDiscountCodeChange",8,void 0),w=Q(e,"onApplyDiscountCode",8,void 0),k=Q(e,"onRemoveDiscountCode",8,void 0),b=cr(!1);const x=Xe(vr),I=F=>F.toUpperCase(),S=()=>{var F;p(I(p())),(F=h())==null||F(p())},q=F=>{var z;F.key==="Enter"&&(F.preventDefault(),F.stopPropagation(),o(l)&&((z=w())==null||z()))};fr(()=>He(p()),()=>{j(i,p().trim().length>0)}),fr(()=>(o(b),o(i)),()=>{j(s,o(b)||o(i))}),fr(()=>(He(y()),He(v()),o(i)),()=>{j(l,y()&&!v()&&o(i))}),fr(()=>He(f()),()=>{j(c,f()==="Enter a discount code."?f():"Code can't be applied.")}),fr(()=>He(_()),()=>{j(u,_()?I(_()):null)}),Ds(),Dn();var E=aP(),D=T(E);{var C=F=>{var z=rP(),L=T(z);{var A=X=>{var R=Qw();R.__click=()=>{var V;return(V=k())==null?void 0:V()};var $=T(R),ce=T($),de=Y($,2),G=T(de);Un(G,{name:"close"}),Z(()=>{R.disabled=v(),be(R,"aria-label",`Remove promo code ${o(u)}`),ve(ce,o(u))}),P(X,R)},M=X=>{var R=$w(),$=T(R),ce=T($);Z(()=>ve(ce,o(u))),P(X,R)};K(L,X=>{y()?X(A):X(M,!1)})}var N=Y(L,2);{var H=X=>{var R=eP(),$=T(R);Z(()=>ve($,`
316
- ${g()??""}`)),P(X,R)};K(N,X=>{g()&&X(H)})}P(F,z)},B=F=>{var z=xe(),L=ae(z);{var A=M=>{var N=nP(),H=T(N),X=T(H);let R;var $=T(X),ce=T($),de=Y($,2);de.__input=S,de.__keydown=q;var G=Y(X,2);let V;G.__click=()=>{var ue;return(ue=w())==null?void 0:ue()};var O=T(G),U=Y(H,2);{var te=ue=>{var Se=tP(),Pe=T(Se),Te=T(Pe);Un(Te,{name:"warning"});var Ne=Y(Pe,2),ze=T(Ne);Z(()=>ve(ze,o(c))),P(ue,Se)};K(U,ue=>{f()&&ue(te)})}Z((ue,Se)=>{R=ur(X,1,"rcb-discount-field svelte-56pxsq",null,R,{"rcb-discount-field--focused":o(b),"rcb-discount-field--floating":o(s)}),ve(ce,ue),be(de,"aria-invalid",!!f()),de.disabled=v()||!y(),V=ur(G,1,"rcb-discount-action-button svelte-56pxsq",null,V,{"rcb-discount-action-button--enabled":o(l)}),G.disabled=Se,ve(O,v()?"Applying...":"Apply")},[()=>(t(),He(ie),Ue(()=>t().translate(ie.DiscountInputLabel))),()=>(He(v()),He(y()),He(p()),Ue(()=>v()||!y()||!p().trim()))]),Nr("focus",de,()=>j(b,!0)),Nr("blur",de,()=>j(b,!1)),xf(de,p),P(M,N)};K(L,M=>{d()&&M(A)},!0)}P(F,z)};K(D,F=>{_()?F(C):F(B,!1)})}P(r,E),me(),a()}_n(["click","input","keydown"]);var iP=W('<div class="rcb-pricing-dropdown svelte-v5skdw"><div class="rcb-pricing-dropdown-header svelte-v5skdw" tabindex="0" role="button"><!> <span class="rcb-pricing-dropdown-toggle svelte-v5skdw"><!></span></div> <div><div class="rcb-pricing-dropdown-content-inner svelte-v5skdw"><!></div></div></div>');const sP={hash:"svelte-v5skdw",code:`.rcb-pricing-dropdown.svelte-v5skdw {width:100%;overflow:hidden;display:flex;flex-direction:column;}.rcb-pricing-dropdown-header.svelte-v5skdw {padding-top:var(--rc-spacing-gapSmall-mobile);padding-bottom:var(--rc-spacing-gapSmall-mobile);padding-left:var(--rc-spacing-gapLarge-mobile);padding-right:var(--rc-spacing-gapMedium-mobile);color:var(--rc-color-grey-text-light);border-radius:var(--rc-shape-input-button-border-radius);cursor:pointer;display:inline-flex;align-items:center;background-color:var(--rc-color-grey-ui-light);width:fit-content;user-select:none;}.rcb-pricing-dropdown-toggle.svelte-v5skdw {display:flex;align-items:center;margin-left:var(--rc-spacing-gapSmall-mobile);}.rcb-pricing-dropdown-content.svelte-v5skdw {display:flex;flex-direction:column;overflow:hidden;}
315
+ opacity 150ms ease;}button.rcb-applied-discount-chip.svelte-56pxsq {cursor:pointer;}.rcb-applied-discount-chip--static.svelte-56pxsq {cursor:default;}button.rcb-applied-discount-chip.svelte-56pxsq:disabled {cursor:not-allowed;opacity:0.7;}.rcb-applied-discount-code.svelte-56pxsq {overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:4px 0;}.rcb-applied-discount-icon.svelte-56pxsq {display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;color:var(--rc-color-grey-text-light);}.rcb-applied-discount-icon.svelte-56pxsq {width:16px;height:16px;}.rcb-applied-discount-label.svelte-56pxsq {color:var(--rc-color-grey-text-light);font:var(--rc-text-bodySmall-mobile);}`};function t_(r,e){fe(e,!1),we(r,sP);const t=()=>pe(x,"$translator",n),[n,a]=He(),i=cr(),s=cr(),l=cr(),c=cr(),u=cr();let d=J(e,"showDiscountCodeField",8,!1),p=J(e,"discountCode",12,""),g=J(e,"appliedDiscountCode",8,null),_=J(e,"discountSuffix",8,null),f=J(e,"discountCodeError",8,null),v=J(e,"isUpdatingDiscountCode",8,!1),y=J(e,"isDiscountCodeControlsEnabled",8,!1),h=J(e,"onDiscountCodeChange",8,void 0),k=J(e,"onApplyDiscountCode",8,void 0),w=J(e,"onRemoveDiscountCode",8,void 0),b=cr(!1);const x=Xe(vr),S=O=>O.toUpperCase(),I=()=>{var O;p(S(p())),(O=h())==null||O(p())},z=O=>{var q;O.key==="Enter"&&(O.preventDefault(),O.stopPropagation(),o(l)&&((q=k())==null||q()))};fr(()=>We(p()),()=>{j(i,p().trim().length>0)}),fr(()=>(o(b),o(i)),()=>{j(s,o(b)||o(i))}),fr(()=>(We(y()),We(v()),o(i)),()=>{j(l,y()&&!v()&&o(i))}),fr(()=>We(f()),()=>{j(c,f()==="Enter a discount code."?f():"Code can't be applied.")}),fr(()=>We(g()),()=>{j(u,g()?S(g()):null)}),Ds(),An();var E=iP(),M=T(E);{var C=O=>{var q=nP(),L=T(q);{var F=G=>{var R=eP();R.__click=()=>{var X;return(X=w())==null?void 0:X()};var $=T(R),ue=T($),de=H($,2),te=T(de);Vn(te,{name:"close"}),K(()=>{R.disabled=v(),be(R,"aria-label",`Remove promo code ${o(u)}`),ve(ue,o(u))}),P(G,R)},A=G=>{var R=rP(),$=T(R),ue=T($);K(()=>ve(ue,o(u))),P(G,R)};Y(L,G=>{y()?G(F):G(A,!1)})}var N=H(L,2);{var W=G=>{var R=tP(),$=T(R);K(()=>ve($,`
316
+ ${_()??""}`)),P(G,R)};Y(N,G=>{_()&&G(W)})}P(O,q)},B=O=>{var q=Se(),L=oe(q);{var F=A=>{var N=oP(),W=T(N),G=T(W);let R;var $=T(G),ue=T($),de=H($,2);de.__input=I,de.__keydown=z;var te=H(G,2);let X;te.__click=()=>{var ie;return(ie=k())==null?void 0:ie()};var D=T(te),U=H(W,2);{var ee=ie=>{var Pe=aP(),ke=T(Pe),Te=T(ke);Vn(Te,{name:"warning"});var Ne=H(ke,2),Oe=T(Ne);K(()=>ve(Oe,o(c))),P(ie,Pe)};Y(U,ie=>{f()&&ie(ee)})}K((ie,Pe)=>{R=ur(G,1,"rcb-discount-field svelte-56pxsq",null,R,{"rcb-discount-field--focused":o(b),"rcb-discount-field--floating":o(s)}),ve(ue,ie),be(de,"aria-invalid",!!f()),de.disabled=v()||!y(),X=ur(te,1,"rcb-discount-action-button svelte-56pxsq",null,X,{"rcb-discount-action-button--enabled":o(l)}),te.disabled=Pe,ve(D,v()?"Applying...":"Apply")},[()=>(t(),We(le),Re(()=>t().translate(le.DiscountInputLabel))),()=>(We(v()),We(y()),We(p()),Re(()=>v()||!y()||!p().trim()))]),zr("focus",de,()=>j(b,!0)),zr("blur",de,()=>j(b,!1)),Cf(de,p),P(A,N)};Y(L,A=>{d()&&A(F)},!0)}P(O,q)};Y(M,O=>{g()?O(C):O(B,!1)})}P(r,E),me(),a()}_n(["click","input","keydown"]);var lP=V('<div class="rcb-pricing-dropdown svelte-v5skdw"><div class="rcb-pricing-dropdown-header svelte-v5skdw" tabindex="0" role="button"><!> <span class="rcb-pricing-dropdown-toggle svelte-v5skdw"><!></span></div> <div><div class="rcb-pricing-dropdown-content-inner svelte-v5skdw"><!></div></div></div>');const cP={hash:"svelte-v5skdw",code:`.rcb-pricing-dropdown.svelte-v5skdw {width:100%;overflow:hidden;display:flex;flex-direction:column;}.rcb-pricing-dropdown-header.svelte-v5skdw {padding-top:var(--rc-spacing-gapSmall-mobile);padding-bottom:var(--rc-spacing-gapSmall-mobile);padding-left:var(--rc-spacing-gapLarge-mobile);padding-right:var(--rc-spacing-gapMedium-mobile);color:var(--rc-color-grey-text-light);border-radius:var(--rc-shape-input-button-border-radius);cursor:pointer;display:inline-flex;align-items:center;background-color:var(--rc-color-grey-ui-light);width:fit-content;user-select:none;}.rcb-pricing-dropdown-toggle.svelte-v5skdw {display:flex;align-items:center;margin-left:var(--rc-spacing-gapSmall-mobile);}.rcb-pricing-dropdown-content.svelte-v5skdw {display:flex;flex-direction:column;overflow:hidden;}
317
317
 
318
318
  @container layout-query-container (width < 768px) {.rcb-pricing-dropdown-content.svelte-v5skdw {max-height:1000px; /* Set a large max-height for animation */transition:max-height 0.2s ease-in-out;}.rcb-pricing-dropdown-content.collapsed.svelte-v5skdw {max-height:0;}.rcb-pricing-dropdown-content-inner.svelte-v5skdw {padding-top:var(--rc-spacing-gapMedium-mobile);}
319
319
  }
320
320
 
321
321
  @container layout-query-container (width >= 768px) {.rcb-pricing-dropdown-header.svelte-v5skdw {display:none;}
322
- }`};function lP(r,e){fe(e,!1),ke(r,sP);const t=()=>pe(c,"$translator",n),[n,a]=Ye();let i=Q(e,"isExpanded",12,!0),s=Q(e,"showDiscountCodeField",8,!1),l=Q(e,"children",8);const c=Xe(vr);function u(){i(!i())}Dn();var d=iP(),p=T(d),_=T(p);qe(_,{size:"label-default",children:(x,I)=>{var S=xe(),q=ae(S);{var E=C=>{var B=je();Z(F=>ve(B,F),[()=>(t(),He(ie),Ue(()=>t().translate(ie.PricingDropdownHideDetails)))]),P(C,B)},D=C=>{var B=xe(),F=ae(B);{var z=A=>{var M=je();Z(N=>ve(M,N),[()=>(t(),He(ie),Ue(()=>t().translate(ie.PricingDropdownAddPromoCode)))]),P(A,M)},L=A=>{var M=je();Z(N=>ve(M,N),[()=>(t(),He(ie),Ue(()=>t().translate(ie.PricingDropdownShowDetails)))]),P(A,M)};K(F,A=>{s()?A(z):A(L,!1)},!0)}P(C,B)};K(q,C=>{i()?C(E):C(D,!1)})}P(x,S)},$$slots:{default:!0}});var g=Y(_,2),f=T(g);{var v=x=>{Un(x,{name:"chevron-up"})},y=x=>{Un(x,{name:"chevron-down"})};K(f,x=>{i()?x(v):x(y,!1)})}var h=Y(p,2);let w;var k=T(h),b=T(k);wr(b,()=>l()??rr),Z(()=>{be(p,"aria-expanded",i()),w=ur(h,1,"rcb-pricing-dropdown-content svelte-v5skdw",null,w,{collapsed:!i()})}),Nr("click",p,u),Nr("keydown",p,x=>x.key==="Enter"||x.key===" "?u():null),P(r,d),me(),a()}var cP=W('<div class="rcb-pricing-table-value-loading svelte-w1kcbi"><!></div>');const uP={hash:"svelte-w1kcbi",code:`.rcb-pricing-table-value-loading.svelte-w1kcbi {color:transparent;
322
+ }`};function uP(r,e){fe(e,!1),we(r,cP);const t=()=>pe(c,"$translator",n),[n,a]=He();let i=J(e,"isExpanded",12,!0),s=J(e,"showDiscountCodeField",8,!1),l=J(e,"children",8);const c=Xe(vr);function u(){i(!i())}An();var d=lP(),p=T(d),g=T(p);qe(g,{size:"label-default",children:(x,S)=>{var I=Se(),z=oe(I);{var E=C=>{var B=je();K(O=>ve(B,O),[()=>(t(),We(le),Re(()=>t().translate(le.PricingDropdownHideDetails)))]),P(C,B)},M=C=>{var B=Se(),O=oe(B);{var q=F=>{var A=je();K(N=>ve(A,N),[()=>(t(),We(le),Re(()=>t().translate(le.PricingDropdownAddPromoCode)))]),P(F,A)},L=F=>{var A=je();K(N=>ve(A,N),[()=>(t(),We(le),Re(()=>t().translate(le.PricingDropdownShowDetails)))]),P(F,A)};Y(O,F=>{s()?F(q):F(L,!1)},!0)}P(C,B)};Y(z,C=>{i()?C(E):C(M,!1)})}P(x,I)},$$slots:{default:!0}});var _=H(g,2),f=T(_);{var v=x=>{Vn(x,{name:"chevron-up"})},y=x=>{Vn(x,{name:"chevron-down"})};Y(f,x=>{i()?x(v):x(y,!1)})}var h=H(p,2);let k;var w=T(h),b=T(w);kr(b,()=>l()??tr),K(()=>{be(p,"aria-expanded",i()),k=ur(h,1,"rcb-pricing-dropdown-content svelte-v5skdw",null,k,{collapsed:!i()})}),zr("click",p,u),zr("keydown",p,x=>x.key==="Enter"||x.key===" "?u():null),P(r,d),me(),a()}var dP=V('<div class="rcb-pricing-table-value-loading svelte-w1kcbi"><!></div>');const pP={hash:"svelte-w1kcbi",code:`.rcb-pricing-table-value-loading.svelte-w1kcbi {color:transparent;
323
323
  animation: svelte-w1kcbi-rcb-pricing-table-value-loading 1.5s ease-in-out 0s infinite
324
324
  normal none running;cursor:progress;background-color:var(--rc-color-grey-text-dark);user-select:none;border-radius:var(--rc-shape-input-border-radius);}
325
325
 
@@ -331,18 +331,18 @@ but received
331
331
  50% {
332
332
  opacity: 0.3;
333
333
  }
334
- }`};function $p(r,e){ke(r,uP);let t=Q(e,"children",8);var n=cP(),a=T(n);wr(a,()=>t()??rr),P(r,n)}var dP=W('<div class="rcb-pricing-table-row svelte-1cr4unj"><div class="rcb-pricing-table-header svelte-1cr4unj"><div class="rcb-pricing-table-value"><!></div></div> <div class="rcb-pricing-table-value svelte-1cr4unj"><!></div></div> <div class="rcb-pricing-table-row svelte-1cr4unj"><div class="rcb-pricing-table-header svelte-1cr4unj"><div class="rcb-pricing-table-value"><!></div></div> <div class="rcb-pricing-table-value svelte-1cr4unj"><!></div></div> <div class="rcb-pricing-table-separator svelte-1cr4unj"></div>',1),pP=W('<div class="rcb-pricing-table-row svelte-1cr4unj"><div class="rcb-pricing-table-header svelte-1cr4unj"><div class="rcb-pricing-table-value"><!></div></div> <div class="rcb-pricing-table-value svelte-1cr4unj"><!></div></div> <div class="rcb-pricing-table-row rcb-pricing-table-row-applied-discount svelte-1cr4unj"><!> <div class="rcb-pricing-table-value svelte-1cr4unj"><!></div></div>',1),_P=W('<div class="rcb-pricing-table-row svelte-1cr4unj" data-testid="tax-loading-skeleton"><div class="rcb-pricing-table-header svelte-1cr4unj"><!></div> <div class="rcb-pricing-table-value svelte-1cr4unj"><!></div></div>'),gP=W('<div class="rcb-pricing-table-row svelte-1cr4unj"><div class="rcb-pricing-table-header svelte-1cr4unj"> </div> <div class="rcb-pricing-table-value svelte-1cr4unj"><!></div></div>'),fP=W('<div class="rcb-pricing-table-row svelte-1cr4unj"><div class="rcb-pricing-table-header svelte-1cr4unj"><!></div> <div class="rcb-pricing-table-value svelte-1cr4unj"><!></div></div>'),mP=W('<div class="rcb-pricing-table-row svelte-1cr4unj"><div class="rcb-pricing-table-header svelte-1cr4unj"><!></div> <div class="rcb-pricing-table-value svelte-1cr4unj"><!></div></div> <!>',1),hP=W('<div class="rcb-pricing-table-separator svelte-1cr4unj"></div>'),vP=W('<div class="rcb-pricing-table-row svelte-1cr4unj"><div class="rcb-pricing-table-header svelte-1cr4unj"><!></div> <div class="rcb-pricing-table-value svelte-1cr4unj"><!></div></div>'),yP=W('<div class="rcb-pricing-table svelte-1cr4unj"><!> <!> <!> <!> <!> <div class="rcb-pricing-table-row rcb-header svelte-1cr4unj"><div class="rcb-pricing-table-header svelte-1cr4unj"><!></div> <div class="rcb-pricing-table-value svelte-1cr4unj"><!></div></div></div>');const bP={hash:"svelte-1cr4unj",code:`.rcb-pricing-table.svelte-1cr4unj {display:flex;flex-direction:column;gap:var(--rc-spacing-gapSmall-mobile);}.rcb-pricing-table-row.svelte-1cr4unj {display:flex;flex-direction:row;align-items:center;justify-content:space-between;}.rcb-pricing-table-row-applied-discount.svelte-1cr4unj {align-items:flex-end;}.rcb-pricing-table-separator.svelte-1cr4unj {height:1px;background-color:var(--rc-color-grey-ui-dark);}.rcb-pricing-table-row.svelte-1cr4unj > .rcb-pricing-table-header:where(.svelte-1cr4unj) {color:var(--rc-color-grey-text-light);}.rcb-pricing-table-row.svelte-1cr4unj > .rcb-pricing-table-value:where(.svelte-1cr4unj) {color:var(--rc-color-grey-text-dark);}.rcb-pricing-table-row.svelte-1cr4unj:last-child > .rcb-pricing-table-header:where(.svelte-1cr4unj),
334
+ }`};function n_(r,e){we(r,pP);let t=J(e,"children",8);var n=dP(),a=T(n);kr(a,()=>t()??tr),P(r,n)}var _P=V('<div class="rcb-pricing-table-row svelte-1cr4unj"><div class="rcb-pricing-table-header svelte-1cr4unj"><div class="rcb-pricing-table-value"><!></div></div> <div class="rcb-pricing-table-value svelte-1cr4unj"><!></div></div> <div class="rcb-pricing-table-row svelte-1cr4unj"><div class="rcb-pricing-table-header svelte-1cr4unj"><div class="rcb-pricing-table-value"><!></div></div> <div class="rcb-pricing-table-value svelte-1cr4unj"><!></div></div> <div class="rcb-pricing-table-separator svelte-1cr4unj"></div>',1),gP=V('<div class="rcb-pricing-table-row svelte-1cr4unj"><div class="rcb-pricing-table-header svelte-1cr4unj"><div class="rcb-pricing-table-value"><!></div></div> <div class="rcb-pricing-table-value svelte-1cr4unj"><!></div></div> <div class="rcb-pricing-table-row rcb-pricing-table-row-applied-discount svelte-1cr4unj"><!> <div class="rcb-pricing-table-value svelte-1cr4unj"><!></div></div>',1),fP=V('<div class="rcb-pricing-table-row svelte-1cr4unj" data-testid="tax-loading-skeleton"><div class="rcb-pricing-table-header svelte-1cr4unj"><!></div> <div class="rcb-pricing-table-value svelte-1cr4unj"><!></div></div>'),mP=V('<div class="rcb-pricing-table-row svelte-1cr4unj"><div class="rcb-pricing-table-header svelte-1cr4unj"> </div> <div class="rcb-pricing-table-value svelte-1cr4unj"><!></div></div>'),hP=V('<div class="rcb-pricing-table-row svelte-1cr4unj"><div class="rcb-pricing-table-header svelte-1cr4unj"><!></div> <div class="rcb-pricing-table-value svelte-1cr4unj"><!></div></div>'),vP=V('<div class="rcb-pricing-table-row svelte-1cr4unj"><div class="rcb-pricing-table-header svelte-1cr4unj"><!></div> <div class="rcb-pricing-table-value svelte-1cr4unj"><!></div></div> <!>',1),yP=V('<div class="rcb-pricing-table-separator svelte-1cr4unj"></div>'),bP=V('<div class="rcb-pricing-table-row svelte-1cr4unj"><div class="rcb-pricing-table-header svelte-1cr4unj"><!></div> <div class="rcb-pricing-table-value svelte-1cr4unj"><!></div></div>'),kP=V('<div class="rcb-pricing-table svelte-1cr4unj"><!> <!> <!> <!> <!> <div class="rcb-pricing-table-row rcb-header svelte-1cr4unj"><div class="rcb-pricing-table-header svelte-1cr4unj"><!></div> <div class="rcb-pricing-table-value svelte-1cr4unj"><!></div></div></div>');const wP={hash:"svelte-1cr4unj",code:`.rcb-pricing-table.svelte-1cr4unj {display:flex;flex-direction:column;gap:var(--rc-spacing-gapSmall-mobile);}.rcb-pricing-table-row.svelte-1cr4unj {display:flex;flex-direction:row;align-items:center;justify-content:space-between;}.rcb-pricing-table-row-applied-discount.svelte-1cr4unj {align-items:flex-end;}.rcb-pricing-table-separator.svelte-1cr4unj {height:1px;background-color:var(--rc-color-grey-ui-dark);}.rcb-pricing-table-row.svelte-1cr4unj > .rcb-pricing-table-header:where(.svelte-1cr4unj) {color:var(--rc-color-grey-text-light);}.rcb-pricing-table-row.svelte-1cr4unj > .rcb-pricing-table-value:where(.svelte-1cr4unj) {color:var(--rc-color-grey-text-dark);}.rcb-pricing-table-row.svelte-1cr4unj:last-child > .rcb-pricing-table-header:where(.svelte-1cr4unj),
335
335
  .rcb-pricing-table-row.svelte-1cr4unj:last-child > .rcb-pricing-table-value:where(.svelte-1cr4unj) {color:var(--rc-color-grey-text-dark);}
336
336
 
337
337
  @container layout-query-container (width >= 768px) {.rcb-pricing-table-separator.svelte-1cr4unj {display:none;}.rcb-pricing-table.svelte-1cr4unj {gap:var(--rc-spacing-gapSmall-desktop);}.rcb-pricing-table-row.svelte-1cr4unj > .rcb-pricing-table-header:where(.svelte-1cr4unj),
338
338
  .rcb-pricing-table-row.svelte-1cr4unj > .rcb-pricing-table-value:where(.svelte-1cr4unj) {color:var(--rc-color-grey-text-light);}
339
- }`};function kP(r,e){fe(e,!0),ke(r,bP);const t=()=>pe(l,"$translator",n),[n,a]=Ye(),i=k=>{var b=yP(),x=T(b);{var I=X=>{var R=dP(),$=ae(R),ce=T($),de=T(ce),G=T(de);qe(G,{size:"body-small",children:(Ne,ze)=>{var Ie=je();Z(Ee=>ve(Ie,Ee),[()=>t().translate(ie.PricingTableSubtotal)]),P(Ne,Ie)},$$slots:{default:!0}});var V=Y(ce,2),O=T(V);qe(O,{size:"body-small",children:(Ne,ze)=>{var Ie=je();Z(Ee=>ve(Ie,Ee),[()=>t().formatPrice(o(p),e.priceBreakdown.currency)]),P(Ne,Ie)},$$slots:{default:!0}});var U=Y($,2),te=T(U),ue=T(te),Se=T(ue);qe(Se,{size:"body-small",children:(Ne,ze)=>{var Ie=je();Z(Ee=>ve(Ie,`${Ee??""}${e.resolvedDiscount.displayName?`: ${e.resolvedDiscount.displayName}`:""}${o(g)?` (${o(g)})`:""}`),[()=>t().translate(ie.PricingTableDiscount)]),P(Ne,Ie)},$$slots:{default:!0}});var Pe=Y(te,2),Te=T(Pe);qe(Te,{size:"body-small",children:(Ne,ze)=>{var Ie=je();Z(Ee=>ve(Ie,`-${Ee??""}`),[()=>t().formatPrice(o(_),e.priceBreakdown.currency)]),P(Ne,Ie)},$$slots:{default:!0}}),P(X,R)};K(x,X=>{e.resolvedDiscount&&!e.showDiscountCodeField&&X(I)})}var S=Y(x,2);{var q=X=>{var R=xe(),$=ae(R);{var ce=G=>{Qp(G,{get showDiscountCodeField(){return e.showDiscountCodeField},get discountCode(){return e.discountCode},get appliedDiscountCode(){return e.appliedDiscountCode},get discountSuffix(){return o(g)},get discountCodeError(){return e.discountCodeError},get isUpdatingDiscountCode(){return e.isUpdatingDiscountCode},get isDiscountCodeControlsEnabled(){return e.isDiscountCodeControlsEnabled},get onDiscountCodeChange(){return e.onDiscountCodeChange},get onApplyDiscountCode(){return e.onApplyDiscountCode},get onRemoveDiscountCode(){return e.onRemoveDiscountCode}})},de=G=>{var V=pP(),O=ae(V),U=T(O),te=T(U),ue=T(te);qe(ue,{size:"body-small",children:(Ee,Be)=>{var Ve=je();Z(ne=>ve(Ve,ne),[()=>t().translate(ie.PricingTableSubtotal)]),P(Ee,Ve)},$$slots:{default:!0}});var Se=Y(U,2),Pe=T(Se);qe(Pe,{size:"body-small",children:(Ee,Be)=>{var Ve=je();Z(ne=>ve(Ve,ne),[()=>t().formatPrice(o(p),e.priceBreakdown.currency)]),P(Ee,Ve)},$$slots:{default:!0}});var Te=Y(O,2),Ne=T(Te);Qp(Ne,{get showDiscountCodeField(){return e.showDiscountCodeField},get discountCode(){return e.discountCode},get appliedDiscountCode(){return e.appliedDiscountCode},get discountSuffix(){return o(g)},get discountCodeError(){return e.discountCodeError},get isUpdatingDiscountCode(){return e.isUpdatingDiscountCode},get isDiscountCodeControlsEnabled(){return e.isDiscountCodeControlsEnabled},get onDiscountCodeChange(){return e.onDiscountCodeChange},get onApplyDiscountCode(){return e.onApplyDiscountCode},get onRemoveDiscountCode(){return e.onRemoveDiscountCode}});var ze=Y(Ne,2),Ie=T(ze);qe(Ie,{size:"body-small",children:(Ee,Be)=>{var Ve=je();Z(ne=>ve(Ve,`-${ne??""}`),[()=>t().formatPrice(o(_),e.priceBreakdown.currency)]),P(Ee,Ve)},$$slots:{default:!0}}),P(G,V)};K($,G=>{e.appliedDiscountCode?G(de,!1):G(ce)})}P(X,R)};K(S,X=>{e.showDiscountCodeField&&X(q)})}var E=Y(S,2);{var D=X=>{var R=mP(),$=ae(R),ce=T($),de=T(ce);qe(de,{size:"body-small",children:(ue,Se)=>{var Pe=je();Z(Te=>ve(Pe,Te),[()=>t().translate(ie.PricingTotalExcludingTax)]),P(ue,Pe)},$$slots:{default:!0}});var G=Y(ce,2),V=T(G);qe(V,{size:"body-small",children:(ue,Se)=>{var Pe=xe(),Te=ae(Pe);{var Ne=Ie=>{$p(Ie,{children:(Ee,Be)=>{var Ve=je();Z(ne=>ve(Ve,ne),[()=>t().formatPrice(e.priceBreakdown.totalExcludingTaxInMicros,e.priceBreakdown.currency)]),P(Ee,Ve)},$$slots:{default:!0}})},ze=Ie=>{var Ee=je();Z(Be=>ve(Ee,Be),[()=>t().formatPrice(e.priceBreakdown.totalExcludingTaxInMicros,e.priceBreakdown.currency)]),P(Ie,Ee)};K(Te,Ie=>{e.priceBreakdown.taxCalculationStatus==="loading"?Ie(Ne):Ie(ze,!1)})}P(ue,Pe)},$$slots:{default:!0}});var O=Y($,2);{var U=ue=>{var Se=_P(),Pe=T(Se),Te=T(Pe);qe(Te,{size:"body-small",children:(Ie,Ee)=>{var Be=je();Z(Ve=>ve(Be,Ve),[()=>t().translate(ie.PricingTableTax)]),P(Ie,Be)},$$slots:{default:!0}});var Ne=Y(Pe,2),ze=T(Ne);qe(ze,{size:"body-small",children:(Ie,Ee)=>{$p(Ie,{children:(Be,Ve)=>{var ne=je();Z(ge=>ve(ne,ge),[()=>t().formatPrice(1234e4,e.priceBreakdown.currency)]),P(Be,ne)},$$slots:{default:!0}})},$$slots:{default:!0}}),P(ue,Se)},te=ue=>{var Se=xe(),Pe=ae(Se);{var Te=ze=>{var Ie=gP(),Ee=T(Ie),Be=T(Ee),Ve=Y(Ee,2),ne=T(Ve);qe(ne,{size:"body-small",children:(ge,le)=>{var Ce=je();Z(Ke=>ve(Ce,Ke),[()=>t().translate(ie.PricingTableEnterBillingAddressToCalculate)]),P(ge,Ce)},$$slots:{default:!0}}),Z(ge=>ve(Be,ge),[()=>t().translate(ie.PricingTableTax)]),P(ze,Ie)},Ne=ze=>{var Ie=xe(),Ee=ae(Ie);{var Be=Ve=>{var ne=xe(),ge=ae(ne);Ht(ge,17,()=>e.priceBreakdown.taxBreakdown,gn,(le,Ce)=>{var Ke=fP(),er=T(Ke),hr=T(er);qe(hr,{size:"body-small",children:(Oe,yr)=>{var _r=je();Z(()=>ve(_r,o(Ce).display_name)),P(Oe,_r)},$$slots:{default:!0}});var Re=Y(er,2),oe=T(Re);qe(oe,{size:"body-small",children:(Oe,yr)=>{var _r=je();Z(zr=>ve(_r,zr),[()=>t().formatPrice(o(Ce).tax_amount_in_micros,e.priceBreakdown.currency)]),P(Oe,_r)},$$slots:{default:!0}}),P(le,Ke)}),P(Ve,ne)};K(Ee,Ve=>{e.priceBreakdown.taxBreakdown!==null&&Ve(Be)},!0)}P(ze,Ie)};K(Pe,ze=>{e.priceBreakdown.taxCalculationStatus==="pending"?ze(Te):ze(Ne,!1)},!0)}P(ue,Se)};K(O,ue=>{e.priceBreakdown.taxCalculationStatus==="loading"?ue(U):ue(te,!1)})}P(X,R)};K(E,X=>{o(u)&&X(D)})}var C=Y(E,2);{var B=X=>{var R=hP();P(X,R)};K(C,X=>{(o(u)||e.appliedDiscountCode)&&X(B)})}var F=Y(C,2);{var z=X=>{var R=vP(),$=T(R),ce=T($);qe(ce,{size:"body-small",children:(V,O)=>{var U=je();Z(te=>ve(U,te),[()=>t().translate(ie.PricingTableTrialEnds,{formattedTrialEndDate:t().translateDate(o(s),{dateStyle:"medium"})})]),P(V,U)},$$slots:{default:!0}});var de=Y($,2),G=T(de);qe(G,{size:"body-small",children:(V,O)=>{var U=je();Z(te=>ve(U,te),[()=>t().formatPrice(e.priceBreakdown.totalAmountInMicros,e.priceBreakdown.currency)]),P(V,U)},$$slots:{default:!0}}),P(X,R)};K(F,X=>{o(s)&&X(z)})}var L=Y(F,2),A=T(L),M=T(A);qe(M,{size:"body-small",children:(X,R)=>{var $=je();Z(ce=>ve($,ce),[()=>t().translate(ie.PricingTableTotalDueToday)]),P(X,$)},$$slots:{default:!0}});var N=Y(A,2),H=T(N);qe(H,{size:"body-small",children:(X,R)=>{var $=je();Z(ce=>ve($,ce),[()=>t().formatPrice(o(f),e.priceBreakdown.currency)]),P(X,$)},$$slots:{default:!0}}),P(k,b)},s=m(()=>{var k;return(k=e.trialPhase)!=null&&k.period?xo(new Date,e.trialPhase.period,!0):null}),l=Xe(vr),c=m(()=>e.priceBreakdown.taxCalculationStatus==="loading"||e.priceBreakdown.taxCalculationStatus==="pending"),u=m(()=>{var k;return e.priceBreakdown.taxCalculationStatus!=="unavailable"&&e.priceBreakdown.taxCalculationStatus!=="disabled"&&(o(c)||(((k=e.priceBreakdown.taxBreakdown)==null?void 0:k.length)??0)>0)}),d=m(()=>e.showDiscountCodeField||o(u)),p=m(()=>{var k,b;return e.priceBreakdown.originalAmountInMicros??((b=(k=e.basePhase)==null?void 0:k.price)==null?void 0:b.amountMicros)??e.priceBreakdown.totalAmountInMicros}),_=m(()=>{var k;return((k=e.resolvedDiscount)==null?void 0:k.discountAmountInMicros)??0}),g=m(()=>{var k;return((k=e.resolvedDiscount)==null?void 0:k.suffix)??null}),f=m(()=>o(s)?0:e.priceBreakdown.totalAmountInMicros);var v=xe(),y=ae(v);{var h=k=>{lP(k,{get showDiscountCodeField(){return e.showDiscountCodeField},children:(b,x)=>{i(b)},$$slots:{default:!0}})},w=k=>{i(k)};K(y,k=>{o(d)?k(h):k(w,!1)})}P(r,v),me(),a()}var wP=W('<div class="rcb-subscribe-to svelte-sdtx9l"><!></div>'),PP=W('<span class="rcb-product-description svelte-sdtx9l"><!></span>'),xP=W('<div class="rcb-pricing-info-header svelte-sdtx9l"><!> <div class="rcb-product-title svelte-sdtx9l"><!></div> <!></div>');const EP={hash:"svelte-sdtx9l",code:`.rcb-pricing-info-header.svelte-sdtx9l {display:flex;flex-direction:column;gap:var(--rc-spacing-gapMedium-mobile);}.rcb-product-title.svelte-sdtx9l {color:var(--rc-color-grey-text-dark);}.rcb-product-description.svelte-sdtx9l {color:var(--rc-color-grey-text-light);}.rcb-subscribe-to.svelte-sdtx9l {display:none;}
339
+ }`};function PP(r,e){fe(e,!0),we(r,wP);const t=()=>pe(l,"$translator",n),[n,a]=He(),i=w=>{var b=kP(),x=T(b);{var S=G=>{var R=_P(),$=oe(R),ue=T($),de=T(ue),te=T(de);qe(te,{size:"body-small",children:(Ne,Oe)=>{var Ie=je();K(Ee=>ve(Ie,Ee),[()=>t().translate(le.PricingTableSubtotal)]),P(Ne,Ie)},$$slots:{default:!0}});var X=H(ue,2),D=T(X);qe(D,{size:"body-small",children:(Ne,Oe)=>{var Ie=je();K(Ee=>ve(Ie,Ee),[()=>t().formatPrice(o(p),e.priceBreakdown.currency)]),P(Ne,Ie)},$$slots:{default:!0}});var U=H($,2),ee=T(U),ie=T(ee),Pe=T(ie);qe(Pe,{size:"body-small",children:(Ne,Oe)=>{var Ie=je();K(Ee=>ve(Ie,`${Ee??""}${e.resolvedDiscount.displayName?`: ${e.resolvedDiscount.displayName}`:""}${o(_)?` (${o(_)})`:""}`),[()=>t().translate(le.PricingTableDiscount)]),P(Ne,Ie)},$$slots:{default:!0}});var ke=H(ee,2),Te=T(ke);qe(Te,{size:"body-small",children:(Ne,Oe)=>{var Ie=je();K(Ee=>ve(Ie,`-${Ee??""}`),[()=>t().formatPrice(o(g),e.priceBreakdown.currency)]),P(Ne,Ie)},$$slots:{default:!0}}),P(G,R)};Y(x,G=>{e.resolvedDiscount&&!e.showDiscountCodeField&&G(S)})}var I=H(x,2);{var z=G=>{var R=Se(),$=oe(R);{var ue=te=>{t_(te,{get showDiscountCodeField(){return e.showDiscountCodeField},get discountCode(){return e.discountCode},get appliedDiscountCode(){return e.appliedDiscountCode},get discountSuffix(){return o(_)},get discountCodeError(){return e.discountCodeError},get isUpdatingDiscountCode(){return e.isUpdatingDiscountCode},get isDiscountCodeControlsEnabled(){return e.isDiscountCodeControlsEnabled},get onDiscountCodeChange(){return e.onDiscountCodeChange},get onApplyDiscountCode(){return e.onApplyDiscountCode},get onRemoveDiscountCode(){return e.onRemoveDiscountCode}})},de=te=>{var X=gP(),D=oe(X),U=T(D),ee=T(U),ie=T(ee);qe(ie,{size:"body-small",children:(Ee,Be)=>{var Ye=je();K(ne=>ve(Ye,ne),[()=>t().translate(le.PricingTableSubtotal)]),P(Ee,Ye)},$$slots:{default:!0}});var Pe=H(U,2),ke=T(Pe);qe(ke,{size:"body-small",children:(Ee,Be)=>{var Ye=je();K(ne=>ve(Ye,ne),[()=>t().formatPrice(o(p),e.priceBreakdown.currency)]),P(Ee,Ye)},$$slots:{default:!0}});var Te=H(D,2),Ne=T(Te);t_(Ne,{get showDiscountCodeField(){return e.showDiscountCodeField},get discountCode(){return e.discountCode},get appliedDiscountCode(){return e.appliedDiscountCode},get discountSuffix(){return o(_)},get discountCodeError(){return e.discountCodeError},get isUpdatingDiscountCode(){return e.isUpdatingDiscountCode},get isDiscountCodeControlsEnabled(){return e.isDiscountCodeControlsEnabled},get onDiscountCodeChange(){return e.onDiscountCodeChange},get onApplyDiscountCode(){return e.onApplyDiscountCode},get onRemoveDiscountCode(){return e.onRemoveDiscountCode}});var Oe=H(Ne,2),Ie=T(Oe);qe(Ie,{size:"body-small",children:(Ee,Be)=>{var Ye=je();K(ne=>ve(Ye,`-${ne??""}`),[()=>t().formatPrice(o(g),e.priceBreakdown.currency)]),P(Ee,Ye)},$$slots:{default:!0}}),P(te,X)};Y($,te=>{e.appliedDiscountCode?te(de,!1):te(ue)})}P(G,R)};Y(I,G=>{e.showDiscountCodeField&&G(z)})}var E=H(I,2);{var M=G=>{var R=vP(),$=oe(R),ue=T($),de=T(ue);qe(de,{size:"body-small",children:(ie,Pe)=>{var ke=je();K(Te=>ve(ke,Te),[()=>t().translate(le.PricingTotalExcludingTax)]),P(ie,ke)},$$slots:{default:!0}});var te=H(ue,2),X=T(te);qe(X,{size:"body-small",children:(ie,Pe)=>{var ke=Se(),Te=oe(ke);{var Ne=Ie=>{n_(Ie,{children:(Ee,Be)=>{var Ye=je();K(ne=>ve(Ye,ne),[()=>t().formatPrice(e.priceBreakdown.totalExcludingTaxInMicros,e.priceBreakdown.currency)]),P(Ee,Ye)},$$slots:{default:!0}})},Oe=Ie=>{var Ee=je();K(Be=>ve(Ee,Be),[()=>t().formatPrice(e.priceBreakdown.totalExcludingTaxInMicros,e.priceBreakdown.currency)]),P(Ie,Ee)};Y(Te,Ie=>{e.priceBreakdown.taxCalculationStatus==="loading"?Ie(Ne):Ie(Oe,!1)})}P(ie,ke)},$$slots:{default:!0}});var D=H($,2);{var U=ie=>{var Pe=fP(),ke=T(Pe),Te=T(ke);qe(Te,{size:"body-small",children:(Ie,Ee)=>{var Be=je();K(Ye=>ve(Be,Ye),[()=>t().translate(le.PricingTableTax)]),P(Ie,Be)},$$slots:{default:!0}});var Ne=H(ke,2),Oe=T(Ne);qe(Oe,{size:"body-small",children:(Ie,Ee)=>{n_(Ie,{children:(Be,Ye)=>{var ne=je();K(ge=>ve(ne,ge),[()=>t().formatPrice(1234e4,e.priceBreakdown.currency)]),P(Be,ne)},$$slots:{default:!0}})},$$slots:{default:!0}}),P(ie,Pe)},ee=ie=>{var Pe=Se(),ke=oe(Pe);{var Te=Oe=>{var Ie=mP(),Ee=T(Ie),Be=T(Ee),Ye=H(Ee,2),ne=T(Ye);qe(ne,{size:"body-small",children:(ge,ce)=>{var Ce=je();K(Ke=>ve(Ce,Ke),[()=>t().translate(le.PricingTableEnterBillingAddressToCalculate)]),P(ge,Ce)},$$slots:{default:!0}}),K(ge=>ve(Be,ge),[()=>t().translate(le.PricingTableTax)]),P(Oe,Ie)},Ne=Oe=>{var Ie=Se(),Ee=oe(Ie);{var Be=Ye=>{var ne=Se(),ge=oe(ne);Ht(ge,17,()=>e.priceBreakdown.taxBreakdown,gn,(ce,Ce)=>{var Ke=hP(),rr=T(Ke),hr=T(rr);qe(hr,{size:"body-small",children:(Ue,mr)=>{var _r=je();K(()=>ve(_r,o(Ce).display_name)),P(Ue,_r)},$$slots:{default:!0}});var Le=H(rr,2),se=T(Le);qe(se,{size:"body-small",children:(Ue,mr)=>{var _r=je();K(Or=>ve(_r,Or),[()=>t().formatPrice(o(Ce).tax_amount_in_micros,e.priceBreakdown.currency)]),P(Ue,_r)},$$slots:{default:!0}}),P(ce,Ke)}),P(Ye,ne)};Y(Ee,Ye=>{e.priceBreakdown.taxBreakdown!==null&&Ye(Be)},!0)}P(Oe,Ie)};Y(ke,Oe=>{e.priceBreakdown.taxCalculationStatus==="pending"?Oe(Te):Oe(Ne,!1)},!0)}P(ie,Pe)};Y(D,ie=>{e.priceBreakdown.taxCalculationStatus==="loading"?ie(U):ie(ee,!1)})}P(G,R)};Y(E,G=>{o(u)&&G(M)})}var C=H(E,2);{var B=G=>{var R=yP();P(G,R)};Y(C,G=>{(o(u)||e.appliedDiscountCode)&&G(B)})}var O=H(C,2);{var q=G=>{var R=bP(),$=T(R),ue=T($);qe(ue,{size:"body-small",children:(X,D)=>{var U=je();K(ee=>ve(U,ee),[()=>t().translate(le.PricingTableTrialEnds,{formattedTrialEndDate:t().translateDate(o(s),{dateStyle:"medium"})})]),P(X,U)},$$slots:{default:!0}});var de=H($,2),te=T(de);qe(te,{size:"body-small",children:(X,D)=>{var U=je();K(ee=>ve(U,ee),[()=>t().formatPrice(e.priceBreakdown.totalAmountInMicros,e.priceBreakdown.currency)]),P(X,U)},$$slots:{default:!0}}),P(G,R)};Y(O,G=>{o(s)&&G(q)})}var L=H(O,2),F=T(L),A=T(F);qe(A,{size:"body-small",children:(G,R)=>{var $=je();K(ue=>ve($,ue),[()=>t().translate(le.PricingTableTotalDueToday)]),P(G,$)},$$slots:{default:!0}});var N=H(F,2),W=T(N);qe(W,{size:"body-small",children:(G,R)=>{var $=je();K(ue=>ve($,ue),[()=>t().formatPrice(o(f),e.priceBreakdown.currency)]),P(G,$)},$$slots:{default:!0}}),P(w,b)},s=m(()=>{var w;return(w=e.trialPhase)!=null&&w.period?Eo(new Date,e.trialPhase.period,!0):null}),l=Xe(vr),c=m(()=>e.priceBreakdown.taxCalculationStatus==="loading"||e.priceBreakdown.taxCalculationStatus==="pending"),u=m(()=>{var w;return e.priceBreakdown.taxCalculationStatus!=="unavailable"&&e.priceBreakdown.taxCalculationStatus!=="disabled"&&(o(c)||(((w=e.priceBreakdown.taxBreakdown)==null?void 0:w.length)??0)>0)}),d=m(()=>e.showDiscountCodeField||o(u)),p=m(()=>{var w,b;return e.priceBreakdown.originalAmountInMicros??((b=(w=e.basePhase)==null?void 0:w.price)==null?void 0:b.amountMicros)??e.priceBreakdown.totalAmountInMicros}),g=m(()=>{var w;return((w=e.resolvedDiscount)==null?void 0:w.discountAmountInMicros)??0}),_=m(()=>{var w;return((w=e.resolvedDiscount)==null?void 0:w.suffix)??null}),f=m(()=>o(s)?0:e.priceBreakdown.totalAmountInMicros);var v=Se(),y=oe(v);{var h=w=>{uP(w,{get showDiscountCodeField(){return e.showDiscountCodeField},children:(b,x)=>{i(b)},$$slots:{default:!0}})},k=w=>{i(w)};Y(y,w=>{o(d)?w(h):w(k,!1)})}P(r,v),me(),a()}var xP=V('<div class="rcb-subscribe-to svelte-sdtx9l"><!></div>'),EP=V('<span class="rcb-product-description svelte-sdtx9l"><!></span>'),SP=V('<div class="rcb-pricing-info-header svelte-sdtx9l"><!> <div class="rcb-product-title svelte-sdtx9l"><!></div> <!></div>');const IP={hash:"svelte-sdtx9l",code:`.rcb-pricing-info-header.svelte-sdtx9l {display:flex;flex-direction:column;gap:var(--rc-spacing-gapMedium-mobile);}.rcb-product-title.svelte-sdtx9l {color:var(--rc-color-grey-text-dark);}.rcb-product-description.svelte-sdtx9l {color:var(--rc-color-grey-text-light);}.rcb-subscribe-to.svelte-sdtx9l {display:none;}
340
340
 
341
341
  @container layout-query-container (width >= 768px) {.rcb-subscribe-to.svelte-sdtx9l {display:block;}.rcb-pricing-info-header.svelte-sdtx9l {display:flex;flex-direction:column;gap:var(--rc-spacing-gapMedium-desktop);}
342
- }`};function SP(r,e){fe(e,!1),ke(r,EP);let t=Q(e,"productDetails",8),n=Q(e,"showProductDescription",8);const a=t().productType===Xr.Subscription;Dn();var i=xP(),s=T(i);{var l=_=>{var g=wP(),f=T(g);qe(f,{size:"body-base",children:(v,y)=>{{let h=En(()=>(He(t()),Ue(()=>({productTitle:t().title}))));ht(v,{get key(){return He(ie),Ue(()=>ie.ProductInfoSubscribeTo)},get variables(){return o(h)}})}},$$slots:{default:!0}}),P(_,g)};K(s,_=>{a&&_(l)})}var c=Y(s,2),u=T(c);qe(u,{size:"heading-lg",branded:!0,children:(_,g)=>{{let f=En(()=>(He(t()),Ue(()=>({productTitle:t().title}))));ht(_,{get key(){return He(ie),Ue(()=>ie.ProductInfoProductTitle)},get variables(){return o(f)}})}},$$slots:{default:!0}});var d=Y(c,2);{var p=_=>{var g=PP(),f=T(g);qe(f,{size:"body-small",children:(v,y)=>{{let h=En(()=>(He(t()),Ue(()=>({productDescription:t().description}))));ht(v,{get key(){return He(ie),Ue(()=>ie.ProductInfoProductDescription)},get variables(){return o(h)}})}},$$slots:{default:!0}}),P(_,g)};K(d,_=>{He(n()),He(t()),Ue(()=>n()&&t().description)&&_(p)})}P(r,i),me()}var IP=W("<div><!></div>"),CP=W("<div><!> <!></div>"),TP=W('<div class="rcb-product-price-container svelte-17etw2v"><!> <!> <div><!> <!> <!></div></div>');const DP={hash:"svelte-17etw2v",code:".rcb-product-price-container.svelte-17etw2v {display:flex;flex-direction:column;justify-content:space-between;gap:var(--rc-spacing-gapMedium-mobile);color:var(--rc-color-grey-text-dark);}"};function AP(r,e){fe(e,!0),ke(r,DP);const t=()=>pe(i,"$translator",n),[n,a]=Ye(),i=Xe(vr),s=m(()=>{var z;return!!((z=e.trialPhase)!=null&&z.periodDuration)}),l=m(()=>{var z;return((z=e.introPricePhase)==null?void 0:z.cycleCount)===1}),c=m(()=>!!e.introPricePhase),u=m(()=>{var z;return!!e.discountPhase||(((z=e.priceBreakdown.appliedDiscounts)==null?void 0:z.length)??0)>0}),d=m(()=>{var A,M;if(!o(c)||!((A=e.introPricePhase)!=null&&A.period))return"";const z=e.introPricePhase.period.number*((M=e.introPricePhase)==null?void 0:M.cycleCount),L=e.introPricePhase.period.unit;return z==null||L==null?"":z===1&&!o(s)&&t().selectedLocale===Hr?t().translatePeriodUnit(L)||"":t().translatePeriod(z,L)||""}),p=m(()=>{var z,L;return(z=e.introPricePhase)!=null&&z.period?o(l)?t().translate(ie.ProductInfoIntroPricePhasePaidOnce):e.introPricePhase&&((L=e.introPricePhase)!=null&&L.period)&&t().translatePeriodFrequency(e.introPricePhase.period.number,e.introPricePhase.period.unit,{useMultipleWords:!0})||"":""}),_=m(()=>o(s)?ie.ProductInfoIntroPricePhaseAfterTrial:ie.ProductInfoIntroPricePhase),g=m(()=>t().formatPrice(e.priceBreakdown.totalAmountInMicros,e.priceBreakdown.currency)),f=m(()=>{var L,A;const z=e.introPricePhase||o(u)?((A=(L=e.basePhase)==null?void 0:L.price)==null?void 0:A.amountMicros)??0:e.priceBreakdown.totalAmountInMicros;return t().formatPrice(z,e.priceBreakdown.currency)}),v=m(()=>o(c)?ie.ProductInfoAfter:o(s)?ie.ProductInfoAfterTrial:null),y="heading-lg",h=m(()=>o(s)?"heading-md":"heading-lg"),w=m(()=>o(s)||o(c)?"heading-md":"heading-lg");var k=TP(),b=T(k);{var x=z=>{var L=IP(),A=T(L);qe(A,{size:y,children:(M,N)=>{{let H=m(()=>({trialDuration:gm(e.trialPhase.periodDuration,t())}));ht(M,{get key(){return ie.ProductInfoFreeTrialDuration},get variables(){return o(H)}})}},$$slots:{default:!0}}),P(z,L)};K(b,z=>{o(s)&&z(x)})}var I=Y(b,2);{var S=z=>{var L=CP(),A=T(L);qe(A,{get size(){return o(h)},children:(H,X)=>{{let R=m(()=>({introPriceDuration:o(d),introPrice:o(g)}));ht(H,{get key(){return o(_)},get variables(){return o(R)}})}},$$slots:{default:!0}});var M=Y(A,2);{var N=H=>{qe(H,{size:"body-small",children:(X,R)=>{var $=je();Z(()=>ve($,o(p))),P(X,$)},$$slots:{default:!0}})};K(M,H=>{o(p)&&H(N)})}P(z,L)};K(I,z=>{o(c)&&z(S)})}var q=Y(I,2),E=T(q);qe(E,{get size(){return o(w)},children:(z,L)=>{var A=je();Z(()=>ve(A,o(f))),P(z,A)},$$slots:{default:!0}});var D=Y(E,2);{var C=z=>{qe(z,{size:"body-small",children:(L,A)=>{var M=je();Z(N=>ve(M,N),[()=>t().translatePeriodFrequency(e.basePhase.period.number,e.basePhase.period.unit,{useMultipleWords:!0})]),P(L,M)},$$slots:{default:!0}})};K(D,z=>{var L;(L=e.basePhase)!=null&&L.period&&z(C)})}var B=Y(D,2);{var F=z=>{qe(z,{size:"body-small",children:(L,A)=>{ht(L,{get key(){return o(v)}})},$$slots:{default:!0}})};K(B,z=>{o(v)&&z(F)})}P(r,k),me(),a()}var qP=W("<div><!></div>");function MP(r,e){fe(e,!0);const t=()=>pe(i,"$translator",n),[n,a]=Ye(),i=Xe(vr),s=m(()=>{var d,p;return t().formatPrice(((p=(d=e.basePhase)==null?void 0:d.price)==null?void 0:p.amountMicros)??0,e.priceBreakdown.currency)}),l="heading-lg";var c=qP(),u=T(c);qe(u,{size:l,children:(d,p)=>{var _=je();Z(()=>ve(_,o(s))),P(d,_)},$$slots:{default:!0}}),P(r,c),me(),a()}var FP=W('<div class="rcb-pricing-info svelte-1jzyaxi"><div class="rcb-pricing-info-header svelte-1jzyaxi"><!> <!></div> <!></div>');const zP={hash:"svelte-1jzyaxi",code:`.rcb-pricing-info.svelte-1jzyaxi {display:flex;flex-direction:column;user-select:none;gap:var(--rc-spacing-gapXXLarge-mobile);}.rcb-pricing-info-header.svelte-1jzyaxi {display:flex;flex-direction:column;gap:var(--rc-spacing-gapLarge-mobile);}
342
+ }`};function CP(r,e){fe(e,!1),we(r,IP);let t=J(e,"productDetails",8),n=J(e,"showProductDescription",8);const a=t().productType===Kr.Subscription;An();var i=SP(),s=T(i);{var l=g=>{var _=xP(),f=T(_);qe(f,{size:"body-base",children:(v,y)=>{{let h=Sn(()=>(We(t()),Re(()=>({productTitle:t().title}))));mt(v,{get key(){return We(le),Re(()=>le.ProductInfoSubscribeTo)},get variables(){return o(h)}})}},$$slots:{default:!0}}),P(g,_)};Y(s,g=>{a&&g(l)})}var c=H(s,2),u=T(c);qe(u,{size:"heading-lg",branded:!0,children:(g,_)=>{{let f=Sn(()=>(We(t()),Re(()=>({productTitle:t().title}))));mt(g,{get key(){return We(le),Re(()=>le.ProductInfoProductTitle)},get variables(){return o(f)}})}},$$slots:{default:!0}});var d=H(c,2);{var p=g=>{var _=EP(),f=T(_);qe(f,{size:"body-small",children:(v,y)=>{{let h=Sn(()=>(We(t()),Re(()=>({productDescription:t().description}))));mt(v,{get key(){return We(le),Re(()=>le.ProductInfoProductDescription)},get variables(){return o(h)}})}},$$slots:{default:!0}}),P(g,_)};Y(d,g=>{We(n()),We(t()),Re(()=>n()&&t().description)&&g(p)})}P(r,i),me()}var TP=V("<div><!></div>"),DP=V("<div><!> <!></div>"),AP=V('<div class="rcb-product-price-container svelte-17etw2v"><!> <!> <div><!> <!> <!></div></div>');const qP={hash:"svelte-17etw2v",code:".rcb-product-price-container.svelte-17etw2v {display:flex;flex-direction:column;justify-content:space-between;gap:var(--rc-spacing-gapMedium-mobile);color:var(--rc-color-grey-text-dark);}"};function FP(r,e){fe(e,!0),we(r,qP);const t=()=>pe(i,"$translator",n),[n,a]=He(),i=Xe(vr),s=m(()=>{var q;return!!((q=e.trialPhase)!=null&&q.periodDuration)}),l=m(()=>{var q;return((q=e.introPricePhase)==null?void 0:q.cycleCount)===1}),c=m(()=>!!e.introPricePhase),u=m(()=>{var q;return!!e.discountPhase||(((q=e.priceBreakdown.appliedDiscounts)==null?void 0:q.length)??0)>0}),d=m(()=>{var F,A;if(!o(c)||!((F=e.introPricePhase)!=null&&F.period))return"";const q=e.introPricePhase.period.number*((A=e.introPricePhase)==null?void 0:A.cycleCount),L=e.introPricePhase.period.unit;return q==null||L==null?"":q===1&&!o(s)&&t().selectedLocale===Wr?t().translatePeriodUnit(L)||"":t().translatePeriod(q,L)||""}),p=m(()=>{var q,L;return(q=e.introPricePhase)!=null&&q.period?o(l)?t().translate(le.ProductInfoIntroPricePhasePaidOnce):e.introPricePhase&&((L=e.introPricePhase)!=null&&L.period)&&t().translatePeriodFrequency(e.introPricePhase.period.number,e.introPricePhase.period.unit,{useMultipleWords:!0})||"":""}),g=m(()=>o(s)?le.ProductInfoIntroPricePhaseAfterTrial:le.ProductInfoIntroPricePhase),_=m(()=>t().formatPrice(e.priceBreakdown.totalAmountInMicros,e.priceBreakdown.currency)),f=m(()=>{var L,F;const q=e.introPricePhase||o(u)?((F=(L=e.basePhase)==null?void 0:L.price)==null?void 0:F.amountMicros)??0:e.priceBreakdown.totalAmountInMicros;return t().formatPrice(q,e.priceBreakdown.currency)}),v=m(()=>o(c)?le.ProductInfoAfter:o(s)?le.ProductInfoAfterTrial:null),y="heading-lg",h=m(()=>o(s)?"heading-md":"heading-lg"),k=m(()=>o(s)||o(c)?"heading-md":"heading-lg");var w=AP(),b=T(w);{var x=q=>{var L=TP(),F=T(L);qe(F,{size:y,children:(A,N)=>{{let W=m(()=>({trialDuration:vm(e.trialPhase.periodDuration,t())}));mt(A,{get key(){return le.ProductInfoFreeTrialDuration},get variables(){return o(W)}})}},$$slots:{default:!0}}),P(q,L)};Y(b,q=>{o(s)&&q(x)})}var S=H(b,2);{var I=q=>{var L=DP(),F=T(L);qe(F,{get size(){return o(h)},children:(W,G)=>{{let R=m(()=>({introPriceDuration:o(d),introPrice:o(_)}));mt(W,{get key(){return o(g)},get variables(){return o(R)}})}},$$slots:{default:!0}});var A=H(F,2);{var N=W=>{qe(W,{size:"body-small",children:(G,R)=>{var $=je();K(()=>ve($,o(p))),P(G,$)},$$slots:{default:!0}})};Y(A,W=>{o(p)&&W(N)})}P(q,L)};Y(S,q=>{o(c)&&q(I)})}var z=H(S,2),E=T(z);qe(E,{get size(){return o(k)},children:(q,L)=>{var F=je();K(()=>ve(F,o(f))),P(q,F)},$$slots:{default:!0}});var M=H(E,2);{var C=q=>{qe(q,{size:"body-small",children:(L,F)=>{var A=je();K(N=>ve(A,N),[()=>t().translatePeriodFrequency(e.basePhase.period.number,e.basePhase.period.unit,{useMultipleWords:!0})]),P(L,A)},$$slots:{default:!0}})};Y(M,q=>{var L;(L=e.basePhase)!=null&&L.period&&q(C)})}var B=H(M,2);{var O=q=>{qe(q,{size:"body-small",children:(L,F)=>{mt(L,{get key(){return o(v)}})},$$slots:{default:!0}})};Y(B,q=>{o(v)&&q(O)})}P(r,w),me(),a()}var MP=V("<div><!></div>");function zP(r,e){fe(e,!0);const t=()=>pe(i,"$translator",n),[n,a]=He(),i=Xe(vr),s=m(()=>{var d,p;return t().formatPrice(((p=(d=e.basePhase)==null?void 0:d.price)==null?void 0:p.amountMicros)??0,e.priceBreakdown.currency)}),l="heading-lg";var c=MP(),u=T(c);qe(u,{size:l,children:(d,p)=>{var g=je();K(()=>ve(g,o(s))),P(d,g)},$$slots:{default:!0}}),P(r,c),me(),a()}var jP=V('<div class="rcb-pricing-info svelte-1jzyaxi"><div class="rcb-pricing-info-header svelte-1jzyaxi"><!> <!></div> <!></div>');const NP={hash:"svelte-1jzyaxi",code:`.rcb-pricing-info.svelte-1jzyaxi {display:flex;flex-direction:column;user-select:none;gap:var(--rc-spacing-gapXXLarge-mobile);}.rcb-pricing-info-header.svelte-1jzyaxi {display:flex;flex-direction:column;gap:var(--rc-spacing-gapLarge-mobile);}
343
343
 
344
344
  @container layout-query-container (width >= 768px) {.rcb-pricing-info.svelte-1jzyaxi {gap:var(--rc-spacing-gapXXXLarge-desktop);}.rcb-pricing-info-header.svelte-1jzyaxi {gap:var(--rc-spacing-gapLarge-desktop);}
345
- }`};function jP(r,e){fe(e,!1),ke(r,zP);const t=()=>pe(D,"$translator",n),[n,a]=Ye(),i=cr();let s=Q(e,"productDetails",8),l=Q(e,"purchaseOption",8),c=Q(e,"showProductDescription",8),u=Q(e,"priceBreakdown",8),d=Q(e,"showDiscountCodeField",8,!1),p=Q(e,"discountCode",8,""),_=Q(e,"appliedDiscountCode",8,null),g=Q(e,"discountCodeError",8,null),f=Q(e,"isUpdatingDiscountCode",8,!1),v=Q(e,"isDiscountCodeControlsEnabled",8,!1),y=Q(e,"onDiscountCodeChange",8,void 0),h=Q(e,"onApplyDiscountCode",8,void 0),w=Q(e,"onRemoveDiscountCode",8,void 0),k=cr(),b=cr(),x=cr(),I=cr(),S=cr(),q=cr(),E=cr();const D=Xe(vr);fr(()=>He(s()),()=>{j(k,s().productType==="subscription")}),fr(()=>(o(k),He(l())),()=>{j(b,o(k)?l():null)}),fr(()=>(o(k),He(l())),()=>{j(x,o(k)?null:l())}),fr(()=>(o(k),o(b),o(x)),()=>{var N,H;j(I,o(k)?((N=o(b))==null?void 0:N.base)??null:(H=o(x))!=null&&H.basePrice?{periodDuration:null,period:null,cycleCount:1,price:o(x).basePrice,pricePerWeek:null,pricePerMonth:null,pricePerYear:null}:null)}),fr(()=>o(b),()=>{var N;j(S,((N=o(b))==null?void 0:N.trial)??null)}),fr(()=>(o(b),o(x)),()=>{var N,H;j(q,((N=o(b))==null?void 0:N.discount)??((H=o(x))==null?void 0:H.discount)??null)}),fr(()=>o(b),()=>{var N;j(E,((N=o(b))==null?void 0:N.introPrice)??null)}),fr(()=>(He(u()),He(s()),He(l()),t()),()=>{j(i,Jl({priceBreakdown:u(),productDetails:s(),purchaseOption:l(),translator:t()}))}),Ds(),Dn();var C=FP(),B=T(C),F=T(B);SP(F,{get productDetails(){return s()},get showProductDescription(){return c()}});var z=Y(F,2);{var L=N=>{AP(N,{get priceBreakdown(){return u()},get basePhase(){return o(I)},get trialPhase(){return o(S)},get discountPhase(){return o(q)},get introPricePhase(){return o(E)}})},A=N=>{MP(N,{get priceBreakdown(){return u()},get basePhase(){return o(I)}})};K(z,N=>{o(k)?N(L):N(A,!1)})}var M=Y(B,2);kP(M,{get priceBreakdown(){return u()},get trialPhase(){return o(S)},get basePhase(){return o(I)},get resolvedDiscount(){return o(i)},get showDiscountCodeField(){return d()},get discountCode(){return p()},get appliedDiscountCode(){return _()},get discountCodeError(){return g()},get isUpdatingDiscountCode(){return f()},get isDiscountCodeControlsEnabled(){return v()},get onDiscountCodeChange(){return y()},get onApplyDiscountCode(){return h()},get onRemoveDiscountCode(){return w()}}),P(r,C),me(),a()}const Ro=r=>`https://da08ctfrofx1b.cloudfront.net/${r}`;var NP=W("<div><!></div>");const OP={hash:"svelte-18ddpt0",code:`.rcb-ui-container.svelte-18ddpt0 {display:flex;flex-direction:column;inset:0;color-scheme:none;line-height:1.5em;font-family:-apple-system,
345
+ }`};function OP(r,e){fe(e,!1),we(r,NP);const t=()=>pe(M,"$translator",n),[n,a]=He(),i=cr();let s=J(e,"productDetails",8),l=J(e,"purchaseOption",8),c=J(e,"showProductDescription",8),u=J(e,"priceBreakdown",8),d=J(e,"showDiscountCodeField",8,!1),p=J(e,"discountCode",8,""),g=J(e,"appliedDiscountCode",8,null),_=J(e,"discountCodeError",8,null),f=J(e,"isUpdatingDiscountCode",8,!1),v=J(e,"isDiscountCodeControlsEnabled",8,!1),y=J(e,"onDiscountCodeChange",8,void 0),h=J(e,"onApplyDiscountCode",8,void 0),k=J(e,"onRemoveDiscountCode",8,void 0),w=cr(),b=cr(),x=cr(),S=cr(),I=cr(),z=cr(),E=cr();const M=Xe(vr);fr(()=>We(s()),()=>{j(w,s().productType==="subscription")}),fr(()=>(o(w),We(l())),()=>{j(b,o(w)?l():null)}),fr(()=>(o(w),We(l())),()=>{j(x,o(w)?null:l())}),fr(()=>(o(w),o(b),o(x)),()=>{var N,W;j(S,o(w)?((N=o(b))==null?void 0:N.base)??null:(W=o(x))!=null&&W.basePrice?{periodDuration:null,period:null,cycleCount:1,price:o(x).basePrice,pricePerWeek:null,pricePerMonth:null,pricePerYear:null}:null)}),fr(()=>o(b),()=>{var N;j(I,((N=o(b))==null?void 0:N.trial)??null)}),fr(()=>(o(b),o(x)),()=>{var N,W;j(z,((N=o(b))==null?void 0:N.discount)??((W=o(x))==null?void 0:W.discount)??null)}),fr(()=>o(b),()=>{var N;j(E,((N=o(b))==null?void 0:N.introPrice)??null)}),fr(()=>(We(u()),We(s()),We(l()),t()),()=>{j(i,Jl({priceBreakdown:u(),productDetails:s(),purchaseOption:l(),translator:t()}))}),Ds(),An();var C=jP(),B=T(C),O=T(B);CP(O,{get productDetails(){return s()},get showProductDescription(){return c()}});var q=H(O,2);{var L=N=>{FP(N,{get priceBreakdown(){return u()},get basePhase(){return o(S)},get trialPhase(){return o(I)},get discountPhase(){return o(z)},get introPricePhase(){return o(E)}})},F=N=>{zP(N,{get priceBreakdown(){return u()},get basePhase(){return o(S)}})};Y(q,N=>{o(w)?N(L):N(F,!1)})}var A=H(B,2);PP(A,{get priceBreakdown(){return u()},get trialPhase(){return o(I)},get basePhase(){return o(S)},get resolvedDiscount(){return o(i)},get showDiscountCodeField(){return d()},get discountCode(){return p()},get appliedDiscountCode(){return g()},get discountCodeError(){return _()},get isUpdatingDiscountCode(){return f()},get isDiscountCodeControlsEnabled(){return v()},get onDiscountCodeChange(){return y()},get onApplyDiscountCode(){return h()},get onRemoveDiscountCode(){return k()}}),P(r,C),me(),a()}const Ro=r=>`https://da08ctfrofx1b.cloudfront.net/${r}`;var LP=V("<div><!></div>");const BP={hash:"svelte-18ddpt0",code:`.rcb-ui-container.svelte-18ddpt0 {display:flex;flex-direction:column;inset:0;color-scheme:none;line-height:1.5em;font-family:-apple-system,
346
346
  BlinkMacSystemFont,
347
347
  avenir next,
348
348
  avenir,
@@ -354,27 +354,27 @@ but received
354
354
  roboto,
355
355
  noto,
356
356
  arial,
357
- sans-serif;overflow-x:hidden;overflow-y:auto;}.rcb-ui-container.fullscreen.svelte-18ddpt0 {position:fixed;top:0;left:0;right:0;bottom:0;overscroll-behavior:none;z-index:1000001;}.rcb-ui-container.inside.svelte-18ddpt0 {position:relative;width:100%;z-index:unset;height:100%;top:0;left:0;}`};function e_(r,e){fe(e,!0),ke(r,OP);const t=Q(e,"brandingAppearance",3,void 0),n=Q(e,"brandFontConfig",3,void 0),a=Q(e,"isInElement",3,!1),i=m(()=>new Rn(t()).getTextStyleVars(n())),s=m(()=>new Rn(t()).spacingStyleVars),l=m(()=>[o(i),o(s)].join("; ")),c=m(()=>{var g;return(g=n())!=null&&g.font_url?Ro(n().font_url):null}),u=async g=>{try{const f=new FontFace(Rp,`url(${g})`);await f.load(),document.fonts.add(f)}catch(f){console.error("Failed to set brand font:",f)}};mr(()=>{o(c)&&u(o(c))});var d=NP();let p;var _=T(d);wr(_,()=>e.children??rr),Z(()=>{p=ur(d,1,"rcb-ui-container svelte-18ddpt0",null,p,{fullscreen:!a(),inside:a()}),De(d,o(l))}),P(r,d),me()}var LP=W('<div id="layout-query-container" class="svelte-1ewgunr"><div class="rcb-ui-layout svelte-1ewgunr"><!></div></div>');const BP={hash:"svelte-1ewgunr",code:`#layout-query-container.svelte-1ewgunr {width:100%;height:100%;container-type:size;container-name:layout-query-container;overflow-y:auto;overscroll-behavior:none;}.rcb-ui-layout.svelte-1ewgunr {width:100%;min-height:100%;display:flex;box-sizing:border-box;flex-direction:column;overscroll-behavior:none;}
357
+ sans-serif;overflow-x:hidden;overflow-y:auto;}.rcb-ui-container.fullscreen.svelte-18ddpt0 {position:fixed;top:0;left:0;right:0;bottom:0;overscroll-behavior:none;z-index:1000001;}.rcb-ui-container.inside.svelte-18ddpt0 {position:relative;width:100%;z-index:unset;height:100%;top:0;left:0;}`};function a_(r,e){fe(e,!0),we(r,BP);const t=J(e,"brandingAppearance",3,void 0),n=J(e,"brandFontConfig",3,void 0),a=J(e,"isInElement",3,!1),i=m(()=>new Rn(t()).getTextStyleVars(n())),s=m(()=>new Rn(t()).spacingStyleVars),l=m(()=>[o(i),o(s)].join("; ")),c=m(()=>{var _;return(_=n())!=null&&_.font_url?Ro(n().font_url):null}),u=async _=>{try{const f=new FontFace(Wp,`url(${_})`);await f.load(),document.fonts.add(f)}catch(f){console.error("Failed to set brand font:",f)}};gr(()=>{o(c)&&u(o(c))});var d=LP();let p;var g=T(d);kr(g,()=>e.children??tr),K(()=>{p=ur(d,1,"rcb-ui-container svelte-18ddpt0",null,p,{fullscreen:!a(),inside:a()}),De(d,o(l))}),P(r,d),me()}var UP=V('<div id="layout-query-container" class="svelte-1ewgunr"><div class="rcb-ui-layout svelte-1ewgunr"><!></div></div>');const RP={hash:"svelte-1ewgunr",code:`#layout-query-container.svelte-1ewgunr {width:100%;height:100%;container-type:size;container-name:layout-query-container;overflow-y:auto;overscroll-behavior:none;}.rcb-ui-layout.svelte-1ewgunr {width:100%;min-height:100%;display:flex;box-sizing:border-box;flex-direction:column;overscroll-behavior:none;}
358
358
 
359
359
  @container layout-query-container (width < 768px) {.rcb-ui-layout.svelte-1ewgunr {flex-grow:1;}
360
360
  }
361
361
 
362
362
  @container layout-query-container (width >= 768px) {.rcb-ui-layout.svelte-1ewgunr {flex-direction:row;}
363
- }`};function RP(r,e){ke(r,BP);let t=Q(e,"style",8,""),n=Q(e,"children",8);var a=LP(),i=T(a),s=T(i);wr(s,()=>n()??rr),Z(()=>De(i,t())),P(r,a)}const UP=r=>r;function VP(r){const e=r-1;return e*e*e+1}function r_(r){const e=typeof r=="string"&&r.match(/^\s*(-?[\d.]+)([^\s]*)\s*$/);return e?[parseFloat(e[1]),e[2]||"px"]:[r,"px"]}function WP(r,{delay:e=0,duration:t=400,easing:n=UP}={}){const a=+getComputedStyle(r).opacity;return{delay:e,duration:t,easing:n,css:i=>`opacity: ${i*a}`}}function HP(r,{delay:e=0,duration:t=400,easing:n=VP,x:a=0,y:i=0,opacity:s=0}={}){const l=getComputedStyle(r),c=+l.opacity,u=l.transform==="none"?"":l.transform,d=c*(1-s),[p,_]=r_(a),[g,f]=r_(i);return{delay:e,duration:t,easing:n,css:(v,y)=>`
364
- transform: ${u} translate(${(1-v)*p}${_}, ${(1-v)*g}${f});
365
- opacity: ${c-d*y}`}}var YP=W('<div><div class="layout-wrapper svelte-13h5jq9"><div><!></div></div></div>');const GP={hash:"svelte-13h5jq9",code:`.layout-wrapper-outer.svelte-13h5jq9 {flex:1;display:flex;background-color:var(--rc-color-background);}.layout-wrapper-outer.rcb-navbar.svelte-13h5jq9 {justify-content:flex-end;}.layout-wrapper.svelte-13h5jq9 {width:100%;}.layout-content.svelte-13h5jq9 {box-sizing:border-box;background-color:var(--rc-color-background);color:var(--rc-color-grey-text-dark);display:flex;flex-direction:column;}.layout-content.rcb-navbar.svelte-13h5jq9 {display:flex;flex-direction:column;gap:var(--rc-spacing-gapXLarge-mobile);}
363
+ }`};function VP(r,e){we(r,RP);let t=J(e,"style",8,""),n=J(e,"children",8);var a=UP(),i=T(a),s=T(i);kr(s,()=>n()??tr),K(()=>De(i,t())),P(r,a)}const WP=r=>r;function HP(r){const e=r-1;return e*e*e+1}function o_(r){const e=typeof r=="string"&&r.match(/^\s*(-?[\d.]+)([^\s]*)\s*$/);return e?[parseFloat(e[1]),e[2]||"px"]:[r,"px"]}function YP(r,{delay:e=0,duration:t=400,easing:n=WP}={}){const a=+getComputedStyle(r).opacity;return{delay:e,duration:t,easing:n,css:i=>`opacity: ${i*a}`}}function GP(r,{delay:e=0,duration:t=400,easing:n=HP,x:a=0,y:i=0,opacity:s=0}={}){const l=getComputedStyle(r),c=+l.opacity,u=l.transform==="none"?"":l.transform,d=c*(1-s),[p,g]=o_(a),[_,f]=o_(i);return{delay:e,duration:t,easing:n,css:(v,y)=>`
364
+ transform: ${u} translate(${(1-v)*p}${g}, ${(1-v)*_}${f});
365
+ opacity: ${c-d*y}`}}var KP=V('<div><div class="layout-wrapper svelte-13h5jq9"><div><!></div></div></div>');const XP={hash:"svelte-13h5jq9",code:`.layout-wrapper-outer.svelte-13h5jq9 {flex:1;display:flex;background-color:var(--rc-color-background);}.layout-wrapper-outer.rcb-navbar.svelte-13h5jq9 {justify-content:flex-end;}.layout-wrapper.svelte-13h5jq9 {width:100%;}.layout-content.svelte-13h5jq9 {box-sizing:border-box;background-color:var(--rc-color-background);color:var(--rc-color-grey-text-dark);display:flex;flex-direction:column;}.layout-content.rcb-navbar.svelte-13h5jq9 {display:flex;flex-direction:column;gap:var(--rc-spacing-gapXLarge-mobile);}
366
366
 
367
367
  @container layout-query-container (width < 768px) {.layout-wrapper.svelte-13h5jq9 {width:100%;min-width:300px;display:flex;flex-grow:1;}.layout-content.svelte-13h5jq9 {flex-grow:1;height:100%;}.layout-content.rcb-navbar.svelte-13h5jq9 {padding-bottom:var(--rc-spacing-outerPadding-mobile);}.layout-content.rcb-main-block.svelte-13h5jq9 {padding:var(--rc-spacing-outerPadding-mobile);}
368
368
  }
369
369
 
370
370
  @container layout-query-container (width >= 768px) {.layout-wrapper.svelte-13h5jq9 {flex-basis:544px;}.layout-content.rcb-main-block.svelte-13h5jq9 {padding-left:var(--rc-spacing-outerPadding-desktop);padding-right:var(--rc-spacing-outerPadding-desktop);}.layout-content.rcb-navbar.svelte-13h5jq9 {gap:var(--rc-spacing-gapXXLarge-desktop);}.layout-wrapper-outer.svelte-13h5jq9 {padding-top:var(--rc-spacing-outerPaddingTop-desktop);padding-bottom:var(--rc-spacing-outerPadding-desktop);}
371
- }`};function t_(r,e){ke(r,GP);const t=`rcb-${e.location}`;var n=YP(),a=T(n),i=T(a),s=T(i);wr(s,()=>e.children??rr),Z(()=>{ur(n,1,`layout-wrapper-outer ${t}`,"svelte-13h5jq9"),ur(i,1,`layout-content ${t}`,"svelte-13h5jq9")}),Iu(3,i,()=>WP,()=>({duration:500,delay:50})),P(r,n)}var KP=W('<div class="navbar-body svelte-191m2u3"><!></div>'),XP=W('<div class="navbar-header svelte-191m2u3"><!></div> <!>',1),ZP=W('<div class="rcb-ui-navbar svelte-191m2u3"><!></div>');const JP={hash:"svelte-191m2u3",code:`.rcb-ui-navbar.svelte-191m2u3 {width:100%;max-width:none;flex-shrink:0;background-color:var(--rc-color-background);}
371
+ }`};function i_(r,e){we(r,XP);const t=`rcb-${e.location}`;var n=KP(),a=T(n),i=T(a),s=T(i);kr(s,()=>e.children??tr),K(()=>{ur(n,1,`layout-wrapper-outer ${t}`,"svelte-13h5jq9"),ur(i,1,`layout-content ${t}`,"svelte-13h5jq9")}),Cu(3,i,()=>YP,()=>({duration:500,delay:50})),P(r,n)}var ZP=V('<div class="navbar-body svelte-191m2u3"><!></div>'),JP=V('<div class="navbar-header svelte-191m2u3"><!></div> <!>',1),QP=V('<div class="rcb-ui-navbar svelte-191m2u3"><!></div>');const $P={hash:"svelte-191m2u3",code:`.rcb-ui-navbar.svelte-191m2u3 {width:100%;max-width:none;flex-shrink:0;background-color:var(--rc-color-background);}
372
372
 
373
373
  @container layout-query-container (width < 768px) {.navbar-body.svelte-191m2u3 {padding-left:var(--rc-spacing-outerPadding-mobile);padding-right:var(--rc-spacing-outerPadding-mobile);}
374
374
  }
375
375
 
376
376
  @container layout-query-container (width >= 768px) {.rcb-ui-navbar.svelte-191m2u3 {width:50vw;display:flex;justify-content:flex-end;}.navbar-header.svelte-191m2u3 {padding-left:var(--rc-spacing-outerPadding-desktop);padding-right:var(--rc-spacing-outerPadding-desktop);}.navbar-body.svelte-191m2u3 {padding-left:var(--rc-spacing-outerPadding-desktop);padding-right:var(--rc-spacing-outerPadding-desktop);}
377
- }`};function QP(r,e){fe(e,!0),ke(r,JP);const t=Q(e,"brandingAppearance",3,void 0),n=m(()=>new Rn(t()).productInfoStyleVars);var a=ZP(),i=T(a);t_(i,{location:"navbar",children:(s,l)=>{var c=XP(),u=ae(c),d=T(u);wr(d,()=>e.headerContent??rr);var p=Y(u,2);{var _=g=>{var f=KP(),v=T(f);wr(v,()=>e.bodyContent??rr),P(g,f)};K(p,g=>{e.bodyContent&&g(_)})}P(s,c)}}),Z(()=>De(a,o(n))),P(r,a),me()}var $P=W('<button class="rcb-close-button svelte-8qlvu1" data-testid="close-button"><!></button>');const e1={hash:"svelte-8qlvu1",code:".rcb-close-button.svelte-8qlvu1 {padding:10px;border:none;cursor:pointer;background-color:transparent;border-radius:50%;color:var(--rc-color-grey-text-dark);display:inline-flex;align-items:center;justify-content:center;width:fit-content;height:fit-content;}.rcb-close-button.svelte-8qlvu1:active {transition:outline 0.1s ease-in-out;outline:2px solid var(--rc-color-focus);}.rcb-close-button.svelte-8qlvu1:hover {color:var(--rc-color-grey-text-dark);}"};function n_(r,e){ke(r,e1);var t=$P(),n=T(t);Un(n,{name:"close"}),Nr("click",t,function(a){Bu.call(this,e,a)}),P(r,t)}const r1=`<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12" fill="none">
377
+ }`};function e1(r,e){fe(e,!0),we(r,$P);const t=J(e,"brandingAppearance",3,void 0),n=m(()=>new Rn(t()).productInfoStyleVars);var a=QP(),i=T(a);i_(i,{location:"navbar",children:(s,l)=>{var c=JP(),u=oe(c),d=T(u);kr(d,()=>e.headerContent??tr);var p=H(u,2);{var g=_=>{var f=ZP(),v=T(f);kr(v,()=>e.bodyContent??tr),P(_,f)};Y(p,_=>{e.bodyContent&&_(g)})}P(s,c)}}),K(()=>De(a,o(n))),P(r,a),me()}var r1=V('<button class="rcb-close-button svelte-8qlvu1" data-testid="close-button"><!></button>');const t1={hash:"svelte-8qlvu1",code:".rcb-close-button.svelte-8qlvu1 {padding:10px;border:none;cursor:pointer;background-color:transparent;border-radius:50%;color:var(--rc-color-grey-text-dark);display:inline-flex;align-items:center;justify-content:center;width:fit-content;height:fit-content;}.rcb-close-button.svelte-8qlvu1:active {transition:outline 0.1s ease-in-out;outline:2px solid var(--rc-color-focus);}.rcb-close-button.svelte-8qlvu1:hover {color:var(--rc-color-grey-text-dark);}"};function s_(r,e){we(r,t1);var t=r1(),n=T(t);Vn(n,{name:"close"}),zr("click",t,function(a){Uu.call(this,e,a)}),P(r,t)}const n1=`<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12" fill="none">
378
378
  <g clip-path="url(#clip0_6333_13826)">
379
379
  <rect opacity="0.2" width="12" height="12" rx="2.25" fill="black"/>
380
380
  <path fill-rule="evenodd" clip-rule="evenodd" d="M8.53206 2.06972C9.28201 2.17252 9.88339 2.78615 9.96146 3.52824L10.2298 6.07852C10.2893 6.64453 9.87503 7.12287 9.30441 7.14692C8.73379 7.17097 8.22294 6.73163 8.16339 6.16562L8.08036 5.37641L6.00414 7.35193C5.6039 7.73275 4.94623 7.70146 4.53518 7.28205C4.12413 6.86263 4.11537 6.2139 4.51561 5.83307L6.59182 3.85756L5.79425 3.74823C5.22225 3.66982 4.79448 3.15142 4.83881 2.59036C4.88313 2.02929 5.38276 1.63802 5.95476 1.71643L8.53206 2.06972Z" fill="black"/>
@@ -385,25 +385,25 @@ but received
385
385
  </clipPath>
386
386
  </defs>
387
387
  </svg>
388
- `;var t1=W('<div style="color:var(--rc-color-accent);" class="rcb-ui-asset-icon svelte-w5b346"><!></div>');const n1={hash:"svelte-w5b346",code:"div.svelte-w5b346 {height:12px;width:12px;}"};function a1(r){ke(r,n1);var e=t1(),t=T(e);fn(t,()=>r1),P(r,e)}var o1=W('<span class="rcb-sandbox-text svelte-bwwvt4">SANDBOX</span>'),i1=W('<span class="rcb-sandbox-text svelte-bwwvt4">Share feedback</span>'),s1=W('<a class="rcb-ui-sandbox-banner-link svelte-bwwvt4" target="_blank"><!> <!></a>'),l1=W('<div><div class="rcb-sandbox-banner-spacer svelte-bwwvt4"></div> <div class="rcb-sandbox-banner-title-wrapper svelte-bwwvt4"><!></div> <div class="rcb-sandbox-banner-actions-wrapper svelte-bwwvt4" style="--arrow-fill-color: black"><!> <!></div></div>');const c1={hash:"svelte-bwwvt4",code:`.rcb-ui-sandbox-banner.svelte-bwwvt4 {position:static;background-color:var(--rc-color-warning);color:black;padding:var(--rc-spacing-gapMedium-mobile) 0;display:flex;justify-content:space-between;align-items:center;height:24px;}.rcb-sandbox-text.svelte-bwwvt4 {font-weight:bold;color:black;line-height:2;}.rcb-sandbox-banner-spacer.svelte-bwwvt4 {flex:1;}.rcb-sandbox-banner-title-wrapper.svelte-bwwvt4 {flex:0;text-align:center;}
388
+ `;var a1=V('<div style="color:var(--rc-color-accent);" class="rcb-ui-asset-icon svelte-w5b346"><!></div>');const o1={hash:"svelte-w5b346",code:"div.svelte-w5b346 {height:12px;width:12px;}"};function i1(r){we(r,o1);var e=a1(),t=T(e);fn(t,()=>n1),P(r,e)}var s1=V('<span class="rcb-sandbox-text svelte-bwwvt4">SANDBOX</span>'),l1=V('<span class="rcb-sandbox-text svelte-bwwvt4">Share feedback</span>'),c1=V('<a class="rcb-ui-sandbox-banner-link svelte-bwwvt4" target="_blank"><!> <!></a>'),u1=V('<div><div class="rcb-sandbox-banner-spacer svelte-bwwvt4"></div> <div class="rcb-sandbox-banner-title-wrapper svelte-bwwvt4"><!></div> <div class="rcb-sandbox-banner-actions-wrapper svelte-bwwvt4" style="--arrow-fill-color: black"><!> <!></div></div>');const d1={hash:"svelte-bwwvt4",code:`.rcb-ui-sandbox-banner.svelte-bwwvt4 {position:static;background-color:var(--rc-color-warning);color:black;padding:var(--rc-spacing-gapMedium-mobile) 0;display:flex;justify-content:space-between;align-items:center;height:24px;}.rcb-sandbox-text.svelte-bwwvt4 {font-weight:bold;color:black;line-height:2;}.rcb-sandbox-banner-spacer.svelte-bwwvt4 {flex:1;}.rcb-sandbox-banner-title-wrapper.svelte-bwwvt4 {flex:0;text-align:center;}
389
389
 
390
390
  @media (max-width: 768px) {.rcb-sandbox-banner-spacer.svelte-bwwvt4 {flex:0;}.rcb-sandbox-banner-title-wrapper.svelte-bwwvt4 {padding-left:var(--rc-spacing-gapXXLarge-mobile);}
391
- }.rcb-sandbox-banner-actions-wrapper.svelte-bwwvt4 {flex:1;display:flex;justify-content:flex-end;align-items:center;}.rcb-ui-sandbox-banner-link.svelte-bwwvt4 {display:flex;align-items:center;gap:var(--rc-spacing-gapSmall-mobile);line-height:12px;}`};function a_(r,e){fe(e,!1),ke(r,c1);let t=Q(e,"style",8,""),n=Q(e,"isInElement",8,!1),a=Q(e,"brandingInfo",8,null),i=cr(!0);function s(){ye.debugLog("closeBanner"),j(i,!1)}Dn();var l=xe(),c=ae(l);{var u=d=>{var p=l1();let _;var g=Y(T(p),2),f=T(g);qe(f,{size:"caption-default",children:(k,b)=>{var x=o1();P(k,x)},$$slots:{default:!0}});var v=Y(g,2),y=T(v);{var h=k=>{var b=s1(),x=T(b);a1(x);var I=Y(x,2);qe(I,{size:"caption-link",children:(S,q)=>{var E=i1();P(S,E)},$$slots:{default:!0}}),Z(()=>be(b,"href",(He(a()),Ue(()=>a().sandbox_configuration.checkout_feedback_form_url)))),P(k,b)};K(y,k=>{He(a()),Ue(()=>{var b;return(b=a())==null?void 0:b.sandbox_configuration})&&k(h)})}var w=Y(y,2);n_(w,{$$events:{click:s}}),Z(()=>{_=ur(p,1,"rcb-ui-sandbox-banner svelte-bwwvt4",null,_,{isInElement:n()}),De(p,t())}),Iu(2,p,()=>HP,()=>({y:-100,duration:300})),P(d,p)};K(c,d=>{o(i)&&d(u)})}P(r,l),me()}var u1=W('<div class="rcb-ui-main svelte-iuk1gs"><!></div>');const d1={hash:"svelte-iuk1gs",code:".rcb-ui-main.svelte-iuk1gs {flex:1;display:flex;background-color:var(--rc-color-background);}"};function p1(r,e){fe(e,!0),ke(r,d1);const t=m(()=>new Rn(e.brandingAppearance).formStyleVars);var n=u1(),a=T(n);t_(a,{location:"main-block",children:(i,s)=>{var l=xe(),c=ae(l);wr(c,()=>e.children??rr),P(i,l)}}),Z(()=>De(n,o(t))),P(r,n),me()}var _1=W("<!> <!>",1),g1=W("<!> <!>",1);function o_(r,e){fe(e,!0);const t=m(()=>{var n;return Hp((n=e.brandingInfo)==null?void 0:n.appearance)??""});{let n=m(()=>{var i;return(i=e.brandingInfo)==null?void 0:i.appearance}),a=m(()=>{var i;return(i=e.brandingInfo)==null?void 0:i.brand_font_config});e_(r,{get brandingAppearance(){return o(n)},get brandFontConfig(){return o(a)},get isInElement(){return e.isInElement},children:(i,s)=>{var l=g1(),c=ae(l);{var u=p=>{a_(p,{get style(){return o(t)},get isInElement(){return e.isInElement},get brandingInfo(){return e.brandingInfo}})};K(c,p=>{e.isSandbox&&p(u)})}var d=Y(c,2);RP(d,{get style(){return o(t)},children:(p,_)=>{var g=_1(),f=ae(g);{var v=h=>{{let w=m(()=>{var k;return(k=e.brandingInfo)==null?void 0:k.appearance});QP(h,{get brandingAppearance(){return o(w)},get headerContent(){return e.navbarHeaderContent},get bodyContent(){return e.navbarBodyContent}})}};K(f,h=>{(e.navbarHeaderContent||e.navbarBodyContent)&&h(v)})}var y=Y(f,2);{let h=m(()=>{var w;return(w=e.brandingInfo)==null?void 0:w.appearance});p1(y,{get brandingAppearance(){return o(h)},children:(w,k)=>{var b=xe(),x=ae(b);wr(x,()=>e.mainContent??rr),P(w,b)},$$slots:{default:!0}})}P(p,g)},$$slots:{default:!0}}),P(i,l)},$$slots:{default:!0}})}me()}var f1=W('<source type="image/webp"/>'),m1=W('<picture class="rcb-app-icon-picture-container svelte-15hivnw"><!> <img class="rcb-app-icon svelte-15hivnw" alt="App icon"/></picture>'),h1=W('<div class="rcb-app-icon loading svelte-15hivnw"></div>');const v1={hash:"svelte-15hivnw",code:".rcb-app-icon.svelte-15hivnw {width:32px;height:32px;border-radius:12px;box-shadow:0px 1px 10px 0px rgba(0, 0, 0, 0.1);}.rcb-app-icon-picture-container.svelte-15hivnw {height:32px;}.rcb-app-icon.loading.svelte-15hivnw {background-color:gray;}"};function y1(r,e){ke(r,v1);var t=xe(),n=ae(t);{var a=s=>{var l=m1(),c=T(l);{var u=p=>{var _=f1();Z(()=>be(_,"srcset",e.srcWebp)),P(p,_)};K(c,p=>{e.srcWebp&&p(u)})}var d=Y(c,2);Z(()=>be(d,"src",e.src)),P(s,l)},i=s=>{var l=h1();P(s,l)};K(n,s=>{e.src?s(a):s(i,!1)})}P(r,t)}const Qi=r=>!r||r.trim()===""?null:r,b1={icon:null,iconWebp:null,wordmark:null,wordmarkWebp:null,src:null,srcWebp:null,wordmarkSrc:null,wordmarkSrcWebp:null},k1=r=>{if(!r)return b1;const e=Qi(r.app_icon),t=Qi(r.app_icon_webp),n=Qi(r.app_wordmark),a=Qi(r.app_wordmark_webp);return{src:e?Ro(e):null,srcWebp:t?Ro(t):null,wordmarkSrc:n?Ro(n):null,wordmarkSrcWebp:a?Ro(a):null}};var w1=W('<button class="rcb-back-button svelte-7773d6" data-testid="close-button"><!></button>');const P1={hash:"svelte-7773d6",code:".rcb-back-button.svelte-7773d6 {padding:8px;border:none;cursor:pointer;background-color:transparent;border-radius:50%;color:var(--rc-color-grey-text-dark);display:inline-flex;align-items:center;justify-content:center;width:fit-content;height:fit-content;}"};function x1(r,e){ke(r,P1);let t=Q(e,"disabled",3,!1);var n=w1(),a=T(n);Un(a,{name:"back"}),Z(()=>n.disabled=t()),Nr("click",n,function(i){Bu.call(this,e,i)}),P(r,n)}var E1=W('<source type="image/webp" class="rcb-app-icon svelte-7clux6"/>'),S1=W('<picture class="rcb-app-icon svelte-7clux6"><!> <img class="rcb-app-icon svelte-7clux6" alt="App icon"/></picture>');const I1={hash:"svelte-7clux6",code:".rcb-app-icon.svelte-7clux6 {height:32px;}"};function C1(r,e){ke(r,I1);var t=S1(),n=T(t);{var a=s=>{var l=E1();Z(()=>be(l,"srcset",e.srcWebp)),P(s,l)};K(n,s=>{e.srcWebp&&s(a)})}var i=Y(n,2);Z(()=>be(i,"src",e.src)),P(r,t)}var T1=W('<div class="rcb-back-wrapper svelte-11a99mf"><!></div>'),D1=W('<div class="rcb-close-wrapper svelte-11a99mf"><!></div>'),A1=W('<div><!> <div class="rcb-header svelte-11a99mf"><div class="rcb-title svelte-11a99mf"><!> <!></div></div> <!></div>');const q1={hash:"svelte-11a99mf",code:`.rcb-header-wrapper.svelte-11a99mf {display:flex;position:relative;justify-content:space-between;align-items:center;}.rcb-header.svelte-11a99mf {display:flex;flex-direction:row;align-items:center;padding-top:var(--rc-spacing-gapSmall-mobile);padding-bottom:var(--rc-spacing-gapSmall-mobile);height:40px;justify-content:space-between;}.rcb-title.svelte-11a99mf {display:flex;align-items:center;position:relative;gap:var(--rc-spacing-gapMedium-mobile);}.rcb-close-wrapper.svelte-11a99mf,
391
+ }.rcb-sandbox-banner-actions-wrapper.svelte-bwwvt4 {flex:1;display:flex;justify-content:flex-end;align-items:center;}.rcb-ui-sandbox-banner-link.svelte-bwwvt4 {display:flex;align-items:center;gap:var(--rc-spacing-gapSmall-mobile);line-height:12px;}`};function l_(r,e){fe(e,!1),we(r,d1);let t=J(e,"style",8,""),n=J(e,"isInElement",8,!1),a=J(e,"brandingInfo",8,null),i=cr(!0);function s(){ye.debugLog("closeBanner"),j(i,!1)}An();var l=Se(),c=oe(l);{var u=d=>{var p=u1();let g;var _=H(T(p),2),f=T(_);qe(f,{size:"caption-default",children:(w,b)=>{var x=s1();P(w,x)},$$slots:{default:!0}});var v=H(_,2),y=T(v);{var h=w=>{var b=c1(),x=T(b);i1(x);var S=H(x,2);qe(S,{size:"caption-link",children:(I,z)=>{var E=l1();P(I,E)},$$slots:{default:!0}}),K(()=>be(b,"href",(We(a()),Re(()=>a().sandbox_configuration.checkout_feedback_form_url)))),P(w,b)};Y(y,w=>{We(a()),Re(()=>{var b;return(b=a())==null?void 0:b.sandbox_configuration})&&w(h)})}var k=H(y,2);s_(k,{$$events:{click:s}}),K(()=>{g=ur(p,1,"rcb-ui-sandbox-banner svelte-bwwvt4",null,g,{isInElement:n()}),De(p,t())}),Cu(2,p,()=>GP,()=>({y:-100,duration:300})),P(d,p)};Y(c,d=>{o(i)&&d(u)})}P(r,l),me()}var p1=V('<div class="rcb-ui-main svelte-iuk1gs"><!></div>');const _1={hash:"svelte-iuk1gs",code:".rcb-ui-main.svelte-iuk1gs {flex:1;display:flex;background-color:var(--rc-color-background);}"};function g1(r,e){fe(e,!0),we(r,_1);const t=m(()=>new Rn(e.brandingAppearance).formStyleVars);var n=p1(),a=T(n);i_(a,{location:"main-block",children:(i,s)=>{var l=Se(),c=oe(l);kr(c,()=>e.children??tr),P(i,l)}}),K(()=>De(n,o(t))),P(r,n),me()}var f1=V("<!> <!>",1),m1=V("<!> <!>",1);function c_(r,e){fe(e,!0);const t=m(()=>{var n;return Xp((n=e.brandingInfo)==null?void 0:n.appearance)??""});{let n=m(()=>{var i;return(i=e.brandingInfo)==null?void 0:i.appearance}),a=m(()=>{var i;return(i=e.brandingInfo)==null?void 0:i.brand_font_config});a_(r,{get brandingAppearance(){return o(n)},get brandFontConfig(){return o(a)},get isInElement(){return e.isInElement},children:(i,s)=>{var l=m1(),c=oe(l);{var u=p=>{l_(p,{get style(){return o(t)},get isInElement(){return e.isInElement},get brandingInfo(){return e.brandingInfo}})};Y(c,p=>{e.isSandbox&&p(u)})}var d=H(c,2);VP(d,{get style(){return o(t)},children:(p,g)=>{var _=f1(),f=oe(_);{var v=h=>{{let k=m(()=>{var w;return(w=e.brandingInfo)==null?void 0:w.appearance});e1(h,{get brandingAppearance(){return o(k)},get headerContent(){return e.navbarHeaderContent},get bodyContent(){return e.navbarBodyContent}})}};Y(f,h=>{(e.navbarHeaderContent||e.navbarBodyContent)&&h(v)})}var y=H(f,2);{let h=m(()=>{var k;return(k=e.brandingInfo)==null?void 0:k.appearance});g1(y,{get brandingAppearance(){return o(h)},children:(k,w)=>{var b=Se(),x=oe(b);kr(x,()=>e.mainContent??tr),P(k,b)},$$slots:{default:!0}})}P(p,_)},$$slots:{default:!0}}),P(i,l)},$$slots:{default:!0}})}me()}var h1=V('<source type="image/webp"/>'),v1=V('<picture class="rcb-app-icon-picture-container svelte-15hivnw"><!> <img class="rcb-app-icon svelte-15hivnw" alt="App icon"/></picture>'),y1=V('<div class="rcb-app-icon loading svelte-15hivnw"></div>');const b1={hash:"svelte-15hivnw",code:".rcb-app-icon.svelte-15hivnw {width:32px;height:32px;border-radius:12px;box-shadow:0px 1px 10px 0px rgba(0, 0, 0, 0.1);}.rcb-app-icon-picture-container.svelte-15hivnw {height:32px;}.rcb-app-icon.loading.svelte-15hivnw {background-color:gray;}"};function k1(r,e){we(r,b1);var t=Se(),n=oe(t);{var a=s=>{var l=v1(),c=T(l);{var u=p=>{var g=h1();K(()=>be(g,"srcset",e.srcWebp)),P(p,g)};Y(c,p=>{e.srcWebp&&p(u)})}var d=H(c,2);K(()=>be(d,"src",e.src)),P(s,l)},i=s=>{var l=y1();P(s,l)};Y(n,s=>{e.src?s(a):s(i,!1)})}P(r,t)}const Qi=r=>!r||r.trim()===""?null:r,w1={icon:null,iconWebp:null,wordmark:null,wordmarkWebp:null,src:null,srcWebp:null,wordmarkSrc:null,wordmarkSrcWebp:null},P1=r=>{if(!r)return w1;const e=Qi(r.app_icon),t=Qi(r.app_icon_webp),n=Qi(r.app_wordmark),a=Qi(r.app_wordmark_webp);return{src:e?Ro(e):null,srcWebp:t?Ro(t):null,wordmarkSrc:n?Ro(n):null,wordmarkSrcWebp:a?Ro(a):null}};var x1=V('<button class="rcb-back-button svelte-7773d6" data-testid="close-button"><!></button>');const E1={hash:"svelte-7773d6",code:".rcb-back-button.svelte-7773d6 {padding:8px;border:none;cursor:pointer;background-color:transparent;border-radius:50%;color:var(--rc-color-grey-text-dark);display:inline-flex;align-items:center;justify-content:center;width:fit-content;height:fit-content;}"};function S1(r,e){we(r,E1);let t=J(e,"disabled",3,!1);var n=x1(),a=T(n);Vn(a,{name:"back"}),K(()=>n.disabled=t()),zr("click",n,function(i){Uu.call(this,e,i)}),P(r,n)}var I1=V('<source type="image/webp" class="rcb-app-icon svelte-7clux6"/>'),C1=V('<picture class="rcb-app-icon svelte-7clux6"><!> <img class="rcb-app-icon svelte-7clux6" alt="App icon"/></picture>');const T1={hash:"svelte-7clux6",code:".rcb-app-icon.svelte-7clux6 {height:32px;}"};function D1(r,e){we(r,T1);var t=C1(),n=T(t);{var a=s=>{var l=I1();K(()=>be(l,"srcset",e.srcWebp)),P(s,l)};Y(n,s=>{e.srcWebp&&s(a)})}var i=H(n,2);K(()=>be(i,"src",e.src)),P(r,t)}var A1=V('<div class="rcb-back-wrapper svelte-11a99mf"><!></div>'),q1=V('<div class="rcb-close-wrapper svelte-11a99mf"><!></div>'),F1=V('<div><!> <div class="rcb-header svelte-11a99mf"><div class="rcb-title svelte-11a99mf"><!> <!></div></div> <!></div>');const M1={hash:"svelte-11a99mf",code:`.rcb-header-wrapper.svelte-11a99mf {display:flex;position:relative;justify-content:space-between;align-items:center;}.rcb-header.svelte-11a99mf {display:flex;flex-direction:row;align-items:center;padding-top:var(--rc-spacing-gapSmall-mobile);padding-bottom:var(--rc-spacing-gapSmall-mobile);height:40px;justify-content:space-between;}.rcb-title.svelte-11a99mf {display:flex;align-items:center;position:relative;gap:var(--rc-spacing-gapMedium-mobile);}.rcb-close-wrapper.svelte-11a99mf,
392
392
  .rcb-back-wrapper.svelte-11a99mf {padding:var(--rc-spacing-gapSmall-mobile);}
393
393
 
394
394
  @container layout-query-container (width < 768px) {.rcb-header.svelte-11a99mf {padding-top:var(--rc-spacing-gapMedium-mobile);}.rcb-close-wrapper.svelte-11a99mf {padding-top:var(--rc-spacing-gapMedium-mobile);}.rcb-header-wrapper.svelte-11a99mf {padding-top:var(--rc-spacing-gapSmall-mobile);padding-bottom:var(--rc-spacing-gapSmall-mobile);padding-left:var(--rc-spacing-outerPadding-mobile);padding-right:var(--rc-spacing-outerPadding-mobile);}.rcb-header-wrapper.rcb-with-close-button.svelte-11a99mf {padding-right:var(--rc-spacing-gapSmall-mobile);}.rcb-back-wrapper.svelte-11a99mf {display:none;}.rcb-header-wrapper.svelte-11a99mf {padding-left:var(--rc-spacing-outerPadding-mobile);padding-right:var(--rc-spacing-outerPadding-mobile);}
395
395
  }
396
396
 
397
397
  @container layout-query-container (width >= 768px) {.rcb-close-wrapper.svelte-11a99mf {display:none;}.rcb-back-wrapper.svelte-11a99mf {position:absolute;left:-48px;margin-left:0;}
398
- }`};function M1(r,e){fe(e,!0),ke(r,q1);const t=m(()=>k1(e.brandingInfo)),n=m(()=>o(t).wordmarkSrc),a=m(()=>o(t).wordmarkSrcWebp),i=m(()=>o(t).src),s=m(()=>o(t).srcWebp),l=()=>{e.onClose&&e.onClose()};var c=A1();let u;var d=T(c);{var p=x=>{var I=T1(),S=T(I);x1(S,{$$events:{click:l}}),P(x,I)};K(d,x=>{e.showCloseButton&&x(p)})}var _=Y(d,2),g=T(_),f=T(g);{var v=x=>{C1(x,{get src(){return o(n)},get srcWebp(){return o(a)}})},y=x=>{var I=xe(),S=ae(I);{var q=E=>{y1(E,{get src(){return o(i)},get srcWebp(){return o(s)}})};K(S,E=>{o(i)!==null&&o(s)!==null&&E(q)},!0)}P(x,I)};K(f,x=>{o(n)!==null?x(v):x(y,!1)})}var h=Y(f,2);{var w=x=>{qe(x,{size:"body-base",children:(I,S)=>{var q=je();Z(()=>{var E;return ve(q,(E=e.brandingInfo)==null?void 0:E.app_name)}),P(I,q)},$$slots:{default:!0}})};K(h,x=>{o(n)===null&&x(w)})}var k=Y(_,2);{var b=x=>{var I=D1(),S=T(I);n_(S,{$$events:{click:l}}),P(x,I)};K(k,x=>{e.showCloseButton&&x(b)})}Z(()=>u=ur(c,1,"rcb-header-wrapper svelte-11a99mf",null,u,{"rcb-with-close-button":e.showCloseButton})),P(r,c),me()}var F1=W("<!> <!> <!> <!>",1);function z1(r,e){fe(e,!0);const t=Q(e,"showDiscountCodeField",3,!1),n=Q(e,"draftDiscountCode",3,""),a=Q(e,"appliedDiscountCode",3,null),i=Q(e,"discountCodeError",3,null),s=Q(e,"isUpdatingDiscountCode",3,!1),l=Q(e,"isDiscountCodeControlsEnabled",3,!1),c=Q(e,"onDraftDiscountCodeChange",3,void 0),u=Q(e,"onApplyDiscountCode",3,void 0),d=Q(e,"onRemoveDiscountCode",3,void 0),p=Q(e,"onPaymentProcessingChange",3,void 0),_=Q(e,"onClose",3,void 0),g=Bo(e.productDetails,e.purchaseOptionToUse);let f=re(nr(e.defaultPriceBreakdown??{currency:g.currency,totalAmountInMicros:g.amountMicros,totalExcludingTaxInMicros:g.amountMicros,taxCalculationStatus:"unavailable",taxAmountInMicros:null,taxBreakdown:null}));mr(()=>{const y=Bo(e.productDetails,e.purchaseOptionToUse);j(f,e.defaultPriceBreakdown??{currency:y.currency,totalAmountInMicros:y.amountMicros,totalExcludingTaxInMicros:y.amountMicros,taxCalculationStatus:"unavailable",taxAmountInMicros:null,taxBreakdown:null},!0)});const v=y=>{j(f,y,!0)};o_(r,{get brandingInfo(){return e.brandingInfo},get isInElement(){return e.isInElement},get isSandbox(){return e.isSandbox},get onClose(){return _()},navbarHeaderContent:k=>{{let b=m(()=>!e.isInElement&&!!_());M1(k,{get brandingInfo(){return e.brandingInfo},get onClose(){return _()},get showCloseButton(){return o(b)}})}},navbarBodyContent:k=>{{let b=m(()=>{var x,I;return((I=(x=e.brandingInfo)==null?void 0:x.appearance)==null?void 0:I.show_product_description)??!1});jP(k,{get productDetails(){return e.productDetails},get purchaseOption(){return e.purchaseOptionToUse},get showProductDescription(){return o(b)},get showDiscountCodeField(){return t()},get discountCode(){return n()},get appliedDiscountCode(){return a()},get discountCodeError(){return i()},get isUpdatingDiscountCode(){return s()},get isDiscountCodeControlsEnabled(){return l()},get onDiscountCodeChange(){return c()},get onApplyDiscountCode(){return u()},get onRemoveDiscountCode(){return d()},get priceBreakdown(){return o(f)}})}},mainContent:k=>{var b=F1(),x=ae(b);{var I=F=>{Jw(F)};K(x,F=>{e.currentPage==="payment-entry-loading"&&F(I)})}var S=Y(x,2);{var q=F=>{xw(F,{get productDetails(){return e.productDetails},get purchaseOption(){return e.purchaseOptionToUse},get brandingInfo(){return e.brandingInfo},get purchaseOperationHelper(){return e.purchaseOperationHelper},get gatewayParams(){return e.gatewayParams},get managementUrl(){return e.managementUrl},get customerEmail(){return e.customerEmail},get forceEnableWalletMethods(){return e.forceEnableWalletMethods},get defaultPriceBreakdown(){return e.defaultPriceBreakdown},get termsAndConditionsUrl(){return e.termsAndConditionsUrl},get onContinue(){return e.onContinue},get onError(){return e.onError},onPriceBreakdownUpdated:v,get onProcessingStateChange(){return p()}})};K(S,F=>{e.currentPage==="payment-entry"&&F(q)})}var E=Y(S,2);{var D=F=>{{let z=m(()=>{var A;return((A=e.brandingInfo)==null?void 0:A.support_email)??null}),L=m(()=>{var A;return((A=e.brandingInfo)==null?void 0:A.app_name)??null});Zi(F,{get lastError(){return e.lastError},get productDetails(){return e.productDetails},get supportEmail(){return o(z)},get onDismiss(){return e.closeWithError},get appName(){return o(L)}})}};K(E,F=>{e.currentPage==="error"&&F(D)})}var C=Y(E,2);{var B=F=>{Ji(F,{get onContinue(){return e.onContinue}})};K(C,F=>{e.currentPage==="success"&&F(B)})}P(k,b)},$$slots:{navbarHeaderContent:!0,navbarBodyContent:!0,mainContent:!0}}),me()}function i_(r){return r.trim()===""?"You need to provide your email address to continue.":r.match(/^[^@]+@[^@]+\.[^@]+$/)?null:"Email is not valid. Please provide a valid email address."}function j1(r){if(r&&!r.match(/^[A-Z]{3}$/)){const e=`Currency code ${r} is not valid. Please provide a valid ISO 4217 currency code.`;throw ye.errorLog(e),new Qe(Ae.ConfigurationError,e)}}function N1(r,e){var de;fe(e,!0);const t=Q(e,"customTranslations",19,()=>({})),n=Q(e,"skipSuccessPage",3,!1),a=Q(e,"showDiscountCodeField",3,!1),i=Q(e,"discountCode",3,void 0),s=e.customerEmail?i_(e.customerEmail):null;let l=re(nr(s?void 0:e.customerEmail)),c=nr(e.rcPackage.webBillingProduct),u=nr(e.purchaseOption),d=re(null),p=re(nr(i()??"")),_=re(null),g=re(null),f=re(!1),v=re(!1),y=re("payment-entry-loading"),h=re(null),w=re(nr({})),k=re(void 0),b=re(null),x=re(null),I=re(null),S=re(null),q=new An(t(),e.selectedLocale,e.defaultLocale),E=Or(q);const D=Or(((de=e.brandingInfo)==null?void 0:de.appearance)??null);kr(vr,E),kr(Bn,D),Tr(()=>{e.isInElement||(j(x,document.documentElement.style.height,!0),j(I,document.documentElement.style.overflow,!0),j(S,document.body.style.height,!0),document.documentElement.style.height="100%",document.body.style.height="100%",document.documentElement.style.overflow="hidden")}),Wt(()=>{if(!e.isInElement){const G=(V,O,U)=>{U===""?V.style.removeProperty(O):V.style.setProperty(O,U)};G(document.documentElement,"height",o(x)),G(document.body,"height",o(S)),G(document.documentElement,"overflow",o(I))}}),kr(Fo,e.eventsTracker);let C=nr(typeof e.purchases._shouldForceEnableWalletMethods=="function"?e.purchases._shouldForceEnableWalletMethods():!1);const B=(G,V,O)=>{const U=G.identifier??null;return U===null?Promise.reject(new he(_e.ErrorSettingUpPurchase,"Product ID was not set before purchase.")):e.purchaseOperationHelper.checkoutStart({appUserId:e.appUserId,productId:U,purchaseOption:V,presentedOfferingContext:G.presentedOfferingContext,customerEmail:O,metadata:e.metadata,workflowPurchaseContext:e.workflowPurchaseContext,attributionMetadata:e.attributionMetadata,paywallId:e.paywallId,locale:e.selectedLocale}).then(te=>({result:te,emailToUse:O})).catch(te=>{if(te.errorCode!==_e.MissingEmailError)throw te;return e.purchaseOperationHelper.checkoutStart({appUserId:e.appUserId,productId:U,purchaseOption:V,presentedOfferingContext:G.presentedOfferingContext,customerEmail:void 0,metadata:e.metadata,workflowPurchaseContext:e.workflowPurchaseContext,attributionMetadata:e.attributionMetadata,paywallId:e.paywallId,locale:e.selectedLocale}).then(ue=>({result:ue,emailToUse:void 0}))})},F=G=>G?G===yn.invalid_tax_location?"pending":"disabled":"calculated",z=G=>G instanceof he&&[_e.StripeTaxNotActive,_e.StripeInvalidTaxOriginAddress,_e.StripeMissingRequiredPermission].includes(G.errorCode),L=G=>{var V,O;j(k,Hu(G,F(G.failed_reason)),!0),j(w,{...o(w),elements_configuration:G.gateway_params.elements_configuration},!0),j(_,((O=(V=G.applied_discounts)==null?void 0:V[0])==null?void 0:O.discount_code)??null,!0)};Tr(async()=>{try{const{result:G,emailToUse:V}=await B(c,u,o(l));if(j(d,null),j(l,V,!0),j(w,G.gateway_params,!0),j(b,G.management_url,!0),i())try{const O=await e.purchaseOperationHelper.checkoutRefreshPricing({discountCode:i()});L(O)}catch(O){if(z(O))throw O;if(a())j(g,O instanceof Error?O.message:"Failed to apply discount code.",!0);else throw O instanceof he?O:new he(_e.ErrorSettingUpPurchase,"Failed to apply discount code.")}j(y,"payment-entry")}catch(G){$(G instanceof he?G:new he(_e.UnknownError,G instanceof Error?G.message:String(G)))}});const A=G=>{j(p,G,!0),j(g,null)},M=G=>{j(v,G,!0)},N=async G=>{var O;const V=(G==null?void 0:G.trim())||null;if(G!==null&&V===null){j(g,"Enter a discount code.");return}j(f,!0),j(g,null);try{const U=await e.purchaseOperationHelper.checkoutRefreshPricing({discountCode:V});L(U),j(p,V??"",!0),j(d,null),(O=e.onDiscountCodeChanged)==null||O.call(e,V)}catch(U){if(z(U)){$(U);return}j(g,U instanceof Error?U.message:"Failed to apply discount code.",!0)}finally{j(f,!1)}},H=async()=>{await N(o(p))},X=async()=>{await N(null)},R=()=>{if(o(y)==="payment-entry"){e.purchaseOperationHelper.pollCurrentPurchaseForCompletion().then(G=>{j(h,G,!0),n()?e.onFinished(G):j(y,"success")}).catch(G=>{$(G)});return}if(o(y)==="success"||o(y)==="error"){e.onFinished(o(h));return}j(y,"success")},$=G=>{const V=Sp({errorCode:G.getErrorCode().toString(),errorMessage:G.message});e.eventsTracker.trackSDKEvent(V),j(d,G,!0),j(y,"error")},ce=()=>{e.onError(o(d)??new he(_e.UnknownError,"Unknown error without state set."))};{let G=m(()=>e.purchases.isSandbox()),V=m(()=>o(y)==="payment-entry"&&!o(v)),O=m(()=>o(l)??null);z1(r,{get isSandbox(){return o(G)},get currentPage(){return o(y)},get brandingInfo(){return e.brandingInfo},get productDetails(){return c},get purchaseOptionToUse(){return u},get lastError(){return o(d)},get gatewayParams(){return o(w)},get managementUrl(){return o(b)},get purchaseOperationHelper(){return e.purchaseOperationHelper},get isInElement(){return e.isInElement},get termsAndConditionsUrl(){return e.termsAndConditionsUrl},get showDiscountCodeField(){return a()},get draftDiscountCode(){return o(p)},get appliedDiscountCode(){return o(_)},get discountCodeError(){return o(g)},get isUpdatingDiscountCode(){return o(f)},get isDiscountCodeControlsEnabled(){return o(V)},get forceEnableWalletMethods(){return C},get customerEmail(){return o(O)},get defaultPriceBreakdown(){return o(k)},closeWithError:ce,onDraftDiscountCodeChange:A,onApplyDiscountCode:H,onRemoveDiscountCode:X,onPaymentProcessingChange:M,onContinue:R,onError:$,get onClose(){return e.onClose}})}me()}function s_(r,e,t,n,a,i,s){try{var l=r[i](s),c=l.value}catch(u){return void t(u)}l.done?e(c):Promise.resolve(c).then(n,a)}function O1(r){return function(){var e=this,t=arguments;return new Promise(function(n,a){var i=r.apply(e,t);function s(c){s_(i,n,a,s,l,"next",c)}function l(c){s_(i,n,a,s,l,"throw",c)}s(void 0)})}}function L1(r,e,t){return(e=U1(e))in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}function l_(r,e){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(r);e&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(r,a).enumerable})),t.push.apply(t,n)}return t}function Ql(r){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?l_(Object(t),!0).forEach(function(n){L1(r,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(t)):l_(Object(t)).forEach(function(n){Object.defineProperty(r,n,Object.getOwnPropertyDescriptor(t,n))})}return r}function c_(r,e){if(r==null)return{};var t,n,a=B1(r,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(r);for(n=0;n<i.length;n++)t=i[n],e.includes(t)||{}.propertyIsEnumerable.call(r,t)&&(a[t]=r[t])}return a}function B1(r,e){if(r==null)return{};var t={};for(var n in r)if({}.hasOwnProperty.call(r,n)){if(e.includes(n))continue;t[n]=r[n]}return t}function $l(){$l=function(){return e};var r,e={},t=Object.prototype,n=t.hasOwnProperty,a=Object.defineProperty||function(A,M,N){A[M]=N.value},i=typeof Symbol=="function"?Symbol:{},s=i.iterator||"@@iterator",l=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function u(A,M,N){return Object.defineProperty(A,M,{value:N,enumerable:!0,configurable:!0,writable:!0}),A[M]}try{u({},"")}catch{u=function(M,N,H){return M[N]=H}}function d(A,M,N,H){var X=M&&M.prototype instanceof h?M:h,R=Object.create(X.prototype),$=new z(H||[]);return a(R,"_invoke",{value:D(A,N,$)}),R}function p(A,M,N){try{return{type:"normal",arg:A.call(M,N)}}catch(H){return{type:"throw",arg:H}}}e.wrap=d;var _="suspendedStart",g="suspendedYield",f="executing",v="completed",y={};function h(){}function w(){}function k(){}var b={};u(b,s,function(){return this});var x=Object.getPrototypeOf,I=x&&x(x(L([])));I&&I!==t&&n.call(I,s)&&(b=I);var S=k.prototype=h.prototype=Object.create(b);function q(A){["next","throw","return"].forEach(function(M){u(A,M,function(N){return this._invoke(M,N)})})}function E(A,M){function N(X,R,$,ce){var de=p(A[X],A,R);if(de.type!=="throw"){var G=de.arg,V=G.value;return V&&typeof V=="object"&&n.call(V,"__await")?M.resolve(V.__await).then(function(O){N("next",O,$,ce)},function(O){N("throw",O,$,ce)}):M.resolve(V).then(function(O){G.value=O,$(G)},function(O){return N("throw",O,$,ce)})}ce(de.arg)}var H;a(this,"_invoke",{value:function(X,R){function $(){return new M(function(ce,de){N(X,R,ce,de)})}return H=H?H.then($,$):$()}})}function D(A,M,N){var H=_;return function(X,R){if(H===f)throw Error("Generator is already running");if(H===v){if(X==="throw")throw R;return{value:r,done:!0}}for(N.method=X,N.arg=R;;){var $=N.delegate;if($){var ce=C($,N);if(ce){if(ce===y)continue;return ce}}if(N.method==="next")N.sent=N._sent=N.arg;else if(N.method==="throw"){if(H===_)throw H=v,N.arg;N.dispatchException(N.arg)}else N.method==="return"&&N.abrupt("return",N.arg);H=f;var de=p(A,M,N);if(de.type==="normal"){if(H=N.done?v:g,de.arg===y)continue;return{value:de.arg,done:N.done}}de.type==="throw"&&(H=v,N.method="throw",N.arg=de.arg)}}}function C(A,M){var N=M.method,H=A.iterator[N];if(H===r)return M.delegate=null,N==="throw"&&A.iterator.return&&(M.method="return",M.arg=r,C(A,M),M.method==="throw")||N!=="return"&&(M.method="throw",M.arg=new TypeError("The iterator does not provide a '"+N+"' method")),y;var X=p(H,A.iterator,M.arg);if(X.type==="throw")return M.method="throw",M.arg=X.arg,M.delegate=null,y;var R=X.arg;return R?R.done?(M[A.resultName]=R.value,M.next=A.nextLoc,M.method!=="return"&&(M.method="next",M.arg=r),M.delegate=null,y):R:(M.method="throw",M.arg=new TypeError("iterator result is not an object"),M.delegate=null,y)}function B(A){var M={tryLoc:A[0]};1 in A&&(M.catchLoc=A[1]),2 in A&&(M.finallyLoc=A[2],M.afterLoc=A[3]),this.tryEntries.push(M)}function F(A){var M=A.completion||{};M.type="normal",delete M.arg,A.completion=M}function z(A){this.tryEntries=[{tryLoc:"root"}],A.forEach(B,this),this.reset(!0)}function L(A){if(A||A===""){var M=A[s];if(M)return M.call(A);if(typeof A.next=="function")return A;if(!isNaN(A.length)){var N=-1,H=function X(){for(;++N<A.length;)if(n.call(A,N))return X.value=A[N],X.done=!1,X;return X.value=r,X.done=!0,X};return H.next=H}}throw new TypeError(typeof A+" is not iterable")}return w.prototype=k,a(S,"constructor",{value:k,configurable:!0}),a(k,"constructor",{value:w,configurable:!0}),w.displayName=u(k,c,"GeneratorFunction"),e.isGeneratorFunction=function(A){var M=typeof A=="function"&&A.constructor;return!!M&&(M===w||(M.displayName||M.name)==="GeneratorFunction")},e.mark=function(A){return Object.setPrototypeOf?Object.setPrototypeOf(A,k):(A.__proto__=k,u(A,c,"GeneratorFunction")),A.prototype=Object.create(S),A},e.awrap=function(A){return{__await:A}},q(E.prototype),u(E.prototype,l,function(){return this}),e.AsyncIterator=E,e.async=function(A,M,N,H,X){X===void 0&&(X=Promise);var R=new E(d(A,M,N,H),X);return e.isGeneratorFunction(M)?R:R.next().then(function($){return $.done?$.value:R.next()})},q(S),u(S,c,"Generator"),u(S,s,function(){return this}),u(S,"toString",function(){return"[object Generator]"}),e.keys=function(A){var M=Object(A),N=[];for(var H in M)N.push(H);return N.reverse(),function X(){for(;N.length;){var R=N.pop();if(R in M)return X.value=R,X.done=!1,X}return X.done=!0,X}},e.values=L,z.prototype={constructor:z,reset:function(A){if(this.prev=0,this.next=0,this.sent=this._sent=r,this.done=!1,this.delegate=null,this.method="next",this.arg=r,this.tryEntries.forEach(F),!A)for(var M in this)M.charAt(0)==="t"&&n.call(this,M)&&!isNaN(+M.slice(1))&&(this[M]=r)},stop:function(){this.done=!0;var A=this.tryEntries[0].completion;if(A.type==="throw")throw A.arg;return this.rval},dispatchException:function(A){if(this.done)throw A;var M=this;function N(de,G){return R.type="throw",R.arg=A,M.next=de,G&&(M.method="next",M.arg=r),!!G}for(var H=this.tryEntries.length-1;H>=0;--H){var X=this.tryEntries[H],R=X.completion;if(X.tryLoc==="root")return N("end");if(X.tryLoc<=this.prev){var $=n.call(X,"catchLoc"),ce=n.call(X,"finallyLoc");if($&&ce){if(this.prev<X.catchLoc)return N(X.catchLoc,!0);if(this.prev<X.finallyLoc)return N(X.finallyLoc)}else if($){if(this.prev<X.catchLoc)return N(X.catchLoc,!0)}else{if(!ce)throw Error("try statement without catch or finally");if(this.prev<X.finallyLoc)return N(X.finallyLoc)}}}},abrupt:function(A,M){for(var N=this.tryEntries.length-1;N>=0;--N){var H=this.tryEntries[N];if(H.tryLoc<=this.prev&&n.call(H,"finallyLoc")&&this.prev<H.finallyLoc){var X=H;break}}X&&(A==="break"||A==="continue")&&X.tryLoc<=M&&M<=X.finallyLoc&&(X=null);var R=X?X.completion:{};return R.type=A,R.arg=M,X?(this.method="next",this.next=X.finallyLoc,y):this.complete(R)},complete:function(A,M){if(A.type==="throw")throw A.arg;return A.type==="break"||A.type==="continue"?this.next=A.arg:A.type==="return"?(this.rval=this.arg=A.arg,this.method="return",this.next="end"):A.type==="normal"&&M&&(this.next=M),y},finish:function(A){for(var M=this.tryEntries.length-1;M>=0;--M){var N=this.tryEntries[M];if(N.finallyLoc===A)return this.complete(N.completion,N.afterLoc),F(N),y}},catch:function(A){for(var M=this.tryEntries.length-1;M>=0;--M){var N=this.tryEntries[M];if(N.tryLoc===A){var H=N.completion;if(H.type==="throw"){var X=H.arg;F(N)}return X}}throw Error("illegal catch attempt")},delegateYield:function(A,M,N){return this.delegate={iterator:L(A),resultName:M,nextLoc:N},this.method==="next"&&(this.arg=r),y}},e}function R1(r,e){if(typeof r!="object"||!r)return r;var t=r[Symbol.toPrimitive];if(t!==void 0){var n=t.call(r,e);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(r)}function U1(r){var e=R1(r,"string");return typeof e=="symbol"?e:e+""}var Uo={CLASSIC:"classic",V1:"v1"},V1=Uo.V1,W1="https://cdn.paddle.com/paddle/paddle.js",H1="https://cdn.paddle.com/paddle/v2/paddle.js",Y1={url:W1},G1={url:H1};function K1(r){return document.querySelector('script[src="'.concat(r,'"]'))||void 0}function X1(r){var e=document.createElement("script");e.src=r;var t=document.head||document.body;if(!t)throw new Error("Cannot inject Paddle.js. It needs a <head> or <body> element.");return t.appendChild(e),e}var ec={classic:void 0,v1:void 0},Z1={classic:"PaddleClassic",v1:"PaddleBillingV1"};function J1(r){var e,t=(e=Q1(r))===null||e===void 0?void 0:e.url;if(t){var n=ec[r],a=Z1[r];return n!==void 0?n:(ec[r]=new Promise(function(i,s){if(typeof window>"u"){i(void 0);return}if(window[a]){i(window[a]);return}try{var l=K1(t);l||(l=X1(t)),l.addEventListener("load",function(){window[a]?i(window[a]):s(new Error("Paddle.js not available"))}),l.addEventListener("error",function(){s(new Error("Failed to load Paddle.js - ".concat(r)))})}catch(c){s(c);return}}),ec[r])}}function Q1(r){if(r===Uo.CLASSIC)return Y1;if(r===Uo.V1)return G1;console.error("[Paddle] Unknown Paddle Version")}var $1=["environment","version"],e0=["environment","version"];function r0(r,e){var t=r.environment;r.version;var n=c_(r,$1);try{t&&e.Environment.set(t),e.Initialized?e.Update(Ql({},n)):e.Initialize(Ql({},n))}catch(a){console.warn("[Paddle] Paddle Initialization failed. Please check the inputs",a)}}function t0(r,e){var t=r.environment;r.version;var n=c_(r,e0);try{t&&e.Environment.set(t),e.Setup(Ql({},n))}catch(a){console.warn("[Paddle] Paddle Initialization failed. Please check the inputs",a)}}var Ya;(function(r){r.CHECKOUT_LOADED="checkout.loaded",r.CHECKOUT_CLOSED="checkout.closed",r.CHECKOUT_UPDATED="checkout.updated",r.CHECKOUT_COMPLETED="checkout.completed",r.CHECKOUT_ERROR="checkout.error",r.CHECKOUT_FAILED="checkout.failed",r.CHECKOUT_ITEMS_UPDATED="checkout.items.updated",r.CHECKOUT_ITEMS_REMOVED="checkout.items.removed",r.CHECKOUT_CUSTOMER_CREATED="checkout.customer.created",r.CHECKOUT_CUSTOMER_UPDATED="checkout.customer.updated",r.CHECKOUT_CUSTOMER_REMOVED="checkout.customer.removed",r.CHECKOUT_PAYMENT_SELECTED="checkout.payment.selected",r.CHECKOUT_PAYMENT_INITIATED="checkout.payment.initiated",r.CHECKOUT_PAYMENT_FAILED="checkout.payment.failed",r.CHECKOUT_PAYMENT_ERROR="checkout.payment.error",r.CHECKOUT_DISCOUNT_APPLIED="checkout.discount.applied",r.CHECKOUT_DISCOUNT_REMOVED="checkout.discount.removed",r.CHECKOUT_UPSELL_CANCELED="checkout.upsell.canceled"})(Ya||(Ya={}));var u_;(function(r){r.DAY="day",r.WEEK="week",r.MONTH="month",r.YEAR="year"})(u_||(u_={}));var d_;(function(r){r.ALIPAY="alipay",r.APPLE_PAY="apple-pay",r.CARD="card",r.GOOGLE_PAY="google-pay",r.IDEAL="ideal",r.PAYPAL="paypal",r.WECHAT_PAY="wechat-pay",r.WIRE_TRANSFER="wire-transfer",r.NONE="none"})(d_||(d_={}));var p_;(function(r){r.AMERICAN_EXPRESS="american_express",r.DINERS_CLUB="diners_club",r.DISCOVER="discover",r.JCB="jcb",r.MADA="mada",r.MAESTRO="maestro",r.MASTER_CARD="mastercard",r.UNION_PAY="union_pay",r.VISA="visa",r.UNKNOWN="unknown"})(p_||(p_={}));var __;(function(r){r.DRAFT="draft",r.READY="ready",r.COMPLETED="completed",r.BILLED="billed",r.canceled="canceled",r.PAST_DUE="past_due"})(__||(__={}));function n0(r){return rc.apply(this,arguments)}function rc(){return rc=O1($l().mark(function r(e){var t,n;return $l().wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return t=(e==null?void 0:e.version)||V1,i.next=3,J1(t);case 3:if(n=i.sent,!n){i.next=9;break}return e&&(t===Uo.V1?r0(e,n):t===Uo.CLASSIC&&t0(e,n)),i.abrupt("return",n);case 9:return console.error("[Paddle] Error Loading Paddle"),i.abrupt("return");case 11:case"end":return i.stop()}},r)})),rc.apply(this,arguments)}const g_="paddle-checkout-container",a0=450,o0="width:100%; min-width:312px; background-color:transparent; border:none;";function i0({transactionId:r,locale:e,customerEmail:t,displayMode:n="overlay",theme:a="light"}){const i={theme:a,variant:"one-page",locale:e,allowLogout:!1,showAddDiscounts:!1,showAddTaxId:!1,allowDiscountRemoval:!1},s=n==="inline"?{...i,displayMode:"inline",frameTarget:g_,frameInitialHeight:a0,frameStyle:o0}:{...i,displayMode:"overlay"};return{transactionId:r,settings:s,...t&&{customer:{email:t}}}}class s0{constructor(e,t,n=10){ee(this,"paddleInstance");ee(this,"backend");ee(this,"eventsTracker");ee(this,"maxNumberAttempts");ee(this,"waitMSBetweenAttempts",1e3);this.backend=e,this.eventsTracker=t,this.maxNumberAttempts=n}async initializePaddle(e,t){var a;if((a=this.paddleInstance)!=null&&a.Initialized)return ye.debugLog("Paddle already initialized, returning existing instance"),this.paddleInstance;const n=t?"sandbox":"production";try{const i=await n0({token:e,version:"v1",environment:n});if(!i)throw new he(_e.UnknownError,"Paddle client not found");return this.paddleInstance=i,ye.debugLog(`Paddle initialized with environment: ${n}`),i}catch(i){throw i instanceof he?i:new he(_e.UnknownError,`Error initializing Paddle: ${i}`)}}getPaddleInstance(){var e;if(!((e=this.paddleInstance)!=null&&e.Initialized))throw new he(_e.UnknownError,"Paddle not initialized.");return this.paddleInstance}closeCheckout(){var e;(e=this.paddleInstance)!=null&&e.Initialized&&this.paddleInstance.Checkout.close()}async startCheckout({appUserId:e,productId:t,presentedOfferingContext:n,purchaseOption:a,customerEmail:i,metadata:s,locale:l,attributionMetadata:c}){try{const u=this.eventsTracker.getTraceId(),d=await this.backend.postCheckoutStart({appUserId:e,productId:t,purchaseOption:a,presentedOfferingContext:n,traceId:u,customerEmail:i??void 0,metadata:s,locale:l,attributionMetadata:c});return await this.initializePaddle(d.paddle_billing_params.client_side_token,d.paddle_billing_params.is_sandbox),d}catch(u){throw u instanceof Qe?he.fromPurchasesError(u,_e.ErrorSettingUpPurchase,u.errorCode===Ae.InvalidCredentialsError):new he(_e.UnknownError,`Error starting Paddle checkout: ${u}`)}}async purchase({operationSessionId:e,transactionId:t,onCheckoutLoaded:n,onClose:a,params:i,displayMode:s="overlay",theme:l="light",onCheckoutTotals:c,onCheckoutCompleted:u}){const d=this.getPaddleInstance(),{customerEmail:p,locale:_="en"}=i,g=f=>{var v,y,h;if(c&&(f!=null&&f.totals)){const w=(v=f.items)==null?void 0:v[0];c({currencyCode:f.currency_code,subtotalAmount:f.totals.subtotal,taxAmount:f.totals.tax,totalAmount:f.totals.total,recurringTotalAmount:((y=f.recurring_totals)==null?void 0:y.total)??null,productName:((h=w==null?void 0:w.product)==null?void 0:h.name)??null,priceName:(w==null?void 0:w.price_name)??null})}};return new Promise((f,v)=>{d.Update({eventCallback:async h=>{const w=h.name,k=h.data;try{if(w===Ya.CHECKOUT_LOADED)n(),g(k);else if(w===Ya.CHECKOUT_UPDATED)g(k);else if(w===Ya.CHECKOUT_COMPLETED){u==null||u(),d.Checkout.close();const b=await this.pollOperationStatus(e);f(b)}else w===Ya.CHECKOUT_CLOSED&&(k!=null&&k.status)&&a()}catch(b){d.Checkout.close(),b instanceof he?v(b):b instanceof Qe?v(he.fromPurchasesError(b,_e.UnknownError)):v(new he(_e.UnknownError,`Paddle event handler error: ${b}`))}}});const y=i0({transactionId:t,locale:_,customerEmail:p,displayMode:s,theme:l});try{d.Checkout.open(y)}catch(h){v(new he(_e.UnknownError,`Failed to open Paddle checkout: ${h}`))}})}async pollOperationStatus(e){if(!e)throw new he(_e.ErrorSettingUpPurchase,"No purchase in progress");return new Promise((t,n)=>{const a=(i=1)=>{if(i>this.maxNumberAttempts){n(new he(_e.UnknownError,"Max attempts reached trying to get successful purchase status"));return}this.backend.getCheckoutStatus(e).then(s=>{const l=s.operation.store_transaction_identifier,c=s.operation.product_identifier,u=s.operation.purchase_date?isNaN(Date.parse(s.operation.purchase_date))?null:new Date(s.operation.purchase_date):null;switch(s.operation.status){case vn.Started:case vn.InProgress:setTimeout(()=>a(i+1),this.waitMSBetweenAttempts);break;case vn.Succeeded:if(!l||!c||!u){n(new he(_e.UnknownError,"Missing required fields in operation response."));return}t({redemptionInfo:Wu(s),operationSessionId:e,storeTransactionIdentifier:l??"",productIdentifier:c,purchaseDate:u??new Date,attributionMetadata:s.attribution_metadata??void 0});return;case vn.Failed:Yu(s.operation.error,n)}}).catch(s=>{if(s instanceof Qe){const l=he.fromPurchasesError(s,_e.NetworkError);n(l)}else n(new he(_e.NetworkError,`Failed to get checkout status: ${s}`))})};a()})}}const $i=(r,e)=>r instanceof he?r:r instanceof Qe?he.fromPurchasesError(r,_e.UnknownError):new he(_e.UnknownError,e);var l0=W('<!> <div class="rcb-fullscreen-wrapper svelte-skuziz"><div class="rcb-fullscreen-content svelte-skuziz"><!></div></div>',1);const c0={hash:"svelte-skuziz",code:".rcb-fullscreen-wrapper.svelte-skuziz {width:100%;min-height:100%;display:flex;flex-direction:column;align-items:center;}.rcb-fullscreen-content.svelte-skuziz {flex:1;width:100%;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--rc-color-grey-text-dark);}"};function f_(r,e){fe(e,!0),ke(r,c0);const t=()=>pe(i,"$brandingAppearanceStore",n),[n,a]=Ye(),i=Xe(Bn),s=m(()=>{var u;return t()??((u=e.brandingInfo)==null?void 0:u.appearance)??null}),l=m(()=>new Rn(o(s)).pageStyleVars),c=m(()=>{var u;return((u=o(s))==null?void 0:u.color_page_bg)??"#ffffff"});{let u=m(()=>{var d;return(d=e.brandingInfo)==null?void 0:d.brand_font_config});e_(r,{get brandingAppearance(){return o(s)},get brandFontConfig(){return o(u)},get isInElement(){return e.isInElement},children:(d,p)=>{var _=l0(),g=ae(_);{var f=w=>{a_(w,{get style(){return o(l)},get isInElement(){return e.isInElement},get brandingInfo(){return e.brandingInfo}})};K(g,w=>{e.isSandbox&&w(f)})}var v=Y(g,2),y=T(v),h=T(y);wr(h,()=>e.mainContent??rr),Z(()=>De(v,`${o(l)??""}; background-color: ${o(c)??""}`)),P(d,_)},$$slots:{default:!0}})}me(),a()}var u0=W("<!> <!> <!>",1),d0=W('<div class="rcb-ui-loading-container svelte-1r889ax"><!></div>');const p0={hash:"svelte-1r889ax",code:".rcb-ui-loading-container.svelte-1r889ax {display:flex;flex-direction:column;align-items:center;}"};function _0(r,e){fe(e,!0),ke(r,p0);const t=()=>pe(i,"$translator",n),[n,a]=Ye(),i=Xe(vr);f_(r,{get brandingInfo(){return e.brandingInfo},get isInElement(){return e.isInElement},get isSandbox(){return e.isSandbox},mainContent:l=>{var c=xe(),u=ae(c);{var d=_=>{var g=d0(),f=T(g);Mo(f,{gap:"medium",align:"center",children:(v,y)=>{var h=u0(),w=ae(h);Ri(w,{color:"var(--rc-color-grey-text-dark)"});var k=Y(w,2);qe(k,{size:"heading-md",children:(x,I)=>{var S=je();Z(q=>ve(S,q),[()=>t().translate(ie.LoadingPageProcessingPayment)]),P(x,S)},$$slots:{default:!0}});var b=Y(k,2);qe(b,{size:"body-small",children:(x,I)=>{var S=je();Z(q=>ve(S,q),[()=>t().translate(ie.LoadingPageKeepPageOpen)]),P(x,S)},$$slots:{default:!0}}),P(v,h)},$$slots:{default:!0}}),P(_,g)},p=_=>{var g=xe(),f=ae(g);{var v=h=>{Ji(h,{get onContinue(){return e.onContinue},fullWidth:!0})},y=h=>{var w=xe(),k=ae(w);{var b=x=>{{let I=m(()=>{var q;return((q=e.brandingInfo)==null?void 0:q.support_email)??null}),S=m(()=>{var q;return((q=e.brandingInfo)==null?void 0:q.app_name)??null});Zi(x,{get lastError(){return e.lastError},get productDetails(){return e.productDetails},get supportEmail(){return o(I)},get onDismiss(){return e.closeWithError},get appName(){return o(S)},fullWidth:!0})}};K(k,x=>{e.currentPage==="error"&&x(b)},!0)}P(h,w)};K(f,h=>{e.currentPage==="success"?h(v):h(y,!1)},!0)}P(_,g)};K(u,_=>{e.currentPage==="loading"?_(d):_(p,!1)})}P(l,c)},$$slots:{mainContent:!0}}),me(),a()}var g0=W('<span class="rcb-paddle-summary-muted svelte-1k1pux8">inc. tax</span>'),f0=W('<span class="rcb-paddle-summary-muted rcb-paddle-summary-price-name svelte-1k1pux8"> </span>'),m0=W('<span class="rcb-paddle-summary-muted svelte-1k1pux8"> </span>'),h0=W('<div class="rcb-paddle-summary-row svelte-1k1pux8"><span class="rcb-paddle-summary-muted svelte-1k1pux8"> </span> <span> </span></div>'),v0=W('<div class="rcb-paddle-summary-row svelte-1k1pux8"><span class="rcb-paddle-summary-muted svelte-1k1pux8"> </span> <span> </span></div>'),y0=W('<div class="rcb-paddle-summary-card svelte-1k1pux8"><div class="rcb-paddle-summary-row svelte-1k1pux8"><span class="rcb-paddle-summary-muted svelte-1k1pux8"> </span> <span> </span></div> <!> <hr class="rcb-paddle-summary-divider svelte-1k1pux8"/> <div class="rcb-paddle-summary-row rcb-paddle-summary-row-strong svelte-1k1pux8"><span> </span> <span> </span></div> <!></div>'),b0=W('<div class="rcb-paddle-summary svelte-1k1pux8"><div class="rcb-paddle-summary-card svelte-1k1pux8"><div class="rcb-paddle-summary-amount-row svelte-1k1pux8"><span class="rcb-paddle-summary-amount svelte-1k1pux8"> </span> <!></div> <!> <div class="rcb-paddle-summary-product svelte-1k1pux8"><!> <!> <div class="rcb-paddle-summary-product-price svelte-1k1pux8"><span> </span> <!></div></div></div> <!></div>');const k0={hash:"svelte-1k1pux8",code:`.rcb-paddle-summary.svelte-1k1pux8 {display:flex;flex-direction:column;gap:var(--rc-spacing-gapLarge-mobile, 16px);width:100%;}.rcb-paddle-summary-card.svelte-1k1pux8 {background:var(--rcb-card-bg);border-radius:16px;padding:28px;display:flex;flex-direction:column;gap:var(--rc-spacing-gapMedium-mobile, 12px);}.rcb-paddle-summary-amount-row.svelte-1k1pux8 {display:flex;align-items:baseline;gap:8px;}.rcb-paddle-summary-amount.svelte-1k1pux8 {color:var(--rc-color-primary);font-weight:700;font-size:2rem;line-height:1.1;}.rcb-paddle-summary-product.svelte-1k1pux8 {display:flex;flex-direction:column;gap:2px;
398
+ }`};function z1(r,e){fe(e,!0),we(r,M1);const t=m(()=>P1(e.brandingInfo)),n=m(()=>o(t).wordmarkSrc),a=m(()=>o(t).wordmarkSrcWebp),i=m(()=>o(t).src),s=m(()=>o(t).srcWebp),l=()=>{e.onClose&&e.onClose()};var c=F1();let u;var d=T(c);{var p=x=>{var S=A1(),I=T(S);S1(I,{$$events:{click:l}}),P(x,S)};Y(d,x=>{e.showCloseButton&&x(p)})}var g=H(d,2),_=T(g),f=T(_);{var v=x=>{D1(x,{get src(){return o(n)},get srcWebp(){return o(a)}})},y=x=>{var S=Se(),I=oe(S);{var z=E=>{k1(E,{get src(){return o(i)},get srcWebp(){return o(s)}})};Y(I,E=>{o(i)!==null&&o(s)!==null&&E(z)},!0)}P(x,S)};Y(f,x=>{o(n)!==null?x(v):x(y,!1)})}var h=H(f,2);{var k=x=>{qe(x,{size:"body-base",children:(S,I)=>{var z=je();K(()=>{var E;return ve(z,(E=e.brandingInfo)==null?void 0:E.app_name)}),P(S,z)},$$slots:{default:!0}})};Y(h,x=>{o(n)===null&&x(k)})}var w=H(g,2);{var b=x=>{var S=q1(),I=T(S);s_(I,{$$events:{click:l}}),P(x,S)};Y(w,x=>{e.showCloseButton&&x(b)})}K(()=>u=ur(c,1,"rcb-header-wrapper svelte-11a99mf",null,u,{"rcb-with-close-button":e.showCloseButton})),P(r,c),me()}var j1=V("<!> <!> <!> <!>",1);function N1(r,e){fe(e,!0);let t=J(e,"showDiscountCodeField",3,!1),n=J(e,"draftDiscountCode",3,""),a=J(e,"appliedDiscountCode",3,null),i=J(e,"discountCodeError",3,null),s=J(e,"isUpdatingDiscountCode",3,!1),l=J(e,"isDiscountCodeControlsEnabled",3,!1),c=J(e,"onDraftDiscountCodeChange",3,void 0),u=J(e,"onApplyDiscountCode",3,void 0),d=J(e,"onRemoveDiscountCode",3,void 0),p=J(e,"onPaymentProcessingChange",3,void 0),g=J(e,"onSessionPricingUpdated",3,void 0),_=J(e,"onClose",3,void 0);const f=Uo(e.productDetails,e.purchaseOptionToUse);let v=re(or(e.defaultPriceBreakdown??{currency:f.currency,totalAmountInMicros:f.amountMicros,totalExcludingTaxInMicros:f.amountMicros,taxCalculationStatus:"unavailable",taxAmountInMicros:null,taxBreakdown:null}));gr(()=>{const h=Uo(e.productDetails,e.purchaseOptionToUse);j(v,e.defaultPriceBreakdown??{currency:h.currency,totalAmountInMicros:h.amountMicros,totalExcludingTaxInMicros:h.amountMicros,taxCalculationStatus:"unavailable",taxAmountInMicros:null,taxBreakdown:null},!0)});const y=h=>{j(v,h,!0)};c_(r,{get brandingInfo(){return e.brandingInfo},get isInElement(){return e.isInElement},get isSandbox(){return e.isSandbox},get onClose(){return _()},navbarHeaderContent:b=>{{let x=m(()=>!e.isInElement&&!!_());z1(b,{get brandingInfo(){return e.brandingInfo},get onClose(){return _()},get showCloseButton(){return o(x)}})}},navbarBodyContent:b=>{{let x=m(()=>{var S,I;return((I=(S=e.brandingInfo)==null?void 0:S.appearance)==null?void 0:I.show_product_description)??!1});OP(b,{get productDetails(){return e.productDetails},get purchaseOption(){return e.purchaseOptionToUse},get showProductDescription(){return o(x)},get showDiscountCodeField(){return t()},get discountCode(){return n()},get appliedDiscountCode(){return a()},get discountCodeError(){return i()},get isUpdatingDiscountCode(){return s()},get isDiscountCodeControlsEnabled(){return l()},get onDiscountCodeChange(){return c()},get onApplyDiscountCode(){return u()},get onRemoveDiscountCode(){return d()},get priceBreakdown(){return o(v)}})}},mainContent:b=>{var x=j1(),S=oe(x);{var I=q=>{$w(q)};Y(S,q=>{e.currentPage==="payment-entry-loading"&&q(I)})}var z=H(S,2);{var E=q=>{Sw(q,{get productDetails(){return e.productDetails},get purchaseOption(){return e.purchaseOptionToUse},get brandingInfo(){return e.brandingInfo},get purchaseOperationHelper(){return e.purchaseOperationHelper},get gatewayParams(){return e.gatewayParams},get managementUrl(){return e.managementUrl},get customerEmail(){return e.customerEmail},get forceEnableWalletMethods(){return e.forceEnableWalletMethods},get defaultPriceBreakdown(){return e.defaultPriceBreakdown},get termsAndConditionsUrl(){return e.termsAndConditionsUrl},get onContinue(){return e.onContinue},get onError(){return e.onError},onPriceBreakdownUpdated:y,get onSessionPricingUpdated(){return g()},get onProcessingStateChange(){return p()}})};Y(z,q=>{e.currentPage==="payment-entry"&&q(E)})}var M=H(z,2);{var C=q=>{{let L=m(()=>{var A;return((A=e.brandingInfo)==null?void 0:A.support_email)??null}),F=m(()=>{var A;return((A=e.brandingInfo)==null?void 0:A.app_name)??null});Zi(q,{get lastError(){return e.lastError},get productDetails(){return e.productDetails},get supportEmail(){return o(L)},get onDismiss(){return e.closeWithError},get appName(){return o(F)}})}};Y(M,q=>{e.currentPage==="error"&&q(C)})}var B=H(M,2);{var O=q=>{Ji(q,{get onContinue(){return e.onContinue}})};Y(B,q=>{e.currentPage==="success"&&q(O)})}P(b,x)},$$slots:{navbarHeaderContent:!0,navbarBodyContent:!0,mainContent:!0}}),me()}function u_(r){return r.trim()===""?"You need to provide your email address to continue.":r.match(/^[^@]+@[^@]+\.[^@]+$/)?null:"Email is not valid. Please provide a valid email address."}function O1(r){if(r&&!r.match(/^[A-Z]{3}$/)){const e=`Currency code ${r} is not valid. Please provide a valid ISO 4217 currency code.`;throw ye.errorLog(e),new $e(Ae.ConfigurationError,e)}}function L1(r,e,t){const n=t==null?void 0:t.selected_purchase_option;return n?Pm(r.productType,n)??e:e}function B1(r,e){var X;fe(e,!0);const t=J(e,"customTranslations",19,()=>({})),n=J(e,"skipSuccessPage",3,!1),a=J(e,"showDiscountCodeField",3,!1),i=J(e,"discountCode",3,void 0),s=e.customerEmail?u_(e.customerEmail):null;let l=re(or(s?void 0:e.customerEmail)),c=or(e.rcPackage.webBillingProduct),u=re(null),d=m(()=>L1(c,e.purchaseOption,o(u))),p=re(null),g=re(or(i()??"")),_=re(null),f=re(!1),v=re(!1),y=re("payment-entry-loading"),h=re(null),k=re(or({})),w=re(null),b=re(void 0),x=m(()=>{var D,U,ee;return((ee=(U=(D=o(u))==null?void 0:D.applied_discounts)==null?void 0:U[0])==null?void 0:ee.discount_code)??null}),S=m(()=>{var D,U;return{...o(k),...(U=(D=o(u))==null?void 0:D.gateway_params)!=null&&U.elements_configuration?{elements_configuration:o(u).gateway_params.elements_configuration}:{}}}),I=re(null),z=re(null),E=re(null),M=new qn(t(),e.selectedLocale,e.defaultLocale),C=jr(M);const B=jr(((X=e.brandingInfo)==null?void 0:X.appearance)??null);br(vr,C),br(Un,B),Cr(()=>{e.isInElement||(j(I,document.documentElement.style.height,!0),j(z,document.documentElement.style.overflow,!0),j(E,document.body.style.height,!0),document.documentElement.style.height="100%",document.body.style.height="100%",document.documentElement.style.overflow="hidden")}),Wt(()=>{if(!e.isInElement){const D=(U,ee,ie)=>{ie===""?U.style.removeProperty(ee):U.style.setProperty(ee,ie)};D(document.documentElement,"height",o(I)),D(document.body,"height",o(E)),D(document.documentElement,"overflow",o(z))}}),br(zo,e.eventsTracker);let O=or(typeof e.purchases._shouldForceEnableWalletMethods=="function"?e.purchases._shouldForceEnableWalletMethods():!1);const q=(D,U,ee)=>{const ie=D.identifier??null;return ie===null?Promise.reject(new he(_e.ErrorSettingUpPurchase,"Product ID was not set before purchase.")):e.purchaseOperationHelper.checkoutStart({appUserId:e.appUserId,productId:ie,purchaseOption:U,presentedOfferingContext:D.presentedOfferingContext,customerEmail:ee,metadata:e.metadata,workflowPurchaseContext:e.workflowPurchaseContext,attributionMetadata:e.attributionMetadata,paywallId:e.paywallId,paywallSessionId:e.paywallSessionId,locale:e.selectedLocale}).then(Pe=>({result:Pe,emailToUse:ee})).catch(Pe=>{if(Pe.errorCode!==_e.MissingEmailError)throw Pe;return e.purchaseOperationHelper.checkoutStart({appUserId:e.appUserId,productId:ie,purchaseOption:U,presentedOfferingContext:D.presentedOfferingContext,customerEmail:void 0,metadata:e.metadata,workflowPurchaseContext:e.workflowPurchaseContext,attributionMetadata:e.attributionMetadata,paywallId:e.paywallId,paywallSessionId:e.paywallSessionId,locale:e.selectedLocale}).then(ke=>({result:ke,emailToUse:void 0}))})},L=D=>D?D===yn.invalid_tax_location?"pending":"disabled":"calculated",F=D=>D instanceof he&&[_e.StripeTaxNotActive,_e.StripeInvalidTaxOriginAddress,_e.StripeMissingRequiredPermission].includes(D.errorCode),A=(D,U)=>{j(u,D,!0),j(b,U??Yu(D,L(D.failed_reason)),!0)};Cr(async()=>{try{const{result:D,emailToUse:U}=await q(c,o(d),o(l));if(j(p,null),j(l,U,!0),j(k,D.gateway_params,!0),j(w,D.management_url,!0),i())try{const ee=await e.purchaseOperationHelper.checkoutRefreshPricing({discountCode:i()});A(ee)}catch(ee){if(F(ee))throw ee;if(a())j(_,ee instanceof Error?ee.message:"Failed to apply discount code.",!0);else throw ee instanceof he?ee:new he(_e.ErrorSettingUpPurchase,"Failed to apply discount code.")}j(y,"payment-entry")}catch(D){de(D instanceof he?D:new he(_e.UnknownError,D instanceof Error?D.message:String(D)))}});const N=D=>{j(g,D,!0),j(_,null)},W=D=>{j(v,D,!0)},G=async D=>{var ee;const U=(D==null?void 0:D.trim())||null;if(D!==null&&U===null){j(_,"Enter a discount code.");return}j(f,!0),j(_,null);try{const ie=await e.purchaseOperationHelper.checkoutRefreshPricing({discountCode:U});A(ie),j(g,U??"",!0),j(p,null),(ee=e.onDiscountCodeChanged)==null||ee.call(e,U)}catch(ie){if(F(ie)){de(ie);return}j(_,ie instanceof Error?ie.message:"Failed to apply discount code.",!0)}finally{j(f,!1)}},R=async()=>{await G(o(g))},$=async()=>{await G(null)},ue=()=>{if(o(y)==="payment-entry"){e.purchaseOperationHelper.pollCurrentPurchaseForCompletion().then(D=>{j(h,D,!0),n()?e.onFinished(D):j(y,"success")}).catch(D=>{de(D)});return}if(o(y)==="success"||o(y)==="error"){e.onFinished(o(h));return}j(y,"success")},de=D=>{const U=Tp({errorCode:D.getErrorCode().toString(),errorMessage:D.message});e.eventsTracker.trackSDKEvent(U),j(p,D,!0),j(y,"error")},te=()=>{e.onError(o(p)??new he(_e.UnknownError,"Unknown error without state set."))};{let D=m(()=>e.purchases.isSandbox()),U=m(()=>o(y)==="payment-entry"&&!o(v)),ee=m(()=>o(l)??null);N1(r,{get isSandbox(){return o(D)},get currentPage(){return o(y)},get brandingInfo(){return e.brandingInfo},get productDetails(){return c},get purchaseOptionToUse(){return o(d)},get lastError(){return o(p)},get gatewayParams(){return o(S)},get managementUrl(){return o(w)},get purchaseOperationHelper(){return e.purchaseOperationHelper},get isInElement(){return e.isInElement},get termsAndConditionsUrl(){return e.termsAndConditionsUrl},get showDiscountCodeField(){return a()},get draftDiscountCode(){return o(g)},get appliedDiscountCode(){return o(x)},get discountCodeError(){return o(_)},get isUpdatingDiscountCode(){return o(f)},get isDiscountCodeControlsEnabled(){return o(U)},get forceEnableWalletMethods(){return O},get customerEmail(){return o(ee)},get defaultPriceBreakdown(){return o(b)},closeWithError:te,onDraftDiscountCodeChange:N,onApplyDiscountCode:R,onRemoveDiscountCode:$,onPaymentProcessingChange:W,onSessionPricingUpdated:A,onContinue:ue,onError:de,get onClose(){return e.onClose}})}me()}function d_(r,e,t,n,a,i,s){try{var l=r[i](s),c=l.value}catch(u){return void t(u)}l.done?e(c):Promise.resolve(c).then(n,a)}function U1(r){return function(){var e=this,t=arguments;return new Promise(function(n,a){var i=r.apply(e,t);function s(c){d_(i,n,a,s,l,"next",c)}function l(c){d_(i,n,a,s,l,"throw",c)}s(void 0)})}}function R1(r,e,t){return(e=H1(e))in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}function p_(r,e){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(r);e&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(r,a).enumerable})),t.push.apply(t,n)}return t}function Ql(r){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?p_(Object(t),!0).forEach(function(n){R1(r,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(t)):p_(Object(t)).forEach(function(n){Object.defineProperty(r,n,Object.getOwnPropertyDescriptor(t,n))})}return r}function __(r,e){if(r==null)return{};var t,n,a=V1(r,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(r);for(n=0;n<i.length;n++)t=i[n],e.includes(t)||{}.propertyIsEnumerable.call(r,t)&&(a[t]=r[t])}return a}function V1(r,e){if(r==null)return{};var t={};for(var n in r)if({}.hasOwnProperty.call(r,n)){if(e.includes(n))continue;t[n]=r[n]}return t}function $l(){$l=function(){return e};var r,e={},t=Object.prototype,n=t.hasOwnProperty,a=Object.defineProperty||function(F,A,N){F[A]=N.value},i=typeof Symbol=="function"?Symbol:{},s=i.iterator||"@@iterator",l=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function u(F,A,N){return Object.defineProperty(F,A,{value:N,enumerable:!0,configurable:!0,writable:!0}),F[A]}try{u({},"")}catch{u=function(A,N,W){return A[N]=W}}function d(F,A,N,W){var G=A&&A.prototype instanceof h?A:h,R=Object.create(G.prototype),$=new q(W||[]);return a(R,"_invoke",{value:M(F,N,$)}),R}function p(F,A,N){try{return{type:"normal",arg:F.call(A,N)}}catch(W){return{type:"throw",arg:W}}}e.wrap=d;var g="suspendedStart",_="suspendedYield",f="executing",v="completed",y={};function h(){}function k(){}function w(){}var b={};u(b,s,function(){return this});var x=Object.getPrototypeOf,S=x&&x(x(L([])));S&&S!==t&&n.call(S,s)&&(b=S);var I=w.prototype=h.prototype=Object.create(b);function z(F){["next","throw","return"].forEach(function(A){u(F,A,function(N){return this._invoke(A,N)})})}function E(F,A){function N(G,R,$,ue){var de=p(F[G],F,R);if(de.type!=="throw"){var te=de.arg,X=te.value;return X&&typeof X=="object"&&n.call(X,"__await")?A.resolve(X.__await).then(function(D){N("next",D,$,ue)},function(D){N("throw",D,$,ue)}):A.resolve(X).then(function(D){te.value=D,$(te)},function(D){return N("throw",D,$,ue)})}ue(de.arg)}var W;a(this,"_invoke",{value:function(G,R){function $(){return new A(function(ue,de){N(G,R,ue,de)})}return W=W?W.then($,$):$()}})}function M(F,A,N){var W=g;return function(G,R){if(W===f)throw Error("Generator is already running");if(W===v){if(G==="throw")throw R;return{value:r,done:!0}}for(N.method=G,N.arg=R;;){var $=N.delegate;if($){var ue=C($,N);if(ue){if(ue===y)continue;return ue}}if(N.method==="next")N.sent=N._sent=N.arg;else if(N.method==="throw"){if(W===g)throw W=v,N.arg;N.dispatchException(N.arg)}else N.method==="return"&&N.abrupt("return",N.arg);W=f;var de=p(F,A,N);if(de.type==="normal"){if(W=N.done?v:_,de.arg===y)continue;return{value:de.arg,done:N.done}}de.type==="throw"&&(W=v,N.method="throw",N.arg=de.arg)}}}function C(F,A){var N=A.method,W=F.iterator[N];if(W===r)return A.delegate=null,N==="throw"&&F.iterator.return&&(A.method="return",A.arg=r,C(F,A),A.method==="throw")||N!=="return"&&(A.method="throw",A.arg=new TypeError("The iterator does not provide a '"+N+"' method")),y;var G=p(W,F.iterator,A.arg);if(G.type==="throw")return A.method="throw",A.arg=G.arg,A.delegate=null,y;var R=G.arg;return R?R.done?(A[F.resultName]=R.value,A.next=F.nextLoc,A.method!=="return"&&(A.method="next",A.arg=r),A.delegate=null,y):R:(A.method="throw",A.arg=new TypeError("iterator result is not an object"),A.delegate=null,y)}function B(F){var A={tryLoc:F[0]};1 in F&&(A.catchLoc=F[1]),2 in F&&(A.finallyLoc=F[2],A.afterLoc=F[3]),this.tryEntries.push(A)}function O(F){var A=F.completion||{};A.type="normal",delete A.arg,F.completion=A}function q(F){this.tryEntries=[{tryLoc:"root"}],F.forEach(B,this),this.reset(!0)}function L(F){if(F||F===""){var A=F[s];if(A)return A.call(F);if(typeof F.next=="function")return F;if(!isNaN(F.length)){var N=-1,W=function G(){for(;++N<F.length;)if(n.call(F,N))return G.value=F[N],G.done=!1,G;return G.value=r,G.done=!0,G};return W.next=W}}throw new TypeError(typeof F+" is not iterable")}return k.prototype=w,a(I,"constructor",{value:w,configurable:!0}),a(w,"constructor",{value:k,configurable:!0}),k.displayName=u(w,c,"GeneratorFunction"),e.isGeneratorFunction=function(F){var A=typeof F=="function"&&F.constructor;return!!A&&(A===k||(A.displayName||A.name)==="GeneratorFunction")},e.mark=function(F){return Object.setPrototypeOf?Object.setPrototypeOf(F,w):(F.__proto__=w,u(F,c,"GeneratorFunction")),F.prototype=Object.create(I),F},e.awrap=function(F){return{__await:F}},z(E.prototype),u(E.prototype,l,function(){return this}),e.AsyncIterator=E,e.async=function(F,A,N,W,G){G===void 0&&(G=Promise);var R=new E(d(F,A,N,W),G);return e.isGeneratorFunction(A)?R:R.next().then(function($){return $.done?$.value:R.next()})},z(I),u(I,c,"Generator"),u(I,s,function(){return this}),u(I,"toString",function(){return"[object Generator]"}),e.keys=function(F){var A=Object(F),N=[];for(var W in A)N.push(W);return N.reverse(),function G(){for(;N.length;){var R=N.pop();if(R in A)return G.value=R,G.done=!1,G}return G.done=!0,G}},e.values=L,q.prototype={constructor:q,reset:function(F){if(this.prev=0,this.next=0,this.sent=this._sent=r,this.done=!1,this.delegate=null,this.method="next",this.arg=r,this.tryEntries.forEach(O),!F)for(var A in this)A.charAt(0)==="t"&&n.call(this,A)&&!isNaN(+A.slice(1))&&(this[A]=r)},stop:function(){this.done=!0;var F=this.tryEntries[0].completion;if(F.type==="throw")throw F.arg;return this.rval},dispatchException:function(F){if(this.done)throw F;var A=this;function N(de,te){return R.type="throw",R.arg=F,A.next=de,te&&(A.method="next",A.arg=r),!!te}for(var W=this.tryEntries.length-1;W>=0;--W){var G=this.tryEntries[W],R=G.completion;if(G.tryLoc==="root")return N("end");if(G.tryLoc<=this.prev){var $=n.call(G,"catchLoc"),ue=n.call(G,"finallyLoc");if($&&ue){if(this.prev<G.catchLoc)return N(G.catchLoc,!0);if(this.prev<G.finallyLoc)return N(G.finallyLoc)}else if($){if(this.prev<G.catchLoc)return N(G.catchLoc,!0)}else{if(!ue)throw Error("try statement without catch or finally");if(this.prev<G.finallyLoc)return N(G.finallyLoc)}}}},abrupt:function(F,A){for(var N=this.tryEntries.length-1;N>=0;--N){var W=this.tryEntries[N];if(W.tryLoc<=this.prev&&n.call(W,"finallyLoc")&&this.prev<W.finallyLoc){var G=W;break}}G&&(F==="break"||F==="continue")&&G.tryLoc<=A&&A<=G.finallyLoc&&(G=null);var R=G?G.completion:{};return R.type=F,R.arg=A,G?(this.method="next",this.next=G.finallyLoc,y):this.complete(R)},complete:function(F,A){if(F.type==="throw")throw F.arg;return F.type==="break"||F.type==="continue"?this.next=F.arg:F.type==="return"?(this.rval=this.arg=F.arg,this.method="return",this.next="end"):F.type==="normal"&&A&&(this.next=A),y},finish:function(F){for(var A=this.tryEntries.length-1;A>=0;--A){var N=this.tryEntries[A];if(N.finallyLoc===F)return this.complete(N.completion,N.afterLoc),O(N),y}},catch:function(F){for(var A=this.tryEntries.length-1;A>=0;--A){var N=this.tryEntries[A];if(N.tryLoc===F){var W=N.completion;if(W.type==="throw"){var G=W.arg;O(N)}return G}}throw Error("illegal catch attempt")},delegateYield:function(F,A,N){return this.delegate={iterator:L(F),resultName:A,nextLoc:N},this.method==="next"&&(this.arg=r),y}},e}function W1(r,e){if(typeof r!="object"||!r)return r;var t=r[Symbol.toPrimitive];if(t!==void 0){var n=t.call(r,e);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(r)}function H1(r){var e=W1(r,"string");return typeof e=="symbol"?e:e+""}var Vo={CLASSIC:"classic",V1:"v1"},Y1=Vo.V1,G1="https://cdn.paddle.com/paddle/paddle.js",K1="https://cdn.paddle.com/paddle/v2/paddle.js",X1={url:G1},Z1={url:K1};function J1(r){return document.querySelector('script[src="'.concat(r,'"]'))||void 0}function Q1(r){var e=document.createElement("script");e.src=r;var t=document.head||document.body;if(!t)throw new Error("Cannot inject Paddle.js. It needs a <head> or <body> element.");return t.appendChild(e),e}var ec={classic:void 0,v1:void 0},$1={classic:"PaddleClassic",v1:"PaddleBillingV1"};function e0(r){var e,t=(e=r0(r))===null||e===void 0?void 0:e.url;if(t){var n=ec[r],a=$1[r];return n!==void 0?n:(ec[r]=new Promise(function(i,s){if(typeof window>"u"){i(void 0);return}if(window[a]){i(window[a]);return}try{var l=J1(t);l||(l=Q1(t)),l.addEventListener("load",function(){window[a]?i(window[a]):s(new Error("Paddle.js not available"))}),l.addEventListener("error",function(){s(new Error("Failed to load Paddle.js - ".concat(r)))})}catch(c){s(c);return}}),ec[r])}}function r0(r){if(r===Vo.CLASSIC)return X1;if(r===Vo.V1)return Z1;console.error("[Paddle] Unknown Paddle Version")}var t0=["environment","version"],n0=["environment","version"];function a0(r,e){var t=r.environment;r.version;var n=__(r,t0);try{t&&e.Environment.set(t),e.Initialized?e.Update(Ql({},n)):e.Initialize(Ql({},n))}catch(a){console.warn("[Paddle] Paddle Initialization failed. Please check the inputs",a)}}function o0(r,e){var t=r.environment;r.version;var n=__(r,n0);try{t&&e.Environment.set(t),e.Setup(Ql({},n))}catch(a){console.warn("[Paddle] Paddle Initialization failed. Please check the inputs",a)}}var Ka;(function(r){r.CHECKOUT_LOADED="checkout.loaded",r.CHECKOUT_CLOSED="checkout.closed",r.CHECKOUT_UPDATED="checkout.updated",r.CHECKOUT_COMPLETED="checkout.completed",r.CHECKOUT_ERROR="checkout.error",r.CHECKOUT_FAILED="checkout.failed",r.CHECKOUT_ITEMS_UPDATED="checkout.items.updated",r.CHECKOUT_ITEMS_REMOVED="checkout.items.removed",r.CHECKOUT_CUSTOMER_CREATED="checkout.customer.created",r.CHECKOUT_CUSTOMER_UPDATED="checkout.customer.updated",r.CHECKOUT_CUSTOMER_REMOVED="checkout.customer.removed",r.CHECKOUT_PAYMENT_SELECTED="checkout.payment.selected",r.CHECKOUT_PAYMENT_INITIATED="checkout.payment.initiated",r.CHECKOUT_PAYMENT_FAILED="checkout.payment.failed",r.CHECKOUT_PAYMENT_ERROR="checkout.payment.error",r.CHECKOUT_DISCOUNT_APPLIED="checkout.discount.applied",r.CHECKOUT_DISCOUNT_REMOVED="checkout.discount.removed",r.CHECKOUT_UPSELL_CANCELED="checkout.upsell.canceled"})(Ka||(Ka={}));var g_;(function(r){r.DAY="day",r.WEEK="week",r.MONTH="month",r.YEAR="year"})(g_||(g_={}));var f_;(function(r){r.ALIPAY="alipay",r.APPLE_PAY="apple-pay",r.CARD="card",r.GOOGLE_PAY="google-pay",r.IDEAL="ideal",r.PAYPAL="paypal",r.WECHAT_PAY="wechat-pay",r.WIRE_TRANSFER="wire-transfer",r.NONE="none"})(f_||(f_={}));var m_;(function(r){r.AMERICAN_EXPRESS="american_express",r.DINERS_CLUB="diners_club",r.DISCOVER="discover",r.JCB="jcb",r.MADA="mada",r.MAESTRO="maestro",r.MASTER_CARD="mastercard",r.UNION_PAY="union_pay",r.VISA="visa",r.UNKNOWN="unknown"})(m_||(m_={}));var h_;(function(r){r.DRAFT="draft",r.READY="ready",r.COMPLETED="completed",r.BILLED="billed",r.canceled="canceled",r.PAST_DUE="past_due"})(h_||(h_={}));function i0(r){return rc.apply(this,arguments)}function rc(){return rc=U1($l().mark(function r(e){var t,n;return $l().wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return t=(e==null?void 0:e.version)||Y1,i.next=3,e0(t);case 3:if(n=i.sent,!n){i.next=9;break}return e&&(t===Vo.V1?a0(e,n):t===Vo.CLASSIC&&o0(e,n)),i.abrupt("return",n);case 9:return console.error("[Paddle] Error Loading Paddle"),i.abrupt("return");case 11:case"end":return i.stop()}},r)})),rc.apply(this,arguments)}const v_="paddle-checkout-container",s0=450,l0="width:100%; min-width:312px; background-color:transparent; border:none;";function c0({transactionId:r,locale:e,customerEmail:t,displayMode:n="overlay",theme:a="light"}){const i={theme:a,variant:"one-page",locale:e,allowLogout:!1,showAddDiscounts:!1,showAddTaxId:!1,allowDiscountRemoval:!1},s=n==="inline"?{...i,displayMode:"inline",frameTarget:v_,frameInitialHeight:s0,frameStyle:l0}:{...i,displayMode:"overlay"};return{transactionId:r,settings:s,...t&&{customer:{email:t}}}}class u0{constructor(e,t,n=10){Q(this,"paddleInstance");Q(this,"backend");Q(this,"eventsTracker");Q(this,"maxNumberAttempts");Q(this,"waitMSBetweenAttempts",1e3);this.backend=e,this.eventsTracker=t,this.maxNumberAttempts=n}async initializePaddle(e,t){var a;if((a=this.paddleInstance)!=null&&a.Initialized)return ye.debugLog("Paddle already initialized, returning existing instance"),this.paddleInstance;const n=t?"sandbox":"production";try{const i=await i0({token:e,version:"v1",environment:n});if(!i)throw new he(_e.UnknownError,"Paddle client not found");return this.paddleInstance=i,ye.debugLog(`Paddle initialized with environment: ${n}`),i}catch(i){throw i instanceof he?i:new he(_e.UnknownError,`Error initializing Paddle: ${i}`)}}getPaddleInstance(){var e;if(!((e=this.paddleInstance)!=null&&e.Initialized))throw new he(_e.UnknownError,"Paddle not initialized.");return this.paddleInstance}closeCheckout(){var e;(e=this.paddleInstance)!=null&&e.Initialized&&this.paddleInstance.Checkout.close()}async startCheckout({appUserId:e,productId:t,presentedOfferingContext:n,purchaseOption:a,customerEmail:i,metadata:s,locale:l,attributionMetadata:c}){try{const u=this.eventsTracker.getTraceId(),d=await this.backend.postCheckoutStart({appUserId:e,productId:t,purchaseOption:a,presentedOfferingContext:n,traceId:u,customerEmail:i??void 0,metadata:s,locale:l,attributionMetadata:c});return await this.initializePaddle(d.paddle_billing_params.client_side_token,d.paddle_billing_params.is_sandbox),d}catch(u){throw u instanceof $e?he.fromPurchasesError(u,_e.ErrorSettingUpPurchase,u.errorCode===Ae.InvalidCredentialsError):new he(_e.UnknownError,`Error starting Paddle checkout: ${u}`)}}async purchase({operationSessionId:e,transactionId:t,onCheckoutLoaded:n,onClose:a,params:i,displayMode:s="overlay",theme:l="light",onCheckoutTotals:c,onCheckoutCompleted:u}){const d=this.getPaddleInstance(),{customerEmail:p,locale:g="en"}=i,_=f=>{var v,y,h;if(c&&(f!=null&&f.totals)){const k=(v=f.items)==null?void 0:v[0];c({currencyCode:f.currency_code,subtotalAmount:f.totals.subtotal,taxAmount:f.totals.tax,totalAmount:f.totals.total,recurringTotalAmount:((y=f.recurring_totals)==null?void 0:y.total)??null,productName:((h=k==null?void 0:k.product)==null?void 0:h.name)??null,priceName:(k==null?void 0:k.price_name)??null})}};return new Promise((f,v)=>{d.Update({eventCallback:async h=>{const k=h.name,w=h.data;try{if(k===Ka.CHECKOUT_LOADED)n(),_(w);else if(k===Ka.CHECKOUT_UPDATED)_(w);else if(k===Ka.CHECKOUT_COMPLETED){u==null||u(),d.Checkout.close();const b=await this.pollOperationStatus(e);f(b)}else k===Ka.CHECKOUT_CLOSED&&(w!=null&&w.status)&&a()}catch(b){d.Checkout.close(),b instanceof he?v(b):b instanceof $e?v(he.fromPurchasesError(b,_e.UnknownError)):v(new he(_e.UnknownError,`Paddle event handler error: ${b}`))}}});const y=c0({transactionId:t,locale:g,customerEmail:p,displayMode:s,theme:l});try{d.Checkout.open(y)}catch(h){v(new he(_e.UnknownError,`Failed to open Paddle checkout: ${h}`))}})}async pollOperationStatus(e){if(!e)throw new he(_e.ErrorSettingUpPurchase,"No purchase in progress");return new Promise((t,n)=>{const a=(i=1)=>{if(i>this.maxNumberAttempts){n(new he(_e.UnknownError,"Max attempts reached trying to get successful purchase status"));return}this.backend.getCheckoutStatus(e).then(s=>{const l=s.operation.store_transaction_identifier,c=s.operation.product_identifier,u=s.operation.purchase_date?isNaN(Date.parse(s.operation.purchase_date))?null:new Date(s.operation.purchase_date):null;switch(s.operation.status){case vn.Started:case vn.InProgress:setTimeout(()=>a(i+1),this.waitMSBetweenAttempts);break;case vn.Succeeded:if(!l||!c||!u){n(new he(_e.UnknownError,"Missing required fields in operation response."));return}t({redemptionInfo:Hu(s),operationSessionId:e,storeTransactionIdentifier:l??"",productIdentifier:c,purchaseDate:u??new Date,attributionMetadata:s.attribution_metadata??void 0});return;case vn.Failed:Gu(s.operation.error,n)}}).catch(s=>{if(s instanceof $e){const l=he.fromPurchasesError(s,_e.NetworkError);n(l)}else n(new he(_e.NetworkError,`Failed to get checkout status: ${s}`))})};a()})}}const $i=(r,e)=>r instanceof he?r:r instanceof $e?he.fromPurchasesError(r,_e.UnknownError):new he(_e.UnknownError,e);var d0=V('<!> <div class="rcb-fullscreen-wrapper svelte-skuziz"><div class="rcb-fullscreen-content svelte-skuziz"><!></div></div>',1);const p0={hash:"svelte-skuziz",code:".rcb-fullscreen-wrapper.svelte-skuziz {width:100%;min-height:100%;display:flex;flex-direction:column;align-items:center;}.rcb-fullscreen-content.svelte-skuziz {flex:1;width:100%;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--rc-color-grey-text-dark);}"};function y_(r,e){fe(e,!0),we(r,p0);const t=()=>pe(i,"$brandingAppearanceStore",n),[n,a]=He(),i=Xe(Un),s=m(()=>{var u;return t()??((u=e.brandingInfo)==null?void 0:u.appearance)??null}),l=m(()=>new Rn(o(s)).pageStyleVars),c=m(()=>{var u;return((u=o(s))==null?void 0:u.color_page_bg)??"#ffffff"});{let u=m(()=>{var d;return(d=e.brandingInfo)==null?void 0:d.brand_font_config});a_(r,{get brandingAppearance(){return o(s)},get brandFontConfig(){return o(u)},get isInElement(){return e.isInElement},children:(d,p)=>{var g=d0(),_=oe(g);{var f=k=>{l_(k,{get style(){return o(l)},get isInElement(){return e.isInElement},get brandingInfo(){return e.brandingInfo}})};Y(_,k=>{e.isSandbox&&k(f)})}var v=H(_,2),y=T(v),h=T(y);kr(h,()=>e.mainContent??tr),K(()=>De(v,`${o(l)??""}; background-color: ${o(c)??""}`)),P(d,g)},$$slots:{default:!0}})}me(),a()}var _0=V("<!> <!> <!>",1),g0=V('<div class="rcb-ui-loading-container svelte-1r889ax"><!></div>');const f0={hash:"svelte-1r889ax",code:".rcb-ui-loading-container.svelte-1r889ax {display:flex;flex-direction:column;align-items:center;}"};function m0(r,e){fe(e,!0),we(r,f0);const t=()=>pe(i,"$translator",n),[n,a]=He(),i=Xe(vr);y_(r,{get brandingInfo(){return e.brandingInfo},get isInElement(){return e.isInElement},get isSandbox(){return e.isSandbox},mainContent:l=>{var c=Se(),u=oe(c);{var d=g=>{var _=g0(),f=T(_);Mo(f,{gap:"medium",align:"center",children:(v,y)=>{var h=_0(),k=oe(h);Ui(k,{color:"var(--rc-color-grey-text-dark)"});var w=H(k,2);qe(w,{size:"heading-md",children:(x,S)=>{var I=je();K(z=>ve(I,z),[()=>t().translate(le.LoadingPageProcessingPayment)]),P(x,I)},$$slots:{default:!0}});var b=H(w,2);qe(b,{size:"body-small",children:(x,S)=>{var I=je();K(z=>ve(I,z),[()=>t().translate(le.LoadingPageKeepPageOpen)]),P(x,I)},$$slots:{default:!0}}),P(v,h)},$$slots:{default:!0}}),P(g,_)},p=g=>{var _=Se(),f=oe(_);{var v=h=>{Ji(h,{get onContinue(){return e.onContinue},fullWidth:!0})},y=h=>{var k=Se(),w=oe(k);{var b=x=>{{let S=m(()=>{var z;return((z=e.brandingInfo)==null?void 0:z.support_email)??null}),I=m(()=>{var z;return((z=e.brandingInfo)==null?void 0:z.app_name)??null});Zi(x,{get lastError(){return e.lastError},get productDetails(){return e.productDetails},get supportEmail(){return o(S)},get onDismiss(){return e.closeWithError},get appName(){return o(I)},fullWidth:!0})}};Y(w,x=>{e.currentPage==="error"&&x(b)},!0)}P(h,k)};Y(f,h=>{e.currentPage==="success"?h(v):h(y,!1)},!0)}P(g,_)};Y(u,g=>{e.currentPage==="loading"?g(d):g(p,!1)})}P(l,c)},$$slots:{mainContent:!0}}),me(),a()}var h0=V('<span class="rcb-paddle-summary-muted svelte-1k1pux8">inc. tax</span>'),v0=V('<span class="rcb-paddle-summary-muted rcb-paddle-summary-price-name svelte-1k1pux8"> </span>'),y0=V('<span class="rcb-paddle-summary-muted svelte-1k1pux8"> </span>'),b0=V('<div class="rcb-paddle-summary-row svelte-1k1pux8"><span class="rcb-paddle-summary-muted svelte-1k1pux8"> </span> <span> </span></div>'),k0=V('<div class="rcb-paddle-summary-row svelte-1k1pux8"><span class="rcb-paddle-summary-muted svelte-1k1pux8"> </span> <span> </span></div>'),w0=V('<div class="rcb-paddle-summary-card svelte-1k1pux8"><div class="rcb-paddle-summary-row svelte-1k1pux8"><span class="rcb-paddle-summary-muted svelte-1k1pux8"> </span> <span> </span></div> <!> <hr class="rcb-paddle-summary-divider svelte-1k1pux8"/> <div class="rcb-paddle-summary-row rcb-paddle-summary-row-strong svelte-1k1pux8"><span> </span> <span> </span></div> <!></div>'),P0=V('<div class="rcb-paddle-summary svelte-1k1pux8"><div class="rcb-paddle-summary-card svelte-1k1pux8"><div class="rcb-paddle-summary-amount-row svelte-1k1pux8"><span class="rcb-paddle-summary-amount svelte-1k1pux8"> </span> <!></div> <!> <div class="rcb-paddle-summary-product svelte-1k1pux8"><!> <!> <div class="rcb-paddle-summary-product-price svelte-1k1pux8"><span> </span> <!></div></div></div> <!></div>');const x0={hash:"svelte-1k1pux8",code:`.rcb-paddle-summary.svelte-1k1pux8 {display:flex;flex-direction:column;gap:var(--rc-spacing-gapLarge-mobile, 16px);width:100%;}.rcb-paddle-summary-card.svelte-1k1pux8 {background:var(--rcb-card-bg);border-radius:16px;padding:28px;display:flex;flex-direction:column;gap:var(--rc-spacing-gapMedium-mobile, 12px);}.rcb-paddle-summary-amount-row.svelte-1k1pux8 {display:flex;align-items:baseline;gap:8px;}.rcb-paddle-summary-amount.svelte-1k1pux8 {color:var(--rc-color-primary);font-weight:700;font-size:2rem;line-height:1.1;}.rcb-paddle-summary-product.svelte-1k1pux8 {display:flex;flex-direction:column;gap:2px;
399
399
  /* Extra separation between the amount/billing line and the product block. */margin-top:var(--rc-spacing-gapLarge-mobile, 16px);}.rcb-paddle-summary-price-name.svelte-1k1pux8 {font-size:0.8125rem;}.rcb-paddle-summary-product-price.svelte-1k1pux8 {display:flex;align-items:baseline;gap:6px;font-weight:600;font-size:1.25rem;
400
- /* A bit more separation from the price-name line above. */margin-top:var(--rc-spacing-gapSmall-mobile, 8px);}.rcb-paddle-summary-row.svelte-1k1pux8 {display:flex;justify-content:space-between;align-items:center;}.rcb-paddle-summary-row-strong.svelte-1k1pux8 {font-weight:700;}.rcb-paddle-summary-muted.svelte-1k1pux8 {color:var(--rc-color-grey-text-light);}.rcb-paddle-summary-divider.svelte-1k1pux8 {border:none;border-top:1px solid var(--rc-color-grey-ui-light);margin:4px 0;width:100%;}`};function w0(r,e){var G;fe(e,!0),ke(r,k0);const t=()=>pe(i,"$translator",n),[n,a]=Ye(),i=Xe(vr),l=new Rn(((G=e.brandingInfo)==null?void 0:G.appearance)??null).formColors.background,u=(V=>"base"in V)(e.purchaseOption)?e.purchaseOption.base.period??null:null,d=V=>Math.round(V*1e6),p=Bo(e.productDetails,e.purchaseOption),_=m(()=>{var V;return((V=e.totals)==null?void 0:V.currencyCode)??p.currency}),g=m(()=>e.totals?d(e.totals.totalAmount):p.amountMicros),f=V=>t().formatPrice(V,o(_)),v=m(()=>u?t().translatePeriodUnit(u.unit):null),y=m(()=>u?t().translatePeriodFrequency(u.number,u.unit):null),h=m(()=>{var V;return((V=e.totals)==null?void 0:V.productName)??e.productDetails.title}),w=m(()=>{var V;return((V=e.totals)==null?void 0:V.priceName)??null}),k=m(()=>!!e.totals&&e.totals.taxAmount>0),b=m(()=>{if(!e.totals||e.totals.recurringTotalAmount===null||!u)return null;const V=xo(new Date,u,!0);return V?new Intl.DateTimeFormat(sa(t().selectedLocale),{day:"numeric",month:"long",year:"numeric"}).format(V):null});var x=b0(),I=T(x),S=T(I),q=T(S),E=T(q),D=Y(q,2);{var C=V=>{var O=g0();P(V,O)};K(D,V=>{o(k)&&V(C)})}var B=Y(S,2);{var F=V=>{qe(V,{size:"body-small",children:(O,U)=>{var te=je();Z(()=>ve(te,`billed ${o(y)??""}`)),P(O,te)},$$slots:{default:!0}})};K(B,V=>{o(y)&&V(F)})}var z=Y(B,2),L=T(z);qe(L,{size:"body-base",children:(V,O)=>{var U=je();Z(()=>ve(U,o(h))),P(V,U)},$$slots:{default:!0}});var A=Y(L,2);{var M=V=>{var O=f0(),U=T(O);Z(()=>ve(U,o(w))),P(V,O)};K(A,V=>{o(w)&&V(M)})}var N=Y(A,2),H=T(N),X=T(H),R=Y(H,2);{var $=V=>{var O=m0(),U=T(O);Z(()=>ve(U,`/ ${o(v)??""}`)),P(V,O)};K(R,V=>{o(v)&&V($)})}var ce=Y(I,2);{var de=V=>{var O=y0(),U=T(O),te=T(U),ue=T(te),Se=Y(te,2),Pe=T(Se),Te=Y(U,2);{var Ne=le=>{var Ce=h0(),Ke=T(Ce),er=T(Ke),hr=Y(Ke,2),Re=T(hr);Z((oe,Oe)=>{ve(er,oe),ve(Re,Oe)},[()=>t().translate(ie.PricingTableTax),()=>f(d(e.totals.taxAmount))]),P(le,Ce)};K(Te,le=>{o(k)&&le(Ne)})}var ze=Y(Te,4),Ie=T(ze),Ee=T(Ie),Be=Y(Ie,2),Ve=T(Be),ne=Y(ze,2);{var ge=le=>{var Ce=v0(),Ke=T(Ce),er=T(Ke),hr=Y(Ke,2),Re=T(hr);Z(oe=>{ve(er,`Due on ${o(b)??""}`),ve(Re,oe)},[()=>f(d(e.totals.recurringTotalAmount))]),P(le,Ce)};K(ne,le=>{e.totals.recurringTotalAmount!==null&&o(b)&&le(ge)})}Z((le,Ce,Ke,er)=>{ve(ue,le),ve(Pe,Ce),ve(Ee,Ke),ve(Ve,er)},[()=>t().translate(ie.PricingTableSubtotal),()=>f(d(e.totals.subtotalAmount)),()=>t().translate(ie.PricingTableTotalDueToday),()=>f(d(e.totals.totalAmount))]),P(V,O)};K(ce,V=>{e.totals&&V(de)})}Z((V,O)=>{De(x,`--rcb-card-bg: ${l??""};`),ve(E,V),ve(X,O)},[()=>f(o(g)),()=>f(o(g))]),P(r,x),me(),a()}var P0=W('<button type="button" class="rcb-paddle-return-button svelte-5dakll" data-testid="paddle-return-button"><!> <span> </span></button>'),x0=W("<!> <!> <!>",1),E0=W('<div class="rcb-paddle-processing svelte-5dakll"><!></div>'),S0=W('<div data-testid="paddle-inline-checkout-container" style="width: 100%; min-height: 450px;"></div>');const I0={hash:"svelte-5dakll",code:".rcb-paddle-return-button.svelte-5dakll {display:inline-flex;align-items:center;gap:var(--rc-spacing-gapSmall-mobile, 8px);padding:8px 0;border:none;background:transparent;cursor:pointer;color:var(--rc-color-accent);font:inherit;}.rcb-paddle-processing.svelte-5dakll {display:flex;justify-content:center;width:100%;min-height:450px;align-items:center;}"};function C0(r,e){var l;fe(e,!0),ke(r,I0);const t=()=>pe(i,"$translator",n),[n,a]=Ye(),i=Xe(vr),s=((l=e.brandingInfo)==null?void 0:l.app_name)??null;o_(r,{get brandingInfo(){return e.brandingInfo},get isInElement(){return e.isInElement},get isSandbox(){return e.isSandbox},get onClose(){return e.onClose},navbarHeaderContent:p=>{var _=xe(),g=ae(_);{var f=v=>{var y=P0();y.__click=function(...b){var x;(x=e.onClose)==null||x.apply(this,b)};var h=T(y);Un(h,{name:"back"});var w=Y(h,2),k=T(w);Z(()=>ve(k,s?`Return to ${s}`:"Back")),P(v,y)};K(g,v=>{e.isInElement||v(f)})}P(p,_)},navbarBodyContent:p=>{w0(p,{get brandingInfo(){return e.brandingInfo},get productDetails(){return e.productDetails},get purchaseOption(){return e.purchaseOption},get totals(){return e.totals}})},mainContent:p=>{var _=xe(),g=ae(_);{var f=y=>{Ji(y,{get onContinue(){return e.onContinue}})},v=y=>{var h=xe(),w=ae(h);{var k=x=>{{let I=m(()=>{var q;return((q=e.brandingInfo)==null?void 0:q.support_email)??null}),S=m(()=>{var q;return((q=e.brandingInfo)==null?void 0:q.app_name)??null});Zi(x,{get lastError(){return e.lastError},get productDetails(){return e.productDetails},get supportEmail(){return o(I)},get onDismiss(){return e.closeWithError},get appName(){return o(S)}})}},b=x=>{var I=xe(),S=ae(I);{var q=D=>{var C=E0(),B=T(C);Mo(B,{gap:"medium",align:"center",children:(F,z)=>{var L=x0(),A=ae(L);Ri(A,{color:"var(--rc-color-grey-text-dark)"});var M=Y(A,2);qe(M,{size:"heading-md",children:(H,X)=>{var R=je();Z($=>ve(R,$),[()=>t().translate(ie.LoadingPageProcessingPayment)]),P(H,R)},$$slots:{default:!0}});var N=Y(M,2);qe(N,{size:"body-small",children:(H,X)=>{var R=je();Z($=>ve(R,$),[()=>t().translate(ie.LoadingPageKeepPageOpen)]),P(H,R)},$$slots:{default:!0}}),P(F,L)},$$slots:{default:!0}}),P(D,C)},E=D=>{var C=S0();Z(()=>ur(C,1,ia(g_),"svelte-5dakll")),P(D,C)};K(S,D=>{e.checkoutCompleted?D(q):D(E,!1)},!0)}P(x,I)};K(w,x=>{e.currentPage==="error"?x(k):x(b,!1)},!0)}P(y,h)};K(g,y=>{e.currentPage==="success"?y(f):y(v,!1)})}P(p,_)},$$slots:{navbarHeaderContent:!0,navbarBodyContent:!0,mainContent:!0}}),me(),a()}_n(["click"]);function T0(r,e){var C,B,F;fe(e,!0);const t=Q(e,"customTranslations",19,()=>({})),n=Q(e,"skipSuccessPage",3,!1);let a=new An(t(),e.selectedLocale,e.defaultLocale),i=Or(a);const s=Or(((C=e.brandingInfo)==null?void 0:C.appearance)??null);kr(vr,i),kr(Bn,s),kr(Fo,e.eventsTracker);let l=re(!1),c=re(null),u=re(null),d=re("waiting"),p=re(!1),_=re(null);const g=m(()=>{var z;return((z=o(_))==null?void 0:z.paddle_billing_params.inline_checkout_enabled)??!1});let f=re(null);const v=z=>{j(f,z,!0)},y=Ok(((F=(B=e.brandingInfo)==null?void 0:B.appearance)==null?void 0:F.color_page_bg)??"#ffffff")?"light":"dark";mr(()=>{o(d)==="success"&&o(c)&&n()&&e.onFinished(o(c))});const h=()=>{o(d)==="success"&&o(c)&&e.onFinished(o(c))},w=()=>{e.paddleService.closeCheckout(),e.onClose()},k=()=>{e.onError(o(u)??new he(_e.UnknownError,"Unknown error without state set.")),e.unmountPaddlePurchaseUi()};let b=null,x=null,I=null;Tr(async()=>{var N;e.isInElement||(b=document.documentElement.style.height,x=document.documentElement.style.overflow,I=document.body.style.height,document.documentElement.style.height="100%",document.body.style.height="100%",document.documentElement.style.overflow="hidden");const z=()=>{j(d,"loading")},L=()=>{j(p,!0),j(d,"loading")},A={offeringIdentifier:e.productDetails.presentedOfferingContext.offeringIdentifier,targetingContext:null,placementIdentifier:null};let M;try{M=await e.paddleService.startCheckout({appUserId:e.appUserId,productId:e.productDetails.identifier,presentedOfferingContext:A,purchaseOption:e.purchaseOption,customerEmail:e.customerEmail,metadata:e.metadata,locale:e.selectedLocale,attributionMetadata:e.attributionMetadata}),j(_,M,!0),j(l,M.paddle_billing_params.is_sandbox,!0),o(g)&&await vu()}catch(H){const X=$i(H,`Start Paddle checkout failed: ${H}`);j(u,X,!0),j(d,"error"),e.onError(X);return}try{const H=await e.paddleService.purchase({operationSessionId:M.operation_session_id,transactionId:(N=M.paddle_billing_params)==null?void 0:N.transaction_id,onCheckoutLoaded:z,onClose:e.onClose,params:{rcPackage:e.rcPackage,purchaseOption:e.purchaseOption,appUserId:e.appUserId,presentedOfferingIdentifier:e.productDetails.presentedOfferingContext.offeringIdentifier,customerEmail:e.customerEmail,locale:e.selectedLocale||e.defaultLocale},...o(g)&&{displayMode:"inline",theme:y,onCheckoutTotals:v,onCheckoutCompleted:L}});n()?e.onFinished(H):(j(c,H,!0),j(d,"success"))}catch(H){const X=$i(H,`Paddle purchase failed: ${H}`);j(u,X,!0),j(d,"error"),e.onError(X)}}),Wt(()=>{if(!e.isInElement){const z=(L,A,M)=>{M===""?L.style.removeProperty(A):L.style.setProperty(A,M)};z(document.documentElement,"height",b),z(document.body,"height",I),z(document.documentElement,"overflow",x)}});var S=xe(),q=ae(S);{var E=z=>{C0(z,{get brandingInfo(){return e.brandingInfo},get isSandbox(){return o(l)},get isInElement(){return e.isInElement},onClose:w,get productDetails(){return e.productDetails},get purchaseOption(){return e.purchaseOption},get totals(){return o(f)},get currentPage(){return o(d)},get checkoutCompleted(){return o(p)},get lastError(){return o(u)},onContinue:h,closeWithError:k})},D=z=>{var L=xe(),A=ae(L);{var M=N=>{_0(N,{get currentPage(){return o(d)},get brandingInfo(){return e.brandingInfo},get productDetails(){return e.productDetails},get isSandbox(){return o(l)},get lastError(){return o(u)},get isInElement(){return e.isInElement},onContinue:h,closeWithError:k})};K(A,N=>{o(d)!=="waiting"&&N(M)},!0)}P(z,L)};K(q,z=>{o(g)?z(E):z(D,!1)})}P(r,S),me()}var D0=W('<div class="stripe-checkout-container svelte-1kxsl49" data-testid="stripe-checkout-container"><div class="stripe-checkout-mount svelte-1kxsl49" data-testid="stripe-checkout-mount"></div></div>');const A0={hash:"svelte-1kxsl49",code:".stripe-checkout-container.svelte-1kxsl49 {width:100%;min-height:400px;display:flex;flex-direction:column;}.stripe-checkout-mount.svelte-1kxsl49 {width:100%;flex:1;}"};function q0(r,e){fe(e,!0),ke(r,A0);let t,n=null;async function a(){try{e.onContinue()}catch(l){e.onError(l instanceof he?l:new he(_e.ErrorSettingUpPurchase,l instanceof Error?l.message:"Failed to complete checkout"))}}Tr(async()=>{try{const l=e.stripeBillingParams.publishable_api_key,c=e.stripeBillingParams.stripe_account_id,{embeddedCheckout:u}=await pr.initializeStripeCheckout(c,l,e.stripeBillingParams,a);n=u,t&&u.mount(t)}catch(l){e.onError(l instanceof Error?new he(_e.ErrorSettingUpPurchase,l.message):new he(_e.ErrorSettingUpPurchase,"Failed to initialize Stripe Checkout"))}}),Wt(()=>{n&&(n.destroy(),n=null)});var i=D0(),s=T(i);ja(s,l=>t=l,()=>t),P(r,i),me()}var M0=W('<div class="stripe-checkout-wrapper svelte-zapbpj"><!></div>'),F0=W("<!> <!>",1),z0=W("<!> <!>",1),j0=W('<div class="rcb-ui-loading-container svelte-zapbpj"><!></div>');const N0={hash:"svelte-zapbpj",code:`.rcb-ui-loading-container.svelte-zapbpj {display:flex;flex-direction:column;align-items:center;}.stripe-checkout-wrapper.svelte-zapbpj {width:100%;min-height:100%;display:flex;flex-direction:column;overflow:hidden auto;}
400
+ /* A bit more separation from the price-name line above. */margin-top:var(--rc-spacing-gapSmall-mobile, 8px);}.rcb-paddle-summary-row.svelte-1k1pux8 {display:flex;justify-content:space-between;align-items:center;}.rcb-paddle-summary-row-strong.svelte-1k1pux8 {font-weight:700;}.rcb-paddle-summary-muted.svelte-1k1pux8 {color:var(--rc-color-grey-text-light);}.rcb-paddle-summary-divider.svelte-1k1pux8 {border:none;border-top:1px solid var(--rc-color-grey-ui-light);margin:4px 0;width:100%;}`};function E0(r,e){var te;fe(e,!0),we(r,x0);const t=()=>pe(i,"$translator",n),[n,a]=He(),i=Xe(vr),l=new Rn(((te=e.brandingInfo)==null?void 0:te.appearance)??null).formColors.background,u=(X=>"base"in X)(e.purchaseOption)?e.purchaseOption.base.period??null:null,d=X=>Math.round(X*1e6),p=Uo(e.productDetails,e.purchaseOption),g=m(()=>{var X;return((X=e.totals)==null?void 0:X.currencyCode)??p.currency}),_=m(()=>e.totals?d(e.totals.totalAmount):p.amountMicros),f=X=>t().formatPrice(X,o(g)),v=m(()=>u?t().translatePeriodUnit(u.unit):null),y=m(()=>u?t().translatePeriodFrequency(u.number,u.unit):null),h=m(()=>{var X;return((X=e.totals)==null?void 0:X.productName)??e.productDetails.title}),k=m(()=>{var X;return((X=e.totals)==null?void 0:X.priceName)??null}),w=m(()=>!!e.totals&&e.totals.taxAmount>0),b=m(()=>{if(!e.totals||e.totals.recurringTotalAmount===null||!u)return null;const X=Eo(new Date,u,!0);return X?new Intl.DateTimeFormat(la(t().selectedLocale),{day:"numeric",month:"long",year:"numeric"}).format(X):null});var x=P0(),S=T(x),I=T(S),z=T(I),E=T(z),M=H(z,2);{var C=X=>{var D=h0();P(X,D)};Y(M,X=>{o(w)&&X(C)})}var B=H(I,2);{var O=X=>{qe(X,{size:"body-small",children:(D,U)=>{var ee=je();K(()=>ve(ee,`billed ${o(y)??""}`)),P(D,ee)},$$slots:{default:!0}})};Y(B,X=>{o(y)&&X(O)})}var q=H(B,2),L=T(q);qe(L,{size:"body-base",children:(X,D)=>{var U=je();K(()=>ve(U,o(h))),P(X,U)},$$slots:{default:!0}});var F=H(L,2);{var A=X=>{var D=v0(),U=T(D);K(()=>ve(U,o(k))),P(X,D)};Y(F,X=>{o(k)&&X(A)})}var N=H(F,2),W=T(N),G=T(W),R=H(W,2);{var $=X=>{var D=y0(),U=T(D);K(()=>ve(U,`/ ${o(v)??""}`)),P(X,D)};Y(R,X=>{o(v)&&X($)})}var ue=H(S,2);{var de=X=>{var D=w0(),U=T(D),ee=T(U),ie=T(ee),Pe=H(ee,2),ke=T(Pe),Te=H(U,2);{var Ne=ce=>{var Ce=b0(),Ke=T(Ce),rr=T(Ke),hr=H(Ke,2),Le=T(hr);K((se,Ue)=>{ve(rr,se),ve(Le,Ue)},[()=>t().translate(le.PricingTableTax),()=>f(d(e.totals.taxAmount))]),P(ce,Ce)};Y(Te,ce=>{o(w)&&ce(Ne)})}var Oe=H(Te,4),Ie=T(Oe),Ee=T(Ie),Be=H(Ie,2),Ye=T(Be),ne=H(Oe,2);{var ge=ce=>{var Ce=k0(),Ke=T(Ce),rr=T(Ke),hr=H(Ke,2),Le=T(hr);K(se=>{ve(rr,`Due on ${o(b)??""}`),ve(Le,se)},[()=>f(d(e.totals.recurringTotalAmount))]),P(ce,Ce)};Y(ne,ce=>{e.totals.recurringTotalAmount!==null&&o(b)&&ce(ge)})}K((ce,Ce,Ke,rr)=>{ve(ie,ce),ve(ke,Ce),ve(Ee,Ke),ve(Ye,rr)},[()=>t().translate(le.PricingTableSubtotal),()=>f(d(e.totals.subtotalAmount)),()=>t().translate(le.PricingTableTotalDueToday),()=>f(d(e.totals.totalAmount))]),P(X,D)};Y(ue,X=>{e.totals&&X(de)})}K((X,D)=>{De(x,`--rcb-card-bg: ${l??""};`),ve(E,X),ve(G,D)},[()=>f(o(_)),()=>f(o(_))]),P(r,x),me(),a()}var S0=V('<button type="button" class="rcb-paddle-return-button svelte-5dakll" data-testid="paddle-return-button"><!> <span> </span></button>'),I0=V("<!> <!> <!>",1),C0=V('<div class="rcb-paddle-processing svelte-5dakll"><!></div>'),T0=V('<div data-testid="paddle-inline-checkout-container" style="width: 100%; min-height: 450px;"></div>');const D0={hash:"svelte-5dakll",code:".rcb-paddle-return-button.svelte-5dakll {display:inline-flex;align-items:center;gap:var(--rc-spacing-gapSmall-mobile, 8px);padding:8px 0;border:none;background:transparent;cursor:pointer;color:var(--rc-color-accent);font:inherit;}.rcb-paddle-processing.svelte-5dakll {display:flex;justify-content:center;width:100%;min-height:450px;align-items:center;}"};function A0(r,e){var l;fe(e,!0),we(r,D0);const t=()=>pe(i,"$translator",n),[n,a]=He(),i=Xe(vr),s=((l=e.brandingInfo)==null?void 0:l.app_name)??null;c_(r,{get brandingInfo(){return e.brandingInfo},get isInElement(){return e.isInElement},get isSandbox(){return e.isSandbox},get onClose(){return e.onClose},navbarHeaderContent:p=>{var g=Se(),_=oe(g);{var f=v=>{var y=S0();y.__click=function(...b){var x;(x=e.onClose)==null||x.apply(this,b)};var h=T(y);Vn(h,{name:"back"});var k=H(h,2),w=T(k);K(()=>ve(w,s?`Return to ${s}`:"Back")),P(v,y)};Y(_,v=>{e.isInElement||v(f)})}P(p,g)},navbarBodyContent:p=>{E0(p,{get brandingInfo(){return e.brandingInfo},get productDetails(){return e.productDetails},get purchaseOption(){return e.purchaseOption},get totals(){return e.totals}})},mainContent:p=>{var g=Se(),_=oe(g);{var f=y=>{Ji(y,{get onContinue(){return e.onContinue}})},v=y=>{var h=Se(),k=oe(h);{var w=x=>{{let S=m(()=>{var z;return((z=e.brandingInfo)==null?void 0:z.support_email)??null}),I=m(()=>{var z;return((z=e.brandingInfo)==null?void 0:z.app_name)??null});Zi(x,{get lastError(){return e.lastError},get productDetails(){return e.productDetails},get supportEmail(){return o(S)},get onDismiss(){return e.closeWithError},get appName(){return o(I)}})}},b=x=>{var S=Se(),I=oe(S);{var z=M=>{var C=C0(),B=T(C);Mo(B,{gap:"medium",align:"center",children:(O,q)=>{var L=I0(),F=oe(L);Ui(F,{color:"var(--rc-color-grey-text-dark)"});var A=H(F,2);qe(A,{size:"heading-md",children:(W,G)=>{var R=je();K($=>ve(R,$),[()=>t().translate(le.LoadingPageProcessingPayment)]),P(W,R)},$$slots:{default:!0}});var N=H(A,2);qe(N,{size:"body-small",children:(W,G)=>{var R=je();K($=>ve(R,$),[()=>t().translate(le.LoadingPageKeepPageOpen)]),P(W,R)},$$slots:{default:!0}}),P(O,L)},$$slots:{default:!0}}),P(M,C)},E=M=>{var C=T0();K(()=>ur(C,1,sa(v_),"svelte-5dakll")),P(M,C)};Y(I,M=>{e.checkoutCompleted?M(z):M(E,!1)},!0)}P(x,S)};Y(k,x=>{e.currentPage==="error"?x(w):x(b,!1)},!0)}P(y,h)};Y(_,y=>{e.currentPage==="success"?y(f):y(v,!1)})}P(p,g)},$$slots:{navbarHeaderContent:!0,navbarBodyContent:!0,mainContent:!0}}),me(),a()}_n(["click"]);function q0(r,e){var C,B,O;fe(e,!0);const t=J(e,"customTranslations",19,()=>({})),n=J(e,"skipSuccessPage",3,!1);let a=new qn(t(),e.selectedLocale,e.defaultLocale),i=jr(a);const s=jr(((C=e.brandingInfo)==null?void 0:C.appearance)??null);br(vr,i),br(Un,s),br(zo,e.eventsTracker);let l=re(!1),c=re(null),u=re(null),d=re("waiting"),p=re(!1),g=re(null);const _=m(()=>{var q;return((q=o(g))==null?void 0:q.paddle_billing_params.inline_checkout_enabled)??!1});let f=re(null);const v=q=>{j(f,q,!0)},y=Uk(((O=(B=e.brandingInfo)==null?void 0:B.appearance)==null?void 0:O.color_page_bg)??"#ffffff")?"light":"dark";gr(()=>{o(d)==="success"&&o(c)&&n()&&e.onFinished(o(c))});const h=()=>{o(d)==="success"&&o(c)&&e.onFinished(o(c))},k=()=>{e.paddleService.closeCheckout(),e.onClose()},w=()=>{e.onError(o(u)??new he(_e.UnknownError,"Unknown error without state set.")),e.unmountPaddlePurchaseUi()};let b=null,x=null,S=null;Cr(async()=>{var N;e.isInElement||(b=document.documentElement.style.height,x=document.documentElement.style.overflow,S=document.body.style.height,document.documentElement.style.height="100%",document.body.style.height="100%",document.documentElement.style.overflow="hidden");const q=()=>{j(d,"loading")},L=()=>{j(p,!0),j(d,"loading")},F={offeringIdentifier:e.productDetails.presentedOfferingContext.offeringIdentifier,targetingContext:null,placementIdentifier:null};let A;try{A=await e.paddleService.startCheckout({appUserId:e.appUserId,productId:e.productDetails.identifier,presentedOfferingContext:F,purchaseOption:e.purchaseOption,customerEmail:e.customerEmail,metadata:e.metadata,locale:e.selectedLocale,attributionMetadata:e.attributionMetadata}),j(g,A,!0),j(l,A.paddle_billing_params.is_sandbox,!0),o(_)&&await yu()}catch(W){const G=$i(W,`Start Paddle checkout failed: ${W}`);j(u,G,!0),j(d,"error"),e.onError(G);return}try{const W=await e.paddleService.purchase({operationSessionId:A.operation_session_id,transactionId:(N=A.paddle_billing_params)==null?void 0:N.transaction_id,onCheckoutLoaded:q,onClose:e.onClose,params:{rcPackage:e.rcPackage,purchaseOption:e.purchaseOption,appUserId:e.appUserId,presentedOfferingIdentifier:e.productDetails.presentedOfferingContext.offeringIdentifier,customerEmail:e.customerEmail,locale:e.selectedLocale||e.defaultLocale},...o(_)&&{displayMode:"inline",theme:y,onCheckoutTotals:v,onCheckoutCompleted:L}});n()?e.onFinished(W):(j(c,W,!0),j(d,"success"))}catch(W){const G=$i(W,`Paddle purchase failed: ${W}`);j(u,G,!0),j(d,"error"),e.onError(G)}}),Wt(()=>{if(!e.isInElement){const q=(L,F,A)=>{A===""?L.style.removeProperty(F):L.style.setProperty(F,A)};q(document.documentElement,"height",b),q(document.body,"height",S),q(document.documentElement,"overflow",x)}});var I=Se(),z=oe(I);{var E=q=>{A0(q,{get brandingInfo(){return e.brandingInfo},get isSandbox(){return o(l)},get isInElement(){return e.isInElement},onClose:k,get productDetails(){return e.productDetails},get purchaseOption(){return e.purchaseOption},get totals(){return o(f)},get currentPage(){return o(d)},get checkoutCompleted(){return o(p)},get lastError(){return o(u)},onContinue:h,closeWithError:w})},M=q=>{var L=Se(),F=oe(L);{var A=N=>{m0(N,{get currentPage(){return o(d)},get brandingInfo(){return e.brandingInfo},get productDetails(){return e.productDetails},get isSandbox(){return o(l)},get lastError(){return o(u)},get isInElement(){return e.isInElement},onContinue:h,closeWithError:w})};Y(F,N=>{o(d)!=="waiting"&&N(A)},!0)}P(q,L)};Y(z,q=>{o(_)?q(E):q(M,!1)})}P(r,I),me()}var F0=V('<div class="stripe-checkout-container svelte-1kxsl49" data-testid="stripe-checkout-container"><div class="stripe-checkout-mount svelte-1kxsl49" data-testid="stripe-checkout-mount"></div></div>');const M0={hash:"svelte-1kxsl49",code:".stripe-checkout-container.svelte-1kxsl49 {width:100%;min-height:400px;display:flex;flex-direction:column;}.stripe-checkout-mount.svelte-1kxsl49 {width:100%;flex:1;}"};function z0(r,e){fe(e,!0),we(r,M0);let t,n=null;async function a(){try{e.onContinue()}catch(l){e.onError(l instanceof he?l:new he(_e.ErrorSettingUpPurchase,l instanceof Error?l.message:"Failed to complete checkout"))}}Cr(async()=>{try{const l=e.stripeBillingParams.publishable_api_key,c=e.stripeBillingParams.stripe_account_id,{embeddedCheckout:u}=await pr.initializeStripeCheckout(c,l,e.stripeBillingParams,a);n=u,t&&u.mount(t)}catch(l){e.onError(l instanceof Error?new he(_e.ErrorSettingUpPurchase,l.message):new he(_e.ErrorSettingUpPurchase,"Failed to initialize Stripe Checkout"))}}),Wt(()=>{n&&(n.destroy(),n=null)});var i=F0(),s=T(i);Oa(s,l=>t=l,()=>t),P(r,i),me()}var j0=V('<div class="stripe-checkout-wrapper svelte-zapbpj"><!></div>'),N0=V("<!> <!>",1),O0=V("<!> <!>",1),L0=V('<div class="rcb-ui-loading-container svelte-zapbpj"><!></div>');const B0={hash:"svelte-zapbpj",code:`.rcb-ui-loading-container.svelte-zapbpj {display:flex;flex-direction:column;align-items:center;}.stripe-checkout-wrapper.svelte-zapbpj {width:100%;min-height:100%;display:flex;flex-direction:column;overflow:hidden auto;}
401
401
 
402
402
  /* 991px is the breakpoint for the mobile layout in Stripe Checkout */
403
403
  @media (min-width: 991px) {.stripe-checkout-wrapper.svelte-zapbpj {justify-content:center;align-items:center;}
404
- }`};function O0(r,e){fe(e,!0),ke(r,N0);const t=()=>pe(s,"$brandingAppearanceStore",a),n=()=>pe(d,"$translator",a),[a,i]=Ye(),s=Xe(Bn),l=m(()=>t()??void 0),c=m(()=>new Rn(o(l)).pageStyleVars),u=m(()=>{var p;return((p=o(l))==null?void 0:p.color_product_info_bg)??"#ffffff"}),d=Xe(vr);f_(r,{get brandingInfo(){return e.brandingInfo},get isInElement(){return e.isInElement},get isSandbox(){return e.isSandbox},mainContent:_=>{var g=xe(),f=ae(g);{var v=h=>{var w=xe(),k=ae(w);{var b=x=>{var I=M0(),S=T(I);q0(S,{get stripeBillingParams(){return e.stripeBillingParams},get onContinue(){return e.onContinue},get onError(){return e.onError}}),Z(()=>De(I,`${o(c)??""}; background-color: ${o(u)??""}`)),P(x,I)};K(k,x=>{e.stripeBillingParams&&x(b)})}P(h,w)},y=h=>{var w=xe(),k=ae(w);{var b=I=>{var S=j0(),q=T(S);Mo(q,{gap:"medium",align:"center",children:(E,D)=>{var C=z0(),B=ae(C);Ri(B,{color:"var(--rc-color-grey-text-dark)"});var F=Y(B,2);{var z=L=>{var A=F0(),M=ae(A);qe(M,{size:"heading-md",children:(H,X)=>{var R=je();Z($=>ve(R,$),[()=>n().translate(ie.LoadingPageProcessingPayment)]),P(H,R)},$$slots:{default:!0}});var N=Y(M,2);qe(N,{size:"body-small",children:(H,X)=>{var R=je();Z($=>ve(R,$),[()=>n().translate(ie.LoadingPageKeepPageOpen)]),P(H,R)},$$slots:{default:!0}}),P(L,A)};K(F,L=>{e.currentPage==="purchasing"&&L(z)})}P(E,C)},$$slots:{default:!0}}),P(I,S)},x=I=>{var S=xe(),q=ae(S);{var E=C=>{Ji(C,{get onContinue(){return e.onContinue},fullWidth:!0})},D=C=>{var B=xe(),F=ae(B);{var z=L=>{{let A=m(()=>{var N;return((N=e.brandingInfo)==null?void 0:N.support_email)??null}),M=m(()=>{var N;return((N=e.brandingInfo)==null?void 0:N.app_name)??null});Zi(L,{get lastError(){return e.lastError},get productDetails(){return e.productDetails},get supportEmail(){return o(A)},get onDismiss(){return e.closeWithError},get appName(){return o(M)},fullWidth:!0})}};K(F,L=>{e.currentPage==="error"&&L(z)},!0)}P(C,B)};K(q,C=>{e.currentPage==="success"?C(E):C(D,!1)},!0)}P(I,S)};K(k,I=>{e.currentPage==="loading"||e.currentPage==="purchasing"?I(b):I(x,!1)},!0)}P(h,w)};K(f,h=>{e.currentPage==="stripe-checkout"?h(v):h(y,!1)})}P(_,g)},$$slots:{mainContent:!0}}),me(),i()}function L0(r,e){var k;fe(e,!0);const t=Q(e,"customTranslations",19,()=>({})),n=Q(e,"skipSuccessPage",3,!1);let a=e.rcPackage.webBillingProduct,i=new An(t(),e.selectedLocale,e.defaultLocale),s=Or(i);kr(vr,s),kr(Fo,e.eventsTracker);const l=Or(((k=e.brandingInfo)==null?void 0:k.appearance)??null);kr(Bn,l);let c=re(!1),u=re(null),d=re(null),p=re("loading"),_=re(null);const g=()=>{if(o(p)==="stripe-checkout"){j(p,"purchasing"),e.purchaseOperationHelper.pollCurrentPurchaseForCompletion().then(b=>{j(u,b,!0),n()?e.onFinished(b):j(p,"success")}).catch(b=>{f($i(b,"Failed to complete purchase"))});return}o(p)==="success"&&o(u)&&e.onFinished(o(u))},f=b=>{j(d,b,!0),j(p,"error")},v=()=>{e.onError(o(d)??new he(_e.UnknownError,"Unknown error without state set."))};let y=null,h=null,w=null;Tr(async()=>{e.isInElement||(y=document.documentElement.style.height,h=document.documentElement.style.overflow,w=document.body.style.height,document.documentElement.style.height="100%",document.body.style.height="100%",document.documentElement.style.overflow="hidden");const b=a.identifier;if(!b){f(new he(_e.ErrorSettingUpPurchase,"Product ID was not set before purchase."));return}let x=e.customerEmail;(x?i_(x):null)&&(x=void 0);try{const S=await e.purchaseOperationHelper.checkoutStart({appUserId:e.appUserId,productId:b,purchaseOption:e.purchaseOption,presentedOfferingContext:e.rcPackage.webBillingProduct.presentedOfferingContext,customerEmail:x,metadata:e.metadata,workflowPurchaseContext:e.workflowPurchaseContext,attributionMetadata:e.attributionMetadata,paywallId:e.paywallId,locale:e.selectedLocale});if(!S.stripe_billing_params){f(new he(_e.ErrorSettingUpPurchase,"Missing Stripe Checkout parameters"));return}j(c,S.stripe_billing_params.environment.toLowerCase()==="sandbox"),j(_,S.stripe_billing_params,!0),j(p,"stripe-checkout")}catch(S){f($i(S,"Failed to start Stripe Checkout"))}}),Wt(()=>{if(!e.isInElement){const b=(x,I,S)=>{S===""?x.style.removeProperty(I):x.style.setProperty(I,S)};b(document.documentElement,"height",y),b(document.body,"height",w),b(document.documentElement,"overflow",h)}}),O0(r,{get currentPage(){return o(p)},get brandingInfo(){return e.brandingInfo},get productDetails(){return a},get isSandbox(){return o(c)},get lastError(){return o(d)},get isInElement(){return e.isInElement},get stripeBillingParams(){return o(_)},onContinue:g,onError:f,closeWithError:v}),me()}function m_(r){return r==null?!0:new Date(r)>new Date}function B0(r,e,t,n){const a=e.product_identifier;if(a in t)return R0(r,e,t[a]);if(a in n)return U0(r,e,n[a]);throw new Qe(Ae.CustomerInfoError,"Could not find entitlement product in subscriptions or non-subscriptions.")}function R0(r,e,t){return{identifier:r,isActive:m_(e.expires_date),willRenew:h_(e.expires_date,t),store:(t==null?void 0:t.store)??"unknown",latestPurchaseDate:new Date(e.purchase_date),originalPurchaseDate:new Date(e.purchase_date),expirationDate:rn(e.expires_date),productIdentifier:e.product_identifier,productPlanIdentifier:e.product_plan_identifier??null,unsubscribeDetectedAt:rn(t==null?void 0:t.unsubscribe_detected_at),billingIssueDetectedAt:rn(t==null?void 0:t.billing_issues_detected_at),isSandbox:(t==null?void 0:t.is_sandbox)??!1,periodType:(t==null?void 0:t.period_type)??"normal",ownershipType:(t==null?void 0:t.ownership_type)??"UNKNOWN"}}function U0(r,e,t){return{identifier:r,isActive:!0,willRenew:!1,store:t.store,latestPurchaseDate:new Date(e.purchase_date),originalPurchaseDate:new Date(t.original_purchase_date),expirationDate:null,productIdentifier:e.product_identifier,productPlanIdentifier:null,unsubscribeDetectedAt:null,billingIssueDetectedAt:null,isSandbox:t.is_sandbox,periodType:"normal",ownershipType:"UNKNOWN"}}function V0(r,e,t){const n={},a={};for(const i in r){const s=B0(i,r[i],e,t);n[i]=s,s.isActive&&(a[i]=s)}return{all:n,active:a}}function rn(r){return r==null?null:new Date(r)}function W0(r){if(!r)return null;const e=r.amount*1e6;return{amount:r.amount*100,amountMicros:e,currency:r.currency,formattedPrice:bn(e,r.currency)}}function tc(r){const e=Y0(r),t=r.subscriber,n=K0(t.non_subscriptions),a=Object.entries(r.subscriber.non_subscriptions).flatMap(([l,c])=>c.map(u=>({transactionIdentifier:u.id,productIdentifier:l,purchaseDate:new Date(u.purchase_date||u.original_purchase_date),storeTransactionId:u.store_transaction_id||null,store:u.store}))),i=new Date(r.request_date),s=Object.fromEntries(Object.entries(r.subscriber.subscriptions).map(([l,c])=>[l,{productIdentifier:l,productPlanIdentifier:c.product_plan_identifier??null,purchaseDate:new Date(c.purchase_date),originalPurchaseDate:rn(c.original_purchase_date),expiresDate:rn(c.expires_date),store:c.store,unsubscribeDetectedAt:rn(c.unsubscribe_detected_at),isSandbox:c.is_sandbox,billingIssuesDetectedAt:rn(c.billing_issues_detected_at),gracePeriodExpiresDate:rn(c.grace_period_expires_date),ownershipType:c.ownership_type??"UNKNOWN",periodType:c.period_type,refundedAt:rn(c.refunded_at),storeTransactionId:c.store_transaction_id||null,managementURL:c.management_url??null,isActive:m_(c.expires_date),willRenew:h_(c.expires_date,c),displayName:c.display_name??null,price:W0(c.price)}]));return{entitlements:V0(t.entitlements,t.subscriptions,n),allExpirationDatesByProduct:e,allPurchaseDatesByProduct:H0(r,n),activeSubscriptions:G0(e),managementURL:t.management_url,requestDate:i,firstSeenDate:new Date(t.first_seen),originalPurchaseDate:rn(t.original_purchase_date),originalAppUserId:r.subscriber.original_app_user_id,nonSubscriptionTransactions:a,subscriptionsByProductIdentifier:s}}function h_(r,e){if(e==null)return!1;const t=e.store=="promotional",n=r==null,a=e.unsubscribe_detected_at!=null,i=e.billing_issues_detected_at!=null;return!(t||n||a||i)}function H0(r,e){const t={};for(const n in r.subscriber.subscriptions){const a=r.subscriber.subscriptions[n];t[n]=new Date(a.purchase_date)}for(const n in e){const a=e[n].purchase_date;a==null?t[n]=null:t[n]=new Date(a)}return t}function Y0(r){const e={};for(const t in r.subscriber.subscriptions){const n=r.subscriber.subscriptions[t];n.expires_date==null?e[t]=null:e[t]=new Date(n.expires_date)}return e}function G0(r){const e=new Set,t=new Date;for(const n in r){const a=r[n];(a==null||a>t)&&e.add(n)}return e}function K0(r){const e={};for(const t in r){if(r[t].length===0)continue;const n=r[t].length;e[t]=r[t][n-1]}return e}const v_="1.43.0",X0="https://api.revenuecat.com",Z0="https://e.revenue.cat";var es;(function(r){r[r.CONTINUE=100]="CONTINUE",r[r.SWITCHING_PROTOCOLS=101]="SWITCHING_PROTOCOLS",r[r.PROCESSING=102]="PROCESSING",r[r.EARLY_HINTS=103]="EARLY_HINTS",r[r.OK=200]="OK",r[r.CREATED=201]="CREATED",r[r.ACCEPTED=202]="ACCEPTED",r[r.NON_AUTHORITATIVE_INFORMATION=203]="NON_AUTHORITATIVE_INFORMATION",r[r.NO_CONTENT=204]="NO_CONTENT",r[r.RESET_CONTENT=205]="RESET_CONTENT",r[r.PARTIAL_CONTENT=206]="PARTIAL_CONTENT",r[r.MULTI_STATUS=207]="MULTI_STATUS",r[r.MULTIPLE_CHOICES=300]="MULTIPLE_CHOICES",r[r.MOVED_PERMANENTLY=301]="MOVED_PERMANENTLY",r[r.MOVED_TEMPORARILY=302]="MOVED_TEMPORARILY",r[r.SEE_OTHER=303]="SEE_OTHER",r[r.NOT_MODIFIED=304]="NOT_MODIFIED",r[r.USE_PROXY=305]="USE_PROXY",r[r.TEMPORARY_REDIRECT=307]="TEMPORARY_REDIRECT",r[r.PERMANENT_REDIRECT=308]="PERMANENT_REDIRECT",r[r.BAD_REQUEST=400]="BAD_REQUEST",r[r.UNAUTHORIZED=401]="UNAUTHORIZED",r[r.PAYMENT_REQUIRED=402]="PAYMENT_REQUIRED",r[r.FORBIDDEN=403]="FORBIDDEN",r[r.NOT_FOUND=404]="NOT_FOUND",r[r.METHOD_NOT_ALLOWED=405]="METHOD_NOT_ALLOWED",r[r.NOT_ACCEPTABLE=406]="NOT_ACCEPTABLE",r[r.PROXY_AUTHENTICATION_REQUIRED=407]="PROXY_AUTHENTICATION_REQUIRED",r[r.REQUEST_TIMEOUT=408]="REQUEST_TIMEOUT",r[r.CONFLICT=409]="CONFLICT",r[r.GONE=410]="GONE",r[r.LENGTH_REQUIRED=411]="LENGTH_REQUIRED",r[r.PRECONDITION_FAILED=412]="PRECONDITION_FAILED",r[r.REQUEST_TOO_LONG=413]="REQUEST_TOO_LONG",r[r.REQUEST_URI_TOO_LONG=414]="REQUEST_URI_TOO_LONG",r[r.UNSUPPORTED_MEDIA_TYPE=415]="UNSUPPORTED_MEDIA_TYPE",r[r.REQUESTED_RANGE_NOT_SATISFIABLE=416]="REQUESTED_RANGE_NOT_SATISFIABLE",r[r.EXPECTATION_FAILED=417]="EXPECTATION_FAILED",r[r.IM_A_TEAPOT=418]="IM_A_TEAPOT",r[r.INSUFFICIENT_SPACE_ON_RESOURCE=419]="INSUFFICIENT_SPACE_ON_RESOURCE",r[r.METHOD_FAILURE=420]="METHOD_FAILURE",r[r.MISDIRECTED_REQUEST=421]="MISDIRECTED_REQUEST",r[r.UNPROCESSABLE_ENTITY=422]="UNPROCESSABLE_ENTITY",r[r.LOCKED=423]="LOCKED",r[r.FAILED_DEPENDENCY=424]="FAILED_DEPENDENCY",r[r.UPGRADE_REQUIRED=426]="UPGRADE_REQUIRED",r[r.PRECONDITION_REQUIRED=428]="PRECONDITION_REQUIRED",r[r.TOO_MANY_REQUESTS=429]="TOO_MANY_REQUESTS",r[r.REQUEST_HEADER_FIELDS_TOO_LARGE=431]="REQUEST_HEADER_FIELDS_TOO_LARGE",r[r.UNAVAILABLE_FOR_LEGAL_REASONS=451]="UNAVAILABLE_FOR_LEGAL_REASONS",r[r.INTERNAL_SERVER_ERROR=500]="INTERNAL_SERVER_ERROR",r[r.NOT_IMPLEMENTED=501]="NOT_IMPLEMENTED",r[r.BAD_GATEWAY=502]="BAD_GATEWAY",r[r.SERVICE_UNAVAILABLE=503]="SERVICE_UNAVAILABLE",r[r.GATEWAY_TIMEOUT=504]="GATEWAY_TIMEOUT",r[r.HTTP_VERSION_NOT_SUPPORTED=505]="HTTP_VERSION_NOT_SUPPORTED",r[r.INSUFFICIENT_STORAGE=507]="INSUFFICIENT_STORAGE",r[r.NETWORK_AUTHENTICATION_REQUIRED=511]="NETWORK_AUTHENTICATION_REQUIRED"})(es||(es={}));const J0=/^rcb_[a-zA-Z0-9_.-]+$/,Q0=/^pdl_[a-zA-Z0-9_.-]+$/,$0=/^test_[a-zA-Z0-9_.-]+$/,ex=/^strp_[a-zA-Z0-9_.-]+$/;function rs(r){return r?r.startsWith("rcb_sb_"):!1}function nc(r){return r?J0.test(r):!1}function y_(r){return r?Q0.test(r):!1}function b_(r){return r?ex.test(r):!1}function pa(r){return r?$0.test(r):!1}async function ut(r,e,t){return(await k_(r,e,t)).data}async function k_(r,e,t){const{apiKey:n,body:a,headers:i,httpConfig:s}=e,c=`${(s==null?void 0:s.proxyURL)??X0}${r.urlPath()}`;try{const u=await fetch(c,{method:r.method,headers:D_(n,i,s==null?void 0:s.additionalHeaders),body:tx(a),signal:t});await rx(u,r);const d=u.status;return{data:await u.json(),statusCode:d}}catch(u){throw u instanceof TypeError?new Qe(Ae.NetworkError,Oa.getPublicMessage(Ae.NetworkError),u.message):u}}async function rx(r,e){const t=r.status;if(t>=es.INTERNAL_SERVER_ERROR)ac(e,t,await r.text());else if(t>=es.BAD_REQUEST){const n=await r.json(),a=n?JSON.stringify(n):null,i=n==null?void 0:n.code,s=n==null?void 0:n.message;if(i!=null){const l=Oa.convertCodeToBackendErrorCode(i);if(l==null)ac(e,t,a,i);else throw Qe.getForBackendError(l,s)}else ac(e,t,a)}}function ac(r,e,t,n){throw new Qe(Ae.UnknownBackendError,"Unknown backend error.",`Request: ${r.name}. Status code: ${e}. Body: ${t}.`,{backendErrorCode:n})}function tx(r){return r==null?null:JSON.stringify(r)}const w_="Authorization",P_="Content-Type",x_="Accept",E_="X-Platform",S_="X-Version",I_="X-Platform-Flavor",C_="X-Platform-Flavor-Version",T_="X-Is-Sandbox",nx=new Set([w_,P_,x_,E_,S_,T_,I_,C_]);function D_(r,e,t){let n={[w_]:`Bearer ${r}`,[P_]:"application/json",[x_]:"application/json",[E_]:"web",[S_]:v_,[T_]:`${rs(r)}`};const a=os.getPlatformInfo();if(a){const i={[I_]:a.flavor,[C_]:a.version};n={...n,...i}}return e&&(n={...n,...e}),t&&(n={...t,...n}),n}const _a="/v1/subscribers",ga="/rcbilling/v1";class ax{constructor(e){ee(this,"appUserId");ee(this,"method","GET");ee(this,"name","getOfferings");this.appUserId=e}urlPath(){const e=encodeURIComponent(this.appUserId);return`${_a}/${e}/offerings`}}class ox{constructor(e,t,n,a){ee(this,"method","GET");ee(this,"name","getProducts");ee(this,"appUserId");ee(this,"productIds");ee(this,"currency");ee(this,"discountCode");this.appUserId=e,this.productIds=t,this.currency=n,this.discountCode=a}urlPath(){const e=encodeURIComponent(this.appUserId),t=this.productIds.map(encodeURIComponent).join("&id="),n=this.currency?`&currency=${this.currency}`:"",a=this.discountCode?`&discount_code=${encodeURIComponent(this.discountCode)}`:"";return`${ga}/subscribers/${e}/products?id=${t}${n}${a}`}}class ix{constructor(e){ee(this,"method","GET");ee(this,"name","getCustomerInfo");ee(this,"appUserId");this.appUserId=e}urlPath(){const e=encodeURIComponent(this.appUserId);return`${_a}/${e}`}}class sx{constructor(){ee(this,"method","POST");ee(this,"name","identify")}urlPath(){return`${_a}/identify`}}class lx{constructor(){ee(this,"method","GET");ee(this,"name","getBrandingInfo")}urlPath(){return`${ga}/branding`}}class cx{constructor(){ee(this,"method","POST");ee(this,"name","postCheckoutPrepare")}urlPath(){return`${ga}/checkout/prepare`}}class ux{constructor(){ee(this,"method","POST");ee(this,"name","postCheckoutStart")}urlPath(){return`${ga}/checkout/start`}}class dx{constructor(e){ee(this,"method","PATCH");ee(this,"name","patchCheckoutRefreshPricing");ee(this,"operationSessionId");this.operationSessionId=e}urlPath(){return`${ga}/checkout/${this.operationSessionId}`}}class px{constructor(e){ee(this,"method","POST");ee(this,"name","postCheckoutComplete");ee(this,"operationSessionId");this.operationSessionId=e}urlPath(){return`${ga}/checkout/${this.operationSessionId}/complete`}}class _x{constructor(e){ee(this,"method","GET");ee(this,"name","getCheckoutStatus");ee(this,"operationSessionId");this.operationSessionId=e}urlPath(){return`${ga}/checkout/${this.operationSessionId}`}}class gx{constructor(e){ee(this,"method","POST");ee(this,"name","setAttributes");ee(this,"appUserId");this.appUserId=e}urlPath(){const e=encodeURIComponent(this.appUserId);return`${_a}/${e}/attributes`}}class fx{constructor(){ee(this,"method","POST");ee(this,"name","postReceipt")}urlPath(){return"/v1/receipts"}}class mx{constructor(e){ee(this,"method","GET");ee(this,"name","getVirtualCurrencies");ee(this,"appUserId");this.appUserId=e}urlPath(){const e=encodeURIComponent(this.appUserId);return`${_a}/${e}/virtual_currencies`}}class hx{constructor(e){ee(this,"method","GET");ee(this,"name","getWorkflows");ee(this,"appUserId");this.appUserId=e}urlPath(){return`${_a}/${encodeURIComponent(this.appUserId)}/workflows?type=paywall`}}class vx{constructor(e,t){ee(this,"method","GET");ee(this,"name","getWorkflowData");ee(this,"appUserId");ee(this,"workflowId");this.appUserId=e,this.workflowId=t}urlPath(){return`${_a}/${encodeURIComponent(this.appUserId)}/workflows/${encodeURIComponent(this.workflowId)}`}}const oc={};class yx{constructor(e,t=oc,n){ee(this,"API_KEY");ee(this,"httpConfig");ee(this,"isSandbox");ee(this,"purchasesContext");this.API_KEY=e,this.httpConfig=t,this.isSandbox=rs(e),this.purchasesContext=n}getIsSandbox(){return this.isSandbox}async getOfferings(e){return await ut(new ax(e),{apiKey:this.API_KEY,httpConfig:this.httpConfig})}async getCustomerInfo(e){return await ut(new ix(e),{apiKey:this.API_KEY,httpConfig:this.httpConfig})}async identify(e,t){const n={app_user_id:e,new_app_user_id:t},a=await k_(new sx,{apiKey:this.API_KEY,body:n,httpConfig:this.httpConfig}),i=a.statusCode===201;return{...a.data,was_created:i}}async getProducts(e,t,n,a){return await ut(new ox(e,t,n,a),{apiKey:this.API_KEY,httpConfig:this.httpConfig})}async getBrandingInfo(){return await ut(new lx,{apiKey:this.API_KEY,httpConfig:this.httpConfig})}async postCheckoutPrepare(e,t){const n={product_id:e,price_id:t.priceId};return t.id!=="base_option"&&(n.offer_id=t.id),await ut(new cx,{apiKey:this.API_KEY,body:n,httpConfig:this.httpConfig})}async postCheckoutStart({appUserId:e,productId:t,purchaseOption:n,presentedOfferingContext:a,traceId:i,presentedStepId:s,paywallId:l,customerEmail:c,metadata:u,locale:d,attributionMetadata:p}){var g,f;const _={app_user_id:e,product_id:t,email:c,price_id:n.priceId,presented_offering_identifier:a.offeringIdentifier,trace_id:i};return u&&(_.metadata=u),n.id!=="base_option"&&(_.offer_id=n.id),a.targetingContext&&(_.applied_targeting_rule={rule_id:a.targetingContext.ruleId,revision:a.targetingContext.revision}),a.placementIdentifier&&(_.presented_placement_identifier=a.placementIdentifier),(f=(g=this.purchasesContext)==null?void 0:g.workflowContext)!=null&&f.workflowIdentifier&&(_.presented_workflow_id=this.purchasesContext.workflowContext.workflowIdentifier),s&&(_.presented_step_id=s),l&&(_.paywall={paywall_id:l}),d&&(_.locale=d),p&&(_.attribution_metadata=p),await ut(new ux,{apiKey:this.API_KEY,body:_,httpConfig:this.httpConfig})}async patchCheckoutRefreshPricing(e,{countryCode:t,postalCode:n,discountCode:a,signal:i}={}){const s={country_code:t,postal_code:n,discount_code:a};return await ut(new dx(e),{apiKey:this.API_KEY,body:s,httpConfig:this.httpConfig},i)}async postCheckoutComplete(e,t,n){const a={email:t};return n&&(a.locale=n),await ut(new px(e),{apiKey:this.API_KEY,body:a,httpConfig:this.httpConfig})}async getCheckoutStatus(e){return await ut(new _x(e),{apiKey:this.API_KEY,httpConfig:this.httpConfig})}async setAttributes(e,t){const n=Date.now(),a={};for(const[s,l]of Object.entries(t))a[s]={value:l,updated_at_ms:n};const i={attributes:a};return await ut(new gx(e),{apiKey:this.API_KEY,body:i,httpConfig:this.httpConfig})}async postReceipt(e,t,n,a,i,s,l){var d,p;let c=null;i.targetingContext&&(c={rule_id:i.targetingContext.ruleId,revision:i.targetingContext.revision});const u={fetch_token:a,product_id:t,currency:n,app_user_id:e,presented_offering_identifier:i.offeringIdentifier,presented_placement_identifier:i.placementIdentifier,presented_workflow_id:(p=(d=this.purchasesContext)==null?void 0:d.workflowContext)==null?void 0:p.workflowIdentifier,applied_targeting_rule:c,initiation_source:s};return l&&(u.paywall={paywall_id:l}),await ut(new fx,{apiKey:this.API_KEY,body:u,httpConfig:this.httpConfig})}async getVirtualCurrencies(e){return await ut(new mx(e),{apiKey:this.API_KEY,httpConfig:this.httpConfig})}async getWorkflows(e){return await ut(new hx(e),{apiKey:this.API_KEY,httpConfig:this.httpConfig})}async getWorkflowById(e,t){const n=await ut(new vx(e,t),{apiKey:this.API_KEY,httpConfig:this.httpConfig});if(!("action"in n))return n;if(n.action==="inline")return n.data;if(n.action!=="use_cdn")throw new Error(`Unexpected workflow action: ${n.action}`);const a=await fetch(n.url);if(!a.ok)throw new Error(`Failed to fetch workflow from CDN: ${a.statusText}`);return await a.json()}}function bx(r){if(!(nc(r)||pa(r)||y_(r)||b_(r)))throw new Qe(Ae.InvalidCredentialsError,"Invalid API key. Use your Web Billing API key.")}function ic(r){if(!r||new Set(["no_user","null","none","nil","(null)","NaN","\\x00","","unidentified","undefined","unknown"]).has(r)||r.includes("/"))throw new Qe(Ae.InvalidAppUserIdError,'Provided user id: "'+(r??"[Not provided]")+'" is not valid. See https://www.revenuecat.com/docs/customers/user-ids#tips-for-setting-app-user-ids for more information.')}function kx(r){if(r!=null&&r.endsWith("/"))throw new Qe(Ae.ConfigurationError,"Invalid proxy URL. The proxy URL should not end with a trailing slash.")}function wx(r){if(r){for(const e in r)if(nx.has(e))throw new Qe(Ae.ConfigurationError,"Invalid additional headers. Some headers are reserved for internal use.")}}var sc=(r=>(r.Current="current",r))(sc||{});function A_(r,e){async function t(...n){return await this.preload(),await r.call(this,...n)}return t}const q_=(r,e)=>{const t={...r.webBillingProduct,presentedOfferingContext:{...r.webBillingProduct.presentedOfferingContext,placementIdentifier:e}};return{...r,webBillingProduct:t,rcBillingProduct:t}},fa=(r,e)=>r==null?null:q_(r,e),Px=(r,e,t)=>{const n=r.offering_ids_by_placement??{},a=r.fallback_offering_id;let i;if(t in n){const l=n[t]??null;l&&(i=e[l])}if(!i&&a&&a in e&&(i=e[a]),!i)return null;const s=Object.fromEntries(Object.entries(i.packagesById).map(([l,c])=>[l,q_(c,t)]));return{...i,packagesById:s,availablePackages:Object.values(s),weekly:fa(i.weekly,t),monthly:fa(i.monthly,t),twoMonth:fa(i.twoMonth,t),threeMonth:fa(i.threeMonth,t),sixMonth:fa(i.sixMonth,t),annual:fa(i.annual,t),lifetime:fa(i.lifetime,t)}};function xx(r,e){const t={};e.product_details.forEach(i=>{t[i.identifier]=i});const n={};r.offerings.forEach(i=>{const s=i.identifier===r.current_offering_id,l=xm(s,i,t,r.targeting,r.ui_config);l!=null&&(n[i.identifier]=l)});const a=r.current_offering_id?n[r.current_offering_id]??null:null;return Object.keys(n).length==0&&ye.debugLog("Empty offerings. Please make sure you've configured offerings correctly in the RevenueCat dashboard and that the products are properly configured."),{all:n,current:a}}const Ex=1000001;function Kr(r,e,t){return t.formatPrice(bi(r,e),e)}function Sx(r,e,t){const n=t.formatPrice(r.amountMicros,r.currency);return e?e.unit===Fe.Year?Kr(r.amountMicros/Bl/e.number,r.currency,t):e.unit===Fe.Month?Kr(r.amountMicros/Ni/e.number,r.currency,t):e.unit===Fe.Week?Kr(r.amountMicros/Ll/e.number,r.currency,t):e.unit===Fe.Day?Kr(r.amountMicros/e.number,r.currency,t):n:n}function Ix(r,e,t){const n=t.formatPrice(r.amountMicros,r.currency);return e?e.unit===Fe.Year?Kr(r.amountMicros/Rl/e.number,r.currency,t):e.unit===Fe.Month?Kr(r.amountMicros/Oi/e.number,r.currency,t):e.unit===Fe.Week?Kr(r.amountMicros/e.number,r.currency,t):e.unit===Fe.Day?Kr(r.amountMicros*Ll/e.number,r.currency,t):n:n}function Cx(r,e,t){return e?e.unit===Fe.Year?Kr(r.amountMicros/Li,r.currency,t):e.unit===Fe.Month?Kr(r.amountMicros/e.number,r.currency,t):e.unit===Fe.Week?Kr(r.amountMicros*Oi/e.number,r.currency,t):e.unit===Fe.Day?Kr(r.amountMicros*Ni/e.number,r.currency,t):Kr(r.amountMicros/(e.number||1),r.currency,t):t.formatPrice(r.amountMicros,r.currency)}function Tx(r,e,t){const n=t.formatPrice(r.amountMicros,r.currency);return e?e.unit===Fe.Year?Kr(r.amountMicros/e.number,r.currency,t):e.unit===Fe.Month?Kr(r.amountMicros*Li/e.number,r.currency,t):e.unit===Fe.Week?Kr(r.amountMicros*Rl/e.number,r.currency,t):e.unit===Fe.Day?Kr(r.amountMicros*Bl/e.number,r.currency,t):n:n}function M_(r,e,t){return{pricePerDay:Sx(r,e,t),pricePerWeek:Ix(r,e,t),pricePerMonth:Cx(r,e,t),pricePerYear:Tx(r,e,t)}}function Dx(r){return r.cycleCount>0?r.cycleCount:1}function Ax(r){return"durationMode"in r&&r.durationMode==="forever"}function qx(r){return"durationMode"in r&&r.durationMode==="time_window"}function Mx(r,e){return qx(e)?r.base.period:e.period}function Fx(r){return r.period===null||Ax(r)?null:{number:r.period.number*Dx(r),unit:r.period.unit}}function zx(r,e){const t=xo(new Date,r,!0);return t?e.translateDate(t,{dateStyle:"long"})??"":""}function jx(r,e,t){const n=r.discount??r.trial??r.introPrice,a=r.trial&&!r.discount?r.introPrice:null;if(n===null)return;const i=Fx(n),s=Mx(r,n),{price:l}=n;if(l!==null){const c=M_(l,s,e);t["product.offer_price"]=e.formatPrice(l.amountMicros,l.currency),t["product.offer_price_per_day"]=c.pricePerDay,t["product.offer_price_per_week"]=c.pricePerWeek,t["product.offer_price_per_month"]=c.pricePerMonth,t["product.offer_price_per_year"]=c.pricePerYear}if(i!==null){const c=Ul(i,e);t["product.offer_period"]=c.period,t["product.offer_period_abbreviated"]=c.periodAbbreviated,t["product.offer_period_with_unit"]=c.periodWithUnit,t["product.offer_period_in_days"]=c.periodInDays,t["product.offer_period_in_weeks"]=c.periodInWeeks,t["product.offer_period_in_months"]=c.periodInMonths,t["product.offer_period_in_years"]=c.periodInYears,t["product.offer_end_date"]=zx(i,e)}if(a!==null&&(a.price!==null&&(t["product.secondary_offer_price"]=e.formatPrice(a.price.amountMicros,a.price.currency)),a.period!==null)){const c=Ul(a.period,e);t["product.secondary_offer_period"]=c.period,t["product.secondary_offer_period_abbreviated"]=c.periodAbbreviated}}function Nx(r,e,t){var a;const n=((a=r.discount)==null?void 0:a.price)??null;n!==null&&(t["product.offer_price"]=e.formatPrice(n.amountMicros,n.currency))}function F_(r,e={}){var a;if(e.translator)return N_(r,e.translator);const t=((a=r.paywallComponents)==null?void 0:a.default_locale)||Hr,n=new An(e.customTranslations??{},e.selectedLocale??t,e.fallbackLocale??t);return N_(r,n)}function ts(r){var a;const e=r.webBillingProduct.price,t=z_(r),n=r.webBillingProduct.period||((a=t==null?void 0:t.base)==null?void 0:a.period);if(!n||!n.number||n.number<=0)return e.amountMicros;switch(n.unit){case Fe.Year:return e.amountMicros/Li;case Fe.Month:return e.amountMicros/n.number;case Fe.Week:return e.amountMicros*Oi/n.number;case Fe.Day:return e.amountMicros*Ni/n.number;default:return e.amountMicros/(n.number||1)}}function z_(r){return r.webBillingProduct.productType===Xr.Subscription?r.webBillingProduct.defaultSubscriptionOption:r.webBillingProduct.productType===Xr.NonConsumable||r.webBillingProduct.productType===Xr.Consumable?r.webBillingProduct.defaultNonSubscriptionOption:r.webBillingProduct.defaultPurchaseOption}function Ox(r,e){return r===Xr.Subscription&&e!=null}function Lx(r,e){return r!==Xr.Subscription&&e!=null}function j_(r,e,t,n=!1){return t.translate(ie.PaywallVariablesPricePerPeriod,{formattedPrice:r,period:e.base.period?e.base.period.number===1?t.translatePeriodUnit(e.base.period.unit,{noWhitespace:!0,short:!n}):t.translatePeriod(e.base.period.number,e.base.period.unit,{noWhitespace:!0,short:!n}):""})}function N_(r,e){const t=r.availablePackages,n=t.filter(i=>i.webBillingProduct.productType===Xr.Subscription),a=n.length>0?n.reduce((i,s)=>{const l=ts(i),c=ts(s);return l>c?i:s}):null;return t.reduce((i,s)=>(i[s.identifier]=Bx(s,a,e),i),{})}function Bx(r,e,t){const n=r.webBillingProduct,a=n.price,i=t.formatPrice(a.amountMicros,a.currency),s=z_(r),l=n.productType,c={"product.store_product_name":n.title,"product.price":i,"product.price_per_period":"","product.price_per_period_abbreviated":"","product.price_per_day":"","product.price_per_week":"","product.price_per_month":"","product.price_per_year":"","product.period":"","product.period_abbreviated":"","product.periodly":"","product.period_in_days":"","product.period_in_weeks":"","product.period_in_months":"","product.period_in_years":"","product.period_with_unit":"","product.currency_code":a.currency,"product.currency_symbol":t.formatPrice(0,a.currency).replace("0",""),"product.offer_price":"","product.offer_price_per_day":"","product.offer_price_per_week":"","product.offer_price_per_month":"","product.offer_price_per_year":"","product.offer_period":"","product.offer_period_abbreviated":"","product.offer_period_in_days":"","product.offer_period_in_weeks":"","product.offer_period_in_months":"","product.offer_period_in_years":"","product.offer_period_with_unit":"","product.offer_end_date":"","product.secondary_offer_price":"","product.secondary_offer_period":"","product.secondary_offer_period_abbreviated":"","product.relative_discount":""};if(Ox(l,s)){c["product.price_per_period_abbreviated"]=j_(i,s,t),c["product.price_per_period"]=j_(i,s,t,!0);const u=n.period||s.base.period,d=M_(a,u,t);if(c["product.price_per_day"]=d.pricePerDay,c["product.price_per_week"]=d.pricePerWeek,c["product.price_per_month"]=d.pricePerMonth,c["product.price_per_year"]=d.pricePerYear,u){const p=Ul(u,t);c["product.period"]=p.period,c["product.period_abbreviated"]=p.periodAbbreviated,c["product.period_with_unit"]=p.periodWithUnit,c["product.period_in_days"]=p.periodInDays,c["product.period_in_weeks"]=p.periodInWeeks,c["product.period_in_months"]=p.periodInMonths,c["product.period_in_years"]=p.periodInYears,c["product.periodly"]=t.translatePeriodFrequency(u.number,u.unit)||""}if(e){const p=ts(r),_=ts(e),g=(_-p)*100/_;c["product.relative_discount"]=g<1?"":t.translate(ie.PaywallVariablesSubRelativeDiscount,{discount:g.toFixed(0)})}jx(s,t,c)}return Lx(l,s)&&(c["product.price"]=i,c["product.price_per_period"]=i,c["product.price_per_period_abbreviated"]=i,c["product.price_per_month"]=i,c["product.period_with_unit"]=t.translate(ie.PeriodsLifetime),c["product.period_in_months"]=t.translate(ie.PeriodsLifetime),c["product.periodly"]=t.translate(ie.PeriodsLifetime),c["product.price_per_week"]="",c["product.relative_discount"]="",c["product.period"]="",c["product.period_abbreviated"]="",Nx(s,t,c)),c}var Rx=/(%?)(%([sdijo]))/g;function Ux(r,e){switch(e){case"s":return r;case"d":case"i":return Number(r);case"j":return JSON.stringify(r);case"o":{if(typeof r=="string")return r;const t=JSON.stringify(r);return t==="{}"||t==="[]"||/^\[object .+?\]$/.test(t)?r:t}}}function lc(r,...e){if(e.length===0)return r;let t=0,n=r.replace(Rx,(a,i,s,l)=>{const c=e[t],u=Ux(c,l);return i?a:(t++,u)});return t<e.length&&(n+=` ${e.slice(t).join(" ")}`),n=n.replace(/%{2,2}/g,"%"),n}var Vx=2;function Wx(r){if(!r.stack)return;const e=r.stack.split(`
405
- `);e.splice(1,Vx),r.stack=e.join(`
406
- `)}var Hx=class extends Error{constructor(r,...e){super(r),this.message=r,this.name="Invariant Violation",this.message=lc(r,...e),Wx(this)}},O_=(r,e,...t)=>{if(!r)throw new Hx(e,...t)};O_.as=(r,e,t,...n)=>{if(!e){const a=n.length===0?t:lc(t,...n);let i;try{i=Reflect.construct(r,[a])}catch{i=r(a)}throw i}};const Yx="[MSW]";function cc(r,...e){const t=lc(r,...e);return`${Yx} ${t}`}function Gx(r,...e){console.warn(cc(r,...e))}function Kx(r,...e){console.error(cc(r,...e))}const Xx={formatMessage:cc,warn:Gx,error:Kx};function Zx(){O_(typeof URL<"u",Xx.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 L_=(r=>(r.HEAD="HEAD",r.GET="GET",r.POST="POST",r.PUT="PUT",r.PATCH="PATCH",r.OPTIONS="OPTIONS",r.DELETE="DELETE",r))(L_||{});Zx();class Jx{constructor(e,t,n,a){ee(this,"initialDelay");ee(this,"maxDelay");ee(this,"jitterPercent");ee(this,"callback");ee(this,"currentDelay");ee(this,"timeoutId");ee(this,"executingCallback",!1);ee(this,"stopped",!1);ee(this,"currentFlushPromise",null);this.initialDelay=e,this.currentDelay=e,this.maxDelay=t,this.jitterPercent=n,this.callback=a}tryFlush(){if(!this.stopped){if(this.backingOff()){ye.debugLog("Backing off, not flushing");return}this.clearTimeout(),this.executeCallbackWithRetries().catch(()=>{})}}start(){this.stopped=!1,this.currentDelay=this.initialDelay}stop(){this.stopped=!0,this.clearTimeout()}flushImmediately(e){return this.clearTimeout(),this.executeCallbackWithRetries(e)}async flushUntilDrain(e){const t=this.currentFlushPromise;if(t)try{await t}catch{}this.stop();try{let n=!1;for(;!n;)n=await this.flushImmediately(e)}finally{this.start()}}schedule(e){if(this.stopped||this.timeoutId!==void 0)return;const t=this.addJitter(e||this.currentDelay);this.timeoutId=setTimeout(()=>{this.timeoutId=void 0,this.executeCallbackWithRetries().catch(()=>{})},t)}backoff(){const e=this.currentDelay,t=Math.min(this.currentDelay*2,this.maxDelay);ye.debugLog(`Backing next off to ${e}ms delay`),this.clearTimeout(),this.currentDelay=t,this.schedule(e)}reset(){this.currentDelay!==this.initialDelay&&(this.clearTimeout(),this.currentDelay=this.initialDelay)}async executeCallbackWithRetries(e){if(this.executingCallback)return ye.debugLog("Callback already running, rescheduling"),this.schedule(),!0;this.executingCallback=!0;let t;try{t=Promise.resolve(this.callback(e))}catch(n){t=Promise.reject(n)}this.currentFlushPromise=t.then(()=>{},()=>{});try{const n=await t;return this.reset(),n}catch{return this.backoff(),!0}finally{this.executingCallback=!1,this.currentFlushPromise=null}}backingOff(){return this.currentDelay>this.initialDelay}clearTimeout(){clearTimeout(this.timeoutId),this.timeoutId=void 0}addJitter(e){const t=e*this.jitterPercent,n=e-t,a=e+t;return Math.floor(Math.random()*(a-n+1)+n)}}const Qx=Object.entries({componentType:"component_type",componentName:"component_name",componentValue:"component_value",componentURL:"component_url",originIndex:"origin_index",destinationIndex:"destination_index",originContextName:"origin_context_name",destinationContextName:"destination_context_name",defaultIndex:"default_index",originPackageId:"origin_package_id",destinationPackageId:"destination_package_id",defaultPackageId:"default_package_id",originProductId:"origin_product_id",destinationProductId:"destination_product_id",defaultProductId:"default_product_id",currentPackageId:"current_package_id",resultingPackageId:"resulting_package_id",currentProductId:"current_product_id",resultingProductId:"resulting_product_id"}),B_=r=>r.displayMode===void 0?{}:{display_mode:r.displayMode,dark_mode:r.darkMode??!1,locale:r.locale??"en_US"},$x=r=>{const e={};for(const[t,n]of Qx){const a=r[t];a!==void 0&&Object.assign(e,{[n]:a})}return e};function eE(r){return!r||!r.placementIdentifier&&!r.targetingContext?null:{...r.placementIdentifier?{placement_identifier:r.placementIdentifier}:{},...r.targetingContext?{targeting_revision:r.targetingContext.revision,targeting_rule_id:r.targetingContext.ruleId}:{}}}const rE=(r,e,t)=>{const n={version:1,id:e,app_user_id:r.appUserId,session_id:r.sessionId,offering_id:r.offeringId,paywall_revision:r.paywallRevision,timestamp:t,paywall_rc_public_id:r.paywallRcPublicId},a=eE(r.presentedOfferingContext);return a&&(n.presented_offering_context=a),n};class R_{constructor(e){ee(this,"id");ee(this,"timestamp");ee(this,"data");this.id=da(),this.timestamp=Date.now(),this.data=e}toJSON(){const e=rE(this.data,this.id,this.timestamp);switch(this.data.type){case"paywall_impression":return{type:this.data.type,...e,...B_(this.data)};case"paywall_close":case"paywall_cancel":return{type:this.data.type,...e};case"paywall_component_interacted":return{type:this.data.type,...e,...B_(this.data),...$x(this.data)}}}}function Vn(){if(typeof window<"u")return window;throw new Qe(Ae.UnsupportedError,"window is not available. This SDK requires a browser environment for this operation.")}function ns(){if(typeof window<"u")return window}function uc(){if(typeof document<"u")return document;throw new Qe(Ae.UnsupportedError,"document is not available. This SDK requires a browser environment for this operation.")}function tE(){if(typeof document<"u")return document}function nE(r,e){const t=ns(),n=t!=null&&t.location?new URLSearchParams(t.location.search):new URLSearchParams;let a=null,i=null;typeof screen<"u"&&screen&&(a=screen.width,i=screen.height);const s=tE(),l=(s==null?void 0:s.referrer)??null,c=(s==null?void 0:s.title)??null;return{libraryName:"purchases-js",libraryVersion:v_,locale:navigator.language,userAgent:navigator.userAgent,timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone,screenWidth:a,screenHeight:i,utmSource:n.get("utm_source")??null,utmMedium:n.get("utm_medium")??null,utmCampaign:n.get("utm_campaign")??null,utmContent:n.get("utm_content")??null,utmTerm:n.get("utm_term")??null,pageReferrer:l,pageUrl:t!=null&&t.location?`${t.location.origin}${t.location.pathname}`:"",pageTitle:c,source:r,rcSource:e}}const aE=2e3,oE=5*6e4,iE=.1,U_=50*1024;class sE{constructor(e){ee(this,"apiKey");ee(this,"eventsQueue",[]);ee(this,"eventsUrl");ee(this,"flushManager");ee(this,"traceId");ee(this,"appUserId");ee(this,"isSilent");ee(this,"rcSource");ee(this,"workflowContext");ee(this,"isDisposed",!1);var t;this.apiKey=e.apiKey,this.eventsUrl=`${((t=e.httpConfig)==null?void 0:t.eventsURL)??Z0}/v1/events`,this.appUserId=e.appUserId,this.isSilent=e.silent||!1,this.rcSource=e.rcSource,this.workflowContext=e.workflowContext,this.traceId=e.trace_id||da(),this.flushManager=new Jx(aE,oE,iE,this.doFlush.bind(this))}async updateUser(e){this.appUserId=e}getTraceId(){return this.traceId}trackSDKEvent(e){this.trackEvent({...e,source:"sdk"})}trackExternalEvent(e){this.trackEvent({...e})}trackPaywallEvent(e){if(this.isSilent){ye.verboseLog("Skipping event tracking, the EventsTracker is silent");return}try{const t=new R_(e);ye.debugLog(`[PaywallEvent] Queuing ${e.type} (queue size: ${this.eventsQueue.length+1}, url: ${this.eventsUrl})`),ye.debugLog(`[PaywallEvent] Payload: ${JSON.stringify(t.toJSON())}`),this.eventsQueue.push(t),this.flushManager.tryFlush()}catch(t){ye.errorLog(`Error while tracking paywall event ${e.type}: ${t}`)}}trackEvent(e){var t;if(this.isSilent){ye.verboseLog("Skipping event tracking, the EventsTracker is silent");return}try{const n=new ck({eventName:e.eventName,traceId:this.traceId,appUserId:this.appUserId,context:nE(e.source,this.rcSource),workflowIdentifier:(t=this.workflowContext)==null?void 0:t.workflowIdentifier,properties:e.properties||{mode:rt}});this.eventsQueue.push(n),this.flushManager.tryFlush()}catch(n){ye.errorLog(`Error while tracking event ${e.eventName}: ${n}`)}}dispose(){this.isDisposed||(this.flushManager.stop(),this.eventsQueue.length>0&&this.flushManager.flushUntilDrain({ignoreDisposed:!0}).catch(e=>{ye.debugLog(`Failed to flush events on dispose: ${e}`)}),this.isDisposed=!0)}async flushAllEvents(){this.isDisposed||(await this.flushManager.flushUntilDrain(),!this.isDisposed&&this.eventsQueue.length>0&&this.flushManager.schedule())}estimateSingleEventSize(e){try{return JSON.stringify(e).length}catch{return U_}}batchEventsForKeepalive(){const e=[];let t=16;for(const n of this.eventsQueue){const a=this.estimateSingleEventSize(n),i=e.length>0?1:0,s=t+a+i;if(s<=U_)e.push(n),t=s;else if(e.length===0){const l=n instanceof R_?n.data.type:n.data.eventName;return ye.warnLog(`Event exceeds keepalive size limit (${a} bytes): ${l}`),this.eventsQueue.shift(),null}else break}return e}doFlush(e){if(!(e!=null&&e.ignoreDisposed)&&this.isDisposed||this.eventsQueue.length===0)return Promise.resolve(!0);const t=this.batchEventsForKeepalive();if(!t)return Promise.resolve(this.eventsQueue.length===0);const n=JSON.stringify({events:t});return ye.debugLog(`[EventsTracker] Flushing ${t.length} event(s) to ${this.eventsUrl}`),ye.debugLog(`[EventsTracker] Body: ${n}`),fetch(this.eventsUrl,{method:L_.POST,headers:D_(this.apiKey),body:n,keepalive:!0}).then(a=>{if(ye.debugLog(`[EventsTracker] Flush response: ${a.status}`),a.status===200||a.status===201)return this.eventsQueue.splice(0,t.length),this.eventsQueue.length>0&&this.flushManager.schedule(),this.eventsQueue.length===0;throw ye.debugLog("Events failed to flush due to server error"),new Error("Events failed to flush due to server error")}).catch(a=>{throw ye.debugLog(`[EventsTracker] Flush error: ${a}`),a})}}const as=()=>{const r=ns(),e=r!=null&&r.location?new URLSearchParams(r.location.search):new URLSearchParams,t=["utm_source","utm_medium","utm_campaign","utm_term","utm_content"],n={};return t.forEach(a=>{const i=e.get(a);i!==null&&(n[a]=i)}),n},lE=["app","embedded"],dc={autoCollectUTMAsMetadata:!0,collectAnalyticsEvents:!0,storeLoadTime:"configuration"};var cE=W('<p class="svelte-17914yi"><strong>Free Trial:</strong> </p>'),uE=W('<p class="svelte-17914yi"><strong>Intro Price:</strong> </p>'),dE=W('<p class="svelte-17914yi"><strong>Discount Price:</strong> </p>'),pE=W('<div class="rc-simulated-store-modal-overlay svelte-17914yi"><div class="rc-simulated-store-modal svelte-17914yi"><div class="rc-simulated-store-modal-content svelte-17914yi"><h2 class="rc-simulated-store-modal-title svelte-17914yi">Test Store Purchase</h2> <div class="rc-simulated-store-modal-details svelte-17914yi"><div><p class="svelte-17914yi"><strong>Product:</strong> </p> <p class="svelte-17914yi"><strong>Type:</strong> </p> <p class="svelte-17914yi"><strong>Price:</strong> </p> <!> <!> <!></div></div> <div class="rc-simulated-store-modal-buttons svelte-17914yi"><button type="button" class="rc-simulated-store-modal-button rc-simulated-store-modal-button-primary svelte-17914yi">Test valid purchase</button> <button type="button" class="rc-simulated-store-modal-button rc-simulated-store-modal-button-secondary svelte-17914yi">Test failed purchase</button> <button type="button" class="rc-simulated-store-modal-button rc-simulated-store-modal-button-cancel svelte-17914yi">Cancel</button></div></div></div></div>');const _E={hash:"svelte-17914yi",code:`.rc-simulated-store-modal-overlay.svelte-17914yi {position:fixed;top:0;left:0;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.5);display:flex;justify-content:center;align-items:center;font-family:-apple-system,
404
+ }`};function U0(r,e){fe(e,!0),we(r,B0);const t=()=>pe(s,"$brandingAppearanceStore",a),n=()=>pe(d,"$translator",a),[a,i]=He(),s=Xe(Un),l=m(()=>t()??void 0),c=m(()=>new Rn(o(l)).pageStyleVars),u=m(()=>Gp(o(l)).background),d=Xe(vr);y_(r,{get brandingInfo(){return e.brandingInfo},get isInElement(){return e.isInElement},get isSandbox(){return e.isSandbox},mainContent:g=>{var _=Se(),f=oe(_);{var v=h=>{var k=Se(),w=oe(k);{var b=x=>{var S=j0(),I=T(S);z0(I,{get stripeBillingParams(){return e.stripeBillingParams},get onContinue(){return e.onContinue},get onError(){return e.onError}}),K(()=>De(S,`${o(c)??""}; background-color: ${o(u)??""}`)),P(x,S)};Y(w,x=>{e.stripeBillingParams&&x(b)})}P(h,k)},y=h=>{var k=Se(),w=oe(k);{var b=S=>{var I=L0(),z=T(I);Mo(z,{gap:"medium",align:"center",children:(E,M)=>{var C=O0(),B=oe(C);Ui(B,{color:"var(--rc-color-grey-text-dark)"});var O=H(B,2);{var q=L=>{var F=N0(),A=oe(F);qe(A,{size:"heading-md",children:(W,G)=>{var R=je();K($=>ve(R,$),[()=>n().translate(le.LoadingPageProcessingPayment)]),P(W,R)},$$slots:{default:!0}});var N=H(A,2);qe(N,{size:"body-small",children:(W,G)=>{var R=je();K($=>ve(R,$),[()=>n().translate(le.LoadingPageKeepPageOpen)]),P(W,R)},$$slots:{default:!0}}),P(L,F)};Y(O,L=>{e.currentPage==="purchasing"&&L(q)})}P(E,C)},$$slots:{default:!0}}),P(S,I)},x=S=>{var I=Se(),z=oe(I);{var E=C=>{Ji(C,{get onContinue(){return e.onContinue},fullWidth:!0})},M=C=>{var B=Se(),O=oe(B);{var q=L=>{{let F=m(()=>{var N;return((N=e.brandingInfo)==null?void 0:N.support_email)??null}),A=m(()=>{var N;return((N=e.brandingInfo)==null?void 0:N.app_name)??null});Zi(L,{get lastError(){return e.lastError},get productDetails(){return e.productDetails},get supportEmail(){return o(F)},get onDismiss(){return e.closeWithError},get appName(){return o(A)},fullWidth:!0})}};Y(O,L=>{e.currentPage==="error"&&L(q)},!0)}P(C,B)};Y(z,C=>{e.currentPage==="success"?C(E):C(M,!1)},!0)}P(S,I)};Y(w,S=>{e.currentPage==="loading"||e.currentPage==="purchasing"?S(b):S(x,!1)},!0)}P(h,k)};Y(f,h=>{e.currentPage==="stripe-checkout"?h(v):h(y,!1)})}P(g,_)},$$slots:{mainContent:!0}}),me(),i()}function R0(r,e){var w;fe(e,!0);const t=J(e,"customTranslations",19,()=>({})),n=J(e,"skipSuccessPage",3,!1);let a=e.rcPackage.webBillingProduct,i=new qn(t(),e.selectedLocale,e.defaultLocale),s=jr(i);br(vr,s),br(zo,e.eventsTracker);const l=jr(((w=e.brandingInfo)==null?void 0:w.appearance)??null);br(Un,l);let c=re(!1),u=re(null),d=re(null),p=re("loading"),g=re(null);const _=()=>{if(o(p)==="stripe-checkout"){j(p,"purchasing"),e.purchaseOperationHelper.pollCurrentPurchaseForCompletion().then(b=>{j(u,b,!0),n()?e.onFinished(b):j(p,"success")}).catch(b=>{f($i(b,"Failed to complete purchase"))});return}o(p)==="success"&&o(u)&&e.onFinished(o(u))},f=b=>{j(d,b,!0),j(p,"error")},v=()=>{e.onError(o(d)??new he(_e.UnknownError,"Unknown error without state set."))};let y=null,h=null,k=null;Cr(async()=>{e.isInElement||(y=document.documentElement.style.height,h=document.documentElement.style.overflow,k=document.body.style.height,document.documentElement.style.height="100%",document.body.style.height="100%",document.documentElement.style.overflow="hidden");const b=a.identifier;if(!b){f(new he(_e.ErrorSettingUpPurchase,"Product ID was not set before purchase."));return}let x=e.customerEmail;(x?u_(x):null)&&(x=void 0);try{const I=await e.purchaseOperationHelper.checkoutStart({appUserId:e.appUserId,productId:b,purchaseOption:e.purchaseOption,presentedOfferingContext:e.rcPackage.webBillingProduct.presentedOfferingContext,customerEmail:x,metadata:e.metadata,workflowPurchaseContext:e.workflowPurchaseContext,attributionMetadata:e.attributionMetadata,paywallId:e.paywallId,paywallSessionId:e.paywallSessionId,locale:e.selectedLocale});if(!I.stripe_billing_params){f(new he(_e.ErrorSettingUpPurchase,"Missing Stripe Checkout parameters"));return}j(c,I.stripe_billing_params.environment.toLowerCase()==="sandbox"),j(g,I.stripe_billing_params,!0),j(p,"stripe-checkout")}catch(I){f($i(I,"Failed to start Stripe Checkout"))}}),Wt(()=>{if(!e.isInElement){const b=(x,S,I)=>{I===""?x.style.removeProperty(S):x.style.setProperty(S,I)};b(document.documentElement,"height",y),b(document.body,"height",k),b(document.documentElement,"overflow",h)}}),U0(r,{get currentPage(){return o(p)},get brandingInfo(){return e.brandingInfo},get productDetails(){return a},get isSandbox(){return o(c)},get lastError(){return o(d)},get isInElement(){return e.isInElement},get stripeBillingParams(){return o(g)},onContinue:_,onError:f,closeWithError:v}),me()}function b_(r){return r==null?!0:new Date(r)>new Date}function V0(r,e,t,n){const a=e.product_identifier;if(a in t)return W0(r,e,t[a]);if(a in n)return H0(r,e,n[a]);throw new $e(Ae.CustomerInfoError,"Could not find entitlement product in subscriptions or non-subscriptions.")}function W0(r,e,t){return{identifier:r,isActive:b_(e.expires_date),willRenew:k_(e.expires_date,t),store:(t==null?void 0:t.store)??"unknown",latestPurchaseDate:new Date(e.purchase_date),originalPurchaseDate:new Date(e.purchase_date),expirationDate:rn(e.expires_date),productIdentifier:e.product_identifier,productPlanIdentifier:e.product_plan_identifier??null,unsubscribeDetectedAt:rn(t==null?void 0:t.unsubscribe_detected_at),billingIssueDetectedAt:rn(t==null?void 0:t.billing_issues_detected_at),isSandbox:(t==null?void 0:t.is_sandbox)??!1,periodType:(t==null?void 0:t.period_type)??"normal",ownershipType:(t==null?void 0:t.ownership_type)??"UNKNOWN"}}function H0(r,e,t){return{identifier:r,isActive:!0,willRenew:!1,store:t.store,latestPurchaseDate:new Date(e.purchase_date),originalPurchaseDate:new Date(t.original_purchase_date),expirationDate:null,productIdentifier:e.product_identifier,productPlanIdentifier:null,unsubscribeDetectedAt:null,billingIssueDetectedAt:null,isSandbox:t.is_sandbox,periodType:"normal",ownershipType:"UNKNOWN"}}function Y0(r,e,t){const n={},a={};for(const i in r){const s=V0(i,r[i],e,t);n[i]=s,s.isActive&&(a[i]=s)}return{all:n,active:a}}function rn(r){return r==null?null:new Date(r)}function G0(r){if(!r)return null;const e=r.amount*1e6;return{amount:r.amount*100,amountMicros:e,currency:r.currency,formattedPrice:bn(e,r.currency)}}function tc(r){const e=X0(r),t=r.subscriber,n=J0(t.non_subscriptions),a=Object.entries(r.subscriber.non_subscriptions).flatMap(([l,c])=>c.map(u=>({transactionIdentifier:u.id,productIdentifier:l,purchaseDate:new Date(u.purchase_date||u.original_purchase_date),storeTransactionId:u.store_transaction_id||null,store:u.store}))),i=new Date(r.request_date),s=Object.fromEntries(Object.entries(r.subscriber.subscriptions).map(([l,c])=>[l,{productIdentifier:l,productPlanIdentifier:c.product_plan_identifier??null,purchaseDate:new Date(c.purchase_date),originalPurchaseDate:rn(c.original_purchase_date),expiresDate:rn(c.expires_date),store:c.store,unsubscribeDetectedAt:rn(c.unsubscribe_detected_at),isSandbox:c.is_sandbox,billingIssuesDetectedAt:rn(c.billing_issues_detected_at),gracePeriodExpiresDate:rn(c.grace_period_expires_date),ownershipType:c.ownership_type??"UNKNOWN",periodType:c.period_type,refundedAt:rn(c.refunded_at),storeTransactionId:c.store_transaction_id||null,managementURL:c.management_url??null,isActive:b_(c.expires_date),willRenew:k_(c.expires_date,c),displayName:c.display_name??null,price:G0(c.price)}]));return{entitlements:Y0(t.entitlements,t.subscriptions,n),allExpirationDatesByProduct:e,allPurchaseDatesByProduct:K0(r,n),activeSubscriptions:Z0(e),managementURL:t.management_url,requestDate:i,firstSeenDate:new Date(t.first_seen),originalPurchaseDate:rn(t.original_purchase_date),originalAppUserId:r.subscriber.original_app_user_id,nonSubscriptionTransactions:a,subscriptionsByProductIdentifier:s}}function k_(r,e){if(e==null)return!1;const t=e.store=="promotional",n=r==null,a=e.unsubscribe_detected_at!=null,i=e.billing_issues_detected_at!=null;return!(t||n||a||i)}function K0(r,e){const t={};for(const n in r.subscriber.subscriptions){const a=r.subscriber.subscriptions[n];t[n]=new Date(a.purchase_date)}for(const n in e){const a=e[n].purchase_date;a==null?t[n]=null:t[n]=new Date(a)}return t}function X0(r){const e={};for(const t in r.subscriber.subscriptions){const n=r.subscriber.subscriptions[t];n.expires_date==null?e[t]=null:e[t]=new Date(n.expires_date)}return e}function Z0(r){const e=new Set,t=new Date;for(const n in r){const a=r[n];(a==null||a>t)&&e.add(n)}return e}function J0(r){const e={};for(const t in r){if(r[t].length===0)continue;const n=r[t].length;e[t]=r[t][n-1]}return e}const w_="1.44.0",Q0="https://api.revenuecat.com",$0="https://e.revenue.cat";var es;(function(r){r[r.CONTINUE=100]="CONTINUE",r[r.SWITCHING_PROTOCOLS=101]="SWITCHING_PROTOCOLS",r[r.PROCESSING=102]="PROCESSING",r[r.EARLY_HINTS=103]="EARLY_HINTS",r[r.OK=200]="OK",r[r.CREATED=201]="CREATED",r[r.ACCEPTED=202]="ACCEPTED",r[r.NON_AUTHORITATIVE_INFORMATION=203]="NON_AUTHORITATIVE_INFORMATION",r[r.NO_CONTENT=204]="NO_CONTENT",r[r.RESET_CONTENT=205]="RESET_CONTENT",r[r.PARTIAL_CONTENT=206]="PARTIAL_CONTENT",r[r.MULTI_STATUS=207]="MULTI_STATUS",r[r.MULTIPLE_CHOICES=300]="MULTIPLE_CHOICES",r[r.MOVED_PERMANENTLY=301]="MOVED_PERMANENTLY",r[r.MOVED_TEMPORARILY=302]="MOVED_TEMPORARILY",r[r.SEE_OTHER=303]="SEE_OTHER",r[r.NOT_MODIFIED=304]="NOT_MODIFIED",r[r.USE_PROXY=305]="USE_PROXY",r[r.TEMPORARY_REDIRECT=307]="TEMPORARY_REDIRECT",r[r.PERMANENT_REDIRECT=308]="PERMANENT_REDIRECT",r[r.BAD_REQUEST=400]="BAD_REQUEST",r[r.UNAUTHORIZED=401]="UNAUTHORIZED",r[r.PAYMENT_REQUIRED=402]="PAYMENT_REQUIRED",r[r.FORBIDDEN=403]="FORBIDDEN",r[r.NOT_FOUND=404]="NOT_FOUND",r[r.METHOD_NOT_ALLOWED=405]="METHOD_NOT_ALLOWED",r[r.NOT_ACCEPTABLE=406]="NOT_ACCEPTABLE",r[r.PROXY_AUTHENTICATION_REQUIRED=407]="PROXY_AUTHENTICATION_REQUIRED",r[r.REQUEST_TIMEOUT=408]="REQUEST_TIMEOUT",r[r.CONFLICT=409]="CONFLICT",r[r.GONE=410]="GONE",r[r.LENGTH_REQUIRED=411]="LENGTH_REQUIRED",r[r.PRECONDITION_FAILED=412]="PRECONDITION_FAILED",r[r.REQUEST_TOO_LONG=413]="REQUEST_TOO_LONG",r[r.REQUEST_URI_TOO_LONG=414]="REQUEST_URI_TOO_LONG",r[r.UNSUPPORTED_MEDIA_TYPE=415]="UNSUPPORTED_MEDIA_TYPE",r[r.REQUESTED_RANGE_NOT_SATISFIABLE=416]="REQUESTED_RANGE_NOT_SATISFIABLE",r[r.EXPECTATION_FAILED=417]="EXPECTATION_FAILED",r[r.IM_A_TEAPOT=418]="IM_A_TEAPOT",r[r.INSUFFICIENT_SPACE_ON_RESOURCE=419]="INSUFFICIENT_SPACE_ON_RESOURCE",r[r.METHOD_FAILURE=420]="METHOD_FAILURE",r[r.MISDIRECTED_REQUEST=421]="MISDIRECTED_REQUEST",r[r.UNPROCESSABLE_ENTITY=422]="UNPROCESSABLE_ENTITY",r[r.LOCKED=423]="LOCKED",r[r.FAILED_DEPENDENCY=424]="FAILED_DEPENDENCY",r[r.UPGRADE_REQUIRED=426]="UPGRADE_REQUIRED",r[r.PRECONDITION_REQUIRED=428]="PRECONDITION_REQUIRED",r[r.TOO_MANY_REQUESTS=429]="TOO_MANY_REQUESTS",r[r.REQUEST_HEADER_FIELDS_TOO_LARGE=431]="REQUEST_HEADER_FIELDS_TOO_LARGE",r[r.UNAVAILABLE_FOR_LEGAL_REASONS=451]="UNAVAILABLE_FOR_LEGAL_REASONS",r[r.INTERNAL_SERVER_ERROR=500]="INTERNAL_SERVER_ERROR",r[r.NOT_IMPLEMENTED=501]="NOT_IMPLEMENTED",r[r.BAD_GATEWAY=502]="BAD_GATEWAY",r[r.SERVICE_UNAVAILABLE=503]="SERVICE_UNAVAILABLE",r[r.GATEWAY_TIMEOUT=504]="GATEWAY_TIMEOUT",r[r.HTTP_VERSION_NOT_SUPPORTED=505]="HTTP_VERSION_NOT_SUPPORTED",r[r.INSUFFICIENT_STORAGE=507]="INSUFFICIENT_STORAGE",r[r.NETWORK_AUTHENTICATION_REQUIRED=511]="NETWORK_AUTHENTICATION_REQUIRED"})(es||(es={}));const ex=/^rcb_[a-zA-Z0-9_.-]+$/,rx=/^pdl_[a-zA-Z0-9_.-]+$/,tx=/^test_[a-zA-Z0-9_.-]+$/,nx=/^strp_[a-zA-Z0-9_.-]+$/;function rs(r){return r?r.startsWith("rcb_sb_"):!1}function nc(r){return r?ex.test(r):!1}function P_(r){return r?rx.test(r):!1}function x_(r){return r?nx.test(r):!1}function _a(r){return r?tx.test(r):!1}async function ct(r,e,t){return(await E_(r,e,t)).data}async function E_(r,e,t){const{apiKey:n,body:a,headers:i,httpConfig:s}=e,c=`${(s==null?void 0:s.proxyURL)??Q0}${r.urlPath()}`;try{const u=await fetch(c,{method:r.method,headers:M_(n,i,s==null?void 0:s.additionalHeaders),body:ox(a),signal:t});await ax(u,r);const d=u.status;return{data:await u.json(),statusCode:d}}catch(u){throw u instanceof TypeError?new $e(Ae.NetworkError,Ba.getPublicMessage(Ae.NetworkError),u.message):u}}async function ax(r,e){const t=r.status;if(t>=es.INTERNAL_SERVER_ERROR)ac(e,t,await r.text());else if(t>=es.BAD_REQUEST){const n=await r.json(),a=n?JSON.stringify(n):null,i=n==null?void 0:n.code,s=n==null?void 0:n.message;if(i!=null){const l=Ba.convertCodeToBackendErrorCode(i);if(l==null)ac(e,t,a,i);else throw $e.getForBackendError(l,s)}else ac(e,t,a)}}function ac(r,e,t,n){throw new $e(Ae.UnknownBackendError,"Unknown backend error.",`Request: ${r.name}. Status code: ${e}. Body: ${t}.`,{backendErrorCode:n})}function ox(r){return r==null?null:JSON.stringify(r)}const S_="Authorization",I_="Content-Type",C_="Accept",T_="X-Platform",D_="X-Version",A_="X-Platform-Flavor",q_="X-Platform-Flavor-Version",F_="X-Is-Sandbox",ix=new Set([S_,I_,C_,T_,D_,F_,A_,q_]);function M_(r,e,t){let n={[S_]:`Bearer ${r}`,[I_]:"application/json",[C_]:"application/json",[T_]:"web",[D_]:w_,[F_]:`${rs(r)}`};const a=os.getPlatformInfo();if(a){const i={[A_]:a.flavor,[q_]:a.version};n={...n,...i}}return e&&(n={...n,...e}),t&&(n={...t,...n}),n}const ga="/v1/subscribers",fa="/rcbilling/v1";class sx{constructor(e){Q(this,"appUserId");Q(this,"method","GET");Q(this,"name","getOfferings");this.appUserId=e}urlPath(){const e=encodeURIComponent(this.appUserId);return`${ga}/${e}/offerings`}}class lx{constructor(e,t,n,a){Q(this,"method","GET");Q(this,"name","getProducts");Q(this,"appUserId");Q(this,"productIds");Q(this,"currency");Q(this,"discountCode");this.appUserId=e,this.productIds=t,this.currency=n,this.discountCode=a}urlPath(){const e=encodeURIComponent(this.appUserId),t=this.productIds.map(encodeURIComponent).join("&id="),n=this.currency?`&currency=${this.currency}`:"",a=this.discountCode?`&discount_code=${encodeURIComponent(this.discountCode)}`:"";return`${fa}/subscribers/${e}/products?id=${t}${n}${a}`}}class cx{constructor(e){Q(this,"method","GET");Q(this,"name","getCustomerInfo");Q(this,"appUserId");this.appUserId=e}urlPath(){const e=encodeURIComponent(this.appUserId);return`${ga}/${e}`}}class ux{constructor(){Q(this,"method","POST");Q(this,"name","identify")}urlPath(){return`${ga}/identify`}}class dx{constructor(){Q(this,"method","GET");Q(this,"name","getBrandingInfo")}urlPath(){return`${fa}/branding`}}class px{constructor(){Q(this,"method","POST");Q(this,"name","postCheckoutPrepare")}urlPath(){return`${fa}/checkout/prepare`}}class _x{constructor(){Q(this,"method","POST");Q(this,"name","postCheckoutStart")}urlPath(){return`${fa}/checkout/start`}}class gx{constructor(e){Q(this,"method","PATCH");Q(this,"name","patchCheckoutRefreshPricing");Q(this,"operationSessionId");this.operationSessionId=e}urlPath(){return`${fa}/checkout/${this.operationSessionId}`}}class fx{constructor(e){Q(this,"method","POST");Q(this,"name","postCheckoutComplete");Q(this,"operationSessionId");this.operationSessionId=e}urlPath(){return`${fa}/checkout/${this.operationSessionId}/complete`}}class mx{constructor(e){Q(this,"method","GET");Q(this,"name","getCheckoutStatus");Q(this,"operationSessionId");this.operationSessionId=e}urlPath(){return`${fa}/checkout/${this.operationSessionId}`}}class hx{constructor(e){Q(this,"method","POST");Q(this,"name","setAttributes");Q(this,"appUserId");this.appUserId=e}urlPath(){const e=encodeURIComponent(this.appUserId);return`${ga}/${e}/attributes`}}class vx{constructor(){Q(this,"method","POST");Q(this,"name","postReceipt")}urlPath(){return"/v1/receipts"}}class yx{constructor(e){Q(this,"method","GET");Q(this,"name","getVirtualCurrencies");Q(this,"appUserId");this.appUserId=e}urlPath(){const e=encodeURIComponent(this.appUserId);return`${ga}/${e}/virtual_currencies`}}class bx{constructor(e){Q(this,"method","GET");Q(this,"name","getWorkflows");Q(this,"appUserId");this.appUserId=e}urlPath(){return`${ga}/${encodeURIComponent(this.appUserId)}/workflows?type=paywall`}}class kx{constructor(e,t){Q(this,"method","GET");Q(this,"name","getWorkflowData");Q(this,"appUserId");Q(this,"workflowId");this.appUserId=e,this.workflowId=t}urlPath(){return`${ga}/${encodeURIComponent(this.appUserId)}/workflows/${encodeURIComponent(this.workflowId)}`}}const oc={};class wx{constructor(e,t=oc,n){Q(this,"API_KEY");Q(this,"httpConfig");Q(this,"isSandbox");Q(this,"purchasesContext");this.API_KEY=e,this.httpConfig=t,this.isSandbox=rs(e),this.purchasesContext=n}getIsSandbox(){return this.isSandbox}async getOfferings(e){return await ct(new sx(e),{apiKey:this.API_KEY,httpConfig:this.httpConfig})}async getCustomerInfo(e){return await ct(new cx(e),{apiKey:this.API_KEY,httpConfig:this.httpConfig})}async identify(e,t){const n={app_user_id:e,new_app_user_id:t},a=await E_(new ux,{apiKey:this.API_KEY,body:n,httpConfig:this.httpConfig}),i=a.statusCode===201;return{...a.data,was_created:i}}async getProducts(e,t,n,a){return await ct(new lx(e,t,n,a),{apiKey:this.API_KEY,httpConfig:this.httpConfig})}async getBrandingInfo(){return await ct(new dx,{apiKey:this.API_KEY,httpConfig:this.httpConfig})}async postCheckoutPrepare(e,t){const n={product_id:e,price_id:t.priceId};return t.id!=="base_option"&&(n.offer_id=t.id),await ct(new px,{apiKey:this.API_KEY,body:n,httpConfig:this.httpConfig})}async postCheckoutStart({appUserId:e,productId:t,purchaseOption:n,presentedOfferingContext:a,traceId:i,presentedStepId:s,paywallId:l,paywallSessionId:c,customerEmail:u,metadata:d,locale:p,attributionMetadata:g}){var f,v;const _={app_user_id:e,product_id:t,email:u,price_id:n.priceId,presented_offering_identifier:a.offeringIdentifier,trace_id:i};return d&&(_.metadata=d),n.id!=="base_option"&&(_.offer_id=n.id),a.targetingContext&&(_.applied_targeting_rule={rule_id:a.targetingContext.ruleId,revision:a.targetingContext.revision}),a.placementIdentifier&&(_.presented_placement_identifier=a.placementIdentifier),(v=(f=this.purchasesContext)==null?void 0:f.workflowContext)!=null&&v.workflowIdentifier&&(_.presented_workflow_id=this.purchasesContext.workflowContext.workflowIdentifier),s&&(_.presented_step_id=s),l&&(_.paywall={paywall_id:l,...c?{paywall_session_id:c}:{}}),p&&(_.locale=p),g&&(_.attribution_metadata=g),await ct(new _x,{apiKey:this.API_KEY,body:_,httpConfig:this.httpConfig})}async patchCheckoutRefreshPricing(e,{countryCode:t,postalCode:n,discountCode:a,signal:i}={}){const s={country_code:t,postal_code:n,discount_code:a};return await ct(new gx(e),{apiKey:this.API_KEY,body:s,httpConfig:this.httpConfig},i)}async postCheckoutComplete(e,t,n){const a={email:t};return n&&(a.locale=n),await ct(new fx(e),{apiKey:this.API_KEY,body:a,httpConfig:this.httpConfig})}async getCheckoutStatus(e){return await ct(new mx(e),{apiKey:this.API_KEY,httpConfig:this.httpConfig})}async setAttributes(e,t){const n=Date.now(),a={};for(const[s,l]of Object.entries(t))a[s]={value:l,updated_at_ms:n};const i={attributes:a};return await ct(new hx(e),{apiKey:this.API_KEY,body:i,httpConfig:this.httpConfig})}async postReceipt(e,t,n,a,i,s,l){var d,p;let c=null;i.targetingContext&&(c={rule_id:i.targetingContext.ruleId,revision:i.targetingContext.revision});const u={fetch_token:a,product_id:t,currency:n,app_user_id:e,presented_offering_identifier:i.offeringIdentifier,presented_placement_identifier:i.placementIdentifier,presented_workflow_id:(p=(d=this.purchasesContext)==null?void 0:d.workflowContext)==null?void 0:p.workflowIdentifier,applied_targeting_rule:c,initiation_source:s};return l&&(u.paywall={paywall_id:l}),await ct(new vx,{apiKey:this.API_KEY,body:u,httpConfig:this.httpConfig})}async getVirtualCurrencies(e){return await ct(new yx(e),{apiKey:this.API_KEY,httpConfig:this.httpConfig})}async getWorkflows(e){return await ct(new bx(e),{apiKey:this.API_KEY,httpConfig:this.httpConfig})}async getWorkflowById(e,t){const n=await ct(new kx(e,t),{apiKey:this.API_KEY,httpConfig:this.httpConfig});if(!("action"in n))return n;if(n.action==="inline")return n.data;if(n.action!=="use_cdn")throw new Error(`Unexpected workflow action: ${n.action}`);const a=await fetch(n.url);if(!a.ok)throw new Error(`Failed to fetch workflow from CDN: ${a.statusText}`);return await a.json()}}function Px(r){if(!(nc(r)||_a(r)||P_(r)||x_(r)))throw new $e(Ae.InvalidCredentialsError,"Invalid API key. Use your Web Billing API key.")}function ic(r){if(!r||new Set(["no_user","null","none","nil","(null)","NaN","\\x00","","unidentified","undefined","unknown"]).has(r)||r.includes("/"))throw new $e(Ae.InvalidAppUserIdError,'Provided user id: "'+(r??"[Not provided]")+'" is not valid. See https://www.revenuecat.com/docs/customers/user-ids#tips-for-setting-app-user-ids for more information.')}function xx(r){if(r!=null&&r.endsWith("/"))throw new $e(Ae.ConfigurationError,"Invalid proxy URL. The proxy URL should not end with a trailing slash.")}function Ex(r){if(r){for(const e in r)if(ix.has(e))throw new $e(Ae.ConfigurationError,"Invalid additional headers. Some headers are reserved for internal use.")}}var sc=(r=>(r.Current="current",r))(sc||{});function z_(r,e){async function t(...n){return await this.preload(),await r.call(this,...n)}return t}const j_=(r,e)=>{const t={...r.webBillingProduct,presentedOfferingContext:{...r.webBillingProduct.presentedOfferingContext,placementIdentifier:e}};return{...r,webBillingProduct:t,rcBillingProduct:t}},ma=(r,e)=>r==null?null:j_(r,e),Sx=(r,e,t)=>{const n=r.offering_ids_by_placement??{},a=r.fallback_offering_id;let i;if(t in n){const l=n[t]??null;l&&(i=e[l])}if(!i&&a&&a in e&&(i=e[a]),!i)return null;const s=Object.fromEntries(Object.entries(i.packagesById).map(([l,c])=>[l,j_(c,t)]));return{...i,packagesById:s,availablePackages:Object.values(s),weekly:ma(i.weekly,t),monthly:ma(i.monthly,t),twoMonth:ma(i.twoMonth,t),threeMonth:ma(i.threeMonth,t),sixMonth:ma(i.sixMonth,t),annual:ma(i.annual,t),lifetime:ma(i.lifetime,t)}};function Ix(r,e){const t={};e.product_details.forEach(i=>{t[i.identifier]=i});const n={};r.offerings.forEach(i=>{const s=i.identifier===r.current_offering_id,l=Im(s,i,t,r.targeting,r.ui_config);l!=null&&(n[i.identifier]=l)});const a=r.current_offering_id?n[r.current_offering_id]??null:null;return Object.keys(n).length==0&&ye.debugLog("Empty offerings. Please make sure you've configured offerings correctly in the RevenueCat dashboard and that the products are properly configured."),{all:n,current:a}}const Cx=1000001;function Gr(r,e,t){return t.formatPrice(bi(r,e),e)}function Tx(r,e,t){const n=t.formatPrice(r.amountMicros,r.currency);return e?e.unit===Me.Year?Gr(r.amountMicros/Bl/e.number,r.currency,t):e.unit===Me.Month?Gr(r.amountMicros/Ni/e.number,r.currency,t):e.unit===Me.Week?Gr(r.amountMicros/Ll/e.number,r.currency,t):e.unit===Me.Day?Gr(r.amountMicros/e.number,r.currency,t):n:n}function Dx(r,e,t){const n=t.formatPrice(r.amountMicros,r.currency);return e?e.unit===Me.Year?Gr(r.amountMicros/Ul/e.number,r.currency,t):e.unit===Me.Month?Gr(r.amountMicros/Oi/e.number,r.currency,t):e.unit===Me.Week?Gr(r.amountMicros/e.number,r.currency,t):e.unit===Me.Day?Gr(r.amountMicros*Ll/e.number,r.currency,t):n:n}function Ax(r,e,t){return e?e.unit===Me.Year?Gr(r.amountMicros/Li,r.currency,t):e.unit===Me.Month?Gr(r.amountMicros/e.number,r.currency,t):e.unit===Me.Week?Gr(r.amountMicros*Oi/e.number,r.currency,t):e.unit===Me.Day?Gr(r.amountMicros*Ni/e.number,r.currency,t):Gr(r.amountMicros/(e.number||1),r.currency,t):t.formatPrice(r.amountMicros,r.currency)}function qx(r,e,t){const n=t.formatPrice(r.amountMicros,r.currency);return e?e.unit===Me.Year?Gr(r.amountMicros/e.number,r.currency,t):e.unit===Me.Month?Gr(r.amountMicros*Li/e.number,r.currency,t):e.unit===Me.Week?Gr(r.amountMicros*Ul/e.number,r.currency,t):e.unit===Me.Day?Gr(r.amountMicros*Bl/e.number,r.currency,t):n:n}function N_(r,e,t){return{pricePerDay:Tx(r,e,t),pricePerWeek:Dx(r,e,t),pricePerMonth:Ax(r,e,t),pricePerYear:qx(r,e,t)}}function Fx(r){return r.cycleCount>0?r.cycleCount:1}function Mx(r){return"durationMode"in r&&r.durationMode==="forever"}function zx(r){return"durationMode"in r&&r.durationMode==="time_window"}function jx(r,e){return zx(e)?r.base.period:e.period}function Nx(r){return r.period===null||Mx(r)?null:{number:r.period.number*Fx(r),unit:r.period.unit}}function Ox(r,e){const t=Eo(new Date,r,!0);return t?e.translateDate(t,{dateStyle:"long"})??"":""}function Lx(r,e,t){const n=r.discount??r.trial??r.introPrice,a=r.trial&&!r.discount?r.introPrice:null;if(n===null)return;const i=Nx(n),s=jx(r,n),{price:l}=n;if(l!==null){const c=N_(l,s,e);t["product.offer_price"]=e.formatPrice(l.amountMicros,l.currency),t["product.offer_price_per_day"]=c.pricePerDay,t["product.offer_price_per_week"]=c.pricePerWeek,t["product.offer_price_per_month"]=c.pricePerMonth,t["product.offer_price_per_year"]=c.pricePerYear}if(i!==null){const c=Rl(i,e);t["product.offer_period"]=c.period,t["product.offer_period_abbreviated"]=c.periodAbbreviated,t["product.offer_period_with_unit"]=c.periodWithUnit,t["product.offer_period_in_days"]=c.periodInDays,t["product.offer_period_in_weeks"]=c.periodInWeeks,t["product.offer_period_in_months"]=c.periodInMonths,t["product.offer_period_in_years"]=c.periodInYears,t["product.offer_end_date"]=Ox(i,e)}if(a!==null&&(a.price!==null&&(t["product.secondary_offer_price"]=e.formatPrice(a.price.amountMicros,a.price.currency)),a.period!==null)){const c=Rl(a.period,e);t["product.secondary_offer_period"]=c.period,t["product.secondary_offer_period_abbreviated"]=c.periodAbbreviated}}function Bx(r,e,t){var a;const n=((a=r.discount)==null?void 0:a.price)??null;n!==null&&(t["product.offer_price"]=e.formatPrice(n.amountMicros,n.currency))}function O_(r,e={}){var a;if(e.translator)return U_(r,e.translator);const t=((a=r.paywallComponents)==null?void 0:a.default_locale)||Wr,n=new qn(e.customTranslations??{},e.selectedLocale??t,e.fallbackLocale??t);return U_(r,n)}function ts(r){var a;const e=r.webBillingProduct.price,t=L_(r),n=r.webBillingProduct.period||((a=t==null?void 0:t.base)==null?void 0:a.period);if(!n||!n.number||n.number<=0)return e.amountMicros;switch(n.unit){case Me.Year:return e.amountMicros/Li;case Me.Month:return e.amountMicros/n.number;case Me.Week:return e.amountMicros*Oi/n.number;case Me.Day:return e.amountMicros*Ni/n.number;default:return e.amountMicros/(n.number||1)}}function L_(r){return r.webBillingProduct.productType===Kr.Subscription?r.webBillingProduct.defaultSubscriptionOption:r.webBillingProduct.productType===Kr.NonConsumable||r.webBillingProduct.productType===Kr.Consumable?r.webBillingProduct.defaultNonSubscriptionOption:r.webBillingProduct.defaultPurchaseOption}function Ux(r,e){return r===Kr.Subscription&&e!=null}function Rx(r,e){return r!==Kr.Subscription&&e!=null}function B_(r,e,t,n=!1){return t.translate(le.PaywallVariablesPricePerPeriod,{formattedPrice:r,period:e.base.period?e.base.period.number===1?t.translatePeriodUnit(e.base.period.unit,{noWhitespace:!0,short:!n}):t.translatePeriod(e.base.period.number,e.base.period.unit,{noWhitespace:!0,short:!n}):""})}function U_(r,e){const t=r.availablePackages,n=t.filter(i=>i.webBillingProduct.productType===Kr.Subscription),a=n.length>0?n.reduce((i,s)=>{const l=ts(i),c=ts(s);return l>c?i:s}):null;return t.reduce((i,s)=>(i[s.identifier]=Vx(s,a,e),i),{})}function Vx(r,e,t){const n=r.webBillingProduct,a=n.price,i=t.formatPrice(a.amountMicros,a.currency),s=L_(r),l=n.productType,c={"product.store_product_name":n.title,"product.price":i,"product.price_per_period":"","product.price_per_period_abbreviated":"","product.price_per_day":"","product.price_per_week":"","product.price_per_month":"","product.price_per_year":"","product.period":"","product.period_abbreviated":"","product.periodly":"","product.period_in_days":"","product.period_in_weeks":"","product.period_in_months":"","product.period_in_years":"","product.period_with_unit":"","product.currency_code":a.currency,"product.currency_symbol":t.formatPrice(0,a.currency).replace("0",""),"product.offer_price":"","product.offer_price_per_day":"","product.offer_price_per_week":"","product.offer_price_per_month":"","product.offer_price_per_year":"","product.offer_period":"","product.offer_period_abbreviated":"","product.offer_period_in_days":"","product.offer_period_in_weeks":"","product.offer_period_in_months":"","product.offer_period_in_years":"","product.offer_period_with_unit":"","product.offer_end_date":"","product.secondary_offer_price":"","product.secondary_offer_period":"","product.secondary_offer_period_abbreviated":"","product.relative_discount":""};if(Ux(l,s)){c["product.price_per_period_abbreviated"]=B_(i,s,t),c["product.price_per_period"]=B_(i,s,t,!0);const u=n.period||s.base.period,d=N_(a,u,t);if(c["product.price_per_day"]=d.pricePerDay,c["product.price_per_week"]=d.pricePerWeek,c["product.price_per_month"]=d.pricePerMonth,c["product.price_per_year"]=d.pricePerYear,u){const p=Rl(u,t);c["product.period"]=p.period,c["product.period_abbreviated"]=p.periodAbbreviated,c["product.period_with_unit"]=p.periodWithUnit,c["product.period_in_days"]=p.periodInDays,c["product.period_in_weeks"]=p.periodInWeeks,c["product.period_in_months"]=p.periodInMonths,c["product.period_in_years"]=p.periodInYears,c["product.periodly"]=t.translatePeriodFrequency(u.number,u.unit)||""}if(e){const p=ts(r),g=ts(e),_=(g-p)*100/g;c["product.relative_discount"]=_<1?"":t.translate(le.PaywallVariablesSubRelativeDiscount,{discount:_.toFixed(0)})}Lx(s,t,c)}return Rx(l,s)&&(c["product.price"]=i,c["product.price_per_period"]=i,c["product.price_per_period_abbreviated"]=i,c["product.price_per_month"]=i,c["product.period_with_unit"]=t.translate(le.PeriodsLifetime),c["product.period_in_months"]=t.translate(le.PeriodsLifetime),c["product.periodly"]=t.translate(le.PeriodsLifetime),c["product.price_per_week"]="",c["product.relative_discount"]="",c["product.period"]="",c["product.period_abbreviated"]="",Bx(s,t,c)),c}var Wx=/(%?)(%([sdijo]))/g;function Hx(r,e){switch(e){case"s":return r;case"d":case"i":return Number(r);case"j":return JSON.stringify(r);case"o":{if(typeof r=="string")return r;const t=JSON.stringify(r);return t==="{}"||t==="[]"||/^\[object .+?\]$/.test(t)?r:t}}}function lc(r,...e){if(e.length===0)return r;let t=0,n=r.replace(Wx,(a,i,s,l)=>{const c=e[t],u=Hx(c,l);return i?a:(t++,u)});return t<e.length&&(n+=` ${e.slice(t).join(" ")}`),n=n.replace(/%{2,2}/g,"%"),n}var Yx=2;function Gx(r){if(!r.stack)return;const e=r.stack.split(`
405
+ `);e.splice(1,Yx),r.stack=e.join(`
406
+ `)}var Kx=class extends Error{constructor(r,...e){super(r),this.message=r,this.name="Invariant Violation",this.message=lc(r,...e),Gx(this)}},R_=(r,e,...t)=>{if(!r)throw new Kx(e,...t)};R_.as=(r,e,t,...n)=>{if(!e){const a=n.length===0?t:lc(t,...n);let i;try{i=Reflect.construct(r,[a])}catch{i=r(a)}throw i}};const Xx="[MSW]";function cc(r,...e){const t=lc(r,...e);return`${Xx} ${t}`}function Zx(r,...e){console.warn(cc(r,...e))}function Jx(r,...e){console.error(cc(r,...e))}const Qx={formatMessage:cc,warn:Zx,error:Jx};function $x(){R_(typeof URL<"u",Qx.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 V_=(r=>(r.HEAD="HEAD",r.GET="GET",r.POST="POST",r.PUT="PUT",r.PATCH="PATCH",r.OPTIONS="OPTIONS",r.DELETE="DELETE",r))(V_||{});$x();class eE{constructor(e,t,n,a){Q(this,"initialDelay");Q(this,"maxDelay");Q(this,"jitterPercent");Q(this,"callback");Q(this,"currentDelay");Q(this,"timeoutId");Q(this,"executingCallback",!1);Q(this,"stopped",!1);Q(this,"currentFlushPromise",null);this.initialDelay=e,this.currentDelay=e,this.maxDelay=t,this.jitterPercent=n,this.callback=a}tryFlush(){if(!this.stopped){if(this.backingOff()){ye.debugLog("Backing off, not flushing");return}this.clearTimeout(),this.executeCallbackWithRetries().catch(()=>{})}}start(){this.stopped=!1,this.currentDelay=this.initialDelay}stop(){this.stopped=!0,this.clearTimeout()}flushImmediately(e){return this.clearTimeout(),this.executeCallbackWithRetries(e)}async flushUntilDrain(e){const t=this.currentFlushPromise;if(t)try{await t}catch{}this.stop();try{let n=!1;for(;!n;)n=await this.flushImmediately(e)}finally{this.start()}}schedule(e){if(this.stopped||this.timeoutId!==void 0)return;const t=this.addJitter(e||this.currentDelay);this.timeoutId=setTimeout(()=>{this.timeoutId=void 0,this.executeCallbackWithRetries().catch(()=>{})},t)}backoff(){const e=this.currentDelay,t=Math.min(this.currentDelay*2,this.maxDelay);ye.debugLog(`Backing next off to ${e}ms delay`),this.clearTimeout(),this.currentDelay=t,this.schedule(e)}reset(){this.currentDelay!==this.initialDelay&&(this.clearTimeout(),this.currentDelay=this.initialDelay)}async executeCallbackWithRetries(e){if(this.executingCallback)return ye.debugLog("Callback already running, rescheduling"),this.schedule(),!0;this.executingCallback=!0;let t;try{t=Promise.resolve(this.callback(e))}catch(n){t=Promise.reject(n)}this.currentFlushPromise=t.then(()=>{},()=>{});try{const n=await t;return this.reset(),n}catch{return this.backoff(),!0}finally{this.executingCallback=!1,this.currentFlushPromise=null}}backingOff(){return this.currentDelay>this.initialDelay}clearTimeout(){clearTimeout(this.timeoutId),this.timeoutId=void 0}addJitter(e){const t=e*this.jitterPercent,n=e-t,a=e+t;return Math.floor(Math.random()*(a-n+1)+n)}}const rE=Object.entries({componentType:"component_type",componentName:"component_name",componentValue:"component_value",componentURL:"component_url",originIndex:"origin_index",destinationIndex:"destination_index",originContextName:"origin_context_name",destinationContextName:"destination_context_name",defaultIndex:"default_index",originPackageId:"origin_package_id",destinationPackageId:"destination_package_id",defaultPackageId:"default_package_id",originProductId:"origin_product_id",destinationProductId:"destination_product_id",defaultProductId:"default_product_id",currentPackageId:"current_package_id",resultingPackageId:"resulting_package_id",currentProductId:"current_product_id",resultingProductId:"resulting_product_id"}),W_=r=>r.displayMode===void 0?{}:{display_mode:r.displayMode,dark_mode:r.darkMode??!1,locale:r.locale??"en_US"},tE=r=>{const e={};for(const[t,n]of rE){const a=r[t];a!==void 0&&Object.assign(e,{[n]:a})}return e};function nE(r){return!r||!r.placementIdentifier&&!r.targetingContext?null:{...r.placementIdentifier?{placement_identifier:r.placementIdentifier}:{},...r.targetingContext?{targeting_revision:r.targetingContext.revision,targeting_rule_id:r.targetingContext.ruleId}:{}}}const aE=(r,e,t)=>{const n={version:1,id:e,app_user_id:r.appUserId,session_id:r.sessionId,offering_id:r.offeringId,paywall_revision:r.paywallRevision,timestamp:t,paywall_rc_public_id:r.paywallRcPublicId},a=nE(r.presentedOfferingContext);return a&&(n.presented_offering_context=a),n};class H_{constructor(e){Q(this,"id");Q(this,"timestamp");Q(this,"data");this.id=pa(),this.timestamp=Date.now(),this.data=e}toJSON(){const e=aE(this.data,this.id,this.timestamp);switch(this.data.type){case"paywall_impression":return{type:this.data.type,...e,...W_(this.data)};case"paywall_close":case"paywall_cancel":return{type:this.data.type,...e};case"paywall_component_interacted":return{type:this.data.type,...e,...W_(this.data),...tE(this.data)}}}}function Wn(){if(typeof window<"u")return window;throw new $e(Ae.UnsupportedError,"window is not available. This SDK requires a browser environment for this operation.")}function ns(){if(typeof window<"u")return window}function uc(){if(typeof document<"u")return document;throw new $e(Ae.UnsupportedError,"document is not available. This SDK requires a browser environment for this operation.")}function oE(){if(typeof document<"u")return document}function iE(r,e){const t=ns(),n=t!=null&&t.location?new URLSearchParams(t.location.search):new URLSearchParams;let a=null,i=null;typeof screen<"u"&&screen&&(a=screen.width,i=screen.height);const s=oE(),l=(s==null?void 0:s.referrer)??null,c=(s==null?void 0:s.title)??null;return{libraryName:"purchases-js",libraryVersion:w_,locale:navigator.language,userAgent:navigator.userAgent,timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone,screenWidth:a,screenHeight:i,utmSource:n.get("utm_source")??null,utmMedium:n.get("utm_medium")??null,utmCampaign:n.get("utm_campaign")??null,utmContent:n.get("utm_content")??null,utmTerm:n.get("utm_term")??null,pageReferrer:l,pageUrl:t!=null&&t.location?`${t.location.origin}${t.location.pathname}`:"",pageTitle:c,source:r,rcSource:e}}const sE=2e3,lE=5*6e4,cE=.1,Y_=50*1024;class uE{constructor(e){Q(this,"apiKey");Q(this,"eventsQueue",[]);Q(this,"eventsUrl");Q(this,"flushManager");Q(this,"traceId");Q(this,"appUserId");Q(this,"isSilent");Q(this,"rcSource");Q(this,"workflowContext");Q(this,"isDisposed",!1);var t;this.apiKey=e.apiKey,this.eventsUrl=`${((t=e.httpConfig)==null?void 0:t.eventsURL)??$0}/v1/events`,this.appUserId=e.appUserId,this.isSilent=e.silent||!1,this.rcSource=e.rcSource,this.workflowContext=e.workflowContext,this.traceId=e.trace_id||pa(),this.flushManager=new eE(sE,lE,cE,this.doFlush.bind(this))}async updateUser(e){this.appUserId=e}getTraceId(){return this.traceId}trackSDKEvent(e){this.trackEvent({...e,source:"sdk"})}trackExternalEvent(e){this.trackEvent({...e})}trackPaywallEvent(e){if(this.isSilent){ye.verboseLog("Skipping event tracking, the EventsTracker is silent");return}try{const t=new H_(e);ye.debugLog(`[PaywallEvent] Queuing ${e.type} (queue size: ${this.eventsQueue.length+1}, url: ${this.eventsUrl})`),ye.debugLog(`[PaywallEvent] Payload: ${JSON.stringify(t.toJSON())}`),this.eventsQueue.push(t),this.flushManager.tryFlush()}catch(t){ye.errorLog(`Error while tracking paywall event ${e.type}: ${t}`)}}trackEvent(e){var t;if(this.isSilent){ye.verboseLog("Skipping event tracking, the EventsTracker is silent");return}try{const n=new pk({eventName:e.eventName,traceId:this.traceId,appUserId:this.appUserId,context:iE(e.source,this.rcSource),workflowIdentifier:(t=this.workflowContext)==null?void 0:t.workflowIdentifier,properties:e.properties||{mode:et}});this.eventsQueue.push(n),this.flushManager.tryFlush()}catch(n){ye.errorLog(`Error while tracking event ${e.eventName}: ${n}`)}}dispose(){this.isDisposed||(this.flushManager.stop(),this.eventsQueue.length>0&&this.flushManager.flushUntilDrain({ignoreDisposed:!0}).catch(e=>{ye.debugLog(`Failed to flush events on dispose: ${e}`)}),this.isDisposed=!0)}async flushAllEvents(){this.isDisposed||(await this.flushManager.flushUntilDrain(),!this.isDisposed&&this.eventsQueue.length>0&&this.flushManager.schedule())}estimateSingleEventSize(e){try{return JSON.stringify(e).length}catch{return Y_}}batchEventsForKeepalive(){const e=[];let t=16;for(const n of this.eventsQueue){const a=this.estimateSingleEventSize(n),i=e.length>0?1:0,s=t+a+i;if(s<=Y_)e.push(n),t=s;else if(e.length===0){const l=n instanceof H_?n.data.type:n.data.eventName;return ye.warnLog(`Event exceeds keepalive size limit (${a} bytes): ${l}`),this.eventsQueue.shift(),null}else break}return e}doFlush(e){if(!(e!=null&&e.ignoreDisposed)&&this.isDisposed||this.eventsQueue.length===0)return Promise.resolve(!0);const t=this.batchEventsForKeepalive();if(!t)return Promise.resolve(this.eventsQueue.length===0);const n=JSON.stringify({events:t});return ye.debugLog(`[EventsTracker] Flushing ${t.length} event(s) to ${this.eventsUrl}`),ye.debugLog(`[EventsTracker] Body: ${n}`),fetch(this.eventsUrl,{method:V_.POST,headers:M_(this.apiKey),body:n,keepalive:!0}).then(a=>{if(ye.debugLog(`[EventsTracker] Flush response: ${a.status}`),a.status===200||a.status===201)return this.eventsQueue.splice(0,t.length),this.eventsQueue.length>0&&this.flushManager.schedule(),this.eventsQueue.length===0;throw ye.debugLog("Events failed to flush due to server error"),new Error("Events failed to flush due to server error")}).catch(a=>{throw ye.debugLog(`[EventsTracker] Flush error: ${a}`),a})}}const as=()=>{const r=ns(),e=r!=null&&r.location?new URLSearchParams(r.location.search):new URLSearchParams,t=["utm_source","utm_medium","utm_campaign","utm_term","utm_content"],n={};return t.forEach(a=>{const i=e.get(a);i!==null&&(n[a]=i)}),n},dE=["app","embedded"],dc={autoCollectUTMAsMetadata:!0,collectAnalyticsEvents:!0,storeLoadTime:"configuration"};var pE=V('<p class="svelte-17914yi"><strong>Free Trial:</strong> </p>'),_E=V('<p class="svelte-17914yi"><strong>Intro Price:</strong> </p>'),gE=V('<p class="svelte-17914yi"><strong>Discount Price:</strong> </p>'),fE=V('<div class="rc-simulated-store-modal-overlay svelte-17914yi"><div class="rc-simulated-store-modal svelte-17914yi"><div class="rc-simulated-store-modal-content svelte-17914yi"><h2 class="rc-simulated-store-modal-title svelte-17914yi">Test Store Purchase</h2> <div class="rc-simulated-store-modal-details svelte-17914yi"><div><p class="svelte-17914yi"><strong>Product:</strong> </p> <p class="svelte-17914yi"><strong>Type:</strong> </p> <p class="svelte-17914yi"><strong>Price:</strong> </p> <!> <!> <!></div></div> <div class="rc-simulated-store-modal-buttons svelte-17914yi"><button type="button" class="rc-simulated-store-modal-button rc-simulated-store-modal-button-primary svelte-17914yi">Test valid purchase</button> <button type="button" class="rc-simulated-store-modal-button rc-simulated-store-modal-button-secondary svelte-17914yi">Test failed purchase</button> <button type="button" class="rc-simulated-store-modal-button rc-simulated-store-modal-button-cancel svelte-17914yi">Cancel</button></div></div></div></div>');const mE={hash:"svelte-17914yi",code:`.rc-simulated-store-modal-overlay.svelte-17914yi {position:fixed;top:0;left:0;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.5);display:flex;justify-content:center;align-items:center;font-family:-apple-system,
407
407
  BlinkMacSystemFont,
408
408
  avenir next,
409
409
  avenir,
@@ -420,6 +420,6 @@ but received
420
420
 
421
421
  /* Mobile responsive - full screen on small screens */
422
422
  @media (max-width: 768px) {.rc-simulated-store-modal-overlay.svelte-17914yi {padding:0;}.rc-simulated-store-modal.svelte-17914yi {width:100%;height:100%;border-radius:0;max-width:none;max-height:none;}.rc-simulated-store-modal-content.svelte-17914yi {height:100%;display:flex;flex-direction:column;justify-content:center;}
423
- }`};function gE(r,e){fe(e,!1),ke(r,_E);let t=Q(e,"productIdentifier",8),n=Q(e,"productType",8),a=Q(e,"basePrice",8),i=Q(e,"freeTrialPeriod",8,void 0),s=Q(e,"introPriceFormatted",8,void 0),l=Q(e,"discountFormatted",8,void 0),c=Q(e,"onValidPurchase",8),u=Q(e,"onFailedPurchase",8),d=Q(e,"onCancel",8);function p(M){M.target===M.currentTarget&&d()()}Dn();var _=pE(),g=T(_),f=T(g),v=Y(T(f),2),y=T(v),h=T(y),w=Y(T(h)),k=Y(h,2),b=Y(T(k)),x=Y(k,2),I=Y(T(x)),S=Y(x,2);{var q=M=>{var N=cE(),H=Y(T(N));Z(()=>ve(H,` ${i()??""}`)),P(M,N)};K(S,M=>{i()&&M(q)})}var E=Y(S,2);{var D=M=>{var N=uE(),H=Y(T(N));Z(()=>ve(H,` ${s()??""}`)),P(M,N)};K(E,M=>{s()&&M(D)})}var C=Y(E,2);{var B=M=>{var N=dE(),H=Y(T(N));Z(()=>ve(H,` ${l()??""}`)),P(M,N)};K(C,M=>{l()&&M(B)})}var F=Y(v,2),z=T(F),L=Y(z,2),A=Y(L,2);Z(()=>{ve(w,` ${t()??""}`),ve(b,` ${n()??""}`),ve(I,` ${a()??""}`)}),Nr("click",z,function(...M){var N;(N=c())==null||N.apply(this,M)}),Nr("click",L,function(...M){var N;(N=u())==null||N.apply(this,M)}),Nr("click",A,function(...M){var N;(N=d())==null||N.apply(this,M)}),Nr("click",_,p),P(r,_),me()}async function V_(r,e,t,n){const a=new Date,i=`test_${a.getTime()}_${da()}`,s=`test_store_operation_session_${da()}`,c={storeTransactionId:i,productIdentifier:r.identifier,purchaseDate:a},u=await e.postReceipt(t,r.identifier,r.price.currency,i,r.presentedOfferingContext,"purchase",n);return{customerInfo:tc(u),redemptionInfo:null,operationSessionId:s,storeTransaction:c}}function fE(r,e,t){const n=r.rcPackage.webBillingProduct,a=n.productType,i=n.freeTrialPhase,s=n.introPricePhase,l=n.discountPhase,c=n.price,u=d=>d?`${d.number} ${d.unit}${d.number>1?"s":""}`:"N/A";return new Promise((d,p)=>{var y,h;const _=uc(),g=_.createElement("div");_.body.appendChild(g);const f=()=>{v&&vo(v),_.body.removeChild(g)};let v=null;v=oa(gE,{target:g,props:{productIdentifier:n.identifier,productType:a,basePrice:c.formattedPrice,freeTrialPeriod:i?u(i.period):void 0,introPriceFormatted:(y=s==null?void 0:s.price)==null?void 0:y.formattedPrice,discountFormatted:(h=l==null?void 0:l.price)==null?void 0:h.formattedPrice,onValidPurchase:async()=>{f(),ye.debugLog("[Test store] Performing test purchase. This purchase won't appear in production.");try{d(await V_(n,e,t,r.paywallId))}catch(w){p(w)}},onFailedPurchase:()=>{f(),ye.debugLog("[Test store] Purchase failure simulated successfully in Test Store."),p(new Qe(Ae.TestStoreSimulatedPurchaseError,Oa.getPublicMessage(Ae.TestStoreSimulatedPurchaseError),"Simulated error successfully."))},onCancel:()=>{f(),p(new Qe(Ae.UserCancelledError))}}})})}class mE{constructor(){ee(this,"virtualCurrenciesCache",new Map);ee(this,"CACHE_EXPIRY_MS",5*60*1e3)}invalidateAllCaches(){this.virtualCurrenciesCache.clear()}cacheVirtualCurrencies(e,t){this.virtualCurrenciesCache.set(e,{data:t,lastUpdatedAt:Date.now()})}getCachedVirtualCurrencies(e,t=!1){const n=this.virtualCurrenciesCache.get(e);return this.getCachedData(n??null,t)}invalidateVirtualCurrenciesCache(e){this.virtualCurrenciesCache.delete(e)}getCachedData(e,t=!1){return e?t?e.data:Date.now()-e.lastUpdatedAt>=this.CACHE_EXPIRY_MS?null:e.data:null}}function hE(r){return{balance:r.balance,name:r.name,code:r.code,serverDescription:r.description??null}}function vE(r){const e={};for(const[t,n]of Object.entries(r.virtual_currencies))e[t]=hE(n);return{all:e}}function yE(r,e){const t=r.webCheckoutURL;if(typeof t=="string"&&t.length>0)return t;if(typeof e=="string"&&e.length>0)return e}function bE(r,e){const t=r.webBillingProduct,n=yE(r,e),a=n!==void 0?{webCheckoutURL:n}:{},i=t.productType===Xr.Subscription,s=t.defaultSubscriptionOption;if(i&&s)return{hasTrial:s.trial!==null,hasIntroOffer:s.introPrice!==null,hasPromoOffer:s.discount!==null,...a};const l=t.defaultNonSubscriptionOption;return!i&&l?{hasTrial:!1,hasIntroOffer:!1,hasPromoOffer:l.discount!==null,...a}:{hasTrial:!1,hasIntroOffer:!1,hasPromoOffer:!1,...a}}function W_(r){const e=Object.entries(r.packagesById).map(([t,n])=>[t,bE(n,r.webCheckoutURL)]);return Object.fromEntries(e)}const kE=(r,e)=>{var n;if(r.productType===Xr.Subscription){const a=((n=r.subscriptionOptions)==null?void 0:n[e.id])||r.defaultSubscriptionOption;if(!a)throw new he(_e.ErrorSettingUpPurchase);return a}const t=r.defaultNonSubscriptionOption;if(!t)throw new he(_e.ErrorSettingUpPurchase);return t},wE=(r,e)=>{const t=Bo(r,e);return{currency:t.currency,taxCalculationStatus:"unavailable",totalAmountInMicros:t.amountMicros,totalExcludingTaxInMicros:t.amountMicros,taxAmountInMicros:null,taxBreakdown:null}},H_=(r,e,t,n,a)=>{const i=r.webBillingProduct,s=kE(i,e),l=wE(i,s),c=Jl({priceBreakdown:l,productDetails:i,purchaseOption:s,translator:n}),d=i.productType===Xr.Subscription?pr.buildStripeExpressCheckoutOptionsForSubscription(i,l,s,n,t,c,2,1):pr.buildStripeExpressCheckoutOptionsForNonSubscription(i,l,c,2,1);return a&&(d.buttonTheme={applePay:a,googlePay:a==="white-outline"?"white":a}),d},Y_=(r,e,t,n,a,i,s)=>{if(!e.elements_configuration)throw new he(_e.ErrorSettingUpPurchase);return pr.updateElementsConfiguration(r,e.elements_configuration),{expOptions:H_(n,a,t,i,s)}},PE=async(r,e,t,n,a,i,s)=>{var h,w;if(!r.elements_configuration)throw new he(_e.ErrorSettingUpPurchase);const l=r.stripe_account_id,c=r.publishable_api_key,u=pr.getStripeLocale(a.bcp47Locale||a.fallbackBcp47Locale),d={fontSizeBase:"14px",fontFamily:Oo,spacingGridRow:"16px"},p=((h=ns())==null?void 0:h.matchMedia)&&((w=ns())==null?void 0:w.matchMedia("(max-width: 767px)").matches);let _="mobile";if(p?_="mobile":_="desktop",!l||!c)throw new he(_e.ErrorSettingUpPurchase);const g=r.elements_configuration,{stripe:f,elements:v}=await pr.initializeStripe(l,c,g,i,u,d,_),y=H_(t,n,e,a,s);return{stripeInstance:f,elementsInstance:v,expOptions:y}};var xE=W("<div><!></div>");function EE(r,e){var q;fe(e,!0);const t="express_purchase_button";let n=Or(e.translator);const a=Or(((q=e.brandingInfo)==null?void 0:q.appearance)??null);kr(vr,n),kr(Bn,a);let i=re(!0),s=re(!1),l=re(null),c=re(null),u=re(null);const d=E=>{const D=Sp({errorCode:E.getErrorCode().toString(),errorMessage:E.message,mode:t});e.eventsTracker.trackSDKEvent(D),e.onError(E)};let p=!1;const _=async()=>{if(p)return;p=!0;let E;try{E=await e.purchaseOperationHelper.prepareCheckout(e.rcPackage.webBillingProduct.identifier,e.purchaseOption)}catch(C){d(C);return}if(!E.stripe_gateway_params){const C=new he(_e.ErrorSettingUpPurchase,"We couldn’t download Stripe params for this purchase. Please try again.");d(C);return}const D="http://blank";try{if(!o(c)||!o(l)){const{stripeInstance:C,elementsInstance:B,expOptions:F}=await PE(E.stripe_gateway_params,D,e.rcPackage,e.purchaseOption,e.translator,e.brandingInfo,e.walletButtonTheme);j(c,C,!0),j(l,B,!0),j(u,F,!0)}else{const{expOptions:C}=Y_(o(l),E.stripe_gateway_params,D,e.rcPackage,e.purchaseOption,e.translator,e.walletButtonTheme);j(u,C,!0)}}catch(C){d(C);return}j(i,!1)};mr(()=>{p=!1,_().then(()=>{})});const g=E=>{const D=Vl({errorCode:E.gatewayErrorCode??null,errorMessage:E.message??"",mode:t});e.eventsTracker.trackSDKEvent(D),d(new he(_e.ErrorSettingUpPurchase,"Failed to initialize payment form",E.message))},f=async(E,D)=>{var F;const{customerDetails:C,confirmationTokenId:B}=await pr.extractTaxCustomerDetails(E,D);if((F=e.brandingInfo)!=null&&F.gateway_tax_collection_enabled){const z=await e.purchaseOperationHelper.checkoutRefreshPricing({countryCode:C.countryCode,postalCode:C.postalCode}),L=Dp({taxCalculation:z,taxCustomerDetails:C,mode:t});e.eventsTracker.trackSDKEvent(L)}return B};async function v(E){var F,z;if(!o(l)||!o(c))return!1;await pr.submitElements(o(l));const D=await e.purchaseOperationHelper.checkoutComplete(E,e.translator.selectedLocale),C=(F=D==null?void 0:D.gateway_params)==null?void 0:F.client_secret;if(!C)return!1;const B=(z=e.brandingInfo)!=null&&z.gateway_tax_collection_enabled?await f(o(l),o(c)):void 0;return await pr.confirmElements(o(c),o(l),C,B),!0}const y=async(E,D,C)=>{if(o(s))return;const B=Ap({selectedPaymentMethod:E??null,mode:t});e.eventsTracker.trackSDKEvent(B),j(s,!0);try{const F=await v(D);if(j(s,!1),!F)return;const z=await e.purchaseOperationHelper.pollCurrentPurchaseForCompletion();e.onFinished(z),j(s,!1)}catch(F){if(F instanceof he)d(F);else if(F instanceof Lo){const z=Vl({errorCode:F.gatewayErrorCode??null,errorMessage:F.message??"",mode:t});e.eventsTracker.trackSDKEvent(z),d(new he(_e.ErrorSettingUpPurchase,"Failed to complete payment",F.message))}C.paymentFailed(),j(s,!1)}},h=async()=>{var D;const E=Bi({appearance:(D=e.brandingInfo)==null?void 0:D.appearance,rcPackage:e.rcPackage,purchaseOptionToUse:e.purchaseOption,customerEmail:e.customerEmail,mode:"express_purchase_button"});e.eventsTracker.trackSDKEvent(E);try{const C=await e.purchaseOperationHelper.checkoutStart({appUserId:e.appUserId,productId:e.rcPackage.webBillingProduct.identifier,purchaseOption:e.purchaseOption,presentedOfferingContext:e.rcPackage.webBillingProduct.presentedOfferingContext,customerEmail:e.customerEmail,metadata:e.metadata,locale:e.translator.selectedLocale}),B=C.management_url;if(!o(l))throw new he(_e.ErrorSettingUpPurchase);const{expOptions:F}=Y_(o(l),C.gateway_params,B,e.rcPackage,e.purchaseOption,e.translator,e.walletButtonTheme);return{applePay:F.applePay,lineItems:F.lineItems}}catch(C){throw d(C instanceof he?C:new he(_e.ErrorSettingUpPurchase)),C}},w=E=>{var D,C;(C=(D=e.listener)==null?void 0:D.onPurchaseStarted)==null||C.call(D,e.rcPackage),h().then(B=>E.resolve(B))},k=()=>{var E,D;e.eventsTracker.trackSDKEvent(Cp({mode:"express_purchase_button"})),(D=(E=e.listener)==null?void 0:E.onPurchaseCancelled)==null||D.call(E)};function b(E){var C,B;const D=((C=E.availablePaymentMethods)==null?void 0:C.applePay)||((B=E.availablePaymentMethods)==null?void 0:B.googlePay);e.onReady&&e.onReady(!!D)}var x=xE(),I=T(x);{var S=E=>{Yp(E,{get elements(){return o(l)},onError:g,onSubmit:y,onClick:w,onCancel:k,onReady:b,get expressCheckoutOptions(){return o(u)},forceEnableWalletMethods:!1,hideCheckoutSeparator:!0})};K(I,E=>{!o(i)&&o(l)&&o(u)&&e.brandingInfo&&E(S)})}P(r,x),me()}class SE{constructor(e,t,n){Ge(this,eo);ee(this,"button");We(this,eo,re(nr({props:n})));const i={updatePurchase:(s,l)=>{this.changePackage(s,l)}};this.state.props.onReady=s=>{t(i,s)},this.button=oa(EE,{target:e,props:this.state.props})}get state(){return o(J(this,eo))}set state(e){j(J(this,eo),e,!0)}changePackage(e,t){this.state.props&&(this.state.props.rcPackage=e,this.state.props.purchaseOption=t??e.webBillingProduct.defaultPurchaseOption)}}eo=new WeakMap;const IE=new Set(["javascript:","data:","vbscript:"]);function CE(r){return IE.has(r.toLowerCase())}function TE(r,e){const t=r.trim();if(t.length===0)return!1;let n;try{n=new URL(t)}catch{return!1}return CE(n.protocol)?!1:e==="deep_link"?!0:n.protocol==="http:"||n.protocol==="https:"}var G_=(r=>(r.DisplayName="$displayName",r.Email="$email",r.PhoneNumber="$phoneNumber",r.IDFA="$idfa",r.IDFV="$idfv",r.GPSAdId="$gpsAdId",r.AndroidId="$androidId",r.AmazonAdId="$amazonAdId",r.IP="$ip",r.AdjustId="$adjustId",r.AmplitudeDeviceId="$amplitudeDeviceId",r.AmplitudeUserId="$amplitudeUserId",r.AppsflyerId="$appsflyerId",r.AppsflyerSharingFilter="$appsflyerSharingFilter",r.BranchId="$branchId",r.BrazeAliasName="$brazeAliasName",r.BrazeAliasLabel="$brazeAliasLabel",r.ClevertapId="$clevertapId",r.FbAnonId="$fbAnonId",r.MparticleId="$mparticleId",r.OnesignalId="$onesignalId",r.OnesignalUserId="$onesignalUserId",r.IntercomContactId="$intercomContactId",r.MediaSource="$mediaSource",r.Campaign="$campaign",r.AdGroup="$adGroup",r.AdId="$ad",r.Keyword="$keyword",r.Creative="$creative",r.APNSTokens="$apnsTokens",r.FCMTokens="$fcmTokens",r.AirshipChannelId="$airshipChannelId",r.SegmentId="$segmentId",r.IterableUserId="$iterableUserId",r.IterableCampaignId="$iterableCampaignId",r.IterableTemplateId="$iterableTemplateId",r.FirebaseAppInstanceId="$firebaseAppInstanceId",r.MixpanelDistinctId="$mixpanelDistinctId",r.ATTConsentStatus="$attConsentStatus",r.KochavaDeviceId="$kochavaDeviceId",r.DeviceVersion="$deviceVersion",r.PosthogUserId="$posthogUserId",r.TelemetryDeckUserId="$telemetryDeckUserId",r.TelemetryDeckAppId="$telemetryDeckAppId",r.AppleRefundHandlingPreference="$appleRefundHandlingPreference",r.CustomerioId="$customerioId",r.TenjinId="$tenjinId",r))(G_||{});const K_="$RCAnonymousID:";J_=[A_],Z_=[A_];const qr=class qr{constructor(e,t,n=oc,a=dc,i,s){ng(ds,5,this);ee(this,"_API_KEY");ee(this,"_appUserId");ee(this,"_brandingInfo",null);ee(this,"_loadingResourcesPromise",null);ee(this,"_flags");ee(this,"_context");ee(this,"backend");ee(this,"purchaseOperationHelper");ee(this,"eventsTracker");ee(this,"inMemoryCache");var l;this._API_KEY=e,this._appUserId=t,this._flags={...dc,...a},this._context=i,rs(e)?ye.debugLog("Initializing Purchases SDK with Web billing sandbox API Key"):pa(e)&&ye.debugLog("Initializing Purchases SDK with RC Test store API Key."),this.eventsTracker=new sE({apiKey:this._API_KEY,appUserId:this._appUserId,silent:!this._flags.collectAnalyticsEvents,rcSource:this._flags.rcSource??null,workflowContext:(l=this._context)==null?void 0:l.workflowContext,trace_id:s,httpConfig:n}),this.backend=new yx(this._API_KEY,n,this._context),this.inMemoryCache=new mE,this.purchaseOperationHelper=new yi(this.backend,this.eventsTracker),this.eventsTracker.trackSDKEvent({eventName:ct.SDKInitialized})}static setLogLevel(e){ye.setLogLevel(e)}static setLogHandler(e){ye.setLogHandler(e)}static setPlatformInfo(e){qr._platformInfo=e}static buildVariablesPerPackage(e,t={}){return F_(e,t)}static buildInfoPerPackage(e){return W_(e)}static getPlatformInfo(){return qr._platformInfo}static getSharedInstance(){if(qr.isConfigured())return qr.instance;throw new Vu}static isConfigured(){return qr.instance!==void 0}static configure(e,t,n,a){qr.instance!==void 0&&ye.warnLog("Purchases is already initialized. You normally should only configure Purchases once. Creating and returning new instance.");let i;if(typeof e=="object"&&e!==null)i=e;else{if(typeof e!="string")throw new Qe(Ae.ConfigurationError,"API key must be provided as a string");if(typeof t!="string")throw new Qe(Ae.ConfigurationError,"App user ID must be provided as a string");i={apiKey:e,appUserId:t,httpConfig:n,flags:a}}return qr.configureInternal(i),qr.getSharedInstance()}static configureInternal(e){const{apiKey:t,appUserId:n,httpConfig:a,flags:i,context:s,trace_id:l}=e,c=a??oc,u=i??dc;qr.validateConfig(e),qr.instance=new qr(t,n,c,u,s,l)}static validateConfig(e){var t,n;bx(e.apiKey),ic(e.appUserId),kx((t=e.httpConfig)==null?void 0:t.proxyURL),wx((n=e.httpConfig)==null?void 0:n.additionalHeaders)}async preload(){if(this.hasLoadedResources()){ye.verboseLog("Purchases resources are loaded. Skipping.");return}if(this._loadingResourcesPromise!==null){ye.verboseLog("Purchases resources are loading. Waiting."),await this._loadingResourcesPromise;return}return this._loadingResourcesPromise=this.fetchAndCacheBrandingInfo().catch(e=>{let t=`${e}`;e instanceof Qe&&(t=`${e.message}. ${e.underlyingErrorMessage?`Underlying error: ${e.underlyingErrorMessage}`:""}`),ye.errorLog(`Error fetching branding info: ${t}`)}).finally(()=>{this._loadingResourcesPromise=null}),this._loadingResourcesPromise}async fetchAndCacheBrandingInfo(){if(pa(this._API_KEY)){ye.warnLog("Branding info is not available for RC Test Store API keys.");return}this._brandingInfo=await this.backend.getBrandingInfo()}hasLoadedResources(){return this._brandingInfo!==null}async presentPaywall(e){var X,R,$,ce,de,G,V;const t=e.htmlTarget;let n=!1;const a=uc();let i=t??a.getElementById("rcb-ui-pw-root");if(i===null){n=!0;const O=a.createElement("div");O.id="rcb-ui-pw-root",O.className="rcb-ui-pw-root",O.style.zIndex=`${Ex}`,O.style.position="fixed",O.style.top="0",O.style.left="0",O.style.width="100%",O.style.height="100%",O.style.overflow="auto",O.style.backgroundColor="var(--rc-purchases-ui-bg-color, Canvas)",a.body.offsetWidth>968&&(O.style.display="flex",O.style.justifyContent="center",O.style.alignItems="center"),O.style.transition="opacity 0.3s",O.style.opacity="0",a.body.appendChild(O),i=O}if(i===null)throw new Error("Could not generate a mount point for the paywall widget");const s=i,l=e.offering?e.offering:(await this.getOfferings()).current;if(!l)throw new Error("No offering found.");const c=this._flags.workflowsEndpointEnabled?await this.backend.getWorkflows(this._appUserId).catch(O=>(ye.warnLog(`Failed to fetch workflows: ${O}`),null)):null,u=(X=c==null?void 0:c.workflows)==null?void 0:X.find(O=>O.offering_id===l.identifier);if(!u&&!l.paywallComponents)throw new Error("This offering doesn't have a paywall attached.");if(!u&&!l.uiConfig)throw new Error("No ui_config found for this offering, please contact support!");const d=(O,U)=>{const te={},ue=Te=>Te.toLowerCase().split("_")[0];Object.keys(O.components_localizations).forEach(Te=>{te[ue(Te)]===void 0&&(te[ue(Te)]=[]),te[ue(Te)].push(Te)});const Se=te[ue(U)];if(!Se)return O.default_locale;const Pe=Se.find(Te=>Te.toLowerCase()===U);return Pe||Se[0]},p=e.selectedLocale?e.selectedLocale:navigator.language,_=l.paywallComponents?d(l.paywallComponents,p):p,g=new An({},_,((R=l.paywallComponents)==null?void 0:R.default_locale)??Hr),f=da(),v={appUserId:this._appUserId,sessionId:f,offeringId:l.identifier,paywallRevision:0,paywallRcPublicId:(($=l.paywallComponents)==null?void 0:$.id)??null,presentedOfferingContext:(de=(ce=l.availablePackages[0])==null?void 0:ce.webBillingProduct)==null?void 0:de.presentedOfferingContext},y={displayMode:"full_screen",darkMode:((V=(G=Vn())==null?void 0:G.matchMedia)==null?void 0:V.call(G,"(prefers-color-scheme: dark)").matches)??!1,locale:_},h=new Map(l.availablePackages.map(O=>[O.identifier,O.webBillingProduct.identifier])),w=O=>{if(O!==void 0)return h.get(O)},k=O=>{const U=O;return{type:"paywall_component_interacted",...v,...y,componentType:O.componentType,componentName:O.componentName,componentValue:O.componentValue,componentURL:U.componentURL,originIndex:U.originIndex,destinationIndex:U.destinationIndex,originContextName:U.originContextName,destinationContextName:U.destinationContextName,defaultIndex:U.defaultIndex,originPackageId:U.originPackageId,destinationPackageId:U.destinationPackageId,defaultPackageId:U.defaultPackageId,originProductId:U.originProductId??w(U.originPackageId),destinationProductId:U.destinationProductId??w(U.destinationPackageId),defaultProductId:U.defaultProductId??w(U.defaultPackageId),currentPackageId:U.currentPackageId,resultingPackageId:U.resultingPackageId,currentProductId:U.currentProductId??w(U.currentPackageId),resultingProductId:U.resultingProductId??w(U.resultingPackageId)}},b=O=>{this.eventsTracker.trackPaywallEvent({type:O,...v,...O==="paywall_impression"?{...y}:{}})},x=async(O,U=_)=>{var Se,Pe;const te=l.availablePackages.find(Te=>Te.identifier===O);if(te===void 0)throw new Error(`No package found for ${O}`);return{...await this.purchase({rcPackage:te,htmlTarget:e.purchaseHtmlTarget,customerEmail:e.customerEmail,showDiscountCodeField:e.showDiscountCodeField,discountCode:e.discountCode,onDiscountCodeChanged:e.onDiscountCodeChanged,selectedLocale:U,defaultLocale:((Se=l.paywallComponents)==null?void 0:Se.default_locale)??Hr,paywallId:(Pe=l.paywallComponents)==null?void 0:Pe.id}),selectedPackage:te}};let I=null,S=null;const q=O=>{const U=O.target;if(!(U instanceof Element))return;const te=U.closest("a[href]");if(!(te instanceof HTMLAnchorElement)||!s.contains(te))return;const ue=te.getAttribute("href")??te.href;ue&&(S={url:ue,defaultPrevented:O.defaultPrevented})},E=O=>{var ue;const U=(I==null?void 0:I.componentURL)===O?I:null;if(I=null,e.onNavigateToUrl){e.onNavigateToUrl(O);return}if((U==null?void 0:U.componentType)==="text"){queueMicrotask(()=>{var Te;const Se=(S==null?void 0:S.url)===O?S:null;if(S=null,(Se==null?void 0:Se.defaultPrevented)!==!0)return;(Te=Vn().open(O,"_blank"))==null||Te.focus()});return}(ue=Vn().open(O,"_blank"))==null||ue.focus()},D=async O=>{var te;if(e.onCompleteWorkflowNavigate){await e.onCompleteWorkflowNavigate(O);return}if(!TE(O.url,O.method)){ye.warnLog("Blocked complete-workflow navigation to a disallowed URL.");return}const U=Vn();O.method==="external_browser"?(te=U.open(O.url,"_blank","noopener,noreferrer"))==null||te.focus():U.location.assign(O.url)},C=()=>{},B=()=>{if(e.onVisitCustomerCenter){e.onVisitCustomerCenter();return}},F=F_(l,{translator:g}),z=W_(l),L=e.listener,A=O=>{if(L!=null&&L.onPurchaseStarted)try{L.onPurchaseStarted(O)}catch(U){ye.errorLog(`Error in listener.onPurchaseStarted: ${U}`)}},M=O=>{if(O instanceof Qe&&O.errorCode===Ae.UserCancelledError){if(L!=null&&L.onPurchaseCancelled)try{L.onPurchaseCancelled()}catch(U){ye.errorLog(`Error in listener.onPurchaseCancelled: ${U}`)}}else{if(L!=null&&L.onPurchaseError)try{L.onPurchaseError(O)}catch(U){ye.errorLog(`Error in listener.onPurchaseError: ${U}`)}e.onPurchaseError&&e.onPurchaseError(O)}};let N,H;if(u){const O=await this.backend.getWorkflowById(this._appUserId,u.id).catch(te=>(ye.warnLog(`Failed to fetch workflow data, falling back to standard paywall: ${te}`),null)),U=O?Qy(O):null;if(O&&U)H=O,N=U;else{if(O&&!U&&ye.warnLog("Failed to resolve workflow navigation data, falling back to standard paywall."),!l.paywallComponents)throw new Error("This offering doesn't have a paywall attached and the workflow could not be loaded.");if(!l.uiConfig)throw new Error("No ui_config found for this offering, please contact support!")}}return new Promise((O,U)=>{let te=null,ue=!1,Se=!1;s.addEventListener("click",q);const Pe=()=>{Se||(Se=!0,b("paywall_close"))},Te=ge=>{!ue||Se||this.eventsTracker.trackPaywallEvent(k(ge))},Ne=ge=>{const le=ge;I=le.componentURL===void 0?null:{componentType:ge.componentType,componentURL:le.componentURL},Te(ge)},ze=new MutationObserver(()=>{s.childElementCount===0&&(Pe(),ze.disconnect())}),Ie=()=>{ze.disconnect(),s.removeEventListener("click",q),Pe(),te&&(vo(te),te=null),s.innerHTML="",n&&s.parentNode&&s.parentNode.removeChild(s)},Ee=()=>{ye.debugLog("Purchase cancelled by user"),Ie(),U(new Qe(Ae.UserCancelledError)),this.eventsTracker.flushAllEvents().catch(ge=>{ye.debugLog(`Failed to flush paywall events on close: ${ge}`)})},Be=ge=>{Ie(),O(ge),this.eventsTracker.flushAllEvents().catch(le=>{ye.debugLog(`Failed to flush paywall events after purchase: ${le}`)})},Ve=ge=>le=>{le instanceof Qe&&le.errorCode===Ae.UserCancelledError&&b("paywall_cancel"),ye.errorLog(`${ge}: ${le}`),M(le)},ne=this.getWalletButtonRender(l,Be,e.customerEmail,Ve("Error presenting express purchase button"),L);if(s.innerHTML="",N&&H)try{te=oa(Vy,{target:s,props:{workflow:N,uiConfig:H.ui_config,selectedLocale:p,variablesPerPackage:F,walletButtonRender:ne,onPurchaseClicked:ge=>{const le=l.packagesById[ge];le&&A(le),x(ge,p).then(Be).catch(Ve("Error performing purchase"))},onClose:Ee,onExitBack:()=>{if(e.onBack){e.onBack(Ee);return}Ee()},onCompleteWorkflowNavigate:D,onNavigateToUrlClicked:E,onRestorePurchasesClicked:C,onVisitCustomerCenterClicked:B,onComponentInteraction:Ne,globalVariables:e.customVariables?ip(e.customVariables,H.ui_config):void 0,maxContentWidth:H.content_max_width?String(H.content_max_width):void 0}})}catch(ge){Ie(),U(ge);return}else te=oa(fp,{target:s,props:{paywallData:l.paywallComponents,selectedLocale:_,onNavigateToUrlClicked:E,appUserId:this._appUserId,onCompleteWorkflowNavigate:D,onVisitCustomerCenterClicked:B,uiConfig:l.uiConfig,onBackClicked:()=>{if(e.onBack){e.onBack(Ee);return}Ee()},onRestorePurchasesClicked:C,onPurchaseClicked:ge=>{const le=l.packagesById[ge];le&&A(le),x(ge).then(Be).catch(Ve("Error performing purchase"))},onError:ge=>{Ie(),U(ge)},variablesPerPackage:F,infoPerPackage:z,hideBackButtons:e.hideBackButtons,walletButtonRender:ne,customVariables:e.customVariables,onComponentInteraction:Ne}});ze.observe(s,{childList:!0}),b("paywall_impression"),ue=!0,s.style.opacity==="0"&&(s.style.opacity="1")})}async getOfferings(e){j1(e==null?void 0:e.currency);const t=this._appUserId,n=await this.backend.getOfferings(t),a=(e==null?void 0:e.offeringIdentifier)===sc.Current?n.current_offering_id:e==null?void 0:e.offeringIdentifier;return a&&(n.offerings=n.offerings.filter(i=>i.identifier===a)),await this.getAllOfferings(n,t,e)}async getCurrentOfferingForPlacement(e,t){const n=this._appUserId,a=await this.backend.getOfferings(n),i=await this.getAllOfferings(a,n,t),s=a.placements??null;return s==null?null:Px(s,i.all,e)}async getAllOfferings(e,t,n){const a=e.offerings.flatMap(s=>s.packages).map(s=>s.platform_product_identifier),i=await this.backend.getProducts(t,a,n==null?void 0:n.currency,n==null?void 0:n.discountCode);return this.logMissingProductIds(a,i.product_details),xx(e,i)}async isEntitledTo(e){const t=await this.getCustomerInfo();return e in t.entitlements.active}purchasePackage(e,t,n){return this.purchase({rcPackage:e,customerEmail:t,htmlTarget:n})}async presentExpressPurchaseButton(e){const{rcPackage:t,purchaseOption:n,htmlTarget:a,customerEmail:i,selectedLocale:s=Hr,defaultLocale:l=Hr,onButtonReady:c=()=>{},walletButtonTheme:u}=e;if(a===void 0)throw new Error("htmlTarget is required for presentExpressPurchaseButton");const d=this._appUserId;if(!nc(this._API_KEY))throw new Error("The Express Purchase button is only available with Web Billing API Keys.");const p=n??t.webBillingProduct.defaultPurchaseOption,g={...this._flags.autoCollectUTMAsMetadata?as():{},...e.metadata||{}},f=new An({},s,l);return new Promise((v,y)=>{const h=async k=>{const b=Ip({redemptionInfo:k.redemptionInfo,mode:"express_purchase_button"});this.eventsTracker.trackSDKEvent(b),ye.debugLog("Purchase finished");const x={customerInfo:await this._getCustomerInfoForUserId(d),redemptionInfo:k.redemptionInfo,operationSessionId:k.operationSessionId,attributionMetadata:k.attributionMetadata,storeTransaction:{storeTransactionId:k.storeTransactionIdentifier,productIdentifier:t.webBillingProduct.identifier,purchaseDate:k.purchaseDate}};v(x)},w=k=>{var x;const b=Tp({errorCode:(x=k.errorCode)==null?void 0:x.toString(),errorMessage:k.message,mode:"express_purchase_button"});this.eventsTracker.trackSDKEvent(b),y(k)};new SE(a,c,{appUserId:d,rcPackage:t,purchaseOption:p,customerEmail:i,purchases:this,eventsTracker:this.eventsTracker,brandingInfo:this._brandingInfo,purchaseOperationHelper:this.purchaseOperationHelper,metadata:g,customTranslations:e.labelsOverride,translator:f,onFinished:h,onError:w,listener:e.listener,walletButtonTheme:u})})}getWalletButtonRender(e,t,n,a,i){if(nc(this._API_KEY))return(s,{selectedPackageId:l,onReady:c,walletButtonTheme:u})=>{const d=e.packagesById[l];if(!d)return{};let p=null;return this.presentExpressPurchaseButton({rcPackage:d,customerEmail:n,htmlTarget:s,onButtonReady:(_,g)=>{p=_,c==null||c(g)},listener:i,walletButtonTheme:u}).then(_=>{t({..._,selectedPackage:d})}).catch(a),{destroy(){s.innerHTML=""},update({selectedPackageId:_}){if(p){const g=e.packagesById[_];if(!g)return;const f=g.webBillingProduct.defaultPurchaseOption;p.updatePurchase(g,f)}}}}}async purchase(e){if(pa(this._API_KEY)){const a=await fE(e,this.backend,this._appUserId);return this.inMemoryCache.invalidateAllCaches(),a}return y_(this._API_KEY)?await this.performPaddlePurchase(e):b_(this._API_KEY)?await this.performStripePurchase(e):await this.performWebBillingPurchase(e)}async performStripePurchase(e){var I;const{rcPackage:t,purchaseOption:n,htmlTarget:a,customerEmail:i,workflowPurchaseContext:s,attributionMetadata:l,paywallId:c,selectedLocale:u=Hr,defaultLocale:d=Hr,skipSuccessPage:p=!1}=e,_=this.resolveHTMLTarget(a),g=this._appUserId;ye.debugLog(`Presenting Stripe checkout for package ${t.identifier}`);const f=u||d,v=n??t.webBillingProduct.defaultPurchaseOption,y=Bi({appearance:(I=this._brandingInfo)==null?void 0:I.appearance,rcPackage:t,purchaseOptionToUse:v,customerEmail:i});this.eventsTracker.trackSDKEvent(y);const w={...this._flags.autoCollectUTMAsMetadata?as():{},...e.metadata||{}};let k=null;const b=this._brandingInfo;b&&e.brandingAppearanceOverride&&(b.appearance=e.brandingAppearanceOverride);const x=a!==void 0;return new Promise((S,q)=>{const E=Vn();x||E.history.pushState({checkoutOpen:!0},"");const D=()=>{k&&vo(k),_.innerHTML=""},C=this.createCheckoutOnCloseHandler(q,D);!x&&C&&E.addEventListener("popstate",C);const B=this.createCheckoutOnFinishedHandler(S,g,t,D),F=this.createCheckoutOnErrorHandler(q,D);k=oa(L0,{target:_,props:{isInElement:x,appUserId:g,rcPackage:t,purchaseOption:v,customerEmail:i,workflowPurchaseContext:s,attributionMetadata:l,paywallId:c,onFinished:B,onClose:C,onError:F,eventsTracker:this.eventsTracker,brandingInfo:this._brandingInfo,purchaseOperationHelper:this.purchaseOperationHelper,selectedLocale:f,metadata:w,defaultLocale:d,customTranslations:e.labelsOverride,skipSuccessPage:p}})})}async performWebBillingPurchase(e){var q;const{rcPackage:t,purchaseOption:n,htmlTarget:a,customerEmail:i,workflowPurchaseContext:s,attributionMetadata:l,selectedLocale:c=Hr,defaultLocale:u=Hr,skipSuccessPage:d=!1,showDiscountCodeField:p=!1,discountCode:_,onDiscountCodeChanged:g}=e,f=this.resolveHTMLTarget(a),v=this._appUserId;ye.debugLog(`Presenting purchase form for package ${t.identifier}`);const y=c||u,h=n??t.webBillingProduct.defaultPurchaseOption,w=Bi({appearance:(q=this._brandingInfo)==null?void 0:q.appearance,rcPackage:t,purchaseOptionToUse:h,customerEmail:i});this.eventsTracker.trackSDKEvent(w);const b={...this._flags.autoCollectUTMAsMetadata?as():{},...e.metadata||{}};let x=null;const I=this._brandingInfo;I&&e.brandingAppearanceOverride&&(I.appearance=e.brandingAppearanceOverride);const S=a!==void 0;return new Promise((E,D)=>{const C=Vn();S||C.history.pushState({checkoutOpen:!0},"");const B=()=>{x&&vo(x),f.innerHTML=""},F=this.createCheckoutOnCloseHandler(D,B);!S&&F&&C.addEventListener("popstate",F);const z=this.createCheckoutOnFinishedHandler(E,v,t,B),L=this.createCheckoutOnErrorHandler(D,B);x=oa(N1,{target:f,props:{isInElement:S,appUserId:v,rcPackage:t,purchaseOption:h,customerEmail:i,workflowPurchaseContext:s,attributionMetadata:l,paywallId:e.paywallId,onFinished:z,onClose:F,onError:L,purchases:this,eventsTracker:this.eventsTracker,brandingInfo:this._brandingInfo,purchaseOperationHelper:this.purchaseOperationHelper,selectedLocale:y,metadata:b,defaultLocale:u,customTranslations:e.labelsOverride,termsAndConditionsUrl:e.termsAndConditionsUrl,showDiscountCodeField:p,discountCode:_,onDiscountCodeChanged:g,skipSuccessPage:d}})})}async performPaddlePurchase(e){var b;const{rcPackage:t,purchaseOption:n,customerEmail:a,attributionMetadata:i,selectedLocale:s=Hr,defaultLocale:l=Hr,skipSuccessPage:c=!1,htmlTarget:u}=e,d=this.resolveHTMLTarget(u),p=this._appUserId;ye.debugLog(`Presenting Paddle checkout for package ${t.identifier}`);const _=n??t.webBillingProduct.defaultPurchaseOption,f={source:"paddle",...this._flags.autoCollectUTMAsMetadata?as():{},...e.metadata||{}},v=this._brandingInfo;v&&e.brandingAppearanceOverride&&(v.appearance=e.brandingAppearanceOverride);const y=Bi({appearance:(b=this._brandingInfo)==null?void 0:b.appearance,rcPackage:t,purchaseOptionToUse:_,customerEmail:a});this.eventsTracker.trackSDKEvent(y);const h=new s0(this.backend,this.eventsTracker);let w=null;const k=u!==void 0;return new Promise((x,I)=>{const S=Vn();k||S.history.pushState({checkoutOpen:!0},"");const q=()=>{w&&vo(w),d.innerHTML=""},E=this.createCheckoutOnCloseHandler(I,q)??(()=>{q()});k||S.addEventListener("popstate",E);const D=this.createCheckoutOnFinishedHandler(x,p,t,q),C=this.createCheckoutOnErrorHandler(I);w||(w=oa(T0,{target:d,props:{eventsTracker:this.eventsTracker,brandingInfo:this._brandingInfo,selectedLocale:s||l,defaultLocale:l,customTranslations:e.labelsOverride,isInElement:k,onClose:E,onFinished:D,onError:C,skipSuccessPage:c,productDetails:t.webBillingProduct,rcPackage:t,appUserId:p,purchaseOption:_,customerEmail:a,attributionMetadata:i,metadata:f,unmountPaddlePurchaseUi:q,paddleService:h}}))})}resolveHTMLTarget(e){const t=uc();let n=e??t.getElementById("rcb-ui-root");if(n===null){const a=t.createElement("div");a.className="rcb-ui-root",t.body.appendChild(a),n=a}if(n===null)throw new Error("Could not generate a mount point for the billing widget");return n}createCheckoutOnCloseHandler(e,t){if(this._flags.rcSource&&lE.includes(this._flags.rcSource))return;const a=()=>{const i=Cp();this.eventsTracker.trackSDKEvent(i),Vn().removeEventListener("popstate",a),t==null||t(),ye.debugLog("Purchase cancelled by user"),e(new Qe(Ae.UserCancelledError))};return a}createCheckoutOnFinishedHandler(e,t,n,a){return async s=>{const l=Ip({redemptionInfo:s.redemptionInfo});this.eventsTracker.trackSDKEvent(l),this.inMemoryCache.invalidateAllCaches(),ye.debugLog("Purchase finished"),a==null||a();const c={customerInfo:await this._getCustomerInfoForUserId(t),redemptionInfo:s.redemptionInfo,operationSessionId:s.operationSessionId,attributionMetadata:s.attributionMetadata,storeTransaction:{storeTransactionId:s.storeTransactionIdentifier,productIdentifier:n.webBillingProduct.identifier,purchaseDate:s.purchaseDate}};e(c)}}createCheckoutOnErrorHandler(e,t){return a=>{var s;const i=Tp({errorCode:(s=a.errorCode)==null?void 0:s.toString(),errorMessage:a.message});this.eventsTracker.trackSDKEvent(i),t==null||t(),e(Qe.getForPurchasesFlowError(a))}}_isConfiguredWithSimulatedStore(){return pa(this._API_KEY)}_shouldForceEnableWalletMethods(){return!!this._flags.forceEnableWalletMethods}async _postSimulatedStoreReceipt(e){if(!pa(this._API_KEY))throw new Qe(Ae.ConfigurationError,"Posting a test store receipt is only available for RC Test Store API keys.");return await V_(e,this.backend,this._appUserId,void 0)}async getCustomerInfo(){return await this._getCustomerInfoForUserId(this._appUserId)}getAppUserId(){return this._appUserId}async setAttributes(e){return await this.getCustomerInfo(),await this.backend.setAttributes(this._appUserId,e)}async changeUser(e){return await this.replaceUserId(e),await this.getCustomerInfo()}async identifyUser(e){if(ic(e),e===this._appUserId)return ye.debugLog(`aliasUser called with the current appUserID: ${e}. Ignoring.`),{customerInfo:await this.getCustomerInfo(),wasCreated:!1};const t=await this.backend.identify(this._appUserId,e);return await this.replaceUserId(e),{customerInfo:tc(t),wasCreated:t.was_created}}async replaceUserId(e){ic(e),this._appUserId=e,await this.eventsTracker.updateUser(e),this.inMemoryCache.invalidateAllCaches()}logMissingProductIds(e,t){const n={};t.forEach(i=>n[i.identifier]=i);const a=[];e.forEach(i=>{n[i]===void 0&&a.push(i)}),a.length>0&&ye.debugLog(`Could not find product data for product ids:
423
+ }`};function hE(r,e){fe(e,!1),we(r,mE);let t=J(e,"productIdentifier",8),n=J(e,"productType",8),a=J(e,"basePrice",8),i=J(e,"freeTrialPeriod",8,void 0),s=J(e,"introPriceFormatted",8,void 0),l=J(e,"discountFormatted",8,void 0),c=J(e,"onValidPurchase",8),u=J(e,"onFailedPurchase",8),d=J(e,"onCancel",8);function p(A){A.target===A.currentTarget&&d()()}An();var g=fE(),_=T(g),f=T(_),v=H(T(f),2),y=T(v),h=T(y),k=H(T(h)),w=H(h,2),b=H(T(w)),x=H(w,2),S=H(T(x)),I=H(x,2);{var z=A=>{var N=pE(),W=H(T(N));K(()=>ve(W,` ${i()??""}`)),P(A,N)};Y(I,A=>{i()&&A(z)})}var E=H(I,2);{var M=A=>{var N=_E(),W=H(T(N));K(()=>ve(W,` ${s()??""}`)),P(A,N)};Y(E,A=>{s()&&A(M)})}var C=H(E,2);{var B=A=>{var N=gE(),W=H(T(N));K(()=>ve(W,` ${l()??""}`)),P(A,N)};Y(C,A=>{l()&&A(B)})}var O=H(v,2),q=T(O),L=H(q,2),F=H(L,2);K(()=>{ve(k,` ${t()??""}`),ve(b,` ${n()??""}`),ve(S,` ${a()??""}`)}),zr("click",q,function(...A){var N;(N=c())==null||N.apply(this,A)}),zr("click",L,function(...A){var N;(N=u())==null||N.apply(this,A)}),zr("click",F,function(...A){var N;(N=d())==null||N.apply(this,A)}),zr("click",g,p),P(r,g),me()}async function G_(r,e,t,n){const a=new Date,i=`test_${a.getTime()}_${pa()}`,s=`test_store_operation_session_${pa()}`,c={storeTransactionId:i,productIdentifier:r.identifier,purchaseDate:a},u=await e.postReceipt(t,r.identifier,r.price.currency,i,r.presentedOfferingContext,"purchase",n);return{customerInfo:tc(u),redemptionInfo:null,operationSessionId:s,storeTransaction:c}}function vE(r,e,t){const n=r.rcPackage.webBillingProduct,a=n.productType,i=n.freeTrialPhase,s=n.introPricePhase,l=n.discountPhase,c=n.price,u=d=>d?`${d.number} ${d.unit}${d.number>1?"s":""}`:"N/A";return new Promise((d,p)=>{var y,h;const g=uc(),_=g.createElement("div");g.body.appendChild(_);const f=()=>{v&&yo(v),g.body.removeChild(_)};let v=null;v=ia(hE,{target:_,props:{productIdentifier:n.identifier,productType:a,basePrice:c.formattedPrice,freeTrialPeriod:i?u(i.period):void 0,introPriceFormatted:(y=s==null?void 0:s.price)==null?void 0:y.formattedPrice,discountFormatted:(h=l==null?void 0:l.price)==null?void 0:h.formattedPrice,onValidPurchase:async()=>{f(),ye.debugLog("[Test store] Performing test purchase. This purchase won't appear in production.");try{d(await G_(n,e,t,r.paywallId))}catch(k){p(k)}},onFailedPurchase:()=>{f(),ye.debugLog("[Test store] Purchase failure simulated successfully in Test Store."),p(new $e(Ae.TestStoreSimulatedPurchaseError,Ba.getPublicMessage(Ae.TestStoreSimulatedPurchaseError),"Simulated error successfully."))},onCancel:()=>{f(),p(new $e(Ae.UserCancelledError))}}})})}class yE{constructor(){Q(this,"virtualCurrenciesCache",new Map);Q(this,"CACHE_EXPIRY_MS",5*60*1e3)}invalidateAllCaches(){this.virtualCurrenciesCache.clear()}cacheVirtualCurrencies(e,t){this.virtualCurrenciesCache.set(e,{data:t,lastUpdatedAt:Date.now()})}getCachedVirtualCurrencies(e,t=!1){const n=this.virtualCurrenciesCache.get(e);return this.getCachedData(n??null,t)}invalidateVirtualCurrenciesCache(e){this.virtualCurrenciesCache.delete(e)}getCachedData(e,t=!1){return e?t?e.data:Date.now()-e.lastUpdatedAt>=this.CACHE_EXPIRY_MS?null:e.data:null}}function bE(r){return{balance:r.balance,name:r.name,code:r.code,serverDescription:r.description??null}}function kE(r){const e={};for(const[t,n]of Object.entries(r.virtual_currencies))e[t]=bE(n);return{all:e}}function wE(r,e){const t=r.webCheckoutURL;if(typeof t=="string"&&t.length>0)return t;if(typeof e=="string"&&e.length>0)return e}function PE(r,e){const t=r.webBillingProduct,n=wE(r,e),a=n!==void 0?{webCheckoutURL:n}:{},i=t.productType===Kr.Subscription,s=t.defaultSubscriptionOption;if(i&&s)return{hasTrial:s.trial!==null,hasIntroOffer:s.introPrice!==null,hasPromoOffer:s.discount!==null,...a};const l=t.defaultNonSubscriptionOption;return!i&&l?{hasTrial:!1,hasIntroOffer:!1,hasPromoOffer:l.discount!==null,...a}:{hasTrial:!1,hasIntroOffer:!1,hasPromoOffer:!1,...a}}function K_(r){const e=Object.entries(r.packagesById).map(([t,n])=>[t,PE(n,r.webCheckoutURL)]);return Object.fromEntries(e)}const xE=(r,e)=>{var n;if(r.productType===Kr.Subscription){const a=((n=r.subscriptionOptions)==null?void 0:n[e.id])||r.defaultSubscriptionOption;if(!a)throw new he(_e.ErrorSettingUpPurchase);return a}const t=r.defaultNonSubscriptionOption;if(!t)throw new he(_e.ErrorSettingUpPurchase);return t},EE=(r,e)=>{const t=Uo(r,e);return{currency:t.currency,taxCalculationStatus:"unavailable",totalAmountInMicros:t.amountMicros,totalExcludingTaxInMicros:t.amountMicros,taxAmountInMicros:null,taxBreakdown:null}},X_=(r,e,t,n,a)=>{const i=r.webBillingProduct,s=xE(i,e),l=EE(i,s),c=Jl({priceBreakdown:l,productDetails:i,purchaseOption:s,translator:n}),d=i.productType===Kr.Subscription?pr.buildStripeExpressCheckoutOptionsForSubscription(i,l,s,n,t,c,2,1):pr.buildStripeExpressCheckoutOptionsForNonSubscription(i,l,c,2,1);return a&&(d.buttonTheme={applePay:a,googlePay:a==="white-outline"?"white":a}),d},Z_=(r,e,t,n,a,i,s)=>{if(!e.elements_configuration)throw new he(_e.ErrorSettingUpPurchase);return pr.updateElementsConfiguration(r,e.elements_configuration),{expOptions:X_(n,a,t,i,s)}},SE=async(r,e,t,n,a,i,s)=>{var h,k;if(!r.elements_configuration)throw new he(_e.ErrorSettingUpPurchase);const l=r.stripe_account_id,c=r.publishable_api_key,u=pr.getStripeLocale(a.bcp47Locale||a.fallbackBcp47Locale),d={fontSizeBase:"14px",fontFamily:Lo,spacingGridRow:"16px"},p=((h=ns())==null?void 0:h.matchMedia)&&((k=ns())==null?void 0:k.matchMedia("(max-width: 767px)").matches);let g="mobile";if(p?g="mobile":g="desktop",!l||!c)throw new he(_e.ErrorSettingUpPurchase);const _=r.elements_configuration,{stripe:f,elements:v}=await pr.initializeStripe(l,c,_,i,u,d,g),y=X_(t,n,e,a,s);return{stripeInstance:f,elementsInstance:v,expOptions:y}};var IE=V("<div><!></div>");function CE(r,e){var z;fe(e,!0);const t="express_purchase_button";let n=jr(e.translator);const a=jr(((z=e.brandingInfo)==null?void 0:z.appearance)??null);br(vr,n),br(Un,a);let i=re(!0),s=re(!1),l=re(null),c=re(null),u=re(null);const d=E=>{const M=Tp({errorCode:E.getErrorCode().toString(),errorMessage:E.message,mode:t});e.eventsTracker.trackSDKEvent(M),e.onError(E)};let p=!1;const g=async()=>{if(p)return;p=!0;let E;try{E=await e.purchaseOperationHelper.prepareCheckout(e.rcPackage.webBillingProduct.identifier,e.purchaseOption)}catch(C){d(C);return}if(!E.stripe_gateway_params){const C=new he(_e.ErrorSettingUpPurchase,"We couldn’t download Stripe params for this purchase. Please try again.");d(C);return}const M="http://blank";try{if(!o(c)||!o(l)){const{stripeInstance:C,elementsInstance:B,expOptions:O}=await SE(E.stripe_gateway_params,M,e.rcPackage,e.purchaseOption,e.translator,e.brandingInfo,e.walletButtonTheme);j(c,C,!0),j(l,B,!0),j(u,O,!0)}else{const{expOptions:C}=Z_(o(l),E.stripe_gateway_params,M,e.rcPackage,e.purchaseOption,e.translator,e.walletButtonTheme);j(u,C,!0)}}catch(C){d(C);return}j(i,!1)};gr(()=>{p=!1,g().then(()=>{})});const _=E=>{const M=Vl({errorCode:E.gatewayErrorCode??null,errorMessage:E.message??"",mode:t});e.eventsTracker.trackSDKEvent(M),d(new he(_e.ErrorSettingUpPurchase,"Failed to initialize payment form",E.message))},f=async(E,M)=>{var O;const{customerDetails:C,confirmationTokenId:B}=await pr.extractTaxCustomerDetails(E,M);if((O=e.brandingInfo)!=null&&O.gateway_tax_collection_enabled){const q=await e.purchaseOperationHelper.checkoutRefreshPricing({countryCode:C.countryCode,postalCode:C.postalCode}),L=Fp({taxCalculation:q,taxCustomerDetails:C,mode:t});e.eventsTracker.trackSDKEvent(L)}return B};async function v(E){var O,q;if(!o(l)||!o(c))return!1;await pr.submitElements(o(l));const M=await e.purchaseOperationHelper.checkoutComplete(E,e.translator.selectedLocale),C=(O=M==null?void 0:M.gateway_params)==null?void 0:O.client_secret;if(!C)return!1;const B=(q=e.brandingInfo)!=null&&q.gateway_tax_collection_enabled?await f(o(l),o(c)):void 0;return await pr.confirmElements(o(c),o(l),C,B),!0}const y=async(E,M,C)=>{if(o(s))return;const B=Mp({selectedPaymentMethod:E??null,mode:t});e.eventsTracker.trackSDKEvent(B),j(s,!0);try{const O=await v(M);if(j(s,!1),!O)return;const q=await e.purchaseOperationHelper.pollCurrentPurchaseForCompletion();e.onFinished(q),j(s,!1)}catch(O){if(O instanceof he)d(O);else if(O instanceof Bo){const q=Vl({errorCode:O.gatewayErrorCode??null,errorMessage:O.message??"",mode:t});e.eventsTracker.trackSDKEvent(q),d(new he(_e.ErrorSettingUpPurchase,"Failed to complete payment",O.message))}C.paymentFailed(),j(s,!1)}},h=async()=>{var M;const E=Bi({appearance:(M=e.brandingInfo)==null?void 0:M.appearance,rcPackage:e.rcPackage,purchaseOptionToUse:e.purchaseOption,customerEmail:e.customerEmail,mode:"express_purchase_button"});e.eventsTracker.trackSDKEvent(E);try{const C=await e.purchaseOperationHelper.checkoutStart({appUserId:e.appUserId,productId:e.rcPackage.webBillingProduct.identifier,purchaseOption:e.purchaseOption,presentedOfferingContext:e.rcPackage.webBillingProduct.presentedOfferingContext,customerEmail:e.customerEmail,metadata:e.metadata,locale:e.translator.selectedLocale}),B=C.management_url;if(!o(l))throw new he(_e.ErrorSettingUpPurchase);const{expOptions:O}=Z_(o(l),C.gateway_params,B,e.rcPackage,e.purchaseOption,e.translator,e.walletButtonTheme);return{applePay:O.applePay,lineItems:O.lineItems}}catch(C){throw d(C instanceof he?C:new he(_e.ErrorSettingUpPurchase)),C}},k=E=>{var M,C;(C=(M=e.listener)==null?void 0:M.onPurchaseStarted)==null||C.call(M,e.rcPackage),h().then(B=>E.resolve(B))},w=()=>{var E,M;e.eventsTracker.trackSDKEvent(Ap({mode:"express_purchase_button"})),(M=(E=e.listener)==null?void 0:E.onPurchaseCancelled)==null||M.call(E)};function b(E){var C,B;const M=((C=E.availablePaymentMethods)==null?void 0:C.applePay)||((B=E.availablePaymentMethods)==null?void 0:B.googlePay);e.onReady&&e.onReady(!!M)}var x=IE(),S=T(x);{var I=E=>{Zp(E,{get elements(){return o(l)},onError:_,onSubmit:y,onClick:k,onCancel:w,onReady:b,get expressCheckoutOptions(){return o(u)},forceEnableWalletMethods:!1,hideCheckoutSeparator:!0})};Y(S,E=>{!o(i)&&o(l)&&o(u)&&e.brandingInfo&&E(I)})}P(r,x),me()}class TE{constructor(e,t,n){Ge(this,to);Q(this,"button");Ve(this,to,re(or({props:n})));const i={updatePurchase:(s,l)=>{this.changePackage(s,l)}};this.state.props.onReady=s=>{t(i,s)},this.button=ia(CE,{target:e,props:this.state.props})}get state(){return o(Z(this,to))}set state(e){j(Z(this,to),e,!0)}changePackage(e,t){this.state.props&&(this.state.props.rcPackage=e,this.state.props.purchaseOption=t??e.webBillingProduct.defaultPurchaseOption)}}to=new WeakMap;const DE=new Set(["javascript:","data:","vbscript:"]);function AE(r){return DE.has(r.toLowerCase())}function qE(r,e){const t=r.trim();if(t.length===0)return!1;let n;try{n=new URL(t)}catch{return!1}return AE(n.protocol)?!1:e==="deep_link"?!0:n.protocol==="http:"||n.protocol==="https:"}var J_=(r=>(r.DisplayName="$displayName",r.Email="$email",r.PhoneNumber="$phoneNumber",r.IDFA="$idfa",r.IDFV="$idfv",r.GPSAdId="$gpsAdId",r.AndroidId="$androidId",r.AmazonAdId="$amazonAdId",r.IP="$ip",r.AdjustId="$adjustId",r.AmplitudeDeviceId="$amplitudeDeviceId",r.AmplitudeUserId="$amplitudeUserId",r.AppsflyerId="$appsflyerId",r.AppsflyerSharingFilter="$appsflyerSharingFilter",r.BranchId="$branchId",r.BrazeAliasName="$brazeAliasName",r.BrazeAliasLabel="$brazeAliasLabel",r.ClevertapId="$clevertapId",r.FbAnonId="$fbAnonId",r.MparticleId="$mparticleId",r.OnesignalId="$onesignalId",r.OnesignalUserId="$onesignalUserId",r.IntercomContactId="$intercomContactId",r.MediaSource="$mediaSource",r.Campaign="$campaign",r.AdGroup="$adGroup",r.AdId="$ad",r.Keyword="$keyword",r.Creative="$creative",r.APNSTokens="$apnsTokens",r.FCMTokens="$fcmTokens",r.AirshipChannelId="$airshipChannelId",r.SegmentId="$segmentId",r.IterableUserId="$iterableUserId",r.IterableCampaignId="$iterableCampaignId",r.IterableTemplateId="$iterableTemplateId",r.FirebaseAppInstanceId="$firebaseAppInstanceId",r.MixpanelDistinctId="$mixpanelDistinctId",r.ATTConsentStatus="$attConsentStatus",r.KochavaDeviceId="$kochavaDeviceId",r.DeviceVersion="$deviceVersion",r.PosthogUserId="$posthogUserId",r.TelemetryDeckUserId="$telemetryDeckUserId",r.TelemetryDeckAppId="$telemetryDeckAppId",r.AppleRefundHandlingPreference="$appleRefundHandlingPreference",r.CustomerioId="$customerioId",r.TenjinId="$tenjinId",r))(J_||{});const Q_="$RCAnonymousID:";rg=[z_],eg=[z_];const Ar=class Ar{constructor(e,t,n=oc,a=dc,i,s){sg(ds,5,this);Q(this,"_API_KEY");Q(this,"_appUserId");Q(this,"_brandingInfo",null);Q(this,"_loadingResourcesPromise",null);Q(this,"_flags");Q(this,"_context");Q(this,"backend");Q(this,"purchaseOperationHelper");Q(this,"eventsTracker");Q(this,"inMemoryCache");var l;this._API_KEY=e,this._appUserId=t,this._flags={...dc,...a},this._context=i,rs(e)?ye.debugLog("Initializing Purchases SDK with Web billing sandbox API Key"):_a(e)&&ye.debugLog("Initializing Purchases SDK with RC Test store API Key."),this.eventsTracker=new uE({apiKey:this._API_KEY,appUserId:this._appUserId,silent:!this._flags.collectAnalyticsEvents,rcSource:this._flags.rcSource??null,workflowContext:(l=this._context)==null?void 0:l.workflowContext,trace_id:s,httpConfig:n}),this.backend=new wx(this._API_KEY,n,this._context),this.inMemoryCache=new yE,this.purchaseOperationHelper=new yi(this.backend,this.eventsTracker),this.eventsTracker.trackSDKEvent({eventName:lt.SDKInitialized})}static setLogLevel(e){ye.setLogLevel(e)}static setLogHandler(e){ye.setLogHandler(e)}static setPlatformInfo(e){Ar._platformInfo=e}static buildVariablesPerPackage(e,t={}){return O_(e,t)}static buildInfoPerPackage(e){return K_(e)}static getPlatformInfo(){return Ar._platformInfo}static getSharedInstance(){if(Ar.isConfigured())return Ar.instance;throw new Wu}static isConfigured(){return Ar.instance!==void 0}static configure(e,t,n,a){Ar.instance!==void 0&&ye.warnLog("Purchases is already initialized. You normally should only configure Purchases once. Creating and returning new instance.");let i;if(typeof e=="object"&&e!==null)i=e;else{if(typeof e!="string")throw new $e(Ae.ConfigurationError,"API key must be provided as a string");if(typeof t!="string")throw new $e(Ae.ConfigurationError,"App user ID must be provided as a string");i={apiKey:e,appUserId:t,httpConfig:n,flags:a}}return Ar.configureInternal(i),Ar.getSharedInstance()}static configureInternal(e){const{apiKey:t,appUserId:n,httpConfig:a,flags:i,context:s,trace_id:l}=e,c=a??oc,u=i??dc;Ar.validateConfig(e),Ar.instance=new Ar(t,n,c,u,s,l)}static validateConfig(e){var t,n;Px(e.apiKey),ic(e.appUserId),xx((t=e.httpConfig)==null?void 0:t.proxyURL),Ex((n=e.httpConfig)==null?void 0:n.additionalHeaders)}async preload(){if(this.hasLoadedResources()){ye.verboseLog("Purchases resources are loaded. Skipping.");return}if(this._loadingResourcesPromise!==null){ye.verboseLog("Purchases resources are loading. Waiting."),await this._loadingResourcesPromise;return}return this._loadingResourcesPromise=this.fetchAndCacheBrandingInfo().catch(e=>{let t=`${e}`;e instanceof $e&&(t=`${e.message}. ${e.underlyingErrorMessage?`Underlying error: ${e.underlyingErrorMessage}`:""}`),ye.errorLog(`Error fetching branding info: ${t}`)}).finally(()=>{this._loadingResourcesPromise=null}),this._loadingResourcesPromise}async fetchAndCacheBrandingInfo(){if(_a(this._API_KEY)){ye.warnLog("Branding info is not available for RC Test Store API keys.");return}this._brandingInfo=await this.backend.getBrandingInfo()}hasLoadedResources(){return this._brandingInfo!==null}async presentPaywall(e){var G,R,$,ue,de,te,X;const t=e.htmlTarget;let n=!1;const a=uc();let i=t??a.getElementById("rcb-ui-pw-root");if(i===null){n=!0;const D=a.createElement("div");D.id="rcb-ui-pw-root",D.className="rcb-ui-pw-root",D.style.zIndex=`${Cx}`,D.style.position="fixed",D.style.top="0",D.style.left="0",D.style.width="100%",D.style.height="100%",D.style.overflow="auto",D.style.backgroundColor="var(--rc-purchases-ui-bg-color, Canvas)",a.body.offsetWidth>968&&(D.style.display="flex",D.style.justifyContent="center",D.style.alignItems="center"),D.style.transition="opacity 0.3s",D.style.opacity="0",a.body.appendChild(D),i=D}if(i===null)throw new Error("Could not generate a mount point for the paywall widget");const s=i,l=e.offering?e.offering:(await this.getOfferings()).current;if(!l)throw new Error("No offering found.");const c=this._flags.workflowsEndpointEnabled?await this.backend.getWorkflows(this._appUserId).catch(D=>(ye.warnLog(`Failed to fetch workflows: ${D}`),null)):null,u=(G=c==null?void 0:c.workflows)==null?void 0:G.find(D=>D.offering_id===l.identifier);if(!u&&!l.paywallComponents)throw new Error("This offering doesn't have a paywall attached.");if(!u&&!l.uiConfig)throw new Error("No ui_config found for this offering, please contact support!");const d=(D,U)=>{const ee={},ie=Te=>Te.toLowerCase().split("_")[0];Object.keys(D.components_localizations).forEach(Te=>{ee[ie(Te)]===void 0&&(ee[ie(Te)]=[]),ee[ie(Te)].push(Te)});const Pe=ee[ie(U)];if(!Pe)return D.default_locale;const ke=Pe.find(Te=>Te.toLowerCase()===U);return ke||Pe[0]},p=e.selectedLocale?e.selectedLocale:navigator.language,g=l.paywallComponents?d(l.paywallComponents,p):p,_=new qn({},g,((R=l.paywallComponents)==null?void 0:R.default_locale)??Wr),f=pa(),v={appUserId:this._appUserId,sessionId:f,offeringId:l.identifier,paywallRevision:0,paywallRcPublicId:(($=l.paywallComponents)==null?void 0:$.id)??null,presentedOfferingContext:(de=(ue=l.availablePackages[0])==null?void 0:ue.webBillingProduct)==null?void 0:de.presentedOfferingContext},y={displayMode:"full_screen",darkMode:((X=(te=Wn())==null?void 0:te.matchMedia)==null?void 0:X.call(te,"(prefers-color-scheme: dark)").matches)??!1,locale:g},h=new Map(l.availablePackages.map(D=>[D.identifier,D.webBillingProduct.identifier])),k=D=>{if(D!==void 0)return h.get(D)},w=D=>{const U=D;return{type:"paywall_component_interacted",...v,...y,componentType:D.componentType,componentName:D.componentName,componentValue:D.componentValue,componentURL:U.componentURL,originIndex:U.originIndex,destinationIndex:U.destinationIndex,originContextName:U.originContextName,destinationContextName:U.destinationContextName,defaultIndex:U.defaultIndex,originPackageId:U.originPackageId,destinationPackageId:U.destinationPackageId,defaultPackageId:U.defaultPackageId,originProductId:U.originProductId??k(U.originPackageId),destinationProductId:U.destinationProductId??k(U.destinationPackageId),defaultProductId:U.defaultProductId??k(U.defaultPackageId),currentPackageId:U.currentPackageId,resultingPackageId:U.resultingPackageId,currentProductId:U.currentProductId??k(U.currentPackageId),resultingProductId:U.resultingProductId??k(U.resultingPackageId)}},b=D=>{this.eventsTracker.trackPaywallEvent({type:D,...v,...D==="paywall_impression"?{...y}:{}})},x=async(D,U=g)=>{var Pe,ke;const ee=l.availablePackages.find(Te=>Te.identifier===D);if(ee===void 0)throw new Error(`No package found for ${D}`);return{...await this.purchase({rcPackage:ee,htmlTarget:e.purchaseHtmlTarget,customerEmail:e.customerEmail,showDiscountCodeField:e.showDiscountCodeField,discountCode:e.discountCode,onDiscountCodeChanged:e.onDiscountCodeChanged,selectedLocale:U,defaultLocale:((Pe=l.paywallComponents)==null?void 0:Pe.default_locale)??Wr,paywallId:(ke=l.paywallComponents)==null?void 0:ke.id,paywallSessionId:f}),selectedPackage:ee}};let S=null,I=null;const z=D=>{const U=D.target;if(!(U instanceof Element))return;const ee=U.closest("a[href]");if(!(ee instanceof HTMLAnchorElement)||!s.contains(ee))return;const ie=ee.getAttribute("href")??ee.href;ie&&(I={url:ie,defaultPrevented:D.defaultPrevented})},E=D=>{var ie;const U=(S==null?void 0:S.componentURL)===D?S:null;if(S=null,e.onNavigateToUrl){e.onNavigateToUrl(D);return}if((U==null?void 0:U.componentType)==="text"){queueMicrotask(()=>{var Te;const Pe=(I==null?void 0:I.url)===D?I:null;if(I=null,(Pe==null?void 0:Pe.defaultPrevented)!==!0)return;(Te=Wn().open(D,"_blank"))==null||Te.focus()});return}(ie=Wn().open(D,"_blank"))==null||ie.focus()},M=async D=>{var ee;if(e.onCompleteWorkflowNavigate){await e.onCompleteWorkflowNavigate(D);return}if(!qE(D.url,D.method)){ye.warnLog("Blocked complete-workflow navigation to a disallowed URL.");return}const U=Wn();D.method==="external_browser"?(ee=U.open(D.url,"_blank","noopener,noreferrer"))==null||ee.focus():U.location.assign(D.url)},C=()=>{},B=()=>{if(e.onVisitCustomerCenter){e.onVisitCustomerCenter();return}},O=O_(l,{translator:_}),q=K_(l),L=e.listener,F=D=>{if(L!=null&&L.onPurchaseStarted)try{L.onPurchaseStarted(D)}catch(U){ye.errorLog(`Error in listener.onPurchaseStarted: ${U}`)}},A=D=>{if(D instanceof $e&&D.errorCode===Ae.UserCancelledError){if(L!=null&&L.onPurchaseCancelled)try{L.onPurchaseCancelled()}catch(U){ye.errorLog(`Error in listener.onPurchaseCancelled: ${U}`)}}else{if(L!=null&&L.onPurchaseError)try{L.onPurchaseError(D)}catch(U){ye.errorLog(`Error in listener.onPurchaseError: ${U}`)}e.onPurchaseError&&e.onPurchaseError(D)}};let N,W;if(u){const D=await this.backend.getWorkflowById(this._appUserId,u.id).catch(ee=>(ye.warnLog(`Failed to fetch workflow data, falling back to standard paywall: ${ee}`),null)),U=D?rb(D):null;if(D&&U)W=D,N=U;else{if(D&&!U&&ye.warnLog("Failed to resolve workflow navigation data, falling back to standard paywall."),!l.paywallComponents)throw new Error("This offering doesn't have a paywall attached and the workflow could not be loaded.");if(!l.uiConfig)throw new Error("No ui_config found for this offering, please contact support!")}}return new Promise((D,U)=>{let ee=null,ie=!1,Pe=!1;s.addEventListener("click",z);const ke=()=>{Pe||(Pe=!0,b("paywall_close"))},Te=ge=>{!ie||Pe||this.eventsTracker.trackPaywallEvent(w(ge))},Ne=ge=>{const ce=ge;S=ce.componentURL===void 0?null:{componentType:ge.componentType,componentURL:ce.componentURL},Te(ge)},Oe=new MutationObserver(()=>{s.childElementCount===0&&(ke(),Oe.disconnect())}),Ie=()=>{Oe.disconnect(),s.removeEventListener("click",z),ke(),ee&&(yo(ee),ee=null),s.innerHTML="",n&&s.parentNode&&s.parentNode.removeChild(s)},Ee=()=>{ye.debugLog("Purchase cancelled by user"),Ie(),U(new $e(Ae.UserCancelledError)),this.eventsTracker.flushAllEvents().catch(ge=>{ye.debugLog(`Failed to flush paywall events on close: ${ge}`)})},Be=ge=>{Ie(),D(ge),this.eventsTracker.flushAllEvents().catch(ce=>{ye.debugLog(`Failed to flush paywall events after purchase: ${ce}`)})},Ye=ge=>ce=>{ce instanceof $e&&ce.errorCode===Ae.UserCancelledError&&b("paywall_cancel"),ye.errorLog(`${ge}: ${ce}`),A(ce)},ne=this.getWalletButtonRender(l,Be,e.customerEmail,Ye("Error presenting express purchase button"),L);if(s.innerHTML="",N&&W)try{ee=ia(Yy,{target:s,props:{workflow:N,uiConfig:W.ui_config,selectedLocale:p,variablesPerPackage:O,walletButtonRender:ne,onPurchaseClicked:ge=>{const ce=l.packagesById[ge];ce&&F(ce),x(ge,p).then(Be).catch(Ye("Error performing purchase"))},onClose:Ee,onExitBack:()=>{if(e.onBack){e.onBack(Ee);return}Ee()},onCompleteWorkflowNavigate:M,onNavigateToUrlClicked:E,onRestorePurchasesClicked:C,onVisitCustomerCenterClicked:B,onComponentInteraction:Ne,globalVariables:e.customVariables?cp(e.customVariables,W.ui_config):void 0,maxContentWidth:W.content_max_width?String(W.content_max_width):void 0}})}catch(ge){Ie(),U(ge);return}else ee=ia(vp,{target:s,props:{paywallData:l.paywallComponents,selectedLocale:g,onNavigateToUrlClicked:E,appUserId:this._appUserId,onCompleteWorkflowNavigate:M,onVisitCustomerCenterClicked:B,uiConfig:l.uiConfig,onBackClicked:()=>{if(e.onBack){e.onBack(Ee);return}Ee()},onRestorePurchasesClicked:C,onPurchaseClicked:ge=>{const ce=l.packagesById[ge];ce&&F(ce),x(ge).then(Be).catch(Ye("Error performing purchase"))},onError:ge=>{Ie(),U(ge)},variablesPerPackage:O,infoPerPackage:q,hideBackButtons:e.hideBackButtons,walletButtonRender:ne,customVariables:e.customVariables,onComponentInteraction:Ne}});Oe.observe(s,{childList:!0}),b("paywall_impression"),ie=!0,s.style.opacity==="0"&&(s.style.opacity="1")})}async getOfferings(e){O1(e==null?void 0:e.currency);const t=this._appUserId,n=await this.backend.getOfferings(t),a=(e==null?void 0:e.offeringIdentifier)===sc.Current?n.current_offering_id:e==null?void 0:e.offeringIdentifier;return a&&(n.offerings=n.offerings.filter(i=>i.identifier===a)),await this.getAllOfferings(n,t,e)}async getCurrentOfferingForPlacement(e,t){const n=this._appUserId,a=await this.backend.getOfferings(n),i=await this.getAllOfferings(a,n,t),s=a.placements??null;return s==null?null:Sx(s,i.all,e)}async getAllOfferings(e,t,n){const a=e.offerings.flatMap(s=>s.packages).map(s=>s.platform_product_identifier),i=await this.backend.getProducts(t,a,n==null?void 0:n.currency,n==null?void 0:n.discountCode);return this.logMissingProductIds(a,i.product_details),Ix(e,i)}async isEntitledTo(e){const t=await this.getCustomerInfo();return e in t.entitlements.active}purchasePackage(e,t,n){return this.purchase({rcPackage:e,customerEmail:t,htmlTarget:n})}async presentExpressPurchaseButton(e){const{rcPackage:t,purchaseOption:n,htmlTarget:a,customerEmail:i,selectedLocale:s=Wr,defaultLocale:l=Wr,onButtonReady:c=()=>{},walletButtonTheme:u}=e;if(a===void 0)throw new Error("htmlTarget is required for presentExpressPurchaseButton");const d=this._appUserId;if(!nc(this._API_KEY))throw new Error("The Express Purchase button is only available with Web Billing API Keys.");const p=n??t.webBillingProduct.defaultPurchaseOption,_={...this._flags.autoCollectUTMAsMetadata?as():{},...e.metadata||{}},f=new qn({},s,l);return new Promise((v,y)=>{const h=async w=>{const b=Dp({redemptionInfo:w.redemptionInfo,mode:"express_purchase_button"});this.eventsTracker.trackSDKEvent(b),ye.debugLog("Purchase finished");const x={customerInfo:await this._getCustomerInfoForUserId(d),redemptionInfo:w.redemptionInfo,operationSessionId:w.operationSessionId,attributionMetadata:w.attributionMetadata,storeTransaction:{storeTransactionId:w.storeTransactionIdentifier,productIdentifier:t.webBillingProduct.identifier,purchaseDate:w.purchaseDate}};v(x)},k=w=>{var x;const b=qp({errorCode:(x=w.errorCode)==null?void 0:x.toString(),errorMessage:w.message,mode:"express_purchase_button"});this.eventsTracker.trackSDKEvent(b),y(w)};new TE(a,c,{appUserId:d,rcPackage:t,purchaseOption:p,customerEmail:i,purchases:this,eventsTracker:this.eventsTracker,brandingInfo:this._brandingInfo,purchaseOperationHelper:this.purchaseOperationHelper,metadata:_,customTranslations:e.labelsOverride,translator:f,onFinished:h,onError:k,listener:e.listener,walletButtonTheme:u})})}getWalletButtonRender(e,t,n,a,i){if(nc(this._API_KEY))return(s,{selectedPackageId:l,onReady:c,walletButtonTheme:u})=>{const d=e.packagesById[l];if(!d)return{};let p=null;return this.presentExpressPurchaseButton({rcPackage:d,customerEmail:n,htmlTarget:s,onButtonReady:(g,_)=>{p=g,c==null||c(_)},listener:i,walletButtonTheme:u}).then(g=>{t({...g,selectedPackage:d})}).catch(a),{destroy(){s.innerHTML=""},update({selectedPackageId:g}){if(p){const _=e.packagesById[g];if(!_)return;const f=_.webBillingProduct.defaultPurchaseOption;p.updatePurchase(_,f)}}}}}async purchase(e){if(_a(this._API_KEY)){const a=await vE(e,this.backend,this._appUserId);return this.inMemoryCache.invalidateAllCaches(),a}return P_(this._API_KEY)?await this.performPaddlePurchase(e):x_(this._API_KEY)?await this.performStripePurchase(e):await this.performWebBillingPurchase(e)}async performStripePurchase(e){var I;const{rcPackage:t,purchaseOption:n,htmlTarget:a,customerEmail:i,workflowPurchaseContext:s,attributionMetadata:l,paywallId:c,paywallSessionId:u,selectedLocale:d=Wr,defaultLocale:p=Wr,skipSuccessPage:g=!1}=e,_=this.resolveHTMLTarget(a),f=this._appUserId;ye.debugLog(`Presenting Stripe checkout for package ${t.identifier}`);const v=d||p,y=n??t.webBillingProduct.defaultPurchaseOption,h=Bi({appearance:(I=this._brandingInfo)==null?void 0:I.appearance,rcPackage:t,purchaseOptionToUse:y,customerEmail:i});this.eventsTracker.trackSDKEvent(h);const w={...this._flags.autoCollectUTMAsMetadata?as():{},...e.metadata||{}};let b=null;const x=this._brandingInfo;x&&e.brandingAppearanceOverride&&(x.appearance=e.brandingAppearanceOverride);const S=a!==void 0;return new Promise((z,E)=>{const M=Wn();S||M.history.pushState({checkoutOpen:!0},"");const C=()=>{b&&yo(b),_.innerHTML=""},B=this.createCheckoutOnCloseHandler(E,C);!S&&B&&M.addEventListener("popstate",B);const O=this.createCheckoutOnFinishedHandler(z,f,t,C),q=this.createCheckoutOnErrorHandler(E,C);b=ia(R0,{target:_,props:{isInElement:S,appUserId:f,rcPackage:t,purchaseOption:y,customerEmail:i,workflowPurchaseContext:s,attributionMetadata:l,paywallId:c,paywallSessionId:u,onFinished:O,onClose:B,onError:q,eventsTracker:this.eventsTracker,brandingInfo:this._brandingInfo,purchaseOperationHelper:this.purchaseOperationHelper,selectedLocale:v,metadata:w,defaultLocale:p,customTranslations:e.labelsOverride,skipSuccessPage:g}})})}async performWebBillingPurchase(e){var z;const{rcPackage:t,purchaseOption:n,htmlTarget:a,customerEmail:i,workflowPurchaseContext:s,attributionMetadata:l,selectedLocale:c=Wr,defaultLocale:u=Wr,skipSuccessPage:d=!1,showDiscountCodeField:p=!1,discountCode:g,onDiscountCodeChanged:_}=e,f=this.resolveHTMLTarget(a),v=this._appUserId;ye.debugLog(`Presenting purchase form for package ${t.identifier}`);const y=c||u,h=n??t.webBillingProduct.defaultPurchaseOption,k=Bi({appearance:(z=this._brandingInfo)==null?void 0:z.appearance,rcPackage:t,purchaseOptionToUse:h,customerEmail:i});this.eventsTracker.trackSDKEvent(k);const b={...this._flags.autoCollectUTMAsMetadata?as():{},...e.metadata||{}};let x=null;const S=this._brandingInfo;S&&e.brandingAppearanceOverride&&(S.appearance=e.brandingAppearanceOverride);const I=a!==void 0;return new Promise((E,M)=>{const C=Wn();I||C.history.pushState({checkoutOpen:!0},"");const B=()=>{x&&yo(x),f.innerHTML=""},O=this.createCheckoutOnCloseHandler(M,B);!I&&O&&C.addEventListener("popstate",O);const q=this.createCheckoutOnFinishedHandler(E,v,t,B),L=this.createCheckoutOnErrorHandler(M,B);x=ia(B1,{target:f,props:{isInElement:I,appUserId:v,rcPackage:t,purchaseOption:h,customerEmail:i,workflowPurchaseContext:s,attributionMetadata:l,paywallId:e.paywallId,paywallSessionId:e.paywallSessionId,onFinished:q,onClose:O,onError:L,purchases:this,eventsTracker:this.eventsTracker,brandingInfo:this._brandingInfo,purchaseOperationHelper:this.purchaseOperationHelper,selectedLocale:y,metadata:b,defaultLocale:u,customTranslations:e.labelsOverride,termsAndConditionsUrl:e.termsAndConditionsUrl,showDiscountCodeField:p,discountCode:g,onDiscountCodeChanged:_,skipSuccessPage:d}})})}async performPaddlePurchase(e){var b;const{rcPackage:t,purchaseOption:n,customerEmail:a,attributionMetadata:i,selectedLocale:s=Wr,defaultLocale:l=Wr,skipSuccessPage:c=!1,htmlTarget:u}=e,d=this.resolveHTMLTarget(u),p=this._appUserId;ye.debugLog(`Presenting Paddle checkout for package ${t.identifier}`);const g=n??t.webBillingProduct.defaultPurchaseOption,f={source:"paddle",...this._flags.autoCollectUTMAsMetadata?as():{},...e.metadata||{}},v=this._brandingInfo;v&&e.brandingAppearanceOverride&&(v.appearance=e.brandingAppearanceOverride);const y=Bi({appearance:(b=this._brandingInfo)==null?void 0:b.appearance,rcPackage:t,purchaseOptionToUse:g,customerEmail:a});this.eventsTracker.trackSDKEvent(y);const h=new u0(this.backend,this.eventsTracker);let k=null;const w=u!==void 0;return new Promise((x,S)=>{const I=Wn();w||I.history.pushState({checkoutOpen:!0},"");const z=()=>{k&&yo(k),d.innerHTML=""},E=this.createCheckoutOnCloseHandler(S,z)??(()=>{z()});w||I.addEventListener("popstate",E);const M=this.createCheckoutOnFinishedHandler(x,p,t,z),C=this.createCheckoutOnErrorHandler(S);k||(k=ia(q0,{target:d,props:{eventsTracker:this.eventsTracker,brandingInfo:this._brandingInfo,selectedLocale:s||l,defaultLocale:l,customTranslations:e.labelsOverride,isInElement:w,onClose:E,onFinished:M,onError:C,skipSuccessPage:c,productDetails:t.webBillingProduct,rcPackage:t,appUserId:p,purchaseOption:g,customerEmail:a,attributionMetadata:i,metadata:f,unmountPaddlePurchaseUi:z,paddleService:h}}))})}resolveHTMLTarget(e){const t=uc();let n=e??t.getElementById("rcb-ui-root");if(n===null){const a=t.createElement("div");a.className="rcb-ui-root",t.body.appendChild(a),n=a}if(n===null)throw new Error("Could not generate a mount point for the billing widget");return n}createCheckoutOnCloseHandler(e,t){if(this._flags.rcSource&&dE.includes(this._flags.rcSource))return;const a=()=>{const i=Ap();this.eventsTracker.trackSDKEvent(i),Wn().removeEventListener("popstate",a),t==null||t(),ye.debugLog("Purchase cancelled by user"),e(new $e(Ae.UserCancelledError))};return a}createCheckoutOnFinishedHandler(e,t,n,a){return async s=>{const l=Dp({redemptionInfo:s.redemptionInfo});this.eventsTracker.trackSDKEvent(l),this.inMemoryCache.invalidateAllCaches(),ye.debugLog("Purchase finished"),a==null||a();const c={customerInfo:await this._getCustomerInfoForUserId(t),redemptionInfo:s.redemptionInfo,operationSessionId:s.operationSessionId,attributionMetadata:s.attributionMetadata,storeTransaction:{storeTransactionId:s.storeTransactionIdentifier,productIdentifier:n.webBillingProduct.identifier,purchaseDate:s.purchaseDate}};e(c)}}createCheckoutOnErrorHandler(e,t){return a=>{var s;const i=qp({errorCode:(s=a.errorCode)==null?void 0:s.toString(),errorMessage:a.message});this.eventsTracker.trackSDKEvent(i),t==null||t(),e($e.getForPurchasesFlowError(a))}}_isConfiguredWithSimulatedStore(){return _a(this._API_KEY)}_shouldForceEnableWalletMethods(){return!!this._flags.forceEnableWalletMethods}async _postSimulatedStoreReceipt(e){if(!_a(this._API_KEY))throw new $e(Ae.ConfigurationError,"Posting a test store receipt is only available for RC Test Store API keys.");return await G_(e,this.backend,this._appUserId,void 0)}async getCustomerInfo(){return await this._getCustomerInfoForUserId(this._appUserId)}getAppUserId(){return this._appUserId}async setAttributes(e){return await this.getCustomerInfo(),await this.backend.setAttributes(this._appUserId,e)}async changeUser(e){return await this.replaceUserId(e),await this.getCustomerInfo()}async identifyUser(e){if(ic(e),e===this._appUserId)return ye.debugLog(`aliasUser called with the current appUserID: ${e}. Ignoring.`),{customerInfo:await this.getCustomerInfo(),wasCreated:!1};const t=await this.backend.identify(this._appUserId,e);return await this.replaceUserId(e),{customerInfo:tc(t),wasCreated:t.was_created}}async replaceUserId(e){ic(e),this._appUserId=e,await this.eventsTracker.updateUser(e),this.inMemoryCache.invalidateAllCaches()}logMissingProductIds(e,t){const n={};t.forEach(i=>n[i.identifier]=i);const a=[];e.forEach(i=>{n[i]===void 0&&a.push(i)}),a.length>0&&ye.debugLog(`Could not find product data for product ids:
424
424
  ${a.join()}.
425
- Please check that your product configuration is correct.`)}isSandbox(){return rs(this._API_KEY)||pa(this._API_KEY)}isAnonymous(){return this._appUserId.startsWith(K_)}async getVirtualCurrencies(){return await this._getVirtualCurrenciesForUserId(this._appUserId)}getCachedVirtualCurrencies(){return this.inMemoryCache.getCachedVirtualCurrencies(this._appUserId,!0)}invalidateVirtualCurrenciesCache(){this.inMemoryCache.invalidateVirtualCurrenciesCache(this._appUserId)}close(){qr.instance===this?(this.eventsTracker&&this.eventsTracker.dispose(),qr.instance=void 0):ye.warnLog("Trying to close a Purchases instance that is not the current instance. Ignoring.")}async _getCustomerInfoForUserId(e){const t=await this.backend.getCustomerInfo(e);return tc(t)}async _getVirtualCurrenciesForUserId(e){const t=this.inMemoryCache.getCachedVirtualCurrencies(e);if(t)return ye.debugLog("Vending VirtualCurrencies from cache."),t;const n=await this.backend.getVirtualCurrencies(e),a=vE(n);return ye.debugLog("VirtualCurrencies updated from the network."),this.inMemoryCache.cacheVirtualCurrencies(e,a),a}static generateRevenueCatAnonymousAppUserId(){return`${K_}${da().replace(/-/g,"")}`}_trackEvent(e){this.eventsTracker.trackExternalEvent(e)}_flushAllEvents(){return this.eventsTracker.flushAllEvents()}};ds=rg(null),fc(ds,1,"presentExpressPurchaseButton",J_,qr),fc(ds,1,"purchase",Z_,qr),gc(ds,qr),ee(qr,"_platformInfo"),ee(qr,"instance");let os=qr;we.CustomVariableValue=_y,we.ErrorCode=Ae,we.LogLevel=it,we.OfferingKeyword=sc,we.PackageType=Zu,we.PeriodUnit=Fe,we.ProductType=Xr,we.Purchases=os,we.PurchasesError=Qe,we.ReservedCustomerAttribute=G_,we.UninitializedPurchasesError=Vu,Object.defineProperty(we,Symbol.toStringTag,{value:"Module"})});
425
+ Please check that your product configuration is correct.`)}isSandbox(){return rs(this._API_KEY)||_a(this._API_KEY)}isAnonymous(){return this._appUserId.startsWith(Q_)}async getVirtualCurrencies(){return await this._getVirtualCurrenciesForUserId(this._appUserId)}getCachedVirtualCurrencies(){return this.inMemoryCache.getCachedVirtualCurrencies(this._appUserId,!0)}invalidateVirtualCurrenciesCache(){this.inMemoryCache.invalidateVirtualCurrenciesCache(this._appUserId)}close(){Ar.instance===this?(this.eventsTracker&&this.eventsTracker.dispose(),Ar.instance=void 0):ye.warnLog("Trying to close a Purchases instance that is not the current instance. Ignoring.")}async _getCustomerInfoForUserId(e){const t=await this.backend.getCustomerInfo(e);return tc(t)}async _getVirtualCurrenciesForUserId(e){const t=this.inMemoryCache.getCachedVirtualCurrencies(e);if(t)return ye.debugLog("Vending VirtualCurrencies from cache."),t;const n=await this.backend.getVirtualCurrencies(e),a=kE(n);return ye.debugLog("VirtualCurrencies updated from the network."),this.inMemoryCache.cacheVirtualCurrencies(e,a),a}static generateRevenueCatAnonymousAppUserId(){return`${Q_}${pa().replace(/-/g,"")}`}_trackEvent(e){this.eventsTracker.trackExternalEvent(e)}_flushAllEvents(){return this.eventsTracker.flushAllEvents()}};ds=og(null),mc(ds,1,"presentExpressPurchaseButton",rg,Ar),mc(ds,1,"purchase",eg,Ar),fc(ds,Ar),Q(Ar,"_platformInfo"),Q(Ar,"instance");let os=Ar;xe.CustomVariableValue=my,xe.ErrorCode=Ae,xe.LogLevel=ot,xe.OfferingKeyword=sc,xe.PackageType=Ju,xe.PeriodUnit=Me,xe.ProductType=Kr,xe.Purchases=os,xe.PurchasesError=$e,xe.ReservedCustomerAttribute=J_,xe.UninitializedPurchasesError=Wu,Object.defineProperty(xe,Symbol.toStringTag,{value:"Module"})});