@revolugo/elements 5.24.1-beta.0 → 5.24.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.es.min.js +426 -451
- package/dist/index.es.min.js.map +1 -1
- package/dist/index.min.js +3 -3
- package/dist/index.min.js.map +1 -1
- package/dist/{revolugo.banktransferdetails.QudK3vmF.min.js → revolugo.banktransferdetails.abCtPgHD.min.js} +11 -11
- package/dist/{revolugo.bdaterangepicker.DvKtzn68.min.js → revolugo.bdaterangepicker.B7dkBByh.min.js} +11 -11
- package/dist/{revolugo.bformattedamount.B8XgnZsm.min.js → revolugo.bformattedamount.Bu4V-Ui5.min.js} +2 -2
- package/dist/{revolugo.bhotelroomsdetails.J5p7c9bA.min.js → revolugo.bhotelroomsdetails.b1pvaSpB.min.js} +6 -6
- package/dist/{revolugo.bhotelsearchbar.D4DzU2lU.min.js → revolugo.bhotelsearchbar.xOnEInc-.min.js} +16 -16
- package/dist/{revolugo.booking-api-client.CHxijZ0m.min.js → revolugo.booking-api-client.BOzfwVYX.min.js} +455 -480
- package/dist/{revolugo.bookingdetailssidebar.CFSb0RL-.min.js → revolugo.bookingdetailssidebar.COAANpPA.min.js} +3 -3
- package/dist/{revolugo.bookingdetailssidebar.BfUfYYtN.min.js → revolugo.bookingdetailssidebar.DNtdVV_p.min.js} +12 -12
- package/dist/{revolugo.bookingmanager.bjizd63M.min.js → revolugo.bookingmanager.BtkAOGoG.min.js} +21 -21
- package/dist/revolugo.bphoneinput.DmGBPbRi.min.js +1832 -0
- package/dist/{revolugo.bpricesummaryskeleton.lIno7tle.min.js → revolugo.bpricesummaryskeleton.Dn4RFqEr.min.js} +3 -3
- package/dist/{revolugo.breakpoint-service.Csw38kci.min.js → revolugo.breakpoint-service.CYufk1eo.min.js} +2 -2
- package/dist/{revolugo.bstarrating.CQM0lPqC.min.js → revolugo.bstarrating.Bvgl8dLm.min.js} +5 -5
- package/dist/{revolugo.btag.CApnjPAG.min.js → revolugo.btag.BvOz4Gun.min.js} +6 -6
- package/dist/{revolugo.cancellationpoliciesbadge.3tbI6OfT.min.js → revolugo.cancellationpoliciesbadge.BT58DhH8.min.js} +3 -3
- package/dist/{revolugo.cancellationpoliciesbadge.D8eMZ4GI.min.js → revolugo.cancellationpoliciesbadge.C2fdUJMx.min.js} +6 -6
- package/dist/{revolugo.cancellationpolicieslist.CPcDeBuH.min.js → revolugo.cancellationpolicieslist.D3iB523D.min.js} +3 -3
- package/dist/{revolugo.cancellationpolicieslist.C8emtzpR.min.js → revolugo.cancellationpolicieslist.D7-_qpRx.min.js} +2 -2
- package/dist/{revolugo.common.BAeEqfa-.min.js → revolugo.common.Ds2kJJjk.min.js} +2 -2
- package/dist/{revolugo.creditcardform.BFqps0tE.min.js → revolugo.creditcardform.BUS8RitX.min.js} +3 -3
- package/dist/{revolugo.creditcardform.Bv2T3hA5.min.js → revolugo.creditcardform.azL7EOJI.min.js} +13 -13
- package/dist/{revolugo.creditcardpayment.D0ppK4_I.min.js → revolugo.creditcardpayment.RryGMo6F.min.js} +15 -15
- package/dist/{revolugo.creditcardpayment.h9oMHjv6.min.js → revolugo.creditcardpayment.u33P8_zp.min.js} +3 -3
- package/dist/{revolugo.currencypicker.BpKEVXB6.min.js → revolugo.currencypicker.pgTJ4rt4.min.js} +7 -7
- package/dist/{revolugo.currencypickerbtn.BSvVu4T-.min.js → revolugo.currencypickerbtn.D0e0gPz7.min.js} +3 -3
- package/dist/{revolugo.currencypickerbtn.Bumn23Hm.min.js → revolugo.currencypickerbtn.QvHF15D0.min.js} +7 -7
- package/dist/{revolugo.fastbookingflow.HfKCS1x3.min.js → revolugo.fastbookingflow.tLTnI0rU.min.js} +3 -3
- package/dist/{revolugo.fullbookingflow.DBRl0RyZ.min.js → revolugo.fullbookingflow.CwMQovLH.min.js} +16 -16
- package/dist/{revolugo.hotel-offer.R4vaR91L.min.js → revolugo.hotel-offer.BI38d5Tm.min.js} +12 -12
- package/dist/{revolugo.hoteldescriptionview.DFWrGzbX.min.js → revolugo.hoteldescriptionview.CLucJ1gS.min.js} +3 -3
- package/dist/{revolugo.hoteldescriptionview.BZaTVnPr.min.js → revolugo.hoteldescriptionview.D5n4WBqc.min.js} +22 -22
- package/dist/{revolugo.hotelofferitemlayout.BKPGYH0A.min.js → revolugo.hotelofferitemlayout.YB8WDf9L.min.js} +7 -7
- package/dist/{revolugo.hotelofferlist.B75BDhLY.min.js → revolugo.hotelofferlist.B-rtidyw.min.js} +3 -3
- package/dist/{revolugo.hotelofferlist.Dx9bFRjE.min.js → revolugo.hotelofferlist.DTu7ZopK.min.js} +1088 -1087
- package/dist/{revolugo.hotelofferrequestcreator.BA-139GM.min.js → revolugo.hotelofferrequestcreator.BQsTvD8F.min.js} +3 -3
- package/dist/{revolugo.hoteloffersearchmenu.ChXbqHSo.min.js → revolugo.hoteloffersearchmenu.BPHAQoVZ.min.js} +5 -5
- package/dist/{revolugo.hoteloffersmap.4XZR9MmM.min.js → revolugo.hoteloffersmap.Dc3Djbce.min.js} +16 -16
- package/dist/{revolugo.hoteloffersmap.Dz6yIvJU.min.js → revolugo.hoteloffersmap.fhoY4i49.min.js} +3 -3
- package/dist/{revolugo.hoteloffersview.CYejd8Le.min.js → revolugo.hoteloffersview.CN3aDzKp.min.js} +3 -3
- package/dist/{revolugo.hoteloffersview.CHsy8HcS.min.js → revolugo.hoteloffersview.u9eJgSdG.min.js} +16 -16
- package/dist/{revolugo.hotelroomofferlist.C7stDz1g.min.js → revolugo.hotelroomofferlist.BrpTGPm2.min.js} +28 -28
- package/dist/{revolugo.hotelroomofferlist.BEo0vfME.min.js → revolugo.hotelroomofferlist.DWaAwePZ.min.js} +3 -3
- package/dist/{revolugo.hotelroomofferrequestcreator.00097AYo.min.js → revolugo.hotelroomofferrequestcreator.CM4cg4DS.min.js} +3 -3
- package/dist/{revolugo.hotelroomoffersbookingflow.IxNr9395.min.js → revolugo.hotelroomoffersbookingflow.RH7qyqPm.min.js} +17 -17
- package/dist/{revolugo.hotelroomoffersearchmenu.CNu_xzN1.min.js → revolugo.hotelroomoffersearchmenu.55HHjwST.min.js} +4 -4
- package/dist/{revolugo.hotelroomoffersearchmenu.Dhe73dGI.min.js → revolugo.hotelroomoffersearchmenu.OVFJ9LCC.min.js} +4 -4
- package/dist/{revolugo.hotelroomoffersview.D9OSSvRn.min.js → revolugo.hotelroomoffersview.BvpNR588.min.js} +3 -3
- package/dist/{revolugo.hotelroomoffersview.D3Ie1mgj.min.js → revolugo.hotelroomoffersview.C9W3t6oM.min.js} +11 -11
- package/dist/{revolugo.index.CLo8_3Ln.min.js → revolugo.index.BfaIoxFY.min.js} +2 -2
- package/dist/{revolugo.index.D_aq5oML.min.js → revolugo.index.BjMVo6uv.min.js} +5 -5
- package/dist/{revolugo.index.Xbx9Kkt9.min.js → revolugo.index.C1PRuwys.min.js} +3 -3
- package/dist/{revolugo.index.DCVZRk5U.min.js → revolugo.index.CFSkbmtc.min.js} +6 -6
- package/dist/{revolugo.index.OPKYeKOM.min.js → revolugo.index.CKgve2FN.min.js} +2 -2
- package/dist/{revolugo.index.C6-_Ip4L.min.js → revolugo.index.CnetTZdK.min.js} +2 -2
- package/dist/{revolugo.index.DJk_ySNv.min.js → revolugo.index.Dj2qcRAu.min.js} +2 -2
- package/dist/{revolugo.index.L-kkj15V.min.js → revolugo.index.DtnM8mh_.min.js} +4 -4
- package/dist/{revolugo.index.IjVy8WHG.min.js → revolugo.index.SpWD4hl3.min.js} +5 -5
- package/dist/{revolugo.index.CvoBO1hJ.min.js → revolugo.index._koCafXL.min.js} +2 -2
- package/dist/{revolugo.index.CC9g6GOF.min.js → revolugo.index.nG_rdN5i.min.js} +5 -5
- package/dist/{revolugo.index.m5vAKrxq.min.js → revolugo.index.wKEERS5G.min.js} +4 -4
- package/dist/{revolugo.index.34G3RPOH.min.js → revolugo.index.y2z5jkKQ.min.js} +3 -3
- package/dist/{revolugo.langpicker.BHcsWWeE.min.js → revolugo.langpicker.BzFnLUm9.min.js} +6 -6
- package/dist/{revolugo.langpickerbtn.CbEWFibS.min.js → revolugo.langpickerbtn.Cn-p3RAu.min.js} +3 -3
- package/dist/{revolugo.langpickerbtn.xWVxZaCL.min.js → revolugo.langpickerbtn.EMYV4hoY.min.js} +8 -8
- package/dist/revolugo.min.js +25 -25
- package/dist/{revolugo.parsed-height.B0_b_i5Q.min.js → revolugo.parsed-height.D3VO935x.min.js} +39 -39
- package/dist/{revolugo.parsed-props.C_r2YycR.min.js → revolugo.parsed-props.C2NezSgu.min.js} +2 -2
- package/dist/{revolugo.prebookform.CBoKOdy6.min.js → revolugo.prebookform.y6Le8jqk.min.js} +18 -18
- package/dist/{revolugo.prebookform.glcZjav6.min.js → revolugo.prebookform.z40QeX8Y.min.js} +3 -3
- package/dist/{revolugo.revolugo-config.C9BBvhp9.min.js → revolugo.revolugo-config.Dlt8EylH.min.js} +3 -3
- package/dist/{revolugo.roominglisteditor.CPdqSBiy.min.js → revolugo.roominglisteditor.CGGfrU9y.min.js} +3 -3
- package/dist/{revolugo.roominglisteditor.DOAedPJA.min.js → revolugo.roominglisteditor.ltVJG2yb.min.js} +9 -9
- package/dist/{revolugo.sentry.DgwgrOAo.min.js → revolugo.sentry.fRRV-E4u.min.js} +10 -30
- package/dist/{revolugo.store.CPOVbCis.min.js → revolugo.store.BlcQQ-4u.min.js} +3 -3
- package/dist/{revolugo.storybooktoolbar.B8QVxsaR.min.js → revolugo.storybooktoolbar.PNDGMI0x.min.js} +14 -14
- package/dist/{revolugo.termsandconditions.JV2vAdwh.min.js → revolugo.termsandconditions.BcLdmO9u.min.js} +3 -3
- package/dist/{revolugo.termsandconditions.CtQXS3ad.min.js → revolugo.termsandconditions.BpNUnlCe.min.js} +5 -5
- package/dist/{revolugo.valert.D2jh8Gon.min.js → revolugo.valert.BaEBE0P-.min.js} +6 -6
- package/dist/{revolugo.vautocomplete.CruyoAAE.min.js → revolugo.vautocomplete.DYSxxpv7.min.js} +5 -5
- package/dist/{revolugo.vbadge.CkEFZ_EY.min.js → revolugo.vbadge.DgrYAEFj.min.js} +5 -5
- package/dist/{revolugo.vbtn.Dlfzkptu.min.js → revolugo.vbtn.C9YDeyc-.min.js} +7 -7
- package/dist/{revolugo.vcard.abVo_Qjh.min.js → revolugo.vcard.DX8p2-Xj.min.js} +6 -6
- package/dist/{revolugo.vdialog.Dx3TybRg.min.js → revolugo.vdialog.Cd0XOERM.min.js} +6 -6
- package/dist/{revolugo.vexpansionpanelheader.foNoQdaP.min.js → revolugo.vexpansionpanelheader.D0qJ_bqC.min.js} +8 -8
- package/dist/{revolugo.vform.5bUoH_AN.min.js → revolugo.vform.DYPyEXKA.min.js} +5 -5
- package/dist/{revolugo.vinput.DGiJDrUy.min.js → revolugo.vinput.CBbRCC9E.min.js} +5 -5
- package/dist/{revolugo.vitemgroup.D7vZEAJ6.min.js → revolugo.vitemgroup.BWlTh2TE.min.js} +5 -5
- package/dist/{revolugo.vlistitem.D6hGlec4.min.js → revolugo.vlistitem.It57-y90.min.js} +6 -6
- package/dist/{revolugo.vmenu.BWVl4Y6B.min.js → revolugo.vmenu.CXLFtdm8.min.js} +8 -8
- package/dist/{revolugo.vselect.SLiJRKxv.min.js → revolugo.vselect.5aTjQlRS.min.js} +14 -14
- package/dist/{revolugo.vsheet.C-rcY4Gm.min.js → revolugo.vsheet.Crxfmq3Y.min.js} +4 -4
- package/dist/{revolugo.vskeletonloader.BCRpKJf-.min.js → revolugo.vskeletonloader.Dety0a9H.min.js} +4 -4
- package/dist/{revolugo.vslidegroup.CeCj-jbl.min.js → revolugo.vslidegroup.3piQiZq8.min.js} +9 -9
- package/dist/{revolugo.vsnackbar.DuG2Yrlt.min.js → revolugo.vsnackbar.L36Qpan4.min.js} +5 -5
- package/dist/{revolugo.vtextfield.D8tqtwZB.min.js → revolugo.vtextfield.CPbhfKsq.min.js} +6 -6
- package/dist/{revolugo.vtoolbar.hJUILLkB.min.js → revolugo.vtoolbar.BnwpZJCn.min.js} +5 -5
- package/dist/{revolugo.vtooltip.DsUmz5mm.min.js → revolugo.vtooltip.BtiNycgC.min.js} +5 -5
- package/dist/{revolugo.vuetify.W2tOA33A.min.js → revolugo.vuetify.CewyUEmk.min.js} +2 -2
- package/dist/{revolugo.watch-list.D4WxUQG2.min.js → revolugo.watch-list.DLmiG3rJ.min.js} +2 -2
- package/dist/{revolugo.webcomponentwrapper.BfRVhbjJ.min.js → revolugo.webcomponentwrapper.Od8ojyDM.min.js} +4 -4
- package/package.json +2 -2
- package/dist/revolugo.bphoneinput.CuAPZUNW.min.js +0 -1825
package/dist/{revolugo.hotelofferlist.Dx9bFRjE.min.js → revolugo.hotelofferlist.DTu7ZopK.min.js}
RENAMED
@@ -1,33 +1,33 @@
|
|
1
|
-
import { a as
|
2
|
-
import { a as
|
3
|
-
import { h as
|
4
|
-
import { H as
|
5
|
-
import { H as
|
6
|
-
import { Y as
|
7
|
-
import { B as
|
8
|
-
import { l as
|
9
|
-
import { _ as
|
10
|
-
import { _ as
|
11
|
-
import { _ as
|
12
|
-
import { a as
|
13
|
-
import { _ as
|
14
|
-
import { b as
|
15
|
-
import { _ as
|
16
|
-
import { H as
|
17
|
-
import { B as
|
18
|
-
import { w as
|
19
|
-
import { t as
|
20
|
-
import { T as
|
21
|
-
import { _ as
|
22
|
-
const
|
1
|
+
import { a as Ki } from "./revolugo.booking-api-client.BOzfwVYX.min.js";
|
2
|
+
import { a as Qi, g as Ae, d as ot } from "./revolugo.store.BlcQQ-4u.min.js";
|
3
|
+
import { h as zi, H as Vi } from "./revolugo.hotelofferrequestcreator.BQsTvD8F.min.js";
|
4
|
+
import { H as $i, B as Xi, b as Wi, c as Yi, p as Ji } from "./revolugo.parsed-height.D3VO935x.min.js";
|
5
|
+
import { H as ki } from "./revolugo.hotelofferitemlayout.YB8WDf9L.min.js";
|
6
|
+
import { Y as Zi, V as Ai, Z as ze, a as eo } from "./revolugo.i18n.CuDReacQ.min.js";
|
7
|
+
import { B as to, _ as no } from "./revolugo.bphoneinput.DmGBPbRi.min.js";
|
8
|
+
import { l as Hn, n as jn, _ as vt, a as je, B as ro } from "./revolugo.webcomponentwrapper.Od8ojyDM.min.js";
|
9
|
+
import { _ as io } from "./revolugo.vform.DYPyEXKA.min.js";
|
10
|
+
import { _ as st } from "./revolugo.vtextfield.CPbhfKsq.min.js";
|
11
|
+
import { _ as Wn } from "./revolugo.vmenu.CXLFtdm8.min.js";
|
12
|
+
import { a as Yn, _ as oo } from "./revolugo.bdaterangepicker.B7dkBByh.min.js";
|
13
|
+
import { _ as qn } from "./revolugo.vbtn.C9YDeyc-.min.js";
|
14
|
+
import { b as Ii } from "./revolugo.breakpoint-service.CYufk1eo.min.js";
|
15
|
+
import { _ as Mn, p as so } from "./revolugo.parsed-props.C2NezSgu.min.js";
|
16
|
+
import { H as ao } from "./revolugo.hotelroomofferlist.BrpTGPm2.min.js";
|
17
|
+
import { B as uo } from "./revolugo.bhotelsearchbar.xOnEInc-.min.js";
|
18
|
+
import { w as co } from "./revolugo.watch-list.DLmiG3rJ.min.js";
|
19
|
+
import { t as lo } from "./revolugo.typed-mixins.CTkQuxKC.min.js";
|
20
|
+
import { T as fo } from "./revolugo.termsandconditions.BpNUnlCe.min.js";
|
21
|
+
import { _ as ho } from "./revolugo.index.CFSkbmtc.min.js";
|
22
|
+
const po = {
|
23
23
|
FiltersBar: !0,
|
24
24
|
HotelOfferSearchMenu: !1,
|
25
25
|
TermsAndConditionsFooter: !0,
|
26
|
-
HotelOfferItem:
|
27
|
-
},
|
28
|
-
...
|
26
|
+
HotelOfferItem: $i
|
27
|
+
}, go = {
|
28
|
+
...zi,
|
29
29
|
features: {
|
30
|
-
default: () =>
|
30
|
+
default: () => po,
|
31
31
|
type: [Object, String]
|
32
32
|
},
|
33
33
|
height: {
|
@@ -43,7 +43,7 @@ const ho = {
|
|
43
43
|
},
|
44
44
|
limit: {
|
45
45
|
type: Number,
|
46
|
-
default:
|
46
|
+
default: Zi
|
47
47
|
},
|
48
48
|
maxHeight: {
|
49
49
|
default: "90vh",
|
@@ -54,26 +54,26 @@ const ho = {
|
|
54
54
|
default: !0
|
55
55
|
}
|
56
56
|
};
|
57
|
-
function
|
57
|
+
function Bn(e, t) {
|
58
58
|
(t == null || t > e.length) && (t = e.length);
|
59
59
|
for (var n = 0, i = Array(t); n < t; n++) i[n] = e[n];
|
60
60
|
return i;
|
61
61
|
}
|
62
|
-
function
|
62
|
+
function F(e, t) {
|
63
63
|
if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
|
64
64
|
}
|
65
|
-
function
|
65
|
+
function N(e, t, n) {
|
66
66
|
return t && function(i, o) {
|
67
67
|
for (var a = 0; a < o.length; a++) {
|
68
68
|
var u = o[a];
|
69
|
-
u.enumerable = u.enumerable || !1, u.configurable = !0, "value" in u && (u.writable = !0), Object.defineProperty(i,
|
69
|
+
u.enumerable = u.enumerable || !1, u.configurable = !0, "value" in u && (u.writable = !0), Object.defineProperty(i, Ei(u.key), u);
|
70
70
|
}
|
71
71
|
}(e.prototype, t), Object.defineProperty(e, "prototype", { writable: !1 }), e;
|
72
72
|
}
|
73
|
-
function
|
73
|
+
function cn(e, t) {
|
74
74
|
var n = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
75
75
|
if (!n) {
|
76
|
-
if (Array.isArray(e) || (n =
|
76
|
+
if (Array.isArray(e) || (n = Kn(e)) || t) {
|
77
77
|
n && (e = n);
|
78
78
|
var i = 0, o = function() {
|
79
79
|
};
|
@@ -103,18 +103,18 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
103
103
|
} };
|
104
104
|
}
|
105
105
|
function r(e, t, n) {
|
106
|
-
return (t =
|
106
|
+
return (t = Ei(t)) in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
|
107
107
|
}
|
108
|
-
function
|
109
|
-
return
|
108
|
+
function Qe() {
|
109
|
+
return Qe = Object.assign ? Object.assign.bind() : function(e) {
|
110
110
|
for (var t = 1; t < arguments.length; t++) {
|
111
111
|
var n = arguments[t];
|
112
112
|
for (var i in n) ({}).hasOwnProperty.call(n, i) && (e[i] = n[i]);
|
113
113
|
}
|
114
114
|
return e;
|
115
|
-
},
|
115
|
+
}, Qe.apply(null, arguments);
|
116
116
|
}
|
117
|
-
function
|
117
|
+
function Jn(e, t) {
|
118
118
|
var n = Object.keys(e);
|
119
119
|
if (Object.getOwnPropertySymbols) {
|
120
120
|
var i = Object.getOwnPropertySymbols(e);
|
@@ -127,50 +127,50 @@ function Yn(e, t) {
|
|
127
127
|
function E(e) {
|
128
128
|
for (var t = 1; t < arguments.length; t++) {
|
129
129
|
var n = arguments[t] != null ? arguments[t] : {};
|
130
|
-
t % 2 ?
|
130
|
+
t % 2 ? Jn(Object(n), !0).forEach(function(i) {
|
131
131
|
r(e, i, n[i]);
|
132
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) :
|
132
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Jn(Object(n)).forEach(function(i) {
|
133
133
|
Object.defineProperty(e, i, Object.getOwnPropertyDescriptor(n, i));
|
134
134
|
});
|
135
135
|
}
|
136
136
|
return e;
|
137
137
|
}
|
138
|
-
function
|
138
|
+
function mo(e, t) {
|
139
139
|
return function(n) {
|
140
140
|
if (Array.isArray(n)) return n;
|
141
141
|
}(e) || function(n, i) {
|
142
142
|
var o = n == null ? null : typeof Symbol < "u" && n[Symbol.iterator] || n["@@iterator"];
|
143
143
|
if (o != null) {
|
144
|
-
var a, u, s, c, l = [],
|
144
|
+
var a, u, s, c, l = [], f = !0, h = !1;
|
145
145
|
try {
|
146
|
-
if (s = (o = o.call(n)).next, i !== 0) for (; !(
|
147
|
-
} catch (
|
148
|
-
|
146
|
+
if (s = (o = o.call(n)).next, i !== 0) for (; !(f = (a = s.call(o)).done) && (l.push(a.value), l.length !== i); f = !0) ;
|
147
|
+
} catch (d) {
|
148
|
+
h = !0, u = d;
|
149
149
|
} finally {
|
150
150
|
try {
|
151
|
-
if (!
|
151
|
+
if (!f && o.return != null && (c = o.return(), Object(c) !== c)) return;
|
152
152
|
} finally {
|
153
|
-
if (
|
153
|
+
if (h) throw u;
|
154
154
|
}
|
155
155
|
}
|
156
156
|
return l;
|
157
157
|
}
|
158
|
-
}(e, t) ||
|
158
|
+
}(e, t) || Kn(e, t) || function() {
|
159
159
|
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
160
160
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
161
161
|
}();
|
162
162
|
}
|
163
163
|
function xe(e) {
|
164
164
|
return function(t) {
|
165
|
-
if (Array.isArray(t)) return
|
165
|
+
if (Array.isArray(t)) return Bn(t);
|
166
166
|
}(e) || function(t) {
|
167
167
|
if (typeof Symbol < "u" && t[Symbol.iterator] != null || t["@@iterator"] != null) return Array.from(t);
|
168
|
-
}(e) ||
|
168
|
+
}(e) || Kn(e) || function() {
|
169
169
|
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
170
170
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
171
171
|
}();
|
172
172
|
}
|
173
|
-
function
|
173
|
+
function Ei(e) {
|
174
174
|
var t = function(n, i) {
|
175
175
|
if (typeof n != "object" || !n) return n;
|
176
176
|
var o = n[Symbol.toPrimitive];
|
@@ -190,26 +190,26 @@ function L(e) {
|
|
190
190
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
191
191
|
}, L(e);
|
192
192
|
}
|
193
|
-
function
|
193
|
+
function Kn(e, t) {
|
194
194
|
if (e) {
|
195
|
-
if (typeof e == "string") return
|
195
|
+
if (typeof e == "string") return Bn(e, t);
|
196
196
|
var n = {}.toString.call(e).slice(8, -1);
|
197
|
-
return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ?
|
197
|
+
return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? Bn(e, t) : void 0;
|
198
198
|
}
|
199
199
|
}
|
200
|
-
var
|
200
|
+
var ln = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
201
201
|
function me(e) {
|
202
202
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
203
203
|
}
|
204
|
-
function
|
204
|
+
function yo(e) {
|
205
205
|
return e && Object.prototype.hasOwnProperty.call(e, "default") && Object.keys(e).length === 1 ? e.default : e;
|
206
206
|
}
|
207
|
-
var
|
207
|
+
var Zn, er = { exports: {} };
|
208
208
|
function vo() {
|
209
|
-
return
|
209
|
+
return Zn || (Zn = 1, function(e) {
|
210
210
|
function t(n) {
|
211
211
|
if (n) return function(i) {
|
212
|
-
return
|
212
|
+
return Qe(i, t.prototype), i._callbacks = /* @__PURE__ */ new Map(), i;
|
213
213
|
}(n);
|
214
214
|
this._callbacks = /* @__PURE__ */ new Map();
|
215
215
|
}
|
@@ -228,17 +228,17 @@ function vo() {
|
|
228
228
|
if (i === void 0) return this._callbacks.delete(n), this;
|
229
229
|
var o = this._callbacks.get(n);
|
230
230
|
if (o) {
|
231
|
-
var a, u =
|
231
|
+
var a, u = cn(o.entries());
|
232
232
|
try {
|
233
233
|
for (u.s(); !(a = u.n()).done; ) {
|
234
|
-
var s =
|
234
|
+
var s = mo(a.value, 2), c = s[0], l = s[1];
|
235
235
|
if (l === i || l.fn === i) {
|
236
236
|
o.splice(c, 1);
|
237
237
|
break;
|
238
238
|
}
|
239
239
|
}
|
240
|
-
} catch (
|
241
|
-
u.e(
|
240
|
+
} catch (f) {
|
241
|
+
u.e(f);
|
242
242
|
} finally {
|
243
243
|
u.f();
|
244
244
|
}
|
@@ -249,12 +249,12 @@ function vo() {
|
|
249
249
|
var i = this._callbacks.get(n);
|
250
250
|
if (i) {
|
251
251
|
for (var o = xe(i), a = arguments.length, u = new Array(a > 1 ? a - 1 : 0), s = 1; s < a; s++) u[s - 1] = arguments[s];
|
252
|
-
var c, l =
|
252
|
+
var c, l = cn(o);
|
253
253
|
try {
|
254
254
|
for (l.s(); !(c = l.n()).done; )
|
255
255
|
c.value.apply(this, u);
|
256
|
-
} catch (
|
257
|
-
l.e(
|
256
|
+
} catch (f) {
|
257
|
+
l.e(f);
|
258
258
|
} finally {
|
259
259
|
l.f();
|
260
260
|
}
|
@@ -265,7 +265,7 @@ function vo() {
|
|
265
265
|
return (i = this._callbacks.get(n)) !== null && i !== void 0 ? i : [];
|
266
266
|
}, t.prototype.listenerCount = function(n) {
|
267
267
|
if (n) return this.listeners(n).length;
|
268
|
-
var i, o = 0, a =
|
268
|
+
var i, o = 0, a = cn(this._callbacks.values());
|
269
269
|
try {
|
270
270
|
for (a.s(); !(i = a.n()).done; )
|
271
271
|
o += i.value.length;
|
@@ -278,90 +278,90 @@ function vo() {
|
|
278
278
|
}, t.prototype.hasListeners = function(n) {
|
279
279
|
return this.listenerCount(n) > 0;
|
280
280
|
}, t.prototype.addEventListener = t.prototype.on, t.prototype.removeListener = t.prototype.off, t.prototype.removeEventListener = t.prototype.off, t.prototype.removeAllListeners = t.prototype.off, e.exports = t;
|
281
|
-
}(
|
281
|
+
}(er)), er.exports;
|
282
282
|
}
|
283
|
-
var
|
284
|
-
function
|
283
|
+
var bo = me(vo());
|
284
|
+
function B(e) {
|
285
285
|
return e != null && L(e) === "object" && e["@@functional/placeholder"] === !0;
|
286
286
|
}
|
287
287
|
function pe(e) {
|
288
288
|
return function t(n) {
|
289
|
-
return arguments.length === 0 ||
|
289
|
+
return arguments.length === 0 || B(n) ? t : e.apply(this, arguments);
|
290
290
|
};
|
291
291
|
}
|
292
|
-
function
|
292
|
+
function Ve(e) {
|
293
293
|
return function t(n, i) {
|
294
294
|
switch (arguments.length) {
|
295
295
|
case 0:
|
296
296
|
return t;
|
297
297
|
case 1:
|
298
|
-
return
|
298
|
+
return B(n) ? t : pe(function(o) {
|
299
299
|
return e(n, o);
|
300
300
|
});
|
301
301
|
default:
|
302
|
-
return
|
302
|
+
return B(n) && B(i) ? t : B(n) ? pe(function(o) {
|
303
303
|
return e(o, i);
|
304
|
-
}) :
|
304
|
+
}) : B(i) ? pe(function(o) {
|
305
305
|
return e(n, o);
|
306
306
|
}) : e(n, i);
|
307
307
|
}
|
308
308
|
};
|
309
309
|
}
|
310
|
-
function
|
310
|
+
function Qn(e) {
|
311
311
|
return function t(n, i, o) {
|
312
312
|
switch (arguments.length) {
|
313
313
|
case 0:
|
314
314
|
return t;
|
315
315
|
case 1:
|
316
|
-
return
|
316
|
+
return B(n) ? t : Ve(function(a, u) {
|
317
317
|
return e(n, a, u);
|
318
318
|
});
|
319
319
|
case 2:
|
320
|
-
return
|
320
|
+
return B(n) && B(i) ? t : B(n) ? Ve(function(a, u) {
|
321
321
|
return e(a, i, u);
|
322
|
-
}) :
|
322
|
+
}) : B(i) ? Ve(function(a, u) {
|
323
323
|
return e(n, a, u);
|
324
324
|
}) : pe(function(a) {
|
325
325
|
return e(n, i, a);
|
326
326
|
});
|
327
327
|
default:
|
328
|
-
return
|
328
|
+
return B(n) && B(i) && B(o) ? t : B(n) && B(i) ? Ve(function(a, u) {
|
329
329
|
return e(a, u, o);
|
330
|
-
}) :
|
330
|
+
}) : B(n) && B(o) ? Ve(function(a, u) {
|
331
331
|
return e(a, i, u);
|
332
|
-
}) :
|
332
|
+
}) : B(i) && B(o) ? Ve(function(a, u) {
|
333
333
|
return e(n, a, u);
|
334
|
-
}) :
|
334
|
+
}) : B(n) ? pe(function(a) {
|
335
335
|
return e(a, i, o);
|
336
|
-
}) :
|
336
|
+
}) : B(i) ? pe(function(a) {
|
337
337
|
return e(n, a, o);
|
338
|
-
}) :
|
338
|
+
}) : B(o) ? pe(function(a) {
|
339
339
|
return e(n, i, a);
|
340
340
|
}) : e(n, i, o);
|
341
341
|
}
|
342
342
|
};
|
343
343
|
}
|
344
|
-
function
|
344
|
+
function Et(e, t) {
|
345
345
|
return Object.prototype.hasOwnProperty.call(t, e);
|
346
346
|
}
|
347
|
-
var
|
347
|
+
var ko = pe(function(e) {
|
348
348
|
return e === null ? "Null" : e === void 0 ? "Undefined" : Object.prototype.toString.call(e).slice(8, -1);
|
349
349
|
});
|
350
|
-
function
|
350
|
+
function tr(e) {
|
351
351
|
return Object.prototype.toString.call(e) === "[object Object]";
|
352
352
|
}
|
353
|
-
function
|
354
|
-
if (n || (n = new
|
353
|
+
function Ci(e, t, n) {
|
354
|
+
if (n || (n = new Ao()), function(a) {
|
355
355
|
var u = L(a);
|
356
356
|
return a == null || u != "object" && u != "function";
|
357
357
|
}(e)) return e;
|
358
358
|
var i, o = function(a) {
|
359
359
|
var u = n.get(e);
|
360
360
|
if (u) return u;
|
361
|
-
for (var s in n.set(e, a), e) Object.prototype.hasOwnProperty.call(e, s) && (a[s] =
|
361
|
+
for (var s in n.set(e, a), e) Object.prototype.hasOwnProperty.call(e, s) && (a[s] = Ci(e[s], !0, n));
|
362
362
|
return a;
|
363
363
|
};
|
364
|
-
switch (
|
364
|
+
switch (ko(e)) {
|
365
365
|
case "Object":
|
366
366
|
return o(Object.create(Object.getPrototypeOf(e)));
|
367
367
|
case "Array":
|
@@ -386,7 +386,7 @@ function Ei(e, t, n) {
|
|
386
386
|
return e;
|
387
387
|
}
|
388
388
|
}
|
389
|
-
var
|
389
|
+
var Ao = function() {
|
390
390
|
function e() {
|
391
391
|
this.map = {}, this.length = 0;
|
392
392
|
}
|
@@ -410,181 +410,183 @@ var ko = function() {
|
|
410
410
|
}
|
411
411
|
}, e;
|
412
412
|
}(), U = pe(function(e) {
|
413
|
-
return e != null && typeof e.clone == "function" ? e.clone() :
|
414
|
-
}),
|
413
|
+
return e != null && typeof e.clone == "function" ? e.clone() : Ci(e);
|
414
|
+
}), Io = Qn(function(e, t, n) {
|
415
415
|
var i, o = {};
|
416
|
-
for (i in n = n || {}, t = t || {})
|
417
|
-
for (i in n)
|
416
|
+
for (i in n = n || {}, t = t || {}) Et(i, t) && (o[i] = Et(i, n) ? e(i, t[i], n[i]) : t[i]);
|
417
|
+
for (i in n) Et(i, n) && !Et(i, o) && (o[i] = n[i]);
|
418
418
|
return o;
|
419
|
-
}),
|
420
|
-
return
|
421
|
-
return
|
419
|
+
}), Eo = Qn(function e(t, n, i) {
|
420
|
+
return Io(function(o, a, u) {
|
421
|
+
return tr(a) && tr(u) ? e(t, a, u) : t(o, a, u);
|
422
422
|
}, n, i);
|
423
|
-
}),
|
424
|
-
return
|
423
|
+
}), Co = Qn(function(e, t, n) {
|
424
|
+
return Eo(function(i, o, a) {
|
425
425
|
return e(o, a);
|
426
426
|
}, t, n);
|
427
|
-
}),
|
427
|
+
}), qe = { HS: "HubSpot", GA: "GA", HOTJAR: "Hotjar", GOOGLEADS: "GoogleAds", VWO: "VWO", GTM: "GoogleTagManager", BRAZE: "Braze", INTERCOM: "INTERCOM", KEEN: "Keen", KISSMETRICS: "Kissmetrics", CUSTOMERIO: "CustomerIO", CHARTBEAT: "Chartbeat", COMSCORE: "Comscore", FACEBOOK_PIXEL: "FacebookPixel", LOTAME: "Lotame", OPTIMIZELY: "Optimizely", BUGSNAG: "Bugsnag", FULLSTORY: "Fullstory", TVSQUARED: "TVSquared", GA4: "GA4", GA4_V2: "GA4_V2", MOENGAGE: "MoEngage", AM: "Amplitude", PENDO: "Pendo", LYTICS: "Lytics", APPCUES: "Appcues", POSTHOG: "Posthog", KLAVIYO: "Klaviyo", CLEVERTAP: "Clevertap", BINGADS: "BingAds", PINTEREST_TAG: "PinterestTag", ADOBE_ANALYTICS: "AdobeAnalytics", LINKEDIN_INSIGHT_TAG: "LinkedInInsightTag", REDDIT_PIXEL: "RedditPixel", DRIP: "Drip", HEAP: "Heap", CRITEO: "Criteo", MP: "Mixpanel", QUALTRICS: "Qualtrics", PROFITWELL: "ProfitWell", SENTRY: "Sentry", QUANTUMMETRIC: "QuantumMetric", SNAP_PIXEL: "SnapPixel", POST_AFFILIATE_PRO: "PostAffiliatePro", GOOGLE_OPTIMIZE: "GoogleOptimize", LAUNCHDARKLY: "LaunchDarkly", GA360: "GA360", ADROLL: "Adroll", DCM_FLOODLIGHT: "DCMFloodlight", MATOMO: "Matomo", VERO: "Vero", MOUSEFLOW: "Mouseflow", ROCKERBOX: "Rockerbox", CONVERTFLOW: "ConvertFlow", SNAPENGAGE: "SnapEngage", LIVECHAT: "LiveChat", SHYNET: "Shynet", WOOPRA: "Woopra", ROLLBAR: "RollBar", QUORA_PIXEL: "QuoraPixel", JUNE: "June", ENGAGE: "Engage", ITERABLE: "Iterable", YANDEX_METRICA: "YandexMetrica", REFINER: "Refiner", QUALAROO: "Qualaroo", PODSIGHTS: "Podsights", AXEPTIO: "Axeptio", SATISMETER: "Satismeter", MICROSOFT_CLARITY: "MicrosoftClarity", SENDINBLUE: "Sendinblue", OLARK: "Olark", LEMNISK: "Lemnisk", TIKTOK_ADS: "TiktokAds", ACTIVE_CAMPAIGN: "ActiveCampaign", SPRIG: "Sprig", SPOTIFYPIXEL: "SpotifyPixel", COMMANDBAR: "CommandBar", NINETAILED: "Ninetailed", XPIXEL: "XPixel", GAINSIGHT_PX: "Gainsight_PX" }, W = "ADOBE_ANALYTICS";
|
428
428
|
r({}, "Adobe Analytics", "AdobeAnalytics");
|
429
|
-
var Oo = r(r(r(r(r(r({ "Adobe Analytics":
|
429
|
+
var Oo = r(r(r(r(r(r({ "Adobe Analytics": W, ADOBEANALYTICS: W, "ADOBE ANALYTICS": W }, W, W), "AdobeAnalytics", W), "adobeanalytics", W), "adobe analytics", W), "Adobe analytics", W), "adobe Analytics", W), at = "AM";
|
430
430
|
r({}, "Amplitude", "Amplitude");
|
431
|
-
var _o = r(r(r(r({},
|
431
|
+
var _o = r(r(r(r({}, at, at), "AMPLITUDE", at), "Amplitude", at), "am", at), ut = "APPCUES";
|
432
432
|
r({}, "Appcues", "Appcues");
|
433
|
-
var
|
433
|
+
var So = r(r(r(r({}, ut, ut), "Appcues", ut), "App Cues", ut), "appcues", ut), Ie = "BINGADS";
|
434
434
|
r({}, "Bing Ads", "BingAds");
|
435
|
-
var
|
435
|
+
var wo = r(r(r(r(r(r(r({}, Ie, Ie), "BingAds", Ie), "bingads", Ie), "Bing Ads", Ie), "Bing ads", Ie), "bing Ads", Ie), "bing ads", Ie), Ct = "BRAZE";
|
436
436
|
r({}, "Braze", "Braze");
|
437
|
-
var
|
437
|
+
var To = r(r(r({}, Ct, Ct), "Braze", Ct), "braze", Ct), Ot = "BUGSNAG";
|
438
438
|
r({}, "Bugsnag", "Bugsnag");
|
439
|
-
var
|
439
|
+
var Ro = r(r(r({}, Ot, Ot), "bugsnag", Ot), "Bugsnag", Ot), $e = "CHARTBEAT";
|
440
440
|
r({}, "Chartbeat", "Chartbeat");
|
441
|
-
var
|
441
|
+
var Po = r(r(r(r(r({}, $e, $e), "Chartbeat", $e), "chartbeat", $e), "Chart Beat", $e), "chart beat", $e), _t = "CLEVERTAP";
|
442
442
|
r({}, "CleverTap", "Clevertap");
|
443
|
-
var
|
443
|
+
var Do = r(r(r({}, _t, _t), "Clevertap", _t), "clevertap", _t), Be = "COMSCORE";
|
444
|
+
r({}, "Comscore", "Comscore");
|
445
|
+
var xo = r(r(r(r(r(r({}, Be, Be), "Comscore", Be), "Com Score", Be), "com Score", Be), "com score", Be), "Com score", Be), St = "CRITEO";
|
444
446
|
r({}, "Criteo", "Criteo");
|
445
|
-
var
|
447
|
+
var Lo = r(r(r({}, St, St), "Criteo", St), "criteo", St), Xe = "CUSTOMERIO";
|
446
448
|
r({}, "Customer IO", "CustomerIO");
|
447
|
-
var
|
449
|
+
var Mo = r(r(r(r(r({}, Xe, Xe), "Customerio", Xe), "Customer.io", Xe), "CUSTOMER.IO", Xe), "customer.io", Xe), wt = "DRIP";
|
448
450
|
r({}, "Drip", "Drip");
|
449
|
-
var
|
451
|
+
var Bo = r(r(r({}, wt, wt), "Drip", wt), "drip", wt), Ee = "FACEBOOK_PIXEL";
|
450
452
|
r({}, "Facebook Pixel", "FacebookPixel");
|
451
|
-
var
|
453
|
+
var Fo = r(r(r(r(r(r(r({}, Ee, Ee), "FB Pixel", Ee), "Facebook Pixel", Ee), "facebook pixel", Ee), "fbpixel", Ee), "FBPIXEL", Ee), "FB_PIXEL", Ee), ie = "FULLSTORY";
|
452
454
|
r({}, "Fullstory", "Fullstory");
|
453
|
-
var
|
455
|
+
var No = r(r(r(r(r(r(r(r({}, ie, ie), "Fullstory", ie), "FullStory", ie), "full Story", ie), "Full Story", ie), "Full story", ie), "full story", ie), "fullstory", ie), We = "GA";
|
454
456
|
r({}, "Google Analytics", "GA");
|
455
|
-
var
|
457
|
+
var Go = r(r(r(r(r({}, We, We), "Google Analytics", We), "GoogleAnalytics", We), "GOOGLE ANALYTICS", We), "google analytics", We), z = "GA4";
|
456
458
|
r({}, "Google Analytics 4 (GA4)", "GA4");
|
457
|
-
var
|
459
|
+
var Uo = r(r(r(r(r(r(r(r(r(r({}, z, z), "Google Analytics 4", z), "Google analytics 4", z), "google analytics 4", z), "Google Analytics4", z), "Google analytics4", z), "google analytics4", z), "Google Analytics 4 (GA4)", z), "google analytics 4 (ga4)", z), "GoogleAnalytics4", z), V = "GA4_V2";
|
458
460
|
r({}, "Google Analytics 4 (GA4) V2", "GA4_V2");
|
459
|
-
var
|
461
|
+
var Ho = r(r(r(r(r(r(r(r(r(r({}, V, V), "Google Analytics 4 V2", V), "Google analytics 4 V2", V), "google analytics 4 V2", V), "Google Analytics4 V2", V), "Google analytics4 V2", V), "google analytics4 V2", V), "Google Analytics 4 (GA4) V2", V), "google analytics 4 (ga4) V2", V), "GoogleAnalytics4V2", V), Fe = "GOOGLEADS";
|
460
462
|
r({}, "Google Ads", "GoogleAds");
|
461
|
-
var
|
463
|
+
var jo = r(r(r(r(r(r({}, Fe, Fe), "Google Ads", Fe), "GoogleAds", Fe), "GOOGLE ADS", Fe), "google ads", Fe), "googleads", Fe), oe = "GOOGLE_OPTIMIZE";
|
462
464
|
r({}, "Google Optimize", "GoogleOptimize");
|
463
|
-
var
|
465
|
+
var qo = r(r(r(r(r(r(r(r({}, oe, oe), "Google Optimize", oe), "GoogleOptimize", oe), "Googleoptimize", oe), "GOOGLEOPTIMIZE", oe), "google optimize", oe), "Google optimize", oe), "GOOGLE OPTIMIZE", oe), Ye = "GTM";
|
464
466
|
r({}, "Google Tag Manager", "GoogleTagManager");
|
465
|
-
var
|
467
|
+
var Ko = r(r(r(r(r({}, Ye, Ye), "Google Tag Manager", Ye), "google tag manager", Ye), "googletag manager", Ye), "googletagmanager", Ye), ct = "HEAP";
|
466
468
|
r({}, "Heap.io", "Heap");
|
467
|
-
var
|
469
|
+
var Qo = r(r(r(r({}, ct, ct), "Heap", ct), "heap", ct), "Heap.io", ct), Je = "HOTJAR";
|
468
470
|
r({}, "Hotjar", "Hotjar");
|
469
|
-
var
|
471
|
+
var zo = r(r(r(r(r({}, Je, Je), "Hotjar", Je), "hotjar", Je), "Hot Jar", Je), "hot jar", Je), Ne = "HS";
|
470
472
|
r({}, "HubSpot", "HubSpot");
|
471
|
-
var
|
473
|
+
var Vo = r(r(r(r(r(r({}, Ne, Ne), "Hubspot", Ne), "HUBSPOT", Ne), "hub spot", Ne), "Hub Spot", Ne), "Hub spot", Ne), Tt = "INTERCOM";
|
472
474
|
r({}, "Intercom", "INTERCOM");
|
473
|
-
var
|
475
|
+
var $o = r(r(r({}, Tt, Tt), "Intercom", Tt), "intercom", Tt), Ze = "KEEN";
|
474
476
|
r({}, "Keen", "Keen");
|
475
|
-
var
|
477
|
+
var Xo = r(r(r(r(r({}, Ze, Ze), "Keen", Ze), "Keen.io", Ze), "keen", Ze), "keen.io", Ze), Rt = "KISSMETRICS";
|
476
478
|
r({}, "Kiss Metrics", "Kissmetrics");
|
477
|
-
var
|
479
|
+
var Wo = r(r(r({}, Rt, Rt), "Kissmetrics", Rt), "kissmetrics", Rt), Pt = "KLAVIYO";
|
478
480
|
r({}, "Klaviyo", "Klaviyo");
|
479
|
-
var
|
481
|
+
var Yo = r(r(r({}, Pt, Pt), "Klaviyo", Pt), "klaviyo", Pt), Ge = "LAUNCHDARKLY";
|
480
482
|
r({}, "LaunchDarkly", "LaunchDarkly");
|
481
|
-
var
|
483
|
+
var nr, Jo = r(r(r(r(r(r({}, Ge, Ge), "LaunchDarkly", Ge), "Launch_Darkly", Ge), "Launch Darkly", Ge), "launchDarkly", Ge), "launch darkly", Ge), Q = "LINKEDIN_INSIGHT_TAG";
|
482
484
|
r({}, "Linkedin Insight Tag", "LinkedInInsightTag");
|
483
|
-
var
|
485
|
+
var Zo = (r(r(r(r(r(r(r(r(r(r(nr = {}, Q, Q), "LinkedIn Insight Tag", Q), "LinkedIn insight tag", Q), "linkedIn insight tag", Q), "Linkedin_insight_tag", Q), "LinkedinInsighttag", Q), "LinkedinInsightTag", Q), "LinkedInInsightTag", Q), "Linkedininsighttag", Q), "LINKEDININSIGHTTAG", Q), r(nr, "linkedininsighttag", Q)), Dt = "LOTAME";
|
484
486
|
r({}, "Lotame", "Lotame");
|
485
|
-
var
|
487
|
+
var es = r(r(r({}, Dt, Dt), "Lotame", Dt), "lotame", Dt), xt = "LYTICS";
|
486
488
|
r({}, "Lytics", "Lytics");
|
487
|
-
var
|
489
|
+
var ts = r(r(r({}, xt, xt), "Lytics", xt), "lytics", xt), Ue = "MP";
|
488
490
|
r({}, "Mixpanel", "Mixpanel");
|
489
|
-
var
|
491
|
+
var ns = r(r(r(r(r(r({}, Ue, Ue), "MIXPANEL", Ue), "Mixpanel", Ue), "MIX PANEL", Ue), "Mix panel", Ue), "Mix Panel", Ue), Ce = "MOENGAGE";
|
490
492
|
r({}, "MoEngage", "MoEngage");
|
491
|
-
var
|
493
|
+
var rs = r(r(r(r(r(r(r({}, Ce, Ce), "MoEngage", Ce), "moengage", Ce), "Moengage", Ce), "Mo Engage", Ce), "mo engage", Ce), "Mo engage", Ce), Lt = "OPTIMIZELY";
|
492
494
|
r({}, "Optimizely Web", "Optimizely");
|
493
|
-
var
|
495
|
+
var is = r(r(r({}, Lt, Lt), "Optimizely", Lt), "optimizely", Lt), Mt = "PENDO";
|
494
496
|
r({}, "Pendo", "Pendo");
|
495
|
-
var
|
497
|
+
var rr, os = r(r(r({}, Mt, Mt), "Pendo", Mt), "pendo", Mt), H = "PINTEREST_TAG";
|
496
498
|
r({}, "Pinterest Tag", "PinterestTag");
|
497
|
-
var
|
499
|
+
var ss = (r(r(r(r(r(r(r(r(r(r(rr = {}, H, H), "PinterestTag", H), "Pinterest_Tag", H), "PINTERESTTAG", H), "pinterest", H), "PinterestAds", H), "Pinterest_Ads", H), "Pinterest", H), "Pinterest Tag", H), "Pinterest tag", H), r(r(r(r(rr, "PINTEREST TAG", H), "pinterest tag", H), "Pinterest Ads", H), "Pinterest ads", H)), se = "POST_AFFILIATE_PRO";
|
498
500
|
r({}, "Post Affiliate Pro", "PostAffiliatePro");
|
499
|
-
var
|
501
|
+
var as = r(r(r(r(r(r(r(r({}, se, se), "PostAffiliatePro", se), "Post_affiliate_pro", se), "Post Affiliate Pro", se), "Post affiliate pro", se), "post affiliate pro", se), "postaffiliatepro", se), "POSTAFFILIATEPRO", se), Oe = "POSTHOG";
|
500
502
|
r({}, "PostHog", "Posthog");
|
501
|
-
var
|
503
|
+
var us = r(r(r(r(r(r(r({}, Oe, Oe), "PostHog", Oe), "Posthog", Oe), "posthog", Oe), "Post Hog", Oe), "Post hog", Oe), "post hog", Oe), _e = "PROFITWELL";
|
502
504
|
r({}, "ProfitWell", "ProfitWell");
|
503
|
-
var
|
505
|
+
var cs = r(r(r(r(r(r(r({}, _e, _e), "ProfitWell", _e), "profitwell", _e), "Profitwell", _e), "Profit Well", _e), "profit well", _e), "Profit well", _e), Bt = "QUALTRICS";
|
504
506
|
r({}, "Qualtrics", "Qualtrics");
|
505
|
-
var
|
507
|
+
var ls = r(r(r({}, Bt, Bt), "Qualtrics", Bt), "qualtrics", Bt), ae = "QUANTUMMETRIC";
|
506
508
|
r({}, "Quantum Metric", "QuantumMetric");
|
507
|
-
var
|
509
|
+
var fs = r(r(r(r(r(r(r(r({}, ae, ae), "Quantum Metric", ae), "quantum Metric", ae), "quantum metric", ae), "QuantumMetric", ae), "quantumMetric", ae), "quantummetric", ae), "Quantum_Metric", ae), ue = "REDDIT_PIXEL";
|
508
510
|
r({}, "Reddit Pixel", "RedditPixel");
|
509
|
-
var
|
511
|
+
var hs = r(r(r(r(r(r(r(r({}, ue, ue), "Reddit_Pixel", ue), "RedditPixel", ue), "REDDITPIXEL", ue), "redditpixel", ue), "Reddit Pixel", ue), "REDDIT PIXEL", ue), "reddit pixel", ue), Ft = "SENTRY";
|
510
512
|
r({}, "Sentry", "Sentry");
|
511
|
-
var
|
513
|
+
var ds = r(r(r({}, Ft, Ft), "sentry", Ft), "Sentry", Ft), ce = "SNAP_PIXEL";
|
512
514
|
r({}, "Snap Pixel", "SnapPixel");
|
513
|
-
var
|
515
|
+
var ps = r(r(r(r(r(r(r(r({}, ce, ce), "Snap_Pixel", ce), "SnapPixel", ce), "SNAPPIXEL", ce), "snappixel", ce), "Snap Pixel", ce), "SNAP PIXEL", ce), "snap pixel", ce), Y = "TVSQUARED";
|
514
516
|
r({}, "TVSquared", "TVSquared");
|
515
|
-
var
|
517
|
+
var gs = r(r(r(r(r(r(r(r(r({}, Y, Y), "TVSquared", Y), "tvsquared", Y), "tvSquared", Y), "TvSquared", Y), "Tvsquared", Y), "TV Squared", Y), "tv squared", Y), "tv Squared", Y), le = "VWO";
|
516
518
|
r({}, "VWO", "VWO");
|
517
|
-
var
|
519
|
+
var ms = r(r(r(r(r(r(r(r({}, le, le), "VisualWebsiteOptimizer", le), "Visualwebsiteoptimizer", le), "visualwebsiteoptimizer", le), "vwo", le), "Visual Website Optimizer", le), "Visual website optimizer", le), "visual website optimizer", le), J = "GA360";
|
518
520
|
r({}, "Google Analytics 360", "GA360");
|
519
|
-
var
|
521
|
+
var ys = r(r(r(r(r(r(r(r(r({}, J, J), "Google Analytics 360", J), "Google analytics 360", J), "google analytics 360", J), "Google Analytics360", J), "Google analytics360", J), "google analytics360", J), "GoogleAnalytics360", J), "GA 360", J), et = "ADROLL";
|
520
522
|
r({}, "Adroll", "Adroll");
|
521
|
-
var
|
523
|
+
var vs = r(r(r(r(r({}, et, et), "Adroll", et), "Ad roll", et), "ad roll", et), "adroll", et), Z = "DCM_FLOODLIGHT";
|
522
524
|
r({}, "DCM Floodlight", "DCMFloodlight");
|
523
|
-
var
|
525
|
+
var bs = r(r(r(r(r(r(r(r(r({}, Z, Z), "DCM Floodlight", Z), "dcm floodlight", Z), "Dcm Floodlight", Z), "DCMFloodlight", Z), "dcmfloodlight", Z), "DcmFloodlight", Z), "dcm_floodlight", Z), "DCM_Floodlight", Z), Nt = "MATOMO";
|
524
526
|
r({}, "Matomo", "Matomo");
|
525
|
-
var
|
527
|
+
var ks = r(r(r({}, Nt, Nt), "Matomo", Nt), "matomo", Nt), Gt = "VERO";
|
526
528
|
r({}, "Vero", "Vero");
|
527
|
-
var
|
529
|
+
var As = r(r(r({}, Gt, Gt), "Vero", Gt), "vero", Gt), ee = "MOUSEFLOW";
|
528
530
|
r({}, "Mouseflow", "Mouseflow");
|
529
|
-
var
|
531
|
+
var Is = r(r(r(r(r(r(r(r(r({}, ee, ee), "Mouseflow", ee), "mouseflow", ee), "mouseFlow", ee), "MouseFlow", ee), "Mouse flow", ee), "mouse flow", ee), "mouse Flow", ee), "Mouse Flow", ee), Se = "ROCKERBOX";
|
530
532
|
r({}, "Rockerbox", "Rockerbox");
|
531
|
-
var
|
533
|
+
var Es = r(r(r(r(r(r(r({}, Se, Se), "Rockerbox", Se), "rockerbox", Se), "RockerBox", Se), "Rocker box", Se), "rocker box", Se), "Rocker Box", Se), $ = "CONVERTFLOW";
|
532
534
|
r({}, "Convertflow", "ConvertFlow");
|
533
|
-
var
|
535
|
+
var Cs = r(r(r(r(r(r(r(r(r(r({}, $, $), "Convertflow", $), "convertflow", $), "convertFlow", $), "ConvertFlow", $), "Convert flow", $), "convert flow", $), "convert Flow", $), "Convert Flow", $), "CONVERT FLOW", $), we = "SNAPENGAGE";
|
534
536
|
r({}, "SnapEngage", "SnapEngage");
|
535
|
-
var
|
537
|
+
var Os = r(r(r(r(r(r(r({}, we, we), "SnapEngage", we), "Snap_Engage", we), "snapengage", we), "SNAP ENGAGE", we), "Snap Engage", we), "snap engage", we), Te = "LIVECHAT";
|
536
538
|
r({}, "livechat", "LiveChat");
|
537
|
-
var
|
539
|
+
var _s = r(r(r(r(r(r(r({}, Te, Te), "LiveChat", Te), "Live_Chat", Te), "livechat", Te), "LIVE CHAT", Te), "Live Chat", Te), "live chat", Te), te = "SHYNET";
|
538
540
|
r({}, "Shynet", "Shynet");
|
539
|
-
var
|
540
|
-
r({}, "
|
541
|
-
var
|
542
|
-
r({}, "
|
543
|
-
var
|
541
|
+
var Ss = r(r(r(r(r(r(r(r(r({}, te, te), "shynet", te), "ShyNet", te), "shyNet", te), "Shynet", te), "shy net", te), "Shy Net", te), "shy Net", te), "Shy net", te), Ut = "WOOPRA";
|
542
|
+
r({}, "Woopra", "Woopra");
|
543
|
+
var ws = r(r(r({}, Ut, Ut), "Woopra", Ut), "woopra", Ut), fe = "ROLLBAR";
|
544
|
+
r({}, "RollBar", "RollBar");
|
545
|
+
var Ts = r(r(r(r(r(r(r(r({}, fe, fe), "RollBar", fe), "Roll_Bar", fe), "rollbar", fe), "Rollbar", fe), "ROLL BAR", fe), "Roll Bar", fe), "roll bar", fe), X = "QUORA_PIXEL";
|
544
546
|
r({}, "Quora Pixel", "QuoraPixel");
|
545
|
-
var
|
547
|
+
var Rs = r(r(r(r(r(r(r(r(r(r({}, X, X), "Quora Pixel", X), "Quora pixel", X), "QUORA PIXEL", X), "QuoraPixel", X), "Quorapixel", X), "QUORAPIXEL", X), "Quora_Pixel", X), "quora_pixel", X), "Quora", X), Ht = "JUNE";
|
546
548
|
r({}, "JUNE", "June");
|
547
|
-
var
|
549
|
+
var Ps = r(r(r({}, Ht, Ht), "June", Ht), "june", Ht), jt = "ENGAGE";
|
548
550
|
r({}, "Engage", "Engage");
|
549
|
-
var
|
551
|
+
var Ds = r(r(r({}, jt, jt), "Engage", jt), "engage", jt), qt = "ITERABLE";
|
550
552
|
r({}, "Iterable", "Iterable");
|
551
|
-
var
|
553
|
+
var xs = r(r(r({}, qt, qt), "Iterable", qt), "iterable", qt), tt = "YANDEX_METRICA";
|
552
554
|
r({}, "Yandex.Metrica", "YandexMetrica");
|
553
|
-
var
|
555
|
+
var Ls = r(r(r(r(r({}, tt, tt), "Yandexmetrica", tt), "yandexmetrica", tt), "yandexMetrica", tt), "YandexMetrica", tt), Kt = "REFINER";
|
554
556
|
r({}, "Refiner", "Refiner");
|
555
|
-
var
|
557
|
+
var Ms = r(r(r({}, Kt, Kt), "Refiner", Kt), "refiner", Kt), Qt = "QUALAROO";
|
556
558
|
r({}, "Qualaroo", "Qualaroo");
|
557
|
-
var
|
559
|
+
var Bs = r(r(r({}, Qt, Qt), "Qualaroo", Qt), "qualaroo", Qt), he = "PODSIGHTS";
|
558
560
|
r({}, "Podsights", "Podsights");
|
559
|
-
var
|
561
|
+
var Fs = r(r(r(r(r(r(r(r({}, he, he), "Podsights", he), "PodSights", he), "pod Sights", he), "Pod Sights", he), "pod sights", he), "POD SIGHTS", he), "Pod sights", he), zt = "AXEPTIO";
|
560
562
|
r({}, "Axeptio", "Axeptio");
|
561
|
-
var
|
562
|
-
r({}, "
|
563
|
-
var
|
563
|
+
var Ns = r(r(r({}, zt, zt), "Axeptio", zt), "axeptio", zt), Vt = "SATISMETER";
|
564
|
+
r({}, "Satismeter", "Satismeter");
|
565
|
+
var Gs = r(r(r({}, Vt, Vt), "Satismeter", Vt), "SatisMeter", Vt), ne = "MICROSOFT_CLARITY";
|
564
566
|
r({}, "Microsoft Clarity", "MicrosoftClarity");
|
565
|
-
var
|
567
|
+
var Us = r(r(r(r(r(r(r(r(r({}, ne, ne), "Microsoft Clarity", ne), "Microsoft clarity", ne), "microsoft clarity", ne), "Microsoft_clarity", ne), "MicrosoftClarity", ne), "MICROSOFTCLARITY", ne), "microsoftclarity", ne), "microsoftClarity", ne), lt = "SENDINBLUE";
|
566
568
|
r({}, "Sendinblue", "Sendinblue");
|
567
|
-
var
|
569
|
+
var Hs = r(r(r(r({}, lt, lt), "Sendinblue", lt), "sendinblue", lt), "SendinBlue", lt), $t = "OLARK";
|
568
570
|
r({}, "Olark", "Olark");
|
569
|
-
var
|
571
|
+
var js = r(r(r({}, $t, $t), "Olark", $t), "olark", $t), de = "LEMNISK";
|
570
572
|
r({}, "Lemnisk Marketing Automation", "Lemnisk");
|
571
|
-
var
|
573
|
+
var qs = r(r(r(r(r(r(r(r({}, de, de), "LEMNISK_MARKETING_AUTOMATION", de), "Lemnisk Marketing Automation", de), "LemniskMarketingAutomation", de), "lemniskmarketingautomation", de), "lemniskMarketingAutomation", de), "lemnisk", de), "Lemnisk", de), Re = "TIKTOK_ADS";
|
572
574
|
r({}, "TikTok Ads", "TiktokAds");
|
573
|
-
var
|
575
|
+
var Ks = r(r(r(r(r(r(r({}, Re, Re), "TiktokAds", Re), "Tiktok ads", Re), "Tiktok Ads", Re), "Tik Tok Ads", Re), "tik tok ads", Re), "tiktokads", Re), re = "ACTIVE_CAMPAIGN";
|
574
576
|
r({}, "ActiveCampaign", "ActiveCampaign");
|
575
|
-
var
|
577
|
+
var Qs = r(r(r(r(r(r({ ActiveCampaign: re, "Active Campaign": re, "ACTIVE CAMPAIGN": re }, re, re), "activecampaign", re), "active campaign", re), "Active campaign", re), "active Campaign", re), "active_campaign", re), Xt = "SPRIG";
|
576
578
|
r({}, "Sprig", "Sprig");
|
577
|
-
var
|
579
|
+
var zs = r(r(r({}, Xt, Xt), "Sprig", Xt), "sprig", Xt), ft = "SPOTIFYPIXEL";
|
578
580
|
r({}, "Spotify Pixel", "SpotifyPixel");
|
579
|
-
var
|
581
|
+
var Vs = r(r(r(r({}, ft, ft), "Spotify Pixel", ft), "spotify pixel", ft), "SPOTIFY_PIXEL", ft), nt = "COMMANDBAR";
|
580
582
|
r({}, "CommandBar", "CommandBar");
|
581
|
-
var
|
583
|
+
var $s = r(r(r(r(r({}, nt, nt), "Command Bar", nt), "Commandbar", nt), "COMMAND_BAR", nt), "commandbar", nt), ht = "NINETAILED";
|
582
584
|
r({}, "Ninetailed", "Ninetailed");
|
583
|
-
var
|
585
|
+
var Xs = r(r(r(r({}, ht, ht), "Ninetailed", ht), "ninetailed", ht), "NineTailed", ht), rt = "XPIXEL";
|
584
586
|
r({}, "XPixel", "XPixel");
|
585
|
-
var
|
587
|
+
var Ws = r(r(r(r(r({}, rt, rt), "XPixel", rt), "Xpixel", rt), "xpixel", rt), "xPixel", rt), fn = "GAINSIGHT_PX";
|
586
588
|
r({}, "Gainsight PX", "Gainsight_PX");
|
587
|
-
var
|
589
|
+
var Ys = r(r({}, fn, fn), "Gainsight_PX", fn), Oi = E(E(E(E(E(E(E(E(E(E(E(E(E(E(E(E(E(E(E(E(E(E(E(E(E(E(E(E(E(E(E(E(E(E(E(E(E(E(E(E(E(E(E(E(E(E(E(E(E(E(E(E(E(E(E(E(E(E(E(E(E(E(E(E(E(E(E(E(E(E(E(E(E(E(E(E(E(E(E(E(E({ All: "All" }, Oo), _o), So), wo), To), Ro), $s), Po), Do), xo), Lo), Mo), Bo), Fo), No), Go), Uo), Ho), ys), jo), qo), Ko), Qo), zo), Vo), $o), Xo), Wo), Yo), Jo), Zo), es), ts), ns), rs), Xs), is), os), ss), as), us), cs), ls), fs), hs), ds), ps), gs), ms), vs), bs), ks), As), Is), Cs), Os), _s), Ss), ws), Ts), Rs), Ps), Ds), xs), Es), Ls), Ms), Bs), Fs), Ns), Gs), Us), Hs), js), qs), Ks), Qs), zs), Vs), Ws), Ys), Pe = 4, D = { setLogLevel: function(e) {
|
588
590
|
switch (e.toUpperCase()) {
|
589
591
|
case "INFO":
|
590
592
|
Pe = 1;
|
@@ -610,9 +612,9 @@ var Xs = r(r({}, ln, ln), "Gainsight_PX", ln), Oi = E(E(E(E(E(E(E(E(E(E(E(E(E(E(
|
|
610
612
|
}, error: function() {
|
611
613
|
var e;
|
612
614
|
Pe <= 4 && (e = console).error.apply(e, arguments);
|
613
|
-
} },
|
614
|
-
var t
|
615
|
-
|
615
|
+
} }, tn = 1e4, Wt = 1e3, _i = "RS_JS_SDK", zn = "Request failed with status:", Js = [zn], Vn = "errorReporting", ir = function(e) {
|
616
|
+
var t = window.RudderStackGlobals && window.RudderStackGlobals[Vn];
|
617
|
+
t && e instanceof Error && t.notify(e);
|
616
618
|
}, ge = function(e, t) {
|
617
619
|
try {
|
618
620
|
return JSON.stringify(e, /* @__PURE__ */ function(n) {
|
@@ -628,7 +630,7 @@ var Xs = r(r({}, ln, ln), "Gainsight_PX", ln), Oi = E(E(E(E(E(E(E(E(E(E(E(E(E(E(
|
|
628
630
|
} catch {
|
629
631
|
return D.warn("Failed to convert the value to a JSON string."), null;
|
630
632
|
}
|
631
|
-
},
|
633
|
+
}, Zs = function(e, t, n) {
|
632
634
|
var i, o;
|
633
635
|
try {
|
634
636
|
i = typeof e == "string" ? e : e instanceof Error || e.message ? e.message : ge(e);
|
@@ -643,21 +645,21 @@ var Xs = r(r({}, ln, ln), "Gainsight_PX", ln), Oi = E(E(E(E(E(E(E(E(E(E(E(E(E(E(
|
|
643
645
|
}, M = function(e, t, n) {
|
644
646
|
var i;
|
645
647
|
try {
|
646
|
-
i =
|
648
|
+
i = Zs(e, t, n);
|
647
649
|
} catch (o) {
|
648
|
-
D.error("[handleError] Exception:: ", o), D.error("[handleError] Original error:: ", ge(e)),
|
650
|
+
D.error("[handleError] Exception:: ", o), D.error("[handleError] Original error:: ", ge(e)), ir(o);
|
649
651
|
}
|
650
652
|
i && (D.error(i), function(o) {
|
651
|
-
return !o.message || !
|
653
|
+
return !o.message || !Js.some(function(a) {
|
652
654
|
return o.message.includes(a);
|
653
655
|
});
|
654
|
-
}(e) &&
|
655
|
-
},
|
656
|
+
}(e) && ir(e));
|
657
|
+
}, or = { exports: {} }, sr, ar = { exports: {} }, ea = yo(Object.freeze({ __proto__: null, default: {} }));
|
656
658
|
function Le() {
|
657
|
-
return
|
659
|
+
return sr || (sr = 1, ar.exports = (e = e || function(t, n) {
|
658
660
|
var i;
|
659
|
-
if (typeof window < "u" && window.crypto && (i = window.crypto), typeof self < "u" && self.crypto && (i = self.crypto), typeof globalThis < "u" && globalThis.crypto && (i = globalThis.crypto), !i && typeof window < "u" && window.msCrypto && (i = window.msCrypto), !i &&
|
660
|
-
i =
|
661
|
+
if (typeof window < "u" && window.crypto && (i = window.crypto), typeof self < "u" && self.crypto && (i = self.crypto), typeof globalThis < "u" && globalThis.crypto && (i = globalThis.crypto), !i && typeof window < "u" && window.msCrypto && (i = window.msCrypto), !i && ln !== void 0 && ln.crypto && (i = ln.crypto), !i) try {
|
662
|
+
i = ea;
|
661
663
|
} catch {
|
662
664
|
}
|
663
665
|
var o = function() {
|
@@ -673,32 +675,32 @@ function Le() {
|
|
673
675
|
}
|
674
676
|
throw new Error("Native crypto module could not be used to get secure random number.");
|
675
677
|
}, a = Object.create || /* @__PURE__ */ function() {
|
676
|
-
function
|
678
|
+
function p() {
|
677
679
|
}
|
678
680
|
return function(v) {
|
679
681
|
var k;
|
680
|
-
return
|
682
|
+
return p.prototype = v, k = new p(), p.prototype = null, k;
|
681
683
|
};
|
682
|
-
}(), u = {}, s = u.lib = {}, c = s.Base = { extend: function(
|
684
|
+
}(), u = {}, s = u.lib = {}, c = s.Base = { extend: function(p) {
|
683
685
|
var v = a(this);
|
684
|
-
return
|
686
|
+
return p && v.mixIn(p), v.hasOwnProperty("init") && this.init !== v.init || (v.init = function() {
|
685
687
|
v.$super.init.apply(this, arguments);
|
686
688
|
}), v.init.prototype = v, v.$super = this, v;
|
687
689
|
}, create: function() {
|
688
|
-
var
|
689
|
-
return
|
690
|
+
var p = this.extend();
|
691
|
+
return p.init.apply(p, arguments), p;
|
690
692
|
}, init: function() {
|
691
|
-
}, mixIn: function(
|
692
|
-
for (var v in
|
693
|
-
|
693
|
+
}, mixIn: function(p) {
|
694
|
+
for (var v in p) p.hasOwnProperty(v) && (this[v] = p[v]);
|
695
|
+
p.hasOwnProperty("toString") && (this.toString = p.toString);
|
694
696
|
}, clone: function() {
|
695
697
|
return this.init.prototype.extend(this);
|
696
|
-
} }, l = s.WordArray = c.extend({ init: function(
|
697
|
-
|
698
|
-
}, toString: function(
|
699
|
-
return (
|
700
|
-
}, concat: function(
|
701
|
-
var v = this.words, k =
|
698
|
+
} }, l = s.WordArray = c.extend({ init: function(p, v) {
|
699
|
+
p = this.words = p || [], this.sigBytes = v != n ? v : 4 * p.length;
|
700
|
+
}, toString: function(p) {
|
701
|
+
return (p || h).stringify(this);
|
702
|
+
}, concat: function(p) {
|
703
|
+
var v = this.words, k = p.words, g = this.sigBytes, b = p.sigBytes;
|
702
704
|
if (this.clamp(), g % 4) for (var A = 0; A < b; A++) {
|
703
705
|
var I = k[A >>> 2] >>> 24 - A % 4 * 8 & 255;
|
704
706
|
v[g + A >>> 2] |= I << 24 - (g + A) % 4 * 8;
|
@@ -706,94 +708,94 @@ function Le() {
|
|
706
708
|
else for (var T = 0; T < b; T += 4) v[g + T >>> 2] = k[T >>> 2];
|
707
709
|
return this.sigBytes += b, this;
|
708
710
|
}, clamp: function() {
|
709
|
-
var
|
710
|
-
|
711
|
+
var p = this.words, v = this.sigBytes;
|
712
|
+
p[v >>> 2] &= 4294967295 << 32 - v % 4 * 8, p.length = t.ceil(v / 4);
|
711
713
|
}, clone: function() {
|
712
|
-
var
|
713
|
-
return
|
714
|
-
}, random: function(
|
715
|
-
for (var v = [], k = 0; k <
|
716
|
-
return new l.init(v,
|
717
|
-
} }),
|
718
|
-
for (var v =
|
714
|
+
var p = c.clone.call(this);
|
715
|
+
return p.words = this.words.slice(0), p;
|
716
|
+
}, random: function(p) {
|
717
|
+
for (var v = [], k = 0; k < p; k += 4) v.push(o());
|
718
|
+
return new l.init(v, p);
|
719
|
+
} }), f = u.enc = {}, h = f.Hex = { stringify: function(p) {
|
720
|
+
for (var v = p.words, k = p.sigBytes, g = [], b = 0; b < k; b++) {
|
719
721
|
var A = v[b >>> 2] >>> 24 - b % 4 * 8 & 255;
|
720
722
|
g.push((A >>> 4).toString(16)), g.push((15 & A).toString(16));
|
721
723
|
}
|
722
724
|
return g.join("");
|
723
|
-
}, parse: function(
|
724
|
-
for (var v =
|
725
|
+
}, parse: function(p) {
|
726
|
+
for (var v = p.length, k = [], g = 0; g < v; g += 2) k[g >>> 3] |= parseInt(p.substr(g, 2), 16) << 24 - g % 8 * 4;
|
725
727
|
return new l.init(k, v / 2);
|
726
|
-
} },
|
727
|
-
for (var v =
|
728
|
+
} }, d = f.Latin1 = { stringify: function(p) {
|
729
|
+
for (var v = p.words, k = p.sigBytes, g = [], b = 0; b < k; b++) {
|
728
730
|
var A = v[b >>> 2] >>> 24 - b % 4 * 8 & 255;
|
729
731
|
g.push(String.fromCharCode(A));
|
730
732
|
}
|
731
733
|
return g.join("");
|
732
|
-
}, parse: function(
|
733
|
-
for (var v =
|
734
|
+
}, parse: function(p) {
|
735
|
+
for (var v = p.length, k = [], g = 0; g < v; g++) k[g >>> 2] |= (255 & p.charCodeAt(g)) << 24 - g % 4 * 8;
|
734
736
|
return new l.init(k, v);
|
735
|
-
} }, y =
|
737
|
+
} }, y = f.Utf8 = { stringify: function(p) {
|
736
738
|
try {
|
737
|
-
return decodeURIComponent(escape(
|
739
|
+
return decodeURIComponent(escape(d.stringify(p)));
|
738
740
|
} catch {
|
739
741
|
throw new Error("Malformed UTF-8 data");
|
740
742
|
}
|
741
|
-
}, parse: function(
|
742
|
-
return
|
743
|
+
}, parse: function(p) {
|
744
|
+
return d.parse(unescape(encodeURIComponent(p)));
|
743
745
|
} }, m = s.BufferedBlockAlgorithm = c.extend({ reset: function() {
|
744
746
|
this._data = new l.init(), this._nDataBytes = 0;
|
745
|
-
}, _append: function(
|
746
|
-
typeof
|
747
|
-
}, _process: function(
|
748
|
-
var v, k = this._data, g = k.words, b = k.sigBytes, A = this.blockSize, I = b / (4 * A), T = (I =
|
747
|
+
}, _append: function(p) {
|
748
|
+
typeof p == "string" && (p = y.parse(p)), this._data.concat(p), this._nDataBytes += p.sigBytes;
|
749
|
+
}, _process: function(p) {
|
750
|
+
var v, k = this._data, g = k.words, b = k.sigBytes, A = this.blockSize, I = b / (4 * A), T = (I = p ? t.ceil(I) : t.max((0 | I) - this._minBufferSize, 0)) * A, R = t.min(4 * T, b);
|
749
751
|
if (T) {
|
750
752
|
for (var x = 0; x < T; x += A) this._doProcessBlock(g, x);
|
751
753
|
v = g.splice(0, T), k.sigBytes -= R;
|
752
754
|
}
|
753
755
|
return new l.init(v, R);
|
754
756
|
}, clone: function() {
|
755
|
-
var
|
756
|
-
return
|
757
|
+
var p = c.clone.call(this);
|
758
|
+
return p._data = this._data.clone(), p;
|
757
759
|
}, _minBufferSize: 0 });
|
758
|
-
s.Hasher = m.extend({ cfg: c.extend(), init: function(
|
759
|
-
this.cfg = this.cfg.extend(
|
760
|
+
s.Hasher = m.extend({ cfg: c.extend(), init: function(p) {
|
761
|
+
this.cfg = this.cfg.extend(p), this.reset();
|
760
762
|
}, reset: function() {
|
761
763
|
m.reset.call(this), this._doReset();
|
762
|
-
}, update: function(
|
763
|
-
return this._append(
|
764
|
-
}, finalize: function(
|
765
|
-
return
|
766
|
-
}, blockSize: 16, _createHelper: function(
|
764
|
+
}, update: function(p) {
|
765
|
+
return this._append(p), this._process(), this;
|
766
|
+
}, finalize: function(p) {
|
767
|
+
return p && this._append(p), this._doFinalize();
|
768
|
+
}, blockSize: 16, _createHelper: function(p) {
|
767
769
|
return function(v, k) {
|
768
|
-
return new
|
770
|
+
return new p.init(k).finalize(v);
|
769
771
|
};
|
770
|
-
}, _createHmacHelper: function(
|
772
|
+
}, _createHmacHelper: function(p) {
|
771
773
|
return function(v, k) {
|
772
|
-
return new
|
774
|
+
return new S.HMAC.init(p, k).finalize(v);
|
773
775
|
};
|
774
776
|
} });
|
775
|
-
var
|
777
|
+
var S = u.algo = {};
|
776
778
|
return u;
|
777
|
-
}(Math), e)),
|
779
|
+
}(Math), e)), ar.exports;
|
778
780
|
var e;
|
779
781
|
}
|
780
|
-
var
|
781
|
-
function
|
782
|
-
return
|
782
|
+
var ur, cr = { exports: {} };
|
783
|
+
function ta() {
|
784
|
+
return ur || (ur = 1, cr.exports = (e = Le(), function() {
|
783
785
|
var t = e, n = t.lib.WordArray;
|
784
786
|
function i(o, a, u) {
|
785
787
|
for (var s = [], c = 0, l = 0; l < a; l++) if (l % 4) {
|
786
|
-
var
|
787
|
-
s[c >>> 2] |=
|
788
|
+
var f = u[o.charCodeAt(l - 1)] << l % 4 * 2 | u[o.charCodeAt(l)] >>> 6 - l % 4 * 2;
|
789
|
+
s[c >>> 2] |= f << 24 - c % 4 * 8, c++;
|
788
790
|
}
|
789
791
|
return n.create(s, c);
|
790
792
|
}
|
791
793
|
t.enc.Base64 = { stringify: function(o) {
|
792
794
|
var a = o.words, u = o.sigBytes, s = this._map;
|
793
795
|
o.clamp();
|
794
|
-
for (var c = [], l = 0; l < u; l += 3) for (var
|
795
|
-
var
|
796
|
-
if (
|
796
|
+
for (var c = [], l = 0; l < u; l += 3) for (var f = (a[l >>> 2] >>> 24 - l % 4 * 8 & 255) << 16 | (a[l + 1 >>> 2] >>> 24 - (l + 1) % 4 * 8 & 255) << 8 | a[l + 2 >>> 2] >>> 24 - (l + 2) % 4 * 8 & 255, h = 0; h < 4 && l + 0.75 * h < u; h++) c.push(s.charAt(f >>> 6 * (3 - h) & 63));
|
797
|
+
var d = s.charAt(64);
|
798
|
+
if (d) for (; c.length % 4; ) c.push(d);
|
797
799
|
return c.join("");
|
798
800
|
}, parse: function(o) {
|
799
801
|
var a = o.length, u = this._map, s = this._reverseMap;
|
@@ -803,17 +805,17 @@ function Zs() {
|
|
803
805
|
}
|
804
806
|
var l = u.charAt(64);
|
805
807
|
if (l) {
|
806
|
-
var
|
807
|
-
|
808
|
+
var f = o.indexOf(l);
|
809
|
+
f !== -1 && (a = f);
|
808
810
|
}
|
809
811
|
return i(o, a, s);
|
810
812
|
}, _map: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=" };
|
811
|
-
}(), e.enc.Base64)),
|
813
|
+
}(), e.enc.Base64)), cr.exports;
|
812
814
|
var e;
|
813
815
|
}
|
814
|
-
var
|
815
|
-
function
|
816
|
-
return
|
816
|
+
var lr, fr = { exports: {} };
|
817
|
+
function na() {
|
818
|
+
return lr || (lr = 1, fr.exports = (e = Le(), function(t) {
|
817
819
|
var n = e, i = n.lib, o = i.WordArray, a = i.Hasher, u = n.algo, s = [];
|
818
820
|
(function() {
|
819
821
|
for (var y = 0; y < 64; y++) s[y] = 4294967296 * t.abs(t.sin(y + 1)) | 0;
|
@@ -821,17 +823,17 @@ function ea() {
|
|
821
823
|
var c = u.MD5 = a.extend({ _doReset: function() {
|
822
824
|
this._hash = new o.init([1732584193, 4023233417, 2562383102, 271733878]);
|
823
825
|
}, _doProcessBlock: function(y, m) {
|
824
|
-
for (var
|
825
|
-
var
|
826
|
-
y[
|
826
|
+
for (var S = 0; S < 16; S++) {
|
827
|
+
var p = m + S, v = y[p];
|
828
|
+
y[p] = 16711935 & (v << 8 | v >>> 24) | 4278255360 & (v << 24 | v >>> 8);
|
827
829
|
}
|
828
|
-
var k = this._hash.words, g = y[m + 0], b = y[m + 1], A = y[m + 2], I = y[m + 3], T = y[m + 4], R = y[m + 5], x = y[m + 6],
|
829
|
-
|
830
|
+
var k = this._hash.words, g = y[m + 0], b = y[m + 1], A = y[m + 2], I = y[m + 3], T = y[m + 4], R = y[m + 5], x = y[m + 6], G = y[m + 7], j = y[m + 8], q = y[m + 9], K = y[m + 10], Me = y[m + 11], ye = y[m + 12], ve = y[m + 13], be = y[m + 14], ke = y[m + 15], C = k[0], w = k[1], O = k[2], _ = k[3];
|
831
|
+
C = l(C, w, O, _, g, 7, s[0]), _ = l(_, C, w, O, b, 12, s[1]), O = l(O, _, C, w, A, 17, s[2]), w = l(w, O, _, C, I, 22, s[3]), C = l(C, w, O, _, T, 7, s[4]), _ = l(_, C, w, O, R, 12, s[5]), O = l(O, _, C, w, x, 17, s[6]), w = l(w, O, _, C, G, 22, s[7]), C = l(C, w, O, _, j, 7, s[8]), _ = l(_, C, w, O, q, 12, s[9]), O = l(O, _, C, w, K, 17, s[10]), w = l(w, O, _, C, Me, 22, s[11]), C = l(C, w, O, _, ye, 7, s[12]), _ = l(_, C, w, O, ve, 12, s[13]), O = l(O, _, C, w, be, 17, s[14]), C = f(C, w = l(w, O, _, C, ke, 22, s[15]), O, _, b, 5, s[16]), _ = f(_, C, w, O, x, 9, s[17]), O = f(O, _, C, w, Me, 14, s[18]), w = f(w, O, _, C, g, 20, s[19]), C = f(C, w, O, _, R, 5, s[20]), _ = f(_, C, w, O, K, 9, s[21]), O = f(O, _, C, w, ke, 14, s[22]), w = f(w, O, _, C, T, 20, s[23]), C = f(C, w, O, _, q, 5, s[24]), _ = f(_, C, w, O, be, 9, s[25]), O = f(O, _, C, w, I, 14, s[26]), w = f(w, O, _, C, j, 20, s[27]), C = f(C, w, O, _, ve, 5, s[28]), _ = f(_, C, w, O, A, 9, s[29]), O = f(O, _, C, w, G, 14, s[30]), C = h(C, w = f(w, O, _, C, ye, 20, s[31]), O, _, R, 4, s[32]), _ = h(_, C, w, O, j, 11, s[33]), O = h(O, _, C, w, Me, 16, s[34]), w = h(w, O, _, C, be, 23, s[35]), C = h(C, w, O, _, b, 4, s[36]), _ = h(_, C, w, O, T, 11, s[37]), O = h(O, _, C, w, G, 16, s[38]), w = h(w, O, _, C, K, 23, s[39]), C = h(C, w, O, _, ve, 4, s[40]), _ = h(_, C, w, O, g, 11, s[41]), O = h(O, _, C, w, I, 16, s[42]), w = h(w, O, _, C, x, 23, s[43]), C = h(C, w, O, _, q, 4, s[44]), _ = h(_, C, w, O, ye, 11, s[45]), O = h(O, _, C, w, ke, 16, s[46]), C = d(C, w = h(w, O, _, C, A, 23, s[47]), O, _, g, 6, s[48]), _ = d(_, C, w, O, G, 10, s[49]), O = d(O, _, C, w, be, 15, s[50]), w = d(w, O, _, C, R, 21, s[51]), C = d(C, w, O, _, ye, 6, s[52]), _ = d(_, C, w, O, I, 10, s[53]), O = d(O, _, C, w, K, 15, s[54]), w = d(w, O, _, C, b, 21, s[55]), C = d(C, w, O, _, j, 6, s[56]), _ = d(_, C, w, O, ke, 10, s[57]), O = d(O, _, C, w, x, 15, s[58]), w = d(w, O, _, C, ve, 21, s[59]), C = d(C, w, O, _, T, 6, s[60]), _ = d(_, C, w, O, Me, 10, s[61]), O = d(O, _, C, w, A, 15, s[62]), w = d(w, O, _, C, q, 21, s[63]), k[0] = k[0] + C | 0, k[1] = k[1] + w | 0, k[2] = k[2] + O | 0, k[3] = k[3] + _ | 0;
|
830
832
|
}, _doFinalize: function() {
|
831
|
-
var y = this._data, m = y.words,
|
832
|
-
m[
|
833
|
-
var v = t.floor(
|
834
|
-
m[15 + (
|
833
|
+
var y = this._data, m = y.words, S = 8 * this._nDataBytes, p = 8 * y.sigBytes;
|
834
|
+
m[p >>> 5] |= 128 << 24 - p % 32;
|
835
|
+
var v = t.floor(S / 4294967296), k = S;
|
836
|
+
m[15 + (p + 64 >>> 9 << 4)] = 16711935 & (v << 8 | v >>> 24) | 4278255360 & (v << 24 | v >>> 8), m[14 + (p + 64 >>> 9 << 4)] = 16711935 & (k << 8 | k >>> 24) | 4278255360 & (k << 24 | k >>> 8), y.sigBytes = 4 * (m.length + 1), this._process();
|
835
837
|
for (var g = this._hash, b = g.words, A = 0; A < 4; A++) {
|
836
838
|
var I = b[A];
|
837
839
|
b[A] = 16711935 & (I << 8 | I >>> 24) | 4278255360 & (I << 24 | I >>> 8);
|
@@ -841,73 +843,73 @@ function ea() {
|
|
841
843
|
var y = a.clone.call(this);
|
842
844
|
return y._hash = this._hash.clone(), y;
|
843
845
|
} });
|
844
|
-
function l(y, m,
|
845
|
-
var b = y + (m &
|
846
|
+
function l(y, m, S, p, v, k, g) {
|
847
|
+
var b = y + (m & S | ~m & p) + v + g;
|
846
848
|
return (b << k | b >>> 32 - k) + m;
|
847
849
|
}
|
848
|
-
function
|
849
|
-
var b = y + (m &
|
850
|
+
function f(y, m, S, p, v, k, g) {
|
851
|
+
var b = y + (m & p | S & ~p) + v + g;
|
850
852
|
return (b << k | b >>> 32 - k) + m;
|
851
853
|
}
|
852
|
-
function
|
853
|
-
var b = y + (m ^
|
854
|
+
function h(y, m, S, p, v, k, g) {
|
855
|
+
var b = y + (m ^ S ^ p) + v + g;
|
854
856
|
return (b << k | b >>> 32 - k) + m;
|
855
857
|
}
|
856
|
-
function
|
857
|
-
var b = y + (
|
858
|
+
function d(y, m, S, p, v, k, g) {
|
859
|
+
var b = y + (S ^ (m | ~p)) + v + g;
|
858
860
|
return (b << k | b >>> 32 - k) + m;
|
859
861
|
}
|
860
862
|
n.MD5 = a._createHelper(c), n.HmacMD5 = a._createHmacHelper(c);
|
861
|
-
}(Math), e.MD5)),
|
863
|
+
}(Math), e.MD5)), fr.exports;
|
862
864
|
var e;
|
863
865
|
}
|
864
|
-
var
|
865
|
-
function
|
866
|
-
return
|
866
|
+
var hr, dr = { exports: {} }, pr = { exports: {} };
|
867
|
+
function ra() {
|
868
|
+
return hr || (hr = 1, pr.exports = (s = Le(), t = (e = s).lib, n = t.WordArray, i = t.Hasher, o = e.algo, a = [], u = o.SHA1 = i.extend({ _doReset: function() {
|
867
869
|
this._hash = new n.init([1732584193, 4023233417, 2562383102, 271733878, 3285377520]);
|
868
870
|
}, _doProcessBlock: function(c, l) {
|
869
|
-
for (var
|
870
|
-
if (
|
871
|
+
for (var f = this._hash.words, h = f[0], d = f[1], y = f[2], m = f[3], S = f[4], p = 0; p < 80; p++) {
|
872
|
+
if (p < 16) a[p] = 0 | c[l + p];
|
871
873
|
else {
|
872
|
-
var v = a[
|
873
|
-
a[
|
874
|
+
var v = a[p - 3] ^ a[p - 8] ^ a[p - 14] ^ a[p - 16];
|
875
|
+
a[p] = v << 1 | v >>> 31;
|
874
876
|
}
|
875
|
-
var k = (
|
876
|
-
k +=
|
877
|
+
var k = (h << 5 | h >>> 27) + S + a[p];
|
878
|
+
k += p < 20 ? 1518500249 + (d & y | ~d & m) : p < 40 ? 1859775393 + (d ^ y ^ m) : p < 60 ? (d & y | d & m | y & m) - 1894007588 : (d ^ y ^ m) - 899497514, S = m, m = y, y = d << 30 | d >>> 2, d = h, h = k;
|
877
879
|
}
|
878
|
-
|
880
|
+
f[0] = f[0] + h | 0, f[1] = f[1] + d | 0, f[2] = f[2] + y | 0, f[3] = f[3] + m | 0, f[4] = f[4] + S | 0;
|
879
881
|
}, _doFinalize: function() {
|
880
|
-
var c = this._data, l = c.words,
|
881
|
-
return l[
|
882
|
+
var c = this._data, l = c.words, f = 8 * this._nDataBytes, h = 8 * c.sigBytes;
|
883
|
+
return l[h >>> 5] |= 128 << 24 - h % 32, l[14 + (h + 64 >>> 9 << 4)] = Math.floor(f / 4294967296), l[15 + (h + 64 >>> 9 << 4)] = f, c.sigBytes = 4 * l.length, this._process(), this._hash;
|
882
884
|
}, clone: function() {
|
883
885
|
var c = i.clone.call(this);
|
884
886
|
return c._hash = this._hash.clone(), c;
|
885
|
-
} }), e.SHA1 = i._createHelper(u), e.HmacSHA1 = i._createHmacHelper(u), s.SHA1)),
|
887
|
+
} }), e.SHA1 = i._createHelper(u), e.HmacSHA1 = i._createHmacHelper(u), s.SHA1)), pr.exports;
|
886
888
|
var e, t, n, i, o, a, u, s;
|
887
889
|
}
|
888
|
-
var
|
890
|
+
var gr, mr = { exports: {} }, yr;
|
889
891
|
function vr() {
|
890
|
-
return
|
892
|
+
return yr || (yr = 1, dr.exports = function(t) {
|
891
893
|
return i = (n = t).lib, o = i.Base, a = i.WordArray, u = n.algo, s = u.MD5, c = u.EvpKDF = o.extend({ cfg: o.extend({ keySize: 4, hasher: s, iterations: 1 }), init: function(l) {
|
892
894
|
this.cfg = this.cfg.extend(l);
|
893
|
-
}, compute: function(l,
|
894
|
-
for (var
|
895
|
-
|
896
|
-
for (var k = 1; k < v; k++)
|
897
|
-
m.concat(
|
895
|
+
}, compute: function(l, f) {
|
896
|
+
for (var h, d = this.cfg, y = d.hasher.create(), m = a.create(), S = m.words, p = d.keySize, v = d.iterations; S.length < p; ) {
|
897
|
+
h && y.update(h), h = y.update(l).finalize(f), y.reset();
|
898
|
+
for (var k = 1; k < v; k++) h = y.finalize(h), y.reset();
|
899
|
+
m.concat(h);
|
898
900
|
}
|
899
|
-
return m.sigBytes = 4 *
|
900
|
-
} }), n.EvpKDF = function(l,
|
901
|
-
return c.create(
|
901
|
+
return m.sigBytes = 4 * p, m;
|
902
|
+
} }), n.EvpKDF = function(l, f, h) {
|
903
|
+
return c.create(h).compute(l, f);
|
902
904
|
}, t.EvpKDF;
|
903
905
|
var n, i, o, a, u, s, c;
|
904
|
-
}(Le(),
|
906
|
+
}(Le(), ra(), (gr || (gr = 1, mr.exports = (e = Le(), void function() {
|
905
907
|
var t = e, n = t.lib.Base, i = t.enc.Utf8;
|
906
908
|
t.algo.HMAC = n.extend({ init: function(o, a) {
|
907
909
|
o = this._hasher = new o.init(), typeof a == "string" && (a = i.parse(a));
|
908
910
|
var u = o.blockSize, s = 4 * u;
|
909
911
|
a.sigBytes > s && (a = o.finalize(a)), a.clamp();
|
910
|
-
for (var c = this._oKey = a.clone(), l = this._iKey = a.clone(),
|
912
|
+
for (var c = this._oKey = a.clone(), l = this._iKey = a.clone(), f = c.words, h = l.words, d = 0; d < u; d++) f[d] ^= 1549556828, h[d] ^= 909522486;
|
911
913
|
c.sigBytes = l.sigBytes = s, this.reset();
|
912
914
|
}, reset: function() {
|
913
915
|
var o = this._hasher;
|
@@ -918,47 +920,47 @@ function vr() {
|
|
918
920
|
var a = this._hasher, u = a.finalize(o);
|
919
921
|
return a.reset(), a.finalize(this._oKey.clone().concat(u));
|
920
922
|
} });
|
921
|
-
}())),
|
923
|
+
}())), mr.exports))), dr.exports;
|
922
924
|
var e;
|
923
925
|
}
|
924
|
-
var
|
926
|
+
var br, kr = { exports: {} }, Ar, hn, Ir, ia = (Ar || (Ar = 1, or.exports = function(e) {
|
925
927
|
return function() {
|
926
|
-
var t = e, n = t.lib.BlockCipher, i = t.algo, o = [], a = [], u = [], s = [], c = [], l = [],
|
928
|
+
var t = e, n = t.lib.BlockCipher, i = t.algo, o = [], a = [], u = [], s = [], c = [], l = [], f = [], h = [], d = [], y = [];
|
927
929
|
(function() {
|
928
|
-
for (var
|
930
|
+
for (var p = [], v = 0; v < 256; v++) p[v] = v < 128 ? v << 1 : v << 1 ^ 283;
|
929
931
|
var k = 0, g = 0;
|
930
932
|
for (v = 0; v < 256; v++) {
|
931
933
|
var b = g ^ g << 1 ^ g << 2 ^ g << 3 ^ g << 4;
|
932
934
|
b = b >>> 8 ^ 255 & b ^ 99, o[k] = b, a[b] = k;
|
933
|
-
var A =
|
934
|
-
u[k] = R << 24 | R >>> 8, s[k] = R << 16 | R >>> 16, c[k] = R << 8 | R >>> 24, l[k] = R, R = 16843009 * T ^ 65537 * I ^ 257 * A ^ 16843008 * k,
|
935
|
+
var A = p[k], I = p[A], T = p[I], R = 257 * p[b] ^ 16843008 * b;
|
936
|
+
u[k] = R << 24 | R >>> 8, s[k] = R << 16 | R >>> 16, c[k] = R << 8 | R >>> 24, l[k] = R, R = 16843009 * T ^ 65537 * I ^ 257 * A ^ 16843008 * k, f[b] = R << 24 | R >>> 8, h[b] = R << 16 | R >>> 16, d[b] = R << 8 | R >>> 24, y[b] = R, k ? (k = A ^ p[p[p[T ^ A]]], g ^= p[p[g]]) : k = g = 1;
|
935
937
|
}
|
936
938
|
})();
|
937
|
-
var m = [0, 1, 2, 4, 8, 16, 32, 64, 128, 27, 54],
|
939
|
+
var m = [0, 1, 2, 4, 8, 16, 32, 64, 128, 27, 54], S = i.AES = n.extend({ _doReset: function() {
|
938
940
|
if (!this._nRounds || this._keyPriorReset !== this._key) {
|
939
|
-
for (var
|
941
|
+
for (var p = this._keyPriorReset = this._key, v = p.words, k = p.sigBytes / 4, g = 4 * ((this._nRounds = k + 6) + 1), b = this._keySchedule = [], A = 0; A < g; A++) A < k ? b[A] = v[A] : (R = b[A - 1], A % k ? k > 6 && A % k == 4 && (R = o[R >>> 24] << 24 | o[R >>> 16 & 255] << 16 | o[R >>> 8 & 255] << 8 | o[255 & R]) : (R = o[(R = R << 8 | R >>> 24) >>> 24] << 24 | o[R >>> 16 & 255] << 16 | o[R >>> 8 & 255] << 8 | o[255 & R], R ^= m[A / k | 0] << 24), b[A] = b[A - k] ^ R);
|
940
942
|
for (var I = this._invKeySchedule = [], T = 0; T < g; T++) {
|
941
943
|
if (A = g - T, T % 4) var R = b[A];
|
942
944
|
else R = b[A - 4];
|
943
|
-
I[T] = T < 4 || A <= 4 ? R :
|
945
|
+
I[T] = T < 4 || A <= 4 ? R : f[o[R >>> 24]] ^ h[o[R >>> 16 & 255]] ^ d[o[R >>> 8 & 255]] ^ y[o[255 & R]];
|
944
946
|
}
|
945
947
|
}
|
946
|
-
}, encryptBlock: function(
|
947
|
-
this._doCryptBlock(
|
948
|
-
}, decryptBlock: function(
|
949
|
-
var k =
|
950
|
-
|
951
|
-
}, _doCryptBlock: function(
|
952
|
-
for (var R = this._nRounds, x =
|
953
|
-
var
|
954
|
-
x =
|
948
|
+
}, encryptBlock: function(p, v) {
|
949
|
+
this._doCryptBlock(p, v, this._keySchedule, u, s, c, l, o);
|
950
|
+
}, decryptBlock: function(p, v) {
|
951
|
+
var k = p[v + 1];
|
952
|
+
p[v + 1] = p[v + 3], p[v + 3] = k, this._doCryptBlock(p, v, this._invKeySchedule, f, h, d, y, a), k = p[v + 1], p[v + 1] = p[v + 3], p[v + 3] = k;
|
953
|
+
}, _doCryptBlock: function(p, v, k, g, b, A, I, T) {
|
954
|
+
for (var R = this._nRounds, x = p[v] ^ k[0], G = p[v + 1] ^ k[1], j = p[v + 2] ^ k[2], q = p[v + 3] ^ k[3], K = 4, Me = 1; Me < R; Me++) {
|
955
|
+
var ye = g[x >>> 24] ^ b[G >>> 16 & 255] ^ A[j >>> 8 & 255] ^ I[255 & q] ^ k[K++], ve = g[G >>> 24] ^ b[j >>> 16 & 255] ^ A[q >>> 8 & 255] ^ I[255 & x] ^ k[K++], be = g[j >>> 24] ^ b[q >>> 16 & 255] ^ A[x >>> 8 & 255] ^ I[255 & G] ^ k[K++], ke = g[q >>> 24] ^ b[x >>> 16 & 255] ^ A[G >>> 8 & 255] ^ I[255 & j] ^ k[K++];
|
956
|
+
x = ye, G = ve, j = be, q = ke;
|
955
957
|
}
|
956
|
-
|
958
|
+
ye = (T[x >>> 24] << 24 | T[G >>> 16 & 255] << 16 | T[j >>> 8 & 255] << 8 | T[255 & q]) ^ k[K++], ve = (T[G >>> 24] << 24 | T[j >>> 16 & 255] << 16 | T[q >>> 8 & 255] << 8 | T[255 & x]) ^ k[K++], be = (T[j >>> 24] << 24 | T[q >>> 16 & 255] << 16 | T[x >>> 8 & 255] << 8 | T[255 & G]) ^ k[K++], ke = (T[q >>> 24] << 24 | T[x >>> 16 & 255] << 16 | T[G >>> 8 & 255] << 8 | T[255 & j]) ^ k[K++], p[v] = ye, p[v + 1] = ve, p[v + 2] = be, p[v + 3] = ke;
|
957
959
|
}, keySize: 8 });
|
958
|
-
t.AES = n._createHelper(
|
960
|
+
t.AES = n._createHelper(S);
|
959
961
|
}(), e.AES;
|
960
|
-
}(Le(),
|
961
|
-
var t =
|
962
|
+
}(Le(), ta(), na(), vr(), (br || (br = 1, kr.exports = (hn = Le(), vr(), void (hn.lib.Cipher || function(e) {
|
963
|
+
var t = hn, n = t.lib, i = n.Base, o = n.WordArray, a = n.BufferedBlockAlgorithm, u = t.enc;
|
962
964
|
u.Utf8;
|
963
965
|
var s = u.Base64, c = t.algo.EvpKDF, l = n.Cipher = a.extend({ cfg: i.extend(), createEncryptor: function(g, b) {
|
964
966
|
return this.create(this._ENC_XFORM_MODE, g, b);
|
@@ -974,7 +976,7 @@ var yr, br = { exports: {} }, kr, fn, Ar, na = (kr || (kr = 1, ir.exports = func
|
|
974
976
|
return g && this._append(g), this._doFinalize();
|
975
977
|
}, keySize: 4, ivSize: 4, _ENC_XFORM_MODE: 1, _DEC_XFORM_MODE: 2, _createHelper: /* @__PURE__ */ function() {
|
976
978
|
function g(b) {
|
977
|
-
return typeof b == "string" ? k :
|
979
|
+
return typeof b == "string" ? k : p;
|
978
980
|
}
|
979
981
|
return function(b) {
|
980
982
|
return { encrypt: function(A, I, T) {
|
@@ -987,18 +989,18 @@ var yr, br = { exports: {} }, kr, fn, Ar, na = (kr || (kr = 1, ir.exports = func
|
|
987
989
|
n.StreamCipher = l.extend({ _doFinalize: function() {
|
988
990
|
return this._process(!0);
|
989
991
|
}, blockSize: 1 });
|
990
|
-
var
|
992
|
+
var f = t.mode = {}, h = n.BlockCipherMode = i.extend({ createEncryptor: function(g, b) {
|
991
993
|
return this.Encryptor.create(g, b);
|
992
994
|
}, createDecryptor: function(g, b) {
|
993
995
|
return this.Decryptor.create(g, b);
|
994
996
|
}, init: function(g, b) {
|
995
997
|
this._cipher = g, this._iv = b;
|
996
|
-
} }),
|
997
|
-
var g =
|
998
|
+
} }), d = f.CBC = function() {
|
999
|
+
var g = h.extend();
|
998
1000
|
function b(A, I, T) {
|
999
1001
|
var R, x = this._iv;
|
1000
1002
|
x ? (R = x, this._iv = e) : R = this._prevBlock;
|
1001
|
-
for (var
|
1003
|
+
for (var G = 0; G < T; G++) A[I + G] ^= R[G];
|
1002
1004
|
}
|
1003
1005
|
return g.Encryptor = g.extend({ processBlock: function(A, I) {
|
1004
1006
|
var T = this._cipher, R = T.blockSize;
|
@@ -1009,13 +1011,13 @@ var yr, br = { exports: {} }, kr, fn, Ar, na = (kr || (kr = 1, ir.exports = func
|
|
1009
1011
|
} }), g;
|
1010
1012
|
}(), y = (t.pad = {}).Pkcs7 = { pad: function(g, b) {
|
1011
1013
|
for (var A = 4 * b, I = A - g.sigBytes % A, T = I << 24 | I << 16 | I << 8 | I, R = [], x = 0; x < I; x += 4) R.push(T);
|
1012
|
-
var
|
1013
|
-
g.concat(
|
1014
|
+
var G = o.create(R, I);
|
1015
|
+
g.concat(G);
|
1014
1016
|
}, unpad: function(g) {
|
1015
1017
|
var b = 255 & g.words[g.sigBytes - 1 >>> 2];
|
1016
1018
|
g.sigBytes -= b;
|
1017
1019
|
} };
|
1018
|
-
n.BlockCipher = l.extend({ cfg: l.cfg.extend({ mode:
|
1020
|
+
n.BlockCipher = l.extend({ cfg: l.cfg.extend({ mode: d, padding: y }), reset: function() {
|
1019
1021
|
var g;
|
1020
1022
|
l.reset.call(this);
|
1021
1023
|
var b = this.cfg, A = b.iv, I = b.mode;
|
@@ -1030,13 +1032,13 @@ var yr, br = { exports: {} }, kr, fn, Ar, na = (kr || (kr = 1, ir.exports = func
|
|
1030
1032
|
this.mixIn(g);
|
1031
1033
|
}, toString: function(g) {
|
1032
1034
|
return (g || this.formatter).stringify(this);
|
1033
|
-
} }),
|
1035
|
+
} }), S = (t.format = {}).OpenSSL = { stringify: function(g) {
|
1034
1036
|
var b = g.ciphertext, A = g.salt;
|
1035
1037
|
return (A ? o.create([1398893684, 1701076831]).concat(A).concat(b) : b).toString(s);
|
1036
1038
|
}, parse: function(g) {
|
1037
1039
|
var b, A = s.parse(g), I = A.words;
|
1038
1040
|
return I[0] == 1398893684 && I[1] == 1701076831 && (b = o.create(I.slice(2, 4)), I.splice(0, 4), A.sigBytes -= 16), m.create({ ciphertext: A, salt: b });
|
1039
|
-
} },
|
1041
|
+
} }, p = n.SerializableCipher = i.extend({ cfg: i.extend({ format: S }), encrypt: function(g, b, A, I) {
|
1040
1042
|
I = this.cfg.extend(I);
|
1041
1043
|
var T = g.createEncryptor(A, I), R = T.finalize(b), x = T.cfg;
|
1042
1044
|
return m.create({ ciphertext: R, key: A, iv: x.iv, algorithm: g, mode: x.mode, padding: x.padding, blockSize: g.blockSize, formatter: I.format });
|
@@ -1049,22 +1051,22 @@ var yr, br = { exports: {} }, kr, fn, Ar, na = (kr || (kr = 1, ir.exports = func
|
|
1049
1051
|
else var R = c.create({ keySize: b + A }).compute(g, I);
|
1050
1052
|
var x = o.create(R.words.slice(b), 4 * A);
|
1051
1053
|
return R.sigBytes = 4 * b, m.create({ key: R, iv: x, salt: I });
|
1052
|
-
} }, k = n.PasswordBasedCipher =
|
1054
|
+
} }, k = n.PasswordBasedCipher = p.extend({ cfg: p.cfg.extend({ kdf: v }), encrypt: function(g, b, A, I) {
|
1053
1055
|
var T = (I = this.cfg.extend(I)).kdf.execute(A, g.keySize, g.ivSize, I.salt, I.hasher);
|
1054
1056
|
I.iv = T.iv;
|
1055
|
-
var R =
|
1057
|
+
var R = p.encrypt.call(this, g, b, T.key, I);
|
1056
1058
|
return R.mixIn(T), R;
|
1057
1059
|
}, decrypt: function(g, b, A, I) {
|
1058
1060
|
I = this.cfg.extend(I), b = this._parse(b, I.format);
|
1059
1061
|
var T = I.kdf.execute(A, g.keySize, g.ivSize, b.salt, I.hasher);
|
1060
|
-
return I.iv = T.iv,
|
1062
|
+
return I.iv = T.iv, p.decrypt.call(this, g, b, T.key, I);
|
1061
1063
|
} });
|
1062
|
-
}()))),
|
1064
|
+
}()))), kr.exports))), or.exports), Si = me(ia), Er = { exports: {} }, Cr, Or, _r, Sr, oa = (Ir || (Ir = 1, Er.exports = function(e) {
|
1063
1065
|
return e.enc.Utf8;
|
1064
|
-
}(Le())),
|
1065
|
-
if (
|
1066
|
-
|
1067
|
-
var e = Or ?
|
1066
|
+
}(Le())), Er.exports), sa = me(oa), dn, wr, Tr, Rr, Pr, Dr, xr, aa = function() {
|
1067
|
+
if (Sr) return _r;
|
1068
|
+
Sr = 1;
|
1069
|
+
var e = Or ? Cr : (Or = 1, Cr = function(o) {
|
1068
1070
|
return o != null && L(o) === "object" && Array.isArray(o) === !1;
|
1069
1071
|
});
|
1070
1072
|
function t(o, a, u) {
|
@@ -1079,103 +1081,103 @@ var yr, br = { exports: {} }, kr, fn, Ar, na = (kr || (kr = 1, ir.exports = func
|
|
1079
1081
|
return _r = function(o, a, u) {
|
1080
1082
|
if (e(u) || (u = { default: u }), !i(o)) return u.default !== void 0 ? u.default : o;
|
1081
1083
|
typeof a == "number" && (a = String(a));
|
1082
|
-
var s = Array.isArray(a), c = typeof a == "string", l = u.separator || ".",
|
1084
|
+
var s = Array.isArray(a), c = typeof a == "string", l = u.separator || ".", f = u.joinChar || (typeof l == "string" ? l : ".");
|
1083
1085
|
if (!c && !s) return o;
|
1084
1086
|
if (c && a in o) return n(a, o, u) ? o[a] : u.default;
|
1085
|
-
var
|
1087
|
+
var h = s ? a : function(v, k, g) {
|
1086
1088
|
return typeof g.split == "function" ? g.split(v) : v.split(k);
|
1087
|
-
}(a, l, u),
|
1089
|
+
}(a, l, u), d = h.length, y = 0;
|
1088
1090
|
do {
|
1089
|
-
var m =
|
1090
|
-
for (typeof m == "number" && (m = String(m)); m && m.slice(-1) === "\\"; ) m = t([m.slice(0, -1),
|
1091
|
+
var m = h[y];
|
1092
|
+
for (typeof m == "number" && (m = String(m)); m && m.slice(-1) === "\\"; ) m = t([m.slice(0, -1), h[++y] || ""], f, u);
|
1091
1093
|
if (m in o) {
|
1092
1094
|
if (!n(m, o, u)) return u.default;
|
1093
1095
|
o = o[m];
|
1094
1096
|
} else {
|
1095
|
-
for (var
|
1097
|
+
for (var S = !1, p = y + 1; p < d; ) if (S = (m = t([m, h[p++]], f, u)) in o) {
|
1096
1098
|
if (!n(m, o, u)) return u.default;
|
1097
|
-
o = o[m], y =
|
1099
|
+
o = o[m], y = p - 1;
|
1098
1100
|
break;
|
1099
1101
|
}
|
1100
|
-
if (!
|
1102
|
+
if (!S) return u.default;
|
1101
1103
|
}
|
1102
|
-
} while (++y <
|
1103
|
-
return y ===
|
1104
|
+
} while (++y < d && i(o));
|
1105
|
+
return y === d ? o : u.default;
|
1104
1106
|
};
|
1105
|
-
}(),
|
1106
|
-
function
|
1107
|
-
if (
|
1108
|
-
|
1107
|
+
}(), kt = me(aa), pn = { exports: {} };
|
1108
|
+
function ua() {
|
1109
|
+
if (wr) return dn;
|
1110
|
+
wr = 1;
|
1109
1111
|
var e = 1e3, t = 60 * e, n = 60 * t, i = 24 * n, o = 7 * i, a = 365.25 * i;
|
1110
|
-
function u(s, c, l,
|
1111
|
-
var
|
1112
|
-
return Math.round(s / l) + " " +
|
1112
|
+
function u(s, c, l, f) {
|
1113
|
+
var h = c >= 1.5 * l;
|
1114
|
+
return Math.round(s / l) + " " + f + (h ? "s" : "");
|
1113
1115
|
}
|
1114
|
-
return
|
1116
|
+
return dn = function(s, c) {
|
1115
1117
|
c = c || {};
|
1116
1118
|
var l = L(s);
|
1117
|
-
if (l === "string" && s.length > 0) return function(
|
1118
|
-
if (!((
|
1119
|
-
var
|
1120
|
-
if (
|
1121
|
-
var
|
1122
|
-
switch ((
|
1119
|
+
if (l === "string" && s.length > 0) return function(f) {
|
1120
|
+
if (!((f = String(f)).length > 100)) {
|
1121
|
+
var h = /^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(f);
|
1122
|
+
if (h) {
|
1123
|
+
var d = parseFloat(h[1]);
|
1124
|
+
switch ((h[2] || "ms").toLowerCase()) {
|
1123
1125
|
case "years":
|
1124
1126
|
case "year":
|
1125
1127
|
case "yrs":
|
1126
1128
|
case "yr":
|
1127
1129
|
case "y":
|
1128
|
-
return
|
1130
|
+
return d * a;
|
1129
1131
|
case "weeks":
|
1130
1132
|
case "week":
|
1131
1133
|
case "w":
|
1132
|
-
return
|
1134
|
+
return d * o;
|
1133
1135
|
case "days":
|
1134
1136
|
case "day":
|
1135
1137
|
case "d":
|
1136
|
-
return
|
1138
|
+
return d * i;
|
1137
1139
|
case "hours":
|
1138
1140
|
case "hour":
|
1139
1141
|
case "hrs":
|
1140
1142
|
case "hr":
|
1141
1143
|
case "h":
|
1142
|
-
return
|
1144
|
+
return d * n;
|
1143
1145
|
case "minutes":
|
1144
1146
|
case "minute":
|
1145
1147
|
case "mins":
|
1146
1148
|
case "min":
|
1147
1149
|
case "m":
|
1148
|
-
return
|
1150
|
+
return d * t;
|
1149
1151
|
case "seconds":
|
1150
1152
|
case "second":
|
1151
1153
|
case "secs":
|
1152
1154
|
case "sec":
|
1153
1155
|
case "s":
|
1154
|
-
return
|
1156
|
+
return d * e;
|
1155
1157
|
case "milliseconds":
|
1156
1158
|
case "millisecond":
|
1157
1159
|
case "msecs":
|
1158
1160
|
case "msec":
|
1159
1161
|
case "ms":
|
1160
|
-
return
|
1162
|
+
return d;
|
1161
1163
|
default:
|
1162
1164
|
return;
|
1163
1165
|
}
|
1164
1166
|
}
|
1165
1167
|
}
|
1166
1168
|
}(s);
|
1167
|
-
if (l === "number" && isFinite(s)) return c.long ? function(
|
1168
|
-
var
|
1169
|
-
return
|
1170
|
-
}(s) : function(
|
1171
|
-
var
|
1172
|
-
return
|
1169
|
+
if (l === "number" && isFinite(s)) return c.long ? function(f) {
|
1170
|
+
var h = Math.abs(f);
|
1171
|
+
return h >= i ? u(f, h, i, "day") : h >= n ? u(f, h, n, "hour") : h >= t ? u(f, h, t, "minute") : h >= e ? u(f, h, e, "second") : f + " ms";
|
1172
|
+
}(s) : function(f) {
|
1173
|
+
var h = Math.abs(f);
|
1174
|
+
return h >= i ? Math.round(f / i) + "d" : h >= n ? Math.round(f / n) + "h" : h >= t ? Math.round(f / t) + "m" : h >= e ? Math.round(f / e) + "s" : f + "ms";
|
1173
1175
|
}(s);
|
1174
1176
|
throw new Error("val is not a non-empty string or a valid number. val=" + JSON.stringify(s));
|
1175
|
-
},
|
1177
|
+
}, dn;
|
1176
1178
|
}
|
1177
|
-
function
|
1178
|
-
return
|
1179
|
+
function $n() {
|
1180
|
+
return Pr || (Pr = 1, e = pn, (t = pn.exports).formatArgs = function(i) {
|
1179
1181
|
if (i[0] = (this.useColors ? "%c" : "") + this.namespace + (this.useColors ? " %c" : " ") + i[0] + (this.useColors ? "%c " : " ") + "+" + e.exports.humanize(this.diff), this.useColors) {
|
1180
1182
|
var o = "color: " + this.color;
|
1181
1183
|
i.splice(1, 0, o, "color: inherit");
|
@@ -1206,14 +1208,14 @@ function Vn() {
|
|
1206
1208
|
}(), t.destroy = (n = !1, function() {
|
1207
1209
|
n || (n = !0, console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."));
|
1208
1210
|
}), t.colors = ["#0000CC", "#0000FF", "#0033CC", "#0033FF", "#0066CC", "#0066FF", "#0099CC", "#0099FF", "#00CC00", "#00CC33", "#00CC66", "#00CC99", "#00CCCC", "#00CCFF", "#3300CC", "#3300FF", "#3333CC", "#3333FF", "#3366CC", "#3366FF", "#3399CC", "#3399FF", "#33CC00", "#33CC33", "#33CC66", "#33CC99", "#33CCCC", "#33CCFF", "#6600CC", "#6600FF", "#6633CC", "#6633FF", "#66CC00", "#66CC33", "#9900CC", "#9900FF", "#9933CC", "#9933FF", "#99CC00", "#99CC33", "#CC0000", "#CC0033", "#CC0066", "#CC0099", "#CC00CC", "#CC00FF", "#CC3300", "#CC3333", "#CC3366", "#CC3399", "#CC33CC", "#CC33FF", "#CC6600", "#CC6633", "#CC9900", "#CC9933", "#CCCC00", "#CCCC33", "#FF0000", "#FF0033", "#FF0066", "#FF0099", "#FF00CC", "#FF00FF", "#FF3300", "#FF3333", "#FF3366", "#FF3399", "#FF33CC", "#FF33FF", "#FF6600", "#FF6633", "#FF9900", "#FF9933", "#FFCC00", "#FFCC33"], t.log = console.debug || console.log || function() {
|
1209
|
-
}, e.exports = (
|
1211
|
+
}, e.exports = (Rr || (Rr = 1, Tr = function(i) {
|
1210
1212
|
function o(s) {
|
1211
|
-
var c, l,
|
1212
|
-
function
|
1213
|
-
for (var y = arguments.length, m = new Array(y),
|
1214
|
-
if (
|
1215
|
-
var
|
1216
|
-
|
1213
|
+
var c, l, f, h = null;
|
1214
|
+
function d() {
|
1215
|
+
for (var y = arguments.length, m = new Array(y), S = 0; S < y; S++) m[S] = arguments[S];
|
1216
|
+
if (d.enabled) {
|
1217
|
+
var p = d, v = Number(/* @__PURE__ */ new Date()), k = v - (c || v);
|
1218
|
+
p.diff = k, p.prev = c, p.curr = v, c = v, m[0] = o.coerce(m[0]), typeof m[0] != "string" && m.unshift("%O");
|
1217
1219
|
var g = 0;
|
1218
1220
|
m[0] = m[0].replace(/%([a-zA-Z%])/g, function(b, A) {
|
1219
1221
|
if (b === "%%") return "%";
|
@@ -1221,17 +1223,17 @@ function Vn() {
|
|
1221
1223
|
var I = o.formatters[A];
|
1222
1224
|
if (typeof I == "function") {
|
1223
1225
|
var T = m[g];
|
1224
|
-
b = I.call(
|
1226
|
+
b = I.call(p, T), m.splice(g, 1), g--;
|
1225
1227
|
}
|
1226
1228
|
return b;
|
1227
|
-
}), o.formatArgs.call(
|
1229
|
+
}), o.formatArgs.call(p, m), (p.log || o.log).apply(p, m);
|
1228
1230
|
}
|
1229
1231
|
}
|
1230
|
-
return
|
1231
|
-
return
|
1232
|
+
return d.namespace = s, d.useColors = o.useColors(), d.color = o.selectColor(s), d.extend = a, d.destroy = o.destroy, Object.defineProperty(d, "enabled", { enumerable: !0, configurable: !1, get: function() {
|
1233
|
+
return h !== null ? h : (l !== o.namespaces && (l = o.namespaces, f = o.enabled(s)), f);
|
1232
1234
|
}, set: function(y) {
|
1233
|
-
|
1234
|
-
} }), typeof o.init == "function" && o.init(
|
1235
|
+
h = y;
|
1236
|
+
} }), typeof o.init == "function" && o.init(d), d;
|
1235
1237
|
}
|
1236
1238
|
function a(s, c) {
|
1237
1239
|
var l = o(this.namespace + (c === void 0 ? ":" : c) + s);
|
@@ -1250,15 +1252,15 @@ function Vn() {
|
|
1250
1252
|
}, o.enable = function(s) {
|
1251
1253
|
var c;
|
1252
1254
|
o.save(s), o.namespaces = s, o.names = [], o.skips = [];
|
1253
|
-
var l = (typeof s == "string" ? s : "").split(/[\s,]+/),
|
1254
|
-
for (c = 0; c <
|
1255
|
+
var l = (typeof s == "string" ? s : "").split(/[\s,]+/), f = l.length;
|
1256
|
+
for (c = 0; c < f; c++) l[c] && ((s = l[c].replace(/\*/g, ".*?"))[0] === "-" ? o.skips.push(new RegExp("^" + s.slice(1) + "$")) : o.names.push(new RegExp("^" + s + "$")));
|
1255
1257
|
}, o.enabled = function(s) {
|
1256
1258
|
if (s[s.length - 1] === "*") return !0;
|
1257
1259
|
var c, l;
|
1258
1260
|
for (c = 0, l = o.skips.length; c < l; c++) if (o.skips[c].test(s)) return !1;
|
1259
1261
|
for (c = 0, l = o.names.length; c < l; c++) if (o.names[c].test(s)) return !0;
|
1260
1262
|
return !1;
|
1261
|
-
}, o.humanize =
|
1263
|
+
}, o.humanize = ua(), o.destroy = function() {
|
1262
1264
|
console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");
|
1263
1265
|
}, Object.keys(i).forEach(function(s) {
|
1264
1266
|
o[s] = i[s];
|
@@ -1266,19 +1268,19 @@ function Vn() {
|
|
1266
1268
|
for (var c = 0, l = 0; l < s.length; l++) c = (c << 5) - c + s.charCodeAt(l), c |= 0;
|
1267
1269
|
return o.colors[Math.abs(c) % o.colors.length];
|
1268
1270
|
}, o.enable(o.load()), o;
|
1269
|
-
}),
|
1271
|
+
}), Tr)(t), e.exports.formatters.j = function(i) {
|
1270
1272
|
try {
|
1271
1273
|
return JSON.stringify(i);
|
1272
1274
|
} catch (o) {
|
1273
1275
|
return "[UnexpectedJSONParseError]: " + o.message;
|
1274
1276
|
}
|
1275
|
-
}),
|
1277
|
+
}), pn.exports;
|
1276
1278
|
var e, t, n;
|
1277
1279
|
}
|
1278
|
-
var
|
1279
|
-
if (
|
1280
|
-
|
1281
|
-
var e =
|
1280
|
+
var gn, Lr, mn, Mr, Br, ca = function() {
|
1281
|
+
if (xr) return Dr;
|
1282
|
+
xr = 1;
|
1283
|
+
var e = $n()("cookie");
|
1282
1284
|
function t() {
|
1283
1285
|
var o;
|
1284
1286
|
try {
|
@@ -1307,14 +1309,14 @@ var pn, xr, gn, Lr, Mr, aa = function() {
|
|
1307
1309
|
e("error `decode(%o)` - %o", o, a);
|
1308
1310
|
}
|
1309
1311
|
}
|
1310
|
-
return
|
1312
|
+
return Dr = function(o, a, u) {
|
1311
1313
|
switch (arguments.length) {
|
1312
1314
|
case 3:
|
1313
1315
|
case 2:
|
1314
1316
|
return function(s, c, l) {
|
1315
1317
|
l = l || {};
|
1316
|
-
var
|
1317
|
-
c == null && (l.maxage = -1), l.maxage && (l.expires = new Date(+/* @__PURE__ */ new Date() + l.maxage)), l.path && (
|
1318
|
+
var f = n(s) + "=" + n(c);
|
1319
|
+
c == null && (l.maxage = -1), l.maxage && (l.expires = new Date(+/* @__PURE__ */ new Date() + l.maxage)), l.path && (f += "; path=" + l.path), l.domain && (f += "; domain=" + l.domain), l.expires && (f += "; expires=" + l.expires.toUTCString()), l.samesite && (f += "; samesite=" + l.samesite), l.secure && (f += "; secure"), document.cookie = f;
|
1318
1320
|
}(o, a, u);
|
1319
1321
|
case 1:
|
1320
1322
|
return function(s) {
|
@@ -1324,51 +1326,51 @@ var pn, xr, gn, Lr, Mr, aa = function() {
|
|
1324
1326
|
return t();
|
1325
1327
|
}
|
1326
1328
|
};
|
1327
|
-
}(),
|
1328
|
-
if (
|
1329
|
-
|
1329
|
+
}(), yn = me(ca), Yt = { exports: {} }, vn, Fr, Nr, la = function() {
|
1330
|
+
if (Br) return Yt.exports;
|
1331
|
+
Br = 1;
|
1330
1332
|
var e = function() {
|
1331
|
-
if (xr) return pn;
|
1332
|
-
xr = 1;
|
1333
|
-
var l = Math.max;
|
1334
|
-
return pn = function(h, f) {
|
1335
|
-
var p = f ? f.length : 0;
|
1336
|
-
if (!p) return [];
|
1337
|
-
for (var y = l(Number(h) || 0, 0), m = l(p - y, 0), O = new Array(m), d = 0; d < m; d += 1) O[d] = f[d + y];
|
1338
|
-
return O;
|
1339
|
-
}, pn;
|
1340
|
-
}(), t = function() {
|
1341
1333
|
if (Lr) return gn;
|
1342
1334
|
Lr = 1;
|
1343
1335
|
var l = Math.max;
|
1344
|
-
return gn = function(h) {
|
1345
|
-
|
1346
|
-
|
1347
|
-
|
1336
|
+
return gn = function(f, h) {
|
1337
|
+
var d = h ? h.length : 0;
|
1338
|
+
if (!d) return [];
|
1339
|
+
for (var y = l(Number(f) || 0, 0), m = l(d - y, 0), S = new Array(m), p = 0; p < m; p += 1) S[p] = h[p + y];
|
1340
|
+
return S;
|
1348
1341
|
}, gn;
|
1342
|
+
}(), t = function() {
|
1343
|
+
if (Mr) return mn;
|
1344
|
+
Mr = 1;
|
1345
|
+
var l = Math.max;
|
1346
|
+
return mn = function(f) {
|
1347
|
+
if (f == null || !f.length) return [];
|
1348
|
+
for (var h = new Array(l(f.length - 2, 0)), d = 1; d < f.length; d += 1) h[d - 1] = f[d];
|
1349
|
+
return h;
|
1350
|
+
}, mn;
|
1349
1351
|
}(), n = Object.prototype.hasOwnProperty, i = Object.prototype.toString, o = function(l) {
|
1350
1352
|
return !!l && i.call(l) === "[object Object]";
|
1351
|
-
}, a = function(l,
|
1352
|
-
return n.call(
|
1353
|
-
}, u = function(l,
|
1354
|
-
return n.call(
|
1355
|
-
}, s = function(l,
|
1356
|
-
if (
|
1357
|
-
var
|
1353
|
+
}, a = function(l, f, h, d) {
|
1354
|
+
return n.call(f, d) && l[d] === void 0 && (l[d] = h), f;
|
1355
|
+
}, u = function(l, f, h, d) {
|
1356
|
+
return n.call(f, d) && (o(l[d]) && o(h) ? l[d] = c(l[d], h) : l[d] === void 0 && (l[d] = h)), f;
|
1357
|
+
}, s = function(l, f) {
|
1358
|
+
if (h = f, !h || L(h) !== "object") return f;
|
1359
|
+
var h;
|
1358
1360
|
l = l || a;
|
1359
|
-
for (var
|
1360
|
-
return
|
1361
|
+
for (var d = e(2, arguments), y = 0; y < d.length; y += 1) for (var m in d[y]) l(f, d[y], d[y][m], m);
|
1362
|
+
return f;
|
1361
1363
|
}, c = function(l) {
|
1362
1364
|
return s.apply(null, [u, l].concat(t(arguments)));
|
1363
1365
|
};
|
1364
|
-
return
|
1366
|
+
return Yt.exports = function(l) {
|
1365
1367
|
return s.apply(null, [null, l].concat(t(arguments)));
|
1366
|
-
},
|
1367
|
-
}(),
|
1368
|
-
function
|
1369
|
-
if (
|
1370
|
-
|
1371
|
-
var e =
|
1368
|
+
}, Yt.exports.deep = c, Yt.exports;
|
1369
|
+
}(), wi = me(la), bn = { exports: {} };
|
1370
|
+
function fa() {
|
1371
|
+
if (Fr) return vn;
|
1372
|
+
Fr = 1;
|
1373
|
+
var e = $n()("cookie");
|
1372
1374
|
function t() {
|
1373
1375
|
var o;
|
1374
1376
|
try {
|
@@ -1403,8 +1405,8 @@ function ca() {
|
|
1403
1405
|
case 2:
|
1404
1406
|
return function(s, c, l) {
|
1405
1407
|
l = l || {};
|
1406
|
-
var
|
1407
|
-
c == null && (l.maxage = -1), l.maxage && (l.expires = new Date(+/* @__PURE__ */ new Date() + l.maxage)), l.path && (
|
1408
|
+
var f = n(s) + "=" + n(c);
|
1409
|
+
c == null && (l.maxage = -1), l.maxage && (l.expires = new Date(+/* @__PURE__ */ new Date() + l.maxage)), l.path && (f += "; path=" + l.path), l.domain && (f += "; domain=" + l.domain), l.expires && (f += "; expires=" + l.expires.toUTCString()), l.secure && (f += "; secure"), document.cookie = f;
|
1408
1410
|
}(o, a, u);
|
1409
1411
|
case 1:
|
1410
1412
|
return function(s) {
|
@@ -1415,40 +1417,40 @@ function ca() {
|
|
1415
1417
|
}
|
1416
1418
|
}, vn;
|
1417
1419
|
}
|
1418
|
-
var
|
1419
|
-
var n =
|
1420
|
+
var Gr, ha = (Nr || (Nr = 1, function(e, t) {
|
1421
|
+
var n = fa();
|
1420
1422
|
function i(o) {
|
1421
1423
|
for (var a = t.cookie, u = t.levels(o), s = 0; s < u.length; ++s) {
|
1422
|
-
var c = "__tld__", l = u[s],
|
1423
|
-
if (a(c, 1,
|
1424
|
+
var c = "__tld__", l = u[s], f = { domain: "." + l };
|
1425
|
+
if (a(c, 1, f), a(c)) return a(c, null, f), l;
|
1424
1426
|
}
|
1425
1427
|
return "";
|
1426
1428
|
}
|
1427
1429
|
i.levels = function(o) {
|
1428
1430
|
var a, u, s = (typeof window.URL != "function" ? (a = o, (u = document.createElement("a")).href = a, u.hostname) : new URL(o).hostname).split("."), c = s[s.length - 1], l = [];
|
1429
1431
|
if (s.length === 4 && c === parseInt(c, 10) || s.length <= 1) return l;
|
1430
|
-
for (var
|
1432
|
+
for (var f = s.length - 2; f >= 0; --f) l.push(s.slice(f).join("."));
|
1431
1433
|
return l;
|
1432
1434
|
}, i.cookie = n, t = e.exports = i;
|
1433
|
-
}(
|
1434
|
-
return
|
1435
|
-
|
1435
|
+
}(bn, bn.exports)), bn.exports), da = me(ha), pt = new (function() {
|
1436
|
+
return N(function e(t) {
|
1437
|
+
F(this, e), this.cOpts = {}, this.options(t), this.isSupportAvailable = this.checkSupportAvailability();
|
1436
1438
|
}, [{ key: "options", value: function() {
|
1437
1439
|
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
1438
1440
|
if (arguments.length === 0) return this.cOpts;
|
1439
|
-
var t = ".".concat(
|
1440
|
-
return t === "." && (t = null), this.cOpts =
|
1441
|
+
var t = ".".concat(da(window.location.href));
|
1442
|
+
return t === "." && (t = null), this.cOpts = wi(e, { maxage: 31536e6, path: "/", domain: t, samesite: "Lax" }), e.sameDomainCookiesOnly && delete this.cOpts.domain, this.cOpts;
|
1441
1443
|
} }, { key: "set", value: function(e, t) {
|
1442
1444
|
try {
|
1443
|
-
return
|
1445
|
+
return yn(e, t, U(this.cOpts)), !0;
|
1444
1446
|
} catch (n) {
|
1445
1447
|
return D.error(n), !1;
|
1446
1448
|
}
|
1447
1449
|
} }, { key: "get", value: function(e) {
|
1448
|
-
return
|
1450
|
+
return yn(e);
|
1449
1451
|
} }, { key: "remove", value: function(e) {
|
1450
1452
|
try {
|
1451
|
-
return
|
1453
|
+
return yn(e, null, U(this.cOpts)), !0;
|
1452
1454
|
} catch {
|
1453
1455
|
return !1;
|
1454
1456
|
}
|
@@ -1456,125 +1458,125 @@ var Nr, la = (Fr || (Fr = 1, function(e, t) {
|
|
1456
1458
|
var e = "test_rudder_cookie";
|
1457
1459
|
return this.set(e, !0), !!this.get(e) && (this.remove(e), !0);
|
1458
1460
|
} }]);
|
1459
|
-
}())({}),
|
1460
|
-
function e(
|
1461
|
-
return
|
1461
|
+
}())({}), Ur = { exports: {} }, pa = (Gr || (Gr = 1, Ur.exports = function() {
|
1462
|
+
function e(h) {
|
1463
|
+
return h = JSON.stringify(h), !!/^\{[\s\S]*\}$/.test(h);
|
1462
1464
|
}
|
1463
|
-
function t(
|
1464
|
-
return
|
1465
|
+
function t(h) {
|
1466
|
+
return h === void 0 || typeof h == "function" ? h + "" : JSON.stringify(h);
|
1465
1467
|
}
|
1466
|
-
function n(
|
1467
|
-
if (typeof
|
1468
|
-
return JSON.parse(
|
1468
|
+
function n(h) {
|
1469
|
+
if (typeof h == "string") try {
|
1470
|
+
return JSON.parse(h);
|
1469
1471
|
} catch {
|
1470
|
-
return
|
1472
|
+
return h;
|
1471
1473
|
}
|
1472
1474
|
}
|
1473
|
-
function i(
|
1474
|
-
return {}.toString.call(
|
1475
|
+
function i(h) {
|
1476
|
+
return {}.toString.call(h) === "[object Function]";
|
1475
1477
|
}
|
1476
|
-
function o(
|
1477
|
-
return Object.prototype.toString.call(
|
1478
|
+
function o(h) {
|
1479
|
+
return Object.prototype.toString.call(h) === "[object Array]";
|
1478
1480
|
}
|
1479
|
-
function a(
|
1480
|
-
var
|
1481
|
+
function a(h) {
|
1482
|
+
var d = "_Is_Incognit", y = "yes";
|
1481
1483
|
try {
|
1482
|
-
|
1484
|
+
h || (h = window.localStorage), h.setItem(d, y), h.removeItem(d);
|
1483
1485
|
} catch {
|
1484
|
-
var m = { _data: {}, setItem: function(
|
1485
|
-
return m._data[
|
1486
|
-
}, getItem: function(
|
1487
|
-
return m._data.hasOwnProperty(
|
1488
|
-
}, removeItem: function(
|
1489
|
-
return delete m._data[
|
1486
|
+
var m = { _data: {}, setItem: function(p, v) {
|
1487
|
+
return m._data[p] = String(v);
|
1488
|
+
}, getItem: function(p) {
|
1489
|
+
return m._data.hasOwnProperty(p) ? m._data[p] : void 0;
|
1490
|
+
}, removeItem: function(p) {
|
1491
|
+
return delete m._data[p];
|
1490
1492
|
}, clear: function() {
|
1491
1493
|
return m._data = {};
|
1492
1494
|
} };
|
1493
|
-
|
1495
|
+
h = m;
|
1494
1496
|
} finally {
|
1495
|
-
|
1497
|
+
h.getItem(d) === y && h.removeItem(d);
|
1496
1498
|
}
|
1497
|
-
return
|
1499
|
+
return h;
|
1498
1500
|
}
|
1499
1501
|
var u = a();
|
1500
1502
|
function s() {
|
1501
1503
|
if (!(this instanceof s)) return new s();
|
1502
1504
|
}
|
1503
|
-
s.prototype = { set: function(
|
1504
|
-
if (
|
1505
|
-
else if (e(
|
1505
|
+
s.prototype = { set: function(h, d) {
|
1506
|
+
if (h && !e(h)) u.setItem(h, t(d));
|
1507
|
+
else if (e(h)) for (var y in h) this.set(y, h[y]);
|
1506
1508
|
return this;
|
1507
|
-
}, get: function(
|
1508
|
-
if (
|
1509
|
-
var
|
1509
|
+
}, get: function(h) {
|
1510
|
+
if (h === void 0) {
|
1511
|
+
var d = {};
|
1510
1512
|
return this.forEach(function(k, g) {
|
1511
|
-
return
|
1512
|
-
}),
|
1513
|
+
return d[k] = g;
|
1514
|
+
}), d;
|
1513
1515
|
}
|
1514
|
-
if (
|
1516
|
+
if (h.charAt(0) === "?") return this.has(h.substr(1));
|
1515
1517
|
var y = arguments;
|
1516
1518
|
if (y.length > 1) {
|
1517
|
-
for (var m = {},
|
1518
|
-
var v = n(u.getItem(y[
|
1519
|
-
this.has(y[
|
1519
|
+
for (var m = {}, S = 0, p = y.length; S < p; S++) {
|
1520
|
+
var v = n(u.getItem(y[S]));
|
1521
|
+
this.has(y[S]) && (m[y[S]] = v);
|
1520
1522
|
}
|
1521
1523
|
return m;
|
1522
1524
|
}
|
1523
|
-
return n(u.getItem(
|
1525
|
+
return n(u.getItem(h));
|
1524
1526
|
}, clear: function() {
|
1525
1527
|
return u.clear(), this;
|
1526
|
-
}, remove: function(
|
1527
|
-
var
|
1528
|
-
return u.removeItem(
|
1529
|
-
}, has: function(
|
1530
|
-
return {}.hasOwnProperty.call(this.get(),
|
1528
|
+
}, remove: function(h) {
|
1529
|
+
var d = this.get(h);
|
1530
|
+
return u.removeItem(h), d;
|
1531
|
+
}, has: function(h) {
|
1532
|
+
return {}.hasOwnProperty.call(this.get(), h);
|
1531
1533
|
}, keys: function() {
|
1532
|
-
var
|
1533
|
-
return this.forEach(function(
|
1534
|
-
|
1535
|
-
}),
|
1536
|
-
}, forEach: function(
|
1537
|
-
for (var
|
1538
|
-
var m = u.key(
|
1539
|
-
|
1534
|
+
var h = [];
|
1535
|
+
return this.forEach(function(d) {
|
1536
|
+
h.push(d);
|
1537
|
+
}), h;
|
1538
|
+
}, forEach: function(h) {
|
1539
|
+
for (var d = 0, y = u.length; d < y; d++) {
|
1540
|
+
var m = u.key(d);
|
1541
|
+
h(m, this.get(m));
|
1540
1542
|
}
|
1541
1543
|
return this;
|
1542
|
-
}, search: function(
|
1543
|
-
for (var
|
1544
|
+
}, search: function(h) {
|
1545
|
+
for (var d = this.keys(), y = {}, m = 0, S = d.length; m < S; m++) d[m].indexOf(h) > -1 && (y[d[m]] = this.get(d[m]));
|
1544
1546
|
return y;
|
1545
1547
|
}, len: function() {
|
1546
1548
|
return u.length;
|
1547
1549
|
} };
|
1548
1550
|
var c = null;
|
1549
|
-
function l(
|
1551
|
+
function l(h, d) {
|
1550
1552
|
var y = arguments, m = null;
|
1551
1553
|
if (c || (c = s()), y.length === 0) return c.get();
|
1552
1554
|
if (y.length === 1) {
|
1553
|
-
if (typeof
|
1554
|
-
if (e(
|
1555
|
+
if (typeof h == "string") return c.get(h);
|
1556
|
+
if (e(h)) return c.set(h);
|
1555
1557
|
}
|
1556
|
-
if (y.length === 2 && typeof
|
1557
|
-
if (!
|
1558
|
-
if (
|
1559
|
-
|
1558
|
+
if (y.length === 2 && typeof h == "string") {
|
1559
|
+
if (!d) return c.remove(h);
|
1560
|
+
if (d && typeof d == "string") return c.set(h, d);
|
1561
|
+
d && i(d) && (m = null, m = d(h, c.get(h)), l.set(h, m));
|
1560
1562
|
}
|
1561
|
-
if (y.length === 2 && o(
|
1563
|
+
if (y.length === 2 && o(h) && i(d)) for (var S = 0, p = h.length; S < p; S++) m = d(h[S], c.get(h[S])), l.set(h[S], m);
|
1562
1564
|
return l;
|
1563
1565
|
}
|
1564
|
-
for (var
|
1566
|
+
for (var f in s.prototype) l[f] = s.prototype[f];
|
1565
1567
|
return l;
|
1566
|
-
}()),
|
1567
|
-
return
|
1568
|
-
|
1568
|
+
}()), Ur.exports), kn = me(pa), gt = new (function() {
|
1569
|
+
return N(function e(t) {
|
1570
|
+
F(this, e), this.sOpts = {}, this.enabled = this.checkSupportAvailability(), this.options(t);
|
1569
1571
|
}, [{ key: "options", value: function() {
|
1570
1572
|
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
1571
|
-
return arguments.length === 0 || (
|
1573
|
+
return arguments.length === 0 || (wi(e, { enabled: !0 }), this.enabled = e.enabled && this.enabled, this.sOpts = e), this.sOpts;
|
1572
1574
|
} }, { key: "set", value: function(e, t) {
|
1573
|
-
return
|
1575
|
+
return kn.set(e, t);
|
1574
1576
|
} }, { key: "get", value: function(e) {
|
1575
|
-
return
|
1577
|
+
return kn.get(e);
|
1576
1578
|
} }, { key: "remove", value: function(e) {
|
1577
|
-
return
|
1579
|
+
return kn.remove(e);
|
1578
1580
|
} }, { key: "checkSupportAvailability", value: function() {
|
1579
1581
|
try {
|
1580
1582
|
var e = "test_rudder_ls";
|
@@ -1583,96 +1585,96 @@ var Nr, la = (Fr || (Fr = 1, function(e, t) {
|
|
1583
1585
|
return !1;
|
1584
1586
|
}
|
1585
1587
|
} }]);
|
1586
|
-
}())({}),
|
1588
|
+
}())({}), ga = function(e) {
|
1587
1589
|
return new TextDecoder().decode((t = e, n = globalThis.atob(t).split("").map(function(i) {
|
1588
1590
|
return i.charCodeAt(0);
|
1589
1591
|
}), new Uint8Array(n)));
|
1590
1592
|
var t, n;
|
1591
|
-
},
|
1592
|
-
function
|
1593
|
+
}, An = "rl_user_id", In = "rl_trait", En = "rl_anonymous_id", Cn = "rl_group_id", On = "rl_group_trait", Hr = "rl_page_init_referrer", jr = "rl_page_init_referring_domain", _n = "rl_session", Sn = "rl_auth_token", Fn = "RudderEncrypt:", Nn = "RS_ENC_v3_", Ti = "Rudder", wn = { segment: "ajs_anonymous_id" };
|
1594
|
+
function Ri(e) {
|
1593
1595
|
return e.replace(/^\s+|\s+$/gm, "");
|
1594
1596
|
}
|
1595
|
-
function
|
1596
|
-
return e && typeof e == "string" &&
|
1597
|
+
function qr(e) {
|
1598
|
+
return e && typeof e == "string" && Ri(e) !== "" ? e.startsWith(Fn) ? Si.decrypt(e.substring(Fn.length), Ti).toString(sa) : e.startsWith(Nn) ? ga(e.substring(Nn.length)) : e : e;
|
1597
1599
|
}
|
1598
|
-
for (var
|
1599
|
-
return
|
1600
|
-
|
1600
|
+
for (var Jt, ma = function() {
|
1601
|
+
return N(function e() {
|
1602
|
+
F(this, e), pt.isSupportAvailable ? this.storage = pt : (gt.enabled && (this.storage = gt), this.storage || D.error("No storage is available :: initializing the SDK without storage"));
|
1601
1603
|
}, [{ key: "options", value: function() {
|
1602
1604
|
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
1603
1605
|
this.storage.options(e);
|
1604
1606
|
} }, { key: "setItem", value: function(e, t) {
|
1605
1607
|
var n = ge(t);
|
1606
1608
|
n !== null && this.storage.set(e, function(i) {
|
1607
|
-
return
|
1609
|
+
return Ri(i) === "" ? i : "".concat(Fn).concat(Si.encrypt(i, Ti).toString());
|
1608
1610
|
}(n));
|
1609
1611
|
} }, { key: "setStringItem", value: function(e, t) {
|
1610
1612
|
typeof t == "string" ? this.setItem(e, t) : D.error("[Storage] ".concat(e, " should be string"));
|
1611
1613
|
} }, { key: "setUserId", value: function(e) {
|
1612
|
-
this.setStringItem(
|
1614
|
+
this.setStringItem(An, e);
|
1613
1615
|
} }, { key: "setUserTraits", value: function(e) {
|
1614
|
-
this.setItem(
|
1616
|
+
this.setItem(In, e);
|
1615
1617
|
} }, { key: "setGroupId", value: function(e) {
|
1616
|
-
this.setStringItem(
|
1618
|
+
this.setStringItem(Cn, e);
|
1617
1619
|
} }, { key: "setGroupTraits", value: function(e) {
|
1618
1620
|
this.setItem(On, e);
|
1619
1621
|
} }, { key: "setAnonymousId", value: function(e) {
|
1620
|
-
this.setStringItem(
|
1622
|
+
this.setStringItem(En, e);
|
1621
1623
|
} }, { key: "setInitialReferrer", value: function(e) {
|
1622
|
-
this.setItem(
|
1624
|
+
this.setItem(Hr, e);
|
1623
1625
|
} }, { key: "setInitialReferringDomain", value: function(e) {
|
1624
1626
|
this.setItem(jr, e);
|
1625
1627
|
} }, { key: "setSessionInfo", value: function(e) {
|
1626
1628
|
this.setItem(_n, e);
|
1627
1629
|
} }, { key: "setAuthToken", value: function(e) {
|
1628
|
-
this.setItem(
|
1630
|
+
this.setItem(Sn, e);
|
1629
1631
|
} }, { key: "getItem", value: function(e) {
|
1630
1632
|
try {
|
1631
|
-
var t =
|
1632
|
-
return typeof n == "string" && n.startsWith(
|
1633
|
+
var t = qr(this.storage.get(e)), n = t ? JSON.parse(t) : null;
|
1634
|
+
return typeof n == "string" && n.startsWith(Nn) && (D.warn(function(i) {
|
1633
1635
|
return "The cookie data for ".concat(i, " seems to be corrupted where the underlying unencrypted data seems to be a cookie created by SDK v3. The decryption of the data was attempted again. This can potentially stem from using SDK v3 on other sites or web pages that can share cookies with this webpage. We recommend using the same SDK (v3) version everywhere.");
|
1634
|
-
}(e)), n = (t =
|
1636
|
+
}(e)), n = (t = qr(n)) ? JSON.parse(t) : null), n;
|
1635
1637
|
} catch (i) {
|
1636
1638
|
return D.error(function(o) {
|
1637
1639
|
return "Unable to retrieve the cookie data for ".concat(o, ". The data is dropped. This can potentially stem from using SDK v3 on other sites or web pages that can share cookies with this webpage. Please use the same SDK (v3) version everywhere as soon as possible.");
|
1638
1640
|
}(e), i), null;
|
1639
1641
|
}
|
1640
1642
|
} }, { key: "getUserId", value: function() {
|
1641
|
-
return this.getItem(kn);
|
1642
|
-
} }, { key: "getUserTraits", value: function() {
|
1643
1643
|
return this.getItem(An);
|
1644
|
+
} }, { key: "getUserTraits", value: function() {
|
1645
|
+
return this.getItem(In);
|
1644
1646
|
} }, { key: "getGroupId", value: function() {
|
1645
|
-
return this.getItem(
|
1647
|
+
return this.getItem(Cn);
|
1646
1648
|
} }, { key: "getGroupTraits", value: function() {
|
1647
1649
|
return this.getItem(On);
|
1648
1650
|
} }, { key: "fetchExternalAnonymousId", value: function(e) {
|
1649
1651
|
var t, n = e.toLowerCase();
|
1650
|
-
return Object.keys(
|
1652
|
+
return Object.keys(wn).includes(n) && n === "segment" && (gt.enabled && (t = gt.get(wn[n])), !t && pt.isSupportAvailable && (t = pt.get(wn[n]))), t;
|
1651
1653
|
} }, { key: "getAnonymousId", value: function(e) {
|
1652
|
-
var t = this.getItem(
|
1654
|
+
var t = this.getItem(En);
|
1653
1655
|
if (t) return t;
|
1654
|
-
var n =
|
1655
|
-
if (
|
1656
|
+
var n = kt(e, "autoCapture.source");
|
1657
|
+
if (kt(e, "autoCapture.enabled") === !0 && typeof n == "string") {
|
1656
1658
|
var i = this.fetchExternalAnonymousId(n);
|
1657
1659
|
if (i) return i;
|
1658
1660
|
}
|
1659
1661
|
return t;
|
1660
1662
|
} }, { key: "getInitialReferrer", value: function() {
|
1661
|
-
return this.getItem(
|
1663
|
+
return this.getItem(Hr);
|
1662
1664
|
} }, { key: "getInitialReferringDomain", value: function() {
|
1663
1665
|
return this.getItem(jr);
|
1664
1666
|
} }, { key: "getSessionInfo", value: function() {
|
1665
1667
|
return this.getItem(_n);
|
1666
1668
|
} }, { key: "getAuthToken", value: function() {
|
1667
|
-
return this.getItem(
|
1669
|
+
return this.getItem(Sn);
|
1668
1670
|
} }, { key: "removeItem", value: function(e) {
|
1669
1671
|
return this.storage.remove(e);
|
1670
1672
|
} }, { key: "removeSessionInfo", value: function() {
|
1671
1673
|
this.removeItem(_n);
|
1672
1674
|
} }, { key: "clear", value: function(e) {
|
1673
|
-
this.storage.remove(
|
1675
|
+
this.storage.remove(An), this.storage.remove(In), this.storage.remove(Cn), this.storage.remove(On), this.storage.remove(Sn), e && this.storage.remove(En);
|
1674
1676
|
} }]);
|
1675
|
-
}(),
|
1677
|
+
}(), an = new ma(), nn = function(e, t) {
|
1676
1678
|
var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
1677
1679
|
try {
|
1678
1680
|
if (document.getElementById(e)) return;
|
@@ -1687,62 +1689,62 @@ for (var Yt, pa = function() {
|
|
1687
1689
|
} catch (u) {
|
1688
1690
|
M(u);
|
1689
1691
|
}
|
1690
|
-
},
|
1692
|
+
}, Kr = function(e) {
|
1691
1693
|
return e === null;
|
1692
|
-
},
|
1693
|
-
return !
|
1694
|
+
}, ya = function(e) {
|
1695
|
+
return !Kr(e) && function(t) {
|
1694
1696
|
return L(t) === "object";
|
1695
1697
|
}(e) && !Array.isArray(e);
|
1696
|
-
},
|
1698
|
+
}, va = function(e, t) {
|
1697
1699
|
if (!Array.isArray(e) || !Array.isArray(t)) return U(t);
|
1698
1700
|
var n = U(e);
|
1699
1701
|
return t.forEach(function(i, o) {
|
1700
|
-
n[o] = Array.isArray(i) ||
|
1702
|
+
n[o] = Array.isArray(i) || ya(i) ? mt(n[o], i) : i;
|
1701
1703
|
}), n;
|
1702
|
-
},
|
1703
|
-
return
|
1704
|
-
},
|
1704
|
+
}, mt = function(e, t) {
|
1705
|
+
return Co(va, e, t);
|
1706
|
+
}, ba = function(e) {
|
1705
1707
|
return function(t) {
|
1706
|
-
return !
|
1708
|
+
return !Kr(t) && Object.prototype.toString.call(t) === "[object Object]";
|
1707
1709
|
}(e) && Object.keys(e).length > 0;
|
1708
|
-
},
|
1709
|
-
for (var
|
1710
|
-
function
|
1710
|
+
}, Ke = 256, rn = []; Ke--; ) rn[Ke] = (Ke + 256).toString(16).substring(1);
|
1711
|
+
for (var Tn, Qr = 4096, on = [], De = 0; De < 256; De++) on[De] = (De + 256).toString(16).substring(1);
|
1712
|
+
function ka() {
|
1711
1713
|
var e;
|
1712
|
-
(!
|
1713
|
-
for (var t, n = 0, i = ""; n < 16; n++) t =
|
1714
|
+
(!Tn || De + 16 > Qr) && (e = Qr, Tn = crypto.getRandomValues(new Uint8Array(e)), De = 0);
|
1715
|
+
for (var t, n = 0, i = ""; n < 16; n++) t = Tn[De + n], i += n == 6 ? on[15 & t | 64] : n == 8 ? on[63 & t | 128] : on[t], 1 & n && n > 1 && n < 11 && (i += "-");
|
1714
1716
|
return De += 16, i;
|
1715
1717
|
}
|
1716
|
-
var
|
1717
|
-
function
|
1718
|
-
return e
|
1718
|
+
var Aa = { All: "All", GA: "Google Analytics", GOOGLEADS: "Google Ads", BRAZE: "Braze", CHARTBEAT: "Chartbeat", COMSCORE: "Comscore", CUSTOMERIO: "Customer IO", DCM_Floodlight: "DCM Floodlight", FACEBOOK_PIXEL: "Facebook Pixel", GTM: "Google Tag Manager", HOTJAR: "Hotjar", HS: "HubSpot", INTERCOM: "Intercom", KEEN: "Keen", KISSMETRICS: "Kiss Metrics", LOTAME: "Lotame", VWO: "VWO", OPTIMIZELY: "Optimizely Web", FULLSTORY: "Fullstory", TVSQUARED: "TVSquared", GA4: "Google Analytics 4 (GA4)", GA4_V2: "Google Analytics 4 (GA4) V2", MOENGAGE: "MoEngage", AM: "Amplitude", PENDO: "Pendo", LYTICS: "Lytics", APPCUES: "Appcues", POSTHOG: "PostHog", PROFITWELL: "ProfitWell", KLAVIYO: "Klaviyo", CLEVERTAP: "CleverTap", BINGADS: "Bing Ads", PINTEREST_TAG: "Pinterest Tag", SNAP_PIXEL: "Snap Pixel", LINKEDIN_INSIGHT_TAG: "Linkedin Insight Tag", REDDIT_PIXEL: "Reddit Pixel", DRIP: "Drip", HEAP: "Heap.io", CRITEO: "Criteo", MP: "Mixpanel", QUALTRICS: "Qualtrics", SENTRY: "Sentry", GOOGLE_OPTIMIZE: "Google Optimize", POST_AFFILIATE_PRO: "Post Affiliate Pro", LAUNCHDARKLY: "LaunchDarkly", GA360: "Google Analytics 360", ADROLL: "Adroll", VERO: "Vero", MATOMO: "Matomo", MOUSEFLOW: "Mouseflow", ROCKERBOX: "Rockerbox", CONVERTFLOW: "ConvertFlow", SNAPENGAGE: "SnapEngage", LIVECHAT: "LiveChat", SHYNET: "Shynet", WOOPRA: "Woopra", ROLLBAR: "RollBar", QUORA_PIXEL: "Quora Pixel", JUNE: "June", ENGAGE: "Engage", ITERABLE: "Iterable", YANDEX_METRICA: "Yandex.Metrica", REFINER: "Refiner", QUALAROO: "Qualaroo", PODSIGHTS: "Podsights", AXEPTIO: "Axeptio", SATISMETER: "Satismeter", MICROSOFT_CLARITY: "Microsoft Clarity", SENDINBLUE: "Sendinblue", OLARK: "Olark", LEMNISK: "Lemnisk", TIKTOK_ADS: "TikTok Ads", ACTIVE_CAMPAIGN: "ActiveCampaign", SPRIG: "Sprig", SPOTIFYPIXEL: "Spotify Pixel", COMMANDBAR: "CommandBar", NINETAILED: "Ninetailed", XPIXEL: "XPixel", GAINSIGHT_PX: "Gainsight PX" }, Rn = ["anonymous_id", "id", "sent_at", "received_at", "timestamp", "original_timestamp", "event_text", "event"], Pn = "https://api.rudderstack.com/sourceConfig/?p=npm&v=2.48.42", Pi = "v1.1", Di = "js-integrations", xi = "".concat("https://cdn.rudderlabs.com", "/").concat(Pi, "/").concat(Di), zr = "https://polyfill-fastly.io/v3/polyfill.min.js?version=3.111.0&features=Number.isNaN%2CURL%2CArray.prototype.find%2CArray.prototype.includes%2CPromise%2CString.prototype.endsWith%2CString.prototype.includes%2CString.prototype.startsWith%2CObject.entries%2CObject.values%2CElement.prototype.dataset%2CString.prototype.replaceAll%2CTextEncoder%2Cnavigator.sendBeacon", Ia = ["Lax", "None", "Strict"], Ea = ["US", "EU"], Ca = ["oneTrust", "ketch"], Vr = ["library", "consentManagement"], Oa = ["none", "default", "full"], _a = { All: !0 };
|
1719
|
+
function At(e) {
|
1720
|
+
return e && e.endsWith("/") ? e.replace(/\/+$/, "") : e;
|
1719
1721
|
}
|
1720
|
-
function
|
1721
|
-
return window.crypto && typeof window.crypto.getRandomValues == "function" ?
|
1722
|
+
function Li() {
|
1723
|
+
return window.crypto && typeof window.crypto.getRandomValues == "function" ? ka() : function() {
|
1722
1724
|
var e, t = 0, n = "";
|
1723
|
-
if (!
|
1724
|
-
for (
|
1725
|
-
t =
|
1725
|
+
if (!Jt || Ke + 16 > 256) {
|
1726
|
+
for (Jt = Array(t = 256); t--; ) Jt[t] = 256 * Math.random() | 0;
|
1727
|
+
t = Ke = 0;
|
1726
1728
|
}
|
1727
|
-
for (; t < 16; t++) e =
|
1728
|
-
return
|
1729
|
+
for (; t < 16; t++) e = Jt[Ke + t], n += t == 6 ? rn[15 & e | 64] : t == 8 ? rn[63 & e | 128] : rn[e], 1 & t && t > 1 && t < 11 && (n += "-");
|
1730
|
+
return Ke++, n;
|
1729
1731
|
}();
|
1730
1732
|
}
|
1731
|
-
function
|
1733
|
+
function It() {
|
1732
1734
|
return (/* @__PURE__ */ new Date()).toISOString();
|
1733
1735
|
}
|
1734
|
-
function
|
1736
|
+
function Mi(e, t) {
|
1735
1737
|
Object.keys(e).forEach(function(n) {
|
1736
1738
|
e.hasOwnProperty(n) && (t[n] && (e[t[n]] = e[n]), n !== "All" && t[n] !== void 0 && t[n] !== n && delete e[n]);
|
1737
1739
|
});
|
1738
1740
|
}
|
1739
|
-
function
|
1740
|
-
|
1741
|
+
function Dn(e) {
|
1742
|
+
Mi(e, Oi);
|
1741
1743
|
}
|
1742
|
-
function
|
1743
|
-
|
1744
|
+
function $r(e) {
|
1745
|
+
Mi(e, Aa);
|
1744
1746
|
}
|
1745
|
-
function
|
1747
|
+
function xn(e, t) {
|
1746
1748
|
var n = [];
|
1747
1749
|
if (!t || t.length === 0) return n;
|
1748
1750
|
var i = !0;
|
@@ -1760,17 +1762,17 @@ function Dn(e, t) {
|
|
1760
1762
|
} else e[u] !== void 0 && e[u] && n.push(s);
|
1761
1763
|
}), n;
|
1762
1764
|
}
|
1763
|
-
var
|
1765
|
+
var Zt = function(e) {
|
1764
1766
|
return typeof e == "string" || e == null ? e : ge(e);
|
1765
|
-
},
|
1767
|
+
}, Xr = function(e) {
|
1766
1768
|
return typeof e == "string" && e.trim().length > 0;
|
1767
|
-
},
|
1769
|
+
}, Sa = function(e, t, n) {
|
1768
1770
|
try {
|
1769
1771
|
var i = e.source.dataplanes || {};
|
1770
1772
|
if (Object.keys(i).length > 0) {
|
1771
1773
|
var o = function(s) {
|
1772
1774
|
var c = s ? s.residencyServer : void 0;
|
1773
|
-
if (c) return typeof c == "string" &&
|
1775
|
+
if (c) return typeof c == "string" && Ea.includes(c.toUpperCase()) ? c.toUpperCase() : void D.error("Invalid residencyServer input");
|
1774
1776
|
}(n), a = i[o] || i.US;
|
1775
1777
|
if (a) {
|
1776
1778
|
var u = function(s) {
|
@@ -1778,55 +1780,55 @@ var Jt = function(e) {
|
|
1778
1780
|
var c = s.find(function(l) {
|
1779
1781
|
return l.default === !0;
|
1780
1782
|
});
|
1781
|
-
if (c &&
|
1783
|
+
if (c && Xr(c.url)) return c.url;
|
1782
1784
|
}
|
1783
1785
|
}(a);
|
1784
1786
|
if (u) return u;
|
1785
1787
|
}
|
1786
1788
|
}
|
1787
|
-
if (
|
1789
|
+
if (Xr(t)) return t;
|
1788
1790
|
throw Error("Unable to load the SDK due to invalid data plane url");
|
1789
1791
|
} catch (s) {
|
1790
1792
|
throw Error(s);
|
1791
1793
|
}
|
1792
1794
|
};
|
1793
|
-
function
|
1795
|
+
function Bi() {
|
1794
1796
|
var e;
|
1795
1797
|
return ((e = document) === null || e === void 0 ? void 0 : e.referrer) || "$direct";
|
1796
1798
|
}
|
1797
|
-
function
|
1799
|
+
function Fi(e) {
|
1798
1800
|
var t = e.split("/");
|
1799
1801
|
return t.length >= 3 ? t[2] : "";
|
1800
1802
|
}
|
1801
|
-
function
|
1803
|
+
function Wr() {
|
1802
1804
|
for (var e = document.getElementsByTagName("link"), t = 0; e[t]; t += 1) {
|
1803
1805
|
var n = e[t];
|
1804
1806
|
if (n.getAttribute("rel") === "canonical") return n.getAttribute("href");
|
1805
1807
|
}
|
1806
1808
|
}
|
1807
|
-
function
|
1808
|
-
var e =
|
1809
|
+
function Yr() {
|
1810
|
+
var e = Wr(), t = window.location.pathname;
|
1809
1811
|
if (e) try {
|
1810
1812
|
t = new URL(e).pathname;
|
1811
1813
|
} catch {
|
1812
1814
|
}
|
1813
1815
|
var n = window.location, i = n.search, o = n.href, a = document.title, u = function(l) {
|
1814
|
-
var
|
1815
|
-
return
|
1816
|
-
}(i), s = o, c =
|
1817
|
-
return { path: t, referrer: c, referring_domain:
|
1816
|
+
var f, h = Wr(), d = (f = h ? h.includes("?") ? h : h + l : window.location.href).indexOf("#");
|
1817
|
+
return d > -1 ? f.slice(0, d) : f;
|
1818
|
+
}(i), s = o, c = Bi();
|
1819
|
+
return { path: t, referrer: c, referring_domain: Fi(c), search: i, title: a, url: u, tab_url: s, initial_referrer: an.getInitialReferrer() || "", initial_referring_domain: an.getInitialReferringDomain() || "" };
|
1818
1820
|
}
|
1819
|
-
var
|
1820
|
-
|
1821
|
-
}),
|
1822
|
-
|
1823
|
-
}),
|
1824
|
-
|
1825
|
-
}),
|
1826
|
-
|
1827
|
-
}),
|
1821
|
+
var Jr, wa = N(function e() {
|
1822
|
+
F(this, e), this.name = "RudderLabs JavaScript SDK", this.namespace = "com.rudderlabs.javascript", this.version = "2.48.42";
|
1823
|
+
}), Ta = N(function e() {
|
1824
|
+
F(this, e), this.name = "RudderLabs JavaScript SDK", this.version = "2.48.42";
|
1825
|
+
}), Ra = N(function e() {
|
1826
|
+
F(this, e), this.name = "", this.version = "";
|
1827
|
+
}), Pa = N(function e() {
|
1828
|
+
F(this, e), this.density = 0, this.width = 0, this.height = 0, this.innerWidth = 0, this.innerHeight = 0;
|
1829
|
+
}), Da = N(function e() {
|
1828
1830
|
var t, n;
|
1829
|
-
|
1831
|
+
F(this, e), this.app = new wa(), this.traits = null, this.library = new Ta(), this.userAgent = function() {
|
1830
1832
|
if (typeof navigator > "u") return null;
|
1831
1833
|
var i = navigator.userAgent, o = navigator.brave;
|
1832
1834
|
if (o && Object.getPrototypeOf(o).isBrave) {
|
@@ -1834,18 +1836,18 @@ var Yr, Ca = G(function e() {
|
|
1834
1836
|
a && (i = "".concat(i, " Brave/").concat(a[2]));
|
1835
1837
|
}
|
1836
1838
|
return i;
|
1837
|
-
}(), this.device = null, this.network = null, this.os = new
|
1838
|
-
}),
|
1839
|
-
return
|
1840
|
-
|
1839
|
+
}(), this.device = null, this.network = null, this.os = new Ra(), this.locale = typeof navigator > "u" ? null : navigator.language || navigator.browserLanguage, this.screen = (t = new Pa(), typeof window > "u" || (t.width = window.screen.width, t.height = window.screen.height, t.density = window.devicePixelRatio, t.innerWidth = window.innerWidth, t.innerHeight = window.innerHeight), t), this.timezone = (n = (/* @__PURE__ */ new Date()).toString().match(/([A-Z]+[+-]\d+)/)) && n[1] ? n[1] : "NA";
|
1840
|
+
}), xa = function() {
|
1841
|
+
return N(function e() {
|
1842
|
+
F(this, e), this.channel = "web", this.context = new Da(), this.type = null, this.messageId = Li(), this.originalTimestamp = (/* @__PURE__ */ new Date()).toISOString(), this.anonymousId = null, this.userId = null, this.event = null, this.properties = {};
|
1841
1843
|
}, [{ key: "getProperty", value: function(e) {
|
1842
1844
|
return this.properties[e];
|
1843
1845
|
} }, { key: "addProperty", value: function(e, t) {
|
1844
1846
|
this.properties[e] = t;
|
1845
1847
|
} }]);
|
1846
|
-
}(),
|
1847
|
-
return
|
1848
|
-
|
1848
|
+
}(), Ni = function() {
|
1849
|
+
return N(function e() {
|
1850
|
+
F(this, e), this.message = new xa();
|
1849
1851
|
}, [{ key: "setType", value: function(e) {
|
1850
1852
|
this.message.type = e;
|
1851
1853
|
} }, { key: "setProperty", value: function(e) {
|
@@ -1859,21 +1861,21 @@ var Yr, Ca = G(function e() {
|
|
1859
1861
|
} }, { key: "getElementContent", value: function() {
|
1860
1862
|
return this.message;
|
1861
1863
|
} }]);
|
1862
|
-
}(),
|
1863
|
-
return
|
1864
|
-
|
1864
|
+
}(), dt = function() {
|
1865
|
+
return N(function e() {
|
1866
|
+
F(this, e), this.rudderProperty = null, this.rudderUserProperty = null, this.event = null, this.userId = null, this.type = null;
|
1865
1867
|
}, [{ key: "setType", value: function(e) {
|
1866
1868
|
return this.type = e, this;
|
1867
1869
|
} }, { key: "build", value: function() {
|
1868
|
-
var e = new
|
1870
|
+
var e = new Ni();
|
1869
1871
|
return e.setUserId(this.userId), e.setType(this.type), e.setEventName(this.event), e.setProperty(this.rudderProperty), e.setUserProperty(this.rudderUserProperty), e;
|
1870
1872
|
} }]);
|
1871
|
-
}(),
|
1872
|
-
function
|
1873
|
-
if (
|
1874
|
-
|
1873
|
+
}(), Ln = {};
|
1874
|
+
function Gi() {
|
1875
|
+
if (Jr) return Ln;
|
1876
|
+
Jr = 1;
|
1875
1877
|
for (var e, t = 256, n = []; t--; ) n[t] = (t + 256).toString(16).substring(1);
|
1876
|
-
return
|
1878
|
+
return Ln.v4 = function() {
|
1877
1879
|
var i, o = 0, a = "";
|
1878
1880
|
if (!e || t + 16 > 256) {
|
1879
1881
|
for (e = Array(o = 256); o--; ) e[o] = 256 * Math.random() | 0;
|
@@ -1881,37 +1883,37 @@ function Ni() {
|
|
1881
1883
|
}
|
1882
1884
|
for (; o < 16; o++) i = e[t + o], a += o == 6 ? n[15 & i | 64] : o == 8 ? n[63 & i | 128] : n[i], 1 & o && o > 1 && o < 11 && (a += "-");
|
1883
1885
|
return t++, a;
|
1884
|
-
},
|
1886
|
+
}, Ln;
|
1885
1887
|
}
|
1886
|
-
var
|
1887
|
-
function
|
1888
|
-
if (
|
1889
|
-
|
1888
|
+
var Zr, ei, ti, ni, ri, ii, oi, si, ai, en = {};
|
1889
|
+
function Xn() {
|
1890
|
+
if (ei) return Zr;
|
1891
|
+
ei = 1;
|
1890
1892
|
var e = Object.prototype.hasOwnProperty, t = String.prototype.charAt, n = Object.prototype.toString, i = function(u, s) {
|
1891
1893
|
return t.call(u, s);
|
1892
1894
|
}, o = function(u, s) {
|
1893
1895
|
return e.call(u, s);
|
1894
1896
|
}, a = function(u, s) {
|
1895
1897
|
s = s || o;
|
1896
|
-
for (var c = [], l = 0,
|
1898
|
+
for (var c = [], l = 0, f = u.length; l < f; l += 1) s(u, l) && c.push(String(l));
|
1897
1899
|
return c;
|
1898
1900
|
};
|
1899
|
-
return
|
1901
|
+
return Zr = function(u) {
|
1900
1902
|
return u == null ? [] : (s = u, n.call(s) === "[object String]" ? a(u, i) : function(c) {
|
1901
1903
|
return c != null && typeof c != "function" && typeof c.length == "number";
|
1902
1904
|
}(u) ? a(u, o) : function(c, l) {
|
1903
1905
|
l = l || o;
|
1904
|
-
var
|
1905
|
-
for (var
|
1906
|
-
return
|
1906
|
+
var f = [];
|
1907
|
+
for (var h in c) l(c, h) && f.push(String(h));
|
1908
|
+
return f;
|
1907
1909
|
}(u));
|
1908
1910
|
var s;
|
1909
1911
|
};
|
1910
1912
|
}
|
1911
|
-
function
|
1912
|
-
if (
|
1913
|
-
|
1914
|
-
var e =
|
1913
|
+
function ui() {
|
1914
|
+
if (ti) return en;
|
1915
|
+
ti = 1;
|
1916
|
+
var e = Xn(), t = Gi().v4, n = { _data: {}, length: 0, setItem: function(i, o) {
|
1915
1917
|
return this._data[i] = o, this.length = e(this._data).length, o;
|
1916
1918
|
}, getItem: function(i) {
|
1917
1919
|
return i in this._data ? this._data[i] : null;
|
@@ -1922,7 +1924,7 @@ function ai() {
|
|
1922
1924
|
}, key: function(i) {
|
1923
1925
|
return e(this._data)[i];
|
1924
1926
|
} };
|
1925
|
-
return
|
1927
|
+
return en.defaultEngine = function() {
|
1926
1928
|
try {
|
1927
1929
|
if (!window.localStorage) return !1;
|
1928
1930
|
var i = t();
|
@@ -1932,12 +1934,12 @@ function ai() {
|
|
1932
1934
|
} catch {
|
1933
1935
|
return !1;
|
1934
1936
|
}
|
1935
|
-
}() ? window.localStorage : n,
|
1937
|
+
}() ? window.localStorage : n, en.inMemoryEngine = n, en;
|
1936
1938
|
}
|
1937
|
-
function
|
1938
|
-
if (
|
1939
|
-
|
1940
|
-
var e =
|
1939
|
+
function Gn() {
|
1940
|
+
if (ri) return ni;
|
1941
|
+
ri = 1;
|
1942
|
+
var e = Xn(), t = Object.prototype.toString, n = typeof Array.isArray == "function" ? Array.isArray : function(u) {
|
1941
1943
|
return t.call(u) === "[object Array]";
|
1942
1944
|
}, i = function(u) {
|
1943
1945
|
return u != null && (n(u) || u !== "function" && function(s) {
|
@@ -1949,46 +1951,46 @@ function Nn() {
|
|
1949
1951
|
}, a = function(u, s) {
|
1950
1952
|
for (var c = e(s), l = 0; l < c.length && u(s[c[l]], c[l], s) !== !1; l += 1) ;
|
1951
1953
|
};
|
1952
|
-
return
|
1954
|
+
return ni = function(u, s) {
|
1953
1955
|
return (i(s) ? o : a).call(this, u, s);
|
1954
1956
|
};
|
1955
1957
|
}
|
1956
|
-
function
|
1957
|
-
if (
|
1958
|
-
|
1959
|
-
var e =
|
1958
|
+
function La() {
|
1959
|
+
if (oi) return ii;
|
1960
|
+
oi = 1;
|
1961
|
+
var e = ui().defaultEngine, t = ui().inMemoryEngine, n = Gn(), i = Xn(), o = JSON;
|
1960
1962
|
function a(s) {
|
1961
1963
|
try {
|
1962
|
-
return JSON.stringify(s, (c = [], function(l,
|
1963
|
-
if (L(
|
1964
|
+
return JSON.stringify(s, (c = [], function(l, f) {
|
1965
|
+
if (L(f) !== "object" || f === null) return f;
|
1964
1966
|
for (; c.length > 0 && c[c.length - 1] !== this; ) c.pop();
|
1965
|
-
return c.includes(
|
1967
|
+
return c.includes(f) ? "[Circular Reference]" : (c.push(f), f);
|
1966
1968
|
}));
|
1967
1969
|
} catch {
|
1968
1970
|
return null;
|
1969
1971
|
}
|
1970
1972
|
var c;
|
1971
1973
|
}
|
1972
|
-
function u(s, c, l,
|
1973
|
-
this.id = c, this.name = s, this.keys = l || {}, this.engine =
|
1974
|
+
function u(s, c, l, f) {
|
1975
|
+
this.id = c, this.name = s, this.keys = l || {}, this.engine = f || e, this.originalEngine = this.engine;
|
1974
1976
|
}
|
1975
1977
|
return u.prototype.set = function(s, c) {
|
1976
1978
|
var l = this._createValidKey(s);
|
1977
1979
|
if (l) try {
|
1978
1980
|
this.engine.setItem(l, a(c));
|
1979
|
-
} catch (
|
1980
|
-
(function(
|
1981
|
-
var
|
1982
|
-
if (
|
1981
|
+
} catch (f) {
|
1982
|
+
(function(h) {
|
1983
|
+
var d = !1;
|
1984
|
+
if (h.code) switch (h.code) {
|
1983
1985
|
case 22:
|
1984
|
-
|
1986
|
+
d = !0;
|
1985
1987
|
break;
|
1986
1988
|
case 1014:
|
1987
|
-
|
1989
|
+
h.name === "NS_ERROR_DOM_QUOTA_REACHED" && (d = !0);
|
1988
1990
|
}
|
1989
|
-
else
|
1990
|
-
return
|
1991
|
-
})(
|
1991
|
+
else h.number === -2147024882 && (d = !0);
|
1992
|
+
return d;
|
1993
|
+
})(f) && (this._swapEngine(), this.set(s, c));
|
1992
1994
|
}
|
1993
1995
|
}, u.prototype.get = function(s) {
|
1994
1996
|
try {
|
@@ -2002,28 +2004,28 @@ function Da() {
|
|
2002
2004
|
}, u.prototype.remove = function(s) {
|
2003
2005
|
this.engine.removeItem(this._createValidKey(s));
|
2004
2006
|
}, u.prototype._createValidKey = function(s) {
|
2005
|
-
var c, l = this.name,
|
2006
|
-
return i(this.keys).length ? (n(function(
|
2007
|
-
|
2008
|
-
}, this.keys), c) : [l,
|
2007
|
+
var c, l = this.name, f = this.id;
|
2008
|
+
return i(this.keys).length ? (n(function(h) {
|
2009
|
+
h === s && (c = [l, f, s].join("."));
|
2010
|
+
}, this.keys), c) : [l, f, s].join(".");
|
2009
2011
|
}, u.prototype._swapEngine = function() {
|
2010
2012
|
var s = this;
|
2011
2013
|
n(function(c) {
|
2012
2014
|
var l = s.get(c);
|
2013
2015
|
t.setItem([s.name, s.id, c].join("."), l), s.remove(c);
|
2014
2016
|
}, this.keys), this.engine = t;
|
2015
|
-
},
|
2017
|
+
}, ii = u;
|
2016
2018
|
}
|
2017
|
-
var
|
2018
|
-
function
|
2019
|
-
return
|
2019
|
+
var ci, li, fi, hi = { exports: {} };
|
2020
|
+
function Ma() {
|
2021
|
+
return ci || (ci = 1, function(e) {
|
2020
2022
|
function t(n) {
|
2021
2023
|
if (n) return function(i) {
|
2022
2024
|
for (var o in t.prototype) i[o] = t.prototype[o];
|
2023
2025
|
return i;
|
2024
2026
|
}(n);
|
2025
2027
|
}
|
2026
|
-
|
2028
|
+
hi.exports = t, t.prototype.on = t.prototype.addEventListener = function(n, i) {
|
2027
2029
|
return this._callbacks = this._callbacks || {}, (this._callbacks["$" + n] = this._callbacks["$" + n] || []).push(i), this;
|
2028
2030
|
}, t.prototype.once = function(n, i) {
|
2029
2031
|
function o() {
|
@@ -2053,43 +2055,43 @@ function xa() {
|
|
2053
2055
|
}, t.prototype.hasListeners = function(n) {
|
2054
2056
|
return !!this.listeners(n).length;
|
2055
2057
|
};
|
2056
|
-
}()),
|
2058
|
+
}()), hi.exports;
|
2057
2059
|
}
|
2058
|
-
var
|
2059
|
-
if (
|
2060
|
-
|
2061
|
-
var e =
|
2062
|
-
if (
|
2063
|
-
|
2064
|
-
var s =
|
2065
|
-
return window.setTimeout(
|
2066
|
-
}, clearTimeout: function(
|
2067
|
-
return window.clearTimeout(
|
2068
|
-
}, Date: window.Date }, l = c,
|
2069
|
-
function
|
2060
|
+
var Ba = function() {
|
2061
|
+
if (fi) return li;
|
2062
|
+
fi = 1;
|
2063
|
+
var e = Gi().v4, t = La(), n = Gn(), i = function() {
|
2064
|
+
if (ai) return si;
|
2065
|
+
ai = 1;
|
2066
|
+
var s = Gn(), c = { setTimeout: function(d, y) {
|
2067
|
+
return window.setTimeout(d, y);
|
2068
|
+
}, clearTimeout: function(d) {
|
2069
|
+
return window.clearTimeout(d);
|
2070
|
+
}, Date: window.Date }, l = c, f = { ASAP: 1, RESCHEDULE: 2, ABANDON: 3 };
|
2071
|
+
function h() {
|
2070
2072
|
this.tasks = {}, this.nextId = 1;
|
2071
2073
|
}
|
2072
|
-
return
|
2074
|
+
return h.prototype.now = function() {
|
2073
2075
|
return +new l.Date();
|
2074
|
-
},
|
2075
|
-
var
|
2076
|
-
return this.tasks[
|
2077
|
-
},
|
2078
|
-
this.tasks[
|
2079
|
-
},
|
2076
|
+
}, h.prototype.run = function(d, y, m) {
|
2077
|
+
var S = this.nextId++;
|
2078
|
+
return this.tasks[S] = l.setTimeout(this._handle(S, d, y, m || f.ASAP), y), S;
|
2079
|
+
}, h.prototype.cancel = function(d) {
|
2080
|
+
this.tasks[d] && (l.clearTimeout(this.tasks[d]), delete this.tasks[d]);
|
2081
|
+
}, h.prototype.cancelAll = function() {
|
2080
2082
|
s(l.clearTimeout, this.tasks), this.tasks = {};
|
2081
|
-
},
|
2082
|
-
var
|
2083
|
+
}, h.prototype._handle = function(d, y, m, S) {
|
2084
|
+
var p = this, v = p.now();
|
2083
2085
|
return function() {
|
2084
|
-
if (delete
|
2085
|
-
|
2086
|
+
if (delete p.tasks[d], !(S >= f.RESCHEDULE && v + 2 * m < p.now())) return y();
|
2087
|
+
S === f.RESCHEDULE && p.run(y, m, S);
|
2086
2088
|
};
|
2087
|
-
},
|
2088
|
-
l =
|
2089
|
-
},
|
2089
|
+
}, h.setClock = function(d) {
|
2090
|
+
l = d;
|
2091
|
+
}, h.resetClock = function() {
|
2090
2092
|
l = c;
|
2091
|
-
},
|
2092
|
-
}(), o =
|
2093
|
+
}, h.Modes = f, si = h;
|
2094
|
+
}(), o = $n()("localstorage-retry");
|
2093
2095
|
function a(s, c) {
|
2094
2096
|
return function() {
|
2095
2097
|
return s.apply(c, arguments);
|
@@ -2098,7 +2100,7 @@ var La = function() {
|
|
2098
2100
|
function u(s, c, l) {
|
2099
2101
|
typeof c == "function" && (l = c), this.name = s, this.id = e(), this.fn = l, this.maxItems = c.maxItems || 1 / 0, this.maxAttempts = c.maxAttempts || 1 / 0, this.backoff = { MIN_RETRY_DELAY: c.minRetryDelay || 1e3, MAX_RETRY_DELAY: c.maxRetryDelay || 3e4, FACTOR: c.backoffFactor || 2, JITTER: c.backoffJitter || 0 }, this.timeouts = { ACK_TIMER: 1e3, RECLAIM_TIMER: 3e3, RECLAIM_TIMEOUT: 1e4, RECLAIM_WAIT: 500 }, this.keys = { IN_PROGRESS: "inProgress", QUEUE: "queue", RECLAIM_START: "reclaimStart", RECLAIM_END: "reclaimEnd", ACK: "ack" }, this._schedule = new i(), this._processId = 0, this._store = new t(this.name, this.id, this.keys), this._store.set(this.keys.IN_PROGRESS, {}), this._store.set(this.keys.QUEUE, []), this._ack = a(this._ack, this), this._checkReclaim = a(this._checkReclaim, this), this._processHead = a(this._processHead, this), this._running = !1;
|
2100
2102
|
}
|
2101
|
-
return
|
2103
|
+
return Ma()(u.prototype), u.prototype.start = function() {
|
2102
2104
|
this._running && this.stop(), this._running = !0, this._ack(), this._checkReclaim(), this._processHead();
|
2103
2105
|
}, u.prototype.stop = function() {
|
2104
2106
|
this._schedule.cancelAll(), this._running = !1;
|
@@ -2107,40 +2109,40 @@ var La = function() {
|
|
2107
2109
|
}, u.prototype.getDelay = function(s) {
|
2108
2110
|
var c = this.backoff.MIN_RETRY_DELAY * Math.pow(this.backoff.FACTOR, s);
|
2109
2111
|
if (this.backoff.JITTER) {
|
2110
|
-
var l = Math.random(),
|
2111
|
-
Math.floor(10 * l) < 5 ? c -=
|
2112
|
+
var l = Math.random(), f = Math.floor(l * this.backoff.JITTER * c);
|
2113
|
+
Math.floor(10 * l) < 5 ? c -= f : c += f;
|
2112
2114
|
}
|
2113
2115
|
return Number(Math.min(c, this.backoff.MAX_RETRY_DELAY).toPrecision(1));
|
2114
2116
|
}, u.prototype.addItem = function(s) {
|
2115
2117
|
this._enqueue({ item: s, attemptNumber: 0, time: this._schedule.now(), id: e() });
|
2116
|
-
}, u.prototype.requeue = function(s, c, l,
|
2117
|
-
this.shouldRetry(s, c, l) ? this._enqueue({ item: s, attemptNumber: c, time: this._schedule.now() + this.getDelay(c), id:
|
2118
|
+
}, u.prototype.requeue = function(s, c, l, f) {
|
2119
|
+
this.shouldRetry(s, c, l) ? this._enqueue({ item: s, attemptNumber: c, time: this._schedule.now() + this.getDelay(c), id: f || e() }) : this.emit("discard", s, c);
|
2118
2120
|
}, u.prototype._enqueue = function(s) {
|
2119
2121
|
var c = this._store.get(this.keys.QUEUE) || [];
|
2120
|
-
(c = c.slice(-(this.maxItems - 1))).push(s), c = c.sort(function(l,
|
2121
|
-
return l.time -
|
2122
|
+
(c = c.slice(-(this.maxItems - 1))).push(s), c = c.sort(function(l, f) {
|
2123
|
+
return l.time - f.time;
|
2122
2124
|
}), this._store.set(this.keys.QUEUE, c), this._running && this._processHead();
|
2123
2125
|
}, u.prototype._processHead = function() {
|
2124
2126
|
var s = this, c = this._store;
|
2125
2127
|
this._schedule.cancel(this._processId);
|
2126
|
-
var l = c.get(this.keys.QUEUE) || [],
|
2128
|
+
var l = c.get(this.keys.QUEUE) || [], f = c.get(this.keys.IN_PROGRESS) || {}, h = this._schedule.now(), d = [];
|
2127
2129
|
function y(v, k) {
|
2128
|
-
|
2130
|
+
d.push({ item: v.item, done: function(g, b) {
|
2129
2131
|
var A = c.get(s.keys.IN_PROGRESS) || {};
|
2130
2132
|
delete A[k], c.set(s.keys.IN_PROGRESS, A), s.emit("processed", g, b, v.item), g && s.requeue(v.item, v.attemptNumber + 1, g, v.id);
|
2131
2133
|
} });
|
2132
2134
|
}
|
2133
|
-
for (var m = Object.keys(
|
2134
|
-
var
|
2135
|
-
|
2135
|
+
for (var m = Object.keys(f).length; l.length && l[0].time <= h && m++ < s.maxItems; ) {
|
2136
|
+
var S = l.shift(), p = e();
|
2137
|
+
f[p] = { item: S.item, attemptNumber: S.attemptNumber, time: s._schedule.now() }, y(S, p);
|
2136
2138
|
}
|
2137
|
-
c.set(this.keys.QUEUE, l), c.set(this.keys.IN_PROGRESS,
|
2139
|
+
c.set(this.keys.QUEUE, l), c.set(this.keys.IN_PROGRESS, f), n(function(v) {
|
2138
2140
|
try {
|
2139
2141
|
s.fn(v.item, v.done);
|
2140
2142
|
} catch (k) {
|
2141
2143
|
o("Process function threw error: " + k);
|
2142
2144
|
}
|
2143
|
-
},
|
2145
|
+
}, d), l = c.get(this.keys.QUEUE) || [], this._schedule.cancel(this._processId), l.length > 0 && (this._processId = this._schedule.run(this._processHead, l[0].time - h, i.Modes.ASAP));
|
2144
2146
|
}, u.prototype._ack = function() {
|
2145
2147
|
this._store.set(this.keys.ACK, this._schedule.now()), this._store.set(this.keys.RECLAIM_START, null), this._store.set(this.keys.RECLAIM_END, null), this._schedule.run(this._ack, this.timeouts.ACK_TIMER, i.Modes.ASAP);
|
2146
2148
|
}, u.prototype._checkReclaim = function() {
|
@@ -2154,32 +2156,32 @@ var La = function() {
|
|
2154
2156
|
}, s.timeouts.RECLAIM_WAIT, i.Modes.ABANDON);
|
2155
2157
|
}(c));
|
2156
2158
|
}, function(c) {
|
2157
|
-
for (var l = [],
|
2158
|
-
var
|
2159
|
-
if (
|
2160
|
-
var y =
|
2159
|
+
for (var l = [], f = s._store.getOriginalEngine(), h = 0; h < f.length; h++) {
|
2160
|
+
var d = f.key(h);
|
2161
|
+
if (d !== null) {
|
2162
|
+
var y = d.split(".");
|
2161
2163
|
y.length === 3 && y[0] === c && y[2] === "ack" && l.push(new t(c, y[1], s.keys));
|
2162
2164
|
}
|
2163
2165
|
}
|
2164
2166
|
return l;
|
2165
2167
|
}(this.name)), this._schedule.run(this._checkReclaim, this.timeouts.RECLAIM_TIMER, i.Modes.RESCHEDULE);
|
2166
2168
|
}, u.prototype._reclaim = function(s) {
|
2167
|
-
var c = this, l = new t(this.name, s, this.keys),
|
2168
|
-
n(function(
|
2169
|
-
var v =
|
2170
|
-
|
2169
|
+
var c = this, l = new t(this.name, s, this.keys), f = { queue: this._store.get(this.keys.QUEUE) || [] }, h = { inProgress: l.get(this.keys.IN_PROGRESS) || {}, queue: l.get(this.keys.QUEUE) || [] }, d = [], y = function(m, S) {
|
2170
|
+
n(function(p) {
|
2171
|
+
var v = p.id || e();
|
2172
|
+
d.indexOf(v) >= 0 ? c.emit("duplication", p.item, p.attemptNumber) : (f.queue.push({ item: p.item, attemptNumber: p.attemptNumber + S, time: c._schedule.now(), id: v }), d.push(v));
|
2171
2173
|
}, m);
|
2172
2174
|
};
|
2173
|
-
y(
|
2174
|
-
return m.time -
|
2175
|
-
}), this._store.set(this.keys.QUEUE,
|
2175
|
+
y(h.queue, 0), y(h.inProgress, 1), f.queue = f.queue.sort(function(m, S) {
|
2176
|
+
return m.time - S.time;
|
2177
|
+
}), this._store.set(this.keys.QUEUE, f.queue);
|
2176
2178
|
try {
|
2177
2179
|
this._clearOtherQueue(l, 1);
|
2178
2180
|
} catch (m) {
|
2179
2181
|
if (m.name === "NS_ERROR_STORAGE_BUSY" || m.code === "NS_ERROR_STORAGE_BUSY" || m.code === 2153971713) try {
|
2180
2182
|
this._clearOtherQueue(l, 40);
|
2181
|
-
} catch (
|
2182
|
-
console.error(
|
2183
|
+
} catch (S) {
|
2184
|
+
console.error(S);
|
2183
2185
|
}
|
2184
2186
|
else console.error(m);
|
2185
2187
|
}
|
@@ -2197,14 +2199,14 @@ var La = function() {
|
|
2197
2199
|
}, c);
|
2198
2200
|
}, c);
|
2199
2201
|
}, c);
|
2200
|
-
},
|
2201
|
-
}(),
|
2202
|
-
return
|
2203
|
-
|
2202
|
+
}, li = u;
|
2203
|
+
}(), Ui = me(Ba), di = { maxRetryDelay: 36e4, minRetryDelay: 1e3, backoffFactor: 2, maxAttempts: 10, maxItems: 100 }, Fa = function() {
|
2204
|
+
return N(function e() {
|
2205
|
+
F(this, e), this.url = "", this.writeKey = "";
|
2204
2206
|
}, [{ key: "init", value: function(e, t, n) {
|
2205
2207
|
var i = this;
|
2206
|
-
this.url = t, this.writeKey = e, n &&
|
2207
|
-
o.message.sentAt =
|
2208
|
+
this.url = t, this.writeKey = e, n && Qe(di, n), this.payloadQueue = new Ui("rudder", di, function(o, a) {
|
2209
|
+
o.message.sentAt = It(), i.processQueueElement(o.url, o.headers, o.message, 3e4, function(u, s) {
|
2208
2210
|
if (u) return a(u);
|
2209
2211
|
a(null, s);
|
2210
2212
|
});
|
@@ -2215,7 +2217,7 @@ var La = function() {
|
|
2215
2217
|
for (var u in a.open("POST", e, !0), t) a.setRequestHeader(u, t[u]);
|
2216
2218
|
a.timeout = i, a.ontimeout = o, a.onerror = o, a.onreadystatechange = function() {
|
2217
2219
|
if (a.readyState === 4) if (a.status === 429 || a.status >= 500 && a.status < 600) {
|
2218
|
-
var c = "".concat(
|
2220
|
+
var c = "".concat(zn, ' "').concat(a.status, '" status text: "').concat(a.statusText, '" for URL: "').concat(e, '"'), l = new Error(c);
|
2219
2221
|
M(l), o(l);
|
2220
2222
|
} else o(null, a.status);
|
2221
2223
|
};
|
@@ -2228,9 +2230,9 @@ var La = function() {
|
|
2228
2230
|
var n = { "Content-Type": "application/json", Authorization: "Basic ".concat(btoa("".concat(this.writeKey, ":"))), AnonymousId: btoa(e.anonymousId) };
|
2229
2231
|
this.payloadQueue.addItem({ url: "".concat(this.url, "/v1/").concat(t), headers: n, message: e });
|
2230
2232
|
} }]);
|
2231
|
-
}(),
|
2232
|
-
return
|
2233
|
-
|
2233
|
+
}(), Na = "queue", Ga = 64e3, Ua = function() {
|
2234
|
+
return N(function e() {
|
2235
|
+
F(this, e), this.storage = gt, this.maxItems = 10, this.flushQueueTimeOut = void 0, this.timeOutActive = !1, this.flushQueueTimeOutInterval = 6e5, this.url = "", this.writekey = "", this.queueName = "".concat(Na, ".").concat(Date.now());
|
2234
2236
|
}, [{ key: "sendQueueDataForBeacon", value: function() {
|
2235
2237
|
this.sendDataFromQueueAndDestroyQueue();
|
2236
2238
|
} }, { key: "init", value: function(e, t, n) {
|
@@ -2247,8 +2249,8 @@ var La = function() {
|
|
2247
2249
|
} }, { key: "enqueue", value: function(e) {
|
2248
2250
|
var t = this.getQueue() || [];
|
2249
2251
|
(t = t.slice(-(this.maxItems - 1))).push(e);
|
2250
|
-
var n = t.slice(0), i = { batch: n, sentAt:
|
2251
|
-
o && o.length >
|
2252
|
+
var n = t.slice(0), i = { batch: n, sentAt: It() }, o = ge(i, !0);
|
2253
|
+
o && o.length > Ga && (n = t.slice(0, t.length - 1), this.flushQueue(n), (t = this.getQueue()).push(e)), this.setQueue(t), this.setTimer(), t.length === this.maxItems && this.flushQueue(n);
|
2252
2254
|
} }, { key: "sendDataFromQueueAndDestroyQueue", value: function() {
|
2253
2255
|
this.sendDataFromQueue(), this.storage.remove(this.queueName);
|
2254
2256
|
} }, { key: "sendDataFromQueue", value: function() {
|
@@ -2259,7 +2261,7 @@ var La = function() {
|
|
2259
2261
|
}
|
2260
2262
|
} }, { key: "flushQueue", value: function(e) {
|
2261
2263
|
if (e && e.length > 0) {
|
2262
|
-
var t =
|
2264
|
+
var t = It();
|
2263
2265
|
e.forEach(function(a) {
|
2264
2266
|
a.sentAt = t;
|
2265
2267
|
});
|
@@ -2279,24 +2281,24 @@ var La = function() {
|
|
2279
2281
|
} }, { key: "clearTimer", value: function() {
|
2280
2282
|
this.timeOutActive && (clearTimeout(this.flushQueueTimeOut), this.timeOutActive = !1);
|
2281
2283
|
} }]);
|
2282
|
-
}(),
|
2283
|
-
return
|
2284
|
-
|
2284
|
+
}(), Ha = function() {
|
2285
|
+
return N(function e() {
|
2286
|
+
F(this, e), this.queue = void 0;
|
2285
2287
|
}, [{ key: "initialize", value: function(e, t, n) {
|
2286
|
-
var i = {}, o =
|
2287
|
-
n
|
2288
|
+
var i = {}, o = At(t);
|
2289
|
+
n && n.useBeacon && navigator.sendBeacon ? (n.beaconQueueOptions && n.beaconQueueOptions != null && L(n.beaconQueueOptions) === "object" && (i = n.beaconQueueOptions), o = "".concat(o, "/beacon/v1/batch"), this.queue = new Ua()) : (n && n.useBeacon && D.info("[EventRepository] sendBeacon feature not available in this browser :: fallback to XHR"), n && n.queueOptions && n.queueOptions != null && L(n.queueOptions) === "object" && (i = n.queueOptions), this.queue = new Fa()), this.queue.init(e, o, i);
|
2288
2290
|
} }, { key: "enqueue", value: function(e, t) {
|
2289
2291
|
var n = e.getElementContent();
|
2290
|
-
n.originalTimestamp = n.originalTimestamp ||
|
2292
|
+
n.originalTimestamp = n.originalTimestamp || It(), n.sentAt = It();
|
2291
2293
|
var i = ge(n, !0);
|
2292
2294
|
i && i.length > 32e3 && D.error("[EventRepository] enqueue:: message length greater 32 Kb ", n), this.queue.enqueue(n, t);
|
2293
2295
|
} }]);
|
2294
|
-
}(),
|
2295
|
-
return
|
2296
|
-
|
2296
|
+
}(), ja = new Ha(), pi = { maxRetryDelay: 36e4, minRetryDelay: 1e3, backoffFactor: 2, maxAttempts: 1 / 0 }, qa = function() {
|
2297
|
+
return N(function e() {
|
2298
|
+
F(this, e), this.callback = void 0, this.processQueueElements = !1;
|
2297
2299
|
}, [{ key: "init", value: function(e, t) {
|
2298
2300
|
var n = this;
|
2299
|
-
e &&
|
2301
|
+
e && Qe(pi, e), t && (this.callback = t), this.payloadQueue = new Ui("rs_events", pi, function(i, o) {
|
2300
2302
|
n.processQueueElement(i.type, i.rudderElement, function(a, u) {
|
2301
2303
|
if (a) return o(a);
|
2302
2304
|
o(null, u);
|
@@ -2306,14 +2308,14 @@ var La = function() {
|
|
2306
2308
|
this.processQueueElements = !0;
|
2307
2309
|
} }, { key: "processQueueElement", value: function(e, t, n) {
|
2308
2310
|
try {
|
2309
|
-
this.processQueueElements ? (Object.setPrototypeOf(t,
|
2311
|
+
this.processQueueElements ? (Object.setPrototypeOf(t, Ni.prototype), this.callback(e, t), n(null)) : n(new Error("The queue elements are not ready to be processed yet"));
|
2310
2312
|
} catch (i) {
|
2311
2313
|
n(i);
|
2312
2314
|
}
|
2313
2315
|
} }, { key: "enqueue", value: function(e, t) {
|
2314
2316
|
this.payloadQueue.addItem({ type: e, rudderElement: t });
|
2315
2317
|
} }]);
|
2316
|
-
}(),
|
2318
|
+
}(), Ka = function(e) {
|
2317
2319
|
for (var t = function() {
|
2318
2320
|
for (var o, a = [], u = 0; u < 256; u++) {
|
2319
2321
|
o = u;
|
@@ -2323,49 +2325,49 @@ var La = function() {
|
|
2323
2325
|
return a;
|
2324
2326
|
}(), n = -1, i = 0; i < e.length; i++) n = n >>> 8 ^ t[255 & (n ^ e.charCodeAt(i))];
|
2325
2327
|
return ~n >>> 0;
|
2326
|
-
},
|
2328
|
+
}, gi = { getUserLanguage: function() {
|
2327
2329
|
return navigator && navigator.language;
|
2328
2330
|
}, getUserAgent: function() {
|
2329
2331
|
return navigator && navigator.userAgent;
|
2330
2332
|
} };
|
2331
|
-
function
|
2333
|
+
function Qa() {
|
2332
2334
|
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "";
|
2333
2335
|
return e = e.endsWith("..") ? e.substr(0, e.length - 2) : e, decodeURIComponent(atob(e).split("").map(function(t) {
|
2334
2336
|
return "%".concat("00".concat(t.charCodeAt(0).toString(16)).slice(-2));
|
2335
2337
|
}).join(""));
|
2336
2338
|
}
|
2337
|
-
var
|
2338
|
-
function
|
2339
|
+
var za = /^[a-zA-Z0-9\-_.]+$/, Va = 1, $a = 1, bt = "*";
|
2340
|
+
function Xa(e, t, n, i) {
|
2339
2341
|
var o = function(s, c) {
|
2340
|
-
return [s, (/* @__PURE__ */ new Date()).getTimezoneOffset(), c].join(
|
2342
|
+
return [s, (/* @__PURE__ */ new Date()).getTimezoneOffset(), c].join(bt);
|
2341
2343
|
}(n, i), a = t || 0, u = Math.floor(Date.now() / 6e4) - a;
|
2342
|
-
return
|
2344
|
+
return Ka([o, u, e].join(bt)).toString(36);
|
2343
2345
|
}
|
2344
|
-
function
|
2346
|
+
function Wa(e) {
|
2345
2347
|
var t = function(o) {
|
2346
|
-
var a = o.split(
|
2347
|
-
return a.length < 4 || !u || Number(a.shift()) !==
|
2348
|
+
var a = o.split(bt), u = a.length % 2 == 0;
|
2349
|
+
return a.length < 4 || !u || Number(a.shift()) !== $a ? null : { checksum: a.shift(), serializedIds: a.join(bt) };
|
2348
2350
|
}(e);
|
2349
2351
|
if (!t) return null;
|
2350
2352
|
var n = t.checksum, i = t.serializedIds;
|
2351
2353
|
return function(o, a) {
|
2352
|
-
for (var u =
|
2354
|
+
for (var u = gi.getUserAgent(), s = gi.getUserLanguage(), c = 0; c <= Va; c += 1) if (Xa(o, c, u, s) === a) return !0;
|
2353
2355
|
return !1;
|
2354
2356
|
}(i, n) ? function(o) {
|
2355
|
-
for (var a = {}, u = o.split(
|
2357
|
+
for (var a = {}, u = o.split(bt), s = 0; s < u.length; s += 2) {
|
2356
2358
|
var c = u[s];
|
2357
|
-
if (
|
2358
|
-
var l =
|
2359
|
+
if (za.test(c)) {
|
2360
|
+
var l = Qa(u[s + 1]);
|
2359
2361
|
a[c] = l;
|
2360
2362
|
}
|
2361
2363
|
}
|
2362
2364
|
return a;
|
2363
2365
|
}(i) : null;
|
2364
2366
|
}
|
2365
|
-
var
|
2366
|
-
return
|
2367
|
+
var Ya = function() {
|
2368
|
+
return N(function e() {
|
2367
2369
|
var t = this;
|
2368
|
-
if (
|
2370
|
+
if (F(this, e), r(this, "isInitialized", !1), window.OneTrust && window.OnetrustActiveGroups) {
|
2369
2371
|
this.userSetConsentGroupIds = window.OnetrustActiveGroups.split(",").filter(function(i) {
|
2370
2372
|
return i;
|
2371
2373
|
});
|
@@ -2397,10 +2399,10 @@ var Xa = function() {
|
|
2397
2399
|
} }, { key: "getDeniedList", value: function() {
|
2398
2400
|
return this.isInitialized ? this.userDeniedConsentGroupIds : [];
|
2399
2401
|
} }]);
|
2400
|
-
}(),
|
2401
|
-
return
|
2402
|
+
}(), Ja = function() {
|
2403
|
+
return N(function e() {
|
2402
2404
|
var t = this;
|
2403
|
-
if (
|
2405
|
+
if (F(this, e), r(this, "updatePurposes", function(i) {
|
2404
2406
|
i && Object.entries(i).forEach(function(o) {
|
2405
2407
|
var a = o[0];
|
2406
2408
|
o[1] ? t.userConsentedPurposes.push(a) : t.userDeniedPurposes.push(a);
|
@@ -2435,7 +2437,7 @@ var Xa = function() {
|
|
2435
2437
|
} }, { key: "getDeniedList", value: function() {
|
2436
2438
|
return this.userDeniedPurposes;
|
2437
2439
|
} }, { key: "getConsent", value: function() {
|
2438
|
-
var e =
|
2440
|
+
var e = pt.get("_ketch_consent_v1_");
|
2439
2441
|
if (e) {
|
2440
2442
|
var t;
|
2441
2443
|
try {
|
@@ -2447,17 +2449,17 @@ var Xa = function() {
|
|
2447
2449
|
var n = {};
|
2448
2450
|
return Object.entries(t).forEach(function(i) {
|
2449
2451
|
var o = i[0], a = i[1];
|
2450
|
-
a
|
2452
|
+
a && a.status && (n[o] = a.status === "granted");
|
2451
2453
|
}), n;
|
2452
2454
|
}
|
2453
2455
|
}
|
2454
2456
|
} }]);
|
2455
|
-
}(),
|
2457
|
+
}(), Za = function(e) {
|
2456
2458
|
var t, n;
|
2457
|
-
return e != null && (t = e.oneTrust) !== null && t !== void 0 && t.enabled ? new
|
2458
|
-
},
|
2459
|
-
return
|
2460
|
-
|
2459
|
+
return e != null && (t = e.oneTrust) !== null && t !== void 0 && t.enabled ? new Ya() : e != null && (n = e.ketch) !== null && n !== void 0 && n.enabled ? new Ja() : null;
|
2460
|
+
}, eu = function() {
|
2461
|
+
return N(function e() {
|
2462
|
+
F(this, e), this.storage = an, this.timeout = 18e5, this.sessionInfo = this.storage.getSessionInfo() || { autoTrack: !0 };
|
2461
2463
|
}, [{ key: "initialize", value: function(e) {
|
2462
2464
|
try {
|
2463
2465
|
var t;
|
@@ -2503,10 +2505,10 @@ var Xa = function() {
|
|
2503
2505
|
var e = this.sessionInfo, t = e.manualTrack;
|
2504
2506
|
e.autoTrack ? (this.sessionInfo = {}, this.startAutoTracking()) : t && this.start();
|
2505
2507
|
} }]);
|
2506
|
-
}(),
|
2508
|
+
}(), tu = new eu(), mi = ["integrations", "anonymousId", "originalTimestamp"], nu = function(e, t, n) {
|
2507
2509
|
var i = "";
|
2508
2510
|
if (n) {
|
2509
|
-
if (!(i =
|
2511
|
+
if (!(i = At(n))) {
|
2510
2512
|
var o = "CDN base URL for integrations is not valid";
|
2511
2513
|
throw M({ message: "[Analytics] load:: ".concat(o) }), Error("Failed to load Rudder SDK: ".concat(o));
|
2512
2514
|
}
|
@@ -2514,62 +2516,62 @@ var Xa = function() {
|
|
2514
2516
|
}
|
2515
2517
|
var a = function() {
|
2516
2518
|
for (var s, c = document.getElementsByTagName("script"), l = 0; l < c.length; l += 1) {
|
2517
|
-
var
|
2518
|
-
if (
|
2519
|
-
s =
|
2519
|
+
var f = At(c[l].getAttribute("src"));
|
2520
|
+
if (f && f.match(/^.*rudder-analytics?(\.min)?\.js$/)) {
|
2521
|
+
s = f;
|
2520
2522
|
break;
|
2521
2523
|
}
|
2522
2524
|
}
|
2523
2525
|
return { sdkURL: s };
|
2524
2526
|
}(), u = a.sdkURL;
|
2525
|
-
return i = u ? u.split("/").slice(0, -1).concat(
|
2526
|
-
},
|
2527
|
-
return "".concat(
|
2528
|
-
})), xe(Object.keys(
|
2529
|
-
return "".concat(
|
2530
|
-
}))),
|
2531
|
-
var t
|
2532
|
-
if (!
|
2533
|
-
var
|
2527
|
+
return i = u ? u.split("/").slice(0, -1).concat(Di).join("/") : xi, t && (i = i.replace(Pi, e)), i;
|
2528
|
+
}, un = "rs-bugsnag", sn = "bugsnag", ru = ["Bugsnag", sn], Un = "0d96a60df267f4a13f808bbaa54e535c", iu = ["rudder-analytics.min.js", "rudder-analytics.js"].concat(xe(Object.keys(qe).map(function(e) {
|
2529
|
+
return "".concat(qe[e], ".min.js");
|
2530
|
+
})), xe(Object.keys(qe).map(function(e) {
|
2531
|
+
return "".concat(qe[e], ".js");
|
2532
|
+
}))), yi = function(e) {
|
2533
|
+
var t = e && e._client && e._client._notifier && e._client._notifier.version;
|
2534
|
+
if (!t) {
|
2535
|
+
var n = e({ apiKey: Un, releaseStage: "version-test", beforeSend: function() {
|
2534
2536
|
return !1;
|
2535
2537
|
} });
|
2536
|
-
|
2538
|
+
t = n.notifier && n.notifier.version, n = void 0;
|
2537
2539
|
}
|
2538
|
-
return
|
2539
|
-
},
|
2540
|
-
|
2540
|
+
return t && t.charAt(0) === "6";
|
2541
|
+
}, ou = function(e) {
|
2542
|
+
ru.every(function(t) {
|
2541
2543
|
return !function(n, i) {
|
2542
2544
|
if (n == null) throw new TypeError("Cannot convert undefined or null to object");
|
2543
2545
|
return Object.prototype.hasOwnProperty.call(Object(n), i);
|
2544
2546
|
}(window, t);
|
2545
|
-
}) &&
|
2546
|
-
},
|
2547
|
-
return
|
2548
|
-
|
2547
|
+
}) && nn(e, "https://d2wy8f7a9ursnm.cloudfront.net/v6/bugsnag.min.js", { isNonNativeSDK: "true", skipDatasetAttributes: !0 });
|
2548
|
+
}, su = function() {
|
2549
|
+
return N(function e(t, n, i) {
|
2550
|
+
F(this, e), this.pluginName = un, this.sourceId = t, this.writeKey = n, this.onClientReady = i, this.initClientOnLibReadyInterval = void 0, this.init();
|
2549
2551
|
}, [{ key: "init", value: function() {
|
2550
|
-
var e
|
2551
|
-
if ((
|
2552
|
-
|
2553
|
-
var
|
2554
|
-
typeof
|
2555
|
-
var
|
2556
|
-
typeof
|
2552
|
+
var e = this;
|
2553
|
+
if ((!window.RudderStackGlobals || !window.RudderStackGlobals[Vn]) && !Un.match(/{{.+}}/)) {
|
2554
|
+
ou(this.pluginName);
|
2555
|
+
var t = window[sn];
|
2556
|
+
typeof t != "function" ? (this.initClientOnLibReadyInterval = setInterval(function() {
|
2557
|
+
var n = window[sn];
|
2558
|
+
typeof n == "function" && (yi(n) && e.initClient(), clearInterval(e.initClientOnLibReadyInterval));
|
2557
2559
|
}, 100), setTimeout(function() {
|
2558
|
-
clearInterval(
|
2559
|
-
},
|
2560
|
+
clearInterval(e.initClientOnLibReadyInterval);
|
2561
|
+
}, tn)) : yi(t) && this.initClient();
|
2560
2562
|
}
|
2561
2563
|
} }, { key: "initClient", value: function() {
|
2562
|
-
var e, t = window[
|
2563
|
-
this.client = t({ apiKey:
|
2564
|
+
var e, t = window[sn];
|
2565
|
+
this.client = t({ apiKey: Un, appVersion: "2.48.42", metaData: { SDK: { name: "JS", installType: "npm" } }, beforeSend: this.onError(), autoTrackSessions: !1, collectUserIp: !1, enabledBreadcrumbTypes: ["error", "log", "user"], maxEvents: 100, releaseStage: (e = window.location.hostname, e && ["www.test-host.com", "localhost", "127.0.0.1", "[::1]"].includes(e) ? "development" : "production"), networkBreadcrumbsEnabled: !1, user: { id: this.writeKey } }), this.onClientReady();
|
2564
2566
|
} }, { key: "onError", value: function() {
|
2565
2567
|
var e = this.sourceId;
|
2566
2568
|
return function(t) {
|
2567
2569
|
try {
|
2568
2570
|
return !!function(n) {
|
2569
|
-
var i =
|
2571
|
+
var i = kt(n, "stacktrace.0.file");
|
2570
2572
|
if (!i || typeof i != "string") return !1;
|
2571
2573
|
var o = i.substring(i.lastIndexOf("/") + 1);
|
2572
|
-
return
|
2574
|
+
return iu.includes(o);
|
2573
2575
|
}(t) && (function(n, i) {
|
2574
2576
|
n.updateMetaData("source", { metadataSource: i });
|
2575
2577
|
var o = n.errorMessage;
|
@@ -2584,27 +2586,27 @@ var Xa = function() {
|
|
2584
2586
|
} }, { key: "leaveBreadcrumb", value: function(e) {
|
2585
2587
|
this.client && this.client.leaveBreadcrumb(e);
|
2586
2588
|
} }]);
|
2587
|
-
}(), vi =
|
2588
|
-
return
|
2589
|
-
|
2589
|
+
}(), vi = un, bi = [un], au = function() {
|
2590
|
+
return N(function e(t) {
|
2591
|
+
F(this, e), this.isEnabled = !1, this.providerName = vi, this.provider = void 0, this.logger = t, this.onClientReady = this.onClientReady.bind(this), this.exposeToGlobal = this.exposeToGlobal.bind(this);
|
2590
2592
|
}, [{ key: "init", value: function(e, t, n) {
|
2591
2593
|
e && t ? function(i) {
|
2592
|
-
return
|
2594
|
+
return kt(i, "statsCollection.errors.enabled") || !1;
|
2593
2595
|
}(e) === !0 ? (this.enable(), this.setProviderName(function(i) {
|
2594
|
-
return
|
2596
|
+
return kt(i, "statsCollection.errors.provider");
|
2595
2597
|
}(e)), this.initProvider(e, t, n)) : this.disable() : this.logger.error("[Analytics] ErrorReporting :: Invalid configuration or missing source id provided.");
|
2596
2598
|
} }, { key: "enable", value: function() {
|
2597
2599
|
this.isEnabled = !0;
|
2598
2600
|
} }, { key: "disable", value: function() {
|
2599
2601
|
this.isEnabled = !1;
|
2600
2602
|
} }, { key: "setProviderName", value: function(e) {
|
2601
|
-
e ? !e ||
|
2603
|
+
e ? !e || bi.includes(e) ? this.providerName = e : this.logger.error("[Analytics] ErrorReporting :: Invalid error reporting provider value. Value should be one of: ".concat(bi.join(","))) : this.providerName = vi;
|
2602
2604
|
} }, { key: "initProvider", value: function(e, t, n) {
|
2603
|
-
this.providerName ===
|
2605
|
+
this.providerName === un && (this.provider = new su(t, n, this.onClientReady));
|
2604
2606
|
} }, { key: "onClientReady", value: function() {
|
2605
2607
|
this.exposeToGlobal();
|
2606
2608
|
} }, { key: "exposeToGlobal", value: function() {
|
2607
|
-
window.RudderStackGlobals || (window.RudderStackGlobals = {}), window.RudderStackGlobals[
|
2609
|
+
window.RudderStackGlobals || (window.RudderStackGlobals = {}), window.RudderStackGlobals[Vn] = this;
|
2608
2610
|
} }, { key: "leaveBreadcrumb", value: function(e) {
|
2609
2611
|
if (this.provider) try {
|
2610
2612
|
this.provider.leaveBreadcrumb(e);
|
@@ -2618,11 +2620,11 @@ var Xa = function() {
|
|
2618
2620
|
this.logger.error("[Analytics] ErrorReporting :: notify method ".concat(t.toString()));
|
2619
2621
|
}
|
2620
2622
|
} }]);
|
2621
|
-
}(),
|
2622
|
-
return
|
2623
|
-
|
2623
|
+
}(), uu = new (function() {
|
2624
|
+
return N(function e() {
|
2625
|
+
F(this, e), this.retryAttempt = 3, this.queue = [], this.isTransformationProcessing = !1, this.authToken = null;
|
2624
2626
|
}, [{ key: "init", value: function(e, t, n) {
|
2625
|
-
this.dataPlaneUrl =
|
2627
|
+
this.dataPlaneUrl = At(t), this.writeKey = e, this.authToken = n || this.authToken, this.start();
|
2626
2628
|
} }, { key: "enqueue", value: function(e, t, n) {
|
2627
2629
|
this.queue.push({ event: e, destinationIds: t, cb: n });
|
2628
2630
|
} }, { key: "sendEventForTransformation", value: function(e, t) {
|
@@ -2635,21 +2637,21 @@ var Xa = function() {
|
|
2635
2637
|
return s.setRequestHeader(l, u[l]);
|
2636
2638
|
}), s.timeout = 1e4, s.onreadystatechange = function() {
|
2637
2639
|
if (s.readyState === 4) try {
|
2638
|
-
var l = s.status,
|
2640
|
+
var l = s.status, f = s.response;
|
2639
2641
|
switch (l) {
|
2640
2642
|
case 200:
|
2641
|
-
return
|
2643
|
+
return f = JSON.parse(f), void i({ status: l, transformedPayload: f.transformedBatch });
|
2642
2644
|
case 400:
|
2643
|
-
var
|
2644
|
-
return void i({ status: l, errorMessage:
|
2645
|
+
var h = f ? "".concat(f) : "Invalid request payload";
|
2646
|
+
return void i({ status: l, errorMessage: h });
|
2645
2647
|
case 404:
|
2646
2648
|
return void i({ status: l });
|
2647
2649
|
default:
|
2648
2650
|
if (t > 0) {
|
2649
|
-
var
|
2651
|
+
var d = t - 1;
|
2650
2652
|
setTimeout(function() {
|
2651
|
-
return n.sendEventForTransformation(e,
|
2652
|
-
}, 500 * Math.pow(2, n.retryAttempt -
|
2653
|
+
return n.sendEventForTransformation(e, d).then(i).catch(o);
|
2654
|
+
}, 500 * Math.pow(2, n.retryAttempt - d));
|
2653
2655
|
} else i({ status: l, errorMessage: "Retries exhausted" });
|
2654
2656
|
}
|
2655
2657
|
} catch (y) {
|
@@ -2681,9 +2683,9 @@ var Xa = function() {
|
|
2681
2683
|
} }, { key: "setAuthToken", value: function(e) {
|
2682
2684
|
this.authToken = e;
|
2683
2685
|
} }]);
|
2684
|
-
}())(),
|
2685
|
-
return
|
2686
|
-
|
2686
|
+
}())(), cu = function() {
|
2687
|
+
return N(function e() {
|
2688
|
+
F(this, e), this.initialized = !1, this.clientIntegrations = [], this.loadOnlyIntegrations = {}, this.clientIntegrationObjects = void 0, this.successfullyLoadedIntegration = [], this.failedToBeLoadedIntegration = [], this.toBeProcessedArray = [], this.toBeProcessedByIntegrationArray = [], this.storage = an, this.eventRepository = ja, this.preProcessQueue = new qa(), this.sendAdblockPage = !1, this.sendAdblockPageOptions = {}, this.clientSuppliedCallbacks = {}, this.readyCallbacks = [], this.methodToCallbackMapping = { syncPixel: "syncPixelCallback" }, this.loaded = !1, this.loadIntegration = !0, this.bufferDataPlaneEventsUntilReady = !1, this.dataPlaneEventsBufferTimeout = 1e4, this.integrationsData = {}, this.dynamicallyLoadedIntegrations = {}, this.destSDKBaseURL = xi, this.cookieConsentOptions = {}, this.logLevel = void 0, this.clientIntegrationsReady = !1, this.uSession = tu, this.version = "2.48.42", this.lockIntegrationsVersion = !1, this.errorReporting = new au(D), this.deniedConsentIds = [], this.transformationHandler = uu;
|
2687
2689
|
}, [{ key: "initializeUser", value: function(e) {
|
2688
2690
|
this.userId = this.storage.getUserId() || "", this.storage.setUserId(this.userId), this.userTraits = {};
|
2689
2691
|
var t = this.storage.getUserTraits();
|
@@ -2692,16 +2694,16 @@ var Xa = function() {
|
|
2692
2694
|
n === null || L(n) !== "object" || Array.isArray(n) || (this.groupTraits = n), this.storage.setGroupTraits(this.groupTraits), this.anonymousId = this.getAnonymousId(e), this.storage.setAnonymousId(this.anonymousId);
|
2693
2695
|
} }, { key: "setInitialPageProperties", value: function() {
|
2694
2696
|
if (this.storage.getInitialReferrer() == null && this.storage.getInitialReferringDomain() == null) {
|
2695
|
-
var e =
|
2696
|
-
this.storage.setInitialReferrer(e), this.storage.setInitialReferringDomain(
|
2697
|
+
var e = Bi();
|
2698
|
+
this.storage.setInitialReferrer(e), this.storage.setInitialReferringDomain(Fi(e));
|
2697
2699
|
}
|
2698
2700
|
} }, { key: "allModulesInitialized", value: function() {
|
2699
2701
|
var e = this, t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0;
|
2700
2702
|
return new Promise(function(n) {
|
2701
2703
|
e.clientIntegrations.every(function(i) {
|
2702
|
-
return e.dynamicallyLoadedIntegrations["".concat(
|
2703
|
-
}) || t >= 2e4 ? n(e) : e.pause(
|
2704
|
-
return e.allModulesInitialized(t +
|
2704
|
+
return e.dynamicallyLoadedIntegrations["".concat(qe[i.name]).concat("_RS")] != null;
|
2705
|
+
}) || t >= 2e4 ? n(e) : e.pause(Wt).then(function() {
|
2706
|
+
return e.allModulesInitialized(t + Wt).then(n);
|
2705
2707
|
});
|
2706
2708
|
});
|
2707
2709
|
} }, { key: "executeReadyCallback", value: function() {
|
@@ -2709,72 +2711,71 @@ var Xa = function() {
|
|
2709
2711
|
return e();
|
2710
2712
|
});
|
2711
2713
|
} }, { key: "integrationSDKLoaded", value: function(e, t) {
|
2712
|
-
|
2713
|
-
return ((n = window[e]) === null || n === void 0 || (n = n[t]) === null || n === void 0 ? void 0 : n.prototype) && window[e][t].prototype.constructor !== void 0;
|
2714
|
+
return window[e] && window[e][t] && window[e][t].prototype && window[e][t].prototype.constructor !== void 0;
|
2714
2715
|
} }, { key: "processResponse", value: function(e, t) {
|
2715
|
-
var n
|
2716
|
+
var n = this;
|
2716
2717
|
try {
|
2717
|
-
var
|
2718
|
+
var i = t;
|
2718
2719
|
try {
|
2719
|
-
if (typeof t == "string" && (
|
2720
|
-
} catch (
|
2721
|
-
return void M(
|
2720
|
+
if (typeof t == "string" && (i = JSON.parse(t)), !i || L(i) !== "object" || Array.isArray(i)) return void D.error("Invalid source configuration");
|
2721
|
+
} catch (u) {
|
2722
|
+
return void M(u);
|
2722
2723
|
}
|
2723
2724
|
try {
|
2724
|
-
|
2725
|
-
} catch (
|
2726
|
-
M(
|
2725
|
+
window.chrome && window.chrome.runtime && window.chrome.runtime.id || this.errorReporting.init(i.source.config, i.source.id, this.writeKey);
|
2726
|
+
} catch (u) {
|
2727
|
+
M(u);
|
2727
2728
|
}
|
2728
|
-
if (this.serverUrl =
|
2729
|
-
|
2730
|
-
}, this), this.clientIntegrations =
|
2731
|
-
var
|
2732
|
-
this.deniedConsentIds =
|
2733
|
-
return !
|
2729
|
+
if (this.serverUrl = Sa(i, this.serverUrl, this.options), this.eventRepository.initialize(this.writeKey, this.serverUrl, this.options), this.transformationHandler.init(this.writeKey, this.serverUrl, this.storage.getAuthToken()), i.source.destinations.forEach(function(u) {
|
2730
|
+
u.enabled && this.clientIntegrations.push({ name: u.destinationDefinition.name, config: u.config, destinationInfo: { shouldApplyDeviceModeTransformation: u.shouldApplyDeviceModeTransformation || !1, propagateEventsUntransformedOnError: u.propagateEventsUntransformedOnError || !1, destinationId: u.id } });
|
2731
|
+
}, this), this.clientIntegrations = xn(this.loadOnlyIntegrations, this.clientIntegrations), Object.keys(this.cookieConsentOptions).length > 0) try {
|
2732
|
+
var o = Za(this.cookieConsentOptions);
|
2733
|
+
this.deniedConsentIds = o && o.getDeniedList(), this.clientIntegrations = this.clientIntegrations.filter(function(u) {
|
2734
|
+
return !o || o && o.isEnabled(u.config);
|
2734
2735
|
});
|
2735
|
-
} catch (
|
2736
|
-
M(
|
2736
|
+
} catch (u) {
|
2737
|
+
M(u);
|
2737
2738
|
}
|
2738
|
-
this.loaded = !0, this.options && typeof this.options.onLoaded == "function" && this.options.onLoaded(this), function(
|
2739
|
-
if (
|
2740
|
-
var
|
2741
|
-
|
2742
|
-
var
|
2743
|
-
|
2739
|
+
this.loaded = !0, this.options && typeof this.options.onLoaded == "function" && this.options.onLoaded(this), function(u) {
|
2740
|
+
if (u.toBeProcessedArray.length > 0) for (; u.toBeProcessedArray.length > 0; ) {
|
2741
|
+
var s = xe(u.toBeProcessedArray[0]);
|
2742
|
+
u.toBeProcessedArray.shift();
|
2743
|
+
var c = s[0];
|
2744
|
+
s.shift(), u[c].apply(u, xe(s));
|
2744
2745
|
}
|
2745
|
-
}(this), this.clientIntegrations = this.clientIntegrations.filter(function(
|
2746
|
-
return !!
|
2746
|
+
}(this), this.clientIntegrations = this.clientIntegrations.filter(function(u) {
|
2747
|
+
return !!qe[u.name] || (D.error("[Analytics] Integration:: ".concat(u.name, " not available for initialization")), !1);
|
2747
2748
|
}), this.bufferDataPlaneEventsUntilReady && setTimeout(function() {
|
2748
|
-
|
2749
|
-
}, this.dataPlaneEventsBufferTimeout), this.errorReporting.leaveBreadcrumb("Starting device-mode initialization"), this.clientIntegrations.forEach(function(
|
2750
|
-
var
|
2751
|
-
window.hasOwnProperty(
|
2752
|
-
var f =
|
2753
|
-
if (f.integrationSDKLoaded(
|
2754
|
-
var
|
2755
|
-
clearInterval(
|
2749
|
+
n.processBufferedCloudModeEvents();
|
2750
|
+
}, this.dataPlaneEventsBufferTimeout), this.errorReporting.leaveBreadcrumb("Starting device-mode initialization"), this.clientIntegrations.forEach(function(u) {
|
2751
|
+
var s = qe[u.name], c = "".concat(s).concat("_RS"), l = "".concat(n.destSDKBaseURL, "/").concat(s, ".min.js");
|
2752
|
+
window.hasOwnProperty(c) || nn(c, l, { isNonNativeSDK: !0 });
|
2753
|
+
var f = n, h = setInterval(function() {
|
2754
|
+
if (f.integrationSDKLoaded(c, s)) {
|
2755
|
+
var d, y = window[c];
|
2756
|
+
clearInterval(h);
|
2756
2757
|
try {
|
2757
|
-
var
|
2758
|
-
|
2759
|
-
f.dynamicallyLoadedIntegrations[
|
2758
|
+
var m = "[Analytics] processResponse :: trying to initialize integration name:: ".concat(c);
|
2759
|
+
n.errorReporting.leaveBreadcrumb(m), (d = new y[s](u.config, f, u.destinationInfo)).init(), f.isInitialized(d).then(function() {
|
2760
|
+
f.dynamicallyLoadedIntegrations[c] = y[s];
|
2760
2761
|
});
|
2761
|
-
} catch (
|
2762
|
-
var
|
2763
|
-
M(
|
2762
|
+
} catch (p) {
|
2763
|
+
var S = "[Analytics] 'integration.init()' failed :: ".concat(c, " :: ").concat(p.message);
|
2764
|
+
M(p, S), f.failedToBeLoadedIntegration.push(d);
|
2764
2765
|
}
|
2765
2766
|
}
|
2766
2767
|
}, 100);
|
2767
2768
|
setTimeout(function() {
|
2768
|
-
clearInterval(
|
2769
|
-
},
|
2769
|
+
clearInterval(h);
|
2770
|
+
}, tn);
|
2770
2771
|
});
|
2771
|
-
var
|
2772
|
+
var a = this;
|
2772
2773
|
this.allModulesInitialized().then(function() {
|
2773
|
-
if (!
|
2774
|
-
|
2774
|
+
if (!a.clientIntegrations || a.clientIntegrations.length === 0) return n.clientIntegrationsReady = !0, n.executeReadyCallback(), void (n.toBeProcessedByIntegrationArray = []);
|
2775
|
+
a.replayEvents(a);
|
2775
2776
|
});
|
2776
|
-
} catch (
|
2777
|
-
M(
|
2777
|
+
} catch (u) {
|
2778
|
+
M(u);
|
2778
2779
|
}
|
2779
2780
|
} }, { key: "sendDataToDestination", value: function(e, t, n) {
|
2780
2781
|
try {
|
@@ -2789,7 +2790,7 @@ var Xa = function() {
|
|
2789
2790
|
} }, { key: "sendTransformedDataToDestination", value: function(e, t, n) {
|
2790
2791
|
var i = this;
|
2791
2792
|
try {
|
2792
|
-
|
2793
|
+
$r(t.message.integrations);
|
2793
2794
|
var o = e.map(function(a) {
|
2794
2795
|
return a.destinationId;
|
2795
2796
|
});
|
@@ -2799,19 +2800,19 @@ var Xa = function() {
|
|
2799
2800
|
try {
|
2800
2801
|
switch (u) {
|
2801
2802
|
case 200:
|
2802
|
-
var
|
2803
|
-
return
|
2804
|
-
}),
|
2805
|
-
|
2806
|
-
if (
|
2803
|
+
var f = s.find(function(d) {
|
2804
|
+
return d.id === l.destinationId;
|
2805
|
+
}), h = [];
|
2806
|
+
f == null || f.payload.forEach(function(d) {
|
2807
|
+
if (d.status === "200") h.push(d);
|
2807
2808
|
else {
|
2808
2809
|
var y = '[DMT]:: Event transformation unsuccessful for destination "'.concat(l.name, '". Reason: '), m = "Unknown";
|
2809
|
-
|
2810
|
-
var
|
2811
|
-
l.propagateEventsUntransformedOnError === !0 && (
|
2810
|
+
d.status === "410" && (m = "Transformation is not available");
|
2811
|
+
var S = "Dropping the event", p = D.error;
|
2812
|
+
l.propagateEventsUntransformedOnError === !0 && (S = "Sending untransformed event to the destination", p = D.warn, h.push({ event: t.message })), p("".concat(y, " ").concat(m, ". ").concat(S, "."));
|
2812
2813
|
}
|
2813
|
-
}),
|
2814
|
-
|
2814
|
+
}), h == null || h.forEach(function(d) {
|
2815
|
+
ba(d.event) && i.sendDataToDestination(l, { message: d.event }, n);
|
2815
2816
|
});
|
2816
2817
|
break;
|
2817
2818
|
case 404:
|
@@ -2820,8 +2821,8 @@ var Xa = function() {
|
|
2820
2821
|
default:
|
2821
2822
|
l.propagateEventsUntransformedOnError === !0 ? (D.warn("[DMT]::[Destination: ".concat(l.name, "] :: Transformation request failed with status: ").concat(u, " ").concat(c, ". Sending untransformed event.")), i.sendDataToDestination(l, t, n)) : D.error("[DMT]::[Destination: ".concat(l.name, "] :: Transformation request failed with status: ").concat(u, " ").concat(c, ". Dropping the event."));
|
2822
2823
|
}
|
2823
|
-
} catch (
|
2824
|
-
|
2824
|
+
} catch (d) {
|
2825
|
+
d instanceof Error && (d.message = "[DMT]::[Destination:".concat(l.name, "]:: ").concat(d.message)), M(d);
|
2825
2826
|
}
|
2826
2827
|
});
|
2827
2828
|
});
|
@@ -2847,7 +2848,7 @@ var Xa = function() {
|
|
2847
2848
|
}).reduce(function(s, c) {
|
2848
2849
|
return s[c] = o[c], s;
|
2849
2850
|
}, {});
|
2850
|
-
return
|
2851
|
+
return mt(a, u);
|
2851
2852
|
}(this.integrationsData, n), this.eventRepository.enqueue(t, e);
|
2852
2853
|
} }, { key: "processBufferedCloudModeEvents", value: function() {
|
2853
2854
|
this.bufferDataPlaneEventsUntilReady && this.preProcessQueue.activateProcessor();
|
@@ -2859,7 +2860,7 @@ var Xa = function() {
|
|
2859
2860
|
return !a.isReady || a.isReady();
|
2860
2861
|
}) && (this.integrationsData = (t = this.integrationsData, n = e.clientIntegrationObjects, i = U(t), n.forEach(function(a) {
|
2861
2862
|
if (a.getDataForIntegrationsObject) try {
|
2862
|
-
i =
|
2863
|
+
i = mt(i, a.getDataForIntegrationsObject());
|
2863
2864
|
} catch (u) {
|
2864
2865
|
D.debug("[Analytics: prepareDataForIntegrationsObj]", u);
|
2865
2866
|
}
|
@@ -2869,8 +2870,8 @@ var Xa = function() {
|
|
2869
2870
|
}
|
2870
2871
|
this.processBufferedCloudModeEvents(), e.toBeProcessedByIntegrationArray.forEach(function(a) {
|
2871
2872
|
var u = a[0];
|
2872
|
-
a.shift(), Object.keys(a[0].message.integrations).length > 0 &&
|
2873
|
-
var s =
|
2873
|
+
a.shift(), Object.keys(a[0].message.integrations).length > 0 && Dn(a[0].message.integrations);
|
2874
|
+
var s = xn(a[0].message.integrations, e.clientIntegrationObjects);
|
2874
2875
|
o.processAndSendEventsToDeviceMode(s, a[0], u);
|
2875
2876
|
}), e.toBeProcessedByIntegrationArray = [];
|
2876
2877
|
} }, { key: "pause", value: function(e) {
|
@@ -2880,48 +2881,48 @@ var Xa = function() {
|
|
2880
2881
|
} }, { key: "isInitialized", value: function(e) {
|
2881
2882
|
var t = this, n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0;
|
2882
2883
|
return new Promise(function(i) {
|
2883
|
-
e.isLoaded() ? (t.successfullyLoadedIntegration.push(e), i(t)) : n >=
|
2884
|
-
return t.isInitialized(e, n +
|
2884
|
+
e.isLoaded() ? (t.successfullyLoadedIntegration.push(e), i(t)) : n >= tn ? (t.failedToBeLoadedIntegration.push(e), i(t)) : t.pause(Wt).then(function() {
|
2885
|
+
return t.isInitialized(e, n + Wt).then(i);
|
2885
2886
|
});
|
2886
2887
|
});
|
2887
2888
|
} }, { key: "page", value: function(e, t, n, i, o) {
|
2888
2889
|
if (this.errorReporting.leaveBreadcrumb("Page event"), this.loaded) {
|
2889
2890
|
typeof i == "function" && (o = i, i = null), typeof n == "function" && (o = n, i = n = null), typeof t == "function" && (o = t, i = n = t = null), typeof e == "function" && (o = e, i = n = t = e = null), L(e) === "object" && e != null && e != null && (i = t, n = e, t = e = null), L(t) === "object" && t != null && t != null && (i = n, n = t, t = null), typeof e == "string" && typeof t != "string" && (t = e, e = null), this.sendAdblockPage && e !== "RudderJS-Initiated" && this.sendSampleRequest();
|
2890
|
-
var a = U(n), u = U(i), s = new
|
2891
|
+
var a = U(n), u = U(i), s = new dt().setType("page").build();
|
2891
2892
|
a || (a = {}), t && (s.message.name = a.name = t), e && (s.message.category = a.category = e), s.message.properties = this.getPageProperties(a), this.processAndSendDataToDestinations("page", s, u, o);
|
2892
2893
|
} else this.toBeProcessedArray.push(["page"].concat(Array.prototype.slice.call(arguments)));
|
2893
2894
|
} }, { key: "track", value: function(e, t, n, i) {
|
2894
2895
|
if (this.errorReporting.leaveBreadcrumb("Track event"), this.loaded) {
|
2895
2896
|
typeof n == "function" && (i = n, n = null), typeof t == "function" && (i = t, n = null, t = null);
|
2896
|
-
var o = U(t), a = U(n), u = new
|
2897
|
+
var o = U(t), a = U(n), u = new dt().setType("track").build();
|
2897
2898
|
e && u.setEventName(e), u.setProperty(o || {}), this.processAndSendDataToDestinations("track", u, a, i);
|
2898
2899
|
} else this.toBeProcessedArray.push(["track"].concat(Array.prototype.slice.call(arguments)));
|
2899
2900
|
} }, { key: "identify", value: function(e, t, n, i) {
|
2900
2901
|
if (this.errorReporting.leaveBreadcrumb("Identify event"), this.loaded) {
|
2901
2902
|
typeof n == "function" && (i = n, n = null), typeof t == "function" && (i = t, n = null, t = null), L(e) === "object" && (n = t, t = e, e = this.userId);
|
2902
|
-
var o =
|
2903
|
+
var o = Zt(e);
|
2903
2904
|
o && this.userId && o !== this.userId && this.reset(), this.userId = o, this.storage.setUserId(this.userId);
|
2904
2905
|
var a = U(t), u = U(n);
|
2905
2906
|
if (a) {
|
2906
2907
|
for (var s in a) this.userTraits[s] = a[s];
|
2907
2908
|
this.storage.setUserTraits(this.userTraits);
|
2908
2909
|
}
|
2909
|
-
var c = new
|
2910
|
+
var c = new dt().setType("identify").build();
|
2910
2911
|
this.processAndSendDataToDestinations("identify", c, u, i);
|
2911
2912
|
} else this.toBeProcessedArray.push(["identify"].concat(Array.prototype.slice.call(arguments)));
|
2912
2913
|
} }, { key: "alias", value: function(e, t, n, i) {
|
2913
2914
|
if (this.errorReporting.leaveBreadcrumb("Alias event"), this.loaded) {
|
2914
2915
|
typeof n == "function" && (i = n, n = null), typeof t == "function" && (i = t, n = null, t = null), typeof e == "function" && (i = e, n = null, t = null, e = null), L(t) === "object" && (n = t, t = null), L(e) === "object" && (n = e, t = null, e = null);
|
2915
|
-
var o = new
|
2916
|
-
o.message.previousId =
|
2916
|
+
var o = new dt().setType("alias").build();
|
2917
|
+
o.message.previousId = Zt(t) || (this.userId ? this.userId : this.getAnonymousId()), o.message.userId = Zt(e);
|
2917
2918
|
var a = U(n);
|
2918
2919
|
this.processAndSendDataToDestinations("alias", o, a, i);
|
2919
2920
|
} else this.toBeProcessedArray.push(["alias"].concat(Array.prototype.slice.call(arguments)));
|
2920
2921
|
} }, { key: "group", value: function(e, t, n, i) {
|
2921
2922
|
if (this.errorReporting.leaveBreadcrumb("Group event"), this.loaded) {
|
2922
2923
|
if (arguments.length !== 0) {
|
2923
|
-
typeof n == "function" && (i = n, n = null), typeof t == "function" && (i = t, n = null, t = null), L(e) === "object" && (n = t, t = e, e = this.groupId), typeof e == "function" && (i = e, n = null, t = null, e = this.groupId), this.groupId =
|
2924
|
-
var o = U(t), a = U(n), u = new
|
2924
|
+
typeof n == "function" && (i = n, n = null), typeof t == "function" && (i = t, n = null, t = null), L(e) === "object" && (n = t, t = e, e = this.groupId), typeof e == "function" && (i = e, n = null, t = null, e = this.groupId), this.groupId = Zt(e), this.storage.setGroupId(this.groupId);
|
2925
|
+
var o = U(t), a = U(n), u = new dt().setType("group").build();
|
2925
2926
|
if (o) for (var s in o) this.groupTraits[s] = o[s];
|
2926
2927
|
else this.groupTraits = {};
|
2927
2928
|
this.storage.setGroupTraits(this.groupTraits), this.processAndSendDataToDestinations("group", u, a, i);
|
@@ -2955,44 +2956,44 @@ var Xa = function() {
|
|
2955
2956
|
try {
|
2956
2957
|
var o = this.uSession.getSessionInfo(), a = o.sessionId, u = o.sessionStart;
|
2957
2958
|
t.message.context.sessionId = a, u && (t.message.context.sessionStart = !0);
|
2958
|
-
} catch (
|
2959
|
-
M(
|
2959
|
+
} catch (d) {
|
2960
|
+
M(d);
|
2960
2961
|
}
|
2961
|
-
|
2962
|
-
|
2963
|
-
}),
|
2964
|
-
var m =
|
2962
|
+
f = this.cookieConsentOptions, h = !1, Object.keys(f).forEach(function(d) {
|
2963
|
+
Ca.includes(d) && typeof f[d].enabled == "boolean" && f[d].enabled === !0 && (h = !0);
|
2964
|
+
}), h && (t.message.context.consentManagement = { deniedConsentIds: this.deniedConsentIds || [] }), this.processOptionsParam(t, n), function(d, y) {
|
2965
|
+
var m = d.properties, S = d.traits, p = d.context;
|
2965
2966
|
m && Object.keys(m).forEach(function(k) {
|
2966
|
-
|
2967
|
-
}),
|
2968
|
-
|
2967
|
+
Rn.indexOf(k.toLowerCase()) >= 0 && D.error("Warning! : Reserved keyword used in properties--> ".concat(k, " with ").concat(y, " call"));
|
2968
|
+
}), S && Object.keys(S).forEach(function(k) {
|
2969
|
+
Rn.indexOf(k.toLowerCase()) >= 0 && D.error("Warning! : Reserved keyword used in traits--> ".concat(k, " with ").concat(y, " call"));
|
2969
2970
|
});
|
2970
|
-
var v =
|
2971
|
+
var v = p.traits;
|
2971
2972
|
v && Object.keys(v).forEach(function(k) {
|
2972
|
-
|
2973
|
+
Rn.indexOf(k.toLowerCase()) >= 0 && D.error("Warning! : Reserved keyword used in traits --> ".concat(k, " with ").concat(y, " call"));
|
2973
2974
|
});
|
2974
2975
|
}(t.message, e);
|
2975
2976
|
var s = t.message.integrations;
|
2976
|
-
s ?
|
2977
|
+
s ? Dn(s) : s = this.shouldUseGlobalIntegrationsConfigInEvents() ? this.loadOnlyIntegrations : _a, t.message.integrations = s;
|
2977
2978
|
try {
|
2978
2979
|
t.message.context["ua-ch"] = this.uach;
|
2979
|
-
} catch (
|
2980
|
-
M(
|
2980
|
+
} catch (d) {
|
2981
|
+
M(d);
|
2981
2982
|
}
|
2982
2983
|
try {
|
2983
2984
|
if (this.clientIntegrationObjects) {
|
2984
|
-
var c =
|
2985
|
+
var c = xn(s, this.clientIntegrationObjects);
|
2985
2986
|
this.processAndSendEventsToDeviceMode(c, t, e);
|
2986
2987
|
} else this.toBeProcessedByIntegrationArray.push([e, t]);
|
2987
|
-
} catch (
|
2988
|
-
M(
|
2988
|
+
} catch (d) {
|
2989
|
+
M(d, "processAndSendEventsToDeviceMode::");
|
2989
2990
|
}
|
2990
2991
|
var l = U(t);
|
2991
|
-
|
2992
|
-
} catch (
|
2993
|
-
M(
|
2992
|
+
$r(l.message.integrations), !this.bufferDataPlaneEventsUntilReady || this.clientIntegrationObjects ? this.queueEventForDataPlane(e, l) : this.preProcessQueue.enqueue(e, l), i && typeof i == "function" && i(l);
|
2993
|
+
} catch (d) {
|
2994
|
+
M(d);
|
2994
2995
|
}
|
2995
|
-
var
|
2996
|
+
var f, h;
|
2996
2997
|
} }, { key: "utm", value: function(e) {
|
2997
2998
|
var t = {};
|
2998
2999
|
try {
|
@@ -3014,27 +3015,27 @@ var Xa = function() {
|
|
3014
3015
|
this.addCampaignInfo(e), e.message.context.page = this.getContextPageProperties(i === "page" ? o : void 0), function(a) {
|
3015
3016
|
var u = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
3016
3017
|
L(u) === "object" && u !== null && Object.keys(u).forEach(function(s) {
|
3017
|
-
|
3018
|
+
mi.includes(s) && (a[s] = u[s]);
|
3018
3019
|
});
|
3019
3020
|
}(e.message, t), e.message.context = function(a) {
|
3020
3021
|
var u = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, s = a.context;
|
3021
3022
|
return L(u) !== "object" || u === null || Object.keys(u).forEach(function(c) {
|
3022
|
-
if (!
|
3023
|
+
if (!mi.includes(c) && !Vr.includes(c)) if (c !== "context") s = mt(s, r({}, c, u[c]));
|
3023
3024
|
else if (L(u[c]) === "object" && u[c] !== null) {
|
3024
3025
|
var l = {};
|
3025
|
-
Object.keys(u[c]).forEach(function(
|
3026
|
-
|
3027
|
-
}), s =
|
3026
|
+
Object.keys(u[c]).forEach(function(f) {
|
3027
|
+
Vr.includes(f) || (l[f] = u[c][f]);
|
3028
|
+
}), s = mt(s, E({}, l));
|
3028
3029
|
} else D.error("[Analytics: processOptionsParam] context passed in options ".concat(c, " is not object."));
|
3029
3030
|
}), s;
|
3030
3031
|
}(e.message, t);
|
3031
3032
|
} }, { key: "getPageProperties", value: function(e, t) {
|
3032
|
-
var n =
|
3033
|
+
var n = Yr(), i = t && t.page || {};
|
3033
3034
|
for (var o in n) e[o] === void 0 && (e[o] = i[o] || n[o]);
|
3034
3035
|
return e;
|
3035
3036
|
} }, { key: "getContextPageProperties", value: function(e) {
|
3036
|
-
var t =
|
3037
|
-
for (var i in t) n[i] = e
|
3037
|
+
var t = Yr(), n = {};
|
3038
|
+
for (var i in t) n[i] = e && e[i] ? e[i] : t[i];
|
3038
3039
|
return n;
|
3039
3040
|
} }, { key: "reset", value: function(e) {
|
3040
3041
|
this.errorReporting.leaveBreadcrumb("reset API :: flag: ".concat(e)), this.loaded ? (e && (this.anonymousId = ""), this.userId = "", this.userTraits = {}, this.groupId = "", this.groupTraits = {}, this.uSession.reset(), this.storage.clear(e)) : this.toBeProcessedArray.push(["reset", e]);
|
@@ -3051,8 +3052,8 @@ var Xa = function() {
|
|
3051
3052
|
} }, { key: "getGroupTraits", value: function() {
|
3052
3053
|
return this.groupTraits;
|
3053
3054
|
} }, { key: "setAnonymousId", value: function(e, t) {
|
3054
|
-
var n = t ?
|
3055
|
-
this.anonymousId = e || i ||
|
3055
|
+
var n = t ? Wa(t) : null, i = n ? n.rs_amp_id : null;
|
3056
|
+
this.anonymousId = e || i || Li(), this.storage.setAnonymousId(this.anonymousId);
|
3056
3057
|
} }, { key: "isValidWriteKey", value: function(e) {
|
3057
3058
|
return e && typeof e == "string" && e.trim().length > 0;
|
3058
3059
|
} }, { key: "isValidServerUrl", value: function(e) {
|
@@ -3061,52 +3062,52 @@ var Xa = function() {
|
|
3061
3062
|
var e = document.createElement("div");
|
3062
3063
|
return e.setAttribute("data-a-b", "c"), !!e.dataset && e.dataset.aB === "c";
|
3063
3064
|
} }, { key: "loadAfterPolyfill", value: function(e, t, n) {
|
3064
|
-
var i
|
3065
|
-
if (L(t) === "object" && t !== null && (n = t, t = null),
|
3065
|
+
var i = this;
|
3066
|
+
if (L(t) === "object" && t !== null && (n = t, t = null), n && n.logLevel && (this.logLevel = n.logLevel, D.setLogLevel(n.logLevel)), !this.isValidWriteKey(e)) throw Error("Unable to load the SDK due to invalid writeKey");
|
3066
3067
|
if (!this.storage || Object.keys(this.storage).length === 0) throw Error("Cannot proceed as no storage is available");
|
3067
|
-
|
3068
|
-
var
|
3069
|
-
if (
|
3070
|
-
var
|
3071
|
-
|
3072
|
-
|
3068
|
+
n && n.cookieConsentManager && (this.cookieConsentOptions = n.cookieConsentManager), this.writeKey = e, this.serverUrl = t, this.options = n;
|
3069
|
+
var o = {};
|
3070
|
+
if (n && n.setCookieDomain && (o = E(E({}, o), {}, { domain: n.setCookieDomain })), n && typeof n.secureCookie == "boolean" && (o = E(E({}, o), {}, { secure: n.secureCookie })), n && typeof n.sameDomainCookiesOnly == "boolean" && (o = E(E({}, o), {}, { sameDomainCookiesOnly: n.sameDomainCookiesOnly })), n && Ia.indexOf(n.sameSiteCookie) !== -1 && (o = E(E({}, o), {}, { samesite: n.sameSiteCookie })), this.storage.options(o), n && typeof n.uaChTrackLevel == "string" && Oa.includes(n.uaChTrackLevel) && (this.uaChTrackLevel = n.uaChTrackLevel), navigator.userAgentData && function(c) {
|
3071
|
+
var l = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "none";
|
3072
|
+
l === "none" && c(void 0), l === "default" && c(navigator.userAgentData), l === "full" && navigator.userAgentData.getHighEntropyValues(["architecture", "bitness", "brands", "mobile", "model", "platform", "platformVersion", "uaFullVersion", "fullVersionList", "wow64"]).then(function(f) {
|
3073
|
+
c(f);
|
3073
3074
|
});
|
3074
|
-
}(function(
|
3075
|
-
|
3076
|
-
}, this.uaChTrackLevel),
|
3077
|
-
var
|
3078
|
-
Object.keys(this.methodToCallbackMapping).forEach(function(
|
3079
|
-
|
3080
|
-
}),
|
3081
|
-
}
|
3082
|
-
if (
|
3075
|
+
}(function(c) {
|
3076
|
+
i.uach = c;
|
3077
|
+
}, this.uaChTrackLevel), n && n.integrations && (Qe(this.loadOnlyIntegrations, n.integrations), Dn(this.loadOnlyIntegrations)), this.useGlobalIntegrationsConfigInEvents = n && n.useGlobalIntegrationsConfigInEvents === !0, n && n.sendAdblockPage && (this.sendAdblockPage = !0), n && n.sendAdblockPageOptions && L(n.sendAdblockPageOptions) === "object" && (this.sendAdblockPageOptions = n.sendAdblockPageOptions), this.uSession.initialize(n), n && n.clientSuppliedCallbacks) {
|
3078
|
+
var a = {};
|
3079
|
+
Object.keys(this.methodToCallbackMapping).forEach(function(c) {
|
3080
|
+
i.methodToCallbackMapping.hasOwnProperty(c) && n.clientSuppliedCallbacks[i.methodToCallbackMapping[c]] && (a[c] = n.clientSuppliedCallbacks[i.methodToCallbackMapping[c]]);
|
3081
|
+
}), Qe(this.clientSuppliedCallbacks, a), this.registerCallbacks(!0);
|
3082
|
+
}
|
3083
|
+
if (n && n.loadIntegration != null && (this.loadIntegration = !!n.loadIntegration), n && typeof n.bufferDataPlaneEventsUntilReady == "boolean" && (this.bufferDataPlaneEventsUntilReady = n.bufferDataPlaneEventsUntilReady === !0, this.bufferDataPlaneEventsUntilReady && this.preProcessQueue.init(this.options, this.queueEventForDataPlane.bind(this))), n && typeof n.dataPlaneEventsBufferTimeout == "number" && (this.dataPlaneEventsBufferTimeout = n.dataPlaneEventsBufferTimeout), n && n.lockIntegrationsVersion !== void 0 && (this.lockIntegrationsVersion = n.lockIntegrationsVersion === !0), this.initializeUser(n ? n.anonymousIdOptions : void 0), this.setInitialPageProperties(), this.destSDKBaseURL = nu(this.version, this.lockIntegrationsVersion, n && n.destSDKBaseURL), n && n.getSourceConfig) if (typeof n.getSourceConfig != "function") M(new Error('option "getSourceConfig" must be a function'));
|
3083
3084
|
else {
|
3084
|
-
var
|
3085
|
-
|
3086
|
-
return
|
3087
|
-
}).catch(M) : this.processResponse(200,
|
3085
|
+
var u = n.getSourceConfig();
|
3086
|
+
u instanceof Promise ? u.then(function(c) {
|
3087
|
+
return i.processResponse(200, c);
|
3088
|
+
}).catch(M) : this.processResponse(200, u);
|
3088
3089
|
}
|
3089
3090
|
else {
|
3090
|
-
var
|
3091
|
-
var
|
3092
|
-
return
|
3091
|
+
var s = function(c, l) {
|
3092
|
+
var f = Pn, h = [];
|
3093
|
+
return c && h.push("writeKey=".concat(c)), l && h.push("lockIntegrationsVersion=".concat(l)), h.length > 0 && (f = (f = Pn.concat(Pn.includes("?") ? "&" : "?")).concat(h.join("&"))), f;
|
3093
3094
|
}(e, this.lockIntegrationsVersion);
|
3094
|
-
|
3095
|
-
var
|
3096
|
-
|
3097
|
-
var
|
3098
|
-
return
|
3099
|
-
}(n.configUrl,
|
3095
|
+
n && n.configUrl && (s = function(c, l) {
|
3096
|
+
var f = c;
|
3097
|
+
f.indexOf("sourceConfig") === -1 && (f = "".concat(At(f), "/sourceConfig/")), f = f.slice(-1) === "/" ? f : "".concat(f, "/");
|
3098
|
+
var h = l.split("?")[1], d = f.split("?");
|
3099
|
+
return d.length > 1 && d[1] !== h ? "".concat(d[0], "?").concat(h) : "".concat(f, "?").concat(h);
|
3100
|
+
}(n.configUrl, s));
|
3100
3101
|
try {
|
3101
|
-
(function(
|
3102
|
-
var
|
3103
|
-
|
3104
|
-
var
|
3105
|
-
|
3106
|
-
},
|
3107
|
-
})(this,
|
3108
|
-
} catch (
|
3109
|
-
M(
|
3102
|
+
(function(c, l, f, h) {
|
3103
|
+
var d = h.bind(c), y = new XMLHttpRequest();
|
3104
|
+
y.open("GET", l, !0), y.setRequestHeader("Authorization", "Basic ".concat(btoa("".concat(f, ":")))), y.onload = function() {
|
3105
|
+
var m = y.status, S = y.responseText;
|
3106
|
+
m === 200 ? d(200, S) : (M(new Error("".concat(zn, " ").concat(m, " for url: ").concat(l))), d(m));
|
3107
|
+
}, y.send();
|
3108
|
+
})(this, s, e, this.processResponse);
|
3109
|
+
} catch (c) {
|
3110
|
+
M(c);
|
3110
3111
|
}
|
3111
3112
|
}
|
3112
3113
|
} }, { key: "arePolyfillsRequired", value: function(e) {
|
@@ -3114,15 +3115,15 @@ var Xa = function() {
|
|
3114
3115
|
} }, { key: "load", value: function(e, t, n) {
|
3115
3116
|
if (!this.loaded) {
|
3116
3117
|
var i = U(n);
|
3117
|
-
if (this.arePolyfillsRequired(i) &&
|
3118
|
+
if (this.arePolyfillsRequired(i) && zr) {
|
3118
3119
|
var o = "polyfill";
|
3119
|
-
|
3120
|
+
nn(o, zr, { skipDatasetAttributes: !0 });
|
3120
3121
|
var a = this, u = setInterval(function() {
|
3121
3122
|
!window.hasOwnProperty(o) && document.getElementById(o) === null || typeof Promise > "u" || (clearInterval(u), a.loadAfterPolyfill(e, t, i));
|
3122
3123
|
}, 100);
|
3123
3124
|
setTimeout(function() {
|
3124
3125
|
clearInterval(u);
|
3125
|
-
},
|
3126
|
+
}, tn);
|
3126
3127
|
} else this.loadAfterPolyfill(e, t, i);
|
3127
3128
|
}
|
3128
3129
|
} }, { key: "ready", value: function(e) {
|
@@ -3141,7 +3142,7 @@ var Xa = function() {
|
|
3141
3142
|
t.clientSuppliedCallbacks.hasOwnProperty(n) && t.on(n, t.clientSuppliedCallbacks[n]);
|
3142
3143
|
});
|
3143
3144
|
} }, { key: "sendSampleRequest", value: function() {
|
3144
|
-
|
3145
|
+
nn("ad-block", "//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js", { isNonNativeSDK: !0 });
|
3145
3146
|
} }, { key: "startSession", value: function(e) {
|
3146
3147
|
this.uSession.start(e);
|
3147
3148
|
} }, { key: "endSession", value: function() {
|
@@ -3149,17 +3150,17 @@ var Xa = function() {
|
|
3149
3150
|
} }, { key: "setAuthToken", value: function(e) {
|
3150
3151
|
typeof e == "string" ? (this.storage.setAuthToken(e), this.transformationHandler.setAuthToken(e)) : D.error("Provided input should be in string format");
|
3151
3152
|
} }]);
|
3152
|
-
}(), P = new
|
3153
|
-
|
3153
|
+
}(), P = new cu();
|
3154
|
+
bo(P), window.addEventListener("error", function(e) {
|
3154
3155
|
M(e, void 0, P);
|
3155
3156
|
}, !0), P.initializeCallbacks(), P.registerCallbacks(!1);
|
3156
|
-
var
|
3157
|
-
if (ji) for (var
|
3158
|
-
if (
|
3159
|
-
|
3157
|
+
var yt, Hi = "load", He = window.rudderanalytics, ji = Array.isArray(He);
|
3158
|
+
if (ji) for (var it = 0; it < He.length; ) {
|
3159
|
+
if (He[it] && He[it][0] === Hi) {
|
3160
|
+
yt = He[it], He.splice(it, 1);
|
3160
3161
|
break;
|
3161
3162
|
}
|
3162
|
-
|
3163
|
+
it += 1;
|
3163
3164
|
}
|
3164
3165
|
(function(e) {
|
3165
3166
|
var t = "ajs_trait_", n = "ajs_prop_";
|
@@ -3180,17 +3181,17 @@ if (ji) for (var rt = 0; rt < Ue.length; ) {
|
|
3180
3181
|
return u;
|
3181
3182
|
}(e);
|
3182
3183
|
o.ajs_aid && P.toBeProcessedArray.push(["setAnonymousId", o.ajs_aid]), o.ajs_uid && P.toBeProcessedArray.push(["identify", o.ajs_uid, i(o, t)]), o.ajs_event && P.toBeProcessedArray.push(["track", o.ajs_event, i(o, n)]);
|
3183
|
-
})(window.location.href), ji &&
|
3184
|
+
})(window.location.href), ji && He.forEach(function(e) {
|
3184
3185
|
return P.toBeProcessedArray.push(e);
|
3185
|
-
}),
|
3186
|
+
}), yt && yt.length > 0 && (yt.shift(), P[Hi].apply(P, xe(yt)));
|
3186
3187
|
P.ready.bind(P);
|
3187
3188
|
P.identify.bind(P);
|
3188
3189
|
P.page.bind(P);
|
3189
|
-
var
|
3190
|
+
var lu = P.track.bind(P);
|
3190
3191
|
P.alias.bind(P);
|
3191
3192
|
P.group.bind(P);
|
3192
3193
|
P.reset.bind(P);
|
3193
|
-
var
|
3194
|
+
var fu = P.load.bind(P);
|
3194
3195
|
P.initialized = !0;
|
3195
3196
|
P.getUserId.bind(P);
|
3196
3197
|
P.getSessionId.bind(P);
|
@@ -3202,18 +3203,18 @@ P.getGroupTraits.bind(P);
|
|
3202
3203
|
P.startSession.bind(P);
|
3203
3204
|
P.endSession.bind(P);
|
3204
3205
|
P.setAuthToken.bind(P);
|
3205
|
-
const
|
3206
|
+
const hu = {
|
3206
3207
|
STAGING: "2R6llJi7YSuOeJToPXGlQfizt18",
|
3207
3208
|
SANDBOX: "2R6mEpjiTJBErRIn724pt2MWyLA",
|
3208
3209
|
LOCAL: "2QHmFAx84bL4Up6CDHRw0XkKJKC",
|
3209
3210
|
LIVE: "2R6mT9xSJCcbvr6JkiEu7vbrUSW"
|
3210
|
-
},
|
3211
|
+
}, du = "https://revolugohxxwg.dataplane.rudderstack.com", pu = window.RevolugoElements.config.apiEnvironment, gu = hu[pu];
|
3211
3212
|
try {
|
3212
|
-
|
3213
|
+
fu(gu, du);
|
3213
3214
|
} catch (e) {
|
3214
3215
|
console.error(e);
|
3215
3216
|
}
|
3216
|
-
const
|
3217
|
+
const qi = {
|
3217
3218
|
startDate: {
|
3218
3219
|
type: String
|
3219
3220
|
},
|
@@ -3229,14 +3230,14 @@ const Hi = {
|
|
3229
3230
|
location: {
|
3230
3231
|
type: Object
|
3231
3232
|
}
|
3232
|
-
},
|
3233
|
+
}, mu = Ai.extend({
|
3233
3234
|
name: "ContactForm",
|
3234
3235
|
components: {
|
3235
|
-
BSearchLocationInput:
|
3236
|
-
BPhoneInput:
|
3236
|
+
BSearchLocationInput: Xi,
|
3237
|
+
BPhoneInput: to
|
3237
3238
|
},
|
3238
|
-
mixins: [
|
3239
|
-
props:
|
3239
|
+
mixins: [Hn("components/RevolugoElements/ContactForm")],
|
3240
|
+
props: qi,
|
3240
3241
|
data() {
|
3241
3242
|
return {
|
3242
3243
|
isFormValid: !1,
|
@@ -3261,16 +3262,16 @@ const Hi = {
|
|
3261
3262
|
},
|
3262
3263
|
rules: {
|
3263
3264
|
email: [
|
3264
|
-
(e) =>
|
3265
|
-
(e) =>
|
3265
|
+
(e) => ze.required(e) || this.$t("ContactForm.errors.requiredEmail"),
|
3266
|
+
(e) => ze.email(e) || this.$t("ContactForm.errors.invalidEmail")
|
3266
3267
|
],
|
3267
3268
|
adultCount: [
|
3268
|
-
(e) =>
|
3269
|
-
(e) =>
|
3269
|
+
(e) => ze.minCount(e, 1) || this.$t("ContactForm.errors.minAdultCount"),
|
3270
|
+
(e) => ze.maxCount(e, 400) || this.$t("ContactForm.errors.maxAdultCount")
|
3270
3271
|
],
|
3271
3272
|
roomCount: [
|
3272
|
-
(e) =>
|
3273
|
-
(e) =>
|
3273
|
+
(e) => ze.minCount(e, 1) || this.$t("ContactForm.errors.minRoomCount"),
|
3274
|
+
(e) => ze.maxCount(e, 100) || this.$t("ContactForm.errors.maxRoomCount")
|
3274
3275
|
]
|
3275
3276
|
}
|
3276
3277
|
};
|
@@ -3280,7 +3281,7 @@ const Hi = {
|
|
3280
3281
|
var t;
|
3281
3282
|
this.isSubmitting = !0;
|
3282
3283
|
let e = "";
|
3283
|
-
(t = this.config) != null && t.eventMetadata && (e = this.config.eventMetadata.name, this.config.eventMetadata.slug && (e += ` ${this.config.eventMetadata.slug}`)),
|
3284
|
+
(t = this.config) != null && t.eventMetadata && (e = this.config.eventMetadata.name, this.config.eventMetadata.slug && (e += ` ${this.config.eventMetadata.slug}`)), lu(
|
3284
3285
|
"accommodation-request",
|
3285
3286
|
{
|
3286
3287
|
data: {
|
@@ -3295,57 +3296,57 @@ const Hi = {
|
|
3295
3296
|
}
|
3296
3297
|
}
|
3297
3298
|
});
|
3298
|
-
var
|
3299
|
+
var yu = function() {
|
3299
3300
|
var t = this, n = t._self._c;
|
3300
|
-
return t._self._setupProxy, n("div", [n(
|
3301
|
+
return t._self._setupProxy, n("div", [n(io, { model: { value: t.isFormValid, callback: function(i) {
|
3301
3302
|
t.isFormValid = i;
|
3302
|
-
}, expression: "isFormValid" } }, [n(
|
3303
|
+
}, expression: "isFormValid" } }, [n(st, { attrs: { dense: "", label: t.$t("ContactForm.email"), outlined: "", required: "", rules: t.rules.email }, scopedSlots: t._u([{ key: "message", fn: function({ message: i }) {
|
3303
3304
|
return [t._v(" " + t._s(t.$t(i)) + " ")];
|
3304
3305
|
} }]), model: { value: t.formData.email, callback: function(i) {
|
3305
3306
|
t.$set(t.formData, "email", i);
|
3306
3307
|
}, expression: "formData.email" } }), n("BPhoneInput", { staticClass: "mt-0", model: { value: t.formData.phoneData, callback: function(i) {
|
3307
3308
|
t.$set(t.formData, "phoneData", i);
|
3308
|
-
}, expression: "formData.phoneData" } }), n(vt, { staticClass: "mt-0" }, [n(je, [n(
|
3309
|
-
return [n(
|
3309
|
+
}, expression: "formData.phoneData" } }), n(vt, { staticClass: "mt-0" }, [n(je, [n(Wn, { attrs: { "close-on-content-click": !1, "min-width": "auto", "nudge-right": 40, "offset-y": "", transition: "scale-transition" }, scopedSlots: t._u([{ key: "activator", fn: function({ on: i, attrs: o }) {
|
3310
|
+
return [n(st, t._g(t._b({ attrs: { dense: "", "hide-details": "", label: t.$t("ContactForm.startDate"), outlined: "", readonly: "", required: "" }, model: { value: t.formData.startDate, callback: function(a) {
|
3310
3311
|
t.$set(t.formData, "startDate", a);
|
3311
3312
|
}, expression: "formData.startDate" } }, "VTextField", o, !1), i))];
|
3312
3313
|
} }]), model: { value: t.menuStartDate, callback: function(i) {
|
3313
3314
|
t.menuStartDate = i;
|
3314
|
-
}, expression: "menuStartDate" } }, [n(
|
3315
|
+
}, expression: "menuStartDate" } }, [n(Yn, { on: { input: function(i) {
|
3315
3316
|
t.menuStartDate = !1;
|
3316
3317
|
} }, model: { value: t.formData.startDate, callback: function(i) {
|
3317
3318
|
t.$set(t.formData, "startDate", i);
|
3318
|
-
}, expression: "formData.startDate" } })], 1)], 1), n(je, [n(
|
3319
|
-
return [n(
|
3319
|
+
}, expression: "formData.startDate" } })], 1)], 1), n(je, [n(Wn, { attrs: { "close-on-content-click": !1, "min-width": "auto", "nudge-right": 40, "offset-y": "", transition: "scale-transition" }, scopedSlots: t._u([{ key: "activator", fn: function({ on: i, attrs: o }) {
|
3320
|
+
return [n(st, t._g(t._b({ attrs: { dense: "", "hide-details": "", label: t.$t("ContactForm.endDate"), outlined: "", readonly: "", required: "" }, model: { value: t.formData.endDate, callback: function(a) {
|
3320
3321
|
t.$set(t.formData, "endDate", a);
|
3321
3322
|
}, expression: "formData.endDate" } }, "VTextField", o, !1), i))];
|
3322
3323
|
} }]), model: { value: t.menuEndDate, callback: function(i) {
|
3323
3324
|
t.menuEndDate = i;
|
3324
|
-
}, expression: "menuEndDate" } }, [n(
|
3325
|
+
}, expression: "menuEndDate" } }, [n(Yn, { on: { input: function(i) {
|
3325
3326
|
t.menuEndDate = !1;
|
3326
3327
|
} }, model: { value: t.formData.endDate, callback: function(i) {
|
3327
3328
|
t.$set(t.formData, "endDate", i);
|
3328
|
-
}, expression: "formData.endDate" } })], 1)], 1)], 1), n(vt, [n(je, [n(
|
3329
|
+
}, expression: "formData.endDate" } })], 1)], 1)], 1), n(vt, [n(je, [n(st, { attrs: { dense: "", label: t.$t("ContactForm.adultCount"), max: "400", min: "1", outlined: "", required: "", rules: t.rules.adultCount, type: "number" }, model: { value: t.formData.adultCount, callback: function(i) {
|
3329
3330
|
t.$set(t.formData, "adultCount", i);
|
3330
|
-
}, expression: "formData.adultCount" } })], 1), n(je, [n(
|
3331
|
+
}, expression: "formData.adultCount" } })], 1), n(je, [n(st, { attrs: { dense: "", label: t.$t("ContactForm.roomCount"), max: "400", min: "1", outlined: "", required: "", rules: t.rules.roomCount, type: "number" }, model: { value: t.formData.roomCount, callback: function(i) {
|
3331
3332
|
t.$set(t.formData, "roomCount", i);
|
3332
3333
|
}, expression: "formData.roomCount" } })], 1)], 1), n("BSearchLocationInput", { attrs: { outlined: "", "with-details": "" }, model: { value: t.formData.location, callback: function(i) {
|
3333
3334
|
t.$set(t.formData, "location", i);
|
3334
|
-
}, expression: "formData.location" } }), n(
|
3335
|
+
}, expression: "formData.location" } }), n(no, { attrs: { dense: "", label: t.$t("ContactForm.specificRequest"), outlined: "" }, model: { value: t.formData.specificRequest, callback: function(i) {
|
3335
3336
|
t.$set(t.formData, "specificRequest", i);
|
3336
|
-
}, expression: "formData.specificRequest" } }), n("div", { staticClass: "d-flex justify-end" }, [n(
|
3337
|
+
}, expression: "formData.specificRequest" } }), n("div", { staticClass: "d-flex justify-end" }, [n(qn, { attrs: { color: t.isSuccess ? "green" : "primary", "data-cy": "submit-button", "data-attr": "submit-button", disabled: !t.isFormValid || t.isSubmitting || t.isSuccess, loading: t.isSubmitting }, on: { click: function(i) {
|
3337
3338
|
return t.onSubmit();
|
3338
3339
|
} } }, [t._v(" " + t._s(t.$t("ContactForm.submit")) + " ")])], 1)], 1)], 1);
|
3339
|
-
},
|
3340
|
-
pu,
|
3341
|
-
gu,
|
3340
|
+
}, vu = [], bu = /* @__PURE__ */ jn(
|
3342
3341
|
mu,
|
3342
|
+
yu,
|
3343
|
+
vu,
|
3343
3344
|
!1,
|
3344
3345
|
null,
|
3345
3346
|
null
|
3346
3347
|
);
|
3347
|
-
const
|
3348
|
-
...
|
3348
|
+
const ku = bu.exports, Au = {
|
3349
|
+
...qi,
|
3349
3350
|
boilerplateSkeleton: {
|
3350
3351
|
type: Boolean
|
3351
3352
|
},
|
@@ -3362,15 +3363,15 @@ const yu = vu.exports, bu = {
|
|
3362
3363
|
checkOutDate: {
|
3363
3364
|
type: String
|
3364
3365
|
}
|
3365
|
-
},
|
3366
|
+
}, Iu = Ai.extend({
|
3366
3367
|
name: "HotelOfferListEmpty",
|
3367
3368
|
components: {
|
3368
|
-
BErrorOverlay:
|
3369
|
-
HotelOfferItemLayout:
|
3370
|
-
ContactForm:
|
3369
|
+
BErrorOverlay: ro,
|
3370
|
+
HotelOfferItemLayout: ki,
|
3371
|
+
ContactForm: ku
|
3371
3372
|
},
|
3372
|
-
mixins: [
|
3373
|
-
props:
|
3373
|
+
mixins: [Hn("components/RevolugoElements/HotelOfferListEmpty"), Ii],
|
3374
|
+
props: Au,
|
3374
3375
|
data() {
|
3375
3376
|
return {
|
3376
3377
|
typeData: this.type
|
@@ -3447,57 +3448,57 @@ const yu = vu.exports, bu = {
|
|
3447
3448
|
}
|
3448
3449
|
}
|
3449
3450
|
});
|
3450
|
-
var
|
3451
|
+
var Eu = function() {
|
3451
3452
|
var t = this, n = t._self._c;
|
3452
3453
|
return t._self._setupProxy, n("div", { staticClass: "position-relative" }, [t._l(6, function(i) {
|
3453
3454
|
return [n("HotelOfferItemLayout", { key: i, class: {
|
3454
3455
|
"mt-0": i === 1,
|
3455
3456
|
"mb-0": i === t.itemCount,
|
3456
3457
|
"mb-2": t.$breakpointService.xs
|
3457
|
-
}, attrs: { boilerplate: t.boilerplateSkeleton } }), t.$breakpointService.xs ? t._e() : n(
|
3458
|
+
}, attrs: { boilerplate: t.boilerplateSkeleton } }), t.$breakpointService.xs ? t._e() : n(Mn, { key: i + "-divider" })];
|
3458
3459
|
}), t.typeData ? n("BErrorOverlay", { scopedSlots: t._u([{ key: "title", fn: function() {
|
3459
3460
|
return [t._v(" " + t._s(t.wording.title) + " ")];
|
3460
3461
|
}, proxy: !0 }, { key: "description", fn: function() {
|
3461
3462
|
return [n("div", [n("p", [t._v(t._s(t.wording.description))]), t.typeData !== "noResultsFiltered" && t.typeData !== "accommodationSuccess" ? n("ContactForm", { attrs: { "adult-count": t.adultCount, "end-date": t.checkOutDate, location: t.location, "room-count": t.roomCount, "start-date": t.checkInDate }, on: { accommodationSuccess: function(i) {
|
3462
3463
|
t.typeData = "accommodationSuccess";
|
3463
|
-
} } }) : t._e(), t.typeData === "noResultsFiltered" ? n(
|
3464
|
+
} } }) : t._e(), t.typeData === "noResultsFiltered" ? n(qn, { attrs: { color: "primary", outlined: "", small: "" }, on: { click: t.onResetFilters } }, [t._v(" " + t._s(t.$t("HotelOfferListEmpty.noResultsFiltered.reset")) + " ")]) : t._e()], 1)];
|
3464
3465
|
}, proxy: !0 }], null, !1, 1236007322) }) : t._e()], 2);
|
3465
|
-
},
|
3466
|
-
ku,
|
3467
|
-
Au,
|
3466
|
+
}, Cu = [], Ou = /* @__PURE__ */ jn(
|
3468
3467
|
Iu,
|
3468
|
+
Eu,
|
3469
|
+
Cu,
|
3469
3470
|
!1,
|
3470
3471
|
null,
|
3471
3472
|
null
|
3472
3473
|
);
|
3473
|
-
const
|
3474
|
-
|
3475
|
-
|
3474
|
+
const _u = Ou.exports, Su = lo(
|
3475
|
+
Vi,
|
3476
|
+
so({
|
3476
3477
|
fallbackValue: {},
|
3477
3478
|
propsName: "features"
|
3478
3479
|
})
|
3479
3480
|
).extend({
|
3480
3481
|
name: "HotelOfferList",
|
3481
3482
|
components: {
|
3482
|
-
BHotelOffersFilterBar:
|
3483
|
-
BHotelSearchBar:
|
3484
|
-
HotelOfferItem:
|
3485
|
-
HotelOfferItemLayout:
|
3486
|
-
HotelOfferListEmpty:
|
3487
|
-
HotelRoomOfferList:
|
3488
|
-
TermsAndConditions:
|
3483
|
+
BHotelOffersFilterBar: Wi,
|
3484
|
+
BHotelSearchBar: uo,
|
3485
|
+
HotelOfferItem: Yi,
|
3486
|
+
HotelOfferItemLayout: ki,
|
3487
|
+
HotelOfferListEmpty: _u,
|
3488
|
+
HotelRoomOfferList: ao,
|
3489
|
+
TermsAndConditions: fo
|
3489
3490
|
},
|
3490
3491
|
mixins: [
|
3491
|
-
|
3492
|
-
|
3493
|
-
|
3494
|
-
|
3492
|
+
Ii,
|
3493
|
+
Hn("components/RevolugoElements/HotelOfferList"),
|
3494
|
+
Ji,
|
3495
|
+
co(
|
3495
3496
|
["bookingApiClient", "config.currency", "config.lang"],
|
3496
3497
|
"retrieveHotelOffers"
|
3497
3498
|
)
|
3498
3499
|
],
|
3499
|
-
store:
|
3500
|
-
props:
|
3500
|
+
store: Qi,
|
3501
|
+
props: go,
|
3501
3502
|
computed: {
|
3502
3503
|
areFiltersActive: Ae("hotelOffers/areFiltersActive"),
|
3503
3504
|
hasErrorHotelOffers: Ae("hotelOffers/hasError"),
|
@@ -3514,7 +3515,7 @@ const Ou = Eu.exports, _u = co(
|
|
3514
3515
|
},
|
3515
3516
|
isTopPicksSelected() {
|
3516
3517
|
var e;
|
3517
|
-
return ((e = this.filters.sort_by) == null ? void 0 : e.value) ===
|
3518
|
+
return ((e = this.filters.sort_by) == null ? void 0 : e.value) === Ki.TopPicks;
|
3518
3519
|
},
|
3519
3520
|
showNoResultsMessage() {
|
3520
3521
|
return !!this.hotelOfferRequest.id && !this.isPollingHotelOffers && Array.isArray(this.hotelOffers) && this.hotelOffers.length === 0;
|
@@ -3531,7 +3532,7 @@ const Ou = Eu.exports, _u = co(
|
|
3531
3532
|
filters: {
|
3532
3533
|
deep: !0,
|
3533
3534
|
async handler(e, t) {
|
3534
|
-
|
3535
|
+
eo(e, t) || await this.retrieveHotelOffers();
|
3535
3536
|
}
|
3536
3537
|
},
|
3537
3538
|
"hotelOfferRequest.id": {
|
@@ -3559,21 +3560,21 @@ const Ou = Eu.exports, _u = co(
|
|
3559
3560
|
this.$emit("hotel-offer-item-mouseleave");
|
3560
3561
|
},
|
3561
3562
|
async onResetFilters() {
|
3562
|
-
await
|
3563
|
+
await ot("hotelOffers/resetFilters");
|
3563
3564
|
},
|
3564
3565
|
async retrieveHotelOffers() {
|
3565
3566
|
this.$refs["hotel-offer-list-container"].scrollTo({
|
3566
3567
|
top: 0,
|
3567
3568
|
behavior: "smooth"
|
3568
|
-
}), await
|
3569
|
-
() =>
|
3569
|
+
}), await ot("hotelRoomOfferRequest/resetHotelRoomOfferRequests").then(() => ot("hotelRoomOffers/resetHotelRoomOffers")).then(
|
3570
|
+
() => ot("hotelOffers/retrieveHotelOffers", {
|
3570
3571
|
hotelOfferRequestId: this.hotelOfferRequest.id,
|
3571
3572
|
limit: this.limit
|
3572
3573
|
})
|
3573
3574
|
);
|
3574
3575
|
},
|
3575
3576
|
async onSeeMoreClick() {
|
3576
|
-
await
|
3577
|
+
await ot("hotelOffers/retrieveHotelOffers", {
|
3577
3578
|
hotelOfferRequestId: this.hotelOfferRequest.id,
|
3578
3579
|
limit: this.limit,
|
3579
3580
|
startingAfter: this.startingAfter
|
@@ -3581,16 +3582,16 @@ const Ou = Eu.exports, _u = co(
|
|
3581
3582
|
}
|
3582
3583
|
}
|
3583
3584
|
});
|
3584
|
-
var
|
3585
|
+
var wu = function() {
|
3585
3586
|
var t = this, n = t._self._c;
|
3586
|
-
return t._self._setupProxy, n(
|
3587
|
+
return t._self._setupProxy, n(oo, { ref: "hotel-offer-list-container", staticClass: "pa-0 white", staticStyle: { "min-height": "500px" }, style: {
|
3587
3588
|
height: t.parsedHeight,
|
3588
3589
|
maxHeight: t.maxHeight,
|
3589
3590
|
overflowY: "auto",
|
3590
3591
|
overflowX: "hidden"
|
3591
3592
|
} }, [t.parsedFeatures.HotelOfferSearchMenu ? n(vt, { staticClass: "px-2 pt-4", class: t.$isCurrentBreakpointAboveOrEqual("md") ? "sticky" : "", attrs: { "no-gutters": "" } }, [n(je, [t.isBookingApiClientDefined ? n("BHotelSearchBar", { attrs: { "is-fetching": t.showSkeleton, "loading-bar-enabled": !1, "with-border": !1 }, model: { value: t.hotelOfferRequestInternal, callback: function(i) {
|
3592
3593
|
t.hotelOfferRequestInternal = i;
|
3593
|
-
}, expression: "hotelOfferRequestInternal" } }) : t._e()], 1)], 1) : t._e(), t.displayFiltersMenu && t.isBookingApiClientDefined ? n(vt, { class: t.$isCurrentBreakpointAboveOrEqual("md") ? "sticky" : "", attrs: { "no-gutters": "" } }, [n(je, [n("BHotelOffersFilterBar"), t.$breakpointService.xs ? t._e() : n(
|
3594
|
+
}, expression: "hotelOfferRequestInternal" } }) : t._e()], 1)], 1) : t._e(), t.displayFiltersMenu && t.isBookingApiClientDefined ? n(vt, { class: t.$isCurrentBreakpointAboveOrEqual("md") ? "sticky" : "", attrs: { "no-gutters": "" } }, [n(je, [n("BHotelOffersFilterBar"), t.$breakpointService.xs ? t._e() : n(Mn)], 1)], 1) : t._e(), n(vt, { attrs: { "no-gutters": "" } }, [n(je, [t.showSkeleton ? [n("HotelOfferListEmpty")] : t.showErrorMessage ? [n("HotelOfferListEmpty", { attrs: { type: "internalError" } })] : t.showNoResultsMessage ? [n("HotelOfferListEmpty", { attrs: { address: t.hotelOfferRequest.address, "adult-count": t.hotelOfferRequest.adultCount, "check-in-date": t.hotelOfferRequest.checkInDate, "check-out-date": t.hotelOfferRequest.checkOutDate, latitude: t.hotelOfferRequest.latitude, longitude: t.hotelOfferRequest.longitude, "room-count": t.hotelOfferRequest.roomCount, "source-market": t.hotelOfferRequest.sourceMarket, type: "noResults" }, on: { "reset-filters": t.onResetFilters } })] : [n(ho, { directives: [{ name: "show", rawName: "v-show", value: t.loadingBarEnabled && t.isPollingHotelOffers, expression: "loadingBarEnabled && isPollingHotelOffers" }], attrs: { indeterminate: "" } }), t._l(t.hotelOffers, function(i, o) {
|
3594
3595
|
var a;
|
3595
3596
|
return [n("HotelOfferItem", { key: i.id, staticClass: "pr-3", class: {
|
3596
3597
|
"mt-0": o === 0,
|
@@ -3599,20 +3600,20 @@ var Cu = function() {
|
|
3599
3600
|
return t.onHotelOfferItemMouseleave.apply(null, arguments);
|
3600
3601
|
}, mouseover: function(u) {
|
3601
3602
|
return t.onHotelOfferItemMouseover(i);
|
3602
|
-
} } }, [(a = t.parsedFeatures.HotelOfferItem) != null && a.HotelRoomOfferList ? n("div", { staticClass: "mx-n2" }, [n("HotelRoomOfferList", { attrs: { "adult-count": t.hotelOfferRequest.adultCount, "check-in-date": t.hotelOfferRequest.checkInDate, "check-out-date": t.hotelOfferRequest.checkOutDate, children: t.hotelOfferRequest.children, "hotel-id": i.id, "hotel-timezone": i.timezone, limit: t.hotelRoomOffersLimit, "room-count": t.hotelOfferRequest.roomCount, "source-market": t.hotelOfferRequest.sourceMarket } })], 1) : t._e()]), n(
|
3603
|
-
}), t.startingAfter ? n("div", { staticClass: "d-flex justify-center align-center py-3" }, [n(
|
3604
|
-
},
|
3605
|
-
_u,
|
3606
|
-
Cu,
|
3603
|
+
} } }, [(a = t.parsedFeatures.HotelOfferItem) != null && a.HotelRoomOfferList ? n("div", { staticClass: "mx-n2" }, [n("HotelRoomOfferList", { attrs: { "adult-count": t.hotelOfferRequest.adultCount, "check-in-date": t.hotelOfferRequest.checkInDate, "check-out-date": t.hotelOfferRequest.checkOutDate, children: t.hotelOfferRequest.children, "hotel-id": i.id, "hotel-timezone": i.timezone, limit: t.hotelRoomOffersLimit, "room-count": t.hotelOfferRequest.roomCount, "source-market": t.hotelOfferRequest.sourceMarket } })], 1) : t._e()]), n(Mn, { key: i.id + "-divider" })];
|
3604
|
+
}), t.startingAfter ? n("div", { staticClass: "d-flex justify-center align-center py-3" }, [n(qn, { attrs: { color: "primary", depressed: "", disabled: t.isPollingHotelOffers || !t.startingAfter, loading: t.isPollingHotelOffers }, on: { click: t.onSeeMoreClick } }, [t._v(" " + t._s(t.$t("HotelOfferList.showMore")) + " ")])], 1) : t._e()]], 2)], 1), t.parsedFeatures.TermsAndConditionsFooter ? n("TermsAndConditions", { attrs: { theme: "light" } }) : t._e()], 1);
|
3605
|
+
}, Tu = [], Ru = /* @__PURE__ */ jn(
|
3607
3606
|
Su,
|
3607
|
+
wu,
|
3608
|
+
Tu,
|
3608
3609
|
!1,
|
3609
3610
|
null,
|
3610
3611
|
null
|
3611
3612
|
);
|
3612
|
-
const
|
3613
|
+
const Ju = Ru.exports;
|
3613
3614
|
export {
|
3614
|
-
|
3615
|
-
|
3616
|
-
|
3615
|
+
Ju as H,
|
3616
|
+
po as a,
|
3617
|
+
go as h
|
3617
3618
|
};
|
3618
|
-
//# sourceMappingURL=revolugo.hotelofferlist.
|
3619
|
+
//# sourceMappingURL=revolugo.hotelofferlist.DTu7ZopK.min.js.map
|