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