@soyio/soyio-widget 2.17.0 → 2.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +90 -0
- package/dist/index.d.ts +34 -2
- package/dist/index.js +1576 -1529
- package/dist/index.umd.cjs +61 -50
- package/package.json +9 -4
- package/src/schemas/appearance.schema.json +2189 -0
- package/src/schemas/config.schema.json +2473 -0
package/dist/index.js
CHANGED
|
@@ -1,67 +1,67 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
throw TypeError(
|
|
1
|
+
var pt = Object.defineProperty;
|
|
2
|
+
var bi = Object.getOwnPropertySymbols, lt = Object.getPrototypeOf, St = Object.prototype.hasOwnProperty, ut = Object.prototype.propertyIsEnumerable, Ct = Reflect.get;
|
|
3
|
+
var wi = (a) => {
|
|
4
|
+
throw TypeError(a);
|
|
5
5
|
};
|
|
6
|
-
var
|
|
7
|
-
var
|
|
8
|
-
var
|
|
9
|
-
for (var
|
|
10
|
-
|
|
11
|
-
if (
|
|
12
|
-
for (var
|
|
13
|
-
|
|
14
|
-
return
|
|
6
|
+
var ht = (a, c, S) => c in a ? pt(a, c, { enumerable: !0, configurable: !0, writable: !0, value: S }) : a[c] = S;
|
|
7
|
+
var Ii = (a, c) => {
|
|
8
|
+
var S = {};
|
|
9
|
+
for (var p in a)
|
|
10
|
+
St.call(a, p) && c.indexOf(p) < 0 && (S[p] = a[p]);
|
|
11
|
+
if (a != null && bi)
|
|
12
|
+
for (var p of bi(a))
|
|
13
|
+
c.indexOf(p) < 0 && ut.call(a, p) && (S[p] = a[p]);
|
|
14
|
+
return S;
|
|
15
15
|
};
|
|
16
|
-
var
|
|
17
|
-
var
|
|
18
|
-
var
|
|
19
|
-
var
|
|
20
|
-
var
|
|
21
|
-
var
|
|
16
|
+
var L = (a, c, S) => ht(a, typeof c != "symbol" ? c + "" : c, S), Pt = (a, c, S) => c.has(a) || wi("Cannot " + S);
|
|
17
|
+
var Ti = (a, c, S) => c.has(a) ? wi("Cannot add the same private member more than once") : c instanceof WeakSet ? c.add(a) : c.set(a, S);
|
|
18
|
+
var Ri = (a, c, S) => (Pt(a, c, "access private method"), S);
|
|
19
|
+
var ki = (a, c, S) => Ct(lt(a), S, c);
|
|
20
|
+
var z = (a, c, S) => new Promise((p, h) => {
|
|
21
|
+
var g = (T) => {
|
|
22
22
|
try {
|
|
23
|
-
S
|
|
24
|
-
} catch (
|
|
25
|
-
|
|
23
|
+
v(S.next(T));
|
|
24
|
+
} catch (A) {
|
|
25
|
+
h(A);
|
|
26
26
|
}
|
|
27
|
-
},
|
|
27
|
+
}, m = (T) => {
|
|
28
28
|
try {
|
|
29
|
-
S
|
|
30
|
-
} catch (
|
|
31
|
-
|
|
29
|
+
v(S.throw(T));
|
|
30
|
+
} catch (A) {
|
|
31
|
+
h(A);
|
|
32
32
|
}
|
|
33
|
-
},
|
|
34
|
-
|
|
33
|
+
}, v = (T) => T.done ? p(T.value) : Promise.resolve(T.value).then(g, m);
|
|
34
|
+
v((S = S.apply(a, c)).next());
|
|
35
35
|
});
|
|
36
|
-
function
|
|
37
|
-
for (var
|
|
38
|
-
const
|
|
39
|
-
if (typeof
|
|
40
|
-
for (const
|
|
41
|
-
if (
|
|
42
|
-
const
|
|
43
|
-
|
|
36
|
+
function $t(a, c) {
|
|
37
|
+
for (var S = 0; S < c.length; S++) {
|
|
38
|
+
const p = c[S];
|
|
39
|
+
if (typeof p != "string" && !Array.isArray(p)) {
|
|
40
|
+
for (const h in p)
|
|
41
|
+
if (h !== "default" && !(h in a)) {
|
|
42
|
+
const g = Object.getOwnPropertyDescriptor(p, h);
|
|
43
|
+
g && Object.defineProperty(a, h, g.get ? g : {
|
|
44
44
|
enumerable: !0,
|
|
45
|
-
get: () =>
|
|
45
|
+
get: () => p[h]
|
|
46
46
|
});
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
|
-
return Object.freeze(Object.defineProperty(
|
|
50
|
+
return Object.freeze(Object.defineProperty(a, Symbol.toStringTag, { value: "Module" }));
|
|
51
51
|
}
|
|
52
|
-
const
|
|
53
|
-
class
|
|
52
|
+
const Re = !!(typeof window != "undefined" && window.document && window.document.createElement), xi = 200;
|
|
53
|
+
class _e {
|
|
54
54
|
constructor() {
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
55
|
+
L(this, "tooltipElement", null);
|
|
56
|
+
L(this, "tooltipContent", null);
|
|
57
|
+
L(this, "tooltipClass", "soyio-tooltip");
|
|
58
|
+
L(this, "hideTimeout", null);
|
|
59
|
+
Re && this.createTooltipElement();
|
|
60
60
|
}
|
|
61
61
|
createTooltipElement() {
|
|
62
|
-
const
|
|
63
|
-
if (
|
|
64
|
-
this.tooltipElement =
|
|
62
|
+
const c = document.querySelector(`.${this.tooltipClass}`);
|
|
63
|
+
if (c) {
|
|
64
|
+
this.tooltipElement = c, this.tooltipContent = this.tooltipElement.querySelector(".soyio-tooltip-content");
|
|
65
65
|
return;
|
|
66
66
|
}
|
|
67
67
|
this.tooltipElement = document.createElement("div"), this.tooltipElement.className = this.tooltipClass, this.tooltipElement.style.cssText = `
|
|
@@ -78,76 +78,76 @@ class He {
|
|
|
78
78
|
word-wrap: break-word;
|
|
79
79
|
pointer-events: none;
|
|
80
80
|
opacity: 0;
|
|
81
|
-
transition: opacity ${
|
|
81
|
+
transition: opacity ${xi}ms ease, transform ${xi}ms ease;
|
|
82
82
|
backdrop-filter: blur(5px);
|
|
83
83
|
-webkit-backdrop-filter: blur(5px);
|
|
84
84
|
transform: scale(0.95);
|
|
85
85
|
`, this.tooltipContent = document.createElement("div"), this.tooltipContent.className = "soyio-tooltip-content", this.tooltipElement.appendChild(this.tooltipContent), document.body.appendChild(this.tooltipElement);
|
|
86
86
|
}
|
|
87
|
-
show(
|
|
87
|
+
show(c, S, p) {
|
|
88
88
|
if (!this.tooltipElement || !this.tooltipContent) return;
|
|
89
|
-
this.hideTimeout && (clearTimeout(this.hideTimeout), this.hideTimeout = null), this.tooltipContent.textContent =
|
|
90
|
-
const
|
|
91
|
-
this.applyPlacement(
|
|
89
|
+
this.hideTimeout && (clearTimeout(this.hideTimeout), this.hideTimeout = null), this.tooltipContent.textContent = c, this.tooltipElement.style.opacity = "0", this.tooltipElement.style.transform = "scale(0.95)";
|
|
90
|
+
const h = this.calculateOptimalPlacement(S, p);
|
|
91
|
+
this.applyPlacement(h), requestAnimationFrame(() => {
|
|
92
92
|
this.tooltipElement && (this.tooltipElement.style.opacity = "1", this.tooltipElement.style.transform = "scale(1)");
|
|
93
93
|
});
|
|
94
94
|
}
|
|
95
|
-
calculateOptimalPlacement(
|
|
96
|
-
const
|
|
95
|
+
calculateOptimalPlacement(c, S) {
|
|
96
|
+
const p = this.tooltipElement.offsetWidth, h = this.tooltipElement.offsetHeight, { innerWidth: g, innerHeight: m } = window, v = 4, T = {
|
|
97
97
|
top: {
|
|
98
|
-
top:
|
|
99
|
-
left:
|
|
98
|
+
top: S - h - v,
|
|
99
|
+
left: c - p / 2,
|
|
100
100
|
placement: "top"
|
|
101
101
|
},
|
|
102
102
|
bottom: {
|
|
103
|
-
top:
|
|
104
|
-
left:
|
|
103
|
+
top: S + v,
|
|
104
|
+
left: c - p / 2,
|
|
105
105
|
placement: "bottom"
|
|
106
106
|
},
|
|
107
107
|
right: {
|
|
108
|
-
top:
|
|
109
|
-
left:
|
|
108
|
+
top: S - h / 2,
|
|
109
|
+
left: c + v,
|
|
110
110
|
placement: "right"
|
|
111
111
|
},
|
|
112
112
|
left: {
|
|
113
|
-
top:
|
|
114
|
-
left:
|
|
113
|
+
top: S - h / 2,
|
|
114
|
+
left: c - p - v,
|
|
115
115
|
placement: "left"
|
|
116
116
|
}
|
|
117
117
|
};
|
|
118
|
-
for (const [,
|
|
119
|
-
if (
|
|
120
|
-
return
|
|
121
|
-
const
|
|
122
|
-
return
|
|
118
|
+
for (const [, B] of Object.entries(T))
|
|
119
|
+
if (_e.fitsInViewport(B, p, h, g, m))
|
|
120
|
+
return B;
|
|
121
|
+
const A = T.top;
|
|
122
|
+
return A.left = Math.max(v, Math.min(A.left, g - p - v)), A.top = Math.max(v, Math.min(A.top, m - h - v)), A;
|
|
123
123
|
}
|
|
124
|
-
static fitsInViewport(
|
|
125
|
-
return
|
|
124
|
+
static fitsInViewport(c, S, p, h, g) {
|
|
125
|
+
return c.top >= 0 && c.left >= 0 && c.top + p <= g && c.left + S <= h;
|
|
126
126
|
}
|
|
127
|
-
applyPlacement(
|
|
128
|
-
this.tooltipElement && (this.tooltipElement.style.left = `${
|
|
127
|
+
applyPlacement(c) {
|
|
128
|
+
this.tooltipElement && (this.tooltipElement.style.left = `${c.left}px`, this.tooltipElement.style.top = `${c.top}px`);
|
|
129
129
|
}
|
|
130
130
|
hide() {
|
|
131
131
|
this.tooltipElement && (this.hideTimeout && (clearTimeout(this.hideTimeout), this.hideTimeout = null), this.tooltipElement.style.opacity = "0", this.tooltipElement.style.transform = "scale(0.95)");
|
|
132
132
|
}
|
|
133
133
|
destroy() {
|
|
134
|
-
var
|
|
135
|
-
(
|
|
134
|
+
var c;
|
|
135
|
+
(c = this.tooltipElement) == null || c.remove(), this.tooltipElement = null, this.tooltipContent = null, this.hideTimeout && (clearTimeout(this.hideTimeout), this.hideTimeout = null);
|
|
136
136
|
}
|
|
137
137
|
}
|
|
138
|
-
function
|
|
139
|
-
return
|
|
140
|
-
if (!
|
|
138
|
+
function Ei(a, c, S) {
|
|
139
|
+
return z(this, null, function* () {
|
|
140
|
+
if (!a.contentWindow)
|
|
141
141
|
throw new Error("Invalid iframe: contentWindow is null");
|
|
142
|
-
const
|
|
142
|
+
const p = yield Promise.resolve().then(() => Ve);
|
|
143
143
|
try {
|
|
144
|
-
yield
|
|
145
|
-
} catch (
|
|
146
|
-
console.error("Failed to send appearance config:",
|
|
144
|
+
yield p.send(a.contentWindow, "SET_APPEARANCE", { appearance: c, identifier: S });
|
|
145
|
+
} catch (h) {
|
|
146
|
+
console.error("Failed to send appearance config:", h);
|
|
147
147
|
}
|
|
148
148
|
});
|
|
149
149
|
}
|
|
150
|
-
const
|
|
150
|
+
const gt = "IFRAME_READY", mt = "IFRAME_HEIGHT_CHANGE", vt = "TOOLTIP_STATE_CHANGE", yt = "INFO_EVENT", bt = "CONSENT_STATE_CHANGE", F = {
|
|
151
151
|
// BASE
|
|
152
152
|
onHeightChange: {},
|
|
153
153
|
onIframeReady: {},
|
|
@@ -156,79 +156,85 @@ const En = "IFRAME_READY", Sn = "IFRAME_HEIGHT_CHANGE", xn = "TOOLTIP_STATE_CHAN
|
|
|
156
156
|
// CONSENT
|
|
157
157
|
onStateChange: {}
|
|
158
158
|
};
|
|
159
|
-
let
|
|
160
|
-
function
|
|
161
|
-
return
|
|
162
|
-
const
|
|
163
|
-
|
|
164
|
-
const
|
|
165
|
-
return
|
|
166
|
-
})),
|
|
167
|
-
const
|
|
168
|
-
return
|
|
169
|
-
})),
|
|
170
|
-
const
|
|
171
|
-
return
|
|
172
|
-
})),
|
|
173
|
-
const
|
|
174
|
-
return
|
|
175
|
-
})),
|
|
176
|
-
const
|
|
177
|
-
return
|
|
159
|
+
let Di, Ai, Li, Wi, Oi;
|
|
160
|
+
function wt() {
|
|
161
|
+
return z(this, null, function* () {
|
|
162
|
+
const a = yield Promise.resolve().then(() => Ve);
|
|
163
|
+
Di || Ai || Li || Wi || Oi || (Di = a.on(mt, (c) => z(null, null, function* () {
|
|
164
|
+
const S = c.data, p = F.onHeightChange[S.identifier];
|
|
165
|
+
return p && p(S.height), Promise.resolve();
|
|
166
|
+
})), Ai = a.on(gt, (c) => z(null, null, function* () {
|
|
167
|
+
const S = c.data, p = F.onIframeReady[S.identifier];
|
|
168
|
+
return p && p(), Promise.resolve();
|
|
169
|
+
})), Li = a.on(vt, (c) => z(null, null, function* () {
|
|
170
|
+
const S = c.data, p = F.onTooltipChange[S.identifier];
|
|
171
|
+
return p && p(S), Promise.resolve();
|
|
172
|
+
})), Wi = a.on(bt, (c) => z(null, null, function* () {
|
|
173
|
+
const S = c.data, p = F.onStateChange[S.identifier];
|
|
174
|
+
return p && p(S), Promise.resolve();
|
|
175
|
+
})), Oi = a.on(yt, (S) => z(null, [S], function* ({ data: c }) {
|
|
176
|
+
const m = c, { identifier: p } = m, h = Ii(m, ["identifier"]), g = F.onInfo[p];
|
|
177
|
+
return g && g(h), Promise.resolve();
|
|
178
178
|
})));
|
|
179
179
|
});
|
|
180
180
|
}
|
|
181
|
-
function
|
|
181
|
+
function Mi(a, c) {
|
|
182
182
|
const {
|
|
183
|
-
onHeightChange:
|
|
184
|
-
onIframeReady:
|
|
185
|
-
onTooltipChange:
|
|
186
|
-
onStateChange:
|
|
187
|
-
onInfo:
|
|
188
|
-
} =
|
|
189
|
-
|
|
183
|
+
onHeightChange: S,
|
|
184
|
+
onIframeReady: p,
|
|
185
|
+
onTooltipChange: h,
|
|
186
|
+
onStateChange: g,
|
|
187
|
+
onInfo: m
|
|
188
|
+
} = c;
|
|
189
|
+
S && (F.onHeightChange[a] = S), p && (F.onIframeReady[a] = p), h && (F.onTooltipChange[a] = h), g && (F.onStateChange[a] = g), m && (F.onInfo[a] = m);
|
|
190
190
|
}
|
|
191
|
-
function
|
|
192
|
-
delete
|
|
191
|
+
function It(a) {
|
|
192
|
+
delete F.onHeightChange[a], delete F.onIframeReady[a], delete F.onTooltipChange[a], delete F.onStateChange[a], delete F.onInfo[a];
|
|
193
193
|
}
|
|
194
|
-
function
|
|
195
|
-
const
|
|
196
|
-
|
|
194
|
+
function Tt(a) {
|
|
195
|
+
const c = document.getElementById(a);
|
|
196
|
+
c && (console.warn(`Soyio widget iframe with id '${a}' already exists. Removing existing before mounting new one.`), c.remove());
|
|
197
197
|
}
|
|
198
|
-
function
|
|
199
|
-
const
|
|
200
|
-
if (!
|
|
201
|
-
throw new Error(`Iframe div container with id '${
|
|
202
|
-
if (
|
|
203
|
-
throw new Error(`Iframe container with id '${
|
|
204
|
-
const
|
|
205
|
-
return
|
|
198
|
+
function Rt(a) {
|
|
199
|
+
const c = document.querySelector(a);
|
|
200
|
+
if (!c)
|
|
201
|
+
throw new Error(`Iframe div container with id '${a}' not found`);
|
|
202
|
+
if (c.tagName.toLowerCase() !== "div")
|
|
203
|
+
throw new Error(`Iframe container with id '${a}' must be a <div> element`);
|
|
204
|
+
const S = c;
|
|
205
|
+
return S.style.position = "relative", S;
|
|
206
|
+
}
|
|
207
|
+
function kt(a) {
|
|
208
|
+
const c = document.createElement("div");
|
|
209
|
+
return c.id = `soyio-widget-wrapper-${a}`, c.style.cssText = `
|
|
210
|
+
position: relative !important;
|
|
206
211
|
padding: 0 !important;
|
|
207
212
|
margin: 0 !important;
|
|
208
213
|
display: flex !important;
|
|
209
214
|
justify-content: center !important;
|
|
210
|
-
align-items:
|
|
215
|
+
align-items: flex-start !important;
|
|
211
216
|
border: none !important;
|
|
212
217
|
transition: height 0.35s !important;
|
|
213
218
|
opacity: 1 !important;
|
|
214
|
-
|
|
219
|
+
width: 100% !important;
|
|
220
|
+
`, c;
|
|
215
221
|
}
|
|
216
|
-
function
|
|
217
|
-
const
|
|
218
|
-
return
|
|
222
|
+
function xt(a, c, S) {
|
|
223
|
+
const p = document.createElement("iframe");
|
|
224
|
+
return p.id = c, p.src = a, p.style.cssText += `
|
|
219
225
|
width: 100% !important;
|
|
220
|
-
min-width: ${
|
|
226
|
+
min-width: ${S.minWidth} !important;
|
|
221
227
|
border: none !important;
|
|
222
228
|
overflow: hidden !important;
|
|
223
229
|
opacity: 1;
|
|
224
230
|
transition: height 0.35s,
|
|
225
231
|
opacity 0.4s 0.1s;
|
|
226
|
-
`,
|
|
232
|
+
`, p;
|
|
227
233
|
}
|
|
228
|
-
function
|
|
234
|
+
function Et() {
|
|
229
235
|
return Math.random().toString(36).substring(2, 10);
|
|
230
236
|
}
|
|
231
|
-
const
|
|
237
|
+
const ji = "https://app.soyio.id", zi = "https://sandbox.soyio.id", Dt = "https://privacy.soyio.id", At = "https://privacy-sandbox.soyio.id", Lt = [
|
|
232
238
|
"DISCLOSURE_REQUEST_SUCCESSFUL",
|
|
233
239
|
"IDENTITY_REGISTERED",
|
|
234
240
|
"IDENTITY_SIGNATURE",
|
|
@@ -236,27 +242,29 @@ const zt = "https://app.soyio.id", Lt = "https://sandbox.soyio.id", An = "https:
|
|
|
236
242
|
"DENIED_CAMERA_PERMISSION",
|
|
237
243
|
"REJECTED_SIGNATURE",
|
|
238
244
|
"CLOSE_POPUP"
|
|
239
|
-
],
|
|
245
|
+
], Wt = "WIDGET_CLOSED", Ot = 420, Nt = 720, Bt = 500, Mt = {
|
|
240
246
|
minWidth: "375px"
|
|
241
|
-
},
|
|
247
|
+
}, jt = {
|
|
242
248
|
minWidth: "0px"
|
|
243
|
-
},
|
|
249
|
+
}, zt = {
|
|
244
250
|
minWidth: "375px"
|
|
245
251
|
};
|
|
246
|
-
class
|
|
247
|
-
constructor(
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
this
|
|
252
|
+
class xe {
|
|
253
|
+
constructor(c) {
|
|
254
|
+
L(this, "iframe", null);
|
|
255
|
+
L(this, "wrapper", null);
|
|
256
|
+
L(this, "skeleton", null);
|
|
257
|
+
L(this, "options");
|
|
258
|
+
L(this, "appearance");
|
|
259
|
+
L(this, "tooltipManager");
|
|
260
|
+
L(this, "defaultIframeCSSConfig", Mt);
|
|
261
|
+
L(this, "Skeleton", null);
|
|
262
|
+
L(this, "isIframeReady", !1);
|
|
263
|
+
L(this, "defaultUniqueId");
|
|
264
|
+
this.options = c, this.appearance = c.appearance || null, this.tooltipManager = new _e(), this.defaultUniqueId = xe.generateUniqueId();
|
|
257
265
|
}
|
|
258
266
|
static generateUniqueId() {
|
|
259
|
-
return
|
|
267
|
+
return Et();
|
|
260
268
|
}
|
|
261
269
|
get uniqueIdentifier() {
|
|
262
270
|
return this.defaultUniqueId;
|
|
@@ -264,218 +272,245 @@ class We {
|
|
|
264
272
|
get iframeIdentifier() {
|
|
265
273
|
return `${this.defaultIframePrefix}-${this.uniqueIdentifier}`;
|
|
266
274
|
}
|
|
267
|
-
handleHeightChange(
|
|
268
|
-
if (!this.iframe || (this.iframe.style.height = `${
|
|
269
|
-
const { parentElement:
|
|
270
|
-
|
|
275
|
+
handleHeightChange(c) {
|
|
276
|
+
if (!this.iframe || (this.iframe.style.height = `${c}px`, c > 0)) return;
|
|
277
|
+
const { parentElement: S } = this.iframe;
|
|
278
|
+
S && (S.style.display = "none");
|
|
271
279
|
}
|
|
272
280
|
handleIframeReady() {
|
|
273
|
-
return
|
|
274
|
-
this.iframe && (this.options.onReady && this.options.onReady(), yield
|
|
281
|
+
return z(this, null, function* () {
|
|
282
|
+
this.iframe && (this.isIframeReady || (this.isIframeReady = !0, this.options.onReady && this.options.onReady(), yield Ei(this.iframe, this.appearance, this.uniqueIdentifier), this.skeleton && this.skeleton.hide()));
|
|
275
283
|
});
|
|
276
284
|
}
|
|
277
|
-
handleTooltipChange(
|
|
285
|
+
handleTooltipChange(c) {
|
|
278
286
|
if (!this.iframe) return;
|
|
279
|
-
const
|
|
280
|
-
|
|
287
|
+
const S = this.iframe.getBoundingClientRect(), { text: p, coordinates: h, isVisible: g } = c, m = h.x + S.left, v = h.y + S.top;
|
|
288
|
+
g ? this.tooltipManager.show(p, m, v) : this.tooltipManager.hide();
|
|
281
289
|
}
|
|
282
290
|
setupListeners() {
|
|
283
|
-
return
|
|
284
|
-
yield
|
|
285
|
-
const
|
|
291
|
+
return z(this, null, function* () {
|
|
292
|
+
yield wt();
|
|
293
|
+
const c = {
|
|
286
294
|
onHeightChange: this.handleHeightChange.bind(this),
|
|
287
295
|
onIframeReady: this.handleIframeReady.bind(this),
|
|
288
296
|
onTooltipChange: this.handleTooltipChange.bind(this),
|
|
289
297
|
onInfo: this.options.onEvent.bind(this)
|
|
290
298
|
};
|
|
291
|
-
|
|
299
|
+
Mi(this.uniqueIdentifier, c);
|
|
292
300
|
});
|
|
293
301
|
}
|
|
294
|
-
mount(
|
|
295
|
-
return
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
302
|
+
mount(c) {
|
|
303
|
+
return z(this, null, function* () {
|
|
304
|
+
var h;
|
|
305
|
+
if (!Re) return this;
|
|
306
|
+
this.isIframeReady = !1, yield this.setupListeners(), Tt(this.iframeIdentifier);
|
|
307
|
+
const S = Rt(c), p = this.iframeUrl();
|
|
308
|
+
if (this.wrapper = kt(this.uniqueIdentifier), S.appendChild(this.wrapper), this.iframe = xt(p, this.iframeIdentifier, this.defaultIframeCSSConfig), this.Skeleton) {
|
|
309
|
+
const g = (h = this.appearance) == null ? void 0 : h.theme;
|
|
310
|
+
this.skeleton = new this.Skeleton(this.uniqueIdentifier, g), this.skeleton.mount(this.wrapper);
|
|
311
|
+
}
|
|
312
|
+
return this.wrapper.appendChild(this.iframe), this;
|
|
300
313
|
});
|
|
301
314
|
}
|
|
302
315
|
unmount() {
|
|
303
|
-
|
|
316
|
+
Re && (It(this.uniqueIdentifier), this.isIframeReady = !1, this.skeleton && (this.skeleton.hide(), this.skeleton = null), this.iframe && (this.iframe.remove(), this.iframe = null), this.wrapper && (this.wrapper.remove(), this.wrapper = null));
|
|
317
|
+
}
|
|
318
|
+
/**
|
|
319
|
+
* Update the appearance of the widget without remounting.
|
|
320
|
+
* This sends the new appearance config to the already-mounted iframe.
|
|
321
|
+
*/
|
|
322
|
+
updateAppearance(c) {
|
|
323
|
+
return z(this, null, function* () {
|
|
324
|
+
this.appearance = c, !(!this.iframe || !this.isIframeReady) && (yield Ei(this.iframe, c, this.uniqueIdentifier));
|
|
325
|
+
});
|
|
304
326
|
}
|
|
305
327
|
}
|
|
306
|
-
class
|
|
307
|
-
constructor(
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
this.identifier = `skeleton-${
|
|
328
|
+
class Ft {
|
|
329
|
+
constructor(c, S) {
|
|
330
|
+
L(this, "element");
|
|
331
|
+
L(this, "identifier");
|
|
332
|
+
this.identifier = `skeleton-${c}`, this.element = document.createElement("div"), this.element.id = this.identifier;
|
|
333
|
+
const p = S === "night", h = p ? "#1E293B" : "#FFFFFF", g = p ? "#334155" : "#E5E7EB", m = p ? "#334155" : "#f0f0f0", v = p ? "#475569" : "#e0e0e0", T = p ? "#334155" : "#f0f0f0";
|
|
334
|
+
this.element.style.cssText = `
|
|
311
335
|
position: absolute;
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
transform: translate(-50%, -50%);
|
|
336
|
+
top: 0;
|
|
337
|
+
left: 0;
|
|
315
338
|
width: 100%;
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
background: #FFFFFF;
|
|
319
|
-
border: 1px solid #E5E7EB;
|
|
339
|
+
background: ${h};
|
|
340
|
+
border: 1px solid ${g};
|
|
320
341
|
border-radius: 0.25rem;
|
|
321
342
|
opacity: 1;
|
|
322
343
|
transition: opacity 0.3s ease-out;
|
|
323
344
|
display: flex;
|
|
324
345
|
flex-direction: column;
|
|
325
|
-
|
|
346
|
+
box-sizing: border-box;
|
|
347
|
+
z-index: 1;
|
|
326
348
|
`;
|
|
327
|
-
const
|
|
328
|
-
|
|
349
|
+
const A = document.createElement("div");
|
|
350
|
+
A.style.cssText = `
|
|
329
351
|
padding: 1rem;
|
|
330
|
-
|
|
331
|
-
|
|
352
|
+
width: 100%;
|
|
353
|
+
box-sizing: border-box;
|
|
332
354
|
display: flex;
|
|
333
355
|
flex-direction: column;
|
|
334
|
-
justify-content:
|
|
356
|
+
justify-content: flex-start;
|
|
357
|
+
gap: 0.75rem;
|
|
335
358
|
`;
|
|
336
|
-
const
|
|
337
|
-
|
|
359
|
+
const B = document.createElement("div");
|
|
360
|
+
B.style.cssText = `
|
|
338
361
|
display: flex;
|
|
339
362
|
align-items: center;
|
|
340
363
|
gap: 0.75rem;
|
|
341
364
|
`;
|
|
342
|
-
const
|
|
343
|
-
|
|
365
|
+
const K = document.createElement("div");
|
|
366
|
+
K.style.cssText = `
|
|
344
367
|
width: 2rem;
|
|
345
368
|
height: 2rem;
|
|
346
|
-
background: linear-gradient(90deg,
|
|
369
|
+
background: linear-gradient(90deg, ${m} 25%, ${v} 50%, ${T} 75%);
|
|
347
370
|
background-size: 200% 100%;
|
|
348
371
|
animation: shimmer 1.5s infinite;
|
|
349
372
|
border-radius: 50%;
|
|
350
373
|
flex-shrink: 0;
|
|
351
374
|
`;
|
|
352
|
-
const
|
|
353
|
-
|
|
375
|
+
const Y = document.createElement("div");
|
|
376
|
+
Y.style.cssText = `
|
|
354
377
|
height: 1rem;
|
|
355
378
|
width: 30%;
|
|
356
|
-
background: linear-gradient(90deg,
|
|
379
|
+
background: linear-gradient(90deg, ${m} 25%, ${v} 50%, ${T} 75%);
|
|
357
380
|
background-size: 200% 100%;
|
|
358
381
|
animation: shimmer 1.5s infinite;
|
|
359
382
|
border-radius: 0.125rem;
|
|
360
383
|
`;
|
|
361
|
-
const
|
|
362
|
-
|
|
363
|
-
width:
|
|
364
|
-
height: 1.
|
|
365
|
-
background: linear-gradient(90deg,
|
|
384
|
+
const ee = document.createElement("div");
|
|
385
|
+
ee.style.cssText = `
|
|
386
|
+
width: 3rem;
|
|
387
|
+
height: 1.25rem;
|
|
388
|
+
background: linear-gradient(90deg, ${m} 25%, ${v} 50%, ${T} 75%);
|
|
366
389
|
background-size: 200% 100%;
|
|
367
390
|
animation: shimmer 1.5s infinite;
|
|
368
|
-
border-radius:
|
|
391
|
+
border-radius: .25rem;
|
|
369
392
|
margin-left: auto;
|
|
370
|
-
|
|
393
|
+
flex-shrink: 0;
|
|
371
394
|
`;
|
|
372
|
-
const
|
|
373
|
-
|
|
395
|
+
const O = document.createElement("div");
|
|
396
|
+
O.style.cssText = `
|
|
397
|
+
display: flex;
|
|
398
|
+
align-items: flex-start;
|
|
399
|
+
gap: 0.75rem;
|
|
400
|
+
`;
|
|
401
|
+
const J = document.createElement("div");
|
|
402
|
+
J.style.cssText = `
|
|
403
|
+
width: 2rem;
|
|
404
|
+
height: 1rem;
|
|
374
405
|
display: flex;
|
|
406
|
+
justify-content: center;
|
|
375
407
|
align-items: center;
|
|
376
|
-
|
|
408
|
+
flex-shrink: 0;
|
|
377
409
|
`;
|
|
378
|
-
const
|
|
379
|
-
|
|
410
|
+
const ie = document.createElement("div");
|
|
411
|
+
ie.style.cssText = `
|
|
380
412
|
width: 1rem;
|
|
381
413
|
height: 1rem;
|
|
382
|
-
background: linear-gradient(90deg,
|
|
414
|
+
background: linear-gradient(90deg, ${m} 25%, ${v} 50%, ${T} 75%);
|
|
383
415
|
background-size: 200% 100%;
|
|
384
416
|
animation: shimmer 1.5s infinite;
|
|
385
417
|
border-radius: 0.25rem;
|
|
386
418
|
flex-shrink: 0;
|
|
387
|
-
margin-left: 10px;
|
|
388
419
|
`;
|
|
389
|
-
const
|
|
390
|
-
|
|
420
|
+
const te = document.createElement("div");
|
|
421
|
+
te.style.cssText = `
|
|
391
422
|
flex-grow: 1;
|
|
392
423
|
display: flex;
|
|
393
424
|
flex-direction: column;
|
|
394
425
|
gap: 0.5rem;
|
|
395
426
|
`;
|
|
396
|
-
const
|
|
397
|
-
|
|
427
|
+
const de = document.createElement("div");
|
|
428
|
+
de.style.cssText = `
|
|
398
429
|
height: 0.875rem;
|
|
399
430
|
width: 80%;
|
|
400
|
-
background: linear-gradient(90deg,
|
|
431
|
+
background: linear-gradient(90deg, ${m} 25%, ${v} 50%, ${T} 75%);
|
|
401
432
|
background-size: 200% 100%;
|
|
402
433
|
animation: shimmer 1.5s infinite;
|
|
403
434
|
border-radius: 0.125rem;
|
|
404
435
|
`;
|
|
405
|
-
const
|
|
406
|
-
if (
|
|
436
|
+
const me = document.createElement("div");
|
|
437
|
+
if (me.style.cssText = `
|
|
407
438
|
height: 0.875rem;
|
|
408
439
|
width: 60%;
|
|
409
|
-
background: linear-gradient(90deg,
|
|
440
|
+
background: linear-gradient(90deg, ${m} 25%, ${v} 50%, ${T} 75%);
|
|
410
441
|
background-size: 200% 100%;
|
|
411
|
-
animation: shimmer
|
|
442
|
+
animation: shimmer 2s infinite;
|
|
412
443
|
border-radius: 0.125rem;
|
|
413
444
|
`, !document.getElementById("skeleton-animation")) {
|
|
414
|
-
const
|
|
415
|
-
|
|
445
|
+
const ae = document.createElement("style");
|
|
446
|
+
ae.id = "skeleton-animation", ae.textContent = `
|
|
416
447
|
@keyframes shimmer {
|
|
417
448
|
0% { background-position: 200% 0; }
|
|
418
449
|
100% { background-position: -200% 0; }
|
|
419
450
|
}
|
|
420
|
-
|
|
451
|
+
@keyframes skeletonFadeOut {
|
|
452
|
+
0% { opacity: 1; }
|
|
453
|
+
100% { opacity: 0; }
|
|
454
|
+
}
|
|
455
|
+
`, document.head.appendChild(ae);
|
|
421
456
|
}
|
|
422
|
-
|
|
457
|
+
B.appendChild(K), B.appendChild(Y), B.appendChild(ee), te.appendChild(de), te.appendChild(me), J.appendChild(ie), O.appendChild(J), O.appendChild(te), A.appendChild(B), A.appendChild(O), this.element.appendChild(A);
|
|
423
458
|
}
|
|
424
459
|
cleanupExistingSkeleton() {
|
|
425
|
-
const
|
|
426
|
-
|
|
460
|
+
const c = document.getElementById(this.identifier);
|
|
461
|
+
c && c.remove();
|
|
427
462
|
}
|
|
428
|
-
mount(
|
|
429
|
-
this.cleanupExistingSkeleton(),
|
|
463
|
+
mount(c) {
|
|
464
|
+
this.cleanupExistingSkeleton(), c.appendChild(this.element);
|
|
430
465
|
}
|
|
431
466
|
hide() {
|
|
432
|
-
this.element.style.
|
|
467
|
+
this.element.style.animation = "skeletonFadeOut 0.2s ease-out forwards", setTimeout(() => this.element.remove(), 200);
|
|
433
468
|
}
|
|
434
469
|
}
|
|
435
|
-
const
|
|
436
|
-
function
|
|
437
|
-
var
|
|
438
|
-
const
|
|
470
|
+
const Ge = "2.19.0";
|
|
471
|
+
function Ht(a) {
|
|
472
|
+
var m;
|
|
473
|
+
const c = [
|
|
439
474
|
"actionToken",
|
|
440
475
|
"entityId",
|
|
441
476
|
"context",
|
|
442
477
|
"optionalReconsentBehavior",
|
|
443
478
|
"mandatoryReconsentBehavior"
|
|
444
|
-
],
|
|
445
|
-
|
|
446
|
-
|
|
479
|
+
], S = (m = a.isSandbox) != null ? m : !1, p = a.developmentUrl || (S ? zi : ji), h = new URLSearchParams();
|
|
480
|
+
h.set("sdkVersion", Ge), c.forEach((v) => {
|
|
481
|
+
a[v] && h.set(v, a[v]);
|
|
447
482
|
});
|
|
448
|
-
const
|
|
449
|
-
return `${
|
|
483
|
+
const g = h.toString();
|
|
484
|
+
return `${p}/embed/consents/${a.consentTemplateId}${g ? `?${g}` : ""}`;
|
|
450
485
|
}
|
|
451
|
-
class
|
|
452
|
-
constructor(
|
|
453
|
-
super(
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
486
|
+
class Fi extends xe {
|
|
487
|
+
constructor(S) {
|
|
488
|
+
super(S);
|
|
489
|
+
L(this, "defaultIframePrefix", "consent-box");
|
|
490
|
+
L(this, "defaultIframeCSSConfig", jt);
|
|
491
|
+
L(this, "state", {
|
|
457
492
|
isSelected: !1,
|
|
458
493
|
actionToken: null
|
|
459
494
|
});
|
|
460
|
-
this.Skeleton =
|
|
495
|
+
this.Skeleton = Ft;
|
|
461
496
|
}
|
|
462
497
|
get uniqueIdentifier() {
|
|
463
498
|
return this.options.consentTemplateId;
|
|
464
499
|
}
|
|
465
500
|
iframeUrl() {
|
|
466
|
-
return
|
|
501
|
+
return Ht(this.options);
|
|
467
502
|
}
|
|
468
|
-
handleStateChange(
|
|
469
|
-
const { isSelected:
|
|
470
|
-
this.state = { isSelected:
|
|
503
|
+
handleStateChange(S) {
|
|
504
|
+
const { isSelected: p, actionToken: h } = S;
|
|
505
|
+
this.state = { isSelected: p, actionToken: h }, this.options.onEvent({
|
|
471
506
|
eventName: "CONSENT_CHECKBOX_CHANGE",
|
|
472
|
-
isSelected:
|
|
473
|
-
actionToken:
|
|
507
|
+
isSelected: p,
|
|
508
|
+
actionToken: h
|
|
474
509
|
});
|
|
475
510
|
}
|
|
476
511
|
setupListeners() {
|
|
477
|
-
return
|
|
478
|
-
yield
|
|
512
|
+
return z(this, null, function* () {
|
|
513
|
+
yield ki(Fi.prototype, this, "setupListeners").call(this), Mi(this.uniqueIdentifier, {
|
|
479
514
|
onStateChange: this.handleStateChange.bind(this)
|
|
480
515
|
});
|
|
481
516
|
});
|
|
@@ -484,453 +519,463 @@ class kt extends We {
|
|
|
484
519
|
return this.state;
|
|
485
520
|
}
|
|
486
521
|
}
|
|
487
|
-
function
|
|
488
|
-
var
|
|
489
|
-
const
|
|
490
|
-
if (
|
|
491
|
-
const
|
|
492
|
-
|
|
522
|
+
function Ut(a) {
|
|
523
|
+
var g, m, v, T;
|
|
524
|
+
const c = (g = a.isSandbox) != null ? g : !1, S = a.developmentUrl || (c ? At : Dt), p = new URLSearchParams();
|
|
525
|
+
if (p.set("sdkVersion", Ge), a.sessionToken ? p.set("sessionToken", a.sessionToken) : a.companyId && p.set("companyId", a.companyId), (m = a.enabledFeatures) != null && m.length && p.set("enabledFeatures", a.enabledFeatures.join(",")), (v = a.enabledRights) != null && v.length && p.set("enabledRights", a.enabledRights.join(",")), (T = a.dataSubjects) != null && T.length && p.set("dataSubjects", a.dataSubjects.join(",")), a.requestReference && p.set("requestReference", a.requestReference), a.fileRequisites) {
|
|
526
|
+
const A = JSON.stringify(a.fileRequisites);
|
|
527
|
+
A !== "{}" && p.set("fileRequisites", A);
|
|
493
528
|
}
|
|
494
|
-
|
|
495
|
-
|
|
529
|
+
a.demo && p.set("demo", "true");
|
|
530
|
+
const h = p.toString();
|
|
531
|
+
return `${S}${h ? `?${h}` : ""}`;
|
|
496
532
|
}
|
|
497
|
-
class
|
|
533
|
+
class pr extends xe {
|
|
498
534
|
constructor() {
|
|
499
535
|
super(...arguments);
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
536
|
+
L(this, "defaultIframePrefix", "privacy-center");
|
|
537
|
+
L(this, "_uniqueIdentifier", "privacy-center");
|
|
538
|
+
L(this, "defaultIframeCSSConfig", zt);
|
|
503
539
|
}
|
|
504
540
|
get uniqueIdentifier() {
|
|
505
541
|
return this._uniqueIdentifier;
|
|
506
542
|
}
|
|
507
543
|
iframeUrl() {
|
|
508
|
-
return
|
|
544
|
+
return Ut(this.options);
|
|
509
545
|
}
|
|
510
546
|
}
|
|
511
|
-
const
|
|
547
|
+
const lr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
512
548
|
__proto__: null
|
|
513
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
514
|
-
function
|
|
515
|
-
let
|
|
516
|
-
return "disclosureRequestId" in
|
|
549
|
+
}, Symbol.toStringTag, { value: "Module" })), qt = "WIDGET_EVENT";
|
|
550
|
+
function _t(a) {
|
|
551
|
+
let c = "widget/";
|
|
552
|
+
return "disclosureRequestId" in a.configProps ? c += ["disclosures", a.configProps.disclosureRequestId].join("/") : c += a.request, c;
|
|
517
553
|
}
|
|
518
|
-
function
|
|
519
|
-
var
|
|
520
|
-
const
|
|
521
|
-
return `${
|
|
554
|
+
function Gt(a) {
|
|
555
|
+
var g;
|
|
556
|
+
const c = (g = a.isSandbox) != null ? g : !1, S = a.developmentUrl || (c ? zi : ji), p = Object.entries(a.configProps).filter(([m, v]) => v || m === "disclosureRequestId").map(([m, v]) => `${m}=${encodeURIComponent(v)}`).join("&"), h = _t(a);
|
|
557
|
+
return `${S}/${h}?sdk=web&sdkVersion=${Ge}&${p}`;
|
|
522
558
|
}
|
|
523
|
-
let
|
|
524
|
-
function
|
|
525
|
-
|
|
559
|
+
let Q = null, He = null;
|
|
560
|
+
function qe(a = null) {
|
|
561
|
+
Q && !Q.closed && Q.focus(), a == null || a.preventDefault();
|
|
526
562
|
}
|
|
527
|
-
function
|
|
528
|
-
document.body.style.filter = "", document.body.removeEventListener("click",
|
|
563
|
+
function Ee() {
|
|
564
|
+
document.body.style.filter = "", document.body.removeEventListener("click", qe);
|
|
529
565
|
}
|
|
530
|
-
function
|
|
531
|
-
|
|
532
|
-
(!
|
|
533
|
-
},
|
|
566
|
+
function Vt() {
|
|
567
|
+
He = setInterval(() => {
|
|
568
|
+
(!Q || Q.closed) && (He && clearInterval(He), Ee());
|
|
569
|
+
}, Bt);
|
|
534
570
|
}
|
|
535
|
-
function
|
|
536
|
-
const
|
|
571
|
+
function Jt(a) {
|
|
572
|
+
const c = Gt(a), S = Ot, p = Nt, h = window.screenLeft !== void 0 ? window.screenLeft : window.screenX, g = window.screenTop !== void 0 ? window.screenTop : window.screenY, m = window.innerWidth || document.documentElement.clientWidth || window.screen.width, v = window.innerHeight || document.documentElement.clientHeight || window.screen.height, T = m / window.screen.availWidth, A = (m - S) / 2 / T + h, B = (v - p) / 2 / T + g, K = [
|
|
537
573
|
"scrollbars=yes",
|
|
538
|
-
`width=${
|
|
539
|
-
`height=${
|
|
540
|
-
`top=${
|
|
541
|
-
`left=${
|
|
542
|
-
].join(","),
|
|
543
|
-
|
|
574
|
+
`width=${S}`,
|
|
575
|
+
`height=${p}`,
|
|
576
|
+
`top=${B}`,
|
|
577
|
+
`left=${A}`
|
|
578
|
+
].join(","), Y = window.open("about:blank", "Soyio", K);
|
|
579
|
+
Y ? (Q = Y, Q.location.href = c, document.body.style.filter = "blur(5px)", document.body.addEventListener("click", qe), qe(), Vt()) : (Ee(), alert("Debes habilitar las ventanas emergentes para poder iniciar el flujo."));
|
|
544
580
|
}
|
|
545
|
-
function
|
|
546
|
-
|
|
581
|
+
function Yt() {
|
|
582
|
+
Q && (Q.close(), Q = null), Ee();
|
|
547
583
|
}
|
|
548
|
-
let
|
|
549
|
-
function
|
|
550
|
-
|
|
584
|
+
let ge = null;
|
|
585
|
+
function Zt() {
|
|
586
|
+
ge && (ge.cancel(), ge = null);
|
|
551
587
|
}
|
|
552
|
-
function
|
|
553
|
-
return
|
|
554
|
-
const { onEvent:
|
|
555
|
-
|
|
556
|
-
return
|
|
588
|
+
function Qt(a) {
|
|
589
|
+
return z(this, null, function* () {
|
|
590
|
+
const { onEvent: c } = a, S = yield Promise.resolve().then(() => Ve);
|
|
591
|
+
ge && Zt(), ge = S.on(qt, (h) => z(null, [h], function* ({ data: p }) {
|
|
592
|
+
return c(p), Lt.includes(p.eventName) ? Yt() : p.eventName === Wt && Ee(), Promise.resolve();
|
|
557
593
|
}));
|
|
558
594
|
});
|
|
559
595
|
}
|
|
560
|
-
function
|
|
561
|
-
|
|
596
|
+
function Xt(a) {
|
|
597
|
+
Qt(a);
|
|
562
598
|
}
|
|
563
|
-
var
|
|
564
|
-
class
|
|
565
|
-
constructor(
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
this.onEvent =
|
|
569
|
-
onEvent:
|
|
599
|
+
var ke, Hi;
|
|
600
|
+
class Sr {
|
|
601
|
+
constructor(c) {
|
|
602
|
+
Ti(this, ke);
|
|
603
|
+
L(this, "onEvent");
|
|
604
|
+
this.onEvent = c.onEvent, Re && (Jt(c), Xt({
|
|
605
|
+
onEvent: Ri(this, ke, Hi).bind(this)
|
|
570
606
|
}));
|
|
571
607
|
}
|
|
572
608
|
}
|
|
573
|
-
|
|
574
|
-
this.onEvent(
|
|
609
|
+
ke = new WeakSet(), Hi = function(c) {
|
|
610
|
+
this.onEvent(c);
|
|
611
|
+
};
|
|
612
|
+
const Kt = "#/definitions/SoyioAppearance", er = "http://json-schema.org/draft-07/schema#", ir = /* @__PURE__ */ JSON.parse(`{"CSSProperties":{"additionalProperties":false,"properties":{"WebkitAppearance":{"type":"string"},"accentColor":{"type":"string"},"alignItems":{"enum":["flex-start","flex-end","center","baseline","stretch"],"type":"string"},"appearance":{"type":"string"},"backgroundColor":{"type":"string"},"border":{"type":"string"},"borderBottom":{"type":"string"},"borderBottomColor":{"type":"string"},"borderBottomLeftRadius":{"type":"string"},"borderBottomRightRadius":{"type":"string"},"borderBottomStyle":{"type":"string"},"borderBottomWidth":{"type":"string"},"borderColor":{"type":"string"},"borderLeft":{"type":"string"},"borderLeftColor":{"type":"string"},"borderLeftStyle":{"type":"string"},"borderLeftWidth":{"type":"string"},"borderRadius":{"type":"string"},"borderRight":{"type":"string"},"borderRightColor":{"type":"string"},"borderRightStyle":{"type":"string"},"borderRightWidth":{"type":"string"},"borderStyle":{"type":"string"},"borderTop":{"type":"string"},"borderTopColor":{"type":"string"},"borderTopLeftRadius":{"type":"string"},"borderTopRightRadius":{"type":"string"},"borderTopStyle":{"type":"string"},"borderTopWidth":{"type":"string"},"borderWidth":{"type":"string"},"bottom":{"type":"string"},"boxShadow":{"type":"string"},"color":{"type":"string"},"cursor":{"type":"string"},"display":{"enum":["block","inline","inline-block","flex","inline-flex","grid","inline-grid","none"],"type":"string"},"fill":{"type":"string"},"fillOpacity":{"type":"number"},"flex":{"type":"string"},"flexDirection":{"enum":["row","row-reverse","column","column-reverse"],"type":"string"},"flexWrap":{"enum":["nowrap","wrap","wrap-reverse"],"type":"string"},"fontFamily":{"type":"string"},"fontSize":{"type":"string"},"fontVariant":{"type":"string"},"fontWeight":{"type":["string","number"]},"gap":{"type":"string"},"height":{"type":"string"},"justifyContent":{"enum":["flex-start","flex-end","center","space-between","space-around","space-evenly"],"type":"string"},"left":{"type":"string"},"letterSpacing":{"type":"string"},"lineHeight":{"type":["string","number"]},"margin":{"type":"string"},"marginBottom":{"type":"string"},"marginLeft":{"type":"string"},"marginRight":{"type":"string"},"marginTop":{"type":"string"},"mozOsxFontSmoothing":{"enum":["auto","grayscale","unset"],"type":"string"},"opacity":{"type":"number"},"outline":{"type":"string"},"outlineOffset":{"type":"string"},"overflow":{"enum":["visible","hidden","scroll","auto"],"type":"string"},"overflowX":{"enum":["visible","hidden","scroll","auto"],"type":"string"},"overflowY":{"enum":["visible","hidden","scroll","auto"],"type":"string"},"padding":{"type":"string"},"paddingBottom":{"type":"string"},"paddingLeft":{"type":"string"},"paddingRight":{"type":"string"},"paddingTop":{"type":"string"},"position":{"enum":["static","relative","absolute","fixed","sticky"],"type":"string"},"right":{"type":"string"},"textAlign":{"enum":["left","right","center","justify"],"type":"string"},"textDecoration":{"type":"string"},"textTransform":{"enum":["none","capitalize","uppercase","lowercase"],"type":"string"},"top":{"type":"string"},"transform":{"type":"string"},"transformOrigin":{"type":"string"},"transition":{"type":"string"},"transitionDelay":{"type":"string"},"transitionDuration":{"type":"string"},"transitionProperty":{"type":"string"},"transitionTimingFunction":{"type":"string"},"visibility":{"enum":["visible","hidden","collapse"],"type":"string"},"webkitFontSmoothing":{"enum":["auto","antialiased","subpixel-antialiased"],"type":"string"},"webkitTextFillColor":{"type":"string"},"whiteSpace":{"enum":["normal","nowrap","pre","pre-wrap","pre-line"],"type":"string"},"width":{"type":"string"},"wordBreak":{"enum":["normal","break-all","keep-all","break-word"],"type":"string"},"zIndex":{"type":["number","string"]}},"type":"object"},"IconWeight":{"enum":["thin","light","regular","bold","fill","duotone"],"type":"string"},"SoyioAppearance":{"additionalProperties":false,"properties":{"config":{"$ref":"#/definitions/SoyioAppearanceConfig"},"rules":{"$ref":"#/definitions/SoyioRule"},"theme":{"$ref":"#/definitions/SoyioTheme"},"variables":{"$ref":"#/definitions/SoyioAppearanceVariables"}},"type":"object"},"SoyioAppearanceConfig":{"additionalProperties":false,"properties":{"brandTheme":{"default":"default","description":"Theme variant for branded elements like the footer.\\n- 'default': Standard Soyio brand colors (purple/indigo)\\n- 'dark': Dark mode with gray tones\\n- 'light': Mono color light version","enum":["default","dark","light"],"type":"string"},"helperTextPosition":{"enum":["top","bottom"],"type":"string"},"hintIcon":{"default":"Question","description":"Icon name to use for hint/help tooltips on input labels. Available icons: 'Question' (default), 'Info', 'QuestionMark', etc.","type":"string"},"icon":{"$ref":"#/definitions/SoyioIconConfig","description":"Global icon appearance configuration. Controls default weight and size for all icons."},"iconRules":{"additionalProperties":{"$ref":"#/definitions/SoyioIconConfig"},"description":"Per-component icon overrides. Allows customizing icon styles for specific components.","type":"object"},"mainPageColumns":{"default":2,"description":"Number of columns in the main page feature cards grid.","enum":[1,2,3,4],"type":"number"}},"type":"object"},"SoyioAppearanceVariables":{"additionalProperties":false,"properties":{"borderRadius":{"type":"string"},"borderStyle":{"type":"string"},"borderWidth":{"type":"string"},"colorBackground":{"type":"string"},"colorBorder":{"type":"string"},"colorBorderMuted":{"type":"string"},"colorDanger":{"type":"string"},"colorDangerBg":{"type":"string"},"colorInfo":{"type":"string"},"colorInfoBg":{"type":"string"},"colorInputErrorFocus":{"type":"string"},"colorInputFocus":{"type":"string"},"colorLink":{"type":"string"},"colorOverlay":{"type":"string"},"colorPrimary":{"type":"string"},"colorPrimarySurface":{"type":"string"},"colorSecondary":{"type":"string"},"colorSelectArrow":{"type":"string"},"colorSuccess":{"type":"string"},"colorSuccessBg":{"type":"string"},"colorSurface":{"type":"string"},"colorSurfaceMuted":{"type":"string"},"colorSurfaceStrong":{"type":"string"},"colorSwitchBorder":{"type":"string"},"colorText":{"type":"string"},"colorTextInverted":{"type":"string"},"colorTextSecondary":{"type":"string"},"colorTextSubtle":{"type":"string"},"colorTextTitle":{"type":"string"},"colorWarning":{"type":"string"},"colorWarningBg":{"type":"string"},"dataUseIconColor":{"type":"string"},"fontFamily":{"type":"string"},"fontFamilyBody":{"type":"string"},"fontFamilyTitle":{"type":"string"},"fontSizeBase":{"type":"string"}},"type":"object"},"SoyioIconConfig":{"additionalProperties":false,"properties":{"dataUseVariant":{"description":"Override variant for data use icons in consent management. If not set, uses the company's configured iconVariant.","enum":["duotone","outline","solid"],"type":"string"},"size":{"default":24,"description":"Default icon size in pixels.","type":"number"},"weight":{"$ref":"#/definitions/IconWeight","default":"regular","description":"Icon weight/style variant.\\n- thin: Thinnest stroke\\n- light: Light stroke\\n- regular: Default stroke (default)\\n- bold: Bold stroke\\n- fill: Filled/solid icons\\n- duotone: Two-tone icons with opacity"}},"type":"object"},"SoyioRule":{"additionalProperties":{"$ref":"#/definitions/CSSProperties"},"properties":{".Alert":{"$ref":"#/definitions/CSSProperties"},".Alert--checked":{"$ref":"#/definitions/CSSProperties"},".Alert--error":{"$ref":"#/definitions/CSSProperties"},".Alert--info":{"$ref":"#/definitions/CSSProperties"},".Alert--success":{"$ref":"#/definitions/CSSProperties"},".Alert--warning":{"$ref":"#/definitions/CSSProperties"},".Alert::placeholder":{"$ref":"#/definitions/CSSProperties"},".Alert::selection":{"$ref":"#/definitions/CSSProperties"},".Alert:active":{"$ref":"#/definitions/CSSProperties"},".Alert:autofill":{"$ref":"#/definitions/CSSProperties"},".Alert:disabled":{"$ref":"#/definitions/CSSProperties"},".Alert:focus":{"$ref":"#/definitions/CSSProperties"},".Alert:focus-visible":{"$ref":"#/definitions/CSSProperties"},".Alert:hover":{"$ref":"#/definitions/CSSProperties"},".AlertContent":{"$ref":"#/definitions/CSSProperties"},".AlertContent--checked":{"$ref":"#/definitions/CSSProperties"},".AlertContent::placeholder":{"$ref":"#/definitions/CSSProperties"},".AlertContent::selection":{"$ref":"#/definitions/CSSProperties"},".AlertContent:active":{"$ref":"#/definitions/CSSProperties"},".AlertContent:autofill":{"$ref":"#/definitions/CSSProperties"},".AlertContent:disabled":{"$ref":"#/definitions/CSSProperties"},".AlertContent:focus":{"$ref":"#/definitions/CSSProperties"},".AlertContent:focus-visible":{"$ref":"#/definitions/CSSProperties"},".AlertContent:hover":{"$ref":"#/definitions/CSSProperties"},".AlertIcon":{"$ref":"#/definitions/CSSProperties"},".AlertIcon--checked":{"$ref":"#/definitions/CSSProperties"},".AlertIcon::placeholder":{"$ref":"#/definitions/CSSProperties"},".AlertIcon::selection":{"$ref":"#/definitions/CSSProperties"},".AlertIcon:active":{"$ref":"#/definitions/CSSProperties"},".AlertIcon:autofill":{"$ref":"#/definitions/CSSProperties"},".AlertIcon:disabled":{"$ref":"#/definitions/CSSProperties"},".AlertIcon:focus":{"$ref":"#/definitions/CSSProperties"},".AlertIcon:focus-visible":{"$ref":"#/definitions/CSSProperties"},".AlertIcon:hover":{"$ref":"#/definitions/CSSProperties"},".Button":{"$ref":"#/definitions/CSSProperties"},".Button--checked":{"$ref":"#/definitions/CSSProperties"},".Button::placeholder":{"$ref":"#/definitions/CSSProperties"},".Button::selection":{"$ref":"#/definitions/CSSProperties"},".Button:active":{"$ref":"#/definitions/CSSProperties"},".Button:autofill":{"$ref":"#/definitions/CSSProperties"},".Button:disabled":{"$ref":"#/definitions/CSSProperties"},".Button:focus":{"$ref":"#/definitions/CSSProperties"},".Button:focus-visible":{"$ref":"#/definitions/CSSProperties"},".Button:hover":{"$ref":"#/definitions/CSSProperties"},".Card":{"$ref":"#/definitions/CSSProperties"},".Card--checked":{"$ref":"#/definitions/CSSProperties"},".Card::placeholder":{"$ref":"#/definitions/CSSProperties"},".Card::selection":{"$ref":"#/definitions/CSSProperties"},".Card:active":{"$ref":"#/definitions/CSSProperties"},".Card:autofill":{"$ref":"#/definitions/CSSProperties"},".Card:disabled":{"$ref":"#/definitions/CSSProperties"},".Card:focus":{"$ref":"#/definitions/CSSProperties"},".Card:focus-visible":{"$ref":"#/definitions/CSSProperties"},".Card:hover":{"$ref":"#/definitions/CSSProperties"},".CardTitle":{"$ref":"#/definitions/CSSProperties"},".CardTitle--checked":{"$ref":"#/definitions/CSSProperties"},".CardTitle::placeholder":{"$ref":"#/definitions/CSSProperties"},".CardTitle::selection":{"$ref":"#/definitions/CSSProperties"},".CardTitle:active":{"$ref":"#/definitions/CSSProperties"},".CardTitle:autofill":{"$ref":"#/definitions/CSSProperties"},".CardTitle:disabled":{"$ref":"#/definitions/CSSProperties"},".CardTitle:focus":{"$ref":"#/definitions/CSSProperties"},".CardTitle:focus-visible":{"$ref":"#/definitions/CSSProperties"},".CardTitle:hover":{"$ref":"#/definitions/CSSProperties"},".Checkbox":{"$ref":"#/definitions/CSSProperties"},".Checkbox--checked":{"$ref":"#/definitions/CSSProperties"},".Checkbox::placeholder":{"$ref":"#/definitions/CSSProperties"},".Checkbox::selection":{"$ref":"#/definitions/CSSProperties"},".Checkbox:active":{"$ref":"#/definitions/CSSProperties"},".Checkbox:autofill":{"$ref":"#/definitions/CSSProperties"},".Checkbox:disabled":{"$ref":"#/definitions/CSSProperties"},".Checkbox:focus":{"$ref":"#/definitions/CSSProperties"},".Checkbox:focus-visible":{"$ref":"#/definitions/CSSProperties"},".Checkbox:hover":{"$ref":"#/definitions/CSSProperties"},".CheckboxInput":{"$ref":"#/definitions/CSSProperties"},".CheckboxInput--checked":{"$ref":"#/definitions/CSSProperties"},".CheckboxInput::placeholder":{"$ref":"#/definitions/CSSProperties"},".CheckboxInput::selection":{"$ref":"#/definitions/CSSProperties"},".CheckboxInput:active":{"$ref":"#/definitions/CSSProperties"},".CheckboxInput:autofill":{"$ref":"#/definitions/CSSProperties"},".CheckboxInput:disabled":{"$ref":"#/definitions/CSSProperties"},".CheckboxInput:focus":{"$ref":"#/definitions/CSSProperties"},".CheckboxInput:focus-visible":{"$ref":"#/definitions/CSSProperties"},".CheckboxInput:hover":{"$ref":"#/definitions/CSSProperties"},".CheckboxLabel":{"$ref":"#/definitions/CSSProperties"},".CheckboxLabel--checked":{"$ref":"#/definitions/CSSProperties"},".CheckboxLabel::placeholder":{"$ref":"#/definitions/CSSProperties"},".CheckboxLabel::selection":{"$ref":"#/definitions/CSSProperties"},".CheckboxLabel:active":{"$ref":"#/definitions/CSSProperties"},".CheckboxLabel:autofill":{"$ref":"#/definitions/CSSProperties"},".CheckboxLabel:disabled":{"$ref":"#/definitions/CSSProperties"},".CheckboxLabel:focus":{"$ref":"#/definitions/CSSProperties"},".CheckboxLabel:focus-visible":{"$ref":"#/definitions/CSSProperties"},".CheckboxLabel:hover":{"$ref":"#/definitions/CSSProperties"},".Chip":{"$ref":"#/definitions/CSSProperties"},".Chip--amber":{"$ref":"#/definitions/CSSProperties"},".Chip--checked":{"$ref":"#/definitions/CSSProperties"},".Chip--green":{"$ref":"#/definitions/CSSProperties"},".Chip--info":{"$ref":"#/definitions/CSSProperties"},".Chip--red":{"$ref":"#/definitions/CSSProperties"},".Chip::placeholder":{"$ref":"#/definitions/CSSProperties"},".Chip::selection":{"$ref":"#/definitions/CSSProperties"},".Chip:active":{"$ref":"#/definitions/CSSProperties"},".Chip:autofill":{"$ref":"#/definitions/CSSProperties"},".Chip:disabled":{"$ref":"#/definitions/CSSProperties"},".Chip:focus":{"$ref":"#/definitions/CSSProperties"},".Chip:focus-visible":{"$ref":"#/definitions/CSSProperties"},".Chip:hover":{"$ref":"#/definitions/CSSProperties"},".Combobox":{"$ref":"#/definitions/CSSProperties"},".Combobox--checked":{"$ref":"#/definitions/CSSProperties"},".Combobox::placeholder":{"$ref":"#/definitions/CSSProperties"},".Combobox::selection":{"$ref":"#/definitions/CSSProperties"},".Combobox:active":{"$ref":"#/definitions/CSSProperties"},".Combobox:autofill":{"$ref":"#/definitions/CSSProperties"},".Combobox:disabled":{"$ref":"#/definitions/CSSProperties"},".Combobox:focus":{"$ref":"#/definitions/CSSProperties"},".Combobox:focus-visible":{"$ref":"#/definitions/CSSProperties"},".Combobox:hover":{"$ref":"#/definitions/CSSProperties"},".Description":{"$ref":"#/definitions/CSSProperties"},".Description--checked":{"$ref":"#/definitions/CSSProperties"},".Description::placeholder":{"$ref":"#/definitions/CSSProperties"},".Description::selection":{"$ref":"#/definitions/CSSProperties"},".Description:active":{"$ref":"#/definitions/CSSProperties"},".Description:autofill":{"$ref":"#/definitions/CSSProperties"},".Description:disabled":{"$ref":"#/definitions/CSSProperties"},".Description:focus":{"$ref":"#/definitions/CSSProperties"},".Description:focus-visible":{"$ref":"#/definitions/CSSProperties"},".Description:hover":{"$ref":"#/definitions/CSSProperties"},".Dialog":{"$ref":"#/definitions/CSSProperties"},".Dialog--checked":{"$ref":"#/definitions/CSSProperties"},".Dialog::placeholder":{"$ref":"#/definitions/CSSProperties"},".Dialog::selection":{"$ref":"#/definitions/CSSProperties"},".Dialog:active":{"$ref":"#/definitions/CSSProperties"},".Dialog:autofill":{"$ref":"#/definitions/CSSProperties"},".Dialog:disabled":{"$ref":"#/definitions/CSSProperties"},".Dialog:focus":{"$ref":"#/definitions/CSSProperties"},".Dialog:focus-visible":{"$ref":"#/definitions/CSSProperties"},".Dialog:hover":{"$ref":"#/definitions/CSSProperties"},".DialogContent":{"$ref":"#/definitions/CSSProperties"},".DialogContent--checked":{"$ref":"#/definitions/CSSProperties"},".DialogContent::placeholder":{"$ref":"#/definitions/CSSProperties"},".DialogContent::selection":{"$ref":"#/definitions/CSSProperties"},".DialogContent:active":{"$ref":"#/definitions/CSSProperties"},".DialogContent:autofill":{"$ref":"#/definitions/CSSProperties"},".DialogContent:disabled":{"$ref":"#/definitions/CSSProperties"},".DialogContent:focus":{"$ref":"#/definitions/CSSProperties"},".DialogContent:focus-visible":{"$ref":"#/definitions/CSSProperties"},".DialogContent:hover":{"$ref":"#/definitions/CSSProperties"},".DialogDescription":{"$ref":"#/definitions/CSSProperties"},".DialogDescription--checked":{"$ref":"#/definitions/CSSProperties"},".DialogDescription::placeholder":{"$ref":"#/definitions/CSSProperties"},".DialogDescription::selection":{"$ref":"#/definitions/CSSProperties"},".DialogDescription:active":{"$ref":"#/definitions/CSSProperties"},".DialogDescription:autofill":{"$ref":"#/definitions/CSSProperties"},".DialogDescription:disabled":{"$ref":"#/definitions/CSSProperties"},".DialogDescription:focus":{"$ref":"#/definitions/CSSProperties"},".DialogDescription:focus-visible":{"$ref":"#/definitions/CSSProperties"},".DialogDescription:hover":{"$ref":"#/definitions/CSSProperties"},".DialogOverlay":{"$ref":"#/definitions/CSSProperties"},".DialogOverlay--checked":{"$ref":"#/definitions/CSSProperties"},".DialogOverlay::placeholder":{"$ref":"#/definitions/CSSProperties"},".DialogOverlay::selection":{"$ref":"#/definitions/CSSProperties"},".DialogOverlay:active":{"$ref":"#/definitions/CSSProperties"},".DialogOverlay:autofill":{"$ref":"#/definitions/CSSProperties"},".DialogOverlay:disabled":{"$ref":"#/definitions/CSSProperties"},".DialogOverlay:focus":{"$ref":"#/definitions/CSSProperties"},".DialogOverlay:focus-visible":{"$ref":"#/definitions/CSSProperties"},".DialogOverlay:hover":{"$ref":"#/definitions/CSSProperties"},".DialogTitle":{"$ref":"#/definitions/CSSProperties"},".DialogTitle--checked":{"$ref":"#/definitions/CSSProperties"},".DialogTitle::placeholder":{"$ref":"#/definitions/CSSProperties"},".DialogTitle::selection":{"$ref":"#/definitions/CSSProperties"},".DialogTitle:active":{"$ref":"#/definitions/CSSProperties"},".DialogTitle:autofill":{"$ref":"#/definitions/CSSProperties"},".DialogTitle:disabled":{"$ref":"#/definitions/CSSProperties"},".DialogTitle:focus":{"$ref":"#/definitions/CSSProperties"},".DialogTitle:focus-visible":{"$ref":"#/definitions/CSSProperties"},".DialogTitle:hover":{"$ref":"#/definitions/CSSProperties"},".ErrorMessage":{"$ref":"#/definitions/CSSProperties"},".ErrorMessage--checked":{"$ref":"#/definitions/CSSProperties"},".ErrorMessage::placeholder":{"$ref":"#/definitions/CSSProperties"},".ErrorMessage::selection":{"$ref":"#/definitions/CSSProperties"},".ErrorMessage:active":{"$ref":"#/definitions/CSSProperties"},".ErrorMessage:autofill":{"$ref":"#/definitions/CSSProperties"},".ErrorMessage:disabled":{"$ref":"#/definitions/CSSProperties"},".ErrorMessage:focus":{"$ref":"#/definitions/CSSProperties"},".ErrorMessage:focus-visible":{"$ref":"#/definitions/CSSProperties"},".ErrorMessage:hover":{"$ref":"#/definitions/CSSProperties"},".HintIcon":{"$ref":"#/definitions/CSSProperties"},".HintIcon--checked":{"$ref":"#/definitions/CSSProperties"},".HintIcon::placeholder":{"$ref":"#/definitions/CSSProperties"},".HintIcon::selection":{"$ref":"#/definitions/CSSProperties"},".HintIcon:active":{"$ref":"#/definitions/CSSProperties"},".HintIcon:autofill":{"$ref":"#/definitions/CSSProperties"},".HintIcon:disabled":{"$ref":"#/definitions/CSSProperties"},".HintIcon:focus":{"$ref":"#/definitions/CSSProperties"},".HintIcon:focus-visible":{"$ref":"#/definitions/CSSProperties"},".HintIcon:hover":{"$ref":"#/definitions/CSSProperties"},".Input":{"$ref":"#/definitions/CSSProperties"},".Input--checked":{"$ref":"#/definitions/CSSProperties"},".Input--error":{"$ref":"#/definitions/CSSProperties"},".Input::placeholder":{"$ref":"#/definitions/CSSProperties"},".Input::selection":{"$ref":"#/definitions/CSSProperties"},".Input:active":{"$ref":"#/definitions/CSSProperties"},".Input:autofill":{"$ref":"#/definitions/CSSProperties"},".Input:disabled":{"$ref":"#/definitions/CSSProperties"},".Input:focus":{"$ref":"#/definitions/CSSProperties"},".Input:focus-visible":{"$ref":"#/definitions/CSSProperties"},".Input:hover":{"$ref":"#/definitions/CSSProperties"},".Label":{"$ref":"#/definitions/CSSProperties"},".Label--checked":{"$ref":"#/definitions/CSSProperties"},".Label::placeholder":{"$ref":"#/definitions/CSSProperties"},".Label::selection":{"$ref":"#/definitions/CSSProperties"},".Label:active":{"$ref":"#/definitions/CSSProperties"},".Label:autofill":{"$ref":"#/definitions/CSSProperties"},".Label:disabled":{"$ref":"#/definitions/CSSProperties"},".Label:focus":{"$ref":"#/definitions/CSSProperties"},".Label:focus-visible":{"$ref":"#/definitions/CSSProperties"},".Label:hover":{"$ref":"#/definitions/CSSProperties"},".Link":{"$ref":"#/definitions/CSSProperties"},".Link--checked":{"$ref":"#/definitions/CSSProperties"},".Link::placeholder":{"$ref":"#/definitions/CSSProperties"},".Link::selection":{"$ref":"#/definitions/CSSProperties"},".Link:active":{"$ref":"#/definitions/CSSProperties"},".Link:autofill":{"$ref":"#/definitions/CSSProperties"},".Link:disabled":{"$ref":"#/definitions/CSSProperties"},".Link:focus":{"$ref":"#/definitions/CSSProperties"},".Link:focus-visible":{"$ref":"#/definitions/CSSProperties"},".Link:hover":{"$ref":"#/definitions/CSSProperties"},".Loader":{"$ref":"#/definitions/CSSProperties"},".Loader--checked":{"$ref":"#/definitions/CSSProperties"},".Loader::placeholder":{"$ref":"#/definitions/CSSProperties"},".Loader::selection":{"$ref":"#/definitions/CSSProperties"},".Loader:active":{"$ref":"#/definitions/CSSProperties"},".Loader:autofill":{"$ref":"#/definitions/CSSProperties"},".Loader:disabled":{"$ref":"#/definitions/CSSProperties"},".Loader:focus":{"$ref":"#/definitions/CSSProperties"},".Loader:focus-visible":{"$ref":"#/definitions/CSSProperties"},".Loader:hover":{"$ref":"#/definitions/CSSProperties"},".MainContainer":{"$ref":"#/definitions/CSSProperties"},".MainContainer--checked":{"$ref":"#/definitions/CSSProperties"},".MainContainer::placeholder":{"$ref":"#/definitions/CSSProperties"},".MainContainer::selection":{"$ref":"#/definitions/CSSProperties"},".MainContainer:active":{"$ref":"#/definitions/CSSProperties"},".MainContainer:autofill":{"$ref":"#/definitions/CSSProperties"},".MainContainer:disabled":{"$ref":"#/definitions/CSSProperties"},".MainContainer:focus":{"$ref":"#/definitions/CSSProperties"},".MainContainer:focus-visible":{"$ref":"#/definitions/CSSProperties"},".MainContainer:hover":{"$ref":"#/definitions/CSSProperties"},".NinInput":{"$ref":"#/definitions/CSSProperties"},".NinInput--checked":{"$ref":"#/definitions/CSSProperties"},".NinInput::placeholder":{"$ref":"#/definitions/CSSProperties"},".NinInput::selection":{"$ref":"#/definitions/CSSProperties"},".NinInput:active":{"$ref":"#/definitions/CSSProperties"},".NinInput:autofill":{"$ref":"#/definitions/CSSProperties"},".NinInput:disabled":{"$ref":"#/definitions/CSSProperties"},".NinInput:focus":{"$ref":"#/definitions/CSSProperties"},".NinInput:focus-visible":{"$ref":"#/definitions/CSSProperties"},".NinInput:hover":{"$ref":"#/definitions/CSSProperties"},".Radio":{"$ref":"#/definitions/CSSProperties"},".Radio--checked":{"$ref":"#/definitions/CSSProperties"},".Radio::placeholder":{"$ref":"#/definitions/CSSProperties"},".Radio::selection":{"$ref":"#/definitions/CSSProperties"},".Radio:active":{"$ref":"#/definitions/CSSProperties"},".Radio:autofill":{"$ref":"#/definitions/CSSProperties"},".Radio:disabled":{"$ref":"#/definitions/CSSProperties"},".Radio:focus":{"$ref":"#/definitions/CSSProperties"},".Radio:focus-visible":{"$ref":"#/definitions/CSSProperties"},".Radio:hover":{"$ref":"#/definitions/CSSProperties"},".RadioButton":{"$ref":"#/definitions/CSSProperties"},".RadioButton--checked":{"$ref":"#/definitions/CSSProperties"},".RadioButton::placeholder":{"$ref":"#/definitions/CSSProperties"},".RadioButton::selection":{"$ref":"#/definitions/CSSProperties"},".RadioButton:active":{"$ref":"#/definitions/CSSProperties"},".RadioButton:autofill":{"$ref":"#/definitions/CSSProperties"},".RadioButton:disabled":{"$ref":"#/definitions/CSSProperties"},".RadioButton:focus":{"$ref":"#/definitions/CSSProperties"},".RadioButton:focus-visible":{"$ref":"#/definitions/CSSProperties"},".RadioButton:hover":{"$ref":"#/definitions/CSSProperties"},".RadioCard":{"$ref":"#/definitions/CSSProperties"},".RadioCard--checked":{"$ref":"#/definitions/CSSProperties"},".RadioCard::placeholder":{"$ref":"#/definitions/CSSProperties"},".RadioCard::selection":{"$ref":"#/definitions/CSSProperties"},".RadioCard:active":{"$ref":"#/definitions/CSSProperties"},".RadioCard:autofill":{"$ref":"#/definitions/CSSProperties"},".RadioCard:disabled":{"$ref":"#/definitions/CSSProperties"},".RadioCard:focus":{"$ref":"#/definitions/CSSProperties"},".RadioCard:focus-visible":{"$ref":"#/definitions/CSSProperties"},".RadioCard:hover":{"$ref":"#/definitions/CSSProperties"},".RadioCardButton":{"$ref":"#/definitions/CSSProperties"},".RadioCardButton--checked":{"$ref":"#/definitions/CSSProperties"},".RadioCardButton::placeholder":{"$ref":"#/definitions/CSSProperties"},".RadioCardButton::selection":{"$ref":"#/definitions/CSSProperties"},".RadioCardButton:active":{"$ref":"#/definitions/CSSProperties"},".RadioCardButton:autofill":{"$ref":"#/definitions/CSSProperties"},".RadioCardButton:disabled":{"$ref":"#/definitions/CSSProperties"},".RadioCardButton:focus":{"$ref":"#/definitions/CSSProperties"},".RadioCardButton:focus-visible":{"$ref":"#/definitions/CSSProperties"},".RadioCardButton:hover":{"$ref":"#/definitions/CSSProperties"},".RadioCardIndicator":{"$ref":"#/definitions/CSSProperties"},".RadioCardIndicator--checked":{"$ref":"#/definitions/CSSProperties"},".RadioCardIndicator::placeholder":{"$ref":"#/definitions/CSSProperties"},".RadioCardIndicator::selection":{"$ref":"#/definitions/CSSProperties"},".RadioCardIndicator:active":{"$ref":"#/definitions/CSSProperties"},".RadioCardIndicator:autofill":{"$ref":"#/definitions/CSSProperties"},".RadioCardIndicator:disabled":{"$ref":"#/definitions/CSSProperties"},".RadioCardIndicator:focus":{"$ref":"#/definitions/CSSProperties"},".RadioCardIndicator:focus-visible":{"$ref":"#/definitions/CSSProperties"},".RadioCardIndicator:hover":{"$ref":"#/definitions/CSSProperties"},".RadioCardTitle":{"$ref":"#/definitions/CSSProperties"},".RadioCardTitle--checked":{"$ref":"#/definitions/CSSProperties"},".RadioCardTitle::placeholder":{"$ref":"#/definitions/CSSProperties"},".RadioCardTitle::selection":{"$ref":"#/definitions/CSSProperties"},".RadioCardTitle:active":{"$ref":"#/definitions/CSSProperties"},".RadioCardTitle:autofill":{"$ref":"#/definitions/CSSProperties"},".RadioCardTitle:disabled":{"$ref":"#/definitions/CSSProperties"},".RadioCardTitle:focus":{"$ref":"#/definitions/CSSProperties"},".RadioCardTitle:focus-visible":{"$ref":"#/definitions/CSSProperties"},".RadioCardTitle:hover":{"$ref":"#/definitions/CSSProperties"},".RadioIndicator":{"$ref":"#/definitions/CSSProperties"},".RadioIndicator--checked":{"$ref":"#/definitions/CSSProperties"},".RadioIndicator::placeholder":{"$ref":"#/definitions/CSSProperties"},".RadioIndicator::selection":{"$ref":"#/definitions/CSSProperties"},".RadioIndicator:active":{"$ref":"#/definitions/CSSProperties"},".RadioIndicator:autofill":{"$ref":"#/definitions/CSSProperties"},".RadioIndicator:disabled":{"$ref":"#/definitions/CSSProperties"},".RadioIndicator:focus":{"$ref":"#/definitions/CSSProperties"},".RadioIndicator:focus-visible":{"$ref":"#/definitions/CSSProperties"},".RadioIndicator:hover":{"$ref":"#/definitions/CSSProperties"},".RadioLabel":{"$ref":"#/definitions/CSSProperties"},".RadioLabel--checked":{"$ref":"#/definitions/CSSProperties"},".RadioLabel::placeholder":{"$ref":"#/definitions/CSSProperties"},".RadioLabel::selection":{"$ref":"#/definitions/CSSProperties"},".RadioLabel:active":{"$ref":"#/definitions/CSSProperties"},".RadioLabel:autofill":{"$ref":"#/definitions/CSSProperties"},".RadioLabel:disabled":{"$ref":"#/definitions/CSSProperties"},".RadioLabel:focus":{"$ref":"#/definitions/CSSProperties"},".RadioLabel:focus-visible":{"$ref":"#/definitions/CSSProperties"},".RadioLabel:hover":{"$ref":"#/definitions/CSSProperties"},".Select":{"$ref":"#/definitions/CSSProperties"},".Select--checked":{"$ref":"#/definitions/CSSProperties"},".Select::placeholder":{"$ref":"#/definitions/CSSProperties"},".Select::selection":{"$ref":"#/definitions/CSSProperties"},".Select:active":{"$ref":"#/definitions/CSSProperties"},".Select:autofill":{"$ref":"#/definitions/CSSProperties"},".Select:disabled":{"$ref":"#/definitions/CSSProperties"},".Select:focus":{"$ref":"#/definitions/CSSProperties"},".Select:focus-visible":{"$ref":"#/definitions/CSSProperties"},".Select:hover":{"$ref":"#/definitions/CSSProperties"},".StepIndicator":{"$ref":"#/definitions/CSSProperties"},".StepIndicator--active":{"$ref":"#/definitions/CSSProperties"},".StepIndicator--checked":{"$ref":"#/definitions/CSSProperties"},".StepIndicator--completed":{"$ref":"#/definitions/CSSProperties"},".StepIndicator--pending":{"$ref":"#/definitions/CSSProperties"},".StepIndicator::placeholder":{"$ref":"#/definitions/CSSProperties"},".StepIndicator::selection":{"$ref":"#/definitions/CSSProperties"},".StepIndicator:active":{"$ref":"#/definitions/CSSProperties"},".StepIndicator:autofill":{"$ref":"#/definitions/CSSProperties"},".StepIndicator:disabled":{"$ref":"#/definitions/CSSProperties"},".StepIndicator:focus":{"$ref":"#/definitions/CSSProperties"},".StepIndicator:focus-visible":{"$ref":"#/definitions/CSSProperties"},".StepIndicator:hover":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorContainer":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorContainer--checked":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorContainer::placeholder":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorContainer::selection":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorContainer:active":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorContainer:autofill":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorContainer:disabled":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorContainer:focus":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorContainer:focus-visible":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorContainer:hover":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorDot":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorDot--checked":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorDot::placeholder":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorDot::selection":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorDot:active":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorDot:autofill":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorDot:disabled":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorDot:focus":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorDot:focus-visible":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorDot:hover":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorIcon":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorIcon--checked":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorIcon::placeholder":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorIcon::selection":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorIcon:active":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorIcon:autofill":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorIcon:disabled":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorIcon:focus":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorIcon:focus-visible":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorIcon:hover":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorLine":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorLine--bottom":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorLine--checked":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorLine--top":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorLine::placeholder":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorLine::selection":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorLine:active":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorLine:autofill":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorLine:disabled":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorLine:focus":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorLine:focus-visible":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorLine:hover":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorNumber":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorNumber--checked":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorNumber::placeholder":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorNumber::selection":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorNumber:active":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorNumber:autofill":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorNumber:disabled":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorNumber:focus":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorNumber:focus-visible":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorNumber:hover":{"$ref":"#/definitions/CSSProperties"},".StepTitle":{"$ref":"#/definitions/CSSProperties"},".StepTitle--checked":{"$ref":"#/definitions/CSSProperties"},".StepTitle::placeholder":{"$ref":"#/definitions/CSSProperties"},".StepTitle::selection":{"$ref":"#/definitions/CSSProperties"},".StepTitle:active":{"$ref":"#/definitions/CSSProperties"},".StepTitle:autofill":{"$ref":"#/definitions/CSSProperties"},".StepTitle:disabled":{"$ref":"#/definitions/CSSProperties"},".StepTitle:focus":{"$ref":"#/definitions/CSSProperties"},".StepTitle:focus-visible":{"$ref":"#/definitions/CSSProperties"},".StepTitle:hover":{"$ref":"#/definitions/CSSProperties"},".Switch":{"$ref":"#/definitions/CSSProperties"},".Switch--checked":{"$ref":"#/definitions/CSSProperties"},".Switch::placeholder":{"$ref":"#/definitions/CSSProperties"},".Switch::selection":{"$ref":"#/definitions/CSSProperties"},".Switch:active":{"$ref":"#/definitions/CSSProperties"},".Switch:autofill":{"$ref":"#/definitions/CSSProperties"},".Switch:disabled":{"$ref":"#/definitions/CSSProperties"},".Switch:focus":{"$ref":"#/definitions/CSSProperties"},".Switch:focus-visible":{"$ref":"#/definitions/CSSProperties"},".Switch:hover":{"$ref":"#/definitions/CSSProperties"},".SwitchIcon":{"$ref":"#/definitions/CSSProperties"},".SwitchIcon--checked":{"$ref":"#/definitions/CSSProperties"},".SwitchIcon::placeholder":{"$ref":"#/definitions/CSSProperties"},".SwitchIcon::selection":{"$ref":"#/definitions/CSSProperties"},".SwitchIcon:active":{"$ref":"#/definitions/CSSProperties"},".SwitchIcon:autofill":{"$ref":"#/definitions/CSSProperties"},".SwitchIcon:disabled":{"$ref":"#/definitions/CSSProperties"},".SwitchIcon:focus":{"$ref":"#/definitions/CSSProperties"},".SwitchIcon:focus-visible":{"$ref":"#/definitions/CSSProperties"},".SwitchIcon:hover":{"$ref":"#/definitions/CSSProperties"},".SwitchRoot":{"$ref":"#/definitions/CSSProperties"},".SwitchRoot--checked":{"$ref":"#/definitions/CSSProperties"},".SwitchRoot::placeholder":{"$ref":"#/definitions/CSSProperties"},".SwitchRoot::selection":{"$ref":"#/definitions/CSSProperties"},".SwitchRoot:active":{"$ref":"#/definitions/CSSProperties"},".SwitchRoot:autofill":{"$ref":"#/definitions/CSSProperties"},".SwitchRoot:disabled":{"$ref":"#/definitions/CSSProperties"},".SwitchRoot:focus":{"$ref":"#/definitions/CSSProperties"},".SwitchRoot:focus-visible":{"$ref":"#/definitions/CSSProperties"},".SwitchRoot:hover":{"$ref":"#/definitions/CSSProperties"},".SwitchThumb":{"$ref":"#/definitions/CSSProperties"},".SwitchThumb--checked":{"$ref":"#/definitions/CSSProperties"},".SwitchThumb::placeholder":{"$ref":"#/definitions/CSSProperties"},".SwitchThumb::selection":{"$ref":"#/definitions/CSSProperties"},".SwitchThumb:active":{"$ref":"#/definitions/CSSProperties"},".SwitchThumb:autofill":{"$ref":"#/definitions/CSSProperties"},".SwitchThumb:disabled":{"$ref":"#/definitions/CSSProperties"},".SwitchThumb:focus":{"$ref":"#/definitions/CSSProperties"},".SwitchThumb:focus-visible":{"$ref":"#/definitions/CSSProperties"},".SwitchThumb:hover":{"$ref":"#/definitions/CSSProperties"},".TextArea":{"$ref":"#/definitions/CSSProperties"},".TextArea--checked":{"$ref":"#/definitions/CSSProperties"},".TextArea::placeholder":{"$ref":"#/definitions/CSSProperties"},".TextArea::selection":{"$ref":"#/definitions/CSSProperties"},".TextArea:active":{"$ref":"#/definitions/CSSProperties"},".TextArea:autofill":{"$ref":"#/definitions/CSSProperties"},".TextArea:disabled":{"$ref":"#/definitions/CSSProperties"},".TextArea:focus":{"$ref":"#/definitions/CSSProperties"},".TextArea:focus-visible":{"$ref":"#/definitions/CSSProperties"},".TextArea:hover":{"$ref":"#/definitions/CSSProperties"},".Title":{"$ref":"#/definitions/CSSProperties"},".Title--checked":{"$ref":"#/definitions/CSSProperties"},".Title::placeholder":{"$ref":"#/definitions/CSSProperties"},".Title::selection":{"$ref":"#/definitions/CSSProperties"},".Title:active":{"$ref":"#/definitions/CSSProperties"},".Title:autofill":{"$ref":"#/definitions/CSSProperties"},".Title:disabled":{"$ref":"#/definitions/CSSProperties"},".Title:focus":{"$ref":"#/definitions/CSSProperties"},".Title:focus-visible":{"$ref":"#/definitions/CSSProperties"},".Title:hover":{"$ref":"#/definitions/CSSProperties"},".TooltipContent":{"$ref":"#/definitions/CSSProperties"},".TooltipContent--checked":{"$ref":"#/definitions/CSSProperties"},".TooltipContent::placeholder":{"$ref":"#/definitions/CSSProperties"},".TooltipContent::selection":{"$ref":"#/definitions/CSSProperties"},".TooltipContent:active":{"$ref":"#/definitions/CSSProperties"},".TooltipContent:autofill":{"$ref":"#/definitions/CSSProperties"},".TooltipContent:disabled":{"$ref":"#/definitions/CSSProperties"},".TooltipContent:focus":{"$ref":"#/definitions/CSSProperties"},".TooltipContent:focus-visible":{"$ref":"#/definitions/CSSProperties"},".TooltipContent:hover":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInput":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInput--checked":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInput::placeholder":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInput::selection":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInput:active":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInput:autofill":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInput:disabled":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInput:focus":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInput:focus-visible":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInput:hover":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInputCell":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInputCell--checked":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInputCell::placeholder":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInputCell::selection":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInputCell:active":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInputCell:autofill":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInputCell:disabled":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInputCell:focus":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInputCell:focus-visible":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInputCell:hover":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInputSeparator":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInputSeparator--checked":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInputSeparator::placeholder":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInputSeparator::selection":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInputSeparator:active":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInputSeparator:autofill":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInputSeparator:disabled":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInputSeparator:focus":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInputSeparator:focus-visible":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInputSeparator:hover":{"$ref":"#/definitions/CSSProperties"}},"type":"object"},"SoyioTheme":{"enum":["soyio","night","flat"],"type":"string"}}`), ur = {
|
|
613
|
+
$ref: Kt,
|
|
614
|
+
$schema: er,
|
|
615
|
+
definitions: ir
|
|
616
|
+
}, tr = "#/definitions/SoyioWidgetConfig", rr = "http://json-schema.org/draft-07/schema#", nr = /* @__PURE__ */ JSON.parse(`{"CSSProperties":{"additionalProperties":false,"properties":{"WebkitAppearance":{"type":"string"},"accentColor":{"type":"string"},"alignItems":{"enum":["flex-start","flex-end","center","baseline","stretch"],"type":"string"},"appearance":{"type":"string"},"backgroundColor":{"type":"string"},"border":{"type":"string"},"borderBottom":{"type":"string"},"borderBottomColor":{"type":"string"},"borderBottomLeftRadius":{"type":"string"},"borderBottomRightRadius":{"type":"string"},"borderBottomStyle":{"type":"string"},"borderBottomWidth":{"type":"string"},"borderColor":{"type":"string"},"borderLeft":{"type":"string"},"borderLeftColor":{"type":"string"},"borderLeftStyle":{"type":"string"},"borderLeftWidth":{"type":"string"},"borderRadius":{"type":"string"},"borderRight":{"type":"string"},"borderRightColor":{"type":"string"},"borderRightStyle":{"type":"string"},"borderRightWidth":{"type":"string"},"borderStyle":{"type":"string"},"borderTop":{"type":"string"},"borderTopColor":{"type":"string"},"borderTopLeftRadius":{"type":"string"},"borderTopRightRadius":{"type":"string"},"borderTopStyle":{"type":"string"},"borderTopWidth":{"type":"string"},"borderWidth":{"type":"string"},"bottom":{"type":"string"},"boxShadow":{"type":"string"},"color":{"type":"string"},"cursor":{"type":"string"},"display":{"enum":["block","inline","inline-block","flex","inline-flex","grid","inline-grid","none"],"type":"string"},"fill":{"type":"string"},"fillOpacity":{"type":"number"},"flex":{"type":"string"},"flexDirection":{"enum":["row","row-reverse","column","column-reverse"],"type":"string"},"flexWrap":{"enum":["nowrap","wrap","wrap-reverse"],"type":"string"},"fontFamily":{"type":"string"},"fontSize":{"type":"string"},"fontVariant":{"type":"string"},"fontWeight":{"type":["string","number"]},"gap":{"type":"string"},"height":{"type":"string"},"justifyContent":{"enum":["flex-start","flex-end","center","space-between","space-around","space-evenly"],"type":"string"},"left":{"type":"string"},"letterSpacing":{"type":"string"},"lineHeight":{"type":["string","number"]},"margin":{"type":"string"},"marginBottom":{"type":"string"},"marginLeft":{"type":"string"},"marginRight":{"type":"string"},"marginTop":{"type":"string"},"mozOsxFontSmoothing":{"enum":["auto","grayscale","unset"],"type":"string"},"opacity":{"type":"number"},"outline":{"type":"string"},"outlineOffset":{"type":"string"},"overflow":{"enum":["visible","hidden","scroll","auto"],"type":"string"},"overflowX":{"enum":["visible","hidden","scroll","auto"],"type":"string"},"overflowY":{"enum":["visible","hidden","scroll","auto"],"type":"string"},"padding":{"type":"string"},"paddingBottom":{"type":"string"},"paddingLeft":{"type":"string"},"paddingRight":{"type":"string"},"paddingTop":{"type":"string"},"position":{"enum":["static","relative","absolute","fixed","sticky"],"type":"string"},"right":{"type":"string"},"textAlign":{"enum":["left","right","center","justify"],"type":"string"},"textDecoration":{"type":"string"},"textTransform":{"enum":["none","capitalize","uppercase","lowercase"],"type":"string"},"top":{"type":"string"},"transform":{"type":"string"},"transformOrigin":{"type":"string"},"transition":{"type":"string"},"transitionDelay":{"type":"string"},"transitionDuration":{"type":"string"},"transitionProperty":{"type":"string"},"transitionTimingFunction":{"type":"string"},"visibility":{"enum":["visible","hidden","collapse"],"type":"string"},"webkitFontSmoothing":{"enum":["auto","antialiased","subpixel-antialiased"],"type":"string"},"webkitTextFillColor":{"type":"string"},"whiteSpace":{"enum":["normal","nowrap","pre","pre-wrap","pre-line"],"type":"string"},"width":{"type":"string"},"wordBreak":{"enum":["normal","break-all","keep-all","break-word"],"type":"string"},"zIndex":{"type":["number","string"]}},"type":"object"},"ConsentConfig":{"additionalProperties":false,"properties":{"actionToken":{"type":"string"},"appearance":{"$ref":"#/definitions/SoyioAppearance"},"consentTemplateId":{"type":"string"},"context":{"type":"string"},"developmentUrl":{"type":"string"},"entityId":{"type":"string"},"isSandbox":{"type":"boolean"},"mandatoryReconsentBehavior":{"enum":["notice","askAgain"],"type":"string"},"onEvent":{"$comment":"(event: Record<string, unknown>) => void","properties":{"namedArgs":{"additionalProperties":false,"properties":{"event":{"additionalProperties":{},"type":"object"}},"required":["event"],"type":"object"}},"type":"object"},"onReady":{"$comment":"() => void"},"optionalReconsentBehavior":{"enum":["notice","askAgain","hide"],"type":"string"}},"required":["consentTemplateId","onEvent"],"type":"object"},"DataSubject":{"enum":["anonymous_user","citizen_voter","commuter","consultant","customer","employee","job_applicant","next_of_kin","passenger","patient","prospect","shareholder","supplier_vendor","trainee","visitor"],"type":"string"},"IconWeight":{"enum":["thin","light","regular","bold","fill","duotone"],"type":"string"},"PrivacyCenterConfig":{"anyOf":[{"additionalProperties":false,"properties":{"appearance":{"$ref":"#/definitions/SoyioAppearance"},"companyId":{"type":"string"},"dataSubjects":{"items":{"$ref":"#/definitions/DataSubject"},"type":"array"},"demo":{"type":"boolean"},"developmentUrl":{"type":"string"},"enabledFeatures":{"items":{"$ref":"#/definitions/PrivacyManagerFeature"},"type":"array"},"enabledRights":{"items":{"$ref":"#/definitions/PrivacyCenterRight"},"type":"array"},"fileRequisites":{"additionalProperties":false,"properties":{"allowedExtensions":{"items":{"type":"string"},"type":"array"},"maxFileSize":{"type":"number"}},"type":"object"},"isSandbox":{"type":"boolean"},"onEvent":{"$comment":"(event: Record<string, unknown>) => void","properties":{"namedArgs":{"additionalProperties":false,"properties":{"event":{"additionalProperties":{},"type":"object"}},"required":["event"],"type":"object"}},"type":"object"},"onReady":{"$comment":"() => void"},"requestReference":{"type":"string"}},"required":["companyId","onEvent"],"type":"object"},{"additionalProperties":false,"properties":{"appearance":{"$ref":"#/definitions/SoyioAppearance"},"dataSubjects":{"items":{"$ref":"#/definitions/DataSubject"},"type":"array"},"demo":{"type":"boolean"},"developmentUrl":{"type":"string"},"enabledFeatures":{"items":{"$ref":"#/definitions/PrivacyManagerFeature"},"type":"array"},"enabledRights":{"items":{"$ref":"#/definitions/PrivacyCenterRight"},"type":"array"},"fileRequisites":{"additionalProperties":false,"properties":{"allowedExtensions":{"items":{"type":"string"},"type":"array"},"maxFileSize":{"type":"number"}},"type":"object"},"isSandbox":{"type":"boolean"},"onEvent":{"$comment":"(event: Record<string, unknown>) => void","properties":{"namedArgs":{"additionalProperties":false,"properties":{"event":{"additionalProperties":{},"type":"object"}},"required":["event"],"type":"object"}},"type":"object"},"onReady":{"$comment":"() => void"},"requestReference":{"type":"string"},"sessionToken":{"type":"string"}},"required":["onEvent","sessionToken"],"type":"object"}]},"PrivacyCenterRight":{"enum":["arsop","redec"],"type":"string"},"PrivacyManagerFeature":{"enum":["DataSubjectRequest","ConsentManagement","RequestTracking"],"type":"string"},"SoyioAppearance":{"additionalProperties":false,"properties":{"config":{"$ref":"#/definitions/SoyioAppearanceConfig"},"rules":{"$ref":"#/definitions/SoyioRule"},"theme":{"$ref":"#/definitions/SoyioTheme"},"variables":{"$ref":"#/definitions/SoyioAppearanceVariables"}},"type":"object"},"SoyioAppearanceConfig":{"additionalProperties":false,"properties":{"brandTheme":{"default":"default","description":"Theme variant for branded elements like the footer.\\n- 'default': Standard Soyio brand colors (purple/indigo)\\n- 'dark': Dark mode with gray tones\\n- 'light': Mono color light version","enum":["default","dark","light"],"type":"string"},"helperTextPosition":{"enum":["top","bottom"],"type":"string"},"hintIcon":{"default":"Question","description":"Icon name to use for hint/help tooltips on input labels. Available icons: 'Question' (default), 'Info', 'QuestionMark', etc.","type":"string"},"icon":{"$ref":"#/definitions/SoyioIconConfig","description":"Global icon appearance configuration. Controls default weight and size for all icons."},"iconRules":{"additionalProperties":{"$ref":"#/definitions/SoyioIconConfig"},"description":"Per-component icon overrides. Allows customizing icon styles for specific components.","type":"object"},"mainPageColumns":{"default":2,"description":"Number of columns in the main page feature cards grid.","enum":[1,2,3,4],"type":"number"}},"type":"object"},"SoyioAppearanceVariables":{"additionalProperties":false,"properties":{"borderRadius":{"type":"string"},"borderStyle":{"type":"string"},"borderWidth":{"type":"string"},"colorBackground":{"type":"string"},"colorBorder":{"type":"string"},"colorBorderMuted":{"type":"string"},"colorDanger":{"type":"string"},"colorDangerBg":{"type":"string"},"colorInfo":{"type":"string"},"colorInfoBg":{"type":"string"},"colorInputErrorFocus":{"type":"string"},"colorInputFocus":{"type":"string"},"colorLink":{"type":"string"},"colorOverlay":{"type":"string"},"colorPrimary":{"type":"string"},"colorPrimarySurface":{"type":"string"},"colorSecondary":{"type":"string"},"colorSelectArrow":{"type":"string"},"colorSuccess":{"type":"string"},"colorSuccessBg":{"type":"string"},"colorSurface":{"type":"string"},"colorSurfaceMuted":{"type":"string"},"colorSurfaceStrong":{"type":"string"},"colorSwitchBorder":{"type":"string"},"colorText":{"type":"string"},"colorTextInverted":{"type":"string"},"colorTextSecondary":{"type":"string"},"colorTextSubtle":{"type":"string"},"colorTextTitle":{"type":"string"},"colorWarning":{"type":"string"},"colorWarningBg":{"type":"string"},"dataUseIconColor":{"type":"string"},"fontFamily":{"type":"string"},"fontFamilyBody":{"type":"string"},"fontFamilyTitle":{"type":"string"},"fontSizeBase":{"type":"string"}},"type":"object"},"SoyioIconConfig":{"additionalProperties":false,"properties":{"dataUseVariant":{"description":"Override variant for data use icons in consent management. If not set, uses the company's configured iconVariant.","enum":["duotone","outline","solid"],"type":"string"},"size":{"default":24,"description":"Default icon size in pixels.","type":"number"},"weight":{"$ref":"#/definitions/IconWeight","default":"regular","description":"Icon weight/style variant.\\n- thin: Thinnest stroke\\n- light: Light stroke\\n- regular: Default stroke (default)\\n- bold: Bold stroke\\n- fill: Filled/solid icons\\n- duotone: Two-tone icons with opacity"}},"type":"object"},"SoyioRule":{"additionalProperties":{"$ref":"#/definitions/CSSProperties"},"properties":{".Alert":{"$ref":"#/definitions/CSSProperties"},".Alert--checked":{"$ref":"#/definitions/CSSProperties"},".Alert--error":{"$ref":"#/definitions/CSSProperties"},".Alert--info":{"$ref":"#/definitions/CSSProperties"},".Alert--success":{"$ref":"#/definitions/CSSProperties"},".Alert--warning":{"$ref":"#/definitions/CSSProperties"},".Alert::placeholder":{"$ref":"#/definitions/CSSProperties"},".Alert::selection":{"$ref":"#/definitions/CSSProperties"},".Alert:active":{"$ref":"#/definitions/CSSProperties"},".Alert:autofill":{"$ref":"#/definitions/CSSProperties"},".Alert:disabled":{"$ref":"#/definitions/CSSProperties"},".Alert:focus":{"$ref":"#/definitions/CSSProperties"},".Alert:focus-visible":{"$ref":"#/definitions/CSSProperties"},".Alert:hover":{"$ref":"#/definitions/CSSProperties"},".AlertContent":{"$ref":"#/definitions/CSSProperties"},".AlertContent--checked":{"$ref":"#/definitions/CSSProperties"},".AlertContent::placeholder":{"$ref":"#/definitions/CSSProperties"},".AlertContent::selection":{"$ref":"#/definitions/CSSProperties"},".AlertContent:active":{"$ref":"#/definitions/CSSProperties"},".AlertContent:autofill":{"$ref":"#/definitions/CSSProperties"},".AlertContent:disabled":{"$ref":"#/definitions/CSSProperties"},".AlertContent:focus":{"$ref":"#/definitions/CSSProperties"},".AlertContent:focus-visible":{"$ref":"#/definitions/CSSProperties"},".AlertContent:hover":{"$ref":"#/definitions/CSSProperties"},".AlertIcon":{"$ref":"#/definitions/CSSProperties"},".AlertIcon--checked":{"$ref":"#/definitions/CSSProperties"},".AlertIcon::placeholder":{"$ref":"#/definitions/CSSProperties"},".AlertIcon::selection":{"$ref":"#/definitions/CSSProperties"},".AlertIcon:active":{"$ref":"#/definitions/CSSProperties"},".AlertIcon:autofill":{"$ref":"#/definitions/CSSProperties"},".AlertIcon:disabled":{"$ref":"#/definitions/CSSProperties"},".AlertIcon:focus":{"$ref":"#/definitions/CSSProperties"},".AlertIcon:focus-visible":{"$ref":"#/definitions/CSSProperties"},".AlertIcon:hover":{"$ref":"#/definitions/CSSProperties"},".Button":{"$ref":"#/definitions/CSSProperties"},".Button--checked":{"$ref":"#/definitions/CSSProperties"},".Button::placeholder":{"$ref":"#/definitions/CSSProperties"},".Button::selection":{"$ref":"#/definitions/CSSProperties"},".Button:active":{"$ref":"#/definitions/CSSProperties"},".Button:autofill":{"$ref":"#/definitions/CSSProperties"},".Button:disabled":{"$ref":"#/definitions/CSSProperties"},".Button:focus":{"$ref":"#/definitions/CSSProperties"},".Button:focus-visible":{"$ref":"#/definitions/CSSProperties"},".Button:hover":{"$ref":"#/definitions/CSSProperties"},".Card":{"$ref":"#/definitions/CSSProperties"},".Card--checked":{"$ref":"#/definitions/CSSProperties"},".Card::placeholder":{"$ref":"#/definitions/CSSProperties"},".Card::selection":{"$ref":"#/definitions/CSSProperties"},".Card:active":{"$ref":"#/definitions/CSSProperties"},".Card:autofill":{"$ref":"#/definitions/CSSProperties"},".Card:disabled":{"$ref":"#/definitions/CSSProperties"},".Card:focus":{"$ref":"#/definitions/CSSProperties"},".Card:focus-visible":{"$ref":"#/definitions/CSSProperties"},".Card:hover":{"$ref":"#/definitions/CSSProperties"},".CardTitle":{"$ref":"#/definitions/CSSProperties"},".CardTitle--checked":{"$ref":"#/definitions/CSSProperties"},".CardTitle::placeholder":{"$ref":"#/definitions/CSSProperties"},".CardTitle::selection":{"$ref":"#/definitions/CSSProperties"},".CardTitle:active":{"$ref":"#/definitions/CSSProperties"},".CardTitle:autofill":{"$ref":"#/definitions/CSSProperties"},".CardTitle:disabled":{"$ref":"#/definitions/CSSProperties"},".CardTitle:focus":{"$ref":"#/definitions/CSSProperties"},".CardTitle:focus-visible":{"$ref":"#/definitions/CSSProperties"},".CardTitle:hover":{"$ref":"#/definitions/CSSProperties"},".Checkbox":{"$ref":"#/definitions/CSSProperties"},".Checkbox--checked":{"$ref":"#/definitions/CSSProperties"},".Checkbox::placeholder":{"$ref":"#/definitions/CSSProperties"},".Checkbox::selection":{"$ref":"#/definitions/CSSProperties"},".Checkbox:active":{"$ref":"#/definitions/CSSProperties"},".Checkbox:autofill":{"$ref":"#/definitions/CSSProperties"},".Checkbox:disabled":{"$ref":"#/definitions/CSSProperties"},".Checkbox:focus":{"$ref":"#/definitions/CSSProperties"},".Checkbox:focus-visible":{"$ref":"#/definitions/CSSProperties"},".Checkbox:hover":{"$ref":"#/definitions/CSSProperties"},".CheckboxInput":{"$ref":"#/definitions/CSSProperties"},".CheckboxInput--checked":{"$ref":"#/definitions/CSSProperties"},".CheckboxInput::placeholder":{"$ref":"#/definitions/CSSProperties"},".CheckboxInput::selection":{"$ref":"#/definitions/CSSProperties"},".CheckboxInput:active":{"$ref":"#/definitions/CSSProperties"},".CheckboxInput:autofill":{"$ref":"#/definitions/CSSProperties"},".CheckboxInput:disabled":{"$ref":"#/definitions/CSSProperties"},".CheckboxInput:focus":{"$ref":"#/definitions/CSSProperties"},".CheckboxInput:focus-visible":{"$ref":"#/definitions/CSSProperties"},".CheckboxInput:hover":{"$ref":"#/definitions/CSSProperties"},".CheckboxLabel":{"$ref":"#/definitions/CSSProperties"},".CheckboxLabel--checked":{"$ref":"#/definitions/CSSProperties"},".CheckboxLabel::placeholder":{"$ref":"#/definitions/CSSProperties"},".CheckboxLabel::selection":{"$ref":"#/definitions/CSSProperties"},".CheckboxLabel:active":{"$ref":"#/definitions/CSSProperties"},".CheckboxLabel:autofill":{"$ref":"#/definitions/CSSProperties"},".CheckboxLabel:disabled":{"$ref":"#/definitions/CSSProperties"},".CheckboxLabel:focus":{"$ref":"#/definitions/CSSProperties"},".CheckboxLabel:focus-visible":{"$ref":"#/definitions/CSSProperties"},".CheckboxLabel:hover":{"$ref":"#/definitions/CSSProperties"},".Chip":{"$ref":"#/definitions/CSSProperties"},".Chip--amber":{"$ref":"#/definitions/CSSProperties"},".Chip--checked":{"$ref":"#/definitions/CSSProperties"},".Chip--green":{"$ref":"#/definitions/CSSProperties"},".Chip--info":{"$ref":"#/definitions/CSSProperties"},".Chip--red":{"$ref":"#/definitions/CSSProperties"},".Chip::placeholder":{"$ref":"#/definitions/CSSProperties"},".Chip::selection":{"$ref":"#/definitions/CSSProperties"},".Chip:active":{"$ref":"#/definitions/CSSProperties"},".Chip:autofill":{"$ref":"#/definitions/CSSProperties"},".Chip:disabled":{"$ref":"#/definitions/CSSProperties"},".Chip:focus":{"$ref":"#/definitions/CSSProperties"},".Chip:focus-visible":{"$ref":"#/definitions/CSSProperties"},".Chip:hover":{"$ref":"#/definitions/CSSProperties"},".Combobox":{"$ref":"#/definitions/CSSProperties"},".Combobox--checked":{"$ref":"#/definitions/CSSProperties"},".Combobox::placeholder":{"$ref":"#/definitions/CSSProperties"},".Combobox::selection":{"$ref":"#/definitions/CSSProperties"},".Combobox:active":{"$ref":"#/definitions/CSSProperties"},".Combobox:autofill":{"$ref":"#/definitions/CSSProperties"},".Combobox:disabled":{"$ref":"#/definitions/CSSProperties"},".Combobox:focus":{"$ref":"#/definitions/CSSProperties"},".Combobox:focus-visible":{"$ref":"#/definitions/CSSProperties"},".Combobox:hover":{"$ref":"#/definitions/CSSProperties"},".Description":{"$ref":"#/definitions/CSSProperties"},".Description--checked":{"$ref":"#/definitions/CSSProperties"},".Description::placeholder":{"$ref":"#/definitions/CSSProperties"},".Description::selection":{"$ref":"#/definitions/CSSProperties"},".Description:active":{"$ref":"#/definitions/CSSProperties"},".Description:autofill":{"$ref":"#/definitions/CSSProperties"},".Description:disabled":{"$ref":"#/definitions/CSSProperties"},".Description:focus":{"$ref":"#/definitions/CSSProperties"},".Description:focus-visible":{"$ref":"#/definitions/CSSProperties"},".Description:hover":{"$ref":"#/definitions/CSSProperties"},".Dialog":{"$ref":"#/definitions/CSSProperties"},".Dialog--checked":{"$ref":"#/definitions/CSSProperties"},".Dialog::placeholder":{"$ref":"#/definitions/CSSProperties"},".Dialog::selection":{"$ref":"#/definitions/CSSProperties"},".Dialog:active":{"$ref":"#/definitions/CSSProperties"},".Dialog:autofill":{"$ref":"#/definitions/CSSProperties"},".Dialog:disabled":{"$ref":"#/definitions/CSSProperties"},".Dialog:focus":{"$ref":"#/definitions/CSSProperties"},".Dialog:focus-visible":{"$ref":"#/definitions/CSSProperties"},".Dialog:hover":{"$ref":"#/definitions/CSSProperties"},".DialogContent":{"$ref":"#/definitions/CSSProperties"},".DialogContent--checked":{"$ref":"#/definitions/CSSProperties"},".DialogContent::placeholder":{"$ref":"#/definitions/CSSProperties"},".DialogContent::selection":{"$ref":"#/definitions/CSSProperties"},".DialogContent:active":{"$ref":"#/definitions/CSSProperties"},".DialogContent:autofill":{"$ref":"#/definitions/CSSProperties"},".DialogContent:disabled":{"$ref":"#/definitions/CSSProperties"},".DialogContent:focus":{"$ref":"#/definitions/CSSProperties"},".DialogContent:focus-visible":{"$ref":"#/definitions/CSSProperties"},".DialogContent:hover":{"$ref":"#/definitions/CSSProperties"},".DialogDescription":{"$ref":"#/definitions/CSSProperties"},".DialogDescription--checked":{"$ref":"#/definitions/CSSProperties"},".DialogDescription::placeholder":{"$ref":"#/definitions/CSSProperties"},".DialogDescription::selection":{"$ref":"#/definitions/CSSProperties"},".DialogDescription:active":{"$ref":"#/definitions/CSSProperties"},".DialogDescription:autofill":{"$ref":"#/definitions/CSSProperties"},".DialogDescription:disabled":{"$ref":"#/definitions/CSSProperties"},".DialogDescription:focus":{"$ref":"#/definitions/CSSProperties"},".DialogDescription:focus-visible":{"$ref":"#/definitions/CSSProperties"},".DialogDescription:hover":{"$ref":"#/definitions/CSSProperties"},".DialogOverlay":{"$ref":"#/definitions/CSSProperties"},".DialogOverlay--checked":{"$ref":"#/definitions/CSSProperties"},".DialogOverlay::placeholder":{"$ref":"#/definitions/CSSProperties"},".DialogOverlay::selection":{"$ref":"#/definitions/CSSProperties"},".DialogOverlay:active":{"$ref":"#/definitions/CSSProperties"},".DialogOverlay:autofill":{"$ref":"#/definitions/CSSProperties"},".DialogOverlay:disabled":{"$ref":"#/definitions/CSSProperties"},".DialogOverlay:focus":{"$ref":"#/definitions/CSSProperties"},".DialogOverlay:focus-visible":{"$ref":"#/definitions/CSSProperties"},".DialogOverlay:hover":{"$ref":"#/definitions/CSSProperties"},".DialogTitle":{"$ref":"#/definitions/CSSProperties"},".DialogTitle--checked":{"$ref":"#/definitions/CSSProperties"},".DialogTitle::placeholder":{"$ref":"#/definitions/CSSProperties"},".DialogTitle::selection":{"$ref":"#/definitions/CSSProperties"},".DialogTitle:active":{"$ref":"#/definitions/CSSProperties"},".DialogTitle:autofill":{"$ref":"#/definitions/CSSProperties"},".DialogTitle:disabled":{"$ref":"#/definitions/CSSProperties"},".DialogTitle:focus":{"$ref":"#/definitions/CSSProperties"},".DialogTitle:focus-visible":{"$ref":"#/definitions/CSSProperties"},".DialogTitle:hover":{"$ref":"#/definitions/CSSProperties"},".ErrorMessage":{"$ref":"#/definitions/CSSProperties"},".ErrorMessage--checked":{"$ref":"#/definitions/CSSProperties"},".ErrorMessage::placeholder":{"$ref":"#/definitions/CSSProperties"},".ErrorMessage::selection":{"$ref":"#/definitions/CSSProperties"},".ErrorMessage:active":{"$ref":"#/definitions/CSSProperties"},".ErrorMessage:autofill":{"$ref":"#/definitions/CSSProperties"},".ErrorMessage:disabled":{"$ref":"#/definitions/CSSProperties"},".ErrorMessage:focus":{"$ref":"#/definitions/CSSProperties"},".ErrorMessage:focus-visible":{"$ref":"#/definitions/CSSProperties"},".ErrorMessage:hover":{"$ref":"#/definitions/CSSProperties"},".HintIcon":{"$ref":"#/definitions/CSSProperties"},".HintIcon--checked":{"$ref":"#/definitions/CSSProperties"},".HintIcon::placeholder":{"$ref":"#/definitions/CSSProperties"},".HintIcon::selection":{"$ref":"#/definitions/CSSProperties"},".HintIcon:active":{"$ref":"#/definitions/CSSProperties"},".HintIcon:autofill":{"$ref":"#/definitions/CSSProperties"},".HintIcon:disabled":{"$ref":"#/definitions/CSSProperties"},".HintIcon:focus":{"$ref":"#/definitions/CSSProperties"},".HintIcon:focus-visible":{"$ref":"#/definitions/CSSProperties"},".HintIcon:hover":{"$ref":"#/definitions/CSSProperties"},".Input":{"$ref":"#/definitions/CSSProperties"},".Input--checked":{"$ref":"#/definitions/CSSProperties"},".Input--error":{"$ref":"#/definitions/CSSProperties"},".Input::placeholder":{"$ref":"#/definitions/CSSProperties"},".Input::selection":{"$ref":"#/definitions/CSSProperties"},".Input:active":{"$ref":"#/definitions/CSSProperties"},".Input:autofill":{"$ref":"#/definitions/CSSProperties"},".Input:disabled":{"$ref":"#/definitions/CSSProperties"},".Input:focus":{"$ref":"#/definitions/CSSProperties"},".Input:focus-visible":{"$ref":"#/definitions/CSSProperties"},".Input:hover":{"$ref":"#/definitions/CSSProperties"},".Label":{"$ref":"#/definitions/CSSProperties"},".Label--checked":{"$ref":"#/definitions/CSSProperties"},".Label::placeholder":{"$ref":"#/definitions/CSSProperties"},".Label::selection":{"$ref":"#/definitions/CSSProperties"},".Label:active":{"$ref":"#/definitions/CSSProperties"},".Label:autofill":{"$ref":"#/definitions/CSSProperties"},".Label:disabled":{"$ref":"#/definitions/CSSProperties"},".Label:focus":{"$ref":"#/definitions/CSSProperties"},".Label:focus-visible":{"$ref":"#/definitions/CSSProperties"},".Label:hover":{"$ref":"#/definitions/CSSProperties"},".Link":{"$ref":"#/definitions/CSSProperties"},".Link--checked":{"$ref":"#/definitions/CSSProperties"},".Link::placeholder":{"$ref":"#/definitions/CSSProperties"},".Link::selection":{"$ref":"#/definitions/CSSProperties"},".Link:active":{"$ref":"#/definitions/CSSProperties"},".Link:autofill":{"$ref":"#/definitions/CSSProperties"},".Link:disabled":{"$ref":"#/definitions/CSSProperties"},".Link:focus":{"$ref":"#/definitions/CSSProperties"},".Link:focus-visible":{"$ref":"#/definitions/CSSProperties"},".Link:hover":{"$ref":"#/definitions/CSSProperties"},".Loader":{"$ref":"#/definitions/CSSProperties"},".Loader--checked":{"$ref":"#/definitions/CSSProperties"},".Loader::placeholder":{"$ref":"#/definitions/CSSProperties"},".Loader::selection":{"$ref":"#/definitions/CSSProperties"},".Loader:active":{"$ref":"#/definitions/CSSProperties"},".Loader:autofill":{"$ref":"#/definitions/CSSProperties"},".Loader:disabled":{"$ref":"#/definitions/CSSProperties"},".Loader:focus":{"$ref":"#/definitions/CSSProperties"},".Loader:focus-visible":{"$ref":"#/definitions/CSSProperties"},".Loader:hover":{"$ref":"#/definitions/CSSProperties"},".MainContainer":{"$ref":"#/definitions/CSSProperties"},".MainContainer--checked":{"$ref":"#/definitions/CSSProperties"},".MainContainer::placeholder":{"$ref":"#/definitions/CSSProperties"},".MainContainer::selection":{"$ref":"#/definitions/CSSProperties"},".MainContainer:active":{"$ref":"#/definitions/CSSProperties"},".MainContainer:autofill":{"$ref":"#/definitions/CSSProperties"},".MainContainer:disabled":{"$ref":"#/definitions/CSSProperties"},".MainContainer:focus":{"$ref":"#/definitions/CSSProperties"},".MainContainer:focus-visible":{"$ref":"#/definitions/CSSProperties"},".MainContainer:hover":{"$ref":"#/definitions/CSSProperties"},".NinInput":{"$ref":"#/definitions/CSSProperties"},".NinInput--checked":{"$ref":"#/definitions/CSSProperties"},".NinInput::placeholder":{"$ref":"#/definitions/CSSProperties"},".NinInput::selection":{"$ref":"#/definitions/CSSProperties"},".NinInput:active":{"$ref":"#/definitions/CSSProperties"},".NinInput:autofill":{"$ref":"#/definitions/CSSProperties"},".NinInput:disabled":{"$ref":"#/definitions/CSSProperties"},".NinInput:focus":{"$ref":"#/definitions/CSSProperties"},".NinInput:focus-visible":{"$ref":"#/definitions/CSSProperties"},".NinInput:hover":{"$ref":"#/definitions/CSSProperties"},".Radio":{"$ref":"#/definitions/CSSProperties"},".Radio--checked":{"$ref":"#/definitions/CSSProperties"},".Radio::placeholder":{"$ref":"#/definitions/CSSProperties"},".Radio::selection":{"$ref":"#/definitions/CSSProperties"},".Radio:active":{"$ref":"#/definitions/CSSProperties"},".Radio:autofill":{"$ref":"#/definitions/CSSProperties"},".Radio:disabled":{"$ref":"#/definitions/CSSProperties"},".Radio:focus":{"$ref":"#/definitions/CSSProperties"},".Radio:focus-visible":{"$ref":"#/definitions/CSSProperties"},".Radio:hover":{"$ref":"#/definitions/CSSProperties"},".RadioButton":{"$ref":"#/definitions/CSSProperties"},".RadioButton--checked":{"$ref":"#/definitions/CSSProperties"},".RadioButton::placeholder":{"$ref":"#/definitions/CSSProperties"},".RadioButton::selection":{"$ref":"#/definitions/CSSProperties"},".RadioButton:active":{"$ref":"#/definitions/CSSProperties"},".RadioButton:autofill":{"$ref":"#/definitions/CSSProperties"},".RadioButton:disabled":{"$ref":"#/definitions/CSSProperties"},".RadioButton:focus":{"$ref":"#/definitions/CSSProperties"},".RadioButton:focus-visible":{"$ref":"#/definitions/CSSProperties"},".RadioButton:hover":{"$ref":"#/definitions/CSSProperties"},".RadioCard":{"$ref":"#/definitions/CSSProperties"},".RadioCard--checked":{"$ref":"#/definitions/CSSProperties"},".RadioCard::placeholder":{"$ref":"#/definitions/CSSProperties"},".RadioCard::selection":{"$ref":"#/definitions/CSSProperties"},".RadioCard:active":{"$ref":"#/definitions/CSSProperties"},".RadioCard:autofill":{"$ref":"#/definitions/CSSProperties"},".RadioCard:disabled":{"$ref":"#/definitions/CSSProperties"},".RadioCard:focus":{"$ref":"#/definitions/CSSProperties"},".RadioCard:focus-visible":{"$ref":"#/definitions/CSSProperties"},".RadioCard:hover":{"$ref":"#/definitions/CSSProperties"},".RadioCardButton":{"$ref":"#/definitions/CSSProperties"},".RadioCardButton--checked":{"$ref":"#/definitions/CSSProperties"},".RadioCardButton::placeholder":{"$ref":"#/definitions/CSSProperties"},".RadioCardButton::selection":{"$ref":"#/definitions/CSSProperties"},".RadioCardButton:active":{"$ref":"#/definitions/CSSProperties"},".RadioCardButton:autofill":{"$ref":"#/definitions/CSSProperties"},".RadioCardButton:disabled":{"$ref":"#/definitions/CSSProperties"},".RadioCardButton:focus":{"$ref":"#/definitions/CSSProperties"},".RadioCardButton:focus-visible":{"$ref":"#/definitions/CSSProperties"},".RadioCardButton:hover":{"$ref":"#/definitions/CSSProperties"},".RadioCardIndicator":{"$ref":"#/definitions/CSSProperties"},".RadioCardIndicator--checked":{"$ref":"#/definitions/CSSProperties"},".RadioCardIndicator::placeholder":{"$ref":"#/definitions/CSSProperties"},".RadioCardIndicator::selection":{"$ref":"#/definitions/CSSProperties"},".RadioCardIndicator:active":{"$ref":"#/definitions/CSSProperties"},".RadioCardIndicator:autofill":{"$ref":"#/definitions/CSSProperties"},".RadioCardIndicator:disabled":{"$ref":"#/definitions/CSSProperties"},".RadioCardIndicator:focus":{"$ref":"#/definitions/CSSProperties"},".RadioCardIndicator:focus-visible":{"$ref":"#/definitions/CSSProperties"},".RadioCardIndicator:hover":{"$ref":"#/definitions/CSSProperties"},".RadioCardTitle":{"$ref":"#/definitions/CSSProperties"},".RadioCardTitle--checked":{"$ref":"#/definitions/CSSProperties"},".RadioCardTitle::placeholder":{"$ref":"#/definitions/CSSProperties"},".RadioCardTitle::selection":{"$ref":"#/definitions/CSSProperties"},".RadioCardTitle:active":{"$ref":"#/definitions/CSSProperties"},".RadioCardTitle:autofill":{"$ref":"#/definitions/CSSProperties"},".RadioCardTitle:disabled":{"$ref":"#/definitions/CSSProperties"},".RadioCardTitle:focus":{"$ref":"#/definitions/CSSProperties"},".RadioCardTitle:focus-visible":{"$ref":"#/definitions/CSSProperties"},".RadioCardTitle:hover":{"$ref":"#/definitions/CSSProperties"},".RadioIndicator":{"$ref":"#/definitions/CSSProperties"},".RadioIndicator--checked":{"$ref":"#/definitions/CSSProperties"},".RadioIndicator::placeholder":{"$ref":"#/definitions/CSSProperties"},".RadioIndicator::selection":{"$ref":"#/definitions/CSSProperties"},".RadioIndicator:active":{"$ref":"#/definitions/CSSProperties"},".RadioIndicator:autofill":{"$ref":"#/definitions/CSSProperties"},".RadioIndicator:disabled":{"$ref":"#/definitions/CSSProperties"},".RadioIndicator:focus":{"$ref":"#/definitions/CSSProperties"},".RadioIndicator:focus-visible":{"$ref":"#/definitions/CSSProperties"},".RadioIndicator:hover":{"$ref":"#/definitions/CSSProperties"},".RadioLabel":{"$ref":"#/definitions/CSSProperties"},".RadioLabel--checked":{"$ref":"#/definitions/CSSProperties"},".RadioLabel::placeholder":{"$ref":"#/definitions/CSSProperties"},".RadioLabel::selection":{"$ref":"#/definitions/CSSProperties"},".RadioLabel:active":{"$ref":"#/definitions/CSSProperties"},".RadioLabel:autofill":{"$ref":"#/definitions/CSSProperties"},".RadioLabel:disabled":{"$ref":"#/definitions/CSSProperties"},".RadioLabel:focus":{"$ref":"#/definitions/CSSProperties"},".RadioLabel:focus-visible":{"$ref":"#/definitions/CSSProperties"},".RadioLabel:hover":{"$ref":"#/definitions/CSSProperties"},".Select":{"$ref":"#/definitions/CSSProperties"},".Select--checked":{"$ref":"#/definitions/CSSProperties"},".Select::placeholder":{"$ref":"#/definitions/CSSProperties"},".Select::selection":{"$ref":"#/definitions/CSSProperties"},".Select:active":{"$ref":"#/definitions/CSSProperties"},".Select:autofill":{"$ref":"#/definitions/CSSProperties"},".Select:disabled":{"$ref":"#/definitions/CSSProperties"},".Select:focus":{"$ref":"#/definitions/CSSProperties"},".Select:focus-visible":{"$ref":"#/definitions/CSSProperties"},".Select:hover":{"$ref":"#/definitions/CSSProperties"},".StepIndicator":{"$ref":"#/definitions/CSSProperties"},".StepIndicator--active":{"$ref":"#/definitions/CSSProperties"},".StepIndicator--checked":{"$ref":"#/definitions/CSSProperties"},".StepIndicator--completed":{"$ref":"#/definitions/CSSProperties"},".StepIndicator--pending":{"$ref":"#/definitions/CSSProperties"},".StepIndicator::placeholder":{"$ref":"#/definitions/CSSProperties"},".StepIndicator::selection":{"$ref":"#/definitions/CSSProperties"},".StepIndicator:active":{"$ref":"#/definitions/CSSProperties"},".StepIndicator:autofill":{"$ref":"#/definitions/CSSProperties"},".StepIndicator:disabled":{"$ref":"#/definitions/CSSProperties"},".StepIndicator:focus":{"$ref":"#/definitions/CSSProperties"},".StepIndicator:focus-visible":{"$ref":"#/definitions/CSSProperties"},".StepIndicator:hover":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorContainer":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorContainer--checked":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorContainer::placeholder":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorContainer::selection":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorContainer:active":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorContainer:autofill":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorContainer:disabled":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorContainer:focus":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorContainer:focus-visible":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorContainer:hover":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorDot":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorDot--checked":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorDot::placeholder":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorDot::selection":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorDot:active":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorDot:autofill":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorDot:disabled":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorDot:focus":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorDot:focus-visible":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorDot:hover":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorIcon":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorIcon--checked":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorIcon::placeholder":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorIcon::selection":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorIcon:active":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorIcon:autofill":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorIcon:disabled":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorIcon:focus":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorIcon:focus-visible":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorIcon:hover":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorLine":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorLine--bottom":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorLine--checked":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorLine--top":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorLine::placeholder":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorLine::selection":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorLine:active":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorLine:autofill":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorLine:disabled":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorLine:focus":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorLine:focus-visible":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorLine:hover":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorNumber":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorNumber--checked":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorNumber::placeholder":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorNumber::selection":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorNumber:active":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorNumber:autofill":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorNumber:disabled":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorNumber:focus":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorNumber:focus-visible":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorNumber:hover":{"$ref":"#/definitions/CSSProperties"},".StepTitle":{"$ref":"#/definitions/CSSProperties"},".StepTitle--checked":{"$ref":"#/definitions/CSSProperties"},".StepTitle::placeholder":{"$ref":"#/definitions/CSSProperties"},".StepTitle::selection":{"$ref":"#/definitions/CSSProperties"},".StepTitle:active":{"$ref":"#/definitions/CSSProperties"},".StepTitle:autofill":{"$ref":"#/definitions/CSSProperties"},".StepTitle:disabled":{"$ref":"#/definitions/CSSProperties"},".StepTitle:focus":{"$ref":"#/definitions/CSSProperties"},".StepTitle:focus-visible":{"$ref":"#/definitions/CSSProperties"},".StepTitle:hover":{"$ref":"#/definitions/CSSProperties"},".Switch":{"$ref":"#/definitions/CSSProperties"},".Switch--checked":{"$ref":"#/definitions/CSSProperties"},".Switch::placeholder":{"$ref":"#/definitions/CSSProperties"},".Switch::selection":{"$ref":"#/definitions/CSSProperties"},".Switch:active":{"$ref":"#/definitions/CSSProperties"},".Switch:autofill":{"$ref":"#/definitions/CSSProperties"},".Switch:disabled":{"$ref":"#/definitions/CSSProperties"},".Switch:focus":{"$ref":"#/definitions/CSSProperties"},".Switch:focus-visible":{"$ref":"#/definitions/CSSProperties"},".Switch:hover":{"$ref":"#/definitions/CSSProperties"},".SwitchIcon":{"$ref":"#/definitions/CSSProperties"},".SwitchIcon--checked":{"$ref":"#/definitions/CSSProperties"},".SwitchIcon::placeholder":{"$ref":"#/definitions/CSSProperties"},".SwitchIcon::selection":{"$ref":"#/definitions/CSSProperties"},".SwitchIcon:active":{"$ref":"#/definitions/CSSProperties"},".SwitchIcon:autofill":{"$ref":"#/definitions/CSSProperties"},".SwitchIcon:disabled":{"$ref":"#/definitions/CSSProperties"},".SwitchIcon:focus":{"$ref":"#/definitions/CSSProperties"},".SwitchIcon:focus-visible":{"$ref":"#/definitions/CSSProperties"},".SwitchIcon:hover":{"$ref":"#/definitions/CSSProperties"},".SwitchRoot":{"$ref":"#/definitions/CSSProperties"},".SwitchRoot--checked":{"$ref":"#/definitions/CSSProperties"},".SwitchRoot::placeholder":{"$ref":"#/definitions/CSSProperties"},".SwitchRoot::selection":{"$ref":"#/definitions/CSSProperties"},".SwitchRoot:active":{"$ref":"#/definitions/CSSProperties"},".SwitchRoot:autofill":{"$ref":"#/definitions/CSSProperties"},".SwitchRoot:disabled":{"$ref":"#/definitions/CSSProperties"},".SwitchRoot:focus":{"$ref":"#/definitions/CSSProperties"},".SwitchRoot:focus-visible":{"$ref":"#/definitions/CSSProperties"},".SwitchRoot:hover":{"$ref":"#/definitions/CSSProperties"},".SwitchThumb":{"$ref":"#/definitions/CSSProperties"},".SwitchThumb--checked":{"$ref":"#/definitions/CSSProperties"},".SwitchThumb::placeholder":{"$ref":"#/definitions/CSSProperties"},".SwitchThumb::selection":{"$ref":"#/definitions/CSSProperties"},".SwitchThumb:active":{"$ref":"#/definitions/CSSProperties"},".SwitchThumb:autofill":{"$ref":"#/definitions/CSSProperties"},".SwitchThumb:disabled":{"$ref":"#/definitions/CSSProperties"},".SwitchThumb:focus":{"$ref":"#/definitions/CSSProperties"},".SwitchThumb:focus-visible":{"$ref":"#/definitions/CSSProperties"},".SwitchThumb:hover":{"$ref":"#/definitions/CSSProperties"},".TextArea":{"$ref":"#/definitions/CSSProperties"},".TextArea--checked":{"$ref":"#/definitions/CSSProperties"},".TextArea::placeholder":{"$ref":"#/definitions/CSSProperties"},".TextArea::selection":{"$ref":"#/definitions/CSSProperties"},".TextArea:active":{"$ref":"#/definitions/CSSProperties"},".TextArea:autofill":{"$ref":"#/definitions/CSSProperties"},".TextArea:disabled":{"$ref":"#/definitions/CSSProperties"},".TextArea:focus":{"$ref":"#/definitions/CSSProperties"},".TextArea:focus-visible":{"$ref":"#/definitions/CSSProperties"},".TextArea:hover":{"$ref":"#/definitions/CSSProperties"},".Title":{"$ref":"#/definitions/CSSProperties"},".Title--checked":{"$ref":"#/definitions/CSSProperties"},".Title::placeholder":{"$ref":"#/definitions/CSSProperties"},".Title::selection":{"$ref":"#/definitions/CSSProperties"},".Title:active":{"$ref":"#/definitions/CSSProperties"},".Title:autofill":{"$ref":"#/definitions/CSSProperties"},".Title:disabled":{"$ref":"#/definitions/CSSProperties"},".Title:focus":{"$ref":"#/definitions/CSSProperties"},".Title:focus-visible":{"$ref":"#/definitions/CSSProperties"},".Title:hover":{"$ref":"#/definitions/CSSProperties"},".TooltipContent":{"$ref":"#/definitions/CSSProperties"},".TooltipContent--checked":{"$ref":"#/definitions/CSSProperties"},".TooltipContent::placeholder":{"$ref":"#/definitions/CSSProperties"},".TooltipContent::selection":{"$ref":"#/definitions/CSSProperties"},".TooltipContent:active":{"$ref":"#/definitions/CSSProperties"},".TooltipContent:autofill":{"$ref":"#/definitions/CSSProperties"},".TooltipContent:disabled":{"$ref":"#/definitions/CSSProperties"},".TooltipContent:focus":{"$ref":"#/definitions/CSSProperties"},".TooltipContent:focus-visible":{"$ref":"#/definitions/CSSProperties"},".TooltipContent:hover":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInput":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInput--checked":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInput::placeholder":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInput::selection":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInput:active":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInput:autofill":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInput:disabled":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInput:focus":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInput:focus-visible":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInput:hover":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInputCell":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInputCell--checked":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInputCell::placeholder":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInputCell::selection":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInputCell:active":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInputCell:autofill":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInputCell:disabled":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInputCell:focus":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInputCell:focus-visible":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInputCell:hover":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInputSeparator":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInputSeparator--checked":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInputSeparator::placeholder":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInputSeparator::selection":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInputSeparator:active":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInputSeparator:autofill":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInputSeparator:disabled":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInputSeparator:focus":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInputSeparator:focus-visible":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInputSeparator:hover":{"$ref":"#/definitions/CSSProperties"}},"type":"object"},"SoyioTheme":{"enum":["soyio","night","flat"],"type":"string"},"SoyioWidgetConfig":{"anyOf":[{"$ref":"#/definitions/PrivacyCenterConfig"},{"$ref":"#/definitions/ConsentConfig"}],"description":"Combined configuration type for generating the JSON schema. This includes all possible configuration options for both PrivacyCenterBox and ConsentBox."}}`), Cr = {
|
|
617
|
+
$ref: tr,
|
|
618
|
+
$schema: rr,
|
|
619
|
+
definitions: nr
|
|
575
620
|
};
|
|
576
|
-
function
|
|
577
|
-
return
|
|
621
|
+
function or(a) {
|
|
622
|
+
return a && a.__esModule && Object.prototype.hasOwnProperty.call(a, "default") ? a.default : a;
|
|
578
623
|
}
|
|
579
|
-
var Ue = { exports: {} },
|
|
580
|
-
function
|
|
581
|
-
return
|
|
582
|
-
(function(
|
|
583
|
-
|
|
584
|
-
})(typeof self != "undefined" ? self :
|
|
585
|
-
return function(
|
|
586
|
-
var
|
|
587
|
-
function
|
|
588
|
-
if (
|
|
589
|
-
var
|
|
590
|
-
i:
|
|
624
|
+
var Ue = { exports: {} }, Te = { exports: {} }, sr = Te.exports, Ni;
|
|
625
|
+
function fr() {
|
|
626
|
+
return Ni || (Ni = 1, function(a, c) {
|
|
627
|
+
(function(S, p) {
|
|
628
|
+
a.exports = p();
|
|
629
|
+
})(typeof self != "undefined" ? self : sr, function() {
|
|
630
|
+
return function(S) {
|
|
631
|
+
var p = {};
|
|
632
|
+
function h(g) {
|
|
633
|
+
if (p[g]) return p[g].exports;
|
|
634
|
+
var m = p[g] = {
|
|
635
|
+
i: g,
|
|
591
636
|
l: !1,
|
|
592
637
|
exports: {}
|
|
593
638
|
};
|
|
594
|
-
return
|
|
639
|
+
return S[g].call(m.exports, m, m.exports, h), m.l = !0, m.exports;
|
|
595
640
|
}
|
|
596
|
-
return
|
|
597
|
-
|
|
641
|
+
return h.m = S, h.c = p, h.d = function(g, m, v) {
|
|
642
|
+
h.o(g, m) || Object.defineProperty(g, m, {
|
|
598
643
|
enumerable: !0,
|
|
599
|
-
get:
|
|
644
|
+
get: v
|
|
600
645
|
});
|
|
601
|
-
},
|
|
602
|
-
typeof Symbol != "undefined" && Symbol.toStringTag && Object.defineProperty(
|
|
646
|
+
}, h.r = function(g) {
|
|
647
|
+
typeof Symbol != "undefined" && Symbol.toStringTag && Object.defineProperty(g, Symbol.toStringTag, {
|
|
603
648
|
value: "Module"
|
|
604
|
-
}), Object.defineProperty(
|
|
649
|
+
}), Object.defineProperty(g, "__esModule", {
|
|
605
650
|
value: !0
|
|
606
651
|
});
|
|
607
|
-
},
|
|
608
|
-
if (1 &
|
|
609
|
-
var
|
|
610
|
-
if (
|
|
652
|
+
}, h.t = function(g, m) {
|
|
653
|
+
if (1 & m && (g = h(g)), 8 & m || 4 & m && typeof g == "object" && g && g.__esModule) return g;
|
|
654
|
+
var v = /* @__PURE__ */ Object.create(null);
|
|
655
|
+
if (h.r(v), Object.defineProperty(v, "default", {
|
|
611
656
|
enumerable: !0,
|
|
612
|
-
value:
|
|
613
|
-
}), 2 &
|
|
614
|
-
return
|
|
615
|
-
}.bind(null,
|
|
616
|
-
return
|
|
617
|
-
},
|
|
618
|
-
var
|
|
619
|
-
return
|
|
657
|
+
value: g
|
|
658
|
+
}), 2 & m && typeof g != "string") for (var T in g) h.d(v, T, function(A) {
|
|
659
|
+
return g[A];
|
|
660
|
+
}.bind(null, T));
|
|
661
|
+
return v;
|
|
662
|
+
}, h.n = function(g) {
|
|
663
|
+
var m = g && g.__esModule ? function() {
|
|
664
|
+
return g.default;
|
|
620
665
|
} : function() {
|
|
621
|
-
return
|
|
666
|
+
return g;
|
|
622
667
|
};
|
|
623
|
-
return
|
|
624
|
-
},
|
|
625
|
-
return {}.hasOwnProperty.call(
|
|
626
|
-
},
|
|
627
|
-
}([function(
|
|
628
|
-
|
|
629
|
-
return
|
|
630
|
-
}),
|
|
631
|
-
return
|
|
632
|
-
}),
|
|
633
|
-
return
|
|
634
|
-
}),
|
|
635
|
-
return
|
|
636
|
-
}),
|
|
637
|
-
return
|
|
638
|
-
}),
|
|
639
|
-
return
|
|
640
|
-
}),
|
|
641
|
-
return
|
|
642
|
-
}),
|
|
643
|
-
return
|
|
644
|
-
}),
|
|
645
|
-
return
|
|
646
|
-
}),
|
|
647
|
-
return
|
|
648
|
-
}),
|
|
649
|
-
return
|
|
650
|
-
}),
|
|
651
|
-
return
|
|
652
|
-
}),
|
|
653
|
-
return
|
|
654
|
-
}),
|
|
655
|
-
return
|
|
656
|
-
}),
|
|
668
|
+
return h.d(m, "a", m), m;
|
|
669
|
+
}, h.o = function(g, m) {
|
|
670
|
+
return {}.hasOwnProperty.call(g, m);
|
|
671
|
+
}, h.p = "", h(h.s = 0);
|
|
672
|
+
}([function(S, p, h) {
|
|
673
|
+
h.r(p), h.d(p, "Promise", function() {
|
|
674
|
+
return R;
|
|
675
|
+
}), h.d(p, "TYPES", function() {
|
|
676
|
+
return at;
|
|
677
|
+
}), h.d(p, "ProxyWindow", function() {
|
|
678
|
+
return _;
|
|
679
|
+
}), h.d(p, "setup", function() {
|
|
680
|
+
return yi;
|
|
681
|
+
}), h.d(p, "destroy", function() {
|
|
682
|
+
return dt;
|
|
683
|
+
}), h.d(p, "serializeMessage", function() {
|
|
684
|
+
return nt;
|
|
685
|
+
}), h.d(p, "deserializeMessage", function() {
|
|
686
|
+
return ot;
|
|
687
|
+
}), h.d(p, "createProxyWindow", function() {
|
|
688
|
+
return st;
|
|
689
|
+
}), h.d(p, "toProxyWindow", function() {
|
|
690
|
+
return ft;
|
|
691
|
+
}), h.d(p, "on", function() {
|
|
692
|
+
return se;
|
|
693
|
+
}), h.d(p, "once", function() {
|
|
694
|
+
return rt;
|
|
695
|
+
}), h.d(p, "send", function() {
|
|
696
|
+
return X;
|
|
697
|
+
}), h.d(p, "markWindowKnown", function() {
|
|
698
|
+
return ci;
|
|
699
|
+
}), h.d(p, "cleanUpWindow", function() {
|
|
700
|
+
return ct;
|
|
701
|
+
}), h.d(p, "bridge", function() {
|
|
657
702
|
});
|
|
658
|
-
function
|
|
703
|
+
function g(e) {
|
|
659
704
|
return {}.toString.call(e) === "[object RegExp]";
|
|
660
705
|
}
|
|
661
|
-
var
|
|
706
|
+
var m = `Call was rejected by callee.\r
|
|
662
707
|
`;
|
|
663
|
-
function
|
|
708
|
+
function v(e) {
|
|
664
709
|
return e === void 0 && (e = window), e.location.protocol;
|
|
665
710
|
}
|
|
666
|
-
function
|
|
711
|
+
function T(e) {
|
|
667
712
|
if (e === void 0 && (e = window), e.mockDomain) {
|
|
668
|
-
var
|
|
669
|
-
if (
|
|
713
|
+
var t = e.mockDomain.split("//")[0];
|
|
714
|
+
if (t) return t;
|
|
670
715
|
}
|
|
671
|
-
return
|
|
716
|
+
return v(e);
|
|
672
717
|
}
|
|
673
|
-
function
|
|
674
|
-
return e === void 0 && (e = window),
|
|
718
|
+
function A(e) {
|
|
719
|
+
return e === void 0 && (e = window), T(e) === "about:";
|
|
675
720
|
}
|
|
676
|
-
function
|
|
721
|
+
function B(e) {
|
|
677
722
|
if (e === void 0 && (e = window), e) try {
|
|
678
723
|
if (e.parent && e.parent !== e) return e.parent;
|
|
679
|
-
} catch (
|
|
724
|
+
} catch (t) {
|
|
680
725
|
}
|
|
681
726
|
}
|
|
682
|
-
function
|
|
683
|
-
if (e === void 0 && (e = window), e && !
|
|
727
|
+
function K(e) {
|
|
728
|
+
if (e === void 0 && (e = window), e && !B(e)) try {
|
|
684
729
|
return e.opener;
|
|
685
|
-
} catch (
|
|
730
|
+
} catch (t) {
|
|
686
731
|
}
|
|
687
732
|
}
|
|
688
|
-
function
|
|
733
|
+
function Y(e) {
|
|
689
734
|
try {
|
|
690
735
|
return !0;
|
|
691
|
-
} catch (
|
|
736
|
+
} catch (t) {
|
|
692
737
|
}
|
|
693
738
|
return !1;
|
|
694
739
|
}
|
|
695
|
-
function
|
|
740
|
+
function ee(e) {
|
|
696
741
|
e === void 0 && (e = window);
|
|
697
|
-
var
|
|
698
|
-
if (!
|
|
699
|
-
var
|
|
700
|
-
if (!
|
|
701
|
-
if (
|
|
702
|
-
if (
|
|
703
|
-
var r =
|
|
704
|
-
return r &&
|
|
742
|
+
var t = e.location;
|
|
743
|
+
if (!t) throw new Error("Can not read window location");
|
|
744
|
+
var i = v(e);
|
|
745
|
+
if (!i) throw new Error("Can not read window protocol");
|
|
746
|
+
if (i === "file:") return "file://";
|
|
747
|
+
if (i === "about:") {
|
|
748
|
+
var r = B(e);
|
|
749
|
+
return r && Y() ? ee(r) : "about://";
|
|
705
750
|
}
|
|
706
|
-
var
|
|
707
|
-
if (!
|
|
708
|
-
return
|
|
751
|
+
var n = t.host;
|
|
752
|
+
if (!n) throw new Error("Can not read window host");
|
|
753
|
+
return i + "//" + n;
|
|
709
754
|
}
|
|
710
|
-
function
|
|
755
|
+
function O(e) {
|
|
711
756
|
e === void 0 && (e = window);
|
|
712
|
-
var
|
|
713
|
-
return
|
|
757
|
+
var t = ee(e);
|
|
758
|
+
return t && e.mockDomain && e.mockDomain.indexOf("mock:") === 0 ? e.mockDomain : t;
|
|
714
759
|
}
|
|
715
|
-
function
|
|
716
|
-
if (!function(
|
|
760
|
+
function J(e) {
|
|
761
|
+
if (!function(t) {
|
|
717
762
|
try {
|
|
718
|
-
if (
|
|
763
|
+
if (t === window) return !0;
|
|
719
764
|
} catch (r) {
|
|
720
765
|
}
|
|
721
766
|
try {
|
|
722
|
-
var
|
|
723
|
-
if (
|
|
767
|
+
var i = Object.getOwnPropertyDescriptor(t, "location");
|
|
768
|
+
if (i && i.enumerable === !1) return !1;
|
|
724
769
|
} catch (r) {
|
|
725
770
|
}
|
|
726
771
|
try {
|
|
727
|
-
if (
|
|
772
|
+
if (A(t) && Y()) return !0;
|
|
728
773
|
} catch (r) {
|
|
729
774
|
}
|
|
730
775
|
try {
|
|
731
776
|
if (function(r) {
|
|
732
|
-
return r === void 0 && (r = window),
|
|
733
|
-
}(
|
|
777
|
+
return r === void 0 && (r = window), T(r) === "mock:";
|
|
778
|
+
}(t) && Y()) return !0;
|
|
734
779
|
} catch (r) {
|
|
735
780
|
}
|
|
736
781
|
try {
|
|
737
|
-
if (
|
|
782
|
+
if (ee(t) === ee(window)) return !0;
|
|
738
783
|
} catch (r) {
|
|
739
784
|
}
|
|
740
785
|
return !1;
|
|
741
786
|
}(e)) return !1;
|
|
742
787
|
try {
|
|
743
|
-
if (e === window ||
|
|
744
|
-
} catch (
|
|
788
|
+
if (e === window || A(e) && Y() || O(window) === O(e)) return !0;
|
|
789
|
+
} catch (t) {
|
|
745
790
|
}
|
|
746
791
|
return !1;
|
|
747
792
|
}
|
|
748
|
-
function
|
|
749
|
-
if (!
|
|
793
|
+
function ie(e) {
|
|
794
|
+
if (!J(e)) throw new Error("Expected window to be same domain");
|
|
750
795
|
return e;
|
|
751
796
|
}
|
|
752
|
-
function
|
|
753
|
-
if (!e || !
|
|
754
|
-
var
|
|
755
|
-
return
|
|
756
|
-
var
|
|
797
|
+
function te(e, t) {
|
|
798
|
+
if (!e || !t) return !1;
|
|
799
|
+
var i = B(t);
|
|
800
|
+
return i ? i === e : function(r) {
|
|
801
|
+
var n = [];
|
|
757
802
|
try {
|
|
758
803
|
for (; r.parent !== r; )
|
|
759
|
-
|
|
760
|
-
} catch (
|
|
804
|
+
n.push(r.parent), r = r.parent;
|
|
805
|
+
} catch (o) {
|
|
761
806
|
}
|
|
762
|
-
return
|
|
763
|
-
}(
|
|
807
|
+
return n;
|
|
808
|
+
}(t).indexOf(e) !== -1;
|
|
764
809
|
}
|
|
765
|
-
function
|
|
766
|
-
var
|
|
810
|
+
function de(e) {
|
|
811
|
+
var t = [], i;
|
|
767
812
|
try {
|
|
768
|
-
|
|
769
|
-
} catch (
|
|
770
|
-
|
|
813
|
+
i = e.frames;
|
|
814
|
+
} catch (d) {
|
|
815
|
+
i = e;
|
|
771
816
|
}
|
|
772
817
|
var r;
|
|
773
818
|
try {
|
|
774
|
-
r =
|
|
775
|
-
} catch (
|
|
819
|
+
r = i.length;
|
|
820
|
+
} catch (d) {
|
|
776
821
|
}
|
|
777
|
-
if (r === 0) return
|
|
822
|
+
if (r === 0) return t;
|
|
778
823
|
if (r) {
|
|
779
|
-
for (var
|
|
780
|
-
var
|
|
824
|
+
for (var n = 0; n < r; n++) {
|
|
825
|
+
var o = void 0;
|
|
781
826
|
try {
|
|
782
|
-
|
|
783
|
-
} catch (
|
|
827
|
+
o = i[n];
|
|
828
|
+
} catch (d) {
|
|
784
829
|
continue;
|
|
785
830
|
}
|
|
786
|
-
|
|
831
|
+
t.push(o);
|
|
787
832
|
}
|
|
788
|
-
return
|
|
833
|
+
return t;
|
|
789
834
|
}
|
|
790
|
-
for (var
|
|
835
|
+
for (var s = 0; s < 100; s++) {
|
|
791
836
|
var l = void 0;
|
|
792
837
|
try {
|
|
793
|
-
l =
|
|
794
|
-
} catch (
|
|
795
|
-
return
|
|
838
|
+
l = i[s];
|
|
839
|
+
} catch (d) {
|
|
840
|
+
return t;
|
|
796
841
|
}
|
|
797
|
-
if (!l) return
|
|
798
|
-
|
|
842
|
+
if (!l) return t;
|
|
843
|
+
t.push(l);
|
|
799
844
|
}
|
|
800
|
-
return
|
|
845
|
+
return t;
|
|
801
846
|
}
|
|
802
|
-
var
|
|
803
|
-
function G(e,
|
|
804
|
-
|
|
847
|
+
var me = [], ae = [];
|
|
848
|
+
function G(e, t) {
|
|
849
|
+
t === void 0 && (t = !0);
|
|
805
850
|
try {
|
|
806
851
|
if (e === window) return !1;
|
|
807
|
-
} catch (
|
|
852
|
+
} catch (n) {
|
|
808
853
|
return !0;
|
|
809
854
|
}
|
|
810
855
|
try {
|
|
811
856
|
if (!e) return !0;
|
|
812
|
-
} catch (
|
|
857
|
+
} catch (n) {
|
|
813
858
|
return !0;
|
|
814
859
|
}
|
|
815
860
|
try {
|
|
816
861
|
if (e.closed) return !0;
|
|
817
|
-
} catch (
|
|
818
|
-
return !
|
|
862
|
+
} catch (n) {
|
|
863
|
+
return !n || n.message !== m;
|
|
819
864
|
}
|
|
820
|
-
if (
|
|
865
|
+
if (t && J(e)) try {
|
|
821
866
|
if (e.mockclosed) return !0;
|
|
822
|
-
} catch (
|
|
867
|
+
} catch (n) {
|
|
823
868
|
}
|
|
824
869
|
try {
|
|
825
870
|
if (!e.parent || !e.top) return !0;
|
|
826
|
-
} catch (
|
|
871
|
+
} catch (n) {
|
|
827
872
|
}
|
|
828
|
-
var
|
|
829
|
-
for (var
|
|
830
|
-
if (
|
|
873
|
+
var i = function(n, o) {
|
|
874
|
+
for (var s = 0; s < n.length; s++) try {
|
|
875
|
+
if (n[s] === o) return s;
|
|
831
876
|
} catch (l) {
|
|
832
877
|
}
|
|
833
878
|
return -1;
|
|
834
|
-
}(
|
|
835
|
-
if (
|
|
836
|
-
var r =
|
|
837
|
-
if (r && function(
|
|
838
|
-
if (!
|
|
839
|
-
var
|
|
840
|
-
if (
|
|
841
|
-
for (var
|
|
842
|
-
if (!
|
|
879
|
+
}(me, e);
|
|
880
|
+
if (i !== -1) {
|
|
881
|
+
var r = ae[i];
|
|
882
|
+
if (r && function(n) {
|
|
883
|
+
if (!n.contentWindow || !n.parentNode) return !0;
|
|
884
|
+
var o = n.ownerDocument;
|
|
885
|
+
if (o && o.documentElement && !o.documentElement.contains(n)) {
|
|
886
|
+
for (var s = n; s.parentNode && s.parentNode !== s; ) s = s.parentNode;
|
|
887
|
+
if (!s.host || !o.documentElement.contains(s.host)) return !0;
|
|
843
888
|
}
|
|
844
889
|
return !1;
|
|
845
890
|
}(r)) return !0;
|
|
846
891
|
}
|
|
847
892
|
return !1;
|
|
848
893
|
}
|
|
849
|
-
function
|
|
850
|
-
return e === void 0 && (e = window),
|
|
894
|
+
function Je(e) {
|
|
895
|
+
return e === void 0 && (e = window), K(e = e || window) || B(e) || void 0;
|
|
851
896
|
}
|
|
852
|
-
function
|
|
897
|
+
function fe(e, t) {
|
|
853
898
|
if (typeof e == "string") {
|
|
854
|
-
if (typeof
|
|
855
|
-
if (
|
|
899
|
+
if (typeof t == "string") return e === "*" || t === e;
|
|
900
|
+
if (g(t) || Array.isArray(t)) return !1;
|
|
856
901
|
}
|
|
857
|
-
return
|
|
858
|
-
return
|
|
902
|
+
return g(e) ? g(t) ? e.toString() === t.toString() : !Array.isArray(t) && !!t.match(e) : !!Array.isArray(e) && (Array.isArray(t) ? JSON.stringify(e) === JSON.stringify(t) : !g(t) && e.some(function(i) {
|
|
903
|
+
return fe(i, t);
|
|
859
904
|
}));
|
|
860
905
|
}
|
|
861
|
-
function
|
|
906
|
+
function ve(e) {
|
|
862
907
|
try {
|
|
863
908
|
if (e === window) return !0;
|
|
864
|
-
} catch (
|
|
865
|
-
if (
|
|
909
|
+
} catch (t) {
|
|
910
|
+
if (t && t.message === m) return !0;
|
|
866
911
|
}
|
|
867
912
|
try {
|
|
868
913
|
if ({}.toString.call(e) === "[object Window]") return !0;
|
|
869
|
-
} catch (
|
|
870
|
-
if (
|
|
914
|
+
} catch (t) {
|
|
915
|
+
if (t && t.message === m) return !0;
|
|
871
916
|
}
|
|
872
917
|
try {
|
|
873
918
|
if (window.Window && e instanceof window.Window) return !0;
|
|
874
|
-
} catch (
|
|
875
|
-
if (
|
|
919
|
+
} catch (t) {
|
|
920
|
+
if (t && t.message === m) return !0;
|
|
876
921
|
}
|
|
877
922
|
try {
|
|
878
923
|
if (e && e.self === e) return !0;
|
|
879
|
-
} catch (
|
|
880
|
-
if (
|
|
924
|
+
} catch (t) {
|
|
925
|
+
if (t && t.message === m) return !0;
|
|
881
926
|
}
|
|
882
927
|
try {
|
|
883
928
|
if (e && e.parent === e) return !0;
|
|
884
|
-
} catch (
|
|
885
|
-
if (
|
|
929
|
+
} catch (t) {
|
|
930
|
+
if (t && t.message === m) return !0;
|
|
886
931
|
}
|
|
887
932
|
try {
|
|
888
933
|
if (e && e.top === e) return !0;
|
|
889
|
-
} catch (
|
|
890
|
-
if (
|
|
934
|
+
} catch (t) {
|
|
935
|
+
if (t && t.message === m) return !0;
|
|
891
936
|
}
|
|
892
937
|
try {
|
|
893
938
|
if (e && e.__cross_domain_utils_window_check__ === "__unlikely_value__") return !1;
|
|
894
|
-
} catch (
|
|
939
|
+
} catch (t) {
|
|
895
940
|
return !0;
|
|
896
941
|
}
|
|
897
942
|
try {
|
|
898
943
|
if ("postMessage" in e && "self" in e && "location" in e) return !0;
|
|
899
|
-
} catch (
|
|
944
|
+
} catch (t) {
|
|
900
945
|
}
|
|
901
946
|
return !1;
|
|
902
947
|
}
|
|
903
|
-
function
|
|
904
|
-
if (
|
|
905
|
-
for (var
|
|
906
|
-
var r = t
|
|
948
|
+
function Ye(e) {
|
|
949
|
+
if (J(e)) return ie(e).frameElement;
|
|
950
|
+
for (var t = 0, i = document.querySelectorAll("iframe"); t < i.length; t++) {
|
|
951
|
+
var r = i[t];
|
|
907
952
|
if (r && r.contentWindow && r.contentWindow === e) return r;
|
|
908
953
|
}
|
|
909
954
|
}
|
|
910
|
-
function
|
|
911
|
-
if (function(
|
|
912
|
-
return
|
|
955
|
+
function qi(e) {
|
|
956
|
+
if (function(i) {
|
|
957
|
+
return i === void 0 && (i = window), !!B(i);
|
|
913
958
|
}(e)) {
|
|
914
|
-
var
|
|
915
|
-
if (
|
|
916
|
-
|
|
959
|
+
var t = Ye(e);
|
|
960
|
+
if (t && t.parentElement) {
|
|
961
|
+
t.parentElement.removeChild(t);
|
|
917
962
|
return;
|
|
918
963
|
}
|
|
919
964
|
}
|
|
920
965
|
try {
|
|
921
966
|
e.close();
|
|
922
|
-
} catch (
|
|
967
|
+
} catch (i) {
|
|
923
968
|
}
|
|
924
969
|
}
|
|
925
|
-
function
|
|
970
|
+
function re(e) {
|
|
926
971
|
try {
|
|
927
972
|
if (!e) return !1;
|
|
928
973
|
if (typeof Promise != "undefined" && e instanceof Promise) return !0;
|
|
929
974
|
if (typeof window != "undefined" && typeof window.Window == "function" && e instanceof window.Window || typeof window != "undefined" && typeof window.constructor == "function" && e instanceof window.constructor) return !1;
|
|
930
|
-
var
|
|
931
|
-
if (
|
|
932
|
-
var
|
|
933
|
-
if (
|
|
975
|
+
var t = {}.toString;
|
|
976
|
+
if (t) {
|
|
977
|
+
var i = t.call(e);
|
|
978
|
+
if (i === "[object Window]" || i === "[object global]" || i === "[object DOMWindow]") return !1;
|
|
934
979
|
}
|
|
935
980
|
if (typeof e.then == "function") return !0;
|
|
936
981
|
} catch (r) {
|
|
@@ -938,1342 +983,1342 @@ function tr() {
|
|
|
938
983
|
}
|
|
939
984
|
return !1;
|
|
940
985
|
}
|
|
941
|
-
var
|
|
942
|
-
function
|
|
943
|
-
if (!
|
|
944
|
-
var e =
|
|
945
|
-
|
|
986
|
+
var Ze = [], ce = [], De = 0, pe;
|
|
987
|
+
function Qe() {
|
|
988
|
+
if (!De && pe) {
|
|
989
|
+
var e = pe;
|
|
990
|
+
pe = null, e.resolve();
|
|
946
991
|
}
|
|
947
992
|
}
|
|
948
|
-
function
|
|
949
|
-
|
|
993
|
+
function Ae() {
|
|
994
|
+
De += 1;
|
|
950
995
|
}
|
|
951
|
-
function
|
|
952
|
-
|
|
996
|
+
function le() {
|
|
997
|
+
De -= 1, Qe();
|
|
953
998
|
}
|
|
954
|
-
var
|
|
955
|
-
function e(
|
|
999
|
+
var R = function() {
|
|
1000
|
+
function e(i) {
|
|
956
1001
|
var r = this;
|
|
957
|
-
if (this.resolved = void 0, this.rejected = void 0, this.errorHandled = void 0, this.value = void 0, this.error = void 0, this.handlers = void 0, this.dispatching = void 0, this.stack = void 0, this.resolved = !1, this.rejected = !1, this.errorHandled = !1, this.handlers = [],
|
|
958
|
-
var
|
|
959
|
-
|
|
1002
|
+
if (this.resolved = void 0, this.rejected = void 0, this.errorHandled = void 0, this.value = void 0, this.error = void 0, this.handlers = void 0, this.dispatching = void 0, this.stack = void 0, this.resolved = !1, this.rejected = !1, this.errorHandled = !1, this.handlers = [], i) {
|
|
1003
|
+
var n, o, s = !1, l = !1, d = !1;
|
|
1004
|
+
Ae();
|
|
960
1005
|
try {
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
}, function(
|
|
964
|
-
|
|
1006
|
+
i(function(f) {
|
|
1007
|
+
d ? r.resolve(f) : (s = !0, n = f);
|
|
1008
|
+
}, function(f) {
|
|
1009
|
+
d ? r.reject(f) : (l = !0, o = f);
|
|
965
1010
|
});
|
|
966
|
-
} catch (
|
|
967
|
-
|
|
1011
|
+
} catch (f) {
|
|
1012
|
+
le(), this.reject(f);
|
|
968
1013
|
return;
|
|
969
1014
|
}
|
|
970
|
-
|
|
1015
|
+
le(), d = !0, s ? this.resolve(n) : l && this.reject(o);
|
|
971
1016
|
}
|
|
972
1017
|
}
|
|
973
|
-
var
|
|
974
|
-
return
|
|
1018
|
+
var t = e.prototype;
|
|
1019
|
+
return t.resolve = function(i) {
|
|
975
1020
|
if (this.resolved || this.rejected) return this;
|
|
976
|
-
if (
|
|
977
|
-
return this.resolved = !0, this.value =
|
|
978
|
-
},
|
|
1021
|
+
if (re(i)) throw new Error("Can not resolve promise with another promise");
|
|
1022
|
+
return this.resolved = !0, this.value = i, this.dispatch(), this;
|
|
1023
|
+
}, t.reject = function(i) {
|
|
979
1024
|
var r = this;
|
|
980
1025
|
if (this.resolved || this.rejected) return this;
|
|
981
|
-
if (
|
|
982
|
-
if (!
|
|
983
|
-
var
|
|
984
|
-
|
|
1026
|
+
if (re(i)) throw new Error("Can not reject promise with another promise");
|
|
1027
|
+
if (!i) {
|
|
1028
|
+
var n = i && typeof i.toString == "function" ? i.toString() : {}.toString.call(i);
|
|
1029
|
+
i = new Error("Expected reject to be called with Error, got " + n);
|
|
985
1030
|
}
|
|
986
|
-
return this.rejected = !0, this.error =
|
|
987
|
-
r.errorHandled || function(
|
|
988
|
-
if (
|
|
989
|
-
|
|
990
|
-
throw
|
|
1031
|
+
return this.rejected = !0, this.error = i, this.errorHandled || setTimeout(function() {
|
|
1032
|
+
r.errorHandled || function(o, s) {
|
|
1033
|
+
if (Ze.indexOf(o) === -1) {
|
|
1034
|
+
Ze.push(o), setTimeout(function() {
|
|
1035
|
+
throw o;
|
|
991
1036
|
}, 1);
|
|
992
|
-
for (var l = 0; l <
|
|
1037
|
+
for (var l = 0; l < ce.length; l++) ce[l](o, s);
|
|
993
1038
|
}
|
|
994
|
-
}(
|
|
1039
|
+
}(i, r);
|
|
995
1040
|
}, 1), this.dispatch(), this;
|
|
996
|
-
},
|
|
997
|
-
return this.errorHandled = !0, this.reject(
|
|
998
|
-
},
|
|
999
|
-
var
|
|
1000
|
-
if (!this.dispatching && (
|
|
1001
|
-
this.dispatching = !0,
|
|
1002
|
-
for (var
|
|
1003
|
-
return
|
|
1004
|
-
|
|
1005
|
-
}, function(
|
|
1006
|
-
|
|
1041
|
+
}, t.asyncReject = function(i) {
|
|
1042
|
+
return this.errorHandled = !0, this.reject(i), this;
|
|
1043
|
+
}, t.dispatch = function() {
|
|
1044
|
+
var i = this.resolved, r = this.rejected, n = this.handlers;
|
|
1045
|
+
if (!this.dispatching && (i || r)) {
|
|
1046
|
+
this.dispatching = !0, Ae();
|
|
1047
|
+
for (var o = function($, w) {
|
|
1048
|
+
return $.then(function(y) {
|
|
1049
|
+
w.resolve(y);
|
|
1050
|
+
}, function(y) {
|
|
1051
|
+
w.reject(y);
|
|
1007
1052
|
});
|
|
1008
|
-
},
|
|
1009
|
-
var l =
|
|
1010
|
-
if (
|
|
1011
|
-
|
|
1012
|
-
} catch (
|
|
1013
|
-
|
|
1053
|
+
}, s = 0; s < n.length; s++) {
|
|
1054
|
+
var l = n[s], d = l.onSuccess, f = l.onError, P = l.promise, u = void 0;
|
|
1055
|
+
if (i) try {
|
|
1056
|
+
u = d ? d(this.value) : this.value;
|
|
1057
|
+
} catch ($) {
|
|
1058
|
+
P.reject($);
|
|
1014
1059
|
continue;
|
|
1015
1060
|
}
|
|
1016
1061
|
else if (r) {
|
|
1017
|
-
if (!
|
|
1018
|
-
|
|
1062
|
+
if (!f) {
|
|
1063
|
+
P.reject(this.error);
|
|
1019
1064
|
continue;
|
|
1020
1065
|
}
|
|
1021
1066
|
try {
|
|
1022
|
-
|
|
1023
|
-
} catch (
|
|
1024
|
-
|
|
1067
|
+
u = f(this.error);
|
|
1068
|
+
} catch ($) {
|
|
1069
|
+
P.reject($);
|
|
1025
1070
|
continue;
|
|
1026
1071
|
}
|
|
1027
1072
|
}
|
|
1028
|
-
if (
|
|
1029
|
-
var
|
|
1030
|
-
|
|
1031
|
-
} else
|
|
1073
|
+
if (u instanceof e && (u.resolved || u.rejected)) {
|
|
1074
|
+
var C = u;
|
|
1075
|
+
C.resolved ? P.resolve(C.value) : P.reject(C.error), C.errorHandled = !0;
|
|
1076
|
+
} else re(u) ? u instanceof e && (u.resolved || u.rejected) ? u.resolved ? P.resolve(u.value) : P.reject(u.error) : o(u, P) : P.resolve(u);
|
|
1032
1077
|
}
|
|
1033
|
-
|
|
1078
|
+
n.length = 0, this.dispatching = !1, le();
|
|
1034
1079
|
}
|
|
1035
|
-
},
|
|
1036
|
-
if (
|
|
1080
|
+
}, t.then = function(i, r) {
|
|
1081
|
+
if (i && typeof i != "function" && !i.call) throw new Error("Promise.then expected a function for success handler");
|
|
1037
1082
|
if (r && typeof r != "function" && !r.call) throw new Error("Promise.then expected a function for error handler");
|
|
1038
|
-
var
|
|
1083
|
+
var n = new e();
|
|
1039
1084
|
return this.handlers.push({
|
|
1040
|
-
promise:
|
|
1041
|
-
onSuccess:
|
|
1085
|
+
promise: n,
|
|
1086
|
+
onSuccess: i,
|
|
1042
1087
|
onError: r
|
|
1043
|
-
}), this.errorHandled = !0, this.dispatch(),
|
|
1044
|
-
},
|
|
1045
|
-
return this.then(void 0,
|
|
1046
|
-
},
|
|
1047
|
-
if (
|
|
1088
|
+
}), this.errorHandled = !0, this.dispatch(), n;
|
|
1089
|
+
}, t.catch = function(i) {
|
|
1090
|
+
return this.then(void 0, i);
|
|
1091
|
+
}, t.finally = function(i) {
|
|
1092
|
+
if (i && typeof i != "function" && !i.call) throw new Error("Promise.finally expected a function");
|
|
1048
1093
|
return this.then(function(r) {
|
|
1049
|
-
return e.try(
|
|
1094
|
+
return e.try(i).then(function() {
|
|
1050
1095
|
return r;
|
|
1051
1096
|
});
|
|
1052
1097
|
}, function(r) {
|
|
1053
|
-
return e.try(
|
|
1098
|
+
return e.try(i).then(function() {
|
|
1054
1099
|
throw r;
|
|
1055
1100
|
});
|
|
1056
1101
|
});
|
|
1057
|
-
},
|
|
1058
|
-
var
|
|
1102
|
+
}, t.timeout = function(i, r) {
|
|
1103
|
+
var n = this;
|
|
1059
1104
|
if (this.resolved || this.rejected) return this;
|
|
1060
|
-
var
|
|
1061
|
-
|
|
1062
|
-
},
|
|
1063
|
-
return this.then(function(
|
|
1064
|
-
return clearTimeout(
|
|
1105
|
+
var o = setTimeout(function() {
|
|
1106
|
+
n.resolved || n.rejected || n.reject(r || new Error("Promise timed out after " + i + "ms"));
|
|
1107
|
+
}, i);
|
|
1108
|
+
return this.then(function(s) {
|
|
1109
|
+
return clearTimeout(o), s;
|
|
1065
1110
|
});
|
|
1066
|
-
},
|
|
1111
|
+
}, t.toPromise = function() {
|
|
1067
1112
|
if (typeof Promise == "undefined") throw new TypeError("Could not find Promise");
|
|
1068
1113
|
return Promise.resolve(this);
|
|
1069
|
-
},
|
|
1114
|
+
}, t.lazy = function() {
|
|
1070
1115
|
return this.errorHandled = !0, this;
|
|
1071
|
-
}, e.resolve = function(
|
|
1072
|
-
return
|
|
1073
|
-
return
|
|
1074
|
-
}) : new e().resolve(
|
|
1075
|
-
}, e.reject = function(
|
|
1076
|
-
return new e().reject(
|
|
1077
|
-
}, e.asyncReject = function(
|
|
1078
|
-
return new e().asyncReject(
|
|
1079
|
-
}, e.all = function(
|
|
1080
|
-
var r = new e(),
|
|
1081
|
-
if (!
|
|
1082
|
-
return r.resolve(
|
|
1083
|
-
for (var
|
|
1084
|
-
return
|
|
1085
|
-
|
|
1086
|
-
}, function(
|
|
1087
|
-
|
|
1116
|
+
}, e.resolve = function(i) {
|
|
1117
|
+
return i instanceof e ? i : re(i) ? new e(function(r, n) {
|
|
1118
|
+
return i.then(r, n);
|
|
1119
|
+
}) : new e().resolve(i);
|
|
1120
|
+
}, e.reject = function(i) {
|
|
1121
|
+
return new e().reject(i);
|
|
1122
|
+
}, e.asyncReject = function(i) {
|
|
1123
|
+
return new e().asyncReject(i);
|
|
1124
|
+
}, e.all = function(i) {
|
|
1125
|
+
var r = new e(), n = i.length, o = [].slice();
|
|
1126
|
+
if (!n)
|
|
1127
|
+
return r.resolve(o), r;
|
|
1128
|
+
for (var s = function(f, P, u) {
|
|
1129
|
+
return P.then(function(C) {
|
|
1130
|
+
o[f] = C, (n -= 1) == 0 && r.resolve(o);
|
|
1131
|
+
}, function(C) {
|
|
1132
|
+
u.reject(C);
|
|
1088
1133
|
});
|
|
1089
|
-
}, l = 0; l <
|
|
1090
|
-
var
|
|
1091
|
-
if (
|
|
1092
|
-
if (
|
|
1093
|
-
|
|
1134
|
+
}, l = 0; l < i.length; l++) {
|
|
1135
|
+
var d = i[l];
|
|
1136
|
+
if (d instanceof e) {
|
|
1137
|
+
if (d.resolved) {
|
|
1138
|
+
o[l] = d.value, n -= 1;
|
|
1094
1139
|
continue;
|
|
1095
1140
|
}
|
|
1096
|
-
} else if (!
|
|
1097
|
-
|
|
1141
|
+
} else if (!re(d)) {
|
|
1142
|
+
o[l] = d, n -= 1;
|
|
1098
1143
|
continue;
|
|
1099
1144
|
}
|
|
1100
|
-
|
|
1145
|
+
s(l, e.resolve(d), r);
|
|
1101
1146
|
}
|
|
1102
|
-
return
|
|
1103
|
-
}, e.hash = function(
|
|
1104
|
-
var r = {},
|
|
1105
|
-
if (
|
|
1106
|
-
var
|
|
1107
|
-
|
|
1108
|
-
r[l] =
|
|
1109
|
-
})) : r[l] =
|
|
1147
|
+
return n === 0 && r.resolve(o), r;
|
|
1148
|
+
}, e.hash = function(i) {
|
|
1149
|
+
var r = {}, n = [], o = function(l) {
|
|
1150
|
+
if (i.hasOwnProperty(l)) {
|
|
1151
|
+
var d = i[l];
|
|
1152
|
+
re(d) ? n.push(d.then(function(f) {
|
|
1153
|
+
r[l] = f;
|
|
1154
|
+
})) : r[l] = d;
|
|
1110
1155
|
}
|
|
1111
1156
|
};
|
|
1112
|
-
for (var
|
|
1113
|
-
return e.all(
|
|
1157
|
+
for (var s in i) o(s);
|
|
1158
|
+
return e.all(n).then(function() {
|
|
1114
1159
|
return r;
|
|
1115
1160
|
});
|
|
1116
|
-
}, e.map = function(
|
|
1117
|
-
return e.all(
|
|
1118
|
-
}, e.onPossiblyUnhandledException = function(
|
|
1161
|
+
}, e.map = function(i, r) {
|
|
1162
|
+
return e.all(i.map(r));
|
|
1163
|
+
}, e.onPossiblyUnhandledException = function(i) {
|
|
1119
1164
|
return function(r) {
|
|
1120
|
-
return
|
|
1165
|
+
return ce.push(r), {
|
|
1121
1166
|
cancel: function() {
|
|
1122
|
-
|
|
1167
|
+
ce.splice(ce.indexOf(r), 1);
|
|
1123
1168
|
}
|
|
1124
1169
|
};
|
|
1125
|
-
}(
|
|
1126
|
-
}, e.try = function(
|
|
1127
|
-
if (
|
|
1128
|
-
var
|
|
1129
|
-
|
|
1170
|
+
}(i);
|
|
1171
|
+
}, e.try = function(i, r, n) {
|
|
1172
|
+
if (i && typeof i != "function" && !i.call) throw new Error("Promise.try expected a function");
|
|
1173
|
+
var o;
|
|
1174
|
+
Ae();
|
|
1130
1175
|
try {
|
|
1131
|
-
|
|
1132
|
-
} catch (
|
|
1133
|
-
return
|
|
1176
|
+
o = i.apply(r, n || []);
|
|
1177
|
+
} catch (s) {
|
|
1178
|
+
return le(), e.reject(s);
|
|
1134
1179
|
}
|
|
1135
|
-
return
|
|
1136
|
-
}, e.delay = function(
|
|
1180
|
+
return le(), e.resolve(o);
|
|
1181
|
+
}, e.delay = function(i) {
|
|
1137
1182
|
return new e(function(r) {
|
|
1138
|
-
setTimeout(r,
|
|
1183
|
+
setTimeout(r, i);
|
|
1139
1184
|
});
|
|
1140
|
-
}, e.isPromise = function(
|
|
1141
|
-
return !!(
|
|
1185
|
+
}, e.isPromise = function(i) {
|
|
1186
|
+
return !!(i && i instanceof e) || re(i);
|
|
1142
1187
|
}, e.flush = function() {
|
|
1143
|
-
return function(
|
|
1144
|
-
var r =
|
|
1145
|
-
return
|
|
1188
|
+
return function(i) {
|
|
1189
|
+
var r = pe = pe || new i();
|
|
1190
|
+
return Qe(), r;
|
|
1146
1191
|
}(e);
|
|
1147
1192
|
}, e;
|
|
1148
1193
|
}();
|
|
1149
|
-
function
|
|
1150
|
-
for (var
|
|
1151
|
-
if (e[
|
|
1194
|
+
function ye(e, t) {
|
|
1195
|
+
for (var i = 0; i < e.length; i++) try {
|
|
1196
|
+
if (e[i] === t) return i;
|
|
1152
1197
|
} catch (r) {
|
|
1153
1198
|
}
|
|
1154
1199
|
return -1;
|
|
1155
1200
|
}
|
|
1156
|
-
var
|
|
1201
|
+
var Le = function() {
|
|
1157
1202
|
function e() {
|
|
1158
1203
|
if (this.name = void 0, this.weakmap = void 0, this.keys = void 0, this.values = void 0, this.name = "__weakmap_" + (1e9 * Math.random() >>> 0) + "__", function() {
|
|
1159
1204
|
if (typeof WeakMap == "undefined" || Object.freeze === void 0) return !1;
|
|
1160
1205
|
try {
|
|
1161
|
-
var
|
|
1162
|
-
return Object.freeze(r),
|
|
1163
|
-
} catch (
|
|
1206
|
+
var i = /* @__PURE__ */ new WeakMap(), r = {};
|
|
1207
|
+
return Object.freeze(r), i.set(r, "__testvalue__"), i.get(r) === "__testvalue__";
|
|
1208
|
+
} catch (n) {
|
|
1164
1209
|
return !1;
|
|
1165
1210
|
}
|
|
1166
1211
|
}()) try {
|
|
1167
1212
|
this.weakmap = /* @__PURE__ */ new WeakMap();
|
|
1168
|
-
} catch (
|
|
1213
|
+
} catch (i) {
|
|
1169
1214
|
}
|
|
1170
1215
|
this.keys = [], this.values = [];
|
|
1171
1216
|
}
|
|
1172
|
-
var
|
|
1173
|
-
return
|
|
1174
|
-
for (var
|
|
1175
|
-
var
|
|
1176
|
-
if (
|
|
1177
|
-
if (
|
|
1178
|
-
|
|
1179
|
-
} catch (
|
|
1217
|
+
var t = e.prototype;
|
|
1218
|
+
return t._cleanupClosedWindows = function() {
|
|
1219
|
+
for (var i = this.weakmap, r = this.keys, n = 0; n < r.length; n++) {
|
|
1220
|
+
var o = r[n];
|
|
1221
|
+
if (ve(o) && G(o)) {
|
|
1222
|
+
if (i) try {
|
|
1223
|
+
i.delete(o);
|
|
1224
|
+
} catch (s) {
|
|
1180
1225
|
}
|
|
1181
|
-
r.splice(
|
|
1226
|
+
r.splice(n, 1), this.values.splice(n, 1), n -= 1;
|
|
1182
1227
|
}
|
|
1183
1228
|
}
|
|
1184
|
-
},
|
|
1185
|
-
return !
|
|
1186
|
-
},
|
|
1187
|
-
if (!
|
|
1188
|
-
var
|
|
1189
|
-
if (
|
|
1190
|
-
|
|
1191
|
-
} catch (
|
|
1229
|
+
}, t.isSafeToReadWrite = function(i) {
|
|
1230
|
+
return !ve(i);
|
|
1231
|
+
}, t.set = function(i, r) {
|
|
1232
|
+
if (!i) throw new Error("WeakMap expected key");
|
|
1233
|
+
var n = this.weakmap;
|
|
1234
|
+
if (n) try {
|
|
1235
|
+
n.set(i, r);
|
|
1236
|
+
} catch (P) {
|
|
1192
1237
|
delete this.weakmap;
|
|
1193
1238
|
}
|
|
1194
|
-
if (this.isSafeToReadWrite(
|
|
1195
|
-
var
|
|
1196
|
-
|
|
1197
|
-
value: [
|
|
1239
|
+
if (this.isSafeToReadWrite(i)) try {
|
|
1240
|
+
var o = this.name, s = i[o];
|
|
1241
|
+
s && s[0] === i ? s[1] = r : Object.defineProperty(i, o, {
|
|
1242
|
+
value: [i, r],
|
|
1198
1243
|
writable: !0
|
|
1199
1244
|
});
|
|
1200
1245
|
return;
|
|
1201
|
-
} catch (
|
|
1246
|
+
} catch (P) {
|
|
1202
1247
|
}
|
|
1203
1248
|
this._cleanupClosedWindows();
|
|
1204
|
-
var l = this.keys,
|
|
1205
|
-
|
|
1206
|
-
},
|
|
1207
|
-
if (!
|
|
1249
|
+
var l = this.keys, d = this.values, f = ye(l, i);
|
|
1250
|
+
f === -1 ? (l.push(i), d.push(r)) : d[f] = r;
|
|
1251
|
+
}, t.get = function(i) {
|
|
1252
|
+
if (!i) throw new Error("WeakMap expected key");
|
|
1208
1253
|
var r = this.weakmap;
|
|
1209
1254
|
if (r) try {
|
|
1210
|
-
if (r.has(
|
|
1211
|
-
} catch (
|
|
1255
|
+
if (r.has(i)) return r.get(i);
|
|
1256
|
+
} catch (s) {
|
|
1212
1257
|
delete this.weakmap;
|
|
1213
1258
|
}
|
|
1214
|
-
if (this.isSafeToReadWrite(
|
|
1215
|
-
var
|
|
1216
|
-
return
|
|
1217
|
-
} catch (
|
|
1259
|
+
if (this.isSafeToReadWrite(i)) try {
|
|
1260
|
+
var n = i[this.name];
|
|
1261
|
+
return n && n[0] === i ? n[1] : void 0;
|
|
1262
|
+
} catch (s) {
|
|
1218
1263
|
}
|
|
1219
1264
|
this._cleanupClosedWindows();
|
|
1220
|
-
var
|
|
1221
|
-
if (
|
|
1222
|
-
},
|
|
1223
|
-
if (!
|
|
1265
|
+
var o = ye(this.keys, i);
|
|
1266
|
+
if (o !== -1) return this.values[o];
|
|
1267
|
+
}, t.delete = function(i) {
|
|
1268
|
+
if (!i) throw new Error("WeakMap expected key");
|
|
1224
1269
|
var r = this.weakmap;
|
|
1225
1270
|
if (r) try {
|
|
1226
|
-
r.delete(
|
|
1271
|
+
r.delete(i);
|
|
1227
1272
|
} catch (l) {
|
|
1228
1273
|
delete this.weakmap;
|
|
1229
1274
|
}
|
|
1230
|
-
if (this.isSafeToReadWrite(
|
|
1231
|
-
var
|
|
1232
|
-
|
|
1275
|
+
if (this.isSafeToReadWrite(i)) try {
|
|
1276
|
+
var n = i[this.name];
|
|
1277
|
+
n && n[0] === i && (n[0] = n[1] = void 0);
|
|
1233
1278
|
} catch (l) {
|
|
1234
1279
|
}
|
|
1235
1280
|
this._cleanupClosedWindows();
|
|
1236
|
-
var
|
|
1237
|
-
|
|
1238
|
-
},
|
|
1239
|
-
if (!
|
|
1281
|
+
var o = this.keys, s = ye(o, i);
|
|
1282
|
+
s !== -1 && (o.splice(s, 1), this.values.splice(s, 1));
|
|
1283
|
+
}, t.has = function(i) {
|
|
1284
|
+
if (!i) throw new Error("WeakMap expected key");
|
|
1240
1285
|
var r = this.weakmap;
|
|
1241
1286
|
if (r) try {
|
|
1242
|
-
if (r.has(
|
|
1243
|
-
} catch (
|
|
1287
|
+
if (r.has(i)) return !0;
|
|
1288
|
+
} catch (o) {
|
|
1244
1289
|
delete this.weakmap;
|
|
1245
1290
|
}
|
|
1246
|
-
if (this.isSafeToReadWrite(
|
|
1247
|
-
var
|
|
1248
|
-
return !(!
|
|
1249
|
-
} catch (
|
|
1291
|
+
if (this.isSafeToReadWrite(i)) try {
|
|
1292
|
+
var n = i[this.name];
|
|
1293
|
+
return !(!n || n[0] !== i);
|
|
1294
|
+
} catch (o) {
|
|
1250
1295
|
}
|
|
1251
|
-
return this._cleanupClosedWindows(),
|
|
1252
|
-
},
|
|
1253
|
-
if (this.has(
|
|
1254
|
-
var
|
|
1255
|
-
return this.set(
|
|
1296
|
+
return this._cleanupClosedWindows(), ye(this.keys, i) !== -1;
|
|
1297
|
+
}, t.getOrSet = function(i, r) {
|
|
1298
|
+
if (this.has(i)) return this.get(i);
|
|
1299
|
+
var n = r();
|
|
1300
|
+
return this.set(i, n), n;
|
|
1256
1301
|
}, e;
|
|
1257
1302
|
}();
|
|
1258
|
-
function
|
|
1303
|
+
function Xe(e) {
|
|
1259
1304
|
return e.name || e.__name__ || e.displayName || "anonymous";
|
|
1260
1305
|
}
|
|
1261
|
-
function Ke(e,
|
|
1306
|
+
function Ke(e, t) {
|
|
1262
1307
|
try {
|
|
1263
|
-
delete e.name, e.name =
|
|
1264
|
-
} catch (
|
|
1308
|
+
delete e.name, e.name = t;
|
|
1309
|
+
} catch (i) {
|
|
1265
1310
|
}
|
|
1266
|
-
return e.__name__ = e.displayName =
|
|
1311
|
+
return e.__name__ = e.displayName = t, e;
|
|
1267
1312
|
}
|
|
1268
|
-
function
|
|
1313
|
+
function Z() {
|
|
1269
1314
|
var e = "0123456789abcdef";
|
|
1270
1315
|
return "uid_" + "xxxxxxxxxx".replace(/./g, function() {
|
|
1271
1316
|
return e.charAt(Math.floor(Math.random() * e.length));
|
|
1272
|
-
}) + "_" + function(
|
|
1273
|
-
if (typeof btoa == "function") return btoa(encodeURIComponent(
|
|
1317
|
+
}) + "_" + function(t) {
|
|
1318
|
+
if (typeof btoa == "function") return btoa(encodeURIComponent(t).replace(/%([0-9A-F]{2})/g, function(i, r) {
|
|
1274
1319
|
return String.fromCharCode(parseInt(r, 16));
|
|
1275
1320
|
})).replace(/[=]/g, "");
|
|
1276
|
-
if (typeof Buffer != "undefined") return Buffer.from(
|
|
1321
|
+
if (typeof Buffer != "undefined") return Buffer.from(t, "utf8").toString("base64").replace(/[=]/g, "");
|
|
1277
1322
|
throw new Error("Can not find window.btoa or Buffer");
|
|
1278
1323
|
}((/* @__PURE__ */ new Date()).toISOString().slice(11, 19).replace("T", ".")).replace(/[^a-zA-Z0-9]/g, "").toLowerCase();
|
|
1279
1324
|
}
|
|
1280
|
-
var
|
|
1281
|
-
function
|
|
1325
|
+
var be;
|
|
1326
|
+
function ei(e) {
|
|
1282
1327
|
try {
|
|
1283
|
-
return JSON.stringify([].slice.call(e), function(
|
|
1284
|
-
return typeof
|
|
1285
|
-
if (
|
|
1286
|
-
var
|
|
1287
|
-
return
|
|
1288
|
-
}(
|
|
1328
|
+
return JSON.stringify([].slice.call(e), function(t, i) {
|
|
1329
|
+
return typeof i == "function" ? "memoize[" + function(r) {
|
|
1330
|
+
if (be = be || new Le(), r == null || typeof r != "object" && typeof r != "function") throw new Error("Invalid object");
|
|
1331
|
+
var n = be.get(r);
|
|
1332
|
+
return n || (n = typeof r + ":" + Z(), be.set(r, n)), n;
|
|
1333
|
+
}(i) + "]" : typeof window != "undefined" && i instanceof window.Element || i !== null && typeof i == "object" && i.nodeType === 1 && typeof i.style == "object" && typeof i.ownerDocument == "object" ? {} : i;
|
|
1289
1334
|
});
|
|
1290
|
-
} catch (
|
|
1335
|
+
} catch (t) {
|
|
1291
1336
|
throw new Error("Arguments not serializable -- can not be used to memoize");
|
|
1292
1337
|
}
|
|
1293
1338
|
}
|
|
1294
|
-
function
|
|
1339
|
+
function _i() {
|
|
1295
1340
|
return {};
|
|
1296
1341
|
}
|
|
1297
|
-
var
|
|
1298
|
-
function
|
|
1299
|
-
|
|
1300
|
-
var
|
|
1301
|
-
|
|
1302
|
-
var
|
|
1303
|
-
for (var
|
|
1304
|
-
l <
|
|
1305
|
-
var
|
|
1306
|
-
|
|
1307
|
-
var
|
|
1342
|
+
var Se = 0, ii = 0;
|
|
1343
|
+
function ue(e, t) {
|
|
1344
|
+
t === void 0 && (t = {});
|
|
1345
|
+
var i = t.thisNamespace, r = i !== void 0 && i, n = t.time, o, s, l = Se;
|
|
1346
|
+
Se += 1;
|
|
1347
|
+
var d = function() {
|
|
1348
|
+
for (var f = arguments.length, P = new Array(f), u = 0; u < f; u++) P[u] = arguments[u];
|
|
1349
|
+
l < ii && (o = null, s = null, l = Se, Se += 1);
|
|
1350
|
+
var C;
|
|
1351
|
+
C = r ? (s = s || new Le()).getOrSet(this, _i) : o = o || {};
|
|
1352
|
+
var $;
|
|
1308
1353
|
try {
|
|
1309
|
-
|
|
1310
|
-
} catch (
|
|
1354
|
+
$ = ei(P);
|
|
1355
|
+
} catch (k) {
|
|
1311
1356
|
return e.apply(this, arguments);
|
|
1312
1357
|
}
|
|
1313
|
-
var
|
|
1314
|
-
if (
|
|
1315
|
-
var
|
|
1316
|
-
return
|
|
1317
|
-
time:
|
|
1358
|
+
var w = C[$];
|
|
1359
|
+
if (w && n && Date.now() - w.time < n && (delete C[$], w = null), w) return w.value;
|
|
1360
|
+
var y = Date.now(), b = e.apply(this, arguments);
|
|
1361
|
+
return C[$] = {
|
|
1362
|
+
time: y,
|
|
1318
1363
|
value: b
|
|
1319
1364
|
}, b;
|
|
1320
1365
|
};
|
|
1321
|
-
return
|
|
1322
|
-
|
|
1323
|
-
}, Ke(
|
|
1366
|
+
return d.reset = function() {
|
|
1367
|
+
o = null, s = null;
|
|
1368
|
+
}, Ke(d, (t.name || Xe(e)) + "::memoized");
|
|
1324
1369
|
}
|
|
1325
|
-
|
|
1326
|
-
|
|
1370
|
+
ue.clear = function() {
|
|
1371
|
+
ii = Se;
|
|
1327
1372
|
};
|
|
1328
|
-
function
|
|
1329
|
-
var
|
|
1330
|
-
function
|
|
1331
|
-
for (var r = arguments,
|
|
1332
|
-
var
|
|
1333
|
-
return
|
|
1334
|
-
return e.apply(
|
|
1373
|
+
function Gi(e) {
|
|
1374
|
+
var t = {};
|
|
1375
|
+
function i() {
|
|
1376
|
+
for (var r = arguments, n = this, o = arguments.length, s = new Array(o), l = 0; l < o; l++) s[l] = arguments[l];
|
|
1377
|
+
var d = ei(s);
|
|
1378
|
+
return t.hasOwnProperty(d) || (t[d] = R.try(function() {
|
|
1379
|
+
return e.apply(n, r);
|
|
1335
1380
|
}).finally(function() {
|
|
1336
|
-
delete
|
|
1337
|
-
})),
|
|
1381
|
+
delete t[d];
|
|
1382
|
+
})), t[d];
|
|
1338
1383
|
}
|
|
1339
|
-
return
|
|
1340
|
-
|
|
1341
|
-
}, Ke(
|
|
1384
|
+
return i.reset = function() {
|
|
1385
|
+
t = {};
|
|
1386
|
+
}, Ke(i, Xe(e) + "::promiseMemoized");
|
|
1342
1387
|
}
|
|
1343
|
-
function
|
|
1388
|
+
function ne() {
|
|
1344
1389
|
}
|
|
1345
|
-
function
|
|
1346
|
-
if (
|
|
1390
|
+
function Ce(e, t) {
|
|
1391
|
+
if (t === void 0 && (t = 1), t >= 3) return "stringifyError stack overflow";
|
|
1347
1392
|
try {
|
|
1348
1393
|
if (!e) return "<unknown error: " + {}.toString.call(e) + ">";
|
|
1349
1394
|
if (typeof e == "string") return e;
|
|
1350
1395
|
if (e instanceof Error) {
|
|
1351
|
-
var
|
|
1352
|
-
if (
|
|
1353
|
-
` +
|
|
1354
|
-
if (
|
|
1396
|
+
var i = e && e.stack, r = e && e.message;
|
|
1397
|
+
if (i && r) return i.indexOf(r) !== -1 ? i : r + `
|
|
1398
|
+
` + i;
|
|
1399
|
+
if (i) return i;
|
|
1355
1400
|
if (r) return r;
|
|
1356
1401
|
}
|
|
1357
1402
|
return e && e.toString && typeof e.toString == "function" ? e.toString() : {}.toString.call(e);
|
|
1358
|
-
} catch (
|
|
1359
|
-
return "Error while stringifying error: " +
|
|
1403
|
+
} catch (n) {
|
|
1404
|
+
return "Error while stringifying error: " + Ce(n, t + 1);
|
|
1360
1405
|
}
|
|
1361
1406
|
}
|
|
1362
|
-
function
|
|
1407
|
+
function ti(e) {
|
|
1363
1408
|
return typeof e == "string" ? e : e.toString && typeof e.toString == "function" ? e.toString() : {}.toString.call(e);
|
|
1364
1409
|
}
|
|
1365
|
-
|
|
1410
|
+
ue(function(e) {
|
|
1366
1411
|
if (Object.values) return Object.values(e);
|
|
1367
|
-
var
|
|
1368
|
-
for (var
|
|
1369
|
-
return
|
|
1412
|
+
var t = [];
|
|
1413
|
+
for (var i in e) e.hasOwnProperty(i) && t.push(e[i]);
|
|
1414
|
+
return t;
|
|
1370
1415
|
});
|
|
1371
|
-
function
|
|
1416
|
+
function We(e) {
|
|
1372
1417
|
return {}.toString.call(e) === "[object RegExp]";
|
|
1373
1418
|
}
|
|
1374
|
-
function
|
|
1375
|
-
if (e.hasOwnProperty(
|
|
1376
|
-
var r =
|
|
1377
|
-
return e[
|
|
1419
|
+
function he(e, t, i) {
|
|
1420
|
+
if (e.hasOwnProperty(t)) return e[t];
|
|
1421
|
+
var r = i();
|
|
1422
|
+
return e[t] = r, r;
|
|
1378
1423
|
}
|
|
1379
|
-
function
|
|
1424
|
+
function ri() {
|
|
1380
1425
|
var e = document.body;
|
|
1381
1426
|
if (!e) throw new Error("Body element not found");
|
|
1382
1427
|
return e;
|
|
1383
1428
|
}
|
|
1384
|
-
function
|
|
1429
|
+
function ni() {
|
|
1385
1430
|
return !!document.body && document.readyState === "complete";
|
|
1386
1431
|
}
|
|
1387
|
-
function
|
|
1432
|
+
function oi() {
|
|
1388
1433
|
return !!document.body && document.readyState === "interactive";
|
|
1389
1434
|
}
|
|
1390
|
-
|
|
1391
|
-
return new
|
|
1392
|
-
if (
|
|
1393
|
-
var
|
|
1394
|
-
if (
|
|
1395
|
-
return clearInterval(
|
|
1435
|
+
ue(function() {
|
|
1436
|
+
return new R(function(e) {
|
|
1437
|
+
if (ni() || oi()) return e();
|
|
1438
|
+
var t = setInterval(function() {
|
|
1439
|
+
if (ni() || oi())
|
|
1440
|
+
return clearInterval(t), e();
|
|
1396
1441
|
}, 10);
|
|
1397
1442
|
});
|
|
1398
1443
|
});
|
|
1399
|
-
var
|
|
1400
|
-
if (
|
|
1444
|
+
var we = typeof document != "undefined" ? document.currentScript : null, Vi = ue(function() {
|
|
1445
|
+
if (we || (we = function() {
|
|
1401
1446
|
try {
|
|
1402
1447
|
var e = function() {
|
|
1403
1448
|
try {
|
|
1404
1449
|
throw new Error("_");
|
|
1405
|
-
} catch (
|
|
1406
|
-
return
|
|
1450
|
+
} catch (s) {
|
|
1451
|
+
return s.stack || "";
|
|
1407
1452
|
}
|
|
1408
|
-
}(),
|
|
1409
|
-
if (!
|
|
1410
|
-
for (var r = 0,
|
|
1411
|
-
var
|
|
1412
|
-
if (
|
|
1453
|
+
}(), t = /.*at [^(]*\((.*):(.+):(.+)\)$/gi.exec(e), i = t && t[1];
|
|
1454
|
+
if (!i) return;
|
|
1455
|
+
for (var r = 0, n = [].slice.call(document.getElementsByTagName("script")).reverse(); r < n.length; r++) {
|
|
1456
|
+
var o = n[r];
|
|
1457
|
+
if (o.src && o.src === i) return o;
|
|
1413
1458
|
}
|
|
1414
|
-
} catch (
|
|
1459
|
+
} catch (s) {
|
|
1415
1460
|
}
|
|
1416
|
-
}())) return
|
|
1461
|
+
}())) return we;
|
|
1417
1462
|
throw new Error("Can not determine current script");
|
|
1418
|
-
}),
|
|
1419
|
-
|
|
1463
|
+
}), Ji = Z();
|
|
1464
|
+
ue(function() {
|
|
1420
1465
|
var e;
|
|
1421
1466
|
try {
|
|
1422
|
-
e =
|
|
1467
|
+
e = Vi();
|
|
1423
1468
|
} catch (r) {
|
|
1424
|
-
return
|
|
1469
|
+
return Ji;
|
|
1425
1470
|
}
|
|
1426
|
-
var
|
|
1427
|
-
if (
|
|
1471
|
+
var t = e.getAttribute("data-uid");
|
|
1472
|
+
if (t && typeof t == "string" || (t = e.getAttribute("data-uid-auto")) && typeof t == "string") return t;
|
|
1428
1473
|
if (e.src) {
|
|
1429
|
-
var
|
|
1430
|
-
for (var
|
|
1431
|
-
var
|
|
1432
|
-
r[
|
|
1474
|
+
var i = function(r) {
|
|
1475
|
+
for (var n = "", o = 0; o < r.length; o++) {
|
|
1476
|
+
var s = r[o].charCodeAt(0) * o;
|
|
1477
|
+
r[o + 1] && (s += r[o + 1].charCodeAt(0) * (o - 1)), n += String.fromCharCode(97 + Math.abs(s) % 26);
|
|
1433
1478
|
}
|
|
1434
|
-
return
|
|
1479
|
+
return n;
|
|
1435
1480
|
}(JSON.stringify({
|
|
1436
1481
|
src: e.src,
|
|
1437
1482
|
dataset: e.dataset
|
|
1438
1483
|
}));
|
|
1439
|
-
|
|
1440
|
-
} else
|
|
1441
|
-
return e.setAttribute("data-uid-auto",
|
|
1484
|
+
t = "uid_" + i.slice(i.length - 30);
|
|
1485
|
+
} else t = Z();
|
|
1486
|
+
return e.setAttribute("data-uid-auto", t), t;
|
|
1442
1487
|
});
|
|
1443
|
-
function
|
|
1488
|
+
function Pe(e) {
|
|
1444
1489
|
e === void 0 && (e = window);
|
|
1445
|
-
var
|
|
1446
|
-
return e !== window ? e[
|
|
1490
|
+
var t = "__post_robot_10_0_46__";
|
|
1491
|
+
return e !== window ? e[t] : e[t] = e[t] || {};
|
|
1447
1492
|
}
|
|
1448
|
-
var
|
|
1493
|
+
var si = function() {
|
|
1449
1494
|
return {};
|
|
1450
1495
|
};
|
|
1451
|
-
function
|
|
1452
|
-
return e === void 0 && (e = "store"),
|
|
1453
|
-
var
|
|
1496
|
+
function M(e, t) {
|
|
1497
|
+
return e === void 0 && (e = "store"), t === void 0 && (t = si), he(Pe(), e, function() {
|
|
1498
|
+
var i = t();
|
|
1454
1499
|
return {
|
|
1455
1500
|
has: function(r) {
|
|
1456
|
-
return
|
|
1501
|
+
return i.hasOwnProperty(r);
|
|
1457
1502
|
},
|
|
1458
|
-
get: function(r,
|
|
1459
|
-
return
|
|
1503
|
+
get: function(r, n) {
|
|
1504
|
+
return i.hasOwnProperty(r) ? i[r] : n;
|
|
1460
1505
|
},
|
|
1461
|
-
set: function(r,
|
|
1462
|
-
return
|
|
1506
|
+
set: function(r, n) {
|
|
1507
|
+
return i[r] = n, n;
|
|
1463
1508
|
},
|
|
1464
1509
|
del: function(r) {
|
|
1465
|
-
delete
|
|
1510
|
+
delete i[r];
|
|
1466
1511
|
},
|
|
1467
|
-
getOrSet: function(r,
|
|
1468
|
-
return
|
|
1512
|
+
getOrSet: function(r, n) {
|
|
1513
|
+
return he(i, r, n);
|
|
1469
1514
|
},
|
|
1470
1515
|
reset: function() {
|
|
1471
|
-
|
|
1516
|
+
i = t();
|
|
1472
1517
|
},
|
|
1473
1518
|
keys: function() {
|
|
1474
|
-
return Object.keys(
|
|
1519
|
+
return Object.keys(i);
|
|
1475
1520
|
}
|
|
1476
1521
|
};
|
|
1477
1522
|
});
|
|
1478
1523
|
}
|
|
1479
|
-
var
|
|
1524
|
+
var Yi = function() {
|
|
1480
1525
|
};
|
|
1481
|
-
function
|
|
1482
|
-
var e =
|
|
1483
|
-
return e.WINDOW_WILDCARD = e.WINDOW_WILDCARD || new
|
|
1484
|
-
}
|
|
1485
|
-
function H(e,
|
|
1486
|
-
return e === void 0 && (e = "store"),
|
|
1487
|
-
var
|
|
1488
|
-
return
|
|
1526
|
+
function Ie() {
|
|
1527
|
+
var e = Pe();
|
|
1528
|
+
return e.WINDOW_WILDCARD = e.WINDOW_WILDCARD || new Yi(), e.WINDOW_WILDCARD;
|
|
1529
|
+
}
|
|
1530
|
+
function H(e, t) {
|
|
1531
|
+
return e === void 0 && (e = "store"), t === void 0 && (t = si), M("windowStore").getOrSet(e, function() {
|
|
1532
|
+
var i = new Le(), r = function(n) {
|
|
1533
|
+
return i.getOrSet(n, t);
|
|
1489
1534
|
};
|
|
1490
1535
|
return {
|
|
1491
|
-
has: function(
|
|
1492
|
-
return r(
|
|
1536
|
+
has: function(n) {
|
|
1537
|
+
return r(n).hasOwnProperty(e);
|
|
1493
1538
|
},
|
|
1494
|
-
get: function(
|
|
1495
|
-
var
|
|
1496
|
-
return
|
|
1539
|
+
get: function(n, o) {
|
|
1540
|
+
var s = r(n);
|
|
1541
|
+
return s.hasOwnProperty(e) ? s[e] : o;
|
|
1497
1542
|
},
|
|
1498
|
-
set: function(
|
|
1499
|
-
return r(
|
|
1543
|
+
set: function(n, o) {
|
|
1544
|
+
return r(n)[e] = o, o;
|
|
1500
1545
|
},
|
|
1501
|
-
del: function(
|
|
1502
|
-
delete r(
|
|
1546
|
+
del: function(n) {
|
|
1547
|
+
delete r(n)[e];
|
|
1503
1548
|
},
|
|
1504
|
-
getOrSet: function(
|
|
1505
|
-
return
|
|
1549
|
+
getOrSet: function(n, o) {
|
|
1550
|
+
return he(r(n), e, o);
|
|
1506
1551
|
}
|
|
1507
1552
|
};
|
|
1508
1553
|
});
|
|
1509
1554
|
}
|
|
1510
|
-
function
|
|
1511
|
-
return
|
|
1555
|
+
function fi() {
|
|
1556
|
+
return M("instance").getOrSet("instanceID", Z);
|
|
1512
1557
|
}
|
|
1513
|
-
function
|
|
1514
|
-
var
|
|
1515
|
-
|
|
1516
|
-
domain:
|
|
1558
|
+
function di(e, t) {
|
|
1559
|
+
var i = t.domain, r = H("helloPromises"), n = r.get(e);
|
|
1560
|
+
n && n.resolve({
|
|
1561
|
+
domain: i
|
|
1517
1562
|
});
|
|
1518
|
-
var
|
|
1519
|
-
domain:
|
|
1563
|
+
var o = R.resolve({
|
|
1564
|
+
domain: i
|
|
1520
1565
|
});
|
|
1521
|
-
return r.set(e,
|
|
1566
|
+
return r.set(e, o), o;
|
|
1522
1567
|
}
|
|
1523
|
-
function
|
|
1524
|
-
return (0,
|
|
1525
|
-
instanceID:
|
|
1568
|
+
function Oe(e, t) {
|
|
1569
|
+
return (0, t.send)(e, "postrobot_hello", {
|
|
1570
|
+
instanceID: fi()
|
|
1526
1571
|
}, {
|
|
1527
1572
|
domain: "*",
|
|
1528
1573
|
timeout: -1
|
|
1529
|
-
}).then(function(
|
|
1530
|
-
var r =
|
|
1531
|
-
return
|
|
1574
|
+
}).then(function(i) {
|
|
1575
|
+
var r = i.origin, n = i.data.instanceID;
|
|
1576
|
+
return di(e, {
|
|
1532
1577
|
domain: r
|
|
1533
1578
|
}), {
|
|
1534
1579
|
win: e,
|
|
1535
1580
|
domain: r,
|
|
1536
|
-
instanceID:
|
|
1581
|
+
instanceID: n
|
|
1537
1582
|
};
|
|
1538
1583
|
});
|
|
1539
1584
|
}
|
|
1540
|
-
function
|
|
1541
|
-
var
|
|
1585
|
+
function ai(e, t) {
|
|
1586
|
+
var i = t.send;
|
|
1542
1587
|
return H("windowInstanceIDPromises").getOrSet(e, function() {
|
|
1543
|
-
return
|
|
1544
|
-
send:
|
|
1588
|
+
return Oe(e, {
|
|
1589
|
+
send: i
|
|
1545
1590
|
}).then(function(r) {
|
|
1546
1591
|
return r.instanceID;
|
|
1547
1592
|
});
|
|
1548
1593
|
});
|
|
1549
1594
|
}
|
|
1550
|
-
function
|
|
1595
|
+
function ci(e) {
|
|
1551
1596
|
H("knownWindows").set(e, !0);
|
|
1552
1597
|
}
|
|
1553
1598
|
function Ne(e) {
|
|
1554
1599
|
return typeof e == "object" && e !== null && typeof e.__type__ == "string";
|
|
1555
1600
|
}
|
|
1556
|
-
function
|
|
1601
|
+
function pi(e) {
|
|
1557
1602
|
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;
|
|
1558
1603
|
}
|
|
1559
|
-
function
|
|
1604
|
+
function oe(e, t) {
|
|
1560
1605
|
return {
|
|
1561
1606
|
__type__: e,
|
|
1562
|
-
__val__:
|
|
1607
|
+
__val__: t
|
|
1563
1608
|
};
|
|
1564
1609
|
}
|
|
1565
|
-
var
|
|
1566
|
-
},
|
|
1567
|
-
return
|
|
1610
|
+
var U, Zi = ((U = {}).function = function() {
|
|
1611
|
+
}, U.error = function(e) {
|
|
1612
|
+
return oe("error", {
|
|
1568
1613
|
message: e.message,
|
|
1569
1614
|
stack: e.stack,
|
|
1570
1615
|
code: e.code,
|
|
1571
1616
|
data: e.data
|
|
1572
1617
|
});
|
|
1573
|
-
},
|
|
1574
|
-
},
|
|
1575
|
-
return
|
|
1576
|
-
},
|
|
1577
|
-
return
|
|
1578
|
-
},
|
|
1618
|
+
}, U.promise = function() {
|
|
1619
|
+
}, U.regex = function(e) {
|
|
1620
|
+
return oe("regex", e.source);
|
|
1621
|
+
}, U.date = function(e) {
|
|
1622
|
+
return oe("date", e.toJSON());
|
|
1623
|
+
}, U.array = function(e) {
|
|
1579
1624
|
return e;
|
|
1580
|
-
},
|
|
1625
|
+
}, U.object = function(e) {
|
|
1581
1626
|
return e;
|
|
1582
|
-
},
|
|
1627
|
+
}, U.string = function(e) {
|
|
1583
1628
|
return e;
|
|
1584
|
-
},
|
|
1629
|
+
}, U.number = function(e) {
|
|
1585
1630
|
return e;
|
|
1586
|
-
},
|
|
1631
|
+
}, U.boolean = function(e) {
|
|
1587
1632
|
return e;
|
|
1588
|
-
},
|
|
1633
|
+
}, U.null = function(e) {
|
|
1589
1634
|
return e;
|
|
1590
|
-
},
|
|
1591
|
-
return
|
|
1592
|
-
},
|
|
1635
|
+
}, U[void 0] = function(e) {
|
|
1636
|
+
return oe("undefined", e);
|
|
1637
|
+
}, U), Qi = {}, q, Xi = ((q = {}).function = function() {
|
|
1593
1638
|
throw new Error("Function serialization is not implemented; nothing to deserialize");
|
|
1594
|
-
},
|
|
1595
|
-
var
|
|
1596
|
-
return
|
|
1639
|
+
}, q.error = function(e) {
|
|
1640
|
+
var t = e.stack, i = e.code, r = e.data, n = new Error(e.message);
|
|
1641
|
+
return n.code = i, r && (n.data = r), n.stack = t + `
|
|
1597
1642
|
|
|
1598
|
-
` +
|
|
1599
|
-
},
|
|
1643
|
+
` + n.stack, n;
|
|
1644
|
+
}, q.promise = function() {
|
|
1600
1645
|
throw new Error("Promise serialization is not implemented; nothing to deserialize");
|
|
1601
|
-
},
|
|
1646
|
+
}, q.regex = function(e) {
|
|
1602
1647
|
return new RegExp(e);
|
|
1603
|
-
},
|
|
1648
|
+
}, q.date = function(e) {
|
|
1604
1649
|
return new Date(e);
|
|
1605
|
-
},
|
|
1650
|
+
}, q.array = function(e) {
|
|
1606
1651
|
return e;
|
|
1607
|
-
},
|
|
1652
|
+
}, q.object = function(e) {
|
|
1608
1653
|
return e;
|
|
1609
|
-
},
|
|
1654
|
+
}, q.string = function(e) {
|
|
1610
1655
|
return e;
|
|
1611
|
-
},
|
|
1656
|
+
}, q.number = function(e) {
|
|
1612
1657
|
return e;
|
|
1613
|
-
},
|
|
1658
|
+
}, q.boolean = function(e) {
|
|
1614
1659
|
return e;
|
|
1615
|
-
},
|
|
1660
|
+
}, q.null = function(e) {
|
|
1616
1661
|
return e;
|
|
1617
|
-
},
|
|
1618
|
-
},
|
|
1619
|
-
new
|
|
1662
|
+
}, q[void 0] = function() {
|
|
1663
|
+
}, q), Ki = {};
|
|
1664
|
+
new R(function(e) {
|
|
1620
1665
|
if (window.document && window.document.body) return e(window.document.body);
|
|
1621
|
-
var
|
|
1666
|
+
var t = setInterval(function() {
|
|
1622
1667
|
if (window.document && window.document.body)
|
|
1623
|
-
return clearInterval(
|
|
1668
|
+
return clearInterval(t), e(window.document.body);
|
|
1624
1669
|
}, 10);
|
|
1625
1670
|
});
|
|
1626
|
-
function
|
|
1627
|
-
for (var e =
|
|
1628
|
-
var r = t
|
|
1671
|
+
function Be() {
|
|
1672
|
+
for (var e = M("idToProxyWindow"), t = 0, i = e.keys(); t < i.length; t++) {
|
|
1673
|
+
var r = i[t];
|
|
1629
1674
|
e.get(r).shouldClean() && e.del(r);
|
|
1630
1675
|
}
|
|
1631
1676
|
}
|
|
1632
|
-
function
|
|
1633
|
-
var
|
|
1634
|
-
if (
|
|
1635
|
-
}),
|
|
1636
|
-
if (G(
|
|
1637
|
-
return
|
|
1677
|
+
function li(e, t) {
|
|
1678
|
+
var i = t.send, r = t.id, n = r === void 0 ? Z() : r, o = e.then(function(d) {
|
|
1679
|
+
if (J(d)) return ie(d).name;
|
|
1680
|
+
}), s = e.then(function(d) {
|
|
1681
|
+
if (G(d)) throw new Error("Window is closed, can not determine type");
|
|
1682
|
+
return K(d) ? "popup" : "iframe";
|
|
1638
1683
|
});
|
|
1639
|
-
|
|
1684
|
+
o.catch(ne), s.catch(ne);
|
|
1640
1685
|
var l = function() {
|
|
1641
|
-
return e.then(function(
|
|
1642
|
-
if (!G(
|
|
1686
|
+
return e.then(function(d) {
|
|
1687
|
+
if (!G(d)) return J(d) ? ie(d).name : o;
|
|
1643
1688
|
});
|
|
1644
1689
|
};
|
|
1645
1690
|
return {
|
|
1646
|
-
id:
|
|
1691
|
+
id: n,
|
|
1647
1692
|
getType: function() {
|
|
1648
|
-
return
|
|
1693
|
+
return s;
|
|
1649
1694
|
},
|
|
1650
|
-
getInstanceID:
|
|
1651
|
-
return e.then(function(
|
|
1652
|
-
return
|
|
1653
|
-
send:
|
|
1695
|
+
getInstanceID: Gi(function() {
|
|
1696
|
+
return e.then(function(d) {
|
|
1697
|
+
return ai(d, {
|
|
1698
|
+
send: i
|
|
1654
1699
|
});
|
|
1655
1700
|
});
|
|
1656
1701
|
}),
|
|
1657
1702
|
close: function() {
|
|
1658
|
-
return e.then(
|
|
1703
|
+
return e.then(qi);
|
|
1659
1704
|
},
|
|
1660
1705
|
getName: l,
|
|
1661
1706
|
focus: function() {
|
|
1662
|
-
return e.then(function(
|
|
1663
|
-
|
|
1707
|
+
return e.then(function(d) {
|
|
1708
|
+
d.focus();
|
|
1664
1709
|
});
|
|
1665
1710
|
},
|
|
1666
1711
|
isClosed: function() {
|
|
1667
|
-
return e.then(function(
|
|
1668
|
-
return G(
|
|
1712
|
+
return e.then(function(d) {
|
|
1713
|
+
return G(d);
|
|
1669
1714
|
});
|
|
1670
1715
|
},
|
|
1671
|
-
setLocation: function(
|
|
1672
|
-
return
|
|
1673
|
-
var
|
|
1674
|
-
if (
|
|
1675
|
-
else if (!
|
|
1676
|
-
if (
|
|
1677
|
-
if (!
|
|
1716
|
+
setLocation: function(d, f) {
|
|
1717
|
+
return f === void 0 && (f = {}), e.then(function(P) {
|
|
1718
|
+
var u = window.location.protocol + "//" + window.location.host, C = f.method, $ = C === void 0 ? "get" : C, w = f.body;
|
|
1719
|
+
if (d.indexOf("/") === 0) d = "" + u + d;
|
|
1720
|
+
else if (!d.match(/^https?:\/\//) && d.indexOf(u) !== 0) throw new Error("Expected url to be http or https url, or absolute path, got " + JSON.stringify(d));
|
|
1721
|
+
if ($ === "post") return l().then(function(y) {
|
|
1722
|
+
if (!y) throw new Error("Can not post to window without target name");
|
|
1678
1723
|
(function(b) {
|
|
1679
|
-
var
|
|
1680
|
-
if (
|
|
1681
|
-
var
|
|
1682
|
-
|
|
1724
|
+
var k = b.url, N = b.target, E = b.body, x = b.method, j = x === void 0 ? "post" : x, I = document.createElement("form");
|
|
1725
|
+
if (I.setAttribute("target", N), I.setAttribute("method", j), I.setAttribute("action", k), I.style.display = "none", E) for (var D = 0, V = Object.keys(E); D < V.length; D++) {
|
|
1726
|
+
var W, $e = V[D], Fe = document.createElement("input");
|
|
1727
|
+
Fe.setAttribute("name", $e), Fe.setAttribute("value", (W = E[$e]) == null ? void 0 : W.toString()), I.appendChild(Fe);
|
|
1683
1728
|
}
|
|
1684
|
-
|
|
1729
|
+
ri().appendChild(I), I.submit(), ri().removeChild(I);
|
|
1685
1730
|
})({
|
|
1686
|
-
url:
|
|
1687
|
-
target:
|
|
1688
|
-
method:
|
|
1689
|
-
body:
|
|
1731
|
+
url: d,
|
|
1732
|
+
target: y,
|
|
1733
|
+
method: $,
|
|
1734
|
+
body: w
|
|
1690
1735
|
});
|
|
1691
1736
|
});
|
|
1692
|
-
if (
|
|
1693
|
-
if (
|
|
1694
|
-
if (
|
|
1695
|
-
|
|
1737
|
+
if ($ !== "get") throw new Error("Unsupported method: " + $);
|
|
1738
|
+
if (J(P)) try {
|
|
1739
|
+
if (P.location && typeof P.location.replace == "function") {
|
|
1740
|
+
P.location.replace(d);
|
|
1696
1741
|
return;
|
|
1697
1742
|
}
|
|
1698
|
-
} catch (
|
|
1743
|
+
} catch (y) {
|
|
1699
1744
|
}
|
|
1700
|
-
|
|
1745
|
+
P.location = d;
|
|
1701
1746
|
});
|
|
1702
1747
|
},
|
|
1703
|
-
setName: function(
|
|
1704
|
-
return e.then(function(
|
|
1705
|
-
var
|
|
1706
|
-
if (!
|
|
1707
|
-
|
|
1748
|
+
setName: function(d) {
|
|
1749
|
+
return e.then(function(f) {
|
|
1750
|
+
var P = J(f), u = Ye(f);
|
|
1751
|
+
if (!P) throw new Error("Can not set name for cross-domain window: " + d);
|
|
1752
|
+
ie(f).name = d, u && u.setAttribute("name", d), o = R.resolve(d);
|
|
1708
1753
|
});
|
|
1709
1754
|
}
|
|
1710
1755
|
};
|
|
1711
1756
|
}
|
|
1712
|
-
var
|
|
1713
|
-
function e(
|
|
1714
|
-
var r =
|
|
1715
|
-
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
|
|
1757
|
+
var _ = function() {
|
|
1758
|
+
function e(i) {
|
|
1759
|
+
var r = i.send, n = i.win, o = i.serializedWindow;
|
|
1760
|
+
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 R(), this.serializedWindow = o || li(this.actualWindowPromise, {
|
|
1716
1761
|
send: r
|
|
1717
|
-
}),
|
|
1762
|
+
}), M("idToProxyWindow").set(this.getID(), this), n && this.setWindow(n, {
|
|
1718
1763
|
send: r
|
|
1719
1764
|
});
|
|
1720
1765
|
}
|
|
1721
|
-
var
|
|
1722
|
-
return
|
|
1766
|
+
var t = e.prototype;
|
|
1767
|
+
return t.getID = function() {
|
|
1723
1768
|
return this.serializedWindow.id;
|
|
1724
|
-
},
|
|
1769
|
+
}, t.getType = function() {
|
|
1725
1770
|
return this.serializedWindow.getType();
|
|
1726
|
-
},
|
|
1727
|
-
return this.getType().then(function(
|
|
1728
|
-
return
|
|
1771
|
+
}, t.isPopup = function() {
|
|
1772
|
+
return this.getType().then(function(i) {
|
|
1773
|
+
return i === "popup";
|
|
1729
1774
|
});
|
|
1730
|
-
},
|
|
1731
|
-
var
|
|
1732
|
-
return this.serializedWindow.setLocation(
|
|
1733
|
-
return
|
|
1775
|
+
}, t.setLocation = function(i, r) {
|
|
1776
|
+
var n = this;
|
|
1777
|
+
return this.serializedWindow.setLocation(i, r).then(function() {
|
|
1778
|
+
return n;
|
|
1734
1779
|
});
|
|
1735
|
-
},
|
|
1780
|
+
}, t.getName = function() {
|
|
1736
1781
|
return this.serializedWindow.getName();
|
|
1737
|
-
},
|
|
1782
|
+
}, t.setName = function(i) {
|
|
1738
1783
|
var r = this;
|
|
1739
|
-
return this.serializedWindow.setName(
|
|
1784
|
+
return this.serializedWindow.setName(i).then(function() {
|
|
1740
1785
|
return r;
|
|
1741
1786
|
});
|
|
1742
|
-
},
|
|
1743
|
-
var
|
|
1787
|
+
}, t.close = function() {
|
|
1788
|
+
var i = this;
|
|
1744
1789
|
return this.serializedWindow.close().then(function() {
|
|
1745
|
-
return
|
|
1790
|
+
return i;
|
|
1746
1791
|
});
|
|
1747
|
-
},
|
|
1748
|
-
var
|
|
1792
|
+
}, t.focus = function() {
|
|
1793
|
+
var i = this, r = this.isPopup(), n = this.getName(), o = R.hash({
|
|
1749
1794
|
isPopup: r,
|
|
1750
|
-
name:
|
|
1795
|
+
name: n
|
|
1751
1796
|
}).then(function(l) {
|
|
1752
|
-
var
|
|
1753
|
-
l.isPopup &&
|
|
1754
|
-
}),
|
|
1755
|
-
return
|
|
1756
|
-
return
|
|
1797
|
+
var d = l.name;
|
|
1798
|
+
l.isPopup && d && window.open("", d, "noopener");
|
|
1799
|
+
}), s = this.serializedWindow.focus();
|
|
1800
|
+
return R.all([o, s]).then(function() {
|
|
1801
|
+
return i;
|
|
1757
1802
|
});
|
|
1758
|
-
},
|
|
1803
|
+
}, t.isClosed = function() {
|
|
1759
1804
|
return this.serializedWindow.isClosed();
|
|
1760
|
-
},
|
|
1805
|
+
}, t.getWindow = function() {
|
|
1761
1806
|
return this.actualWindow;
|
|
1762
|
-
},
|
|
1763
|
-
var
|
|
1764
|
-
this.actualWindow =
|
|
1765
|
-
send:
|
|
1807
|
+
}, t.setWindow = function(i, r) {
|
|
1808
|
+
var n = r.send;
|
|
1809
|
+
this.actualWindow = i, this.actualWindowPromise.resolve(this.actualWindow), this.serializedWindow = li(this.actualWindowPromise, {
|
|
1810
|
+
send: n,
|
|
1766
1811
|
id: this.getID()
|
|
1767
|
-
}), H("winToProxyWindow").set(
|
|
1768
|
-
},
|
|
1812
|
+
}), H("winToProxyWindow").set(i, this);
|
|
1813
|
+
}, t.awaitWindow = function() {
|
|
1769
1814
|
return this.actualWindowPromise;
|
|
1770
|
-
},
|
|
1771
|
-
var
|
|
1772
|
-
return
|
|
1773
|
-
return
|
|
1774
|
-
proxyInstanceID:
|
|
1775
|
-
knownWindowInstanceID:
|
|
1776
|
-
send:
|
|
1815
|
+
}, t.matchWindow = function(i, r) {
|
|
1816
|
+
var n = this, o = r.send;
|
|
1817
|
+
return R.try(function() {
|
|
1818
|
+
return n.actualWindow ? i === n.actualWindow : R.hash({
|
|
1819
|
+
proxyInstanceID: n.getInstanceID(),
|
|
1820
|
+
knownWindowInstanceID: ai(i, {
|
|
1821
|
+
send: o
|
|
1777
1822
|
})
|
|
1778
|
-
}).then(function(
|
|
1779
|
-
var l =
|
|
1780
|
-
return l &&
|
|
1781
|
-
send:
|
|
1823
|
+
}).then(function(s) {
|
|
1824
|
+
var l = s.proxyInstanceID === s.knownWindowInstanceID;
|
|
1825
|
+
return l && n.setWindow(i, {
|
|
1826
|
+
send: o
|
|
1782
1827
|
}), l;
|
|
1783
1828
|
});
|
|
1784
1829
|
});
|
|
1785
|
-
},
|
|
1830
|
+
}, t.unwrap = function() {
|
|
1786
1831
|
return this.actualWindow || this;
|
|
1787
|
-
},
|
|
1832
|
+
}, t.getInstanceID = function() {
|
|
1788
1833
|
return this.serializedWindow.getInstanceID();
|
|
1789
|
-
},
|
|
1834
|
+
}, t.shouldClean = function() {
|
|
1790
1835
|
return !!(this.actualWindow && G(this.actualWindow));
|
|
1791
|
-
},
|
|
1836
|
+
}, t.serialize = function() {
|
|
1792
1837
|
return this.serializedWindow;
|
|
1793
|
-
}, e.unwrap = function(
|
|
1794
|
-
return e.isProxyWindow(
|
|
1795
|
-
}, e.serialize = function(
|
|
1796
|
-
var
|
|
1797
|
-
return
|
|
1798
|
-
send:
|
|
1838
|
+
}, e.unwrap = function(i) {
|
|
1839
|
+
return e.isProxyWindow(i) ? i.unwrap() : i;
|
|
1840
|
+
}, e.serialize = function(i, r) {
|
|
1841
|
+
var n = r.send;
|
|
1842
|
+
return Be(), e.toProxyWindow(i, {
|
|
1843
|
+
send: n
|
|
1799
1844
|
}).serialize();
|
|
1800
|
-
}, e.deserialize = function(
|
|
1801
|
-
var
|
|
1802
|
-
return
|
|
1803
|
-
serializedWindow:
|
|
1804
|
-
send:
|
|
1845
|
+
}, e.deserialize = function(i, r) {
|
|
1846
|
+
var n = r.send;
|
|
1847
|
+
return Be(), M("idToProxyWindow").get(i.id) || new e({
|
|
1848
|
+
serializedWindow: i,
|
|
1849
|
+
send: n
|
|
1805
1850
|
});
|
|
1806
|
-
}, e.isProxyWindow = function(
|
|
1807
|
-
return !!(
|
|
1808
|
-
}, e.toProxyWindow = function(
|
|
1809
|
-
var
|
|
1810
|
-
if (
|
|
1811
|
-
var
|
|
1812
|
-
return H("winToProxyWindow").get(
|
|
1813
|
-
win:
|
|
1814
|
-
send:
|
|
1851
|
+
}, e.isProxyWindow = function(i) {
|
|
1852
|
+
return !!(i && !ve(i) && i.isProxyWindow);
|
|
1853
|
+
}, e.toProxyWindow = function(i, r) {
|
|
1854
|
+
var n = r.send;
|
|
1855
|
+
if (Be(), e.isProxyWindow(i)) return i;
|
|
1856
|
+
var o = i;
|
|
1857
|
+
return H("winToProxyWindow").get(o) || new e({
|
|
1858
|
+
win: o,
|
|
1859
|
+
send: n
|
|
1815
1860
|
});
|
|
1816
1861
|
}, e;
|
|
1817
1862
|
}();
|
|
1818
|
-
function
|
|
1819
|
-
var
|
|
1820
|
-
|
|
1821
|
-
val:
|
|
1822
|
-
name:
|
|
1823
|
-
domain:
|
|
1863
|
+
function Me(e, t, i, r, n) {
|
|
1864
|
+
var o = H("methodStore"), s = M("proxyWindowMethods");
|
|
1865
|
+
_.isProxyWindow(r) ? s.set(e, {
|
|
1866
|
+
val: t,
|
|
1867
|
+
name: i,
|
|
1868
|
+
domain: n,
|
|
1824
1869
|
source: r
|
|
1825
|
-
}) : (
|
|
1870
|
+
}) : (s.del(e), o.getOrSet(r, function() {
|
|
1826
1871
|
return {};
|
|
1827
1872
|
})[e] = {
|
|
1828
|
-
domain:
|
|
1829
|
-
name:
|
|
1830
|
-
val:
|
|
1873
|
+
domain: n,
|
|
1874
|
+
name: i,
|
|
1875
|
+
val: t,
|
|
1831
1876
|
source: r
|
|
1832
1877
|
});
|
|
1833
1878
|
}
|
|
1834
|
-
function
|
|
1835
|
-
var
|
|
1836
|
-
return
|
|
1879
|
+
function Si(e, t) {
|
|
1880
|
+
var i = H("methodStore"), r = M("proxyWindowMethods");
|
|
1881
|
+
return i.getOrSet(e, function() {
|
|
1837
1882
|
return {};
|
|
1838
|
-
})[
|
|
1839
|
-
}
|
|
1840
|
-
function
|
|
1841
|
-
|
|
1842
|
-
on:
|
|
1843
|
-
send:
|
|
1844
|
-
}).on, l =
|
|
1845
|
-
return
|
|
1883
|
+
})[t] || r.get(t);
|
|
1884
|
+
}
|
|
1885
|
+
function ui(e, t, i, r, n) {
|
|
1886
|
+
s = (o = {
|
|
1887
|
+
on: n.on,
|
|
1888
|
+
send: n.send
|
|
1889
|
+
}).on, l = o.send, M("builtinListeners").getOrSet("functionCalls", function() {
|
|
1890
|
+
return s("postrobot_method", {
|
|
1846
1891
|
domain: "*"
|
|
1847
|
-
}, function(
|
|
1848
|
-
var
|
|
1849
|
-
if (!b) throw new Error("Could not find method '" +
|
|
1850
|
-
var
|
|
1851
|
-
return
|
|
1852
|
-
if (!
|
|
1853
|
-
if (
|
|
1892
|
+
}, function(P) {
|
|
1893
|
+
var u = P.source, C = P.origin, $ = P.data, w = $.id, y = $.name, b = Si(u, w);
|
|
1894
|
+
if (!b) throw new Error("Could not find method '" + y + "' with id: " + $.id + " in " + O(window));
|
|
1895
|
+
var k = b.source, N = b.domain, E = b.val;
|
|
1896
|
+
return R.try(function() {
|
|
1897
|
+
if (!fe(N, C)) throw new Error("Method '" + $.name + "' domain " + JSON.stringify(We(b.domain) ? b.domain.source : b.domain) + " does not match origin " + C + " in " + O(window));
|
|
1898
|
+
if (_.isProxyWindow(k)) return k.matchWindow(u, {
|
|
1854
1899
|
send: l
|
|
1855
|
-
}).then(function(
|
|
1856
|
-
if (!
|
|
1900
|
+
}).then(function(x) {
|
|
1901
|
+
if (!x) throw new Error("Method call '" + $.name + "' failed - proxy window does not match source in " + O(window));
|
|
1857
1902
|
});
|
|
1858
1903
|
}).then(function() {
|
|
1859
|
-
return
|
|
1860
|
-
source:
|
|
1861
|
-
origin:
|
|
1862
|
-
},
|
|
1863
|
-
}, function(
|
|
1864
|
-
return
|
|
1865
|
-
if (
|
|
1904
|
+
return E.apply({
|
|
1905
|
+
source: u,
|
|
1906
|
+
origin: C
|
|
1907
|
+
}, $.args);
|
|
1908
|
+
}, function(x) {
|
|
1909
|
+
return R.try(function() {
|
|
1910
|
+
if (E.onError) return E.onError(x);
|
|
1866
1911
|
}).then(function() {
|
|
1867
|
-
throw
|
|
1868
|
-
return
|
|
1869
|
-
return typeof
|
|
1912
|
+
throw x.stack && (x.stack = "Remote call to " + y + "(" + function(j) {
|
|
1913
|
+
return j === void 0 && (j = []), (I = j, [].slice.call(I)).map(function(D) {
|
|
1914
|
+
return typeof D == "string" ? "'" + D + "'" : D === void 0 ? "undefined" : D === null ? "null" : typeof D == "boolean" ? D.toString() : Array.isArray(D) ? "[ ... ]" : typeof D == "object" ? "{ ... }" : typeof D == "function" ? "() => { ... }" : "<" + typeof D + ">";
|
|
1870
1915
|
}).join(", ");
|
|
1871
|
-
var
|
|
1872
|
-
}(
|
|
1916
|
+
var I;
|
|
1917
|
+
}($.args) + `) failed
|
|
1873
1918
|
|
|
1874
|
-
` +
|
|
1919
|
+
` + x.stack), x;
|
|
1875
1920
|
});
|
|
1876
|
-
}).then(function(
|
|
1921
|
+
}).then(function(x) {
|
|
1877
1922
|
return {
|
|
1878
|
-
result:
|
|
1879
|
-
id:
|
|
1880
|
-
name:
|
|
1923
|
+
result: x,
|
|
1924
|
+
id: w,
|
|
1925
|
+
name: y
|
|
1881
1926
|
};
|
|
1882
1927
|
});
|
|
1883
1928
|
});
|
|
1884
1929
|
});
|
|
1885
|
-
var
|
|
1886
|
-
e =
|
|
1887
|
-
var
|
|
1888
|
-
return typeof
|
|
1889
|
-
|
|
1890
|
-
})) :
|
|
1891
|
-
id:
|
|
1892
|
-
name:
|
|
1930
|
+
var o, s, l, d = i.__id__ || Z();
|
|
1931
|
+
e = _.unwrap(e);
|
|
1932
|
+
var f = i.__name__ || i.name || r;
|
|
1933
|
+
return typeof f == "string" && typeof f.indexOf == "function" && f.indexOf("anonymous::") === 0 && (f = f.replace("anonymous::", r + "::")), _.isProxyWindow(e) ? (Me(d, i, f, e, t), e.awaitWindow().then(function(P) {
|
|
1934
|
+
Me(d, i, f, P, t);
|
|
1935
|
+
})) : Me(d, i, f, e, t), oe("cross_domain_function", {
|
|
1936
|
+
id: d,
|
|
1937
|
+
name: f
|
|
1893
1938
|
});
|
|
1894
1939
|
}
|
|
1895
|
-
function
|
|
1896
|
-
var
|
|
1897
|
-
return function(l,
|
|
1898
|
-
|
|
1899
|
-
var
|
|
1900
|
-
var
|
|
1901
|
-
if (Ne(this)) return
|
|
1902
|
-
var
|
|
1903
|
-
if (!
|
|
1904
|
-
var
|
|
1905
|
-
return
|
|
1940
|
+
function Ci(e, t, i, r) {
|
|
1941
|
+
var n, o = r.on, s = r.send;
|
|
1942
|
+
return function(l, d) {
|
|
1943
|
+
d === void 0 && (d = Qi);
|
|
1944
|
+
var f = JSON.stringify(l, function(P) {
|
|
1945
|
+
var u = this[P];
|
|
1946
|
+
if (Ne(this)) return u;
|
|
1947
|
+
var C = pi(u);
|
|
1948
|
+
if (!C) return u;
|
|
1949
|
+
var $ = d[C] || Zi[C];
|
|
1950
|
+
return $ ? $(u, P) : u;
|
|
1906
1951
|
});
|
|
1907
|
-
return
|
|
1908
|
-
}(
|
|
1909
|
-
return function(
|
|
1910
|
-
return
|
|
1911
|
-
then:
|
|
1912
|
-
return
|
|
1913
|
-
},
|
|
1914
|
-
on:
|
|
1915
|
-
send:
|
|
1952
|
+
return f === void 0 ? "undefined" : f;
|
|
1953
|
+
}(i, ((n = {}).promise = function(l, d) {
|
|
1954
|
+
return function(f, P, u, C, $) {
|
|
1955
|
+
return oe("cross_domain_zalgo_promise", {
|
|
1956
|
+
then: ui(f, P, function(w, y) {
|
|
1957
|
+
return u.then(w, y);
|
|
1958
|
+
}, C, {
|
|
1959
|
+
on: $.on,
|
|
1960
|
+
send: $.send
|
|
1916
1961
|
})
|
|
1917
1962
|
});
|
|
1918
|
-
}(e,
|
|
1919
|
-
on:
|
|
1920
|
-
send:
|
|
1963
|
+
}(e, t, l, d, {
|
|
1964
|
+
on: o,
|
|
1965
|
+
send: s
|
|
1921
1966
|
});
|
|
1922
|
-
},
|
|
1923
|
-
return
|
|
1924
|
-
on:
|
|
1925
|
-
send:
|
|
1967
|
+
}, n.function = function(l, d) {
|
|
1968
|
+
return ui(e, t, l, d, {
|
|
1969
|
+
on: o,
|
|
1970
|
+
send: s
|
|
1926
1971
|
});
|
|
1927
|
-
},
|
|
1928
|
-
return
|
|
1929
|
-
send:
|
|
1972
|
+
}, n.object = function(l) {
|
|
1973
|
+
return ve(l) || _.isProxyWindow(l) ? oe("cross_domain_window", _.serialize(l, {
|
|
1974
|
+
send: s
|
|
1930
1975
|
})) : l;
|
|
1931
|
-
},
|
|
1932
|
-
}
|
|
1933
|
-
function
|
|
1934
|
-
var
|
|
1935
|
-
return function(
|
|
1936
|
-
if (l === void 0 && (l =
|
|
1937
|
-
if (Ne(this)) return
|
|
1938
|
-
var
|
|
1939
|
-
if (Ne(
|
|
1940
|
-
var
|
|
1941
|
-
return
|
|
1976
|
+
}, n));
|
|
1977
|
+
}
|
|
1978
|
+
function hi(e, t, i, r) {
|
|
1979
|
+
var n, o = r.send;
|
|
1980
|
+
return function(s, l) {
|
|
1981
|
+
if (l === void 0 && (l = Ki), s !== "undefined") return JSON.parse(s, function(d, f) {
|
|
1982
|
+
if (Ne(this)) return f;
|
|
1983
|
+
var P, u;
|
|
1984
|
+
if (Ne(f) ? (P = f.__type__, u = f.__val__) : (P = pi(f), u = f), !P) return u;
|
|
1985
|
+
var C = l[P] || Xi[P];
|
|
1986
|
+
return C ? C(u, d) : u;
|
|
1942
1987
|
});
|
|
1943
|
-
}(
|
|
1944
|
-
return function(l,
|
|
1945
|
-
return new
|
|
1946
|
-
}(0, 0,
|
|
1947
|
-
},
|
|
1948
|
-
return function(l,
|
|
1949
|
-
var
|
|
1988
|
+
}(i, ((n = {}).cross_domain_zalgo_promise = function(s) {
|
|
1989
|
+
return function(l, d, f) {
|
|
1990
|
+
return new R(f.then);
|
|
1991
|
+
}(0, 0, s);
|
|
1992
|
+
}, n.cross_domain_function = function(s) {
|
|
1993
|
+
return function(l, d, f, P) {
|
|
1994
|
+
var u = f.id, C = f.name, $ = P.send, w = function(b) {
|
|
1950
1995
|
b === void 0 && (b = {});
|
|
1951
|
-
function
|
|
1952
|
-
var
|
|
1953
|
-
return
|
|
1954
|
-
send:
|
|
1955
|
-
}).awaitWindow().then(function(
|
|
1956
|
-
var
|
|
1957
|
-
if (
|
|
1996
|
+
function k() {
|
|
1997
|
+
var N = arguments;
|
|
1998
|
+
return _.toProxyWindow(l, {
|
|
1999
|
+
send: $
|
|
2000
|
+
}).awaitWindow().then(function(E) {
|
|
2001
|
+
var x = Si(E, u);
|
|
2002
|
+
if (x && x.val !== k) return x.val.apply({
|
|
1958
2003
|
source: window,
|
|
1959
|
-
origin:
|
|
1960
|
-
},
|
|
1961
|
-
var
|
|
1962
|
-
return b.fireAndForget ?
|
|
1963
|
-
id:
|
|
1964
|
-
name:
|
|
1965
|
-
args:
|
|
2004
|
+
origin: O()
|
|
2005
|
+
}, N);
|
|
2006
|
+
var j = [].slice.call(N);
|
|
2007
|
+
return b.fireAndForget ? $(E, "postrobot_method", {
|
|
2008
|
+
id: u,
|
|
2009
|
+
name: C,
|
|
2010
|
+
args: j
|
|
1966
2011
|
}, {
|
|
1967
|
-
domain:
|
|
2012
|
+
domain: d,
|
|
1968
2013
|
fireAndForget: !0
|
|
1969
|
-
}) :
|
|
1970
|
-
id:
|
|
1971
|
-
name:
|
|
1972
|
-
args:
|
|
2014
|
+
}) : $(E, "postrobot_method", {
|
|
2015
|
+
id: u,
|
|
2016
|
+
name: C,
|
|
2017
|
+
args: j
|
|
1973
2018
|
}, {
|
|
1974
|
-
domain:
|
|
2019
|
+
domain: d,
|
|
1975
2020
|
fireAndForget: !1
|
|
1976
|
-
}).then(function(
|
|
1977
|
-
return
|
|
2021
|
+
}).then(function(I) {
|
|
2022
|
+
return I.data.result;
|
|
1978
2023
|
});
|
|
1979
|
-
}).catch(function(
|
|
1980
|
-
throw
|
|
2024
|
+
}).catch(function(E) {
|
|
2025
|
+
throw E;
|
|
1981
2026
|
});
|
|
1982
2027
|
}
|
|
1983
|
-
return
|
|
1984
|
-
},
|
|
1985
|
-
return
|
|
2028
|
+
return k.__name__ = C, k.__origin__ = d, k.__source__ = l, k.__id__ = u, k.origin = d, k;
|
|
2029
|
+
}, y = w();
|
|
2030
|
+
return y.fireAndForget = w({
|
|
1986
2031
|
fireAndForget: !0
|
|
1987
|
-
}),
|
|
1988
|
-
}(e,
|
|
1989
|
-
send:
|
|
2032
|
+
}), y;
|
|
2033
|
+
}(e, t, s, {
|
|
2034
|
+
send: o
|
|
1990
2035
|
});
|
|
1991
|
-
},
|
|
1992
|
-
return
|
|
1993
|
-
send:
|
|
2036
|
+
}, n.cross_domain_window = function(s) {
|
|
2037
|
+
return _.deserialize(s, {
|
|
2038
|
+
send: o
|
|
1994
2039
|
});
|
|
1995
|
-
},
|
|
2040
|
+
}, n));
|
|
1996
2041
|
}
|
|
1997
|
-
var
|
|
1998
|
-
|
|
1999
|
-
|
|
2042
|
+
var je = {};
|
|
2043
|
+
je.postrobot_post_message = function(e, t, i) {
|
|
2044
|
+
i.indexOf("file:") === 0 && (i = "*"), e.postMessage(t, i);
|
|
2000
2045
|
};
|
|
2001
|
-
function ze(e,
|
|
2002
|
-
var
|
|
2003
|
-
return
|
|
2004
|
-
var
|
|
2046
|
+
function ze(e, t, i, r) {
|
|
2047
|
+
var n = r.on, o = r.send;
|
|
2048
|
+
return R.try(function() {
|
|
2049
|
+
var s = H().getOrSet(e, function() {
|
|
2005
2050
|
return {};
|
|
2006
2051
|
});
|
|
2007
|
-
return
|
|
2052
|
+
return s.buffer = s.buffer || [], s.buffer.push(i), s.flush = s.flush || R.flush().then(function() {
|
|
2008
2053
|
if (G(e)) throw new Error("Window is closed");
|
|
2009
|
-
var l =
|
|
2010
|
-
on:
|
|
2011
|
-
send:
|
|
2012
|
-
}),
|
|
2013
|
-
delete
|
|
2014
|
-
for (var
|
|
2015
|
-
var
|
|
2054
|
+
var l = Ci(e, t, ((d = {}).__post_robot_10_0_46__ = s.buffer || [], d), {
|
|
2055
|
+
on: n,
|
|
2056
|
+
send: o
|
|
2057
|
+
}), d;
|
|
2058
|
+
delete s.buffer;
|
|
2059
|
+
for (var f = Object.keys(je), P = [], u = 0; u < f.length; u++) {
|
|
2060
|
+
var C = f[u];
|
|
2016
2061
|
try {
|
|
2017
|
-
|
|
2018
|
-
} catch (
|
|
2019
|
-
|
|
2062
|
+
je[C](e, l, t);
|
|
2063
|
+
} catch ($) {
|
|
2064
|
+
P.push($);
|
|
2020
2065
|
}
|
|
2021
2066
|
}
|
|
2022
|
-
if (
|
|
2067
|
+
if (P.length === f.length) throw new Error(`All post-robot messaging strategies failed:
|
|
2023
2068
|
|
|
2024
|
-
` +
|
|
2025
|
-
return
|
|
2069
|
+
` + P.map(function($, w) {
|
|
2070
|
+
return w + ". " + Ce($);
|
|
2026
2071
|
}).join(`
|
|
2027
2072
|
|
|
2028
2073
|
`));
|
|
2029
|
-
}),
|
|
2030
|
-
delete
|
|
2074
|
+
}), s.flush.then(function() {
|
|
2075
|
+
delete s.flush;
|
|
2031
2076
|
});
|
|
2032
|
-
}).then(
|
|
2077
|
+
}).then(ne);
|
|
2033
2078
|
}
|
|
2034
|
-
function
|
|
2035
|
-
return
|
|
2079
|
+
function Pi(e) {
|
|
2080
|
+
return M("responseListeners").get(e);
|
|
2036
2081
|
}
|
|
2037
|
-
function
|
|
2038
|
-
|
|
2082
|
+
function $i(e) {
|
|
2083
|
+
M("responseListeners").del(e);
|
|
2039
2084
|
}
|
|
2040
|
-
function
|
|
2041
|
-
return
|
|
2085
|
+
function gi(e) {
|
|
2086
|
+
return M("erroredResponseListeners").has(e);
|
|
2042
2087
|
}
|
|
2043
|
-
function
|
|
2044
|
-
var
|
|
2045
|
-
if (
|
|
2046
|
-
for (var
|
|
2047
|
-
var l =
|
|
2088
|
+
function mi(e) {
|
|
2089
|
+
var t = e.name, i = e.win, r = e.domain, n = H("requestListeners");
|
|
2090
|
+
if (i === "*" && (i = null), r === "*" && (r = null), !t) throw new Error("Name required to get request listener");
|
|
2091
|
+
for (var o = 0, s = [i, Ie()]; o < s.length; o++) {
|
|
2092
|
+
var l = s[o];
|
|
2048
2093
|
if (l) {
|
|
2049
|
-
var
|
|
2050
|
-
if (
|
|
2051
|
-
var
|
|
2052
|
-
if (
|
|
2094
|
+
var d = n.get(l);
|
|
2095
|
+
if (d) {
|
|
2096
|
+
var f = d[t];
|
|
2097
|
+
if (f) {
|
|
2053
2098
|
if (r && typeof r == "string") {
|
|
2054
|
-
if (
|
|
2055
|
-
if (
|
|
2056
|
-
var
|
|
2057
|
-
if (
|
|
2099
|
+
if (f[r]) return f[r];
|
|
2100
|
+
if (f.__domain_regex__) for (var P = 0, u = f.__domain_regex__; P < u.length; P++) {
|
|
2101
|
+
var C = u[P], $ = C.listener;
|
|
2102
|
+
if (fe(C.regex, r)) return $;
|
|
2058
2103
|
}
|
|
2059
2104
|
}
|
|
2060
|
-
if (
|
|
2105
|
+
if (f["*"]) return f["*"];
|
|
2061
2106
|
}
|
|
2062
2107
|
}
|
|
2063
2108
|
}
|
|
2064
2109
|
}
|
|
2065
2110
|
}
|
|
2066
|
-
function
|
|
2067
|
-
var
|
|
2068
|
-
name:
|
|
2111
|
+
function et(e, t, i, r) {
|
|
2112
|
+
var n = r.on, o = r.send, s = mi({
|
|
2113
|
+
name: i.name,
|
|
2069
2114
|
win: e,
|
|
2070
|
-
domain:
|
|
2071
|
-
}), l =
|
|
2072
|
-
function
|
|
2073
|
-
return
|
|
2074
|
-
if (!
|
|
2075
|
-
return ze(e,
|
|
2076
|
-
id:
|
|
2077
|
-
origin:
|
|
2115
|
+
domain: t
|
|
2116
|
+
}), l = i.name === "postrobot_method" && i.data && typeof i.data.name == "string" ? i.data.name + "()" : i.name;
|
|
2117
|
+
function d(f, P, u) {
|
|
2118
|
+
return R.flush().then(function() {
|
|
2119
|
+
if (!i.fireAndForget && !G(e)) try {
|
|
2120
|
+
return ze(e, t, {
|
|
2121
|
+
id: Z(),
|
|
2122
|
+
origin: O(window),
|
|
2078
2123
|
type: "postrobot_message_response",
|
|
2079
|
-
hash:
|
|
2080
|
-
name:
|
|
2081
|
-
ack:
|
|
2082
|
-
data:
|
|
2083
|
-
error:
|
|
2124
|
+
hash: i.hash,
|
|
2125
|
+
name: i.name,
|
|
2126
|
+
ack: f,
|
|
2127
|
+
data: P,
|
|
2128
|
+
error: u
|
|
2084
2129
|
}, {
|
|
2085
|
-
on:
|
|
2086
|
-
send:
|
|
2130
|
+
on: n,
|
|
2131
|
+
send: o
|
|
2087
2132
|
});
|
|
2088
|
-
} catch (
|
|
2089
|
-
throw new Error("Send response message failed for " + l + " in " +
|
|
2133
|
+
} catch (C) {
|
|
2134
|
+
throw new Error("Send response message failed for " + l + " in " + O() + `
|
|
2090
2135
|
|
|
2091
|
-
` +
|
|
2136
|
+
` + Ce(C));
|
|
2092
2137
|
}
|
|
2093
2138
|
});
|
|
2094
2139
|
}
|
|
2095
|
-
return
|
|
2096
|
-
if (!
|
|
2097
|
-
return ze(e,
|
|
2098
|
-
id:
|
|
2099
|
-
origin:
|
|
2140
|
+
return R.all([R.flush().then(function() {
|
|
2141
|
+
if (!i.fireAndForget && !G(e)) try {
|
|
2142
|
+
return ze(e, t, {
|
|
2143
|
+
id: Z(),
|
|
2144
|
+
origin: O(window),
|
|
2100
2145
|
type: "postrobot_message_ack",
|
|
2101
|
-
hash:
|
|
2102
|
-
name:
|
|
2146
|
+
hash: i.hash,
|
|
2147
|
+
name: i.name
|
|
2103
2148
|
}, {
|
|
2104
|
-
on:
|
|
2105
|
-
send:
|
|
2149
|
+
on: n,
|
|
2150
|
+
send: o
|
|
2106
2151
|
});
|
|
2107
|
-
} catch (
|
|
2108
|
-
throw new Error("Send ack message failed for " + l + " in " +
|
|
2152
|
+
} catch (f) {
|
|
2153
|
+
throw new Error("Send ack message failed for " + l + " in " + O() + `
|
|
2109
2154
|
|
|
2110
|
-
` +
|
|
2155
|
+
` + Ce(f));
|
|
2111
2156
|
}
|
|
2112
|
-
}),
|
|
2113
|
-
if (!
|
|
2114
|
-
return
|
|
2157
|
+
}), R.try(function() {
|
|
2158
|
+
if (!s) throw new Error("No handler found for post message: " + i.name + " from " + t + " in " + window.location.protocol + "//" + window.location.host + window.location.pathname);
|
|
2159
|
+
return s.handler({
|
|
2115
2160
|
source: e,
|
|
2116
|
-
origin:
|
|
2117
|
-
data:
|
|
2161
|
+
origin: t,
|
|
2162
|
+
data: i.data
|
|
2118
2163
|
});
|
|
2119
|
-
}).then(function(
|
|
2120
|
-
return
|
|
2121
|
-
}, function(
|
|
2122
|
-
return
|
|
2123
|
-
})]).then(
|
|
2124
|
-
if (
|
|
2125
|
-
throw
|
|
2164
|
+
}).then(function(f) {
|
|
2165
|
+
return d("success", f);
|
|
2166
|
+
}, function(f) {
|
|
2167
|
+
return d("error", null, f);
|
|
2168
|
+
})]).then(ne).catch(function(f) {
|
|
2169
|
+
if (s && s.handleError) return s.handleError(f);
|
|
2170
|
+
throw f;
|
|
2126
2171
|
});
|
|
2127
2172
|
}
|
|
2128
|
-
function
|
|
2129
|
-
if (!
|
|
2130
|
-
var r =
|
|
2131
|
-
if (!r) throw new Error("No handler found for post message ack for message: " +
|
|
2173
|
+
function it(e, t, i) {
|
|
2174
|
+
if (!gi(i.hash)) {
|
|
2175
|
+
var r = Pi(i.hash);
|
|
2176
|
+
if (!r) throw new Error("No handler found for post message ack for message: " + i.name + " from " + t + " in " + window.location.protocol + "//" + window.location.host + window.location.pathname);
|
|
2132
2177
|
try {
|
|
2133
|
-
if (!
|
|
2178
|
+
if (!fe(r.domain, t)) throw new Error("Ack origin " + t + " does not match domain " + r.domain.toString());
|
|
2134
2179
|
if (e !== r.win) throw new Error("Ack source does not match registered window");
|
|
2135
|
-
} catch (
|
|
2136
|
-
r.promise.reject(
|
|
2180
|
+
} catch (n) {
|
|
2181
|
+
r.promise.reject(n);
|
|
2137
2182
|
}
|
|
2138
2183
|
r.ack = !0;
|
|
2139
2184
|
}
|
|
2140
2185
|
}
|
|
2141
|
-
function
|
|
2142
|
-
if (!
|
|
2143
|
-
var r =
|
|
2144
|
-
if (!r) throw new Error("No handler found for post message response for message: " +
|
|
2145
|
-
if (!
|
|
2146
|
-
var
|
|
2186
|
+
function tt(e, t, i) {
|
|
2187
|
+
if (!gi(i.hash)) {
|
|
2188
|
+
var r = Pi(i.hash);
|
|
2189
|
+
if (!r) throw new Error("No handler found for post message response for message: " + i.name + " from " + t + " in " + window.location.protocol + "//" + window.location.host + window.location.pathname);
|
|
2190
|
+
if (!fe(r.domain, t)) throw new Error("Response origin " + t + " does not match domain " + (n = r.domain, Array.isArray(n) ? "(" + n.join(" | ") + ")" : g(n) ? "RegExp(" + n.toString() + ")" : n.toString()));
|
|
2191
|
+
var n;
|
|
2147
2192
|
if (e !== r.win) throw new Error("Response source does not match registered window");
|
|
2148
|
-
|
|
2193
|
+
$i(i.hash), i.ack === "error" ? r.promise.reject(i.error) : i.ack === "success" && r.promise.resolve({
|
|
2149
2194
|
source: e,
|
|
2150
|
-
origin:
|
|
2151
|
-
data:
|
|
2195
|
+
origin: t,
|
|
2196
|
+
data: i.data
|
|
2152
2197
|
});
|
|
2153
2198
|
}
|
|
2154
2199
|
}
|
|
2155
|
-
function
|
|
2156
|
-
var
|
|
2200
|
+
function vi(e, t) {
|
|
2201
|
+
var i = t.on, r = t.send, n = M("receivedMessages");
|
|
2157
2202
|
try {
|
|
2158
2203
|
if (!window || window.closed || !e.source) return;
|
|
2159
|
-
} catch (
|
|
2204
|
+
} catch (P) {
|
|
2160
2205
|
return;
|
|
2161
2206
|
}
|
|
2162
|
-
var
|
|
2163
|
-
var
|
|
2207
|
+
var o = e.source, s = e.origin, l = function(P, u, C, $) {
|
|
2208
|
+
var w = $.on, y = $.send, b;
|
|
2164
2209
|
try {
|
|
2165
|
-
b =
|
|
2166
|
-
on:
|
|
2167
|
-
send:
|
|
2210
|
+
b = hi(u, C, P, {
|
|
2211
|
+
on: w,
|
|
2212
|
+
send: y
|
|
2168
2213
|
});
|
|
2169
|
-
} catch (
|
|
2214
|
+
} catch (N) {
|
|
2170
2215
|
return;
|
|
2171
2216
|
}
|
|
2172
2217
|
if (b && typeof b == "object" && b !== null) {
|
|
2173
|
-
var
|
|
2174
|
-
if (Array.isArray(
|
|
2218
|
+
var k = b.__post_robot_10_0_46__;
|
|
2219
|
+
if (Array.isArray(k)) return k;
|
|
2175
2220
|
}
|
|
2176
|
-
}(e.data,
|
|
2177
|
-
on:
|
|
2221
|
+
}(e.data, o, s, {
|
|
2222
|
+
on: i,
|
|
2178
2223
|
send: r
|
|
2179
2224
|
});
|
|
2180
2225
|
if (l) {
|
|
2181
|
-
|
|
2182
|
-
for (var
|
|
2183
|
-
var
|
|
2184
|
-
if (
|
|
2185
|
-
|
|
2226
|
+
ci(o);
|
|
2227
|
+
for (var d = 0; d < l.length; d++) {
|
|
2228
|
+
var f = l[d];
|
|
2229
|
+
if (n.has(f.id) || (n.set(f.id, !0), G(o) && !f.fireAndForget)) return;
|
|
2230
|
+
f.origin.indexOf("file:") === 0 && (s = "file://");
|
|
2186
2231
|
try {
|
|
2187
|
-
|
|
2188
|
-
on:
|
|
2232
|
+
f.type === "postrobot_message_request" ? et(o, s, f, {
|
|
2233
|
+
on: i,
|
|
2189
2234
|
send: r
|
|
2190
|
-
}) :
|
|
2191
|
-
} catch (
|
|
2235
|
+
}) : f.type === "postrobot_message_response" ? tt(o, s, f) : f.type === "postrobot_message_ack" && it(o, s, f);
|
|
2236
|
+
} catch (P) {
|
|
2192
2237
|
setTimeout(function() {
|
|
2193
|
-
throw
|
|
2238
|
+
throw P;
|
|
2194
2239
|
}, 0);
|
|
2195
2240
|
}
|
|
2196
2241
|
}
|
|
2197
2242
|
}
|
|
2198
2243
|
}
|
|
2199
|
-
function
|
|
2244
|
+
function se(e, t, i) {
|
|
2200
2245
|
if (!e) throw new Error("Expected name");
|
|
2201
|
-
if (typeof (
|
|
2202
|
-
var r = function o
|
|
2203
|
-
var l =
|
|
2246
|
+
if (typeof (t = t || {}) == "function" && (i = t, t = {}), !i) throw new Error("Expected handler");
|
|
2247
|
+
var r = function n(o, s) {
|
|
2248
|
+
var l = o.name, d = o.win, f = o.domain, P = H("requestListeners");
|
|
2204
2249
|
if (!l || typeof l != "string") throw new Error("Name required to add request listener");
|
|
2205
|
-
if (
|
|
2206
|
-
var
|
|
2207
|
-
return
|
|
2250
|
+
if (d && d !== "*" && _.isProxyWindow(d)) {
|
|
2251
|
+
var u = d.awaitWindow().then(function(W) {
|
|
2252
|
+
return n({
|
|
2208
2253
|
name: l,
|
|
2209
|
-
win:
|
|
2210
|
-
domain:
|
|
2211
|
-
},
|
|
2254
|
+
win: W,
|
|
2255
|
+
domain: f
|
|
2256
|
+
}, s);
|
|
2212
2257
|
});
|
|
2213
2258
|
return {
|
|
2214
2259
|
cancel: function() {
|
|
2215
|
-
|
|
2216
|
-
return
|
|
2217
|
-
},
|
|
2260
|
+
u.then(function(W) {
|
|
2261
|
+
return W.cancel();
|
|
2262
|
+
}, ne);
|
|
2218
2263
|
}
|
|
2219
2264
|
};
|
|
2220
2265
|
}
|
|
2221
|
-
var
|
|
2222
|
-
if (Array.isArray(
|
|
2223
|
-
for (var
|
|
2266
|
+
var C = d;
|
|
2267
|
+
if (Array.isArray(C)) {
|
|
2268
|
+
for (var $ = [], w = 0, y = C; w < y.length; w++) $.push(n({
|
|
2224
2269
|
name: l,
|
|
2225
|
-
domain:
|
|
2226
|
-
win:
|
|
2227
|
-
},
|
|
2270
|
+
domain: f,
|
|
2271
|
+
win: y[w]
|
|
2272
|
+
}, s));
|
|
2228
2273
|
return {
|
|
2229
2274
|
cancel: function() {
|
|
2230
|
-
for (var
|
|
2275
|
+
for (var W = 0; W < $.length; W++) $[W].cancel();
|
|
2231
2276
|
}
|
|
2232
2277
|
};
|
|
2233
2278
|
}
|
|
2234
|
-
if (Array.isArray(
|
|
2235
|
-
for (var b = [],
|
|
2279
|
+
if (Array.isArray(f)) {
|
|
2280
|
+
for (var b = [], k = 0, N = f; k < N.length; k++) b.push(n({
|
|
2236
2281
|
name: l,
|
|
2237
|
-
win:
|
|
2238
|
-
domain:
|
|
2239
|
-
},
|
|
2282
|
+
win: C,
|
|
2283
|
+
domain: N[k]
|
|
2284
|
+
}, s));
|
|
2240
2285
|
return {
|
|
2241
2286
|
cancel: function() {
|
|
2242
|
-
for (var
|
|
2287
|
+
for (var W = 0; W < b.length; W++) b[W].cancel();
|
|
2243
2288
|
}
|
|
2244
2289
|
};
|
|
2245
2290
|
}
|
|
2246
|
-
var
|
|
2291
|
+
var E = mi({
|
|
2247
2292
|
name: l,
|
|
2248
|
-
win:
|
|
2249
|
-
domain:
|
|
2293
|
+
win: C,
|
|
2294
|
+
domain: f
|
|
2250
2295
|
});
|
|
2251
|
-
|
|
2252
|
-
var
|
|
2253
|
-
if (
|
|
2254
|
-
var
|
|
2296
|
+
C && C !== "*" || (C = Ie());
|
|
2297
|
+
var x = (f = f || "*").toString();
|
|
2298
|
+
if (E) throw C && f ? new Error("Request listener already exists for " + l + " on domain " + f.toString() + " for " + (C === Ie() ? "wildcard" : "specified") + " window") : C ? new Error("Request listener already exists for " + l + " for " + (C === Ie() ? "wildcard" : "specified") + " window") : f ? new Error("Request listener already exists for " + l + " on domain " + f.toString()) : new Error("Request listener already exists for " + l);
|
|
2299
|
+
var j = P.getOrSet(C, function() {
|
|
2255
2300
|
return {};
|
|
2256
|
-
}),
|
|
2301
|
+
}), I = he(j, l, function() {
|
|
2257
2302
|
return {};
|
|
2258
|
-
}),
|
|
2259
|
-
return
|
|
2303
|
+
}), D, V;
|
|
2304
|
+
return We(f) ? (D = he(I, "__domain_regex__", function() {
|
|
2260
2305
|
return [];
|
|
2261
2306
|
})).push(V = {
|
|
2262
|
-
regex:
|
|
2263
|
-
listener:
|
|
2264
|
-
}) :
|
|
2307
|
+
regex: f,
|
|
2308
|
+
listener: s
|
|
2309
|
+
}) : I[x] = s, {
|
|
2265
2310
|
cancel: function() {
|
|
2266
|
-
delete
|
|
2311
|
+
delete I[x], V && (D.splice(D.indexOf(V, 1)), D.length || delete I.__domain_regex__), Object.keys(I).length || delete j[l], C && !Object.keys(j).length && P.del(C);
|
|
2267
2312
|
}
|
|
2268
2313
|
};
|
|
2269
2314
|
}({
|
|
2270
2315
|
name: e,
|
|
2271
|
-
win:
|
|
2272
|
-
domain:
|
|
2316
|
+
win: t.window,
|
|
2317
|
+
domain: t.domain || "*"
|
|
2273
2318
|
}, {
|
|
2274
|
-
handler:
|
|
2275
|
-
handleError:
|
|
2276
|
-
throw
|
|
2319
|
+
handler: i || t.handler,
|
|
2320
|
+
handleError: t.errorHandler || function(n) {
|
|
2321
|
+
throw n;
|
|
2277
2322
|
}
|
|
2278
2323
|
});
|
|
2279
2324
|
return {
|
|
@@ -2282,119 +2327,119 @@ function tr() {
|
|
|
2282
2327
|
}
|
|
2283
2328
|
};
|
|
2284
2329
|
}
|
|
2285
|
-
function
|
|
2286
|
-
typeof (
|
|
2287
|
-
var r = new
|
|
2288
|
-
return
|
|
2289
|
-
|
|
2290
|
-
},
|
|
2291
|
-
if (
|
|
2292
|
-
}), r.cancel =
|
|
2293
|
-
}
|
|
2294
|
-
var
|
|
2295
|
-
var
|
|
2296
|
-
return
|
|
2330
|
+
function rt(e, t, i) {
|
|
2331
|
+
typeof (t = t || {}) == "function" && (i = t, t = {});
|
|
2332
|
+
var r = new R(), n;
|
|
2333
|
+
return t.errorHandler = function(o) {
|
|
2334
|
+
n.cancel(), r.reject(o);
|
|
2335
|
+
}, n = se(e, t, function(o) {
|
|
2336
|
+
if (n.cancel(), r.resolve(o), i) return i(o);
|
|
2337
|
+
}), r.cancel = n.cancel, r;
|
|
2338
|
+
}
|
|
2339
|
+
var X = function e(t, i, r, n) {
|
|
2340
|
+
var o = (n = n || {}).domain || "*", s = n.timeout || -1, l = n.timeout || 5e3, d = n.fireAndForget || !1;
|
|
2341
|
+
return _.toProxyWindow(t, {
|
|
2297
2342
|
send: e
|
|
2298
|
-
}).awaitWindow().then(function(
|
|
2299
|
-
return
|
|
2300
|
-
if (function(
|
|
2301
|
-
if (!
|
|
2302
|
-
if (typeof
|
|
2303
|
-
if (G(
|
|
2304
|
-
}(
|
|
2305
|
-
var
|
|
2306
|
-
if (
|
|
2307
|
-
if (
|
|
2308
|
-
|
|
2343
|
+
}).awaitWindow().then(function(f) {
|
|
2344
|
+
return R.try(function() {
|
|
2345
|
+
if (function(P, u, C) {
|
|
2346
|
+
if (!P) throw new Error("Expected name");
|
|
2347
|
+
if (typeof C != "string" && !Array.isArray(C) && !We(C)) throw new TypeError("Can not send " + P + ". Expected domain " + JSON.stringify(C) + " to be a string, array, or regex");
|
|
2348
|
+
if (G(u)) throw new Error("Can not send " + P + ". Target window is closed");
|
|
2349
|
+
}(i, f, o), function(P, u) {
|
|
2350
|
+
var C = Je(u);
|
|
2351
|
+
if (C) return C === P;
|
|
2352
|
+
if (u === P || function(y) {
|
|
2353
|
+
y === void 0 && (y = window);
|
|
2309
2354
|
try {
|
|
2310
|
-
if (
|
|
2311
|
-
} catch (
|
|
2355
|
+
if (y.top) return y.top;
|
|
2356
|
+
} catch (E) {
|
|
2312
2357
|
}
|
|
2313
|
-
if (
|
|
2358
|
+
if (B(y) === y) return y;
|
|
2314
2359
|
try {
|
|
2315
|
-
if (
|
|
2316
|
-
} catch (
|
|
2360
|
+
if (te(window, y) && window.top) return window.top;
|
|
2361
|
+
} catch (E) {
|
|
2317
2362
|
}
|
|
2318
2363
|
try {
|
|
2319
|
-
if (
|
|
2320
|
-
} catch (
|
|
2364
|
+
if (te(y, window) && window.top) return window.top;
|
|
2365
|
+
} catch (E) {
|
|
2321
2366
|
}
|
|
2322
|
-
for (var b = 0,
|
|
2323
|
-
for (var
|
|
2324
|
-
var V =
|
|
2325
|
-
|
|
2326
|
-
for (var
|
|
2367
|
+
for (var b = 0, k = function E(x) {
|
|
2368
|
+
for (var j = [], I = 0, D = de(x); I < D.length; I++) {
|
|
2369
|
+
var V = D[I];
|
|
2370
|
+
j.push(V);
|
|
2371
|
+
for (var W = 0, $e = E(V); W < $e.length; W++) j.push($e[W]);
|
|
2327
2372
|
}
|
|
2328
|
-
return
|
|
2329
|
-
}(
|
|
2330
|
-
var
|
|
2373
|
+
return j;
|
|
2374
|
+
}(y); b < k.length; b++) {
|
|
2375
|
+
var N = k[b];
|
|
2331
2376
|
try {
|
|
2332
|
-
if (
|
|
2333
|
-
} catch (
|
|
2377
|
+
if (N.top) return N.top;
|
|
2378
|
+
} catch (E) {
|
|
2334
2379
|
}
|
|
2335
|
-
if (
|
|
2380
|
+
if (B(N) === N) return N;
|
|
2336
2381
|
}
|
|
2337
|
-
}(
|
|
2338
|
-
for (var
|
|
2382
|
+
}(u) === u) return !1;
|
|
2383
|
+
for (var $ = 0, w = de(P); $ < w.length; $++) if (w[$] === u) return !0;
|
|
2339
2384
|
return !1;
|
|
2340
|
-
}(window,
|
|
2341
|
-
|
|
2342
|
-
var
|
|
2343
|
-
return H("helloPromises").getOrSet(
|
|
2344
|
-
return new
|
|
2385
|
+
}(window, f)) return function(P, u, C) {
|
|
2386
|
+
u === void 0 && (u = 5e3), C === void 0 && (C = "Window");
|
|
2387
|
+
var $ = function(w) {
|
|
2388
|
+
return H("helloPromises").getOrSet(w, function() {
|
|
2389
|
+
return new R();
|
|
2345
2390
|
});
|
|
2346
|
-
}(
|
|
2347
|
-
return
|
|
2348
|
-
}(
|
|
2349
|
-
}).then(function(
|
|
2350
|
-
return function(
|
|
2351
|
-
var
|
|
2352
|
-
return
|
|
2353
|
-
return typeof
|
|
2354
|
-
return
|
|
2355
|
-
send:
|
|
2391
|
+
}(P);
|
|
2392
|
+
return u !== -1 && ($ = $.timeout(u, new Error(C + " did not load after " + u + "ms"))), $;
|
|
2393
|
+
}(f, l);
|
|
2394
|
+
}).then(function(P) {
|
|
2395
|
+
return function(u, C, $, w) {
|
|
2396
|
+
var y = w.send;
|
|
2397
|
+
return R.try(function() {
|
|
2398
|
+
return typeof C == "string" ? C : R.try(function() {
|
|
2399
|
+
return $ || Oe(u, {
|
|
2400
|
+
send: y
|
|
2356
2401
|
}).then(function(b) {
|
|
2357
2402
|
return b.domain;
|
|
2358
2403
|
});
|
|
2359
2404
|
}).then(function(b) {
|
|
2360
|
-
if (!
|
|
2405
|
+
if (!fe(C, C)) throw new Error("Domain " + ti(C) + " does not match " + ti(C));
|
|
2361
2406
|
return b;
|
|
2362
2407
|
});
|
|
2363
2408
|
});
|
|
2364
|
-
}(
|
|
2409
|
+
}(f, o, (P === void 0 ? {} : P).domain, {
|
|
2365
2410
|
send: e
|
|
2366
2411
|
});
|
|
2367
|
-
}).then(function(
|
|
2368
|
-
var
|
|
2369
|
-
if (!
|
|
2370
|
-
var
|
|
2371
|
-
name:
|
|
2372
|
-
win:
|
|
2373
|
-
domain:
|
|
2374
|
-
promise:
|
|
2412
|
+
}).then(function(P) {
|
|
2413
|
+
var u = P, C = i === "postrobot_method" && r && typeof r.name == "string" ? r.name + "()" : i, $ = new R(), w = i + "_" + Z();
|
|
2414
|
+
if (!d) {
|
|
2415
|
+
var y = {
|
|
2416
|
+
name: i,
|
|
2417
|
+
win: f,
|
|
2418
|
+
domain: u,
|
|
2419
|
+
promise: $
|
|
2375
2420
|
};
|
|
2376
|
-
(function(
|
|
2377
|
-
|
|
2378
|
-
})(
|
|
2379
|
-
var b = H("requestPromises").getOrSet(
|
|
2421
|
+
(function(I, D) {
|
|
2422
|
+
M("responseListeners").set(I, D);
|
|
2423
|
+
})(w, y);
|
|
2424
|
+
var b = H("requestPromises").getOrSet(f, function() {
|
|
2380
2425
|
return [];
|
|
2381
2426
|
});
|
|
2382
|
-
b.push(
|
|
2383
|
-
(function(
|
|
2384
|
-
|
|
2385
|
-
})(
|
|
2427
|
+
b.push($), $.catch(function() {
|
|
2428
|
+
(function(I) {
|
|
2429
|
+
M("erroredResponseListeners").set(I, !0);
|
|
2430
|
+
})(w), $i(w);
|
|
2386
2431
|
});
|
|
2387
|
-
var
|
|
2388
|
-
return H("knownWindows").get(
|
|
2389
|
-
}(
|
|
2432
|
+
var k = function(I) {
|
|
2433
|
+
return H("knownWindows").get(I, !1);
|
|
2434
|
+
}(f) ? 1e4 : 2e3, N = s, E = k, x = N, j = function(I, D) {
|
|
2390
2435
|
var V;
|
|
2391
|
-
return function
|
|
2436
|
+
return function W() {
|
|
2392
2437
|
V = setTimeout(function() {
|
|
2393
2438
|
(function() {
|
|
2394
|
-
if (G(
|
|
2395
|
-
if (
|
|
2396
|
-
|
|
2397
|
-
})(),
|
|
2439
|
+
if (G(f)) return $.reject(new Error("Window closed for " + i + " before " + (y.ack ? "response" : "ack")));
|
|
2440
|
+
if (y.cancelled) return $.reject(new Error("Response listener was cancelled for " + i));
|
|
2441
|
+
E = Math.max(E - 500, 0), x !== -1 && (x = Math.max(x - 500, 0)), y.ack || E !== 0 ? x === 0 && $.reject(new Error("No response for postMessage " + C + " in " + O() + " in " + N + "ms")) : $.reject(new Error("No ack for postMessage " + C + " in " + O() + " in " + k + "ms"));
|
|
2442
|
+
})(), W();
|
|
2398
2443
|
}, 500);
|
|
2399
2444
|
}(), {
|
|
2400
2445
|
cancel: function() {
|
|
@@ -2402,155 +2447,157 @@ function tr() {
|
|
|
2402
2447
|
}
|
|
2403
2448
|
};
|
|
2404
2449
|
}();
|
|
2405
|
-
|
|
2406
|
-
|
|
2407
|
-
}).catch(
|
|
2450
|
+
$.finally(function() {
|
|
2451
|
+
j.cancel(), b.splice(b.indexOf($, 1));
|
|
2452
|
+
}).catch(ne);
|
|
2408
2453
|
}
|
|
2409
|
-
return ze(
|
|
2410
|
-
id:
|
|
2411
|
-
origin:
|
|
2454
|
+
return ze(f, u, {
|
|
2455
|
+
id: Z(),
|
|
2456
|
+
origin: O(window),
|
|
2412
2457
|
type: "postrobot_message_request",
|
|
2413
|
-
hash:
|
|
2414
|
-
name:
|
|
2458
|
+
hash: w,
|
|
2459
|
+
name: i,
|
|
2415
2460
|
data: r,
|
|
2416
|
-
fireAndForget:
|
|
2461
|
+
fireAndForget: d
|
|
2417
2462
|
}, {
|
|
2418
|
-
on:
|
|
2463
|
+
on: se,
|
|
2419
2464
|
send: e
|
|
2420
2465
|
}).then(function() {
|
|
2421
|
-
return
|
|
2422
|
-
}, function(
|
|
2423
|
-
throw new Error("Send request message failed for " +
|
|
2466
|
+
return d ? $.resolve() : $;
|
|
2467
|
+
}, function(I) {
|
|
2468
|
+
throw new Error("Send request message failed for " + C + " in " + O() + `
|
|
2424
2469
|
|
|
2425
|
-
` +
|
|
2470
|
+
` + Ce(I));
|
|
2426
2471
|
});
|
|
2427
2472
|
});
|
|
2428
2473
|
});
|
|
2429
2474
|
};
|
|
2430
|
-
function
|
|
2431
|
-
return
|
|
2432
|
-
on:
|
|
2433
|
-
send:
|
|
2475
|
+
function nt(e, t, i) {
|
|
2476
|
+
return Ci(e, t, i, {
|
|
2477
|
+
on: se,
|
|
2478
|
+
send: X
|
|
2434
2479
|
});
|
|
2435
2480
|
}
|
|
2436
|
-
function
|
|
2437
|
-
return
|
|
2438
|
-
send:
|
|
2481
|
+
function ot(e, t, i) {
|
|
2482
|
+
return hi(e, t, i, {
|
|
2483
|
+
send: X
|
|
2439
2484
|
});
|
|
2440
2485
|
}
|
|
2441
|
-
function
|
|
2442
|
-
return new
|
|
2443
|
-
send:
|
|
2486
|
+
function st(e) {
|
|
2487
|
+
return new _({
|
|
2488
|
+
send: X,
|
|
2444
2489
|
win: e
|
|
2445
2490
|
});
|
|
2446
2491
|
}
|
|
2447
|
-
function
|
|
2448
|
-
return
|
|
2449
|
-
send:
|
|
2492
|
+
function ft(e) {
|
|
2493
|
+
return _.toProxyWindow(e, {
|
|
2494
|
+
send: X
|
|
2450
2495
|
});
|
|
2451
2496
|
}
|
|
2452
|
-
function
|
|
2453
|
-
|
|
2454
|
-
on:
|
|
2455
|
-
send:
|
|
2456
|
-
}).on,
|
|
2457
|
-
return
|
|
2458
|
-
on:
|
|
2459
|
-
send:
|
|
2497
|
+
function yi() {
|
|
2498
|
+
Pe().initialized || (Pe().initialized = !0, t = (e = {
|
|
2499
|
+
on: se,
|
|
2500
|
+
send: X
|
|
2501
|
+
}).on, i = e.send, (r = Pe()).receiveMessage = r.receiveMessage || function(n) {
|
|
2502
|
+
return vi(n, {
|
|
2503
|
+
on: t,
|
|
2504
|
+
send: i
|
|
2460
2505
|
});
|
|
2461
|
-
}, function(
|
|
2462
|
-
var
|
|
2463
|
-
|
|
2464
|
-
return function(l,
|
|
2465
|
-
return l.addEventListener("message",
|
|
2506
|
+
}, function(n) {
|
|
2507
|
+
var o = n.on, s = n.send;
|
|
2508
|
+
M().getOrSet("postMessageListener", function() {
|
|
2509
|
+
return function(l, d, f) {
|
|
2510
|
+
return l.addEventListener("message", f), {
|
|
2466
2511
|
cancel: function() {
|
|
2467
|
-
l.removeEventListener("message",
|
|
2512
|
+
l.removeEventListener("message", f);
|
|
2468
2513
|
}
|
|
2469
2514
|
};
|
|
2470
2515
|
}(window, 0, function(l) {
|
|
2471
|
-
(function(
|
|
2472
|
-
var
|
|
2473
|
-
|
|
2474
|
-
var
|
|
2475
|
-
if (
|
|
2476
|
-
if (
|
|
2477
|
-
|
|
2478
|
-
source:
|
|
2479
|
-
origin:
|
|
2480
|
-
data:
|
|
2516
|
+
(function(d, f) {
|
|
2517
|
+
var P = f.on, u = f.send;
|
|
2518
|
+
R.try(function() {
|
|
2519
|
+
var C = d.source || d.sourceElement, $ = d.origin || d.originalEvent && d.originalEvent.origin, w = d.data;
|
|
2520
|
+
if ($ === "null" && ($ = "file://"), C) {
|
|
2521
|
+
if (!$) throw new Error("Post message did not have origin domain");
|
|
2522
|
+
vi({
|
|
2523
|
+
source: C,
|
|
2524
|
+
origin: $,
|
|
2525
|
+
data: w
|
|
2481
2526
|
}, {
|
|
2482
|
-
on:
|
|
2483
|
-
send:
|
|
2527
|
+
on: P,
|
|
2528
|
+
send: u
|
|
2484
2529
|
});
|
|
2485
2530
|
}
|
|
2486
2531
|
});
|
|
2487
2532
|
})(l, {
|
|
2488
|
-
on:
|
|
2489
|
-
send:
|
|
2533
|
+
on: o,
|
|
2534
|
+
send: s
|
|
2490
2535
|
});
|
|
2491
2536
|
});
|
|
2492
2537
|
});
|
|
2493
2538
|
}({
|
|
2494
|
-
on:
|
|
2495
|
-
send:
|
|
2496
|
-
}), function(
|
|
2497
|
-
var
|
|
2498
|
-
|
|
2499
|
-
var l =
|
|
2539
|
+
on: se,
|
|
2540
|
+
send: X
|
|
2541
|
+
}), function(n) {
|
|
2542
|
+
var o = n.on, s = n.send;
|
|
2543
|
+
M("builtinListeners").getOrSet("helloListener", function() {
|
|
2544
|
+
var l = o("postrobot_hello", {
|
|
2500
2545
|
domain: "*"
|
|
2501
|
-
}, function(
|
|
2502
|
-
return
|
|
2503
|
-
domain:
|
|
2546
|
+
}, function(f) {
|
|
2547
|
+
return di(f.source, {
|
|
2548
|
+
domain: f.origin
|
|
2504
2549
|
}), {
|
|
2505
|
-
instanceID:
|
|
2550
|
+
instanceID: fi()
|
|
2506
2551
|
};
|
|
2507
|
-
}),
|
|
2508
|
-
return
|
|
2509
|
-
send:
|
|
2510
|
-
}).catch(function(
|
|
2552
|
+
}), d = Je();
|
|
2553
|
+
return d && Oe(d, {
|
|
2554
|
+
send: s
|
|
2555
|
+
}).catch(function(f) {
|
|
2511
2556
|
}), l;
|
|
2512
2557
|
});
|
|
2513
2558
|
}({
|
|
2514
|
-
on:
|
|
2515
|
-
send:
|
|
2559
|
+
on: se,
|
|
2560
|
+
send: X
|
|
2516
2561
|
}));
|
|
2517
|
-
var e,
|
|
2562
|
+
var e, t, i, r;
|
|
2518
2563
|
}
|
|
2519
|
-
function
|
|
2564
|
+
function dt() {
|
|
2520
2565
|
(function() {
|
|
2521
|
-
for (var
|
|
2522
|
-
var
|
|
2523
|
-
|
|
2566
|
+
for (var t = M("responseListeners"), i = 0, r = t.keys(); i < r.length; i++) {
|
|
2567
|
+
var n = r[i], o = t.get(n);
|
|
2568
|
+
o && (o.cancelled = !0), t.del(n);
|
|
2524
2569
|
}
|
|
2525
|
-
})(), (e =
|
|
2570
|
+
})(), (e = M().get("postMessageListener")) && e.cancel();
|
|
2526
2571
|
var e;
|
|
2527
2572
|
delete window.__post_robot_10_0_46__;
|
|
2528
2573
|
}
|
|
2529
|
-
var
|
|
2530
|
-
function
|
|
2531
|
-
for (var
|
|
2574
|
+
var at = !0;
|
|
2575
|
+
function ct(e) {
|
|
2576
|
+
for (var t = 0, i = H("requestPromises").get(e, []); t < i.length; t++) i[t].reject(new Error("Window " + (G(e) ? "closed" : "cleaned up") + " before response")).catch(ne);
|
|
2532
2577
|
}
|
|
2533
|
-
|
|
2578
|
+
yi();
|
|
2534
2579
|
}]);
|
|
2535
2580
|
});
|
|
2536
|
-
}(
|
|
2581
|
+
}(Te)), Te.exports;
|
|
2537
2582
|
}
|
|
2538
|
-
var
|
|
2539
|
-
function
|
|
2540
|
-
return
|
|
2541
|
-
|
|
2583
|
+
var Bi;
|
|
2584
|
+
function dr() {
|
|
2585
|
+
return Bi || (Bi = 1, function(a) {
|
|
2586
|
+
a.exports = fr(), a.exports.default = a.exports;
|
|
2542
2587
|
}(Ue)), Ue.exports;
|
|
2543
2588
|
}
|
|
2544
|
-
var
|
|
2545
|
-
const
|
|
2589
|
+
var Ui = dr();
|
|
2590
|
+
const ar = /* @__PURE__ */ or(Ui), Ve = /* @__PURE__ */ $t({
|
|
2546
2591
|
__proto__: null,
|
|
2547
|
-
default:
|
|
2548
|
-
}, [
|
|
2592
|
+
default: ar
|
|
2593
|
+
}, [Ui]);
|
|
2549
2594
|
export {
|
|
2550
|
-
|
|
2551
|
-
|
|
2552
|
-
|
|
2553
|
-
|
|
2554
|
-
|
|
2555
|
-
|
|
2595
|
+
Fi as ConsentBox,
|
|
2596
|
+
pr as PrivacyCenterBox,
|
|
2597
|
+
lr as SoyioTypes,
|
|
2598
|
+
Sr as SoyioWidget,
|
|
2599
|
+
_e as _TooltipManager,
|
|
2600
|
+
ur as appearanceSchema,
|
|
2601
|
+
Cr as configSchema,
|
|
2602
|
+
Sr as default
|
|
2556
2603
|
};
|