@revenuecat/purchases-js 0.3.2 → 0.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Purchases.es.d.ts +2 -1
- package/dist/Purchases.es.js +836 -804
- package/dist/Purchases.umd.js +4 -4
- package/package.json +1 -1
package/dist/Purchases.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var Kt = Object.defineProperty;
|
|
2
2
|
var qt = (t, e, r) => e in t ? Kt(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r;
|
|
3
|
-
var
|
|
3
|
+
var P = (t, e, r) => (qt(t, typeof e != "symbol" ? e + "" : e, r), r);
|
|
4
4
|
function jt(t) {
|
|
5
5
|
return t != null;
|
|
6
6
|
}
|
|
@@ -46,7 +46,7 @@ class G {
|
|
|
46
46
|
this.log(e, W.Verbose);
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
|
-
|
|
49
|
+
P(G, "logLevel", W.Silent);
|
|
50
50
|
var ne = /* @__PURE__ */ ((t) => (t.Year = "year", t.Month = "month", t.Week = "week", t.Day = "day", t))(ne || {});
|
|
51
51
|
function Je(t) {
|
|
52
52
|
const e = t.match(/^PT?([0-9]+)([MDYW])$/);
|
|
@@ -248,9 +248,9 @@ function ce(t) {
|
|
|
248
248
|
function T(t, e) {
|
|
249
249
|
return t != t ? e == e : t !== e || t && typeof t == "object" || typeof t == "function";
|
|
250
250
|
}
|
|
251
|
-
let
|
|
252
|
-
function
|
|
253
|
-
return t === e ? !0 : (
|
|
251
|
+
let Me;
|
|
252
|
+
function ee(t, e) {
|
|
253
|
+
return t === e ? !0 : (Me || (Me = document.createElement("a")), Me.href = e, t === Me.href);
|
|
254
254
|
}
|
|
255
255
|
function st(t) {
|
|
256
256
|
return t.split(",").map((e) => e.trim().split(" ").filter(Boolean));
|
|
@@ -263,7 +263,7 @@ function on(t, e) {
|
|
|
263
263
|
// relative URLs inside srcset are not automatically resolved to absolute URLs by
|
|
264
264
|
// browsers (in contrast to img.src). This means both SSR and DOM code could
|
|
265
265
|
// contain relative or absolute URLs.
|
|
266
|
-
(
|
|
266
|
+
(ee(r[s][0], i) || ee(i, r[s][0]))
|
|
267
267
|
);
|
|
268
268
|
}
|
|
269
269
|
function sn(t) {
|
|
@@ -311,10 +311,10 @@ function V(t) {
|
|
|
311
311
|
function Ee(t) {
|
|
312
312
|
return t ?? "";
|
|
313
313
|
}
|
|
314
|
-
function
|
|
314
|
+
function Q(t, e) {
|
|
315
315
|
t.appendChild(e);
|
|
316
316
|
}
|
|
317
|
-
function
|
|
317
|
+
function F(t, e, r) {
|
|
318
318
|
const n = ln(t);
|
|
319
319
|
if (!n.getElementById(e)) {
|
|
320
320
|
const i = k("style");
|
|
@@ -332,7 +332,7 @@ function ln(t) {
|
|
|
332
332
|
) : t.ownerDocument;
|
|
333
333
|
}
|
|
334
334
|
function cn(t, e) {
|
|
335
|
-
return
|
|
335
|
+
return Q(
|
|
336
336
|
/** @type {Document} */
|
|
337
337
|
t.head || t,
|
|
338
338
|
e
|
|
@@ -350,7 +350,7 @@ function k(t) {
|
|
|
350
350
|
function L(t) {
|
|
351
351
|
return document.createTextNode(t);
|
|
352
352
|
}
|
|
353
|
-
function
|
|
353
|
+
function C() {
|
|
354
354
|
return L(" ");
|
|
355
355
|
}
|
|
356
356
|
function te() {
|
|
@@ -402,16 +402,19 @@ let be;
|
|
|
402
402
|
function Ae(t) {
|
|
403
403
|
be = t;
|
|
404
404
|
}
|
|
405
|
-
function
|
|
405
|
+
function $e() {
|
|
406
406
|
if (!be)
|
|
407
407
|
throw new Error("Function called outside component initialization");
|
|
408
408
|
return be;
|
|
409
409
|
}
|
|
410
|
+
function _n(t) {
|
|
411
|
+
$e().$$.before_update.push(t);
|
|
412
|
+
}
|
|
410
413
|
function Oe(t) {
|
|
411
|
-
|
|
414
|
+
$e().$$.on_mount.push(t);
|
|
412
415
|
}
|
|
413
|
-
function
|
|
414
|
-
const t =
|
|
416
|
+
function An() {
|
|
417
|
+
const t = $e();
|
|
415
418
|
return (e, r, { cancelable: n = !1 } = {}) => {
|
|
416
419
|
const i = t.$$.callbacks[e];
|
|
417
420
|
if (i) {
|
|
@@ -428,32 +431,32 @@ function _n() {
|
|
|
428
431
|
return !0;
|
|
429
432
|
};
|
|
430
433
|
}
|
|
431
|
-
function
|
|
432
|
-
return
|
|
434
|
+
function hn(t, e) {
|
|
435
|
+
return $e().$$.context.set(t, e), e;
|
|
433
436
|
}
|
|
434
|
-
function
|
|
435
|
-
return
|
|
437
|
+
function En(t) {
|
|
438
|
+
return $e().$$.context.get(t);
|
|
436
439
|
}
|
|
437
|
-
function
|
|
440
|
+
function Qt(t, e) {
|
|
438
441
|
const r = t.$$.callbacks[e.type];
|
|
439
442
|
r && r.slice().forEach((n) => n.call(this, e));
|
|
440
443
|
}
|
|
441
|
-
const se = [],
|
|
444
|
+
const se = [], Re = [];
|
|
442
445
|
let le = [];
|
|
443
|
-
const He = [],
|
|
446
|
+
const He = [], bn = /* @__PURE__ */ Promise.resolve();
|
|
444
447
|
let Ke = !1;
|
|
445
|
-
function
|
|
446
|
-
Ke || (Ke = !0,
|
|
448
|
+
function In() {
|
|
449
|
+
Ke || (Ke = !0, bn.then(Pt));
|
|
447
450
|
}
|
|
448
451
|
function qe(t) {
|
|
449
452
|
le.push(t);
|
|
450
453
|
}
|
|
451
|
-
function
|
|
454
|
+
function wn(t) {
|
|
452
455
|
He.push(t);
|
|
453
456
|
}
|
|
454
|
-
const
|
|
457
|
+
const xe = /* @__PURE__ */ new Set();
|
|
455
458
|
let ie = 0;
|
|
456
|
-
function
|
|
459
|
+
function Pt() {
|
|
457
460
|
if (ie !== 0)
|
|
458
461
|
return;
|
|
459
462
|
const t = be;
|
|
@@ -461,35 +464,35 @@ function Qt() {
|
|
|
461
464
|
try {
|
|
462
465
|
for (; ie < se.length; ) {
|
|
463
466
|
const e = se[ie];
|
|
464
|
-
ie++, Ae(e),
|
|
467
|
+
ie++, Ae(e), kn(e.$$);
|
|
465
468
|
}
|
|
466
469
|
} catch (e) {
|
|
467
470
|
throw se.length = 0, ie = 0, e;
|
|
468
471
|
}
|
|
469
|
-
for (Ae(null), se.length = 0, ie = 0;
|
|
470
|
-
|
|
472
|
+
for (Ae(null), se.length = 0, ie = 0; Re.length; )
|
|
473
|
+
Re.pop()();
|
|
471
474
|
for (let e = 0; e < le.length; e += 1) {
|
|
472
475
|
const r = le[e];
|
|
473
|
-
|
|
476
|
+
xe.has(r) || (xe.add(r), r());
|
|
474
477
|
}
|
|
475
478
|
le.length = 0;
|
|
476
479
|
} while (se.length);
|
|
477
480
|
for (; He.length; )
|
|
478
481
|
He.pop()();
|
|
479
|
-
Ke = !1,
|
|
482
|
+
Ke = !1, xe.clear(), Ae(t);
|
|
480
483
|
}
|
|
481
|
-
function
|
|
484
|
+
function kn(t) {
|
|
482
485
|
if (t.fragment !== null) {
|
|
483
486
|
t.update(), we(t.before_update);
|
|
484
487
|
const e = t.dirty;
|
|
485
488
|
t.dirty = [-1], t.fragment && t.fragment.p(t.ctx, e), t.after_update.forEach(qe);
|
|
486
489
|
}
|
|
487
490
|
}
|
|
488
|
-
function
|
|
491
|
+
function $n(t) {
|
|
489
492
|
const e = [], r = [];
|
|
490
493
|
le.forEach((n) => t.indexOf(n) === -1 ? e.push(n) : r.push(n)), r.forEach((n) => n()), le = e;
|
|
491
494
|
}
|
|
492
|
-
const
|
|
495
|
+
const Te = /* @__PURE__ */ new Set();
|
|
493
496
|
let re;
|
|
494
497
|
function H() {
|
|
495
498
|
re = {
|
|
@@ -503,19 +506,19 @@ function K() {
|
|
|
503
506
|
re.r || we(re.c), re = re.p;
|
|
504
507
|
}
|
|
505
508
|
function f(t, e) {
|
|
506
|
-
t && t.i && (
|
|
509
|
+
t && t.i && (Te.delete(t), t.i(e));
|
|
507
510
|
}
|
|
508
|
-
function
|
|
511
|
+
function d(t, e, r, n) {
|
|
509
512
|
if (t && t.o) {
|
|
510
|
-
if (
|
|
513
|
+
if (Te.has(t))
|
|
511
514
|
return;
|
|
512
|
-
|
|
513
|
-
|
|
515
|
+
Te.add(t), re.c.push(() => {
|
|
516
|
+
Te.delete(t), n && (r && t.d(1), n());
|
|
514
517
|
}), t.o(e);
|
|
515
518
|
} else
|
|
516
519
|
n && n();
|
|
517
520
|
}
|
|
518
|
-
function
|
|
521
|
+
function vn(t, e, r) {
|
|
519
522
|
const n = t.$$.props[e];
|
|
520
523
|
n !== void 0 && (t.$$.bound[n] = r, r(t.$$.ctx[n]));
|
|
521
524
|
}
|
|
@@ -531,10 +534,10 @@ function b(t, e, r) {
|
|
|
531
534
|
}
|
|
532
535
|
function I(t, e) {
|
|
533
536
|
const r = t.$$;
|
|
534
|
-
r.fragment !== null && (
|
|
537
|
+
r.fragment !== null && ($n(r.after_update), we(r.on_destroy), r.fragment && r.fragment.d(e), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
535
538
|
}
|
|
536
|
-
function
|
|
537
|
-
t.$$.dirty[0] === -1 && (se.push(t),
|
|
539
|
+
function yn(t, e) {
|
|
540
|
+
t.$$.dirty[0] === -1 && (se.push(t), In(), t.$$.dirty.fill(0)), t.$$.dirty[e / 31 | 0] |= 1 << e % 31;
|
|
538
541
|
}
|
|
539
542
|
function N(t, e, r, n, i, o, s = null, l = [-1]) {
|
|
540
543
|
const c = be;
|
|
@@ -562,16 +565,16 @@ function N(t, e, r, n, i, o, s = null, l = [-1]) {
|
|
|
562
565
|
};
|
|
563
566
|
s && s(a.root);
|
|
564
567
|
let u = !1;
|
|
565
|
-
if (a.ctx = r ? r(t, e.props || {}, (
|
|
566
|
-
const E = $.length ? $[0] :
|
|
567
|
-
return a.ctx && i(a.ctx[
|
|
568
|
+
if (a.ctx = r ? r(t, e.props || {}, (m, A, ...$) => {
|
|
569
|
+
const E = $.length ? $[0] : A;
|
|
570
|
+
return a.ctx && i(a.ctx[m], a.ctx[m] = E) && (!a.skip_bound && a.bound[m] && a.bound[m](E), u && yn(t, m)), A;
|
|
568
571
|
}) : [], a.update(), u = !0, we(a.before_update), a.fragment = n ? n(a.ctx) : !1, e.target) {
|
|
569
572
|
if (e.hydrate) {
|
|
570
|
-
const
|
|
571
|
-
a.fragment && a.fragment.l(
|
|
573
|
+
const m = gn(e.target);
|
|
574
|
+
a.fragment && a.fragment.l(m), m.forEach(g);
|
|
572
575
|
} else
|
|
573
576
|
a.fragment && a.fragment.c();
|
|
574
|
-
e.intro && f(t.$$.fragment), b(t, e.target, e.anchor),
|
|
577
|
+
e.intro && f(t.$$.fragment), b(t, e.target, e.anchor), Pt();
|
|
575
578
|
}
|
|
576
579
|
Ae(c);
|
|
577
580
|
}
|
|
@@ -584,7 +587,7 @@ class U {
|
|
|
584
587
|
*
|
|
585
588
|
* @type {any}
|
|
586
589
|
*/
|
|
587
|
-
|
|
590
|
+
P(this, "$$");
|
|
588
591
|
/**
|
|
589
592
|
* ### PRIVATE API
|
|
590
593
|
*
|
|
@@ -592,7 +595,7 @@ class U {
|
|
|
592
595
|
*
|
|
593
596
|
* @type {any}
|
|
594
597
|
*/
|
|
595
|
-
|
|
598
|
+
P(this, "$$set");
|
|
596
599
|
}
|
|
597
600
|
/** @returns {void} */
|
|
598
601
|
$destroy() {
|
|
@@ -621,10 +624,10 @@ class U {
|
|
|
621
624
|
this.$$set && !sn(e) && (this.$$.skip_bound = !0, this.$$set(e), this.$$.skip_bound = !1);
|
|
622
625
|
}
|
|
623
626
|
}
|
|
624
|
-
const
|
|
625
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
626
|
-
function
|
|
627
|
-
|
|
627
|
+
const Bn = "4";
|
|
628
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Bn);
|
|
629
|
+
function Dn(t) {
|
|
630
|
+
F(t, "svelte-1bzqb13", ".rcb-modal-section.svelte-1bzqb13{padding:8px 0px;display:flex}section.rcb-modal-section.svelte-1bzqb13{flex-grow:1}.rcb-modal-section.svelte-1bzqb13:last-of-type{padding:0}");
|
|
628
631
|
}
|
|
629
632
|
function Ge(t) {
|
|
630
633
|
let e, r;
|
|
@@ -678,14 +681,14 @@ function Ge(t) {
|
|
|
678
681
|
r || (f(i, o), r = !0);
|
|
679
682
|
},
|
|
680
683
|
o(o) {
|
|
681
|
-
|
|
684
|
+
d(i, o), r = !1;
|
|
682
685
|
},
|
|
683
686
|
d(o) {
|
|
684
687
|
o && g(e), i && i.d(o);
|
|
685
688
|
}
|
|
686
689
|
};
|
|
687
690
|
}
|
|
688
|
-
function
|
|
691
|
+
function Mn(t) {
|
|
689
692
|
let e = (
|
|
690
693
|
/*as*/
|
|
691
694
|
t[0]
|
|
@@ -715,14 +718,14 @@ function Dn(t) {
|
|
|
715
718
|
n || (f(i, o), n = !0);
|
|
716
719
|
},
|
|
717
720
|
o(o) {
|
|
718
|
-
|
|
721
|
+
d(i, o), n = !1;
|
|
719
722
|
},
|
|
720
723
|
d(o) {
|
|
721
724
|
o && g(r), i && i.d(o);
|
|
722
725
|
}
|
|
723
726
|
};
|
|
724
727
|
}
|
|
725
|
-
function
|
|
728
|
+
function Qn(t, e, r) {
|
|
726
729
|
let { $$slots: n = {}, $$scope: i } = e, { as: o = "section" } = e;
|
|
727
730
|
return t.$$set = (s) => {
|
|
728
731
|
"as" in s && r(0, o = s.as), "$$scope" in s && r(1, i = s.$$scope);
|
|
@@ -730,13 +733,13 @@ function Mn(t, e, r) {
|
|
|
730
733
|
}
|
|
731
734
|
class ue extends U {
|
|
732
735
|
constructor(e) {
|
|
733
|
-
super(), N(this, e,
|
|
736
|
+
super(), N(this, e, Qn, Mn, T, { as: 0 }, Dn);
|
|
734
737
|
}
|
|
735
738
|
}
|
|
736
|
-
function
|
|
737
|
-
|
|
739
|
+
function Pn(t) {
|
|
740
|
+
F(t, "svelte-gf0gr5", ".rcb-pricing-info.svelte-gf0gr5{display:flex;flex-direction:column;margin-top:102px;font-weight:500}.rcb-product-price.svelte-gf0gr5{font-size:24px;margin:12px 0px}.rcb-product-price-after-trial.svelte-gf0gr5{margin-bottom:12px}.rcb-product-details.svelte-gf0gr5{opacity:0.6;list-style-type:disc;list-style-position:inside;margin:0px;padding:0px}@media screen and (max-width: 960px){.rcb-pricing-info.svelte-gf0gr5{margin-top:48px}}");
|
|
738
741
|
}
|
|
739
|
-
function
|
|
742
|
+
function Cn(t) {
|
|
740
743
|
let e = Wt(
|
|
741
744
|
/*trial*/
|
|
742
745
|
t[1].periodDuration
|
|
@@ -754,7 +757,7 @@ function Qn(t) {
|
|
|
754
757
|
}
|
|
755
758
|
};
|
|
756
759
|
}
|
|
757
|
-
function
|
|
760
|
+
function Tn(t) {
|
|
758
761
|
let e = (
|
|
759
762
|
/*basePrice*/
|
|
760
763
|
(t[2].currency || "") + ""
|
|
@@ -766,7 +769,7 @@ function Pn(t) {
|
|
|
766
769
|
) + "", o;
|
|
767
770
|
return {
|
|
768
771
|
c() {
|
|
769
|
-
r = L(e), n =
|
|
772
|
+
r = L(e), n = C(), o = L(i);
|
|
770
773
|
},
|
|
771
774
|
m(s, l) {
|
|
772
775
|
p(s, r, l), p(s, n, l), p(s, o, l);
|
|
@@ -777,7 +780,7 @@ function Pn(t) {
|
|
|
777
780
|
}
|
|
778
781
|
};
|
|
779
782
|
}
|
|
780
|
-
function
|
|
783
|
+
function Nn(t) {
|
|
781
784
|
let e;
|
|
782
785
|
return {
|
|
783
786
|
c() {
|
|
@@ -810,7 +813,7 @@ function ct(t) {
|
|
|
810
813
|
e = k("li"), r = L("Renews "), i = L(n);
|
|
811
814
|
},
|
|
812
815
|
m(o, s) {
|
|
813
|
-
p(o, e, s),
|
|
816
|
+
p(o, e, s), Q(e, r), Q(e, i);
|
|
814
817
|
},
|
|
815
818
|
p(o, s) {
|
|
816
819
|
s & /*productDetails*/
|
|
@@ -824,53 +827,53 @@ function ct(t) {
|
|
|
824
827
|
}
|
|
825
828
|
};
|
|
826
829
|
}
|
|
827
|
-
function
|
|
828
|
-
var M,
|
|
830
|
+
function Un(t) {
|
|
831
|
+
var M, ye;
|
|
829
832
|
let e, r, n = (
|
|
830
833
|
/*productDetails*/
|
|
831
834
|
t[0].displayName + ""
|
|
832
|
-
), i, o, s, l, c, a, u,
|
|
835
|
+
), i, o, s, l, c, a, u, m, A, $, E, B = (
|
|
833
836
|
/*trial*/
|
|
834
|
-
((M = t[1]) == null ? void 0 : M.periodDuration) &&
|
|
835
|
-
),
|
|
836
|
-
((
|
|
837
|
-
t[2] &&
|
|
837
|
+
((M = t[1]) == null ? void 0 : M.periodDuration) && Cn(t)
|
|
838
|
+
), h = !/*trial*/
|
|
839
|
+
((ye = t[1]) != null && ye.periodDuration) && /*basePrice*/
|
|
840
|
+
t[2] && Tn(t), y = (
|
|
838
841
|
/*trial*/
|
|
839
842
|
t[1] && /*basePrice*/
|
|
840
|
-
t[2] &&
|
|
843
|
+
t[2] && Nn(t)
|
|
841
844
|
), R = (
|
|
842
845
|
/*productDetails*/
|
|
843
846
|
t[0].normalPeriodDuration && ct(t)
|
|
844
847
|
);
|
|
845
848
|
return {
|
|
846
849
|
c() {
|
|
847
|
-
e = k("div"), r = k("span"), i = L(n), o =
|
|
850
|
+
e = k("div"), r = k("span"), i = L(n), o = C(), s = k("span"), B && B.c(), l = C(), h && h.c(), c = C(), y && y.c(), a = C(), u = k("ul"), R && R.c(), m = C(), A = k("li"), A.textContent = "Continues until canceled", $ = C(), E = k("li"), E.textContent = "Cancel anytime", _(s, "class", "rcb-product-price svelte-gf0gr5"), _(u, "class", "rcb-product-details svelte-gf0gr5"), _(e, "class", "rcb-pricing-info svelte-gf0gr5");
|
|
848
851
|
},
|
|
849
|
-
m(
|
|
850
|
-
p(
|
|
852
|
+
m(x, S) {
|
|
853
|
+
p(x, e, S), Q(e, r), Q(r, i), Q(e, o), Q(e, s), B && B.m(s, null), Q(s, l), h && h.m(s, null), Q(e, c), y && y.m(e, null), Q(e, a), Q(e, u), R && R.m(u, null), Q(u, m), Q(u, A), Q(u, $), Q(u, E);
|
|
851
854
|
},
|
|
852
|
-
p(
|
|
853
|
-
var
|
|
855
|
+
p(x, S) {
|
|
856
|
+
var Be, De;
|
|
854
857
|
S & /*productDetails*/
|
|
855
858
|
1 && n !== (n = /*productDetails*/
|
|
856
|
-
|
|
857
|
-
(
|
|
858
|
-
((
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
859
|
+
x[0].displayName + "") && ae(i, n), /*trial*/
|
|
860
|
+
(Be = x[1]) != null && Be.periodDuration && B.p(x, S), !/*trial*/
|
|
861
|
+
((De = x[1]) != null && De.periodDuration) && /*basePrice*/
|
|
862
|
+
x[2] && h.p(x, S), /*trial*/
|
|
863
|
+
x[1] && /*basePrice*/
|
|
864
|
+
x[2] && y.p(x, S), /*productDetails*/
|
|
865
|
+
x[0].normalPeriodDuration ? R ? R.p(x, S) : (R = ct(x), R.c(), R.m(u, m)) : R && (R.d(1), R = null);
|
|
863
866
|
},
|
|
864
|
-
d(
|
|
865
|
-
|
|
867
|
+
d(x) {
|
|
868
|
+
x && g(e), B && B.d(), h && h.d(), y && y.d(), R && R.d();
|
|
866
869
|
}
|
|
867
870
|
};
|
|
868
871
|
}
|
|
869
|
-
function
|
|
872
|
+
function Rn(t) {
|
|
870
873
|
let e, r;
|
|
871
874
|
return e = new ue({
|
|
872
875
|
props: {
|
|
873
|
-
$$slots: { default: [
|
|
876
|
+
$$slots: { default: [Un] },
|
|
874
877
|
$$scope: { ctx: t }
|
|
875
878
|
}
|
|
876
879
|
}), {
|
|
@@ -889,14 +892,14 @@ function Un(t) {
|
|
|
889
892
|
r || (f(e.$$.fragment, n), r = !0);
|
|
890
893
|
},
|
|
891
894
|
o(n) {
|
|
892
|
-
|
|
895
|
+
d(e.$$.fragment, n), r = !1;
|
|
893
896
|
},
|
|
894
897
|
d(n) {
|
|
895
898
|
I(e, n);
|
|
896
899
|
}
|
|
897
900
|
};
|
|
898
901
|
}
|
|
899
|
-
function
|
|
902
|
+
function Sn(t, e, r) {
|
|
900
903
|
var c;
|
|
901
904
|
let { productDetails: n } = e, { purchaseOption: i } = e;
|
|
902
905
|
const o = i, s = o == null ? void 0 : o.trial, l = (c = o == null ? void 0 : o.base) == null ? void 0 : c.price;
|
|
@@ -904,17 +907,17 @@ function Rn(t, e, r) {
|
|
|
904
907
|
"productDetails" in a && r(0, n = a.productDetails), "purchaseOption" in a && r(3, i = a.purchaseOption);
|
|
905
908
|
}, [n, s, l, i];
|
|
906
909
|
}
|
|
907
|
-
class
|
|
910
|
+
class Ct extends U {
|
|
908
911
|
constructor(e) {
|
|
909
|
-
super(), N(this, e,
|
|
912
|
+
super(), N(this, e, Sn, Rn, T, { productDetails: 0, purchaseOption: 3 }, Pn);
|
|
910
913
|
}
|
|
911
914
|
}
|
|
912
|
-
const Sn = "data:image/gif;base64,R0lGODlhMgAyAPcBAAAAAAD/AAMDAwcHBxERERUVFSoqKi0tLTAwMDg4OD09PURERElJSUtLS1BQUFJSUlVVVVdXV1paWl9fX2NjY2ZmZmlpaWxsbG1tbXNzc3t7e39/f4GBgYKCgoSEhIaGhoeHh4iIiIuLi5KSkpSUlJaWlp2dnaGhoaOjo6SkpKWlpaenp6ioqKqqqqurq6ysrLCwsLGxsbS0tLa2tri4uLm5ub29vb6+vsDAwMHBwcLCwsXFxcjIyMnJyc3Nzc7OztPT09TU1NXV1dfX19nZ2dra2tvb29zc3N7e3uDg4OHh4eLi4uPj4+fn5+np6ezs7O7u7vDw8PHx8fLy8vPz8/X19fb29vj4+Pn5+fz8/P39/f7+/v///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////yH/C05FVFNDQVBFMi4wAwEAAAAh+QQFBAABACwAAAAAMgAyAIcAAAAA/wADAwMHBwcREREVFRUqKiotLS0wMDA4ODg9PT1ERERJSUlLS0tQUFBSUlJVVVVXV1daWlpfX19jY2NmZmZpaWlsbGxtbW1zc3N7e3t/f3+BgYGCgoKEhISGhoaHh4eIiIiLi4uSkpKUlJSWlpadnZ2hoaGjo6OkpKSlpaWnp6eoqKiqqqqrq6usrKywsLCxsbG0tLS2tra4uLi5ubm9vb2+vr7AwMDBwcHCwsLFxcXIyMjJycnNzc3Ozs7T09PU1NTV1dXX19fZ2dna2trb29vc3Nze3t7g4ODh4eHi4uLj4+Pn5+fp6ens7Ozu7u7w8PDx8fHy8vLz8/P19fX29vb4+Pj5+fn8/Pz9/f3+/v7///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////8I/wCzcBFIcKDBgggPKkzIcCEXLlq4bIEokeLEiBcrYrTIcaNHjRobinQ4sqRCkBlTdtR44MBKlR9TmjQJQMBMkgZfdpwSMSYAACgpRtHpcSYSFUIa1mz448UQnAWDfmzSooUVmD9XVnnBwglMlDdvvMjhcOlCHit23CSqcUrVJiizpnTC4sXQmB1vZvmxwgYWhWYLznjRA+rJryqvxGhxxGNLjkVcwMCCN6ZeLkNevDCcRYYKJJfZptyCQwdiijl0CDxdlLPryw2lymY9WzTs17ijVq69mzbM28Bd8x7u23bu46F7i16uXEvw5ziJM5duGbl1k9OLN5cKvfvh7OC3b0jxTv6h+PDUy3unzl67RPXXc56fnz4+/PbofcOHnr9/5f3x4UeffvYVqJuACP5m4IIJ+gfWgusN6KCCAN7WoITVVXjchBxqERAAIfkEBQQAAQAsDQADACAAEAAACKcAAwgcSDDAAwcFEypcSNDAAYYQA2DZstCAAYZOKCqM8uNJxYcKa3DYsVBKECBYFFpU+MTDhiIMkQxBohJkwRYaUkD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GKQgMVDV4RAoQKQxMdUpx8aJAJECYQnWzYcMQgSoNVgAy5CHGGhhI+aRIkMgRnxCohNvQoiLDgEyFDskQUuINDiK1Hfpgc+ETKQi0nVGxNkkSrwCw/hiBxu7XuFidAhARpgqWu3yxIhgApEtLvVipIgARBYthvlKaNFQYEADs=";
|
|
913
|
-
function
|
|
915
|
+
const On = "data:image/gif;base64,R0lGODlhMgAyAPcBAAAAAAD/AAMDAwcHBxERERUVFSoqKi0tLTAwMDg4OD09PURERElJSUtLS1BQUFJSUlVVVVdXV1paWl9fX2NjY2ZmZmlpaWxsbG1tbXNzc3t7e39/f4GBgYKCgoSEhIaGhoeHh4iIiIuLi5KSkpSUlJaWlp2dnaGhoaOjo6SkpKWlpaenp6ioqKqqqqurq6ysrLCwsLGxsbS0tLa2tri4uLm5ub29vb6+vsDAwMHBwcLCwsXFxcjIyMnJyc3Nzc7OztPT09TU1NXV1dfX19nZ2dra2tvb29zc3N7e3uDg4OHh4eLi4uPj4+fn5+np6ezs7O7u7vDw8PHx8fLy8vPz8/X19fb29vj4+Pn5+fz8/P39/f7+/v///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////yH/C05FVFNDQVBFMi4wAwEAAAAh+QQFBAABACwAAAAAMgAyAIcAAAAA/wADAwMHBwcREREVFRUqKiotLS0wMDA4ODg9PT1ERERJSUlLS0tQUFBSUlJVVVVXV1daWlpfX19jY2NmZmZpaWlsbGxtbW1zc3N7e3t/f3+BgYGCgoKEhISGhoaHh4eIiIiLi4uSkpKUlJSWlpadnZ2hoaGjo6OkpKSlpaWnp6eoqKiqqqqrq6usrKywsLCxsbG0tLS2tra4uLi5ubm9vb2+vr7AwMDBwcHCwsLFxcXIyMjJycnNzc3Ozs7T09PU1NTV1dXX19fZ2dna2trb29vc3Nze3t7g4ODh4eHi4uLj4+Pn5+fp6ens7Ozu7u7w8PDx8fHy8vLz8/P19fX29vb4+Pj5+fn8/Pz9/f3+/v7///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////8I/wCzcBFIcKDBgggPKkzIcCEXLlq4bIEokeLEiBcrYrTIcaNHjRobinQ4sqRCkBlTdtR44MBKlR9TmjQJQMBMkgZfdpwSMSYAACgpRtHpcSYSFUIa1mz448UQnAWDfmzSooUVmD9XVnnBwglMlDdvvMjhcOlCHit23CSqcUrVJiizpnTC4sXQmB1vZvmxwgYWhWYLznjRA+rJryqvxGhxxGNLjkVcwMCCN6ZeLkNevDCcRYYKJJfZptyCQwdiijl0CDxdlLPryw2lymY9WzTs17ijVq69mzbM28Bd8x7u23bu46F7i16uXEvw5ziJM5duGbl1k9OLN5cKvfvh7OC3b0jxTv6h+PDUy3unzl67RPXXc56fnz4+/PbofcOHnr9/5f3x4UeffvYVqJuACP5m4IIJ+gfWgusN6KCCAN7WoITVVXjchBxqERAAIfkEBQQAAQAsDQADACAAEAAACKcAAwgcSDDAAwcFEypcSNDAAYYQA2DZstCAAYZOKCqM8uNJxYcKa3DYsVBKECBYFFpU+MTDhiIMkQxBohJkwRYaUkDEEiQIlYQrCyLZ0MFJRCdAkgC1OZBEBxgRJRIBAqXgwYI8NoCwEjWAkyFDoorQ4KOrQCRLoqbQuZCKR7NdqzD5MaQKXIhZmAwBIqTJ3YVYogQZ8oMJ178Kk/A1YhfxQiRHjBYMCAAh+QQFBQABACwNAAMAIAAQAAAInQADCBxIMECGDAUTKlxI8EEEhhADcGEI4QFDJQy5ZJmo0OFCFBFkLNzCRQvHghEgKHQi4cEPhhuzdHy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k("img"),
|
|
920
|
+
e = k("img"), ee(e.src, r = On) || _(e, "src", r), _(e, "alt", "spinner");
|
|
918
921
|
},
|
|
919
922
|
m(n, i) {
|
|
920
923
|
p(n, e, i);
|
|
@@ -927,17 +930,17 @@ function On(t) {
|
|
|
927
930
|
}
|
|
928
931
|
};
|
|
929
932
|
}
|
|
930
|
-
class
|
|
933
|
+
class Fn extends U {
|
|
931
934
|
constructor(e) {
|
|
932
|
-
super(), N(this, e, null,
|
|
935
|
+
super(), N(this, e, null, Ln, T, {});
|
|
933
936
|
}
|
|
934
937
|
}
|
|
935
938
|
function xn(t) {
|
|
936
|
-
|
|
939
|
+
F(t, "svelte-1mxx341", ".rcb-modal-loader.svelte-1mxx341{width:100%;flex-grow:1;min-height:100%;display:flex;justify-content:center;align-items:center}");
|
|
937
940
|
}
|
|
938
|
-
function
|
|
941
|
+
function Gn(t) {
|
|
939
942
|
let e, r, n;
|
|
940
|
-
return r = new
|
|
943
|
+
return r = new Fn({}), {
|
|
941
944
|
c() {
|
|
942
945
|
e = k("div"), w(r.$$.fragment), _(e, "class", "rcb-modal-loader svelte-1mxx341");
|
|
943
946
|
},
|
|
@@ -949,7 +952,7 @@ function Fn(t) {
|
|
|
949
952
|
n || (f(r.$$.fragment, i), n = !0);
|
|
950
953
|
},
|
|
951
954
|
o(i) {
|
|
952
|
-
|
|
955
|
+
d(r.$$.fragment, i), n = !1;
|
|
953
956
|
},
|
|
954
957
|
d(i) {
|
|
955
958
|
i && g(e), I(r);
|
|
@@ -958,10 +961,10 @@ function Fn(t) {
|
|
|
958
961
|
}
|
|
959
962
|
class We extends U {
|
|
960
963
|
constructor(e) {
|
|
961
|
-
super(), N(this, e, null,
|
|
964
|
+
super(), N(this, e, null, Gn, T, {}, xn);
|
|
962
965
|
}
|
|
963
966
|
}
|
|
964
|
-
var
|
|
967
|
+
var Z = /* @__PURE__ */ ((t) => (t[t.UnknownError = 0] = "UnknownError", t[t.UserCancelledError = 1] = "UserCancelledError", t[t.StoreProblemError = 2] = "StoreProblemError", t[t.PurchaseNotAllowedError = 3] = "PurchaseNotAllowedError", t[t.PurchaseInvalidError = 4] = "PurchaseInvalidError", t[t.ProductNotAvailableForPurchaseError = 5] = "ProductNotAvailableForPurchaseError", t[t.ProductAlreadyPurchasedError = 6] = "ProductAlreadyPurchasedError", t[t.ReceiptAlreadyInUseError = 7] = "ReceiptAlreadyInUseError", t[t.InvalidReceiptError = 8] = "InvalidReceiptError", t[t.MissingReceiptFileError = 9] = "MissingReceiptFileError", t[t.NetworkError = 10] = "NetworkError", t[t.InvalidCredentialsError = 11] = "InvalidCredentialsError", t[t.UnexpectedBackendResponseError = 12] = "UnexpectedBackendResponseError", t[t.InvalidAppUserIdError = 14] = "InvalidAppUserIdError", t[t.OperationAlreadyInProgressError = 15] = "OperationAlreadyInProgressError", t[t.UnknownBackendError = 16] = "UnknownBackendError", t[t.InvalidAppleSubscriptionKeyError = 17] = "InvalidAppleSubscriptionKeyError", t[t.IneligibleError = 18] = "IneligibleError", t[t.InsufficientPermissionsError = 19] = "InsufficientPermissionsError", t[t.PaymentPendingError = 20] = "PaymentPendingError", t[t.InvalidSubscriberAttributesError = 21] = "InvalidSubscriberAttributesError", t[t.LogOutWithAnonymousUserError = 22] = "LogOutWithAnonymousUserError", t[t.ConfigurationError = 23] = "ConfigurationError", t[t.UnsupportedError = 24] = "UnsupportedError", t[t.EmptySubscriberAttributesError = 25] = "EmptySubscriberAttributesError", t[t.CustomerInfoError = 28] = "CustomerInfoError", t[t.SignatureVerificationError = 36] = "SignatureVerificationError", t[t.InvalidEmailError = 38] = "InvalidEmailError", t))(Z || {});
|
|
965
968
|
class he {
|
|
966
969
|
static getPublicMessage(e) {
|
|
967
970
|
switch (e) {
|
|
@@ -1019,6 +1022,8 @@ class he {
|
|
|
1019
1022
|
return "There was a problem related to the customer info.";
|
|
1020
1023
|
case 36:
|
|
1021
1024
|
return "Request failed signature verification. Please see https://rev.cat/trusted-entitlements for more info.";
|
|
1025
|
+
case 38:
|
|
1026
|
+
return "Email is not valid. Please provide a valid email address.";
|
|
1022
1027
|
}
|
|
1023
1028
|
}
|
|
1024
1029
|
static getErrorCodeForBackendErrorCode(e) {
|
|
@@ -1060,6 +1065,9 @@ class he {
|
|
|
1060
1065
|
return 12;
|
|
1061
1066
|
case 7662:
|
|
1062
1067
|
return 24;
|
|
1068
|
+
case 7012:
|
|
1069
|
+
case 7834:
|
|
1070
|
+
return 38;
|
|
1063
1071
|
}
|
|
1064
1072
|
}
|
|
1065
1073
|
static convertCodeToBackendErrorCode(e) {
|
|
@@ -1084,11 +1092,11 @@ class he {
|
|
|
1084
1092
|
}
|
|
1085
1093
|
}
|
|
1086
1094
|
}
|
|
1087
|
-
var Tt = /* @__PURE__ */ ((t) => (t[t.BackendInvalidPlatform = 7e3] = "BackendInvalidPlatform", t[t.BackendStoreProblem = 7101] = "BackendStoreProblem", t[t.BackendCannotTransferPurchase = 7102] = "BackendCannotTransferPurchase", t[t.BackendInvalidReceiptToken = 7103] = "BackendInvalidReceiptToken", t[t.BackendInvalidAppStoreSharedSecret = 7104] = "BackendInvalidAppStoreSharedSecret", t[t.BackendInvalidPaymentModeOrIntroPriceNotProvided = 7105] = "BackendInvalidPaymentModeOrIntroPriceNotProvided", t[t.BackendProductIdForGoogleReceiptNotProvided = 7106] = "BackendProductIdForGoogleReceiptNotProvided", t[t.BackendInvalidPlayStoreCredentials = 7107] = "BackendInvalidPlayStoreCredentials", t[t.BackendInternalServerError = 7110] = "BackendInternalServerError", t[t.BackendEmptyAppUserId = 7220] = "BackendEmptyAppUserId", t[t.BackendInvalidAuthToken = 7224] = "BackendInvalidAuthToken", t[t.BackendInvalidAPIKey = 7225] = "BackendInvalidAPIKey", t[t.BackendBadRequest = 7226] = "BackendBadRequest", t[t.BackendPlayStoreQuotaExceeded = 7229] = "BackendPlayStoreQuotaExceeded", t[t.BackendPlayStoreInvalidPackageName = 7230] = "BackendPlayStoreInvalidPackageName", t[t.BackendPlayStoreGenericError = 7231] = "BackendPlayStoreGenericError", t[t.BackendUserIneligibleForPromoOffer = 7232] = "BackendUserIneligibleForPromoOffer", t[t.BackendInvalidAppleSubscriptionKey = 7234] = "BackendInvalidAppleSubscriptionKey", t[t.BackendInvalidSubscriberAttributes = 7263] = "BackendInvalidSubscriberAttributes", t[t.BackendInvalidSubscriberAttributesBody = 7264] = "BackendInvalidSubscriberAttributesBody", t[t.BackendProductIDsMalformed = 7662] = "BackendProductIDsMalformed", t[t.BackendAlreadySubscribedError = 7772] = "BackendAlreadySubscribedError", t[t.BackendOfferNotFound = 7814] = "BackendOfferNotFound", t))(Tt || {});
|
|
1095
|
+
var Tt = /* @__PURE__ */ ((t) => (t[t.BackendInvalidPlatform = 7e3] = "BackendInvalidPlatform", t[t.BackendInvalidEmail = 7012] = "BackendInvalidEmail", t[t.BackendStoreProblem = 7101] = "BackendStoreProblem", t[t.BackendCannotTransferPurchase = 7102] = "BackendCannotTransferPurchase", t[t.BackendInvalidReceiptToken = 7103] = "BackendInvalidReceiptToken", t[t.BackendInvalidAppStoreSharedSecret = 7104] = "BackendInvalidAppStoreSharedSecret", t[t.BackendInvalidPaymentModeOrIntroPriceNotProvided = 7105] = "BackendInvalidPaymentModeOrIntroPriceNotProvided", t[t.BackendProductIdForGoogleReceiptNotProvided = 7106] = "BackendProductIdForGoogleReceiptNotProvided", t[t.BackendInvalidPlayStoreCredentials = 7107] = "BackendInvalidPlayStoreCredentials", t[t.BackendInternalServerError = 7110] = "BackendInternalServerError", t[t.BackendEmptyAppUserId = 7220] = "BackendEmptyAppUserId", t[t.BackendInvalidAuthToken = 7224] = "BackendInvalidAuthToken", t[t.BackendInvalidAPIKey = 7225] = "BackendInvalidAPIKey", t[t.BackendBadRequest = 7226] = "BackendBadRequest", t[t.BackendPlayStoreQuotaExceeded = 7229] = "BackendPlayStoreQuotaExceeded", t[t.BackendPlayStoreInvalidPackageName = 7230] = "BackendPlayStoreInvalidPackageName", t[t.BackendPlayStoreGenericError = 7231] = "BackendPlayStoreGenericError", t[t.BackendUserIneligibleForPromoOffer = 7232] = "BackendUserIneligibleForPromoOffer", t[t.BackendInvalidAppleSubscriptionKey = 7234] = "BackendInvalidAppleSubscriptionKey", t[t.BackendInvalidSubscriberAttributes = 7263] = "BackendInvalidSubscriberAttributes", t[t.BackendInvalidSubscriberAttributesBody = 7264] = "BackendInvalidSubscriberAttributesBody", t[t.BackendProductIDsMalformed = 7662] = "BackendProductIDsMalformed", t[t.BackendAlreadySubscribedError = 7772] = "BackendAlreadySubscribedError", t[t.BackendOfferNotFound = 7814] = "BackendOfferNotFound", t[t.BackendNoMXRecordsFound = 7834] = "BackendNoMXRecordsFound", t))(Tt || {});
|
|
1088
1096
|
class X extends Error {
|
|
1089
1097
|
constructor(r, n, i) {
|
|
1090
1098
|
super(n);
|
|
1091
|
-
|
|
1099
|
+
P(this, "toString", () => `PurchasesError(code: ${Z[this.errorCode]}, message: ${this.message})`);
|
|
1092
1100
|
this.errorCode = r, this.underlyingErrorMessage = i;
|
|
1093
1101
|
}
|
|
1094
1102
|
/** @internal */
|
|
@@ -1111,31 +1119,31 @@ class X extends Error {
|
|
|
1111
1119
|
);
|
|
1112
1120
|
}
|
|
1113
1121
|
}
|
|
1114
|
-
class
|
|
1122
|
+
class Yn extends Error {
|
|
1115
1123
|
constructor() {
|
|
1116
1124
|
super("Purchases must be configured before calling getInstance");
|
|
1117
1125
|
}
|
|
1118
1126
|
}
|
|
1119
|
-
var pe = /* @__PURE__ */ ((t) => (t.Started = "started", t.InProgress = "in_progress", t.Succeeded = "succeeded", t.Failed = "failed", t))(pe || {}),
|
|
1127
|
+
var pe = /* @__PURE__ */ ((t) => (t.Started = "started", t.InProgress = "in_progress", t.Succeeded = "succeeded", t.Failed = "failed", t))(pe || {}), Ne = /* @__PURE__ */ ((t) => (t[t.SetupIntentCreationFailed = 1] = "SetupIntentCreationFailed", t[t.PaymentMethodCreationFailed = 2] = "PaymentMethodCreationFailed", t[t.PaymentChargeFailed = 3] = "PaymentChargeFailed", t))(Ne || {}), O = /* @__PURE__ */ ((t) => (t[t.ErrorSettingUpPurchase = 0] = "ErrorSettingUpPurchase", t[t.ErrorChargingPayment = 1] = "ErrorChargingPayment", t[t.UnknownError = 2] = "UnknownError", t[t.NetworkError = 3] = "NetworkError", t[t.StripeError = 4] = "StripeError", t[t.MissingEmailError = 5] = "MissingEmailError", t[t.AlreadySubscribedError = 6] = "AlreadySubscribedError", t))(O || {});
|
|
1120
1128
|
class Y extends Error {
|
|
1121
1129
|
constructor(e, r, n) {
|
|
1122
1130
|
super(r), this.errorCode = e, this.underlyingErrorMessage = n;
|
|
1123
1131
|
}
|
|
1124
1132
|
static fromPurchasesError(e, r) {
|
|
1125
1133
|
let n;
|
|
1126
|
-
return e.errorCode ===
|
|
1134
|
+
return e.errorCode === Z.ProductAlreadyPurchasedError ? n = 6 : e.errorCode === Z.InvalidEmailError ? n = 5 : n = r, new Y(
|
|
1127
1135
|
n,
|
|
1128
1136
|
e.message,
|
|
1129
1137
|
e.underlyingErrorMessage
|
|
1130
1138
|
);
|
|
1131
1139
|
}
|
|
1132
1140
|
}
|
|
1133
|
-
class
|
|
1141
|
+
class Hn {
|
|
1134
1142
|
constructor(e, r = 10) {
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1143
|
+
P(this, "operationSessionId", null);
|
|
1144
|
+
P(this, "backend");
|
|
1145
|
+
P(this, "maxNumberAttempts");
|
|
1146
|
+
P(this, "waitMSBetweenAttempts", 1e3);
|
|
1139
1147
|
this.backend = e, this.maxNumberAttempts = r;
|
|
1140
1148
|
}
|
|
1141
1149
|
async startPurchase(e, r, n, i, o) {
|
|
@@ -1226,7 +1234,7 @@ class Yn {
|
|
|
1226
1234
|
return;
|
|
1227
1235
|
}
|
|
1228
1236
|
switch (e.code) {
|
|
1229
|
-
case
|
|
1237
|
+
case Ne.SetupIntentCreationFailed:
|
|
1230
1238
|
r(
|
|
1231
1239
|
new Y(
|
|
1232
1240
|
0,
|
|
@@ -1234,7 +1242,7 @@ class Yn {
|
|
|
1234
1242
|
)
|
|
1235
1243
|
);
|
|
1236
1244
|
return;
|
|
1237
|
-
case
|
|
1245
|
+
case Ne.PaymentMethodCreationFailed:
|
|
1238
1246
|
r(
|
|
1239
1247
|
new Y(
|
|
1240
1248
|
0,
|
|
@@ -1242,7 +1250,7 @@ class Yn {
|
|
|
1242
1250
|
)
|
|
1243
1251
|
);
|
|
1244
1252
|
return;
|
|
1245
|
-
case
|
|
1253
|
+
case Ne.PaymentChargeFailed:
|
|
1246
1254
|
r(
|
|
1247
1255
|
new Y(
|
|
1248
1256
|
1,
|
|
@@ -1253,15 +1261,15 @@ class Yn {
|
|
|
1253
1261
|
}
|
|
1254
1262
|
}
|
|
1255
1263
|
}
|
|
1256
|
-
const
|
|
1257
|
-
function Kn(t) {
|
|
1258
|
-
x(t, "svelte-1609h93", "img.svelte-1609h93{width:124px;height:124px;margin:0 auto}");
|
|
1259
|
-
}
|
|
1264
|
+
const Kn = "data:image/svg+xml,%3csvg%20width='124'%20height='124'%20viewBox='0%200%20124%20124'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='62'%20cy='62'%20r='62'%20fill='%23767676'/%3e%3cpath%20d='M87.6668%2041.504L82.4968%2036.334L62.0002%2056.8307L41.5035%2036.334L36.3335%2041.504L56.8302%2062.0006L36.3335%2082.4973L41.5035%2087.6673L62.0002%2067.1706L82.4968%2087.6673L87.6668%2082.4973L67.1702%2062.0006L87.6668%2041.504Z'%20fill='white'/%3e%3c/svg%3e";
|
|
1260
1265
|
function qn(t) {
|
|
1266
|
+
F(t, "svelte-1609h93", "img.svelte-1609h93{width:124px;height:124px;margin:0 auto}");
|
|
1267
|
+
}
|
|
1268
|
+
function jn(t) {
|
|
1261
1269
|
let e, r;
|
|
1262
1270
|
return {
|
|
1263
1271
|
c() {
|
|
1264
|
-
e = k("img"),
|
|
1272
|
+
e = k("img"), ee(e.src, r = Kn) || _(e, "src", r), _(e, "alt", "icon"), _(e, "class", "rcb-ui-asset-icon svelte-1609h93");
|
|
1265
1273
|
},
|
|
1266
1274
|
m(n, i) {
|
|
1267
1275
|
p(n, e, i);
|
|
@@ -1274,15 +1282,15 @@ function qn(t) {
|
|
|
1274
1282
|
}
|
|
1275
1283
|
};
|
|
1276
1284
|
}
|
|
1277
|
-
class
|
|
1285
|
+
class Jn extends U {
|
|
1278
1286
|
constructor(e) {
|
|
1279
|
-
super(), N(this, e, null,
|
|
1287
|
+
super(), N(this, e, null, jn, T, {}, qn);
|
|
1280
1288
|
}
|
|
1281
1289
|
}
|
|
1282
|
-
function Jn(t) {
|
|
1283
|
-
x(t, "svelte-1rmxk7q", "button.svelte-1rmxk7q{border:none;border-radius:56px;font-size:16px;cursor:pointer;height:56px;color:var(--rc-color-grey-text-dark);background-color:var(--rc-color-grey-ui-dark);display:flex;align-items:center;justify-content:center}button.intent-primary.svelte-1rmxk7q{background-color:var(--rc-color-grey-text-dark);color:var(--rc-color-white);font-size:16px}button.svelte-1rmxk7q:disabled{color:var(--rc-color-grey-text-light)}button.intent-primary.svelte-1rmxk7q:disabled{color:var(--rc-color-grey-text-light)}");
|
|
1284
|
-
}
|
|
1285
1290
|
function Vn(t) {
|
|
1291
|
+
F(t, "svelte-1rmxk7q", "button.svelte-1rmxk7q{border:none;border-radius:56px;font-size:16px;cursor:pointer;height:56px;color:var(--rc-color-grey-text-dark);background-color:var(--rc-color-grey-ui-dark);display:flex;align-items:center;justify-content:center}button.intent-primary.svelte-1rmxk7q{background-color:var(--rc-color-grey-text-dark);color:var(--rc-color-white);font-size:16px}button.svelte-1rmxk7q:disabled{color:var(--rc-color-grey-text-light)}button.intent-primary.svelte-1rmxk7q:disabled{color:var(--rc-color-grey-text-light)}");
|
|
1292
|
+
}
|
|
1293
|
+
function Wn(t) {
|
|
1286
1294
|
let e, r, n, i, o;
|
|
1287
1295
|
const s = (
|
|
1288
1296
|
/*#slots*/
|
|
@@ -1337,17 +1345,17 @@ function Vn(t) {
|
|
|
1337
1345
|
n || (f(l, c), n = !0);
|
|
1338
1346
|
},
|
|
1339
1347
|
o(c) {
|
|
1340
|
-
|
|
1348
|
+
d(l, c), n = !1;
|
|
1341
1349
|
},
|
|
1342
1350
|
d(c) {
|
|
1343
1351
|
c && g(e), l && l.d(c), i = !1, o();
|
|
1344
1352
|
}
|
|
1345
1353
|
};
|
|
1346
1354
|
}
|
|
1347
|
-
function
|
|
1355
|
+
function zn(t, e, r) {
|
|
1348
1356
|
let { $$slots: n = {}, $$scope: i } = e, { intent: o = "primary" } = e, { disabled: s = !1 } = e;
|
|
1349
1357
|
function l(c) {
|
|
1350
|
-
|
|
1358
|
+
Qt.call(this, t, c);
|
|
1351
1359
|
}
|
|
1352
1360
|
return t.$$set = (c) => {
|
|
1353
1361
|
"intent" in c && r(0, o = c.intent), "disabled" in c && r(1, s = c.disabled), "$$scope" in c && r(2, i = c.$$scope);
|
|
@@ -1355,13 +1363,13 @@ function Wn(t, e, r) {
|
|
|
1355
1363
|
}
|
|
1356
1364
|
class Ie extends U {
|
|
1357
1365
|
constructor(e) {
|
|
1358
|
-
super(), N(this, e,
|
|
1366
|
+
super(), N(this, e, zn, Wn, T, { intent: 0, disabled: 1 }, Vn);
|
|
1359
1367
|
}
|
|
1360
1368
|
}
|
|
1361
|
-
function zn(t) {
|
|
1362
|
-
x(t, "svelte-1f9z0o8", "footer.svelte-1f9z0o8{display:flex;flex-direction:column}");
|
|
1363
|
-
}
|
|
1364
1369
|
function Xn(t) {
|
|
1370
|
+
F(t, "svelte-1f9z0o8", "footer.svelte-1f9z0o8{display:flex;flex-direction:column}");
|
|
1371
|
+
}
|
|
1372
|
+
function Zn(t) {
|
|
1365
1373
|
let e, r;
|
|
1366
1374
|
const n = (
|
|
1367
1375
|
/*#slots*/
|
|
@@ -1405,14 +1413,14 @@ function Xn(t) {
|
|
|
1405
1413
|
r || (f(i, o), r = !0);
|
|
1406
1414
|
},
|
|
1407
1415
|
o(o) {
|
|
1408
|
-
|
|
1416
|
+
d(i, o), r = !1;
|
|
1409
1417
|
},
|
|
1410
1418
|
d(o) {
|
|
1411
1419
|
o && g(e), i && i.d(o);
|
|
1412
1420
|
}
|
|
1413
1421
|
};
|
|
1414
1422
|
}
|
|
1415
|
-
function
|
|
1423
|
+
function er(t, e, r) {
|
|
1416
1424
|
let { $$slots: n = {}, $$scope: i } = e;
|
|
1417
1425
|
return t.$$set = (o) => {
|
|
1418
1426
|
"$$scope" in o && r(0, i = o.$$scope);
|
|
@@ -1420,13 +1428,13 @@ function Zn(t, e, r) {
|
|
|
1420
1428
|
}
|
|
1421
1429
|
class ze extends U {
|
|
1422
1430
|
constructor(e) {
|
|
1423
|
-
super(), N(this, e,
|
|
1431
|
+
super(), N(this, e, er, Zn, T, {}, Xn);
|
|
1424
1432
|
}
|
|
1425
1433
|
}
|
|
1426
|
-
function er(t) {
|
|
1427
|
-
x(t, "svelte-6o8e90", '.column.svelte-6o8e90{display:flex;flex-direction:column;justify-content:flex-start;gap:var(--gap, "8px");flex-grow:1}');
|
|
1428
|
-
}
|
|
1429
1434
|
function tr(t) {
|
|
1435
|
+
F(t, "svelte-6o8e90", '.column.svelte-6o8e90{display:flex;flex-direction:column;justify-content:flex-start;gap:var(--gap, "8px");flex-grow:1}');
|
|
1436
|
+
}
|
|
1437
|
+
function nr(t) {
|
|
1430
1438
|
let e, r, n;
|
|
1431
1439
|
const i = (
|
|
1432
1440
|
/*#slots*/
|
|
@@ -1473,37 +1481,37 @@ function tr(t) {
|
|
|
1473
1481
|
n || (f(o, s), n = !0);
|
|
1474
1482
|
},
|
|
1475
1483
|
o(s) {
|
|
1476
|
-
|
|
1484
|
+
d(o, s), n = !1;
|
|
1477
1485
|
},
|
|
1478
1486
|
d(s) {
|
|
1479
1487
|
s && g(e), o && o.d(s);
|
|
1480
1488
|
}
|
|
1481
1489
|
};
|
|
1482
1490
|
}
|
|
1483
|
-
function
|
|
1491
|
+
function rr(t, e, r) {
|
|
1484
1492
|
let { $$slots: n = {}, $$scope: i } = e, { gutter: o = "8px" } = e;
|
|
1485
1493
|
return t.$$set = (s) => {
|
|
1486
1494
|
"gutter" in s && r(0, o = s.gutter), "$$scope" in s && r(1, i = s.$$scope);
|
|
1487
1495
|
}, [o, i, n];
|
|
1488
1496
|
}
|
|
1489
|
-
class
|
|
1497
|
+
class ve extends U {
|
|
1490
1498
|
constructor(e) {
|
|
1491
|
-
super(), N(this, e,
|
|
1499
|
+
super(), N(this, e, rr, nr, T, { gutter: 0 }, tr);
|
|
1492
1500
|
}
|
|
1493
1501
|
}
|
|
1494
|
-
const
|
|
1495
|
-
function ir(t) {
|
|
1496
|
-
x(t, "svelte-14xreta", ".close-button.svelte-14xreta{border:none;cursor:pointer;background-color:transparent;padding:0px}");
|
|
1497
|
-
}
|
|
1502
|
+
const ir = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='mdi_close'%3e%3cpath%20id='Vector'%20d='M19%206.41L17.59%205L12%2010.59L6.41%205L5%206.41L10.59%2012L5%2017.59L6.41%2019L12%2013.41L17.59%2019L19%2017.59L13.41%2012L19%206.41Z'%20fill='%23767676'/%3e%3c/g%3e%3c/svg%3e";
|
|
1498
1503
|
function or(t) {
|
|
1504
|
+
F(t, "svelte-14xreta", ".close-button.svelte-14xreta{border:none;cursor:pointer;background-color:transparent;padding:0px}");
|
|
1505
|
+
}
|
|
1506
|
+
function sr(t) {
|
|
1499
1507
|
let e, r, n, i, o;
|
|
1500
1508
|
return {
|
|
1501
1509
|
c() {
|
|
1502
|
-
e = k("button"), r = k("img"),
|
|
1510
|
+
e = k("button"), r = k("img"), ee(r.src, n = ir) || _(r, "src", n), _(r, "alt", "close"), _(e, "class", "close-button svelte-14xreta"), e.disabled = /*disabled*/
|
|
1503
1511
|
t[0];
|
|
1504
1512
|
},
|
|
1505
1513
|
m(s, l) {
|
|
1506
|
-
p(s, e, l),
|
|
1514
|
+
p(s, e, l), Q(e, r), i || (o = ke(
|
|
1507
1515
|
e,
|
|
1508
1516
|
"click",
|
|
1509
1517
|
/*click_handler*/
|
|
@@ -1522,24 +1530,24 @@ function or(t) {
|
|
|
1522
1530
|
}
|
|
1523
1531
|
};
|
|
1524
1532
|
}
|
|
1525
|
-
function
|
|
1533
|
+
function lr(t, e, r) {
|
|
1526
1534
|
let { disabled: n = !1 } = e;
|
|
1527
1535
|
function i(o) {
|
|
1528
|
-
|
|
1536
|
+
Qt.call(this, t, o);
|
|
1529
1537
|
}
|
|
1530
1538
|
return t.$$set = (o) => {
|
|
1531
1539
|
"disabled" in o && r(0, n = o.disabled);
|
|
1532
1540
|
}, [n, i];
|
|
1533
1541
|
}
|
|
1534
|
-
class
|
|
1542
|
+
class cr extends U {
|
|
1535
1543
|
constructor(e) {
|
|
1536
|
-
super(), N(this, e,
|
|
1544
|
+
super(), N(this, e, lr, sr, T, { disabled: 0 }, or);
|
|
1537
1545
|
}
|
|
1538
1546
|
}
|
|
1539
|
-
function cr(t) {
|
|
1540
|
-
x(t, "svelte-44qpq9", ".rcb-app-icon.svelte-44qpq9{width:40px;height:40px;border-radius:12px;box-shadow:0px 1px 10px 0px rgba(0, 0, 0, 0.1);margin-right:16px}.rcb-app-icon-picture-container.svelte-44qpq9{height:40px}.rcb-app-icon.loading.svelte-44qpq9{background-color:gray}");
|
|
1541
|
-
}
|
|
1542
1547
|
function ar(t) {
|
|
1548
|
+
F(t, "svelte-44qpq9", ".rcb-app-icon.svelte-44qpq9{width:40px;height:40px;border-radius:12px;box-shadow:0px 1px 10px 0px rgba(0, 0, 0, 0.1);margin-right:16px}.rcb-app-icon-picture-container.svelte-44qpq9{height:40px}.rcb-app-icon.loading.svelte-44qpq9{background-color:gray}");
|
|
1549
|
+
}
|
|
1550
|
+
function ur(t) {
|
|
1543
1551
|
let e;
|
|
1544
1552
|
return {
|
|
1545
1553
|
c() {
|
|
@@ -1554,22 +1562,22 @@ function ar(t) {
|
|
|
1554
1562
|
}
|
|
1555
1563
|
};
|
|
1556
1564
|
}
|
|
1557
|
-
function
|
|
1565
|
+
function fr(t) {
|
|
1558
1566
|
let e, r, n, i, o, s;
|
|
1559
1567
|
return {
|
|
1560
1568
|
c() {
|
|
1561
|
-
e = k("picture"), r = k("source"), i =
|
|
1562
|
-
t[1]) || _(r, "srcset", n), _(o, "class", "rcb-app-icon svelte-44qpq9"),
|
|
1569
|
+
e = k("picture"), r = k("source"), i = C(), o = k("img"), _(r, "type", "image/webp"), on(r, n = /*srcWebp*/
|
|
1570
|
+
t[1]) || _(r, "srcset", n), _(o, "class", "rcb-app-icon svelte-44qpq9"), ee(o.src, s = /*src*/
|
|
1563
1571
|
t[0]) || _(o, "src", s), _(o, "alt", "App icon"), _(e, "class", "rcb-app-icon-picture-container svelte-44qpq9");
|
|
1564
1572
|
},
|
|
1565
1573
|
m(l, c) {
|
|
1566
|
-
p(l, e, c),
|
|
1574
|
+
p(l, e, c), Q(e, r), Q(e, i), Q(e, o);
|
|
1567
1575
|
},
|
|
1568
1576
|
p(l, c) {
|
|
1569
1577
|
c & /*srcWebp*/
|
|
1570
1578
|
2 && n !== (n = /*srcWebp*/
|
|
1571
1579
|
l[1]) && _(r, "srcset", n), c & /*src*/
|
|
1572
|
-
1 && !
|
|
1580
|
+
1 && !ee(o.src, s = /*src*/
|
|
1573
1581
|
l[0]) && _(o, "src", s);
|
|
1574
1582
|
},
|
|
1575
1583
|
d(l) {
|
|
@@ -1577,12 +1585,12 @@ function ur(t) {
|
|
|
1577
1585
|
}
|
|
1578
1586
|
};
|
|
1579
1587
|
}
|
|
1580
|
-
function
|
|
1588
|
+
function dr(t) {
|
|
1581
1589
|
let e;
|
|
1582
1590
|
function r(o, s) {
|
|
1583
1591
|
return (
|
|
1584
1592
|
/*src*/
|
|
1585
|
-
o[0] !== null ?
|
|
1593
|
+
o[0] !== null ? fr : ur
|
|
1586
1594
|
);
|
|
1587
1595
|
}
|
|
1588
1596
|
let n = r(t), i = n(t);
|
|
@@ -1603,7 +1611,7 @@ function fr(t) {
|
|
|
1603
1611
|
}
|
|
1604
1612
|
};
|
|
1605
1613
|
}
|
|
1606
|
-
function
|
|
1614
|
+
function mr(t, e, r) {
|
|
1607
1615
|
let { src: n = null } = e, { srcWebp: i = null } = e;
|
|
1608
1616
|
return t.$$set = (o) => {
|
|
1609
1617
|
"src" in o && r(0, n = o.src), "srcWebp" in o && r(1, i = o.srcWebp);
|
|
@@ -1611,14 +1619,14 @@ function dr(t, e, r) {
|
|
|
1611
1619
|
}
|
|
1612
1620
|
class Nt extends U {
|
|
1613
1621
|
constructor(e) {
|
|
1614
|
-
super(), N(this, e,
|
|
1622
|
+
super(), N(this, e, mr, dr, T, { src: 0, srcWebp: 1 }, ar);
|
|
1615
1623
|
}
|
|
1616
1624
|
}
|
|
1617
|
-
const
|
|
1618
|
-
function mr(t) {
|
|
1619
|
-
x(t, "svelte-10uf5fq", ".app-title.svelte-10uf5fq{font-weight:500;margin:8px 0;font-size:16px}.rcb-header-layout__business-info.svelte-10uf5fq{display:flex;align-items:center}");
|
|
1620
|
-
}
|
|
1625
|
+
const Qe = (t) => `https://da08ctfrofx1b.cloudfront.net/${t}`;
|
|
1621
1626
|
function gr(t) {
|
|
1627
|
+
F(t, "svelte-10uf5fq", ".app-title.svelte-10uf5fq{font-weight:500;margin:8px 0;font-size:16px}.rcb-header-layout__business-info.svelte-10uf5fq{display:flex;align-items:center}");
|
|
1628
|
+
}
|
|
1629
|
+
function pr(t) {
|
|
1622
1630
|
let e, r;
|
|
1623
1631
|
return e = new Nt({}), {
|
|
1624
1632
|
c() {
|
|
@@ -1632,14 +1640,14 @@ function gr(t) {
|
|
|
1632
1640
|
r || (f(e.$$.fragment, n), r = !0);
|
|
1633
1641
|
},
|
|
1634
1642
|
o(n) {
|
|
1635
|
-
|
|
1643
|
+
d(e.$$.fragment, n), r = !1;
|
|
1636
1644
|
},
|
|
1637
1645
|
d(n) {
|
|
1638
1646
|
I(e, n);
|
|
1639
1647
|
}
|
|
1640
1648
|
};
|
|
1641
1649
|
}
|
|
1642
|
-
function
|
|
1650
|
+
function _r(t) {
|
|
1643
1651
|
let e, r, n = (
|
|
1644
1652
|
/*brandingInfo*/
|
|
1645
1653
|
t[0].seller_company_name + ""
|
|
@@ -1650,16 +1658,16 @@ function pr(t) {
|
|
|
1650
1658
|
);
|
|
1651
1659
|
return {
|
|
1652
1660
|
c() {
|
|
1653
|
-
s && s.c(), e =
|
|
1661
|
+
s && s.c(), e = C(), r = k("span"), i = L(n), _(r, "class", "app-title svelte-10uf5fq");
|
|
1654
1662
|
},
|
|
1655
1663
|
m(l, c) {
|
|
1656
|
-
s && s.m(l, c), p(l, e, c), p(l, r, c),
|
|
1664
|
+
s && s.m(l, c), p(l, e, c), p(l, r, c), Q(r, i), o = !0;
|
|
1657
1665
|
},
|
|
1658
1666
|
p(l, c) {
|
|
1659
1667
|
/*brandingInfo*/
|
|
1660
1668
|
l[0].app_icon_webp !== null && /*brandingInfo*/
|
|
1661
1669
|
l[0].app_icon !== null ? s ? (s.p(l, c), c & /*brandingInfo*/
|
|
1662
|
-
1 && f(s, 1)) : (s = at(l), s.c(), f(s, 1), s.m(e.parentNode, e)) : s && (H(),
|
|
1670
|
+
1 && f(s, 1)) : (s = at(l), s.c(), f(s, 1), s.m(e.parentNode, e)) : s && (H(), d(s, 1, 1, () => {
|
|
1663
1671
|
s = null;
|
|
1664
1672
|
}), K()), (!o || c & /*brandingInfo*/
|
|
1665
1673
|
1) && n !== (n = /*brandingInfo*/
|
|
@@ -1669,7 +1677,7 @@ function pr(t) {
|
|
|
1669
1677
|
o || (f(s), o = !0);
|
|
1670
1678
|
},
|
|
1671
1679
|
o(l) {
|
|
1672
|
-
|
|
1680
|
+
d(s), o = !1;
|
|
1673
1681
|
},
|
|
1674
1682
|
d(l) {
|
|
1675
1683
|
l && (g(e), g(r)), s && s.d(l);
|
|
@@ -1680,11 +1688,11 @@ function at(t) {
|
|
|
1680
1688
|
let e, r;
|
|
1681
1689
|
return e = new Nt({
|
|
1682
1690
|
props: {
|
|
1683
|
-
src:
|
|
1691
|
+
src: Qe(
|
|
1684
1692
|
/*brandingInfo*/
|
|
1685
1693
|
t[0].app_icon
|
|
1686
1694
|
),
|
|
1687
|
-
srcWebp:
|
|
1695
|
+
srcWebp: Qe(
|
|
1688
1696
|
/*brandingInfo*/
|
|
1689
1697
|
t[0].app_icon_webp
|
|
1690
1698
|
)
|
|
@@ -1699,11 +1707,11 @@ function at(t) {
|
|
|
1699
1707
|
p(n, i) {
|
|
1700
1708
|
const o = {};
|
|
1701
1709
|
i & /*brandingInfo*/
|
|
1702
|
-
1 && (o.src =
|
|
1710
|
+
1 && (o.src = Qe(
|
|
1703
1711
|
/*brandingInfo*/
|
|
1704
1712
|
n[0].app_icon
|
|
1705
1713
|
)), i & /*brandingInfo*/
|
|
1706
|
-
1 && (o.srcWebp =
|
|
1714
|
+
1 && (o.srcWebp = Qe(
|
|
1707
1715
|
/*brandingInfo*/
|
|
1708
1716
|
n[0].app_icon_webp
|
|
1709
1717
|
)), e.$set(o);
|
|
@@ -1712,16 +1720,16 @@ function at(t) {
|
|
|
1712
1720
|
r || (f(e.$$.fragment, n), r = !0);
|
|
1713
1721
|
},
|
|
1714
1722
|
o(n) {
|
|
1715
|
-
|
|
1723
|
+
d(e.$$.fragment, n), r = !1;
|
|
1716
1724
|
},
|
|
1717
1725
|
d(n) {
|
|
1718
1726
|
I(e, n);
|
|
1719
1727
|
}
|
|
1720
1728
|
};
|
|
1721
1729
|
}
|
|
1722
|
-
function
|
|
1730
|
+
function Ar(t) {
|
|
1723
1731
|
let e, r, n, i;
|
|
1724
|
-
const o = [
|
|
1732
|
+
const o = [_r, pr], s = [];
|
|
1725
1733
|
function l(c, a) {
|
|
1726
1734
|
return (
|
|
1727
1735
|
/*brandingInfo*/
|
|
@@ -1737,7 +1745,7 @@ function _r(t) {
|
|
|
1737
1745
|
},
|
|
1738
1746
|
p(c, [a]) {
|
|
1739
1747
|
let u = r;
|
|
1740
|
-
r = l(c), r === u ? s[r].p(c, a) : (H(),
|
|
1748
|
+
r = l(c), r === u ? s[r].p(c, a) : (H(), d(s[u], 1, 1, () => {
|
|
1741
1749
|
s[u] = null;
|
|
1742
1750
|
}), K(), n = s[r], n ? n.p(c, a) : (n = s[r] = o[r](c), n.c()), f(n, 1), n.m(e, null));
|
|
1743
1751
|
},
|
|
@@ -1745,14 +1753,14 @@ function _r(t) {
|
|
|
1745
1753
|
i || (f(n), i = !0);
|
|
1746
1754
|
},
|
|
1747
1755
|
o(c) {
|
|
1748
|
-
|
|
1756
|
+
d(n), i = !1;
|
|
1749
1757
|
},
|
|
1750
1758
|
d(c) {
|
|
1751
1759
|
c && g(e), s[r].d();
|
|
1752
1760
|
}
|
|
1753
1761
|
};
|
|
1754
1762
|
}
|
|
1755
|
-
function
|
|
1763
|
+
function hr(t, e, r) {
|
|
1756
1764
|
let { brandingInfo: n = null } = e;
|
|
1757
1765
|
return t.$$set = (i) => {
|
|
1758
1766
|
"brandingInfo" in i && r(0, n = i.brandingInfo);
|
|
@@ -1760,30 +1768,30 @@ function Ar(t, e, r) {
|
|
|
1760
1768
|
}
|
|
1761
1769
|
class Ut extends U {
|
|
1762
1770
|
constructor(e) {
|
|
1763
|
-
super(), N(this, e,
|
|
1771
|
+
super(), N(this, e, hr, Ar, T, { brandingInfo: 0 }, gr);
|
|
1764
1772
|
}
|
|
1765
1773
|
}
|
|
1766
|
-
function hr(t) {
|
|
1767
|
-
x(t, "svelte-17puakv", ".rcb-post-purchase-header-layout.svelte-17puakv{display:flex;justify-content:space-between;align-items:center;width:100%;margin-top:-4px}");
|
|
1768
|
-
}
|
|
1769
1774
|
function Er(t) {
|
|
1775
|
+
F(t, "svelte-17puakv", ".rcb-post-purchase-header-layout.svelte-17puakv{display:flex;justify-content:space-between;align-items:center;width:100%;margin-top:-4px}");
|
|
1776
|
+
}
|
|
1777
|
+
function br(t) {
|
|
1770
1778
|
let e, r, n, i, o;
|
|
1771
1779
|
return r = new Ut({
|
|
1772
1780
|
props: { brandingInfo: (
|
|
1773
1781
|
/*brandingInfo*/
|
|
1774
1782
|
t[0]
|
|
1775
1783
|
) }
|
|
1776
|
-
}), i = new
|
|
1784
|
+
}), i = new cr({}), i.$on("click", function() {
|
|
1777
1785
|
ce(
|
|
1778
1786
|
/*onClose*/
|
|
1779
1787
|
t[1]
|
|
1780
1788
|
) && t[1].apply(this, arguments);
|
|
1781
1789
|
}), {
|
|
1782
1790
|
c() {
|
|
1783
|
-
e = k("div"), w(r.$$.fragment), n =
|
|
1791
|
+
e = k("div"), w(r.$$.fragment), n = C(), w(i.$$.fragment), _(e, "class", "rcb-post-purchase-header-layout svelte-17puakv");
|
|
1784
1792
|
},
|
|
1785
1793
|
m(s, l) {
|
|
1786
|
-
p(s, e, l), b(r, e, null),
|
|
1794
|
+
p(s, e, l), b(r, e, null), Q(e, n), b(i, e, null), o = !0;
|
|
1787
1795
|
},
|
|
1788
1796
|
p(s, l) {
|
|
1789
1797
|
t = s;
|
|
@@ -1796,19 +1804,19 @@ function Er(t) {
|
|
|
1796
1804
|
o || (f(r.$$.fragment, s), f(i.$$.fragment, s), o = !0);
|
|
1797
1805
|
},
|
|
1798
1806
|
o(s) {
|
|
1799
|
-
|
|
1807
|
+
d(r.$$.fragment, s), d(i.$$.fragment, s), o = !1;
|
|
1800
1808
|
},
|
|
1801
1809
|
d(s) {
|
|
1802
1810
|
s && g(e), I(r), I(i);
|
|
1803
1811
|
}
|
|
1804
1812
|
};
|
|
1805
1813
|
}
|
|
1806
|
-
function
|
|
1814
|
+
function Ir(t) {
|
|
1807
1815
|
let e, r;
|
|
1808
1816
|
return e = new ue({
|
|
1809
1817
|
props: {
|
|
1810
1818
|
as: "header",
|
|
1811
|
-
$$slots: { default: [
|
|
1819
|
+
$$slots: { default: [br] },
|
|
1812
1820
|
$$scope: { ctx: t }
|
|
1813
1821
|
}
|
|
1814
1822
|
}), {
|
|
@@ -1827,29 +1835,29 @@ function br(t) {
|
|
|
1827
1835
|
r || (f(e.$$.fragment, n), r = !0);
|
|
1828
1836
|
},
|
|
1829
1837
|
o(n) {
|
|
1830
|
-
|
|
1838
|
+
d(e.$$.fragment, n), r = !1;
|
|
1831
1839
|
},
|
|
1832
1840
|
d(n) {
|
|
1833
1841
|
I(e, n);
|
|
1834
1842
|
}
|
|
1835
1843
|
};
|
|
1836
1844
|
}
|
|
1837
|
-
function
|
|
1845
|
+
function wr(t, e, r) {
|
|
1838
1846
|
let { brandingInfo: n = null } = e, { onClose: i } = e;
|
|
1839
1847
|
return t.$$set = (o) => {
|
|
1840
1848
|
"brandingInfo" in o && r(0, n = o.brandingInfo), "onClose" in o && r(1, i = o.onClose);
|
|
1841
1849
|
}, [n, i];
|
|
1842
1850
|
}
|
|
1843
|
-
class
|
|
1851
|
+
class kr extends U {
|
|
1844
1852
|
constructor(e) {
|
|
1845
|
-
super(), N(this, e,
|
|
1853
|
+
super(), N(this, e, wr, Ir, T, { brandingInfo: 0, onClose: 1 }, Er);
|
|
1846
1854
|
}
|
|
1847
1855
|
}
|
|
1848
|
-
function
|
|
1849
|
-
|
|
1856
|
+
function $r(t) {
|
|
1857
|
+
F(t, "svelte-10pcqja", ".rcb-modal-message.svelte-10pcqja{width:100%;min-height:160px;display:flex;justify-content:center;align-items:center;flex-direction:column;text-align:center}.title.svelte-10pcqja{font-size:24px;line-height:1.25em}.subtitle.svelte-10pcqja{font-size:16px;line-height:1.25em;overflow-wrap:anywhere}");
|
|
1850
1858
|
}
|
|
1851
|
-
const
|
|
1852
|
-
function
|
|
1859
|
+
const vr = (t) => ({}), ut = (t) => ({});
|
|
1860
|
+
function yr(t) {
|
|
1853
1861
|
let e, r, n, i, o;
|
|
1854
1862
|
const s = (
|
|
1855
1863
|
/*#slots*/
|
|
@@ -1866,10 +1874,10 @@ function vr(t) {
|
|
|
1866
1874
|
e = k("span"), r = L(
|
|
1867
1875
|
/*title*/
|
|
1868
1876
|
t[2]
|
|
1869
|
-
), n =
|
|
1877
|
+
), n = C(), i = k("span"), l && l.c(), _(e, "class", "title svelte-10pcqja"), _(i, "class", "subtitle svelte-10pcqja");
|
|
1870
1878
|
},
|
|
1871
1879
|
m(c, a) {
|
|
1872
|
-
p(c, e, a),
|
|
1880
|
+
p(c, e, a), Q(e, r), p(c, n, a), p(c, i, a), l && l.m(i, null), o = !0;
|
|
1873
1881
|
},
|
|
1874
1882
|
p(c, a) {
|
|
1875
1883
|
(!o || a & /*title*/
|
|
@@ -1901,14 +1909,14 @@ function vr(t) {
|
|
|
1901
1909
|
o || (f(l, c), o = !0);
|
|
1902
1910
|
},
|
|
1903
1911
|
o(c) {
|
|
1904
|
-
|
|
1912
|
+
d(l, c), o = !1;
|
|
1905
1913
|
},
|
|
1906
1914
|
d(c) {
|
|
1907
1915
|
c && (g(e), g(n), g(i)), l && l.d(c);
|
|
1908
1916
|
}
|
|
1909
1917
|
};
|
|
1910
1918
|
}
|
|
1911
|
-
function
|
|
1919
|
+
function Br(t) {
|
|
1912
1920
|
let e, r, n;
|
|
1913
1921
|
const i = (
|
|
1914
1922
|
/*#slots*/
|
|
@@ -1920,15 +1928,15 @@ function yr(t) {
|
|
|
1920
1928
|
t[5],
|
|
1921
1929
|
ut
|
|
1922
1930
|
);
|
|
1923
|
-
return r = new
|
|
1931
|
+
return r = new ve({
|
|
1924
1932
|
props: {
|
|
1925
1933
|
gutter: "16px",
|
|
1926
|
-
$$slots: { default: [
|
|
1934
|
+
$$slots: { default: [yr] },
|
|
1927
1935
|
$$scope: { ctx: t }
|
|
1928
1936
|
}
|
|
1929
1937
|
}), {
|
|
1930
1938
|
c() {
|
|
1931
|
-
o && o.c(), e =
|
|
1939
|
+
o && o.c(), e = C(), w(r.$$.fragment);
|
|
1932
1940
|
},
|
|
1933
1941
|
m(s, l) {
|
|
1934
1942
|
o && o.m(s, l), p(s, e, l), b(r, s, l), n = !0;
|
|
@@ -1946,7 +1954,7 @@ function yr(t) {
|
|
|
1946
1954
|
/*$$scope*/
|
|
1947
1955
|
s[5],
|
|
1948
1956
|
l,
|
|
1949
|
-
|
|
1957
|
+
vr
|
|
1950
1958
|
) : V(
|
|
1951
1959
|
/*$$scope*/
|
|
1952
1960
|
s[5]
|
|
@@ -1961,19 +1969,19 @@ function yr(t) {
|
|
|
1961
1969
|
n || (f(o, s), f(r.$$.fragment, s), n = !0);
|
|
1962
1970
|
},
|
|
1963
1971
|
o(s) {
|
|
1964
|
-
|
|
1972
|
+
d(o, s), d(r.$$.fragment, s), n = !1;
|
|
1965
1973
|
},
|
|
1966
1974
|
d(s) {
|
|
1967
1975
|
s && g(e), o && o.d(s), I(r, s);
|
|
1968
1976
|
}
|
|
1969
1977
|
};
|
|
1970
1978
|
}
|
|
1971
|
-
function
|
|
1979
|
+
function Dr(t) {
|
|
1972
1980
|
let e, r, n;
|
|
1973
|
-
return r = new
|
|
1981
|
+
return r = new ve({
|
|
1974
1982
|
props: {
|
|
1975
1983
|
gutter: "16px",
|
|
1976
|
-
$$slots: { default: [
|
|
1984
|
+
$$slots: { default: [Br] },
|
|
1977
1985
|
$$scope: { ctx: t }
|
|
1978
1986
|
}
|
|
1979
1987
|
}), {
|
|
@@ -2003,14 +2011,14 @@ function Br(t) {
|
|
|
2003
2011
|
n || (f(r.$$.fragment, i), n = !0);
|
|
2004
2012
|
},
|
|
2005
2013
|
o(i) {
|
|
2006
|
-
|
|
2014
|
+
d(r.$$.fragment, i), n = !1;
|
|
2007
2015
|
},
|
|
2008
2016
|
d(i) {
|
|
2009
2017
|
i && g(e), I(r);
|
|
2010
2018
|
}
|
|
2011
2019
|
};
|
|
2012
2020
|
}
|
|
2013
|
-
function
|
|
2021
|
+
function Mr(t) {
|
|
2014
2022
|
let e;
|
|
2015
2023
|
return {
|
|
2016
2024
|
c() {
|
|
@@ -2024,11 +2032,11 @@ function Dr(t) {
|
|
|
2024
2032
|
}
|
|
2025
2033
|
};
|
|
2026
2034
|
}
|
|
2027
|
-
function
|
|
2035
|
+
function Qr(t) {
|
|
2028
2036
|
let e, r;
|
|
2029
2037
|
return e = new Ie({
|
|
2030
2038
|
props: {
|
|
2031
|
-
$$slots: { default: [
|
|
2039
|
+
$$slots: { default: [Mr] },
|
|
2032
2040
|
$$scope: { ctx: t }
|
|
2033
2041
|
}
|
|
2034
2042
|
}), e.$on("click", function() {
|
|
@@ -2053,16 +2061,16 @@ function Mr(t) {
|
|
|
2053
2061
|
r || (f(e.$$.fragment, n), r = !0);
|
|
2054
2062
|
},
|
|
2055
2063
|
o(n) {
|
|
2056
|
-
|
|
2064
|
+
d(e.$$.fragment, n), r = !1;
|
|
2057
2065
|
},
|
|
2058
2066
|
d(n) {
|
|
2059
2067
|
I(e, n);
|
|
2060
2068
|
}
|
|
2061
2069
|
};
|
|
2062
2070
|
}
|
|
2063
|
-
function
|
|
2071
|
+
function Pr(t) {
|
|
2064
2072
|
let e, r, n, i, o, s;
|
|
2065
|
-
return e = new
|
|
2073
|
+
return e = new kr({
|
|
2066
2074
|
props: {
|
|
2067
2075
|
brandingInfo: (
|
|
2068
2076
|
/*brandingInfo*/
|
|
@@ -2075,17 +2083,17 @@ function Cr(t) {
|
|
|
2075
2083
|
}
|
|
2076
2084
|
}), n = new ue({
|
|
2077
2085
|
props: {
|
|
2078
|
-
$$slots: { default: [
|
|
2086
|
+
$$slots: { default: [Dr] },
|
|
2079
2087
|
$$scope: { ctx: t }
|
|
2080
2088
|
}
|
|
2081
2089
|
}), o = new ze({
|
|
2082
2090
|
props: {
|
|
2083
|
-
$$slots: { default: [
|
|
2091
|
+
$$slots: { default: [Qr] },
|
|
2084
2092
|
$$scope: { ctx: t }
|
|
2085
2093
|
}
|
|
2086
2094
|
}), {
|
|
2087
2095
|
c() {
|
|
2088
|
-
w(e.$$.fragment), r =
|
|
2096
|
+
w(e.$$.fragment), r = C(), w(n.$$.fragment), i = C(), w(o.$$.fragment);
|
|
2089
2097
|
},
|
|
2090
2098
|
m(l, c) {
|
|
2091
2099
|
b(e, l, c), p(l, r, c), b(n, l, c), p(l, i, c), b(o, l, c), s = !0;
|
|
@@ -2100,27 +2108,27 @@ function Cr(t) {
|
|
|
2100
2108
|
const u = {};
|
|
2101
2109
|
c & /*$$scope, type, title*/
|
|
2102
2110
|
44 && (u.$$scope = { dirty: c, ctx: l }), n.$set(u);
|
|
2103
|
-
const
|
|
2111
|
+
const m = {};
|
|
2104
2112
|
c & /*$$scope, onContinue*/
|
|
2105
|
-
34 && (
|
|
2113
|
+
34 && (m.$$scope = { dirty: c, ctx: l }), o.$set(m);
|
|
2106
2114
|
},
|
|
2107
2115
|
i(l) {
|
|
2108
2116
|
s || (f(e.$$.fragment, l), f(n.$$.fragment, l), f(o.$$.fragment, l), s = !0);
|
|
2109
2117
|
},
|
|
2110
2118
|
o(l) {
|
|
2111
|
-
|
|
2119
|
+
d(e.$$.fragment, l), d(n.$$.fragment, l), d(o.$$.fragment, l), s = !1;
|
|
2112
2120
|
},
|
|
2113
2121
|
d(l) {
|
|
2114
2122
|
l && (g(r), g(i)), I(e, l), I(n, l), I(o, l);
|
|
2115
2123
|
}
|
|
2116
2124
|
};
|
|
2117
2125
|
}
|
|
2118
|
-
function
|
|
2126
|
+
function Cr(t) {
|
|
2119
2127
|
let e, r;
|
|
2120
|
-
return e = new
|
|
2128
|
+
return e = new ve({
|
|
2121
2129
|
props: {
|
|
2122
2130
|
gutter: "32px",
|
|
2123
|
-
$$slots: { default: [
|
|
2131
|
+
$$slots: { default: [Pr] },
|
|
2124
2132
|
$$scope: { ctx: t }
|
|
2125
2133
|
}
|
|
2126
2134
|
}), {
|
|
@@ -2139,14 +2147,14 @@ function Qr(t) {
|
|
|
2139
2147
|
r || (f(e.$$.fragment, n), r = !0);
|
|
2140
2148
|
},
|
|
2141
2149
|
o(n) {
|
|
2142
|
-
|
|
2150
|
+
d(e.$$.fragment, n), r = !1;
|
|
2143
2151
|
},
|
|
2144
2152
|
d(n) {
|
|
2145
2153
|
I(e, n);
|
|
2146
2154
|
}
|
|
2147
2155
|
};
|
|
2148
2156
|
}
|
|
2149
|
-
function
|
|
2157
|
+
function Tr(t, e, r) {
|
|
2150
2158
|
let { $$slots: n = {}, $$scope: i } = e, { brandingInfo: o = null } = e, { onContinue: s } = e, { title: l } = e, { type: c } = e;
|
|
2151
2159
|
return t.$$set = (a) => {
|
|
2152
2160
|
"brandingInfo" in a && r(0, o = a.brandingInfo), "onContinue" in a && r(1, s = a.onContinue), "title" in a && r(2, l = a.title), "type" in a && r(3, c = a.type), "$$scope" in a && r(5, i = a.$$scope);
|
|
@@ -2157,8 +2165,8 @@ class Rt extends U {
|
|
|
2157
2165
|
super(), N(
|
|
2158
2166
|
this,
|
|
2159
2167
|
e,
|
|
2160
|
-
|
|
2161
|
-
|
|
2168
|
+
Tr,
|
|
2169
|
+
Cr,
|
|
2162
2170
|
T,
|
|
2163
2171
|
{
|
|
2164
2172
|
brandingInfo: 0,
|
|
@@ -2166,7 +2174,7 @@ class Rt extends U {
|
|
|
2166
2174
|
title: 2,
|
|
2167
2175
|
type: 3
|
|
2168
2176
|
},
|
|
2169
|
-
|
|
2177
|
+
$r
|
|
2170
2178
|
);
|
|
2171
2179
|
}
|
|
2172
2180
|
}
|
|
@@ -2181,7 +2189,7 @@ function ft(t) {
|
|
|
2181
2189
|
t[1]);
|
|
2182
2190
|
},
|
|
2183
2191
|
m(s, l) {
|
|
2184
|
-
p(s, e, l), p(s, r, l),
|
|
2192
|
+
p(s, e, l), p(s, r, l), Q(r, n), p(s, o, l);
|
|
2185
2193
|
},
|
|
2186
2194
|
p(s, l) {
|
|
2187
2195
|
l & /*supportEmail*/
|
|
@@ -2198,7 +2206,7 @@ function ft(t) {
|
|
|
2198
2206
|
}
|
|
2199
2207
|
};
|
|
2200
2208
|
}
|
|
2201
|
-
function
|
|
2209
|
+
function Nr(t) {
|
|
2202
2210
|
let e = (
|
|
2203
2211
|
/*getErrorMessage*/
|
|
2204
2212
|
t[3]() + ""
|
|
@@ -2208,7 +2216,7 @@ function Tr(t) {
|
|
|
2208
2216
|
);
|
|
2209
2217
|
return {
|
|
2210
2218
|
c() {
|
|
2211
|
-
r = L(e), n =
|
|
2219
|
+
r = L(e), n = C(), o && o.c(), i = te();
|
|
2212
2220
|
},
|
|
2213
2221
|
m(s, l) {
|
|
2214
2222
|
p(s, r, l), p(s, n, l), o && o.m(s, l), p(s, i, l);
|
|
@@ -2222,9 +2230,9 @@ function Tr(t) {
|
|
|
2222
2230
|
}
|
|
2223
2231
|
};
|
|
2224
2232
|
}
|
|
2225
|
-
function
|
|
2233
|
+
function Ur(t) {
|
|
2226
2234
|
let e, r;
|
|
2227
|
-
return e = new
|
|
2235
|
+
return e = new Jn({ props: { slot: "icon" } }), {
|
|
2228
2236
|
c() {
|
|
2229
2237
|
w(e.$$.fragment);
|
|
2230
2238
|
},
|
|
@@ -2236,14 +2244,14 @@ function Nr(t) {
|
|
|
2236
2244
|
r || (f(e.$$.fragment, n), r = !0);
|
|
2237
2245
|
},
|
|
2238
2246
|
o(n) {
|
|
2239
|
-
|
|
2247
|
+
d(e.$$.fragment, n), r = !1;
|
|
2240
2248
|
},
|
|
2241
2249
|
d(n) {
|
|
2242
2250
|
I(e, n);
|
|
2243
2251
|
}
|
|
2244
2252
|
};
|
|
2245
2253
|
}
|
|
2246
|
-
function
|
|
2254
|
+
function Rr(t) {
|
|
2247
2255
|
let e, r;
|
|
2248
2256
|
return e = new Rt({
|
|
2249
2257
|
props: {
|
|
@@ -2261,8 +2269,8 @@ function Ur(t) {
|
|
|
2261
2269
|
),
|
|
2262
2270
|
type: "error",
|
|
2263
2271
|
$$slots: {
|
|
2264
|
-
icon: [
|
|
2265
|
-
default: [
|
|
2272
|
+
icon: [Ur],
|
|
2273
|
+
default: [Nr]
|
|
2266
2274
|
},
|
|
2267
2275
|
$$scope: { ctx: t }
|
|
2268
2276
|
}
|
|
@@ -2286,14 +2294,14 @@ function Ur(t) {
|
|
|
2286
2294
|
r || (f(e.$$.fragment, n), r = !0);
|
|
2287
2295
|
},
|
|
2288
2296
|
o(n) {
|
|
2289
|
-
|
|
2297
|
+
d(e.$$.fragment, n), r = !1;
|
|
2290
2298
|
},
|
|
2291
2299
|
d(n) {
|
|
2292
2300
|
I(e, n);
|
|
2293
2301
|
}
|
|
2294
2302
|
};
|
|
2295
2303
|
}
|
|
2296
|
-
function
|
|
2304
|
+
function Sr(t, e, r) {
|
|
2297
2305
|
let { brandingInfo: n = null } = e, { lastError: i } = e, { supportEmail: o = null } = e, { onContinue: s } = e;
|
|
2298
2306
|
Oe(() => {
|
|
2299
2307
|
G.errorLog(`Displayed error: ${O[i.errorCode]}. Message: ${i.message ?? "None"}. Underlying error: ${i.underlyingErrorMessage ?? "None"}`);
|
|
@@ -2336,9 +2344,9 @@ function Rr(t, e, r) {
|
|
|
2336
2344
|
i
|
|
2337
2345
|
];
|
|
2338
2346
|
}
|
|
2339
|
-
class
|
|
2347
|
+
class Or extends U {
|
|
2340
2348
|
constructor(e) {
|
|
2341
|
-
super(), N(this, e,
|
|
2349
|
+
super(), N(this, e, Sr, Rr, T, {
|
|
2342
2350
|
brandingInfo: 0,
|
|
2343
2351
|
lastError: 5,
|
|
2344
2352
|
supportEmail: 1,
|
|
@@ -2346,15 +2354,15 @@ class Sr extends U {
|
|
|
2346
2354
|
});
|
|
2347
2355
|
}
|
|
2348
2356
|
}
|
|
2349
|
-
const
|
|
2350
|
-
function
|
|
2351
|
-
|
|
2357
|
+
const Lr = "data:image/svg+xml,%3csvg%20width='124'%20height='124'%20viewBox='0%200%20124%20124'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='62'%20cy='62'%20r='62'%20fill='%23576CDB'/%3e%3crect%20x='44.1116'%20y='56'%20width='27.5'%20height='11'%20transform='rotate(45%2044.1116%2056)'%20fill='white'/%3e%3crect%20x='79.1133'%20y='44.334'%20width='11'%20height='44'%20transform='rotate(45%2079.1133%2044.334)'%20fill='white'/%3e%3c/svg%3e";
|
|
2358
|
+
function Fr(t) {
|
|
2359
|
+
F(t, "svelte-1609h93", "img.svelte-1609h93{width:124px;height:124px;margin:0 auto}");
|
|
2352
2360
|
}
|
|
2353
2361
|
function xr(t) {
|
|
2354
2362
|
let e, r;
|
|
2355
2363
|
return {
|
|
2356
2364
|
c() {
|
|
2357
|
-
e = k("img"),
|
|
2365
|
+
e = k("img"), ee(e.src, r = Lr) || _(e, "src", r), _(e, "alt", "icon"), _(e, "class", "rcb-ui-asset-icon svelte-1609h93");
|
|
2358
2366
|
},
|
|
2359
2367
|
m(n, i) {
|
|
2360
2368
|
p(n, e, i);
|
|
@@ -2367,12 +2375,12 @@ function xr(t) {
|
|
|
2367
2375
|
}
|
|
2368
2376
|
};
|
|
2369
2377
|
}
|
|
2370
|
-
class
|
|
2378
|
+
class Gr extends U {
|
|
2371
2379
|
constructor(e) {
|
|
2372
|
-
super(), N(this, e, null, xr, T, {},
|
|
2380
|
+
super(), N(this, e, null, xr, T, {}, Fr);
|
|
2373
2381
|
}
|
|
2374
2382
|
}
|
|
2375
|
-
function
|
|
2383
|
+
function Yr(t) {
|
|
2376
2384
|
let e;
|
|
2377
2385
|
return {
|
|
2378
2386
|
c() {
|
|
@@ -2386,9 +2394,9 @@ function Gr(t) {
|
|
|
2386
2394
|
}
|
|
2387
2395
|
};
|
|
2388
2396
|
}
|
|
2389
|
-
function
|
|
2397
|
+
function Hr(t) {
|
|
2390
2398
|
let e, r;
|
|
2391
|
-
return e = new
|
|
2399
|
+
return e = new Gr({ props: { slot: "icon" } }), {
|
|
2392
2400
|
c() {
|
|
2393
2401
|
w(e.$$.fragment);
|
|
2394
2402
|
},
|
|
@@ -2400,14 +2408,14 @@ function Yr(t) {
|
|
|
2400
2408
|
r || (f(e.$$.fragment, n), r = !0);
|
|
2401
2409
|
},
|
|
2402
2410
|
o(n) {
|
|
2403
|
-
|
|
2411
|
+
d(e.$$.fragment, n), r = !1;
|
|
2404
2412
|
},
|
|
2405
2413
|
d(n) {
|
|
2406
2414
|
I(e, n);
|
|
2407
2415
|
}
|
|
2408
2416
|
};
|
|
2409
2417
|
}
|
|
2410
|
-
function
|
|
2418
|
+
function Kr(t) {
|
|
2411
2419
|
let e, r;
|
|
2412
2420
|
return e = new Rt({
|
|
2413
2421
|
props: {
|
|
@@ -2422,8 +2430,8 @@ function Hr(t) {
|
|
|
2422
2430
|
t[1]
|
|
2423
2431
|
),
|
|
2424
2432
|
$$slots: {
|
|
2425
|
-
icon: [
|
|
2426
|
-
default: [
|
|
2433
|
+
icon: [Hr],
|
|
2434
|
+
default: [Yr]
|
|
2427
2435
|
},
|
|
2428
2436
|
$$scope: { ctx: t }
|
|
2429
2437
|
}
|
|
@@ -2447,37 +2455,37 @@ function Hr(t) {
|
|
|
2447
2455
|
r || (f(e.$$.fragment, n), r = !0);
|
|
2448
2456
|
},
|
|
2449
2457
|
o(n) {
|
|
2450
|
-
|
|
2458
|
+
d(e.$$.fragment, n), r = !1;
|
|
2451
2459
|
},
|
|
2452
2460
|
d(n) {
|
|
2453
2461
|
I(e, n);
|
|
2454
2462
|
}
|
|
2455
2463
|
};
|
|
2456
2464
|
}
|
|
2457
|
-
function
|
|
2465
|
+
function qr(t, e, r) {
|
|
2458
2466
|
let { brandingInfo: n = null } = e, { onContinue: i } = e;
|
|
2459
2467
|
return t.$$set = (o) => {
|
|
2460
2468
|
"brandingInfo" in o && r(0, n = o.brandingInfo), "onContinue" in o && r(1, i = o.onContinue);
|
|
2461
2469
|
}, [n, i];
|
|
2462
2470
|
}
|
|
2463
|
-
class
|
|
2471
|
+
class jr extends U {
|
|
2464
2472
|
constructor(e) {
|
|
2465
|
-
super(), N(this, e,
|
|
2473
|
+
super(), N(this, e, qr, Kr, T, { brandingInfo: 0, onContinue: 1 });
|
|
2466
2474
|
}
|
|
2467
2475
|
}
|
|
2468
|
-
function
|
|
2476
|
+
function Jr(t, e, r, n, i = {}) {
|
|
2469
2477
|
const o = r.create(e, i);
|
|
2470
2478
|
return o.mount(t), o.on("change", (s) => n("change", s)), o.on("ready", (s) => n("ready", s)), o.on("focus", (s) => n("focus", s)), o.on("blur", (s) => n("blur", s)), o.on("escape", (s) => n("escape", s)), o.on("click", (s) => n("click", s)), o.on("loaderror", (s) => n("loaderror", s)), o.on("loaderstart", (s) => n("loaderstart", s)), o.on("networkschange", (s) => n("networkschange", s)), o;
|
|
2471
2479
|
}
|
|
2472
|
-
const
|
|
2473
|
-
function
|
|
2474
|
-
if (!
|
|
2480
|
+
const Vr = typeof window > "u";
|
|
2481
|
+
function Wr(t) {
|
|
2482
|
+
if (!Vr)
|
|
2475
2483
|
return t.registerAppInfo({
|
|
2476
2484
|
name: "svelte-stripe-js",
|
|
2477
2485
|
url: "https://svelte-stripe-js.vercel.app"
|
|
2478
2486
|
});
|
|
2479
2487
|
}
|
|
2480
|
-
function
|
|
2488
|
+
function zr(t) {
|
|
2481
2489
|
let e;
|
|
2482
2490
|
return {
|
|
2483
2491
|
c() {
|
|
@@ -2494,11 +2502,11 @@ function Wr(t) {
|
|
|
2494
2502
|
}
|
|
2495
2503
|
};
|
|
2496
2504
|
}
|
|
2497
|
-
function
|
|
2505
|
+
function Xr(t, e, r) {
|
|
2498
2506
|
let n, i;
|
|
2499
|
-
const o =
|
|
2507
|
+
const o = An(), { elements: s } = En("stripe");
|
|
2500
2508
|
let { options: l = void 0 } = e;
|
|
2501
|
-
Oe(() => (n =
|
|
2509
|
+
Oe(() => (n = Jr(i, "payment", s, o, l), () => n.destroy()));
|
|
2502
2510
|
function c() {
|
|
2503
2511
|
n.blur();
|
|
2504
2512
|
}
|
|
@@ -2508,21 +2516,21 @@ function zr(t, e, r) {
|
|
|
2508
2516
|
function u() {
|
|
2509
2517
|
n.destroy();
|
|
2510
2518
|
}
|
|
2511
|
-
function
|
|
2519
|
+
function m() {
|
|
2512
2520
|
n.focus();
|
|
2513
2521
|
}
|
|
2514
|
-
function
|
|
2515
|
-
|
|
2522
|
+
function A($) {
|
|
2523
|
+
Re[$ ? "unshift" : "push"](() => {
|
|
2516
2524
|
i = $, r(0, i);
|
|
2517
2525
|
});
|
|
2518
2526
|
}
|
|
2519
2527
|
return t.$$set = ($) => {
|
|
2520
2528
|
"options" in $ && r(1, l = $.options);
|
|
2521
|
-
}, [i, l, c, a, u,
|
|
2529
|
+
}, [i, l, c, a, u, m, A];
|
|
2522
2530
|
}
|
|
2523
|
-
class
|
|
2531
|
+
class Zr extends U {
|
|
2524
2532
|
constructor(e) {
|
|
2525
|
-
super(), N(this, e,
|
|
2533
|
+
super(), N(this, e, Xr, zr, T, {
|
|
2526
2534
|
options: 1,
|
|
2527
2535
|
blur: 2,
|
|
2528
2536
|
clear: 3,
|
|
@@ -2587,14 +2595,14 @@ function dt(t) {
|
|
|
2587
2595
|
e || (f(n, i), e = !0);
|
|
2588
2596
|
},
|
|
2589
2597
|
o(i) {
|
|
2590
|
-
|
|
2598
|
+
d(n, i), e = !1;
|
|
2591
2599
|
},
|
|
2592
2600
|
d(i) {
|
|
2593
2601
|
n && n.d(i);
|
|
2594
2602
|
}
|
|
2595
2603
|
};
|
|
2596
2604
|
}
|
|
2597
|
-
function
|
|
2605
|
+
function ei(t) {
|
|
2598
2606
|
let e, r, n = (
|
|
2599
2607
|
/*stripe*/
|
|
2600
2608
|
t[1] && /*elements*/
|
|
@@ -2611,7 +2619,7 @@ function Zr(t) {
|
|
|
2611
2619
|
/*stripe*/
|
|
2612
2620
|
i[1] && /*elements*/
|
|
2613
2621
|
i[0] ? n ? (n.p(i, o), o & /*stripe, elements*/
|
|
2614
|
-
3 && f(n, 1)) : (n = dt(i), n.c(), f(n, 1), n.m(e.parentNode, e)) : n && (H(),
|
|
2622
|
+
3 && f(n, 1)) : (n = dt(i), n.c(), f(n, 1), n.m(e.parentNode, e)) : n && (H(), d(n, 1, 1, () => {
|
|
2615
2623
|
n = null;
|
|
2616
2624
|
}), K());
|
|
2617
2625
|
},
|
|
@@ -2619,30 +2627,30 @@ function Zr(t) {
|
|
|
2619
2627
|
r || (f(n), r = !0);
|
|
2620
2628
|
},
|
|
2621
2629
|
o(i) {
|
|
2622
|
-
|
|
2630
|
+
d(n), r = !1;
|
|
2623
2631
|
},
|
|
2624
2632
|
d(i) {
|
|
2625
2633
|
i && g(e), n && n.d(i);
|
|
2626
2634
|
}
|
|
2627
2635
|
};
|
|
2628
2636
|
}
|
|
2629
|
-
function
|
|
2630
|
-
let n, { $$slots: i = {}, $$scope: o } = e, { stripe: s } = e, { mode: l = void 0 } = e, { theme: c = "stripe" } = e, { variables: a = {} } = e, { rules: u = {} } = e, { labels:
|
|
2637
|
+
function ti(t, e, r) {
|
|
2638
|
+
let n, { $$slots: i = {}, $$scope: o } = e, { stripe: s } = e, { mode: l = void 0 } = e, { theme: c = "stripe" } = e, { variables: a = {} } = e, { rules: u = {} } = e, { labels: m = "above" } = e, { loader: A = "auto" } = e, { fonts: $ = [] } = e, { locale: E = "auto" } = e, { currency: B = void 0 } = e, { amount: h = void 0 } = e, { clientSecret: y = void 0 } = e, { elements: R = null } = e;
|
|
2631
2639
|
return t.$$set = (M) => {
|
|
2632
|
-
"stripe" in M && r(1, s = M.stripe), "mode" in M && r(2, l = M.mode), "theme" in M && r(3, c = M.theme), "variables" in M && r(4, a = M.variables), "rules" in M && r(5, u = M.rules), "labels" in M && r(6,
|
|
2640
|
+
"stripe" in M && r(1, s = M.stripe), "mode" in M && r(2, l = M.mode), "theme" in M && r(3, c = M.theme), "variables" in M && r(4, a = M.variables), "rules" in M && r(5, u = M.rules), "labels" in M && r(6, m = M.labels), "loader" in M && r(7, A = M.loader), "fonts" in M && r(8, $ = M.fonts), "locale" in M && r(9, E = M.locale), "currency" in M && r(10, B = M.currency), "amount" in M && r(11, h = M.amount), "clientSecret" in M && r(12, y = M.clientSecret), "elements" in M && r(0, R = M.elements), "$$scope" in M && r(14, o = M.$$scope);
|
|
2633
2641
|
}, t.$$.update = () => {
|
|
2634
2642
|
t.$$.dirty & /*theme, variables, rules, labels*/
|
|
2635
|
-
120 && r(13, n = { theme: c, variables: a, rules: u, labels:
|
|
2643
|
+
120 && r(13, n = { theme: c, variables: a, rules: u, labels: m }), t.$$.dirty & /*stripe, elements, mode, currency, amount, appearance, clientSecret, fonts, loader, locale*/
|
|
2636
2644
|
16263 && s && !R && (r(0, R = s.elements({
|
|
2637
2645
|
mode: l,
|
|
2638
2646
|
currency: B,
|
|
2639
|
-
amount:
|
|
2647
|
+
amount: h,
|
|
2640
2648
|
appearance: n,
|
|
2641
2649
|
clientSecret: y,
|
|
2642
2650
|
fonts: $,
|
|
2643
|
-
loader:
|
|
2651
|
+
loader: A,
|
|
2644
2652
|
locale: E
|
|
2645
|
-
})),
|
|
2653
|
+
})), Wr(s), hn("stripe", { stripe: s, elements: R })), t.$$.dirty & /*elements, appearance, locale*/
|
|
2646
2654
|
8705 && R && R.update({ appearance: n, locale: E });
|
|
2647
2655
|
}, [
|
|
2648
2656
|
R,
|
|
@@ -2651,21 +2659,21 @@ function ei(t, e, r) {
|
|
|
2651
2659
|
c,
|
|
2652
2660
|
a,
|
|
2653
2661
|
u,
|
|
2654
|
-
|
|
2655
|
-
|
|
2662
|
+
m,
|
|
2663
|
+
A,
|
|
2656
2664
|
$,
|
|
2657
2665
|
E,
|
|
2658
2666
|
B,
|
|
2659
|
-
|
|
2667
|
+
h,
|
|
2660
2668
|
y,
|
|
2661
2669
|
n,
|
|
2662
2670
|
o,
|
|
2663
2671
|
i
|
|
2664
2672
|
];
|
|
2665
2673
|
}
|
|
2666
|
-
class
|
|
2674
|
+
class ni extends U {
|
|
2667
2675
|
constructor(e) {
|
|
2668
|
-
super(), N(this, e,
|
|
2676
|
+
super(), N(this, e, ti, ei, T, {
|
|
2669
2677
|
stripe: 1,
|
|
2670
2678
|
mode: 2,
|
|
2671
2679
|
theme: 3,
|
|
@@ -2682,10 +2690,10 @@ class ti extends U {
|
|
|
2682
2690
|
});
|
|
2683
2691
|
}
|
|
2684
2692
|
}
|
|
2685
|
-
var St = "https://js.stripe.com/v3",
|
|
2693
|
+
var St = "https://js.stripe.com/v3", ri = /^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/, mt = "loadStripe.setLoadParameters was called but an existing Stripe.js script already exists in the document; existing script parameters will be used", ii = function() {
|
|
2686
2694
|
for (var e = document.querySelectorAll('script[src^="'.concat(St, '"]')), r = 0; r < e.length; r++) {
|
|
2687
2695
|
var n = e[r];
|
|
2688
|
-
if (
|
|
2696
|
+
if (ri.test(n.src))
|
|
2689
2697
|
return n;
|
|
2690
2698
|
}
|
|
2691
2699
|
return null;
|
|
@@ -2696,21 +2704,21 @@ var St = "https://js.stripe.com/v3", ni = /^https:\/\/js\.stripe\.com\/v3\/?(\?.
|
|
|
2696
2704
|
if (!i)
|
|
2697
2705
|
throw new Error("Expected document.body not to be null. Stripe.js requires a <body> element.");
|
|
2698
2706
|
return i.appendChild(n), n;
|
|
2699
|
-
},
|
|
2707
|
+
}, oi = function(e, r) {
|
|
2700
2708
|
!e || !e._registerWrapper || e._registerWrapper({
|
|
2701
2709
|
name: "stripe-js",
|
|
2702
2710
|
version: "2.4.0",
|
|
2703
2711
|
startTime: r
|
|
2704
2712
|
});
|
|
2705
|
-
}, me = null,
|
|
2713
|
+
}, me = null, Pe = null, Ce = null, si = function(e) {
|
|
2706
2714
|
return function() {
|
|
2707
2715
|
e(new Error("Failed to load Stripe.js"));
|
|
2708
2716
|
};
|
|
2709
|
-
},
|
|
2717
|
+
}, li = function(e, r) {
|
|
2710
2718
|
return function() {
|
|
2711
2719
|
window.Stripe ? e(window.Stripe) : r(new Error("Stripe.js not available"));
|
|
2712
2720
|
};
|
|
2713
|
-
},
|
|
2721
|
+
}, ci = function(e) {
|
|
2714
2722
|
return me !== null ? me : (me = new Promise(function(r, n) {
|
|
2715
2723
|
if (typeof window > "u" || typeof document > "u") {
|
|
2716
2724
|
r(null);
|
|
@@ -2721,16 +2729,16 @@ var St = "https://js.stripe.com/v3", ni = /^https:\/\/js\.stripe\.com\/v3\/?(\?.
|
|
|
2721
2729
|
return;
|
|
2722
2730
|
}
|
|
2723
2731
|
try {
|
|
2724
|
-
var i =
|
|
2732
|
+
var i = ii();
|
|
2725
2733
|
if (i && e)
|
|
2726
2734
|
console.warn(mt);
|
|
2727
2735
|
else if (!i)
|
|
2728
2736
|
i = gt(e);
|
|
2729
|
-
else if (i &&
|
|
2737
|
+
else if (i && Ce !== null && Pe !== null) {
|
|
2730
2738
|
var o;
|
|
2731
|
-
i.removeEventListener("load",
|
|
2739
|
+
i.removeEventListener("load", Ce), i.removeEventListener("error", Pe), (o = i.parentNode) === null || o === void 0 || o.removeChild(i), i = gt(e);
|
|
2732
2740
|
}
|
|
2733
|
-
|
|
2741
|
+
Ce = li(r, n), Pe = si(n), i.addEventListener("load", Ce), i.addEventListener("error", Pe);
|
|
2734
2742
|
} catch (s) {
|
|
2735
2743
|
n(s);
|
|
2736
2744
|
return;
|
|
@@ -2738,13 +2746,13 @@ var St = "https://js.stripe.com/v3", ni = /^https:\/\/js\.stripe\.com\/v3\/?(\?.
|
|
|
2738
2746
|
}), me.catch(function(r) {
|
|
2739
2747
|
return me = null, Promise.reject(r);
|
|
2740
2748
|
}));
|
|
2741
|
-
},
|
|
2749
|
+
}, ai = function(e, r, n) {
|
|
2742
2750
|
if (e === null)
|
|
2743
2751
|
return null;
|
|
2744
2752
|
var i = e.apply(void 0, r);
|
|
2745
|
-
return
|
|
2753
|
+
return oi(i, n), i;
|
|
2746
2754
|
}, ge, Ot = !1, Lt = function() {
|
|
2747
|
-
return ge || (ge =
|
|
2755
|
+
return ge || (ge = ci(null).catch(function(e) {
|
|
2748
2756
|
return ge = null, Promise.reject(e);
|
|
2749
2757
|
}), ge);
|
|
2750
2758
|
};
|
|
@@ -2753,19 +2761,19 @@ Promise.resolve().then(function() {
|
|
|
2753
2761
|
}).catch(function(t) {
|
|
2754
2762
|
Ot || console.warn(t);
|
|
2755
2763
|
});
|
|
2756
|
-
var
|
|
2764
|
+
var ui = function() {
|
|
2757
2765
|
for (var e = arguments.length, r = new Array(e), n = 0; n < e; n++)
|
|
2758
2766
|
r[n] = arguments[n];
|
|
2759
2767
|
Ot = !0;
|
|
2760
2768
|
var i = Date.now();
|
|
2761
2769
|
return Lt().then(function(o) {
|
|
2762
|
-
return
|
|
2770
|
+
return ai(o, r, i);
|
|
2763
2771
|
});
|
|
2764
2772
|
};
|
|
2765
|
-
function ui(t) {
|
|
2766
|
-
x(t, "svelte-1xe711j", ".rcb-header-layout.svelte-1xe711j{display:flex;justify-content:space-between;align-items:center;width:100%;font-size:24px;margin:0;font-weight:500}");
|
|
2767
|
-
}
|
|
2768
2773
|
function fi(t) {
|
|
2774
|
+
F(t, "svelte-1xe711j", ".rcb-header-layout.svelte-1xe711j{display:flex;justify-content:space-between;align-items:center;width:100%;font-size:24px;margin:0;font-weight:500}");
|
|
2775
|
+
}
|
|
2776
|
+
function di(t) {
|
|
2769
2777
|
let e, r;
|
|
2770
2778
|
const n = (
|
|
2771
2779
|
/*#slots*/
|
|
@@ -2809,19 +2817,19 @@ function fi(t) {
|
|
|
2809
2817
|
r || (f(i, o), r = !0);
|
|
2810
2818
|
},
|
|
2811
2819
|
o(o) {
|
|
2812
|
-
|
|
2820
|
+
d(i, o), r = !1;
|
|
2813
2821
|
},
|
|
2814
2822
|
d(o) {
|
|
2815
2823
|
o && g(e), i && i.d(o);
|
|
2816
2824
|
}
|
|
2817
2825
|
};
|
|
2818
2826
|
}
|
|
2819
|
-
function
|
|
2827
|
+
function mi(t) {
|
|
2820
2828
|
let e, r;
|
|
2821
2829
|
return e = new ue({
|
|
2822
2830
|
props: {
|
|
2823
2831
|
as: "header",
|
|
2824
|
-
$$slots: { default: [
|
|
2832
|
+
$$slots: { default: [di] },
|
|
2825
2833
|
$$scope: { ctx: t }
|
|
2826
2834
|
}
|
|
2827
2835
|
}), {
|
|
@@ -2840,14 +2848,14 @@ function di(t) {
|
|
|
2840
2848
|
r || (f(e.$$.fragment, n), r = !0);
|
|
2841
2849
|
},
|
|
2842
2850
|
o(n) {
|
|
2843
|
-
|
|
2851
|
+
d(e.$$.fragment, n), r = !1;
|
|
2844
2852
|
},
|
|
2845
2853
|
d(n) {
|
|
2846
2854
|
I(e, n);
|
|
2847
2855
|
}
|
|
2848
2856
|
};
|
|
2849
2857
|
}
|
|
2850
|
-
function
|
|
2858
|
+
function gi(t, e, r) {
|
|
2851
2859
|
let { $$slots: n = {}, $$scope: i } = e;
|
|
2852
2860
|
return t.$$set = (o) => {
|
|
2853
2861
|
"$$scope" in o && r(1, i = o.$$scope);
|
|
@@ -2855,15 +2863,15 @@ function mi(t, e, r) {
|
|
|
2855
2863
|
}
|
|
2856
2864
|
class Xe extends U {
|
|
2857
2865
|
constructor(e) {
|
|
2858
|
-
super(), N(this, e,
|
|
2866
|
+
super(), N(this, e, gi, mi, T, {}, fi);
|
|
2859
2867
|
}
|
|
2860
2868
|
}
|
|
2861
|
-
const
|
|
2862
|
-
function
|
|
2869
|
+
const pi = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M18%208H17V6C17%203.24%2014.76%201%2012%201C9.24%201%207%203.24%207%206V8H6C4.9%208%204%208.9%204%2010V20C4%2021.1%204.9%2022%206%2022H18C19.1%2022%2020%2021.1%2020%2020V10C20%208.9%2019.1%208%2018%208ZM12%2017C10.9%2017%2010%2016.1%2010%2015C10%2013.9%2010.9%2013%2012%2013C13.1%2013%2014%2013.9%2014%2015C14%2016.1%2013.1%2017%2012%2017ZM15.1%208H8.9V6C8.9%204.29%2010.29%202.9%2012%202.9C13.71%202.9%2015.1%204.29%2015.1%206V8Z'%20fill='%2311D483'/%3e%3c/svg%3e";
|
|
2870
|
+
function _i(t) {
|
|
2863
2871
|
let e, r;
|
|
2864
2872
|
return {
|
|
2865
2873
|
c() {
|
|
2866
|
-
e = k("img"),
|
|
2874
|
+
e = k("img"), ee(e.src, r = pi) || _(e, "src", r), _(e, "alt", "icon"), _(e, "class", "rcb-ui-asset-icon");
|
|
2867
2875
|
},
|
|
2868
2876
|
m(n, i) {
|
|
2869
2877
|
p(n, e, i);
|
|
@@ -2876,9 +2884,9 @@ function pi(t) {
|
|
|
2876
2884
|
}
|
|
2877
2885
|
};
|
|
2878
2886
|
}
|
|
2879
|
-
class
|
|
2887
|
+
class Ai extends U {
|
|
2880
2888
|
constructor(e) {
|
|
2881
|
-
super(), N(this, e, null,
|
|
2889
|
+
super(), N(this, e, null, _i, T, {});
|
|
2882
2890
|
}
|
|
2883
2891
|
}
|
|
2884
2892
|
const _e = {
|
|
@@ -2890,15 +2898,15 @@ const _e = {
|
|
|
2890
2898
|
"grey-ui-dark": "#dfdfdf",
|
|
2891
2899
|
white: "#ffffff"
|
|
2892
2900
|
};
|
|
2893
|
-
function
|
|
2894
|
-
|
|
2901
|
+
function hi(t) {
|
|
2902
|
+
F(t, "svelte-rjmul6", `.processing.svelte-rjmul6{width:12px;aspect-ratio:1;border-radius:50%;animation:svelte-rjmul6-l5 1.5s infinite linear}@keyframes svelte-rjmul6-l5{0%{box-shadow:20px 0 #fff2,
|
|
2895
2903
|
-20px 0 #fff2;background:#fff2}25%{box-shadow:20px 0 #fff2,
|
|
2896
2904
|
-20px 0 #ffff;background:#fff2}50%{box-shadow:20px 0 #fff2,
|
|
2897
2905
|
-20px 0 #fff2;background:#ffff}75%{box-shadow:20px 0 #ffff,
|
|
2898
2906
|
-20px 0 #fff2;background:#fff2}100%{box-shadow:20px 0 #fff2,
|
|
2899
2907
|
-20px 0 #fff2;background:#fff2}}`);
|
|
2900
2908
|
}
|
|
2901
|
-
function
|
|
2909
|
+
function Ei(t) {
|
|
2902
2910
|
let e;
|
|
2903
2911
|
return {
|
|
2904
2912
|
c() {
|
|
@@ -2915,15 +2923,15 @@ function hi(t) {
|
|
|
2915
2923
|
}
|
|
2916
2924
|
};
|
|
2917
2925
|
}
|
|
2918
|
-
class
|
|
2926
|
+
class Ft extends U {
|
|
2919
2927
|
constructor(e) {
|
|
2920
|
-
super(), N(this, e, null,
|
|
2928
|
+
super(), N(this, e, null, Ei, T, {}, hi);
|
|
2921
2929
|
}
|
|
2922
2930
|
}
|
|
2923
|
-
function Ei(t) {
|
|
2924
|
-
x(t, "svelte-1wxt892", ".rcb-stripe-elements-container.svelte-1wxt892{width:100%;margin-top:32px;margin-bottom:24px}");
|
|
2925
|
-
}
|
|
2926
2931
|
function bi(t) {
|
|
2932
|
+
F(t, "svelte-1wxt892", ".rcb-stripe-elements-container.svelte-1wxt892{width:100%;margin-top:32px;margin-bottom:24px}");
|
|
2933
|
+
}
|
|
2934
|
+
function Ii(t) {
|
|
2927
2935
|
let e, r;
|
|
2928
2936
|
return e = new We({}), {
|
|
2929
2937
|
c() {
|
|
@@ -2937,14 +2945,14 @@ function bi(t) {
|
|
|
2937
2945
|
r || (f(e.$$.fragment, n), r = !0);
|
|
2938
2946
|
},
|
|
2939
2947
|
o(n) {
|
|
2940
|
-
|
|
2948
|
+
d(e.$$.fragment, n), r = !1;
|
|
2941
2949
|
},
|
|
2942
2950
|
d(n) {
|
|
2943
2951
|
I(e, n);
|
|
2944
2952
|
}
|
|
2945
2953
|
};
|
|
2946
2954
|
}
|
|
2947
|
-
function
|
|
2955
|
+
function wi(t) {
|
|
2948
2956
|
let e, r, n, i, o, s;
|
|
2949
2957
|
function l(a) {
|
|
2950
2958
|
t[9](a);
|
|
@@ -2985,13 +2993,13 @@ function Ii(t) {
|
|
|
2985
2993
|
},
|
|
2986
2994
|
".Input--invalid": { boxShadow: "none" }
|
|
2987
2995
|
},
|
|
2988
|
-
$$slots: { default: [
|
|
2996
|
+
$$slots: { default: [Pi] },
|
|
2989
2997
|
$$scope: { ctx: t }
|
|
2990
2998
|
};
|
|
2991
2999
|
return (
|
|
2992
3000
|
/*elements*/
|
|
2993
3001
|
t[2] !== void 0 && (c.elements = /*elements*/
|
|
2994
|
-
t[2]), r = new
|
|
3002
|
+
t[2]), r = new ni({ props: c }), Re.push(() => vn(r, "elements", l)), {
|
|
2995
3003
|
c() {
|
|
2996
3004
|
e = k("form"), w(r.$$.fragment);
|
|
2997
3005
|
},
|
|
@@ -3002,19 +3010,19 @@ function Ii(t) {
|
|
|
3002
3010
|
)), o = !0);
|
|
3003
3011
|
},
|
|
3004
3012
|
p(a, u) {
|
|
3005
|
-
const
|
|
3013
|
+
const m = {};
|
|
3006
3014
|
u & /*stripe*/
|
|
3007
|
-
8 && (
|
|
3015
|
+
8 && (m.stripe = /*stripe*/
|
|
3008
3016
|
a[3]), u & /*$$scope, processing, onClose*/
|
|
3009
|
-
2051 && (
|
|
3010
|
-
4 && (n = !0,
|
|
3011
|
-
a[2],
|
|
3017
|
+
2051 && (m.$$scope = { dirty: u, ctx: a }), !n && u & /*elements*/
|
|
3018
|
+
4 && (n = !0, m.elements = /*elements*/
|
|
3019
|
+
a[2], wn(() => n = !1)), r.$set(m);
|
|
3012
3020
|
},
|
|
3013
3021
|
i(a) {
|
|
3014
3022
|
i || (f(r.$$.fragment, a), i = !0);
|
|
3015
3023
|
},
|
|
3016
3024
|
o(a) {
|
|
3017
|
-
|
|
3025
|
+
d(r.$$.fragment, a), i = !1;
|
|
3018
3026
|
},
|
|
3019
3027
|
d(a) {
|
|
3020
3028
|
a && g(e), I(r), o = !1, s();
|
|
@@ -3022,11 +3030,11 @@ function Ii(t) {
|
|
|
3022
3030
|
}
|
|
3023
3031
|
);
|
|
3024
3032
|
}
|
|
3025
|
-
function
|
|
3033
|
+
function ki(t) {
|
|
3026
3034
|
let e, r, n, i;
|
|
3027
|
-
return n = new
|
|
3035
|
+
return n = new Ai({}), {
|
|
3028
3036
|
c() {
|
|
3029
|
-
e = k("div"), e.textContent = "Secure Checkout", r =
|
|
3037
|
+
e = k("div"), e.textContent = "Secure Checkout", r = C(), w(n.$$.fragment);
|
|
3030
3038
|
},
|
|
3031
3039
|
m(o, s) {
|
|
3032
3040
|
p(o, e, s), p(o, r, s), b(n, o, s), i = !0;
|
|
@@ -3036,16 +3044,16 @@ function wi(t) {
|
|
|
3036
3044
|
i || (f(n.$$.fragment, o), i = !0);
|
|
3037
3045
|
},
|
|
3038
3046
|
o(o) {
|
|
3039
|
-
|
|
3047
|
+
d(n.$$.fragment, o), i = !1;
|
|
3040
3048
|
},
|
|
3041
3049
|
d(o) {
|
|
3042
3050
|
o && (g(e), g(r)), I(n, o);
|
|
3043
3051
|
}
|
|
3044
3052
|
};
|
|
3045
3053
|
}
|
|
3046
|
-
function
|
|
3054
|
+
function $i(t) {
|
|
3047
3055
|
let e, r, n;
|
|
3048
|
-
return r = new
|
|
3056
|
+
return r = new Zr({}), {
|
|
3049
3057
|
c() {
|
|
3050
3058
|
e = k("div"), w(r.$$.fragment), _(e, "class", "rcb-stripe-elements-container svelte-1wxt892");
|
|
3051
3059
|
},
|
|
@@ -3057,14 +3065,14 @@ function ki(t) {
|
|
|
3057
3065
|
n || (f(r.$$.fragment, i), n = !0);
|
|
3058
3066
|
},
|
|
3059
3067
|
o(i) {
|
|
3060
|
-
|
|
3068
|
+
d(r.$$.fragment, i), n = !1;
|
|
3061
3069
|
},
|
|
3062
3070
|
d(i) {
|
|
3063
3071
|
i && g(e), I(r);
|
|
3064
3072
|
}
|
|
3065
3073
|
};
|
|
3066
3074
|
}
|
|
3067
|
-
function
|
|
3075
|
+
function vi(t) {
|
|
3068
3076
|
let e;
|
|
3069
3077
|
return {
|
|
3070
3078
|
c() {
|
|
@@ -3080,9 +3088,9 @@ function $i(t) {
|
|
|
3080
3088
|
}
|
|
3081
3089
|
};
|
|
3082
3090
|
}
|
|
3083
|
-
function
|
|
3091
|
+
function yi(t) {
|
|
3084
3092
|
let e, r;
|
|
3085
|
-
return e = new
|
|
3093
|
+
return e = new Ft({}), {
|
|
3086
3094
|
c() {
|
|
3087
3095
|
w(e.$$.fragment);
|
|
3088
3096
|
},
|
|
@@ -3093,16 +3101,16 @@ function vi(t) {
|
|
|
3093
3101
|
r || (f(e.$$.fragment, n), r = !0);
|
|
3094
3102
|
},
|
|
3095
3103
|
o(n) {
|
|
3096
|
-
|
|
3104
|
+
d(e.$$.fragment, n), r = !1;
|
|
3097
3105
|
},
|
|
3098
3106
|
d(n) {
|
|
3099
3107
|
I(e, n);
|
|
3100
3108
|
}
|
|
3101
3109
|
};
|
|
3102
3110
|
}
|
|
3103
|
-
function
|
|
3111
|
+
function Bi(t) {
|
|
3104
3112
|
let e, r, n, i;
|
|
3105
|
-
const o = [
|
|
3113
|
+
const o = [yi, vi], s = [];
|
|
3106
3114
|
function l(c, a) {
|
|
3107
3115
|
return (
|
|
3108
3116
|
/*processing*/
|
|
@@ -3118,7 +3126,7 @@ function yi(t) {
|
|
|
3118
3126
|
},
|
|
3119
3127
|
p(c, a) {
|
|
3120
3128
|
let u = e;
|
|
3121
|
-
e = l(c), e !== u && (H(),
|
|
3129
|
+
e = l(c), e !== u && (H(), d(s[u], 1, 1, () => {
|
|
3122
3130
|
s[u] = null;
|
|
3123
3131
|
}), K(), r = s[e], r || (r = s[e] = o[e](c), r.c()), f(r, 1), r.m(n.parentNode, n));
|
|
3124
3132
|
},
|
|
@@ -3126,14 +3134,14 @@ function yi(t) {
|
|
|
3126
3134
|
i || (f(r), i = !0);
|
|
3127
3135
|
},
|
|
3128
3136
|
o(c) {
|
|
3129
|
-
|
|
3137
|
+
d(r), i = !1;
|
|
3130
3138
|
},
|
|
3131
3139
|
d(c) {
|
|
3132
3140
|
c && g(n), s[e].d(c);
|
|
3133
3141
|
}
|
|
3134
3142
|
};
|
|
3135
3143
|
}
|
|
3136
|
-
function
|
|
3144
|
+
function Di(t) {
|
|
3137
3145
|
let e;
|
|
3138
3146
|
return {
|
|
3139
3147
|
c() {
|
|
@@ -3147,7 +3155,7 @@ function Bi(t) {
|
|
|
3147
3155
|
}
|
|
3148
3156
|
};
|
|
3149
3157
|
}
|
|
3150
|
-
function
|
|
3158
|
+
function Mi(t) {
|
|
3151
3159
|
let e, r, n, i;
|
|
3152
3160
|
return e = new Ie({
|
|
3153
3161
|
props: {
|
|
@@ -3155,7 +3163,7 @@ function Di(t) {
|
|
|
3155
3163
|
/*processing*/
|
|
3156
3164
|
t[0]
|
|
3157
3165
|
),
|
|
3158
|
-
$$slots: { default: [
|
|
3166
|
+
$$slots: { default: [Bi] },
|
|
3159
3167
|
$$scope: { ctx: t }
|
|
3160
3168
|
}
|
|
3161
3169
|
}), n = new Ie({
|
|
@@ -3165,7 +3173,7 @@ function Di(t) {
|
|
|
3165
3173
|
t[0]
|
|
3166
3174
|
),
|
|
3167
3175
|
intent: "secondary",
|
|
3168
|
-
$$slots: { default: [
|
|
3176
|
+
$$slots: { default: [Di] },
|
|
3169
3177
|
$$scope: { ctx: t }
|
|
3170
3178
|
}
|
|
3171
3179
|
}), n.$on("click", function() {
|
|
@@ -3175,7 +3183,7 @@ function Di(t) {
|
|
|
3175
3183
|
) && t[1].apply(this, arguments);
|
|
3176
3184
|
}), {
|
|
3177
3185
|
c() {
|
|
3178
|
-
w(e.$$.fragment), r =
|
|
3186
|
+
w(e.$$.fragment), r = C(), w(n.$$.fragment);
|
|
3179
3187
|
},
|
|
3180
3188
|
m(o, s) {
|
|
3181
3189
|
b(e, o, s), p(o, r, s), b(n, o, s), i = !0;
|
|
@@ -3197,18 +3205,18 @@ function Di(t) {
|
|
|
3197
3205
|
i || (f(e.$$.fragment, o), f(n.$$.fragment, o), i = !0);
|
|
3198
3206
|
},
|
|
3199
3207
|
o(o) {
|
|
3200
|
-
|
|
3208
|
+
d(e.$$.fragment, o), d(n.$$.fragment, o), i = !1;
|
|
3201
3209
|
},
|
|
3202
3210
|
d(o) {
|
|
3203
3211
|
o && g(r), I(e, o), I(n, o);
|
|
3204
3212
|
}
|
|
3205
3213
|
};
|
|
3206
3214
|
}
|
|
3207
|
-
function
|
|
3215
|
+
function Qi(t) {
|
|
3208
3216
|
let e, r;
|
|
3209
|
-
return e = new
|
|
3217
|
+
return e = new ve({
|
|
3210
3218
|
props: {
|
|
3211
|
-
$$slots: { default: [
|
|
3219
|
+
$$slots: { default: [Mi] },
|
|
3212
3220
|
$$scope: { ctx: t }
|
|
3213
3221
|
}
|
|
3214
3222
|
}), {
|
|
@@ -3227,33 +3235,33 @@ function Mi(t) {
|
|
|
3227
3235
|
r || (f(e.$$.fragment, n), r = !0);
|
|
3228
3236
|
},
|
|
3229
3237
|
o(n) {
|
|
3230
|
-
|
|
3238
|
+
d(e.$$.fragment, n), r = !1;
|
|
3231
3239
|
},
|
|
3232
3240
|
d(n) {
|
|
3233
3241
|
I(e, n);
|
|
3234
3242
|
}
|
|
3235
3243
|
};
|
|
3236
3244
|
}
|
|
3237
|
-
function
|
|
3245
|
+
function Pi(t) {
|
|
3238
3246
|
let e, r, n, i, o, s;
|
|
3239
3247
|
return e = new Xe({
|
|
3240
3248
|
props: {
|
|
3241
|
-
$$slots: { default: [
|
|
3249
|
+
$$slots: { default: [ki] },
|
|
3242
3250
|
$$scope: { ctx: t }
|
|
3243
3251
|
}
|
|
3244
3252
|
}), n = new ue({
|
|
3245
3253
|
props: {
|
|
3246
|
-
$$slots: { default: [
|
|
3254
|
+
$$slots: { default: [$i] },
|
|
3247
3255
|
$$scope: { ctx: t }
|
|
3248
3256
|
}
|
|
3249
3257
|
}), o = new ze({
|
|
3250
3258
|
props: {
|
|
3251
|
-
$$slots: { default: [
|
|
3259
|
+
$$slots: { default: [Qi] },
|
|
3252
3260
|
$$scope: { ctx: t }
|
|
3253
3261
|
}
|
|
3254
3262
|
}), {
|
|
3255
3263
|
c() {
|
|
3256
|
-
w(e.$$.fragment), r =
|
|
3264
|
+
w(e.$$.fragment), r = C(), w(n.$$.fragment), i = C(), w(o.$$.fragment);
|
|
3257
3265
|
},
|
|
3258
3266
|
m(l, c) {
|
|
3259
3267
|
b(e, l, c), p(l, r, c), b(n, l, c), p(l, i, c), b(o, l, c), s = !0;
|
|
@@ -3265,24 +3273,24 @@ function Ci(t) {
|
|
|
3265
3273
|
const u = {};
|
|
3266
3274
|
c & /*$$scope*/
|
|
3267
3275
|
2048 && (u.$$scope = { dirty: c, ctx: l }), n.$set(u);
|
|
3268
|
-
const
|
|
3276
|
+
const m = {};
|
|
3269
3277
|
c & /*$$scope, processing, onClose*/
|
|
3270
|
-
2051 && (
|
|
3278
|
+
2051 && (m.$$scope = { dirty: c, ctx: l }), o.$set(m);
|
|
3271
3279
|
},
|
|
3272
3280
|
i(l) {
|
|
3273
3281
|
s || (f(e.$$.fragment, l), f(n.$$.fragment, l), f(o.$$.fragment, l), s = !0);
|
|
3274
3282
|
},
|
|
3275
3283
|
o(l) {
|
|
3276
|
-
|
|
3284
|
+
d(e.$$.fragment, l), d(n.$$.fragment, l), d(o.$$.fragment, l), s = !1;
|
|
3277
3285
|
},
|
|
3278
3286
|
d(l) {
|
|
3279
3287
|
l && (g(r), g(i)), I(e, l), I(n, l), I(o, l);
|
|
3280
3288
|
}
|
|
3281
3289
|
};
|
|
3282
3290
|
}
|
|
3283
|
-
function
|
|
3291
|
+
function Ci(t) {
|
|
3284
3292
|
let e, r, n, i;
|
|
3285
|
-
const o = [
|
|
3293
|
+
const o = [wi, Ii], s = [];
|
|
3286
3294
|
function l(c, a) {
|
|
3287
3295
|
return (
|
|
3288
3296
|
/*stripe*/
|
|
@@ -3299,7 +3307,7 @@ function Qi(t) {
|
|
|
3299
3307
|
},
|
|
3300
3308
|
p(c, [a]) {
|
|
3301
3309
|
let u = r;
|
|
3302
|
-
r = l(c), r === u ? s[r].p(c, a) : (H(),
|
|
3310
|
+
r = l(c), r === u ? s[r].p(c, a) : (H(), d(s[u], 1, 1, () => {
|
|
3303
3311
|
s[u] = null;
|
|
3304
3312
|
}), K(), n = s[r], n ? n.p(c, a) : (n = s[r] = o[r](c), n.c()), f(n, 1), n.m(e, null));
|
|
3305
3313
|
},
|
|
@@ -3307,29 +3315,29 @@ function Qi(t) {
|
|
|
3307
3315
|
i || (f(n), i = !0);
|
|
3308
3316
|
},
|
|
3309
3317
|
o(c) {
|
|
3310
|
-
|
|
3318
|
+
d(n), i = !1;
|
|
3311
3319
|
},
|
|
3312
3320
|
d(c) {
|
|
3313
3321
|
c && g(e), s[r].d();
|
|
3314
3322
|
}
|
|
3315
3323
|
};
|
|
3316
3324
|
}
|
|
3317
|
-
function
|
|
3325
|
+
function Ti(t, e, r) {
|
|
3318
3326
|
let { onClose: n } = e, { onContinue: i } = e, { onError: o } = e, { paymentInfoCollectionMetadata: s } = e, { processing: l = !1 } = e;
|
|
3319
3327
|
const c = s.data.client_secret;
|
|
3320
|
-
let a = null, u,
|
|
3328
|
+
let a = null, u, m;
|
|
3321
3329
|
Oe(async () => {
|
|
3322
3330
|
const E = s.data.publishable_api_key, B = s.data.stripe_account_id;
|
|
3323
3331
|
if (!E || !B)
|
|
3324
3332
|
throw new Error("Stripe publishable key or account ID not found");
|
|
3325
|
-
r(3, a = await
|
|
3333
|
+
r(3, a = await ui(E, { stripeAccount: B }));
|
|
3326
3334
|
});
|
|
3327
|
-
const
|
|
3328
|
-
if (l || !a || !
|
|
3335
|
+
const A = async () => {
|
|
3336
|
+
if (l || !a || !m)
|
|
3329
3337
|
return;
|
|
3330
3338
|
r(0, l = !0);
|
|
3331
3339
|
const E = await a.confirmSetup({
|
|
3332
|
-
elements:
|
|
3340
|
+
elements: m,
|
|
3333
3341
|
redirect: "if_required"
|
|
3334
3342
|
});
|
|
3335
3343
|
E.error ? (r(0, l = !1), o(new Y(O.StripeError, E.error.message))) : i();
|
|
@@ -3341,27 +3349,27 @@ function Pi(t, e, r) {
|
|
|
3341
3349
|
"onClose" in E && r(1, n = E.onClose), "onContinue" in E && r(6, i = E.onContinue), "onError" in E && r(7, o = E.onError), "paymentInfoCollectionMetadata" in E && r(8, s = E.paymentInfoCollectionMetadata), "processing" in E && r(0, l = E.processing);
|
|
3342
3350
|
}, t.$$.update = () => {
|
|
3343
3351
|
t.$$.dirty & /*elements*/
|
|
3344
|
-
4 && u && u._elements.length > 0 && (
|
|
3352
|
+
4 && u && u._elements.length > 0 && (m = u);
|
|
3345
3353
|
}, [
|
|
3346
3354
|
l,
|
|
3347
3355
|
n,
|
|
3348
3356
|
u,
|
|
3349
3357
|
a,
|
|
3350
3358
|
c,
|
|
3351
|
-
|
|
3359
|
+
A,
|
|
3352
3360
|
i,
|
|
3353
3361
|
o,
|
|
3354
3362
|
s,
|
|
3355
3363
|
$
|
|
3356
3364
|
];
|
|
3357
3365
|
}
|
|
3358
|
-
class
|
|
3366
|
+
class Ni extends U {
|
|
3359
3367
|
constructor(e) {
|
|
3360
3368
|
super(), N(
|
|
3361
3369
|
this,
|
|
3362
3370
|
e,
|
|
3363
|
-
|
|
3364
|
-
|
|
3371
|
+
Ti,
|
|
3372
|
+
Ci,
|
|
3365
3373
|
T,
|
|
3366
3374
|
{
|
|
3367
3375
|
onClose: 1,
|
|
@@ -3370,17 +3378,17 @@ class Ti extends U {
|
|
|
3370
3378
|
paymentInfoCollectionMetadata: 8,
|
|
3371
3379
|
processing: 0
|
|
3372
3380
|
},
|
|
3373
|
-
|
|
3381
|
+
bi
|
|
3374
3382
|
);
|
|
3375
3383
|
}
|
|
3376
3384
|
}
|
|
3377
|
-
function Ni(t) {
|
|
3378
|
-
return t.trim() === "" ? "You need to provide your email address to continue." : t.match(/^[^@]+@[^@]+\.[^@]+$/) ? null : "Email is not valid. Please provide a valid email address.";
|
|
3379
|
-
}
|
|
3380
3385
|
function Ui(t) {
|
|
3381
|
-
|
|
3386
|
+
return t.trim() === "" ? "You need to provide your email address to continue." : t.match(/^[^@]+@[^@]+\.[^@]+$/) ? null : "Email is not valid. Please provide a valid email address.";
|
|
3382
3387
|
}
|
|
3383
3388
|
function Ri(t) {
|
|
3389
|
+
F(t, "svelte-favd20", "form.svelte-favd20.svelte-favd20{display:flex;flex-direction:column;min-height:100%;flex-grow:1}.form-container.svelte-favd20.svelte-favd20{display:flex;flex-direction:column;width:100%;margin-top:32px;margin-bottom:16px}.form-label.svelte-favd20.svelte-favd20{margin-top:8px;margin-bottom:8px;display:block;font-weight:500;line-height:22px}.form-input.error.svelte-favd20 input.svelte-favd20{border-color:var(--rc-color-error)}.form-error.svelte-favd20.svelte-favd20{margin-top:4px;font-size:16px;line-height:20px;min-height:40px;color:var(--rc-color-error)}input.svelte-favd20.svelte-favd20{width:100%;box-sizing:border-box;padding:8px;border:2px solid var(--rc-color-grey-ui-dark);border-radius:12px;font-size:16px;height:48px;padding:6px 14px}input.svelte-favd20.svelte-favd20:focus{outline:none;border:2px solid var(--rc-color-focus)}");
|
|
3390
|
+
}
|
|
3391
|
+
function Si(t) {
|
|
3384
3392
|
let e;
|
|
3385
3393
|
return {
|
|
3386
3394
|
c() {
|
|
@@ -3404,7 +3412,7 @@ function pt(t) {
|
|
|
3404
3412
|
), _(e, "class", "form-error svelte-favd20");
|
|
3405
3413
|
},
|
|
3406
3414
|
m(n, i) {
|
|
3407
|
-
p(n, e, i),
|
|
3415
|
+
p(n, e, i), Q(e, r);
|
|
3408
3416
|
},
|
|
3409
3417
|
p(n, i) {
|
|
3410
3418
|
i & /*error*/
|
|
@@ -3419,46 +3427,46 @@ function pt(t) {
|
|
|
3419
3427
|
}
|
|
3420
3428
|
};
|
|
3421
3429
|
}
|
|
3422
|
-
function
|
|
3430
|
+
function Oi(t) {
|
|
3423
3431
|
let e, r, n, i, o, s, l, c, a, u = (
|
|
3424
3432
|
/*error*/
|
|
3425
3433
|
t[2] && pt(t)
|
|
3426
3434
|
);
|
|
3427
3435
|
return {
|
|
3428
3436
|
c() {
|
|
3429
|
-
e = k("div"), r = k("div"), r.innerHTML = '<label for="email">Email</label>', n =
|
|
3437
|
+
e = k("div"), r = k("div"), r.innerHTML = '<label for="email">Email</label>', n = C(), i = k("div"), o = k("input"), l = C(), u && u.c(), _(r, "class", "form-label svelte-favd20"), _(o, "name", "email"), _(o, "placeholder", "john@appleseed.com"), _(o, "autocapitalize", "off"), _(o, "class", "svelte-favd20"), _(i, "class", s = "form-input " + /*inputClass*/
|
|
3430
3438
|
t[4] + " svelte-favd20"), _(e, "class", "form-container svelte-favd20");
|
|
3431
3439
|
},
|
|
3432
|
-
m(
|
|
3433
|
-
p(
|
|
3440
|
+
m(m, A) {
|
|
3441
|
+
p(m, e, A), Q(e, r), Q(e, n), Q(e, i), Q(i, o), lt(
|
|
3434
3442
|
o,
|
|
3435
3443
|
/*email*/
|
|
3436
3444
|
t[3]
|
|
3437
|
-
),
|
|
3445
|
+
), Q(e, l), u && u.m(e, null), c || (a = ke(
|
|
3438
3446
|
o,
|
|
3439
3447
|
"input",
|
|
3440
3448
|
/*input_input_handler*/
|
|
3441
|
-
t[
|
|
3449
|
+
t[8]
|
|
3442
3450
|
), c = !0);
|
|
3443
3451
|
},
|
|
3444
|
-
p(
|
|
3445
|
-
|
|
3452
|
+
p(m, A) {
|
|
3453
|
+
A & /*email*/
|
|
3446
3454
|
8 && o.value !== /*email*/
|
|
3447
|
-
|
|
3455
|
+
m[3] && lt(
|
|
3448
3456
|
o,
|
|
3449
3457
|
/*email*/
|
|
3450
|
-
|
|
3451
|
-
),
|
|
3458
|
+
m[3]
|
|
3459
|
+
), A & /*inputClass*/
|
|
3452
3460
|
16 && s !== (s = "form-input " + /*inputClass*/
|
|
3453
|
-
|
|
3454
|
-
|
|
3461
|
+
m[4] + " svelte-favd20") && _(i, "class", s), /*error*/
|
|
3462
|
+
m[2] ? u ? u.p(m, A) : (u = pt(m), u.c(), u.m(e, null)) : u && (u.d(1), u = null);
|
|
3455
3463
|
},
|
|
3456
|
-
d(
|
|
3457
|
-
|
|
3464
|
+
d(m) {
|
|
3465
|
+
m && g(e), u && u.d(), c = !1, a();
|
|
3458
3466
|
}
|
|
3459
3467
|
};
|
|
3460
3468
|
}
|
|
3461
|
-
function
|
|
3469
|
+
function Li(t) {
|
|
3462
3470
|
let e;
|
|
3463
3471
|
return {
|
|
3464
3472
|
c() {
|
|
@@ -3474,9 +3482,9 @@ function Oi(t) {
|
|
|
3474
3482
|
}
|
|
3475
3483
|
};
|
|
3476
3484
|
}
|
|
3477
|
-
function
|
|
3485
|
+
function Fi(t) {
|
|
3478
3486
|
let e, r;
|
|
3479
|
-
return e = new
|
|
3487
|
+
return e = new Ft({}), {
|
|
3480
3488
|
c() {
|
|
3481
3489
|
w(e.$$.fragment);
|
|
3482
3490
|
},
|
|
@@ -3487,7 +3495,7 @@ function Li(t) {
|
|
|
3487
3495
|
r || (f(e.$$.fragment, n), r = !0);
|
|
3488
3496
|
},
|
|
3489
3497
|
o(n) {
|
|
3490
|
-
|
|
3498
|
+
d(e.$$.fragment, n), r = !1;
|
|
3491
3499
|
},
|
|
3492
3500
|
d(n) {
|
|
3493
3501
|
I(e, n);
|
|
@@ -3496,7 +3504,7 @@ function Li(t) {
|
|
|
3496
3504
|
}
|
|
3497
3505
|
function xi(t) {
|
|
3498
3506
|
let e, r, n, i;
|
|
3499
|
-
const o = [
|
|
3507
|
+
const o = [Fi, Li], s = [];
|
|
3500
3508
|
function l(c, a) {
|
|
3501
3509
|
return (
|
|
3502
3510
|
/*processing*/
|
|
@@ -3512,7 +3520,7 @@ function xi(t) {
|
|
|
3512
3520
|
},
|
|
3513
3521
|
p(c, a) {
|
|
3514
3522
|
let u = e;
|
|
3515
|
-
e = l(c), e !== u && (H(),
|
|
3523
|
+
e = l(c), e !== u && (H(), d(s[u], 1, 1, () => {
|
|
3516
3524
|
s[u] = null;
|
|
3517
3525
|
}), K(), r = s[e], r || (r = s[e] = o[e](c), r.c()), f(r, 1), r.m(n.parentNode, n));
|
|
3518
3526
|
},
|
|
@@ -3520,14 +3528,14 @@ function xi(t) {
|
|
|
3520
3528
|
i || (f(r), i = !0);
|
|
3521
3529
|
},
|
|
3522
3530
|
o(c) {
|
|
3523
|
-
|
|
3531
|
+
d(r), i = !1;
|
|
3524
3532
|
},
|
|
3525
3533
|
d(c) {
|
|
3526
3534
|
c && g(n), s[e].d(c);
|
|
3527
3535
|
}
|
|
3528
3536
|
};
|
|
3529
3537
|
}
|
|
3530
|
-
function
|
|
3538
|
+
function Gi(t) {
|
|
3531
3539
|
let e;
|
|
3532
3540
|
return {
|
|
3533
3541
|
c() {
|
|
@@ -3541,7 +3549,7 @@ function Fi(t) {
|
|
|
3541
3549
|
}
|
|
3542
3550
|
};
|
|
3543
3551
|
}
|
|
3544
|
-
function
|
|
3552
|
+
function Yi(t) {
|
|
3545
3553
|
let e, r, n, i;
|
|
3546
3554
|
return e = new Ie({
|
|
3547
3555
|
props: {
|
|
@@ -3559,7 +3567,7 @@ function Gi(t) {
|
|
|
3559
3567
|
/*processing*/
|
|
3560
3568
|
t[1]
|
|
3561
3569
|
),
|
|
3562
|
-
$$slots: { default: [
|
|
3570
|
+
$$slots: { default: [Gi] },
|
|
3563
3571
|
$$scope: { ctx: t }
|
|
3564
3572
|
}
|
|
3565
3573
|
}), n.$on("click", function() {
|
|
@@ -3569,7 +3577,7 @@ function Gi(t) {
|
|
|
3569
3577
|
) && t[0].apply(this, arguments);
|
|
3570
3578
|
}), {
|
|
3571
3579
|
c() {
|
|
3572
|
-
w(e.$$.fragment), r =
|
|
3580
|
+
w(e.$$.fragment), r = C(), w(n.$$.fragment);
|
|
3573
3581
|
},
|
|
3574
3582
|
m(o, s) {
|
|
3575
3583
|
b(e, o, s), p(o, r, s), b(n, o, s), i = !0;
|
|
@@ -3580,29 +3588,29 @@ function Gi(t) {
|
|
|
3580
3588
|
s & /*processing*/
|
|
3581
3589
|
2 && (l.disabled = /*processing*/
|
|
3582
3590
|
t[1]), s & /*$$scope, processing*/
|
|
3583
|
-
|
|
3591
|
+
514 && (l.$$scope = { dirty: s, ctx: t }), e.$set(l);
|
|
3584
3592
|
const c = {};
|
|
3585
3593
|
s & /*processing*/
|
|
3586
3594
|
2 && (c.disabled = /*processing*/
|
|
3587
3595
|
t[1]), s & /*$$scope*/
|
|
3588
|
-
|
|
3596
|
+
512 && (c.$$scope = { dirty: s, ctx: t }), n.$set(c);
|
|
3589
3597
|
},
|
|
3590
3598
|
i(o) {
|
|
3591
3599
|
i || (f(e.$$.fragment, o), f(n.$$.fragment, o), i = !0);
|
|
3592
3600
|
},
|
|
3593
3601
|
o(o) {
|
|
3594
|
-
|
|
3602
|
+
d(e.$$.fragment, o), d(n.$$.fragment, o), i = !1;
|
|
3595
3603
|
},
|
|
3596
3604
|
d(o) {
|
|
3597
3605
|
o && g(r), I(e, o), I(n, o);
|
|
3598
3606
|
}
|
|
3599
3607
|
};
|
|
3600
3608
|
}
|
|
3601
|
-
function
|
|
3609
|
+
function Hi(t) {
|
|
3602
3610
|
let e, r;
|
|
3603
|
-
return e = new
|
|
3611
|
+
return e = new ve({
|
|
3604
3612
|
props: {
|
|
3605
|
-
$$slots: { default: [
|
|
3613
|
+
$$slots: { default: [Yi] },
|
|
3606
3614
|
$$scope: { ctx: t }
|
|
3607
3615
|
}
|
|
3608
3616
|
}), {
|
|
@@ -3615,79 +3623,82 @@ function Yi(t) {
|
|
|
3615
3623
|
p(n, i) {
|
|
3616
3624
|
const o = {};
|
|
3617
3625
|
i & /*$$scope, processing, onClose*/
|
|
3618
|
-
|
|
3626
|
+
515 && (o.$$scope = { dirty: i, ctx: n }), e.$set(o);
|
|
3619
3627
|
},
|
|
3620
3628
|
i(n) {
|
|
3621
3629
|
r || (f(e.$$.fragment, n), r = !0);
|
|
3622
3630
|
},
|
|
3623
3631
|
o(n) {
|
|
3624
|
-
|
|
3632
|
+
d(e.$$.fragment, n), r = !1;
|
|
3625
3633
|
},
|
|
3626
3634
|
d(n) {
|
|
3627
3635
|
I(e, n);
|
|
3628
3636
|
}
|
|
3629
3637
|
};
|
|
3630
3638
|
}
|
|
3631
|
-
function
|
|
3639
|
+
function Ki(t) {
|
|
3632
3640
|
let e, r, n, i, o, s, l, c, a;
|
|
3633
3641
|
return r = new Xe({
|
|
3634
3642
|
props: {
|
|
3635
|
-
$$slots: { default: [
|
|
3643
|
+
$$slots: { default: [Si] },
|
|
3636
3644
|
$$scope: { ctx: t }
|
|
3637
3645
|
}
|
|
3638
3646
|
}), i = new ue({
|
|
3639
3647
|
props: {
|
|
3640
|
-
$$slots: { default: [
|
|
3648
|
+
$$slots: { default: [Oi] },
|
|
3641
3649
|
$$scope: { ctx: t }
|
|
3642
3650
|
}
|
|
3643
3651
|
}), s = new ze({
|
|
3644
3652
|
props: {
|
|
3645
|
-
$$slots: { default: [
|
|
3653
|
+
$$slots: { default: [Hi] },
|
|
3646
3654
|
$$scope: { ctx: t }
|
|
3647
3655
|
}
|
|
3648
3656
|
}), {
|
|
3649
3657
|
c() {
|
|
3650
|
-
e = k("form"), w(r.$$.fragment), n =
|
|
3658
|
+
e = k("form"), w(r.$$.fragment), n = C(), w(i.$$.fragment), o = C(), w(s.$$.fragment), _(e, "class", "svelte-favd20");
|
|
3651
3659
|
},
|
|
3652
|
-
m(u,
|
|
3653
|
-
p(u, e,
|
|
3660
|
+
m(u, m) {
|
|
3661
|
+
p(u, e, m), b(r, e, null), Q(e, n), b(i, e, null), Q(e, o), b(s, e, null), l = !0, c || (a = ke(e, "submit", Mt(
|
|
3654
3662
|
/*handleContinue*/
|
|
3655
3663
|
t[5]
|
|
3656
3664
|
)), c = !0);
|
|
3657
3665
|
},
|
|
3658
|
-
p(u, [
|
|
3659
|
-
const
|
|
3660
|
-
|
|
3661
|
-
|
|
3666
|
+
p(u, [m]) {
|
|
3667
|
+
const A = {};
|
|
3668
|
+
m & /*$$scope*/
|
|
3669
|
+
512 && (A.$$scope = { dirty: m, ctx: u }), r.$set(A);
|
|
3662
3670
|
const $ = {};
|
|
3663
|
-
|
|
3664
|
-
|
|
3671
|
+
m & /*$$scope, error, inputClass, email*/
|
|
3672
|
+
540 && ($.$$scope = { dirty: m, ctx: u }), i.$set($);
|
|
3665
3673
|
const E = {};
|
|
3666
|
-
|
|
3667
|
-
|
|
3674
|
+
m & /*$$scope, processing, onClose*/
|
|
3675
|
+
515 && (E.$$scope = { dirty: m, ctx: u }), s.$set(E);
|
|
3668
3676
|
},
|
|
3669
3677
|
i(u) {
|
|
3670
3678
|
l || (f(r.$$.fragment, u), f(i.$$.fragment, u), f(s.$$.fragment, u), l = !0);
|
|
3671
3679
|
},
|
|
3672
3680
|
o(u) {
|
|
3673
|
-
|
|
3681
|
+
d(r.$$.fragment, u), d(i.$$.fragment, u), d(s.$$.fragment, u), l = !1;
|
|
3674
3682
|
},
|
|
3675
3683
|
d(u) {
|
|
3676
3684
|
u && g(e), I(r), I(i), I(s), c = !1, a();
|
|
3677
3685
|
}
|
|
3678
3686
|
};
|
|
3679
3687
|
}
|
|
3680
|
-
function
|
|
3681
|
-
let n, i, o, { onContinue: s } = e, { onClose: l } = e, { processing: c } = e;
|
|
3682
|
-
const
|
|
3683
|
-
const
|
|
3684
|
-
|
|
3688
|
+
function qi(t, e, r) {
|
|
3689
|
+
let n, i, o, { onContinue: s } = e, { onClose: l } = e, { processing: c } = e, { lastError: a } = e;
|
|
3690
|
+
const u = async () => {
|
|
3691
|
+
const A = Ui(n);
|
|
3692
|
+
A ? r(2, i = A) : s({ email: n });
|
|
3685
3693
|
};
|
|
3686
|
-
|
|
3694
|
+
_n(async () => {
|
|
3695
|
+
r(2, i = (a == null ? void 0 : a.message) ?? "");
|
|
3696
|
+
});
|
|
3697
|
+
function m() {
|
|
3687
3698
|
n = this.value, r(3, n);
|
|
3688
3699
|
}
|
|
3689
|
-
return t.$$set = (
|
|
3690
|
-
"onContinue" in
|
|
3700
|
+
return t.$$set = (A) => {
|
|
3701
|
+
"onContinue" in A && r(6, s = A.onContinue), "onClose" in A && r(0, l = A.onClose), "processing" in A && r(1, c = A.processing), "lastError" in A && r(7, a = A.lastError);
|
|
3691
3702
|
}, t.$$.update = () => {
|
|
3692
3703
|
t.$$.dirty & /*error*/
|
|
3693
3704
|
4 && r(4, o = i ? "error" : "");
|
|
@@ -3697,20 +3708,34 @@ function Ki(t, e, r) {
|
|
|
3697
3708
|
i,
|
|
3698
3709
|
n,
|
|
3699
3710
|
o,
|
|
3700
|
-
|
|
3711
|
+
u,
|
|
3701
3712
|
s,
|
|
3702
|
-
|
|
3713
|
+
a,
|
|
3714
|
+
m
|
|
3703
3715
|
];
|
|
3704
3716
|
}
|
|
3705
|
-
class
|
|
3717
|
+
class ji extends U {
|
|
3706
3718
|
constructor(e) {
|
|
3707
|
-
super(), N(
|
|
3719
|
+
super(), N(
|
|
3720
|
+
this,
|
|
3721
|
+
e,
|
|
3722
|
+
qi,
|
|
3723
|
+
Ki,
|
|
3724
|
+
T,
|
|
3725
|
+
{
|
|
3726
|
+
onContinue: 6,
|
|
3727
|
+
onClose: 0,
|
|
3728
|
+
processing: 1,
|
|
3729
|
+
lastError: 7
|
|
3730
|
+
},
|
|
3731
|
+
Ri
|
|
3732
|
+
);
|
|
3708
3733
|
}
|
|
3709
3734
|
}
|
|
3710
|
-
function ji(t) {
|
|
3711
|
-
x(t, "svelte-17tslso", ".rcb-modal-backdrop.svelte-17tslso{position:fixed;top:0;left:0;right:0;min-width:100%;width:100vw;width:100dvw;min-height:100%;height:100vh;height:100dvh;background-color:rgba(40, 40, 40, 0.75);display:flex;flex-direction:column;justify-content:space-around;z-index:1000001}");
|
|
3712
|
-
}
|
|
3713
3735
|
function Ji(t) {
|
|
3736
|
+
F(t, "svelte-17tslso", ".rcb-modal-backdrop.svelte-17tslso{position:fixed;top:0;left:0;right:0;min-width:100%;width:100vw;width:100dvw;min-height:100%;height:100vh;height:100dvh;background-color:rgba(40, 40, 40, 0.75);display:flex;flex-direction:column;justify-content:space-around;z-index:1000001}");
|
|
3737
|
+
}
|
|
3738
|
+
function Vi(t) {
|
|
3714
3739
|
let e, r;
|
|
3715
3740
|
const n = (
|
|
3716
3741
|
/*#slots*/
|
|
@@ -3754,28 +3779,28 @@ function Ji(t) {
|
|
|
3754
3779
|
r || (f(i, o), r = !0);
|
|
3755
3780
|
},
|
|
3756
3781
|
o(o) {
|
|
3757
|
-
|
|
3782
|
+
d(i, o), r = !1;
|
|
3758
3783
|
},
|
|
3759
3784
|
d(o) {
|
|
3760
3785
|
o && g(e), i && i.d(o);
|
|
3761
3786
|
}
|
|
3762
3787
|
};
|
|
3763
3788
|
}
|
|
3764
|
-
function
|
|
3789
|
+
function Wi(t, e, r) {
|
|
3765
3790
|
let { $$slots: n = {}, $$scope: i } = e;
|
|
3766
3791
|
return t.$$set = (o) => {
|
|
3767
3792
|
"$$scope" in o && r(0, i = o.$$scope);
|
|
3768
3793
|
}, [i, n];
|
|
3769
3794
|
}
|
|
3770
|
-
class
|
|
3795
|
+
class zi extends U {
|
|
3771
3796
|
constructor(e) {
|
|
3772
|
-
super(), N(this, e,
|
|
3797
|
+
super(), N(this, e, Wi, Vi, T, {}, Ji);
|
|
3773
3798
|
}
|
|
3774
3799
|
}
|
|
3775
|
-
function zi(t) {
|
|
3776
|
-
x(t, "svelte-ioxu5d", ".rcb-modal-container.svelte-ioxu5d{width:100%}.rcb-modal-main.svelte-ioxu5d{box-sizing:border-box;border-radius:8px;background-color:var(--rc-color-white);color:var(--rc-color-grey-text-dark);min-height:460px;padding:40px;flex-direction:column;display:flex}.rcb-modal-dark.svelte-ioxu5d{background-color:var(--rc-color-grey-text-dark);color:var(--rc-color-white);min-height:0px}@media screen and (max-width: 960px){.rcb-modal-container.svelte-ioxu5d{width:calc(100% - 32px);min-width:300px;max-width:640px;margin:auto}.rcb-modal-main.svelte-ioxu5d,.rcb-modal-dark.svelte-ioxu5d{min-width:300px;max-width:640px;padding:32px}}");
|
|
3777
|
-
}
|
|
3778
3800
|
function Xi(t) {
|
|
3801
|
+
F(t, "svelte-ioxu5d", ".rcb-modal-container.svelte-ioxu5d{width:100%}.rcb-modal-main.svelte-ioxu5d{box-sizing:border-box;border-radius:8px;background-color:var(--rc-color-white);color:var(--rc-color-grey-text-dark);min-height:460px;padding:40px;flex-direction:column;display:flex}.rcb-modal-dark.svelte-ioxu5d{background-color:var(--rc-color-grey-text-dark);color:var(--rc-color-white);min-height:0px}@media screen and (max-width: 960px){.rcb-modal-container.svelte-ioxu5d{width:calc(100% - 32px);min-width:300px;max-width:640px;margin:auto}.rcb-modal-main.svelte-ioxu5d,.rcb-modal-dark.svelte-ioxu5d{min-width:300px;max-width:640px;padding:32px}}");
|
|
3802
|
+
}
|
|
3803
|
+
function Zi(t) {
|
|
3779
3804
|
let e, r, n, i;
|
|
3780
3805
|
const o = (
|
|
3781
3806
|
/*#slots*/
|
|
@@ -3793,7 +3818,7 @@ function Xi(t) {
|
|
|
3793
3818
|
t[0] ? "rcb-modal-dark" : ""}`) + " svelte-ioxu5d"), _(e, "class", "rcb-modal-container svelte-ioxu5d");
|
|
3794
3819
|
},
|
|
3795
3820
|
m(l, c) {
|
|
3796
|
-
p(l, e, c),
|
|
3821
|
+
p(l, e, c), Q(e, r), s && s.m(r, null), i = !0;
|
|
3797
3822
|
},
|
|
3798
3823
|
p(l, [c]) {
|
|
3799
3824
|
s && s.p && (!i || c & /*$$scope*/
|
|
@@ -3822,25 +3847,25 @@ function Xi(t) {
|
|
|
3822
3847
|
i || (f(s, l), i = !0);
|
|
3823
3848
|
},
|
|
3824
3849
|
o(l) {
|
|
3825
|
-
|
|
3850
|
+
d(s, l), i = !1;
|
|
3826
3851
|
},
|
|
3827
3852
|
d(l) {
|
|
3828
3853
|
l && g(e), s && s.d(l);
|
|
3829
3854
|
}
|
|
3830
3855
|
};
|
|
3831
3856
|
}
|
|
3832
|
-
function
|
|
3857
|
+
function eo(t, e, r) {
|
|
3833
3858
|
let { $$slots: n = {}, $$scope: i } = e, { dark: o = !1 } = e;
|
|
3834
3859
|
return t.$$set = (s) => {
|
|
3835
3860
|
"dark" in s && r(0, o = s.dark), "$$scope" in s && r(1, i = s.$$scope);
|
|
3836
3861
|
}, [o, i, n];
|
|
3837
3862
|
}
|
|
3838
|
-
class
|
|
3863
|
+
class to extends U {
|
|
3839
3864
|
constructor(e) {
|
|
3840
|
-
super(), N(this, e,
|
|
3865
|
+
super(), N(this, e, eo, Zi, T, { dark: 0 }, Xi);
|
|
3841
3866
|
}
|
|
3842
3867
|
}
|
|
3843
|
-
function
|
|
3868
|
+
function no(t) {
|
|
3844
3869
|
let e;
|
|
3845
3870
|
const r = (
|
|
3846
3871
|
/*#slots*/
|
|
@@ -3884,18 +3909,18 @@ function to(t) {
|
|
|
3884
3909
|
e || (f(n, i), e = !0);
|
|
3885
3910
|
},
|
|
3886
3911
|
o(i) {
|
|
3887
|
-
|
|
3912
|
+
d(n, i), e = !1;
|
|
3888
3913
|
},
|
|
3889
3914
|
d(i) {
|
|
3890
3915
|
n && n.d(i);
|
|
3891
3916
|
}
|
|
3892
3917
|
};
|
|
3893
3918
|
}
|
|
3894
|
-
function
|
|
3919
|
+
function ro(t) {
|
|
3895
3920
|
let e, r;
|
|
3896
|
-
return e = new
|
|
3921
|
+
return e = new zi({
|
|
3897
3922
|
props: {
|
|
3898
|
-
$$slots: { default: [
|
|
3923
|
+
$$slots: { default: [io] },
|
|
3899
3924
|
$$scope: { ctx: t }
|
|
3900
3925
|
}
|
|
3901
3926
|
}), {
|
|
@@ -3914,14 +3939,14 @@ function no(t) {
|
|
|
3914
3939
|
r || (f(e.$$.fragment, n), r = !0);
|
|
3915
3940
|
},
|
|
3916
3941
|
o(n) {
|
|
3917
|
-
|
|
3942
|
+
d(e.$$.fragment, n), r = !1;
|
|
3918
3943
|
},
|
|
3919
3944
|
d(n) {
|
|
3920
3945
|
I(e, n);
|
|
3921
3946
|
}
|
|
3922
3947
|
};
|
|
3923
3948
|
}
|
|
3924
|
-
function
|
|
3949
|
+
function io(t) {
|
|
3925
3950
|
let e;
|
|
3926
3951
|
const r = (
|
|
3927
3952
|
/*#slots*/
|
|
@@ -3965,16 +3990,16 @@ function ro(t) {
|
|
|
3965
3990
|
e || (f(n, i), e = !0);
|
|
3966
3991
|
},
|
|
3967
3992
|
o(i) {
|
|
3968
|
-
|
|
3993
|
+
d(n, i), e = !1;
|
|
3969
3994
|
},
|
|
3970
3995
|
d(i) {
|
|
3971
3996
|
n && n.d(i);
|
|
3972
3997
|
}
|
|
3973
3998
|
};
|
|
3974
3999
|
}
|
|
3975
|
-
function
|
|
4000
|
+
function oo(t) {
|
|
3976
4001
|
let e, r, n, i;
|
|
3977
|
-
const o = [
|
|
4002
|
+
const o = [ro, no], s = [];
|
|
3978
4003
|
function l(c, a) {
|
|
3979
4004
|
return (
|
|
3980
4005
|
/*condition*/
|
|
@@ -3990,7 +4015,7 @@ function io(t) {
|
|
|
3990
4015
|
},
|
|
3991
4016
|
p(c, [a]) {
|
|
3992
4017
|
let u = e;
|
|
3993
|
-
e = l(c), e === u ? s[e].p(c, a) : (H(),
|
|
4018
|
+
e = l(c), e === u ? s[e].p(c, a) : (H(), d(s[u], 1, 1, () => {
|
|
3994
4019
|
s[u] = null;
|
|
3995
4020
|
}), K(), r = s[e], r ? r.p(c, a) : (r = s[e] = o[e](c), r.c()), f(r, 1), r.m(n.parentNode, n));
|
|
3996
4021
|
},
|
|
@@ -3998,26 +4023,26 @@ function io(t) {
|
|
|
3998
4023
|
i || (f(r), i = !0);
|
|
3999
4024
|
},
|
|
4000
4025
|
o(c) {
|
|
4001
|
-
|
|
4026
|
+
d(r), i = !1;
|
|
4002
4027
|
},
|
|
4003
4028
|
d(c) {
|
|
4004
4029
|
c && g(n), s[e].d(c);
|
|
4005
4030
|
}
|
|
4006
4031
|
};
|
|
4007
4032
|
}
|
|
4008
|
-
function
|
|
4033
|
+
function so(t, e, r) {
|
|
4009
4034
|
let { $$slots: n = {}, $$scope: i } = e, { condition: o = !1 } = e;
|
|
4010
4035
|
return t.$$set = (s) => {
|
|
4011
4036
|
"condition" in s && r(0, o = s.condition), "$$scope" in s && r(2, i = s.$$scope);
|
|
4012
4037
|
}, [o, n, i];
|
|
4013
4038
|
}
|
|
4014
|
-
class
|
|
4039
|
+
class lo extends U {
|
|
4015
4040
|
constructor(e) {
|
|
4016
|
-
super(), N(this, e,
|
|
4041
|
+
super(), N(this, e, so, oo, T, { condition: 0 });
|
|
4017
4042
|
}
|
|
4018
4043
|
}
|
|
4019
|
-
const
|
|
4020
|
-
function
|
|
4044
|
+
const co = (t) => ({}), _t = (t) => ({});
|
|
4045
|
+
function ao(t) {
|
|
4021
4046
|
let e, r;
|
|
4022
4047
|
const n = (
|
|
4023
4048
|
/*#slots*/
|
|
@@ -4040,7 +4065,7 @@ function co(t) {
|
|
|
4040
4065
|
);
|
|
4041
4066
|
return {
|
|
4042
4067
|
c() {
|
|
4043
|
-
i && i.c(), e =
|
|
4068
|
+
i && i.c(), e = C(), s && s.c();
|
|
4044
4069
|
},
|
|
4045
4070
|
m(l, c) {
|
|
4046
4071
|
i && i.m(l, c), p(l, e, c), s && s.m(l, c), r = !0;
|
|
@@ -4058,7 +4083,7 @@ function co(t) {
|
|
|
4058
4083
|
/*$$scope*/
|
|
4059
4084
|
l[2],
|
|
4060
4085
|
c,
|
|
4061
|
-
|
|
4086
|
+
co
|
|
4062
4087
|
) : V(
|
|
4063
4088
|
/*$$scope*/
|
|
4064
4089
|
l[2]
|
|
@@ -4088,22 +4113,22 @@ function co(t) {
|
|
|
4088
4113
|
r || (f(i, l), f(s, l), r = !0);
|
|
4089
4114
|
},
|
|
4090
4115
|
o(l) {
|
|
4091
|
-
|
|
4116
|
+
d(i, l), d(s, l), r = !1;
|
|
4092
4117
|
},
|
|
4093
4118
|
d(l) {
|
|
4094
4119
|
l && g(e), i && i.d(l), s && s.d(l);
|
|
4095
4120
|
}
|
|
4096
4121
|
};
|
|
4097
4122
|
}
|
|
4098
|
-
function
|
|
4123
|
+
function uo(t) {
|
|
4099
4124
|
let e, r;
|
|
4100
|
-
return e = new
|
|
4125
|
+
return e = new to({
|
|
4101
4126
|
props: {
|
|
4102
4127
|
dark: (
|
|
4103
4128
|
/*dark*/
|
|
4104
4129
|
t[0]
|
|
4105
4130
|
),
|
|
4106
|
-
$$slots: { default: [
|
|
4131
|
+
$$slots: { default: [ao] },
|
|
4107
4132
|
$$scope: { ctx: t }
|
|
4108
4133
|
}
|
|
4109
4134
|
}), {
|
|
@@ -4124,29 +4149,29 @@ function ao(t) {
|
|
|
4124
4149
|
r || (f(e.$$.fragment, n), r = !0);
|
|
4125
4150
|
},
|
|
4126
4151
|
o(n) {
|
|
4127
|
-
|
|
4152
|
+
d(e.$$.fragment, n), r = !1;
|
|
4128
4153
|
},
|
|
4129
4154
|
d(n) {
|
|
4130
4155
|
I(e, n);
|
|
4131
4156
|
}
|
|
4132
4157
|
};
|
|
4133
4158
|
}
|
|
4134
|
-
function
|
|
4159
|
+
function fo(t, e, r) {
|
|
4135
4160
|
let { $$slots: n = {}, $$scope: i } = e, { dark: o = !1 } = e;
|
|
4136
4161
|
return t.$$set = (s) => {
|
|
4137
4162
|
"dark" in s && r(0, o = s.dark), "$$scope" in s && r(2, i = s.$$scope);
|
|
4138
4163
|
}, [o, n, i];
|
|
4139
4164
|
}
|
|
4140
|
-
class
|
|
4165
|
+
class xt extends U {
|
|
4141
4166
|
constructor(e) {
|
|
4142
|
-
super(), N(this, e,
|
|
4167
|
+
super(), N(this, e, fo, uo, T, { dark: 0 });
|
|
4143
4168
|
}
|
|
4144
4169
|
}
|
|
4145
|
-
const
|
|
4146
|
-
var
|
|
4170
|
+
const mo = "0.3.4", fe = "https://api.revenuecat.com";
|
|
4171
|
+
var Se;
|
|
4147
4172
|
(function(t) {
|
|
4148
4173
|
t[t.CONTINUE = 100] = "CONTINUE", t[t.SWITCHING_PROTOCOLS = 101] = "SWITCHING_PROTOCOLS", t[t.PROCESSING = 102] = "PROCESSING", t[t.EARLY_HINTS = 103] = "EARLY_HINTS", t[t.OK = 200] = "OK", t[t.CREATED = 201] = "CREATED", t[t.ACCEPTED = 202] = "ACCEPTED", t[t.NON_AUTHORITATIVE_INFORMATION = 203] = "NON_AUTHORITATIVE_INFORMATION", t[t.NO_CONTENT = 204] = "NO_CONTENT", t[t.RESET_CONTENT = 205] = "RESET_CONTENT", t[t.PARTIAL_CONTENT = 206] = "PARTIAL_CONTENT", t[t.MULTI_STATUS = 207] = "MULTI_STATUS", t[t.MULTIPLE_CHOICES = 300] = "MULTIPLE_CHOICES", t[t.MOVED_PERMANENTLY = 301] = "MOVED_PERMANENTLY", t[t.MOVED_TEMPORARILY = 302] = "MOVED_TEMPORARILY", t[t.SEE_OTHER = 303] = "SEE_OTHER", t[t.NOT_MODIFIED = 304] = "NOT_MODIFIED", t[t.USE_PROXY = 305] = "USE_PROXY", t[t.TEMPORARY_REDIRECT = 307] = "TEMPORARY_REDIRECT", t[t.PERMANENT_REDIRECT = 308] = "PERMANENT_REDIRECT", t[t.BAD_REQUEST = 400] = "BAD_REQUEST", t[t.UNAUTHORIZED = 401] = "UNAUTHORIZED", t[t.PAYMENT_REQUIRED = 402] = "PAYMENT_REQUIRED", t[t.FORBIDDEN = 403] = "FORBIDDEN", t[t.NOT_FOUND = 404] = "NOT_FOUND", t[t.METHOD_NOT_ALLOWED = 405] = "METHOD_NOT_ALLOWED", t[t.NOT_ACCEPTABLE = 406] = "NOT_ACCEPTABLE", t[t.PROXY_AUTHENTICATION_REQUIRED = 407] = "PROXY_AUTHENTICATION_REQUIRED", t[t.REQUEST_TIMEOUT = 408] = "REQUEST_TIMEOUT", t[t.CONFLICT = 409] = "CONFLICT", t[t.GONE = 410] = "GONE", t[t.LENGTH_REQUIRED = 411] = "LENGTH_REQUIRED", t[t.PRECONDITION_FAILED = 412] = "PRECONDITION_FAILED", t[t.REQUEST_TOO_LONG = 413] = "REQUEST_TOO_LONG", t[t.REQUEST_URI_TOO_LONG = 414] = "REQUEST_URI_TOO_LONG", t[t.UNSUPPORTED_MEDIA_TYPE = 415] = "UNSUPPORTED_MEDIA_TYPE", t[t.REQUESTED_RANGE_NOT_SATISFIABLE = 416] = "REQUESTED_RANGE_NOT_SATISFIABLE", t[t.EXPECTATION_FAILED = 417] = "EXPECTATION_FAILED", t[t.IM_A_TEAPOT = 418] = "IM_A_TEAPOT", t[t.INSUFFICIENT_SPACE_ON_RESOURCE = 419] = "INSUFFICIENT_SPACE_ON_RESOURCE", t[t.METHOD_FAILURE = 420] = "METHOD_FAILURE", t[t.MISDIRECTED_REQUEST = 421] = "MISDIRECTED_REQUEST", t[t.UNPROCESSABLE_ENTITY = 422] = "UNPROCESSABLE_ENTITY", t[t.LOCKED = 423] = "LOCKED", t[t.FAILED_DEPENDENCY = 424] = "FAILED_DEPENDENCY", t[t.UPGRADE_REQUIRED = 426] = "UPGRADE_REQUIRED", t[t.PRECONDITION_REQUIRED = 428] = "PRECONDITION_REQUIRED", t[t.TOO_MANY_REQUESTS = 429] = "TOO_MANY_REQUESTS", t[t.REQUEST_HEADER_FIELDS_TOO_LARGE = 431] = "REQUEST_HEADER_FIELDS_TOO_LARGE", t[t.UNAVAILABLE_FOR_LEGAL_REASONS = 451] = "UNAVAILABLE_FOR_LEGAL_REASONS", t[t.INTERNAL_SERVER_ERROR = 500] = "INTERNAL_SERVER_ERROR", t[t.NOT_IMPLEMENTED = 501] = "NOT_IMPLEMENTED", t[t.BAD_GATEWAY = 502] = "BAD_GATEWAY", t[t.SERVICE_UNAVAILABLE = 503] = "SERVICE_UNAVAILABLE", t[t.GATEWAY_TIMEOUT = 504] = "GATEWAY_TIMEOUT", t[t.HTTP_VERSION_NOT_SUPPORTED = 505] = "HTTP_VERSION_NOT_SUPPORTED", t[t.INSUFFICIENT_STORAGE = 507] = "INSUFFICIENT_STORAGE", t[t.NETWORK_AUTHENTICATION_REQUIRED = 511] = "NETWORK_AUTHENTICATION_REQUIRED";
|
|
4149
|
-
})(
|
|
4174
|
+
})(Se || (Se = {}));
|
|
4150
4175
|
function je(t) {
|
|
4151
4176
|
return t ? t.startsWith("rcb_sb_") : !1;
|
|
4152
4177
|
}
|
|
@@ -4154,23 +4179,23 @@ async function oe(t, e, r, n) {
|
|
|
4154
4179
|
try {
|
|
4155
4180
|
const i = await fetch(t.url(), {
|
|
4156
4181
|
method: t.method,
|
|
4157
|
-
headers:
|
|
4158
|
-
body:
|
|
4182
|
+
headers: _o(e, n),
|
|
4183
|
+
body: po(r)
|
|
4159
4184
|
});
|
|
4160
|
-
return await
|
|
4185
|
+
return await go(i, t), await i.json();
|
|
4161
4186
|
} catch (i) {
|
|
4162
4187
|
throw i instanceof TypeError ? new X(
|
|
4163
|
-
|
|
4164
|
-
he.getPublicMessage(
|
|
4188
|
+
Z.NetworkError,
|
|
4189
|
+
he.getPublicMessage(Z.NetworkError),
|
|
4165
4190
|
i.message
|
|
4166
4191
|
) : i;
|
|
4167
4192
|
}
|
|
4168
4193
|
}
|
|
4169
|
-
async function
|
|
4194
|
+
async function go(t, e) {
|
|
4170
4195
|
const r = t.status;
|
|
4171
|
-
if (r >=
|
|
4196
|
+
if (r >= Se.INTERNAL_SERVER_ERROR)
|
|
4172
4197
|
Ye(e, r, await t.text());
|
|
4173
|
-
else if (r >=
|
|
4198
|
+
else if (r >= Se.BAD_REQUEST) {
|
|
4174
4199
|
const n = await t.json(), i = n ? JSON.stringify(n) : null, o = n == null ? void 0 : n.code, s = n == null ? void 0 : n.message;
|
|
4175
4200
|
if (o != null) {
|
|
4176
4201
|
const l = he.convertCodeToBackendErrorCode(o);
|
|
@@ -4187,30 +4212,30 @@ async function mo(t, e) {
|
|
|
4187
4212
|
}
|
|
4188
4213
|
function Ye(t, e, r) {
|
|
4189
4214
|
throw new X(
|
|
4190
|
-
|
|
4215
|
+
Z.UnknownBackendError,
|
|
4191
4216
|
`Unknown backend error. Request: ${t.name}. Status code: ${e}. Body: ${r}.`
|
|
4192
4217
|
);
|
|
4193
4218
|
}
|
|
4194
|
-
function
|
|
4219
|
+
function po(t) {
|
|
4195
4220
|
return t == null ? null : JSON.stringify(t);
|
|
4196
4221
|
}
|
|
4197
|
-
function
|
|
4222
|
+
function _o(t, e) {
|
|
4198
4223
|
let r = {
|
|
4199
4224
|
Authorization: `Bearer ${t}`,
|
|
4200
4225
|
"Content-Type": "application/json",
|
|
4201
4226
|
Accept: "application/json",
|
|
4202
4227
|
"X-Platform": "web",
|
|
4203
|
-
"X-Version":
|
|
4228
|
+
"X-Version": mo,
|
|
4204
4229
|
"X-Is-Sandbox": `${je(t)}`
|
|
4205
4230
|
};
|
|
4206
4231
|
return e != null && (r = { ...r, ...e }), r;
|
|
4207
4232
|
}
|
|
4208
4233
|
const Gt = "/v1/subscribers", Le = "/rcbilling/v1";
|
|
4209
|
-
class
|
|
4234
|
+
class Ao {
|
|
4210
4235
|
constructor(e) {
|
|
4211
|
-
|
|
4212
|
-
|
|
4213
|
-
|
|
4236
|
+
P(this, "appUserId");
|
|
4237
|
+
P(this, "method", "GET");
|
|
4238
|
+
P(this, "name", "getOfferings");
|
|
4214
4239
|
this.appUserId = e;
|
|
4215
4240
|
}
|
|
4216
4241
|
url() {
|
|
@@ -4218,21 +4243,21 @@ class _o {
|
|
|
4218
4243
|
return `${fe}${Gt}/${e}/offerings`;
|
|
4219
4244
|
}
|
|
4220
4245
|
}
|
|
4221
|
-
class
|
|
4246
|
+
class ho {
|
|
4222
4247
|
constructor() {
|
|
4223
|
-
|
|
4224
|
-
|
|
4248
|
+
P(this, "method", "POST");
|
|
4249
|
+
P(this, "name", "subscribe");
|
|
4225
4250
|
}
|
|
4226
4251
|
url() {
|
|
4227
4252
|
return `${fe}${Le}/subscribe`;
|
|
4228
4253
|
}
|
|
4229
4254
|
}
|
|
4230
|
-
class
|
|
4255
|
+
class Eo {
|
|
4231
4256
|
constructor(e, r) {
|
|
4232
|
-
|
|
4233
|
-
|
|
4234
|
-
|
|
4235
|
-
|
|
4257
|
+
P(this, "method", "GET");
|
|
4258
|
+
P(this, "name", "getProducts");
|
|
4259
|
+
P(this, "appUserId");
|
|
4260
|
+
P(this, "productIds");
|
|
4236
4261
|
this.appUserId = e, this.productIds = r;
|
|
4237
4262
|
}
|
|
4238
4263
|
url() {
|
|
@@ -4240,11 +4265,11 @@ class ho {
|
|
|
4240
4265
|
return `${fe}${Le}/subscribers/${e}/products?id=${r}`;
|
|
4241
4266
|
}
|
|
4242
4267
|
}
|
|
4243
|
-
class
|
|
4268
|
+
class bo {
|
|
4244
4269
|
constructor(e) {
|
|
4245
|
-
|
|
4246
|
-
|
|
4247
|
-
|
|
4270
|
+
P(this, "method", "GET");
|
|
4271
|
+
P(this, "name", "getCustomerInfo");
|
|
4272
|
+
P(this, "appUserId");
|
|
4248
4273
|
this.appUserId = e;
|
|
4249
4274
|
}
|
|
4250
4275
|
url() {
|
|
@@ -4252,52 +4277,52 @@ class Eo {
|
|
|
4252
4277
|
return `${fe}${Gt}/${e}`;
|
|
4253
4278
|
}
|
|
4254
4279
|
}
|
|
4255
|
-
class
|
|
4280
|
+
class Io {
|
|
4256
4281
|
constructor() {
|
|
4257
|
-
|
|
4258
|
-
|
|
4282
|
+
P(this, "method", "GET");
|
|
4283
|
+
P(this, "name", "getBrandingInfo");
|
|
4259
4284
|
}
|
|
4260
4285
|
url() {
|
|
4261
4286
|
return `${fe}${Le}/branding`;
|
|
4262
4287
|
}
|
|
4263
4288
|
}
|
|
4264
|
-
class
|
|
4289
|
+
class wo {
|
|
4265
4290
|
constructor(e) {
|
|
4266
|
-
|
|
4267
|
-
|
|
4268
|
-
|
|
4291
|
+
P(this, "method", "GET");
|
|
4292
|
+
P(this, "name", "getCheckoutStatus");
|
|
4293
|
+
P(this, "operationSessionId");
|
|
4269
4294
|
this.operationSessionId = e;
|
|
4270
4295
|
}
|
|
4271
4296
|
url() {
|
|
4272
4297
|
return `${fe}${Le}/checkout/${this.operationSessionId}`;
|
|
4273
4298
|
}
|
|
4274
4299
|
}
|
|
4275
|
-
class
|
|
4300
|
+
class ko {
|
|
4276
4301
|
constructor(e) {
|
|
4277
|
-
|
|
4302
|
+
P(this, "API_KEY");
|
|
4278
4303
|
this.API_KEY = e;
|
|
4279
4304
|
}
|
|
4280
4305
|
async getOfferings(e) {
|
|
4281
4306
|
return await oe(
|
|
4282
|
-
new
|
|
4307
|
+
new Ao(e),
|
|
4283
4308
|
this.API_KEY
|
|
4284
4309
|
);
|
|
4285
4310
|
}
|
|
4286
4311
|
async getCustomerInfo(e) {
|
|
4287
4312
|
return await oe(
|
|
4288
|
-
new
|
|
4313
|
+
new bo(e),
|
|
4289
4314
|
this.API_KEY
|
|
4290
4315
|
);
|
|
4291
4316
|
}
|
|
4292
4317
|
async getProducts(e, r) {
|
|
4293
4318
|
return await oe(
|
|
4294
|
-
new
|
|
4319
|
+
new Eo(e, r),
|
|
4295
4320
|
this.API_KEY
|
|
4296
4321
|
);
|
|
4297
4322
|
}
|
|
4298
4323
|
async getBrandingInfo() {
|
|
4299
4324
|
return await oe(
|
|
4300
|
-
new
|
|
4325
|
+
new Io(),
|
|
4301
4326
|
this.API_KEY
|
|
4302
4327
|
);
|
|
4303
4328
|
}
|
|
@@ -4309,24 +4334,24 @@ class wo {
|
|
|
4309
4334
|
presented_offering_identifier: i
|
|
4310
4335
|
};
|
|
4311
4336
|
return o && o !== "base_option" && (s.offer_id = o), await oe(
|
|
4312
|
-
new
|
|
4337
|
+
new ho(),
|
|
4313
4338
|
this.API_KEY,
|
|
4314
4339
|
s
|
|
4315
4340
|
);
|
|
4316
4341
|
}
|
|
4317
4342
|
async getCheckoutStatus(e) {
|
|
4318
4343
|
return await oe(
|
|
4319
|
-
new
|
|
4344
|
+
new wo(e),
|
|
4320
4345
|
this.API_KEY
|
|
4321
4346
|
);
|
|
4322
4347
|
}
|
|
4323
4348
|
}
|
|
4324
|
-
const
|
|
4325
|
-
function
|
|
4349
|
+
const $o = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20opacity='0.5'%20clip-path='url(%23clip0_344_3390)'%3e%3cpath%20d='M7%2018C5.9%2018%205.01%2018.9%205.01%2020C5.01%2021.1%205.9%2022%207%2022C8.1%2022%209%2021.1%209%2020C9%2018.9%208.1%2018%207%2018ZM1%202V4H3L6.6%2011.59L5.25%2014.04C5.09%2014.32%205%2014.65%205%2015C5%2016.1%205.9%2017%207%2017H19V15H7.42C7.28%2015%207.17%2014.89%207.17%2014.75L7.2%2014.63L8.1%2013H15.55C16.3%2013%2016.96%2012.59%2017.3%2011.97L20.88%205.48C20.96%205.34%2021%205.17%2021%205C21%204.45%2020.55%204%2020%204H5.21L4.27%202H1ZM17%2018C15.9%2018%2015.01%2018.9%2015.01%2020C15.01%2021.1%2015.9%2022%2017%2022C18.1%2022%2019%2021.1%2019%2020C19%2018.9%2018.1%2018%2017%2018Z'%20fill='white'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_344_3390'%3e%3crect%20width='24'%20height='24'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";
|
|
4350
|
+
function vo(t) {
|
|
4326
4351
|
let e, r;
|
|
4327
4352
|
return {
|
|
4328
4353
|
c() {
|
|
4329
|
-
e = k("img"),
|
|
4354
|
+
e = k("img"), ee(e.src, r = $o) || _(e, "src", r), _(e, "alt", "icon"), _(e, "class", "rcb-ui-asset-icon");
|
|
4330
4355
|
},
|
|
4331
4356
|
m(n, i) {
|
|
4332
4357
|
p(n, e, i);
|
|
@@ -4339,15 +4364,15 @@ function $o(t) {
|
|
|
4339
4364
|
}
|
|
4340
4365
|
};
|
|
4341
4366
|
}
|
|
4342
|
-
class
|
|
4367
|
+
class yo extends U {
|
|
4343
4368
|
constructor(e) {
|
|
4344
|
-
super(), N(this, e, null,
|
|
4369
|
+
super(), N(this, e, null, vo, T, {});
|
|
4345
4370
|
}
|
|
4346
4371
|
}
|
|
4347
|
-
function yo(t) {
|
|
4348
|
-
x(t, "svelte-1rhrjxe", "div.svelte-1rhrjxe{background-color:var(--rc-color-warning);color:var(--rc-color-grey-text-dark);font-size:10px;font-weight:bold;text-transform:uppercase;padding:4px 10px;line-height:10px;border-radius:9px;margin:0px;margin-left:16px}");
|
|
4349
|
-
}
|
|
4350
4372
|
function Bo(t) {
|
|
4373
|
+
F(t, "svelte-1rhrjxe", "div.svelte-1rhrjxe{background-color:var(--rc-color-warning);color:var(--rc-color-grey-text-dark);font-size:10px;font-weight:bold;text-transform:uppercase;padding:4px 10px;line-height:10px;border-radius:9px;margin:0px;margin-left:16px}");
|
|
4374
|
+
}
|
|
4375
|
+
function Do(t) {
|
|
4351
4376
|
let e;
|
|
4352
4377
|
return {
|
|
4353
4378
|
c() {
|
|
@@ -4364,23 +4389,23 @@ function Bo(t) {
|
|
|
4364
4389
|
}
|
|
4365
4390
|
};
|
|
4366
4391
|
}
|
|
4367
|
-
class
|
|
4392
|
+
class Mo extends U {
|
|
4368
4393
|
constructor(e) {
|
|
4369
|
-
super(), N(this, e, null,
|
|
4394
|
+
super(), N(this, e, null, Do, T, {}, Bo);
|
|
4370
4395
|
}
|
|
4371
4396
|
}
|
|
4372
|
-
function
|
|
4373
|
-
|
|
4397
|
+
function Qo(t) {
|
|
4398
|
+
F(t, "svelte-1qect5g", `.rcb-ui-container.svelte-1qect5g{color-scheme:none;font-size:16px;line-height:1.5em;font-weight:400;font-family:-apple-system, "system-ui", "Segoe UI", Roboto, Oxygen, Ubuntu,
|
|
4374
4399
|
Cantarell, "Open Sans", "Helvetica Neue", sans-serif}.rcb-ui-layout.svelte-1qect5g{width:100vw;width:100 dvw;margin-right:auto;display:flex;justify-content:center;align-items:flex-start;position:relative;padding:0px 80px;box-sizing:border-box}.rcb-ui-aside.svelte-1qect5g{margin-right:16px;flex:320px 1 0;max-width:480px}.rcb-ui-main.svelte-1qect5g{flex:480px 1 0;max-width:640px}@media screen and (max-width: 960px){.rcb-ui-layout.svelte-1qect5g{flex-direction:column;align-items:center;justify-content:center;height:100%;min-width:100%}.rcb-ui-aside.svelte-1qect5g{margin-right:0;margin-bottom:16px;min-width:100%;display:flex;flex-direction:column;align-items:center;flex:none;max-width:none}.rcb-ui-main.svelte-1qect5g{flex:none;max-width:none;min-width:100%}}@media screen and (max-width: 960px) and (max-height: 960px){.rcb-ui-layout.svelte-1qect5g{overflow-y:scroll;justify-content:flex-start;padding:16px 0px}}`);
|
|
4375
4400
|
}
|
|
4376
4401
|
function At(t) {
|
|
4377
4402
|
let e, r, n;
|
|
4378
|
-
return r = new
|
|
4403
|
+
return r = new xt({
|
|
4379
4404
|
props: {
|
|
4380
4405
|
dark: !0,
|
|
4381
4406
|
$$slots: {
|
|
4382
|
-
header: [
|
|
4383
|
-
default: [
|
|
4407
|
+
header: [Uo],
|
|
4408
|
+
default: [Po]
|
|
4384
4409
|
},
|
|
4385
4410
|
$$scope: { ctx: t }
|
|
4386
4411
|
}
|
|
@@ -4393,14 +4418,14 @@ function At(t) {
|
|
|
4393
4418
|
},
|
|
4394
4419
|
p(i, o) {
|
|
4395
4420
|
const s = {};
|
|
4396
|
-
o & /*$$scope, purchases, brandingInfo, productDetails
|
|
4397
|
-
|
|
4421
|
+
o & /*$$scope, purchases, brandingInfo, productDetails*/
|
|
4422
|
+
67108878 && (s.$$scope = { dirty: o, ctx: i }), r.$set(s);
|
|
4398
4423
|
},
|
|
4399
4424
|
i(i) {
|
|
4400
4425
|
n || (f(r.$$.fragment, i), n = !0);
|
|
4401
4426
|
},
|
|
4402
4427
|
o(i) {
|
|
4403
|
-
|
|
4428
|
+
d(r.$$.fragment, i), n = !1;
|
|
4404
4429
|
},
|
|
4405
4430
|
d(i) {
|
|
4406
4431
|
i && g(e), I(r);
|
|
@@ -4409,15 +4434,15 @@ function At(t) {
|
|
|
4409
4434
|
}
|
|
4410
4435
|
function ht(t) {
|
|
4411
4436
|
let e, r;
|
|
4412
|
-
return e = new
|
|
4437
|
+
return e = new Ct({
|
|
4413
4438
|
props: {
|
|
4414
4439
|
productDetails: (
|
|
4415
4440
|
/*productDetails*/
|
|
4416
|
-
t[
|
|
4441
|
+
t[2]
|
|
4417
4442
|
),
|
|
4418
4443
|
purchaseOption: (
|
|
4419
|
-
/*
|
|
4420
|
-
t[
|
|
4444
|
+
/*purchaseOptionToUse*/
|
|
4445
|
+
t[8]
|
|
4421
4446
|
)
|
|
4422
4447
|
}
|
|
4423
4448
|
}), {
|
|
@@ -4430,27 +4455,25 @@ function ht(t) {
|
|
|
4430
4455
|
p(n, i) {
|
|
4431
4456
|
const o = {};
|
|
4432
4457
|
i & /*productDetails*/
|
|
4433
|
-
|
|
4434
|
-
n[
|
|
4435
|
-
2 && (o.purchaseOption = /*purchaseOption*/
|
|
4436
|
-
n[1]), e.$set(o);
|
|
4458
|
+
4 && (o.productDetails = /*productDetails*/
|
|
4459
|
+
n[2]), e.$set(o);
|
|
4437
4460
|
},
|
|
4438
4461
|
i(n) {
|
|
4439
4462
|
r || (f(e.$$.fragment, n), r = !0);
|
|
4440
4463
|
},
|
|
4441
4464
|
o(n) {
|
|
4442
|
-
|
|
4465
|
+
d(e.$$.fragment, n), r = !1;
|
|
4443
4466
|
},
|
|
4444
4467
|
d(n) {
|
|
4445
4468
|
I(e, n);
|
|
4446
4469
|
}
|
|
4447
4470
|
};
|
|
4448
4471
|
}
|
|
4449
|
-
function
|
|
4472
|
+
function Po(t) {
|
|
4450
4473
|
let e, r, n = (
|
|
4451
4474
|
/*productDetails*/
|
|
4452
|
-
t[
|
|
4453
|
-
t[
|
|
4475
|
+
t[2] && /*purchaseOptionToUse*/
|
|
4476
|
+
t[8] && ht(t)
|
|
4454
4477
|
);
|
|
4455
4478
|
return {
|
|
4456
4479
|
c() {
|
|
@@ -4461,9 +4484,9 @@ function Co(t) {
|
|
|
4461
4484
|
},
|
|
4462
4485
|
p(i, o) {
|
|
4463
4486
|
/*productDetails*/
|
|
4464
|
-
i[
|
|
4465
|
-
i[
|
|
4466
|
-
|
|
4487
|
+
i[2] && /*purchaseOptionToUse*/
|
|
4488
|
+
i[8] ? n ? (n.p(i, o), o & /*productDetails*/
|
|
4489
|
+
4 && f(n, 1)) : (n = ht(i), n.c(), f(n, 1), n.m(e.parentNode, e)) : n && (H(), d(n, 1, 1, () => {
|
|
4467
4490
|
n = null;
|
|
4468
4491
|
}), K());
|
|
4469
4492
|
},
|
|
@@ -4471,16 +4494,16 @@ function Co(t) {
|
|
|
4471
4494
|
r || (f(n), r = !0);
|
|
4472
4495
|
},
|
|
4473
4496
|
o(i) {
|
|
4474
|
-
|
|
4497
|
+
d(n), r = !1;
|
|
4475
4498
|
},
|
|
4476
4499
|
d(i) {
|
|
4477
4500
|
i && g(e), n && n.d(i);
|
|
4478
4501
|
}
|
|
4479
4502
|
};
|
|
4480
4503
|
}
|
|
4481
|
-
function
|
|
4504
|
+
function Co(t) {
|
|
4482
4505
|
let e, r;
|
|
4483
|
-
return e = new
|
|
4506
|
+
return e = new yo({}), {
|
|
4484
4507
|
c() {
|
|
4485
4508
|
w(e.$$.fragment);
|
|
4486
4509
|
},
|
|
@@ -4491,16 +4514,16 @@ function Qo(t) {
|
|
|
4491
4514
|
r || (f(e.$$.fragment, n), r = !0);
|
|
4492
4515
|
},
|
|
4493
4516
|
o(n) {
|
|
4494
|
-
|
|
4517
|
+
d(e.$$.fragment, n), r = !1;
|
|
4495
4518
|
},
|
|
4496
4519
|
d(n) {
|
|
4497
4520
|
I(e, n);
|
|
4498
4521
|
}
|
|
4499
4522
|
};
|
|
4500
4523
|
}
|
|
4501
|
-
function
|
|
4524
|
+
function To(t) {
|
|
4502
4525
|
let e, r;
|
|
4503
|
-
return e = new
|
|
4526
|
+
return e = new Mo({}), {
|
|
4504
4527
|
c() {
|
|
4505
4528
|
w(e.$$.fragment);
|
|
4506
4529
|
},
|
|
@@ -4511,61 +4534,61 @@ function Po(t) {
|
|
|
4511
4534
|
r || (f(e.$$.fragment, n), r = !0);
|
|
4512
4535
|
},
|
|
4513
4536
|
o(n) {
|
|
4514
|
-
|
|
4537
|
+
d(e.$$.fragment, n), r = !1;
|
|
4515
4538
|
},
|
|
4516
4539
|
d(n) {
|
|
4517
4540
|
I(e, n);
|
|
4518
4541
|
}
|
|
4519
4542
|
};
|
|
4520
4543
|
}
|
|
4521
|
-
function
|
|
4544
|
+
function No(t) {
|
|
4522
4545
|
let e, r, n, i, o, s, l;
|
|
4523
4546
|
e = new Ut({
|
|
4524
4547
|
props: { brandingInfo: (
|
|
4525
4548
|
/*brandingInfo*/
|
|
4526
|
-
t[
|
|
4549
|
+
t[3]
|
|
4527
4550
|
) }
|
|
4528
4551
|
});
|
|
4529
|
-
const c = [
|
|
4530
|
-
function u(
|
|
4531
|
-
return
|
|
4532
|
-
|
|
4533
|
-
|
|
4552
|
+
const c = [To, Co], a = [];
|
|
4553
|
+
function u(m, A) {
|
|
4554
|
+
return A & /*purchases*/
|
|
4555
|
+
2 && (n = null), n == null && (n = !!/*purchases*/
|
|
4556
|
+
m[1].isSandbox()), n ? 0 : 1;
|
|
4534
4557
|
}
|
|
4535
4558
|
return i = u(t, -1), o = a[i] = c[i](t), {
|
|
4536
4559
|
c() {
|
|
4537
|
-
w(e.$$.fragment), r =
|
|
4560
|
+
w(e.$$.fragment), r = C(), o.c(), s = te();
|
|
4538
4561
|
},
|
|
4539
|
-
m(
|
|
4540
|
-
b(e,
|
|
4562
|
+
m(m, A) {
|
|
4563
|
+
b(e, m, A), p(m, r, A), a[i].m(m, A), p(m, s, A), l = !0;
|
|
4541
4564
|
},
|
|
4542
|
-
p(
|
|
4565
|
+
p(m, A) {
|
|
4543
4566
|
const $ = {};
|
|
4544
|
-
|
|
4545
|
-
|
|
4546
|
-
|
|
4567
|
+
A & /*brandingInfo*/
|
|
4568
|
+
8 && ($.brandingInfo = /*brandingInfo*/
|
|
4569
|
+
m[3]), e.$set($);
|
|
4547
4570
|
let E = i;
|
|
4548
|
-
i = u(
|
|
4571
|
+
i = u(m, A), i !== E && (H(), d(a[E], 1, 1, () => {
|
|
4549
4572
|
a[E] = null;
|
|
4550
|
-
}), K(), o = a[i], o || (o = a[i] = c[i](
|
|
4573
|
+
}), K(), o = a[i], o || (o = a[i] = c[i](m), o.c()), f(o, 1), o.m(s.parentNode, s));
|
|
4551
4574
|
},
|
|
4552
|
-
i(
|
|
4553
|
-
l || (f(e.$$.fragment,
|
|
4575
|
+
i(m) {
|
|
4576
|
+
l || (f(e.$$.fragment, m), f(o), l = !0);
|
|
4554
4577
|
},
|
|
4555
|
-
o(
|
|
4556
|
-
|
|
4578
|
+
o(m) {
|
|
4579
|
+
d(e.$$.fragment, m), d(o), l = !1;
|
|
4557
4580
|
},
|
|
4558
|
-
d(
|
|
4559
|
-
|
|
4581
|
+
d(m) {
|
|
4582
|
+
m && (g(r), g(s)), I(e, m), a[i].d(m);
|
|
4560
4583
|
}
|
|
4561
4584
|
};
|
|
4562
4585
|
}
|
|
4563
|
-
function
|
|
4586
|
+
function Uo(t) {
|
|
4564
4587
|
let e, r;
|
|
4565
4588
|
return e = new Xe({
|
|
4566
4589
|
props: {
|
|
4567
4590
|
slot: "header",
|
|
4568
|
-
$$slots: { default: [
|
|
4591
|
+
$$slots: { default: [No] },
|
|
4569
4592
|
$$scope: { ctx: t }
|
|
4570
4593
|
}
|
|
4571
4594
|
}), {
|
|
@@ -4578,13 +4601,13 @@ function No(t) {
|
|
|
4578
4601
|
p(n, i) {
|
|
4579
4602
|
const o = {};
|
|
4580
4603
|
i & /*$$scope, purchases, brandingInfo*/
|
|
4581
|
-
|
|
4604
|
+
67108874 && (o.$$scope = { dirty: i, ctx: n }), e.$set(o);
|
|
4582
4605
|
},
|
|
4583
4606
|
i(n) {
|
|
4584
4607
|
r || (f(e.$$.fragment, n), r = !0);
|
|
4585
4608
|
},
|
|
4586
4609
|
o(n) {
|
|
4587
|
-
|
|
4610
|
+
d(e.$$.fragment, n), r = !1;
|
|
4588
4611
|
},
|
|
4589
4612
|
d(n) {
|
|
4590
4613
|
I(e, n);
|
|
@@ -4593,15 +4616,15 @@ function No(t) {
|
|
|
4593
4616
|
}
|
|
4594
4617
|
function Et(t) {
|
|
4595
4618
|
let e, r;
|
|
4596
|
-
return e = new
|
|
4619
|
+
return e = new Ct({
|
|
4597
4620
|
props: {
|
|
4598
4621
|
productDetails: (
|
|
4599
4622
|
/*productDetails*/
|
|
4600
|
-
t[
|
|
4623
|
+
t[2]
|
|
4601
4624
|
),
|
|
4602
4625
|
purchaseOption: (
|
|
4603
|
-
/*
|
|
4604
|
-
t[
|
|
4626
|
+
/*purchaseOptionToUse*/
|
|
4627
|
+
t[8]
|
|
4605
4628
|
)
|
|
4606
4629
|
}
|
|
4607
4630
|
}), {
|
|
@@ -4614,16 +4637,14 @@ function Et(t) {
|
|
|
4614
4637
|
p(n, i) {
|
|
4615
4638
|
const o = {};
|
|
4616
4639
|
i & /*productDetails*/
|
|
4617
|
-
|
|
4618
|
-
n[
|
|
4619
|
-
2 && (o.purchaseOption = /*purchaseOption*/
|
|
4620
|
-
n[1]), e.$set(o);
|
|
4640
|
+
4 && (o.productDetails = /*productDetails*/
|
|
4641
|
+
n[2]), e.$set(o);
|
|
4621
4642
|
},
|
|
4622
4643
|
i(n) {
|
|
4623
4644
|
r || (f(e.$$.fragment, n), r = !0);
|
|
4624
4645
|
},
|
|
4625
4646
|
o(n) {
|
|
4626
|
-
|
|
4647
|
+
d(e.$$.fragment, n), r = !1;
|
|
4627
4648
|
},
|
|
4628
4649
|
d(n) {
|
|
4629
4650
|
I(e, n);
|
|
@@ -4643,7 +4664,7 @@ function bt(t) {
|
|
|
4643
4664
|
r || (f(e.$$.fragment, n), r = !0);
|
|
4644
4665
|
},
|
|
4645
4666
|
o(n) {
|
|
4646
|
-
|
|
4667
|
+
d(e.$$.fragment, n), r = !1;
|
|
4647
4668
|
},
|
|
4648
4669
|
d(n) {
|
|
4649
4670
|
I(e, n);
|
|
@@ -4652,7 +4673,7 @@ function bt(t) {
|
|
|
4652
4673
|
}
|
|
4653
4674
|
function It(t) {
|
|
4654
4675
|
let e, r;
|
|
4655
|
-
return e = new
|
|
4676
|
+
return e = new ji({
|
|
4656
4677
|
props: {
|
|
4657
4678
|
onContinue: (
|
|
4658
4679
|
/*handleContinue*/
|
|
@@ -4664,7 +4685,11 @@ function It(t) {
|
|
|
4664
4685
|
),
|
|
4665
4686
|
processing: (
|
|
4666
4687
|
/*state*/
|
|
4667
|
-
t[
|
|
4688
|
+
t[6] === "processing-auth-info"
|
|
4689
|
+
),
|
|
4690
|
+
lastError: (
|
|
4691
|
+
/*lastError*/
|
|
4692
|
+
t[5]
|
|
4668
4693
|
)
|
|
4669
4694
|
}
|
|
4670
4695
|
}), {
|
|
@@ -4677,14 +4702,16 @@ function It(t) {
|
|
|
4677
4702
|
p(n, i) {
|
|
4678
4703
|
const o = {};
|
|
4679
4704
|
i & /*state*/
|
|
4680
|
-
|
|
4681
|
-
n[
|
|
4705
|
+
64 && (o.processing = /*state*/
|
|
4706
|
+
n[6] === "processing-auth-info"), i & /*lastError*/
|
|
4707
|
+
32 && (o.lastError = /*lastError*/
|
|
4708
|
+
n[5]), e.$set(o);
|
|
4682
4709
|
},
|
|
4683
4710
|
i(n) {
|
|
4684
4711
|
r || (f(e.$$.fragment, n), r = !0);
|
|
4685
4712
|
},
|
|
4686
4713
|
o(n) {
|
|
4687
|
-
|
|
4714
|
+
d(e.$$.fragment, n), r = !1;
|
|
4688
4715
|
},
|
|
4689
4716
|
d(n) {
|
|
4690
4717
|
I(e, n);
|
|
@@ -4693,11 +4720,11 @@ function It(t) {
|
|
|
4693
4720
|
}
|
|
4694
4721
|
function wt(t) {
|
|
4695
4722
|
let e, r;
|
|
4696
|
-
return e = new
|
|
4723
|
+
return e = new Ni({
|
|
4697
4724
|
props: {
|
|
4698
4725
|
paymentInfoCollectionMetadata: (
|
|
4699
4726
|
/*paymentInfoCollectionMetadata*/
|
|
4700
|
-
t[
|
|
4727
|
+
t[4]
|
|
4701
4728
|
),
|
|
4702
4729
|
onContinue: (
|
|
4703
4730
|
/*handleContinue*/
|
|
@@ -4713,7 +4740,7 @@ function wt(t) {
|
|
|
4713
4740
|
),
|
|
4714
4741
|
processing: (
|
|
4715
4742
|
/*state*/
|
|
4716
|
-
t[
|
|
4743
|
+
t[6] === "polling-purchase-status"
|
|
4717
4744
|
)
|
|
4718
4745
|
}
|
|
4719
4746
|
}), {
|
|
@@ -4726,16 +4753,16 @@ function wt(t) {
|
|
|
4726
4753
|
p(n, i) {
|
|
4727
4754
|
const o = {};
|
|
4728
4755
|
i & /*paymentInfoCollectionMetadata*/
|
|
4729
|
-
|
|
4730
|
-
n[
|
|
4731
|
-
|
|
4732
|
-
n[
|
|
4756
|
+
16 && (o.paymentInfoCollectionMetadata = /*paymentInfoCollectionMetadata*/
|
|
4757
|
+
n[4]), i & /*state*/
|
|
4758
|
+
64 && (o.processing = /*state*/
|
|
4759
|
+
n[6] === "polling-purchase-status"), e.$set(o);
|
|
4733
4760
|
},
|
|
4734
4761
|
i(n) {
|
|
4735
4762
|
r || (f(e.$$.fragment, n), r = !0);
|
|
4736
4763
|
},
|
|
4737
4764
|
o(n) {
|
|
4738
|
-
|
|
4765
|
+
d(e.$$.fragment, n), r = !1;
|
|
4739
4766
|
},
|
|
4740
4767
|
d(n) {
|
|
4741
4768
|
I(e, n);
|
|
@@ -4755,7 +4782,7 @@ function kt(t) {
|
|
|
4755
4782
|
r || (f(e.$$.fragment, n), r = !0);
|
|
4756
4783
|
},
|
|
4757
4784
|
o(n) {
|
|
4758
|
-
|
|
4785
|
+
d(e.$$.fragment, n), r = !1;
|
|
4759
4786
|
},
|
|
4760
4787
|
d(n) {
|
|
4761
4788
|
I(e, n);
|
|
@@ -4765,19 +4792,19 @@ function kt(t) {
|
|
|
4765
4792
|
function $t(t) {
|
|
4766
4793
|
var n;
|
|
4767
4794
|
let e, r;
|
|
4768
|
-
return e = new
|
|
4795
|
+
return e = new Or({
|
|
4769
4796
|
props: {
|
|
4770
4797
|
brandingInfo: (
|
|
4771
4798
|
/*brandingInfo*/
|
|
4772
|
-
t[
|
|
4799
|
+
t[3]
|
|
4773
4800
|
),
|
|
4774
4801
|
lastError: (
|
|
4775
4802
|
/*lastError*/
|
|
4776
|
-
t[
|
|
4803
|
+
t[5] ?? new Y(O.UnknownError, "Unknown error without state set.")
|
|
4777
4804
|
),
|
|
4778
4805
|
supportEmail: (
|
|
4779
4806
|
/*brandingInfo*/
|
|
4780
|
-
(n = t[
|
|
4807
|
+
(n = t[3]) == null ? void 0 : n.seller_company_support_email
|
|
4781
4808
|
),
|
|
4782
4809
|
onContinue: (
|
|
4783
4810
|
/*closeWithError*/
|
|
@@ -4795,18 +4822,18 @@ function $t(t) {
|
|
|
4795
4822
|
var l;
|
|
4796
4823
|
const s = {};
|
|
4797
4824
|
o & /*brandingInfo*/
|
|
4798
|
-
|
|
4799
|
-
i[
|
|
4800
|
-
|
|
4801
|
-
i[
|
|
4802
|
-
|
|
4803
|
-
(l = i[
|
|
4825
|
+
8 && (s.brandingInfo = /*brandingInfo*/
|
|
4826
|
+
i[3]), o & /*lastError*/
|
|
4827
|
+
32 && (s.lastError = /*lastError*/
|
|
4828
|
+
i[5] ?? new Y(O.UnknownError, "Unknown error without state set.")), o & /*brandingInfo*/
|
|
4829
|
+
8 && (s.supportEmail = /*brandingInfo*/
|
|
4830
|
+
(l = i[3]) == null ? void 0 : l.seller_company_support_email), e.$set(s);
|
|
4804
4831
|
},
|
|
4805
4832
|
i(i) {
|
|
4806
4833
|
r || (f(e.$$.fragment, i), r = !0);
|
|
4807
4834
|
},
|
|
4808
4835
|
o(i) {
|
|
4809
|
-
|
|
4836
|
+
d(e.$$.fragment, i), r = !1;
|
|
4810
4837
|
},
|
|
4811
4838
|
d(i) {
|
|
4812
4839
|
I(e, i);
|
|
@@ -4815,11 +4842,11 @@ function $t(t) {
|
|
|
4815
4842
|
}
|
|
4816
4843
|
function vt(t) {
|
|
4817
4844
|
let e, r;
|
|
4818
|
-
return e = new
|
|
4845
|
+
return e = new jr({
|
|
4819
4846
|
props: {
|
|
4820
4847
|
brandingInfo: (
|
|
4821
4848
|
/*brandingInfo*/
|
|
4822
|
-
t[
|
|
4849
|
+
t[3]
|
|
4823
4850
|
),
|
|
4824
4851
|
onContinue: (
|
|
4825
4852
|
/*handleContinue*/
|
|
@@ -4836,163 +4863,163 @@ function vt(t) {
|
|
|
4836
4863
|
p(n, i) {
|
|
4837
4864
|
const o = {};
|
|
4838
4865
|
i & /*brandingInfo*/
|
|
4839
|
-
|
|
4840
|
-
n[
|
|
4866
|
+
8 && (o.brandingInfo = /*brandingInfo*/
|
|
4867
|
+
n[3]), e.$set(o);
|
|
4841
4868
|
},
|
|
4842
4869
|
i(n) {
|
|
4843
4870
|
r || (f(e.$$.fragment, n), r = !0);
|
|
4844
4871
|
},
|
|
4845
4872
|
o(n) {
|
|
4846
|
-
|
|
4873
|
+
d(e.$$.fragment, n), r = !1;
|
|
4847
4874
|
},
|
|
4848
4875
|
d(n) {
|
|
4849
4876
|
I(e, n);
|
|
4850
4877
|
}
|
|
4851
4878
|
};
|
|
4852
4879
|
}
|
|
4853
|
-
function
|
|
4880
|
+
function Ro(t) {
|
|
4854
4881
|
let e, r, n, i, o, s, l, c, a = (
|
|
4855
4882
|
/*state*/
|
|
4856
|
-
t[
|
|
4857
|
-
t[
|
|
4858
|
-
t[
|
|
4883
|
+
t[6] === "present-offer" && /*productDetails*/
|
|
4884
|
+
t[2] && /*purchaseOptionToUse*/
|
|
4885
|
+
t[8] && Et(t)
|
|
4859
4886
|
), u = (
|
|
4860
4887
|
/*state*/
|
|
4861
|
-
t[
|
|
4862
|
-
t[
|
|
4863
|
-
),
|
|
4888
|
+
t[6] === "present-offer" && !/*productDetails*/
|
|
4889
|
+
t[2] && bt()
|
|
4890
|
+
), m = (
|
|
4864
4891
|
/*state*/
|
|
4865
|
-
(t[
|
|
4866
|
-
t[
|
|
4867
|
-
),
|
|
4892
|
+
(t[6] === "needs-auth-info" || /*state*/
|
|
4893
|
+
t[6] === "processing-auth-info") && It(t)
|
|
4894
|
+
), A = (
|
|
4868
4895
|
/*paymentInfoCollectionMetadata*/
|
|
4869
|
-
t[
|
|
4870
|
-
(t[
|
|
4871
|
-
t[
|
|
4896
|
+
t[4] && /*state*/
|
|
4897
|
+
(t[6] === "needs-payment-info" || /*state*/
|
|
4898
|
+
t[6] === "polling-purchase-status") && wt(t)
|
|
4872
4899
|
), $ = (
|
|
4873
4900
|
/*state*/
|
|
4874
|
-
t[
|
|
4901
|
+
t[6] === "loading" && kt()
|
|
4875
4902
|
), E = (
|
|
4876
4903
|
/*state*/
|
|
4877
|
-
t[
|
|
4904
|
+
t[6] === "error" && $t(t)
|
|
4878
4905
|
), B = (
|
|
4879
4906
|
/*state*/
|
|
4880
|
-
t[
|
|
4907
|
+
t[6] === "success" && vt(t)
|
|
4881
4908
|
);
|
|
4882
4909
|
return {
|
|
4883
4910
|
c() {
|
|
4884
|
-
a && a.c(), e =
|
|
4911
|
+
a && a.c(), e = C(), u && u.c(), r = C(), m && m.c(), n = C(), A && A.c(), i = C(), $ && $.c(), o = C(), E && E.c(), s = C(), B && B.c(), l = te();
|
|
4885
4912
|
},
|
|
4886
|
-
m(
|
|
4887
|
-
a && a.m(
|
|
4913
|
+
m(h, y) {
|
|
4914
|
+
a && a.m(h, y), p(h, e, y), u && u.m(h, y), p(h, r, y), m && m.m(h, y), p(h, n, y), A && A.m(h, y), p(h, i, y), $ && $.m(h, y), p(h, o, y), E && E.m(h, y), p(h, s, y), B && B.m(h, y), p(h, l, y), c = !0;
|
|
4888
4915
|
},
|
|
4889
|
-
p(
|
|
4916
|
+
p(h, y) {
|
|
4890
4917
|
/*state*/
|
|
4891
|
-
|
|
4892
|
-
|
|
4893
|
-
|
|
4894
|
-
|
|
4918
|
+
h[6] === "present-offer" && /*productDetails*/
|
|
4919
|
+
h[2] && /*purchaseOptionToUse*/
|
|
4920
|
+
h[8] ? a ? (a.p(h, y), y & /*state, productDetails*/
|
|
4921
|
+
68 && f(a, 1)) : (a = Et(h), a.c(), f(a, 1), a.m(e.parentNode, e)) : a && (H(), d(a, 1, 1, () => {
|
|
4895
4922
|
a = null;
|
|
4896
4923
|
}), K()), /*state*/
|
|
4897
|
-
|
|
4898
|
-
|
|
4899
|
-
|
|
4924
|
+
h[6] === "present-offer" && !/*productDetails*/
|
|
4925
|
+
h[2] ? u ? y & /*state, productDetails*/
|
|
4926
|
+
68 && f(u, 1) : (u = bt(), u.c(), f(u, 1), u.m(r.parentNode, r)) : u && (H(), d(u, 1, 1, () => {
|
|
4900
4927
|
u = null;
|
|
4901
4928
|
}), K()), /*state*/
|
|
4902
|
-
|
|
4903
|
-
|
|
4904
|
-
|
|
4905
|
-
|
|
4929
|
+
h[6] === "needs-auth-info" || /*state*/
|
|
4930
|
+
h[6] === "processing-auth-info" ? m ? (m.p(h, y), y & /*state*/
|
|
4931
|
+
64 && f(m, 1)) : (m = It(h), m.c(), f(m, 1), m.m(n.parentNode, n)) : m && (H(), d(m, 1, 1, () => {
|
|
4932
|
+
m = null;
|
|
4906
4933
|
}), K()), /*paymentInfoCollectionMetadata*/
|
|
4907
|
-
|
|
4908
|
-
(
|
|
4909
|
-
|
|
4910
|
-
|
|
4911
|
-
|
|
4934
|
+
h[4] && /*state*/
|
|
4935
|
+
(h[6] === "needs-payment-info" || /*state*/
|
|
4936
|
+
h[6] === "polling-purchase-status") ? A ? (A.p(h, y), y & /*paymentInfoCollectionMetadata, state*/
|
|
4937
|
+
80 && f(A, 1)) : (A = wt(h), A.c(), f(A, 1), A.m(i.parentNode, i)) : A && (H(), d(A, 1, 1, () => {
|
|
4938
|
+
A = null;
|
|
4912
4939
|
}), K()), /*state*/
|
|
4913
|
-
|
|
4914
|
-
|
|
4940
|
+
h[6] === "loading" ? $ ? y & /*state*/
|
|
4941
|
+
64 && f($, 1) : ($ = kt(), $.c(), f($, 1), $.m(o.parentNode, o)) : $ && (H(), d($, 1, 1, () => {
|
|
4915
4942
|
$ = null;
|
|
4916
4943
|
}), K()), /*state*/
|
|
4917
|
-
|
|
4918
|
-
|
|
4944
|
+
h[6] === "error" ? E ? (E.p(h, y), y & /*state*/
|
|
4945
|
+
64 && f(E, 1)) : (E = $t(h), E.c(), f(E, 1), E.m(s.parentNode, s)) : E && (H(), d(E, 1, 1, () => {
|
|
4919
4946
|
E = null;
|
|
4920
4947
|
}), K()), /*state*/
|
|
4921
|
-
|
|
4922
|
-
|
|
4948
|
+
h[6] === "success" ? B ? (B.p(h, y), y & /*state*/
|
|
4949
|
+
64 && f(B, 1)) : (B = vt(h), B.c(), f(B, 1), B.m(l.parentNode, l)) : B && (H(), d(B, 1, 1, () => {
|
|
4923
4950
|
B = null;
|
|
4924
4951
|
}), K());
|
|
4925
4952
|
},
|
|
4926
|
-
i(
|
|
4927
|
-
c || (f(a), f(u), f(
|
|
4953
|
+
i(h) {
|
|
4954
|
+
c || (f(a), f(u), f(m), f(A), f($), f(E), f(B), c = !0);
|
|
4928
4955
|
},
|
|
4929
|
-
o(
|
|
4930
|
-
|
|
4956
|
+
o(h) {
|
|
4957
|
+
d(a), d(u), d(m), d(A), d($), d(E), d(B), c = !1;
|
|
4931
4958
|
},
|
|
4932
|
-
d(
|
|
4933
|
-
|
|
4959
|
+
d(h) {
|
|
4960
|
+
h && (g(e), g(r), g(n), g(i), g(o), g(s), g(l)), a && a.d(h), u && u.d(h), m && m.d(h), A && A.d(h), $ && $.d(h), E && E.d(h), B && B.d(h);
|
|
4934
4961
|
}
|
|
4935
4962
|
};
|
|
4936
4963
|
}
|
|
4937
|
-
function
|
|
4964
|
+
function So(t) {
|
|
4938
4965
|
let e, r = (
|
|
4939
4966
|
/*statesWhereOfferDetailsAreShown*/
|
|
4940
4967
|
t[9].includes(
|
|
4941
4968
|
/*state*/
|
|
4942
|
-
t[
|
|
4969
|
+
t[6]
|
|
4943
4970
|
)
|
|
4944
4971
|
), n, i, o, s, l = r && At(t);
|
|
4945
|
-
return o = new
|
|
4972
|
+
return o = new xt({
|
|
4946
4973
|
props: {
|
|
4947
|
-
$$slots: { default: [
|
|
4974
|
+
$$slots: { default: [Ro] },
|
|
4948
4975
|
$$scope: { ctx: t }
|
|
4949
4976
|
}
|
|
4950
4977
|
}), {
|
|
4951
4978
|
c() {
|
|
4952
|
-
e = k("div"), l && l.c(), n =
|
|
4979
|
+
e = k("div"), l && l.c(), n = C(), i = k("div"), w(o.$$.fragment), _(i, "class", "rcb-ui-main svelte-1qect5g"), _(e, "class", "rcb-ui-layout svelte-1qect5g"), _(
|
|
4953
4980
|
e,
|
|
4954
4981
|
"style",
|
|
4955
4982
|
/*colorVariables*/
|
|
4956
|
-
t[
|
|
4983
|
+
t[7]
|
|
4957
4984
|
);
|
|
4958
4985
|
},
|
|
4959
4986
|
m(c, a) {
|
|
4960
|
-
p(c, e, a), l && l.m(e, null),
|
|
4987
|
+
p(c, e, a), l && l.m(e, null), Q(e, n), Q(e, i), b(o, i, null), s = !0;
|
|
4961
4988
|
},
|
|
4962
4989
|
p(c, a) {
|
|
4963
4990
|
a & /*state*/
|
|
4964
|
-
|
|
4991
|
+
64 && (r = /*statesWhereOfferDetailsAreShown*/
|
|
4965
4992
|
c[9].includes(
|
|
4966
4993
|
/*state*/
|
|
4967
|
-
c[
|
|
4994
|
+
c[6]
|
|
4968
4995
|
)), r ? l ? (l.p(c, a), a & /*state*/
|
|
4969
|
-
|
|
4996
|
+
64 && f(l, 1)) : (l = At(c), l.c(), f(l, 1), l.m(e, n)) : l && (H(), d(l, 1, 1, () => {
|
|
4970
4997
|
l = null;
|
|
4971
4998
|
}), K());
|
|
4972
4999
|
const u = {};
|
|
4973
|
-
a & /*$$scope, brandingInfo, state, lastError, paymentInfoCollectionMetadata, productDetails
|
|
4974
|
-
|
|
5000
|
+
a & /*$$scope, brandingInfo, state, lastError, paymentInfoCollectionMetadata, productDetails*/
|
|
5001
|
+
67108988 && (u.$$scope = { dirty: a, ctx: c }), o.$set(u);
|
|
4975
5002
|
},
|
|
4976
5003
|
i(c) {
|
|
4977
5004
|
s || (f(l), f(o.$$.fragment, c), s = !0);
|
|
4978
5005
|
},
|
|
4979
5006
|
o(c) {
|
|
4980
|
-
|
|
5007
|
+
d(l), d(o.$$.fragment, c), s = !1;
|
|
4981
5008
|
},
|
|
4982
5009
|
d(c) {
|
|
4983
5010
|
c && g(e), l && l.d(), I(o);
|
|
4984
5011
|
}
|
|
4985
5012
|
};
|
|
4986
5013
|
}
|
|
4987
|
-
function
|
|
5014
|
+
function Oo(t) {
|
|
4988
5015
|
let e, r, n;
|
|
4989
|
-
return r = new
|
|
5016
|
+
return r = new lo({
|
|
4990
5017
|
props: {
|
|
4991
5018
|
condition: (
|
|
4992
5019
|
/*asModal*/
|
|
4993
5020
|
t[0]
|
|
4994
5021
|
),
|
|
4995
|
-
$$slots: { default: [
|
|
5022
|
+
$$slots: { default: [So] },
|
|
4996
5023
|
$$scope: { ctx: t }
|
|
4997
5024
|
}
|
|
4998
5025
|
}), {
|
|
@@ -5006,28 +5033,28 @@ function So(t) {
|
|
|
5006
5033
|
const s = {};
|
|
5007
5034
|
o & /*asModal*/
|
|
5008
5035
|
1 && (s.condition = /*asModal*/
|
|
5009
|
-
i[0]), o & /*$$scope, brandingInfo, state, lastError, paymentInfoCollectionMetadata, productDetails,
|
|
5010
|
-
|
|
5036
|
+
i[0]), o & /*$$scope, brandingInfo, state, lastError, paymentInfoCollectionMetadata, productDetails, purchases*/
|
|
5037
|
+
67108990 && (s.$$scope = { dirty: o, ctx: i }), r.$set(s);
|
|
5011
5038
|
},
|
|
5012
5039
|
i(i) {
|
|
5013
5040
|
n || (f(r.$$.fragment, i), n = !0);
|
|
5014
5041
|
},
|
|
5015
5042
|
o(i) {
|
|
5016
|
-
|
|
5043
|
+
d(r.$$.fragment, i), n = !1;
|
|
5017
5044
|
},
|
|
5018
5045
|
d(i) {
|
|
5019
5046
|
i && g(e), I(r);
|
|
5020
5047
|
}
|
|
5021
5048
|
};
|
|
5022
5049
|
}
|
|
5023
|
-
function
|
|
5050
|
+
function Lo(t, e, r) {
|
|
5024
5051
|
var et, tt;
|
|
5025
|
-
let { asModal: n = !0 } = e, { customerEmail: i } = e, { appUserId: o } = e, { rcPackage: s } = e, { purchaseOption: l } = e, { onFinished: c } = e, { onError: a } = e, { onClose: u } = e, { purchases:
|
|
5026
|
-
const E = Object.entries(_e).map(([D,
|
|
5027
|
-
let B = null,
|
|
5028
|
-
const M = ((et = s == null ? void 0 : s.rcBillingProduct) == null ? void 0 : et.identifier) ?? null,
|
|
5052
|
+
let { asModal: n = !0 } = e, { customerEmail: i } = e, { appUserId: o } = e, { rcPackage: s } = e, { purchaseOption: l } = e, { onFinished: c } = e, { onError: a } = e, { onClose: u } = e, { purchases: m } = e, { backend: A } = e, { purchaseOperationHelper: $ } = e;
|
|
5053
|
+
const E = Object.entries(_e).map(([D, Fe]) => `--rc-color-${D}: ${Fe}`).join("; ");
|
|
5054
|
+
let B = null, h = null, y = null, R = null;
|
|
5055
|
+
const M = ((et = s == null ? void 0 : s.rcBillingProduct) == null ? void 0 : et.identifier) ?? null, ye = (tt = s == null ? void 0 : s.rcBillingProduct) == null ? void 0 : tt.defaultSubscriptionOption, x = l || ye;
|
|
5029
5056
|
let S = "present-offer";
|
|
5030
|
-
const
|
|
5057
|
+
const Be = [
|
|
5031
5058
|
"present-offer",
|
|
5032
5059
|
"needs-auth-info",
|
|
5033
5060
|
"processing-auth-info",
|
|
@@ -5036,30 +5063,30 @@ function Oo(t, e, r) {
|
|
|
5036
5063
|
"loading"
|
|
5037
5064
|
];
|
|
5038
5065
|
Oe(async () => {
|
|
5039
|
-
if (r(
|
|
5040
|
-
i ? Ze() : r(
|
|
5066
|
+
if (r(2, B = s.rcBillingProduct), r(3, h = await A.getBrandingInfo()), S === "present-offer") {
|
|
5067
|
+
i ? Ze() : r(6, S = "needs-auth-info");
|
|
5041
5068
|
return;
|
|
5042
5069
|
}
|
|
5043
5070
|
});
|
|
5044
|
-
const
|
|
5071
|
+
const De = () => {
|
|
5045
5072
|
u();
|
|
5046
5073
|
}, Ze = () => {
|
|
5047
5074
|
if (M === null) {
|
|
5048
5075
|
de(new Y(O.ErrorSettingUpPurchase, "Product ID was not set before purchase."));
|
|
5049
5076
|
return;
|
|
5050
5077
|
} else
|
|
5051
|
-
S === "present-offer" && r(
|
|
5078
|
+
S === "present-offer" && r(6, S = "loading");
|
|
5052
5079
|
if (!i) {
|
|
5053
5080
|
de(new Y(O.MissingEmailError));
|
|
5054
5081
|
return;
|
|
5055
5082
|
}
|
|
5056
|
-
$.startPurchase(o, M,
|
|
5083
|
+
$.startPurchase(o, M, x, i, s.rcBillingProduct.presentedOfferingIdentifier).then((D) => {
|
|
5057
5084
|
if (D.next_action === "collect_payment_info") {
|
|
5058
|
-
r(
|
|
5085
|
+
r(5, R = null), r(6, S = "needs-payment-info"), r(4, y = D);
|
|
5059
5086
|
return;
|
|
5060
5087
|
}
|
|
5061
5088
|
if (D.next_action === "completed") {
|
|
5062
|
-
r(
|
|
5089
|
+
r(5, R = null), r(6, S = "success");
|
|
5063
5090
|
return;
|
|
5064
5091
|
}
|
|
5065
5092
|
}).catch((D) => {
|
|
@@ -5067,14 +5094,14 @@ function Oo(t, e, r) {
|
|
|
5067
5094
|
});
|
|
5068
5095
|
}, Yt = (D) => {
|
|
5069
5096
|
if (S === "needs-auth-info") {
|
|
5070
|
-
D && (r(14, i = D.email), r(
|
|
5097
|
+
D && (r(14, i = D.email), r(6, S = "processing-auth-info")), Ze();
|
|
5071
5098
|
return;
|
|
5072
5099
|
}
|
|
5073
5100
|
if (S === "needs-payment-info") {
|
|
5074
|
-
r(
|
|
5075
|
-
r(
|
|
5076
|
-
}).catch((
|
|
5077
|
-
de(
|
|
5101
|
+
r(6, S = "polling-purchase-status"), $.pollCurrentPurchaseForCompletion().then(() => {
|
|
5102
|
+
r(6, S = "success");
|
|
5103
|
+
}).catch((Fe) => {
|
|
5104
|
+
de(Fe);
|
|
5078
5105
|
});
|
|
5079
5106
|
return;
|
|
5080
5107
|
}
|
|
@@ -5082,107 +5109,112 @@ function Oo(t, e, r) {
|
|
|
5082
5109
|
c();
|
|
5083
5110
|
return;
|
|
5084
5111
|
}
|
|
5085
|
-
r(
|
|
5112
|
+
r(6, S = "success");
|
|
5086
5113
|
}, de = (D) => {
|
|
5087
|
-
|
|
5114
|
+
if (S === "processing-auth-info") {
|
|
5115
|
+
r(5, R = D), r(6, S = "needs-auth-info");
|
|
5116
|
+
return;
|
|
5117
|
+
}
|
|
5118
|
+
r(5, R = D), r(6, S = "error");
|
|
5088
5119
|
}, Ht = () => {
|
|
5089
5120
|
a(R ?? new Y(O.UnknownError, "Unknown error without state set."));
|
|
5090
5121
|
};
|
|
5091
5122
|
return t.$$set = (D) => {
|
|
5092
|
-
"asModal" in D && r(0, n = D.asModal), "customerEmail" in D && r(14, i = D.customerEmail), "appUserId" in D && r(15, o = D.appUserId), "rcPackage" in D && r(16, s = D.rcPackage), "purchaseOption" in D && r(
|
|
5123
|
+
"asModal" in D && r(0, n = D.asModal), "customerEmail" in D && r(14, i = D.customerEmail), "appUserId" in D && r(15, o = D.appUserId), "rcPackage" in D && r(16, s = D.rcPackage), "purchaseOption" in D && r(17, l = D.purchaseOption), "onFinished" in D && r(18, c = D.onFinished), "onError" in D && r(19, a = D.onError), "onClose" in D && r(20, u = D.onClose), "purchases" in D && r(1, m = D.purchases), "backend" in D && r(21, A = D.backend), "purchaseOperationHelper" in D && r(22, $ = D.purchaseOperationHelper);
|
|
5093
5124
|
}, [
|
|
5094
5125
|
n,
|
|
5095
|
-
|
|
5096
|
-
d,
|
|
5126
|
+
m,
|
|
5097
5127
|
B,
|
|
5098
|
-
|
|
5128
|
+
h,
|
|
5099
5129
|
y,
|
|
5100
5130
|
R,
|
|
5101
5131
|
S,
|
|
5102
5132
|
E,
|
|
5103
|
-
|
|
5133
|
+
x,
|
|
5104
5134
|
Be,
|
|
5135
|
+
De,
|
|
5105
5136
|
Yt,
|
|
5106
5137
|
de,
|
|
5107
5138
|
Ht,
|
|
5108
5139
|
i,
|
|
5109
5140
|
o,
|
|
5110
5141
|
s,
|
|
5142
|
+
l,
|
|
5111
5143
|
c,
|
|
5112
5144
|
a,
|
|
5113
5145
|
u,
|
|
5114
|
-
|
|
5146
|
+
A,
|
|
5115
5147
|
$
|
|
5116
5148
|
];
|
|
5117
5149
|
}
|
|
5118
|
-
class
|
|
5150
|
+
class Fo extends U {
|
|
5119
5151
|
constructor(e) {
|
|
5120
5152
|
super(), N(
|
|
5121
5153
|
this,
|
|
5122
5154
|
e,
|
|
5155
|
+
Lo,
|
|
5123
5156
|
Oo,
|
|
5124
|
-
So,
|
|
5125
5157
|
T,
|
|
5126
5158
|
{
|
|
5127
5159
|
asModal: 0,
|
|
5128
5160
|
customerEmail: 14,
|
|
5129
5161
|
appUserId: 15,
|
|
5130
5162
|
rcPackage: 16,
|
|
5131
|
-
purchaseOption:
|
|
5132
|
-
onFinished:
|
|
5133
|
-
onError:
|
|
5134
|
-
onClose:
|
|
5135
|
-
purchases:
|
|
5136
|
-
backend:
|
|
5137
|
-
purchaseOperationHelper:
|
|
5163
|
+
purchaseOption: 17,
|
|
5164
|
+
onFinished: 18,
|
|
5165
|
+
onError: 19,
|
|
5166
|
+
onClose: 20,
|
|
5167
|
+
purchases: 1,
|
|
5168
|
+
backend: 21,
|
|
5169
|
+
purchaseOperationHelper: 22
|
|
5138
5170
|
},
|
|
5139
|
-
|
|
5171
|
+
Qo
|
|
5140
5172
|
);
|
|
5141
5173
|
}
|
|
5142
5174
|
}
|
|
5143
5175
|
function xo(t) {
|
|
5144
5176
|
return t.expires_date == null ? !0 : new Date(t.expires_date) > /* @__PURE__ */ new Date();
|
|
5145
5177
|
}
|
|
5146
|
-
function
|
|
5178
|
+
function Go(t, e, r, n) {
|
|
5147
5179
|
const i = e.product_identifier;
|
|
5148
5180
|
if (i in r)
|
|
5149
|
-
return
|
|
5181
|
+
return Yo(
|
|
5150
5182
|
t,
|
|
5151
5183
|
e,
|
|
5152
5184
|
r[i]
|
|
5153
5185
|
);
|
|
5154
5186
|
if (i in n)
|
|
5155
|
-
return
|
|
5187
|
+
return Ho(
|
|
5156
5188
|
t,
|
|
5157
5189
|
e,
|
|
5158
5190
|
n[i]
|
|
5159
5191
|
);
|
|
5160
5192
|
throw new X(
|
|
5161
|
-
|
|
5193
|
+
Z.CustomerInfoError,
|
|
5162
5194
|
"Could not find entitlement product in subscriptions or non-subscriptions."
|
|
5163
5195
|
);
|
|
5164
5196
|
}
|
|
5165
|
-
function
|
|
5197
|
+
function Yo(t, e, r) {
|
|
5166
5198
|
return {
|
|
5167
5199
|
identifier: t,
|
|
5168
5200
|
isActive: xo(e),
|
|
5169
|
-
willRenew:
|
|
5201
|
+
willRenew: jo(e, r),
|
|
5170
5202
|
store: (r == null ? void 0 : r.store) ?? "unknown",
|
|
5171
5203
|
latestPurchaseDate: new Date(e.purchase_date),
|
|
5172
5204
|
originalPurchaseDate: new Date(e.purchase_date),
|
|
5173
|
-
expirationDate:
|
|
5205
|
+
expirationDate: Ue(e.expires_date),
|
|
5174
5206
|
productIdentifier: e.product_identifier,
|
|
5175
|
-
unsubscribeDetectedAt:
|
|
5207
|
+
unsubscribeDetectedAt: Ue(
|
|
5176
5208
|
r == null ? void 0 : r.unsubscribe_detected_at
|
|
5177
5209
|
),
|
|
5178
|
-
billingIssueDetectedAt:
|
|
5210
|
+
billingIssueDetectedAt: Ue(
|
|
5179
5211
|
r == null ? void 0 : r.billing_issues_detected_at
|
|
5180
5212
|
),
|
|
5181
5213
|
isSandbox: (r == null ? void 0 : r.is_sandbox) ?? !1,
|
|
5182
5214
|
periodType: (r == null ? void 0 : r.period_type) ?? "normal"
|
|
5183
5215
|
};
|
|
5184
5216
|
}
|
|
5185
|
-
function
|
|
5217
|
+
function Ho(t, e, r) {
|
|
5186
5218
|
return {
|
|
5187
5219
|
identifier: t,
|
|
5188
5220
|
isActive: !0,
|
|
@@ -5200,10 +5232,10 @@ function Yo(t, e, r) {
|
|
|
5200
5232
|
periodType: "normal"
|
|
5201
5233
|
};
|
|
5202
5234
|
}
|
|
5203
|
-
function
|
|
5235
|
+
function Ko(t, e, r) {
|
|
5204
5236
|
const n = {}, i = {};
|
|
5205
5237
|
for (const o in t) {
|
|
5206
|
-
const s =
|
|
5238
|
+
const s = Go(
|
|
5207
5239
|
o,
|
|
5208
5240
|
t[o],
|
|
5209
5241
|
e,
|
|
@@ -5216,41 +5248,41 @@ function Ho(t, e, r) {
|
|
|
5216
5248
|
active: i
|
|
5217
5249
|
};
|
|
5218
5250
|
}
|
|
5219
|
-
function
|
|
5251
|
+
function Ue(t) {
|
|
5220
5252
|
return t == null ? null : new Date(t);
|
|
5221
5253
|
}
|
|
5222
|
-
function
|
|
5223
|
-
const e =
|
|
5254
|
+
function qo(t) {
|
|
5255
|
+
const e = Vo(t), r = t.subscriber, n = zo(
|
|
5224
5256
|
r.non_subscriptions
|
|
5225
5257
|
);
|
|
5226
5258
|
return {
|
|
5227
|
-
entitlements:
|
|
5259
|
+
entitlements: Ko(
|
|
5228
5260
|
r.entitlements,
|
|
5229
5261
|
r.subscriptions,
|
|
5230
5262
|
n
|
|
5231
5263
|
),
|
|
5232
5264
|
allExpirationDatesByProduct: e,
|
|
5233
|
-
allPurchaseDatesByProduct:
|
|
5265
|
+
allPurchaseDatesByProduct: Jo(
|
|
5234
5266
|
t,
|
|
5235
5267
|
n
|
|
5236
5268
|
),
|
|
5237
|
-
activeSubscriptions:
|
|
5269
|
+
activeSubscriptions: Wo(e),
|
|
5238
5270
|
managementURL: r.management_url,
|
|
5239
5271
|
requestDate: new Date(t.request_date),
|
|
5240
5272
|
firstSeenDate: new Date(r.first_seen),
|
|
5241
|
-
originalPurchaseDate:
|
|
5273
|
+
originalPurchaseDate: Ue(
|
|
5242
5274
|
r.original_purchase_date
|
|
5243
5275
|
),
|
|
5244
5276
|
originalAppUserId: t.subscriber.original_app_user_id
|
|
5245
5277
|
};
|
|
5246
5278
|
}
|
|
5247
|
-
function
|
|
5279
|
+
function jo(t, e) {
|
|
5248
5280
|
if (e == null)
|
|
5249
5281
|
return !1;
|
|
5250
5282
|
const r = e.store == "promotional", n = t.expires_date == null, i = e.unsubscribe_detected_at != null, o = e.billing_issues_detected_at != null;
|
|
5251
5283
|
return !(r || n || i || o);
|
|
5252
5284
|
}
|
|
5253
|
-
function
|
|
5285
|
+
function Jo(t, e) {
|
|
5254
5286
|
const r = {};
|
|
5255
5287
|
for (const n in t.subscriber.subscriptions) {
|
|
5256
5288
|
const i = t.subscriber.subscriptions[n];
|
|
@@ -5264,7 +5296,7 @@ function jo(t, e) {
|
|
|
5264
5296
|
}
|
|
5265
5297
|
return r;
|
|
5266
5298
|
}
|
|
5267
|
-
function
|
|
5299
|
+
function Vo(t) {
|
|
5268
5300
|
const e = {};
|
|
5269
5301
|
for (const r in t.subscriber.subscriptions) {
|
|
5270
5302
|
const n = t.subscriber.subscriptions[r];
|
|
@@ -5274,7 +5306,7 @@ function Jo(t) {
|
|
|
5274
5306
|
}
|
|
5275
5307
|
return e;
|
|
5276
5308
|
}
|
|
5277
|
-
function
|
|
5309
|
+
function Wo(t) {
|
|
5278
5310
|
const e = /* @__PURE__ */ new Set(), r = /* @__PURE__ */ new Date();
|
|
5279
5311
|
for (const n in t) {
|
|
5280
5312
|
const i = t[n];
|
|
@@ -5282,7 +5314,7 @@ function Vo(t) {
|
|
|
5282
5314
|
}
|
|
5283
5315
|
return e;
|
|
5284
5316
|
}
|
|
5285
|
-
function
|
|
5317
|
+
function zo(t) {
|
|
5286
5318
|
const e = {};
|
|
5287
5319
|
for (const r in t) {
|
|
5288
5320
|
if (t[r].length === 0)
|
|
@@ -5292,14 +5324,14 @@ function Wo(t) {
|
|
|
5292
5324
|
}
|
|
5293
5325
|
return e;
|
|
5294
5326
|
}
|
|
5295
|
-
function
|
|
5327
|
+
function Xo(t) {
|
|
5296
5328
|
if (!/^rcb_[a-zA-Z0-9_.-]+$/.test(t))
|
|
5297
5329
|
throw new X(
|
|
5298
|
-
|
|
5330
|
+
Z.InvalidCredentialsError,
|
|
5299
5331
|
"Invalid API key. Use your RevenueCat Billing API key."
|
|
5300
5332
|
);
|
|
5301
5333
|
}
|
|
5302
|
-
function
|
|
5334
|
+
function Zo(t) {
|
|
5303
5335
|
if ((/* @__PURE__ */ new Set([
|
|
5304
5336
|
"no_user",
|
|
5305
5337
|
"null",
|
|
@@ -5314,7 +5346,7 @@ function Xo(t) {
|
|
|
5314
5346
|
"unknown"
|
|
5315
5347
|
])).has(t) || t.includes("/"))
|
|
5316
5348
|
throw new X(
|
|
5317
|
-
|
|
5349
|
+
Z.InvalidAppUserIdError,
|
|
5318
5350
|
'Provided user id: "' + t + '" is not valid. See https://www.revenuecat.com/docs/customers/user-ids#tips-for-setting-app-user-ids for more information.'
|
|
5319
5351
|
);
|
|
5320
5352
|
}
|
|
@@ -5322,15 +5354,15 @@ const z = class z {
|
|
|
5322
5354
|
/** @internal */
|
|
5323
5355
|
constructor(e, r) {
|
|
5324
5356
|
/** @internal */
|
|
5325
|
-
|
|
5357
|
+
P(this, "_API_KEY");
|
|
5326
5358
|
/** @internal */
|
|
5327
|
-
|
|
5359
|
+
P(this, "_appUserId");
|
|
5328
5360
|
/** @internal */
|
|
5329
|
-
|
|
5361
|
+
P(this, "backend");
|
|
5330
5362
|
/** @internal */
|
|
5331
|
-
|
|
5363
|
+
P(this, "purchaseOperationHelper");
|
|
5332
5364
|
/** @internal */
|
|
5333
|
-
|
|
5365
|
+
P(this, "toOfferings", (e, r) => {
|
|
5334
5366
|
const n = e.offerings.find(
|
|
5335
5367
|
(l) => l.identifier === e.current_offering_id
|
|
5336
5368
|
) ?? null, i = {};
|
|
@@ -5348,7 +5380,7 @@ const z = class z {
|
|
|
5348
5380
|
current: o
|
|
5349
5381
|
};
|
|
5350
5382
|
});
|
|
5351
|
-
this._API_KEY = e, this._appUserId = r, je(e) && G.debugLog("Initializing Purchases SDK with sandbox API Key"), this.backend = new
|
|
5383
|
+
this._API_KEY = e, this._appUserId = r, je(e) && G.debugLog("Initializing Purchases SDK with sandbox API Key"), this.backend = new ko(this._API_KEY), this.purchaseOperationHelper = new Hn(this.backend);
|
|
5352
5384
|
}
|
|
5353
5385
|
/**
|
|
5354
5386
|
* Set the log level. Logs of the given level and below will be printed
|
|
@@ -5367,7 +5399,7 @@ const z = class z {
|
|
|
5367
5399
|
static getSharedInstance() {
|
|
5368
5400
|
if (z.isConfigured())
|
|
5369
5401
|
return z.instance;
|
|
5370
|
-
throw new
|
|
5402
|
+
throw new Yn();
|
|
5371
5403
|
}
|
|
5372
5404
|
/**
|
|
5373
5405
|
* Returns whether the Purchases SDK is configured or not.
|
|
@@ -5386,7 +5418,7 @@ const z = class z {
|
|
|
5386
5418
|
static configure(e, r) {
|
|
5387
5419
|
return z.instance !== void 0 && G.warnLog(
|
|
5388
5420
|
"Purchases is already initialized. You normally should only configure Purchases once. Creating and returning new instance."
|
|
5389
|
-
),
|
|
5421
|
+
), Xo(e), Zo(r), z.instance = new z(e, r), z.getSharedInstance();
|
|
5390
5422
|
}
|
|
5391
5423
|
/**
|
|
5392
5424
|
* Fetch the configured offerings for this user. You can configure these
|
|
@@ -5453,8 +5485,8 @@ const z = class z {
|
|
|
5453
5485
|
const l = s, c = !i, a = this._appUserId;
|
|
5454
5486
|
return G.debugLog(
|
|
5455
5487
|
`Presenting purchase form for package ${r.identifier}`
|
|
5456
|
-
), new Promise((u,
|
|
5457
|
-
new
|
|
5488
|
+
), new Promise((u, m) => {
|
|
5489
|
+
new Fo({
|
|
5458
5490
|
target: l,
|
|
5459
5491
|
props: {
|
|
5460
5492
|
appUserId: a,
|
|
@@ -5467,10 +5499,10 @@ const z = class z {
|
|
|
5467
5499
|
});
|
|
5468
5500
|
},
|
|
5469
5501
|
onClose: () => {
|
|
5470
|
-
l.innerHTML = "", G.debugLog("Purchase cancelled by user"),
|
|
5502
|
+
l.innerHTML = "", G.debugLog("Purchase cancelled by user"), m(new X(Z.UserCancelledError));
|
|
5471
5503
|
},
|
|
5472
|
-
onError: (
|
|
5473
|
-
l.innerHTML = "",
|
|
5504
|
+
onError: (A) => {
|
|
5505
|
+
l.innerHTML = "", m(X.getForPurchasesFlowError(A));
|
|
5474
5506
|
},
|
|
5475
5507
|
purchases: this,
|
|
5476
5508
|
backend: this.backend,
|
|
@@ -5534,17 +5566,17 @@ const z = class z {
|
|
|
5534
5566
|
/** @internal */
|
|
5535
5567
|
async _getCustomerInfoForUserId(e) {
|
|
5536
5568
|
const r = await this.backend.getCustomerInfo(e);
|
|
5537
|
-
return
|
|
5569
|
+
return qo(r);
|
|
5538
5570
|
}
|
|
5539
5571
|
};
|
|
5540
5572
|
/** @internal */
|
|
5541
|
-
|
|
5573
|
+
P(z, "instance");
|
|
5542
5574
|
let yt = z;
|
|
5543
5575
|
export {
|
|
5544
|
-
|
|
5576
|
+
Z as ErrorCode,
|
|
5545
5577
|
W as LogLevel,
|
|
5546
5578
|
zt as PackageType,
|
|
5547
5579
|
yt as Purchases,
|
|
5548
5580
|
X as PurchasesError,
|
|
5549
|
-
|
|
5581
|
+
Yn as UninitializedPurchasesError
|
|
5550
5582
|
};
|