@soyio/soyio-widget 2.13.3 → 2.13.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +236 -235
- package/dist/index.umd.cjs +14 -14
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
1
|
+
var un = Object.defineProperty;
|
|
2
|
+
var yt = Object.getOwnPropertySymbols, cn = Object.getPrototypeOf, dn = Object.prototype.hasOwnProperty, fn = Object.prototype.propertyIsEnumerable, ln = Reflect.get;
|
|
3
|
+
var hn = (d, c, h) => c in d ? un(d, c, { enumerable: !0, configurable: !0, writable: !0, value: h }) : d[c] = h;
|
|
4
|
+
var Et = (d, c) => {
|
|
5
5
|
var h = {};
|
|
6
6
|
for (var f in d)
|
|
7
|
-
|
|
8
|
-
if (d != null &&
|
|
9
|
-
for (var f of
|
|
10
|
-
c.indexOf(f) < 0 &&
|
|
7
|
+
dn.call(d, f) && c.indexOf(f) < 0 && (h[f] = d[f]);
|
|
8
|
+
if (d != null && yt)
|
|
9
|
+
for (var f of yt(d))
|
|
10
|
+
c.indexOf(f) < 0 && fn.call(d, f) && (h[f] = d[f]);
|
|
11
11
|
return h;
|
|
12
12
|
};
|
|
13
|
-
var N = (d, c, h) => (
|
|
13
|
+
var N = (d, c, h) => (hn(d, typeof c != "symbol" ? c + "" : c, h), h), mn = (d, c, h) => {
|
|
14
14
|
if (!c.has(d))
|
|
15
15
|
throw TypeError("Cannot " + h);
|
|
16
16
|
};
|
|
17
|
-
var
|
|
17
|
+
var xt = (d, c, h) => {
|
|
18
18
|
if (c.has(d))
|
|
19
19
|
throw TypeError("Cannot add the same private member more than once");
|
|
20
20
|
c instanceof WeakSet ? c.add(d) : c.set(d, h);
|
|
21
21
|
};
|
|
22
|
-
var
|
|
22
|
+
var St = (d, c, h) => (mn(d, c, "access private method"), h), bt = (d, c, h) => ln(cn(d), h, c);
|
|
23
23
|
var _ = (d, c, h) => new Promise((f, v) => {
|
|
24
24
|
var y = (A) => {
|
|
25
25
|
try {
|
|
@@ -36,7 +36,7 @@ var _ = (d, c, h) => new Promise((f, v) => {
|
|
|
36
36
|
}, I = (A) => A.done ? f(A.value) : Promise.resolve(A.value).then(y, E);
|
|
37
37
|
I((h = h.apply(d, c)).next());
|
|
38
38
|
});
|
|
39
|
-
function
|
|
39
|
+
function pn(d, c) {
|
|
40
40
|
for (var h = 0; h < c.length; h++) {
|
|
41
41
|
const f = c[h];
|
|
42
42
|
if (typeof f != "string" && !Array.isArray(f)) {
|
|
@@ -52,7 +52,7 @@ function mn(d, c) {
|
|
|
52
52
|
}
|
|
53
53
|
return Object.freeze(Object.defineProperty(d, Symbol.toStringTag, { value: "Module" }));
|
|
54
54
|
}
|
|
55
|
-
const Se = !!(typeof window != "undefined" && window.document && window.document.createElement),
|
|
55
|
+
const Se = !!(typeof window != "undefined" && window.document && window.document.createElement), It = 200;
|
|
56
56
|
class ke {
|
|
57
57
|
constructor() {
|
|
58
58
|
N(this, "tooltipElement", null);
|
|
@@ -81,7 +81,7 @@ class ke {
|
|
|
81
81
|
word-wrap: break-word;
|
|
82
82
|
pointer-events: none;
|
|
83
83
|
opacity: 0;
|
|
84
|
-
transition: opacity ${
|
|
84
|
+
transition: opacity ${It}ms ease, transform ${It}ms ease;
|
|
85
85
|
backdrop-filter: blur(5px);
|
|
86
86
|
-webkit-backdrop-filter: blur(5px);
|
|
87
87
|
transform: scale(0.95);
|
|
@@ -139,11 +139,11 @@ class ke {
|
|
|
139
139
|
(c = this.tooltipElement) == null || c.remove(), this.tooltipElement = null, this.tooltipContent = null, this.hideTimeout && (clearTimeout(this.hideTimeout), this.hideTimeout = null);
|
|
140
140
|
}
|
|
141
141
|
}
|
|
142
|
-
function
|
|
142
|
+
function vn(d, c, h) {
|
|
143
143
|
return _(this, null, function* () {
|
|
144
144
|
if (!d.contentWindow)
|
|
145
145
|
throw new Error("Invalid iframe: contentWindow is null");
|
|
146
|
-
const f = yield Promise.resolve().then(() =>
|
|
146
|
+
const f = yield Promise.resolve().then(() => He);
|
|
147
147
|
try {
|
|
148
148
|
yield f.send(d.contentWindow, "SET_APPEARANCE", { appearance: c, identifier: h });
|
|
149
149
|
} catch (v) {
|
|
@@ -151,7 +151,7 @@ function pn(d, c, h) {
|
|
|
151
151
|
}
|
|
152
152
|
});
|
|
153
153
|
}
|
|
154
|
-
const
|
|
154
|
+
const wn = "IFRAME_READY", gn = "IFRAME_HEIGHT_CHANGE", yn = "TOOLTIP_STATE_CHANGE", En = "INFO_EVENT", xn = "CONSENT_STATE_CHANGE", U = {
|
|
155
155
|
// BASE
|
|
156
156
|
onHeightChange: {},
|
|
157
157
|
onIframeReady: {},
|
|
@@ -160,29 +160,29 @@ const vn = "IFRAME_READY", wn = "IFRAME_HEIGHT_CHANGE", gn = "TOOLTIP_STATE_CHAN
|
|
|
160
160
|
// CONSENT
|
|
161
161
|
onStateChange: {}
|
|
162
162
|
};
|
|
163
|
-
let
|
|
164
|
-
function
|
|
163
|
+
let Wt, Pt, Ct, Tt, Ot;
|
|
164
|
+
function Sn() {
|
|
165
165
|
return _(this, null, function* () {
|
|
166
|
-
const d = yield Promise.resolve().then(() =>
|
|
167
|
-
|
|
166
|
+
const d = yield Promise.resolve().then(() => He);
|
|
167
|
+
Wt || Pt || Ct || Tt || Ot || (Wt = d.on(gn, (c) => _(this, null, function* () {
|
|
168
168
|
const h = c.data, f = U.onHeightChange[h.identifier];
|
|
169
169
|
return f && f(h.height), Promise.resolve();
|
|
170
|
-
})),
|
|
170
|
+
})), Pt = d.on(wn, (c) => _(this, null, function* () {
|
|
171
171
|
const h = c.data, f = U.onIframeReady[h.identifier];
|
|
172
172
|
return f && f(), Promise.resolve();
|
|
173
|
-
})),
|
|
173
|
+
})), Ct = d.on(yn, (c) => _(this, null, function* () {
|
|
174
174
|
const h = c.data, f = U.onTooltipChange[h.identifier];
|
|
175
175
|
return f && f(h), Promise.resolve();
|
|
176
|
-
})),
|
|
176
|
+
})), Tt = d.on(xn, (c) => _(this, null, function* () {
|
|
177
177
|
const h = c.data, f = U.onStateChange[h.identifier];
|
|
178
178
|
return f && f(h), Promise.resolve();
|
|
179
|
-
})),
|
|
180
|
-
const E = c, { identifier: f } = E, v =
|
|
179
|
+
})), Ot = d.on(En, (h) => _(this, [h], function* ({ data: c }) {
|
|
180
|
+
const E = c, { identifier: f } = E, v = Et(E, ["identifier"]), y = U.onInfo[f];
|
|
181
181
|
return y && y(v), Promise.resolve();
|
|
182
182
|
})));
|
|
183
183
|
});
|
|
184
184
|
}
|
|
185
|
-
function
|
|
185
|
+
function Rt(d, c) {
|
|
186
186
|
const {
|
|
187
187
|
onHeightChange: h,
|
|
188
188
|
onIframeReady: f,
|
|
@@ -192,14 +192,14 @@ function Ot(d, c) {
|
|
|
192
192
|
} = c;
|
|
193
193
|
h && (U.onHeightChange[d] = h), f && (U.onIframeReady[d] = f), v && (U.onTooltipChange[d] = v), y && (U.onStateChange[d] = y), E && (U.onInfo[d] = E);
|
|
194
194
|
}
|
|
195
|
-
function
|
|
195
|
+
function bn(d) {
|
|
196
196
|
delete U.onHeightChange[d], delete U.onIframeReady[d], delete U.onTooltipChange[d], delete U.onStateChange[d], delete U.onInfo[d];
|
|
197
197
|
}
|
|
198
|
-
function
|
|
198
|
+
function In(d) {
|
|
199
199
|
const c = document.getElementById(d);
|
|
200
200
|
c && (console.warn("ConsentBox iframe already exists. Removing existing before mounting new one."), c.remove());
|
|
201
201
|
}
|
|
202
|
-
function
|
|
202
|
+
function Wn(d) {
|
|
203
203
|
const c = document.querySelector(d);
|
|
204
204
|
if (!c)
|
|
205
205
|
throw new Error(`Iframe div container with id '${d}' not found`);
|
|
@@ -217,7 +217,7 @@ function In(d) {
|
|
|
217
217
|
opacity: 1 !important;
|
|
218
218
|
`, h;
|
|
219
219
|
}
|
|
220
|
-
function
|
|
220
|
+
function Pn(d, c, h) {
|
|
221
221
|
const f = document.createElement("iframe");
|
|
222
222
|
return f.id = c, f.src = d, f.style.cssText += `
|
|
223
223
|
width: 100% !important;
|
|
@@ -229,10 +229,10 @@ function Wn(d, c, h) {
|
|
|
229
229
|
opacity 0.4s 0.1s;
|
|
230
230
|
`, f;
|
|
231
231
|
}
|
|
232
|
-
function
|
|
232
|
+
function Cn() {
|
|
233
233
|
return Math.random().toString(36).substring(2, 10);
|
|
234
234
|
}
|
|
235
|
-
const
|
|
235
|
+
const At = "https://app.soyio.id", Nt = "https://sandbox.soyio.id", Tn = "https://privacy.soyio.id", On = "https://privacy-sandbox.soyio.id", Rn = [
|
|
236
236
|
"DISCLOSURE_REQUEST_SUCCESSFUL",
|
|
237
237
|
"IDENTITY_REGISTERED",
|
|
238
238
|
"IDENTITY_SIGNATURE",
|
|
@@ -240,11 +240,11 @@ const Rt = "https://app.soyio.id", At = "https://sandbox.soyio.id", Cn = "https:
|
|
|
240
240
|
"DENIED_CAMERA_PERMISSION",
|
|
241
241
|
"REJECTED_SIGNATURE",
|
|
242
242
|
"CLOSE_POPUP"
|
|
243
|
-
],
|
|
243
|
+
], An = "WIDGET_CLOSED", Nn = 420, Dn = 720, Mn = 500, jn = {
|
|
244
244
|
minWidth: "375px"
|
|
245
|
-
}, jn = {
|
|
246
|
-
minWidth: "0px"
|
|
247
245
|
}, zn = {
|
|
246
|
+
minWidth: "0px"
|
|
247
|
+
}, Ln = {
|
|
248
248
|
minWidth: "375px"
|
|
249
249
|
};
|
|
250
250
|
class Ie {
|
|
@@ -254,13 +254,13 @@ class Ie {
|
|
|
254
254
|
N(this, "options");
|
|
255
255
|
N(this, "appearance");
|
|
256
256
|
N(this, "tooltipManager");
|
|
257
|
-
N(this, "defaultIframeCSSConfig",
|
|
257
|
+
N(this, "defaultIframeCSSConfig", jn);
|
|
258
258
|
N(this, "Skeleton", null);
|
|
259
259
|
N(this, "defaultUniqueId");
|
|
260
260
|
this.options = c, this.appearance = c.appearance || null, this.tooltipManager = new ke(), this.defaultUniqueId = Ie.generateUniqueId();
|
|
261
261
|
}
|
|
262
262
|
static generateUniqueId() {
|
|
263
|
-
return
|
|
263
|
+
return Cn();
|
|
264
264
|
}
|
|
265
265
|
get uniqueIdentifier() {
|
|
266
266
|
return this.defaultUniqueId;
|
|
@@ -276,7 +276,7 @@ class Ie {
|
|
|
276
276
|
}
|
|
277
277
|
handleIframeReady() {
|
|
278
278
|
return _(this, null, function* () {
|
|
279
|
-
this.iframe && (this.options.onReady && this.options.onReady(), yield
|
|
279
|
+
this.iframe && (this.options.onReady && this.options.onReady(), yield vn(this.iframe, this.appearance, this.uniqueIdentifier), this.skeleton && this.skeleton.hide());
|
|
280
280
|
});
|
|
281
281
|
}
|
|
282
282
|
handleTooltipChange(c) {
|
|
@@ -287,30 +287,30 @@ class Ie {
|
|
|
287
287
|
}
|
|
288
288
|
setupListeners() {
|
|
289
289
|
return _(this, null, function* () {
|
|
290
|
-
yield
|
|
290
|
+
yield Sn();
|
|
291
291
|
const c = {
|
|
292
292
|
onHeightChange: this.handleHeightChange.bind(this),
|
|
293
293
|
onIframeReady: this.handleIframeReady.bind(this),
|
|
294
294
|
onTooltipChange: this.handleTooltipChange.bind(this),
|
|
295
295
|
onInfo: this.options.onEvent.bind(this)
|
|
296
296
|
};
|
|
297
|
-
|
|
297
|
+
Rt(this.uniqueIdentifier, c);
|
|
298
298
|
});
|
|
299
299
|
}
|
|
300
300
|
mount(c) {
|
|
301
301
|
return _(this, null, function* () {
|
|
302
302
|
if (!Se)
|
|
303
303
|
return this;
|
|
304
|
-
yield this.setupListeners(),
|
|
305
|
-
const h =
|
|
306
|
-
return this.iframe =
|
|
304
|
+
yield this.setupListeners(), In(this.iframeIdentifier);
|
|
305
|
+
const h = Wn(c), f = this.iframeUrl();
|
|
306
|
+
return this.iframe = Pn(f, this.iframeIdentifier, this.defaultIframeCSSConfig), this.Skeleton && (this.skeleton = new this.Skeleton(this.uniqueIdentifier), this.skeleton.mount(h)), h.appendChild(this.iframe), this;
|
|
307
307
|
});
|
|
308
308
|
}
|
|
309
309
|
unmount() {
|
|
310
|
-
Se && (
|
|
310
|
+
Se && (bn(this.uniqueIdentifier), this.skeleton && (this.skeleton.hide(), this.skeleton = null), this.iframe && (this.iframe.remove(), this.iframe = null));
|
|
311
311
|
}
|
|
312
312
|
}
|
|
313
|
-
class
|
|
313
|
+
class kn {
|
|
314
314
|
constructor(c) {
|
|
315
315
|
N(this, "element");
|
|
316
316
|
N(this, "identifier");
|
|
@@ -439,7 +439,8 @@ class Ln {
|
|
|
439
439
|
this.element.style.opacity = "0", setTimeout(() => this.element.remove(), 300);
|
|
440
440
|
}
|
|
441
441
|
}
|
|
442
|
-
|
|
442
|
+
const Ue = "2.13.5";
|
|
443
|
+
function Un(d) {
|
|
443
444
|
var E;
|
|
444
445
|
const c = [
|
|
445
446
|
"actionToken",
|
|
@@ -447,29 +448,29 @@ function kn(d) {
|
|
|
447
448
|
"context",
|
|
448
449
|
"optionalReconsentBehavior",
|
|
449
450
|
"mandatoryReconsentBehavior"
|
|
450
|
-
], h = (E = d.isSandbox) != null ? E : !1, f = d.developmentUrl || (h ?
|
|
451
|
-
c.forEach((I) => {
|
|
451
|
+
], h = (E = d.isSandbox) != null ? E : !1, f = d.developmentUrl || (h ? Nt : At), v = new URLSearchParams();
|
|
452
|
+
v.set("sdkVersion", Ue), c.forEach((I) => {
|
|
452
453
|
d[I] && v.set(I, d[I]);
|
|
453
454
|
});
|
|
454
455
|
const y = v.toString();
|
|
455
456
|
return `${f}/embed/consents/${d.consentTemplateId}${y ? `?${y}` : ""}`;
|
|
456
457
|
}
|
|
457
|
-
class
|
|
458
|
+
class Dt extends Ie {
|
|
458
459
|
constructor(h) {
|
|
459
460
|
super(h);
|
|
460
461
|
N(this, "defaultIframePrefix", "consent-box");
|
|
461
|
-
N(this, "defaultIframeCSSConfig",
|
|
462
|
+
N(this, "defaultIframeCSSConfig", zn);
|
|
462
463
|
N(this, "state", {
|
|
463
464
|
isSelected: !1,
|
|
464
465
|
actionToken: null
|
|
465
466
|
});
|
|
466
|
-
this.Skeleton =
|
|
467
|
+
this.Skeleton = kn;
|
|
467
468
|
}
|
|
468
469
|
get uniqueIdentifier() {
|
|
469
470
|
return this.options.consentTemplateId;
|
|
470
471
|
}
|
|
471
472
|
iframeUrl() {
|
|
472
|
-
return
|
|
473
|
+
return Un(this.options);
|
|
473
474
|
}
|
|
474
475
|
handleStateChange(h) {
|
|
475
476
|
const { isSelected: f, actionToken: v } = h;
|
|
@@ -481,7 +482,7 @@ class Nt extends Ie {
|
|
|
481
482
|
}
|
|
482
483
|
setupListeners() {
|
|
483
484
|
return _(this, null, function* () {
|
|
484
|
-
yield
|
|
485
|
+
yield bt(Dt.prototype, this, "setupListeners").call(this), Rt(this.uniqueIdentifier, {
|
|
485
486
|
onStateChange: this.handleStateChange.bind(this)
|
|
486
487
|
});
|
|
487
488
|
});
|
|
@@ -490,53 +491,53 @@ class Nt extends Ie {
|
|
|
490
491
|
return this.state;
|
|
491
492
|
}
|
|
492
493
|
}
|
|
493
|
-
function
|
|
494
|
+
function Fn(d) {
|
|
494
495
|
var y, E;
|
|
495
|
-
const c = (y = d.isSandbox) != null ? y : !1, h = d.developmentUrl || (c ?
|
|
496
|
-
d.sessionToken ? f.set("sessionToken", d.sessionToken) : d.companyId && (f.set("companyId", d.companyId), d.subjectId && f.set("subjectId", d.subjectId)), (E = d.enabledFeatures) != null && E.length && f.set("enabledFeatures", d.enabledFeatures.join(","));
|
|
496
|
+
const c = (y = d.isSandbox) != null ? y : !1, h = d.developmentUrl || (c ? On : Tn), f = new URLSearchParams();
|
|
497
|
+
f.set("sdkVersion", Ue), d.sessionToken ? f.set("sessionToken", d.sessionToken) : d.companyId && (f.set("companyId", d.companyId), d.subjectId && f.set("subjectId", d.subjectId)), (E = d.enabledFeatures) != null && E.length && f.set("enabledFeatures", d.enabledFeatures.join(","));
|
|
497
498
|
const v = f.toString();
|
|
498
499
|
return `${h}${v ? `?${v}` : ""}`;
|
|
499
500
|
}
|
|
500
|
-
class
|
|
501
|
+
class tr extends Ie {
|
|
501
502
|
constructor() {
|
|
502
503
|
super(...arguments);
|
|
503
504
|
N(this, "defaultIframePrefix", "privacy-center");
|
|
504
505
|
N(this, "_uniqueIdentifier", "privacy-center");
|
|
505
|
-
N(this, "defaultIframeCSSConfig",
|
|
506
|
+
N(this, "defaultIframeCSSConfig", Ln);
|
|
506
507
|
}
|
|
507
508
|
get uniqueIdentifier() {
|
|
508
509
|
return this._uniqueIdentifier;
|
|
509
510
|
}
|
|
510
511
|
iframeUrl() {
|
|
511
|
-
return
|
|
512
|
+
return Fn(this.options);
|
|
512
513
|
}
|
|
513
514
|
}
|
|
514
|
-
const
|
|
515
|
+
const nr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
515
516
|
__proto__: null
|
|
516
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
517
|
-
function
|
|
517
|
+
}, Symbol.toStringTag, { value: "Module" })), Hn = "WIDGET_EVENT";
|
|
518
|
+
function _n(d) {
|
|
518
519
|
let c = "widget/";
|
|
519
520
|
return "disclosureRequestId" in d.configProps ? c += ["disclosures", d.configProps.disclosureRequestId].join("/") : c += d.request, c;
|
|
520
521
|
}
|
|
521
|
-
function
|
|
522
|
+
function qn(d) {
|
|
522
523
|
var y;
|
|
523
|
-
const c = (y = d.isSandbox) != null ? y : !1, h = d.developmentUrl || (c ?
|
|
524
|
-
return `${h}/${v}?sdk=web&${f}`;
|
|
524
|
+
const c = (y = d.isSandbox) != null ? y : !1, h = d.developmentUrl || (c ? Nt : At), f = Object.entries(d.configProps).filter(([E, I]) => I || E === "disclosureRequestId").map(([E, I]) => `${E}=${encodeURIComponent(I)}`).join("&"), v = _n(d);
|
|
525
|
+
return `${h}/${v}?sdk=web&sdkVersion=${Ue}&${f}`;
|
|
525
526
|
}
|
|
526
527
|
let Y = null, ze = null;
|
|
527
528
|
function Le(d = null) {
|
|
528
529
|
Y && !Y.closed && Y.focus(), d == null || d.preventDefault();
|
|
529
530
|
}
|
|
530
|
-
function
|
|
531
|
+
function Fe() {
|
|
531
532
|
document.body.style.filter = "", document.body.removeEventListener("click", Le);
|
|
532
533
|
}
|
|
533
|
-
function
|
|
534
|
+
function Bn() {
|
|
534
535
|
ze = setInterval(() => {
|
|
535
|
-
(!Y || Y.closed) && (ze && clearInterval(ze),
|
|
536
|
-
},
|
|
536
|
+
(!Y || Y.closed) && (ze && clearInterval(ze), Fe());
|
|
537
|
+
}, Mn);
|
|
537
538
|
}
|
|
538
|
-
function
|
|
539
|
-
const c =
|
|
539
|
+
function Gn(d) {
|
|
540
|
+
const c = qn(d), h = Nn, f = Dn, v = window.screenLeft !== void 0 ? window.screenLeft : window.screenX, y = window.screenTop !== void 0 ? window.screenTop : window.screenY, E = window.innerWidth || document.documentElement.clientWidth || window.screen.width, I = window.innerHeight || document.documentElement.clientHeight || window.screen.height, A = E / window.screen.availWidth, D = (E - h) / 2 / A + v, k = (I - f) / 2 / A + y;
|
|
540
541
|
document.body.style.filter = "blur(5px)", document.body.addEventListener("click", Le), Y = window.open(
|
|
541
542
|
c,
|
|
542
543
|
"Soyio",
|
|
@@ -545,48 +546,48 @@ function Bn(d) {
|
|
|
545
546
|
height=${f},
|
|
546
547
|
top=${k},
|
|
547
548
|
left=${D}`
|
|
548
|
-
), Le(),
|
|
549
|
+
), Le(), Bn();
|
|
549
550
|
}
|
|
550
|
-
function
|
|
551
|
-
Y && (Y.close(), Y = null),
|
|
551
|
+
function $n() {
|
|
552
|
+
Y && (Y.close(), Y = null), Fe();
|
|
552
553
|
}
|
|
553
554
|
let me = null;
|
|
554
|
-
function
|
|
555
|
+
function Vn() {
|
|
555
556
|
me && (me.cancel(), me = null);
|
|
556
557
|
}
|
|
557
|
-
function
|
|
558
|
+
function Jn(d) {
|
|
558
559
|
return _(this, null, function* () {
|
|
559
|
-
const { onEvent: c } = d, h = yield Promise.resolve().then(() =>
|
|
560
|
-
me &&
|
|
561
|
-
return c(f),
|
|
560
|
+
const { onEvent: c } = d, h = yield Promise.resolve().then(() => He);
|
|
561
|
+
me && Vn(), me = h.on(Hn, (v) => _(this, [v], function* ({ data: f }) {
|
|
562
|
+
return c(f), Rn.includes(f.eventName) ? $n() : f.eventName === An && Fe(), Promise.resolve();
|
|
562
563
|
}));
|
|
563
564
|
});
|
|
564
565
|
}
|
|
565
|
-
function
|
|
566
|
-
|
|
566
|
+
function Yn(d) {
|
|
567
|
+
Jn(d);
|
|
567
568
|
}
|
|
568
|
-
var be,
|
|
569
|
-
class
|
|
569
|
+
var be, Mt;
|
|
570
|
+
class rr {
|
|
570
571
|
constructor(c) {
|
|
571
|
-
|
|
572
|
+
xt(this, be);
|
|
572
573
|
N(this, "onEvent");
|
|
573
|
-
this.onEvent = c.onEvent, Se && (
|
|
574
|
-
onEvent:
|
|
574
|
+
this.onEvent = c.onEvent, Se && (Gn(c), Yn({
|
|
575
|
+
onEvent: St(this, be, Mt).bind(this)
|
|
575
576
|
}));
|
|
576
577
|
}
|
|
577
578
|
}
|
|
578
|
-
be = new WeakSet(),
|
|
579
|
+
be = new WeakSet(), Mt = function(c) {
|
|
579
580
|
this.onEvent(c);
|
|
580
581
|
};
|
|
581
|
-
var
|
|
582
|
-
function
|
|
582
|
+
var Zn = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
|
|
583
|
+
function Kn(d) {
|
|
583
584
|
return d && d.__esModule && Object.prototype.hasOwnProperty.call(d, "default") ? d.default : d;
|
|
584
585
|
}
|
|
585
|
-
var
|
|
586
|
+
var jt = { exports: {} }, zt = { exports: {} };
|
|
586
587
|
(function(d, c) {
|
|
587
588
|
(function(h, f) {
|
|
588
589
|
d.exports = f();
|
|
589
|
-
})(typeof self != "undefined" ? self :
|
|
590
|
+
})(typeof self != "undefined" ? self : Zn, function() {
|
|
590
591
|
return function(h) {
|
|
591
592
|
var f = {};
|
|
592
593
|
function v(y) {
|
|
@@ -637,31 +638,31 @@ var Mt = { exports: {} }, jt = { exports: {} };
|
|
|
637
638
|
v.r(f), v.d(f, "Promise", function() {
|
|
638
639
|
return P;
|
|
639
640
|
}), v.d(f, "TYPES", function() {
|
|
640
|
-
return
|
|
641
|
+
return an;
|
|
641
642
|
}), v.d(f, "ProxyWindow", function() {
|
|
642
643
|
return G;
|
|
643
644
|
}), v.d(f, "setup", function() {
|
|
644
|
-
return
|
|
645
|
+
return gt;
|
|
645
646
|
}), v.d(f, "destroy", function() {
|
|
646
|
-
return
|
|
647
|
+
return on;
|
|
647
648
|
}), v.d(f, "serializeMessage", function() {
|
|
648
|
-
return Qt;
|
|
649
|
-
}), v.d(f, "deserializeMessage", function() {
|
|
650
649
|
return en;
|
|
651
|
-
}), v.d(f, "
|
|
650
|
+
}), v.d(f, "deserializeMessage", function() {
|
|
652
651
|
return tn;
|
|
653
|
-
}), v.d(f, "
|
|
652
|
+
}), v.d(f, "createProxyWindow", function() {
|
|
654
653
|
return nn;
|
|
654
|
+
}), v.d(f, "toProxyWindow", function() {
|
|
655
|
+
return rn;
|
|
655
656
|
}), v.d(f, "on", function() {
|
|
656
657
|
return K;
|
|
657
658
|
}), v.d(f, "once", function() {
|
|
658
|
-
return
|
|
659
|
+
return Qt;
|
|
659
660
|
}), v.d(f, "send", function() {
|
|
660
661
|
return X;
|
|
661
662
|
}), v.d(f, "markWindowKnown", function() {
|
|
662
|
-
return
|
|
663
|
+
return at;
|
|
663
664
|
}), v.d(f, "cleanUpWindow", function() {
|
|
664
|
-
return
|
|
665
|
+
return sn;
|
|
665
666
|
}), v.d(f, "bridge", function() {
|
|
666
667
|
});
|
|
667
668
|
function y(e) {
|
|
@@ -774,7 +775,7 @@ var Mt = { exports: {} }, jt = { exports: {} };
|
|
|
774
775
|
throw new Error("Expected window to be same domain");
|
|
775
776
|
return e;
|
|
776
777
|
}
|
|
777
|
-
function
|
|
778
|
+
function _e(e, n) {
|
|
778
779
|
if (!e || !n)
|
|
779
780
|
return !1;
|
|
780
781
|
var t = k(n);
|
|
@@ -788,7 +789,7 @@ var Mt = { exports: {} }, jt = { exports: {} };
|
|
|
788
789
|
return o;
|
|
789
790
|
}(n).indexOf(e) !== -1;
|
|
790
791
|
}
|
|
791
|
-
function
|
|
792
|
+
function qe(e) {
|
|
792
793
|
var n = [], t;
|
|
793
794
|
try {
|
|
794
795
|
t = e.frames;
|
|
@@ -827,7 +828,7 @@ var Mt = { exports: {} }, jt = { exports: {} };
|
|
|
827
828
|
}
|
|
828
829
|
return n;
|
|
829
830
|
}
|
|
830
|
-
var
|
|
831
|
+
var kt = [], Ut = [];
|
|
831
832
|
function $(e, n) {
|
|
832
833
|
n === void 0 && (n = !0);
|
|
833
834
|
try {
|
|
@@ -867,9 +868,9 @@ var Mt = { exports: {} }, jt = { exports: {} };
|
|
|
867
868
|
} catch (l) {
|
|
868
869
|
}
|
|
869
870
|
return -1;
|
|
870
|
-
}(
|
|
871
|
+
}(kt, e);
|
|
871
872
|
if (t !== -1) {
|
|
872
|
-
var r =
|
|
873
|
+
var r = Ut[t];
|
|
873
874
|
if (r && function(o) {
|
|
874
875
|
if (!o.contentWindow || !o.parentNode)
|
|
875
876
|
return !0;
|
|
@@ -886,7 +887,7 @@ var Mt = { exports: {} }, jt = { exports: {} };
|
|
|
886
887
|
}
|
|
887
888
|
return !1;
|
|
888
889
|
}
|
|
889
|
-
function
|
|
890
|
+
function Be(e) {
|
|
890
891
|
return e === void 0 && (e = window), oe(e = e || window) || k(e) || void 0;
|
|
891
892
|
}
|
|
892
893
|
function re(e, n) {
|
|
@@ -956,7 +957,7 @@ var Mt = { exports: {} }, jt = { exports: {} };
|
|
|
956
957
|
}
|
|
957
958
|
return !1;
|
|
958
959
|
}
|
|
959
|
-
function
|
|
960
|
+
function Ge(e) {
|
|
960
961
|
if (Q(e))
|
|
961
962
|
return ve(e).frameElement;
|
|
962
963
|
for (var n = 0, t = document.querySelectorAll("iframe"); n < t.length; n++) {
|
|
@@ -965,11 +966,11 @@ var Mt = { exports: {} }, jt = { exports: {} };
|
|
|
965
966
|
return r;
|
|
966
967
|
}
|
|
967
968
|
}
|
|
968
|
-
function
|
|
969
|
+
function Ft(e) {
|
|
969
970
|
if (function(t) {
|
|
970
971
|
return t === void 0 && (t = window), !!k(t);
|
|
971
972
|
}(e)) {
|
|
972
|
-
var n =
|
|
973
|
+
var n = Ge(e);
|
|
973
974
|
if (n && n.parentElement) {
|
|
974
975
|
n.parentElement.removeChild(n);
|
|
975
976
|
return;
|
|
@@ -1001,8 +1002,8 @@ var Mt = { exports: {} }, jt = { exports: {} };
|
|
|
1001
1002
|
}
|
|
1002
1003
|
return !1;
|
|
1003
1004
|
}
|
|
1004
|
-
var
|
|
1005
|
-
function
|
|
1005
|
+
var $e = [], ie = [], We = 0, ae;
|
|
1006
|
+
function Ve() {
|
|
1006
1007
|
if (!We && ae) {
|
|
1007
1008
|
var e = ae;
|
|
1008
1009
|
ae = null, e.resolve();
|
|
@@ -1012,7 +1013,7 @@ var Mt = { exports: {} }, jt = { exports: {} };
|
|
|
1012
1013
|
We += 1;
|
|
1013
1014
|
}
|
|
1014
1015
|
function se() {
|
|
1015
|
-
We -= 1,
|
|
1016
|
+
We -= 1, Ve();
|
|
1016
1017
|
}
|
|
1017
1018
|
var P = function() {
|
|
1018
1019
|
function e(t) {
|
|
@@ -1052,8 +1053,8 @@ var Mt = { exports: {} }, jt = { exports: {} };
|
|
|
1052
1053
|
}
|
|
1053
1054
|
return this.rejected = !0, this.error = t, this.errorHandled || setTimeout(function() {
|
|
1054
1055
|
r.errorHandled || function(i, a) {
|
|
1055
|
-
if (
|
|
1056
|
-
|
|
1056
|
+
if ($e.indexOf(i) === -1) {
|
|
1057
|
+
$e.push(i), setTimeout(function() {
|
|
1057
1058
|
throw i;
|
|
1058
1059
|
}, 1);
|
|
1059
1060
|
for (var l = 0; l < ie.length; l++)
|
|
@@ -1219,7 +1220,7 @@ var Mt = { exports: {} }, jt = { exports: {} };
|
|
|
1219
1220
|
}, e.flush = function() {
|
|
1220
1221
|
return function(t) {
|
|
1221
1222
|
var r = ae = ae || new t();
|
|
1222
|
-
return
|
|
1223
|
+
return Ve(), r;
|
|
1223
1224
|
}(e);
|
|
1224
1225
|
}, e;
|
|
1225
1226
|
}();
|
|
@@ -1353,10 +1354,10 @@ var Mt = { exports: {} }, jt = { exports: {} };
|
|
|
1353
1354
|
return this.set(t, o), o;
|
|
1354
1355
|
}, e;
|
|
1355
1356
|
}();
|
|
1356
|
-
function
|
|
1357
|
+
function Je(e) {
|
|
1357
1358
|
return e.name || e.__name__ || e.displayName || "anonymous";
|
|
1358
1359
|
}
|
|
1359
|
-
function
|
|
1360
|
+
function Ye(e, n) {
|
|
1360
1361
|
try {
|
|
1361
1362
|
delete e.name, e.name = n;
|
|
1362
1363
|
} catch (t) {
|
|
@@ -1378,7 +1379,7 @@ var Mt = { exports: {} }, jt = { exports: {} };
|
|
|
1378
1379
|
}((/* @__PURE__ */ new Date()).toISOString().slice(11, 19).replace("T", ".")).replace(/[^a-zA-Z0-9]/g, "").toLowerCase();
|
|
1379
1380
|
}
|
|
1380
1381
|
var ye;
|
|
1381
|
-
function
|
|
1382
|
+
function Ze(e) {
|
|
1382
1383
|
try {
|
|
1383
1384
|
return JSON.stringify([].slice.call(e), function(n, t) {
|
|
1384
1385
|
return typeof t == "function" ? "memoize[" + function(r) {
|
|
@@ -1392,10 +1393,10 @@ var Mt = { exports: {} }, jt = { exports: {} };
|
|
|
1392
1393
|
throw new Error("Arguments not serializable -- can not be used to memoize");
|
|
1393
1394
|
}
|
|
1394
1395
|
}
|
|
1395
|
-
function
|
|
1396
|
+
function Ht() {
|
|
1396
1397
|
return {};
|
|
1397
1398
|
}
|
|
1398
|
-
var ue = 0,
|
|
1399
|
+
var ue = 0, Ke = 0;
|
|
1399
1400
|
function ce(e, n) {
|
|
1400
1401
|
n === void 0 && (n = {});
|
|
1401
1402
|
var t = n.thisNamespace, r = t !== void 0 && t, o = n.time, i, a, l = ue;
|
|
@@ -1403,12 +1404,12 @@ var Mt = { exports: {} }, jt = { exports: {} };
|
|
|
1403
1404
|
var u = function() {
|
|
1404
1405
|
for (var s = arguments.length, w = new Array(s), m = 0; m < s; m++)
|
|
1405
1406
|
w[m] = arguments[m];
|
|
1406
|
-
l <
|
|
1407
|
+
l < Ke && (i = null, a = null, l = ue, ue += 1);
|
|
1407
1408
|
var p;
|
|
1408
|
-
p = r ? (a = a || new Ce()).getOrSet(this,
|
|
1409
|
+
p = r ? (a = a || new Ce()).getOrSet(this, Ht) : i = i || {};
|
|
1409
1410
|
var g;
|
|
1410
1411
|
try {
|
|
1411
|
-
g =
|
|
1412
|
+
g = Ze(w);
|
|
1412
1413
|
} catch (C) {
|
|
1413
1414
|
return e.apply(this, arguments);
|
|
1414
1415
|
}
|
|
@@ -1423,17 +1424,17 @@ var Mt = { exports: {} }, jt = { exports: {} };
|
|
|
1423
1424
|
};
|
|
1424
1425
|
return u.reset = function() {
|
|
1425
1426
|
i = null, a = null;
|
|
1426
|
-
},
|
|
1427
|
+
}, Ye(u, (n.name || Je(e)) + "::memoized");
|
|
1427
1428
|
}
|
|
1428
1429
|
ce.clear = function() {
|
|
1429
|
-
|
|
1430
|
+
Ke = ue;
|
|
1430
1431
|
};
|
|
1431
|
-
function
|
|
1432
|
+
function _t(e) {
|
|
1432
1433
|
var n = {};
|
|
1433
1434
|
function t() {
|
|
1434
1435
|
for (var r = arguments, o = this, i = arguments.length, a = new Array(i), l = 0; l < i; l++)
|
|
1435
1436
|
a[l] = arguments[l];
|
|
1436
|
-
var u =
|
|
1437
|
+
var u = Ze(a);
|
|
1437
1438
|
return n.hasOwnProperty(u) || (n[u] = P.try(function() {
|
|
1438
1439
|
return e.apply(o, r);
|
|
1439
1440
|
}).finally(function() {
|
|
@@ -1442,7 +1443,7 @@ var Mt = { exports: {} }, jt = { exports: {} };
|
|
|
1442
1443
|
}
|
|
1443
1444
|
return t.reset = function() {
|
|
1444
1445
|
n = {};
|
|
1445
|
-
},
|
|
1446
|
+
}, Ye(t, Je(e) + "::promiseMemoized");
|
|
1446
1447
|
}
|
|
1447
1448
|
function te() {
|
|
1448
1449
|
}
|
|
@@ -1469,7 +1470,7 @@ var Mt = { exports: {} }, jt = { exports: {} };
|
|
|
1469
1470
|
return "Error while stringifying error: " + de(o, n + 1);
|
|
1470
1471
|
}
|
|
1471
1472
|
}
|
|
1472
|
-
function
|
|
1473
|
+
function Xe(e) {
|
|
1473
1474
|
return typeof e == "string" ? e : e && e.toString && typeof e.toString == "function" ? e.toString() : {}.toString.call(e);
|
|
1474
1475
|
}
|
|
1475
1476
|
ce(function(e) {
|
|
@@ -1489,29 +1490,29 @@ var Mt = { exports: {} }, jt = { exports: {} };
|
|
|
1489
1490
|
var r = t();
|
|
1490
1491
|
return e[n] = r, r;
|
|
1491
1492
|
}
|
|
1492
|
-
function
|
|
1493
|
+
function Qe() {
|
|
1493
1494
|
var e = document.body;
|
|
1494
1495
|
if (!e)
|
|
1495
1496
|
throw new Error("Body element not found");
|
|
1496
1497
|
return e;
|
|
1497
1498
|
}
|
|
1498
|
-
function
|
|
1499
|
+
function et() {
|
|
1499
1500
|
return !!document.body && document.readyState === "complete";
|
|
1500
1501
|
}
|
|
1501
|
-
function
|
|
1502
|
+
function tt() {
|
|
1502
1503
|
return !!document.body && document.readyState === "interactive";
|
|
1503
1504
|
}
|
|
1504
1505
|
ce(function() {
|
|
1505
1506
|
return new P(function(e) {
|
|
1506
|
-
if (
|
|
1507
|
+
if (et() || tt())
|
|
1507
1508
|
return e();
|
|
1508
1509
|
var n = setInterval(function() {
|
|
1509
|
-
if (
|
|
1510
|
+
if (et() || tt())
|
|
1510
1511
|
return clearInterval(n), e();
|
|
1511
1512
|
}, 10);
|
|
1512
1513
|
});
|
|
1513
1514
|
});
|
|
1514
|
-
var Ee = typeof document != "undefined" ? document.currentScript : null,
|
|
1515
|
+
var Ee = typeof document != "undefined" ? document.currentScript : null, qt = ce(function() {
|
|
1515
1516
|
if (Ee || (Ee = function() {
|
|
1516
1517
|
try {
|
|
1517
1518
|
var e = function() {
|
|
@@ -1533,13 +1534,13 @@ var Mt = { exports: {} }, jt = { exports: {} };
|
|
|
1533
1534
|
}()))
|
|
1534
1535
|
return Ee;
|
|
1535
1536
|
throw new Error("Can not determine current script");
|
|
1536
|
-
}),
|
|
1537
|
+
}), Bt = J();
|
|
1537
1538
|
ce(function() {
|
|
1538
1539
|
var e;
|
|
1539
1540
|
try {
|
|
1540
|
-
e =
|
|
1541
|
+
e = qt();
|
|
1541
1542
|
} catch (r) {
|
|
1542
|
-
return
|
|
1543
|
+
return Bt;
|
|
1543
1544
|
}
|
|
1544
1545
|
var n = e.getAttribute("data-uid");
|
|
1545
1546
|
if (n && typeof n == "string" || (n = e.getAttribute("data-uid-auto")) && typeof n == "string")
|
|
@@ -1565,11 +1566,11 @@ var Mt = { exports: {} }, jt = { exports: {} };
|
|
|
1565
1566
|
var n = "__post_robot_10_0_46__";
|
|
1566
1567
|
return e !== window ? e[n] : e[n] = e[n] || {};
|
|
1567
1568
|
}
|
|
1568
|
-
var
|
|
1569
|
+
var nt = function() {
|
|
1569
1570
|
return {};
|
|
1570
1571
|
};
|
|
1571
1572
|
function z(e, n) {
|
|
1572
|
-
return e === void 0 && (e = "store"), n === void 0 && (n =
|
|
1573
|
+
return e === void 0 && (e = "store"), n === void 0 && (n = nt), fe(le(), e, function() {
|
|
1573
1574
|
var t = n();
|
|
1574
1575
|
return {
|
|
1575
1576
|
has: function(r) {
|
|
@@ -1596,14 +1597,14 @@ var Mt = { exports: {} }, jt = { exports: {} };
|
|
|
1596
1597
|
};
|
|
1597
1598
|
});
|
|
1598
1599
|
}
|
|
1599
|
-
var
|
|
1600
|
+
var Gt = function() {
|
|
1600
1601
|
};
|
|
1601
1602
|
function xe() {
|
|
1602
1603
|
var e = le();
|
|
1603
|
-
return e.WINDOW_WILDCARD = e.WINDOW_WILDCARD || new
|
|
1604
|
+
return e.WINDOW_WILDCARD = e.WINDOW_WILDCARD || new Gt(), e.WINDOW_WILDCARD;
|
|
1604
1605
|
}
|
|
1605
1606
|
function H(e, n) {
|
|
1606
|
-
return e === void 0 && (e = "store"), n === void 0 && (n =
|
|
1607
|
+
return e === void 0 && (e = "store"), n === void 0 && (n = nt), z("windowStore").getOrSet(e, function() {
|
|
1607
1608
|
var t = new Ce(), r = function(o) {
|
|
1608
1609
|
return t.getOrSet(o, n);
|
|
1609
1610
|
};
|
|
@@ -1627,10 +1628,10 @@ var Mt = { exports: {} }, jt = { exports: {} };
|
|
|
1627
1628
|
};
|
|
1628
1629
|
});
|
|
1629
1630
|
}
|
|
1630
|
-
function
|
|
1631
|
+
function rt() {
|
|
1631
1632
|
return z("instance").getOrSet("instanceID", J);
|
|
1632
1633
|
}
|
|
1633
|
-
function
|
|
1634
|
+
function ot(e, n) {
|
|
1634
1635
|
var t = n.domain, r = H("helloPromises"), o = r.get(e);
|
|
1635
1636
|
o && o.resolve({
|
|
1636
1637
|
domain: t
|
|
@@ -1642,13 +1643,13 @@ var Mt = { exports: {} }, jt = { exports: {} };
|
|
|
1642
1643
|
}
|
|
1643
1644
|
function Oe(e, n) {
|
|
1644
1645
|
return (0, n.send)(e, "postrobot_hello", {
|
|
1645
|
-
instanceID:
|
|
1646
|
+
instanceID: rt()
|
|
1646
1647
|
}, {
|
|
1647
1648
|
domain: "*",
|
|
1648
1649
|
timeout: -1
|
|
1649
1650
|
}).then(function(t) {
|
|
1650
1651
|
var r = t.origin, o = t.data.instanceID;
|
|
1651
|
-
return
|
|
1652
|
+
return ot(e, {
|
|
1652
1653
|
domain: r
|
|
1653
1654
|
}), {
|
|
1654
1655
|
win: e,
|
|
@@ -1657,7 +1658,7 @@ var Mt = { exports: {} }, jt = { exports: {} };
|
|
|
1657
1658
|
};
|
|
1658
1659
|
});
|
|
1659
1660
|
}
|
|
1660
|
-
function
|
|
1661
|
+
function it(e, n) {
|
|
1661
1662
|
var t = n.send;
|
|
1662
1663
|
return H("windowInstanceIDPromises").getOrSet(e, function() {
|
|
1663
1664
|
return Oe(e, {
|
|
@@ -1667,13 +1668,13 @@ var Mt = { exports: {} }, jt = { exports: {} };
|
|
|
1667
1668
|
});
|
|
1668
1669
|
});
|
|
1669
1670
|
}
|
|
1670
|
-
function
|
|
1671
|
+
function at(e) {
|
|
1671
1672
|
H("knownWindows").set(e, !0);
|
|
1672
1673
|
}
|
|
1673
1674
|
function Re(e) {
|
|
1674
1675
|
return typeof e == "object" && e !== null && typeof e.__type__ == "string";
|
|
1675
1676
|
}
|
|
1676
|
-
function
|
|
1677
|
+
function st(e) {
|
|
1677
1678
|
return e === void 0 ? "undefined" : e === null ? "null" : Array.isArray(e) ? "array" : typeof e == "function" ? "function" : typeof e == "object" ? e instanceof Error ? "error" : typeof e.then == "function" ? "promise" : {}.toString.call(e) === "[object RegExp]" ? "regex" : {}.toString.call(e) === "[object Date]" ? "date" : "object" : typeof e == "string" ? "string" : typeof e == "number" ? "number" : typeof e == "boolean" ? "boolean" : void 0;
|
|
1678
1679
|
}
|
|
1679
1680
|
function ne(e, n) {
|
|
@@ -1682,7 +1683,7 @@ var Mt = { exports: {} }, jt = { exports: {} };
|
|
|
1682
1683
|
__val__: n
|
|
1683
1684
|
};
|
|
1684
1685
|
}
|
|
1685
|
-
var q,
|
|
1686
|
+
var q, $t = ((q = {}).function = function() {
|
|
1686
1687
|
}, q.error = function(e) {
|
|
1687
1688
|
return ne("error", {
|
|
1688
1689
|
message: e.message,
|
|
@@ -1709,7 +1710,7 @@ var Mt = { exports: {} }, jt = { exports: {} };
|
|
|
1709
1710
|
return e;
|
|
1710
1711
|
}, q[void 0] = function(e) {
|
|
1711
1712
|
return ne("undefined", e);
|
|
1712
|
-
}, q),
|
|
1713
|
+
}, q), Vt = {}, B, Jt = ((B = {}).function = function() {
|
|
1713
1714
|
throw new Error("Function serialization is not implemented; nothing to deserialize");
|
|
1714
1715
|
}, B.error = function(e) {
|
|
1715
1716
|
var n = e.stack, t = e.code, r = e.data, o = new Error(e.message);
|
|
@@ -1735,7 +1736,7 @@ var Mt = { exports: {} }, jt = { exports: {} };
|
|
|
1735
1736
|
}, B.null = function(e) {
|
|
1736
1737
|
return e;
|
|
1737
1738
|
}, B[void 0] = function() {
|
|
1738
|
-
}, B),
|
|
1739
|
+
}, B), Yt = {};
|
|
1739
1740
|
new P(function(e) {
|
|
1740
1741
|
if (window.document && window.document.body)
|
|
1741
1742
|
return e(window.document.body);
|
|
@@ -1750,7 +1751,7 @@ var Mt = { exports: {} }, jt = { exports: {} };
|
|
|
1750
1751
|
e.get(r).shouldClean() && e.del(r);
|
|
1751
1752
|
}
|
|
1752
1753
|
}
|
|
1753
|
-
function
|
|
1754
|
+
function ut(e, n) {
|
|
1754
1755
|
var t = n.send, r = n.id, o = r === void 0 ? J() : r, i = e.then(function(u) {
|
|
1755
1756
|
if (Q(u))
|
|
1756
1757
|
return ve(u).name;
|
|
@@ -1771,15 +1772,15 @@ var Mt = { exports: {} }, jt = { exports: {} };
|
|
|
1771
1772
|
getType: function() {
|
|
1772
1773
|
return a;
|
|
1773
1774
|
},
|
|
1774
|
-
getInstanceID:
|
|
1775
|
+
getInstanceID: _t(function() {
|
|
1775
1776
|
return e.then(function(u) {
|
|
1776
|
-
return
|
|
1777
|
+
return it(u, {
|
|
1777
1778
|
send: t
|
|
1778
1779
|
});
|
|
1779
1780
|
});
|
|
1780
1781
|
}),
|
|
1781
1782
|
close: function() {
|
|
1782
|
-
return e.then(
|
|
1783
|
+
return e.then(Ft);
|
|
1783
1784
|
},
|
|
1784
1785
|
getName: l,
|
|
1785
1786
|
focus: function() {
|
|
@@ -1810,7 +1811,7 @@ var Mt = { exports: {} }, jt = { exports: {} };
|
|
|
1810
1811
|
var M, he = V[R], je = document.createElement("input");
|
|
1811
1812
|
je.setAttribute("name", he), je.setAttribute("value", (M = O[he]) == null ? void 0 : M.toString()), W.appendChild(je);
|
|
1812
1813
|
}
|
|
1813
|
-
|
|
1814
|
+
Qe().appendChild(W), W.submit(), Qe().removeChild(W);
|
|
1814
1815
|
})({
|
|
1815
1816
|
url: u,
|
|
1816
1817
|
target: x,
|
|
@@ -1833,7 +1834,7 @@ var Mt = { exports: {} }, jt = { exports: {} };
|
|
|
1833
1834
|
},
|
|
1834
1835
|
setName: function(u) {
|
|
1835
1836
|
return e.then(function(s) {
|
|
1836
|
-
var w = Q(s), m =
|
|
1837
|
+
var w = Q(s), m = Ge(s);
|
|
1837
1838
|
if (!w)
|
|
1838
1839
|
throw new Error("Can not set name for cross-domain window: " + u);
|
|
1839
1840
|
ve(s).name = u, m && m.setAttribute("name", u), i = P.resolve(u);
|
|
@@ -1844,7 +1845,7 @@ var Mt = { exports: {} }, jt = { exports: {} };
|
|
|
1844
1845
|
var G = function() {
|
|
1845
1846
|
function e(t) {
|
|
1846
1847
|
var r = t.send, o = t.win, i = t.serializedWindow;
|
|
1847
|
-
this.id = void 0, this.isProxyWindow = !0, this.serializedWindow = void 0, this.actualWindow = void 0, this.actualWindowPromise = void 0, this.send = void 0, this.name = void 0, this.actualWindowPromise = new P(), this.serializedWindow = i ||
|
|
1848
|
+
this.id = void 0, this.isProxyWindow = !0, this.serializedWindow = void 0, this.actualWindow = void 0, this.actualWindowPromise = void 0, this.send = void 0, this.name = void 0, this.actualWindowPromise = new P(), this.serializedWindow = i || ut(this.actualWindowPromise, {
|
|
1848
1849
|
send: r
|
|
1849
1850
|
}), z("idToProxyWindow").set(this.getID(), this), o && this.setWindow(o, {
|
|
1850
1851
|
send: r
|
|
@@ -1893,7 +1894,7 @@ var Mt = { exports: {} }, jt = { exports: {} };
|
|
|
1893
1894
|
return this.actualWindow;
|
|
1894
1895
|
}, n.setWindow = function(t, r) {
|
|
1895
1896
|
var o = r.send;
|
|
1896
|
-
this.actualWindow = t, this.actualWindowPromise.resolve(this.actualWindow), this.serializedWindow =
|
|
1897
|
+
this.actualWindow = t, this.actualWindowPromise.resolve(this.actualWindow), this.serializedWindow = ut(this.actualWindowPromise, {
|
|
1897
1898
|
send: o,
|
|
1898
1899
|
id: this.getID()
|
|
1899
1900
|
}), H("winToProxyWindow").set(t, this);
|
|
@@ -1904,7 +1905,7 @@ var Mt = { exports: {} }, jt = { exports: {} };
|
|
|
1904
1905
|
return P.try(function() {
|
|
1905
1906
|
return o.actualWindow ? t === o.actualWindow : P.hash({
|
|
1906
1907
|
proxyInstanceID: o.getInstanceID(),
|
|
1907
|
-
knownWindowInstanceID:
|
|
1908
|
+
knownWindowInstanceID: it(t, {
|
|
1908
1909
|
send: i
|
|
1909
1910
|
})
|
|
1910
1911
|
}).then(function(a) {
|
|
@@ -1964,13 +1965,13 @@ var Mt = { exports: {} }, jt = { exports: {} };
|
|
|
1964
1965
|
source: r
|
|
1965
1966
|
});
|
|
1966
1967
|
}
|
|
1967
|
-
function
|
|
1968
|
+
function ct(e, n) {
|
|
1968
1969
|
var t = H("methodStore"), r = z("proxyWindowMethods");
|
|
1969
1970
|
return t.getOrSet(e, function() {
|
|
1970
1971
|
return {};
|
|
1971
1972
|
})[n] || r.get(n);
|
|
1972
1973
|
}
|
|
1973
|
-
function
|
|
1974
|
+
function dt(e, n, t, r, o) {
|
|
1974
1975
|
a = (i = {
|
|
1975
1976
|
on: o.on,
|
|
1976
1977
|
send: o.send
|
|
@@ -1978,7 +1979,7 @@ var Mt = { exports: {} }, jt = { exports: {} };
|
|
|
1978
1979
|
return a("postrobot_method", {
|
|
1979
1980
|
domain: "*"
|
|
1980
1981
|
}, function(w) {
|
|
1981
|
-
var m = w.source, p = w.origin, g = w.data, b = g.id, x = g.name, S =
|
|
1982
|
+
var m = w.source, p = w.origin, g = w.data, b = g.id, x = g.name, S = ct(m, b);
|
|
1982
1983
|
if (!S)
|
|
1983
1984
|
throw new Error("Could not find method '" + x + "' with id: " + g.id + " in " + F(window));
|
|
1984
1985
|
var C = S.source, j = S.domain, O = S.val;
|
|
@@ -2030,25 +2031,25 @@ var Mt = { exports: {} }, jt = { exports: {} };
|
|
|
2030
2031
|
name: s
|
|
2031
2032
|
});
|
|
2032
2033
|
}
|
|
2033
|
-
function
|
|
2034
|
+
function ft(e, n, t, r) {
|
|
2034
2035
|
var o, i = r.on, a = r.send;
|
|
2035
2036
|
return function(l, u) {
|
|
2036
|
-
u === void 0 && (u =
|
|
2037
|
+
u === void 0 && (u = Vt);
|
|
2037
2038
|
var s = JSON.stringify(l, function(w) {
|
|
2038
2039
|
var m = this[w];
|
|
2039
2040
|
if (Re(this))
|
|
2040
2041
|
return m;
|
|
2041
|
-
var p =
|
|
2042
|
+
var p = st(m);
|
|
2042
2043
|
if (!p)
|
|
2043
2044
|
return m;
|
|
2044
|
-
var g = u[p] ||
|
|
2045
|
+
var g = u[p] || $t[p];
|
|
2045
2046
|
return g ? g(m, w) : m;
|
|
2046
2047
|
});
|
|
2047
2048
|
return s === void 0 ? "undefined" : s;
|
|
2048
2049
|
}(t, ((o = {}).promise = function(l, u) {
|
|
2049
2050
|
return function(s, w, m, p, g) {
|
|
2050
2051
|
return ne("cross_domain_zalgo_promise", {
|
|
2051
|
-
then:
|
|
2052
|
+
then: dt(s, w, function(b, x) {
|
|
2052
2053
|
return m.then(b, x);
|
|
2053
2054
|
}, p, {
|
|
2054
2055
|
on: g.on,
|
|
@@ -2060,7 +2061,7 @@ var Mt = { exports: {} }, jt = { exports: {} };
|
|
|
2060
2061
|
send: a
|
|
2061
2062
|
});
|
|
2062
2063
|
}, o.function = function(l, u) {
|
|
2063
|
-
return
|
|
2064
|
+
return dt(e, n, l, u, {
|
|
2064
2065
|
on: i,
|
|
2065
2066
|
send: a
|
|
2066
2067
|
});
|
|
@@ -2070,17 +2071,17 @@ var Mt = { exports: {} }, jt = { exports: {} };
|
|
|
2070
2071
|
})) : l;
|
|
2071
2072
|
}, o));
|
|
2072
2073
|
}
|
|
2073
|
-
function
|
|
2074
|
+
function lt(e, n, t, r) {
|
|
2074
2075
|
var o, i = r.send;
|
|
2075
2076
|
return function(a, l) {
|
|
2076
|
-
if (l === void 0 && (l =
|
|
2077
|
+
if (l === void 0 && (l = Yt), a !== "undefined")
|
|
2077
2078
|
return JSON.parse(a, function(u, s) {
|
|
2078
2079
|
if (Re(this))
|
|
2079
2080
|
return s;
|
|
2080
2081
|
var w, m;
|
|
2081
|
-
if (Re(s) ? (w = s.__type__, m = s.__val__) : (w =
|
|
2082
|
+
if (Re(s) ? (w = s.__type__, m = s.__val__) : (w = st(s), m = s), !w)
|
|
2082
2083
|
return m;
|
|
2083
|
-
var p = l[w] ||
|
|
2084
|
+
var p = l[w] || Jt[w];
|
|
2084
2085
|
return p ? p(m, u) : m;
|
|
2085
2086
|
});
|
|
2086
2087
|
}(t, ((o = {}).cross_domain_zalgo_promise = function(a) {
|
|
@@ -2096,7 +2097,7 @@ var Mt = { exports: {} }, jt = { exports: {} };
|
|
|
2096
2097
|
return G.toProxyWindow(l, {
|
|
2097
2098
|
send: g
|
|
2098
2099
|
}).awaitWindow().then(function(O) {
|
|
2099
|
-
var T =
|
|
2100
|
+
var T = ct(O, m);
|
|
2100
2101
|
if (T && T.val !== C)
|
|
2101
2102
|
return T.val.apply({
|
|
2102
2103
|
source: window,
|
|
@@ -2151,7 +2152,7 @@ var Mt = { exports: {} }, jt = { exports: {} };
|
|
|
2151
2152
|
return a.buffer = a.buffer || [], a.buffer.push(t), a.flush = a.flush || P.flush().then(function() {
|
|
2152
2153
|
if ($(e))
|
|
2153
2154
|
throw new Error("Window is closed");
|
|
2154
|
-
var l =
|
|
2155
|
+
var l = ft(e, n, ((u = {}).__post_robot_10_0_46__ = a.buffer || [], u), {
|
|
2155
2156
|
on: o,
|
|
2156
2157
|
send: i
|
|
2157
2158
|
}), u;
|
|
@@ -2177,16 +2178,16 @@ var Mt = { exports: {} }, jt = { exports: {} };
|
|
|
2177
2178
|
});
|
|
2178
2179
|
}).then(te);
|
|
2179
2180
|
}
|
|
2180
|
-
function
|
|
2181
|
+
function ht(e) {
|
|
2181
2182
|
return z("responseListeners").get(e);
|
|
2182
2183
|
}
|
|
2183
|
-
function
|
|
2184
|
+
function mt(e) {
|
|
2184
2185
|
z("responseListeners").del(e);
|
|
2185
2186
|
}
|
|
2186
|
-
function
|
|
2187
|
+
function pt(e) {
|
|
2187
2188
|
return z("erroredResponseListeners").has(e);
|
|
2188
2189
|
}
|
|
2189
|
-
function
|
|
2190
|
+
function vt(e) {
|
|
2190
2191
|
var n = e.name, t = e.win, r = e.domain, o = H("requestListeners");
|
|
2191
2192
|
if (t === "*" && (t = null), r === "*" && (r = null), !n)
|
|
2192
2193
|
throw new Error("Name required to get request listener");
|
|
@@ -2214,8 +2215,8 @@ var Mt = { exports: {} }, jt = { exports: {} };
|
|
|
2214
2215
|
}
|
|
2215
2216
|
}
|
|
2216
2217
|
}
|
|
2217
|
-
function
|
|
2218
|
-
var o = r.on, i = r.send, a =
|
|
2218
|
+
function Zt(e, n, t, r) {
|
|
2219
|
+
var o = r.on, i = r.send, a = vt({
|
|
2219
2220
|
name: t.name,
|
|
2220
2221
|
win: e,
|
|
2221
2222
|
domain: n
|
|
@@ -2280,9 +2281,9 @@ var Mt = { exports: {} }, jt = { exports: {} };
|
|
|
2280
2281
|
throw s;
|
|
2281
2282
|
});
|
|
2282
2283
|
}
|
|
2283
|
-
function
|
|
2284
|
-
if (!
|
|
2285
|
-
var r =
|
|
2284
|
+
function Kt(e, n, t) {
|
|
2285
|
+
if (!pt(t.hash)) {
|
|
2286
|
+
var r = ht(t.hash);
|
|
2286
2287
|
if (!r)
|
|
2287
2288
|
throw new Error("No handler found for post message ack for message: " + t.name + " from " + n + " in " + window.location.protocol + "//" + window.location.host + window.location.pathname);
|
|
2288
2289
|
try {
|
|
@@ -2296,9 +2297,9 @@ var Mt = { exports: {} }, jt = { exports: {} };
|
|
|
2296
2297
|
r.ack = !0;
|
|
2297
2298
|
}
|
|
2298
2299
|
}
|
|
2299
|
-
function
|
|
2300
|
-
if (!
|
|
2301
|
-
var r =
|
|
2300
|
+
function Xt(e, n, t) {
|
|
2301
|
+
if (!pt(t.hash)) {
|
|
2302
|
+
var r = ht(t.hash);
|
|
2302
2303
|
if (!r)
|
|
2303
2304
|
throw new Error("No handler found for post message response for message: " + t.name + " from " + n + " in " + window.location.protocol + "//" + window.location.host + window.location.pathname);
|
|
2304
2305
|
if (!re(r.domain, n))
|
|
@@ -2306,14 +2307,14 @@ var Mt = { exports: {} }, jt = { exports: {} };
|
|
|
2306
2307
|
var o;
|
|
2307
2308
|
if (e !== r.win)
|
|
2308
2309
|
throw new Error("Response source does not match registered window");
|
|
2309
|
-
|
|
2310
|
+
mt(t.hash), t.ack === "error" ? r.promise.reject(t.error) : t.ack === "success" && r.promise.resolve({
|
|
2310
2311
|
source: e,
|
|
2311
2312
|
origin: n,
|
|
2312
2313
|
data: t.data
|
|
2313
2314
|
});
|
|
2314
2315
|
}
|
|
2315
2316
|
}
|
|
2316
|
-
function
|
|
2317
|
+
function wt(e, n) {
|
|
2317
2318
|
var t = n.on, r = n.send, o = z("receivedMessages");
|
|
2318
2319
|
try {
|
|
2319
2320
|
if (!window || window.closed || !e.source)
|
|
@@ -2324,7 +2325,7 @@ var Mt = { exports: {} }, jt = { exports: {} };
|
|
|
2324
2325
|
var i = e.source, a = e.origin, l = function(w, m, p, g) {
|
|
2325
2326
|
var b = g.on, x = g.send, S;
|
|
2326
2327
|
try {
|
|
2327
|
-
S =
|
|
2328
|
+
S = lt(m, p, w, {
|
|
2328
2329
|
on: b,
|
|
2329
2330
|
send: x
|
|
2330
2331
|
});
|
|
@@ -2341,17 +2342,17 @@ var Mt = { exports: {} }, jt = { exports: {} };
|
|
|
2341
2342
|
send: r
|
|
2342
2343
|
});
|
|
2343
2344
|
if (l) {
|
|
2344
|
-
|
|
2345
|
+
at(i);
|
|
2345
2346
|
for (var u = 0; u < l.length; u++) {
|
|
2346
2347
|
var s = l[u];
|
|
2347
2348
|
if (o.has(s.id) || (o.set(s.id, !0), $(i) && !s.fireAndForget))
|
|
2348
2349
|
return;
|
|
2349
2350
|
s.origin.indexOf("file:") === 0 && (a = "file://");
|
|
2350
2351
|
try {
|
|
2351
|
-
s.type === "postrobot_message_request" ?
|
|
2352
|
+
s.type === "postrobot_message_request" ? Zt(i, a, s, {
|
|
2352
2353
|
on: t,
|
|
2353
2354
|
send: r
|
|
2354
|
-
}) : s.type === "postrobot_message_response" ?
|
|
2355
|
+
}) : s.type === "postrobot_message_response" ? Xt(i, a, s) : s.type === "postrobot_message_ack" && Kt(i, a, s);
|
|
2355
2356
|
} catch (w) {
|
|
2356
2357
|
setTimeout(function() {
|
|
2357
2358
|
throw w;
|
|
@@ -2414,7 +2415,7 @@ var Mt = { exports: {} }, jt = { exports: {} };
|
|
|
2414
2415
|
}
|
|
2415
2416
|
};
|
|
2416
2417
|
}
|
|
2417
|
-
var O =
|
|
2418
|
+
var O = vt({
|
|
2418
2419
|
name: l,
|
|
2419
2420
|
win: p,
|
|
2420
2421
|
domain: s
|
|
@@ -2454,7 +2455,7 @@ var Mt = { exports: {} }, jt = { exports: {} };
|
|
|
2454
2455
|
}
|
|
2455
2456
|
};
|
|
2456
2457
|
}
|
|
2457
|
-
function
|
|
2458
|
+
function Qt(e, n, t) {
|
|
2458
2459
|
typeof (n = n || {}) == "function" && (t = n, n = {});
|
|
2459
2460
|
var r = new P(), o;
|
|
2460
2461
|
return n.errorHandler = function(i) {
|
|
@@ -2478,7 +2479,7 @@ var Mt = { exports: {} }, jt = { exports: {} };
|
|
|
2478
2479
|
if ($(m))
|
|
2479
2480
|
throw new Error("Can not send " + w + ". Target window is closed");
|
|
2480
2481
|
}(t, s, i), function(w, m) {
|
|
2481
|
-
var p =
|
|
2482
|
+
var p = Be(m);
|
|
2482
2483
|
if (p)
|
|
2483
2484
|
return p === w;
|
|
2484
2485
|
if (m === w || function(x) {
|
|
@@ -2491,17 +2492,17 @@ var Mt = { exports: {} }, jt = { exports: {} };
|
|
|
2491
2492
|
if (k(x) === x)
|
|
2492
2493
|
return x;
|
|
2493
2494
|
try {
|
|
2494
|
-
if (
|
|
2495
|
+
if (_e(window, x) && window.top)
|
|
2495
2496
|
return window.top;
|
|
2496
2497
|
} catch (O) {
|
|
2497
2498
|
}
|
|
2498
2499
|
try {
|
|
2499
|
-
if (
|
|
2500
|
+
if (_e(x, window) && window.top)
|
|
2500
2501
|
return window.top;
|
|
2501
2502
|
} catch (O) {
|
|
2502
2503
|
}
|
|
2503
2504
|
for (var S = 0, C = function O(T) {
|
|
2504
|
-
for (var L = [], W = 0, R =
|
|
2505
|
+
for (var L = [], W = 0, R = qe(T); W < R.length; W++) {
|
|
2505
2506
|
var V = R[W];
|
|
2506
2507
|
L.push(V);
|
|
2507
2508
|
for (var M = 0, he = O(V); M < he.length; M++)
|
|
@@ -2520,7 +2521,7 @@ var Mt = { exports: {} }, jt = { exports: {} };
|
|
|
2520
2521
|
}
|
|
2521
2522
|
}(m) === m)
|
|
2522
2523
|
return !1;
|
|
2523
|
-
for (var g = 0, b =
|
|
2524
|
+
for (var g = 0, b = qe(w); g < b.length; g++)
|
|
2524
2525
|
if (b[g] === m)
|
|
2525
2526
|
return !0;
|
|
2526
2527
|
return !1;
|
|
@@ -2546,7 +2547,7 @@ var Mt = { exports: {} }, jt = { exports: {} };
|
|
|
2546
2547
|
});
|
|
2547
2548
|
}).then(function(S) {
|
|
2548
2549
|
if (!re(p, p))
|
|
2549
|
-
throw new Error("Domain " +
|
|
2550
|
+
throw new Error("Domain " + Xe(p) + " does not match " + Xe(p));
|
|
2550
2551
|
return S;
|
|
2551
2552
|
});
|
|
2552
2553
|
});
|
|
@@ -2571,7 +2572,7 @@ var Mt = { exports: {} }, jt = { exports: {} };
|
|
|
2571
2572
|
S.push(g), g.catch(function() {
|
|
2572
2573
|
(function(W) {
|
|
2573
2574
|
z("erroredResponseListeners").set(W, !0);
|
|
2574
|
-
})(b),
|
|
2575
|
+
})(b), mt(b);
|
|
2575
2576
|
});
|
|
2576
2577
|
var C = function(W) {
|
|
2577
2578
|
return H("knownWindows").get(W, !1);
|
|
@@ -2618,35 +2619,35 @@ var Mt = { exports: {} }, jt = { exports: {} };
|
|
|
2618
2619
|
});
|
|
2619
2620
|
});
|
|
2620
2621
|
};
|
|
2621
|
-
function
|
|
2622
|
-
return
|
|
2622
|
+
function en(e, n, t) {
|
|
2623
|
+
return ft(e, n, t, {
|
|
2623
2624
|
on: K,
|
|
2624
2625
|
send: X
|
|
2625
2626
|
});
|
|
2626
2627
|
}
|
|
2627
|
-
function
|
|
2628
|
-
return
|
|
2628
|
+
function tn(e, n, t) {
|
|
2629
|
+
return lt(e, n, t, {
|
|
2629
2630
|
on: K,
|
|
2630
2631
|
send: X
|
|
2631
2632
|
});
|
|
2632
2633
|
}
|
|
2633
|
-
function
|
|
2634
|
+
function nn(e) {
|
|
2634
2635
|
return new G({
|
|
2635
2636
|
send: X,
|
|
2636
2637
|
win: e
|
|
2637
2638
|
});
|
|
2638
2639
|
}
|
|
2639
|
-
function
|
|
2640
|
+
function rn(e) {
|
|
2640
2641
|
return G.toProxyWindow(e, {
|
|
2641
2642
|
send: X
|
|
2642
2643
|
});
|
|
2643
2644
|
}
|
|
2644
|
-
function
|
|
2645
|
+
function gt() {
|
|
2645
2646
|
le().initialized || (le().initialized = !0, n = (e = {
|
|
2646
2647
|
on: K,
|
|
2647
2648
|
send: X
|
|
2648
2649
|
}).on, t = e.send, (r = le()).receiveMessage = r.receiveMessage || function(o) {
|
|
2649
|
-
return
|
|
2650
|
+
return wt(o, {
|
|
2650
2651
|
on: n,
|
|
2651
2652
|
send: t
|
|
2652
2653
|
});
|
|
@@ -2667,7 +2668,7 @@ var Mt = { exports: {} }, jt = { exports: {} };
|
|
|
2667
2668
|
if (g === "null" && (g = "file://"), p) {
|
|
2668
2669
|
if (!g)
|
|
2669
2670
|
throw new Error("Post message did not have origin domain");
|
|
2670
|
-
|
|
2671
|
+
wt({
|
|
2671
2672
|
source: p,
|
|
2672
2673
|
origin: g,
|
|
2673
2674
|
data: b
|
|
@@ -2692,12 +2693,12 @@ var Mt = { exports: {} }, jt = { exports: {} };
|
|
|
2692
2693
|
var l = i("postrobot_hello", {
|
|
2693
2694
|
domain: "*"
|
|
2694
2695
|
}, function(s) {
|
|
2695
|
-
return
|
|
2696
|
+
return ot(s.source, {
|
|
2696
2697
|
domain: s.origin
|
|
2697
2698
|
}), {
|
|
2698
|
-
instanceID:
|
|
2699
|
+
instanceID: rt()
|
|
2699
2700
|
};
|
|
2700
|
-
}), u =
|
|
2701
|
+
}), u = Be();
|
|
2701
2702
|
return u && Oe(u, {
|
|
2702
2703
|
send: a
|
|
2703
2704
|
}).catch(function(s) {
|
|
@@ -2709,7 +2710,7 @@ var Mt = { exports: {} }, jt = { exports: {} };
|
|
|
2709
2710
|
}));
|
|
2710
2711
|
var e, n, t, r;
|
|
2711
2712
|
}
|
|
2712
|
-
function
|
|
2713
|
+
function on() {
|
|
2713
2714
|
(function() {
|
|
2714
2715
|
for (var n = z("responseListeners"), t = 0, r = n.keys(); t < r.length; t++) {
|
|
2715
2716
|
var o = r[t], i = n.get(o);
|
|
@@ -2719,29 +2720,29 @@ var Mt = { exports: {} }, jt = { exports: {} };
|
|
|
2719
2720
|
var e;
|
|
2720
2721
|
delete window.__post_robot_10_0_46__;
|
|
2721
2722
|
}
|
|
2722
|
-
var
|
|
2723
|
-
function
|
|
2723
|
+
var an = !0;
|
|
2724
|
+
function sn(e) {
|
|
2724
2725
|
for (var n = 0, t = H("requestPromises").get(e, []); n < t.length; n++)
|
|
2725
2726
|
t[n].reject(new Error("Window " + ($(e) ? "closed" : "cleaned up") + " before response")).catch(te);
|
|
2726
2727
|
}
|
|
2727
|
-
|
|
2728
|
+
gt();
|
|
2728
2729
|
}]);
|
|
2729
2730
|
});
|
|
2730
|
-
})(
|
|
2731
|
-
var
|
|
2731
|
+
})(zt);
|
|
2732
|
+
var Xn = zt.exports;
|
|
2732
2733
|
(function(d) {
|
|
2733
|
-
d.exports =
|
|
2734
|
-
})(
|
|
2735
|
-
var
|
|
2736
|
-
const
|
|
2734
|
+
d.exports = Xn, d.exports.default = d.exports;
|
|
2735
|
+
})(jt);
|
|
2736
|
+
var Lt = jt.exports;
|
|
2737
|
+
const Qn = /* @__PURE__ */ Kn(Lt), He = /* @__PURE__ */ pn({
|
|
2737
2738
|
__proto__: null,
|
|
2738
|
-
default:
|
|
2739
|
-
}, [
|
|
2739
|
+
default: Qn
|
|
2740
|
+
}, [Lt]);
|
|
2740
2741
|
export {
|
|
2741
|
-
|
|
2742
|
-
|
|
2743
|
-
|
|
2744
|
-
|
|
2742
|
+
Dt as ConsentBox,
|
|
2743
|
+
tr as PrivacyCenterBox,
|
|
2744
|
+
nr as SoyioTypes,
|
|
2745
|
+
rr as SoyioWidget,
|
|
2745
2746
|
ke as _TooltipManager,
|
|
2746
|
-
|
|
2747
|
+
rr as default
|
|
2747
2748
|
};
|